57426a2849
This PR updates the minimum version of React used by examples from 17.0.2 to 18.2.0. Fixes #41975 ## Bug - [x] Related issues linked using `fixes #41975` - [ ] Integration tests added - [ ] Errors have a helpful link attached, see `contributing.md` ## Feature - [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR. - [ ] Related issues linked using `fixes #number` - [ ] Integration tests added - [ ] Documentation added - [ ] Telemetry added. In case of a feature if it's used or not. - [ ] Errors have a helpful link attached, see `contributing.md` ## Documentation / Examples - [x] Make sure the linting passes by running `pnpm build && pnpm lint` - [x] The "examples guidelines" are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing/examples/adding-examples.md)
35 lines
867 B
JSON
35 lines
867 B
JSON
{
|
|
"private": true,
|
|
"scripts": {
|
|
"dev": "next",
|
|
"build": "next build",
|
|
"start": "next start",
|
|
"toolbox": "react-toolbox-themr"
|
|
},
|
|
"dependencies": {
|
|
"classnames": "^2.2.5",
|
|
"next": "latest",
|
|
"react": "^18.2.0",
|
|
"react-addons-css-transition-group": "^15.5.2",
|
|
"react-dom": "^18.2.0",
|
|
"react-toolbox": "^2.0.0-beta.8"
|
|
},
|
|
"devDependencies": {
|
|
"react-toolbox-themr": "^1.0.2"
|
|
},
|
|
"reactToolbox": {
|
|
"include": [
|
|
"BUTTON",
|
|
"DATE_PICKER"
|
|
],
|
|
"customProperties": {
|
|
"animation-duration": "0.3s",
|
|
"color-accent": "var(--palette-pink-a200)",
|
|
"color-accent-dark": "var(--palette-pink-700)",
|
|
"color-primary-contrast": "var(--color-dark-contrast)",
|
|
"color-accent-contrast": "var(--color-dark-contrast)"
|
|
},
|
|
"output": "public",
|
|
"javascript": "./theme.js"
|
|
}
|
|
}
|