-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: upgrade to react 19, fix serialization issues (#495)
* chore: upgrade to react 19, fix serialization issues * fix types * upgrade nextra, fix tests * fix e2e * fix click outside
- Loading branch information
Showing
40 changed files
with
2,786 additions
and
2,205 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@premieroctet/next-admin": patch | ||
--- | ||
|
||
chore: upgrade to React 19, fix some serialization issues on Page Router |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import nextra from "nextra"; | ||
|
||
const config = nextra({ | ||
theme: "nextra-theme-docs", | ||
themeConfig: "./theme.config.jsx", | ||
}); | ||
|
||
export default config({ | ||
reactStrictMode: true, | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
export default { | ||
index: { | ||
type: "page", | ||
title: "Next Admin", | ||
display: "hidden", | ||
theme: { | ||
layout: "raw", | ||
}, | ||
}, | ||
docs: { | ||
title: " ", | ||
type: "page", | ||
}, | ||
v4: { | ||
title: "v4", | ||
type: "page", | ||
display: "hidden", | ||
}, | ||
changelog: { | ||
title: "Changelog", | ||
type: "page", | ||
}, | ||
demo: { | ||
title: "Demo", | ||
type: "page", | ||
href: "https://next-admin-po.vercel.app", | ||
newWindow: true, | ||
}, | ||
}; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
export default { | ||
index: "Versions", | ||
}; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
export default { | ||
index: "Introduction", | ||
"getting-started": "Getting Started", | ||
api: { | ||
title: "API", | ||
theme: { | ||
breadcrumb: true, | ||
footer: true, | ||
sidebar: true, | ||
toc: true, | ||
pagination: true, | ||
}, | ||
}, | ||
i18n: "I18n", | ||
theming: "Theming", | ||
glossary: "Glossary", | ||
route: "Route name", | ||
"edge-cases": "Edge cases", | ||
"code-snippets": "Code snippets", | ||
}; |
2 changes: 1 addition & 1 deletion
2
apps/docs/pages/docs/api/_meta.json → apps/docs/pages/docs/api/_meta.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
export default { | ||
"next-admin-component": { | ||
"title": "<NextAdmin/>" | ||
}, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
export default { | ||
docs: { | ||
title: "Documentation", | ||
type: "page", | ||
display: "hidden", | ||
}, | ||
}; |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
export default { | ||
index: "Introduction", | ||
"getting-started": "Getting Started", | ||
api: { | ||
title: "API", | ||
theme: { | ||
breadcrumb: true, | ||
footer: true, | ||
sidebar: true, | ||
toc: true, | ||
pagination: true, | ||
}, | ||
}, | ||
authentication: "Authentication", | ||
i18n: "I18n", | ||
|
||
theming: "Theming", | ||
glossary: "Glossary", | ||
route: "Route name", | ||
"edge-cases": "Edge cases", | ||
"code-snippets": "Code snippets", | ||
}; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
export default { | ||
"next-admin-component": { | ||
title: "<NextAdmin/>", | ||
}, | ||
"get-props-from-params": { | ||
title: "getPropsFromParams()", | ||
}, | ||
"next-admin-router": { | ||
title: "nextAdminRouter()", | ||
}, | ||
options: { | ||
title: "Options parameter", | ||
}, | ||
"model-configuration": { | ||
title: "Model configuration", | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.