diff --git a/.changeset/afraid-pianos-invent.md b/.changeset/afraid-pianos-invent.md deleted file mode 100644 index 2cf429047ec..00000000000 --- a/.changeset/afraid-pianos-invent.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -bug: ensure Announce components work without pre-existing text node diff --git a/.changeset/blue-actors-rule.md b/.changeset/blue-actors-rule.md deleted file mode 100644 index fb4743875e1..00000000000 --- a/.changeset/blue-actors-rule.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": minor ---- - -Banner now supports onDismiss used when using variant critical. diff --git a/.changeset/cyan-gorillas-carry.md b/.changeset/cyan-gorillas-carry.md deleted file mode 100644 index 8207b8ce2bf..00000000000 --- a/.changeset/cyan-gorillas-carry.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -Move Popover CSS modules feature flag from staff to ga diff --git a/.changeset/dirty-moles-own.md b/.changeset/dirty-moles-own.md deleted file mode 100644 index 32e270dcdcd..00000000000 --- a/.changeset/dirty-moles-own.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -Move Textarea CSS modules feature flag from staff to ga diff --git a/.changeset/few-rockets-retire.md b/.changeset/few-rockets-retire.md deleted file mode 100644 index 1dc6adbf1de..00000000000 --- a/.changeset/few-rockets-retire.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -Move UnstyledTextInput CSS modules feature flag from staff to ga diff --git a/.changeset/flat-candles-burn.md b/.changeset/flat-candles-burn.md deleted file mode 100644 index dc7883871f2..00000000000 --- a/.changeset/flat-candles-burn.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -Move SelectPanel2 CSS modules feature flag from staff to ga diff --git a/.changeset/gentle-stingrays-search.md b/.changeset/gentle-stingrays-search.md deleted file mode 100644 index 6ff383c37e5..00000000000 --- a/.changeset/gentle-stingrays-search.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": minor ---- - -Update FormControl to use CSS Modules behind feature flag diff --git a/.changeset/giant-bees-impress.md b/.changeset/giant-bees-impress.md deleted file mode 100644 index 0b9d17e7e92..00000000000 --- a/.changeset/giant-bees-impress.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -Fix an issue in useAnnouncements.tsx causing a TypeError in production. The activeItem variable may be null. diff --git a/.changeset/large-socks-clean.md b/.changeset/large-socks-clean.md deleted file mode 100644 index 5a8840f3f9f..00000000000 --- a/.changeset/large-socks-clean.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -Move Breadcrumbs CSS modules feature flag from staff to ga diff --git a/.changeset/late-humans-guess.md b/.changeset/late-humans-guess.md deleted file mode 100644 index 8ab8ca6247b..00000000000 --- a/.changeset/late-humans-guess.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -Move ProgressBar CSS modules feature flag from staff to ga diff --git a/.changeset/lazy-jars-leave.md b/.changeset/lazy-jars-leave.md deleted file mode 100644 index 22849369cf2..00000000000 --- a/.changeset/lazy-jars-leave.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -Avoid accessing properties of potentially null document.body in PageLayout diff --git a/.changeset/lucky-snakes-jump.md b/.changeset/lucky-snakes-jump.md deleted file mode 100644 index bee7fddab90..00000000000 --- a/.changeset/lucky-snakes-jump.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -Move Dialog CSS modules feature flag from staff to ga diff --git a/.changeset/pink-bats-grow.md b/.changeset/pink-bats-grow.md deleted file mode 100644 index ecc62c6fe79..00000000000 --- a/.changeset/pink-bats-grow.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -Move Timeline CSS modules feature flag from staff to ga diff --git a/.changeset/selfish-taxis-notice.md b/.changeset/selfish-taxis-notice.md deleted file mode 100644 index e00eb97143b..00000000000 --- a/.changeset/selfish-taxis-notice.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -Promote ActionList to staff diff --git a/.changeset/short-fireants-jog.md b/.changeset/short-fireants-jog.md deleted file mode 100644 index da0b60ece71..00000000000 --- a/.changeset/short-fireants-jog.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -Add `flex-shrink` to IconButton diff --git a/.changeset/shy-carpets-relax.md b/.changeset/shy-carpets-relax.md deleted file mode 100644 index d58de136498..00000000000 --- a/.changeset/shy-carpets-relax.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -"@primer/react": minor ---- - -- Convert ActionBar to CSS Modules -- Add new padding prop for container padding diff --git a/.changeset/slow-nails-reflect.md b/.changeset/slow-nails-reflect.md deleted file mode 100644 index 3b234569101..00000000000 --- a/.changeset/slow-nails-reflect.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -Update specificity for ButtonBase to be at least 0,1,0 diff --git a/.changeset/swift-baboons-compare.md b/.changeset/swift-baboons-compare.md deleted file mode 100644 index b4ff861ff05..00000000000 --- a/.changeset/swift-baboons-compare.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -Hide NavList sub items if collapsed diff --git a/.changeset/tasty-experts-fix.md b/.changeset/tasty-experts-fix.md deleted file mode 100644 index fa0140846c6..00000000000 --- a/.changeset/tasty-experts-fix.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": minor ---- - -Add an onSelect callback for UnderlinePanels.Tab diff --git a/.changeset/tough-tigers-vanish.md b/.changeset/tough-tigers-vanish.md deleted file mode 100644 index dba4e19eef8..00000000000 --- a/.changeset/tough-tigers-vanish.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -Move DialogV1 CSS modules feature flag from staff to ga diff --git a/.changeset/tricky-avocados-live.md b/.changeset/tricky-avocados-live.md deleted file mode 100644 index 5ae1b1e3382..00000000000 --- a/.changeset/tricky-avocados-live.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -Move TreeView CSS modules feature flag from staff to ga diff --git a/.changeset/tricky-ducks-pretend.md b/.changeset/tricky-ducks-pretend.md deleted file mode 100644 index fd0db6f3cdf..00000000000 --- a/.changeset/tricky-ducks-pretend.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -fix(SelectPanel): pass anchorId to AnchoredOverlay diff --git a/.changeset/wicked-zoos-bake.md b/.changeset/wicked-zoos-bake.md deleted file mode 100644 index f8bf16cf068..00000000000 --- a/.changeset/wicked-zoos-bake.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -Move CheckboxOrRadioGroup CSS modules feature flag from staff to ga diff --git a/examples/app-router/package.json b/examples/app-router/package.json index 9c89f7ca6f3..dbebe04c89a 100644 --- a/examples/app-router/package.json +++ b/examples/app-router/package.json @@ -10,7 +10,7 @@ "type-check": "tsc --noEmit" }, "dependencies": { - "@primer/react": "37.10.0", + "@primer/react": "37.11.0", "next": "^14.2.15", "react": "^18.3.1", "react-dom": "^18.3.1", diff --git a/examples/codesandbox/package.json b/examples/codesandbox/package.json index 18e9fc9781b..8292d80c2ac 100644 --- a/examples/codesandbox/package.json +++ b/examples/codesandbox/package.json @@ -20,7 +20,7 @@ "@typescript-eslint/eslint-plugin": "^7.11.0", "@typescript-eslint/parser": "^7.3.1", "@vitejs/plugin-react": "^4.3.3", - "@primer/react": "37.10.0", + "@primer/react": "37.11.0", "eslint": "^8.56.0", "eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-react-refresh": "^0.4.7", diff --git a/examples/theming/package.json b/examples/theming/package.json index f5c90939319..9c946747581 100644 --- a/examples/theming/package.json +++ b/examples/theming/package.json @@ -11,7 +11,7 @@ }, "dependencies": { "@primer/octicons-react": "^19.14.0", - "@primer/react": "37.10.0", + "@primer/react": "37.11.0", "clsx": "^1.2.1", "next": "^14.2.15", "react": "^18.3.1", diff --git a/packages/react/CHANGELOG.md b/packages/react/CHANGELOG.md index 9ecd37d429a..e7487598591 100644 --- a/packages/react/CHANGELOG.md +++ b/packages/react/CHANGELOG.md @@ -1,5 +1,59 @@ # @primer/react +## 37.11.0 + +### Minor Changes + +- [#5583](https://github.com/primer/react/pull/5583) [`db6c360`](https://github.com/primer/react/commit/db6c3607c43ba288d4df1a68e1590bbb5f5aedb6) Thanks [@brphelps](https://github.com/brphelps)! - Banner now supports onDismiss used when using variant critical. + +- [#5578](https://github.com/primer/react/pull/5578) [`88b8533`](https://github.com/primer/react/commit/88b8533e6656f81c6351f25c2afab7f01e0acedc) Thanks [@hussam-i-am](https://github.com/hussam-i-am)! - Update FormControl to use CSS Modules behind feature flag + +- [#5540](https://github.com/primer/react/pull/5540) [`20788da`](https://github.com/primer/react/commit/20788daa3b80c3a332946abac8ab4c57cc9e3f35) Thanks [@langermank](https://github.com/langermank)! - - Convert ActionBar to CSS Modules + + - Add new padding prop for container padding + +- [#5527](https://github.com/primer/react/pull/5527) [`ccc3c99`](https://github.com/primer/react/commit/ccc3c9926b0b3ff0b02fd2520883ea4a14f4046d) Thanks [@ddoyle2017](https://github.com/ddoyle2017)! - Add an onSelect callback for UnderlinePanels.Tab + +### Patch Changes + +- [#5568](https://github.com/primer/react/pull/5568) [`42c20dd`](https://github.com/primer/react/commit/42c20ddc6b850d548e263f6d76bdda1895a97bfe) Thanks [@khiga8](https://github.com/khiga8)! - bug: ensure Announce components work without pre-existing text node + +- [#5591](https://github.com/primer/react/pull/5591) [`12f1af7`](https://github.com/primer/react/commit/12f1af7bd8e19a077646c25a5c8cbddd9f69aca7) Thanks [@jonrohan](https://github.com/jonrohan)! - Move Popover CSS modules feature flag from staff to ga + +- [#5591](https://github.com/primer/react/pull/5591) [`12f1af7`](https://github.com/primer/react/commit/12f1af7bd8e19a077646c25a5c8cbddd9f69aca7) Thanks [@jonrohan](https://github.com/jonrohan)! - Move Textarea CSS modules feature flag from staff to ga + +- [#5591](https://github.com/primer/react/pull/5591) [`12f1af7`](https://github.com/primer/react/commit/12f1af7bd8e19a077646c25a5c8cbddd9f69aca7) Thanks [@jonrohan](https://github.com/jonrohan)! - Move UnstyledTextInput CSS modules feature flag from staff to ga + +- [#5591](https://github.com/primer/react/pull/5591) [`12f1af7`](https://github.com/primer/react/commit/12f1af7bd8e19a077646c25a5c8cbddd9f69aca7) Thanks [@jonrohan](https://github.com/jonrohan)! - Move SelectPanel2 CSS modules feature flag from staff to ga + +- [#5551](https://github.com/primer/react/pull/5551) [`c0360db`](https://github.com/primer/react/commit/c0360db263e046f7d756bb157fb520167353be91) Thanks [@camertron](https://github.com/camertron)! - Fix an issue in useAnnouncements.tsx causing a TypeError in production. The activeItem variable may be null. + +- [#5591](https://github.com/primer/react/pull/5591) [`12f1af7`](https://github.com/primer/react/commit/12f1af7bd8e19a077646c25a5c8cbddd9f69aca7) Thanks [@jonrohan](https://github.com/jonrohan)! - Move Breadcrumbs CSS modules feature flag from staff to ga + +- [#5591](https://github.com/primer/react/pull/5591) [`12f1af7`](https://github.com/primer/react/commit/12f1af7bd8e19a077646c25a5c8cbddd9f69aca7) Thanks [@jonrohan](https://github.com/jonrohan)! - Move ProgressBar CSS modules feature flag from staff to ga + +- [#5552](https://github.com/primer/react/pull/5552) [`c87e80c`](https://github.com/primer/react/commit/c87e80c129fd293610bdc7df902c0df2b08f3220) Thanks [@camertron](https://github.com/camertron)! - Avoid accessing properties of potentially null document.body in PageLayout + +- [#5591](https://github.com/primer/react/pull/5591) [`12f1af7`](https://github.com/primer/react/commit/12f1af7bd8e19a077646c25a5c8cbddd9f69aca7) Thanks [@jonrohan](https://github.com/jonrohan)! - Move Dialog CSS modules feature flag from staff to ga + +- [#5591](https://github.com/primer/react/pull/5591) [`12f1af7`](https://github.com/primer/react/commit/12f1af7bd8e19a077646c25a5c8cbddd9f69aca7) Thanks [@jonrohan](https://github.com/jonrohan)! - Move Timeline CSS modules feature flag from staff to ga + +- [#5585](https://github.com/primer/react/pull/5585) [`d76cd26`](https://github.com/primer/react/commit/d76cd26f3accdcf06b993d3962fbea2f90f9a426) Thanks [@langermank](https://github.com/langermank)! - Promote ActionList to staff + +- [#5467](https://github.com/primer/react/pull/5467) [`c7b109d`](https://github.com/primer/react/commit/c7b109d5c8532dbdc90461df36d148de3c471181) Thanks [@langermank](https://github.com/langermank)! - Add `flex-shrink` to IconButton + +- [#5584](https://github.com/primer/react/pull/5584) [`b661959`](https://github.com/primer/react/commit/b66195900793006af301fd1bfb5c82849eac05f1) Thanks [@joshblack](https://github.com/joshblack)! - Update specificity for ButtonBase to be at least 0,1,0 + +- [#5567](https://github.com/primer/react/pull/5567) [`8bdff77`](https://github.com/primer/react/commit/8bdff77820a3ba9735e794f2cc0eb0e702c67bc0) Thanks [@langermank](https://github.com/langermank)! - Hide NavList sub items if collapsed + +- [#5591](https://github.com/primer/react/pull/5591) [`12f1af7`](https://github.com/primer/react/commit/12f1af7bd8e19a077646c25a5c8cbddd9f69aca7) Thanks [@jonrohan](https://github.com/jonrohan)! - Move DialogV1 CSS modules feature flag from staff to ga + +- [#5591](https://github.com/primer/react/pull/5591) [`12f1af7`](https://github.com/primer/react/commit/12f1af7bd8e19a077646c25a5c8cbddd9f69aca7) Thanks [@jonrohan](https://github.com/jonrohan)! - Move TreeView CSS modules feature flag from staff to ga + +- [#5549](https://github.com/primer/react/pull/5549) [`16c572e`](https://github.com/primer/react/commit/16c572e47475eb402c100a219049cbfc1141a597) Thanks [@francinelucca](https://github.com/francinelucca)! - fix(SelectPanel): pass anchorId to AnchoredOverlay + +- [#5591](https://github.com/primer/react/pull/5591) [`12f1af7`](https://github.com/primer/react/commit/12f1af7bd8e19a077646c25a5c8cbddd9f69aca7) Thanks [@jonrohan](https://github.com/jonrohan)! - Move CheckboxOrRadioGroup CSS modules feature flag from staff to ga + ## 37.10.0 ### Minor Changes diff --git a/packages/react/package.json b/packages/react/package.json index f79f6433cc9..33f2b833db0 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "@primer/react", - "version": "37.10.0", + "version": "37.11.0", "description": "An implementation of GitHub's Primer Design System using React", "main": "lib/index.js", "module": "lib-esm/index.js",