Skip to content

Commit

Permalink
Merge branch 'fix-iconbutton-fle' of https://github.com/primer/react
Browse files Browse the repository at this point in the history
…into fix-iconbutton-fle
  • Loading branch information
langermank committed Jan 14, 2025
2 parents 304392a + 0692061 commit fad01b6
Show file tree
Hide file tree
Showing 104 changed files with 2,892 additions and 4,100 deletions.
5 changes: 0 additions & 5 deletions .changeset/brave-penguins-clap.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/clean-camels-train.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/dirty-nails-applaud.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/eight-donuts-enjoy.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/eight-guests-punch.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/eighty-carpets-rush.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/react": patch
---

Pagination: Hides the `Pagination` Previous and Next buttons from the accessibility tree when they are disabled.
5 changes: 0 additions & 5 deletions .changeset/few-coins-kick.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/gentle-stingrays-search.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/kind-phones-drop.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/lemon-files-complain.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/react": minor
---

Remove CSS modules feature flag from ButtonGroup
5 changes: 0 additions & 5 deletions .changeset/many-pans-tickle.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/mean-plants-cover.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/react": minor
---

Remove CSS modules feature flag from Details
5 changes: 0 additions & 5 deletions .changeset/plenty-tools-count.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/polite-books-sneeze.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/proud-phones-repeat.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/purple-pants-sit.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/selfish-flowers-approve.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/shaggy-geese-smile.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/shiny-horses-promise.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/two-apples-juggle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/react": minor
---

Remove CSS modules feature flag from Radio
5 changes: 5 additions & 0 deletions .changeset/two-jokes-compete.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/react": minor
---

Remove the CSS module feature flag from Pagehead
5 changes: 0 additions & 5 deletions .changeset/violet-tables-eat.md

This file was deleted.

5 changes: 5 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@ updates:
labels:
- 'dependencies'
- 'skip changeset'
groups:
storybook:
patterns:
- '@storybook/*'
- 'storybook'

- package-ecosystem: 'github-actions'
directory: '/'
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/accessibility-alt-text-bot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,11 @@ on:
pull_request:
types: [opened, edited]
issue_comment:
types: [created, edited]
types: [created, edited, deleted]
discussion:
types: [created, edited]
discussion_comment:
types: [created, edited, deleted]

permissions:
issues: write
Expand All @@ -21,4 +23,4 @@ jobs:
if: ${{ github.event.issue || github.event.pull_request || github.event.discussion }}
steps:
- name: Get action 'github/accessibility-alt-text-bot'
uses: github/accessibility-alt-text-bot@v1.5.0
uses: github/accessibility-alt-text-bot@v1.6.0
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -408,8 +408,12 @@ jobs:
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Build storybook to generate story IDs
run: npm run build:storybook
working-directory: packages/react
- name: Build components.json
run: npm run build:components.json
run: npx tsx script/components-json/build.ts --storybook-data 'storybook-static/index.json'
working-directory: packages/react

sizes:
runs-on: ubuntu-latest
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion contributor-docs/adrs/adr-010-drafts-are-experimental.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
| Stage | Status |
| -------- | ------ |
| Approved ||
| Adopted | 🚧 |
| Adopted | |

## Context

Expand Down
28 changes: 28 additions & 0 deletions e2e/components/ButtonGroup.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,4 +142,32 @@ test.describe('ButtonGroup', () => {
})
}
})

test.describe('SX Prop', () => {
for (const theme of themes) {
test.describe(theme, () => {
test('default @vrt', async ({page}) => {
await visit(page, {
id: 'components-buttongroup-devonly--sx-prop',
globals: {
colorScheme: theme,
},
})

// Default state
expect(await page.screenshot()).toMatchSnapshot(`ButtonGroup.SX Prop.${theme}.png`)
})

test('axe @aat', async ({page}) => {
await visit(page, {
id: 'components-buttongroup-devonly--sx-prop',
globals: {
colorScheme: theme,
},
})
await expect(page).toHaveNoViolations()
})
})
}
})
})
6 changes: 3 additions & 3 deletions e2e/components/drafts/ActionBar.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ test.describe('ActionBar', () => {
test.describe(theme, () => {
test('default @vrt', async ({page}) => {
await visit(page, {
id: 'experimental-components-actionbar--comment-box',
id: 'experimental-components-actionbar-examples--comment-box',
globals: {
colorScheme: theme,
},
Expand All @@ -19,7 +19,7 @@ test.describe('ActionBar', () => {

test('axe @aat', async ({page}) => {
await visit(page, {
id: 'experimental-components-actionbar--comment-box',
id: 'experimental-components-actionbar-examples--comment-box',
globals: {
colorScheme: theme,
},
Expand All @@ -35,7 +35,7 @@ test.describe('ActionBar', () => {
test.describe(theme, () => {
test('Overflow interaction @vrt', async ({page}) => {
await visit(page, {
id: 'experimental-components-actionbar--comment-box',
id: 'experimental-components-actionbar-examples--comment-box',
globals: {
colorScheme: theme,
},
Expand Down
4 changes: 2 additions & 2 deletions examples/app-router/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": "37.8.0",
"next": "^14.2.10",
"@primer/react": "37.9.1",
"next": "^14.2.15",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"styled-components": "5.x",
Expand Down
2 changes: 1 addition & 1 deletion examples/codesandbox/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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.8.0",
"@primer/react": "37.9.1",
"eslint": "^8.56.0",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.7",
Expand Down
6 changes: 3 additions & 3 deletions examples/theming/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
"type-check": "tsc --noEmit"
},
"dependencies": {
"@primer/octicons-react": "^19.9.0",
"@primer/react": "37.8.0",
"@primer/octicons-react": "^19.14.0",
"@primer/react": "37.9.1",
"clsx": "^1.2.1",
"next": "^14.2.10",
"next": "^14.2.15",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"styled-components": "5.x",
Expand Down
Loading

0 comments on commit fad01b6

Please sign in to comment.