@myunisoft/design-system 0.22.3 → 0.23.0-esbuild

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,15 +1,15 @@
1
1
  {
2
2
  "name": "@myunisoft/design-system",
3
- "version": "0.22.3",
3
+ "version": "0.23.0-esbuild",
4
4
  "description": "Design System of MyUnisoft",
5
5
  "main": "dist/index.js",
6
6
  "source": "src/index.js",
7
7
  "scripts": {
8
8
  "start": "cd website && npm start -- --port=3002",
9
- "build": "rm -r dist & parcel build",
9
+ "build": "rm -r dist & node esbuild",
10
10
  "prepublishOnly": "npm run build",
11
- "test": "jest",
12
- "parcel-build": "parcel build",
11
+ "test": "jest --transformIgnorePatterns \"node_modules/(?!@exceljs)/\" ",
12
+ "parcel-build": "node esbuild",
13
13
  "cypress": "npx cypress open --component",
14
14
  "cy:run": "npx cypress run --component"
15
15
  },
@@ -28,72 +28,73 @@
28
28
  "license": "MIT",
29
29
  "homepage": "https://myunisoft.github.io/design-system/",
30
30
  "dependencies": {
31
- "@babel/runtime": "^7.15.4",
32
- "@emotion/react": "11.9.0",
33
- "@emotion/styled": "11.8.1",
34
- "@mui/base": "5.0.0-alpha.91",
35
- "@mui/icons-material": "5.8.4",
31
+ "@babel/runtime": "^7.20.6",
32
+ "@emotion/react": "11.10.5",
33
+ "@emotion/styled": "11.10.5",
34
+ "@mui/base": "5.0.0-alpha.92",
36
35
  "@mui/lab": "5.0.0-alpha.92",
37
36
  "@mui/material": "5.9.2",
38
37
  "@mui/styles": "5.9.2",
39
38
  "@mui/utils": "^5.8.6",
40
- "classnames": "^2.3.1",
39
+ "classnames": "^2.3.2",
41
40
  "docusaurus": "^1.14.7",
42
- "dompurify": "^2.3.0",
41
+ "dompurify": "^2.4.1",
43
42
  "exceljs": "^4.3.0",
44
- "i18next": "^20.4.0",
45
- "jspdf": "^2.5.0",
46
- "jspdf-autotable": "^3.5.25",
43
+ "i18next": "^22.4.6",
44
+ "jspdf": "^2.5.1",
45
+ "jspdf-autotable": "^3.5.28",
47
46
  "lodash": "^4.17.21",
48
- "moment": "^2.29.1",
47
+ "moment": "^2.29.4",
49
48
  "numeral": "^2.0.6",
50
- "pretty-bytes": "^5.6.0",
51
- "prop-types": "^15.7.2",
49
+ "pretty-bytes": "^6.0.0",
50
+ "prop-types": "^15.8.1",
52
51
  "react": "^17.0.2",
53
52
  "react-color": "^2.19.3",
54
53
  "react-dom": "^17.0.2",
55
- "react-draft-wysiwyg": "^1.14.7",
56
- "react-dropzone": "^11.4.2",
54
+ "react-draft-wysiwyg": "^1.15.0",
55
+ "react-dropzone": "^14.2.3",
57
56
  "react-input-autosize": "^3.0.0",
58
- "react-spinners": "^0.13.0",
59
- "reselect": "^4.1.5",
60
- "robot3": "^0.2.19",
61
- "svgo": "^2.8.0",
62
- "xlsx": "^0.17.3"
57
+ "react-spinners": "^0.13.7",
58
+ "reselect": "^4.1.7",
59
+ "robot3": "^0.3.2",
60
+ "svgo": "^3.0.2",
61
+ "xlsx": "^0.18.5"
63
62
  },
64
63
  "devDependencies": {
65
- "@babel/core": "^7.17.7",
64
+ "@babel/core": "^7.20.5",
66
65
  "@babel/plugin-proposal-class-properties": "^7.18.6",
67
- "@babel/plugin-transform-runtime": "^7.15.8",
68
- "@babel/preset-env": "^7.16.11",
69
- "@babel/preset-react": "^7.14.5",
70
- "@cypress/react": "^6.2.0",
71
- "@parcel/transformer-inline-string": "^2.5.0",
72
- "@parcel/transformer-sass": "^2.5.0",
73
- "@parcel/transformer-svg-react": "^2.1.1",
66
+ "@babel/plugin-transform-runtime": "^7.19.6",
67
+ "@babel/preset-env": "^7.20.2",
68
+ "@babel/preset-react": "^7.18.6",
69
+ "@cypress/react": "^7.0.2",
70
+ "@parcel/transformer-inline-string": "^2.8.2",
71
+ "@parcel/transformer-sass": "^2.8.2",
72
+ "@parcel/transformer-svg-react": "^2.8.2",
74
73
  "@testing-library/react": "^12.1.0",
75
74
  "@testing-library/react-hooks": "^7.0.2",
76
- "babel-jest": "^27.1.1",
77
- "babel-loader": "^8.2.5",
78
- "css-loader": "^6.7.1",
79
- "cypress": "^10.7.0",
80
- "esbuild": "^0.12.23",
81
- "esbuild-sass-plugin": "^1.5.2",
82
- "eslint": "^8.14.0",
75
+ "babel-jest": "^29.3.1",
76
+ "babel-loader": "^9.1.0",
77
+ "css-loader": "^6.7.3",
78
+ "cypress": "^12.1.0",
79
+ "esbuild": "^0.16.10",
80
+ "esbuild-sass-plugin": "^2.4.4",
81
+ "eslint": "^8.30.0",
83
82
  "eslint-config-airbnb": "^19.0.4",
84
83
  "eslint-plugin-import": "^2.26.0",
85
- "eslint-plugin-jsx-a11y": "^6.5.1",
86
- "eslint-plugin-react": "^7.29.4",
87
- "eslint-plugin-react-hooks": "^4.5.0",
84
+ "eslint-plugin-jsx-a11y": "^6.6.1",
85
+ "eslint-plugin-react": "^7.31.11",
86
+ "eslint-plugin-react-hooks": "^4.6.0",
88
87
  "html-webpack-plugin": "^5.5.0",
89
- "jest": "^27.2.0",
90
- "parcel": "^2.7.0",
91
- "prettier": "2.6.2",
88
+ "jest": "^29.3.1",
89
+ "jest-canvas-mock": "^2.4.0",
90
+ "jest-environment-jsdom": "^29.3.1",
91
+ "parcel": "^2.8.2",
92
+ "prettier": "^2.8.1",
92
93
  "react-test-renderer": "^17.0.2",
93
- "sass": "^1.55.0",
94
- "sass-loader": "^13.0.2",
94
+ "sass": "^1.57.1",
95
+ "sass-loader": "^13.2.0",
95
96
  "style-loader": "^3.3.1",
96
97
  "svg-inline-loader": "^0.8.2",
97
- "webpack": "^5.74.0"
98
+ "webpack": "^5.75.0"
98
99
  }
99
100
  }
