From f7dcae96362c038a0ce2d3b44a6db41bf1d480c1 Mon Sep 17 00:00:00 2001 From: "primer[bot]" <119360173+primer[bot]@users.noreply.github.com> Date: Tue, 12 Mar 2024 13:15:45 -0500 Subject: [PATCH] Version Packages (#4332) Co-authored-by: github-actions[bot] --- .changeset/beige-crews-flow.md | 5 ----- .changeset/beige-meals-doubt.md | 5 ----- .changeset/bright-foxes-hunt.md | 5 ----- .changeset/fair-cooks-return.md | 5 ----- .changeset/fair-countries-taste.md | 5 ----- .changeset/fair-sloths-kick.md | 5 ----- .changeset/fluffy-pugs-care.md | 5 ----- .changeset/gold-baboons-live.md | 5 ----- .changeset/grumpy-shirts-march.md | 5 ----- .changeset/mighty-pears-deny.md | 5 ----- .changeset/neat-toes-build.md | 5 ----- .changeset/tasty-spoons-suffer.md | 5 ----- .changeset/wet-geckos-accept.md | 5 ----- .changeset/wicked-rings-prove.md | 5 ----- examples/app-router/package.json | 2 +- examples/nextjs/package.json | 2 +- packages/react/CHANGELOG.md | 34 ++++++++++++++++++++++++++++++ packages/react/package.json | 2 +- 18 files changed, 37 insertions(+), 73 deletions(-) delete mode 100644 .changeset/beige-crews-flow.md delete mode 100644 .changeset/beige-meals-doubt.md delete mode 100644 .changeset/bright-foxes-hunt.md delete mode 100644 .changeset/fair-cooks-return.md delete mode 100644 .changeset/fair-countries-taste.md delete mode 100644 .changeset/fair-sloths-kick.md delete mode 100644 .changeset/fluffy-pugs-care.md delete mode 100644 .changeset/gold-baboons-live.md delete mode 100644 .changeset/grumpy-shirts-march.md delete mode 100644 .changeset/mighty-pears-deny.md delete mode 100644 .changeset/neat-toes-build.md delete mode 100644 .changeset/tasty-spoons-suffer.md delete mode 100644 .changeset/wet-geckos-accept.md delete mode 100644 .changeset/wicked-rings-prove.md diff --git a/.changeset/beige-crews-flow.md b/.changeset/beige-crews-flow.md deleted file mode 100644 index a5844281d47..00000000000 --- a/.changeset/beige-crews-flow.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -ActionBar: Overflow menu items should be able to trigger dialogs diff --git a/.changeset/beige-meals-doubt.md b/.changeset/beige-meals-doubt.md deleted file mode 100644 index ea5b7ecc8ec..00000000000 --- a/.changeset/beige-meals-doubt.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/react': patch ---- - -Tooltip v2: Set the tooltip position when popover-open attribute is added to the tooltip element not the toggle event is triggered diff --git a/.changeset/bright-foxes-hunt.md b/.changeset/bright-foxes-hunt.md deleted file mode 100644 index d9b15bdd869..00000000000 --- a/.changeset/bright-foxes-hunt.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/react': minor ---- - -SelectPanel: Added `footer` prop that renders a sticky footer at the bottom of the item list. diff --git a/.changeset/fair-cooks-return.md b/.changeset/fair-cooks-return.md deleted file mode 100644 index d6091fbdd55..00000000000 --- a/.changeset/fair-cooks-return.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -experimental/SelectPanel: Do not render children of `` when closed diff --git a/.changeset/fair-countries-taste.md b/.changeset/fair-countries-taste.md deleted file mode 100644 index 031b91d5601..00000000000 --- a/.changeset/fair-countries-taste.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -Unify Breadcrumbs + fix a11y issue diff --git a/.changeset/fair-sloths-kick.md b/.changeset/fair-sloths-kick.md deleted file mode 100644 index d2ba47a2483..00000000000 --- a/.changeset/fair-sloths-kick.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": minor ---- - -experimental/SelectPanel: Add back button diff --git a/.changeset/fluffy-pugs-care.md b/.changeset/fluffy-pugs-care.md deleted file mode 100644 index 0932804bd00..00000000000 --- a/.changeset/fluffy-pugs-care.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/react': patch ---- - -Switches focus styles to target `a.focus-visible` instead of `a:focus-visible`. diff --git a/.changeset/gold-baboons-live.md b/.changeset/gold-baboons-live.md deleted file mode 100644 index 94cfec0faef..00000000000 --- a/.changeset/gold-baboons-live.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -Adding aria-invalid="true" to TextInput when error. diff --git a/.changeset/grumpy-shirts-march.md b/.changeset/grumpy-shirts-march.md deleted file mode 100644 index 6707df90166..00000000000 --- a/.changeset/grumpy-shirts-march.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -Bugfix: `aria-invalid` is overriden in TextInput diff --git a/.changeset/mighty-pears-deny.md b/.changeset/mighty-pears-deny.md deleted file mode 100644 index 8976b00d125..00000000000 --- a/.changeset/mighty-pears-deny.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -TextInput: Remove redundant `aria-label` attribute from `TextInput.Action` when it already has an `aria-labelledby`. diff --git a/.changeset/neat-toes-build.md b/.changeset/neat-toes-build.md deleted file mode 100644 index a4b259ef83e..00000000000 --- a/.changeset/neat-toes-build.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -experimental/SelectPanel: Move focus to first item if there is no filter input diff --git a/.changeset/tasty-spoons-suffer.md b/.changeset/tasty-spoons-suffer.md deleted file mode 100644 index 3e79442d8e4..00000000000 --- a/.changeset/tasty-spoons-suffer.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -Add precompile step for colorSchemes diff --git a/.changeset/wet-geckos-accept.md b/.changeset/wet-geckos-accept.md deleted file mode 100644 index d6f616665ed..00000000000 --- a/.changeset/wet-geckos-accept.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/react': minor ---- - -TextInput: Update TextInput.Action internal component to use Tooltip v2 diff --git a/.changeset/wicked-rings-prove.md b/.changeset/wicked-rings-prove.md deleted file mode 100644 index 28b49915491..00000000000 --- a/.changeset/wicked-rings-prove.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -Tooltip2: Render tooltip element as `span` instead of `div` diff --git a/examples/app-router/package.json b/examples/app-router/package.json index 389dea82320..fa49d7e0b0f 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.10.0", + "@primer/react": "36.11.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 30c8138c237..bde67c13a12 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.10.0", + "@primer/react": "36.11.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 eb77789b31d..54021d7e6b5 100644 --- a/packages/react/CHANGELOG.md +++ b/packages/react/CHANGELOG.md @@ -1,5 +1,39 @@ # @primer/react +## 36.11.0 + +### Minor Changes + +- [#4353](https://github.com/primer/react/pull/4353) [`2c0086e6da3ae3a360c12952399256c98941982e`](https://github.com/primer/react/commit/2c0086e6da3ae3a360c12952399256c98941982e) Thanks [@anleac](https://github.com/anleac)! - SelectPanel: Added `footer` prop that renders a sticky footer at the bottom of the item list. + +- [#4288](https://github.com/primer/react/pull/4288) [`200fb18839053f669d30d86e4dd88b399b06a44b`](https://github.com/primer/react/commit/200fb18839053f669d30d86e4dd88b399b06a44b) Thanks [@siddharthkp](https://github.com/siddharthkp)! - experimental/SelectPanel: Add back button + +- [#4097](https://github.com/primer/react/pull/4097) [`9c535e835a364bce5d01b28f4029d2bf4d5bdfaf`](https://github.com/primer/react/commit/9c535e835a364bce5d01b28f4029d2bf4d5bdfaf) Thanks [@broccolinisoup](https://github.com/broccolinisoup)! - TextInput: Update TextInput.Action internal component to use Tooltip v2 + +### Patch Changes + +- [#4359](https://github.com/primer/react/pull/4359) [`937dbdea2a0b2f79b60f68440f5d8c24df344401`](https://github.com/primer/react/commit/937dbdea2a0b2f79b60f68440f5d8c24df344401) Thanks [@pksjce](https://github.com/pksjce)! - ActionBar: Overflow menu items should be able to trigger dialogs + +- [#4327](https://github.com/primer/react/pull/4327) [`f08f85b5a90e532c7a8795f7bea5af80765283d4`](https://github.com/primer/react/commit/f08f85b5a90e532c7a8795f7bea5af80765283d4) Thanks [@broccolinisoup](https://github.com/broccolinisoup)! - Tooltip v2: Set the tooltip position when popover-open attribute is added to the tooltip element not the toggle event is triggered + +- [#4348](https://github.com/primer/react/pull/4348) [`c64e5b25698885eeeeee5bc95c47582248011a39`](https://github.com/primer/react/commit/c64e5b25698885eeeeee5bc95c47582248011a39) Thanks [@siddharthkp](https://github.com/siddharthkp)! - experimental/SelectPanel: Do not render children of `` when closed + +- [#4308](https://github.com/primer/react/pull/4308) [`32b0cf77fcb4112f00da6ffb93a52875d23b9370`](https://github.com/primer/react/commit/32b0cf77fcb4112f00da6ffb93a52875d23b9370) Thanks [@tbenning](https://github.com/tbenning)! - Unify Breadcrumbs + fix a11y issue + +- [#4334](https://github.com/primer/react/pull/4334) [`f685d521dd52d0a9601e0021189895e1adca3b0b`](https://github.com/primer/react/commit/f685d521dd52d0a9601e0021189895e1adca3b0b) Thanks [@TylerJDev](https://github.com/TylerJDev)! - Switches focus styles to target `a.focus-visible` instead of `a:focus-visible`. + +- [#4349](https://github.com/primer/react/pull/4349) [`15c078dda93ae8579a858efcce3b6a2f97204373`](https://github.com/primer/react/commit/15c078dda93ae8579a858efcce3b6a2f97204373) Thanks [@jonrohan](https://github.com/jonrohan)! - Adding aria-invalid="true" to TextInput when error. + +- [#4365](https://github.com/primer/react/pull/4365) [`fe9f8baae473019e3605fae8895ba63f88fae074`](https://github.com/primer/react/commit/fe9f8baae473019e3605fae8895ba63f88fae074) Thanks [@pksjce](https://github.com/pksjce)! - Bugfix: `aria-invalid` is overriden in TextInput + +- [#4354](https://github.com/primer/react/pull/4354) [`4b823ff237235564900aeadb81713e984676c5ad`](https://github.com/primer/react/commit/4b823ff237235564900aeadb81713e984676c5ad) Thanks [@siddharthkp](https://github.com/siddharthkp)! - TextInput: Remove redundant `aria-label` attribute from `TextInput.Action` when it already has an `aria-labelledby`. + +- [#4320](https://github.com/primer/react/pull/4320) [`7cb3464a50a49efc59e9a29baa2dd543147b0bee`](https://github.com/primer/react/commit/7cb3464a50a49efc59e9a29baa2dd543147b0bee) Thanks [@siddharthkp](https://github.com/siddharthkp)! - experimental/SelectPanel: Move focus to first item if there is no filter input + +- [#4337](https://github.com/primer/react/pull/4337) [`69f4489a3a6e928c5c387c8aa42668f5f3b0d92c`](https://github.com/primer/react/commit/69f4489a3a6e928c5c387c8aa42668f5f3b0d92c) Thanks [@manuelpuyol](https://github.com/manuelpuyol)! - Add precompile step for colorSchemes + +- [#4360](https://github.com/primer/react/pull/4360) [`5baf73660f86fa4850f7c705d5d3ab1c599fe461`](https://github.com/primer/react/commit/5baf73660f86fa4850f7c705d5d3ab1c599fe461) Thanks [@broccolinisoup](https://github.com/broccolinisoup)! - Tooltip2: Render tooltip element as `span` instead of `div` + ## 36.10.0 ### Minor Changes diff --git a/packages/react/package.json b/packages/react/package.json index 5861a426a6b..32549160bfd 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "@primer/react", - "version": "36.10.0", + "version": "36.11.0", "description": "An implementation of GitHub's Primer Design System using React", "main": "lib/index.js", "module": "lib-esm/index.js",