# CHANGELOG ## 0.32.0 ### Minor Changes - [#116](https://github.com/opf/primer_view_components/pull/116) [`da108fa`](https://github.com/opf/primer_view_components/commit/da108faea261fcb9eaec86250792c63d07077de2) Thanks [@HDinger](https://github.com/HDinger)! - Create a Primer::OpenProject::SubHeader component ## 0.31.0 ### Minor Changes - [#117](https://github.com/opf/primer_view_components/pull/117) [`72c239e`](https://github.com/opf/primer_view_components/commit/72c239ef39bb188ed05815a1e0e5e98f97663f0b) Thanks [@dominic-braeunlein](https://github.com/dominic-braeunlein)! - Adds a TabNav slot to Primer::OpenProject::PageHeader ## 0.30.1 ### Patch Changes - [#2837](https://github.com/primer/view_components/pull/2837) [`e4d6177`](https://github.com/opf/primer_view_components/commit/e4d6177a1d5f5ca65e71bc3a27de7fe951df4cba) Thanks [@joelhawksley](https://github.com/joelhawksley)! - Update Ruby dependencies to address upstream security notices - [#115](https://github.com/opf/primer_view_components/pull/115) [`f496728`](https://github.com/opf/primer_view_components/commit/f496728b84e7e8ad7f15b9fe025c4197f3e367d2) Thanks [@HDinger](https://github.com/HDinger)! - Bump openproject-octicons to 19.12.0 - [#2839](https://github.com/primer/view_components/pull/2839) [`97ec908`](https://github.com/opf/primer_view_components/commit/97ec9085788f1d5e0b59aaa0178d7b24c6dc25c6) Thanks [@camertron](https://github.com/camertron)! - Revert tab container upgrade ## 0.30.0 ### Minor Changes - [#2624](https://github.com/primer/view_components/pull/2624) [`8600b3b`](https://github.com/opf/primer_view_components/commit/8600b3bd96d5b425fa34e0434c5aeb3223fd66c8) Thanks [@keithamus](https://github.com/keithamus)! - Upgrade @github/tab-container, using shadowdom - [#2808](https://github.com/primer/view_components/pull/2808) [`bdb3d88`](https://github.com/opf/primer_view_components/commit/bdb3d88595dedc93ad20e55a68d34ba1899e8fac) Thanks [@kendallgassner](https://github.com/kendallgassner)! - Adds a subtitle slot to the Primer::Alpha::Overlay::Header and Primer::Alpha::Dialog::Header - [#2804](https://github.com/primer/view_components/pull/2804) [`757635a`](https://github.com/opf/primer_view_components/commit/757635a902c0986da60d94daa3799bd59ad1e697) Thanks [@camertron](https://github.com/camertron)! - Add a filter slot to the dialog header ### Patch Changes - [#2807](https://github.com/primer/view_components/pull/2807) [`1863522`](https://github.com/opf/primer_view_components/commit/186352212178c66b651852ab6517213869927eae) Thanks [@khiga8](https://github.com/khiga8)! - Add parenthesis to trailing counter for React parity, and to improve screen reader speech output - [#2794](https://github.com/primer/view_components/pull/2794) [`1d0ecc5`](https://github.com/opf/primer_view_components/commit/1d0ecc5fe4cd738809fc67e9ee43cecf69b2899c) Thanks [@jonrohan](https://github.com/jonrohan)! - Fix: Re-calculate anchored-position on scroll - [#2821](https://github.com/primer/view_components/pull/2821) [`19f4d7e`](https://github.com/opf/primer_view_components/commit/19f4d7e2068aa8c0fee5da9c15850c1afb9238cb) Thanks [@khiga8](https://github.com/khiga8)! - Add min-width - [#2803](https://github.com/primer/view_components/pull/2803) [`d81824c`](https://github.com/opf/primer_view_components/commit/d81824c43eea2c313b3c024dfc2d4adcb5b51fd0) Thanks [@kendallgassner](https://github.com/kendallgassner)! - Adds data attribute to overlay header - [#2822](https://github.com/primer/view_components/pull/2822) [`11aa0e9`](https://github.com/opf/primer_view_components/commit/11aa0e92034ceac4fe3b9042be31102723b85b8a) Thanks [@smockle](https://github.com/smockle)! - Fix NVDA menu item counts that are broken by using '
' inside an 'ActionMenu'. - [#2828](https://github.com/primer/view_components/pull/2828) [`9ca87d3`](https://github.com/opf/primer_view_components/commit/9ca87d39e4bcff1753a116e829ea336425e161d1) Thanks [@camertron](https://github.com/camertron)! - Fix issue with ActionMenu form items which would prevent a wrapping form if form_arguments: was passed - [#2802](https://github.com/primer/view_components/pull/2802) [`2906d96`](https://github.com/opf/primer_view_components/commit/2906d96e0780dd5795800cfd29ede076c1e4bcd5) Thanks [@lindseywild](https://github.com/lindseywild)! - Updates Button and ButtonMarketing docs with markup requirements ## 0.29.1 ### Patch Changes - [#108](https://github.com/opf/primer_view_components/pull/108) [`22cf2ef`](https://github.com/opf/primer_view_components/commit/22cf2ef963b2d0dd2a738b8019cb195067784f65) Thanks [@HDinger](https://github.com/HDinger)! - Show single actions of Primer::OpenProject::PageHeader in a smaller variant on mobile ## 0.29.0 ### Minor Changes - [#2764](https://github.com/primer/view_components/pull/2764) [`a58824e`](https://github.com/opf/primer_view_components/commit/a58824e10255901bcf394edcc5873db1ed21e0d6) Thanks [@langermank](https://github.com/langermank)! - - Upgrade `primer/primitives` - Remove CSS color variable fallbacks ### Patch Changes - [#105](https://github.com/opf/primer_view_components/pull/105) [`a4ab139`](https://github.com/opf/primer_view_components/commit/a4ab1393ef25f4f6f1f0a9bf3ef6e32cb301c5ec) Thanks [@HDinger](https://github.com/HDinger)! - Fine-tuning of PageHeader component (spacings, size, font-weight) - [#2751](https://github.com/primer/view_components/pull/2751) [`b1fef3c`](https://github.com/opf/primer_view_components/commit/b1fef3cf8ae547241b4d63fde81bc6c127fbd862) Thanks [@langermank](https://github.com/langermank)! - - Add `label_wrap` param to `Beta::Button` - Bug fix: text overflows in SegmentedControl instead of ellipses - [#2765](https://github.com/primer/view_components/pull/2765) [`1857983`](https://github.com/opf/primer_view_components/commit/1857983591752336d34133c83af3c8cfe232f1af) Thanks [@camertron](https://github.com/camertron)! - Fix issue preventing expansion and collapse of nav list items with tooltips - [#2750](https://github.com/primer/view_components/pull/2750) [`ba87524`](https://github.com/opf/primer_view_components/commit/ba8752440b909b57643b91b9e25c7e91a15bcd60) Thanks [@langermank](https://github.com/langermank)! - Allow `:link` Button scheme text label to wrap ## 0.28.1 ### Patch Changes - [#102](https://github.com/opf/primer_view_components/pull/102) [`b1bd1e2`](https://github.com/opf/primer_view_components/commit/b1bd1e26ef02172fdfb5780d3b109fad9a29bd65) Thanks [@HDinger](https://github.com/HDinger)! - Set target attribute on the actual link element in the Breadcrumb instead of the list element above ## 0.28.0 ### Minor Changes - [#98](https://github.com/opf/primer_view_components/pull/98) [`7e56211`](https://github.com/opf/primer_view_components/commit/7e562112d65e48d42b1f7d5b2039bede68fc1383) Thanks [@HDinger](https://github.com/HDinger)! - Add a slot for Primer::OpenProject::ZenModeButton to the Primer::OpenProject::PageHeader ### Patch Changes - [#100](https://github.com/opf/primer_view_components/pull/100) [`7d4e6fb`](https://github.com/opf/primer_view_components/commit/7d4e6fbde24069b80e6dae5f2c07fa1fd4538557) Thanks [@HDinger](https://github.com/HDinger)! - Set link target "\_top" as default for breadcrumb items and link actions ## 0.27.0 ### Minor Changes - [#96](https://github.com/opf/primer_view_components/pull/96) [`f52bbfa`](https://github.com/opf/primer_view_components/commit/f52bbfafcba707bd24e76495e84dc9e5128b0284) Thanks [@HDinger](https://github.com/HDinger)! - \* Add support for Dialogs inside the Primer::OpenProject::PageHeader component - Limit the number of allowed actions to 5 - [#69](https://github.com/opf/primer_view_components/pull/69) [`81bb4b7`](https://github.com/opf/primer_view_components/commit/81bb4b7f746da1e076d085387a4ef2000067b946) Thanks [@bsatarnejad](https://github.com/bsatarnejad)! - Add `Primer::OpenProject::ZenModeButton` component. By clicking on the button, screen will be in full-mode or back in normal-mode. ## 0.26.0 ### Minor Changes - [#2729](https://github.com/primer/view_components/pull/2729) [`2b0a7bf`](https://github.com/opf/primer_view_components/commit/2b0a7bf7d82a837156df3794fe25bef435c66147) Thanks [@thesnowrose](https://github.com/thesnowrose)! - Fixes a bug where a tooltip was being shown in the navlist even when the text wasn't truncated for certain items. - [#2651](https://github.com/primer/view_components/pull/2651) [`e1f3434`](https://github.com/opf/primer_view_components/commit/e1f34344d237505fb3cbe2a4d0b68300f244752c) Thanks [@jonrohan](https://github.com/jonrohan)! - Add a slot to `Overlay::Header` called `filter` for a filter input. ### Patch Changes - [#2735](https://github.com/primer/view_components/pull/2735) [`507a743`](https://github.com/opf/primer_view_components/commit/507a743a7e4e018330765cd1273344bb55829bb6) Thanks [@antn](https://github.com/antn)! - Explicitly convert params to integers where needed for several previews - [#2731](https://github.com/primer/view_components/pull/2731) [`8123aee`](https://github.com/opf/primer_view_components/commit/8123aeeb616f0ed34c96f9517666a28031c948ac) Thanks [@jonrohan](https://github.com/jonrohan)! - Remove old primitives color themes imports and only use V8 on the demo lookbook - [#2733](https://github.com/primer/view_components/pull/2733) [`6fe410b`](https://github.com/opf/primer_view_components/commit/6fe410b1a306ecc5a43507de9b0fb9bea76abb26) Thanks [@broccolinisoup](https://github.com/broccolinisoup)! - Tooltip: Update the threshold value to match with the offset ## 0.25.1 ### Patch Changes - [#2707](https://github.com/primer/view_components/pull/2707) [`1c73539`](https://github.com/opf/primer_view_components/commit/1c7353976a09b8722dd0609ff3239ed02799a5ff) Thanks [@jonrohan](https://github.com/jonrohan)! - Add `:primary` and `:secondary` scheme to IconButton and Match scheme for ButtonGroup menu - [#2582](https://github.com/primer/view_components/pull/2582) [`74c4cc0`](https://github.com/opf/primer_view_components/commit/74c4cc037fede70f8859614d7efab8934eeb80e7) Thanks [@keithamus](https://github.com/keithamus)! - Ensure Alpha::Dialog is always opened as modal ## 0.25.0 ### Minor Changes - [#2603](https://github.com/primer/view_components/pull/2603) [`bbc1776`](https://github.com/opf/primer_view_components/commit/bbc1776b44e089516658aa76d2fec3724a4dccfc) Thanks [@langermank](https://github.com/langermank)! - Tooltip visual refresh to match Primer React - [#89](https://github.com/opf/primer_view_components/pull/89) [`0d06bec`](https://github.com/opf/primer_view_components/commit/0d06bec7224ad70c071586f5884b2ef8692237dc) Thanks [@HDinger](https://github.com/HDinger)! - Changes `Primer::OpenProject::PageHeader`: - Remove the `context_bar_actions` slot - Make `breadcrumbs` required - Remove the `parent_link` slot (will be derived automatically from the breadcrumb) - Change the slot definition for `actions` to be type specific (allowed types are: icon_button, button, link, text and menu) - On mobile, the actions collapse into a single action menu which is placed in the context_bar ### Patch Changes - [#2706](https://github.com/primer/view_components/pull/2706) [`60c5f01`](https://github.com/opf/primer_view_components/commit/60c5f014e60c6f2e5e5e1bcfb8702fdf48d26fa7) Thanks [@camertron](https://github.com/camertron)! - Fix dialog CSS to prevent tooltip issues - [#2705](https://github.com/primer/view_components/pull/2705) [`90192bb`](https://github.com/opf/primer_view_components/commit/90192bb652992cc47672a571aa8fb03b866703c5) Thanks [@langermank](https://github.com/langermank)! - Revert "Swap bg-gradient with bg-color for Banner/Flash" ## 0.24.0 ### Minor Changes - [#2627](https://github.com/primer/view_components/pull/2627) [`226481e`](https://github.com/opf/primer_view_components/commit/226481e51e8c459dcd6d2a49d57c5005a8103aff) Thanks [@camertron](https://github.com/camertron)! - Support `