You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to the Sidenav documentation, users can this property to render multi-layers Side navigation. This property should be usable in a typescript project.
* main: (41 commits)
chore: release new versions #publish
docs: use code splitting in the JS output
fix(avatar): ensure there is ALWAYS a focusElement
test: type like a user
ci: update golden images cache
feat(tabs): update imports to get correct coverage
feat(tabs): add test coverage, remove unused property from component class
feat(tabs): add test coverage, update import paths
feat(tabs): update bundle setup and readme
feat(tabs): moving tabs overflow under tabs package
feat(tabs-overflow): address comments
feat(tabs-overflow): fix style and update unittest
feat(tabs-overflow): update CSS and component to be more spectrum compliant
feat(tabs-overflow): testing cli
feat(tabs-overflow): update documentation
feat(tabs-overflow): first round of feedback
feat(tabs-overflow): first round implementation of sp-tabs-overflow
chore: add description to the variant property
fix: #2933 by adding optional variant property to SideNav
chore(tooltip): update selfManaged story to be open by default
...
Code of conduct
Impacted component(s)
@spectrum-web-components/sidenav
Expected behavior
According to the Sidenav documentation, users can this property to render multi-layers Side navigation. This property should be usable in a typescript project.
Actual behavior
The typescript type definition of this property is missing. https://unpkg.com/browse/@spectrum-web-components/sidenav@0.13.9/src/Sidenav.d.ts. It will lead to ts compile error in a typescript project if I use it.
Screenshots
What browsers are you seeing the problem in?
No response
How can we reproduce this issue?
npm i @spectrum-web-components/sidenav@latest
cd node_modules/@spectrum-web-components/sidenav
code src/sp-sidenav.d.ts
or just go to https://unpkg.com/browse/@spectrum-web-components/sidenav@0.13.9/src/Sidenav.d.ts
Sample code that illustrates the problem
The latest type definition for
SideNav
looks like:Logs taken while reproducing problem
No response
The text was updated successfully, but these errors were encountered: