diff --git a/.changeset/chilly-buckets-kick.md b/.changeset/chilly-buckets-kick.md deleted file mode 100644 index 648c95d6945..00000000000 --- a/.changeset/chilly-buckets-kick.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@primer/react": minor ---- -ActionList.Group: deprecate `title` prop - please use `ActionList.GroupHeading` instead -ActionList.GroupHeading: update the warning to be an error if there is no explict `as` prop for list `role` action lists. -ActionList.GroupHeading: There shouldn't be an `as` prop on `ActionList.GroupHeading` for `listbox` or `menu` role action lists. console.error if there is one diff --git a/.changeset/eight-olives-play.md b/.changeset/eight-olives-play.md deleted file mode 100644 index 9d0db6efedc..00000000000 --- a/.changeset/eight-olives-play.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'@primer/react': minor ---- - -Adds new alpha component: TabPanels to match Primer View Components. - -TabPanels should be used when semantic tabs are required and the tablist is not a navigation element. diff --git a/.changeset/honest-feet-shop.md b/.changeset/honest-feet-shop.md deleted file mode 100644 index 254d446cb78..00000000000 --- a/.changeset/honest-feet-shop.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/react': patch ---- - -Render SSR date for RelativeTime diff --git a/.changeset/late-peaches-suffer.md b/.changeset/late-peaches-suffer.md deleted file mode 100644 index d01a892df40..00000000000 --- a/.changeset/late-peaches-suffer.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -ActionMenu: Add `id` to `ActionMenu.Anchor` types diff --git a/.changeset/lemon-seahorses-argue.md b/.changeset/lemon-seahorses-argue.md deleted file mode 100644 index 2dc1ae23a49..00000000000 --- a/.changeset/lemon-seahorses-argue.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/react': patch ---- - -ActionBar now produces valid HTML diff --git a/.changeset/loud-drinks-happen.md b/.changeset/loud-drinks-happen.md deleted file mode 100644 index bf78bf1bce2..00000000000 --- a/.changeset/loud-drinks-happen.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/react': patch ---- - -Improve display names for React components built from Custom Elements diff --git a/.changeset/old-shirts-train.md b/.changeset/old-shirts-train.md deleted file mode 100644 index 31a4bd55893..00000000000 --- a/.changeset/old-shirts-train.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@primer/react": patch ---- - -Tooltipv2: Update the threshold value to match with the offset - diff --git a/.changeset/orange-geese-search.md b/.changeset/orange-geese-search.md deleted file mode 100644 index f9c650ec5ca..00000000000 --- a/.changeset/orange-geese-search.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/react': patch ---- - -Update DataTable to avoid layout overflow when visually hidden selectors are used in Table headers diff --git a/.changeset/proud-ears-travel.md b/.changeset/proud-ears-travel.md deleted file mode 100644 index eb4e1e9d3f7..00000000000 --- a/.changeset/proud-ears-travel.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -experimental/SelectPanel: Add responsive variants diff --git a/.changeset/rare-moose-destroy.md b/.changeset/rare-moose-destroy.md deleted file mode 100644 index 4a8dfe7daff..00000000000 --- a/.changeset/rare-moose-destroy.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/react': minor ---- - -experimental/SelectPanel: Add support for announcements to SelectPanel.Loading diff --git a/.changeset/smart-cameras-sip.md b/.changeset/smart-cameras-sip.md deleted file mode 100644 index 3d7095b91b7..00000000000 --- a/.changeset/smart-cameras-sip.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/react': patch ---- - -Fixes a bug where consumers cannot override buttons' aria-disabled attribute diff --git a/.changeset/spotty-baboons-destroy.md b/.changeset/spotty-baboons-destroy.md deleted file mode 100644 index f4783e0f006..00000000000 --- a/.changeset/spotty-baboons-destroy.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/react': minor ---- - -Update @primer/octicons-react to 19.9.0 diff --git a/.changeset/sweet-icons-stare.md b/.changeset/sweet-icons-stare.md deleted file mode 100644 index 246b7dfab7d..00000000000 --- a/.changeset/sweet-icons-stare.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -ActionBar: The overflow menu was earlier bootlegged with heavily customised ActionList. This is being replaced with ActionMenu which is cleaner and more robust. diff --git a/.changeset/tricky-moose-design.md b/.changeset/tricky-moose-design.md deleted file mode 100644 index d34f6f6e93a..00000000000 --- a/.changeset/tricky-moose-design.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -`` menu now uses the Anchored Position on smaller screen sizes to not clip, or go out of bounds. diff --git a/.changeset/wicked-rings-lay.md b/.changeset/wicked-rings-lay.md deleted file mode 100644 index 2cfc1fa0f5b..00000000000 --- a/.changeset/wicked-rings-lay.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -Bug fix: make `active` label bold in ActionList diff --git a/.changeset/wild-students-bow.md b/.changeset/wild-students-bow.md deleted file mode 100644 index 111e2d290e9..00000000000 --- a/.changeset/wild-students-bow.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": minor ---- - -Adds support for nested submenus to `ActionMenu` diff --git a/examples/app-router/package.json b/examples/app-router/package.json index e0e27aa1e69..aa6a13cbff4 100644 --- a/examples/app-router/package.json +++ b/examples/app-router/package.json @@ -9,7 +9,7 @@ "type-check": "tsc --noEmit" }, "dependencies": { - "@primer/react": "36.12.0", + "@primer/react": "36.13.0", "next": "^14.1.0", "react": "^18.2.0", "react-dom": "^18.2.0", diff --git a/examples/nextjs/package.json b/examples/nextjs/package.json index 1fa3722fa14..298ba0eca3e 100644 --- a/examples/nextjs/package.json +++ b/examples/nextjs/package.json @@ -10,7 +10,7 @@ }, "dependencies": { "@primer/octicons-react": "^18.2.0", - "@primer/react": "36.12.0", + "@primer/react": "36.13.0", "next": "^14.1.0", "react": "^18.2.0", "react-dom": "^18.2.0", diff --git a/packages/react/CHANGELOG.md b/packages/react/CHANGELOG.md index 878e94afa80..c2dae5cbbcf 100644 --- a/packages/react/CHANGELOG.md +++ b/packages/react/CHANGELOG.md @@ -1,5 +1,47 @@ # @primer/react +## 36.13.0 + +### Minor Changes + +- [#4395](https://github.com/primer/react/pull/4395) [`c2557d102b80ea4ccc280e041bea212e8602573e`](https://github.com/primer/react/commit/c2557d102b80ea4ccc280e041bea212e8602573e) Thanks [@broccolinisoup](https://github.com/broccolinisoup)! - ActionList.Group: deprecate `title` prop - please use `ActionList.GroupHeading` instead + ActionList.GroupHeading: update the warning to be an error if there is no explict `as` prop for list `role` action lists. + ActionList.GroupHeading: There shouldn't be an `as` prop on `ActionList.GroupHeading` for `listbox` or `menu` role action lists. console.error if there is one + +- [#4241](https://github.com/primer/react/pull/4241) [`5f94a236adf6511a4817e720d1f7358f38233b31`](https://github.com/primer/react/commit/5f94a236adf6511a4817e720d1f7358f38233b31) Thanks [@owenniblock](https://github.com/owenniblock)! - Adds new alpha component: TabPanels to match Primer View Components. + + TabPanels should be used when semantic tabs are required and the tablist is not a navigation element. + +- [#4407](https://github.com/primer/react/pull/4407) [`4a7e44a510d94802acb865e8e5530f8b5fae8dee`](https://github.com/primer/react/commit/4a7e44a510d94802acb865e8e5530f8b5fae8dee) Thanks [@joshblack](https://github.com/joshblack)! - experimental/SelectPanel: Add support for announcements to SelectPanel.Loading + +- [#4417](https://github.com/primer/react/pull/4417) [`d7f4f7c71ef86b80d62683cb6e0f0d36ea370681`](https://github.com/primer/react/commit/d7f4f7c71ef86b80d62683cb6e0f0d36ea370681) Thanks [@joshblack](https://github.com/joshblack)! - Update @primer/octicons-react to 19.9.0 + +- [#4386](https://github.com/primer/react/pull/4386) [`4e281b2e65de237969f5a48c93dd4e4e3c18b72f`](https://github.com/primer/react/commit/4e281b2e65de237969f5a48c93dd4e4e3c18b72f) Thanks [@iansan5653](https://github.com/iansan5653)! - Adds support for nested submenus to `ActionMenu` + +### Patch Changes + +- [#4305](https://github.com/primer/react/pull/4305) [`37c47708d7755c0387cdc94f68389226799ee707`](https://github.com/primer/react/commit/37c47708d7755c0387cdc94f68389226799ee707) Thanks [@keithamus](https://github.com/keithamus)! - Render SSR date for RelativeTime + +- [#4385](https://github.com/primer/react/pull/4385) [`254e289b845c5167febd304be082fe8493aa87ab`](https://github.com/primer/react/commit/254e289b845c5167febd304be082fe8493aa87ab) Thanks [@broccolinisoup](https://github.com/broccolinisoup)! - ActionMenu: Add `id` to `ActionMenu.Anchor` types + +- [#4388](https://github.com/primer/react/pull/4388) [`c4a4674907f747ee154ca4e2a4ccd8bf2c0c3541`](https://github.com/primer/react/commit/c4a4674907f747ee154ca4e2a4ccd8bf2c0c3541) Thanks [@keithamus](https://github.com/keithamus)! - ActionBar now produces valid HTML + +- [#4403](https://github.com/primer/react/pull/4403) [`d4edf2a7f85d944859e744b9c978d89ed92ac6f7`](https://github.com/primer/react/commit/d4edf2a7f85d944859e744b9c978d89ed92ac6f7) Thanks [@keithamus](https://github.com/keithamus)! - Improve display names for React components built from Custom Elements + +- [#4446](https://github.com/primer/react/pull/4446) [`a3355a5483e37bebe077c7aa000ae8e4ed0f77b9`](https://github.com/primer/react/commit/a3355a5483e37bebe077c7aa000ae8e4ed0f77b9) Thanks [@broccolinisoup](https://github.com/broccolinisoup)! - Tooltipv2: Update the threshold value to match with the offset + +- [#4440](https://github.com/primer/react/pull/4440) [`674437d421bc6a1237b286d6840a0043a1a67314`](https://github.com/primer/react/commit/674437d421bc6a1237b286d6840a0043a1a67314) Thanks [@joshblack](https://github.com/joshblack)! - Update DataTable to avoid layout overflow when visually hidden selectors are used in Table headers + +- [#4277](https://github.com/primer/react/pull/4277) [`69915d9e9cbba2d378e0acc065474a93bf5411b0`](https://github.com/primer/react/commit/69915d9e9cbba2d378e0acc065474a93bf5411b0) Thanks [@siddharthkp](https://github.com/siddharthkp)! - experimental/SelectPanel: Add responsive variants + +- [#4426](https://github.com/primer/react/pull/4426) [`369c3036c8701f227ac5e49b38d32f65f6a8ce97`](https://github.com/primer/react/commit/369c3036c8701f227ac5e49b38d32f65f6a8ce97) Thanks [@iansan5653](https://github.com/iansan5653)! - Fixes a bug where consumers cannot override buttons' aria-disabled attribute + +- [#4424](https://github.com/primer/react/pull/4424) [`392a3ca508b5de1b7440ff9f6f0700414560f2cf`](https://github.com/primer/react/commit/392a3ca508b5de1b7440ff9f6f0700414560f2cf) Thanks [@pksjce](https://github.com/pksjce)! - ActionBar: The overflow menu was earlier bootlegged with heavily customised ActionList. This is being replaced with ActionMenu which is cleaner and more robust. + +- [#4234](https://github.com/primer/react/pull/4234) [`8bbb8e5d7be39bc46d0c9ee1687533f1a9fc6efa`](https://github.com/primer/react/commit/8bbb8e5d7be39bc46d0c9ee1687533f1a9fc6efa) Thanks [@Rebstorm](https://github.com/Rebstorm)! - `` menu now uses the Anchored Position on smaller screen sizes to not clip, or go out of bounds. + +- [#4392](https://github.com/primer/react/pull/4392) [`f100683a756c48c433fdd96f0837db9d1525b195`](https://github.com/primer/react/commit/f100683a756c48c433fdd96f0837db9d1525b195) Thanks [@langermank](https://github.com/langermank)! - Bug fix: make `active` label bold in ActionList + ## 36.12.0 ### Minor Changes diff --git a/packages/react/package.json b/packages/react/package.json index 010f810b6c5..5e70f52265b 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "@primer/react", - "version": "36.12.0", + "version": "36.13.0", "description": "An implementation of GitHub's Primer Design System using React", "main": "lib/index.js", "module": "lib-esm/index.js",