⬆️(react) upgrade package to use official tokens
... and install user-event library. Setting the stage for the implementation of real tokens in the Button component.
This commit is contained in:
@@ -52,6 +52,7 @@
|
||||
"@storybook/testing-library": "0.0.13",
|
||||
"@testing-library/dom": "8.19.1",
|
||||
"@testing-library/react": "13.4.0",
|
||||
"@testing-library/user-event": "14.4.3",
|
||||
"@types/react": "18.0.26",
|
||||
"@types/react-dom": "18.0.10",
|
||||
"@vitejs/plugin-react": "3.0.0",
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
@import "@fontsource/roboto/100";
|
||||
@import "@fontsource/roboto/300";
|
||||
@import "@fontsource/roboto/400";
|
||||
@import "@fontsource/roboto/700";
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
"extends": "@openfun/typescript-configs/react.json",
|
||||
"compilerOptions": {
|
||||
"noEmit": true,
|
||||
"baseUrl": "./src"
|
||||
"baseUrl": "./src",
|
||||
"types": ["vitest/globals"]
|
||||
},
|
||||
"include": ["src", "cunningham.ts"],
|
||||
"exclude": ["node_modules","dist", "**/tokens.ts"],
|
||||
|
||||
Reference in New Issue
Block a user