@tsed/tailwind-formio 3.0.0-alpha.9 → 3.0.0-rc.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/dist/index.d.ts +4 -1
- package/dist/index.js.map +1 -1
- package/dist/tailwind/colors.js.map +1 -1
- package/dist/tailwind/preset.js.map +1 -1
- package/dist/templates/index.d.ts +4 -1
- package/dist/templates/index.js.map +1 -1
- package/dist/templates/tailwind/address/index.js.map +1 -1
- package/dist/templates/tailwind/alert/index.js.map +1 -1
- package/dist/templates/tailwind/builder/index.js.map +1 -1
- package/dist/templates/tailwind/builderComponent/index.js.map +1 -1
- package/dist/templates/tailwind/builderComponents/index.js.map +1 -1
- package/dist/templates/tailwind/builderEditForm/index.js.map +1 -1
- package/dist/templates/tailwind/builderPlaceholder/index.js.map +1 -1
- package/dist/templates/tailwind/builderSidebar/index.js.map +1 -1
- package/dist/templates/tailwind/builderSidebarGroup/index.js.map +1 -1
- package/dist/templates/tailwind/builderWizard/index.js.map +1 -1
- package/dist/templates/tailwind/button/index.js.map +1 -1
- package/dist/templates/tailwind/bxIconsMapping.d.ts +1 -0
- package/dist/templates/tailwind/bxIconsMapping.js +74 -0
- package/dist/templates/tailwind/bxIconsMapping.js.map +1 -0
- package/dist/templates/tailwind/checkbox/index.js.map +1 -1
- package/dist/templates/tailwind/columns/index.js.map +1 -1
- package/dist/templates/tailwind/component/index.js.map +1 -1
- package/dist/templates/tailwind/componentModal/index.js.map +1 -1
- package/dist/templates/tailwind/components/index.js.map +1 -1
- package/dist/templates/tailwind/container/index.js.map +1 -1
- package/dist/templates/tailwind/cssClasses.js.map +1 -1
- package/dist/templates/tailwind/datagrid/index.js.map +1 -1
- package/dist/templates/tailwind/day/index.js.map +1 -1
- package/dist/templates/tailwind/dialog/index.js.map +1 -1
- package/dist/templates/tailwind/editgrid/index.js.map +1 -1
- package/dist/templates/tailwind/editgridTable/index.js.map +1 -1
- package/dist/templates/tailwind/errorsList/index.js.map +1 -1
- package/dist/templates/tailwind/field/index.js.map +1 -1
- package/dist/templates/tailwind/fieldset/index.js.map +1 -1
- package/dist/templates/tailwind/file/index.js.map +1 -1
- package/dist/templates/tailwind/html/index.js.map +1 -1
- package/dist/templates/tailwind/icon/index.js.map +1 -1
- package/dist/templates/tailwind/iconClass.d.ts +0 -1
- package/dist/templates/tailwind/iconClass.js +4 -54
- package/dist/templates/tailwind/iconClass.js.map +1 -1
- package/dist/templates/tailwind/index.d.ts +4 -1
- package/dist/templates/tailwind/index.js +109 -104
- package/dist/templates/tailwind/index.js.map +1 -1
- package/dist/templates/tailwind/input/index.js.map +1 -1
- package/dist/templates/tailwind/label/index.js.map +1 -1
- package/dist/templates/tailwind/loader/index.js.map +1 -1
- package/dist/templates/tailwind/loading/index.js.map +1 -1
- package/dist/templates/tailwind/lucideIconsMapping.d.ts +1 -0
- package/dist/templates/tailwind/lucideIconsMapping.js +76 -0
- package/dist/templates/tailwind/lucideIconsMapping.js.map +1 -0
- package/dist/templates/tailwind/map/index.js.map +1 -1
- package/dist/templates/tailwind/message/index.js.map +1 -1
- package/dist/templates/tailwind/modalPreview/index.js.map +1 -1
- package/dist/templates/tailwind/modaldialog/index.js.map +1 -1
- package/dist/templates/tailwind/modaledit/index.js.map +1 -1
- package/dist/templates/tailwind/multiValueRow/index.js.map +1 -1
- package/dist/templates/tailwind/multiValueTable/index.js.map +1 -1
- package/dist/templates/tailwind/multipleMasksInput/index.js.map +1 -1
- package/dist/templates/tailwind/panel/index.js.map +1 -1
- package/dist/templates/tailwind/pdf/index.js.map +1 -1
- package/dist/templates/tailwind/pdfBuilder/index.js.map +1 -1
- package/dist/templates/tailwind/pdfBuilderUpload/index.js.map +1 -1
- package/dist/templates/tailwind/radio/index.js.map +1 -1
- package/dist/templates/tailwind/resourceAdd/index.js.map +1 -1
- package/dist/templates/tailwind/select/index.js.map +1 -1
- package/dist/templates/tailwind/selectOption/index.js.map +1 -1
- package/dist/templates/tailwind/signature/index.js.map +1 -1
- package/dist/templates/tailwind/survey/index.js.map +1 -1
- package/dist/templates/tailwind/tab/index.js.map +1 -1
- package/dist/templates/tailwind/table/index.js.map +1 -1
- package/dist/templates/tailwind/tableComponents/index.js.map +1 -1
- package/dist/templates/tailwind/tree/index.js.map +1 -1
- package/dist/templates/tailwind/tree/partials/index.js.map +1 -1
- package/dist/templates/tailwind/webform/index.js.map +1 -1
- package/dist/templates/tailwind/well/index.js.map +1 -1
- package/dist/templates/tailwind/wizard/index.js.map +1 -1
- package/dist/templates/tailwind/wizardHeader/index.js.map +1 -1
- package/dist/templates/tailwind/wizardHeaderClassic/index.js.map +1 -1
- package/dist/templates/tailwind/wizardHeaderVertical/index.js.map +1 -1
- package/dist/templates/tailwind/wizardNav/index.js.map +1 -1
- package/package.json +12 -4
- package/readme.md +20 -42
- package/src/templates/tailwind/button/button.stories.jsx +19 -19
- package/src/templates/tailwind/bxIconsMapping.ts +70 -0
- package/src/templates/tailwind/iconClass.ts +11 -62
- package/src/templates/tailwind/index.ts +8 -3
- package/src/templates/tailwind/lucideIconsMapping.ts +72 -0
- package/styles/animations.css +341 -0
- package/styles/badge.css +4 -4
- package/styles/choices.css +1 -1
- package/styles/icon.css +33 -0
- package/styles/index.css +1 -0
- package/styles/react-select.css +16 -2
- package/styles/tables.css +24 -57
- package/styles/tabs.css +67 -49
- package/vite.config.mts +1 -1
- package/tsconfig.app.json +0 -11
- package/tsconfig.json +0 -16
- package/tsconfig.node.json +0 -13
|
@@ -0,0 +1,341 @@
|
|
|
1
|
+
@-webkit-keyframes spin {
|
|
2
|
+
0% {
|
|
3
|
+
-webkit-transform: rotate(0);
|
|
4
|
+
transform: rotate(0);
|
|
5
|
+
}
|
|
6
|
+
100% {
|
|
7
|
+
-webkit-transform: rotate(359deg);
|
|
8
|
+
transform: rotate(359deg);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
@keyframes spin {
|
|
13
|
+
0% {
|
|
14
|
+
-webkit-transform: rotate(0);
|
|
15
|
+
transform: rotate(0);
|
|
16
|
+
}
|
|
17
|
+
100% {
|
|
18
|
+
-webkit-transform: rotate(359deg);
|
|
19
|
+
transform: rotate(359deg);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
@-webkit-keyframes burst {
|
|
24
|
+
0% {
|
|
25
|
+
-webkit-transform: scale(1);
|
|
26
|
+
transform: scale(1);
|
|
27
|
+
|
|
28
|
+
opacity: 1;
|
|
29
|
+
}
|
|
30
|
+
90% {
|
|
31
|
+
-webkit-transform: scale(1.5);
|
|
32
|
+
transform: scale(1.5);
|
|
33
|
+
|
|
34
|
+
opacity: 0;
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
@keyframes burst {
|
|
39
|
+
0% {
|
|
40
|
+
-webkit-transform: scale(1);
|
|
41
|
+
transform: scale(1);
|
|
42
|
+
|
|
43
|
+
opacity: 1;
|
|
44
|
+
}
|
|
45
|
+
90% {
|
|
46
|
+
-webkit-transform: scale(1.5);
|
|
47
|
+
transform: scale(1.5);
|
|
48
|
+
|
|
49
|
+
opacity: 0;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
@-webkit-keyframes flashing {
|
|
54
|
+
0% {
|
|
55
|
+
opacity: 1;
|
|
56
|
+
}
|
|
57
|
+
45% {
|
|
58
|
+
opacity: 0;
|
|
59
|
+
}
|
|
60
|
+
90% {
|
|
61
|
+
opacity: 1;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
@keyframes flashing {
|
|
66
|
+
0% {
|
|
67
|
+
opacity: 1;
|
|
68
|
+
}
|
|
69
|
+
45% {
|
|
70
|
+
opacity: 0;
|
|
71
|
+
}
|
|
72
|
+
90% {
|
|
73
|
+
opacity: 1;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
@-webkit-keyframes fade-left {
|
|
78
|
+
0% {
|
|
79
|
+
-webkit-transform: translateX(0);
|
|
80
|
+
transform: translateX(0);
|
|
81
|
+
|
|
82
|
+
opacity: 1;
|
|
83
|
+
}
|
|
84
|
+
75% {
|
|
85
|
+
-webkit-transform: translateX(-20px);
|
|
86
|
+
transform: translateX(-20px);
|
|
87
|
+
|
|
88
|
+
opacity: 0;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
@keyframes fade-left {
|
|
93
|
+
0% {
|
|
94
|
+
-webkit-transform: translateX(0);
|
|
95
|
+
transform: translateX(0);
|
|
96
|
+
|
|
97
|
+
opacity: 1;
|
|
98
|
+
}
|
|
99
|
+
75% {
|
|
100
|
+
-webkit-transform: translateX(-20px);
|
|
101
|
+
transform: translateX(-20px);
|
|
102
|
+
|
|
103
|
+
opacity: 0;
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
@-webkit-keyframes fade-right {
|
|
108
|
+
0% {
|
|
109
|
+
-webkit-transform: translateX(0);
|
|
110
|
+
transform: translateX(0);
|
|
111
|
+
|
|
112
|
+
opacity: 1;
|
|
113
|
+
}
|
|
114
|
+
75% {
|
|
115
|
+
-webkit-transform: translateX(20px);
|
|
116
|
+
transform: translateX(20px);
|
|
117
|
+
|
|
118
|
+
opacity: 0;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
@keyframes fade-right {
|
|
123
|
+
0% {
|
|
124
|
+
-webkit-transform: translateX(0);
|
|
125
|
+
transform: translateX(0);
|
|
126
|
+
|
|
127
|
+
opacity: 1;
|
|
128
|
+
}
|
|
129
|
+
75% {
|
|
130
|
+
-webkit-transform: translateX(20px);
|
|
131
|
+
transform: translateX(20px);
|
|
132
|
+
|
|
133
|
+
opacity: 0;
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
@-webkit-keyframes fade-up {
|
|
138
|
+
0% {
|
|
139
|
+
-webkit-transform: translateY(0);
|
|
140
|
+
transform: translateY(0);
|
|
141
|
+
|
|
142
|
+
opacity: 1;
|
|
143
|
+
}
|
|
144
|
+
75% {
|
|
145
|
+
-webkit-transform: translateY(-20px);
|
|
146
|
+
transform: translateY(-20px);
|
|
147
|
+
|
|
148
|
+
opacity: 0;
|
|
149
|
+
}
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
@keyframes fade-up {
|
|
153
|
+
0% {
|
|
154
|
+
-webkit-transform: translateY(0);
|
|
155
|
+
transform: translateY(0);
|
|
156
|
+
|
|
157
|
+
opacity: 1;
|
|
158
|
+
}
|
|
159
|
+
75% {
|
|
160
|
+
-webkit-transform: translateY(-20px);
|
|
161
|
+
transform: translateY(-20px);
|
|
162
|
+
|
|
163
|
+
opacity: 0;
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
@-webkit-keyframes fade-down {
|
|
168
|
+
0% {
|
|
169
|
+
-webkit-transform: translateY(0);
|
|
170
|
+
transform: translateY(0);
|
|
171
|
+
|
|
172
|
+
opacity: 1;
|
|
173
|
+
}
|
|
174
|
+
75% {
|
|
175
|
+
-webkit-transform: translateY(20px);
|
|
176
|
+
transform: translateY(20px);
|
|
177
|
+
|
|
178
|
+
opacity: 0;
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
@keyframes fade-down {
|
|
183
|
+
0% {
|
|
184
|
+
-webkit-transform: translateY(0);
|
|
185
|
+
transform: translateY(0);
|
|
186
|
+
|
|
187
|
+
opacity: 1;
|
|
188
|
+
}
|
|
189
|
+
75% {
|
|
190
|
+
-webkit-transform: translateY(20px);
|
|
191
|
+
transform: translateY(20px);
|
|
192
|
+
|
|
193
|
+
opacity: 0;
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
@-webkit-keyframes tada {
|
|
198
|
+
from {
|
|
199
|
+
-webkit-transform: scale3d(1, 1, 1);
|
|
200
|
+
transform: scale3d(1, 1, 1);
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
10%,
|
|
204
|
+
20% {
|
|
205
|
+
-webkit-transform: scale3d(.95, .95, .95) rotate3d(0, 0, 1, -10deg);
|
|
206
|
+
transform: scale3d(.95, .95, .95) rotate3d(0, 0, 1, -10deg);
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
30%,
|
|
210
|
+
50%,
|
|
211
|
+
70%,
|
|
212
|
+
90% {
|
|
213
|
+
-webkit-transform: scale3d(1, 1, 1) rotate3d(0, 0, 1, 10deg);
|
|
214
|
+
transform: scale3d(1, 1, 1) rotate3d(0, 0, 1, 10deg);
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
40%,
|
|
218
|
+
60%,
|
|
219
|
+
80% {
|
|
220
|
+
-webkit-transform: scale3d(1, 1, 1) rotate3d(0, 0, 1, -10deg);
|
|
221
|
+
transform: scale3d(1, 1, 1) rotate3d(0, 0, 1, -10deg);
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
to {
|
|
225
|
+
-webkit-transform: scale3d(1, 1, 1);
|
|
226
|
+
transform: scale3d(1, 1, 1);
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
@keyframes tada {
|
|
231
|
+
from {
|
|
232
|
+
-webkit-transform: scale3d(1, 1, 1);
|
|
233
|
+
transform: scale3d(1, 1, 1);
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
10%,
|
|
237
|
+
20% {
|
|
238
|
+
-webkit-transform: scale3d(.95, .95, .95) rotate3d(0, 0, 1, -10deg);
|
|
239
|
+
transform: scale3d(.95, .95, .95) rotate3d(0, 0, 1, -10deg);
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
30%,
|
|
243
|
+
50%,
|
|
244
|
+
70%,
|
|
245
|
+
90% {
|
|
246
|
+
-webkit-transform: scale3d(1, 1, 1) rotate3d(0, 0, 1, 10deg);
|
|
247
|
+
transform: scale3d(1, 1, 1) rotate3d(0, 0, 1, 10deg);
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
40%,
|
|
251
|
+
60%,
|
|
252
|
+
80% {
|
|
253
|
+
-webkit-transform: rotate3d(0, 0, 1, -10deg);
|
|
254
|
+
transform: rotate3d(0, 0, 1, -10deg);
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
to {
|
|
258
|
+
-webkit-transform: scale3d(1, 1, 1);
|
|
259
|
+
transform: scale3d(1, 1, 1);
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
.animate-spin {
|
|
264
|
+
-webkit-animation: spin 2s linear infinite;
|
|
265
|
+
animation: spin 2s linear infinite;
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
.animate-spin-hover:hover {
|
|
269
|
+
-webkit-animation: spin 2s linear infinite;
|
|
270
|
+
animation: spin 2s linear infinite;
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
.animate-tada {
|
|
274
|
+
-webkit-animation: tada 1.5s ease infinite;
|
|
275
|
+
animation: tada 1.5s ease infinite;
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
.animate-tada-hover:hover {
|
|
279
|
+
-webkit-animation: tada 1.5s ease infinite;
|
|
280
|
+
animation: tada 1.5s ease infinite;
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
.animate-flashing {
|
|
284
|
+
-webkit-animation: flashing 1.5s infinite linear;
|
|
285
|
+
animation: flashing 1.5s infinite linear;
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
.animate-flashing-hover:hover {
|
|
289
|
+
-webkit-animation: flashing 1.5s infinite linear;
|
|
290
|
+
animation: flashing 1.5s infinite linear;
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
.animate-burst {
|
|
294
|
+
-webkit-animation: burst 1.5s infinite linear;
|
|
295
|
+
animation: burst 1.5s infinite linear;
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
.animate-burst-hover:hover {
|
|
299
|
+
-webkit-animation: burst 1.5s infinite linear;
|
|
300
|
+
animation: burst 1.5s infinite linear;
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
.animate-fade-up {
|
|
304
|
+
-webkit-animation: fade-up 1.5s infinite linear;
|
|
305
|
+
animation: fade-up 1.5s infinite linear;
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
.animate-fade-up-hover:hover {
|
|
309
|
+
-webkit-animation: fade-up 1.5s infinite linear;
|
|
310
|
+
animation: fade-up 1.5s infinite linear;
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
.animate-fade-down {
|
|
314
|
+
-webkit-animation: fade-down 1.5s infinite linear;
|
|
315
|
+
animation: fade-down 1.5s infinite linear;
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
.animate-fade-down-hover:hover {
|
|
319
|
+
-webkit-animation: fade-down 1.5s infinite linear;
|
|
320
|
+
animation: fade-down 1.5s infinite linear;
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
.animate-fade-left {
|
|
324
|
+
-webkit-animation: fade-left 1.5s infinite linear;
|
|
325
|
+
animation: fade-left 1.5s infinite linear;
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
.animate-fade-left-hover:hover {
|
|
329
|
+
-webkit-animation: fade-left 1.5s infinite linear;
|
|
330
|
+
animation: fade-left 1.5s infinite linear;
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
.animate-fade-right {
|
|
334
|
+
-webkit-animation: fade-right 1.5s infinite linear;
|
|
335
|
+
animation: fade-right 1.5s infinite linear;
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
.animate-fade-right-hover:hover {
|
|
339
|
+
-webkit-animation: fade-right 1.5s infinite linear;
|
|
340
|
+
animation: fade-right 1.5s infinite linear;
|
|
341
|
+
}
|
package/styles/badge.css
CHANGED
|
@@ -4,7 +4,7 @@ Requires one of the contextual, color modifier classes for `color` and
|
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
.badge {
|
|
7
|
-
@apply inline-flex
|
|
7
|
+
@apply inline-flex px-1.5 font-bold text-center whitespace-nowrap items-center rounded transition-colors;
|
|
8
8
|
font-size: 75%;
|
|
9
9
|
|
|
10
10
|
&:empty {
|
|
@@ -17,8 +17,8 @@ Requires one of the contextual, color modifier classes for `color` and
|
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
a .badge {
|
|
20
|
-
&:hover, &:focus {
|
|
21
|
-
@apply no-underline
|
|
20
|
+
&:hover, &:focus, &:active {
|
|
21
|
+
@apply no-underline text-white;
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
|
|
@@ -46,7 +46,7 @@ a .badge.bg-primary, .badge-hover.bg-primary {
|
|
|
46
46
|
|
|
47
47
|
a .badge.bg-secondary, .badge-hover.bg-secondary {
|
|
48
48
|
&:hover, &:focus {
|
|
49
|
-
@apply hover:text-white hover:bg-secondary-800 focus:bg-secondary-800 hover:border-secondary-800 focus:border-secondary-800
|
|
49
|
+
@apply hover:text-white hover:bg-secondary-800 focus:bg-secondary-800 hover:border-secondary-800 focus:border-secondary-800;
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
|
package/styles/choices.css
CHANGED
package/styles/icon.css
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
.wrapper-icon {
|
|
2
|
+
line-height: 1;
|
|
3
|
+
display: inline-block;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
[class^="icon-"], [class*=" icon-"] {
|
|
7
|
+
font-weight: normal;
|
|
8
|
+
font-style: normal;
|
|
9
|
+
font-variant: normal;
|
|
10
|
+
line-height: 1;
|
|
11
|
+
display: inline-block;
|
|
12
|
+
text-transform: none;
|
|
13
|
+
speak: none;
|
|
14
|
+
-webkit-font-smoothing: antialiased;
|
|
15
|
+
-moz-osx-font-smoothing: grayscale;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.bx-question-mark[ref="tooltip"],
|
|
19
|
+
.icon-circle-question-mark[ref="tooltip"] {
|
|
20
|
+
@apply rounded-full ml-2 text-xs relative;
|
|
21
|
+
top: 1px;
|
|
22
|
+
width: 14px;
|
|
23
|
+
height: 14px;
|
|
24
|
+
line-height: 14px;
|
|
25
|
+
text-align: center;
|
|
26
|
+
}
|
|
27
|
+
.icon-circle-question-mark[ref="tooltip"] {
|
|
28
|
+
@apply text-gray-400;
|
|
29
|
+
|
|
30
|
+
}
|
|
31
|
+
.bx-question-mark[ref="tooltip"]{
|
|
32
|
+
@apply bg-gray-400;
|
|
33
|
+
}
|
package/styles/index.css
CHANGED
package/styles/react-select.css
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
flex: 1;
|
|
5
5
|
|
|
6
6
|
.react-select__control {
|
|
7
|
-
@apply appearance-none bg-white leading-normal w-full rounded-md border-1 border-gray-300
|
|
7
|
+
@apply appearance-none bg-white leading-normal w-full rounded-md border-1 border-gray-300;
|
|
8
8
|
|
|
9
9
|
&--is-focused {
|
|
10
10
|
@apply outline-none border-primary-300 ring ring-primary-50 ring-opacity-50;
|
|
@@ -58,9 +58,16 @@
|
|
|
58
58
|
.react-select__control {
|
|
59
59
|
min-height: 28px;
|
|
60
60
|
}
|
|
61
|
+
|
|
62
|
+
.react-select__value-container {
|
|
63
|
+
padding-top: 0;
|
|
64
|
+
padding-bottom: 0;
|
|
65
|
+
}
|
|
66
|
+
|
|
61
67
|
.react-select__indicator {
|
|
62
68
|
padding: 3px;
|
|
63
69
|
}
|
|
70
|
+
|
|
64
71
|
.react-select__multi-value {
|
|
65
72
|
&__label {
|
|
66
73
|
@apply text-white text-xs py-0.5 px-1;
|
|
@@ -77,9 +84,16 @@
|
|
|
77
84
|
}
|
|
78
85
|
|
|
79
86
|
.react-select__input-container {
|
|
80
|
-
margin-top:1px;
|
|
87
|
+
margin-top: 1px;
|
|
81
88
|
margin-bottom: 1px;
|
|
82
89
|
}
|
|
90
|
+
|
|
91
|
+
.react-select__placeholder {
|
|
92
|
+
@apply text-gray-500;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.react-select__option,
|
|
96
|
+
.react-select__placeholder,
|
|
83
97
|
.react-select__single-value {
|
|
84
98
|
@apply text-sm;
|
|
85
99
|
}
|
package/styles/tables.css
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
th,
|
|
7
7
|
td {
|
|
8
|
-
@apply p-3 align-top text-left border-t-1 border-solid border-gray-300;
|
|
8
|
+
@apply p-3 align-top text-left border-t-1 border-solid border-gray-300 dark:border-gray-700;
|
|
9
9
|
|
|
10
10
|
&.align-middle {
|
|
11
11
|
vertical-align: middle;
|
|
@@ -17,23 +17,30 @@
|
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
thead th {
|
|
20
|
-
@apply border-b-2 border-solid border-gray-300;
|
|
20
|
+
@apply border-b-2 border-solid border-gray-300 dark:border-gray-700;
|
|
21
21
|
border-style: solid;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
tbody + tbody {
|
|
25
|
-
@apply border-t-2 border-solid border-gray-300;
|
|
25
|
+
@apply border-t-2 border-solid border-gray-300 dark:border-gray-700;
|
|
26
26
|
border-style: solid;
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
.table-cell-header {
|
|
31
|
+
@apply flex flex-col space-y-2;
|
|
31
32
|
&__label {
|
|
32
|
-
@apply flex;
|
|
33
|
+
@apply flex items-center justify-center;
|
|
34
|
+
|
|
33
35
|
> span:first-child {
|
|
34
36
|
@apply flex-1;
|
|
35
37
|
}
|
|
36
38
|
}
|
|
39
|
+
|
|
40
|
+
&__sort {
|
|
41
|
+
@apply flex items-center justify-center;
|
|
42
|
+
}
|
|
43
|
+
|
|
37
44
|
&__filter {
|
|
38
45
|
@apply mt-1;
|
|
39
46
|
}
|
|
@@ -51,11 +58,11 @@
|
|
|
51
58
|
/* Border versions - Add or remove borders all around the table and between all the columns. */
|
|
52
59
|
|
|
53
60
|
.table-bordered {
|
|
54
|
-
@apply border-1 border-solid border-gray-300;
|
|
61
|
+
@apply border-1 border-solid border-gray-300 dark:border-gray-700;
|
|
55
62
|
|
|
56
63
|
th,
|
|
57
64
|
td {
|
|
58
|
-
@apply border-1 border-solid border-gray-300;
|
|
65
|
+
@apply border-1 border-solid border-gray-300 dark:border-gray-700;
|
|
59
66
|
}
|
|
60
67
|
|
|
61
68
|
thead {
|
|
@@ -79,7 +86,7 @@
|
|
|
79
86
|
|
|
80
87
|
.table-striped {
|
|
81
88
|
tbody tr:nth-of-type(odd) {
|
|
82
|
-
@apply bg-gray-100;
|
|
89
|
+
@apply bg-gray-100 dark:bg-gray-800;
|
|
83
90
|
}
|
|
84
91
|
}
|
|
85
92
|
|
|
@@ -87,69 +94,29 @@
|
|
|
87
94
|
|
|
88
95
|
.table-hover {
|
|
89
96
|
tbody tr {
|
|
90
|
-
@apply hover:text-gray-900 hover:bg-gray-200;
|
|
97
|
+
@apply hover:text-gray-900 hover:bg-gray-200 dark:hover:bg-gray-700 dark:hover:text-gray-100;
|
|
91
98
|
}
|
|
92
99
|
}
|
|
93
100
|
|
|
94
101
|
.table-group {
|
|
95
|
-
@apply border-1 border-gray-300;
|
|
102
|
+
@apply border-1 border-gray-300 dark:border-gray-700;
|
|
103
|
+
|
|
104
|
+
&.border-top-0 {
|
|
105
|
+
@apply border-t-0;
|
|
106
|
+
}
|
|
107
|
+
|
|
96
108
|
.table {
|
|
97
109
|
@apply border-t-0 mb-0;
|
|
98
110
|
thead th {
|
|
99
111
|
@apply border-t-0;
|
|
100
112
|
}
|
|
101
113
|
}
|
|
114
|
+
|
|
102
115
|
.pagination-group {
|
|
103
|
-
@apply border-t-1 border-gray-300 p-3;
|
|
116
|
+
@apply border-t-1 border-gray-300 dark:border-gray-700 p-3;
|
|
104
117
|
}
|
|
105
118
|
}
|
|
106
|
-
/*
|
|
107
|
-
// Dark styles
|
|
108
|
-
//
|
|
109
|
-
// Same table markup, but inverted color scheme: dark background and light text.
|
|
110
|
-
|
|
111
|
-
// stylelint-disable-next-line no-duplicate-selectors
|
|
112
|
-
//.table {
|
|
113
|
-
// .thead-dark {
|
|
114
|
-
// th {
|
|
115
|
-
// color: $table-dark-color;
|
|
116
|
-
// background-color: $table-dark-bg;
|
|
117
|
-
// border-color: $table-dark-border-color;
|
|
118
|
-
// }
|
|
119
|
-
// }
|
|
120
|
-
//
|
|
121
|
-
// .thead-light {
|
|
122
|
-
// th {
|
|
123
|
-
// color: $table-head-color;
|
|
124
|
-
// background-color: $table-head-bg;
|
|
125
|
-
// border-color: $table-border-color;
|
|
126
|
-
// }
|
|
127
|
-
// }
|
|
128
|
-
//}*/
|
|
129
|
-
/*
|
|
130
|
-
// Responsive tables
|
|
131
|
-
//
|
|
132
|
-
// Generate series of `.table-responsive-*` classes for configuring the screen
|
|
133
|
-
// size of where your table will overflow.
|
|
134
119
|
|
|
135
120
|
.table-responsive {
|
|
136
|
-
@
|
|
137
|
-
$next: breakpoint-next($breakpoint, $grid-breakpoints);
|
|
138
|
-
$infix: breakpoint-infix($next, $grid-breakpoints);
|
|
139
|
-
|
|
140
|
-
&#{$infix} {
|
|
141
|
-
@include media-breakpoint-down($breakpoint) {
|
|
142
|
-
display: block;
|
|
143
|
-
width: 100%;
|
|
144
|
-
overflow-x: auto;
|
|
145
|
-
-webkit-overflow-scrolling: touch;
|
|
146
|
-
|
|
147
|
-
// Prevent double border on horizontal scroll due to use of `display: block;`
|
|
148
|
-
> .table-bordered {
|
|
149
|
-
border: 0;
|
|
150
|
-
}
|
|
151
|
-
}
|
|
152
|
-
}
|
|
153
|
-
}
|
|
121
|
+
@apply block w-full overflow-x-auto;
|
|
154
122
|
}
|
|
155
|
-
*/
|