@expressms/smartapp-ui 0.0.7 → 0.0.9
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/build/main/assets/icons/arrow-back.svg +1 -1
- package/build/main/assets/icons/cancel-cross.svg +1 -1
- package/build/main/assets/icons/check-mark.svg +1 -1
- package/build/main/assets/icons/close-stories.svg +4 -0
- package/build/main/assets/icons/close.svg +1 -1
- package/build/main/assets/icons/download.svg +2 -2
- package/build/main/assets/icons/error.svg +3 -3
- package/build/main/assets/icons/file.svg +1 -1
- package/build/main/assets/icons/logout.svg +2 -2
- package/build/main/assets/icons/order.svg +3 -3
- package/build/main/assets/icons/plus.svg +2 -2
- package/build/main/constants/constants.d.ts +13 -0
- package/build/main/constants/constants.js +14 -0
- package/build/main/constants/index.d.ts +1 -0
- package/build/main/constants/index.js +1 -0
- package/build/main/helpers/index.d.ts +1 -0
- package/build/main/helpers/index.js +3 -0
- package/build/main/styles/stories.module.scss +189 -105
- package/build/main/styles/styles.min.css +1 -85
- package/build/main//321/201omponents/ActionModal/ActionModal.d.ts +1 -1
- package/build/main//321/201omponents/ActionModal/ActionModal.js +10 -7
- package/build/main//321/201omponents/ActionModal/types.d.ts +2 -1
- package/build/main//321/201omponents/AttachedFile/AttachedFile.d.ts +2 -2
- package/build/main//321/201omponents/AttachedFile/AttachedFile.js +13 -8
- package/build/main//321/201omponents/AttachedFile/types.d.ts +4 -1
- package/build/main//321/201omponents/Avatar/Avatar.d.ts +2 -2
- package/build/main//321/201omponents/Avatar/Avatar.js +2 -2
- package/build/main//321/201omponents/Avatar/types.d.ts +2 -2
- package/build/main//321/201omponents/Button/Button.d.ts +1 -1
- package/build/main//321/201omponents/Button/Button.js +5 -4
- package/build/main//321/201omponents/Button/types.d.ts +10 -3
- package/build/main//321/201omponents/Button/types.js +11 -1
- package/build/main//321/201omponents/Calendar/Calendar.d.ts +2 -2
- package/build/main//321/201omponents/Calendar/Calendar.js +5 -7
- package/build/main//321/201omponents/Checkbox/Checkbox.d.ts +1 -1
- package/build/main//321/201omponents/Checkbox/Checkbox.js +7 -4
- package/build/main//321/201omponents/Checkbox/types.d.ts +2 -1
- package/build/main//321/201omponents/Chips/Chips.d.ts +1 -1
- package/build/main//321/201omponents/Chips/Chips.js +8 -6
- package/build/main//321/201omponents/Chips/types.d.ts +1 -0
- package/build/main//321/201omponents/ConfirmationModal/ConfirmationModal.d.ts +1 -1
- package/build/main//321/201omponents/ConfirmationModal/ConfirmationModal.js +6 -5
- package/build/main//321/201omponents/CustomSelect/CustomSelect.d.ts +2 -2
- package/build/main//321/201omponents/CustomSelect/CustomSelect.js +4 -3
- package/build/main//321/201omponents/CustomSelect/types.d.ts +1 -1
- package/build/main//321/201omponents/CustomSelectPriority/CustomSelectPriority.d.ts +2 -2
- package/build/main//321/201omponents/CustomSelectPriority/CustomSelectPriority.js +16 -17
- package/build/main//321/201omponents/CustomSelectPriority/types.d.ts +1 -1
- package/build/main//321/201omponents/CustomSelectProfiles/CustomSelectProfiles.d.ts +2 -2
- package/build/main//321/201omponents/CustomSelectProfiles/CustomSelectProfiles.js +16 -17
- package/build/main//321/201omponents/CustomSelectProfiles/types.d.ts +3 -2
- package/build/main//321/201omponents/DragAndDrop/DragAndDrop.d.ts +2 -2
- package/build/main//321/201omponents/DragAndDrop/DragAndDrop.js +8 -7
- package/build/main//321/201omponents/DragAndDrop/types.d.ts +5 -2
- package/build/main//321/201omponents/Error/Error.d.ts +1 -1
- package/build/main//321/201omponents/Error/Error.js +6 -4
- package/build/main//321/201omponents/Error/types.d.ts +3 -0
- package/build/main//321/201omponents/Header/Header.d.ts +1 -1
- package/build/main//321/201omponents/Header/Header.js +8 -6
- package/build/main//321/201omponents/Input/Input.d.ts +2 -2
- package/build/main//321/201omponents/Input/Input.js +3 -3
- package/build/main//321/201omponents/Input/types.d.ts +1 -1
- package/build/main//321/201omponents/Loader/Loader.d.ts +1 -1
- package/build/main//321/201omponents/Loader/Loader.js +2 -2
- package/build/main//321/201omponents/Profile/Profile.d.ts +1 -1
- package/build/main//321/201omponents/Profile/Profile.js +11 -6
- package/build/main//321/201omponents/Profile/types.d.ts +3 -0
- package/build/main//321/201omponents/Stories/Stories.d.ts +4 -0
- package/build/main//321/201omponents/Stories/Stories.js +167 -0
- package/build/main//321/201omponents/Stories/index.d.ts +1 -0
- package/build/main//321/201omponents/Stories/index.js +1 -0
- package/build/main//321/201omponents/Stories/types.d.ts +34 -0
- package/build/main//321/201omponents/Stories/types.js +5 -0
- package/build/main//321/201omponents/Switcher/Switcher.d.ts +1 -1
- package/build/main//321/201omponents/Switcher/Switcher.js +4 -4
- package/build/main//321/201omponents/Switcher/types.d.ts +6 -4
- package/build/main//321/201omponents/Toggle/Toggle.d.ts +1 -1
- package/build/main//321/201omponents/Toggle/Toggle.js +4 -4
- package/build/main//321/201omponents/Toggle/types.d.ts +3 -3
- package/build/main//321/201omponents/index.d.ts +1 -0
- package/build/main//321/201omponents/index.js +1 -0
- package/package.json +15 -5
- package/build/main/assets/icons/calendar.svg +0 -4
- package/build/main/styles/aac6c83b0a358f7f0f6a.svg +0 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@expressms/smartapp-ui",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.9",
|
|
4
4
|
"description": "SmartApp UI library",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "build/main/index.js",
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.3",
|
|
16
16
|
"@storybook/addon-essentials": "^6.5.15",
|
|
17
17
|
"@storybook/addon-links": "^6.5.15",
|
|
18
|
+
"@storybook/addon-viewport": "^6.5.15",
|
|
18
19
|
"@storybook/preset-scss": "^1.0.3",
|
|
19
20
|
"@storybook/react": "^6.5.15",
|
|
20
21
|
"@svgr/webpack": "5.5",
|
|
@@ -28,6 +29,9 @@
|
|
|
28
29
|
"@types/react-datepicker": "^4.8.0",
|
|
29
30
|
"@types/react-dom": "^18.0.10",
|
|
30
31
|
"@types/react-slick": "^0.23.10",
|
|
32
|
+
"@typescript-eslint/eslint-plugin": "^6.6.0",
|
|
33
|
+
"@typescript-eslint/parser": "^6.6.0",
|
|
34
|
+
"animate.css": "^4.1.1",
|
|
31
35
|
"babel-jest": "^18.0.0",
|
|
32
36
|
"babel-loader": "8.2.3",
|
|
33
37
|
"babel-plugin-named-asset-import": "^0.3.8",
|
|
@@ -45,6 +49,11 @@
|
|
|
45
49
|
"enhanced-resolve": "^5.12.0",
|
|
46
50
|
"eslint": "^8.3.0",
|
|
47
51
|
"eslint-config-react-app": "^6.0.0",
|
|
52
|
+
"eslint-plugin-flowtype": "^8.0.3",
|
|
53
|
+
"eslint-plugin-import": "^2.28.1",
|
|
54
|
+
"eslint-plugin-jsx-a11y": "^6.7.1",
|
|
55
|
+
"eslint-plugin-react": "^7.33.2",
|
|
56
|
+
"eslint-plugin-react-hooks": "^4.6.0",
|
|
48
57
|
"eslint-webpack-plugin": "^3.1.1",
|
|
49
58
|
"file-loader": "^6.2.0",
|
|
50
59
|
"fs-extra": "^10.0.0",
|
|
@@ -54,7 +63,6 @@
|
|
|
54
63
|
"jest-resolve": "^27.4.2",
|
|
55
64
|
"jest-watch-typeahead": "^1.0.0",
|
|
56
65
|
"mini-css-extract-plugin": "^2.4.5",
|
|
57
|
-
"node-sass": "^8.0.0",
|
|
58
66
|
"postcss": "^8.4.4",
|
|
59
67
|
"postcss-flexbugs-fixes": "^5.0.2",
|
|
60
68
|
"postcss-loader": "^6.2.1",
|
|
@@ -67,15 +75,17 @@
|
|
|
67
75
|
"react-datepicker": "^4.8.0",
|
|
68
76
|
"react-dev-utils": "^12.0.1",
|
|
69
77
|
"react-dom": "^18.2.0",
|
|
78
|
+
"react-insta-stories": "^2.6.2",
|
|
70
79
|
"react-loader-spinner": "^5.3.4",
|
|
71
80
|
"react-refresh": "^0.11.0",
|
|
72
81
|
"react-router-dom": "^6.7.0",
|
|
73
82
|
"react-select": "^5.7.2",
|
|
74
83
|
"react-slick": "^0.29.0",
|
|
84
|
+
"react-swipeable": "^7.0.1",
|
|
75
85
|
"reactjs-popup": "^2.0.5",
|
|
76
86
|
"resolve": "^1.20.0",
|
|
77
87
|
"resolve-url-loader": "2.3.1",
|
|
78
|
-
"sass": "^1.
|
|
88
|
+
"sass": "^1.66.1",
|
|
79
89
|
"sass-loader": "^12.3.0",
|
|
80
90
|
"semver": "^7.3.5",
|
|
81
91
|
"source-map-loader": "^3.0.0",
|
|
@@ -98,7 +108,7 @@
|
|
|
98
108
|
"scripts": {
|
|
99
109
|
"start": "node scripts/start.js",
|
|
100
110
|
"storybook": "rm -rf node_modules/.cache/storybook && start-storybook -p 6006",
|
|
101
|
-
"build-storybook": "build-storybook -
|
|
111
|
+
"build-storybook": "build-storybook -o storybook-build",
|
|
102
112
|
"copy-scss-files": "copyfiles -u 1 src/styles/*.module.scss build/main",
|
|
103
113
|
"copy-svg-files": "copyfiles -u 1 src/assets/icons/*.svg build/main",
|
|
104
114
|
"build": "tsc -p tsconfig.json && webpack && npm run copy-svg-files && npm run copy-scss-files",
|
|
@@ -152,7 +162,7 @@
|
|
|
152
162
|
"babel-plugin-named-exports-order": "^0.0.2",
|
|
153
163
|
"css-loader": "^6.7.3",
|
|
154
164
|
"prop-types": "^15.8.1",
|
|
155
|
-
"style-loader": "
|
|
165
|
+
"style-loader": "^3.3.3",
|
|
156
166
|
"webpack": "^5.75.0",
|
|
157
167
|
"webpack-cli": "^5.0.1"
|
|
158
168
|
},
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M7.00049 11H9.00049V13H7.00049V11ZM7.00049 15H9.00049V17H7.00049V15ZM11.0005 11H13.0005V13H11.0005V11ZM11.0005 15H13.0005V17H11.0005V15ZM15.0005 11H17.0005V13H15.0005V11ZM15.0005 15H17.0005V17H15.0005V15Z" fill="#111111" fill-opacity="0.3"/>
|
|
3
|
-
<path d="M5.00049 22H19.0005C20.1035 22 21.0005 21.103 21.0005 20V6C21.0005 4.897 20.1035 4 19.0005 4H17.0005V2H15.0005V4H9.00049V2H7.00049V4H5.00049C3.89749 4 3.00049 4.897 3.00049 6V20C3.00049 21.103 3.89749 22 5.00049 22ZM19.0005 8L19.0015 20H5.00049V8H19.0005Z" fill="#111111" fill-opacity="0.3"/>
|
|
4
|
-
</svg>
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
<svg width="19" height="18" viewBox="0 0 19 18" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path fill-rule="evenodd" clip-rule="evenodd" d="M9.42871 18C14.3993 18 18.4287 13.9706 18.4287 9C18.4287 4.02944 14.3993 0 9.42871 0C4.45815 0 0.428711 4.02944 0.428711 9C0.428711 13.9706 4.45815 18 9.42871 18ZM8.86036 12.3453L14.1358 7.07023C14.5264 6.67921 14.5264 6.04566 14.1356 5.65486C13.7449 5.26428 13.1112 5.26399 12.7203 5.65486L8.15288 10.2223L6.137 8.20643C5.7463 7.81571 5.11265 7.81571 4.72178 8.20658C4.33098 8.59738 4.33098 9.23115 4.72178 9.62187L7.44499 12.3453C7.83601 12.736 8.46971 12.736 8.86036 12.3453Z" fill="#4799E3"/>
|
|
3
|
-
</svg>
|