Skip to content

Commit

Permalink
Apply automatic changes
Browse files Browse the repository at this point in the history
  • Loading branch information
ebgranger committed Dec 3, 2023
1 parent 9b415e9 commit df3a066
Show file tree
Hide file tree
Showing 84 changed files with 257 additions and 441 deletions.
18 changes: 6 additions & 12 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,17 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline

# [1.17.0](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.16.2...v1.17.0) (2023-11-30)


### Bug Fixes

* prevent Input text from being highlighted when Input Text Area is the active page in guide ([70fdcd2](https://github.com/washingtonpost/wpds-ui-kit/commit/70fdcd278d9d8a6912aa0afb6fd4f3480df0abf2))
* refactor select layout to deal with long label text and overflow ([d16e647](https://github.com/washingtonpost/wpds-ui-kit/commit/d16e647e5f52134ba24442d08b9b252005a1188d))
* remove duplicate resources link in mobile nav ([b424332](https://github.com/washingtonpost/wpds-ui-kit/commit/b424332837dafd3ec9f46c4a94ef5e8a6ce4e275))
* set max width on paragraphs ([6eca400](https://github.com/washingtonpost/wpds-ui-kit/commit/6eca4002a764e484188c33a4cacab7b03840003a))

- prevent Input text from being highlighted when Input Text Area is the active page in guide ([70fdcd2](https://github.com/washingtonpost/wpds-ui-kit/commit/70fdcd278d9d8a6912aa0afb6fd4f3480df0abf2))
- refactor select layout to deal with long label text and overflow ([d16e647](https://github.com/washingtonpost/wpds-ui-kit/commit/d16e647e5f52134ba24442d08b9b252005a1188d))
- remove duplicate resources link in mobile nav ([b424332](https://github.com/washingtonpost/wpds-ui-kit/commit/b424332837dafd3ec9f46c4a94ef5e8a6ce4e275))
- set max width on paragraphs ([6eca400](https://github.com/washingtonpost/wpds-ui-kit/commit/6eca4002a764e484188c33a4cacab7b03840003a))

### Features

* add link to storybook in component doc page ([#534](https://github.com/washingtonpost/wpds-ui-kit/issues/534)) ([bc97568](https://github.com/washingtonpost/wpds-ui-kit/commit/bc975682bb8a1b33ca598486702e931c596f11e4))
* add onlyChanged to chromatic tests ([#535](https://github.com/washingtonpost/wpds-ui-kit/issues/535)) ([26a3764](https://github.com/washingtonpost/wpds-ui-kit/commit/26a37645fe7abb32776167d82674ebe8eabdd87b))




- add link to storybook in component doc page ([#534](https://github.com/washingtonpost/wpds-ui-kit/issues/534)) ([bc97568](https://github.com/washingtonpost/wpds-ui-kit/commit/bc975682bb8a1b33ca598486702e931c596f11e4))
- add onlyChanged to chromatic tests ([#535](https://github.com/washingtonpost/wpds-ui-kit/issues/535)) ([26a3764](https://github.com/washingtonpost/wpds-ui-kit/commit/26a37645fe7abb32776167d82674ebe8eabdd87b))

## [1.16.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.16.1...v1.16.2) (2023-11-08)

Expand Down
4 changes: 0 additions & 4 deletions apps/vite-project/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline

**Note:** Version bump only for package vite-project





## [1.16.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.16.1...v1.16.2) (2023-11-08)

**Note:** Version bump only for package vite-project
Expand Down
4 changes: 0 additions & 4 deletions apps/vite-v2-project/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline

**Note:** Version bump only for package vite-v2-project





## [1.16.2](https://github.com/washingtonpost/wpds-ui-kit/compare/v1.16.1...v1.16.2) (2023-11-08)

**Note:** Version bump only for package vite-v2-project
Expand Down
14 changes: 4 additions & 10 deletions build.washingtonpost.com/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,15 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline

# [1.17.0](https://github.com/washingtonpost/wpds-docs/compare/v1.16.2...v1.17.0) (2023-11-30)


### Bug Fixes

* prevent Input text from being highlighted when Input Text Area is the active page in guide ([70fdcd2](https://github.com/washingtonpost/wpds-docs/commit/70fdcd278d9d8a6912aa0afb6fd4f3480df0abf2))
* remove duplicate resources link in mobile nav ([b424332](https://github.com/washingtonpost/wpds-docs/commit/b424332837dafd3ec9f46c4a94ef5e8a6ce4e275))
* set max width on paragraphs ([6eca400](https://github.com/washingtonpost/wpds-docs/commit/6eca4002a764e484188c33a4cacab7b03840003a))

- prevent Input text from being highlighted when Input Text Area is the active page in guide ([70fdcd2](https://github.com/washingtonpost/wpds-docs/commit/70fdcd278d9d8a6912aa0afb6fd4f3480df0abf2))
- remove duplicate resources link in mobile nav ([b424332](https://github.com/washingtonpost/wpds-docs/commit/b424332837dafd3ec9f46c4a94ef5e8a6ce4e275))
- set max width on paragraphs ([6eca400](https://github.com/washingtonpost/wpds-docs/commit/6eca4002a764e484188c33a4cacab7b03840003a))

### Features

* add link to storybook in component doc page ([#534](https://github.com/washingtonpost/wpds-docs/issues/534)) ([bc97568](https://github.com/washingtonpost/wpds-docs/commit/bc975682bb8a1b33ca598486702e931c596f11e4))




- add link to storybook in component doc page ([#534](https://github.com/washingtonpost/wpds-docs/issues/534)) ([bc97568](https://github.com/washingtonpost/wpds-docs/commit/bc975682bb8a1b33ca598486702e931c596f11e4))

## [1.16.2](https://github.com/washingtonpost/wpds-docs/compare/v1.16.1...v1.16.2) (2023-11-08)

Expand Down
83 changes: 38 additions & 45 deletions build.washingtonpost.com/docs/components/navigation-menu.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -119,27 +119,21 @@ Navigation menu supports one level of sub-navigation.
<NavigationMenu.Root>
<NavigationMenu.List>
<NavigationMenu.Item>
<NavigationMenu.Trigger>
{`Ohio`}
</NavigationMenu.Trigger>
<NavigationMenu.Trigger>{`Ohio`}</NavigationMenu.Trigger>
</NavigationMenu.Item>
</NavigationMenu.List>
</NavigationMenu.Root>
<NavigationMenu.Root>
<NavigationMenu.List>
<NavigationMenu.Item>
<NavigationMenu.Trigger>
{`Rhode Island`}
</NavigationMenu.Trigger>
<NavigationMenu.Trigger>{`Rhode Island`}</NavigationMenu.Trigger>
</NavigationMenu.Item>
</NavigationMenu.List>
</NavigationMenu.Root>
<NavigationMenu.Root>
<NavigationMenu.List>
<NavigationMenu.Item>
<NavigationMenu.Trigger>
{`Wisconsin`}
</NavigationMenu.Trigger>
<NavigationMenu.Trigger>{`Wisconsin`}</NavigationMenu.Trigger>
</NavigationMenu.Item>
</NavigationMenu.List>
</NavigationMenu.Root>
Expand Down Expand Up @@ -403,7 +397,10 @@ Any menu link can be set to active` to indicate the page or section currently in
<NavigationMenu.Link href="#">Apple</NavigationMenu.Link>
</NavigationMenu.Item>
<NavigationMenu.Item>
<NavigationMenu.Link href="#" active>{`Orange`}</NavigationMenu.Link>
<NavigationMenu.Link
href="#"
active
>{`Orange`}</NavigationMenu.Link>
</NavigationMenu.Item>
<NavigationMenu.Item>
<NavigationMenu.Link href="#">Banana</NavigationMenu.Link>
Expand Down Expand Up @@ -693,7 +690,9 @@ For submenus containing a large number of links, define a **max-height** and set

```jsx withPreview
<NavigationMenu.Root>
<NavigationMenu.List css={{display:"flex",marginRight:"100px", marginBottom:"100px"}}>
<NavigationMenu.List
css={{ display: "flex", marginRight: "100px", marginBottom: "100px" }}
>
<NavigationMenu.Item>
<NavigationMenu.Trigger icon="left">
{`Fruit`}
Expand Down Expand Up @@ -751,47 +750,37 @@ For primary navigation, the maximum number of menu links recommended is **eight
<Box css={{ display: "flex" }}>
<NavigationMenu.Root>
<NavigationMenu.List>
<NavigationMenu.Item>
<NavigationMenu.Trigger>
Election 2024
</NavigationMenu.Trigger>
</NavigationMenu.Item>
<NavigationMenu.Item>
<NavigationMenu.Trigger>Election 2024</NavigationMenu.Trigger>
</NavigationMenu.Item>
</NavigationMenu.List>
</NavigationMenu.Root>
<NavigationMenu.Root>
<NavigationMenu.List>
<NavigationMenu.Item>
<NavigationMenu.Trigger>
Midterms 2022
</NavigationMenu.Trigger>
</NavigationMenu.Item>
<NavigationMenu.Item>
<NavigationMenu.Trigger>Midterms 2022</NavigationMenu.Trigger>
</NavigationMenu.Item>
</NavigationMenu.List>
</NavigationMenu.Root>
<NavigationMenu.Root>
<NavigationMenu.List>
<NavigationMenu.Item>
<NavigationMenu.Trigger>
Senate
</NavigationMenu.Trigger>
</NavigationMenu.Item>
<NavigationMenu.Item>
<NavigationMenu.Trigger>Senate</NavigationMenu.Trigger>
</NavigationMenu.Item>
</NavigationMenu.List>
</NavigationMenu.Root>
<NavigationMenu.Root>
<NavigationMenu.List>
<NavigationMenu.Item>
<NavigationMenu.Trigger>
House
</NavigationMenu.Trigger>
</NavigationMenu.Item>
<NavigationMenu.Item>
<NavigationMenu.Trigger>House</NavigationMenu.Trigger>
</NavigationMenu.Item>
</NavigationMenu.List>
</NavigationMenu.Root>
<NavigationMenu.Root>
<NavigationMenu.List>
<NavigationMenu.Item>
<NavigationMenu.Trigger>
Governors
</NavigationMenu.Trigger>
</NavigationMenu.Item>
<NavigationMenu.Item>
<NavigationMenu.Trigger>Governors</NavigationMenu.Trigger>
</NavigationMenu.Item>
</NavigationMenu.List>
</NavigationMenu.Root>
<NavigationMenu.Root>
Expand Down Expand Up @@ -908,7 +897,9 @@ For primary navigation, the maximum number of menu links recommended is **eight
</NavigationMenu.List>
<NavigationMenu.List>
<NavigationMenu.Item>
<NavigationMenu.Link href="#">Massachusetts</NavigationMenu.Link>
<NavigationMenu.Link href="#">
Massachusetts
</NavigationMenu.Link>
</NavigationMenu.Item>
</NavigationMenu.List>
<NavigationMenu.List>
Expand Down Expand Up @@ -943,7 +934,9 @@ For primary navigation, the maximum number of menu links recommended is **eight
</NavigationMenu.List>
<NavigationMenu.List>
<NavigationMenu.Item>
<NavigationMenu.Link href="#">New Hampshire</NavigationMenu.Link>
<NavigationMenu.Link href="#">
New Hampshire
</NavigationMenu.Link>
</NavigationMenu.Item>
</NavigationMenu.List>
<NavigationMenu.List>
Expand All @@ -963,7 +956,9 @@ For primary navigation, the maximum number of menu links recommended is **eight
</NavigationMenu.List>
<NavigationMenu.List>
<NavigationMenu.Item>
<NavigationMenu.Link href="#">North Carolina</NavigationMenu.Link>
<NavigationMenu.Link href="#">
North Carolina
</NavigationMenu.Link>
</NavigationMenu.Item>
</NavigationMenu.List>
<NavigationMenu.List>
Expand All @@ -978,11 +973,9 @@ For primary navigation, the maximum number of menu links recommended is **eight
</NavigationMenu.Root>
<NavigationMenu.Root>
<NavigationMenu.List>
<NavigationMenu.Item>
<NavigationMenu.Trigger>
Democracy in America
</NavigationMenu.Trigger>
</NavigationMenu.Item>
<NavigationMenu.Item>
<NavigationMenu.Trigger>Democracy in America</NavigationMenu.Trigger>
</NavigationMenu.Item>
</NavigationMenu.List>
</NavigationMenu.Root>
</Box>
Expand All @@ -994,7 +987,7 @@ For primary navigation, the maximum number of menu links recommended is **eight

### Keyboard navigation

When navigation menu is in focus, links can be traversed using **left**, **right**, **up** and **down** arrow keys, or **tab** / **shift+tab**. Pressing the **enter** key executes a click function, which will navigate the user to the selected link.
When navigation menu is in focus, links can be traversed using **left**, **right**, **up** and **down** arrow keys, or **tab** / **shift+tab**. Pressing the **enter** key executes a click function, which will navigate the user to the selected link.
Links containing a submenu can be accessed by focusing the link and pressing **space** bar to toggle display of the submenu. Pressing the **esc** key exits the submenu and moves focus back to the parent link / trigger.

---
Expand Down
Loading

0 comments on commit df3a066

Please sign in to comment.