diff --git a/.changeset/pre.json b/.changeset/pre.json index 0cf87b7a279..7a99732cb77 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -7,11 +7,14 @@ "example-consumer-test": "0.0.0", "@primer/react": "36.27.0", "rollup-plugin-import-css": "0.0.0", - "postcss-preset-primer": "0.0.0" + "postcss-preset-primer": "0.0.0", + "example-theming": "0.0.0" }, "changesets": [ "beige-schools-kneel", "blue-stingrays-decide", + "breezy-boxes-jog", + "calm-forks-pull", "clever-birds-press", "cool-llamas-live", "cool-lobsters-nail", @@ -25,14 +28,19 @@ "forty-ants-tell", "four-shoes-yell", "four-tables-glow", + "friendly-boats-serve", + "fuzzy-jobs-deny", "gold-cups-explode", + "green-schools-smell", "honest-ligers-fly", + "hot-baboons-allow", "lemon-candles-deny", "lovely-days-march", "mighty-parrots-carry", "moody-rivers-impress", "nervous-llamas-ring", "new-shirts-beam", + "olive-donkeys-exercise", "pink-actors-cross", "purple-apricots-relax", "quick-adults-buy", @@ -40,17 +48,23 @@ "serious-terms-sniff", "seven-scissors-explain", "short-boats-cover", + "silly-weeks-clap", "six-owls-walk", "sixty-olives-glow", "soft-tips-chew", + "sour-cooks-dress", + "spicy-eggs-melt", "spicy-flies-sniff", "stale-lizards-report", "tall-wasps-end", + "tame-boats-hide", + "ten-masks-smoke", "thirty-pets-impress", "thirty-tips-bow", "tidy-clocks-marry", "tough-pans-punch", "twelve-tables-leave", + "wicked-books-occur", "yellow-tools-call", "young-meals-worry" ] diff --git a/examples/app-router/package.json b/examples/app-router/package.json index 3554b6c5c9e..52b1e46d250 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.0.0-rc.4", + "@primer/react": "37.0.0-rc.5", "next": "^14.2.8", "react": "^18.3.1", "react-dom": "^18.3.1", diff --git a/examples/codesandbox/package.json b/examples/codesandbox/package.json index 3d03c251d8a..9fb3fa39458 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.2.1", - "@primer/react": "37.0.0-rc.4", + "@primer/react": "37.0.0-rc.5", "eslint": "^8.56.0", "eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-react-refresh": "^0.4.7", diff --git a/examples/consumer-test/package.json b/examples/consumer-test/package.json index f0f4a5afb81..7f87af64d62 100644 --- a/examples/consumer-test/package.json +++ b/examples/consumer-test/package.json @@ -9,7 +9,7 @@ "@types/react": "^18.2.14", "@types/react-dom": "^18.2.19", "@types/styled-components": "^5.1.11", - "@primer/react": "37.0.0-rc.4", + "@primer/react": "37.0.0-rc.5", "react": "^18.0.0", "react-dom": "^18.0.0", "styled-components": "^5.3.11", diff --git a/examples/theming/package.json b/examples/theming/package.json index 7acb4e6fc77..3daca81ba49 100644 --- a/examples/theming/package.json +++ b/examples/theming/package.json @@ -11,7 +11,7 @@ }, "dependencies": { "@primer/octicons-react": "^19.9.0", - "@primer/react": "37.0.0-rc.4", + "@primer/react": "37.0.0-rc.5", "clsx": "^1.2.1", "next": "^14.2.8", "react": "^18.3.1", diff --git a/packages/react/CHANGELOG.md b/packages/react/CHANGELOG.md index 9e1a6de050c..34cd4388770 100644 --- a/packages/react/CHANGELOG.md +++ b/packages/react/CHANGELOG.md @@ -1,5 +1,42 @@ # @primer/react +## 37.0.0-rc.5 + +### Major Changes + +- [#4785](https://github.com/primer/react/pull/4785) [`b74c47f`](https://github.com/primer/react/commit/b74c47f37628f67960343cec083dd60cd1ebc817) Thanks [@joshblack](https://github.com/joshblack)! - The drafts entrypoint has been removed from @primer/react. Use + @primer/react/experimental instead. + +- [#4940](https://github.com/primer/react/pull/4940) [`4d3b504`](https://github.com/primer/react/commit/4d3b50421f0823b3509a048987b15c59cb827176) Thanks [@langermank](https://github.com/langermank)! - Refactor ButtonBase component to use CSS modules behine flag + +### Minor Changes + +- [#4951](https://github.com/primer/react/pull/4951) [`c9009de`](https://github.com/primer/react/commit/c9009decbdac1f6cbc9253556942762c227fd69d) Thanks [@francinelucca](https://github.com/francinelucca)! - fix(Pagination): Use anchor instead of button for disabled prev/next controls + +- [#4885](https://github.com/primer/react/pull/4885) [`373ce95`](https://github.com/primer/react/commit/373ce95042a4e2244a220378dccfc03fa001e7cf) Thanks [@jonrohan](https://github.com/jonrohan)! - Refactor Avatar component to use CSS modules behind feature flag + +- [#4906](https://github.com/primer/react/pull/4906) [`dbf82f4`](https://github.com/primer/react/commit/dbf82f4576e8d071dc2d41b50396fa68ab5505c2) Thanks [@siddharthkp](https://github.com/siddharthkp)! - SelectPanel: Support PageDown and PageUp for keyboard navigation + + SelectPanel: Label `listbox` by the title of the panel + +### Patch Changes + +- [#4910](https://github.com/primer/react/pull/4910) [`c2e4d5e`](https://github.com/primer/react/commit/c2e4d5eadb1a0bca3de81b6e2571585777f00a5d) Thanks [@TylerJDev](https://github.com/TylerJDev)! - Changes the accessible name of the "toggle" button in `LabelGroup` to contain the visual label + +- [#4941](https://github.com/primer/react/pull/4941) [`80fe025`](https://github.com/primer/react/commit/80fe025aeea23ec4fa15c50075736df4934659b5) Thanks [@langermank](https://github.com/langermank)! - Bug fix: Button loading spinner color + +- [#4957](https://github.com/primer/react/pull/4957) [`6874b89`](https://github.com/primer/react/commit/6874b89026eef5c46fb4d27e1c0fa0f08807a6bc) Thanks [@langermank](https://github.com/langermank)! - Add missing `wide` CSS + className to Stack + +- [#4648](https://github.com/primer/react/pull/4648) [`c6931d2`](https://github.com/primer/react/commit/c6931d20ea37888f0416429d068cc495d6cb804d) Thanks [@siddharthkp](https://github.com/siddharthkp)! - ActionMenu: Make sure event handlers on ActionMenu.Button and ActionMenu.Anchor are called + +- [#4972](https://github.com/primer/react/pull/4972) [`082b4e7`](https://github.com/primer/react/commit/082b4e7eae0ebe40ba197ec1582519a9a9046dd8) Thanks [@joshblack](https://github.com/joshblack)! - Update issue where FormControl.Caption was rendering incorrectly when CSS Modules flags were enabled + +- [#4794](https://github.com/primer/react/pull/4794) [`5f996c6`](https://github.com/primer/react/commit/5f996c641b44303c9b466a3d28f208300eb4f36d) Thanks [@broccolinisoup](https://github.com/broccolinisoup)! - SelectPanel: Update SelectPanel to use modern ActionList behind a feature flag `primer_react_select_panel_with_modern_action_list` + +- [#4954](https://github.com/primer/react/pull/4954) [`af7f589`](https://github.com/primer/react/commit/af7f58911338f542525ce650f3aa34e85f9bf811) Thanks [@joshblack](https://github.com/joshblack)! - Banner: Update alignment of actions when it is dismissible and has a hidden title + +- [#4943](https://github.com/primer/react/pull/4943) [`c282642`](https://github.com/primer/react/commit/c282642d0f525eca371aa1142b98482f19b366cb) Thanks [@langermank](https://github.com/langermank)! - Button bug fixes: `invisible` variant icon colors missing variables + icon button disabled state + ## 37.0.0-rc.4 ### Minor Changes diff --git a/packages/react/package.json b/packages/react/package.json index b215919bfd4..254b5aebcc9 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "@primer/react", - "version": "37.0.0-rc.4", + "version": "37.0.0-rc.5", "description": "An implementation of GitHub's Primer Design System using React", "main": "lib/index.js", "module": "lib-esm/index.js",