@vuu-ui/vuu-table 0.8.27-debug → 0.8.27

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/index.css CHANGED
@@ -1,586 +1,2 @@
1
- /* src/column-header-pill/ColumnHeaderPill.css */
2
- .vuuColumnHeaderPill {
3
- --vuu-icon-size: 14px;
4
- --menu-item-icon-color: black;
5
- --vuu-icon-color: var(--salt-actionable-primary-foreground);
6
- --vuu-icon-height: 12px;
7
- --vuu-icon-width: 12px;
8
- align-items: center;
9
- background: var(--salt-actionable-primary-background);
10
- color: var(--salt-actionable-primary-foreground);
11
- border-radius: 4px;
12
- flex: var(--vuuColumnHeaderPill-flex, none);
13
- font-size: 11px;
14
- gap: 4px;
15
- height: 16px;
16
- display: flex;
17
- margin: var(--vuuColumnHeaderPill-margin, 0);
18
- padding: 0 6px;
19
- position: relative;
20
- }
21
- .vuuColumnHeaderPill:hover {
22
- --vuu-icon-color: var(--salt-actionable-primary-foreground-hover);
23
- background-color: var(--salt-actionable-primary-background-hover);
24
- color: var(--salt-actionable-primary-foreground-hover);
25
- }
26
- .vuuColumnHeaderPill-removeButton {
27
- cursor: pointer;
28
- }
29
-
30
- /* src/column-header-pill/GroupColumnPill.css */
31
- .vuuSortPosition {
32
- font-size: 11px;
33
- font-weight: 700;
34
- padding-top: 1px;
35
- }
36
-
37
- /* src/column-header-pill/SortIndicator.css */
38
- .vuuSortPosition {
39
- font-size: 11px;
40
- font-weight: 700;
41
- padding-top: 1px;
42
- }
43
-
44
- /* src/column-resizing/ColumnResizer.css */
45
- .vuuColumnResizer {
46
- cursor: col-resize;
47
- height: var(--header-height);
48
- margin-left: var(--columnResizer-left, auto);
49
- position: absolute;
50
- right: -5px;
51
- width: 8px;
52
- z-index: 1;
53
- }
54
- .vuuTableHeaderCell:not(.vuuTableHeaderCell-resizing) .vuuColumnResizer:hover {
55
- --columnResizer-color: var(--salt-selectable-background-selected);
56
- }
57
- .vuuColumnResizer:after {
58
- background-color: var(--columnResizer-color, var(--salt-separable-tertiary-borderColor));
59
- bottom: 0;
60
- content: "";
61
- position: absolute;
62
- top: 0;
63
- right: 3px;
64
- height: var(--columnResizer-height, 0);
65
- width: 2px;
66
- z-index: 1;
67
- }
68
-
69
- /* src/header-cell/GroupHeaderCell.css */
70
- .vuu-theme {
71
- --svg-spinner: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path fill="rgb(38, 112, 169)" d="M73,50c0-12.7-10.3-23-23-23S27,37.3,27,50 M30.9,50c0-10.5,8.5-19.1,19.1-19.1S69.1,39.5,69.1,50"><animateTransform attributeName="transform" attributeType="XML" type="rotate" dur="1s" from="0 50 50" to="360 50 50" repeatCount="indefinite" /></path></svg>');
72
- }
73
- .vuuTableGroupHeaderCell {
74
- --vuuColumnHeaderPill-margin: 0;
75
- --cell-align: "flex-start";
76
- text-align: left;
77
- background: var(--dataTable-background);
78
- cursor: default;
79
- height: var(--vuuTableHeaderHeight);
80
- }
81
- .vuuTableGroupHeaderCell-inner {
82
- align-items: center;
83
- display: flex;
84
- gap: 4px;
85
- height: 100%;
86
- padding-left: 1px;
87
- }
88
- .vuuTableGroupHeaderCell-col {
89
- align-items: center;
90
- background-color: inherit;
91
- display: inline-flex;
92
- flex: 0 1 auto;
93
- height: calc(var(--vuuTableHeaderHeight) - 2px);
94
- justify-content: space-between;
95
- padding-right: 8px;
96
- position: relative;
97
- }
98
- .vuuTableGroupHeaderCell-label {
99
- align-items: center;
100
- display: flex;
101
- flex: 0 0 auto;
102
- }
103
- .vuuTableGroupHeaderCell-close {
104
- --vuu-icon-height: 18px;
105
- --vuu-icon-width: 18px;
106
- cursor: pointer;
107
- left: 3px;
108
- }
109
- .vuuTableGroupHeaderCell-resizing {
110
- --columnResizer-color: var(--salt-color-blue-500);
111
- --columnResizer-height: var(--table-height);
112
- --columnResizer-width: 2px;
113
- }
114
- .vuuTableGroupHeaderCell-pending {
115
- --pending-content: "";
116
- }
117
- .vuuTableGroupHeaderCell-col:has(+ .vuuColumnResizer):after {
118
- content: var(--pending-content);
119
- width: 24px;
120
- height: 24px;
121
- background-image: var(--svg-spinner);
122
- background-repeat: no-repeat;
123
- background-size: cover;
124
- }
125
-
126
- /* src/column-menu/ColumnMenu.css */
127
- .vuuMenuItem {
128
- --vuu-svg-cog: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M12.9533 8.65331C12.98 8.43998 13 8.22665 13 7.99998C13 7.77331 12.98 7.55998 12.9533 7.34665L14.36 6.24665C14.4867 6.14665 14.52 5.96665 14.44 5.81998L13.1067 3.51331C13.0267 3.36665 12.8467 3.31331 12.7 3.36665L11.04 4.03331C10.6933 3.76665 10.32 3.54665 9.91333 3.37998L9.66 1.61331C9.64 1.45331 9.5 1.33331 9.33333 1.33331H6.66667C6.5 1.33331 6.36 1.45331 6.34 1.61331L6.08667 3.37998C5.68 3.54665 5.30667 3.77331 4.96 4.03331L3.3 3.36665C3.14667 3.30665 2.97333 3.36665 2.89333 3.51331L1.56 5.81998C1.47333 5.96665 1.51333 6.14665 1.64 6.24665L3.04667 7.34665C3.02 7.55998 3 7.77998 3 7.99998C3 8.21998 3.02 8.43998 3.04667 8.65331L1.64 9.75331C1.51333 9.85331 1.48 10.0333 1.56 10.18L2.89333 12.4866C2.97333 12.6333 3.15333 12.6866 3.3 12.6333L4.96 11.9666C5.30667 12.2333 5.68 12.4533 6.08667 12.62L6.34 14.3866C6.36 14.5466 6.5 14.6666 6.66667 14.6666H9.33333C9.5 14.6666 9.64 14.5466 9.66 14.3866L9.91333 12.62C10.32 12.4533 10.6933 12.2266 11.04 11.9666L12.7 12.6333C12.8533 12.6933 13.0267 12.6333 13.1067 12.4866L14.44 10.18C14.52 10.0333 14.4867 9.85331 14.36 9.75331L12.9533 8.65331V8.65331ZM8 10.3333C6.71333 10.3333 5.66667 9.28665 5.66667 7.99998C5.66667 6.71331 6.71333 5.66665 8 5.66665C9.28667 5.66665 10.3333 6.71331 10.3333 7.99998C10.3333 9.28665 9.28667 10.3333 8 10.3333Z"/></svg>');
129
- }
130
- .vuuColumnMenu {
131
- --menu-button-size: calc(var(--salt-size-base) - var(--salt-spacing-100));
132
- --saltButton-padding: var(--salt-spacing-50);
133
- --saltButton-minWidth: var(--menu-button-size);
134
- --saltButton-height: var(--menu-button-size);
135
- --saltButton-width: var(--menu-button-size);
136
- --vuu-icon-height: var(--menu-button-size);
137
- --vuu-icon-left: 0px;
138
- --vuu-icon-top: 0px;
139
- --vuu-icon-width: var(--menu-button-size);
140
- border-radius: 4px;
141
- flex: 0 0 var(--menu-button-size);
142
- margin: var(--vuuTable-columnMenu-margin, 0);
143
- }
144
-
145
- /* src/header-cell/HeaderCell.css */
146
- .vuuTableGroupHeaderCell,
147
- .vuuTableHeaderCell {
148
- --cell-align: "flex-start";
149
- --vuuColumnHeaderPill-margin: 0;
150
- --vuuColumnHeaderPill-flex: 0 0 24px;
151
- align-items: center;
152
- background-color: var(--vuuTableHeaderCell-background, inherit);
153
- border-bottom: 1px solid #ccc;
154
- border-right-color: var(--cell-borderColor);
155
- border-right-style: solid;
156
- border-right-width: 1px;
157
- box-sizing: border-box;
158
- cursor: default;
159
- display: inline-flex;
160
- gap: 4px;
161
- height: var(--header-height);
162
- padding: 0 12px 0 4px;
163
- position: relative;
164
- vertical-align: top;
165
- }
166
- .vuuTableHeaderCell:focus {
167
- outline: var(--vuuTableCell-outline, solid var(--salt-focused-outlineColor) 2px);
168
- outline-offset: -3px;
169
- }
170
- .vuuTableHeaderCell-right {
171
- --columnResizer-left: 0;
172
- --vuuTable-columnMenu-margin: 0;
173
- --vuuColumnHeaderPill-margin: 0 3px 0 0;
174
- --column-menu-left: 2px;
175
- justify-content: flex-end;
176
- padding: 0 3px 0 12px;
177
- }
178
- .vuuTableHeaderCell-noMenu {
179
- padding-left: var(--salt-spacing-300);
180
- }
181
- .vuuTableHeaderCell-label {
182
- flex: 0 1 auto;
183
- line-height: calc(var(--header-height) - 1px);
184
- overflow: hidden;
185
- text-overflow: ellipsis;
186
- white-space: nowrap;
187
- }
188
- .vuuTableHeaderCell-right .vuuTableHeaderCell-label {
189
- text-align: right;
190
- }
191
- .vuuTableHeaderCell-resizing {
192
- --columnResizeThumb-color: var(--vuu-color-purple-10);
193
- --columnResizer-color: var(--vuu-color-purple-10);
194
- --columnResizer-height: var(--table-height);
195
- }
196
- .vuuTableHeaderCell.vuuPinLeft {
197
- padding-left: 2px;
198
- }
199
- .vuuTableHeaderCell.vuuPinLeft.vuuEndPin .vuuColumnResizer:before {
200
- --height: calc(var(--table-height) - var(--horizontal-scrollbar-height));
201
- --inset-r: calc(var(--pin-width) - 2px);
202
- --inset-b: calc(var(--height) - 2px);
203
- --clip-path: polygon( 0% 0%, 0% 120%, 2px 120%, 2px 2px, var(--inset-r) 2px, var(--inset-r) var(--inset-b), 2px var(--inset-b), 2px 120%, 120% 120%, 120% 0% );
204
- background-color: transparent;
205
- border-color: var(--vuuTablePinnedColumn-borderColor, var(--salt-container-primary-borderColor));
206
- border-width: 1px;
207
- border-style: solid solid solid solid;
208
- border-radius: 4px;
209
- box-shadow: 2px 1px 4px 0px rgba(0, 0, 0, 0.10);
210
- clip-path: var(--clip-path);
211
- content: "";
212
- position: absolute;
213
- width: var(--pin-width);
214
- top: 0;
215
- bottom: 0;
216
- right: 3px;
217
- height: var(--height);
218
- z-index: -5;
219
- }
220
- .vuuTableHeaderCell.vuuPinRight.vuuEndPin .vuuColumnResizer:before {
221
- --height: calc(var(--table-height) - var(--horizontal-scrollbar-height));
222
- --inset-r: calc(var(--pin-width) - 2px);
223
- --inset-b: calc(var(--height) - 2px);
224
- --clip-path: polygon( -20% 0%, -20% 120%, 2px 120%, 2px 2px, var(--inset-r) 2px, var(--inset-r) var(--inset-b), 2px var(--inset-b), 2px 120%, 120% 120%, 120% 0% );
225
- background-color: transparent;
226
- border-color: #A9AAAD;
227
- border-width: 1px;
228
- border-style: solid solid solid solid;
229
- border-radius: 4px;
230
- box-shadow: -2px 1px 4px 0px rgba(0, 0, 0, 0.10);
231
- clip-path: var(--clip-path);
232
- content: "";
233
- position: absolute;
234
- width: var(--pin-width);
235
- top: 0;
236
- bottom: 0;
237
- right: 0px;
238
- height: var(--height);
239
- z-index: -5;
240
- }
241
- .vuuTableHeaderCell.vuuDraggable-dragAway {
242
- display: none;
243
- }
244
- .vuuTable-headingCell {
245
- background: var(--dataTable-background);
246
- border-color: var(--salt-separable-tertiary-borderColor);
247
- border-style: solid solid solid none;
248
- border-width: 1px;
249
- color: var(--salt-text-secondary-foreground);
250
- display: inline-block;
251
- height: var(--header-height);
252
- padding: 0 !important;
253
- }
254
-
255
- /* src/table-cell/TableCell.css */
256
- .vuuTableCell {
257
- border-right-color: var(--cell-borderColor);
258
- border-right-style: solid;
259
- border-right-width: 1px;
260
- display: inline-block;
261
- white-space: nowrap;
262
- height: 100%;
263
- overflow: hidden;
264
- padding: var(--vuuTableCell-padding, 0 11px 0 12px);
265
- text-overflow: ellipsis;
266
- vertical-align: top;
267
- }
268
- .vuuTableCell-right {
269
- text-align: right;
270
- }
271
- .vuuTableCell-editable {
272
- align-items: center;
273
- display: inline-flex;
274
- text-overflow: unset;
275
- }
276
- .vuuTableCell:focus {
277
- outline: var(--vuuTableCell-outline, solid var(--salt-focused-outlineColor) 2px);
278
- outline-offset: -2px;
279
- box-shadow: inset 0 0 0 var(--cell-outline-width) white;
280
- border-bottom: none;
281
- }
282
- .vuuTableRow-selected .vuuTableCell:not(.vuuTableCell-editable):focus {
283
- outline: var(--vuuTableCell-outline, solid var(--salt-focused-outlineColor) 2px);
284
- outline-offset: -1px;
285
- }
286
- .vuuTableCell-editable:focus {
287
- outline: none;
288
- }
289
-
290
- /* src/table-cell/TableGroupCell.css */
291
- .vuuTableGroupCell {
292
- --group-cell-spacer-width: 20px;
293
- align-items: center;
294
- border-right-color: var(--vuuTableGroupCell-borderColor, var(--salt-separable-tertiary-borderColor));
295
- border-right-style: solid;
296
- border-right-width: 1px;
297
- cursor: pointer;
298
- display: inline-flex;
299
- height: var(--row-height);
300
- line-height: 16px;
301
- }
302
- .vuuTableGroupCell-toggle {
303
- --vuu-icon-height: 16px;
304
- --vuu-icon-size: 16px;
305
- --vuu-icon-width: 8px;
306
- margin-right: 4px;
307
- transition: transform 0.25s;
308
- transform: var(--toggle-icon-transform);
309
- }
310
- .vuuTableGroupCell-spacer {
311
- width: var(--group-cell-spacer-width);
312
- }
313
-
314
- /* src/Row.css */
315
- .vuuTableRow {
316
- background: var(--row-background,var(--table-background));
317
- color: var(--salt-content-secondary-foreground);
318
- border-bottom: 1px solid var(--row-borderColor, var(--table-background));
319
- box-sizing: border-box;
320
- height: var(--row-height);
321
- line-height: calc(var(--row-height) - 1px);
322
- position: absolute;
323
- top: 0;
324
- white-space: nowrap;
325
- }
326
- .vuuTableRow-proxy {
327
- visibility: hidden;
328
- }
329
- .vuuTableRow-even {
330
- --row-background: var(--row-background-even);
331
- }
332
- .vuuTableRow-highlighted {
333
- background: var(--salt-selectable-background-hover);
334
- }
335
- .vuuTableRow-selected,
336
- .vuuTableRow-selectedEnd {
337
- background-color: var(--salt-selectable-background-selected);
338
- }
339
- .vuuTableRow-selectedEnd {
340
- z-index: 1;
341
- }
342
- .vuuTableRow-selectedStart {
343
- --vuu-selection-decorator-left-radius: 5px 0 0 0;
344
- --vuu-selection-decorator-right-radius: 0 5px 0 0;
345
- border-radius: 5px 5px 0 0;
346
- }
347
- .vuuTableRow-selectedEnd {
348
- --vuu-selection-decorator-left-radius: 0 0 0 5px;
349
- --vuu-selection-decorator-right-radius: 0 0 5px 0;
350
- border-radius: 0 0 5px 5px;
351
- }
352
- .vuuTableRow-selectedStart.vuuTableRow-selectedEnd {
353
- --vuu-selection-decorator-left-radius: 5px 0 0 5px;
354
- --vuu-selection-decorator-right-radius: 0 5px 5px 0;
355
- border-radius: 5px 5px 5px 5px;
356
- }
357
- .vuuTableRow-selectedStart:after {
358
- content: "";
359
- position: absolute;
360
- top: -1px;
361
- left: 4px;
362
- height: 1px;
363
- background: var(--vuuTableRow-selectionBlock-borderColor);
364
- width: calc(var(--content-width) - 8px);
365
- z-index: 1;
366
- }
367
- .vuuTableRow-selectedEnd {
368
- border-bottom-color: var(--vuuTableRow-selectionBlock-borderColor, var(--row-borderColor));
369
- }
370
- .vuuTableRow-selectionDecorator {
371
- background: var(--table-background);
372
- display: inline-block;
373
- position: relative;
374
- height: var(--row-height);
375
- width: 4px;
376
- z-index: 2;
377
- }
378
- .vuuTableRow-selectionDecorator.vuuStickyLeft {
379
- left: 0;
380
- position: sticky;
381
- }
382
- .vuuTableRow-selectionDecorator.vuuStickyRight {
383
- right: 0;
384
- position: sticky;
385
- }
386
- .vuuTableRow-selectedStart .vuuTableRow-selectionDecorator:before,
387
- .vuuTableRow-selectedEnd .vuuTableRow-selectionDecorator:before {
388
- content: "";
389
- top: -1px;
390
- right: 0;
391
- bottom: 0;
392
- left: 0;
393
- position: absolute;
394
- background: var(--table-background);
395
- }
396
- .vuuTableRow-selectionDecorator.vuuStickyLeft:before {
397
- border-radius: var(--vuu-selection-decorator-left-radius, 0);
398
- }
399
- .vuuTableRow-selectionDecorator.vuuStickyRight:before {
400
- border-radius: var(--vuu-selection-decorator-right-radius, 0);
401
- }
402
- .vuuTableRow-expanded {
403
- --toggle-icon-transform: rotate(90deg);
404
- }
405
- .vuuDraggable .vuuTableRow {
406
- --cell-borderColor: transparent;
407
- --vuu-selection-decorator-bg: transparent;
408
- transform: none !important;
409
- z-index: 1;
410
- }
411
-
412
- /* src/Table.css */
413
- .vuuTable {
414
- --vuu-table-cell-outlineWidth: 1px;
415
- --table-height: var(--measured-px-height);
416
- --table-width: var(--measured-px-width);
417
- --vuu-table-next-selection-bookend-width: 4px;
418
- --vuu-table-embedded-control-height: calc(var(--row-height) - 3px);
419
- --columnResizer-color: transparent;
420
- --row-height: var(--row-height-prop, var(--vuu-table-row-height, var(--salt-size-base)));
421
- --cell-borderColor: transparent;
422
- --row-borderColor: var(--row-background);
423
- --table-background: var(--salt-container-primary-background);
424
- background: var(--table-background);
425
- font-family: var(--vuuTable-fontFamily,var(--salt-typography-fontFamily, sans-serif));
426
- font-size: var(--vuuTable-fontSize,var(--salt-text-fontSize, 12px));
427
- position: relative;
428
- user-select: none;
429
- }
430
- .vuuTable-zebra {
431
- --row-background-even: var(--table-background);
432
- }
433
- .vuuTable-colLines {
434
- --cell-borderColor: var( );
435
- }
436
- .vuuTable-rowLines {
437
- --row-borderColor: var(--salt-separable-tertiary-borderColor);
438
- }
439
- .vuuTable-scrollbarContainer {
440
- border-bottom: none !important;
441
- border-top: none !important;
442
- border-left: solid 1px var(--salt-container-primary-borderColor);
443
- height: var(--viewport-body-height);
444
- left: 0px;
445
- overflow: auto;
446
- position: absolute;
447
- top: var(--total-header-height);
448
- width: var(--table-width);
449
- }
450
- .vuuTable-scrollbarContainer::-webkit-scrollbar {
451
- border: none;
452
- width: 10px;
453
- }
454
- .vuuTable-scrollbarContainer::-webkit-scrollbar:horizontal {
455
- height: 10px;
456
- }
457
- .vuuTable-scrollbarContainer::-webkit-scrollbar-track {
458
- background-color: white;
459
- }
460
- .vuuTable-scrollbarContainer::-webkit-scrollbar-thumb {
461
- background-clip: padding-box;
462
- border-radius: 10px;
463
- border: 2px solid rgba(0, 0, 0, 0);
464
- background-color: var(--vuu-color-gray-30);
465
- }
466
- .vuuTable-scrollbarContent {
467
- height: calc(var(--content-height) + var(--horizontal-scrollbar-height));
468
- position: absolute;
469
- width: var(--content-width);
470
- }
471
- .vuuTable-contentContainer {
472
- background: var(--table-background);
473
- height: calc(var(--table-height) - var(--horizontal-scrollbar-height));
474
- position: relative;
475
- overflow: auto;
476
- overscroll-behavior: none;
477
- width: calc(var(--table-width) - var(--vertical-scrollbar-width));
478
- }
479
- .vuuTable-contentContainer::-webkit-scrollbar {
480
- display: none;
481
- }
482
- .vuuTable-table {
483
- position: absolute;
484
- top: 0;
485
- left: 0;
486
- table-layout: fixed;
487
- width: var(--content-width);
488
- margin: 0;
489
- border: none;
490
- border-collapse: separate;
491
- border-spacing: 0;
492
- }
493
- .vuuTable-body {
494
- height: var(--content-height);
495
- position: relative;
496
- }
497
- .vuuPinLeft,
498
- .vuuPinRight {
499
- background-color: inherit;
500
- position: sticky;
501
- z-index: 1;
502
- }
503
- .vuuTable-col-headings {
504
- background-color: var(--vuuTableColHeadings-background, var(--table-background));
505
- padding: 0 var(--vuu-table-next-selection-bookend-width, 0);
506
- position: sticky;
507
- top: 0;
508
- z-index: 1;
509
- }
510
- .vuuTable-col-headings:hover {
511
- --columnResizer-height: var(--header-height);
512
- --columnResizer-color: var(--salt-separable-tertiary-borderColor);
513
- }
514
- .vuuTable-col-headers {
515
- background-color: var(--vuuTableColHeadings-background, var(--vuuTableColHeadings-background));
516
- color: var(--salt-content-secondary-foreground);
517
- white-space: nowrap;
518
- }
519
- .sizer-cell {
520
- border: none !important;
521
- height: 0px;
522
- }
523
- .vuuDraggable-vuuTable {
524
- --header-height: 25px;
525
- --vuuTableHeaderCell-background: var(--salt-container-secondary-background);
526
- }
527
- .vuuDraggable-vuuTable {
528
- --row-height: 25px;
529
- }
530
-
531
- /* src/cell-renderers/checkbox-cell/CheckboxCell.css */
532
- .vuuTableCell .vuuCheckboxIcon {
533
- margin-top: calc(var(--row-height) / 2 - 6px);
534
- }
535
-
536
- /* src/cell-renderers/input-cell/InputCell.css */
537
- .vuuTableInputCell.saltInput-primary {
538
- --salt-focused-outlineStyle: none;
539
- --saltInput-height: var(--vuu-table-embedded-control-height);
540
- --saltInput-minHeight: var(--saltInput-height);
541
- border-radius: 4px;
542
- font-weight: 500;
543
- }
544
- .vuuTableCell:focus .vuuTableInputCell.saltInput-primary,
545
- .vuuTableInputCell.saltInput-primary.saltInput-focused {
546
- border: solid 2px var(--salt-focused-outlineColor);
547
- padding: 0 3px;
548
- }
549
- .vuuTableInputCell-icon {
550
- --vuu-icon-height: 13px;
551
- --vuu-icon-size: 15px;
552
- --vuu-icon-width: 12px;
553
- border-radius: 10px;
554
- }
555
- .vuuTableCell:focus .vuuTableInputCell.saltInput-primary.vuuTableInputCell-error,
556
- .vuuTableInputCell.saltInput-primary.saltInput-focused.vuuTableInputCell-error {
557
- border: solid 2px var(--vuu-color-red-50);
558
- }
559
- .vuuTableInputCell-error.saltInput-primary {
560
- border: solid 1px var(--vuu-color-red-50);
561
- }
562
-
563
- /* src/cell-renderers/toggle-cell/ToggleCell.css */
564
- .vuuTableToggleCell {
565
- --saltButton-borderRadius: 4px;
566
- --saltButton-height: 16px;
567
- font-weight: 500;
568
- position: relative;
569
- top: 1px;
570
- }
571
- .vuuTableToggleCell-side {
572
- --saltButton-minWidth: 40px;
573
- }
574
- .vuuTableToggleCell.vuuCycleStateButton-buy {
575
- background-color: var(--vuu-color-green-50);
576
- }
577
- .vuuTableToggleCell.vuuCycleStateButton-sell {
578
- background-color: var(--vuu-color-red-50);
579
- }
580
- .vuuTableCell .vuuTableToggleCell:focus {
581
- border: solid 2px var(--vuu-color-purple-10) !important;
582
- color: white !important;
583
- height: 18px !important;
584
- top: 0px !important;
585
- }
1
+ .vuuColumnHeaderPill{--vuu-icon-size: 14px;--menu-item-icon-color: black;--vuu-icon-color: var(--salt-actionable-primary-foreground);--vuu-icon-height: 12px;--vuu-icon-width: 12px;align-items:center;background:var(--salt-actionable-primary-background);color:var(--salt-actionable-primary-foreground);border-radius:4px;flex:var(--vuuColumnHeaderPill-flex, none);font-size:11px;gap:4px;height:16px;display:flex;margin:var(--vuuColumnHeaderPill-margin, 0);padding:0 6px;position:relative}.vuuColumnHeaderPill:hover{--vuu-icon-color: var(--salt-actionable-primary-foreground-hover);background-color:var(--salt-actionable-primary-background-hover);color:var(--salt-actionable-primary-foreground-hover)}.vuuColumnHeaderPill-removeButton{cursor:pointer}.vuuSortPosition{font-size:11px;font-weight:700;padding-top:1px}.vuuColumnResizer{cursor:col-resize;height:var(--header-height);margin-left:var(--columnResizer-left, auto);position:absolute;right:-5px;width:8px;z-index:1}.vuuTableHeaderCell:not(.vuuTableHeaderCell-resizing) .vuuColumnResizer:hover{--columnResizer-color: var(--salt-selectable-background-selected)}.vuuColumnResizer:after{background-color:var(--columnResizer-color, var(--salt-separable-tertiary-borderColor));bottom:0;content:"";position:absolute;top:0;right:3px;height:var(--columnResizer-height, 0);width:2px;z-index:1}.vuu-theme{--svg-spinner: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path fill="rgb(38, 112, 169)" d="M73,50c0-12.7-10.3-23-23-23S27,37.3,27,50 M30.9,50c0-10.5,8.5-19.1,19.1-19.1S69.1,39.5,69.1,50"><animateTransform attributeName="transform" attributeType="XML" type="rotate" dur="1s" from="0 50 50" to="360 50 50" repeatCount="indefinite" /></path></svg>')}.vuuTableGroupHeaderCell{--vuuColumnHeaderPill-margin: 0;--cell-align: "flex-start";text-align:left;background:var(--dataTable-background);cursor:default;height:var(--vuuTableHeaderHeight)}.vuuTableGroupHeaderCell-inner{align-items:center;display:flex;gap:4px;height:100%;padding-left:1px}.vuuTableGroupHeaderCell-col{align-items:center;background-color:inherit;display:inline-flex;flex:0 1 auto;height:calc(var(--vuuTableHeaderHeight) - 2px);justify-content:space-between;padding-right:8px;position:relative}.vuuTableGroupHeaderCell-label{align-items:center;display:flex;flex:0 0 auto}.vuuTableGroupHeaderCell-close{--vuu-icon-height: 18px;--vuu-icon-width: 18px;cursor:pointer;left:3px}.vuuTableGroupHeaderCell-resizing{--columnResizer-color: var(--salt-color-blue-500);--columnResizer-height: var(--table-height);--columnResizer-width: 2px}.vuuTableGroupHeaderCell-pending{--pending-content: ""}.vuuTableGroupHeaderCell-col:has(+.vuuColumnResizer):after{content:var(--pending-content);width:24px;height:24px;background-image:var(--svg-spinner);background-repeat:no-repeat;background-size:cover}.vuuMenuItem{--vuu-svg-cog: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path d="M12.9533 8.65331C12.98 8.43998 13 8.22665 13 7.99998C13 7.77331 12.98 7.55998 12.9533 7.34665L14.36 6.24665C14.4867 6.14665 14.52 5.96665 14.44 5.81998L13.1067 3.51331C13.0267 3.36665 12.8467 3.31331 12.7 3.36665L11.04 4.03331C10.6933 3.76665 10.32 3.54665 9.91333 3.37998L9.66 1.61331C9.64 1.45331 9.5 1.33331 9.33333 1.33331H6.66667C6.5 1.33331 6.36 1.45331 6.34 1.61331L6.08667 3.37998C5.68 3.54665 5.30667 3.77331 4.96 4.03331L3.3 3.36665C3.14667 3.30665 2.97333 3.36665 2.89333 3.51331L1.56 5.81998C1.47333 5.96665 1.51333 6.14665 1.64 6.24665L3.04667 7.34665C3.02 7.55998 3 7.77998 3 7.99998C3 8.21998 3.02 8.43998 3.04667 8.65331L1.64 9.75331C1.51333 9.85331 1.48 10.0333 1.56 10.18L2.89333 12.4866C2.97333 12.6333 3.15333 12.6866 3.3 12.6333L4.96 11.9666C5.30667 12.2333 5.68 12.4533 6.08667 12.62L6.34 14.3866C6.36 14.5466 6.5 14.6666 6.66667 14.6666H9.33333C9.5 14.6666 9.64 14.5466 9.66 14.3866L9.91333 12.62C10.32 12.4533 10.6933 12.2266 11.04 11.9666L12.7 12.6333C12.8533 12.6933 13.0267 12.6333 13.1067 12.4866L14.44 10.18C14.52 10.0333 14.4867 9.85331 14.36 9.75331L12.9533 8.65331V8.65331ZM8 10.3333C6.71333 10.3333 5.66667 9.28665 5.66667 7.99998C5.66667 6.71331 6.71333 5.66665 8 5.66665C9.28667 5.66665 10.3333 6.71331 10.3333 7.99998C10.3333 9.28665 9.28667 10.3333 8 10.3333Z"/></svg>')}.vuuColumnMenu{--menu-button-size: calc(var(--salt-size-base) - var(--salt-spacing-100));--saltButton-padding: var(--salt-spacing-50);--saltButton-minWidth: var(--menu-button-size);--saltButton-height: var(--menu-button-size);--saltButton-width: var(--menu-button-size);--vuu-icon-height: var(--menu-button-size);--vuu-icon-left: 0px;--vuu-icon-top: 0px;--vuu-icon-width: var(--menu-button-size);border-radius:4px;flex:0 0 var(--menu-button-size);margin:var(--vuuTable-columnMenu-margin, 0)}.vuuTableGroupHeaderCell,.vuuTableHeaderCell{--cell-align: "flex-start";--vuuColumnHeaderPill-margin: 0;--vuuColumnHeaderPill-flex: 0 0 24px;align-items:center;background-color:var(--vuuTableHeaderCell-background, inherit);border-bottom:1px solid #ccc;border-right-color:var(--cell-borderColor);border-right-style:solid;border-right-width:1px;box-sizing:border-box;cursor:default;display:inline-flex;gap:4px;height:var(--header-height);padding:0 12px 0 4px;position:relative;vertical-align:top}.vuuTableHeaderCell:focus{outline:var(--vuuTableCell-outline, solid var(--salt-focused-outlineColor) 2px);outline-offset:-3px}.vuuTableHeaderCell-right{--columnResizer-left: 0;--vuuTable-columnMenu-margin: 0;--vuuColumnHeaderPill-margin: 0 3px 0 0;--column-menu-left: 2px;justify-content:flex-end;padding:0 3px 0 12px}.vuuTableHeaderCell-noMenu{padding-left:var(--salt-spacing-300)}.vuuTableHeaderCell-label{flex:0 1 auto;line-height:calc(var(--header-height) - 1px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.vuuTableHeaderCell-right .vuuTableHeaderCell-label{text-align:right}.vuuTableHeaderCell-resizing{--columnResizeThumb-color: var(--vuu-color-purple-10);--columnResizer-color: var(--vuu-color-purple-10);--columnResizer-height: var(--table-height)}.vuuTableHeaderCell.vuuPinLeft{padding-left:2px}.vuuTableHeaderCell.vuuPinLeft.vuuEndPin .vuuColumnResizer:before{--height: calc(var(--table-height) - var(--horizontal-scrollbar-height));--inset-r: calc(var(--pin-width) - 2px);--inset-b: calc(var(--height) - 2px);--clip-path: polygon( 0% 0%, 0% 120%, 2px 120%, 2px 2px, var(--inset-r) 2px, var(--inset-r) var(--inset-b), 2px var(--inset-b), 2px 120%, 120% 120%, 120% 0% );background-color:transparent;border-color:var(--vuuTablePinnedColumn-borderColor, var(--salt-container-primary-borderColor));border-width:1px;border-style:solid solid solid solid;border-radius:4px;box-shadow:2px 1px 4px #0000001a;clip-path:var(--clip-path);content:"";position:absolute;width:var(--pin-width);top:0;bottom:0;right:3px;height:var(--height);z-index:-5}.vuuTableHeaderCell.vuuPinRight.vuuEndPin .vuuColumnResizer:before{--height: calc(var(--table-height) - var(--horizontal-scrollbar-height));--inset-r: calc(var(--pin-width) - 2px);--inset-b: calc(var(--height) - 2px);--clip-path: polygon( -20% 0%, -20% 120%, 2px 120%, 2px 2px, var(--inset-r) 2px, var(--inset-r) var(--inset-b), 2px var(--inset-b), 2px 120%, 120% 120%, 120% 0% );background-color:transparent;border-color:#a9aaad;border-width:1px;border-style:solid solid solid solid;border-radius:4px;box-shadow:-2px 1px 4px #0000001a;clip-path:var(--clip-path);content:"";position:absolute;width:var(--pin-width);top:0;bottom:0;right:0;height:var(--height);z-index:-5}.vuuTableHeaderCell.vuuDraggable-dragAway{display:none}.vuuTable-headingCell{background:var(--dataTable-background);border-color:var(--salt-separable-tertiary-borderColor);border-style:solid solid solid none;border-width:1px;color:var(--salt-text-secondary-foreground);display:inline-block;height:var(--header-height);padding:0!important}.vuuTableCell{border-right-color:var(--cell-borderColor);border-right-style:solid;border-right-width:1px;display:inline-block;white-space:nowrap;height:100%;overflow:hidden;padding:var(--vuuTableCell-padding, 0 11px 0 12px);text-overflow:ellipsis;vertical-align:top}.vuuTableCell-right{text-align:right}.vuuTableCell-editable{align-items:center;display:inline-flex;text-overflow:unset}.vuuTableCell:focus{outline:var(--vuuTableCell-outline, solid var(--salt-focused-outlineColor) 2px);outline-offset:-2px;box-shadow:inset 0 0 0 var(--cell-outline-width) #fff;border-bottom:none}.vuuTableRow-selected .vuuTableCell:not(.vuuTableCell-editable):focus{outline:var(--vuuTableCell-outline, solid var(--salt-focused-outlineColor) 2px);outline-offset:-1px}.vuuTableCell-editable:focus{outline:none}.vuuTableGroupCell{--group-cell-spacer-width: 20px;align-items:center;border-right-color:var(--vuuTableGroupCell-borderColor, var(--salt-separable-tertiary-borderColor));border-right-style:solid;border-right-width:1px;cursor:pointer;display:inline-flex;height:var(--row-height);line-height:16px}.vuuTableGroupCell-toggle{--vuu-icon-height: 16px;--vuu-icon-size: 16px;--vuu-icon-width: 8px;margin-right:4px;transition:transform .25s;transform:var(--toggle-icon-transform)}.vuuTableGroupCell-spacer{width:var(--group-cell-spacer-width)}.vuuTableRow{background:var(--row-background,var(--table-background));color:var(--salt-content-secondary-foreground);border-bottom:1px solid var(--row-borderColor, var(--table-background));box-sizing:border-box;height:var(--row-height);line-height:calc(var(--row-height) - 1px);position:absolute;top:0;white-space:nowrap}.vuuTableRow-proxy{visibility:hidden}.vuuTableRow-even{--row-background: var(--row-background-even)}.vuuTableRow-highlighted{background:var(--salt-selectable-background-hover)}.vuuTableRow-selected,.vuuTableRow-selectedEnd{background-color:var(--salt-selectable-background-selected)}.vuuTableRow-selectedEnd{z-index:1}.vuuTableRow-selectedStart{--vuu-selection-decorator-left-radius: 5px 0 0 0;--vuu-selection-decorator-right-radius: 0 5px 0 0;border-radius:5px 5px 0 0}.vuuTableRow-selectedEnd{--vuu-selection-decorator-left-radius: 0 0 0 5px;--vuu-selection-decorator-right-radius: 0 0 5px 0;border-radius:0 0 5px 5px}.vuuTableRow-selectedStart.vuuTableRow-selectedEnd{--vuu-selection-decorator-left-radius: 5px 0 0 5px;--vuu-selection-decorator-right-radius: 0 5px 5px 0;border-radius:5px}.vuuTableRow-selectedStart:after{content:"";position:absolute;top:-1px;left:4px;height:1px;background:var(--vuuTableRow-selectionBlock-borderColor);width:calc(var(--content-width) - 8px);z-index:1}.vuuTableRow-selectedEnd{border-bottom-color:var(--vuuTableRow-selectionBlock-borderColor, var(--row-borderColor))}.vuuTableRow-selectionDecorator{background:var(--table-background);display:inline-block;position:relative;height:var(--row-height);width:4px;z-index:2}.vuuTableRow-selectionDecorator.vuuStickyLeft{left:0;position:sticky}.vuuTableRow-selectionDecorator.vuuStickyRight{right:0;position:sticky}.vuuTableRow-selectedStart .vuuTableRow-selectionDecorator:before,.vuuTableRow-selectedEnd .vuuTableRow-selectionDecorator:before{content:"";top:-1px;right:0;bottom:0;left:0;position:absolute;background:var(--table-background)}.vuuTableRow-selectionDecorator.vuuStickyLeft:before{border-radius:var(--vuu-selection-decorator-left-radius, 0)}.vuuTableRow-selectionDecorator.vuuStickyRight:before{border-radius:var(--vuu-selection-decorator-right-radius, 0)}.vuuTableRow-expanded{--toggle-icon-transform: rotate(90deg)}.vuuDraggable .vuuTableRow{--cell-borderColor: transparent;--vuu-selection-decorator-bg: transparent;transform:none!important;z-index:1}.vuuTable{--vuu-table-cell-outlineWidth: 1px;--table-height: var(--measured-px-height);--table-width: var(--measured-px-width);--vuu-table-next-selection-bookend-width: 4px;--vuu-table-embedded-control-height: calc(var(--row-height) - 3px);--columnResizer-color: transparent;--row-height: var(--row-height-prop, var(--vuu-table-row-height, var(--salt-size-base)));--cell-borderColor: transparent;--row-borderColor: var(--row-background);--table-background: var(--salt-container-primary-background);background:var(--table-background);font-family:var(--vuuTable-fontFamily,var(--salt-typography-fontFamily, sans-serif));font-size:var(--vuuTable-fontSize,var(--salt-text-fontSize, 12px));position:relative;user-select:none}.vuuTable-zebra{--row-background-even: var(--table-background)}.vuuTable-colLines{--cell-borderColor: var( )}.vuuTable-rowLines{--row-borderColor: var(--salt-separable-tertiary-borderColor)}.vuuTable-scrollbarContainer{border-bottom:none!important;border-top:none!important;border-left:solid 1px var(--salt-container-primary-borderColor);height:var(--viewport-body-height);left:0;overflow:auto;position:absolute;top:var(--total-header-height);width:var(--table-width)}.vuuTable-scrollbarContainer::-webkit-scrollbar{border:none;width:10px}.vuuTable-scrollbarContainer::-webkit-scrollbar:horizontal{height:10px}.vuuTable-scrollbarContainer::-webkit-scrollbar-track{background-color:#fff}.vuuTable-scrollbarContainer::-webkit-scrollbar-thumb{background-clip:padding-box;border-radius:10px;border:2px solid rgba(0,0,0,0);background-color:var(--vuu-color-gray-30)}.vuuTable-scrollbarContent{height:calc(var(--content-height) + var(--horizontal-scrollbar-height));position:absolute;width:var(--content-width)}.vuuTable-contentContainer{background:var(--table-background);height:calc(var(--table-height) - var(--horizontal-scrollbar-height));position:relative;overflow:auto;overscroll-behavior:none;width:calc(var(--table-width) - var(--vertical-scrollbar-width))}.vuuTable-contentContainer::-webkit-scrollbar{display:none}.vuuTable-table{position:absolute;top:0;left:0;table-layout:fixed;width:var(--content-width);margin:0;border:none;border-collapse:separate;border-spacing:0}.vuuTable-body{height:var(--content-height);position:relative}.vuuPinLeft,.vuuPinRight{background-color:inherit;position:sticky;z-index:1}.vuuTable-col-headings{background-color:var(--vuuTableColHeadings-background, var(--table-background));padding:0 var(--vuu-table-next-selection-bookend-width, 0);position:sticky;top:0;z-index:1}.vuuTable-col-headings:hover{--columnResizer-height: var(--header-height);--columnResizer-color: var(--salt-separable-tertiary-borderColor)}.vuuTable-col-headers{background-color:var(--vuuTableColHeadings-background, var(--vuuTableColHeadings-background));color:var(--salt-content-secondary-foreground);white-space:nowrap}.sizer-cell{border:none!important;height:0px}.vuuDraggable-vuuTable{--header-height: 25px;--vuuTableHeaderCell-background: var(--salt-container-secondary-background)}.vuuDraggable-vuuTable{--row-height: 25px}.vuuTableCell .vuuCheckboxIcon{margin-top:calc(var(--row-height) / 2 - 6px)}.vuuTableInputCell.saltInput-primary{--salt-focused-outlineStyle: none;--saltInput-height: var(--vuu-table-embedded-control-height);--saltInput-minHeight: var(--saltInput-height);border-radius:4px;font-weight:500}.vuuTableCell:focus .vuuTableInputCell.saltInput-primary,.vuuTableInputCell.saltInput-primary.saltInput-focused{border:solid 2px var(--salt-focused-outlineColor);padding:0 3px}.vuuTableInputCell-icon{--vuu-icon-height: 13px;--vuu-icon-size: 15px;--vuu-icon-width: 12px;border-radius:10px}.vuuTableCell:focus .vuuTableInputCell.saltInput-primary.vuuTableInputCell-error,.vuuTableInputCell.saltInput-primary.saltInput-focused.vuuTableInputCell-error{border:solid 2px var(--vuu-color-red-50)}.vuuTableInputCell-error.saltInput-primary{border:solid 1px var(--vuu-color-red-50)}.vuuTableToggleCell{--saltButton-borderRadius: 4px;--saltButton-height: 16px;font-weight:500;position:relative;top:1px}.vuuTableToggleCell-side{--saltButton-minWidth: 40px}.vuuTableToggleCell.vuuCycleStateButton-buy{background-color:var(--vuu-color-green-50)}.vuuTableToggleCell.vuuCycleStateButton-sell{background-color:var(--vuu-color-red-50)}.vuuTableCell .vuuTableToggleCell:focus{border:solid 2px var(--vuu-color-purple-10)!important;color:#fff!important;height:18px!important;top:0!important}
586
2
  /*# sourceMappingURL=index.css.map */