gov-ui-core 0.2.6-beta.10 → 0.2.6-beta.2

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.
Files changed (115) hide show
  1. package/.eslintrc.json +54 -54
  2. package/.husky/pre-commit +4 -4
  3. package/.prettierrc +12 -12
  4. package/.storybook/main.ts +37 -37
  5. package/.storybook/preview.tsx +27 -27
  6. package/.stylelintrc.json +16 -16
  7. package/@types/custom.d.ts +43 -43
  8. package/@types/styles.d.ts +86 -86
  9. package/README.md +46 -46
  10. package/build/App.d.ts +3 -3
  11. package/build/Main.d.ts +5 -5
  12. package/build/components/Button/DropdownButton.d.ts +15 -15
  13. package/build/components/Button/SwitchButton.d.ts +7 -7
  14. package/build/components/Button/constants.d.ts +19 -19
  15. package/build/components/Button/index.d.ts +11 -11
  16. package/build/components/Button/styled.d.ts +11 -11
  17. package/build/components/Calendar/CalendarNavigation.d.ts +9 -9
  18. package/build/components/Calendar/constants.d.ts +2 -2
  19. package/build/components/Calendar/index.d.ts +11 -11
  20. package/build/components/Calendar/styled.d.ts +2 -2
  21. package/build/components/Carousel/ArrowButton.d.ts +7 -7
  22. package/build/components/Carousel/index.d.ts +14 -14
  23. package/build/components/Carousel/styled.d.ts +2 -2
  24. package/build/components/Directory/index.d.ts +32 -32
  25. package/build/components/Directory/styled.d.ts +6 -6
  26. package/build/components/EmptyBox/index.d.ts +8 -8
  27. package/build/components/EmptyBox/styled.d.ts +4 -4
  28. package/build/components/Form/Form.d.ts +21 -21
  29. package/build/components/Form/Group.d.ts +6 -6
  30. package/build/components/Form/Item.d.ts +22 -22
  31. package/build/components/Form/index.d.ts +14 -14
  32. package/build/components/Form/styled.d.ts +7 -7
  33. package/build/components/Header/ContentHeader.d.ts +15 -15
  34. package/build/components/Header/styled.d.ts +5 -5
  35. package/build/components/Icons/index.d.ts +14 -14
  36. package/build/components/Input/Checkbox.d.ts +19 -19
  37. package/build/components/Input/ErrorMessage.d.ts +8 -8
  38. package/build/components/Input/Input.d.ts +23 -23
  39. package/build/components/Input/InputNumber.d.ts +8 -8
  40. package/build/components/Input/Radio.d.ts +16 -16
  41. package/build/components/Input/Search.d.ts +13 -13
  42. package/build/components/Input/Select.d.ts +39 -40
  43. package/build/components/Input/TextArea.d.ts +15 -15
  44. package/build/components/Input/index.d.ts +19 -19
  45. package/build/components/Input/styled.d.ts +25 -25
  46. package/build/components/IntlText/index.d.ts +5 -5
  47. package/build/components/Loading/OverlayLoading.d.ts +10 -10
  48. package/build/components/Loading/Spinner.d.ts +9 -9
  49. package/build/components/Loading/styled.d.ts +10 -10
  50. package/build/components/Styled/mixins.d.ts +13 -13
  51. package/build/components/Styled/variable.d.ts +6 -6
  52. package/build/components/Table/AppendTable.d.ts +26 -26
  53. package/build/components/Table/AutoTooltip.d.ts +8 -8
  54. package/build/components/Table/TableBase.d.ts +16 -16
  55. package/build/components/Table/TableLoading.d.ts +9 -9
  56. package/build/components/Table/components/Pagination.d.ts +18 -18
  57. package/build/components/Table/components/PaginationItem.d.ts +9 -9
  58. package/build/components/Table/index.d.ts +27 -27
  59. package/build/components/Table/styled.d.ts +25 -25
  60. package/build/components/ThemeProvider.d.ts +16 -16
  61. package/build/globalStyle.d.ts +5 -5
  62. package/build/index.d.ts +1 -1
  63. package/build/index.js +1 -1
  64. package/build/modules.d.ts +24 -25
  65. package/build/pages/ButtonSample.d.ts +6 -6
  66. package/build/pages/CreateTable.d.ts +20 -20
  67. package/build/pages/FormSample.d.ts +5 -5
  68. package/build/pages/InputSample.d.ts +6 -6
  69. package/build/pages/Sample.d.ts +5 -5
  70. package/build/pages/Sample2.d.ts +5 -5
  71. package/build/pages/Sample3.d.ts +5 -5
  72. package/build/pages/Sample4.d.ts +5 -5
  73. package/build/pages/TableSample.d.ts +5 -5
  74. package/build/pages/TailwindSample.d.ts +1 -1
  75. package/build/pages/sampleData.d.ts +59 -59
  76. package/build/reportWebVitals.d.ts +3 -3
  77. package/build/theme.d.ts +3 -3
  78. package/build/utils/customState.d.ts +28 -28
  79. package/build/utils/hookUtils.d.ts +16 -16
  80. package/build/utils/index.d.ts +35 -35
  81. package/config/env.js +104 -104
  82. package/config/getHttpsConfig.js +66 -66
  83. package/config/jest/babelTransform.js +29 -29
  84. package/config/jest/cssTransform.js +14 -14
  85. package/config/jest/fileTransform.js +40 -40
  86. package/config/modules.js +134 -134
  87. package/config/paths.js +77 -77
  88. package/config/webpack/persistentCache/createEnvironmentHash.js +9 -9
  89. package/config/webpack.config.js +756 -756
  90. package/config/webpack.prod.config.js +91 -91
  91. package/config/webpackDevServer.config.js +127 -127
  92. package/doctor-storybook.log +18 -0
  93. package/migration-storybook.log +98 -0
  94. package/package.json +246 -246
  95. package/postcss.config.js +6 -8
  96. package/public/index.html +43 -43
  97. package/public/manifest.json +25 -25
  98. package/public/robots.txt +3 -3
  99. package/scripts/build.js +217 -217
  100. package/scripts/start.js +154 -154
  101. package/scripts/test.js +52 -52
  102. package/tailwind.config.js +185 -185
  103. package/tsconfig.json +34 -34
  104. package/build/20d0d451f31ed3b5c15f.woff +0 -1
  105. package/build/39285e8af490890e2df4.otf +0 -0
  106. package/build/3965b6176d1ce958b445.woff +0 -1
  107. package/build/508d69efb37042551458.woff +0 -1
  108. package/build/72ba455576ce8174ffa8.otf +0 -0
  109. package/build/a9ba4978d441af03cd27.woff +0 -1
  110. package/build/components/Chip/constants.d.ts +0 -9
  111. package/build/components/Chip/index.d.ts +0 -12
  112. package/build/components/TailwindTest/index.d.ts +0 -6
  113. package/build/e65c7edcd47e3e9f5c99.otf +0 -0
  114. package/build/f7a8dce8dfc249d7e12b.otf +0 -0
  115. package/build/pages/ChipSample.d.ts +0 -6
