From 633f8dbfc7834228fef2613a9d76cc6310a89726 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 21 Dec 2023 20:38:21 +0000 Subject: [PATCH] Version Packages --- .changeset/cold-pigs-shop.md | 5 --- .changeset/cool-buckets-end.md | 8 ---- .changeset/eight-pillows-pump.md | 5 --- .changeset/eleven-lizards-draw.md | 5 --- .changeset/empty-starfishes-relate.md | 5 --- .changeset/fresh-hotels-begin.md | 5 --- .changeset/khaki-rules-breathe.md | 7 --- .changeset/light-frogs-leave.md | 7 --- .changeset/many-ants-pump.md | 7 --- .changeset/mighty-ghosts-swim.md | 5 --- .changeset/nasty-dogs-walk.md | 7 --- .changeset/ninety-brooms-speak.md | 5 --- .changeset/rare-jeans-rush.md | 5 --- .changeset/rotten-apples-bake.md | 5 --- .changeset/serious-drinks-work.md | 7 --- .changeset/smooth-tips-breathe.md | 7 --- .changeset/sweet-onions-heal.md | 5 --- .changeset/tame-pandas-tie.md | 5 --- .changeset/use-css-variable.md | 4 -- .changeset/weak-balloons-search.md | 5 --- CHANGELOG.md | 62 +++++++++++++++++++++++++++ package.json | 2 +- 22 files changed, 63 insertions(+), 115 deletions(-) delete mode 100644 .changeset/cold-pigs-shop.md delete mode 100644 .changeset/cool-buckets-end.md delete mode 100644 .changeset/eight-pillows-pump.md delete mode 100644 .changeset/eleven-lizards-draw.md delete mode 100644 .changeset/empty-starfishes-relate.md delete mode 100644 .changeset/fresh-hotels-begin.md delete mode 100644 .changeset/khaki-rules-breathe.md delete mode 100644 .changeset/light-frogs-leave.md delete mode 100644 .changeset/many-ants-pump.md delete mode 100644 .changeset/mighty-ghosts-swim.md delete mode 100644 .changeset/nasty-dogs-walk.md delete mode 100644 .changeset/ninety-brooms-speak.md delete mode 100644 .changeset/rare-jeans-rush.md delete mode 100644 .changeset/rotten-apples-bake.md delete mode 100644 .changeset/serious-drinks-work.md delete mode 100644 .changeset/smooth-tips-breathe.md delete mode 100644 .changeset/sweet-onions-heal.md delete mode 100644 .changeset/tame-pandas-tie.md delete mode 100644 .changeset/use-css-variable.md delete mode 100644 .changeset/weak-balloons-search.md diff --git a/.changeset/cold-pigs-shop.md b/.changeset/cold-pigs-shop.md deleted file mode 100644 index 793a2d90046..00000000000 --- a/.changeset/cold-pigs-shop.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": minor ---- - -Deprecate `MarkdownEditor`, `MarkdownViewer`, `InlineAutocomplete`, and related hooks diff --git a/.changeset/cool-buckets-end.md b/.changeset/cool-buckets-end.md deleted file mode 100644 index dad8c852f04..00000000000 --- a/.changeset/cool-buckets-end.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -'@primer/react': patch ---- - -- Corrects the math to calculate the width of AvatarStack containers. -- Prevents `.pc-AvatarStackBody` from being removed from document flow by `position: absolute`. This isn't strictly necessary now that we're correctly setting the width of the stack, but it's an extra level of safety for preserving the correct layout. - - diff --git a/.changeset/eight-pillows-pump.md b/.changeset/eight-pillows-pump.md deleted file mode 100644 index e5051aa0c94..00000000000 --- a/.changeset/eight-pillows-pump.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/react': minor ---- - -Replaces deprecated `Button` component in `Dialog` with newest version diff --git a/.changeset/eleven-lizards-draw.md b/.changeset/eleven-lizards-draw.md deleted file mode 100644 index 824702e7da2..00000000000 --- a/.changeset/eleven-lizards-draw.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -experimental/SelectPanel2: Use `` element diff --git a/.changeset/empty-starfishes-relate.md b/.changeset/empty-starfishes-relate.md deleted file mode 100644 index 5f3277601f9..00000000000 --- a/.changeset/empty-starfishes-relate.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/react': patch ---- - -Tooltip2: Do not wrap the tooltip span and its trigger in a div diff --git a/.changeset/fresh-hotels-begin.md b/.changeset/fresh-hotels-begin.md deleted file mode 100644 index 70d2c545718..00000000000 --- a/.changeset/fresh-hotels-begin.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/react': patch ---- - -Sync theme in effect diff --git a/.changeset/khaki-rules-breathe.md b/.changeset/khaki-rules-breathe.md deleted file mode 100644 index 99489c91f19..00000000000 --- a/.changeset/khaki-rules-breathe.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@primer/react": patch ---- - -Use `aria-required` instead of `required` on required form elements - - diff --git a/.changeset/light-frogs-leave.md b/.changeset/light-frogs-leave.md deleted file mode 100644 index 4351a1c1c5a..00000000000 --- a/.changeset/light-frogs-leave.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'@primer/react': patch ---- - -TextInput, Textarea: Does not pass `aria-required` attribute to input or textarea if it is undefined. This fixes some tests that were breaking in dotcom. - - diff --git a/.changeset/many-ants-pump.md b/.changeset/many-ants-pump.md deleted file mode 100644 index 4032eefb4bd..00000000000 --- a/.changeset/many-ants-pump.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'@primer/react': patch ---- - -Adapts Blankslate to render proportionally in narrow areas. - - diff --git a/.changeset/mighty-ghosts-swim.md b/.changeset/mighty-ghosts-swim.md deleted file mode 100644 index 64c492888c7..00000000000 --- a/.changeset/mighty-ghosts-swim.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/react': patch ---- - -Fix an issue where the scrollable Dialog body could not be focused with the keyboard diff --git a/.changeset/nasty-dogs-walk.md b/.changeset/nasty-dogs-walk.md deleted file mode 100644 index c5c0e0188ab..00000000000 --- a/.changeset/nasty-dogs-walk.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@primer/react": patch ---- - -Adds the ability to unset `emptyStateText` in Autocomplete.Menu. This results in no menu being rendered. - - diff --git a/.changeset/ninety-brooms-speak.md b/.changeset/ninety-brooms-speak.md deleted file mode 100644 index 24dfe9d9163..00000000000 --- a/.changeset/ninety-brooms-speak.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/react': patch ---- - -Allow overflow scrolling to be controlled via an optional `overflow` property on Overlay diff --git a/.changeset/rare-jeans-rush.md b/.changeset/rare-jeans-rush.md deleted file mode 100644 index 2368e160309..00000000000 --- a/.changeset/rare-jeans-rush.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/react': patch ---- - -Fix missing `aria-selected` & `aria-checked` attributes in ActionList items diff --git a/.changeset/rotten-apples-bake.md b/.changeset/rotten-apples-bake.md deleted file mode 100644 index 8b1f686da37..00000000000 --- a/.changeset/rotten-apples-bake.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/react': patch ---- - -use in confirm() diff --git a/.changeset/serious-drinks-work.md b/.changeset/serious-drinks-work.md deleted file mode 100644 index f10a071bc79..00000000000 --- a/.changeset/serious-drinks-work.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'@primer/react': minor ---- - -Adds a new prop, `animated`, to the ProgressBar component. This allows the "filled" segment(s) to animate and indicate some process is still in progress. - - diff --git a/.changeset/smooth-tips-breathe.md b/.changeset/smooth-tips-breathe.md deleted file mode 100644 index e0334b3f905..00000000000 --- a/.changeset/smooth-tips-breathe.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'@primer/react': minor ---- - -Supports inactive ActionList items by letting users pass the required message to the `inactiveText` prop. - - diff --git a/.changeset/sweet-onions-heal.md b/.changeset/sweet-onions-heal.md deleted file mode 100644 index 488b98447d7..00000000000 --- a/.changeset/sweet-onions-heal.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/react': patch ---- - -Fixed confirm() leaving
s in the DOM. diff --git a/.changeset/tame-pandas-tie.md b/.changeset/tame-pandas-tie.md deleted file mode 100644 index bbf010de6db..00000000000 --- a/.changeset/tame-pandas-tie.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/react': patch ---- - -Update types for Select to include `placeholder` diff --git a/.changeset/use-css-variable.md b/.changeset/use-css-variable.md deleted file mode 100644 index 4987454b725..00000000000 --- a/.changeset/use-css-variable.md +++ /dev/null @@ -1,4 +0,0 @@ ---- -"@primer/react": minor ---- -Use a CSS variable for the monospace font stack diff --git a/.changeset/weak-balloons-search.md b/.changeset/weak-balloons-search.md deleted file mode 100644 index da2ea95bd71..00000000000 --- a/.changeset/weak-balloons-search.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/react': patch ---- - -Portal avoids useless createElement diff --git a/CHANGELOG.md b/CHANGELOG.md index e996df673be..173ef35c823 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,67 @@ # @primer/components +## 36.5.0 + +### Minor Changes + +- [#4090](https://github.com/primer/react/pull/4090) [`6f043bc34`](https://github.com/primer/react/commit/6f043bc34c712991f074c246ba8df718d387b66f) Thanks [@broccolinisoup](https://github.com/broccolinisoup)! - Deprecate `MarkdownEditor`, `MarkdownViewer`, `InlineAutocomplete`, and related hooks + +- [#4049](https://github.com/primer/react/pull/4049) [`f0d38bc39`](https://github.com/primer/react/commit/f0d38bc390b9bbe99227f1c7b36730188e37ea5e) Thanks [@TylerJDev](https://github.com/TylerJDev)! - Replaces deprecated `Button` component in `Dialog` with newest version + +- [#4061](https://github.com/primer/react/pull/4061) [`f46c07189`](https://github.com/primer/react/commit/f46c07189c849d727f567c85e985695e75acc4cf) Thanks [@mperrotti](https://github.com/mperrotti)! - Adds a new prop, `animated`, to the ProgressBar component. This allows the "filled" segment(s) to animate and indicate some process is still in progress. + + + +- [#4090](https://github.com/primer/react/pull/4090) [`6f043bc34`](https://github.com/primer/react/commit/6f043bc34c712991f074c246ba8df718d387b66f) Thanks [@broccolinisoup](https://github.com/broccolinisoup)! - Supports inactive ActionList items by letting users pass the required message to the `inactiveText` prop. + + + +- [#4028](https://github.com/primer/react/pull/4028) [`bbe58b8e1`](https://github.com/primer/react/commit/bbe58b8e1c7cca0ebec46fffd184c1db23bebcdf) Thanks [@joshblack](https://github.com/joshblack)! - Use a CSS variable for the monospace font stack + +### Patch Changes + +- [#4082](https://github.com/primer/react/pull/4082) [`c2809d677`](https://github.com/primer/react/commit/c2809d677a44686573f0bd31fc1988e73ef80b84) Thanks [@mperrotti](https://github.com/mperrotti)! - - Corrects the math to calculate the width of AvatarStack containers. + + - Prevents `.pc-AvatarStackBody` from being removed from document flow by `position: absolute`. This isn't strictly necessary now that we're correctly setting the width of the stack, but it's an extra level of safety for preserving the correct layout. + + + +- [#4020](https://github.com/primer/react/pull/4020) [`c2a53a003`](https://github.com/primer/react/commit/c2a53a003fb392b97cd33aa5eea0329e4f726874) Thanks [@siddharthkp](https://github.com/siddharthkp)! - experimental/SelectPanel2: Use `` element + +- [#4090](https://github.com/primer/react/pull/4090) [`6f043bc34`](https://github.com/primer/react/commit/6f043bc34c712991f074c246ba8df718d387b66f) Thanks [@broccolinisoup](https://github.com/broccolinisoup)! - Tooltip2: Do not wrap the tooltip span and its trigger in a div + +- [#4090](https://github.com/primer/react/pull/4090) [`6f043bc34`](https://github.com/primer/react/commit/6f043bc34c712991f074c246ba8df718d387b66f) Thanks [@broccolinisoup](https://github.com/broccolinisoup)! - Sync theme in effect + +- [#4090](https://github.com/primer/react/pull/4090) [`6f043bc34`](https://github.com/primer/react/commit/6f043bc34c712991f074c246ba8df718d387b66f) Thanks [@broccolinisoup](https://github.com/broccolinisoup)! - Use `aria-required` instead of `required` on required form elements + + + +- [#4090](https://github.com/primer/react/pull/4090) [`6f043bc34`](https://github.com/primer/react/commit/6f043bc34c712991f074c246ba8df718d387b66f) Thanks [@broccolinisoup](https://github.com/broccolinisoup)! - TextInput, Textarea: Does not pass `aria-required` attribute to input or textarea if it is undefined. This fixes some tests that were breaking in dotcom. + + + +- [#4090](https://github.com/primer/react/pull/4090) [`6f043bc34`](https://github.com/primer/react/commit/6f043bc34c712991f074c246ba8df718d387b66f) Thanks [@broccolinisoup](https://github.com/broccolinisoup)! - Adapts Blankslate to render proportionally in narrow areas. + + + +- [#4090](https://github.com/primer/react/pull/4090) [`6f043bc34`](https://github.com/primer/react/commit/6f043bc34c712991f074c246ba8df718d387b66f) Thanks [@broccolinisoup](https://github.com/broccolinisoup)! - Fix an issue where the scrollable Dialog body could not be focused with the keyboard + +- [#4002](https://github.com/primer/react/pull/4002) [`1a1d89ce0`](https://github.com/primer/react/commit/1a1d89ce048e51c4d59e9873d8b76c0da07a786a) Thanks [@peterbe](https://github.com/peterbe)! - Adds the ability to unset `emptyStateText` in Autocomplete.Menu. This results in no menu being rendered. + + + +- [#3926](https://github.com/primer/react/pull/3926) [`4e4c5ec68`](https://github.com/primer/react/commit/4e4c5ec68a9c744aedc15cadb7a9a7024e997426) Thanks [@strackoverflow](https://github.com/strackoverflow)! - Allow overflow scrolling to be controlled via an optional `overflow` property on Overlay + +- [#4096](https://github.com/primer/react/pull/4096) [`1b9011da4`](https://github.com/primer/react/commit/1b9011da4e0a0f20547b2e1146bb78f3892b96ea) Thanks [@strackoverflow](https://github.com/strackoverflow)! - Fix missing `aria-selected` & `aria-checked` attributes in ActionList items + +- [#4090](https://github.com/primer/react/pull/4090) [`6f043bc34`](https://github.com/primer/react/commit/6f043bc34c712991f074c246ba8df718d387b66f) Thanks [@broccolinisoup](https://github.com/broccolinisoup)! - use in confirm() + +- [#4090](https://github.com/primer/react/pull/4090) [`6f043bc34`](https://github.com/primer/react/commit/6f043bc34c712991f074c246ba8df718d387b66f) Thanks [@broccolinisoup](https://github.com/broccolinisoup)! - Fixed confirm() leaving
s in the DOM. + +- [#4074](https://github.com/primer/react/pull/4074) [`06c7c6c1d`](https://github.com/primer/react/commit/06c7c6c1d126520ced0c5641b7e0a69e343aacdd) Thanks [@dependabot](https://github.com/apps/dependabot)! - Update types for Select to include `placeholder` + +- [#4090](https://github.com/primer/react/pull/4090) [`6f043bc34`](https://github.com/primer/react/commit/6f043bc34c712991f074c246ba8df718d387b66f) Thanks [@broccolinisoup](https://github.com/broccolinisoup)! - Portal avoids useless createElement + ## 36.4.0 ### Minor Changes diff --git a/package.json b/package.json index 745db7d1128..7950b142128 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@primer/react", - "version": "36.4.0", + "version": "36.5.0", "description": "An implementation of GitHub's Primer Design System using React", "main": "lib/index.js", "module": "lib-esm/index.js",