diff --git a/.changeset/blue-dragons-marry.md b/.changeset/blue-dragons-marry.md deleted file mode 100644 index 040a6d1b931..00000000000 --- a/.changeset/blue-dragons-marry.md +++ /dev/null @@ -1,11 +0,0 @@ ---- -"@primer/react": patch ---- - -Adds truncation features to the LabelGroup component: -- truncate LabelGroup children after a static number of children (for example, truncate after the 5th label) -- truncate LabelGroup children to fit in the width of the parent -- show full list in an Overlay -- show full list inline - - diff --git a/.changeset/cool-hornets-call.md b/.changeset/cool-hornets-call.md deleted file mode 100644 index 81fd3401543..00000000000 --- a/.changeset/cool-hornets-call.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'@primer/react': minor ---- - -Implement accessibility audit feedback for ToggleSwitch - - diff --git a/.changeset/cyan-cycles-provide.md b/.changeset/cyan-cycles-provide.md deleted file mode 100644 index 1793ad12fee..00000000000 --- a/.changeset/cyan-cycles-provide.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@primer/react": patch ---- - -ActionList: Fix icon and description hover colors for danger variant - - diff --git a/.changeset/eighty-islands-join.md b/.changeset/eighty-islands-join.md deleted file mode 100644 index 91c30dd8549..00000000000 --- a/.changeset/eighty-islands-join.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@primer/react": minor ---- - -Allows consumers to disable the behavior where the AvatarStack expands to show each Avatar on hover. There are also changes that allow users to customize the size of the avatars - even responsively! - - diff --git a/.changeset/empty-guests-live.md b/.changeset/empty-guests-live.md deleted file mode 100644 index 6a9394bf6fa..00000000000 --- a/.changeset/empty-guests-live.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'@primer/react': patch ---- - -passthrough dom props on toggleswitch - - diff --git a/.changeset/four-bulldogs-hope.md b/.changeset/four-bulldogs-hope.md deleted file mode 100644 index 7786ff0c941..00000000000 --- a/.changeset/four-bulldogs-hope.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'@primer/react': patch ---- - -Renders docs.json markdown content - - diff --git a/.changeset/green-rules-tickle.md b/.changeset/green-rules-tickle.md deleted file mode 100644 index 42b83cab770..00000000000 --- a/.changeset/green-rules-tickle.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'@primer/react': minor ---- - -The showPages prop on both Pagination components can now accept a responsive value. - - \ No newline at end of file diff --git a/.changeset/hot-planes-check.md b/.changeset/hot-planes-check.md deleted file mode 100644 index 94a11c92bec..00000000000 --- a/.changeset/hot-planes-check.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'@primer/react': patch ---- - -Css styled block fixes - - diff --git a/.changeset/hungry-spies-remember.md b/.changeset/hungry-spies-remember.md deleted file mode 100644 index 67f7edc74d2..00000000000 --- a/.changeset/hungry-spies-remember.md +++ /dev/null @@ -1,20 +0,0 @@ ---- -"@primer/react": patch ---- - -Deprecates `position` prop for PageLayout.Pane and SplitPageLayout.Pane. - -```diff -- -- -- -- - -+ -+ -+ -+ - -``` - - diff --git a/.changeset/kind-eggs-cheer.md b/.changeset/kind-eggs-cheer.md deleted file mode 100644 index 0a51b06df4b..00000000000 --- a/.changeset/kind-eggs-cheer.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@primer/react": patch ---- - -Bug fix: ActionList item label weight and spacing if description exists - - \ No newline at end of file diff --git a/.changeset/new-impalas-attack.md b/.changeset/new-impalas-attack.md deleted file mode 100644 index b82ce610d9b..00000000000 --- a/.changeset/new-impalas-attack.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'@primer/react': minor ---- - -Update dependency ranges to use caret ranges instead of pinned versions - - diff --git a/.changeset/new-students-warn.md b/.changeset/new-students-warn.md deleted file mode 100644 index b130d1f5483..00000000000 --- a/.changeset/new-students-warn.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'@primer/react': patch ---- - -UnderlineNav2: underline nav items' selected state can be managed by the app state - - diff --git a/.changeset/new-timers-mix.md b/.changeset/new-timers-mix.md deleted file mode 100644 index eea941a05fe..00000000000 --- a/.changeset/new-timers-mix.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'@primer/react': patch ---- - -Changed div tag to HTML semantic tag header for Header (file Header.tsx) component. - - diff --git a/.changeset/plenty-bats-shop.md b/.changeset/plenty-bats-shop.md deleted file mode 100644 index 57090b350c0..00000000000 --- a/.changeset/plenty-bats-shop.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'@primer/react': patch ---- - -ActionList: Fixes the width of items for the full variant - - diff --git a/.changeset/plenty-mangos-sniff.md b/.changeset/plenty-mangos-sniff.md deleted file mode 100644 index e2d9b1f5904..00000000000 --- a/.changeset/plenty-mangos-sniff.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'@primer/react': patch ---- - -Adding aria-attributes and role to the ProgressBar component - - diff --git a/.changeset/rotten-meals-obey.md b/.changeset/rotten-meals-obey.md deleted file mode 100644 index b0b132fe6a3..00000000000 --- a/.changeset/rotten-meals-obey.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@primer/react": patch ---- - -Adds 'display' text size to PRC theme. This size is described in our [typography documentation](https://primer.style/design/foundations/typography#headings), but was never added to our React theme. - - diff --git a/.changeset/silent-books-remain.md b/.changeset/silent-books-remain.md deleted file mode 100644 index 7aadef5029a..00000000000 --- a/.changeset/silent-books-remain.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'@primer/react': patch ---- - -Make checkmark visible on reduced-motion - - diff --git a/.changeset/smart-points-exercise.md b/.changeset/smart-points-exercise.md deleted file mode 100644 index 944dee128b2..00000000000 --- a/.changeset/smart-points-exercise.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'@primer/react': patch ---- - -MarkdownViewer: Address scenario in useListInteraction where the position calculation can be incorrect when tasklists appear above legacy task lists - - diff --git a/.changeset/strong-zoos-explain.md b/.changeset/strong-zoos-explain.md deleted file mode 100644 index af6bc29f700..00000000000 --- a/.changeset/strong-zoos-explain.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -[Bug] Leading & Trailing Visual Colors for Button diff --git a/.changeset/tame-foxes-tan.md b/.changeset/tame-foxes-tan.md deleted file mode 100644 index f70d046cf7d..00000000000 --- a/.changeset/tame-foxes-tan.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -Fix `MarkdownEditor` file uploads inserting the URL into the wrong input when an overlay is open diff --git a/.changeset/tidy-melons-type.md b/.changeset/tidy-melons-type.md deleted file mode 100644 index 3007a564861..00000000000 --- a/.changeset/tidy-melons-type.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@primer/react": patch ---- - -Prevents body scroll when Dialog (the newer Dialog) is open - - diff --git a/CHANGELOG.md b/CHANGELOG.md index 41ae6e442a4..fbfae0c32cb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,109 @@ # @primer/components +## 35.27.0 + +### Minor Changes + +- [#3510](https://github.com/primer/react/pull/3510) [`bdbcfd15`](https://github.com/primer/react/commit/bdbcfd151d00a7995b07f57e2b37468af0bd0ee5) Thanks [@camertron](https://github.com/camertron)! - Implement accessibility audit feedback for ToggleSwitch + + + +- [#3466](https://github.com/primer/react/pull/3466) [`11b54ac8`](https://github.com/primer/react/commit/11b54ac88aff4bb8383a0e6a41174e4b477f85d7) Thanks [@mperrotti](https://github.com/mperrotti)! - Allows consumers to disable the behavior where the AvatarStack expands to show each Avatar on hover. There are also changes that allow users to customize the size of the avatars - even responsively! + + + +- [#3390](https://github.com/primer/react/pull/3390) [`b4e15b84`](https://github.com/primer/react/commit/b4e15b8452772dc72d3efda73f5d96dbe2c35150) Thanks [@mperrotti](https://github.com/mperrotti)! - The showPages prop on both Pagination components can now accept a responsive value. + + + +- [#3496](https://github.com/primer/react/pull/3496) [`11cdbdcc`](https://github.com/primer/react/commit/11cdbdcc3b7a662a93c46eafc92714fc3f1dc0c0) Thanks [@joshblack](https://github.com/joshblack)! - Update dependency ranges to use caret ranges instead of pinned versions + + + +### Patch Changes + +- [#3264](https://github.com/primer/react/pull/3264) [`5e655203`](https://github.com/primer/react/commit/5e6552039605bff358671e725687b37ce524ce2b) Thanks [@mperrotti](https://github.com/mperrotti)! - Adds truncation features to the LabelGroup component: + + - truncate LabelGroup children after a static number of children (for example, truncate after the 5th label) + - truncate LabelGroup children to fit in the width of the parent + - show full list in an Overlay + - show full list inline + + + +- [#3505](https://github.com/primer/react/pull/3505) [`c3f1e3c7`](https://github.com/primer/react/commit/c3f1e3c790b36034022ef548dfd300c3d89872a4) Thanks [@siddharthkp](https://github.com/siddharthkp)! - ActionList: Fix icon and description hover colors for danger variant + + + +- [#3520](https://github.com/primer/react/pull/3520) [`daee9a9c`](https://github.com/primer/react/commit/daee9a9ce3f21901e029c856d452ca47cfe35887) Thanks [@mattcosta7](https://github.com/mattcosta7)! - passthrough dom props on toggleswitch + + + +- [#3441](https://github.com/primer/react/pull/3441) [`90a145cc`](https://github.com/primer/react/commit/90a145ccd37338f50a47a8e16491a80e2d276b52) Thanks [@tomthorogood](https://github.com/tomthorogood)! - Renders docs.json markdown content + + + +- [#3540](https://github.com/primer/react/pull/3540) [`a90350cc`](https://github.com/primer/react/commit/a90350ccc4e2779cd5f21fc343d1fe793ebc5b56) Thanks [@kendallgassner](https://github.com/kendallgassner)! - Css styled block fixes + + + +- [#3389](https://github.com/primer/react/pull/3389) [`57c4bdf9`](https://github.com/primer/react/commit/57c4bdf928c0c277dfcf896f67443a2e9779a1d7) Thanks [@radglob](https://github.com/radglob)! - Deprecates `position` prop for PageLayout.Pane and SplitPageLayout.Pane. + + ```diff + - + - + - + - + + + + + + + + + + + ``` + + + +- [#3490](https://github.com/primer/react/pull/3490) [`8d1d5146`](https://github.com/primer/react/commit/8d1d51469f981fc0717adc80637369dd207670ca) Thanks [@langermank](https://github.com/langermank)! - Bug fix: ActionList item label weight and spacing if description exists + + + +- [#3361](https://github.com/primer/react/pull/3361) [`bea39c24`](https://github.com/primer/react/commit/bea39c24a7bc210cae78681572e7819edaec13db) Thanks [@broccolinisoup](https://github.com/broccolinisoup)! - UnderlineNav2: underline nav items' selected state can be managed by the app state + + + +- [#3533](https://github.com/primer/react/pull/3533) [`33b60551`](https://github.com/primer/react/commit/33b60551af4749d476f970d5447f422a6ace33ca) Thanks [@amarmanhala](https://github.com/amarmanhala)! - Changed div tag to HTML semantic tag header for Header (file Header.tsx) component. + + + +- [#3516](https://github.com/primer/react/pull/3516) [`33d43459`](https://github.com/primer/react/commit/33d43459258c28fa5d69a1eca83d46cdb4bfe773) Thanks [@danielguillan](https://github.com/danielguillan)! - ActionList: Fixes the width of items for the full variant + + + +- [#3517](https://github.com/primer/react/pull/3517) [`cf9d8a5e`](https://github.com/primer/react/commit/cf9d8a5e0cb21583e3b6280e2d493e54fd2c1ca0) Thanks [@kendallgassner](https://github.com/kendallgassner)! - Adding aria-attributes and role to the ProgressBar component + + + +- [#3539](https://github.com/primer/react/pull/3539) [`c02f3a2f`](https://github.com/primer/react/commit/c02f3a2f3cdf4cf009e4c4856588f4b34bf97785) Thanks [@mperrotti](https://github.com/mperrotti)! - Adds 'display' text size to PRC theme. This size is described in our [typography documentation](https://primer.style/design/foundations/typography#headings), but was never added to our React theme. + + + +- [#3537](https://github.com/primer/react/pull/3537) [`311c8c91`](https://github.com/primer/react/commit/311c8c918e33ca6692a7cb1eeb4c59ac27775ea1) Thanks [@kendallgassner](https://github.com/kendallgassner)! - Make checkmark visible on reduced-motion + + + +- [#3491](https://github.com/primer/react/pull/3491) [`263d5978`](https://github.com/primer/react/commit/263d5978dfceda3c5c18da6cfcb9f72cc616fe2b) Thanks [@nicolleromero](https://github.com/nicolleromero)! - MarkdownViewer: Address scenario in useListInteraction where the position calculation can be incorrect when tasklists appear above legacy task lists + + + +- [#3447](https://github.com/primer/react/pull/3447) [`40808db7`](https://github.com/primer/react/commit/40808db7a603b8b39872317c36b56e655705d475) Thanks [@jesskuo4](https://github.com/jesskuo4)! - [Bug] Leading & Trailing Visual Colors for Button + +- [#3562](https://github.com/primer/react/pull/3562) [`53791841`](https://github.com/primer/react/commit/537918414b1f576368efd447962479b9f8afcb27) Thanks [@iansan5653](https://github.com/iansan5653)! - Fix `MarkdownEditor` file uploads inserting the URL into the wrong input when an overlay is open + +- [#3547](https://github.com/primer/react/pull/3547) [`7ef802e8`](https://github.com/primer/react/commit/7ef802e84833d08f0912e4ce91d5eedb3e3ca655) Thanks [@mperrotti](https://github.com/mperrotti)! - Prevents body scroll when Dialog (the newer Dialog) is open + + + ## 35.26.1 ### Patch Changes diff --git a/package.json b/package.json index 02a457a02c3..39332593f15 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@primer/react", - "version": "35.26.1", + "version": "35.27.0", "description": "An implementation of GitHub's Primer Design System using React", "main": "lib/index.js", "module": "lib-esm/index.js",