Skip to content

Commit

Permalink
chore(website): fix broken storybook links, update topbar examples (#…
Browse files Browse the repository at this point in the history
…3301)

* chore: fix broken storybook links

* chore: update topbar examples

* chore: sarah topbar fixes

* chore: finish product topbar examples

* chore: topbar changeset

* chore: fix example overflow issue

* chore: update support icons

* chore: shadi changeset edits
  • Loading branch information
nkrantz committed Jun 30, 2023
1 parent 6d38405 commit fc88a1f
Show file tree
Hide file tree
Showing 16 changed files with 1,162 additions and 214 deletions.
6 changes: 6 additions & 0 deletions .changeset/orange-dodos-brake.md
@@ -0,0 +1,6 @@
---
'@twilio-paste/topbar': patch
'@twilio-paste/core': patch
---

[Topbar] style adjustment to the column-gap in TopbarActions
5 changes: 5 additions & 0 deletions .changeset/selfish-eels-switch.md
@@ -0,0 +1,5 @@
---
'@twilio-paste/icons': patch
---

[Icons] update ProductSupport and Support icons
Expand Up @@ -16,7 +16,7 @@ export const AppSwitcher: React.FC = () => {
return (
<>
<ProductSwitcherButton {...productSwitcher} i18nButtonLabel="Switch products" />
<ProductSwitcher {...productSwitcher} aria-label="Avaiable accounts">
<ProductSwitcher {...productSwitcher} aria-label="Available products">
<ProductSwitcherItem
{...productSwitcher}
name="product"
Expand Down
Expand Up @@ -192,9 +192,9 @@ export const Console: StoryFn = () => {
</TopbarActions>
<TopbarActions justify="end">
<SearchBox />
<SupportMenu />
<AccountMenu />
<BillingMenu />
<SupportMenu />
<AppSwitcher />
<UserDialogExample />
</TopbarActions>
Expand Down
Expand Up @@ -19,7 +19,7 @@ const TopbarActions = React.forwardRef<HTMLDivElement, TopbarActionsProps>(
flexShrink={justify === 'start' ? null : 0}
flexWrap="wrap"
flexGrow={1}
columnGap={justify === 'start' ? 'space30' : 'space50'}
columnGap="space50"
element={element}
alignItems="center"
ref={ref}
Expand Down
4 changes: 3 additions & 1 deletion packages/paste-icons/src/ProductSupportIcon.tsx
Expand Up @@ -28,14 +28,16 @@ const ProductSupportIcon = React.forwardRef<HTMLElement, ProductSupportIconProps
xmlns="http://www.w3.org/2000/svg"
width="100%"
height="100%"
fill="none"
viewBox="0 0 20 20"
aria-labelledby={titleId}
>
{title ? <title id={titleId}>{title}</title> : null}
<path
fill="currentColor"
fillRule="evenodd"
d="M15.657 4.343A8 8 0 114.343 15.657 8 8 0 0115.657 4.343zm-9.34 4.095L4.102 6.226a7.01 7.01 0 000 7.55l2.214-2.213a4.013 4.013 0 010-3.125zm7.457 7.459l-2.212-2.213a4.013 4.013 0 01-3.124 0l-2.212 2.213a7.01 7.01 0 007.548 0zm-1.653-8.018A3 3 0 107.88 12.12 3 3 0 0012.12 7.88zM6.225 4.104l2.212 2.213a4.013 4.013 0 013.126 0l2.212-2.213a7.01 7.01 0 00-7.31-.147l-.24.147zm9.672 2.122l-2.213 2.212a4.013 4.013 0 010 3.125l2.212 2.212a7.01 7.01 0 00.001-7.55z"
d="M1.4 10a8.6 8.6 0 1117.2 0 8.6 8.6 0 01-17.2 0zM10 2.6a7.4 7.4 0 100 14.8 7.4 7.4 0 000-14.8zm.23 3.713a2.01 2.01 0 00-2.239 2v.6l-1.2.002v-.6a3.21 3.21 0 113.903 3.13l-.013.002a.1.1 0 00-.081.096v.957H9.4v-.97a1.301 1.301 0 011.04-1.258 2.01 2.01 0 00-.21-3.959zm-1.003 8.139a.774.774 0 111.548 0 .774.774 0 01-1.548 0z"
clipRule="evenodd"
/>
</svg>
</IconWrapper>
Expand Down
6 changes: 3 additions & 3 deletions packages/paste-icons/src/SupportIcon.tsx
Expand Up @@ -25,19 +25,19 @@ const SupportIcon = React.forwardRef<HTMLElement, SupportIconProps>(
<svg
role="img"
aria-hidden={decorative}
xmlns="http://www.w3.org/2000/svg"
width="100%"
height="100%"
viewBox="0 0 20 20"
fill="none"
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 20 20"
aria-labelledby={titleId}
>
{title ? <title id={titleId}>{title}</title> : null}
<path
fill="currentColor"
fillRule="evenodd"
d="M1.4 10a8.6 8.6 0 1117.2 0 8.6 8.6 0 01-17.2 0zM10 2.6a7.4 7.4 0 100 14.8 7.4 7.4 0 000-14.8zm.23 3.713a2.01 2.01 0 00-2.239 2v.6l-1.2.002v-.6a3.21 3.21 0 113.903 3.13l-.013.002a.1.1 0 00-.081.096v.957H9.4v-.97a1.301 1.301 0 011.04-1.258 2.01 2.01 0 00-.21-3.959zm-1.003 8.139a.774.774 0 111.548 0 .774.774 0 01-1.548 0z"
clipRule="evenodd"
d="M15.657 4.343A8 8 0 114.343 15.657 8 8 0 0115.657 4.343zm-9.34 4.095L4.102 6.226a7.01 7.01 0 000 7.55l2.214-2.213a4.013 4.013 0 010-3.125zm7.457 7.459l-2.212-2.213a4.014 4.014 0 01-3.124 0l-2.212 2.213a7.01 7.01 0 007.548 0zm-1.653-8.018A3 3 0 107.88 12.12 3 3 0 0012.12 7.88zM6.225 4.104l2.212 2.213a4.013 4.013 0 013.126 0l2.212-2.213a7.01 7.01 0 00-7.31-.147l-.24.147zm9.672 2.122l-2.213 2.212a4.014 4.014 0 010 3.125l2.212 2.212a7.01 7.01 0 00.001-7.55z"
/>
</svg>
</IconWrapper>
Expand Down
4 changes: 2 additions & 2 deletions packages/paste-icons/svg/ProductSupport.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions packages/paste-icons/svg/Support.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit fc88a1f

Please sign in to comment.