Sidebar Navigation
Sidebar Navigation controls both flat and hierarchical navigation structures within an application's sidebar.
b97c0525b
#3607 Thanks @SiTaggart! - [Sidebar] Improved TsDoc type annotations
b8d79200b
#3442 Thanks @TheSisb! - Removed all run-time prop-type checkingfrom Paste components. Paste now ships with only TypeScript types.ACTION NEEDED: None. This should be 100% backwards compatible.
733709127
#3395 Thanks @SiTaggart! - Modified the compile target of our JavaScript bundles fromnode
tobrowser
to minimize the risk of clashing with RequireJS. This is marked as a major out of an abundance of caution. You shouldn't need to do anything but we wanted you to be aware of the change on the off chance it has unintended consequences
- Updated dependencies [
733709127
]:- @twilio-paste/uid-library@2.0.0
- @twilio-paste/color-contrast-utils@5.0.0
- @twilio-paste/anchor@12.0.0
- @twilio-paste/badge@8.0.0
- @twilio-paste/button@14.0.0
- @twilio-paste/screen-reader-only@13.0.0
- @twilio-paste/spinner@14.0.0
- @twilio-paste/truncate@14.0.0
- @twilio-paste/stack@8.0.0
- @twilio-paste/box@10.0.0
- @twilio-paste/disclosure-primitive@2.0.0
- @twilio-paste/text@10.0.0
- @twilio-paste/customization@8.0.0
- @twilio-paste/design-tokens@10.0.0
- @twilio-paste/icons@12.0.0
- @twilio-paste/animation-library@2.0.0
- @twilio-paste/reakit-library@2.0.0
- @twilio-paste/styling-library@3.0.0
- @twilio-paste/style-props@9.0.0
- @twilio-paste/theme@11.0.0
- @twilio-paste/types@6.0.0
- @twilio-paste/utils@5.0.0
3c8e02a3d
#3346 Thanks @SiTaggart! - [Sidebar] fixed an issue with overlay sidebars where the topbar would be over the sidebar when sidebar is expanded
4d1f7c65e
#3360 Thanks @SiTaggart! - Improved types where Paste extends the base HTML element that a component is based on, so that the existing blocked styling properties are not exposed as valid properties for the component via Typescript. This leads to less confusion around what is supported by a Paste component.Existing blocked component properties include:
className
style
color
bb49609a7
#3332 Thanks @TheSisb! - [Sidebar]SidebarNavigationItem
now opens external links with the correct defaultrel
andtarget
attributes.
61c310e78
#3317 Thanks @SiTaggart! - [Sidebar] Included skip link functionality, allowing consumers an easy way to create application navigation skip links. Added three new required propsmainContentSkipLinkID
,sidebarNavigationSkipLinkID
andtopbarSkipLinkID
. Plus three optional internationalization props to translate the skip link text
b9d9e7123
#3328 Thanks @SiTaggart! - [Sidebar] corrected the SideBarNavigationItem children proptype validation rule
b9d9e7123
#3328 Thanks @SiTaggart! - [Sidebar] improved SSR handling of the push content wrapper for small screen responsive layouts
83307d2e2
#3306 Thanks @SiTaggart! - [Sidebar] Improved ability to place children, like badges, inside a navigation item and have it positioned nicely by default
6d384057e
#3303 Thanks @TheSisb! - [Sidebar] fix flicker in animation when expanding/collapsing the sidebar in compact mode. Reduce width of custom scrollbar and add margin-top.
db35f7150
#3217 Thanks @TheSisb! - [Sidebar]SidebarBetaBadge
no longer passesonClick
whenas="span"
. Other miscellaneous typescript fixes.
6060c8dfd
#3205 Thanks @TheSisb! - [Sidebar] fix SidebarOverlayContentWrapper left margin whencompact=true
ed2ae23e2
#3212 Thanks @TheSisb! - [Sidebar] split up SidebarHeader so it now is composable with the new SidebarHeaderLabel and SidebarHeaderIconButton components