Skip to content

Commit

Permalink
Merge branch 'main' into feat/add-support-for-react-19
Browse files Browse the repository at this point in the history
  • Loading branch information
joshblack authored Jan 9, 2025
2 parents 59aa122 + d243865 commit 0266afb
Show file tree
Hide file tree
Showing 78 changed files with 1,308 additions and 2,146 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/forty-doors-visit.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/hungry-mugs-stare.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: 5 additions & 0 deletions .changeset/little-shrimps-hug.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/react": patch
---

fix(ActionList): remove className from menuItemProps to prevent duplicate className bug
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-comics-whisper.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: 0 additions & 5 deletions .changeset/thirty-apples-wave.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/thirty-wasps-sleep.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
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.
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()
})
})
}
})
})
2 changes: 1 addition & 1 deletion examples/app-router/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"type-check": "tsc --noEmit"
},
"dependencies": {
"@primer/react": "37.8.0",
"@primer/react": "37.9.0",
"next": "^14.2.15",
"react": "^18.3.1",
"react-dom": "^18.3.1",
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.0",
"eslint": "^8.56.0",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.7",
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.9.0",
"@primer/react": "37.8.0",
"@primer/react": "37.9.0",
"clsx": "^1.2.1",
"next": "^14.2.15",
"react": "^18.3.1",
Expand Down
Loading

0 comments on commit 0266afb

Please sign in to comment.