wini-web-components 0.1.0 → 0.3.0
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 +1 -4
- package/src/index.js +50 -16
- package/src/skin/layout.css +601 -0
- package/src/App.css +0 -38
- package/src/App.js +0 -25
- package/src/App.test.js +0 -8
- package/src/component/export-component.js +0 -48
- package/src/index.css +0 -13
- package/src/reportWebVitals.js +0 -13
- package/src/setupTests.js +0 -5
package/package.json
CHANGED
|
@@ -1,12 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "wini-web-components",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"dependencies": {
|
|
5
5
|
"@fortawesome/free-solid-svg-icons": "^6.5.2",
|
|
6
6
|
"@fortawesome/react-fontawesome": "^0.2.2",
|
|
7
|
-
"@testing-library/jest-dom": "^5.17.0",
|
|
8
|
-
"@testing-library/react": "^13.4.0",
|
|
9
|
-
"@testing-library/user-event": "^13.5.0",
|
|
10
7
|
"react": "^18.3.1",
|
|
11
8
|
"react-awesome-slider": "^4.1.0",
|
|
12
9
|
"react-dom": "^18.3.1",
|
package/src/index.js
CHANGED
|
@@ -1,17 +1,51 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import './
|
|
4
|
-
import
|
|
5
|
-
import
|
|
1
|
+
import './skin/color.css'
|
|
2
|
+
import './skin/layoout.css'
|
|
3
|
+
import './skin/typography.css'
|
|
4
|
+
import { Checkbox } from './component/checkbox/checkbox.tsx'
|
|
5
|
+
import { Select1 } from './component/select1/select1.tsx'
|
|
6
|
+
import { Switch } from './component/switch/switch.tsx'
|
|
7
|
+
import { showPopup, closePopup, Popup } from './component/popup/popup.tsx'
|
|
8
|
+
import { showDialog, Dialog, DialogAlignment } from './component/dialog/dialog.tsx'
|
|
9
|
+
import { DatePicker } from './component/date-picker/date-picker.tsx'
|
|
10
|
+
import { SelectMultiple } from './component/input-multi-select/input-multi-select.tsx'
|
|
11
|
+
import { ProgressBar } from './component/progress-bar/progress-bar.tsx'
|
|
12
|
+
import { ComponentStatus, getStatusIcon } from './component/component-status.tsx'
|
|
13
|
+
import { Text } from './component/text/text.tsx'
|
|
14
|
+
import { Pagination } from './component/pagination/pagination.tsx'
|
|
15
|
+
import { Table, TbCell, TbHeader, TbRow, TbBody, CellAlignItems } from './component/table/table.tsx'
|
|
16
|
+
import { TextField } from './component/text-field/text-field.tsx'
|
|
17
|
+
import { RadioButton } from './component/radio-button/radio-button.tsx'
|
|
18
|
+
import { TextArea } from './component/text-area/text-area.tsx'
|
|
19
|
+
import { ImportFile } from './component/import-file/import-file.tsx'
|
|
20
|
+
import { ToastMessage } from './component/toast-noti/toast-noti.tsx'
|
|
21
|
+
import { Calendar, CalendarType } from './component/calendar/calendar'
|
|
22
|
+
import { InfiniteScroll } from './component/infinite-scroll/infinite-scroll.tsx'
|
|
23
|
+
import { Rating } from './component/rating/rating.tsx'
|
|
24
|
+
import { ProgressCircle } from './component/progress-circle/progress-circle.tsx'
|
|
25
|
+
import { CustomSlider } from './component/slider/slider.tsx'
|
|
6
26
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
27
|
+
export {
|
|
28
|
+
Calendar, CalendarType,
|
|
29
|
+
ComponentStatus,
|
|
30
|
+
getStatusIcon,
|
|
31
|
+
Checkbox,
|
|
32
|
+
Select1,
|
|
33
|
+
Switch,
|
|
34
|
+
Popup, showPopup, closePopup,
|
|
35
|
+
Dialog, showDialog, DialogAlignment,
|
|
36
|
+
DatePicker,
|
|
37
|
+
SelectMultiple,
|
|
38
|
+
ProgressBar,
|
|
39
|
+
Text,
|
|
40
|
+
Pagination,
|
|
41
|
+
Table, TbCell, TbHeader, TbBody, TbRow, CellAlignItems,
|
|
42
|
+
TextField,
|
|
43
|
+
RadioButton,
|
|
44
|
+
TextArea,
|
|
45
|
+
ImportFile,
|
|
46
|
+
ToastMessage,
|
|
47
|
+
InfiniteScroll,
|
|
48
|
+
Rating,
|
|
49
|
+
ProgressCircle,
|
|
50
|
+
CustomSlider,
|
|
51
|
+
}
|
|
@@ -0,0 +1,601 @@
|
|
|
1
|
+
* {
|
|
2
|
+
flex-shrink: 0;
|
|
3
|
+
box-sizing: border-box;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.row {
|
|
7
|
+
display: -webkit-flex;
|
|
8
|
+
display: flex;
|
|
9
|
+
flex-direction: row;
|
|
10
|
+
align-items: center;
|
|
11
|
+
overflow: hidden;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.col {
|
|
15
|
+
display: flex;
|
|
16
|
+
flex-direction: column;
|
|
17
|
+
overflow: hidden;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.row>.col0 {
|
|
21
|
+
display: none !important;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.row>.col1 {
|
|
25
|
+
width: auto !important;
|
|
26
|
+
min-width: auto !important;
|
|
27
|
+
flex: 0 calc((100% * 1 / 24) - var(--gutter) * 23 / 24) !important;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.row>.col2 {
|
|
31
|
+
width: auto !important;
|
|
32
|
+
min-width: auto !important;
|
|
33
|
+
flex: 0 calc((100% * 2 / 24) - var(--gutter) * 11 / 12) !important;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.row>.col3 {
|
|
37
|
+
width: auto !important;
|
|
38
|
+
min-width: auto !important;
|
|
39
|
+
flex: 0 calc((100% * 3 / 24) - var(--gutter) * 7 / 8) !important;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.row>.col4 {
|
|
43
|
+
width: auto !important;
|
|
44
|
+
min-width: auto !important;
|
|
45
|
+
flex: 0 calc((100% * 4 / 24) - var(--gutter) * 5 / 6) !important;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.row>.col6 {
|
|
49
|
+
width: auto !important;
|
|
50
|
+
min-width: auto !important;
|
|
51
|
+
flex: 0 calc((100% * 6 / 24) - var(--gutter) * 3 / 4) !important;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.row>.col8 {
|
|
55
|
+
width: auto !important;
|
|
56
|
+
min-width: auto !important;
|
|
57
|
+
flex: 0 calc((100% * 8 / 24) - var(--gutter) * 2 / 3) !important;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.row>.col10 {
|
|
61
|
+
width: auto !important;
|
|
62
|
+
min-width: auto !important;
|
|
63
|
+
flex: 0 calc((100% * 10 / 24) - var(--gutter) * 5 / 6) !important;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.row>.col12 {
|
|
67
|
+
width: auto !important;
|
|
68
|
+
min-width: auto !important;
|
|
69
|
+
flex: 0 calc((100% * 12 / 24) - var(--gutter) / 2) !important;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.row>.col16 {
|
|
73
|
+
width: auto !important;
|
|
74
|
+
min-width: auto !important;
|
|
75
|
+
flex: 0 calc((100% * 16 / 24) - var(--gutter) * 2 / 3) !important;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.row>.col18 {
|
|
79
|
+
width: auto !important;
|
|
80
|
+
min-width: auto !important;
|
|
81
|
+
flex: 0 calc((100% * 18 / 24) - var(--gutter) * 3 / 4) !important;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.row>.col20 {
|
|
85
|
+
width: auto !important;
|
|
86
|
+
min-width: auto !important;
|
|
87
|
+
flex: 0 calc((100% * 20 / 24) - var(--gutter) * 5 / 6) !important;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.row>.col24 {
|
|
91
|
+
width: auto !important;
|
|
92
|
+
min-width: auto !important;
|
|
93
|
+
flex: 0 100% !important;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
/* Extra small devices (phones, 576px and down) min*/
|
|
97
|
+
@media only screen and (max-width: 576px) {
|
|
98
|
+
:root {
|
|
99
|
+
font-size: 6px !important;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.row>.col0-min {
|
|
103
|
+
display: none !important;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.row>.col1-min {
|
|
107
|
+
width: auto !important;
|
|
108
|
+
min-width: auto !important;
|
|
109
|
+
flex: 0 calc((100% * 1 / 24) - var(--gutter) * 23 / 24) !important;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.row>.col2-min {
|
|
113
|
+
width: auto !important;
|
|
114
|
+
min-width: auto !important;
|
|
115
|
+
flex: 0 calc((100% * 2 / 24) - var(--gutter) * 11 / 12) !important;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.row>.col3-min {
|
|
119
|
+
width: auto !important;
|
|
120
|
+
min-width: auto !important;
|
|
121
|
+
flex: 0 calc((100% * 3 / 24) - var(--gutter) * 7 / 8) !important;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.row>.col4-min {
|
|
125
|
+
width: auto !important;
|
|
126
|
+
min-width: auto !important;
|
|
127
|
+
flex: 0 calc((100% * 4 / 24) - var(--gutter) * 5 / 6) !important;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.row>.col6-min {
|
|
131
|
+
width: auto !important;
|
|
132
|
+
min-width: auto !important;
|
|
133
|
+
flex: 0 calc((100% * 6 / 24) - var(--gutter) * 3 / 4) !important;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.row>.col8-min {
|
|
137
|
+
width: auto !important;
|
|
138
|
+
min-width: auto !important;
|
|
139
|
+
flex: 0 calc((100% * 8 / 24) - var(--gutter) * 2 / 3) !important;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
.row>.col10-min {
|
|
143
|
+
width: auto !important;
|
|
144
|
+
min-width: auto !important;
|
|
145
|
+
flex: 0 calc((100% * 10 / 24) - var(--gutter) * 5 / 6) !important;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.row>.col12-min {
|
|
149
|
+
width: auto !important;
|
|
150
|
+
min-width: auto !important;
|
|
151
|
+
flex: 0 calc((100% * 12 / 24) - var(--gutter) / 2) !important;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.row>.col16-min {
|
|
155
|
+
width: auto !important;
|
|
156
|
+
min-width: auto !important;
|
|
157
|
+
flex: 0 calc((100% * 16 / 24) - var(--gutter) * 2 / 3) !important;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.row>.col18-min {
|
|
161
|
+
width: auto !important;
|
|
162
|
+
min-width: auto !important;
|
|
163
|
+
flex: 0 calc((100% * 18 / 24) - var(--gutter) * 3 / 4) !important;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
.row>.col20-min {
|
|
167
|
+
width: auto !important;
|
|
168
|
+
min-width: auto !important;
|
|
169
|
+
flex: 0 calc((100% * 20 / 24) - var(--gutter) * 5 / 6) !important;
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
.row>.col24-min {
|
|
173
|
+
width: auto !important;
|
|
174
|
+
min-width: auto !important;
|
|
175
|
+
flex: 0 100% !important;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
/* more config responsive */
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
/* Small devices (portrait tablets and large phones, 576px and up) Small (sm)*/
|
|
182
|
+
@media only screen and (min-width: 576px) and (max-width: 768px) {
|
|
183
|
+
:root {
|
|
184
|
+
font-size: 6.8px !important;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
.row>.col0-sm {
|
|
188
|
+
display: none !important;
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
.row>.col1-sm {
|
|
192
|
+
width: auto !important;
|
|
193
|
+
min-width: auto !important;
|
|
194
|
+
flex: 0 calc((100% * 1 / 24) - var(--gutter) * 23 / 24) !important;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
.row>.col2-sm {
|
|
198
|
+
width: auto !important;
|
|
199
|
+
min-width: auto !important;
|
|
200
|
+
flex: 0 calc((100% * 2 / 24) - var(--gutter) * 11 / 12) !important;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
.row>.col3-sm {
|
|
204
|
+
width: auto !important;
|
|
205
|
+
min-width: auto !important;
|
|
206
|
+
flex: 0 calc((100% * 3 / 24) - var(--gutter) * 7 / 8) !important;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
.row>.col4-sm {
|
|
210
|
+
width: auto !important;
|
|
211
|
+
min-width: auto !important;
|
|
212
|
+
flex: 0 calc((100% * 4 / 24) - var(--gutter) * 5 / 6) !important;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
.row>.col6-sm {
|
|
216
|
+
width: auto !important;
|
|
217
|
+
min-width: auto !important;
|
|
218
|
+
flex: 0 calc((100% * 6 / 24) - var(--gutter) * 3 / 4) !important;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
.row>.col8-sm {
|
|
222
|
+
width: auto !important;
|
|
223
|
+
min-width: auto !important;
|
|
224
|
+
flex: 0 calc((100% * 8 / 24) - var(--gutter) * 2 / 3) !important;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
.row>.col10-sm {
|
|
228
|
+
width: auto !important;
|
|
229
|
+
min-width: auto !important;
|
|
230
|
+
flex: 0 calc((100% * 10 / 24) - var(--gutter) * 5 / 6) !important;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
|
|
234
|
+
.row>.col12-sm {
|
|
235
|
+
width: auto !important;
|
|
236
|
+
min-width: auto !important;
|
|
237
|
+
flex: 0 calc((100% * 12 / 24) - var(--gutter) / 2) !important;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
.row>.col16-sm {
|
|
241
|
+
width: auto !important;
|
|
242
|
+
min-width: auto !important;
|
|
243
|
+
flex: 0 calc((100% * 16 / 24) - var(--gutter) * 2 / 3) !important;
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
.row>.col18-sm {
|
|
247
|
+
width: auto !important;
|
|
248
|
+
min-width: auto !important;
|
|
249
|
+
flex: 0 calc((100% * 18 / 24) - var(--gutter) * 3 / 4) !important;
|
|
250
|
+
}
|
|
251
|
+
|
|
252
|
+
.row>.col20-sm {
|
|
253
|
+
width: auto !important;
|
|
254
|
+
min-width: auto !important;
|
|
255
|
+
flex: 0 calc((100% * 20 / 24) - var(--gutter) * 5 / 6) !important;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
.row>.col24-sm {
|
|
259
|
+
width: auto !important;
|
|
260
|
+
min-width: auto !important;
|
|
261
|
+
flex: 0 100% !important;
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
/* Medium devices (landscape tablets, 768px and up) Medium (md)*/
|
|
266
|
+
@media only screen and (min-width: 768px) and (max-width: 992px) {
|
|
267
|
+
:root {
|
|
268
|
+
font-size: 7.6px !important;
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
.row>.col0-md {
|
|
272
|
+
display: none !important;
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
.row>.col1-md {
|
|
276
|
+
width: auto !important;
|
|
277
|
+
min-width: auto !important;
|
|
278
|
+
flex: 0 calc((100% * 1 / 24) - var(--gutter) * 23 / 24) !important;
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
.row>.col2-md {
|
|
282
|
+
width: auto !important;
|
|
283
|
+
min-width: auto !important;
|
|
284
|
+
flex: 0 calc((100% * 2 / 24) - var(--gutter) * 11 / 12) !important;
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
.row>.col3-md {
|
|
288
|
+
width: auto !important;
|
|
289
|
+
min-width: auto !important;
|
|
290
|
+
flex: 0 calc((100% * 3 / 24) - var(--gutter) * 7 / 8) !important;
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
.row>.col4-md {
|
|
294
|
+
width: auto !important;
|
|
295
|
+
min-width: auto !important;
|
|
296
|
+
flex: 0 calc((100% * 4 / 24) - var(--gutter) * 5 / 6) !important;
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
.row>.col6-md {
|
|
300
|
+
width: auto !important;
|
|
301
|
+
min-width: auto !important;
|
|
302
|
+
flex: 0 calc((100% * 6 / 24) - var(--gutter) * 3 / 4) !important;
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
.row>.col8-md {
|
|
306
|
+
width: auto !important;
|
|
307
|
+
min-width: auto !important;
|
|
308
|
+
flex: 0 calc((100% * 8 / 24) - var(--gutter) * 2 / 3) !important;
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
.row>.col10-md {
|
|
312
|
+
width: auto !important;
|
|
313
|
+
min-width: auto !important;
|
|
314
|
+
flex: 0 calc((100% * 10 / 24) - var(--gutter) * 5 / 6) !important;
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
.row>.col12-md {
|
|
318
|
+
width: auto !important;
|
|
319
|
+
min-width: auto !important;
|
|
320
|
+
flex: 0 calc((100% * 12 / 24) - var(--gutter) / 2) !important;
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
.row>.col16-md {
|
|
324
|
+
width: auto !important;
|
|
325
|
+
min-width: auto !important;
|
|
326
|
+
flex: 0 calc((100% * 16 / 24) - var(--gutter) * 2 / 3) !important;
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
.row>.col18-md {
|
|
330
|
+
width: auto !important;
|
|
331
|
+
min-width: auto !important;
|
|
332
|
+
flex: 0 calc((100% * 18 / 24) - var(--gutter) * 3 / 4) !important;
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
.row>.col20-md {
|
|
336
|
+
width: auto !important;
|
|
337
|
+
min-width: auto !important;
|
|
338
|
+
flex: 0 calc((100% * 20 / 24) - var(--gutter) * 5 / 6) !important;
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
.row>.col24-md {
|
|
342
|
+
width: auto !important;
|
|
343
|
+
min-width: auto !important;
|
|
344
|
+
flex: 0 100% !important;
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
/* more config resposive */
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
/* Large devices (laptops/desktops, 992px and up) Large (lg)*/
|
|
351
|
+
@media only screen and (min-width: 992px) and (max-width: 1200px) {
|
|
352
|
+
:root {
|
|
353
|
+
font-size: 8.4px !important;
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
.row>.col0-lg {
|
|
357
|
+
display: none !important;
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
.row>.col1-lg {
|
|
361
|
+
width: auto !important;
|
|
362
|
+
min-width: auto !important;
|
|
363
|
+
flex: 0 calc((100% * 1 / 24) - var(--gutter) * 23 / 24) !important;
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
.row>.col2-lg {
|
|
367
|
+
width: auto !important;
|
|
368
|
+
min-width: auto !important;
|
|
369
|
+
flex: 0 calc((100% * 2 / 24) - var(--gutter) * 11 / 12) !important;
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
.row>.col3-lg {
|
|
373
|
+
width: auto !important;
|
|
374
|
+
min-width: auto !important;
|
|
375
|
+
flex: 0 calc((100% * 3 / 24) - var(--gutter) * 7 / 8) !important;
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
.row>.col4-lg {
|
|
379
|
+
width: auto !important;
|
|
380
|
+
min-width: auto !important;
|
|
381
|
+
flex: 0 calc((100% * 4 / 24) - var(--gutter) * 5 / 6) !important;
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
.row>.col6-lg {
|
|
385
|
+
width: auto !important;
|
|
386
|
+
min-width: auto !important;
|
|
387
|
+
flex: 0 calc((100% * 6 / 24) - var(--gutter) * 3 / 4) !important;
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
.row>.col8-lg {
|
|
391
|
+
width: auto !important;
|
|
392
|
+
min-width: auto !important;
|
|
393
|
+
flex: 0 calc((100% * 8 / 24) - var(--gutter) * 2 / 3) !important;
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
.row>.col10-lg {
|
|
397
|
+
width: auto !important;
|
|
398
|
+
min-width: auto !important;
|
|
399
|
+
flex: 0 calc((100% * 10 / 24) - var(--gutter) * 5 / 6) !important;
|
|
400
|
+
}
|
|
401
|
+
|
|
402
|
+
.row>.col12-lg {
|
|
403
|
+
width: auto !important;
|
|
404
|
+
min-width: auto !important;
|
|
405
|
+
flex: 0 calc((100% * 12 / 24) - var(--gutter) / 2) !important;
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
.row>.col16-lg {
|
|
409
|
+
width: auto !important;
|
|
410
|
+
min-width: auto !important;
|
|
411
|
+
flex: 0 calc((100% * 16 / 24) - var(--gutter) * 2 / 3) !important;
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
.row>.col20-lg {
|
|
415
|
+
width: auto !important;
|
|
416
|
+
min-width: auto !important;
|
|
417
|
+
flex: 0 calc((100% * 20 / 24) - var(--gutter) * 5 / 6) !important;
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
.row>.col18-lg {
|
|
421
|
+
width: auto !important;
|
|
422
|
+
min-width: auto !important;
|
|
423
|
+
flex: 0 calc((100% * 18 / 24) - var(--gutter) * 3 / 4) !important;
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
.row>.col24-lg {
|
|
427
|
+
width: auto !important;
|
|
428
|
+
min-width: auto !important;
|
|
429
|
+
flex: 0 100% !important;
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
/* more config resposive */
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
/* Extra large devices (large laptops and desktops, 1200px and up) X-large (xl)*/
|
|
436
|
+
@media only screen and (min-width: 1200px) {
|
|
437
|
+
:root {
|
|
438
|
+
font-size: 8.8px !important;
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
.row>.col0-xl {
|
|
442
|
+
display: none !important;
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
.row>.col1-xl {
|
|
446
|
+
width: auto !important;
|
|
447
|
+
min-width: auto !important;
|
|
448
|
+
flex: 0 calc((100% * 1 / 24) - var(--gutter) * 23 / 24) !important;
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
.row>.col2-xl {
|
|
452
|
+
width: auto !important;
|
|
453
|
+
min-width: auto !important;
|
|
454
|
+
flex: 0 calc((100% * 2 / 24) - var(--gutter) * 11 / 12) !important;
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
.row>.col3-xl {
|
|
458
|
+
width: auto !important;
|
|
459
|
+
min-width: auto !important;
|
|
460
|
+
flex: 0 calc((100% * 3 / 24) - var(--gutter) * 7 / 8) !important;
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
.row>.col4-xl {
|
|
464
|
+
width: auto !important;
|
|
465
|
+
min-width: auto !important;
|
|
466
|
+
flex: 0 calc((100% * 4 / 24) - var(--gutter) * 5 / 6) !important;
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
.row>.col6-xl {
|
|
470
|
+
width: auto !important;
|
|
471
|
+
min-width: auto !important;
|
|
472
|
+
flex: 0 calc((100% * 6 / 24) - var(--gutter) * 3 / 4) !important;
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
.row>.col8-xl {
|
|
476
|
+
width: auto !important;
|
|
477
|
+
min-width: auto !important;
|
|
478
|
+
flex: 0 calc((100% * 8 / 24) - var(--gutter) * 2 / 3) !important;
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
.row>.col10-xl {
|
|
482
|
+
width: auto !important;
|
|
483
|
+
min-width: auto !important;
|
|
484
|
+
flex: 0 calc((100% * 10 / 24) - var(--gutter) * 5 / 6) !important;
|
|
485
|
+
}
|
|
486
|
+
|
|
487
|
+
.row>.col12-xl {
|
|
488
|
+
width: auto !important;
|
|
489
|
+
min-width: auto !important;
|
|
490
|
+
flex: 0 calc((100% * 12 / 24) - var(--gutter) / 2) !important;
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
.row>.col16-xl {
|
|
494
|
+
width: auto !important;
|
|
495
|
+
min-width: auto !important;
|
|
496
|
+
flex: 0 calc((100% * 16 / 24) - var(--gutter) * 2 / 3) !important;
|
|
497
|
+
}
|
|
498
|
+
|
|
499
|
+
.row>.col18-xl {
|
|
500
|
+
width: auto !important;
|
|
501
|
+
min-width: auto !important;
|
|
502
|
+
flex: 0 calc((100% * 18 / 24) - var(--gutter) * 3 / 4) !important;
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
.row>.col20-xl {
|
|
506
|
+
width: auto !important;
|
|
507
|
+
min-width: auto !important;
|
|
508
|
+
flex: 0 calc((100% * 20 / 24) - var(--gutter) * 5 / 6) !important;
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
.row>.col24-xl {
|
|
512
|
+
width: auto !important;
|
|
513
|
+
min-width: auto !important;
|
|
514
|
+
flex: 0 100% !important;
|
|
515
|
+
}
|
|
516
|
+
|
|
517
|
+
/* more config resposive */
|
|
518
|
+
}
|
|
519
|
+
|
|
520
|
+
/* Extra large devices (large laptops and desktops, 1600px and up) XX-large (xxl) */
|
|
521
|
+
@media only screen and (min-width: 1600px) {
|
|
522
|
+
:root {
|
|
523
|
+
font-size: 10px !important;
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
.row>.col0-xxl {
|
|
527
|
+
display: none !important;
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
.row>.col1-xxl {
|
|
531
|
+
width: auto !important;
|
|
532
|
+
min-width: auto !important;
|
|
533
|
+
flex: 0 calc((100% * 1 / 24) - var(--gutter) * 23 / 24) !important;
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
.row>.col2-xxl {
|
|
537
|
+
width: auto !important;
|
|
538
|
+
min-width: auto !important;
|
|
539
|
+
flex: 0 calc((100% * 2 / 24) - var(--gutter) * 11 / 12) !important;
|
|
540
|
+
}
|
|
541
|
+
|
|
542
|
+
.row>.col3-xxl {
|
|
543
|
+
width: auto !important;
|
|
544
|
+
min-width: auto !important;
|
|
545
|
+
flex: 0 calc((100% * 3 / 24) - var(--gutter) * 7 / 8) !important;
|
|
546
|
+
}
|
|
547
|
+
|
|
548
|
+
.row>.col4-xxl {
|
|
549
|
+
width: auto !important;
|
|
550
|
+
min-width: auto !important;
|
|
551
|
+
flex: 0 calc((100% * 4 / 24) - var(--gutter) * 5 / 6) !important;
|
|
552
|
+
}
|
|
553
|
+
|
|
554
|
+
.row>.col6-xxl {
|
|
555
|
+
width: auto !important;
|
|
556
|
+
min-width: auto !important;
|
|
557
|
+
flex: 0 calc((100% * 6 / 24) - var(--gutter) * 3 / 4) !important;
|
|
558
|
+
}
|
|
559
|
+
|
|
560
|
+
.row>.col8-xxl {
|
|
561
|
+
width: auto !important;
|
|
562
|
+
min-width: auto !important;
|
|
563
|
+
flex: 0 calc((100% * 8 / 24) - var(--gutter) * 2 / 3) !important;
|
|
564
|
+
}
|
|
565
|
+
|
|
566
|
+
.row>.col10-xxl {
|
|
567
|
+
width: auto !important;
|
|
568
|
+
min-width: auto !important;
|
|
569
|
+
flex: 0 calc((100% * 10 / 24) - var(--gutter) * 5 / 6) !important;
|
|
570
|
+
}
|
|
571
|
+
|
|
572
|
+
.row>.col12-xxl {
|
|
573
|
+
width: auto !important;
|
|
574
|
+
min-width: auto !important;
|
|
575
|
+
flex: 0 calc((100% * 12 / 24) - var(--gutter) / 2) !important;
|
|
576
|
+
}
|
|
577
|
+
|
|
578
|
+
.row>.col16-xxl {
|
|
579
|
+
width: auto !important;
|
|
580
|
+
min-width: auto !important;
|
|
581
|
+
flex: 0 calc((100% * 16 / 24) - var(--gutter) * 2 / 3) !important;
|
|
582
|
+
}
|
|
583
|
+
|
|
584
|
+
.row>.col18-xxl {
|
|
585
|
+
width: auto !important;
|
|
586
|
+
min-width: auto !important;
|
|
587
|
+
flex: 0 calc((100% * 18 / 24) - var(--gutter) * 3 / 4) !important;
|
|
588
|
+
}
|
|
589
|
+
|
|
590
|
+
.row>.col20-xxl {
|
|
591
|
+
width: auto !important;
|
|
592
|
+
min-width: auto !important;
|
|
593
|
+
flex: 0 calc((100% * 20 / 24) - var(--gutter) * 5 / 6) !important;
|
|
594
|
+
}
|
|
595
|
+
|
|
596
|
+
.row>.col24-xxl {
|
|
597
|
+
width: auto !important;
|
|
598
|
+
min-width: auto !important;
|
|
599
|
+
flex: 0 100% !important;
|
|
600
|
+
}
|
|
601
|
+
}
|
package/src/App.css
DELETED
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
.App {
|
|
2
|
-
text-align: center;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
.App-logo {
|
|
6
|
-
height: 40vmin;
|
|
7
|
-
pointer-events: none;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
@media (prefers-reduced-motion: no-preference) {
|
|
11
|
-
.App-logo {
|
|
12
|
-
animation: App-logo-spin infinite 20s linear;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.App-header {
|
|
17
|
-
background-color: #282c34;
|
|
18
|
-
min-height: 100vh;
|
|
19
|
-
display: flex;
|
|
20
|
-
flex-direction: column;
|
|
21
|
-
align-items: center;
|
|
22
|
-
justify-content: center;
|
|
23
|
-
font-size: calc(10px + 2vmin);
|
|
24
|
-
color: white;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.App-link {
|
|
28
|
-
color: #61dafb;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
@keyframes App-logo-spin {
|
|
32
|
-
from {
|
|
33
|
-
transform: rotate(0deg);
|
|
34
|
-
}
|
|
35
|
-
to {
|
|
36
|
-
transform: rotate(360deg);
|
|
37
|
-
}
|
|
38
|
-
}
|
package/src/App.js
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import logo from './logo.svg';
|
|
2
|
-
import './App.css';
|
|
3
|
-
|
|
4
|
-
function App() {
|
|
5
|
-
return (
|
|
6
|
-
<div className="App">
|
|
7
|
-
<header className="App-header">
|
|
8
|
-
<img src={logo} className="App-logo" alt="logo" />
|
|
9
|
-
<p>
|
|
10
|
-
Edit <code>src/App.js</code> and save to reload.
|
|
11
|
-
</p>
|
|
12
|
-
<a
|
|
13
|
-
className="App-link"
|
|
14
|
-
href="https://reactjs.org"
|
|
15
|
-
target="_blank"
|
|
16
|
-
rel="noopener noreferrer"
|
|
17
|
-
>
|
|
18
|
-
Learn React
|
|
19
|
-
</a>
|
|
20
|
-
</header>
|
|
21
|
-
</div>
|
|
22
|
-
);
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
export default App;
|
package/src/App.test.js
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { Checkbox } from './checkbox/checkbox.tsx'
|
|
2
|
-
import { Select1 } from './select1/select1.tsx'
|
|
3
|
-
import { Switch } from './switch/switch.tsx'
|
|
4
|
-
import { showPopup, closePopup, Popup } from './popup/popup.tsx'
|
|
5
|
-
import { showDialog, Dialog, DialogAlignment } from './dialog/dialog.tsx'
|
|
6
|
-
import { DatePicker } from './date-picker/date-picker.tsx'
|
|
7
|
-
import { SelectMultiple } from './input-multi-select/input-multi-select.tsx'
|
|
8
|
-
import { ProgressBar } from './progress-bar/progress-bar.tsx'
|
|
9
|
-
import { ComponentStatus, getStatusIcon } from './component-status.tsx'
|
|
10
|
-
import { Text } from './text/text.tsx'
|
|
11
|
-
import { Pagination } from './pagination/pagination.tsx'
|
|
12
|
-
import { Table, TbCell, TbHeader, TbRow, TbBody, CellAlignItems } from './table/table.tsx'
|
|
13
|
-
import { TextField } from './text-field/text-field.tsx'
|
|
14
|
-
import { RadioButton } from './radio-button/radio-button.tsx'
|
|
15
|
-
import { TextArea } from './text-area/text-area.tsx'
|
|
16
|
-
import { ImportFile } from './import-file/import-file.tsx'
|
|
17
|
-
import { ToastMessage } from './toast-noti/toast-noti.tsx'
|
|
18
|
-
import { Calendar, CalendarType } from './calendar/calendar'
|
|
19
|
-
import { InfiniteScroll } from './infinite-scroll/infinite-scroll.tsx'
|
|
20
|
-
import { Rating } from './rating/rating.tsx'
|
|
21
|
-
import { ProgressCircle } from './progress-circle/progress-circle.tsx'
|
|
22
|
-
import { CustomSlider } from './slider/slider.tsx'
|
|
23
|
-
|
|
24
|
-
export {
|
|
25
|
-
Calendar, CalendarType,
|
|
26
|
-
ComponentStatus,
|
|
27
|
-
getStatusIcon,
|
|
28
|
-
Checkbox,
|
|
29
|
-
Select1,
|
|
30
|
-
Switch,
|
|
31
|
-
Popup, showPopup, closePopup,
|
|
32
|
-
Dialog, showDialog, DialogAlignment,
|
|
33
|
-
DatePicker,
|
|
34
|
-
SelectMultiple,
|
|
35
|
-
ProgressBar,
|
|
36
|
-
Text,
|
|
37
|
-
Pagination,
|
|
38
|
-
Table, TbCell, TbHeader, TbBody, TbRow, CellAlignItems,
|
|
39
|
-
TextField,
|
|
40
|
-
RadioButton,
|
|
41
|
-
TextArea,
|
|
42
|
-
ImportFile,
|
|
43
|
-
ToastMessage,
|
|
44
|
-
InfiniteScroll,
|
|
45
|
-
Rating,
|
|
46
|
-
ProgressCircle,
|
|
47
|
-
CustomSlider,
|
|
48
|
-
}
|
package/src/index.css
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
body {
|
|
2
|
-
margin: 0;
|
|
3
|
-
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
|
|
4
|
-
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
|
|
5
|
-
sans-serif;
|
|
6
|
-
-webkit-font-smoothing: antialiased;
|
|
7
|
-
-moz-osx-font-smoothing: grayscale;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
code {
|
|
11
|
-
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
|
|
12
|
-
monospace;
|
|
13
|
-
}
|
package/src/reportWebVitals.js
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
const reportWebVitals = onPerfEntry => {
|
|
2
|
-
if (onPerfEntry && onPerfEntry instanceof Function) {
|
|
3
|
-
import('web-vitals').then(({ getCLS, getFID, getFCP, getLCP, getTTFB }) => {
|
|
4
|
-
getCLS(onPerfEntry);
|
|
5
|
-
getFID(onPerfEntry);
|
|
6
|
-
getFCP(onPerfEntry);
|
|
7
|
-
getLCP(onPerfEntry);
|
|
8
|
-
getTTFB(onPerfEntry);
|
|
9
|
-
});
|
|
10
|
-
}
|
|
11
|
-
};
|
|
12
|
-
|
|
13
|
-
export default reportWebVitals;
|
package/src/setupTests.js
DELETED