@linzjs/lui 17.16.2-0 → 17.16.2-1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "17.16.2-0",
2
+ "version": "17.16.2-1",
3
3
  "license": "MIT",
4
4
  "repository": {
5
5
  "type": "git",
@@ -33,7 +33,8 @@
33
33
  "prettier:fix-changed": "pretty-quick",
34
34
  "clear-cache": "jest --clearCache",
35
35
  "watch-storybook": "start-storybook --port=6006 --static-dir ./src/assets",
36
- "generate-svgs": "echo 'CHECK THAT YOUR SVG HAS A VIEW BOX, otherwise it will not work'; node ./svg-generator"
36
+ "generate-svgs": "echo 'CHECK THAT YOUR SVG HAS A VIEW BOX, otherwise it will not work'; node ./svg-generator",
37
+ "install-react-17": "npm i react@^17 react-dom@^17 && npm i @testing-library/react@^12 @types/react@^17 framer-motion@^4.1"
37
38
  },
38
39
  "peerDependencies": {
39
40
  "react": ">=16",
@@ -47,13 +48,12 @@
47
48
  "name": "@linzjs/lui",
48
49
  "module": "dist/lui.esm.js",
49
50
  "jest": {
51
+ "preset": "ts-jest",
52
+ "testEnvironment": "jsdom",
50
53
  "moduleNameMapper": {
51
54
  "\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/src/__mocks__/fileMock.js",
52
55
  "\\.(css|less|scss)$": "<rootDir>/src/__mocks__/styleMock.js"
53
56
  },
54
- "transform": {
55
- "^.+\\.tsx?$": "esbuild-jest"
56
- },
57
57
  "setupFilesAfterEnv": [
58
58
  "./setupTests.ts"
59
59
  ],
@@ -92,36 +92,35 @@
92
92
  "@storybook/react": "^6.5.0",
93
93
  "@storybook/theming": "^6.5.0",
94
94
  "@testing-library/jest-dom": "^5.8.0",
95
- "@testing-library/react": "^10.0.4",
96
- "@testing-library/user-event": "^10.4.0",
95
+ "@testing-library/react": "^13.0.0",
96
+ "@testing-library/user-event": "^14.0.0",
97
97
  "@types/camelcase": "^5.2.0",
98
- "@types/jest": "^25.2.3",
98
+ "@types/jest": "^27.4.1",
99
99
  "@types/jest-axe": "^3.5.0",
100
- "@types/react": "^16.9.55",
100
+ "@types/react": "^18.0.0",
101
101
  "@types/react-dom": "^16.9.9",
102
102
  "@types/react-helmet": "^6.1.2",
103
- "@types/react-modal": "^3.10.5",
103
+ "@types/react-modal": "^3.13.1",
104
104
  "@types/sass": "^1.16.0",
105
105
  "@types/uuid": "^8.3.1",
106
106
  "@types/yup": "0.29.13",
107
107
  "chromatic": "^4.0.3",
108
108
  "conventional-changelog-conventionalcommits": "^4.6.1",
109
109
  "css-loader": "^3.6.0",
110
- "esbuild": "^0.15.5",
111
- "esbuild-jest": "^0.5.0",
112
110
  "eslint-config-prettier": "8.3.0",
113
111
  "eslint-config-react-app": "^7.0.0",
114
112
  "eslint-plugin-prettier": "4.0.0",
115
113
  "fetch-mock": "^9.11.0",
116
114
  "html-loader": "^1.1.0",
117
115
  "husky": "^4.3.0",
116
+ "jest": "^27.5.1",
118
117
  "jest-axe": "^3.5.0",
119
118
  "jest-canvas-mock": "2.3.1",
120
119
  "msw": "^0.22.2",
121
120
  "npm-run-all": "^4.1.5",
122
121
  "pretty-quick": "^3.1.1",
123
- "react": "^17.0.2",
124
- "react-dom": "^17.0.2",
122
+ "react": "^18.0.0",
123
+ "react-dom": "^18.0.0",
125
124
  "react-helmet": "^6.1.0",
126
125
  "react-is": "^17.0.1",
127
126
  "rollup": "^2.56.3",
@@ -138,6 +137,7 @@
138
137
  "stylelint-config-standard": "^25.0.0",
139
138
  "stylelint-scss": "^4.1.0",
140
139
  "stylelint-suitcss": "^5.0.0",
140
+ "ts-jest": "^27.1.3",
141
141
  "typescript": "^4.7.4",
142
142
  "whatwg-fetch": "^3.4.1",
143
143
  "yup": "^0.29.0"
@@ -152,10 +152,10 @@
152
152
  "camelcase": "^6.0.0",
153
153
  "clsx": "^1.1.0",
154
154
  "container-query-polyfill": "0.1.2",
155
- "framer-motion": "4.1.17",
155
+ "framer-motion": "^7.5.2",
156
156
  "lottie-web": "^5.9.1",
157
157
  "react-loading-skeleton": "^3.1.0",
158
- "react-modal": "^3.11.2",
158
+ "react-modal": "^3.15.1",
159
159
  "react-query": "2.26.3",
160
160
  "react-select": "^5.1.0",
161
161
  "resolve-url-loader": "^5.0.0",