diff --git a/package.json b/package.json index 676a2aa82..d10044904 100644 --- a/package.json +++ b/package.json @@ -82,7 +82,7 @@ "@primer/css": "22.0.2", "@primer/octicons-react": "19.21.0", "@primer/primitives": "11.3.1", - "@primer/react": "38.1.0", + "@primer/react": "38.2.0", "@tailwindcss/postcss": "4.1.17", "@testing-library/jest-dom": "6.9.1", "@testing-library/react": "16.3.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 5c66de0dd..593c6d839 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -52,8 +52,8 @@ importers: specifier: 11.3.1 version: 11.3.1 '@primer/react': - specifier: 38.1.0 - version: 38.1.0(@types/react-dom@19.2.3(@types/react@19.2.6))(@types/react-is@18.3.0)(@types/react@19.2.6)(react-dom@19.2.0(react@19.2.0))(react-is@18.3.1)(react@19.2.0) + specifier: 38.2.0 + version: 38.2.0(@types/react-dom@19.2.3(@types/react@19.2.6))(@types/react-is@18.3.0)(@types/react@19.2.6)(react-dom@19.2.0(react@19.2.0))(react-is@18.3.1)(react@19.2.0) '@tailwindcss/postcss': specifier: 4.1.17 version: 4.1.17 @@ -959,8 +959,8 @@ packages: '@github/mini-throttle@2.1.1': resolution: {integrity: sha512-KtOPaB+FiKJ6jcKm9UKyaM5fPURHGf+xcp+b4Mzoi81hOc6M1sIGpMZMAVbNzfa2lW5+RPGKq888Px0j76OZ/A==} - '@github/relative-time-element@4.4.8': - resolution: {integrity: sha512-FSLYm6F3TSQnqHE1EMQUVVgi2XjbCvsESwwXfugHFpBnhyF1uhJOtu0Psp/BB/qqazfdkk7f5fVcu7WuXl3t8Q==} + '@github/relative-time-element@4.5.0': + resolution: {integrity: sha512-zKC/tUHeDDdbODBuZh3CkT5pCy41M8mGuUplzhtBMuiEQ5+qY/l/iu0X1IBY/6QhNeP/xdQIVkLYKh2O5En4dg==} '@github/tab-container-element@4.8.2': resolution: {integrity: sha512-WkaM4mfs8x7dXRWEaDb5deC0OhH6sGQ5cw8i/sVw25gikl4f8C7mHj0kihL5k3eKIIqmGT1Fdswdoi+9ZLDpRA==} @@ -1199,8 +1199,8 @@ packages: '@primer/primitives@11.3.1': resolution: {integrity: sha512-f5FXeUHQ0iyxt1UF6MqeajQ9jRV/7uOGLECU5KuFWhMioCZOho09jS6alZA9tiwksHr2LYXfo7AdFczpEz3Npw==} - '@primer/react@38.1.0': - resolution: {integrity: sha512-942b59FzsHyKDSyfCnXGjot3c0O68sa0sjto7S0ZhLUj4wnrnPK9nopt3xmcQZa+z5ShwCOgfwKHrnQwjvn+Zg==} + '@primer/react@38.2.0': + resolution: {integrity: sha512-Jf46hs8TKsc5KQGx+TSpbVlKFGUbzCW5mGGrnuzpmUR3N0kqGPZv1x4L2uEkbm4km5xKejYopNuVQzJIk1gboQ==} engines: {node: '>=12', npm: '>=7'} peerDependencies: '@types/react': 18.x || 19.x @@ -5861,7 +5861,7 @@ snapshots: '@github/mini-throttle@2.1.1': {} - '@github/relative-time-element@4.4.8': {} + '@github/relative-time-element@4.5.0': {} '@github/tab-container-element@4.8.2': {} @@ -6217,10 +6217,10 @@ snapshots: '@primer/primitives@11.3.1': {} - '@primer/react@38.1.0(@types/react-dom@19.2.3(@types/react@19.2.6))(@types/react-is@18.3.0)(@types/react@19.2.6)(react-dom@19.2.0(react@19.2.0))(react-is@18.3.1)(react@19.2.0)': + '@primer/react@38.2.0(@types/react-dom@19.2.3(@types/react@19.2.6))(@types/react-is@18.3.0)(@types/react@19.2.6)(react-dom@19.2.0(react@19.2.0))(react-is@18.3.1)(react@19.2.0)': dependencies: '@github/mini-throttle': 2.1.1 - '@github/relative-time-element': 4.4.8 + '@github/relative-time-element': 4.5.0 '@github/tab-container-element': 4.8.2 '@lit-labs/react': 1.2.1 '@oddbird/popover-polyfill': 0.5.2 diff --git a/src/renderer/components/notifications/__snapshots__/AccountNotifications.test.tsx.snap b/src/renderer/components/notifications/__snapshots__/AccountNotifications.test.tsx.snap index 10337bfba..1d29af979 100644 --- a/src/renderer/components/notifications/__snapshots__/AccountNotifications.test.tsx.snap +++ b/src/renderer/components/notifications/__snapshots__/AccountNotifications.test.tsx.snap @@ -80,7 +80,7 @@ exports[`renderer/components/notifications/AccountNotifications.tsx should rende aria-hidden="true" class="prc-Button-CounterLabel-f5-4u prc-CounterLabel-CounterLabel-ZwXPe" data-component="ButtonCounter" - data-scheme="secondary" + data-variant="secondary" > 0 @@ -327,7 +327,7 @@ exports[`renderer/components/notifications/AccountNotifications.tsx should rende aria-hidden="true" class="prc-Button-CounterLabel-f5-4u prc-CounterLabel-CounterLabel-ZwXPe" data-component="ButtonCounter" - data-scheme="secondary" + data-variant="secondary" > 0 @@ -631,7 +631,7 @@ exports[`renderer/components/notifications/AccountNotifications.tsx should rende aria-hidden="true" class="prc-Button-CounterLabel-f5-4u prc-CounterLabel-CounterLabel-ZwXPe" data-component="ButtonCounter" - data-scheme="secondary" + data-variant="secondary" > 0 @@ -878,7 +878,7 @@ exports[`renderer/components/notifications/AccountNotifications.tsx should rende aria-hidden="true" class="prc-Button-CounterLabel-f5-4u prc-CounterLabel-CounterLabel-ZwXPe" data-component="ButtonCounter" - data-scheme="secondary" + data-variant="secondary" > 0 @@ -1182,7 +1182,7 @@ exports[`renderer/components/notifications/AccountNotifications.tsx should rende aria-hidden="true" class="prc-Button-CounterLabel-f5-4u prc-CounterLabel-CounterLabel-ZwXPe" data-component="ButtonCounter" - data-scheme="secondary" + data-variant="secondary" > 2 @@ -2042,7 +2042,7 @@ exports[`renderer/components/notifications/AccountNotifications.tsx should rende aria-hidden="true" class="prc-Button-CounterLabel-f5-4u prc-CounterLabel-CounterLabel-ZwXPe" data-component="ButtonCounter" - data-scheme="secondary" + data-variant="secondary" > 2 @@ -2959,7 +2959,7 @@ exports[`renderer/components/notifications/AccountNotifications.tsx should rende aria-hidden="true" class="prc-Button-CounterLabel-f5-4u prc-CounterLabel-CounterLabel-ZwXPe" data-component="ButtonCounter" - data-scheme="secondary" + data-variant="secondary" > 2 @@ -3160,7 +3160,7 @@ exports[`renderer/components/notifications/AccountNotifications.tsx should rende aria-hidden="true" class="prc-Button-CounterLabel-f5-4u prc-CounterLabel-CounterLabel-ZwXPe" data-component="ButtonCounter" - data-scheme="secondary" + data-variant="secondary" > 2 @@ -3418,7 +3418,7 @@ exports[`renderer/components/notifications/AccountNotifications.tsx should rende aria-hidden="true" class="prc-Button-CounterLabel-f5-4u prc-CounterLabel-CounterLabel-ZwXPe" data-component="ButtonCounter" - data-scheme="secondary" + data-variant="secondary" > 0 @@ -3660,7 +3660,7 @@ exports[`renderer/components/notifications/AccountNotifications.tsx should rende aria-hidden="true" class="prc-Button-CounterLabel-f5-4u prc-CounterLabel-CounterLabel-ZwXPe" data-component="ButtonCounter" - data-scheme="secondary" + data-variant="secondary" > 0 @@ -3959,7 +3959,7 @@ exports[`renderer/components/notifications/AccountNotifications.tsx should toggl aria-hidden="true" class="prc-Button-CounterLabel-f5-4u prc-CounterLabel-CounterLabel-ZwXPe" data-component="ButtonCounter" - data-scheme="secondary" + data-variant="secondary" > 2 @@ -4156,7 +4156,7 @@ exports[`renderer/components/notifications/AccountNotifications.tsx should toggl aria-hidden="true" class="prc-Button-CounterLabel-f5-4u prc-CounterLabel-CounterLabel-ZwXPe" data-component="ButtonCounter" - data-scheme="secondary" + data-variant="secondary" > 2 @@ -4357,7 +4357,7 @@ exports[`renderer/components/notifications/AccountNotifications.tsx should toggl aria-hidden="true" class="prc-Button-CounterLabel-f5-4u prc-CounterLabel-CounterLabel-ZwXPe" data-component="ButtonCounter" - data-scheme="secondary" + data-variant="secondary" > 2 diff --git a/src/renderer/components/notifications/__snapshots__/RepositoryNotifications.test.tsx.snap b/src/renderer/components/notifications/__snapshots__/RepositoryNotifications.test.tsx.snap index 37c845653..9c80f3c7b 100644 --- a/src/renderer/components/notifications/__snapshots__/RepositoryNotifications.test.tsx.snap +++ b/src/renderer/components/notifications/__snapshots__/RepositoryNotifications.test.tsx.snap @@ -80,7 +80,7 @@ exports[`renderer/components/notifications/RepositoryNotifications.tsx should re aria-hidden="true" class="prc-Button-CounterLabel-f5-4u prc-CounterLabel-CounterLabel-ZwXPe" data-component="ButtonCounter" - data-scheme="secondary" + data-variant="secondary" > 2 @@ -281,7 +281,7 @@ exports[`renderer/components/notifications/RepositoryNotifications.tsx should re aria-hidden="true" class="prc-Button-CounterLabel-f5-4u prc-CounterLabel-CounterLabel-ZwXPe" data-component="ButtonCounter" - data-scheme="secondary" + data-variant="secondary" > 2 @@ -539,7 +539,7 @@ exports[`renderer/components/notifications/RepositoryNotifications.tsx should re aria-hidden="true" class="prc-Button-CounterLabel-f5-4u prc-CounterLabel-CounterLabel-ZwXPe" data-component="ButtonCounter" - data-scheme="secondary" + data-variant="secondary" > 2 @@ -740,7 +740,7 @@ exports[`renderer/components/notifications/RepositoryNotifications.tsx should re aria-hidden="true" class="prc-Button-CounterLabel-f5-4u prc-CounterLabel-CounterLabel-ZwXPe" data-component="ButtonCounter" - data-scheme="secondary" + data-variant="secondary" > 2 @@ -1005,7 +1005,7 @@ exports[`renderer/components/notifications/RepositoryNotifications.tsx should to aria-hidden="true" class="prc-Button-CounterLabel-f5-4u prc-CounterLabel-CounterLabel-ZwXPe" data-component="ButtonCounter" - data-scheme="secondary" + data-variant="secondary" > 2 @@ -1206,7 +1206,7 @@ exports[`renderer/components/notifications/RepositoryNotifications.tsx should to aria-hidden="true" class="prc-Button-CounterLabel-f5-4u prc-CounterLabel-CounterLabel-ZwXPe" data-component="ButtonCounter" - data-scheme="secondary" + data-variant="secondary" > 2 @@ -1414,7 +1414,7 @@ exports[`renderer/components/notifications/RepositoryNotifications.tsx should to aria-hidden="true" class="prc-Button-CounterLabel-f5-4u prc-CounterLabel-CounterLabel-ZwXPe" data-component="ButtonCounter" - data-scheme="secondary" + data-variant="secondary" > 2 @@ -1679,7 +1679,7 @@ exports[`renderer/components/notifications/RepositoryNotifications.tsx should us aria-hidden="true" class="prc-Button-CounterLabel-f5-4u prc-CounterLabel-CounterLabel-ZwXPe" data-component="ButtonCounter" - data-scheme="secondary" + data-variant="secondary" > 2 @@ -1887,7 +1887,7 @@ exports[`renderer/components/notifications/RepositoryNotifications.tsx should us aria-hidden="true" class="prc-Button-CounterLabel-f5-4u prc-CounterLabel-CounterLabel-ZwXPe" data-component="ButtonCounter" - data-scheme="secondary" + data-variant="secondary" > 2