-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(sidebar): add SidebarNavigation elements (#3224)
* fix(sidebar): use flexbox to space apart navigation header, nav, footer * feat(sidebar): checkpoint sidebar navigation * fix: smol fixes * fix(sidebar): `SidebarNavigation` fixes and animation * fix: many fixes and improvements * chore: changeset * fix: small fixes * fix: story * chore: add dep * fix: checkpoint improvements * fix(button): allow passing styles to reset button * fix: sidebar navigation item to use button under the hood * feat: icon on compact collapsed * fix: incorrect padding on SidebarNavigation * fix(button): set width=100% on button's inner span to fix truncating content * fix(sidebar): finalize compact icon api * test(sidebar): mostly finish writing tests for SidebarNavigation * chore: pr review * chore(website): fix multiselect combobox airtable endpoint * fix: move disclosure icon on hover * fix(icon): apply flex-shrink 0 by default * chore: many styles fixes from pr review * chore: ci fixes * chore: add missing packages * fix: regular and nested disclosures both flexGrow 1 * fix: style issues * test: update snapshot * fix: use correct focus styles
- Loading branch information
Showing
38 changed files
with
1,364 additions
and
128 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
'@twilio-paste/button': patch | ||
'@twilio-paste/core': patch | ||
--- | ||
|
||
[Button] allow passing all style props to Button with variant="reset", effectively making it a Button primitive. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
'@twilio-paste/sidebar': minor | ||
'@twilio-paste/core': minor | ||
--- | ||
|
||
[Sidebar] add SidebarNavigation and all relevant sub-components |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
'@twilio-paste/core': patch | ||
'@twilio-paste/design-tokens': patch | ||
--- | ||
|
||
[Design tokens] update the `shadowFocusInverseInset` token in the `twilio` and `twilio-dark` themes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
'@twilio-paste/codemods': patch | ||
'@twilio-paste/core': patch | ||
--- | ||
|
||
[Codemods] add SidebarNavigation components |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'@twilio-paste/icons': patch | ||
--- | ||
|
||
[Icons] apply `flex-shrink: 0` to IconWrapper by default, as we never want icons to be compressed unexpectedly |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.