diff --git a/.changeset/add-actionlist-linkitem-size-prop.md b/.changeset/add-actionlist-linkitem-size-prop.md deleted file mode 100644 index 3b2004b0f9b..00000000000 --- a/.changeset/add-actionlist-linkitem-size-prop.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/react': minor ---- - -Add `size` prop to ActionList.LinkItem component. The `size` prop accepts `'medium'` (default) or `'large'` values and provides the same styling options as ActionList.Item for consistent sizing across ActionList components. \ No newline at end of file diff --git a/.changeset/dry-chairs-start.md b/.changeset/dry-chairs-start.md deleted file mode 100644 index bbfc2db8f9e..00000000000 --- a/.changeset/dry-chairs-start.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/react': minor ---- - -Update IssueLabel component types to support custom content through `children` and support the `as` prop diff --git a/.changeset/eleven-chefs-poke.md b/.changeset/eleven-chefs-poke.md deleted file mode 100644 index c4311d3b2f2..00000000000 --- a/.changeset/eleven-chefs-poke.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/react': minor ---- - -Adds `variant` and `shape` props to `AvatarStack` component. The `variant` prop will allow the component to render in a cascade view (by default) or a new stacked view which will evenly space the avatars and remove opacity. The `shape` prop will allow the avatars to be rendered as circles (by default) or squares. diff --git a/.changeset/honest-gorillas-drive.md b/.changeset/honest-gorillas-drive.md deleted file mode 100644 index d0c76f5db4a..00000000000 --- a/.changeset/honest-gorillas-drive.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/react': minor ---- - -Address additional ToggleSwitch a11y feedback diff --git a/.changeset/pink-worms-kneel.md b/.changeset/pink-worms-kneel.md deleted file mode 100644 index faaf98eba27..00000000000 --- a/.changeset/pink-worms-kneel.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -feat(SelectPanel): remove aria activedescendant and add a roving tab index diff --git a/.changeset/social-ants-bow.md b/.changeset/social-ants-bow.md deleted file mode 100644 index 3f4cb968b9e..00000000000 --- a/.changeset/social-ants-bow.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/react': minor ---- - -Textarea: Adds `minHeight` and `maxHeight` as props diff --git a/.changeset/spotty-coats-post.md b/.changeset/spotty-coats-post.md deleted file mode 100644 index da5a61bbb5f..00000000000 --- a/.changeset/spotty-coats-post.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/styled-react': minor ---- - -Create the `@primer/styled-react` package to help with bridging between styled-components and Primer React diff --git a/.changeset/sweet-ladybugs-rest.md b/.changeset/sweet-ladybugs-rest.md deleted file mode 100644 index bebd451e559..00000000000 --- a/.changeset/sweet-ladybugs-rest.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@primer/react": patch ---- - -Add `width: 100%` to `Portal` diff --git a/examples/codesandbox/package.json b/examples/codesandbox/package.json index 41e11b33ad6..c189df610a9 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.30.0", + "@primer/react": "37.31.0", "eslint": "^9.32.0", "eslint-plugin-react-hooks": "^5.2.0", "eslint-plugin-react-refresh": "^0.4.20", diff --git a/examples/nextjs/package.json b/examples/nextjs/package.json index eb1696718c3..49f383169d0 100644 --- a/examples/nextjs/package.json +++ b/examples/nextjs/package.json @@ -10,7 +10,7 @@ "type-check": "tsc --noEmit" }, "dependencies": { - "@primer/react": "37.30.0", + "@primer/react": "37.31.0", "next": "^15.2.3", "react": "^19.0.0", "react-dom": "^19.0.0", diff --git a/examples/theming/package.json b/examples/theming/package.json index 79b10b4bf64..351843f44ee 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.30.0", + "@primer/react": "37.31.0", "clsx": "^2.1.1", "next": "^14.2.30", "react": "^18.3.1", diff --git a/packages/react/CHANGELOG.md b/packages/react/CHANGELOG.md index 3b7b42944dc..77feca0cd7b 100644 --- a/packages/react/CHANGELOG.md +++ b/packages/react/CHANGELOG.md @@ -1,5 +1,25 @@ # @primer/react +## 37.31.0 + +### Minor Changes + +- [#6470](https://github.com/primer/react/pull/6470) [`e53228c`](https://github.com/primer/react/commit/e53228cca73e6ab09eb6e626f8747f01ff7241c9) Thanks [@copilot-swe-agent](https://github.com/apps/copilot-swe-agent)! - Add `size` prop to ActionList.LinkItem component. The `size` prop accepts `'medium'` (default) or `'large'` values and provides the same styling options as ActionList.Item for consistent sizing across ActionList components. + +- [#6265](https://github.com/primer/react/pull/6265) [`829a933`](https://github.com/primer/react/commit/829a9332200247c6fc72a32c6f42dd0e51e7daf3) Thanks [@joshblack](https://github.com/joshblack)! - Update IssueLabel component types to support custom content through `children` and support the `as` prop + +- [#6420](https://github.com/primer/react/pull/6420) [`024b82a`](https://github.com/primer/react/commit/024b82a9dc545cc3a243d0fc910f0b05bfa67653) Thanks [@chanakyav](https://github.com/chanakyav)! - Adds `variant` and `shape` props to `AvatarStack` component. The `variant` prop will allow the component to render in a cascade view (by default) or a new stacked view which will evenly space the avatars and remove opacity. The `shape` prop will allow the avatars to be rendered as circles (by default) or squares. + +- [#4744](https://github.com/primer/react/pull/4744) [`3c9e322`](https://github.com/primer/react/commit/3c9e322c58b83dfb4773dfc309bc022842b51225) Thanks [@TylerJDev](https://github.com/TylerJDev)! - Address additional ToggleSwitch a11y feedback + +- [#6182](https://github.com/primer/react/pull/6182) [`9e49abd`](https://github.com/primer/react/commit/9e49abd7724add92fee605a3361e6b8719b680eb) Thanks [@TylerJDev](https://github.com/TylerJDev)! - Textarea: Adds `minHeight` and `maxHeight` as props + +### Patch Changes + +- [#6330](https://github.com/primer/react/pull/6330) [`fbdcac4`](https://github.com/primer/react/commit/fbdcac4709d919b6719dcb2a679b4684dfded419) Thanks [@francinelucca](https://github.com/francinelucca)! - feat(SelectPanel): remove aria activedescendant and add a roving tab index + +- [#6365](https://github.com/primer/react/pull/6365) [`ae4dd07`](https://github.com/primer/react/commit/ae4dd07046aa9c32e8f7f0e43c40446ce7c706a4) Thanks [@langermank](https://github.com/langermank)! - Add `width: 100%` to `Portal` + ## 37.30.0 ### Minor Changes diff --git a/packages/react/package.json b/packages/react/package.json index e4de58e5db6..420fa219236 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "@primer/react", - "version": "37.30.0", + "version": "37.31.0", "description": "An implementation of GitHub's Primer Design System using React", "main": "lib/index.js", "module": "lib-esm/index.js", @@ -232,4 +232,3 @@ } } } - diff --git a/packages/styled-react/CHANGELOG.md b/packages/styled-react/CHANGELOG.md new file mode 100644 index 00000000000..1c398de15a5 --- /dev/null +++ b/packages/styled-react/CHANGELOG.md @@ -0,0 +1,7 @@ +# @primer/styled-react + +## 0.1.0 + +### Minor Changes + +- [#6417](https://github.com/primer/react/pull/6417) [`0ce5db8`](https://github.com/primer/react/commit/0ce5db8cc461773f6aa7cf40df2556933a35dd99) Thanks [@joshblack](https://github.com/joshblack)! - Create the `@primer/styled-react` package to help with bridging between styled-components and Primer React diff --git a/packages/styled-react/package.json b/packages/styled-react/package.json index 67066770102..0df6b3a937f 100644 --- a/packages/styled-react/package.json +++ b/packages/styled-react/package.json @@ -1,6 +1,6 @@ { "name": "@primer/styled-react", - "version": "0.0.1", + "version": "0.1.0", "type": "module", "exports": { ".": { @@ -27,7 +27,7 @@ }, "devDependencies": { "@babel/preset-typescript": "^7.27.1", - "@primer/react": "^37.29.1", + "@primer/react": "^37.31.0", "@rollup/plugin-babel": "^6.0.4", "@types/react": "18.3.11", "@types/react-dom": "18.3.1",