From 4d24f0daedd31dffc8fac2a860659de197c52615 Mon Sep 17 00:00:00 2001 From: Daniel Fosco Date: Fri, 6 Feb 2026 13:36:52 +0100 Subject: [PATCH 1/2] Fix and update styling for react-primer --- .gitignore | 1 + AGENTS.md | 49 +++ package-lock.json | 63 +++- src/App.js | 16 + src/components/ColorModeSwitcher.jsx | 61 ++-- src/components/ColorModeSwitcher.module.css | 20 +- src/components/GlobalNavigation.jsx | 63 ++++ src/components/Playground.jsx | 90 +++++ src/components/SidebarNavigation.jsx | 28 ++ src/components/globalNavigation.module.css | 26 ++ src/components/playground.module.css | 57 +++ src/pages/Issues.jsx | 44 +++ src/pages/Overview.jsx | 47 +++ src/pages/index.jsx | 103 +----- src/pages/index.module.css | 97 ----- src/pages/overview.module.css | 14 + src/reset.css | 2 - src/router.ts | 2 + src/templates/Application/Application.jsx | 25 ++ .../Application/application.module.css | 26 ++ yarn.lock | 342 +++--------------- 21 files changed, 659 insertions(+), 517 deletions(-) create mode 100644 AGENTS.md create mode 100644 src/App.js create mode 100644 src/components/GlobalNavigation.jsx create mode 100644 src/components/Playground.jsx create mode 100644 src/components/SidebarNavigation.jsx create mode 100644 src/components/globalNavigation.module.css create mode 100644 src/components/playground.module.css create mode 100644 src/pages/Issues.jsx create mode 100644 src/pages/Overview.jsx delete mode 100644 src/pages/index.module.css create mode 100644 src/pages/overview.module.css create mode 100644 src/templates/Application/Application.jsx create mode 100644 src/templates/Application/application.module.css diff --git a/.gitignore b/.gitignore index 4d29575..800f3a8 100644 --- a/.gitignore +++ b/.gitignore @@ -10,6 +10,7 @@ # production /build +/dist # misc .DS_Store diff --git a/AGENTS.md b/AGENTS.md new file mode 100644 index 0000000..c1e83d8 --- /dev/null +++ b/AGENTS.md @@ -0,0 +1,49 @@ +# Copilot Instructions + +## Build & Development + +```bash +npm install # Install dependencies +npm run dev # Start dev server at http://localhost:1234 +npm run build # Production build +npm run lint # Run ESLint +``` + +## Architecture + +This is a **Primer React prototyping app** using Vite and file-based routing via `@generouted/react-router`. + +### Routing + +Routes are auto-generated from the file structure in `src/pages/`: +- `src/pages/index.jsx` → `/` +- `src/pages/Overview.jsx` → `/Overview` +- `src/pages/Issues.jsx` → `/Issues` + +To create a new page, add a `.jsx` file to `src/pages/` and it will automatically be available at the corresponding URL path. + +### Component Organization + +- **`src/pages/`** - Route components (each file = one route) +- **`src/components/`** - Reusable UI components (GlobalNavigation, SidebarNavigation, etc.) +- **`src/templates/`** - Page layout templates (e.g., `Application` template with header + sidebar) + +### Layout Pattern + +Pages typically use the `Application` template which provides: +- Global navigation header with customizable `topnav` items +- Optional `sidenav` sidebar navigation +- Main content area via `children` + +```jsx + + {/* Page content */} + +``` + +## Key Conventions + +- Use **Primer React** components from `@primer/react` for all UI elements +- Use **Primer Octicons** from `@primer/octicons-react` for icons +- Use **CSS Modules** (`*.module.css`) for component-specific styles +- Default theme is `night` mode with `dark_dimmed` scheme (configured in `src/index.jsx`) diff --git a/package-lock.json b/package-lock.json index 5c2ded5..fe1e393 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1689,6 +1689,7 @@ "cpu": [ "ppc64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -1705,6 +1706,7 @@ "cpu": [ "arm" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -1721,6 +1723,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -1737,6 +1740,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -1753,6 +1757,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -1769,6 +1774,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -1785,6 +1791,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -1801,6 +1808,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -1817,6 +1825,7 @@ "cpu": [ "arm" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -1833,6 +1842,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -1849,6 +1859,7 @@ "cpu": [ "ia32" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -1865,6 +1876,7 @@ "cpu": [ "loong64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -1881,6 +1893,7 @@ "cpu": [ "mips64el" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -1897,6 +1910,7 @@ "cpu": [ "ppc64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -1913,6 +1927,7 @@ "cpu": [ "riscv64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -1929,6 +1944,7 @@ "cpu": [ "s390x" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -1945,6 +1961,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -1961,6 +1978,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -1977,6 +1995,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -1993,6 +2012,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2009,6 +2029,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2025,6 +2046,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2041,6 +2063,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2057,6 +2080,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2073,6 +2097,7 @@ "cpu": [ "ia32" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2089,6 +2114,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2582,6 +2608,7 @@ "cpu": [ "arm" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2595,6 +2622,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2608,6 +2636,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2621,6 +2650,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2634,6 +2664,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2647,6 +2678,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2660,6 +2692,7 @@ "cpu": [ "arm" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2673,6 +2706,7 @@ "cpu": [ "arm" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2686,6 +2720,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2699,6 +2734,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2712,6 +2748,7 @@ "cpu": [ "loong64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2725,6 +2762,7 @@ "cpu": [ "ppc64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2738,6 +2776,7 @@ "cpu": [ "riscv64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2751,6 +2790,7 @@ "cpu": [ "riscv64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2764,6 +2804,7 @@ "cpu": [ "s390x" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2777,6 +2818,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2790,6 +2832,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2803,6 +2846,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2816,6 +2860,7 @@ "cpu": [ "arm64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2829,6 +2874,7 @@ "cpu": [ "ia32" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2842,6 +2888,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2855,6 +2902,7 @@ "cpu": [ "x64" ], + "dev": true, "license": "MIT", "optional": true, "os": [ @@ -2910,6 +2958,7 @@ "version": "1.0.8", "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.8.tgz", "integrity": "sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w==", + "dev": true, "license": "MIT" }, "node_modules/@types/json-schema": { @@ -2923,7 +2972,7 @@ "version": "19.2.5", "resolved": "https://registry.npmjs.org/@types/react/-/react-19.2.5.tgz", "integrity": "sha512-keKxkZMqnDicuvFoJbzrhbtdLSPhj/rZThDlKWCDbgXmUg0rEUFtRssDXKYmtXluZlIqiC5VqkCgRwzuyLHKHw==", - "devOptional": true, + "dev": true, "license": "MIT", "dependencies": { "csstype": "^3.0.2" @@ -2933,7 +2982,7 @@ "version": "19.2.3", "resolved": "https://registry.npmjs.org/@types/react-dom/-/react-dom-19.2.3.tgz", "integrity": "sha512-jp2L/eY6fn+KgVVQAOqYItbF0VY/YApe5Mz2F0aykSO8gx31bYCZyvSeYxCHKvzHG5eZjc+zyaS5BrBWya2+kQ==", - "devOptional": true, + "dev": true, "license": "MIT", "peerDependencies": { "@types/react": "^19.2.0" @@ -3938,6 +3987,7 @@ "version": "0.27.1", "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.27.1.tgz", "integrity": "sha512-yY35KZckJJuVVPXpvjgxiCuVEJT67F6zDeVTv4rizyPrfGBUpZQsvmxnN+C371c2esD/hNMjj4tpBhuueLN7aA==", + "dev": true, "hasInstallScript": true, "license": "MIT", "bin": { @@ -4366,6 +4416,7 @@ "version": "2.3.3", "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", + "dev": true, "hasInstallScript": true, "license": "MIT", "optional": true, @@ -5696,6 +5747,7 @@ "version": "8.5.6", "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.5.6.tgz", "integrity": "sha512-3Ybi1tAuwAP9s0r1UQ2J4n5Y0G05bJkpUIO0/bI9MhwmD70S5aTWbXGBwxHrelT+XM1k6dM0pk+SwNkpTRN7Pg==", + "dev": true, "funding": [ { "type": "opencollective", @@ -6678,6 +6730,7 @@ "version": "4.53.2", "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.53.2.tgz", "integrity": "sha512-MHngMYwGJVi6Fmnk6ISmnk7JAHRNF0UkuucA0CUW3N3a4KnONPEZz+vUanQP/ZC/iY1Qkf3bwPWzyY84wEks1g==", + "dev": true, "license": "MIT", "dependencies": { "@types/estree": "1.0.8" @@ -7181,6 +7234,7 @@ "version": "0.2.15", "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.15.tgz", "integrity": "sha512-j2Zq4NyQYG5XMST4cbs02Ak8iJUdxRM0XI5QyxXuZOzKOINmWurp3smXu3y5wDcJrptwpSjgXHzIQxR0omXljQ==", + "dev": true, "license": "MIT", "dependencies": { "fdir": "^6.5.0", @@ -7197,6 +7251,7 @@ "version": "6.5.0", "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz", "integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==", + "dev": true, "license": "MIT", "engines": { "node": ">=12.0.0" @@ -7214,6 +7269,7 @@ "version": "4.0.3", "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.3.tgz", "integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==", + "dev": true, "license": "MIT", "engines": { "node": ">=12" @@ -7401,6 +7457,7 @@ "version": "7.3.1", "resolved": "https://registry.npmjs.org/vite/-/vite-7.3.1.tgz", "integrity": "sha512-w+N7Hifpc3gRjZ63vYBXA56dvvRlNWRczTdmCBBa+CotUzAPf5b7YMdMR/8CQoeYE5LX3W4wj6RYTgonm1b9DA==", + "dev": true, "license": "MIT", "dependencies": { "esbuild": "^0.27.0", @@ -7475,6 +7532,7 @@ "version": "6.5.0", "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz", "integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==", + "dev": true, "license": "MIT", "engines": { "node": ">=12.0.0" @@ -7492,6 +7550,7 @@ "version": "4.0.3", "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.3.tgz", "integrity": "sha512-5gTmgEY/sqK6gFXLIsQNH19lWb4ebPDLA4SdLP7dsWkIXHWlG66oPuVvXSGFPppYZz8ZDZq0dYYrbHfBCVUb1Q==", + "dev": true, "license": "MIT", "engines": { "node": ">=12" diff --git a/src/App.js b/src/App.js new file mode 100644 index 0000000..3731c48 --- /dev/null +++ b/src/App.js @@ -0,0 +1,16 @@ +import { ThemeProvider, BaseStyles } from '@primer/react' + +import Playground from './Playground' +import ColorModeSwitcher from './ColorModeSwitcher' +function App() { + return ( + + + + + + + ) +} + +export default App diff --git a/src/components/ColorModeSwitcher.jsx b/src/components/ColorModeSwitcher.jsx index 19e6725..356cae2 100644 --- a/src/components/ColorModeSwitcher.jsx +++ b/src/components/ColorModeSwitcher.jsx @@ -1,7 +1,7 @@ -import { useTheme, ActionMenu, ActionList } from '@primer/react' +import { useTheme, ActionMenu, ActionList, Stack } from '@primer/react' import { SunIcon, MoonIcon } from '@primer/octicons-react' -import styles from './ColorModeSwitcher.module.css' +import styles from './colorModeSwitcher.module.css' function ColorModeSwitcher() { const { setDayScheme, setNightScheme, colorScheme } = useTheme() @@ -47,31 +47,38 @@ function ColorModeSwitcher() { const current = schemes.find((scheme) => scheme.value === colorScheme) return ( -
- - - -
{current.name}
-
- - - - {schemes.map((scheme) => ( - setScheme(scheme.value)} - > - {scheme.name} - - ))} - - - -
-
+ + + + + + + {' '} + {current.name} + + + + + + {schemes.map((scheme) => ( + setScheme(scheme.value)} + > + {scheme.name} + + ))} + + + + + + ) } -export default ColorModeSwitcher +export default ColorModeSwitcher \ No newline at end of file diff --git a/src/components/ColorModeSwitcher.module.css b/src/components/ColorModeSwitcher.module.css index 7cb21fa..7681734 100644 --- a/src/components/ColorModeSwitcher.module.css +++ b/src/components/ColorModeSwitcher.module.css @@ -1,11 +1,15 @@ -.switcher { - position: absolute; - top: 0; - right: 0; - padding: var(--base-size-12); +.container { + position: absolute; + top: 0; + right: 0; } -.btnText { - display: inline-block; - margin-left: var(--base-size-8); +.buttonWrapper { + position: relative; + justify-content: flex-end; +} + +.label { + display: inline-block; + margin-inline-start: var(--base-size-8); } diff --git a/src/components/GlobalNavigation.jsx b/src/components/GlobalNavigation.jsx new file mode 100644 index 0000000..54aa41f --- /dev/null +++ b/src/components/GlobalNavigation.jsx @@ -0,0 +1,63 @@ +import {UnderlineNav, Stack, IconButton, Text} from '@primer/react' +import { + IssueOpenedIcon, + ThreeBarsIcon, + CodeIcon, + GitPullRequestIcon, + CommentDiscussionIcon, + ShieldIcon, + PlayIcon, + ProjectIcon, + GraphIcon, + MarkGithubIcon, +} from '@primer/octicons-react' + +import styles from './globalNavigation.module.css' + +const defaultNav = [ + { icon: CodeIcon, label: 'Code', current: true }, + { icon: IssueOpenedIcon, label: 'Issues', counter: 30 }, + { icon: GitPullRequestIcon, label: 'Pull Requests', counter: 3 }, + { icon: CommentDiscussionIcon, label: 'Discussions' }, + { icon: PlayIcon, label: 'Actions' }, + { icon: ProjectIcon, label: 'Projects', counter: 7 }, + { icon: ShieldIcon, label: 'Security', counter: 12 }, + { icon: GraphIcon, label: 'Insights' } +]; + +export default function GlobalNavigation({ items = defaultNav, title, subtitle }) { + return ( + +
+ + + + {title ? title : 'title'} + {subtitle && ( + <> + / + {subtitle ? subtitle : 'subtitle'} + + )} + + + +
+ + {items.map((item) => ( + + {item.label} + + ))} + +
+ ) +} \ No newline at end of file diff --git a/src/components/Playground.jsx b/src/components/Playground.jsx new file mode 100644 index 0000000..ba72c18 --- /dev/null +++ b/src/components/Playground.jsx @@ -0,0 +1,90 @@ +import { Stack, Text, Link } from '@primer/react' +import { + MarkGithubIcon, + CheckIcon, + CommentIcon, + SmileyIcon +} from '@primer/octicons-react' + +import MonaLoadingImage from '../images/mona-loading.gif' +import styles from './playground.module.css' + +function Playground() { + /* + WELCOME TO MONA's 😽🐙 PLAYGROUND + Delete everything in here or play with the existing Mona playground code to get familiar with Primer React. + Documentation: https://primer.style/react + Documentation colors: https://primer.style/primitives/colors + */ + + return ( +
+ + + + Mona's playground successfully initialised... + + + Visit src/Playground.js{' '} + and start building your own layouts using Primer. + +
+ mona +
+
+
+
+ ) +} + +function CodeLine({ icon: IconComponent, iconColor, children }) { + return ( + + + + + + {children} + + + ) +} + +function Footer() { + return ( + + + + Tips + + + Before you get started check out our + {' '} + + Primer React Documentation + + {' '} + and + {' '} + + Primer Templates (staff only) + + + + ) +} + +export default Playground \ No newline at end of file diff --git a/src/components/SidebarNavigation.jsx b/src/components/SidebarNavigation.jsx new file mode 100644 index 0000000..4ccf8c8 --- /dev/null +++ b/src/components/SidebarNavigation.jsx @@ -0,0 +1,28 @@ +import {NavList} from '@primer/react' +import {IssueOpenedIcon, SmileyIcon, PersonIcon, MentionIcon} from '@primer/octicons-react' + +const defaultNav = [ + { icon: IssueOpenedIcon, label: 'Open issues', url: '#' }, + { icon: SmileyIcon, label: 'Your issues', url: '#' }, + { icon: PersonIcon, label: 'Assigned to you', url: '#', current: true }, + { icon: MentionIcon, label: 'Mentioning you', url: '#' } +] + +export default function SidebarNavigation({ items = defaultNav }) { + return ( + + {items.map((item) => ( + + + + + {item.label} + + ))} + + ) +} \ No newline at end of file diff --git a/src/components/globalNavigation.module.css b/src/components/globalNavigation.module.css new file mode 100644 index 0000000..ebe2138 --- /dev/null +++ b/src/components/globalNavigation.module.css @@ -0,0 +1,26 @@ +.header { + background-color: var(--bgColor-inset); + width: 100%; + max-width: 100%; +} + +.headerContent { + display: flex; + gap: var(--base-size-16); + align-items: center; + padding-inline: var(--base-size-16); + padding-block-start: var(--base-size-16); + padding-block-end: var(--base-size-8); +} + +.titleWrapper { + font-size: var(--text-body-size-medium); +} + +.separator { + color: var(--fgColor-muted); +} + +.subtitle { + font-weight: var(--base-text-weight-semibold); +} diff --git a/src/components/playground.module.css b/src/components/playground.module.css new file mode 100644 index 0000000..fcea65b --- /dev/null +++ b/src/components/playground.module.css @@ -0,0 +1,57 @@ +.container { + background-color: var(--bgColor-default); + width: 100%; + min-height: 100vh; + display: flex; + flex-direction: column; + justify-content: center; + align-items: center; + padding: var(--base-size-32); +} + +.contentBox { + max-width: 600px; + width: 100%; + height: 300px; + background-color: var(--bgColor-muted); + border-radius: var(--borderRadius-medium); + margin-block: var(--base-size-40); +} + +.codeLine { + color: var(--fgColor-default); + margin-block-end: var(--base-size-8); +} + +.iconWrapper { + margin-block-start: 2px; + width: 20px; + min-width: 20px; +} + +.codeText { + flex: 1; + font-size: var(--text-body-size-medium); + font-family: var(--fontStack-monospace); + margin-inline-start: var(--base-size-8); +} + +.monaWrapper { + display: inline-block; + margin-inline-start: var(--base-size-16); + margin-block-start: var(--base-size-8); +} + +.footerHeader { + margin-inline-end: var(--base-size-8); + margin-block-end: var(--base-size-8); +} + +.tipsText { + color: var(--fgColor-accent); + font-size: medium; +} + +.warningText { + color: var(--fgColor-attention); +} diff --git a/src/pages/Issues.jsx b/src/pages/Issues.jsx new file mode 100644 index 0000000..51c97de --- /dev/null +++ b/src/pages/Issues.jsx @@ -0,0 +1,44 @@ +import Application from '../templates/Application/Application.jsx' + +import { + IssueOpenedIcon, + ThreeBarsIcon, + CodeIcon, + GitPullRequestIcon, + CommentDiscussionIcon, + ShieldIcon, + PlayIcon, + ProjectIcon, + GraphIcon, + MarkGithubIcon, + SmileyIcon, + PersonIcon, + MentionIcon +} from '@primer/octicons-react' + +const topnav = [ + { icon: CodeIcon, label: 'Code', url: '/' }, + { icon: IssueOpenedIcon, label: 'Issues', counter: 10, url: '#issues', current: true }, + { icon: GitPullRequestIcon, label: 'Pull Requests', counter: 3, url: '/overview' }, + { icon: CommentDiscussionIcon, label: 'Discussions' }, + { icon: PlayIcon, label: 'Actions' }, + { icon: ProjectIcon, label: 'Projects', counter: 7 }, + { icon: ShieldIcon, label: 'Security', counter: 12 }, + { icon: GraphIcon, label: 'Insights' } +]; + +const sidenav = [ + { icon: IssueOpenedIcon, label: 'Open issues', url: '' }, + { icon: SmileyIcon, label: 'Your issues', url: '' }, + { icon: PersonIcon, label: 'Assigned to you', url: '', current: true }, + { icon: MentionIcon, label: 'Mentioning you', url: '' } +] +function Issues() { + return ( + + This is the issues page + + ) +} + +export default Issues diff --git a/src/pages/Overview.jsx b/src/pages/Overview.jsx new file mode 100644 index 0000000..81e51b6 --- /dev/null +++ b/src/pages/Overview.jsx @@ -0,0 +1,47 @@ +import { Stack, Text, Button } from '@primer/react' +import { CheckIcon } from '@primer/octicons-react' +import Application from '../templates/Application/Application.jsx' +import styles from "./overview.module.css"; + +import { + IssueOpenedIcon, + ThreeBarsIcon, + CodeIcon, + GitPullRequestIcon, + CommentDiscussionIcon, + ShieldIcon, + PlayIcon, + ProjectIcon, + GraphIcon, + MarkGithubIcon, + SmileyIcon, + PersonIcon, + MentionIcon, + HomeIcon +} from '@primer/octicons-react' + +const topnav = [ + { icon: HomeIcon, label: 'Overview', url: '/', current: true }, + { icon: IssueOpenedIcon, label: 'Organizations', url: '#issues' }, + { icon: GitPullRequestIcon, label: 'People' }, + { icon: CommentDiscussionIcon, label: 'Policies' }, + { icon: PlayIcon, label: 'GitHub Connect' }, + { icon: ProjectIcon, label: 'Code Security', counter: 7 }, + { icon: ShieldIcon, label: 'Billing & Licensing', counter: 12 }, + { icon: GraphIcon, label: 'Settings' }, + { icon: GraphIcon, label: 'Compliance' } +]; + +function Overview() { + return ( + + Overview +
+ This is a card in the overview + +
+
+ ) +} + +export default Overview diff --git a/src/pages/index.jsx b/src/pages/index.jsx index 13f47b1..f9ae3b1 100644 --- a/src/pages/index.jsx +++ b/src/pages/index.jsx @@ -1,100 +1,13 @@ -import { Link } from '@primer/react' -import { - MarkGithubIcon, - CheckIcon, - CommentIcon, - MortarBoardIcon, -} from '@primer/octicons-react' +import Playground from '../components/Playground.jsx' +import ColorModeSwitcher from '../components/ColorModeSwitcher.jsx' -import MonaLoadingImage from '../images/mona-loading.gif' - -import styles from './index.module.css' - -function Playground() { - /* - WELCOME TO MONA's 😽🐙 PLAYGROUND - Delete everything in here or play with the existing Mona playground code to get familiar with Primer React. - Documentation: https://primer.style/product/getting-started/react/ - Documentation vars: https://primer.style/primitives/ - */ - - return ( -
-
- -
-
-
    - - Mona's playground successfully initialised... - - - Visit{' '} - - src/pages/index.jsx - {' '} - and start building your own layouts using Primer. - -
  • - Loading animation -
  • -
-
-
-
- ) -} - -function CodeLine({ icon, iconColor, children }) { - const Icon = icon - return ( -
  • -
    - -
    -
    {children}
    -
  • - ) -} - -function Footer() { +function Code() { return ( - + <> + + + ) } -export default Playground +export default Code diff --git a/src/pages/index.module.css b/src/pages/index.module.css deleted file mode 100644 index 1018d2c..0000000 --- a/src/pages/index.module.css +++ /dev/null @@ -1,97 +0,0 @@ -/* - WELCOME TO MONA's CSS 😽🐙 PLAYGROUND - This CSS file is used to style the divs in your playground. - We use var() to access the CSS variables defined in the theme. - Find all the vars here: https://primer.style/primitives/storybook/ - */ - -.page { - background: var(--bgColor-default); - width: 100%; - min-height: 100dvh; - display: flex; - flex-direction: column; - justify-content: center; - align-items: center; - padding: var(--base-size-16); -} - -.terminal { - max-width: 600px; - width: 100%; - height: 300px; - background: var(--bgColor-emphasis); - border-radius: var(--borderRadius-large); - padding: var(--base-size-20); - margin-top: var(--base-size-28); - margin-bottom: var(--base-size-28); -} - -.codeline { - display: flex; - color: var(--fgColor-onEmphasis); - margin-bottom: var(--base-size-8); -} - -.codelineIcon { - display: flex; - margin-top: 2px; - width: 20px; - min-width: 20px; -} - -.codelineText { - flex: 1; - font-size: var(--text-body-size-medium); - font-family: var(--fontStack-monospace); - margin-left: var(--base-size-8); -} - -.loader { - display: inline-block; - margin-left: var(--base-size-12); - margin-top: var(--base-size-8); -} - -.fileName { - color: var(--fgColor-attention); -} - -/* - The footer shows a tip to the user and includes responsive styles. - It is displayed at the bottom of the page. - - Find all the media vars here: https://primer.style/primitives/storybook/?path=/story/size-functional-viewport--viewport -*/ - -.footer { - text-align: center; - font-size: var(--text-body-size-medium); - - @media (--viewportRange-narrow) { - display: block; - } -} - -.tip { - margin-right: var(--base-size-8); - color: var(--fgColor-attention); - display: inline-block; - - @media (--viewportRange-narrow) { - margin-right: var(--base-size-8); - } -} - -.tipText { - display: inline-block; - - @media (--viewportRange-narrow) { - margin-top: var(--base-size-8); - display: block; - } -} - -.tipIcon { - margin-right: var(--base-size-8); -} diff --git a/src/pages/overview.module.css b/src/pages/overview.module.css new file mode 100644 index 0000000..b113311 --- /dev/null +++ b/src/pages/overview.module.css @@ -0,0 +1,14 @@ +.title { + margin-bottom: var(--base-size-16) +} +.card { + border-width: 1px; + border-style: solid; + border-radius: var(--borderRadius-medium); + border-color: var(--borderColor-default); + padding: var(--base-size-16); +} + +.cardText { + margin-bottom: var(--base-size-16) +} \ No newline at end of file diff --git a/src/reset.css b/src/reset.css index e6e30bc..5d4955e 100644 --- a/src/reset.css +++ b/src/reset.css @@ -1,5 +1,3 @@ -@import-normalize; /* bring in normalize.css styles */ - * { margin: 0; padding: 0; diff --git a/src/router.ts b/src/router.ts index b5eeedc..7fd7066 100644 --- a/src/router.ts +++ b/src/router.ts @@ -5,6 +5,8 @@ import { components, hooks, utils } from '@generouted/react-router/client' export type Path = | `/` + | `/Issues` + | `/Overview` export type Params = { diff --git a/src/templates/Application/Application.jsx b/src/templates/Application/Application.jsx new file mode 100644 index 0000000..bdda18c --- /dev/null +++ b/src/templates/Application/Application.jsx @@ -0,0 +1,25 @@ +import { Stack } from '@primer/react' +import GlobalNavigation from '../../components/GlobalNavigation.jsx' +import SidebarNavigation from '../../components/SidebarNavigation.jsx' + +import styles from "./application.module.css"; + +function Application({ children, title, subtitle, topnav, sidenav }) { + return ( + + +
    + {sidenav && + + } +
    + {children} +
    +
    +
    + ) +} + +export default Application diff --git a/src/templates/Application/application.module.css b/src/templates/Application/application.module.css new file mode 100644 index 0000000..c2cd214 --- /dev/null +++ b/src/templates/Application/application.module.css @@ -0,0 +1,26 @@ +.wrapper { + display: grid; + grid-template-columns: max-content 1fr; + min-height: 100vh; +} + +.navigation { + width: 320px; + padding-inline: var(--base-size-16); + border-inline-end: 1px solid var(--borderColor-default) +} + +.main { + min-width: 100vw; + padding: var(--base-size-16); +} + +.container { + background-color: var(--bgColor-default); +} + +/* Override to fix a broken hover state on the Sidebar Navigation component */ +[data-component="ActionList.Item--DividerContainer"]:hover, +[data-component="ActionList.Item--DividerContainer"] *:hover { + background-color: transparent !important; +} \ No newline at end of file diff --git a/yarn.lock b/yarn.lock index 4af02d1..83b1c41 100644 --- a/yarn.lock +++ b/yarn.lock @@ -451,7 +451,7 @@ "@csstools/postcss-position-area-property@^1.0.0": version "1.0.0" - resolved "https://registry.yarnpkg.com/@csstools/postcss-position-area-property/-/postcss-position-area-property-1.0.0.tgz#41f0cbc737a81a42890d5ec035fa26a45f4f4ad4" + resolved "https://registry.npmjs.org/@csstools/postcss-position-area-property/-/postcss-position-area-property-1.0.0.tgz" integrity sha512-fUP6KR8qV2NuUZV3Cw8itx0Ep90aRjAZxAEzC3vrl6yjFv+pFsQbR18UuQctEKmA72K9O27CoYiKEgXxkqjg8Q== "@csstools/postcss-progressive-custom-properties@^4.2.1": @@ -463,7 +463,7 @@ "@csstools/postcss-property-rule-prelude-list@^1.0.0": version "1.0.0" - resolved "https://registry.yarnpkg.com/@csstools/postcss-property-rule-prelude-list/-/postcss-property-rule-prelude-list-1.0.0.tgz#700b7aa41228c02281bda074ae778f36a09da188" + resolved "https://registry.npmjs.org/@csstools/postcss-property-rule-prelude-list/-/postcss-property-rule-prelude-list-1.0.0.tgz" integrity sha512-IxuQjUXq19fobgmSSvUDO7fVwijDJaZMvWQugxfEUxmjBeDCVaDuMpsZ31MsTm5xbnhA+ElDi0+rQ7sQQGisFA== dependencies: "@csstools/css-parser-algorithms" "^3.0.5" @@ -516,14 +516,14 @@ "@csstools/postcss-syntax-descriptor-syntax-production@^1.0.1": version "1.0.1" - resolved "https://registry.yarnpkg.com/@csstools/postcss-syntax-descriptor-syntax-production/-/postcss-syntax-descriptor-syntax-production-1.0.1.tgz#98590e372e547cdae60aef47cfee11f3881307dd" + resolved "https://registry.npmjs.org/@csstools/postcss-syntax-descriptor-syntax-production/-/postcss-syntax-descriptor-syntax-production-1.0.1.tgz" integrity sha512-GneqQWefjM//f4hJ/Kbox0C6f2T7+pi4/fqTqOFGTL3EjnvOReTqO1qUQ30CaUjkwjYq9qZ41hzarrAxCc4gow== dependencies: "@csstools/css-tokenizer" "^3.0.4" "@csstools/postcss-system-ui-font-family@^1.0.0": version "1.0.0" - resolved "https://registry.yarnpkg.com/@csstools/postcss-system-ui-font-family/-/postcss-system-ui-font-family-1.0.0.tgz#bd65b79078debf6f67b318dc9b71a8f9fa16f8c8" + resolved "https://registry.npmjs.org/@csstools/postcss-system-ui-font-family/-/postcss-system-ui-font-family-1.0.0.tgz" integrity sha512-s3xdBvfWYfoPSBsikDXbuorcMG1nN1M6GdU0qBsGfcmNR0A/qhloQZpTxjA3Xsyrk1VJvwb2pOfiOT3at/DuIQ== dependencies: "@csstools/css-parser-algorithms" "^3.0.5" @@ -568,7 +568,7 @@ "@emotion/is-prop-valid@1.2.2": version "1.2.2" - resolved "https://registry.yarnpkg.com/@emotion/is-prop-valid/-/is-prop-valid-1.2.2.tgz#d4175076679c6a26faa92b03bb786f9e52612337" + resolved "https://registry.npmjs.org/@emotion/is-prop-valid/-/is-prop-valid-1.2.2.tgz" integrity sha512-uNsoYd37AFmaCdXlg6EYD1KaPOaRWRByMCYzbKUX4+hhMfrxdVSelShywL4JVaAeM/eHUOSprYBQls+/neX3pw== dependencies: "@emotion/memoize" "^0.8.1" @@ -580,139 +580,14 @@ "@emotion/unitless@0.8.1": version "0.8.1" - resolved "https://registry.yarnpkg.com/@emotion/unitless/-/unitless-0.8.1.tgz#182b5a4704ef8ad91bde93f7a860a88fd92c79a3" + resolved "https://registry.npmjs.org/@emotion/unitless/-/unitless-0.8.1.tgz" integrity sha512-KOEGMu6dmJZtpadb476IsZBclKvILjopjUii3V+7MnXIQCYh8W3NgNcgwo21n9LXZX6EDIKvqfjYxXebDwxKmQ== -"@esbuild/aix-ppc64@0.27.1": - version "0.27.1" - resolved "https://registry.yarnpkg.com/@esbuild/aix-ppc64/-/aix-ppc64-0.27.1.tgz#116edcd62c639ed8ab551e57b38251bb28384de4" - integrity sha512-HHB50pdsBX6k47S4u5g/CaLjqS3qwaOVE5ILsq64jyzgMhLuCuZ8rGzM9yhsAjfjkbgUPMzZEPa7DAp7yz6vuA== - -"@esbuild/android-arm64@0.27.1": - version "0.27.1" - resolved "https://registry.yarnpkg.com/@esbuild/android-arm64/-/android-arm64-0.27.1.tgz#31c00d864c80f6de1900a11de8a506dbfbb27349" - integrity sha512-45fuKmAJpxnQWixOGCrS+ro4Uvb4Re9+UTieUY2f8AEc+t7d4AaZ6eUJ3Hva7dtrxAAWHtlEFsXFMAgNnGU9uQ== - -"@esbuild/android-arm@0.27.1": - version "0.27.1" - resolved "https://registry.yarnpkg.com/@esbuild/android-arm/-/android-arm-0.27.1.tgz#d2b73ab0ba894923a1d1378fd4b15cc20985f436" - integrity sha512-kFqa6/UcaTbGm/NncN9kzVOODjhZW8e+FRdSeypWe6j33gzclHtwlANs26JrupOntlcWmB0u8+8HZo8s7thHvg== - -"@esbuild/android-x64@0.27.1": - version "0.27.1" - resolved "https://registry.yarnpkg.com/@esbuild/android-x64/-/android-x64-0.27.1.tgz#d9f74d8278191317250cfe0c15a13f410540b122" - integrity sha512-LBEpOz0BsgMEeHgenf5aqmn/lLNTFXVfoWMUox8CtWWYK9X4jmQzWjoGoNb8lmAYml/tQ/Ysvm8q7szu7BoxRQ== - "@esbuild/darwin-arm64@0.27.1": version "0.27.1" - resolved "https://registry.yarnpkg.com/@esbuild/darwin-arm64/-/darwin-arm64-0.27.1.tgz#baf6914b8c57ed9d41f9de54023aa3ff9b084680" + resolved "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.27.1.tgz" integrity sha512-veg7fL8eMSCVKL7IW4pxb54QERtedFDfY/ASrumK/SbFsXnRazxY4YykN/THYqFnFwJ0aVjiUrVG2PwcdAEqQQ== -"@esbuild/darwin-x64@0.27.1": - version "0.27.1" - resolved "https://registry.yarnpkg.com/@esbuild/darwin-x64/-/darwin-x64-0.27.1.tgz#64e37400795f780a76c858a118ff19681a64b4e0" - integrity sha512-+3ELd+nTzhfWb07Vol7EZ+5PTbJ/u74nC6iv4/lwIU99Ip5uuY6QoIf0Hn4m2HoV0qcnRivN3KSqc+FyCHjoVQ== - -"@esbuild/freebsd-arm64@0.27.1": - version "0.27.1" - resolved "https://registry.yarnpkg.com/@esbuild/freebsd-arm64/-/freebsd-arm64-0.27.1.tgz#6572f2f235933eee906e070dfaae54488ee60acd" - integrity sha512-/8Rfgns4XD9XOSXlzUDepG8PX+AVWHliYlUkFI3K3GB6tqbdjYqdhcb4BKRd7C0BhZSoaCxhv8kTcBrcZWP+xg== - -"@esbuild/freebsd-x64@0.27.1": - version "0.27.1" - resolved "https://registry.yarnpkg.com/@esbuild/freebsd-x64/-/freebsd-x64-0.27.1.tgz#83105dba9cf6ac4f44336799446d7f75c8c3a1e1" - integrity sha512-GITpD8dK9C+r+5yRT/UKVT36h/DQLOHdwGVwwoHidlnA168oD3uxA878XloXebK4Ul3gDBBIvEdL7go9gCUFzQ== - -"@esbuild/linux-arm64@0.27.1": - version "0.27.1" - resolved "https://registry.yarnpkg.com/@esbuild/linux-arm64/-/linux-arm64-0.27.1.tgz#035ff647d4498bdf16eb2d82801f73b366477dfa" - integrity sha512-W9//kCrh/6in9rWIBdKaMtuTTzNj6jSeG/haWBADqLLa9P8O5YSRDzgD5y9QBok4AYlzS6ARHifAb75V6G670Q== - -"@esbuild/linux-arm@0.27.1": - version "0.27.1" - resolved "https://registry.yarnpkg.com/@esbuild/linux-arm/-/linux-arm-0.27.1.tgz#3516c74d2afbe305582dbb546d60f7978a8ece7f" - integrity sha512-ieMID0JRZY/ZeCrsFQ3Y3NlHNCqIhTprJfDgSB3/lv5jJZ8FX3hqPyXWhe+gvS5ARMBJ242PM+VNz/ctNj//eA== - -"@esbuild/linux-ia32@0.27.1": - version "0.27.1" - resolved "https://registry.yarnpkg.com/@esbuild/linux-ia32/-/linux-ia32-0.27.1.tgz#788db5db8ecd3d75dd41c42de0fe8f1fd967a4a7" - integrity sha512-VIUV4z8GD8rtSVMfAj1aXFahsi/+tcoXXNYmXgzISL+KB381vbSTNdeZHHHIYqFyXcoEhu9n5cT+05tRv13rlw== - -"@esbuild/linux-loong64@0.27.1": - version "0.27.1" - resolved "https://registry.yarnpkg.com/@esbuild/linux-loong64/-/linux-loong64-0.27.1.tgz#8211f08b146916a6302ec2b8f87ec0cc4b62c49e" - integrity sha512-l4rfiiJRN7sTNI//ff65zJ9z8U+k6zcCg0LALU5iEWzY+a1mVZ8iWC1k5EsNKThZ7XCQ6YWtsZ8EWYm7r1UEsg== - -"@esbuild/linux-mips64el@0.27.1": - version "0.27.1" - resolved "https://registry.yarnpkg.com/@esbuild/linux-mips64el/-/linux-mips64el-0.27.1.tgz#cc58586ea83b3f171e727a624e7883a1c3eb4c04" - integrity sha512-U0bEuAOLvO/DWFdygTHWY8C067FXz+UbzKgxYhXC0fDieFa0kDIra1FAhsAARRJbvEyso8aAqvPdNxzWuStBnA== - -"@esbuild/linux-ppc64@0.27.1": - version "0.27.1" - resolved "https://registry.yarnpkg.com/@esbuild/linux-ppc64/-/linux-ppc64-0.27.1.tgz#632477bbd98175cf8e53a7c9952d17fb2d6d4115" - integrity sha512-NzdQ/Xwu6vPSf/GkdmRNsOfIeSGnh7muundsWItmBsVpMoNPVpM61qNzAVY3pZ1glzzAxLR40UyYM23eaDDbYQ== - -"@esbuild/linux-riscv64@0.27.1": - version "0.27.1" - resolved "https://registry.yarnpkg.com/@esbuild/linux-riscv64/-/linux-riscv64-0.27.1.tgz#35435a82435a8a750edf433b83ac0d10239ac3fe" - integrity sha512-7zlw8p3IApcsN7mFw0O1Z1PyEk6PlKMu18roImfl3iQHTnr/yAfYv6s4hXPidbDoI2Q0pW+5xeoM4eTCC0UdrQ== - -"@esbuild/linux-s390x@0.27.1": - version "0.27.1" - resolved "https://registry.yarnpkg.com/@esbuild/linux-s390x/-/linux-s390x-0.27.1.tgz#172edd7086438edacd86c0e2ea25ac9dbb62aac5" - integrity sha512-cGj5wli+G+nkVQdZo3+7FDKC25Uh4ZVwOAK6A06Hsvgr8WqBBuOy/1s+PUEd/6Je+vjfm6stX0kmib5b/O2Ykw== - -"@esbuild/linux-x64@0.27.1": - version "0.27.1" - resolved "https://registry.yarnpkg.com/@esbuild/linux-x64/-/linux-x64-0.27.1.tgz#09c771de9e2d8169d5969adf298ae21581f08c7f" - integrity sha512-z3H/HYI9MM0HTv3hQZ81f+AKb+yEoCRlUby1F80vbQ5XdzEMyY/9iNlAmhqiBKw4MJXwfgsh7ERGEOhrM1niMA== - -"@esbuild/netbsd-arm64@0.27.1": - version "0.27.1" - resolved "https://registry.yarnpkg.com/@esbuild/netbsd-arm64/-/netbsd-arm64-0.27.1.tgz#475ac0ce7edf109a358b1669f67759de4bcbb7c4" - integrity sha512-wzC24DxAvk8Em01YmVXyjl96Mr+ecTPyOuADAvjGg+fyBpGmxmcr2E5ttf7Im8D0sXZihpxzO1isus8MdjMCXQ== - -"@esbuild/netbsd-x64@0.27.1": - version "0.27.1" - resolved "https://registry.yarnpkg.com/@esbuild/netbsd-x64/-/netbsd-x64-0.27.1.tgz#3c31603d592477dc43b63df1ae100000f7fb59d7" - integrity sha512-1YQ8ybGi2yIXswu6eNzJsrYIGFpnlzEWRl6iR5gMgmsrR0FcNoV1m9k9sc3PuP5rUBLshOZylc9nqSgymI+TYg== - -"@esbuild/openbsd-arm64@0.27.1": - version "0.27.1" - resolved "https://registry.yarnpkg.com/@esbuild/openbsd-arm64/-/openbsd-arm64-0.27.1.tgz#482067c847665b10d66431e936d4bc5fa8025abf" - integrity sha512-5Z+DzLCrq5wmU7RDaMDe2DVXMRm2tTDvX2KU14JJVBN2CT/qov7XVix85QoJqHltpvAOZUAc3ndU56HSMWrv8g== - -"@esbuild/openbsd-x64@0.27.1": - version "0.27.1" - resolved "https://registry.yarnpkg.com/@esbuild/openbsd-x64/-/openbsd-x64-0.27.1.tgz#687a188c2b184e5b671c5f74a6cd6247c0718c52" - integrity sha512-Q73ENzIdPF5jap4wqLtsfh8YbYSZ8Q0wnxplOlZUOyZy7B4ZKW8DXGWgTCZmF8VWD7Tciwv5F4NsRf6vYlZtqg== - -"@esbuild/openharmony-arm64@0.27.1": - version "0.27.1" - resolved "https://registry.yarnpkg.com/@esbuild/openharmony-arm64/-/openharmony-arm64-0.27.1.tgz#9929ee7fa8c1db2f33ef4d86198018dac9c1744f" - integrity sha512-ajbHrGM/XiK+sXM0JzEbJAen+0E+JMQZ2l4RR4VFwvV9JEERx+oxtgkpoKv1SevhjavK2z2ReHk32pjzktWbGg== - -"@esbuild/sunos-x64@0.27.1": - version "0.27.1" - resolved "https://registry.yarnpkg.com/@esbuild/sunos-x64/-/sunos-x64-0.27.1.tgz#94071a146f313e7394c6424af07b2b564f1f994d" - integrity sha512-IPUW+y4VIjuDVn+OMzHc5FV4GubIwPnsz6ubkvN8cuhEqH81NovB53IUlrlBkPMEPxvNnf79MGBoz8rZ2iW8HA== - -"@esbuild/win32-arm64@0.27.1": - version "0.27.1" - resolved "https://registry.yarnpkg.com/@esbuild/win32-arm64/-/win32-arm64-0.27.1.tgz#869fde72a3576fdf48824085d05493fceebe395d" - integrity sha512-RIVRWiljWA6CdVu8zkWcRmGP7iRRIIwvhDKem8UMBjPql2TXM5PkDVvvrzMtj1V+WFPB4K7zkIGM7VzRtFkjdg== - -"@esbuild/win32-ia32@0.27.1": - version "0.27.1" - resolved "https://registry.yarnpkg.com/@esbuild/win32-ia32/-/win32-ia32-0.27.1.tgz#31d7585893ed7b54483d0b8d87a4bfeba0ecfff5" - integrity sha512-2BR5M8CPbptC1AK5JbJT1fWrHLvejwZidKx3UMSF0ecHMa+smhi16drIrCEggkgviBwLYd5nwrFLSl5Kho96RQ== - -"@esbuild/win32-x64@0.27.1": - version "0.27.1" - resolved "https://registry.yarnpkg.com/@esbuild/win32-x64/-/win32-x64-0.27.1.tgz#5efe5a112938b1180e98c76685ff9185cfa4f16e" - integrity sha512-d5X6RMYv6taIymSk8JBP+nxv8DQAMY6A51GPgusqLdK9wBz5wWIXy1KjTck6HnjE9hqJzJRdk+1p/t5soSbCtw== - "@eslint-community/eslint-utils@^4.8.0": version "4.9.0" resolved "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.9.0.tgz" @@ -736,14 +611,14 @@ "@eslint/config-helpers@^0.4.2": version "0.4.2" - resolved "https://registry.yarnpkg.com/@eslint/config-helpers/-/config-helpers-0.4.2.tgz#1bd006ceeb7e2e55b2b773ab318d300e1a66aeda" + resolved "https://registry.npmjs.org/@eslint/config-helpers/-/config-helpers-0.4.2.tgz" integrity sha512-gBrxN88gOIf3R7ja5K9slwNayVcZgK6SOUORm2uBzTeIEfeVaIhOpCtTox3P6R7o2jLFwLFTLnC7kU/RGcYEgw== dependencies: "@eslint/core" "^0.17.0" "@eslint/core@^0.17.0": version "0.17.0" - resolved "https://registry.yarnpkg.com/@eslint/core/-/core-0.17.0.tgz#77225820413d9617509da9342190a2019e78761c" + resolved "https://registry.npmjs.org/@eslint/core/-/core-0.17.0.tgz" integrity sha512-yL/sLrpmtDaFEiUj1osRP4TI2MDz1AddJL+jZ7KSqvBuliN4xqYY54IfdN8qD8Toa6g1iloph1fxQNkjOxrrpQ== dependencies: "@types/json-schema" "^7.0.15" @@ -763,9 +638,9 @@ minimatch "^3.1.2" strip-json-comments "^3.1.1" -"@eslint/js@9.39.2", "@eslint/js@^9.35.0": +"@eslint/js@^9.35.0", "@eslint/js@9.39.2": version "9.39.2" - resolved "https://registry.yarnpkg.com/@eslint/js/-/js-9.39.2.tgz#2d4b8ec4c3ea13c1b3748e0c97ecd766bdd80599" + resolved "https://registry.npmjs.org/@eslint/js/-/js-9.39.2.tgz" integrity sha512-q1mjIoW1VX4IvSocvM/vbTiveKC4k9eLrajNEuSsmjymSDEbpGddtpfOoN7YGAqBK3NG+uqo8ia4PDTt8buCYA== "@eslint/object-schema@^2.1.7": @@ -775,7 +650,7 @@ "@eslint/plugin-kit@^0.4.1": version "0.4.1" - resolved "https://registry.yarnpkg.com/@eslint/plugin-kit/-/plugin-kit-0.4.1.tgz#9779e3fd9b7ee33571a57435cf4335a1794a6cb2" + resolved "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.4.1.tgz" integrity sha512-43/qtrDUokr7LJqoF2c3+RInu/t4zfrpYdoSDfYyhg52rwLV6TnOvdG4fXm7IkSB3wErkcmJS9iEhjVtOSEjjA== dependencies: "@eslint/core" "^0.17.0" @@ -901,7 +776,7 @@ "@nodelib/fs.stat" "2.0.5" run-parallel "^1.1.9" -"@nodelib/fs.stat@2.0.5", "@nodelib/fs.stat@^2.0.2": +"@nodelib/fs.stat@^2.0.2", "@nodelib/fs.stat@2.0.5": version "2.0.5" resolved "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz" integrity sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A== @@ -933,12 +808,12 @@ "@primer/octicons-react@^19.13.0", "@primer/octicons-react@^19.21.1": version "19.21.1" - resolved "https://registry.yarnpkg.com/@primer/octicons-react/-/octicons-react-19.21.1.tgz#17a7962f057bafd07d46bd55a6c2179852d58e6a" + resolved "https://registry.npmjs.org/@primer/octicons-react/-/octicons-react-19.21.1.tgz" integrity sha512-DHaErpn2ZLMOJRxTdLf73eCDRvvil3xRmsOvKzg+I5KY0PsclYvEs/OX/Xb6fTK+PTteehidFvHBxrLYyEQ9Mg== -"@primer/primitives@10.x || 11.x", "@primer/primitives@^11.3.2": +"@primer/primitives@^11.3.2", "@primer/primitives@10.x || 11.x": version "11.3.2" - resolved "https://registry.yarnpkg.com/@primer/primitives/-/primitives-11.3.2.tgz#2ea09ef48b7db9e66f3406553f453d8bdd665b34" + resolved "https://registry.npmjs.org/@primer/primitives/-/primitives-11.3.2.tgz" integrity sha512-/8EDh3MmF9cbmrLETFmIuNFIdvpSCkvBlx6zzD8AZ4dZ5UYExQzFj8QAtIrRtCFJ2ZmW5QrtrPR3+JVb8KEDpg== "@primer/react@^38.5.0": @@ -971,116 +846,11 @@ resolved "https://registry.npmjs.org/@rolldown/pluginutils/-/pluginutils-1.0.0-beta.53.tgz" integrity sha512-vENRlFU4YbrwVqNDZ7fLvy+JR1CRkyr01jhSiDpE1u6py3OMzQfztQU2jxykW3ALNxO4kSlqIDeYyD0Y9RcQeQ== -"@rollup/rollup-android-arm-eabi@4.53.2": - version "4.53.2" - resolved "https://registry.yarnpkg.com/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.53.2.tgz#7131f3d364805067fd5596302aad9ebef1434b32" - integrity sha512-yDPzwsgiFO26RJA4nZo8I+xqzh7sJTZIWQOxn+/XOdPE31lAvLIYCKqjV+lNH/vxE2L2iH3plKxDCRK6i+CwhA== - -"@rollup/rollup-android-arm64@4.53.2": - version "4.53.2" - resolved "https://registry.yarnpkg.com/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.53.2.tgz#7ede14d7fcf7c57821a2731c04b29ccc03145d82" - integrity sha512-k8FontTxIE7b0/OGKeSN5B6j25EuppBcWM33Z19JoVT7UTXFSo3D9CdU39wGTeb29NO3XxpMNauh09B+Ibw+9g== - "@rollup/rollup-darwin-arm64@4.53.2": version "4.53.2" resolved "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.53.2.tgz" integrity sha512-A6s4gJpomNBtJ2yioj8bflM2oogDwzUiMl2yNJ2v9E7++sHrSrsQ29fOfn5DM/iCzpWcebNYEdXpaK4tr2RhfQ== -"@rollup/rollup-darwin-x64@4.53.2": - version "4.53.2" - resolved "https://registry.yarnpkg.com/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.53.2.tgz#a76278d9b9da9f84ea7909a14d93b915d5bbe01e" - integrity sha512-e6XqVmXlHrBlG56obu9gDRPW3O3hLxpwHpLsBJvuI8qqnsrtSZ9ERoWUXtPOkY8c78WghyPHZdmPhHLWNdAGEw== - -"@rollup/rollup-freebsd-arm64@4.53.2": - version "4.53.2" - resolved "https://registry.yarnpkg.com/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.53.2.tgz#1a94821a1f565b9eaa74187632d482e4c59a1707" - integrity sha512-v0E9lJW8VsrwPux5Qe5CwmH/CF/2mQs6xU1MF3nmUxmZUCHazCjLgYvToOk+YuuUqLQBio1qkkREhxhc656ViA== - -"@rollup/rollup-freebsd-x64@4.53.2": - version "4.53.2" - resolved "https://registry.yarnpkg.com/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.53.2.tgz#aad2274680106b2b6549b1e35e5d3a7a9f1f16af" - integrity sha512-ClAmAPx3ZCHtp6ysl4XEhWU69GUB1D+s7G9YjHGhIGCSrsg00nEGRRZHmINYxkdoJehde8VIsDC5t9C0gb6yqA== - -"@rollup/rollup-linux-arm-gnueabihf@4.53.2": - version "4.53.2" - resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.53.2.tgz#100fe4306399ffeec47318a3c9b8c0e5e8b07ddb" - integrity sha512-EPlb95nUsz6Dd9Qy13fI5kUPXNSljaG9FiJ4YUGU1O/Q77i5DYFW5KR8g1OzTcdZUqQQ1KdDqsTohdFVwCwjqg== - -"@rollup/rollup-linux-arm-musleabihf@4.53.2": - version "4.53.2" - resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.53.2.tgz#b84634952604b950e18fa11fddebde898c5928d8" - integrity sha512-BOmnVW+khAUX+YZvNfa0tGTEMVVEerOxN0pDk2E6N6DsEIa2Ctj48FOMfNDdrwinocKaC7YXUZ1pHlKpnkja/Q== - -"@rollup/rollup-linux-arm64-gnu@4.53.2": - version "4.53.2" - resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.53.2.tgz#dad6f2fb41c2485f29a98e40e9bd78253255dbf3" - integrity sha512-Xt2byDZ+6OVNuREgBXr4+CZDJtrVso5woFtpKdGPhpTPHcNG7D8YXeQzpNbFRxzTVqJf7kvPMCub/pcGUWgBjA== - -"@rollup/rollup-linux-arm64-musl@4.53.2": - version "4.53.2" - resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.53.2.tgz#0f3f77c8ce9fbf982f8a8378b70a73dc6704a706" - integrity sha512-+LdZSldy/I9N8+klim/Y1HsKbJ3BbInHav5qE9Iy77dtHC/pibw1SR/fXlWyAk0ThnpRKoODwnAuSjqxFRDHUQ== - -"@rollup/rollup-linux-loong64-gnu@4.53.2": - version "4.53.2" - resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-loong64-gnu/-/rollup-linux-loong64-gnu-4.53.2.tgz#870bb94e9dad28bb3124ba49bd733deaa6aa2635" - integrity sha512-8ms8sjmyc1jWJS6WdNSA23rEfdjWB30LH8Wqj0Cqvv7qSHnvw6kgMMXRdop6hkmGPlyYBdRPkjJnj3KCUHV/uQ== - -"@rollup/rollup-linux-ppc64-gnu@4.53.2": - version "4.53.2" - resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-ppc64-gnu/-/rollup-linux-ppc64-gnu-4.53.2.tgz#188427d11abefc6c9926e3870b3e032170f5577c" - integrity sha512-3HRQLUQbpBDMmzoxPJYd3W6vrVHOo2cVW8RUo87Xz0JPJcBLBr5kZ1pGcQAhdZgX9VV7NbGNipah1omKKe23/g== - -"@rollup/rollup-linux-riscv64-gnu@4.53.2": - version "4.53.2" - resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.53.2.tgz#9dec6eadbbb5abd3b76fe624dc4f006913ff4a7f" - integrity sha512-fMjKi+ojnmIvhk34gZP94vjogXNNUKMEYs+EDaB/5TG/wUkoeua7p7VCHnE6T2Tx+iaghAqQX8teQzcvrYpaQA== - -"@rollup/rollup-linux-riscv64-musl@4.53.2": - version "4.53.2" - resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.53.2.tgz#b26ba1c80b6f104dc5bd83ed83181fc0411a0c38" - integrity sha512-XuGFGU+VwUUV5kLvoAdi0Wz5Xbh2SrjIxCtZj6Wq8MDp4bflb/+ThZsVxokM7n0pcbkEr2h5/pzqzDYI7cCgLQ== - -"@rollup/rollup-linux-s390x-gnu@4.53.2": - version "4.53.2" - resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.53.2.tgz#dc83647189b68ad8d56a956a6fcaa4ee9c728190" - integrity sha512-w6yjZF0P+NGzWR3AXWX9zc0DNEGdtvykB03uhonSHMRa+oWA6novflo2WaJr6JZakG2ucsyb+rvhrKac6NIy+w== - -"@rollup/rollup-linux-x64-gnu@4.53.2": - version "4.53.2" - resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.53.2.tgz#42c3b8c94e9de37bd103cb2e26fb715118ef6459" - integrity sha512-yo8d6tdfdeBArzC7T/PnHd7OypfI9cbuZzPnzLJIyKYFhAQ8SvlkKtKBMbXDxe1h03Rcr7u++nFS7tqXz87Gtw== - -"@rollup/rollup-linux-x64-musl@4.53.2": - version "4.53.2" - resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.53.2.tgz#d0e216ee1ea16bfafe35681b899b6a05258988e5" - integrity sha512-ah59c1YkCxKExPP8O9PwOvs+XRLKwh/mV+3YdKqQ5AMQ0r4M4ZDuOrpWkUaqO7fzAHdINzV9tEVu8vNw48z0lA== - -"@rollup/rollup-openharmony-arm64@4.53.2": - version "4.53.2" - resolved "https://registry.yarnpkg.com/@rollup/rollup-openharmony-arm64/-/rollup-openharmony-arm64-4.53.2.tgz#3acd0157cb8976f659442bfd8a99aca46f8a2931" - integrity sha512-4VEd19Wmhr+Zy7hbUsFZ6YXEiP48hE//KPLCSVNY5RMGX2/7HZ+QkN55a3atM1C/BZCGIgqN+xrVgtdak2S9+A== - -"@rollup/rollup-win32-arm64-msvc@4.53.2": - version "4.53.2" - resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.53.2.tgz#3eb9e7d4d0e1d2e0850c4ee9aa2d0ddf89a8effa" - integrity sha512-IlbHFYc/pQCgew/d5fslcy1KEaYVCJ44G8pajugd8VoOEI8ODhtb/j8XMhLpwHCMB3yk2J07ctup10gpw2nyMA== - -"@rollup/rollup-win32-ia32-msvc@4.53.2": - version "4.53.2" - resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.53.2.tgz#d69280bc6680fe19e0956e965811946d542f6365" - integrity sha512-lNlPEGgdUfSzdCWU176ku/dQRnA7W+Gp8d+cWv73jYrb8uT7HTVVxq62DUYxjbaByuf1Yk0RIIAbDzp+CnOTFg== - -"@rollup/rollup-win32-x64-gnu@4.53.2": - version "4.53.2" - resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-x64-gnu/-/rollup-win32-x64-gnu-4.53.2.tgz#d182ce91e342bad9cbb8b284cf33ac542b126ead" - integrity sha512-S6YojNVrHybQis2lYov1sd+uj7K0Q05NxHcGktuMMdIQ2VixGwAfbJ23NnlvvVV1bdpR2m5MsNBViHJKcA4ADw== - -"@rollup/rollup-win32-x64-msvc@4.53.2": - version "4.53.2" - resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.53.2.tgz#d9ab606437fd072b2cb7df7e54bcdc7f1ccbe8b4" - integrity sha512-k+/Rkcyx//P6fetPoLMb8pBeqJBNGx81uuf7iljX9++yNBVRDQgD04L+SVXmXmh5ZP4/WOp4mWF0kmi06PW2tA== - "@types/babel__core@^7.20.5": version "7.20.5" resolved "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.20.5.tgz" @@ -1114,7 +884,7 @@ dependencies: "@babel/types" "^7.20.7" -"@types/estree@1.0.8", "@types/estree@^1.0.6": +"@types/estree@^1.0.6", "@types/estree@1.0.8": version "1.0.8" resolved "https://registry.npmjs.org/@types/estree/-/estree-1.0.8.tgz" integrity sha512-dWHzHa2WqEXI/O1E9OjrocMTKJl2mSrEolh1Iomrv6U+JuNwaHXsXx9bLu5gG7BUWFIN0skIQJQ/L1rIex4X6w== @@ -1126,7 +896,7 @@ "@types/react-dom@^19.2.3": version "19.2.3" - resolved "https://registry.yarnpkg.com/@types/react-dom/-/react-dom-19.2.3.tgz#c1e305d15a52a3e508d54dca770d202cb63abf2c" + resolved "https://registry.npmjs.org/@types/react-dom/-/react-dom-19.2.3.tgz" integrity sha512-jp2L/eY6fn+KgVVQAOqYItbF0VY/YApe5Mz2F0aykSO8gx31bYCZyvSeYxCHKvzHG5eZjc+zyaS5BrBWya2+kQ== "@types/react@^19.2.5": @@ -1138,7 +908,7 @@ "@types/stylis@4.2.5": version "4.2.5" - resolved "https://registry.yarnpkg.com/@types/stylis/-/stylis-4.2.5.tgz#1daa6456f40959d06157698a653a9ab0a70281df" + resolved "https://registry.npmjs.org/@types/stylis/-/stylis-4.2.5.tgz" integrity sha512-1Xve+NMN7FWjY14vLoY5tL3BVEQ/n42YLwaqJIPYhotZ9uBHt87VceMwWQpzmdEt2TNXIorIFG+YeCUUW7RInw== "@vitejs/plugin-react@^5.1.2": @@ -1263,7 +1033,7 @@ arraybuffer.prototype.slice@^1.0.4: autoprefixer@^10.4.23: version "10.4.23" - resolved "https://registry.yarnpkg.com/autoprefixer/-/autoprefixer-10.4.23.tgz#c6aa6db8e7376fcd900f9fd79d143ceebad8c4e6" + resolved "https://registry.npmjs.org/autoprefixer/-/autoprefixer-10.4.23.tgz" integrity sha512-YYTXSFulfwytnjAPlw8QHncHJmlvFKtczb8InXaAx9Q0LbfDnfEYDE55omerIJKihhmU61Ft+cAOSzQVaBUmeA== dependencies: browserslist "^4.28.1" @@ -1286,7 +1056,7 @@ balanced-match@^1.0.0: baseline-browser-mapping@^2.9.0: version "2.9.12" - resolved "https://registry.yarnpkg.com/baseline-browser-mapping/-/baseline-browser-mapping-2.9.12.tgz#fbed5f37edf24b708e6e0b1fb26c70982a577dfc" + resolved "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.9.12.tgz" integrity sha512-Mij6Lij93pTAIsSYy5cyBQ975Qh9uLEc5rwGTpomiZeXZL9yIS6uORJakb3ScHgfs0serMMfIbXzokPMuEiRyw== brace-expansion@^1.1.7: @@ -1306,7 +1076,7 @@ braces@^3.0.3: browserslist@^4.24.0, browserslist@^4.28.1: version "4.28.1" - resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.28.1.tgz#7f534594628c53c63101079e27e40de490456a95" + resolved "https://registry.npmjs.org/browserslist/-/browserslist-4.28.1.tgz" integrity sha512-ZC5Bd0LgJXgwGqUknZY/vkUQ04r8NXnJZ3yYi4vDmSiZmC/pdSN0NbNRPxZpbtO4uAfDUAFffO8IZoM3Gj8IkA== dependencies: baseline-browser-mapping "^2.9.0" @@ -1353,7 +1123,7 @@ camelize@^1.0.0: caniuse-lite@^1.0.30001759, caniuse-lite@^1.0.30001760: version "1.0.30001762" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001762.tgz#e4dbfeda63d33258cdde93e53af2023a13ba27d4" + resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001762.tgz" integrity sha512-PxZwGNvH7Ak8WX5iXzoK1KPZttBXNPuaOvI2ZYU7NrlM+d9Ov+TUvlLOBNGzVXAntMSMMlJPd+jY6ovrVjSmUw== chalk@^4.0.0: @@ -1438,7 +1208,7 @@ css-prefers-color-scheme@^10.0.0: css-to-react-native@3.2.0: version "3.2.0" - resolved "https://registry.yarnpkg.com/css-to-react-native/-/css-to-react-native-3.2.0.tgz#cdd8099f71024e149e4f6fe17a7d46ecd55f1e32" + resolved "https://registry.npmjs.org/css-to-react-native/-/css-to-react-native-3.2.0.tgz" integrity sha512-e8RKaLXMOFii+02mOlqwjbD00KSEKqblnpO9e++1aXS1fPQOpS1YoqdVHBqPjHNoxeF2mimzVqawm2KCbEdtHQ== dependencies: camelize "^1.0.0" @@ -1447,7 +1217,7 @@ css-to-react-native@3.2.0: cssdb@^8.6.0: version "8.6.0" - resolved "https://registry.yarnpkg.com/cssdb/-/cssdb-8.6.0.tgz#5381310f5fdac6d249fc4016b7d0f6deb0002f6a" + resolved "https://registry.npmjs.org/cssdb/-/cssdb-8.6.0.tgz" integrity sha512-7ZrRi/Z3cRL1d5I8RuXEWAkRFP3J4GeQRiyVknI4KC70RAU8hT4LysUZDe0y+fYNOktCbxE8sOPUOhyR12UqGQ== cssesc@^3.0.0: @@ -1455,7 +1225,7 @@ cssesc@^3.0.0: resolved "https://registry.npmjs.org/cssesc/-/cssesc-3.0.0.tgz" integrity sha512-/Tb/JcjK111nNScGob5MNtsntNM1aCNUDipB/TkwZFhyDrrE47SOx/18wF2bbjgc3ZzCSKW1T5nt5EbFoAz/Vg== -csstype@3.1.3, csstype@^3.0.2: +csstype@^3.0.2, csstype@3.1.3: version "3.1.3" resolved "https://registry.npmjs.org/csstype/-/csstype-3.1.3.tgz" integrity sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw== @@ -1540,7 +1310,7 @@ dunder-proto@^1.0.0, dunder-proto@^1.0.1: electron-to-chromium@^1.5.263: version "1.5.267" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.5.267.tgz#5d84f2df8cdb6bfe7e873706bb21bd4bfb574dc7" + resolved "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.267.tgz" integrity sha512-0Drusm6MVRXSOJpGbaSVgcQsuB4hEkMpHXaVstcPmhu5LIedxs1xNK/nIxmQIU/RPC0+1/o0AVZfBTkTNJOdUw== es-abstract@^1.17.5, es-abstract@^1.23.2, es-abstract@^1.23.3, es-abstract@^1.23.5, es-abstract@^1.23.6, es-abstract@^1.23.9: @@ -1667,7 +1437,7 @@ es-to-primitive@^1.3.0: esbuild@^0.27.0: version "0.27.1" - resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.27.1.tgz#56bf43e6a4b4d2004642ec7c091b78de02b0831a" + resolved "https://registry.npmjs.org/esbuild/-/esbuild-0.27.1.tgz" integrity sha512-yY35KZckJJuVVPXpvjgxiCuVEJT67F6zDeVTv4rizyPrfGBUpZQsvmxnN+C371c2esD/hNMjj4tpBhuueLN7aA== optionalDependencies: "@esbuild/aix-ppc64" "0.27.1" @@ -1709,7 +1479,7 @@ escape-string-regexp@^4.0.0: eslint-plugin-react-hooks@^7.0.1: version "7.0.1" - resolved "https://registry.yarnpkg.com/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-7.0.1.tgz#66e258db58ece50723ef20cc159f8aa908219169" + resolved "https://registry.npmjs.org/eslint-plugin-react-hooks/-/eslint-plugin-react-hooks-7.0.1.tgz" integrity sha512-O0d0m04evaNzEPoSW+59Mezf8Qt0InfgGIBJnpC0h3NH/WjUAR7BIKUfysC6todmtiZ/A0oUVS8Gce0WhBrHsA== dependencies: "@babel/core" "^7.24.4" @@ -1720,7 +1490,7 @@ eslint-plugin-react-hooks@^7.0.1: eslint-plugin-react-refresh@^0.4.26: version "0.4.26" - resolved "https://registry.yarnpkg.com/eslint-plugin-react-refresh/-/eslint-plugin-react-refresh-0.4.26.tgz#2bcdd109ea9fb4e0b56bb1b5146cf8841b21b626" + resolved "https://registry.npmjs.org/eslint-plugin-react-refresh/-/eslint-plugin-react-refresh-0.4.26.tgz" integrity sha512-1RETEylht2O6FM/MvgnyvT+8K21wLqDNg4qD51Zj3guhjt433XbnnkVttHMyaVyAFD03QSV4LPS5iE3VQmO7XQ== eslint-plugin-react@^7.37.5: @@ -1767,7 +1537,7 @@ eslint-visitor-keys@^4.2.1: eslint@^9.39.2: version "9.39.2" - resolved "https://registry.yarnpkg.com/eslint/-/eslint-9.39.2.tgz#cb60e6d16ab234c0f8369a3fe7cc87967faf4b6c" + resolved "https://registry.npmjs.org/eslint/-/eslint-9.39.2.tgz" integrity sha512-LEyamqS7W5HB3ujJyvi0HQK/dtVINZvd5mAAp9eT5S/ujByGjiZLCzPcHVzuXbpJDJF/cxwHlfceVUDZ2lnSTw== dependencies: "@eslint-community/eslint-utils" "^4.8.0" @@ -1925,7 +1695,7 @@ for-each@^0.3.3: fraction.js@^5.3.4: version "5.3.4" - resolved "https://registry.yarnpkg.com/fraction.js/-/fraction.js-5.3.4.tgz#8c0fcc6a9908262df4ed197427bdeef563e0699a" + resolved "https://registry.npmjs.org/fraction.js/-/fraction.js-5.3.4.tgz" integrity sha512-1X1NTtiJphryn/uLQz3whtY6jK3fTqoE3ohKs0tT+Ujr1W59oopxmoEh7Lu5p6vBaPbgoM0bzveAW4Qi5RyWDQ== fsevents@~2.3.2, fsevents@~2.3.3: @@ -2028,7 +1798,7 @@ globals@^14.0.0: globals@^17.0.0: version "17.0.0" - resolved "https://registry.yarnpkg.com/globals/-/globals-17.0.0.tgz#a4196d9cfeb4d627ba165b4647b1f5853bf90a30" + resolved "https://registry.npmjs.org/globals/-/globals-17.0.0.tgz" integrity sha512-gv5BeD2EssA793rlFWVPMMCqefTlpusw6/2TbAVMy0FzcG8wKJn4O+NqJ4+XWmmwrayJgw5TzrmWjFgmz1XPqw== globalthis@^1.0.4: @@ -2089,12 +1859,12 @@ hasown@^2.0.0, hasown@^2.0.2: hermes-estree@0.25.1: version "0.25.1" - resolved "https://registry.yarnpkg.com/hermes-estree/-/hermes-estree-0.25.1.tgz#6aeec17d1983b4eabf69721f3aa3eb705b17f480" + resolved "https://registry.npmjs.org/hermes-estree/-/hermes-estree-0.25.1.tgz" integrity sha512-0wUoCcLp+5Ev5pDW2OriHC2MJCbwLwuRx+gAqMTOkGKJJiBCLjtrvy4PWUGn6MIVefecRpzoOZ/UV6iGdOr+Cw== hermes-parser@^0.25.1: version "0.25.1" - resolved "https://registry.yarnpkg.com/hermes-parser/-/hermes-parser-0.25.1.tgz#5be0e487b2090886c62bd8a11724cd766d5f54d1" + resolved "https://registry.npmjs.org/hermes-parser/-/hermes-parser-0.25.1.tgz" integrity sha512-6pEjquH3rqaI6cYAXYPcz9MS4rY6R4ngRgrgfDshRptUZIc3lw0MCIJIGDj9++mfySOuPTHB4nrSW99BCvOPIA== dependencies: hermes-estree "0.25.1" @@ -2493,7 +2263,7 @@ natural-compare@^1.4.0: node-releases@^2.0.27: version "2.0.27" - resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.27.tgz#eedca519205cf20f650f61d56b070db111231e4e" + resolved "https://registry.npmjs.org/node-releases/-/node-releases-2.0.27.tgz" integrity sha512-nmh3lCkYZ3grZvqcCH+fjmQ7X+H0OeZgP40OierEaAptX4XofMh5kwNbWh7lBduUzCcV/8kZ+NDLCwm2iorIlA== object-assign@^4.1.1: @@ -2811,7 +2581,7 @@ postcss-place@^10.0.0: postcss-preset-env@^10.6.0: version "10.6.0" - resolved "https://registry.yarnpkg.com/postcss-preset-env/-/postcss-preset-env-10.6.0.tgz#8b2106ce3f0de1f0005929587aa331385076d463" + resolved "https://registry.npmjs.org/postcss-preset-env/-/postcss-preset-env-10.6.0.tgz" integrity sha512-+LzpUSLCGHUdlZ1YZP7lp7w1MjxInJRSG0uaLyk/V/BM17iU2B7xTO7I8x3uk0WQAcLLh/ffqKzOzfaBvG7Fdw== dependencies: "@csstools/postcss-alpha-function" "^1.0.1" @@ -2918,15 +2688,6 @@ postcss-value-parser@^4.0.2, postcss-value-parser@^4.2.0: resolved "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz" integrity sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ== -postcss@8.4.49: - version "8.4.49" - resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.4.49.tgz#4ea479048ab059ab3ae61d082190fabfd994fe19" - integrity sha512-OCVPnIObs4N29kxTjzLfUryOkvZEq+pf8jTF0lg8E7uETuWHA+v7j3c/xJmiqpX450191LlmZfUKkXxkTry7nA== - dependencies: - nanoid "^3.3.7" - picocolors "^1.1.1" - source-map-js "^1.2.1" - postcss@^8.5.6: version "8.5.6" resolved "https://registry.npmjs.org/postcss/-/postcss-8.5.6.tgz" @@ -2936,6 +2697,15 @@ postcss@^8.5.6: picocolors "^1.1.1" source-map-js "^1.2.1" +postcss@8.4.49: + version "8.4.49" + resolved "https://registry.npmjs.org/postcss/-/postcss-8.4.49.tgz" + integrity sha512-OCVPnIObs4N29kxTjzLfUryOkvZEq+pf8jTF0lg8E7uETuWHA+v7j3c/xJmiqpX450191LlmZfUKkXxkTry7nA== + dependencies: + nanoid "^3.3.7" + picocolors "^1.1.1" + source-map-js "^1.2.1" + prelude-ls@^1.2.1: version "1.2.1" resolved "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz" @@ -2994,14 +2764,14 @@ react-refresh@^0.18.0: react-router-dom@^7.12.0: version "7.12.0" - resolved "https://registry.yarnpkg.com/react-router-dom/-/react-router-dom-7.12.0.tgz#0f2a059c6b2c4ae04474fe4171c59fb48b9fb8cf" + resolved "https://registry.npmjs.org/react-router-dom/-/react-router-dom-7.12.0.tgz" integrity sha512-pfO9fiBcpEfX4Tx+iTYKDtPbrSLLCbwJ5EqP+SPYQu1VYCXdy79GSj0wttR0U4cikVdlImZuEZ/9ZNCgoaxwBA== dependencies: react-router "7.12.0" react-router@7.12.0: version "7.12.0" - resolved "https://registry.yarnpkg.com/react-router/-/react-router-7.12.0.tgz#459a86862abbedd02e76e686751fe71f9fd73a4f" + resolved "https://registry.npmjs.org/react-router/-/react-router-7.12.0.tgz" integrity sha512-kTPDYPFzDVGIIGNLS5VJykK0HfHLY5MF3b+xj0/tTyNYL1gF1qs7u67Z9jEhQk2sQ98SUaHxlG31g1JtF7IfVw== dependencies: cookie "^1.0.1" @@ -3176,7 +2946,7 @@ set-proto@^1.0.0: shallowequal@1.1.0: version "1.1.0" - resolved "https://registry.yarnpkg.com/shallowequal/-/shallowequal-1.1.0.tgz#188d521de95b9087404fd4dcb68b13df0ae4e7f8" + resolved "https://registry.npmjs.org/shallowequal/-/shallowequal-1.1.0.tgz" integrity sha512-y0m1JoUZSlPAjXVtPPW70aZWfIL/dSP7AFkRnniLCrK/8MDKog3TySTBmckD+RObVxH0v4Tox67+F14PdED2oQ== shebang-command@^2.0.0: @@ -3302,7 +3072,7 @@ strip-json-comments@^3.1.1: styled-components@^6.1.19: version "6.1.19" - resolved "https://registry.yarnpkg.com/styled-components/-/styled-components-6.1.19.tgz#9a41b4db79a3b7a2477daecabe8dd917235263d6" + resolved "https://registry.npmjs.org/styled-components/-/styled-components-6.1.19.tgz" integrity sha512-1v/e3Dl1BknC37cXMhwGomhO8AkYmN41CqyX9xhUDxry1ns3BFQy2lLDRQXJRdVVWB9OHemv/53xaStimvWyuA== dependencies: "@emotion/is-prop-valid" "1.2.2" @@ -3317,7 +3087,7 @@ styled-components@^6.1.19: stylis@4.3.2: version "4.3.2" - resolved "https://registry.yarnpkg.com/stylis/-/stylis-4.3.2.tgz#8f76b70777dd53eb669c6f58c997bf0a9972e444" + resolved "https://registry.npmjs.org/stylis/-/stylis-4.3.2.tgz" integrity sha512-bhtUjWd/z6ltJiQwg0dUfxEJ+W+jdqQd8TbWLWyeIJHlnsqmGLRFFd8e5mA0AZi/zx90smXRlN66YMTcaSFifg== supports-color@^7.1.0: @@ -3349,7 +3119,7 @@ to-regex-range@^5.0.1: tslib@2.6.2: version "2.6.2" - resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.6.2.tgz#703ac29425e7b37cd6fd456e92404d46d1f3e4ae" + resolved "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz" integrity sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q== type-check@^0.4.0, type-check@~0.4.0: @@ -3416,7 +3186,7 @@ unbox-primitive@^1.1.0: update-browserslist-db@^1.2.0: version "1.2.3" - resolved "https://registry.yarnpkg.com/update-browserslist-db/-/update-browserslist-db-1.2.3.tgz#64d76db58713136acbeb4c49114366cc6cc2e80d" + resolved "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.2.3.tgz" integrity sha512-Js0m9cx+qOgDxo0eMiFGEueWztz+d4+M3rGlmKPT+T4IS/jP4ylw3Nwpu6cpTTP8R1MAC1kF4VbdLt3ARf209w== dependencies: escalade "^3.2.0" @@ -3436,7 +3206,7 @@ util-deprecate@^1.0.2: vite@^7.3.1: version "7.3.1" - resolved "https://registry.yarnpkg.com/vite/-/vite-7.3.1.tgz#7f6cfe8fb9074138605e822a75d9d30b814d6507" + resolved "https://registry.npmjs.org/vite/-/vite-7.3.1.tgz" integrity sha512-w+N7Hifpc3gRjZ63vYBXA56dvvRlNWRczTdmCBBa+CotUzAPf5b7YMdMR/8CQoeYE5LX3W4wj6RYTgonm1b9DA== dependencies: esbuild "^0.27.0" @@ -3529,10 +3299,10 @@ yocto-queue@^0.1.0: "zod-validation-error@^3.5.0 || ^4.0.0": version "4.0.2" - resolved "https://registry.yarnpkg.com/zod-validation-error/-/zod-validation-error-4.0.2.tgz#bc605eba49ce0fcd598c127fee1c236be3f22918" + resolved "https://registry.npmjs.org/zod-validation-error/-/zod-validation-error-4.0.2.tgz" integrity sha512-Q6/nZLe6jxuU80qb/4uJ4t5v2VEZ44lzQjPDhYJNztRQ4wyWc6VF3D3Kb/fAuPetZQnhS3hnajCf9CsWesghLQ== "zod@^3.25.0 || ^4.0.0": version "4.2.1" - resolved "https://registry.yarnpkg.com/zod/-/zod-4.2.1.tgz#07f0388c7edbfd5f5a2466181cb4adf5b5dbd57b" + resolved "https://registry.npmjs.org/zod/-/zod-4.2.1.tgz" integrity sha512-0wZ1IRqGGhMP76gLqz8EyfBXKk0J2qo2+H3fi4mcUP/KtTocoX08nmIAHl1Z2kJIZbZee8KOpBCSNPRgauucjw== From 15e63d0f31ea2f56bc3c70c8f14c61ef74e11c10 Mon Sep 17 00:00:00 2001 From: Daniel Fosco Date: Fri, 6 Feb 2026 13:52:46 +0100 Subject: [PATCH 2/2] Fix filename casing --- src/components/ColorModeSwitcher.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/ColorModeSwitcher.jsx b/src/components/ColorModeSwitcher.jsx index 356cae2..b9211b6 100644 --- a/src/components/ColorModeSwitcher.jsx +++ b/src/components/ColorModeSwitcher.jsx @@ -1,7 +1,7 @@ import { useTheme, ActionMenu, ActionList, Stack } from '@primer/react' import { SunIcon, MoonIcon } from '@primer/octicons-react' -import styles from './colorModeSwitcher.module.css' +import styles from './ColorModeSwitcher.module.css' function ColorModeSwitcher() { const { setDayScheme, setNightScheme, colorScheme } = useTheme()