Skip to content
Open
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
23 changes: 22 additions & 1 deletion .changeset/pre.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,20 @@
"postcss-preset-primer": "0.0.0",
"@primer/react": "37.31.0",
"rollup-plugin-import-css": "0.0.0",
"@primer/styled-react": "0.1.0"
"@primer/styled-react": "0.1.0",
"@primer/doc-gen": "0.0.1"
},
"changesets": [
"afraid-eyes-serve",
"afraid-teams-throw",
"beige-plums-obey",
"beige-shrimps-sleep",
"better-coins-dream",
"big-oranges-marry",
"bright-dolls-dance",
"bright-parents-flow",
"busy-bananas-smash",
"chilled-spoons-roll",
"chilly-dingos-build",
"chilly-lemons-promise",
"chubby-buses-greet",
Expand All @@ -33,19 +36,25 @@
"deprecate-textinputwithtokens",
"dirty-chairs-invent",
"eighty-queens-tap",
"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-llamas-beam",
"fresh-points-cover",
"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",
Expand All @@ -54,10 +63,12 @@
"lazy-elephants-shave",
"lazy-gifts-join",
"lemon-jokes-camp",
"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",
Expand All @@ -76,6 +87,8 @@
"pretty-women-sing",
"proud-chairs-study",
"purple-waves-pay",
"rare-otters-deliver",
"replace-usetheme-with-theme",
"rich-walls-fold",
"rotten-carpets-raise",
"rude-cycles-scream",
Expand All @@ -93,29 +106,37 @@
"silly-parks-give",
"slick-months-cry",
"slimy-parrots-love",
"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",
"strong-mangos-rest",
"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",
"tricky-plums-smoke",
"twelve-sloths-flow",
"twenty-baboons-pull",
"two-pots-battle",
"unlucky-hotels-shake",
"upset-flowers-yawn",
"weak-papers-drive",
Expand Down
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.6",
"@primer/react": "38.0.0-rc.7",
"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.6",
"@primer/styled-react": "1.0.0-rc.7",
"@primer/react": "38.0.0-rc.7",
"@primer/styled-react": "1.0.0-rc.8",
"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.6",
"@primer/react": "38.0.0-rc.7",
"clsx": "^2.1.1",
"next": "^15.2.3",
"react": "18.3.1",
Expand Down
9 changes: 9 additions & 0 deletions packages/mcp/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @primer/mcp

## 0.0.6-rc.0

### Patch Changes

- [#6969](https://github.com/primer/react/pull/6969) [`553c1a0`](https://github.com/primer/react/commit/553c1a0f82450757100800b252c1cae831864aec) Thanks [@kendallgassner](https://github.com/kendallgassner)! - Update MCP tool descriptions to improve usage.

- Updated dependencies [[`446956d`](https://github.com/primer/react/commit/446956d3466ca11b95adf720d7cf07a1bb6bad92), [`f61238c`](https://github.com/primer/react/commit/f61238c295377f59a5d3c5b0c782e98c238fa639), [`c58f171`](https://github.com/primer/react/commit/c58f171be98dfec354eeb85c870368e84796fe6e), [`c395547`](https://github.com/primer/react/commit/c395547ae30bb51ea40388183f384848a397dc80), [`260c74c`](https://github.com/primer/react/commit/260c74c4e9f780a891157c9a2bc1450a12f8593a), [`3ced917`](https://github.com/primer/react/commit/3ced917f595667e1f68a6b9110bd034e0d88bf2a), [`2703bc9`](https://github.com/primer/react/commit/2703bc9cad2d3f16552b748f3799949a35464a1a), [`76f1ca3`](https://github.com/primer/react/commit/76f1ca32a9303b18a2084c4e11c4699963b88e4e), [`2ec5bf2`](https://github.com/primer/react/commit/2ec5bf2898a6966161a076f5896910bf1b1f4018), [`7dd483f`](https://github.com/primer/react/commit/7dd483f74e2a75e5c0a44f46a860afc2bdf0da9a), [`c1448cc`](https://github.com/primer/react/commit/c1448cc6546b0e58b1ceb54fa2989a1fd7cbfe30), [`8641c7a`](https://github.com/primer/react/commit/8641c7a778f88c9f65fa1f3d2c40994468651ae7), [`ecc81b5`](https://github.com/primer/react/commit/ecc81b569b421a4181b0a2f4cdff9cfe60fe28fd), [`f896b37`](https://github.com/primer/react/commit/f896b3768b6a153822323aae1491523fd60ff6d8), [`3032026`](https://github.com/primer/react/commit/30320263482baf9d2c634ec27122c9a42ece308a), [`1c84c0f`](https://github.com/primer/react/commit/1c84c0ff2b261a02d81c11fb16c7d3fb05294506), [`62df166`](https://github.com/primer/react/commit/62df166574d6248b3405c224a2f63f1e53a75ece), [`32e12c6`](https://github.com/primer/react/commit/32e12c690a53aef918e765d128f381c8f57bfd02)]:
- @primer/react@38.0.0-rc.7

## 0.0.5

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/mcp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@primer/mcp",
"private": true,
"description": "An MCP server that connects AI tools to the Primer Design System",
"version": "0.0.5",
"version": "0.0.6-rc.0",
"type": "module",
"bin": {
"mcp": "./bin/mcp.js"
Expand Down Expand Up @@ -34,7 +34,7 @@
"@modelcontextprotocol/sdk": "^1.12.0",
"@primer/octicons": "^19.15.5",
"@primer/primitives": "10.x || 11.x",
"@primer/react": "^38.0.0-rc.3",
"@primer/react": "^38.0.0-rc.7",
"cheerio": "^1.0.0",
"turndown": "^7.2.0",
"zod": "^3.23.8"
Expand Down
47 changes: 47 additions & 0 deletions packages/react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,52 @@
# @primer/react

## 38.0.0-rc.7

### Major Changes

- [#6944](https://github.com/primer/react/pull/6944) [`446956d`](https://github.com/primer/react/commit/446956d3466ca11b95adf720d7cf07a1bb6bad92) Thanks [@liuliu-dev](https://github.com/liuliu-dev)! - Remove sx from deprecated ActionList component.

- [#6965](https://github.com/primer/react/pull/6965) [`f61238c`](https://github.com/primer/react/commit/f61238c295377f59a5d3c5b0c782e98c238fa639) Thanks [@francinelucca](https://github.com/francinelucca)! - Chore/remove styled. components: deprecated UnderlineNav, ValidationAnimation, LabelGroup, Tooltip

- [#6921](https://github.com/primer/react/pull/6921) [`c58f171`](https://github.com/primer/react/commit/c58f171be98dfec354eeb85c870368e84796fe6e) Thanks [@llastflowers](https://github.com/llastflowers)! - Update ActionList component and related components to no longer support sx/styled-components

- [#6902](https://github.com/primer/react/pull/6902) [`c395547`](https://github.com/primer/react/commit/c395547ae30bb51ea40388183f384848a397dc80) Thanks [@iansan5653](https://github.com/iansan5653)! - Support nested children in ActionBar.

- [#6930](https://github.com/primer/react/pull/6930) [`260c74c`](https://github.com/primer/react/commit/260c74c4e9f780a891157c9a2bc1450a12f8593a) Thanks [@mperrotti](https://github.com/mperrotti)! - Removes `sx` prop from DataTable.Container

- [#6942](https://github.com/primer/react/pull/6942) [`3ced917`](https://github.com/primer/react/commit/3ced917f595667e1f68a6b9110bd034e0d88bf2a) Thanks [@francinelucca](https://github.com/francinelucca)! - Removes sx prop from PageLayout and subcomponents

- [#6951](https://github.com/primer/react/pull/6951) [`2703bc9`](https://github.com/primer/react/commit/2703bc9cad2d3f16552b748f3799949a35464a1a) Thanks [@francinelucca](https://github.com/francinelucca)! - Update FormControl component to no longer support sx

- [#6897](https://github.com/primer/react/pull/6897) [`c1448cc`](https://github.com/primer/react/commit/c1448cc6546b0e58b1ceb54fa2989a1fd7cbfe30) Thanks [@siddharthkp](https://github.com/siddharthkp)! - Replaces `useTheme` usage with `theme`. If an application uses a custom theme that modifies one of the following 5 tokens, they will be reset to the default theme values. (`space.2, colors.success.fg, colors.border.default, colors.border.muted, animation.easeOutCubic`)

- [#6945](https://github.com/primer/react/pull/6945) [`1c84c0f`](https://github.com/primer/react/commit/1c84c0ff2b261a02d81c11fb16c7d3fb05294506) Thanks [@francinelucca](https://github.com/francinelucca)! - chore(Octicon): remove sx

- [#6904](https://github.com/primer/react/pull/6904) [`62df166`](https://github.com/primer/react/commit/62df166574d6248b3405c224a2f63f1e53a75ece) Thanks [@pksjce](https://github.com/pksjce)! - Remove sx property from Button

### Minor Changes

- [#6976](https://github.com/primer/react/pull/6976) [`2ec5bf2`](https://github.com/primer/react/commit/2ec5bf2898a6966161a076f5896910bf1b1f4018) Thanks [@francinelucca](https://github.com/francinelucca)! - feat: support custom slots

- [#6516](https://github.com/primer/react/pull/6516) [`f896b37`](https://github.com/primer/react/commit/f896b3768b6a153822323aae1491523fd60ff6d8) Thanks [@khiga8](https://github.com/khiga8)! - Remove the feature flag for `primer_react_segmented_control_tooltip` and GA tooltip by default behavior.

- Ensure that when `disabled` is applied, the tooltip is still triggered.

- [#6919](https://github.com/primer/react/pull/6919) [`32e12c6`](https://github.com/primer/react/commit/32e12c690a53aef918e765d128f381c8f57bfd02) Thanks [@TylerJDev](https://github.com/TylerJDev)! - TreeView: Add `count` and `className` support for trailing actions

### Patch Changes

- [#6959](https://github.com/primer/react/pull/6959) [`76f1ca3`](https://github.com/primer/react/commit/76f1ca32a9303b18a2084c4e11c4699963b88e4e) Thanks [@francinelucca](https://github.com/francinelucca)! - chore(AvatarStack, CheckboxOrRadioGroup, UnstyledTextInput): cleanup remaining sx props

- [#6954](https://github.com/primer/react/pull/6954) [`7dd483f`](https://github.com/primer/react/commit/7dd483f74e2a75e5c0a44f46a860afc2bdf0da9a) Thanks [@langermank](https://github.com/langermank)! - Adjust ConfirmationDialog heading styling

- [#6935](https://github.com/primer/react/pull/6935) [`8641c7a`](https://github.com/primer/react/commit/8641c7a778f88c9f65fa1f3d2c40994468651ae7) Thanks [@JelloBagel](https://github.com/JelloBagel)! - Fix overflow calculations of more menu button in action bar

- [#6925](https://github.com/primer/react/pull/6925) [`ecc81b5`](https://github.com/primer/react/commit/ecc81b569b421a4181b0a2f4cdff9cfe60fe28fd) Thanks [@francinelucca](https://github.com/francinelucca)! - chore(TextInput): remove sx

- [#6958](https://github.com/primer/react/pull/6958) [`3032026`](https://github.com/primer/react/commit/30320263482baf9d2c634ec27122c9a42ece308a) Thanks [@siddharthkp](https://github.com/siddharthkp)! - @primer/react: Export `useId` and `useSyncedState`
@primer/styled-react: Add `ThemeProvider` and `BaseStyles`

## 38.0.0-rc.6

### Patch 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.6",
"version": "38.0.0-rc.7",
"description": "An implementation of GitHub's Primer Design System using React",
"main": "./dist/index.js",
"module": "./dist/index.js",
Expand Down
24 changes: 24 additions & 0 deletions packages/styled-react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,29 @@
# @primer/styled-react

## 1.0.0-rc.8

### Minor Changes

- [#6944](https://github.com/primer/react/pull/6944) [`446956d`](https://github.com/primer/react/commit/446956d3466ca11b95adf720d7cf07a1bb6bad92) Thanks [@liuliu-dev](https://github.com/liuliu-dev)! - Remove sx from deprecated ActionList component.

- [#6958](https://github.com/primer/react/pull/6958) [`3032026`](https://github.com/primer/react/commit/30320263482baf9d2c634ec27122c9a42ece308a) Thanks [@siddharthkp](https://github.com/siddharthkp)! - @primer/react: Export `useId` and `useSyncedState`
@primer/styled-react: Add `ThemeProvider` and `BaseStyles`

### Patch Changes

- [#6976](https://github.com/primer/react/pull/6976) [`2ec5bf2`](https://github.com/primer/react/commit/2ec5bf2898a6966161a076f5896910bf1b1f4018) Thanks [@francinelucca](https://github.com/francinelucca)! - feat: support custom slots

- [#6925](https://github.com/primer/react/pull/6925) [`ecc81b5`](https://github.com/primer/react/commit/ecc81b569b421a4181b0a2f4cdff9cfe60fe28fd) Thanks [@francinelucca](https://github.com/francinelucca)! - chore(TextInput): remove sx

- [#6945](https://github.com/primer/react/pull/6945) [`1c84c0f`](https://github.com/primer/react/commit/1c84c0ff2b261a02d81c11fb16c7d3fb05294506) Thanks [@francinelucca](https://github.com/francinelucca)! - chore(Octicon): remove sx

- [#6904](https://github.com/primer/react/pull/6904) [`62df166`](https://github.com/primer/react/commit/62df166574d6248b3405c224a2f63f1e53a75ece) Thanks [@pksjce](https://github.com/pksjce)! - Remove sx property from Button

- [#6968](https://github.com/primer/react/pull/6968) [`9fcaedf`](https://github.com/primer/react/commit/9fcaedfad29ed5bf7cb3ed512a8051eeb45b7944) Thanks [@siddharthkp](https://github.com/siddharthkp)! - Export BaseStyles

- Updated dependencies [[`446956d`](https://github.com/primer/react/commit/446956d3466ca11b95adf720d7cf07a1bb6bad92), [`f61238c`](https://github.com/primer/react/commit/f61238c295377f59a5d3c5b0c782e98c238fa639), [`c58f171`](https://github.com/primer/react/commit/c58f171be98dfec354eeb85c870368e84796fe6e), [`c395547`](https://github.com/primer/react/commit/c395547ae30bb51ea40388183f384848a397dc80), [`260c74c`](https://github.com/primer/react/commit/260c74c4e9f780a891157c9a2bc1450a12f8593a), [`3ced917`](https://github.com/primer/react/commit/3ced917f595667e1f68a6b9110bd034e0d88bf2a), [`2703bc9`](https://github.com/primer/react/commit/2703bc9cad2d3f16552b748f3799949a35464a1a), [`76f1ca3`](https://github.com/primer/react/commit/76f1ca32a9303b18a2084c4e11c4699963b88e4e), [`2ec5bf2`](https://github.com/primer/react/commit/2ec5bf2898a6966161a076f5896910bf1b1f4018), [`7dd483f`](https://github.com/primer/react/commit/7dd483f74e2a75e5c0a44f46a860afc2bdf0da9a), [`c1448cc`](https://github.com/primer/react/commit/c1448cc6546b0e58b1ceb54fa2989a1fd7cbfe30), [`8641c7a`](https://github.com/primer/react/commit/8641c7a778f88c9f65fa1f3d2c40994468651ae7), [`ecc81b5`](https://github.com/primer/react/commit/ecc81b569b421a4181b0a2f4cdff9cfe60fe28fd), [`f896b37`](https://github.com/primer/react/commit/f896b3768b6a153822323aae1491523fd60ff6d8), [`3032026`](https://github.com/primer/react/commit/30320263482baf9d2c634ec27122c9a42ece308a), [`1c84c0f`](https://github.com/primer/react/commit/1c84c0ff2b261a02d81c11fb16c7d3fb05294506), [`62df166`](https://github.com/primer/react/commit/62df166574d6248b3405c224a2f63f1e53a75ece), [`32e12c6`](https://github.com/primer/react/commit/32e12c690a53aef918e765d128f381c8f57bfd02)]:
- @primer/react@38.0.0-rc.7

## 1.0.0-rc.7

### Patch 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.7",
"version": "1.0.0-rc.8",
"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.6",
"@primer/react": "^38.0.0-rc.7",
"@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.6",
"@primer/react": "38.0.0-rc.7",
"@types/react": "18.x || 19.x",
"@types/react-dom": "18.x || 19.x",
"@types/react-is": "18.x || 19.x",
Expand Down
Loading