diff --git a/.changeset/pre.json b/.changeset/pre.json index be9b5b2c87f..c938756f166 100644 --- a/.changeset/pre.json +++ b/.changeset/pre.json @@ -13,142 +13,40 @@ "@primer/doc-gen": "0.0.1" }, "changesets": [ - "afraid-eyes-serve", "afraid-teams-throw", "angry-guests-listen", - "beige-plums-obey", - "beige-shrimps-sleep", - "better-coins-dream", - "big-oranges-marry", - "bright-dolls-dance", - "bright-parents-flow", - "busy-bananas-smash", + "bright-birds-glow", "chilled-spoons-roll", - "chilly-dingos-build", - "chilly-lemons-promise", - "chubby-buses-greet", - "chubby-colts-nail", - "cold-teams-buy", - "cool-apricots-sneeze", - "cool-clubs-think", - "cruel-papers-film", - "cuddly-ads-behave", - "cuddly-cows-trade", - "deprecate-textinputwithtokens", - "dirty-chairs-invent", - "eighty-queens-tap", + "curly-rivers-arrive", + "dull-wolves-judge", "eleven-cameras-hammer", "fair-bars-smile", - "fair-flowers-share", - "fair-views-laugh", - "famous-jobs-applaud", - "few-mails-sing", - "fifty-walls-yawn", - "five-squids-sin", + "flat-ears-wink", "flat-llamas-beam", - "fresh-points-cover", + "fresh-turtles-carry", "fruity-monkeys-cover", - "gentle-rockets-go", - "gentle-sheep-feel", - "giant-impalas-occur", - "gold-dingos-sneeze", "gold-geckos-send", - "good-snakes-fix", - "great-hats-serve", "grumpy-lobsters-obey", - "hot-bears-cry", - "hot-melons-jump", - "hot-mirrors-feel", - "icy-pianos-say", - "itchy-readers-yell", - "lazy-elephants-shave", - "lazy-gifts-join", - "lemon-jokes-camp", + "healthy-laws-walk", "lemon-onions-teach", - "light-colts-burn", - "light-schools-wish", - "little-peas-mix", - "lovely-vans-burn", "lucky-walls-jog", - "lucky-wasps-nail", - "metal-badgers-joke", - "metal-cups-peel", - "metal-deer-refuse", - "metal-lamps-appear", - "mighty-lizards-lick", - "modern-chicken-happen", - "nasty-seals-carry", - "new-dragons-melt", - "new-shrimps-appear", - "nine-cobras-talk", - "olive-rats-serve", - "orange-taxis-rhyme", - "pink-rockets-win", - "pretty-emus-cover", - "pretty-women-sing", - "proud-chairs-study", - "purple-waves-pay", + "nice-cycles-dress", + "poor-ducks-attack", "quick-queens-rescue", "rare-otters-deliver", "real-cooks-melt", "replace-usetheme-with-theme", - "rich-walls-fold", - "rotten-carpets-raise", - "rude-cycles-scream", - "rude-windows-bathe", - "salty-geese-own", - "seven-cameras-act", - "seven-coats-hang", - "seven-forks-join", - "sharp-beans-run", - "sharp-papayas-destroy", - "shiny-deer-lose", - "short-cloths-deny", - "shy-flies-marry", - "silent-wasps-warn", - "silly-parks-give", - "slick-months-cry", - "slimy-parrots-love", + "rich-chefs-attend", + "sad-shoes-help", + "sharp-onions-double", + "slick-gifts-cross", "smart-hornets-happen", - "smooth-singers-thank", - "soft-islands-warn", "spicy-items-watch", - "spotty-colts-hear", - "stale-avocados-enjoy", - "stale-wasps-smell", - "strange-knives-study", - "strange-peas-kiss", - "strong-falcons-design", - "strong-lions-tan", "styled-react-themeprovider", - "sweet-islands-sleep", - "sweet-owls-do", - "sweet-results-smell", - "tame-ducks-ring", "tame-eggs-taste", - "tasty-cheetahs-pay", "tasty-suns-behave", - "ten-jobs-attack", - "tender-dodos-create", - "thin-oranges-lick", - "three-hounds-refuse", - "three-vans-join", - "tricky-boats-visit", - "tricky-eggs-cross", + "thin-cobras-cry", "tricky-plums-smoke", - "twelve-sloths-flow", - "twenty-baboons-pull", - "two-pots-battle", - "unlucky-hotels-shake", - "upset-flowers-yawn", - "weak-papers-drive", - "wet-crews-drum", - "wet-mammals-feel", - "wet-terms-argue", - "wicked-starfishes-shout", - "witty-chicken-leave", - "young-dots-heal", - "young-timers-accept", - "yummy-years-greet" + "two-pots-battle" ] } diff --git a/examples/codesandbox/package.json b/examples/codesandbox/package.json index 2e9155c77eb..95c09ee62d0 100644 --- a/examples/codesandbox/package.json +++ b/examples/codesandbox/package.json @@ -17,7 +17,7 @@ "@types/react": "^18.3.11", "@types/react-dom": "^18.3.0", "@vitejs/plugin-react": "^4.3.3", - "@primer/react": "38.0.0-rc.7", + "@primer/react": "38.0.0-rc.8", "styled-components": "5.x", "typescript": "^5.9.2", "vite": "^7.1.5" diff --git a/examples/nextjs/package.json b/examples/nextjs/package.json index 40fe91f2445..558bfc02fed 100644 --- a/examples/nextjs/package.json +++ b/examples/nextjs/package.json @@ -10,8 +10,8 @@ "type-check": "tsc --noEmit" }, "dependencies": { - "@primer/react": "38.0.0-rc.7", - "@primer/styled-react": "1.0.0-rc.8", + "@primer/react": "38.0.0-rc.8", + "@primer/styled-react": "1.0.0-rc.9", "next": "^15.2.3", "react": "18.3.1", "react-dom": "18.3.1", diff --git a/examples/theming/package.json b/examples/theming/package.json index 00fecb66a3c..29cbaf78097 100644 --- a/examples/theming/package.json +++ b/examples/theming/package.json @@ -11,7 +11,7 @@ }, "dependencies": { "@primer/octicons-react": "^19.14.0", - "@primer/react": "38.0.0-rc.7", + "@primer/react": "38.0.0-rc.8", "clsx": "^2.1.1", "next": "^15.2.3", "react": "18.3.1", diff --git a/packages/react/CHANGELOG.md b/packages/react/CHANGELOG.md index 86518c8a440..d563c051740 100644 --- a/packages/react/CHANGELOG.md +++ b/packages/react/CHANGELOG.md @@ -1,5 +1,37 @@ # @primer/react +## 38.0.0-rc.8 + +### Major Changes + +- [#7015](https://github.com/primer/react/pull/7015) [`0889246`](https://github.com/primer/react/commit/0889246fda736fe7dd967a295fe8467109d06bc9) Thanks [@francinelucca](https://github.com/francinelucca)! - @primer/react: chore: remove Box, BoxProps export + @primer/styled-react: add Box component + +### Patch Changes + +- [#6984](https://github.com/primer/react/pull/6984) [`a3765c2`](https://github.com/primer/react/commit/a3765c2e6c7d23972cdeeb8e206d802678f0d832) Thanks [@mperrotti](https://github.com/mperrotti)! - Fixes vertical alignment of prev/next pagination chevrons + +- [#7014](https://github.com/primer/react/pull/7014) [`a108ab9`](https://github.com/primer/react/commit/a108ab92fa71af83f7da1ee9a311bc272568cfb3) Thanks [@francinelucca](https://github.com/francinelucca)! - chore: remove useTheme from IssueLabel + +- [#6981](https://github.com/primer/react/pull/6981) [`3099210`](https://github.com/primer/react/commit/30992106820dee75cb2f6f0594e66acfd8b56f3c) Thanks [@mperrotti](https://github.com/mperrotti)! - Removes unwanted box-shadow on buttons with 'inactive' prop passed. + +- [#6877](https://github.com/primer/react/pull/6877) [`860ac93`](https://github.com/primer/react/commit/860ac93dcdff0ba6f05cac1b5137721a9b34dfcb) Thanks [@mperrotti](https://github.com/mperrotti)! - In `ActionBar`, `aria-label` now gets added to the `role="toolbar"` element. + +- [#7017](https://github.com/primer/react/pull/7017) [`2fd6c82`](https://github.com/primer/react/commit/2fd6c82e327db24b63cf604465b4192b0d29d8a9) Thanks [@langermank](https://github.com/langermank)! - update token close button sizing + +- [#7000](https://github.com/primer/react/pull/7000) [`34e7fa8`](https://github.com/primer/react/commit/34e7fa8cd88684c16d17e997aa7ef69d40b50340) Thanks [@pksjce](https://github.com/pksjce)! - Add gap prop to ActionBar for customizable spacing between items + +- [#6973](https://github.com/primer/react/pull/6973) [`a3f7ea9`](https://github.com/primer/react/commit/a3f7ea96514d4ba0a2d28aeb26e49eaafb8bf474) Thanks [@jonrohan](https://github.com/jonrohan)! - fix(AnchoredOverlay): Omit aria-label and aria-labelledby from renderAnchor props + +- [#7007](https://github.com/primer/react/pull/7007) [`96968a2`](https://github.com/primer/react/commit/96968a28c1ddb2c31cb3e2f0e2e6297c1ee8df97) Thanks [@mperrotti](https://github.com/mperrotti)! - Corrects bg color of disabled indeterminate checkbox + +- [#7019](https://github.com/primer/react/pull/7019) [`4308179`](https://github.com/primer/react/commit/43081799465d5e4d66a0d761406a2ab64fb27d91) Thanks [@francinelucca](https://github.com/francinelucca)! - @primer/styled-react: chore(navlist): remove unneeded exports + @primer/react: add missing isSlot checks + +- [#6982](https://github.com/primer/react/pull/6982) [`3c32e7e`](https://github.com/primer/react/commit/3c32e7e162ae9a5f66c068639934cc55c01cca72) Thanks [@mperrotti](https://github.com/mperrotti)! - Uses correct bg color for disabled ToggleSwitch knob + +- [#6980](https://github.com/primer/react/pull/6980) [`4b84948`](https://github.com/primer/react/commit/4b849489b123636209d6dd71b0fe66fbe7963bdb) Thanks [@TylerJDev](https://github.com/TylerJDev)! - ActionBar: Supplies `aria-label` to toolbar inside of `ActionBar` + ## 38.0.0-rc.7 ### Major Changes diff --git a/packages/react/package.json b/packages/react/package.json index 790df00b452..4041a358e7a 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,7 +1,7 @@ { "name": "@primer/react", "type": "module", - "version": "38.0.0-rc.7", + "version": "38.0.0-rc.8", "description": "An implementation of GitHub's Primer Design System using React", "main": "./dist/index.js", "module": "./dist/index.js", diff --git a/packages/styled-react/CHANGELOG.md b/packages/styled-react/CHANGELOG.md index 153d56793f4..6d6b37790db 100644 --- a/packages/styled-react/CHANGELOG.md +++ b/packages/styled-react/CHANGELOG.md @@ -1,5 +1,19 @@ # @primer/styled-react +## 1.0.0-rc.9 + +### Patch Changes + +- [#7009](https://github.com/primer/react/pull/7009) [`c83d6a4`](https://github.com/primer/react/commit/c83d6a465ff48d8594f7077c87f6ddd8fe93cb76) Thanks [@siddharthkp](https://github.com/siddharthkp)! - Export ThemeProviderProps and BaseStylesProps + +- [#7015](https://github.com/primer/react/pull/7015) [`0889246`](https://github.com/primer/react/commit/0889246fda736fe7dd967a295fe8467109d06bc9) Thanks [@francinelucca](https://github.com/francinelucca)! - @primer/react: chore: remove Box, BoxProps export + @primer/styled-react: add Box component + +- [#7019](https://github.com/primer/react/pull/7019) [`4308179`](https://github.com/primer/react/commit/43081799465d5e4d66a0d761406a2ab64fb27d91) Thanks [@francinelucca](https://github.com/francinelucca)! - @primer/styled-react: chore(navlist): remove unneeded exports + @primer/react: add missing isSlot checks +- Updated dependencies [[`a3765c2`](https://github.com/primer/react/commit/a3765c2e6c7d23972cdeeb8e206d802678f0d832), [`a108ab9`](https://github.com/primer/react/commit/a108ab92fa71af83f7da1ee9a311bc272568cfb3), [`3099210`](https://github.com/primer/react/commit/30992106820dee75cb2f6f0594e66acfd8b56f3c), [`860ac93`](https://github.com/primer/react/commit/860ac93dcdff0ba6f05cac1b5137721a9b34dfcb), [`2fd6c82`](https://github.com/primer/react/commit/2fd6c82e327db24b63cf604465b4192b0d29d8a9), [`34e7fa8`](https://github.com/primer/react/commit/34e7fa8cd88684c16d17e997aa7ef69d40b50340), [`a3f7ea9`](https://github.com/primer/react/commit/a3f7ea96514d4ba0a2d28aeb26e49eaafb8bf474), [`0889246`](https://github.com/primer/react/commit/0889246fda736fe7dd967a295fe8467109d06bc9), [`96968a2`](https://github.com/primer/react/commit/96968a28c1ddb2c31cb3e2f0e2e6297c1ee8df97), [`4308179`](https://github.com/primer/react/commit/43081799465d5e4d66a0d761406a2ab64fb27d91), [`3c32e7e`](https://github.com/primer/react/commit/3c32e7e162ae9a5f66c068639934cc55c01cca72), [`4b84948`](https://github.com/primer/react/commit/4b849489b123636209d6dd71b0fe66fbe7963bdb)]: + - @primer/react@38.0.0-rc.8 + ## 1.0.0-rc.8 ### Minor Changes diff --git a/packages/styled-react/package.json b/packages/styled-react/package.json index 0eb9ba3f96e..7a21b369a5b 100644 --- a/packages/styled-react/package.json +++ b/packages/styled-react/package.json @@ -1,6 +1,6 @@ { "name": "@primer/styled-react", - "version": "1.0.0-rc.8", + "version": "1.0.0-rc.9", "type": "module", "exports": { ".": { @@ -30,7 +30,7 @@ "devDependencies": { "@babel/preset-react": "^7.27.1", "@babel/preset-typescript": "^7.27.1", - "@primer/react": "^38.0.0-rc.7", + "@primer/react": "^38.0.0-rc.8", "@rollup/plugin-babel": "^6.0.4", "@types/react": "18.3.11", "@types/react-dom": "18.3.1", @@ -46,7 +46,7 @@ "typescript": "^5.9.2" }, "peerDependencies": { - "@primer/react": "38.0.0-rc.7", + "@primer/react": "38.0.0-rc.8", "@types/react": "18.x || 19.x", "@types/react-dom": "18.x || 19.x", "@types/react-is": "18.x || 19.x",