diff --git a/.changeset/clever-hotels-kneel.md b/.changeset/clever-hotels-kneel.md deleted file mode 100644 index 0180e6dc7ec..00000000000 --- a/.changeset/clever-hotels-kneel.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/react': patch ---- - -Fixes the sx prop on the SegmentedControl buttons by properly merging the sx prop when cloning button children. diff --git a/.changeset/curly-birds-argue.md b/.changeset/curly-birds-argue.md deleted file mode 100644 index 24a6b9ea1cd..00000000000 --- a/.changeset/curly-birds-argue.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -Add draft TreeView component diff --git a/.changeset/heavy-pets-own.md b/.changeset/heavy-pets-own.md deleted file mode 100644 index 2c8beda7e23..00000000000 --- a/.changeset/heavy-pets-own.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -Adds lines to indicate the depth of items in a TreeView diff --git a/.changeset/large-trains-press.md b/.changeset/large-trains-press.md deleted file mode 100644 index c60ef37fc36..00000000000 --- a/.changeset/large-trains-press.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/react': minor ---- - -Adds a `size` prop to the SegmentedControl component. Users can choose between 'medium' (default), and 'small'. More sizes can be added when/if we find we need them. diff --git a/.changeset/neat-squids-cheat.md b/.changeset/neat-squids-cheat.md deleted file mode 100644 index 2f5aafe6d34..00000000000 --- a/.changeset/neat-squids-cheat.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -Adds support for arrow key navigation of a TreeView using `aria-activedescendant` diff --git a/.changeset/smart-dolphins-live.md b/.changeset/smart-dolphins-live.md deleted file mode 100644 index 939d2012af0..00000000000 --- a/.changeset/smart-dolphins-live.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/react': minor ---- - -Update PageLayout.Pane to support a ref on the element wrapping children diff --git a/.changeset/stupid-knives-arrive.md b/.changeset/stupid-knives-arrive.md deleted file mode 100644 index 845015d1a61..00000000000 --- a/.changeset/stupid-knives-arrive.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/react': patch ---- - -Reverted SelectPanel breaking behavioral changes diff --git a/.changeset/tidy-beans-punch.md b/.changeset/tidy-beans-punch.md deleted file mode 100644 index b446a178723..00000000000 --- a/.changeset/tidy-beans-punch.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -Add a `current` prop to `TreeView.Item` and `TreeView.LinkItem` diff --git a/.changeset/weak-hotels-shout.md b/.changeset/weak-hotels-shout.md deleted file mode 100644 index 48b0be09f5d..00000000000 --- a/.changeset/weak-hotels-shout.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -MarkdownViewer bug fix: Only run `replaceChildren` when `htmlContainer` changes diff --git a/CHANGELOG.md b/CHANGELOG.md index 585559a750e..029c6b3550f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,29 @@ # @primer/components +## 35.10.0 + +### Minor Changes + +- [#2347](https://github.com/primer/react/pull/2347) [`09a5d806`](https://github.com/primer/react/commit/09a5d8064b794221be4cd961759ec15c1eea2a02) Thanks [@mperrotti](https://github.com/mperrotti)! - Adds a `size` prop to the SegmentedControl component. Users can choose between 'medium' (default), and 'small'. More sizes can be added when/if we find we need them. + +* [#2324](https://github.com/primer/react/pull/2324) [`027e44a7`](https://github.com/primer/react/commit/027e44a73542a9b115d688a7f16a0f63c2d9d86f) Thanks [@joshblack](https://github.com/joshblack)! - Update PageLayout.Pane to support a ref on the element wrapping children + +### Patch Changes + +- [#2355](https://github.com/primer/react/pull/2355) [`e052644d`](https://github.com/primer/react/commit/e052644d75068438e69c68a86344ad0e8a7a02b0) Thanks [@mperrotti](https://github.com/mperrotti)! - Fixes the sx prop on the SegmentedControl buttons by properly merging the sx prop when cloning button children. + +* [#2305](https://github.com/primer/react/pull/2305) [`6cd50a54`](https://github.com/primer/react/commit/6cd50a54f8b399eef751507d44ffbfa35ede3d9f) Thanks [@colebemis](https://github.com/colebemis)! - Add draft TreeView component + +- [#2350](https://github.com/primer/react/pull/2350) [`61a93e20`](https://github.com/primer/react/commit/61a93e20d9a7ced443ef5c2ee6b93bcefcd9c78e) Thanks [@colebemis](https://github.com/colebemis)! - Adds lines to indicate the depth of items in a TreeView + +* [#2331](https://github.com/primer/react/pull/2331) [`31b8804c`](https://github.com/primer/react/commit/31b8804cf346412b7365cd411f6ee14e22f4a19d) Thanks [@colebemis](https://github.com/colebemis)! - Adds support for arrow key navigation of a TreeView using `aria-activedescendant` + +- [#2338](https://github.com/primer/react/pull/2338) [`68c49803`](https://github.com/primer/react/commit/68c498038c097cfd339ff3feddc54221e6ed438d) Thanks [@broccolinisoup](https://github.com/broccolinisoup)! - Reverted SelectPanel breaking behavioral changes + +* [#2348](https://github.com/primer/react/pull/2348) [`c76e1610`](https://github.com/primer/react/commit/c76e161081573240c212b3dcfad5af5457a7312a) Thanks [@colebemis](https://github.com/colebemis)! - Add a `current` prop to `TreeView.Item` and `TreeView.LinkItem` + +- [#2356](https://github.com/primer/react/pull/2356) [`e2fb2fca`](https://github.com/primer/react/commit/e2fb2fca2792470dda584a81f18d1389b57239f6) Thanks [@nicolleromero](https://github.com/nicolleromero)! - MarkdownViewer bug fix: Only run `replaceChildren` when `htmlContainer` changes + ## 35.9.0 ### Minor Changes diff --git a/package.json b/package.json index 4fdb47ffbbc..693584d0d71 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@primer/react", - "version": "35.9.0", + "version": "35.10.0", "description": "An implementation of GitHub's Primer Design System using React", "main": "lib/index.js", "module": "lib-esm/index.js",