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
251 stars 117 forks source link

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

Open venkatesh-nagineni opened 6 months ago

venkatesh-nagineni commented 6 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 6 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

ionitron-bot[bot] commented 1 month ago

This issue has been labeled as help wanted. This label is added to issues that we believe would be good for contributors.

If you'd like to work on this issue, please comment here letting us know that you would like to submit a pull request for it. This helps us to keep track of the pull request and make sure there isn't duplicated effort. Thank you!