ionic-team / stencil-ds-output-targets

These are output targets that can be added to Stencil for React and Angular.
https://stenciljs.com
MIT License
248 stars 112 forks source link

bug: style IntelliSense not working in react component package #435

Open venkatesh-nagineni opened 4 months ago

venkatesh-nagineni commented 4 months ago

Prerequisites

Stencil Version

4.18.1

Stencil Framework Output Target

React

Stencil Framework Output Target Version

0.5.3

Current Behavior

Autocompletion for style object not giving suggestions due to it's type

Screenshot 2024-05-15 at 09 27 00

Expected Behavior

expecting to have like normal react elements have style autocompletion Screenshot 2024-05-15 at 09 27 48

issue is here https://github.com/ionic-team/stencil-ds-output-targets/blob/main/packages/react-output-target/react-component-lib/interfaces.ts#L9

fix could be

Screenshot 2024-05-15 at 09 36 48

JSXBase also missing this type for style in stencil runtime types

Steps to Reproduce

can be reproduced any react generated output target

Code Reproduction URL

https://codesandbox.io/p/devbox/stencil-web-component-forked-s56d3c?file=%2Fsrc%2Fcomponents%2Fmy-component%2Fmy-component.tsx%3A51%2C19

Additional Information

No response

ionitron-bot[bot] commented 4 months ago

Thanks for the issue!

This project is currently maintained for the purposes of supporting Ionic Framework. At this time, only new issues & pull requests that support Ionic Framework will be prioritized. For the latest updates regarding the maintenance status of this project, please see this section of the project's README