f637c8a2cc
- Upgrade TypeScript example to Chakra UI v1 - Upgrade to React 17 - Patch some missing parts and fix broken icons in non TypeScript example - Add example how to persist color mode when you refresh the page: https://chakra-ui.com/docs/features/color-mode#add-colormodescript Source: https://chakra-ui.com/docs/migration
27 lines
628 B
JSON
27 lines
628 B
JSON
{
|
|
"name": "with-chakra-ui-typescript",
|
|
"version": "1.0.0",
|
|
"scripts": {
|
|
"dev": "next",
|
|
"build": "next build",
|
|
"start": "next start"
|
|
},
|
|
"dependencies": {
|
|
"@chakra-ui/icons": "^1.0.0",
|
|
"@chakra-ui/react": "^1.0.0",
|
|
"@chakra-ui/theme-tools": "1.0.0",
|
|
"@emotion/react": "11.1.1",
|
|
"@emotion/styled": "11.0.0",
|
|
"framer-motion": "^2.9.4",
|
|
"next": "latest",
|
|
"react": "^17.0.1",
|
|
"react-dom": "^17.0.1"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^14.6.0",
|
|
"@types/react": "^16.9.46",
|
|
"@types/react-dom": "^16.9.8",
|
|
"typescript": "4.0.5"
|
|
},
|
|
"license": "MIT"
|
|
}
|