Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
130 changes: 14 additions & 116 deletions .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
]
}
2 changes: 1 addition & 1 deletion examples/codesandbox/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions examples/nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
2 changes: 1 addition & 1 deletion examples/theming/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
32 changes: 32 additions & 0 deletions packages/react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
14 changes: 14 additions & 0 deletions packages/styled-react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
6 changes: 3 additions & 3 deletions packages/styled-react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@primer/styled-react",
"version": "1.0.0-rc.8",
"version": "1.0.0-rc.9",
"type": "module",
"exports": {
".": {
Expand Down Expand Up @@ -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",
Expand All @@ -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",
Expand Down
Loading