diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 82776e83a3d..2e5da3589aa 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -5,14 +5,6 @@ version: 2 updates: - - package-ecosystem: 'npm' - directory: '/' - schedule: - interval: 'weekly' - versioning-strategy: increase - labels: - - 'dependencies' - - 'skip changeset' - package-ecosystem: 'npm' directory: '/' schedule: @@ -26,6 +18,7 @@ updates: patterns: - '@storybook/*' - 'storybook' + - package-ecosystem: 'github-actions' directory: '/' schedule: diff --git a/.playwright/snapshots/components/PageHeader.test.ts-snapshots/PageHeader-Pull-Request-Page-light-colorblind-linux.png b/.playwright/snapshots/components/PageHeader.test.ts-snapshots/PageHeader-Pull-Request-Page-light-colorblind-linux.png index 59316f1eac5..71a556920ad 100644 Binary files a/.playwright/snapshots/components/PageHeader.test.ts-snapshots/PageHeader-Pull-Request-Page-light-colorblind-linux.png and b/.playwright/snapshots/components/PageHeader.test.ts-snapshots/PageHeader-Pull-Request-Page-light-colorblind-linux.png differ diff --git a/.playwright/snapshots/components/PageHeader.test.ts-snapshots/PageHeader-Pull-Request-Page-on-Narrow-Viewport-light-colorblind-linux.png b/.playwright/snapshots/components/PageHeader.test.ts-snapshots/PageHeader-Pull-Request-Page-on-Narrow-Viewport-light-colorblind-linux.png index 59316f1eac5..71a556920ad 100644 Binary files a/.playwright/snapshots/components/PageHeader.test.ts-snapshots/PageHeader-Pull-Request-Page-on-Narrow-Viewport-light-colorblind-linux.png and b/.playwright/snapshots/components/PageHeader.test.ts-snapshots/PageHeader-Pull-Request-Page-on-Narrow-Viewport-light-colorblind-linux.png differ diff --git a/.playwright/snapshots/components/PageHeader.test.ts-snapshots/PageHeader-With-Page-Layout-light-colorblind-linux.png b/.playwright/snapshots/components/PageHeader.test.ts-snapshots/PageHeader-With-Page-Layout-light-colorblind-linux.png index 6dc0c91a7cf..63a5334ac5b 100644 Binary files a/.playwright/snapshots/components/PageHeader.test.ts-snapshots/PageHeader-With-Page-Layout-light-colorblind-linux.png and b/.playwright/snapshots/components/PageHeader.test.ts-snapshots/PageHeader-With-Page-Layout-light-colorblind-linux.png differ diff --git a/.playwright/snapshots/components/UnderlineNav.test.ts-snapshots/UnderlineNav-Pull-Request-Page-light-colorblind-linux.png b/.playwright/snapshots/components/UnderlineNav.test.ts-snapshots/UnderlineNav-Pull-Request-Page-light-colorblind-linux.png index a250e79d82b..395bd12f740 100644 Binary files a/.playwright/snapshots/components/UnderlineNav.test.ts-snapshots/UnderlineNav-Pull-Request-Page-light-colorblind-linux.png and b/.playwright/snapshots/components/UnderlineNav.test.ts-snapshots/UnderlineNav-Pull-Request-Page-light-colorblind-linux.png differ diff --git a/examples/app-router/package.json b/examples/app-router/package.json index 6bffa5c50f8..fed76a9f4ed 100644 --- a/examples/app-router/package.json +++ b/examples/app-router/package.json @@ -10,7 +10,7 @@ "type-check": "tsc --noEmit" }, "dependencies": { - "@primer/react": "37.9.0", + "@primer/react": "37.9.1", "next": "^14.2.15", "react": "^18.3.1", "react-dom": "^18.3.1", diff --git a/examples/codesandbox/package.json b/examples/codesandbox/package.json index de7c68976f0..5b1e2b52be2 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.9.0", + "@primer/react": "37.9.1", "eslint": "^8.56.0", "eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-react-refresh": "^0.4.7", diff --git a/examples/theming/package.json b/examples/theming/package.json index 0628c8d2098..f43a50be556 100644 --- a/examples/theming/package.json +++ b/examples/theming/package.json @@ -10,8 +10,8 @@ "type-check": "tsc --noEmit" }, "dependencies": { - "@primer/octicons-react": "^19.9.0", - "@primer/react": "37.9.0", + "@primer/octicons-react": "^19.14.0", + "@primer/react": "37.9.1", "clsx": "^1.2.1", "next": "^14.2.15", "react": "^18.3.1", diff --git a/package-lock.json b/package-lock.json index b4d8f582483..668646abaf6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -62,7 +62,7 @@ "name": "example-app-router", "version": "0.0.0", "dependencies": { - "@primer/react": "37.9.0", + "@primer/react": "37.9.1", "next": "^14.2.15", "react": "^18.3.1", "react-dom": "^18.3.1", @@ -81,7 +81,7 @@ "react-dom": "^18.3.1" }, "devDependencies": { - "@primer/react": "37.9.0", + "@primer/react": "37.9.1", "@types/react": "^18.3.11", "@types/react-dom": "^18.3.0", "@typescript-eslint/eslint-plugin": "^7.11.0", @@ -99,8 +99,8 @@ "name": "example-theming", "version": "0.0.0", "dependencies": { - "@primer/octicons-react": "^19.9.0", - "@primer/react": "37.9.0", + "@primer/octicons-react": "^19.14.0", + "@primer/react": "37.9.1", "clsx": "^1.2.1", "next": "^14.2.15", "react": "^18.3.1", @@ -6060,9 +6060,9 @@ } }, "node_modules/@primer/octicons-react": { - "version": "19.13.0", - "resolved": "https://registry.npmjs.org/@primer/octicons-react/-/octicons-react-19.13.0.tgz", - "integrity": "sha512-EhE/d7SenURyL24iz8+2ZgZtMbT2vYvDzl/e2lAznxcYa2uhP8CWbKCKy2dqW/FPf4ZREGcvN+fecsjqIi8KVQ==", + "version": "19.14.0", + "resolved": "https://registry.npmjs.org/@primer/octicons-react/-/octicons-react-19.14.0.tgz", + "integrity": "sha512-EKeavGV7s2HYac3ybb+6vfyqHGMUeG+OlZAus5ORfEjzXlorDAIjZ59fszVJj9DI6ArfFK/Cvg8V4JRfeUHjcw==", "license": "MIT", "engines": { "node": ">=8" @@ -29705,7 +29705,7 @@ }, "packages/react": { "name": "@primer/react", - "version": "37.9.0", + "version": "37.9.1", "license": "MIT", "dependencies": { "@github/relative-time-element": "^4.4.3", diff --git a/packages/react/CHANGELOG.md b/packages/react/CHANGELOG.md index 8e108c04329..6ef64c4c8ec 100644 --- a/packages/react/CHANGELOG.md +++ b/packages/react/CHANGELOG.md @@ -1,5 +1,11 @@ # @primer/react +## 37.9.1 + +### Patch Changes + +- [`8c1cff4`](https://github.com/primer/react/commit/8c1cff46f206b0c51feeb32ed1ab85c7db18acd1) Thanks [@francinelucca](https://github.com/francinelucca)! - fix(ActionList): remove className from menuItemProps to prevent duplicate className bug + ## 37.9.0 ### Minor Changes diff --git a/packages/react/package.json b/packages/react/package.json index addcb6fa2bc..db66d1b9ee7 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "@primer/react", - "version": "37.9.0", + "version": "37.9.1", "description": "An implementation of GitHub's Primer Design System using React", "main": "lib/index.js", "module": "lib-esm/index.js", diff --git a/packages/react/src/ActionList/Item.tsx b/packages/react/src/ActionList/Item.tsx index d90b40a1ce8..e4453a3482a 100644 --- a/packages/react/src/ActionList/Item.tsx +++ b/packages/react/src/ActionList/Item.tsx @@ -335,7 +335,6 @@ export const Item = React.forwardRef( ...(includeSelectionAttribute && {[itemSelectionAttribute]: selected}), role: itemRole, id: itemId, - className, } const containerProps = _PrivateItemWrapper diff --git a/packages/react/src/NavList/__snapshots__/NavList.test.tsx.snap b/packages/react/src/NavList/__snapshots__/NavList.test.tsx.snap index e3848f074b3..773d889325c 100644 --- a/packages/react/src/NavList/__snapshots__/NavList.test.tsx.snap +++ b/packages/react/src/NavList/__snapshots__/NavList.test.tsx.snap @@ -1363,11 +1363,13 @@ exports[`NavList.Item with NavList.SubNav does not have active styles if SubNav >