package/package.json CHANGED
@@ -1,246 +1,246 @@
1
- {
2
- "name": "gov-ui-core",
3
- "version": "0.2.6-beta.10",
4
- "main": "./build/index.js",
5
- "module": "./build/index.js",
6
- "types": "./build/modules.d.ts",
7
- "repository": "https://github.com/liamyoon/gov-ui-core",
8
- "dependencies": {
9
- "@babel/core": "^7.16.0",
10
- "@craco/craco": "^7.1.0",
11
- "@mdi/font": "^5.9.55",
12
- "@mdi/js": "^5.9.55",
13
- "@mdi/react": "^1.6.1",
14
- "@pmmmwh/react-refresh-webpack-plugin": "^0.5.3",
15
- "@svgr/webpack": "^5.5.0",
16
- "@testing-library/jest-dom": "^5.17.0",
17
- "@testing-library/react": "^13.4.0",
18
- "@testing-library/user-event": "^13.5.0",
19
- "@types/node": "^16.18.90",
20
- "@types/react": "^18.2.67",
21
- "@types/react-date-range": "^1.4.9",
22
- "@types/react-dom": "^18.2.22",
23
- "antd": "^4.24.16",
24
- "babel-jest": "^27.4.2",
25
- "babel-loader": "^8.2.3",
26
- "babel-plugin-named-asset-import": "^0.3.8",
27
- "babel-preset-react-app": "^10.0.1",
28
- "bfj": "^7.0.2",
29
- "browserslist": "^4.18.1",
30
- "camelcase": "^6.2.1",
31
- "case-sensitive-paths-webpack-plugin": "^2.4.0",
32
- "classnames": "^2.5.1",
33
- "css-loader": "^6.5.1",
34
- "css-minimizer-webpack-plugin": "^3.2.0",
35
- "date-fns": "^2.30.0",
36
- "dotenv": "^10.0.0",
37
- "dotenv-expand": "^5.1.0",
38
- "dynamic-antd-theme": "^0.8.7",
39
- "file-loader": "^6.2.0",
40
- "fs-extra": "^10.0.0",
41
- "html-webpack-plugin": "^5.5.0",
42
- "identity-obj-proxy": "^3.0.0",
43
- "jest": "^27.4.3",
44
- "jest-resolve": "^27.4.2",
45
- "jest-watch-typeahead": "^1.0.0",
46
- "lodash": "^4.17.21",
47
- "mini-css-extract-plugin": "^2.4.5",
48
- "moment": "^2.30.1",
49
- "postcss": "^8.4.4",
50
- "postcss-flexbugs-fixes": "^5.0.2",
51
- "postcss-loader": "^6.2.1",
52
- "postcss-normalize": "^10.0.1",
53
- "postcss-preset-env": "^7.0.1",
54
- "prompts": "^2.4.2",
55
- "query-string": "^9.0.0",
56
- "ramda": "^0.29.1",
57
- "rc-motion": "^2.9.0",
58
- "react-app-polyfill": "^3.0.0",
59
- "react-date-range": "^1.4.0",
60
- "react-dev-utils": "^12.0.1",
61
- "react": "18.2",
62
- "react-dom": "18.2",
63
- "react-hook-form": "^7.51.1",
64
- "react-intl": "^6.8.9",
65
- "react-refresh": "^0.11.0",
66
- "react-router-dom": "^6.22.3",
67
- "react-slick": "^0.30.2",
68
- "resolve": "^1.20.0",
69
- "resolve-url-loader": "^4.0.0",
70
- "semver": "^7.3.5",
71
- "slick-carousel": "^1.8.1",
72
- "source-map-loader": "^3.0.0",
73
- "style-loader": "^3.3.1",
74
- "styled-components": "^5.3.11",
75
- "tailwindcss": "^3.0.2",
76
- "tailwindcss-animate": "^1.0.7",
77
- "terser-webpack-plugin": "^5.2.5",
78
- "typescript": "^4.9.5",
79
- "web-vitals": "^2.1.4",
80
- "webpack-dev-server": "^4.6.0",
81
- "webpack-manifest-plugin": "^4.0.2",
82
- "workbox-webpack-plugin": "^6.4.1"
83
- },
84
- "scripts": {
85
- "start": "node scripts/start.js",
86
- "types": "tsc --emitDeclarationOnly && tscpaths -p ./tsconfig.json -s ./src -o ./build",
87
- "build": "npx tailwindcss -i ./src/index.scss -o ./src/tailwind.css && node scripts/build.js && npm run types",
88
- "test": "node node scripts/test.js",
89
- "storybook": "storybook dev -p 6006",
90
- "build-storybook": "storybook build",
91
- "deploy-storybook": "gh-pages -d storybook-static -r https://github.com/nexr/neb-ui.git",
92
- "lint": "eslint ./src/**/*.{ts,tsx}",
93
- "lint:css": "stylelint --ignore-path .gitignore '**/*.scss'",
94
- "prepare": "husky install",
95
- "precommit": "lint-staged"
96
- },
97
- "lint-staged": {
98
- "**/*.{ts,tsx}": [
99
- "eslint --fix",
100
- "prettier --write"
101
- ],
102
- "**/*.{scss,css}": [
103
- "stylelint --fix",
104
- "prettier --write"
105
- ]
106
- },
107
- "eslintConfig": {
108
- "extends": [
109
- "react-app",
110
- "react-app/jest",
111
- "plugin:storybook/recommended"
112
- ],
113
- "rules": {
114
- "react-hooks/exhaustive-deps": "off",
115
- "jsx-a11y/anchor-is-valid": 0
116
- }
117
- },
118
- "browserslist": {
119
- "production": [
120
- ">0.2%",
121
- "not dead",
122
- "not op_mini all"
123
- ],
124
- "development": [
125
- "last 1 chrome version",
126
- "last 1 firefox version",
127
- "last 1 safari version"
128
- ]
129
- },
130
- "devDependencies": {
131
- "@babel/plugin-proposal-private-property-in-object": "^7.21.11",
132
- "@chromatic-com/storybook": "^3.2.2",
133
- "@storybook/addon-actions": "^8.4.7",
134
- "@storybook/addon-essentials": "^8.4.7",
135
- "@storybook/addon-interactions": "^8.4.7",
136
- "@storybook/addon-knobs": "^8.0.1",
137
- "@storybook/addon-links": "^8.4.7",
138
- "@storybook/addon-onboarding": "^8.4.7",
139
- "@storybook/addon-webpack5-compiler-swc": "^1.0.5",
140
- "@storybook/blocks": "^8.4.7",
141
- "@storybook/preset-create-react-app": "^8.4.7",
142
- "@storybook/react": "^8.4.7",
143
- "@storybook/react-webpack5": "^8.4.7",
144
- "@storybook/test": "^8.4.7",
145
- "@types/jest": "^29.5.14",
146
- "@types/lodash": "^4.17.0",
147
- "@types/ramda": "^0.29.11",
148
- "@types/react-slick": "^0.23.13",
149
- "@types/slick-carousel": "^1.6.40",
150
- "@types/styled-components": "^5.1.34",
151
- "clean-webpack-plugin": "^4.0.0",
152
- "eslint-plugin-storybook": "^0.11.1",
153
- "@typescript-eslint/eslint-plugin": "^5.47.1",
154
- "@typescript-eslint/parser": "^5.47.1",
155
- "eslint": "^8.3.0",
156
- "eslint-config-react-app": "^7.0.1",
157
- "eslint-webpack-plugin": "^3.1.1",
158
- "eslint-config-airbnb": "^19.0.4",
159
- "eslint-config-airbnb-typescript": "^17.0.0",
160
- "eslint-config-prettier": "^8.5.0",
161
- "eslint-plugin-import": "^2.26.0",
162
- "eslint-plugin-jsx-a11y": "^6.6.1",
163
- "eslint-plugin-prettier": "^4.2.1",
164
- "eslint-plugin-react": "^7.31.11",
165
- "eslint-plugin-react-hooks": "^4.6.0",
166
- "prop-types": "^15.8.1",
167
- "sass": "^1.72.0",
168
- "sass-loader": "^16.0.3",
169
- "storybook": "^8.4.7",
170
- "ts-loader": "^9.5.1",
171
- "tscpaths": "^0.0.9",
172
- "url-loader": "^4.1.1",
173
- "webpack": "^5.94.0",
174
- "husky": "^8.0.0",
175
- "lint-staged": "^13.1.0",
176
- "prettier": "^2.8.1",
177
- "stylelint": "^14.16.0",
178
- "stylelint-config-prettier-scss": "^0.0.1",
179
- "stylelint-config-standard-scss": "^6.1.0"
180
- },
181
- "resolutions": {
182
- "types-ramda": "0.29.4",
183
- "@formatjs/fast-memoize": "2.2.2"
184
- },
185
- "overrides": {
186
- "types-ramda": "0.29.4",
187
- "@formatjs/fast-memoize": "2.2.2"
188
- },
189
- "jest": {
190
- "roots": [
191
- "<rootDir>/src"
192
- ],
193
- "collectCoverageFrom": [
194
- "src/**/*.{js,jsx,ts,tsx}",
195
- "!src/**/*.d.ts"
196
- ],
197
- "setupFiles": [
198
- "react-app-polyfill/jsdom"
199
- ],
200
- "setupFilesAfterEnv": [
201
- "<rootDir>/src/setupTests.ts"
202
- ],
203
- "testMatch": [
204
- "<rootDir>/src/**/__tests__/**/*.{js,jsx,ts,tsx}",
205
- "<rootDir>/src/**/*.{spec,test}.{js,jsx,ts,tsx}"
206
- ],
207
- "testEnvironment": "jsdom",
208
- "transform": {
209
- "^.+\\.(js|jsx|mjs|cjs|ts|tsx)$": "<rootDir>/config/jest/babelTransform.js",
210
- "^.+\\.css$": "<rootDir>/config/jest/cssTransform.js",
211
- "^(?!.*\\.(js|jsx|mjs|cjs|ts|tsx|css|json)$)": "<rootDir>/config/jest/fileTransform.js"
212
- },
213
- "transformIgnorePatterns": [
214
- "[/\\\\]node_modules[/\\\\].+\\.(js|jsx|mjs|cjs|ts|tsx)$",
215
- "^.+\\.module\\.(css|sass|scss)$"
216
- ],
217
- "modulePaths": [],
218
- "moduleNameMapper": {
219
- "^react-native$": "react-native-web",
220
- "^.+\\.module\\.(css|sass|scss)$": "identity-obj-proxy",
221
- "^src/(.*)$": "<rootDir>/src/$1"
222
- },
223
- "moduleFileExtensions": [
224
- "web.js",
225
- "js",
226
- "web.ts",
227
- "ts",
228
- "web.tsx",
229
- "tsx",
230
- "json",
231
- "web.jsx",
232
- "jsx",
233
- "node"
234
- ],
235
- "watchPlugins": [
236
- "jest-watch-typeahead/filename",
237
- "jest-watch-typeahead/testname"
238
- ],
239
- "resetMocks": true
240
- },
241
- "babel": {
242
- "presets": [
243
- "react-app"
244
- ]
245
- }
246
- }
1
+ {
2
+ "name": "gov-ui-core",
3
+ "version": "0.2.6-beta.2",
4
+ "main": "./build/index.js",
5
+ "module": "./build/index.js",
6
+ "types": "./build/modules.d.ts",
7
+ "repository": "https://github.com/liamyoon/gov-ui-core",
8
+ "dependencies": {
9
+ "@babel/core": "^7.16.0",
10
+ "@craco/craco": "^7.1.0",
11
+ "@mdi/font": "^5.9.55",
12
+ "@mdi/js": "^5.9.55",
13
+ "@mdi/react": "^1.6.1",
14
+ "@pmmmwh/react-refresh-webpack-plugin": "^0.5.3",
15
+ "@svgr/webpack": "^5.5.0",
16
+ "@testing-library/jest-dom": "^5.17.0",
17
+ "@testing-library/react": "^13.4.0",
18
+ "@testing-library/user-event": "^13.5.0",
19
+ "@types/node": "^16.18.90",
20
+ "@types/react": "^18.2.67",
21
+ "@types/react-date-range": "^1.4.9",
22
+ "@types/react-dom": "^18.2.22",
23
+ "antd": "^4.24.16",
24
+ "babel-jest": "^27.4.2",
25
+ "babel-loader": "^8.2.3",
26
+ "babel-plugin-named-asset-import": "^0.3.8",
27
+ "babel-preset-react-app": "^10.0.1",
28
+ "bfj": "^7.0.2",
29
+ "browserslist": "^4.18.1",
30
+ "camelcase": "^6.2.1",
31
+ "case-sensitive-paths-webpack-plugin": "^2.4.0",
32
+ "classnames": "^2.5.1",
33
+ "css-loader": "^6.5.1",
34
+ "css-minimizer-webpack-plugin": "^3.2.0",
35
+ "date-fns": "^2.30.0",
36
+ "dotenv": "^10.0.0",
37
+ "dotenv-expand": "^5.1.0",
38
+ "dynamic-antd-theme": "^0.8.7",
39
+ "file-loader": "^6.2.0",
40
+ "fs-extra": "^10.0.0",
41
+ "html-webpack-plugin": "^5.5.0",
42
+ "identity-obj-proxy": "^3.0.0",
43
+ "jest": "^27.4.3",
44
+ "jest-resolve": "^27.4.2",
45
+ "jest-watch-typeahead": "^1.0.0",
46
+ "lodash": "^4.17.21",
47
+ "mini-css-extract-plugin": "^2.4.5",
48
+ "moment": "^2.30.1",
49
+ "postcss": "^8.4.4",
50
+ "postcss-flexbugs-fixes": "^5.0.2",
51
+ "postcss-loader": "^6.2.1",
52
+ "postcss-normalize": "^10.0.1",
53
+ "postcss-preset-env": "^7.0.1",
54
+ "prompts": "^2.4.2",
55
+ "query-string": "^9.0.0",
56
+ "ramda": "^0.29.1",
57
+ "rc-motion": "^2.9.0",
58
+ "react-app-polyfill": "^3.0.0",
59
+ "react-date-range": "^1.4.0",
60
+ "react-dev-utils": "^12.0.1",
61
+ "react": "18.2",
62
+ "react-dom": "18.2",
63
+ "react-hook-form": "^7.51.1",
64
+ "react-intl": "^6.8.9",
65
+ "react-refresh": "^0.11.0",
66
+ "react-router-dom": "^6.22.3",
67
+ "react-slick": "^0.30.2",
68
+ "resolve": "^1.20.0",
69
+ "resolve-url-loader": "^4.0.0",
70
+ "semver": "^7.3.5",
71
+ "slick-carousel": "^1.8.1",
72
+ "source-map-loader": "^3.0.0",
73
+ "style-loader": "^3.3.1",
74
+ "styled-components": "^5.3.11",
75
+ "tailwindcss": "^3.0.2",
76
+ "tailwindcss-animate": "^1.0.7",
77
+ "terser-webpack-plugin": "^5.2.5",
78
+ "typescript": "^4.9.5",
79
+ "web-vitals": "^2.1.4",
80
+ "webpack-dev-server": "^4.6.0",
81
+ "webpack-manifest-plugin": "^4.0.2",
82
+ "workbox-webpack-plugin": "^6.4.1"
83
+ },
84
+ "scripts": {
85
+ "start": "node scripts/start.js",
86
+ "types": "tsc --emitDeclarationOnly && tscpaths -p ./tsconfig.json -s ./src -o ./build",
87
+ "build": "node scripts/build.js && npm run types",
88
+ "test": "node node scripts/test.js",
89
+ "storybook": "storybook dev -p 6006",
90
+ "build-storybook": "storybook build",
91
+ "deploy-storybook": "gh-pages -d storybook-static -r https://github.com/nexr/neb-ui.git",
92
+ "lint": "eslint ./src/**/*.{ts,tsx}",
93
+ "lint:css": "stylelint --ignore-path .gitignore '**/*.scss'",
94
+ "prepare": "husky install",
95
+ "precommit": "lint-staged"
96
+ },
97
+ "lint-staged": {
98
+ "**/*.{ts,tsx}": [
99
+ "eslint --fix",
100
+ "prettier --write"
101
+ ],
102
+ "**/*.{scss,css}": [
103
+ "stylelint --fix",
104
+ "prettier --write"
105
+ ]
106
+ },
107
+ "eslintConfig": {
108
+ "extends": [
109
+ "react-app",
110
+ "react-app/jest",
111
+ "plugin:storybook/recommended"
112
+ ],
113
+ "rules": {
114
+ "react-hooks/exhaustive-deps": "off",
115
+ "jsx-a11y/anchor-is-valid": 0
116
+ }
117
+ },
118
+ "browserslist": {
119
+ "production": [
120
+ ">0.2%",
121
+ "not dead",
122
+ "not op_mini all"
123
+ ],
124
+ "development": [
125
+ "last 1 chrome version",
126
+ "last 1 firefox version",
127
+ "last 1 safari version"
128
+ ]
129
+ },
130
+ "devDependencies": {
131
+ "@babel/plugin-proposal-private-property-in-object": "^7.21.11",
132
+ "@chromatic-com/storybook": "^3.2.2",
133
+ "@storybook/addon-actions": "^8.4.7",
134
+ "@storybook/addon-essentials": "^8.4.7",
135
+ "@storybook/addon-interactions": "^8.4.7",
136
+ "@storybook/addon-knobs": "^8.0.1",
137
+ "@storybook/addon-links": "^8.4.7",
138
+ "@storybook/addon-onboarding": "^8.4.7",
139
+ "@storybook/addon-webpack5-compiler-swc": "^1.0.5",
140
+ "@storybook/blocks": "^8.4.7",
141
+ "@storybook/preset-create-react-app": "^8.4.7",
142
+ "@storybook/react": "^8.4.7",
143
+ "@storybook/react-webpack5": "^8.4.7",
144
+ "@storybook/test": "^8.4.7",
145
+ "@types/jest": "^29.5.14",
146
+ "@types/lodash": "^4.17.0",
147
+ "@types/ramda": "^0.29.11",
148
+ "@types/react-slick": "^0.23.13",
149
+ "@types/slick-carousel": "^1.6.40",
150
+ "@types/styled-components": "^5.1.34",
151
+ "clean-webpack-plugin": "^4.0.0",
152
+ "eslint-plugin-storybook": "^0.11.1",
153
+ "@typescript-eslint/eslint-plugin": "^5.47.1",
154
+ "@typescript-eslint/parser": "^5.47.1",
155
+ "eslint": "^8.3.0",
156
+ "eslint-config-react-app": "^7.0.1",
157
+ "eslint-webpack-plugin": "^3.1.1",
158
+ "eslint-config-airbnb": "^19.0.4",
159
+ "eslint-config-airbnb-typescript": "^17.0.0",
160
+ "eslint-config-prettier": "^8.5.0",
161
+ "eslint-plugin-import": "^2.26.0",
162
+ "eslint-plugin-jsx-a11y": "^6.6.1",
163
+ "eslint-plugin-prettier": "^4.2.1",
164
+ "eslint-plugin-react": "^7.31.11",
165
+ "eslint-plugin-react-hooks": "^4.6.0",
166
+ "prop-types": "^15.8.1",
167
+ "sass": "^1.72.0",
168
+ "sass-loader": "^16.0.3",
169
+ "storybook": "^8.4.7",
170
+ "ts-loader": "^9.5.1",
171
+ "tscpaths": "^0.0.9",
172
+ "url-loader": "^4.1.1",
173
+ "webpack": "^5.94.0",
174
+ "husky": "^8.0.0",
175
+ "lint-staged": "^13.1.0",
176
+ "prettier": "^2.8.1",
177
+ "stylelint": "^14.16.0",
178
+ "stylelint-config-prettier-scss": "^0.0.1",
179
+ "stylelint-config-standard-scss": "^6.1.0"
180
+ },
181
+ "resolutions": {
182
+ "types-ramda": "0.29.4",
183
+ "@formatjs/fast-memoize": "2.2.2"
184
+ },
185
+ "overrides": {
186
+ "types-ramda": "0.29.4",
187
+ "@formatjs/fast-memoize": "2.2.2"
188
+ },
189
+ "jest": {
190
+ "roots": [
191
+ "<rootDir>/src"
192
+ ],
193
+ "collectCoverageFrom": [
194
+ "src/**/*.{js,jsx,ts,tsx}",
195
+ "!src/**/*.d.ts"
196
+ ],
197
+ "setupFiles": [
198
+ "react-app-polyfill/jsdom"
199
+ ],
200
+ "setupFilesAfterEnv": [
201
+ "<rootDir>/src/setupTests.ts"
202
+ ],
203
+ "testMatch": [
204
+ "<rootDir>/src/**/__tests__/**/*.{js,jsx,ts,tsx}",
205
+ "<rootDir>/src/**/*.{spec,test}.{js,jsx,ts,tsx}"
206
+ ],
207
+ "testEnvironment": "jsdom",
208
+ "transform": {
209
+ "^.+\\.(js|jsx|mjs|cjs|ts|tsx)$": "<rootDir>/config/jest/babelTransform.js",
210
+ "^.+\\.css$": "<rootDir>/config/jest/cssTransform.js",
211
+ "^(?!.*\\.(js|jsx|mjs|cjs|ts|tsx|css|json)$)": "<rootDir>/config/jest/fileTransform.js"
212
+ },
213
+ "transformIgnorePatterns": [
214
+ "[/\\\\]node_modules[/\\\\].+\\.(js|jsx|mjs|cjs|ts|tsx)$",
215
+ "^.+\\.module\\.(css|sass|scss)$"
216
+ ],
217
+ "modulePaths": [],
218
+ "moduleNameMapper": {
219
+ "^react-native$": "react-native-web",
220
+ "^.+\\.module\\.(css|sass|scss)$": "identity-obj-proxy",
221
+ "^src/(.*)$": "<rootDir>/src/$1"
222
+ },
223
+ "moduleFileExtensions": [
224
+ "web.js",
225
+ "js",
226
+ "web.ts",
227
+ "ts",
228
+ "web.tsx",
229
+ "tsx",
230
+ "json",
231
+ "web.jsx",
232
+ "jsx",
233
+ "node"
234
+ ],
235
+ "watchPlugins": [
236
+ "jest-watch-typeahead/filename",
237
+ "jest-watch-typeahead/testname"
238
+ ],
239
+ "resetMocks": true
240
+ },
241
+ "babel": {
242
+ "presets": [
243
+ "react-app"
244
+ ]
245
+ }
246
+ }
package/postcss.config.js CHANGED
@@ -1,8 +1,6 @@
1
- module.exports = {
2
- plugins: {
3
- tailwindcss: {
4
- config: './tailwind.config.js',
5
- },
6
- autoprefixer: {},
7
- },
8
- }
1
+ module.exports = {
2
+ plugins: {
3
+ tailwindcss: {},
4
+ autoprefixer: {},
5
+ },
6
+ }
package/public/index.html CHANGED
@@ -1,43 +1,43 @@
1
- <!DOCTYPE html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="utf-8" />
5
- <link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
6
- <meta name="viewport" content="width=device-width, initial-scale=1" />
7
- <meta name="theme-color" content="#000000" />
8
- <meta
9
- name="description"
10
- content="Web site created using create-react-app"
11
- />
12
- <link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
13
- <!--
14
- manifest.json provides metadata used when your web app is installed on a
15
- user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
16
- -->
17
- <link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
18
- <!--
19
- Notice the use of %PUBLIC_URL% in the tags above.
20
- It will be replaced with the URL of the `public` folder during the build.
21
- Only files inside the `public` folder can be referenced from the HTML.
22
-
23
- Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
24
- work correctly both with client-side routing and a non-root public URL.
25
- Learn how to configure a non-root public URL by running `npm run build`.
26
- -->
27
- <title>React App</title>
28
- </head>
29
- <body>
30
- <noscript>You need to enable JavaScript to run this app.</noscript>
31
- <div id="root"></div>
32
- <!--
33
- This HTML file is a template.
34
- If you open it directly in the browser, you will see an empty page.
35
-
36
- You can add webfonts, meta tags, or analytics to this file.
37
- The build step will place the bundled scripts into the <body> tag.
38
-
39
- To begin the development, run `npm start` or `yarn start`.
40
- To create a production bundle, use `npm run build` or `yarn build`.
41
- -->
42
- </body>
43
- </html>
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="utf-8" />
5
+ <link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
6
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
7
+ <meta name="theme-color" content="#000000" />
8
+ <meta
9
+ name="description"
10
+ content="Web site created using create-react-app"
11
+ />
12
+ <link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
13
+ <!--
14
+ manifest.json provides metadata used when your web app is installed on a
15
+ user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
16
+ -->
17
+ <link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
18
+ <!--
19
+ Notice the use of %PUBLIC_URL% in the tags above.
20
+ It will be replaced with the URL of the `public` folder during the build.
21
+ Only files inside the `public` folder can be referenced from the HTML.
22
+
23
+ Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
24
+ work correctly both with client-side routing and a non-root public URL.
25
+ Learn how to configure a non-root public URL by running `npm run build`.
26
+ -->
27
+ <title>React App</title>
28
+ </head>
29
+ <body>
30
+ <noscript>You need to enable JavaScript to run this app.</noscript>
31
+ <div id="root"></div>
32
+ <!--
33
+ This HTML file is a template.
34
+ If you open it directly in the browser, you will see an empty page.
35
+
36
+ You can add webfonts, meta tags, or analytics to this file.
37
+ The build step will place the bundled scripts into the <body> tag.
38
+
39
+ To begin the development, run `npm start` or `yarn start`.
40
+ To create a production bundle, use `npm run build` or `yarn build`.
41
+ -->
42
+ </body>
43
+ </html>
@@ -1,25 +1,25 @@
1
- {
2
- "short_name": "React App",
3
- "name": "Create React App Sample",
4
- "icons": [
5
- {
6
- "src": "favicon.ico",
7
- "sizes": "64x64 32x32 24x24 16x16",
8
- "type": "image/x-icon"
9
- },
10
- {
11
- "src": "logo192.png",
12
- "type": "image/png",
13
- "sizes": "192x192"
14
- },
15
- {
16
- "src": "logo512.png",
17
- "type": "image/png",
18
- "sizes": "512x512"
19
- }
20
- ],
21
- "start_url": ".",
22
- "display": "standalone",
23
- "theme_color": "#000000",
24
- "background_color": "#ffffff"
25
- }
1
+ {
2
+ "short_name": "React App",
3
+ "name": "Create React App Sample",
4
+ "icons": [
5
+ {
6
+ "src": "favicon.ico",
7
+ "sizes": "64x64 32x32 24x24 16x16",
8
+ "type": "image/x-icon"
9
+ },
10
+ {
11
+ "src": "logo192.png",
12
+ "type": "image/png",
13
+ "sizes": "192x192"
14
+ },
15
+ {
16
+ "src": "logo512.png",
17
+ "type": "image/png",
18
+ "sizes": "512x512"
19
+ }
20
+ ],
21
+ "start_url": ".",
22
+ "display": "standalone",
23
+ "theme_color": "#000000",
24
+ "background_color": "#ffffff"
25
+ }
package/public/robots.txt CHANGED
@@ -1,3 +1,3 @@
1
- # https://www.robotstxt.org/robotstxt.html
2
- User-agent: *
3
- Disallow:
1
+ # https://www.robotstxt.org/robotstxt.html
2
+ User-agent: *
3
+ Disallow: