Skip to content

Commit

Permalink
Merge branch 'main' into kendallg/axe-test-on-ci
Browse files Browse the repository at this point in the history
  • Loading branch information
kendallgassner authored Jan 27, 2025
2 parents a676ca6 + 0895e47 commit bd58df1
Show file tree
Hide file tree
Showing 20 changed files with 1,002 additions and 475 deletions.
5 changes: 5 additions & 0 deletions .changeset/brave-dolls-sparkle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/react": minor
---

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

Update dependency range for React dependencies to include 19.x
2 changes: 1 addition & 1 deletion examples/codesandbox/src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import {Button} from '@primer/react'

function App() {
return <Button>Hello</Button>
return <Button>Hello World</Button>
}

export default App
8 changes: 8 additions & 0 deletions examples/codesandbox/src/index.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
@import '@primer/primitives/dist/css/primitives.css';
@import '@primer/primitives/dist/css/functional/themes/light.css';
@import '@primer/primitives/dist/css/functional/themes/dark.css';

body {
color: var(--fgColor-default);
background-color: var(--bgColor-default);
}
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
/// <reference types="next/image-types/global" />

// NOTE: This file should not be edited
// see https://nextjs.org/docs/basic-features/typescript for more information.
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "example-app-router",
"name": "example-nextjs",
"version": "0.0.0",
"private": true,
"scripts": {
Expand All @@ -11,14 +11,14 @@
},
"dependencies": {
"@primer/react": "37.11.0",
"next": "^14.2.15",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"next": "^15.1.4",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"styled-components": "5.x",
"typescript": "^5.7.2"
},
"devDependencies": {
"@next/eslint-plugin-next": "14.1.0",
"@next/eslint-plugin-next": "^15.1.4",
"rimraf": "^5.0.5"
}
}
8 changes: 8 additions & 0 deletions examples/nextjs/src/app/global.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
@import '@primer/primitives/dist/css/primitives.css';
@import '@primer/primitives/dist/css/functional/themes/light.css';
@import '@primer/primitives/dist/css/functional/themes/dark.css';

body {
color: var(--fgColor-default);
background-color: var(--bgColor-default);
}
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import './global.css'
import {BaseStyles, ThemeProvider} from '@primer/react'
import {StyledComponentsRegistry} from './registry'

Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
{
"name": "next"
}
]
],
"target": "ES2017"
},
"include": [
"next-env.d.ts",
Expand Down
Loading

0 comments on commit bd58df1

Please sign in to comment.