@uxf/data-grid 10.0.0-beta.8 → 10.0.0-beta.81
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/data-grid.js +16 -24
- package/data-grid.stories.js +10 -9
- package/hooks/use-rdg-visuals.d.ts +18 -0
- package/hooks/use-rdg-visuals.js +47 -0
- package/hooks/useColumns.js +2 -2
- package/index.d.ts +1 -1
- package/index.js +1 -1
- package/package.json +12 -10
- package/store/actions.d.ts +3 -3
- package/store/reducer.d.ts +1 -1
- package/tailwindui/body-cell/body-cell-boolean.js +1 -1
- package/tailwindui/body-cell/body-cell-date.js +1 -1
- package/tailwindui/body-cell/body-cell-datetime.js +1 -1
- package/tailwindui/body-cell/body-cell-email.js +1 -1
- package/tailwindui/body-cell/body-cell-phone.js +1 -1
- package/tailwindui/body-cell/body-cell-url.js +1 -1
- package/tailwindui/body-cell/index.js +3 -3
- package/tailwindui/components/action-cell-base.js +5 -3
- package/tailwindui/components/drawer.js +17 -10
- package/tailwindui/components/no-rows-fallback.js +1 -1
- package/tailwindui/components/pagination-rows-per-page-select.js +1 -1
- package/tailwindui/components/select-row-checkbox.js +5 -6
- package/tailwindui/components/selected-rows-toolbar.js +1 -1
- package/tailwindui/components/toolbar-control.js +27 -9
- package/tailwindui/components/toolbar-customs.js +1 -1
- package/tailwindui/components/toolbar-tabs.js +3 -3
- package/tailwindui/data-grid.d.ts +1 -1
- package/tailwindui/data-grid.js +1 -1
- package/tailwindui/filter-handler/bool-filter.js +1 -1
- package/tailwindui/filter-handler/boolean-filter.js +3 -3
- package/tailwindui/filter-handler/index.js +2 -1
- package/tailwindui/filter-handler/interval-filter.js +1 -1
- package/tailwindui/filter-handler/select-filter.js +1 -1
- package/tailwindui/filter-handler/text-filter.js +1 -1
- package/tailwindui/index.d.ts +1 -1
- package/tailwindui/index.js +1 -1
- package/tailwindui/styles.css +371 -131
- package/tailwindui/ui.js +9 -9
- package/types/api.d.ts +2 -2
- package/types/components.d.ts +9 -8
- package/types/core.d.ts +1 -0
- package/types/data-grid-props.d.ts +5 -4
- package/types/index.d.ts +3 -3
- package/types/index.js +3 -3
- package/types/schema.d.ts +5 -2
- package/types/schema.js +6 -0
- package/types/state.d.ts +2 -2
- package/types/ui-components.d.ts +1 -1
- package/utils.d.ts +2 -2
package/tailwindui/styles.css
CHANGED
|
@@ -1,86 +1,179 @@
|
|
|
1
|
+
@import url("react-data-grid/lib/styles.css");
|
|
2
|
+
|
|
3
|
+
@layer rdg.Root {
|
|
4
|
+
.uxf-data-grid__table {
|
|
5
|
+
--rdg-color-scheme: light;
|
|
6
|
+
--rdg-color: theme("colors.lightHigh");
|
|
7
|
+
--rdg-border-color: theme("colors.lightBorder");
|
|
8
|
+
--rdg-summary-border-color: theme("colors.lightBorder");
|
|
9
|
+
--rdg-background-color: theme("colors.white");
|
|
10
|
+
--rdg-header-background-color: theme("colors.gray.50");
|
|
11
|
+
--rdg-row-hover-background-color: theme("colors.gray.50");
|
|
12
|
+
--rdg-row-selected-background-color: theme("colors.gray.100/.75");
|
|
13
|
+
--rdg-row-selected-hover-background-color: theme("colors.gray.200/.75");
|
|
14
|
+
--rdg-selection-color: theme("colors.lightBorder");
|
|
15
|
+
--rdg-font-size: 14px;
|
|
16
|
+
|
|
17
|
+
:root .dark & {
|
|
18
|
+
--rdg-color-scheme: dark;
|
|
19
|
+
--rdg-color: theme("colors.darkHigh");
|
|
20
|
+
--rdg-border-color: theme("colors.darkBorder");
|
|
21
|
+
--rdg-summary-border-color: theme("colors.darkBorder");
|
|
22
|
+
--rdg-background-color: theme("colors.gray.950");
|
|
23
|
+
--rdg-header-background-color: theme("colors.gray.900");
|
|
24
|
+
--rdg-row-hover-background-color: theme("colors.gray.950");
|
|
25
|
+
--rdg-row-selected-background-color: theme("colors.gray.900/.75");
|
|
26
|
+
--rdg-row-selected-hover-background-color: theme("colors.gray.800/.75");
|
|
27
|
+
--rdg-selection-color: theme("colors.darkBorder");
|
|
28
|
+
--rdg-font-size: 14px;
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
1
33
|
.uxf-data-grid {
|
|
2
|
-
|
|
34
|
+
border: 1px solid var(--rdg-border-color);
|
|
35
|
+
border-radius: theme("borderRadius.DEFAULT");
|
|
3
36
|
|
|
4
37
|
&.no-border {
|
|
5
|
-
|
|
38
|
+
border-style: none;
|
|
6
39
|
}
|
|
7
40
|
|
|
8
41
|
&__action-cell {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
:root .dark & {
|
|
14
|
-
border-inline-start: 1px solid theme("colors.gray.700");
|
|
15
|
-
}
|
|
42
|
+
background-color: var(--rdg-background-color);
|
|
43
|
+
border-inline-start: 1px solid var(--rdg-border-color);
|
|
44
|
+
position: sticky;
|
|
45
|
+
right: 0;
|
|
16
46
|
}
|
|
17
47
|
|
|
18
48
|
&__action-cell-wrapper {
|
|
19
|
-
@apply
|
|
49
|
+
@apply space-x-2;
|
|
50
|
+
|
|
51
|
+
align-items: center;
|
|
52
|
+
display: flex;
|
|
53
|
+
height: 100%;
|
|
54
|
+
justify-content: center;
|
|
55
|
+
text-align: center;
|
|
56
|
+
width: 100%;
|
|
20
57
|
|
|
21
58
|
.uxf-icon {
|
|
22
|
-
|
|
59
|
+
color: theme("colors.lightMedium");
|
|
60
|
+
|
|
61
|
+
:root .dark & {
|
|
62
|
+
color: theme("colors.darkMedium");
|
|
63
|
+
}
|
|
23
64
|
}
|
|
24
65
|
}
|
|
25
66
|
|
|
26
67
|
&__body-cell {
|
|
27
68
|
&--boolean {
|
|
28
|
-
|
|
69
|
+
align-items: center;
|
|
70
|
+
display: flex;
|
|
71
|
+
height: 100%;
|
|
72
|
+
width: 100%;
|
|
29
73
|
}
|
|
30
74
|
}
|
|
31
75
|
|
|
32
76
|
&__drawer {
|
|
33
|
-
@apply
|
|
77
|
+
@apply ease-in-out;
|
|
78
|
+
|
|
79
|
+
background-color: theme("colors.gray.900/.25");
|
|
80
|
+
inset: 0;
|
|
81
|
+
overflow: hidden;
|
|
82
|
+
position: fixed;
|
|
83
|
+
z-index: theme("zIndex.modal");
|
|
84
|
+
|
|
85
|
+
:root .dark & {
|
|
86
|
+
background-color: theme("colors.gray.900/.75");
|
|
87
|
+
}
|
|
34
88
|
|
|
35
89
|
&--open {
|
|
36
|
-
@apply transition-opacity
|
|
90
|
+
@apply transition-opacity duration-500;
|
|
91
|
+
|
|
92
|
+
opacity: 100;
|
|
93
|
+
transform: translateX(0);
|
|
37
94
|
}
|
|
38
95
|
|
|
39
96
|
&--closed {
|
|
40
|
-
@apply transition-all delay-500
|
|
97
|
+
@apply transition-all delay-500;
|
|
98
|
+
|
|
99
|
+
opacity: 0;
|
|
100
|
+
transform: translateX(100%);
|
|
41
101
|
}
|
|
42
102
|
|
|
43
103
|
&-body-wrapper {
|
|
44
|
-
@apply
|
|
104
|
+
@apply transition-all duration-500 ease-in-out;
|
|
105
|
+
|
|
106
|
+
background-color: theme("colors.white");
|
|
107
|
+
box-shadow: theme("boxShadow.xl");
|
|
108
|
+
height: 100%;
|
|
109
|
+
max-width: theme("maxWidth.sm");
|
|
110
|
+
position: absolute;
|
|
111
|
+
right: 0;
|
|
112
|
+
transform: translateX(100%);
|
|
113
|
+
width: theme("width.11/12");
|
|
45
114
|
|
|
46
115
|
&--open {
|
|
47
|
-
|
|
116
|
+
transform: translateX(0);
|
|
48
117
|
}
|
|
49
118
|
}
|
|
50
119
|
|
|
51
120
|
&-body {
|
|
52
|
-
|
|
121
|
+
display: flex;
|
|
122
|
+
flex-direction: column;
|
|
123
|
+
height: 100%;
|
|
124
|
+
max-width: theme("maxWidth.sm");
|
|
125
|
+
overflow-y: scroll;
|
|
126
|
+
padding-bottom: theme("spacing.10");
|
|
127
|
+
position: relative;
|
|
128
|
+
width: 100%;
|
|
129
|
+
|
|
130
|
+
:root .dark & {
|
|
131
|
+
background-color: theme("colors.gray.950");
|
|
132
|
+
color: theme("colors.gray.100");
|
|
133
|
+
}
|
|
53
134
|
}
|
|
54
135
|
|
|
55
136
|
&-close-button {
|
|
56
|
-
|
|
137
|
+
margin-left: auto;
|
|
138
|
+
margin-right: theme("spacing.4");
|
|
139
|
+
margin-top: theme("spacing.4") !important;
|
|
57
140
|
}
|
|
58
141
|
|
|
59
142
|
&-header {
|
|
60
|
-
|
|
143
|
+
font-weight: theme("fontWeight.bold");
|
|
144
|
+
padding: theme("spacing.8") theme("spacing.4") theme("spacing.4");
|
|
61
145
|
}
|
|
62
146
|
|
|
63
147
|
&-content {
|
|
64
|
-
|
|
148
|
+
padding: theme("spacing.4");
|
|
65
149
|
}
|
|
66
150
|
|
|
67
151
|
&-backdrop {
|
|
68
|
-
|
|
152
|
+
cursor: pointer;
|
|
153
|
+
height: 100%;
|
|
154
|
+
width: 100vw;
|
|
69
155
|
}
|
|
70
156
|
}
|
|
71
157
|
|
|
72
158
|
&__fallback {
|
|
159
|
+
align-items: center;
|
|
160
|
+
color: theme("colors.gray.600"); /* ?? */
|
|
161
|
+
display: flex;
|
|
73
162
|
grid-column: 1/-1;
|
|
74
|
-
|
|
75
|
-
|
|
163
|
+
justify-content: center;
|
|
164
|
+
text-align: center;
|
|
76
165
|
}
|
|
77
166
|
|
|
78
167
|
&__filter {
|
|
79
168
|
&--interval {
|
|
80
|
-
|
|
169
|
+
display: grid;
|
|
170
|
+
gap: theme("spacing.4");
|
|
171
|
+
grid-template-columns: 1fr min-content 1fr;
|
|
81
172
|
|
|
82
173
|
.uxf-data-grid__filter-gap {
|
|
83
|
-
|
|
174
|
+
align-items: center;
|
|
175
|
+
display: flex;
|
|
176
|
+
padding-top: theme("spacing.5");
|
|
84
177
|
}
|
|
85
178
|
}
|
|
86
179
|
}
|
|
@@ -90,249 +183,396 @@
|
|
|
90
183
|
}
|
|
91
184
|
|
|
92
185
|
&__filter-list {
|
|
93
|
-
@apply
|
|
186
|
+
@apply space-x-2;
|
|
187
|
+
|
|
188
|
+
padding: theme("spacing.2");
|
|
94
189
|
}
|
|
95
190
|
|
|
96
191
|
&__footer {
|
|
97
|
-
|
|
192
|
+
align-items: center;
|
|
193
|
+
display: flex;
|
|
194
|
+
flex-wrap: wrap;
|
|
195
|
+
gap: theme("spacing.4");
|
|
196
|
+
justify-content: flex-end;
|
|
197
|
+
padding: theme("spacing.2");
|
|
98
198
|
|
|
99
199
|
&.no-border {
|
|
100
|
-
|
|
200
|
+
padding-inline: 0;
|
|
101
201
|
}
|
|
102
202
|
}
|
|
103
203
|
|
|
104
204
|
&__linear-progress {
|
|
105
|
-
|
|
106
|
-
|
|
205
|
+
border-radius: 20px;
|
|
206
|
+
height: 3px;
|
|
107
207
|
left: 0;
|
|
108
|
-
right: 0;
|
|
109
208
|
overflow: hidden;
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
-
|
|
113
|
-
border-radius: 20px;
|
|
209
|
+
position: absolute;
|
|
210
|
+
right: 0;
|
|
211
|
+
z-index: 1;
|
|
114
212
|
|
|
115
213
|
&.is-loading::before {
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
214
|
+
animation: datagridlineanim 1s linear infinite;
|
|
215
|
+
background-color: theme("colors.dataGridSecondary");
|
|
216
|
+
border-radius: inherit;
|
|
217
|
+
content: "";
|
|
119
218
|
height: 3px;
|
|
219
|
+
left: -50%;
|
|
220
|
+
position: absolute;
|
|
120
221
|
width: 40%;
|
|
121
|
-
background-color: theme("colors.dataGridSecondary");
|
|
122
|
-
-webkit-animation: datagridlineanim 1s linear infinite;
|
|
123
|
-
-moz-animation: datagridlineanim 1s linear infinite;
|
|
124
|
-
animation: datagridlineanim 1s linear infinite;
|
|
125
|
-
-webkit-border-radius: 20px;
|
|
126
|
-
-moz-border-radius: 20px;
|
|
127
|
-
border-radius: 20px;
|
|
128
222
|
}
|
|
129
223
|
}
|
|
130
224
|
|
|
131
225
|
&__linear-progress-wrapper {
|
|
132
|
-
|
|
226
|
+
position: relative;
|
|
133
227
|
}
|
|
134
228
|
|
|
135
229
|
&__pagination-counts {
|
|
136
|
-
@apply text-sm
|
|
230
|
+
@apply text-sm;
|
|
231
|
+
|
|
232
|
+
color: theme("colors.lightLow");
|
|
137
233
|
}
|
|
138
234
|
|
|
139
235
|
&__plugin-fulltext {
|
|
140
|
-
|
|
236
|
+
color: theme("colors.gray.400");
|
|
237
|
+
margin: theme("spacing.2") 0;
|
|
238
|
+
width: 100%;
|
|
239
|
+
|
|
240
|
+
@screen sm {
|
|
241
|
+
width: auto;
|
|
242
|
+
}
|
|
141
243
|
|
|
142
244
|
.uxf-icon {
|
|
143
|
-
|
|
245
|
+
color: theme("colors.lightMedium");
|
|
246
|
+
|
|
247
|
+
:root .dark & {
|
|
248
|
+
color: theme("colors.darkMedium");
|
|
249
|
+
}
|
|
144
250
|
}
|
|
145
251
|
}
|
|
146
252
|
|
|
147
|
-
&__plugin-
|
|
148
|
-
|
|
253
|
+
&__plugin-button {
|
|
254
|
+
flex-shrink: 0;
|
|
255
|
+
margin: theme("spacing.2") 0;
|
|
149
256
|
|
|
150
257
|
.uxf-icon {
|
|
151
|
-
|
|
258
|
+
color: theme("colors.lightMedium");
|
|
259
|
+
|
|
260
|
+
:root .dark & {
|
|
261
|
+
color: theme("colors.darkMedium");
|
|
262
|
+
}
|
|
152
263
|
}
|
|
153
264
|
}
|
|
154
265
|
|
|
155
266
|
&__rows-per-page {
|
|
156
|
-
@apply
|
|
267
|
+
@apply text-sm;
|
|
268
|
+
|
|
269
|
+
align-items: center;
|
|
270
|
+
color: theme("colors.lightLow");
|
|
271
|
+
display: flex;
|
|
272
|
+
flex-wrap: wrap;
|
|
273
|
+
gap: theme("spacing.2");
|
|
157
274
|
|
|
158
275
|
.uxf-select {
|
|
159
|
-
|
|
276
|
+
width: theme("width.28");
|
|
160
277
|
}
|
|
161
278
|
}
|
|
162
279
|
|
|
163
280
|
&__select-row-checkbox-wrapper {
|
|
164
|
-
|
|
281
|
+
align-items: center;
|
|
282
|
+
color: theme("colors.white");
|
|
283
|
+
display: flex;
|
|
284
|
+
height: 100%;
|
|
285
|
+
justify-content: center;
|
|
286
|
+
width: 100%;
|
|
165
287
|
}
|
|
166
288
|
|
|
167
289
|
&__selected-rows-toolbar-wrapper {
|
|
168
|
-
|
|
290
|
+
align-items: center;
|
|
291
|
+
bottom: theme("spacing.8");
|
|
292
|
+
display: flex;
|
|
293
|
+
justify-content: center;
|
|
294
|
+
left: 0;
|
|
295
|
+
position: fixed;
|
|
296
|
+
right: 0;
|
|
169
297
|
}
|
|
170
298
|
|
|
171
299
|
&__selected-rows-toolbar {
|
|
172
|
-
@apply text-
|
|
300
|
+
@apply text-sm drop-shadow-xl;
|
|
301
|
+
|
|
302
|
+
align-items: center;
|
|
303
|
+
background-color: theme("colors.dataGridPrimary");
|
|
304
|
+
border: 1px solid theme("colors.lightBorder");
|
|
305
|
+
border-radius: 999px;
|
|
306
|
+
color: theme("colors.white");
|
|
307
|
+
display: flex;
|
|
308
|
+
justify-content: center;
|
|
309
|
+
padding: theme("spacing.2") theme("spacing.6");
|
|
310
|
+
|
|
311
|
+
:root .dark & {
|
|
312
|
+
border-color: theme("colors.darkBorder");
|
|
313
|
+
}
|
|
173
314
|
}
|
|
174
315
|
|
|
175
316
|
&__selected-rows-toolbar-actions {
|
|
176
|
-
@apply
|
|
317
|
+
@apply space-x-2;
|
|
318
|
+
|
|
319
|
+
padding-left: theme("spacing.4");
|
|
177
320
|
}
|
|
178
321
|
|
|
179
322
|
&__table {
|
|
180
|
-
|
|
323
|
+
overflow-y: hidden;
|
|
324
|
+
|
|
325
|
+
&::-webkit-scrollbar {
|
|
326
|
+
height: 8px;
|
|
327
|
+
width: 8px;
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
&::-webkit-scrollbar-track {
|
|
331
|
+
background-color: transparent;
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
&::-webkit-scrollbar-thumb,
|
|
335
|
+
&::-webkit-scrollbar-thumb:hover {
|
|
336
|
+
background-color: theme("colors.lightLow");
|
|
337
|
+
border-radius: 999px;
|
|
338
|
+
|
|
339
|
+
:root .dark & {
|
|
340
|
+
background-color: theme("colors.darkLow");
|
|
341
|
+
}
|
|
342
|
+
}
|
|
181
343
|
}
|
|
182
344
|
|
|
183
345
|
&__toolbar {
|
|
184
|
-
|
|
346
|
+
align-items: center;
|
|
347
|
+
border-bottom: 1px solid theme("colors.lightBorder");
|
|
348
|
+
display: flex;
|
|
349
|
+
flex-wrap: wrap;
|
|
350
|
+
gap: theme("spacing.2");
|
|
351
|
+
justify-content: flex-end;
|
|
352
|
+
padding: theme("spacing.2");
|
|
353
|
+
|
|
354
|
+
:root .dark & {
|
|
355
|
+
border-bottom-color: theme("colors.darkBorder");
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
@screen md {
|
|
359
|
+
padding-block: 0;
|
|
360
|
+
padding-left: 0;
|
|
361
|
+
}
|
|
185
362
|
}
|
|
186
363
|
|
|
187
364
|
&__toolbar-tab {
|
|
188
|
-
@apply
|
|
365
|
+
@apply text-sm;
|
|
366
|
+
|
|
367
|
+
align-items: center;
|
|
368
|
+
border-bottom: 2px solid transparent;
|
|
369
|
+
color: theme("colors.lightMedium");
|
|
370
|
+
display: inline-flex;
|
|
371
|
+
font-weight: theme("fontWeight.medium");
|
|
372
|
+
padding: theme("spacing.4");
|
|
373
|
+
white-space: nowrap;
|
|
374
|
+
|
|
375
|
+
:root .dark & {
|
|
376
|
+
color: theme("colors.darkMedium");
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
&:hover {
|
|
380
|
+
color: theme("colors.lightHigh");
|
|
381
|
+
|
|
382
|
+
:root .dark & {
|
|
383
|
+
color: theme("colors.darkHigh");
|
|
384
|
+
}
|
|
385
|
+
}
|
|
189
386
|
|
|
190
387
|
&.is-active {
|
|
191
|
-
|
|
388
|
+
border-bottom-color: currentcolor;
|
|
389
|
+
color: theme("colors.dataGridPrimary");
|
|
192
390
|
}
|
|
193
391
|
}
|
|
194
392
|
|
|
195
393
|
&__toolbar-tabs {
|
|
196
|
-
|
|
394
|
+
align-self: stretch;
|
|
395
|
+
display: flex;
|
|
396
|
+
flex: 1;
|
|
197
397
|
|
|
198
398
|
&-nav {
|
|
199
399
|
&--desktop {
|
|
200
|
-
@apply
|
|
400
|
+
@apply space-x-4;
|
|
201
401
|
|
|
202
|
-
|
|
203
|
-
|
|
402
|
+
display: none;
|
|
403
|
+
margin-bottom: -1px;
|
|
404
|
+
|
|
405
|
+
@screen md {
|
|
406
|
+
display: flex;
|
|
204
407
|
}
|
|
205
408
|
}
|
|
206
409
|
|
|
207
410
|
&--mobile {
|
|
208
|
-
|
|
411
|
+
align-items: center;
|
|
412
|
+
display: flex;
|
|
413
|
+
width: max-content;
|
|
414
|
+
z-index: theme("zIndex.10");
|
|
209
415
|
|
|
210
|
-
@
|
|
211
|
-
|
|
416
|
+
@screen md {
|
|
417
|
+
display: none;
|
|
212
418
|
}
|
|
213
419
|
|
|
214
420
|
.uxf-data-grid__toolbar-tabs-button {
|
|
215
|
-
|
|
421
|
+
align-items: center;
|
|
422
|
+
display: flex;
|
|
423
|
+
margin: 0;
|
|
216
424
|
|
|
217
425
|
&-icon {
|
|
218
|
-
|
|
426
|
+
color: theme("colors.lightHigh");
|
|
427
|
+
margin-left: theme("spacing.1");
|
|
428
|
+
|
|
429
|
+
:root .dark & {
|
|
430
|
+
color: theme("colors.darkHigh");
|
|
431
|
+
}
|
|
219
432
|
}
|
|
220
433
|
}
|
|
221
434
|
}
|
|
222
435
|
|
|
223
436
|
&-text {
|
|
224
|
-
|
|
437
|
+
color: theme("colors.lightHigh");
|
|
438
|
+
|
|
439
|
+
:root .dark & {
|
|
440
|
+
color: theme("colors.darkHigh");
|
|
441
|
+
}
|
|
225
442
|
}
|
|
226
443
|
}
|
|
227
444
|
|
|
228
445
|
&-modal-content {
|
|
229
|
-
@apply
|
|
446
|
+
@apply divide-lightBorder dark:divide-darkBorder divide-y;
|
|
447
|
+
|
|
448
|
+
align-items: flex-start;
|
|
449
|
+
display: flex;
|
|
450
|
+
flex-direction: column;
|
|
451
|
+
padding-bottom: theme("spacing.4");
|
|
452
|
+
padding-top: theme("spacing.1");
|
|
453
|
+
text-align: left;
|
|
230
454
|
}
|
|
231
455
|
|
|
232
456
|
&-modal-button {
|
|
233
|
-
|
|
457
|
+
border-radius: 0;
|
|
458
|
+
justify-content: flex-start;
|
|
459
|
+
width: 100%;
|
|
234
460
|
}
|
|
235
461
|
|
|
236
462
|
&-modal-button-text {
|
|
237
|
-
|
|
463
|
+
color: theme("colors.lightHigh");
|
|
464
|
+
|
|
465
|
+
:root .dark & {
|
|
466
|
+
color: theme("colors.darkHigh");
|
|
467
|
+
}
|
|
238
468
|
}
|
|
239
469
|
|
|
240
470
|
&-modal-active-tab-icon {
|
|
241
|
-
|
|
471
|
+
color: theme("colors.lightMedium");
|
|
472
|
+
margin-right: theme("spacing.3");
|
|
473
|
+
|
|
474
|
+
:root .dark & {
|
|
475
|
+
color: theme("colors.darkMedium");
|
|
476
|
+
}
|
|
242
477
|
}
|
|
243
478
|
}
|
|
244
479
|
|
|
245
480
|
&__toolbar-control {
|
|
246
|
-
|
|
481
|
+
align-items: center;
|
|
482
|
+
display: flex;
|
|
483
|
+
flex-direction: row;
|
|
484
|
+
gap: theme("spacing.2");
|
|
485
|
+
justify-content: space-between;
|
|
486
|
+
order: 3;
|
|
487
|
+
width: 100%;
|
|
488
|
+
|
|
489
|
+
@screen xs {
|
|
490
|
+
order: 2;
|
|
491
|
+
width: auto;
|
|
492
|
+
}
|
|
247
493
|
}
|
|
248
494
|
|
|
249
495
|
&__toolbar-customs {
|
|
250
|
-
|
|
496
|
+
align-items: center;
|
|
497
|
+
display: flex;
|
|
498
|
+
flex-direction: row;
|
|
499
|
+
gap: theme("spacing.2");
|
|
500
|
+
order: 2;
|
|
501
|
+
|
|
502
|
+
@screen xs {
|
|
503
|
+
order: 2;
|
|
504
|
+
}
|
|
505
|
+
|
|
506
|
+
@screen md {
|
|
507
|
+
margin-block: theme("spacing.2");
|
|
508
|
+
}
|
|
251
509
|
|
|
252
510
|
&-mobile {
|
|
253
|
-
|
|
511
|
+
display: flex;
|
|
512
|
+
|
|
513
|
+
@screen md {
|
|
514
|
+
display: none;
|
|
515
|
+
}
|
|
254
516
|
}
|
|
255
517
|
|
|
256
518
|
&-desktop {
|
|
257
|
-
|
|
519
|
+
display: none;
|
|
520
|
+
|
|
521
|
+
@screen md {
|
|
522
|
+
display: flex;
|
|
523
|
+
gap: theme("spacing.2");
|
|
524
|
+
}
|
|
258
525
|
}
|
|
259
526
|
}
|
|
260
527
|
}
|
|
261
528
|
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
529
|
+
/* TODO: tohle je imo k ničemu, že Vejvis? */
|
|
530
|
+
|
|
531
|
+
/* .rdg-cell.action {
|
|
265
532
|
align-items: center;
|
|
533
|
+
border-right: 0;
|
|
534
|
+
box-shadow: -3px 0 15px rgba(221 221 221 / 50%);
|
|
266
535
|
display: flex;
|
|
267
536
|
justify-content: center;
|
|
268
537
|
position: sticky;
|
|
269
|
-
box-shadow: -3px 0 15px rgba(221 221 221 / 50%);
|
|
270
538
|
right: 0;
|
|
271
|
-
|
|
539
|
+
text-align: right;
|
|
540
|
+
} */
|
|
272
541
|
|
|
273
542
|
.rdg-header-row {
|
|
274
|
-
|
|
543
|
+
color: theme("colors.lightLow");
|
|
544
|
+
font-weight: theme("fontWeight.normal");
|
|
545
|
+
|
|
546
|
+
:root .dark & {
|
|
547
|
+
color: theme("colors.darkLow");
|
|
548
|
+
}
|
|
275
549
|
|
|
276
550
|
.rdg-cell {
|
|
277
|
-
|
|
551
|
+
background-color: var(--rdg-header-background-color);
|
|
278
552
|
|
|
279
|
-
|
|
280
|
-
|
|
553
|
+
:root .dark & {
|
|
554
|
+
color: theme("colors.darkMedium");
|
|
555
|
+
}
|
|
281
556
|
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
}
|
|
557
|
+
&:not(:first-child) {
|
|
558
|
+
border-inline-start: 1px solid var(--rdg-border-color);
|
|
285
559
|
}
|
|
286
560
|
}
|
|
287
561
|
}
|
|
288
562
|
|
|
289
563
|
.rdg-header-sort-name + span {
|
|
290
|
-
display: flex;
|
|
291
564
|
align-items: center;
|
|
565
|
+
display: flex;
|
|
292
566
|
}
|
|
293
567
|
|
|
294
568
|
.rdg-cell {
|
|
569
|
+
border-block-end-width: 1px;
|
|
570
|
+
border-color: var(--rdg-border-color);
|
|
295
571
|
border-inline-end: none;
|
|
296
572
|
|
|
297
573
|
&.rdg-cell-frozen {
|
|
298
574
|
box-shadow: none;
|
|
299
575
|
}
|
|
300
|
-
|
|
301
|
-
&[aria-selected="true"] {
|
|
302
|
-
outline-color: theme("colors.gray.300");
|
|
303
|
-
|
|
304
|
-
:root .dark & {
|
|
305
|
-
outline-color: theme("colors.gray.700");
|
|
306
|
-
}
|
|
307
|
-
}
|
|
308
|
-
}
|
|
309
|
-
|
|
310
|
-
.rdg-row[aria-selected="true"] {
|
|
311
|
-
@apply bg-gray-100/75 dark:bg-gray-900/75;
|
|
312
|
-
|
|
313
|
-
.uxf-data-grid__action-cell {
|
|
314
|
-
background-color: white;
|
|
315
|
-
|
|
316
|
-
:root .dark & {
|
|
317
|
-
background-color: theme("colors.gray.900");
|
|
318
|
-
}
|
|
319
|
-
}
|
|
320
|
-
}
|
|
321
|
-
|
|
322
|
-
.rdg-row:hover {
|
|
323
|
-
@apply bg-gray-50 dark:bg-gray-950;
|
|
324
|
-
|
|
325
|
-
.uxf-data-grid__action-cell {
|
|
326
|
-
background-color: white;
|
|
327
|
-
|
|
328
|
-
:root .dark & {
|
|
329
|
-
background-color: theme("colors.gray.950");
|
|
330
|
-
}
|
|
331
|
-
}
|
|
332
|
-
}
|
|
333
|
-
|
|
334
|
-
.rdg-row[aria-selected="true"]:hover {
|
|
335
|
-
@apply bg-gray-200/75 dark:bg-gray-800/75;
|
|
336
576
|
}
|
|
337
577
|
|
|
338
578
|
@keyframes datagridlineanim {
|
|
@@ -349,4 +589,4 @@
|
|
|
349
589
|
left: 100%;
|
|
350
590
|
width: 100%;
|
|
351
591
|
}
|
|
352
|
-
}
|
|
592
|
+
}
|