package/dist/index.css DELETED
@@ -1,268 +0,0 @@
1
- .h8cnOq_autoCompleteContainer {
2
- height: 50px;
3
- width: 100%;
4
- min-width: 170px;
5
- flex-direction: column;
6
- display: flex;
7
- }
8
-
9
- .h8cnOq_autoCompleteContainer .h8cnOq_label {
10
- color: #9b9b9b;
11
- margin-bottom: 4px;
12
- font-size: 12px;
13
- }
14
-
15
- .h8cnOq_autoCompleteContainer .h8cnOq_label.h8cnOq_search {
16
- color: #0bd1d1;
17
- }
18
-
19
- .h8cnOq_autoCompleteContainer .h8cnOq_label.h8cnOq_isError {
20
- color: #fe3a5e;
21
- }
22
-
23
- .h8cnOq_autoCompleteContainer .h8cnOq_selector {
24
- height: 24px;
25
- display: flex;
26
- }
27
-
28
- .h8cnOq_autoCompleteContainer .h8cnOq_selector .h8cnOq_icons {
29
- flex-direction: row;
30
- margin-left: auto;
31
- display: flex;
32
- }
33
-
34
- .h8cnOq_autoCompleteContainer .h8cnOq_selector .h8cnOq_icons .h8cnOq_dropDownIcon {
35
- width: 12px;
36
- margin-left: 8px;
37
- }
38
-
39
- .h8cnOq_autoCompleteContainer .h8cnOq_selector .h8cnOq_icons .h8cnOq_dropDownIcon.h8cnOq_rotated {
40
- transform: rotate(180deg);
41
- }
42
-
43
- .h8cnOq_autoCompleteContainer .h8cnOq_selector .h8cnOq_icons .h8cnOq_clear {
44
- width: 12px;
45
- cursor: pointer;
46
- margin-left: auto;
47
- }
48
-
49
- .h8cnOq_autoCompleteContainer .h8cnOq_border {
50
- width: 100%;
51
- border-bottom: 2px solid #d7d7d7;
52
- margin-top: 5px;
53
- }
54
-
55
- .h8cnOq_autoCompleteContainer .h8cnOq_border.h8cnOq_isError {
56
- border-bottom: 2px solid #fe3a5e;
57
- }
58
-
59
- .h8cnOq_autoCompleteContainer .h8cnOq_border.h8cnOq_open {
60
- border-bottom: 2px solid #0bd1d1;
61
- }
62
-
63
- .SaImvG_resultsContainer {
64
- z-index: 9;
65
- background-color: #fff;
66
- padding: 4px;
67
- box-shadow: 0 2px 2px #0000001a;
68
- }
69
-
70
- .SaImvG_resultsContainer .SaImvG_noResult {
71
- text-align: center;
72
- color: #9b9b9b;
73
- margin-top: 15px;
74
- margin-bottom: 10px;
75
- font-size: 16px;
76
- }
77
-
78
- .t5EYra_inputContainer {
79
- height: 24px;
80
- background-color: #ebebeb;
81
- align-items: center;
82
- display: flex;
83
- }
84
-
85
- .t5EYra_inputContainer .t5EYra_searchIcon {
86
- align-items: center;
87
- margin-left: 8px;
88
- margin-right: 8px;
89
- display: flex;
90
- }
91
-
92
- .t5EYra_inputContainer .t5EYra_inputSearch {
93
- width: 100%;
94
- height: 16px;
95
- margin-right: 8px;
96
- display: flex;
97
- position: relative;
98
- }
99
-
100
- .t5EYra_inputContainer .t5EYra_inputSearch input {
101
- width: 100%;
102
- border: 0;
103
- outline: 0;
104
- padding-left: 5px;
105
- font-size: 13px;
106
- }
107
-
108
- .t5EYra_inputContainer .t5EYra_inputSearch input:focus {
109
- outline: none !important;
110
- }
111
-
112
- .t5EYra_inputContainer .t5EYra_inputSearch .t5EYra_closeIcon {
113
- height: 10px;
114
- position: absolute;
115
- top: 3px;
116
- right: 3px;
117
- }
118
-
119
- .kMx4ia_line {
120
- height: 30px;
121
- align-items: center;
122
- margin-top: 2px;
123
- padding-left: 8px;
124
- display: flex;
125
- }
126
-
127
- .kMx4ia_line:hover {
128
- cursor: pointer;
129
- background-color: #ebebeb;
130
- transition-duration: .3s;
131
- }
132
-
133
- .kMx4ia_line.kMx4ia_disabled {
134
- color: #c3c3c3;
135
- }
136
-
137
- .kMx4ia_line.kMx4ia_disabled:hover {
138
- cursor: initial;
139
- }
140
-
141
- .kMx4ia_line .kMx4ia_checkboxContainer {
142
- height: 14px;
143
- width: 14px;
144
- }
145
-
146
- .kMx4ia_line .kMx4ia_label {
147
- text-align: left;
148
- white-space: nowrap;
149
- text-overflow: ellipsis;
150
- width: 100%;
151
- margin-left: 8px;
152
- font-size: 14px;
153
- overflow: hidden;
154
- }
155
-
156
- .pNP20W_checkbox {
157
- height: 100%;
158
- width: 100%;
159
- box-sizing: border-box;
160
- border: 2px solid #d7d7d7;
161
- border-radius: 2px;
162
- }
163
-
164
- .pNP20W_checkbox:hover {
165
- cursor: pointer;
166
- }
167
-
168
- .pNP20W_checkbox.pNP20W_checked {
169
- color: #0bd1d1;
170
- color: #fff;
171
- background-color: #0bd1d1;
172
- border: 2px solid #0bd1d1;
173
- }
174
-
175
- .pNP20W_checkbox.pNP20W_checked.pNP20W_disabled {
176
- background-color: #c3c3c3;
177
- border: 2px solid #c3c3c3;
178
- }
179
-
180
- .pNP20W_checkbox.pNP20W_checked.pNP20W_disabled:hover {
181
- cursor: initial;
182
- }
183
-
184
- .pNP20W_checkbox.pNP20W_disabled {
185
- border: 2px solid #c3c3c3;
186
- }
187
-
188
- .pNP20W_checkbox.pNP20W_disabled:hover {
189
- cursor: initial;
190
- }
191
-
192
- .vK5M_a_allOptions {
193
- margin-top: 2px;
194
- margin-bottom: 5px;
195
- font-weight: bold;
196
- }
197
-
198
- ._1WQQUG_selectorContainer {
199
- align-items: flex-end;
200
- display: flex;
201
- }
202
-
203
- ._1WQQUG_selectorContainer ._1WQQUG_description {
204
- color: #000;
205
- font-size: 14px;
206
- }
207
-
208
- ._1WQQUG_selectorContainer ._1WQQUG_description._1WQQUG_search {
209
- color: #9b9b9b;
210
- }
211
-
212
- ._1WQQUG_selectorContainer ._1WQQUG_chipsContainer {
213
- height: 100%;
214
- flex-direction: row;
215
- align-items: center;
216
- display: flex;
217
- }
218
-
219
- .hEY9kq_chips {
220
- color: #0bd1d1;
221
- height: 100%;
222
- background-color: #cef6f6;
223
- border-radius: 50px;
224
- flex-direction: row;
225
- align-items: center;
226
- padding-left: 10px;
227
- padding-right: 10px;
228
- font-size: 12px;
229
- display: inline-flex;
230
- }
231
-
232
- .hEY9kq_chips .hEY9kq_close {
233
- cursor: pointer;
234
- margin-left: 5px;
235
- padding: 3px 2px;
236
- }
237
-
238
- ._8FpR1a_listChips {
239
- height: 100%;
240
- flex-direction: row;
241
- align-items: center;
242
- display: flex;
243
- }
244
-
245
- ._8FpR1a_listChips ._8FpR1a_otherChips {
246
- height: 100%;
247
- display: flex;
248
- }
249
-
250
- ._8FpR1a_listChips ._8FpR1a_chips {
251
- height: 100%;
252
- margin-right: 4px;
253
- display: flex;
254
- }
255
-
256
- ._8FpR1a_toolTipsList {
257
- max-height: 118px;
258
- font-weight: normal;
259
- overflow: auto;
260
- }
261
-
262
- ._8FpR1a_toolTipsList ._8FpR1a_lineChips {
263
- text-overflow: ellipsis;
264
- white-space: nowrap;
265
- overflow: hidden;
266
- }
267
-
268
- /*# sourceMappingURL=index.css.map */
@@ -1 +0,0 @@
1
- {"mappings":"AAAA;;;;;;;;AAOE;;;;;;AAIE;;;;AAGA;;;;AAKF;;;;;AAIE;;;;;;AAKE;;;;;AAGE;;;;AAKF;;;;;;AAQJ;;;;;;AAIE;;;;AAIA;;;;ACpDJ;;;;;;;AAME;;;;;;;;ACNF;;;;;;;AAME;;;;;;;AAOA;;;;;;;;AAOE;;;;;;;;AAOE;;;;AAIF;;;;;;;AC/BJ;;;;;;;;AAQE;;;;;;AAKA;;;;AAEE;;;;AAKF;;;;;AAKA;;;;;;;;;;ACzBF;;;;;;;;AAME;;;;AAIA;;;;;;;AAME;;;;;AAGE;;;;AAMJ;;;;AAGE;;;;AC5BJ;;;;;;ACAA;;;;;AAIE;;;;;AAIE;;;;AAKF;;;;;;;ACbF;;;;;;;;;;;;;AAYE;;;;;;ACZF;;;;;;;AAME;;;;;AAKA;;;;;;AAMF;;;;;;AAKE","sources":["src/components/Autocomplete/AutocompleteMultiple/styles.module.scss","src/components/Autocomplete/AutocompleteMultiple/Results/styles.module.scss","src/components/Autocomplete/AutocompleteMultiple/Results/SearchBar/styles.module.scss","src/components/Autocomplete/AutocompleteMultiple/Results/SuggestList/SuggestItem/styles.module.scss","src/components/basics/Checkbox/styles.module.scss","src/components/Autocomplete/AutocompleteMultiple/Results/SuggestList/styles.module.scss","src/components/Autocomplete/AutocompleteMultiple/Selector/styles.module.scss","src/components/basics/Chips/styles.module.scss","src/components/Autocomplete/AutocompleteMultiple/Selector/ListChips/styles.module.scss"],"sourcesContent":[".autoCompleteContainer {\r\n display: flex;\r\n flex-direction: column;\r\n height: 50px;\r\n width: 100%;\r\n min-width: 170px;\r\n\r\n & .label {\r\n font-size: 12px;\r\n color: #9b9b9b;\r\n margin-bottom: 4px;\r\n &.search {\r\n color: #0bd1d1;\r\n }\r\n &.isError {\r\n color: #fe3a5e;\r\n }\r\n }\r\n\r\n .selector {\r\n display: flex;\r\n height: 24px;\r\n\r\n .icons {\r\n margin-left: auto;\r\n display: flex;\r\n flex-direction: row;\r\n\r\n .dropDownIcon {\r\n width: 12px;\r\n margin-left: 8px;\r\n &.rotated {\r\n transform: rotate(180deg);\r\n }\r\n }\r\n\r\n .clear {\r\n width: 12px;\r\n margin-left: auto;\r\n cursor: pointer;\r\n }\r\n }\r\n }\r\n\r\n .border {\r\n width: 100%;\r\n margin-top: 5px;\r\n border-bottom: 2px solid #d7d7d7;\r\n &.isError {\r\n border-bottom: 2px solid #fe3a5e;\r\n }\r\n\r\n &.open {\r\n border-bottom: 2px solid #0bd1d1;\r\n }\r\n }\r\n}\r\n",".resultsContainer {\r\n box-shadow: 0px 2px 2px 0 rgba(0, 0, 0, 0.1);\r\n padding: 4px;\r\n background-color: #ffffff;\r\n z-index: 9;\r\n\r\n .noResult {\r\n text-align: center;\r\n margin-top: 15px;\r\n color: #9b9b9b;\r\n font-size: 16px;\r\n margin-bottom: 10px;\r\n }\r\n\r\n}\r\n",".inputContainer {\r\n display: flex;\r\n align-items: center;\r\n height: 24px;\r\n background-color: #ebebeb;\r\n\r\n .searchIcon {\r\n display: flex;\r\n align-items: center;\r\n margin-left: 8px;\r\n margin-right: 8px;\r\n }\r\n\r\n .inputSearch {\r\n position: relative;\r\n display: flex;\r\n width: 100%;\r\n height: 16px;\r\n margin-right: 8px;\r\n\r\n input {\r\n border: 0;\r\n outline: 0;\r\n font-size: 13px;\r\n width: 100%;\r\n padding-left: 5px;\r\n\r\n &:focus {\r\n outline: none !important;\r\n }\r\n }\r\n .closeIcon {\r\n height: 10px;\r\n position: absolute;\r\n right: 3px;\r\n top: 3px;\r\n }\r\n }\r\n}\r\n",".line {\r\n display: flex;\r\n height: 30px;\r\n margin-top: 0px;\r\n align-items: center;\r\n padding-left: 8px;\r\n margin-top: 2px;\r\n\r\n &:hover {\r\n cursor: pointer;\r\n transition-duration: 300ms;\r\n background-color: #ebebeb;\r\n }\r\n &.disabled {\r\n color: #c3c3c3;\r\n &:hover {\r\n cursor: initial;\r\n }\r\n }\r\n\r\n & .checkboxContainer {\r\n height: 14px;\r\n width: 14px;\r\n }\r\n\r\n & .label {\r\n margin-left: 8px;\r\n overflow: hidden;\r\n text-align: left;\r\n overflow: hidden;\r\n white-space: nowrap;\r\n text-overflow: ellipsis;\r\n width: 100%;\r\n font-size: 14px;\r\n }\r\n}\r\n",".checkbox {\r\n height: 100%;\r\n width: 100%;\r\n border-radius: 2px;\r\n border: 2px solid #d7d7d7;\r\n box-sizing: border-box;\r\n &:hover {\r\n cursor: pointer;\r\n }\r\n\r\n &.checked {\r\n border: 2px solid #0bd1d1;\r\n color: #0bd1d1;\r\n background-color: #0bd1d1;\r\n color: white;\r\n\r\n &.disabled {\r\n border: 2px solid #c3c3c3;\r\n background-color: #c3c3c3;\r\n &:hover {\r\n cursor: initial;\r\n }\r\n }\r\n }\r\n\r\n &.disabled {\r\n border: 2px solid #c3c3c3;\r\n\r\n &:hover {\r\n cursor: initial;\r\n }\r\n }\r\n}\r\n",".allOptions {\r\n font-weight: bold;\r\n margin-bottom: 5px;\r\n margin-top: 2px;\r\n}\r\n\r\n",".selectorContainer {\r\n display: flex;\r\n align-items: flex-end;\r\n\r\n .description {\r\n font-size: 14px;\r\n color: #000;\r\n\r\n &.search {\r\n color: #9b9b9b;\r\n }\r\n }\r\n\r\n .chipsContainer {\r\n display: flex;\r\n flex-direction: row;\r\n align-items: center;\r\n height: 100%;\r\n }\r\n}\r\n",".chips {\r\n display: inline-flex;\r\n flex-direction: row;\r\n align-items: center;\r\n background-color: #cef6f6;\r\n color: #0bd1d1;\r\n border-radius: 50px;\r\n height: 100%;\r\n padding-left: 10px;\r\n padding-right: 10px;\r\n font-size: 12px;\r\n\r\n .close {\r\n margin-left: 5px;\r\n cursor: pointer;\r\n padding-top: 3px;\r\n padding-bottom: 3px;\r\n padding-right: 2px;\r\n padding-left: 2px;\r\n }\r\n // &:global(.disabled) {\r\n // background-color: #e3e3e3;\r\n // color: #6e6e6e\r\n // }\r\n}\r\n",".listChips {\r\n display: flex;\r\n flex-direction: row;\r\n align-items: center;\r\n height: 100%;\r\n\r\n .otherChips {\r\n display: flex;\r\n height: 100%;\r\n }\r\n\r\n .chips {\r\n margin-right: 4px;\r\n display: flex;\r\n height: 100%;\r\n }\r\n}\r\n.toolTipsList {\r\n max-height: 118px;\r\n overflow: auto;\r\n font-weight: normal;\r\n\r\n .lineChips {\r\n text-overflow: ellipsis;\r\n overflow: hidden;\r\n white-space: nowrap;\r\n }\r\n}\r\n"],"names":[],"version":3,"file":"index.css.map"}