diff --git a/.changeset/gentle-masks-notice.md b/.changeset/gentle-masks-notice.md new file mode 100644 index 00000000000..7e0b04aecba --- /dev/null +++ b/.changeset/gentle-masks-notice.md @@ -0,0 +1,5 @@ +--- +"@primer/styled-react": patch +--- + +Remove Textarea from `@primer/styled-react` diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index 777bf12f115..8dbde3ef2b7 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -157,3 +157,7 @@ npm run lint:fix # Auto-fix linting issues - Storybook startup: ~3 seconds **CRITICAL**: NEVER CANCEL builds, tests, or long-running commands. They may take significantly longer in CI environments. Always set appropriate timeouts (90+ minutes for builds/tests). + +## Pull Request Creation + +When creating a pull request, you MUST use the template in `.github/pull_request_template.md` to structure the PR description. Read the template file, fill in all sections appropriately, and include it in the PR body. diff --git a/packages/styled-react/src/__tests__/__snapshots__/exports.test.ts.snap b/packages/styled-react/src/__tests__/__snapshots__/exports.test.ts.snap index 1c5e65a8483..1bbdb28a5b5 100644 --- a/packages/styled-react/src/__tests__/__snapshots__/exports.test.ts.snap +++ b/packages/styled-react/src/__tests__/__snapshots__/exports.test.ts.snap @@ -27,7 +27,6 @@ exports[`@primer/styled-react exports 1`] = ` "Spinner", "sx", "Text", - "Textarea", "TextInput", "theme", "themeGet", diff --git a/packages/styled-react/src/__tests__/primer-react.browser.test.tsx b/packages/styled-react/src/__tests__/primer-react.browser.test.tsx index d0c93ae5c14..d60995044fd 100644 --- a/packages/styled-react/src/__tests__/primer-react.browser.test.tsx +++ b/packages/styled-react/src/__tests__/primer-react.browser.test.tsx @@ -25,7 +25,6 @@ import { Spinner, Text, TextInput, - Textarea, ThemeProvider, Timeline, Token, @@ -271,11 +270,6 @@ describe('@primer/react', () => { expect(window.getComputedStyle(screen.getByRole('button')).backgroundColor).toBe('rgb(255, 0, 0)') }) - test('Textarea supports `sx` prop', () => { - const {container} = render(