@hashicorp/react-subnav
Version:
Displays a navigation bar, with links and a call-to-action.
154 lines (80 loc) • 7.89 kB
Markdown
# @hashicorp/react-subnav
## 9.6.0
### Minor Changes
- [#949](https://github.com/hashicorp/react-components/pull/949) [`565a1b1a`](https://github.com/hashicorp/react-components/commit/565a1b1acc33753818cd38b63218f746ba084652) Thanks [@dstaley](https://github.com/dstaley)! - Replace Reach VisuallyHidden with Radix
## 9.5.2
### Patch Changes
- [#900](https://github.com/hashicorp/react-components/pull/900) [`9822d78b`](https://github.com/hashicorp/react-components/commit/9822d78b05e205555ad62b075c63c63b0d9694ab) Thanks [@alexcarpenter](https://github.com/alexcarpenter)! - pass onclick handler through ctalink
## 9.5.1
### Patch Changes
- [#749](https://github.com/hashicorp/react-components/pull/749) [`df426f9b`](https://github.com/hashicorp/react-components/commit/df426f9bf17b7a3374fe2649ffb1990d8db3bcb2) Thanks [@pbortnick](https://github.com/pbortnick)! - Ensure subnav link items are centered when there is no overflow
## 9.5.0
### Minor Changes
- [#740](https://github.com/hashicorp/react-components/pull/740) [`ea840077`](https://github.com/hashicorp/react-components/commit/ea84007724e2b604ea0be0114aee474a1ccc6d6f) Thanks [@nandereck](https://github.com/nandereck)! - Bumping mktg-logos deps
## 9.4.0
### Minor Changes
- [#705](https://github.com/hashicorp/react-components/pull/705) [`a361fab5`](https://github.com/hashicorp/react-components/commit/a361fab5f38ced326a1e291dc370559eaced3d6d) Thanks [@alexcarpenter](https://github.com/alexcarpenter)! - Adds menuText prop
## 9.3.6
### Patch Changes
- [#702](https://github.com/hashicorp/react-components/pull/702) [`bda1c7f5`](https://github.com/hashicorp/react-components/commit/bda1c7f54523744cbbb6d4fa40277d9788bc93ca) Thanks [@zchsh](https://github.com/zchsh)! - Reverts a flawed fix to an overflow issue.
## 9.3.5
### Patch Changes
- [#586](https://github.com/hashicorp/react-components/pull/586) [`bff747b4`](https://github.com/hashicorp/react-components/commit/bff747b4f790f00a9e8e23e682fc94510d69bddf) Thanks [@zchsh](https://github.com/zchsh)! - Attempts to fix overflow issue that causes layout shift on dot-io sites.
## 9.3.4
### Patch Changes
- [#498](https://github.com/hashicorp/react-components/pull/498) [`e60fa8f`](https://github.com/hashicorp/react-components/commit/e60fa8f437a98f97f6c0ed396f194192cf5e376e) Thanks [@BRKalow](https://github.com/BRKalow)! - Bumps underlying dependencies.
- Updated dependencies [[`e60fa8f`](https://github.com/hashicorp/react-components/commit/e60fa8f437a98f97f6c0ed396f194192cf5e376e)]:
- @hashicorp/react-button@6.0.4
## 9.3.3
### Patch Changes
- [#477](https://github.com/hashicorp/react-components/pull/477) [`5b957ce`](https://github.com/hashicorp/react-components/commit/5b957ce637f92958804311f1295aaa181558568b) Thanks [@EnMod](https://github.com/EnMod)! - Adds remaining attributed logo options to the `<TitleLink />` logo dictionary.
## 9.3.2
### Patch Changes
- [#472](https://github.com/hashicorp/react-components/pull/472) [`1ec3708`](https://github.com/hashicorp/react-components/commit/1ec3708858aac94f3083d1d00663de7e7de27541) Thanks [@EnMod](https://github.com/EnMod)! - Add support for adding the HashiCorp primary logo in TitleLink via the 'hashicorp' string, similarly to other products.
## 9.3.1
### Patch Changes
- [#467](https://github.com/hashicorp/react-components/pull/467) [`a3b8726`](https://github.com/hashicorp/react-components/commit/a3b87263b36b1887b0c915354b973ae1a52a0ac9) Thanks [@EnMod](https://github.com/EnMod)! - Adds an underline to elements with the `submenuItem` class on hover.
## 9.3.0
### Minor Changes
- [#460](https://github.com/hashicorp/react-components/pull/460) [`77b4b71`](https://github.com/hashicorp/react-components/commit/77b4b71c54ae54c621f3bc7e41e5ad580509670f) Thanks [@dstaley](https://github.com/dstaley)! - Automatically dismiss open overflow navigation dropdown menus when the user clicks on an anchor element
### Patch Changes
- [#457](https://github.com/hashicorp/react-components/pull/457) [`6590d66`](https://github.com/hashicorp/react-components/commit/6590d6617c0ffc695c3e3a10be6257c0a6b0a38a) Thanks [@alexcarpenter](https://github.com/alexcarpenter)! - Increases attr logo sizing
## 9.2.2
### Patch Changes
- [#445](https://github.com/hashicorp/react-components/pull/445) [`0e40ee3`](https://github.com/hashicorp/react-components/commit/0e40ee35397663da70d73e9fd4414b5576e7b557) Thanks [@alexcarpenter](https://github.com/alexcarpenter)! - Fixes camel_case package inclusion
## 9.2.1
### Patch Changes
- [#443](https://github.com/hashicorp/react-components/pull/443) [`eee683b`](https://github.com/hashicorp/react-components/commit/eee683bb09f866befb16ab8af66178d355181398) Thanks [@alexcarpenter](https://github.com/alexcarpenter)! - Adds vault and consul attributed logos to logo dictionary
## 9.2.0
### Minor Changes
- [#426](https://github.com/hashicorp/react-components/pull/426) [`7a04f76`](https://github.com/hashicorp/react-components/commit/7a04f76a3ac20bc65ead0f8e4915d0ad18dfc94b) Thanks [@dstaley](https://github.com/dstaley)! - Automatically dismiss open navigation dropdown menus when the user clicks on an anchor element.
## 9.1.4
### Patch Changes
- [#417](https://github.com/hashicorp/react-components/pull/417) [`123c23b`](https://github.com/hashicorp/react-components/commit/123c23b46757c0b2fb0de8bf0d022081ed346ccf) Thanks [@thiskevinwang](https://github.com/thiskevinwang)! - adjust `scroll-margin-top` style
## 9.1.3
### Patch Changes
- [#406](https://github.com/hashicorp/react-components/pull/406) [`605ae1a`](https://github.com/hashicorp/react-components/commit/605ae1a3179855cf861b1bd86c7b7c9414761d3f) Thanks [@zchsh](https://github.com/zchsh)! - Hide in print media.
## 9.1.2
### Patch Changes
- [#397](https://github.com/hashicorp/react-components/pull/397) [`edcaf4f`](https://github.com/hashicorp/react-components/commit/edcaf4f3bf7df33932efae3b7885c908a541ce1a) Thanks [@zchsh](https://github.com/zchsh)! - Bump button dependency. Explicit changset added to enable canary pre-release.
- Updated dependencies [[`edcaf4f`](https://github.com/hashicorp/react-components/commit/edcaf4f3bf7df33932efae3b7885c908a541ce1a)]:
- @hashicorp/react-button@6.0.3
## 9.1.1
### Patch Changes
- [#391](https://github.com/hashicorp/react-components/pull/391) [`f0b43a7`](https://github.com/hashicorp/react-components/commit/f0b43a7910f8a76e102afb18b38e22b19348d2cb) Thanks [@jescalan](https://github.com/jescalan)! - Add permalink spacing when subnav is in sticky mode so headlines do not disappear underneath it
## 9.1.0
### Minor Changes
- [#381](https://github.com/hashicorp/react-components/pull/381) [`ba93441`](https://github.com/hashicorp/react-components/commit/ba934415dd7d2ad56360c769f609c5ab9057ddd1) Thanks [@zchsh](https://github.com/zchsh)! - Add support for dark theme, via new theme prop.
## 9.0.1
### Patch Changes
- [#330](https://github.com/hashicorp/react-components/pull/330) [`44a0e60`](https://github.com/hashicorp/react-components/commit/44a0e60b577a36978275ef1b0efa0e351a9802c6) Thanks [@zchsh](https://github.com/zchsh)! - Removes package-lock.json
## 9.0.0
### Major Changes
- [#311](https://github.com/hashicorp/react-components/pull/311) [`2e43e7c`](https://github.com/hashicorp/react-components/commit/2e43e7c716b8889f942e8dfcd1b2e553a72d0fa6) Thanks [@zchsh](https://github.com/zchsh)! - - 💥✨ BREAKING CHANGE: Converts to CSS modules.
- Consumers will need to remove any `@hashicorp/react-subnav/style.css` imports.
- To support overrides in projects, consumers can use the `className` prop.
- For example, consumers can pass `className="g-subnav` to retain existing overrides.
## 8.4.3
### Patch Changes
- Updated dependencies [[`b0fd753`](https://github.com/hashicorp/react-components/commit/b0fd753d7f9e5c4649424139712d4d2c5ec5ffd9)]:
- @hashicorp/react-button@6.0.0