@expressms/smartapp-ui 0.0.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/README.md +11 -0
- package/build/main/assets/icons/arrow-back.svg +3 -0
- package/build/main/assets/icons/calendar.svg +4 -0
- package/build/main/assets/icons/cancel-cross.svg +3 -0
- package/build/main/assets/icons/check-mark.svg +3 -0
- package/build/main/assets/icons/close.svg +3 -0
- package/build/main/assets/icons/download.svg +4 -0
- package/build/main/assets/icons/ellipse.svg +3 -0
- package/build/main/assets/icons/error.svg +5 -0
- package/build/main/assets/icons/file.svg +3 -0
- package/build/main/assets/icons/logout.svg +4 -0
- package/build/main/assets/icons/order.svg +6 -0
- package/build/main/assets/icons/plus.svg +4 -0
- package/build/main/assets/icons/trash.svg +3 -0
- package/build/main/index.d.ts +1 -0
- package/build/main/index.js +1 -0
- package/build/main/styles/aac6c83b0a358f7f0f6a.svg +3 -0
- package/build/main/styles/stories.module.scss +939 -0
- package/build/main/styles/styles.min.css +274 -0
- package/build/main//321/201omponents/ActionModal/ActionModal.d.ts +5 -0
- package/build/main//321/201omponents/ActionModal/ActionModal.js +39 -0
- package/build/main//321/201omponents/ActionModal/index.d.ts +1 -0
- package/build/main//321/201omponents/ActionModal/index.js +1 -0
- package/build/main//321/201omponents/ActionModal/types.d.ts +9 -0
- package/build/main//321/201omponents/ActionModal/types.js +1 -0
- package/build/main//321/201omponents/AttachedFile/AttachedFile.d.ts +5 -0
- package/build/main//321/201omponents/AttachedFile/AttachedFile.js +22 -0
- package/build/main//321/201omponents/AttachedFile/index.d.ts +1 -0
- package/build/main//321/201omponents/AttachedFile/index.js +1 -0
- package/build/main//321/201omponents/AttachedFile/types.d.ts +12 -0
- package/build/main//321/201omponents/AttachedFile/types.js +1 -0
- package/build/main//321/201omponents/Avatar/Avatar.d.ts +5 -0
- package/build/main//321/201omponents/Avatar/Avatar.js +39 -0
- package/build/main//321/201omponents/Avatar/index.d.ts +1 -0
- package/build/main//321/201omponents/Avatar/index.js +1 -0
- package/build/main//321/201omponents/Avatar/types.d.ts +10 -0
- package/build/main//321/201omponents/Avatar/types.js +6 -0
- package/build/main//321/201omponents/Button/Button.d.ts +5 -0
- package/build/main//321/201omponents/Button/Button.js +19 -0
- package/build/main//321/201omponents/Button/index.d.ts +1 -0
- package/build/main//321/201omponents/Button/index.js +1 -0
- package/build/main//321/201omponents/Button/types.d.ts +11 -0
- package/build/main//321/201omponents/Button/types.js +1 -0
- package/build/main//321/201omponents/Calendar/Calendar.d.ts +5 -0
- package/build/main//321/201omponents/Calendar/Calendar.js +49 -0
- package/build/main//321/201omponents/Calendar/index.d.ts +1 -0
- package/build/main//321/201omponents/Calendar/index.js +1 -0
- package/build/main//321/201omponents/Calendar/types.d.ts +14 -0
- package/build/main//321/201omponents/Calendar/types.js +1 -0
- package/build/main//321/201omponents/Checkbox/Checkbox.d.ts +5 -0
- package/build/main//321/201omponents/Checkbox/Checkbox.js +18 -0
- package/build/main//321/201omponents/Checkbox/index.d.ts +1 -0
- package/build/main//321/201omponents/Checkbox/index.js +1 -0
- package/build/main//321/201omponents/Checkbox/types.d.ts +6 -0
- package/build/main//321/201omponents/Checkbox/types.js +1 -0
- package/build/main//321/201omponents/Chips/Chips.d.ts +5 -0
- package/build/main//321/201omponents/Chips/Chips.js +20 -0
- package/build/main//321/201omponents/Chips/index.d.ts +1 -0
- package/build/main//321/201omponents/Chips/index.js +1 -0
- package/build/main//321/201omponents/Chips/types.d.ts +4 -0
- package/build/main//321/201omponents/Chips/types.js +1 -0
- package/build/main//321/201omponents/ConfirmationModal/ConfirmationModal.d.ts +5 -0
- package/build/main//321/201omponents/ConfirmationModal/ConfirmationModal.js +33 -0
- package/build/main//321/201omponents/ConfirmationModal/index.d.ts +1 -0
- package/build/main//321/201omponents/ConfirmationModal/index.js +1 -0
- package/build/main//321/201omponents/ConfirmationModal/types.d.ts +9 -0
- package/build/main//321/201omponents/ConfirmationModal/types.js +1 -0
- package/build/main//321/201omponents/CustomSelect/CustomSelect.d.ts +5 -0
- package/build/main//321/201omponents/CustomSelect/CustomSelect.js +34 -0
- package/build/main//321/201omponents/CustomSelect/index.d.ts +1 -0
- package/build/main//321/201omponents/CustomSelect/index.js +1 -0
- package/build/main//321/201omponents/CustomSelect/types.d.ts +14 -0
- package/build/main//321/201omponents/CustomSelect/types.js +1 -0
- package/build/main//321/201omponents/CustomSelectPriority/CustomSelectPriority.d.ts +5 -0
- package/build/main//321/201omponents/CustomSelectPriority/CustomSelectPriority.js +58 -0
- package/build/main//321/201omponents/CustomSelectPriority/index.d.ts +1 -0
- package/build/main//321/201omponents/CustomSelectPriority/index.js +1 -0
- package/build/main//321/201omponents/CustomSelectPriority/types.d.ts +14 -0
- package/build/main//321/201omponents/CustomSelectPriority/types.js +1 -0
- package/build/main//321/201omponents/CustomSelectProfiles/CustomSelectProfiles.d.ts +5 -0
- package/build/main//321/201omponents/CustomSelectProfiles/CustomSelectProfiles.js +53 -0
- package/build/main//321/201omponents/CustomSelectProfiles/index.d.ts +1 -0
- package/build/main//321/201omponents/CustomSelectProfiles/index.js +1 -0
- package/build/main//321/201omponents/CustomSelectProfiles/types.d.ts +13 -0
- package/build/main//321/201omponents/CustomSelectProfiles/types.js +1 -0
- package/build/main//321/201omponents/DragAndDrop/DragAndDrop.d.ts +5 -0
- package/build/main//321/201omponents/DragAndDrop/DragAndDrop.js +54 -0
- package/build/main//321/201omponents/DragAndDrop/index.d.ts +1 -0
- package/build/main//321/201omponents/DragAndDrop/index.js +1 -0
- package/build/main//321/201omponents/DragAndDrop/types.d.ts +16 -0
- package/build/main//321/201omponents/DragAndDrop/types.js +1 -0
- package/build/main//321/201omponents/Error/Error.d.ts +5 -0
- package/build/main//321/201omponents/Error/Error.js +19 -0
- package/build/main//321/201omponents/Error/index.d.ts +1 -0
- package/build/main//321/201omponents/Error/index.js +1 -0
- package/build/main//321/201omponents/Error/types.d.ts +4 -0
- package/build/main//321/201omponents/Error/types.js +1 -0
- package/build/main//321/201omponents/Header/Header.d.ts +5 -0
- package/build/main//321/201omponents/Header/Header.js +20 -0
- package/build/main//321/201omponents/Header/index.d.ts +1 -0
- package/build/main//321/201omponents/Header/index.js +1 -0
- package/build/main//321/201omponents/Header/types.d.ts +7 -0
- package/build/main//321/201omponents/Header/types.js +1 -0
- package/build/main//321/201omponents/Input/Input.d.ts +5 -0
- package/build/main//321/201omponents/Input/Input.js +18 -0
- package/build/main//321/201omponents/Input/index.d.ts +1 -0
- package/build/main//321/201omponents/Input/index.js +1 -0
- package/build/main//321/201omponents/Input/types.d.ts +8 -0
- package/build/main//321/201omponents/Input/types.js +1 -0
- package/build/main//321/201omponents/Loader/Loader.d.ts +5 -0
- package/build/main//321/201omponents/Loader/Loader.js +19 -0
- package/build/main//321/201omponents/Loader/index.d.ts +1 -0
- package/build/main//321/201omponents/Loader/index.js +1 -0
- package/build/main//321/201omponents/Loader/types.d.ts +4 -0
- package/build/main//321/201omponents/Loader/types.js +1 -0
- package/build/main//321/201omponents/Profile/Profile.d.ts +5 -0
- package/build/main//321/201omponents/Profile/Profile.js +36 -0
- package/build/main//321/201omponents/Profile/index.d.ts +1 -0
- package/build/main//321/201omponents/Profile/index.js +1 -0
- package/build/main//321/201omponents/Profile/types.d.ts +11 -0
- package/build/main//321/201omponents/Profile/types.js +1 -0
- package/build/main//321/201omponents/Switcher/Switcher.d.ts +5 -0
- package/build/main//321/201omponents/Switcher/Switcher.js +33 -0
- package/build/main//321/201omponents/Switcher/index.d.ts +1 -0
- package/build/main//321/201omponents/Switcher/index.js +1 -0
- package/build/main//321/201omponents/Switcher/types.d.ts +6 -0
- package/build/main//321/201omponents/Switcher/types.js +1 -0
- package/build/main//321/201omponents/Toggle/Toggle.d.ts +5 -0
- package/build/main//321/201omponents/Toggle/Toggle.js +18 -0
- package/build/main//321/201omponents/Toggle/index.d.ts +1 -0
- package/build/main//321/201omponents/Toggle/index.js +1 -0
- package/build/main//321/201omponents/Toggle/types.d.ts +5 -0
- package/build/main//321/201omponents/Toggle/types.js +1 -0
- package/build/main//321/201omponents/index.d.ts +19 -0
- package/build/main//321/201omponents/index.js +19 -0
- package/build/main//321/201omponents/types.d.ts +2 -0
- package/build/main//321/201omponents/types.js +1 -0
- package/package.json +214 -0
package/package.json
ADDED
|
@@ -0,0 +1,214 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@expressms/smartapp-ui",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"description": "SmartApp UI library",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"main": "build/main/index.js",
|
|
7
|
+
"typings": "build/main/index.d.ts",
|
|
8
|
+
"module": "build/module/index.js",
|
|
9
|
+
"publishConfig": {
|
|
10
|
+
"access": "public",
|
|
11
|
+
"registry": "https://registry.npmjs.org/"
|
|
12
|
+
},
|
|
13
|
+
"dependencies": {
|
|
14
|
+
"@babel/core": "^7.16.0",
|
|
15
|
+
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.3",
|
|
16
|
+
"@storybook/addon-essentials": "^6.5.15",
|
|
17
|
+
"@storybook/addon-links": "^6.5.15",
|
|
18
|
+
"@storybook/preset-scss": "^1.0.3",
|
|
19
|
+
"@storybook/react": "^6.5.15",
|
|
20
|
+
"@svgr/webpack": "^5.5.0",
|
|
21
|
+
"@testing-library/jest-dom": "^5.16.5",
|
|
22
|
+
"@testing-library/react": "^13.4.0",
|
|
23
|
+
"@testing-library/user-event": "^13.5.0",
|
|
24
|
+
"@types/jest": "^27.5.2",
|
|
25
|
+
"@types/node": "^16.18.11",
|
|
26
|
+
"@types/react": "^18.0.27",
|
|
27
|
+
"@types/react-beautiful-dnd": "^13.1.4",
|
|
28
|
+
"@types/react-datepicker": "^4.8.0",
|
|
29
|
+
"@types/react-dom": "^18.0.10",
|
|
30
|
+
"@types/react-slick": "^0.23.10",
|
|
31
|
+
"babel-jest": "^27.4.2",
|
|
32
|
+
"babel-loader": "^8.2.3",
|
|
33
|
+
"babel-plugin-named-asset-import": "^0.3.8",
|
|
34
|
+
"babel-preset-react-app": "^10.0.1",
|
|
35
|
+
"bfj": "^7.0.2",
|
|
36
|
+
"browserslist": "^4.18.1",
|
|
37
|
+
"camelcase": "^6.2.1",
|
|
38
|
+
"case-sensitive-paths-webpack-plugin": "^2.4.0",
|
|
39
|
+
"classnames": "^2.3.2",
|
|
40
|
+
"copyfiles": "^2.4.1",
|
|
41
|
+
"css-loader": "^6.5.1",
|
|
42
|
+
"css-minimizer-webpack-plugin": "^3.2.0",
|
|
43
|
+
"dotenv": "^10.0.0",
|
|
44
|
+
"dotenv-expand": "^5.1.0",
|
|
45
|
+
"enhanced-resolve": "^5.12.0",
|
|
46
|
+
"eslint": "^8.3.0",
|
|
47
|
+
"eslint-config-react-app": "^7.0.1",
|
|
48
|
+
"eslint-webpack-plugin": "^3.1.1",
|
|
49
|
+
"file-loader": "^6.2.0",
|
|
50
|
+
"fs-extra": "^10.0.0",
|
|
51
|
+
"html-webpack-plugin": "^5.5.0",
|
|
52
|
+
"identity-obj-proxy": "^3.0.0",
|
|
53
|
+
"jest": "^27.4.3",
|
|
54
|
+
"jest-resolve": "^27.4.2",
|
|
55
|
+
"jest-watch-typeahead": "^1.0.0",
|
|
56
|
+
"mini-css-extract-plugin": "^2.4.5",
|
|
57
|
+
"node-sass": "^8.0.0",
|
|
58
|
+
"postcss": "^8.4.4",
|
|
59
|
+
"postcss-flexbugs-fixes": "^5.0.2",
|
|
60
|
+
"postcss-loader": "^6.2.1",
|
|
61
|
+
"postcss-normalize": "^10.0.1",
|
|
62
|
+
"postcss-preset-env": "^7.0.1",
|
|
63
|
+
"prompts": "^2.4.2",
|
|
64
|
+
"react": "^18.2.0",
|
|
65
|
+
"react-app-polyfill": "^3.0.0",
|
|
66
|
+
"react-beautiful-dnd": "^13.1.1",
|
|
67
|
+
"react-datepicker": "^4.8.0",
|
|
68
|
+
"react-dev-utils": "^12.0.1",
|
|
69
|
+
"react-dom": "^18.2.0",
|
|
70
|
+
"react-loader-spinner": "^5.3.4",
|
|
71
|
+
"react-refresh": "^0.11.0",
|
|
72
|
+
|
|
73
|
+
"react-router-dom": "^6.7.0",
|
|
74
|
+
"react-select": "^5.7.2",
|
|
75
|
+
"react-slick": "^0.29.0",
|
|
76
|
+
"reactjs-popup": "^2.0.5",
|
|
77
|
+
"resolve": "^1.20.0",
|
|
78
|
+
"resolve-url-loader": "2.3.1",
|
|
79
|
+
"sass": "^1.57.1",
|
|
80
|
+
"sass-loader": "^12.3.0",
|
|
81
|
+
"semver": "^7.3.5",
|
|
82
|
+
"source-map-loader": "^3.0.0",
|
|
83
|
+
"storybook-addon-react-router-v6": "^0.2.1",
|
|
84
|
+
"storybook-addon-sass-postcss": "^0.1.3",
|
|
85
|
+
"style-loader": "^3.3.1",
|
|
86
|
+
"svg-url-loader": "^8.0.0",
|
|
87
|
+
"tailwindcss": "^3.0.2",
|
|
88
|
+
"terser-webpack-plugin": "^5.2.5",
|
|
89
|
+
"tsconfig-paths-webpack-plugin": "^4.0.0",
|
|
90
|
+
"typescript": "^4.9.4",
|
|
91
|
+
"typescript-plugin-css-modules": "^5.0.1",
|
|
92
|
+
"url-loader": "^4.1.1",
|
|
93
|
+
"web-vitals": "^2.1.4",
|
|
94
|
+
"webpack": "^5.64.4",
|
|
95
|
+
"webpack-dev-server": "^4.6.0",
|
|
96
|
+
"webpack-manifest-plugin": "^4.0.2",
|
|
97
|
+
"workbox-webpack-plugin": "^6.4.1"
|
|
98
|
+
},
|
|
99
|
+
"scripts": {
|
|
100
|
+
"start": "node scripts/start.js",
|
|
101
|
+
"storybook": "rm -rf node_modules/.cache/storybook && start-storybook -p 6006",
|
|
102
|
+
"build-storybook": "build-storybook -s public",
|
|
103
|
+
"copy-scss-files": "copyfiles -u 1 src/styles/*.module.scss build/main",
|
|
104
|
+
"copy-svg-files": "copyfiles -u 1 src/assets/icons/*.svg build/main",
|
|
105
|
+
"build": "tsc -p tsconfig.json && webpack && npm run copy-svg-files && npm run copy-scss-files",
|
|
106
|
+
"test": "node scripts/test.js",
|
|
107
|
+
"publish": "npm publish --access public",
|
|
108
|
+
"compile": "rm -rf dist && tsc && tsc --build tsconfig.json"
|
|
109
|
+
},
|
|
110
|
+
"files": [
|
|
111
|
+
"build/main",
|
|
112
|
+
".npmrc",
|
|
113
|
+
"README.md",
|
|
114
|
+
"!**/*.spec.*",
|
|
115
|
+
"!**/*.json"
|
|
116
|
+
],
|
|
117
|
+
"eslintConfig": {
|
|
118
|
+
"extends": [
|
|
119
|
+
"react-app",
|
|
120
|
+
"react-app/jest"
|
|
121
|
+
],
|
|
122
|
+
"overrides": [
|
|
123
|
+
{
|
|
124
|
+
"files": [
|
|
125
|
+
"**/*.stories.*"
|
|
126
|
+
],
|
|
127
|
+
"rules": {
|
|
128
|
+
"import/no-anonymous-default-export": "off"
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
]
|
|
132
|
+
},
|
|
133
|
+
"browserslist": {
|
|
134
|
+
"production": [
|
|
135
|
+
">0.2%",
|
|
136
|
+
"not dead",
|
|
137
|
+
"not op_mini all"
|
|
138
|
+
],
|
|
139
|
+
"development": [
|
|
140
|
+
"last 1 chrome version",
|
|
141
|
+
"last 1 firefox version",
|
|
142
|
+
"last 1 safari version"
|
|
143
|
+
]
|
|
144
|
+
},
|
|
145
|
+
"devDependencies": {
|
|
146
|
+
"@storybook/addon-actions": "^6.5.15",
|
|
147
|
+
"@storybook/addon-interactions": "^6.5.15",
|
|
148
|
+
"@storybook/builder-webpack5": "^6.5.15",
|
|
149
|
+
"@storybook/manager-webpack5": "^6.5.15",
|
|
150
|
+
"@storybook/node-logger": "^6.5.15",
|
|
151
|
+
"@storybook/preset-create-react-app": "^4.1.2",
|
|
152
|
+
"@storybook/testing-library": "^0.0.13",
|
|
153
|
+
"babel-plugin-named-exports-order": "^0.0.2",
|
|
154
|
+
"css-loader": "^6.7.3",
|
|
155
|
+
"prop-types": "^15.8.1",
|
|
156
|
+
"style-loader": "2.0.0",
|
|
157
|
+
"webpack": "^5.75.0",
|
|
158
|
+
"webpack-cli": "^5.0.1"
|
|
159
|
+
},
|
|
160
|
+
"jest": {
|
|
161
|
+
"roots": [
|
|
162
|
+
"<rootDir>/src"
|
|
163
|
+
],
|
|
164
|
+
"collectCoverageFrom": [
|
|
165
|
+
"src/**/*.{js,jsx,ts,tsx}",
|
|
166
|
+
"!src/**/*.d.ts"
|
|
167
|
+
],
|
|
168
|
+
"setupFiles": [
|
|
169
|
+
"react-app-polyfill/jsdom"
|
|
170
|
+
],
|
|
171
|
+
"setupFilesAfterEnv": [],
|
|
172
|
+
"testMatch": [
|
|
173
|
+
"<rootDir>/src/**/__tests__/**/*.{js,jsx,ts,tsx}",
|
|
174
|
+
"<rootDir>/src/**/*.{spec,test}.{js,jsx,ts,tsx}"
|
|
175
|
+
],
|
|
176
|
+
"testEnvironment": "jsdom",
|
|
177
|
+
"transform": {
|
|
178
|
+
"^.+\\.(js|jsx|mjs|cjs|ts|tsx)$": "<rootDir>/config/jest/babelTransform.js",
|
|
179
|
+
"^.+\\.css$": "<rootDir>/config/jest/cssTransform.js",
|
|
180
|
+
"^(?!.*\\.(js|jsx|mjs|cjs|ts|tsx|css|json)$)": "<rootDir>/config/jest/fileTransform.js"
|
|
181
|
+
},
|
|
182
|
+
"transformIgnorePatterns": [
|
|
183
|
+
"[/\\\\]node_modules[/\\\\].+\\.(js|jsx|mjs|cjs|ts|tsx)$",
|
|
184
|
+
"^.+\\.module\\.(css|sass|scss)$"
|
|
185
|
+
],
|
|
186
|
+
"modulePaths": [],
|
|
187
|
+
"moduleNameMapper": {
|
|
188
|
+
"^react-native$": "react-native-web",
|
|
189
|
+
"^.+\\.module\\.(css|sass|scss)$": "identity-obj-proxy"
|
|
190
|
+
},
|
|
191
|
+
"moduleFileExtensions": [
|
|
192
|
+
"web.js",
|
|
193
|
+
"js",
|
|
194
|
+
"web.ts",
|
|
195
|
+
"ts",
|
|
196
|
+
"web.tsx",
|
|
197
|
+
"tsx",
|
|
198
|
+
"json",
|
|
199
|
+
"web.jsx",
|
|
200
|
+
"jsx",
|
|
201
|
+
"node"
|
|
202
|
+
],
|
|
203
|
+
"watchPlugins": [
|
|
204
|
+
"jest-watch-typeahead/filename",
|
|
205
|
+
"jest-watch-typeahead/testname"
|
|
206
|
+
],
|
|
207
|
+
"resetMocks": true
|
|
208
|
+
},
|
|
209
|
+
"babel": {
|
|
210
|
+
"presets": [
|
|
211
|
+
"react-app"
|
|
212
|
+
]
|
|
213
|
+
}
|
|
214
|
+
}
|