Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(tab-nav): fix custom element creation error in components build output #9021

Merged
merged 1 commit into from
Mar 29, 2024

Conversation

jcfranco
Copy link
Member

Related Issue: #9010

Summary

Class members are defined on the component host in the components output build, so we need to avoid using names of HTMLElement members (dir in this case).

Note: no additional tests were added since our testing setup uses the dist output target.

@jcfranco jcfranco requested a review from a team as a code owner March 29, 2024 19:39
@github-actions github-actions bot added the bug Bug reports for broken functionality. Issues should include a reproduction of the bug. label Mar 29, 2024
@jcfranco jcfranco changed the title fix(tab-nav): fix component creation error in components build output fix(tab-nav): fix custom element creation error in components build output Mar 29, 2024
@jcfranco
Copy link
Member Author

Sidebar: we could look into improving reserved-member-names to catch this.

@driskull
Copy link
Member

Sidebar: we could look into improving reserved-member-names to catch this.

Yeah thats a good call 👍

Copy link
Member

@driskull driskull left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@jcfranco jcfranco added the skip visual snapshots Pull requests that do not need visual regression testing. label Mar 29, 2024
@jcfranco jcfranco merged commit cc8eb99 into main Mar 29, 2024
13 checks passed
@jcfranco jcfranco deleted the jcfranco/9010-fix-tabs-setting-native-dir-attribute branch March 29, 2024 22:08
@github-actions github-actions bot added this to the 2024-04-30 - Apr Release milestone Mar 29, 2024
jcfranco pushed a commit that referenced this pull request Mar 30, 2024
🤖 I have created a release *beep* *boop*
---


<details><summary>@esri/calcite-components: 2.7.1</summary>

##
[2.7.1](https://github.com/Esri/calcite-design-system/compare/@esri/[email protected]...@esri/[email protected])
(2024-03-29)


### Bug Fixes

* **tab-nav:** Fix custom element creation error in `components` build
output
([#9021](#9021))
([cc8eb99](cc8eb99))
</details>

<details><summary>@esri/calcite-components-angular: 2.7.1</summary>

##
[2.7.1](https://github.com/Esri/calcite-design-system/compare/@esri/[email protected]...@esri/[email protected])
(2024-03-29)


### Miscellaneous Chores

* **@esri/calcite-components-angular:** Synchronize components versions


### Dependencies

* The following workspace dependencies were updated
  * dependencies
    * @esri/calcite-components bumped from ^2.7.1-next.0 to ^2.7.1
</details>

<details><summary>@esri/calcite-components-react: 2.7.1</summary>

##
[2.7.1](https://github.com/Esri/calcite-design-system/compare/@esri/[email protected]...@esri/[email protected])
(2024-03-29)


### Miscellaneous Chores

* **@esri/calcite-components-react:** Synchronize components versions


### Dependencies

* The following workspace dependencies were updated
  * dependencies
    * @esri/calcite-components bumped from ^2.7.1-next.0 to ^2.7.1
</details>

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
benelan added a commit that referenced this pull request Mar 30, 2024
…ror-troubleshooting

* origin/main:
  ci: prevent outdated types from blocking release (#9011)
  chore: release main (#9023)
  chore: release next
  chore: updates translations. (#9019)
  fix(tab-nav): fix custom element creation error in `components` build output (#9021)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bug reports for broken functionality. Issues should include a reproduction of the bug. skip visual snapshots Pull requests that do not need visual regression testing.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants