diff --git a/.changeset/breezy-trainers-drop.md b/.changeset/breezy-trainers-drop.md deleted file mode 100644 index 556c1b71326..00000000000 --- a/.changeset/breezy-trainers-drop.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/react': patch ---- - -Updates SegmentedControl styles to use component primitives. diff --git a/.changeset/chilly-frogs-act.md b/.changeset/chilly-frogs-act.md deleted file mode 100644 index 95686eb4fab..00000000000 --- a/.changeset/chilly-frogs-act.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/react': patch ---- - -Support issues closed as not planned, and correct the standard issue closed backgroud colour diff --git a/.changeset/cyan-frogs-pump.md b/.changeset/cyan-frogs-pump.md deleted file mode 100644 index a1edc6a7223..00000000000 --- a/.changeset/cyan-frogs-pump.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/react': patch ---- - -update types to allow children for react 18 diff --git a/.changeset/empty-garlics-clean.md b/.changeset/empty-garlics-clean.md deleted file mode 100644 index ffb84d52778..00000000000 --- a/.changeset/empty-garlics-clean.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -"@primer/react": minor ---- - -Add a responsive `hidden` prop to `PageLayout.Header`, `PageLayout.Pane`, `PageLayout.Content`, and `PageLayout.Footer` that allows you to hide layout regions based on the viewport width. Example usage: - -```jsx -// Hide pane on narrow viewports - -``` diff --git a/.changeset/grumpy-rings-sit.md b/.changeset/grumpy-rings-sit.md deleted file mode 100644 index 7e287caea5f..00000000000 --- a/.changeset/grumpy-rings-sit.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/react': patch ---- - -Updates styles for the Select component so that the focus outline is even all the way around. diff --git a/.changeset/odd-donuts-raise.md b/.changeset/odd-donuts-raise.md deleted file mode 100644 index faf2dea7354..00000000000 --- a/.changeset/odd-donuts-raise.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/react': patch ---- - -button should be polymorphic diff --git a/.changeset/pretty-students-judge.md b/.changeset/pretty-students-judge.md deleted file mode 100644 index eb858eb30c8..00000000000 --- a/.changeset/pretty-students-judge.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@primer/react': minor ---- - -Adds support for a responsive 'variant' prop to the SegmentedControl component diff --git a/CHANGELOG.md b/CHANGELOG.md index 986aaca7f15..87ef3170f07 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,30 @@ # @primer/components +## 35.6.0 + +### Minor Changes + +- [#2174](https://github.com/primer/react/pull/2174) [`62dbc981`](https://github.com/primer/react/commit/62dbc9810f93cf16f17fce412c47ac2bf885a89e) Thanks [@colebemis](https://github.com/colebemis)! - Add a responsive `hidden` prop to `PageLayout.Header`, `PageLayout.Pane`, `PageLayout.Content`, and `PageLayout.Footer` that allows you to hide layout regions based on the viewport width. Example usage: + + ```jsx + // Hide pane on narrow viewports + + ``` + +* [#2164](https://github.com/primer/react/pull/2164) [`2b5c86e5`](https://github.com/primer/react/commit/2b5c86e59f16d697433e3302e78d623a177a061e) Thanks [@mperrotti](https://github.com/mperrotti)! - Adds support for a responsive 'variant' prop to the SegmentedControl component + +### Patch Changes + +- [#2186](https://github.com/primer/react/pull/2186) [`e28aadbd`](https://github.com/primer/react/commit/e28aadbdf1c5b0d03aba83dcfbe1c77746cfcf97) Thanks [@mperrotti](https://github.com/mperrotti)! - Updates SegmentedControl styles to use component primitives. + +* [#2171](https://github.com/primer/react/pull/2171) [`384ae6b9`](https://github.com/primer/react/commit/384ae6b9adb2bcf1389e2059cbd68f319cc2e56d) Thanks [@anleac](https://github.com/anleac)! - Support issues closed as not planned, and correct the standard issue closed backgroud colour + +- [#2196](https://github.com/primer/react/pull/2196) [`5ff5bb81`](https://github.com/primer/react/commit/5ff5bb81f68dc533b2d32fd3f24863c2699ca8f3) Thanks [@mattcosta7](https://github.com/mattcosta7)! - update types to allow children for react 18 + +* [#2173](https://github.com/primer/react/pull/2173) [`ed609719`](https://github.com/primer/react/commit/ed60971944316279bb48128f3fb466dd2385a36e) Thanks [@mperrotti](https://github.com/mperrotti)! - Updates styles for the Select component so that the focus outline is even all the way around. + +- [#2166](https://github.com/primer/react/pull/2166) [`75d21745`](https://github.com/primer/react/commit/75d21745daa8e50f707a80a4358a86163c64453c) Thanks [@mattcosta7](https://github.com/mattcosta7)! - button should be polymorphic + ## 35.5.0 ### Minor Changes diff --git a/package.json b/package.json index 0c94d02cdf3..9d72f192187 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@primer/react", - "version": "35.5.0", + "version": "35.6.0", "description": "An implementation of GitHub's Primer Design System using React", "main": "lib/index.js", "module": "lib-esm/index.js", @@ -46,7 +46,7 @@ "lint": "eslint '**/*.{js,ts,tsx,md,mdx}' --max-warnings=0", "lint:fix": "npm run lint -- --fix", "test": "jest", - "test:storybook":"test-storybook", + "test:storybook": "test-storybook", "test:update": "npm run test -- --updateSnapshot", "test:type-check": "tsc --noEmit", "release": "npm run build && changeset publish", @@ -169,7 +169,6 @@ "jest-axe": "5.0.1", "jest-matchmedia-mock": "1.1.0", "jest-styled-components": "6.3.4", - "jest-matchmedia-mock": "1.1.0", "jscodeshift": "0.13.0", "lint-staged": "12.1.2", "lodash.isempty": "4.4.0",