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: Html attributes not exported in wrapper components #407

Open verena-ifx opened 11 months ago

verena-ifx commented 11 months ago

Prerequisites

Stencil Version

4.5.0

Current Behavior

When building my stencil library using vue and react output targets, Html attributes, like aria attributes, tabindex etc. do not get exported when they are part of some nested HTML elements inside the component, such as list items, or nested divs. In a vanillajs example application, I get the following output:

<li class="tab-item active" tabindex="0" aria-selected="true" aria-disabled="false" role="tab">tab header 1</li>

Whereas in my Vue (as well as in React) application, I see the following:

<li class="tab-item active">tab header a</li>

I dont have any special settings in my build process, I use the default described in the framework integration documentation. Any ideas how I can fix this?

Expected Behavior

I would expect the wrapper components to be rendered the same as when using the plain stencil components.

System Info

No response

Steps to Reproduce

Code Reproduction URL

https://github.com/Infineon/infineon-design-system-stencil/pull/741

Additional Information

No response

rwaskiewicz commented 11 months ago

Hey there 👋

Thanks for the issue report. I'm going to move this over to the Stencil DS Output Targets repo, as this is an issue with the output targets, rather than Stencil itself.

verena-ifx commented 11 months ago

any update on this?

rwaskiewicz commented 11 months ago

@verena-ifx

any update on this?

Not at this time, the team has not had the opportunity to look at the issue

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!