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

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,579 +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
- .vuuColumnResizerNext {
46
- background-color: var(--columnResizeThumb-color);
47
- cursor: col-resize;
48
- height: var(--header-height);
49
- margin-left: var(--columnResizer-left, auto);
50
- position: absolute;
51
- right: -5px;
52
- width: 8px;
53
- z-index: 1;
54
- }
55
- .vuuColumnResizerNext:hover {
56
- --columnResizer-color: var(--vuu-color-purple-10);
57
- }
58
- .vuuColumnResizerNext:after {
59
- background-color: var(--columnResizer-color, var(--salt-separable-tertiary-borderColor));
60
- bottom: 0;
61
- content: "";
62
- position: absolute;
63
- top: 0;
64
- right: 3px;
65
- height: var(--columnResizer-height, 0);
66
- width: 2px;
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-right {
167
- --columnResizer-left: 0;
168
- --vuuTable-columnMenu-margin: 0;
169
- --vuuColumnHeaderPill-margin: 0 3px 0 0;
170
- --column-menu-left: 2px;
171
- justify-content: flex-end;
172
- padding: 0 3px 0 12px;
173
- }
174
- .vuuTableHeaderCell-label {
175
- flex: 0 1 auto;
176
- line-height: calc(var(--header-height) - 1px);
177
- overflow: hidden;
178
- text-overflow: ellipsis;
179
- white-space: nowrap;
180
- }
181
- .vuuTableHeaderCell-right .vuuTableHeaderCell-label {
182
- text-align: right;
183
- }
184
- .vuuTableHeaderCell-resizing {
185
- --columnResizeThumb-color: var(--vuu-color-purple-10);
186
- --columnResizer-color: var(--vuu-color-purple-10);
187
- --columnResizer-height: var(--table-height);
188
- }
189
- .vuuTableHeaderCell.vuuPinLeft {
190
- padding-left: 2px;
191
- }
192
- .vuuTableHeaderCell.vuuPinLeft.vuuEndPin .vuuColumnResizerNext:before {
193
- --height: calc(var(--table-height) - var(--horizontal-scrollbar-height));
194
- --inset-r: calc(var(--pin-width) - 2px);
195
- --inset-b: calc(var(--height) - 2px);
196
- --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% );
197
- background-color: transparent;
198
- border-color: var(--vuu-color-gray-40);
199
- border-width: 1px;
200
- border-style: solid solid solid solid;
201
- border-radius: 4px;
202
- box-shadow: 2px 1px 4px 0px rgba(0, 0, 0, 0.10);
203
- clip-path: var(--clip-path);
204
- content: "";
205
- position: absolute;
206
- width: var(--pin-width);
207
- top: 0;
208
- bottom: 0;
209
- right: 3px;
210
- height: var(--height);
211
- z-index: -5;
212
- }
213
- .vuuTableHeaderCell.vuuPinRight.vuuEndPin .vuuColumnResizerNext:before {
214
- --height: calc(var(--table-height) - var(--horizontal-scrollbar-height));
215
- --inset-r: calc(var(--pin-width) - 2px);
216
- --inset-b: calc(var(--height) - 2px);
217
- --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% );
218
- background-color: transparent;
219
- border-color: #A9AAAD;
220
- border-width: 1px;
221
- border-style: solid solid solid solid;
222
- border-radius: 4px;
223
- box-shadow: -2px 1px 4px 0px rgba(0, 0, 0, 0.10);
224
- clip-path: var(--clip-path);
225
- content: "";
226
- position: absolute;
227
- width: var(--pin-width);
228
- top: 0;
229
- bottom: 0;
230
- right: 0px;
231
- height: var(--height);
232
- z-index: -5;
233
- }
234
- .vuuTableHeaderCell.vuuDraggable-dragAway {
235
- display: none;
236
- }
237
- .vuuTable-headingCell {
238
- background: var(--dataTable-background);
239
- border-color: var(--salt-separable-tertiary-borderColor);
240
- border-style: solid solid solid none;
241
- border-width: 1px;
242
- color: var(--salt-text-secondary-foreground);
243
- display: inline-block;
244
- height: var(--header-height);
245
- padding: 0 !important;
246
- }
247
-
248
- /* src/table-cell/TableCell.css */
249
- .vuuTableCell {
250
- border-right-color: var(--cell-borderColor);
251
- border-right-style: solid;
252
- border-right-width: 1px;
253
- display: inline-block;
254
- white-space: nowrap;
255
- height: 100%;
256
- overflow: hidden;
257
- padding: var(--vuuTableCell-padding, 0 11px 0 12px);
258
- text-overflow: ellipsis;
259
- vertical-align: top;
260
- }
261
- .vuuTableCell-right {
262
- text-align: right;
263
- }
264
- .vuuTableCell-editable {
265
- align-items: center;
266
- display: inline-flex;
267
- text-overflow: unset;
268
- }
269
- .vuuTableCell:focus {
270
- outline: var(--vuuTableCell-outline, solid var(--salt-focused-outlineColor) 2px);
271
- outline-offset: -2px;
272
- box-shadow: inset 0 0 0 var(--cell-outline-width) white;
273
- border-bottom: none;
274
- }
275
- .vuuTableRow-selected .vuuTableCell:not(.vuuTableCell-editable):focus {
276
- outline: var(--vuuTableCell-outline, solid var(--salt-focused-outlineColor) 2px);
277
- outline-offset: -1px;
278
- }
279
- .vuuTableCell-editable:focus {
280
- outline: none;
281
- }
282
-
283
- /* src/table-cell/TableGroupCell.css */
284
- .vuuTableGroupCell {
285
- --group-cell-spacer-width: 20px;
286
- align-items: center;
287
- border-right-color: var(--vuuTableGroupCell-borderColor, var(--salt-separable-tertiary-borderColor));
288
- border-right-style: solid;
289
- border-right-width: 1px;
290
- cursor: pointer;
291
- display: inline-flex;
292
- height: var(--row-height);
293
- line-height: 16px;
294
- }
295
- .vuuTableGroupCell-toggle {
296
- --vuu-icon-height: 16px;
297
- --vuu-icon-size: 16px;
298
- --vuu-icon-width: 8px;
299
- margin-right: 4px;
300
- transition: transform 0.25s;
301
- transform: var(--toggle-icon-transform);
302
- }
303
- .vuuTableGroupCell-spacer {
304
- width: var(--group-cell-spacer-width);
305
- }
306
-
307
- /* src/Row.css */
308
- .vuuTableRow {
309
- background: var(--row-background,var(--table-background));
310
- color: var(--salt-content-secondary-foreground);
311
- border-bottom: 1px solid var(--row-borderColor, var(--table-background));
312
- box-sizing: border-box;
313
- height: var(--row-height);
314
- line-height: calc(var(--row-height) - 1px);
315
- position: absolute;
316
- top: 0;
317
- white-space: nowrap;
318
- }
319
- .vuuTableRow-proxy {
320
- visibility: hidden;
321
- }
322
- .vuuTableRow-even {
323
- --row-background: var(--row-background-even);
324
- }
325
- .vuuTableRow-highlighted {
326
- background: var(--salt-selectable-background-hover);
327
- }
328
- .vuuTableRow-selected,
329
- .vuuTableRow-selectedEnd {
330
- background-color: var(--salt-selectable-background-selected);
331
- }
332
- .vuuTableRow-selectedEnd {
333
- z-index: 1;
334
- }
335
- .vuuTableRow-selectedStart {
336
- --vuu-selection-decorator-left-radius: 5px 0 0 0;
337
- --vuu-selection-decorator-right-radius: 0 5px 0 0;
338
- border-radius: 5px 5px 0 0;
339
- }
340
- .vuuTableRow-selectedEnd {
341
- --vuu-selection-decorator-left-radius: 0 0 0 5px;
342
- --vuu-selection-decorator-right-radius: 0 0 5px 0;
343
- border-radius: 0 0 5px 5px;
344
- }
345
- .vuuTableRow-selectedStart.vuuTableRow-selectedEnd {
346
- --vuu-selection-decorator-left-radius: 5px 0 0 5px;
347
- --vuu-selection-decorator-right-radius: 0 5px 5px 0;
348
- border-radius: 5px 5px 5px 5px;
349
- }
350
- .vuuTableRow-selectedStart:after {
351
- content: "";
352
- position: absolute;
353
- top: -1px;
354
- left: 4px;
355
- height: 1px;
356
- background: var(--vuuTableRow-selectionBlock-borderColor);
357
- width: calc(var(--content-width) - 8px);
358
- z-index: 1;
359
- }
360
- .vuuTableRow-selectedEnd {
361
- border-bottom-color: var(--vuuTableRow-selectionBlock-borderColor, var(--row-borderColor));
362
- }
363
- .vuuTableRow-selectionDecorator {
364
- background: var(--table-background);
365
- display: inline-block;
366
- position: relative;
367
- height: var(--row-height);
368
- width: 4px;
369
- z-index: 2;
370
- }
371
- .vuuTableRow-selectionDecorator.vuuStickyLeft {
372
- left: 0;
373
- position: sticky;
374
- }
375
- .vuuTableRow-selectionDecorator.vuuStickyRight {
376
- right: 0;
377
- position: sticky;
378
- }
379
- .vuuTableRow-selectedStart .vuuTableRow-selectionDecorator:before,
380
- .vuuTableRow-selectedEnd .vuuTableRow-selectionDecorator:before {
381
- content: "";
382
- top: -1px;
383
- right: 0;
384
- bottom: 0;
385
- left: 0;
386
- position: absolute;
387
- background: var(--table-background);
388
- }
389
- .vuuTableRow-selectionDecorator.vuuStickyLeft:before {
390
- border-radius: var(--vuu-selection-decorator-left-radius, 0);
391
- }
392
- .vuuTableRow-selectionDecorator.vuuStickyRight:before {
393
- border-radius: var(--vuu-selection-decorator-right-radius, 0);
394
- }
395
- .vuuTableRow-expanded {
396
- --toggle-icon-transform: rotate(90deg);
397
- }
398
- .vuuDraggable .vuuTableRow {
399
- --cell-borderColor: transparent;
400
- --vuu-selection-decorator-bg: transparent;
401
- transform: none !important;
402
- z-index: 1;
403
- }
404
-
405
- /* src/Table.css */
406
- .vuuTable {
407
- --vuu-table-cell-outlineWidth: 1px;
408
- --table-height: var(--measured-px-height);
409
- --table-width: var(--measured-px-width);
410
- --vuu-table-next-selection-bookend-width: 4px;
411
- --vuu-table-embedded-control-height: calc(var(--row-height) - 3px);
412
- --columnResizer-color: transparent;
413
- --row-height: var(--row-height-prop, var(--vuu-table-row-height, var(--salt-size-base)));
414
- --cell-borderColor: transparent;
415
- --row-borderColor: var(--row-background);
416
- --table-background: var(--salt-container-primary-background);
417
- background: var(--table-background);
418
- font-family: var(--vuuTable-fontFamily,var(--salt-typography-fontFamily, sans-serif));
419
- font-size: var(--vuuTable-fontSize,var(--salt-text-fontSize, 12px));
420
- position: relative;
421
- user-select: none;
422
- }
423
- .vuuTable-zebra {
424
- --row-background-even: var(--table-background);
425
- }
426
- .vuuTable-colLines {
427
- --cell-borderColor: var( );
428
- }
429
- .vuuTable-rowLines {
430
- --row-borderColor: var(--salt-separable-tertiary-borderColor);
431
- }
432
- .vuuTable-scrollbarContainer {
433
- border-bottom: none !important;
434
- border-top: none !important;
435
- border-left: solid 1px var(--salt-container-primary-borderColor);
436
- height: var(--viewport-body-height);
437
- left: 0px;
438
- overflow: auto;
439
- position: absolute;
440
- top: var(--total-header-height);
441
- width: var(--table-width);
442
- }
443
- .vuuTable-scrollbarContainer::-webkit-scrollbar {
444
- border: none;
445
- width: 10px;
446
- }
447
- .vuuTable-scrollbarContainer::-webkit-scrollbar:horizontal {
448
- height: 10px;
449
- }
450
- .vuuTable-scrollbarContainer::-webkit-scrollbar-track {
451
- background-color: white;
452
- }
453
- .vuuTable-scrollbarContainer::-webkit-scrollbar-thumb {
454
- background-clip: padding-box;
455
- border-radius: 10px;
456
- border: 2px solid rgba(0, 0, 0, 0);
457
- background-color: var(--vuu-color-gray-30);
458
- }
459
- .vuuTable-scrollbarContent {
460
- height: calc(var(--content-height) + var(--horizontal-scrollbar-height));
461
- position: absolute;
462
- width: var(--content-width);
463
- }
464
- .vuuTable-contentContainer {
465
- background: var(--table-background);
466
- height: calc(var(--table-height) - var(--horizontal-scrollbar-height));
467
- position: relative;
468
- overflow: auto;
469
- overscroll-behavior: none;
470
- width: calc(var(--table-width) - var(--vertical-scrollbar-width));
471
- }
472
- .vuuTable-contentContainer::-webkit-scrollbar {
473
- display: none;
474
- }
475
- .vuuTable-table {
476
- position: absolute;
477
- top: 0;
478
- left: 0;
479
- table-layout: fixed;
480
- width: var(--content-width);
481
- margin: 0;
482
- border: none;
483
- border-collapse: separate;
484
- border-spacing: 0;
485
- }
486
- .vuuTable-body {
487
- height: var(--content-height);
488
- position: relative;
489
- }
490
- .vuuPinLeft,
491
- .vuuPinRight {
492
- background-color: inherit;
493
- position: sticky;
494
- z-index: 1;
495
- }
496
- .vuuTable-col-headings {
497
- background-color: var(--table-background);
498
- padding: 0 var(--vuu-table-next-selection-bookend-width, 0);
499
- position: sticky;
500
- top: 0;
501
- z-index: 1;
502
- }
503
- .vuuTable-col-headings:hover {
504
- --columnResizer-height: var(--header-height);
505
- --columnResizer-color: var(--salt-separable-tertiary-borderColor);
506
- }
507
- .vuuTable-col-headers {
508
- background-color: var(--table-background);
509
- color: var(--salt-content-secondary-foreground);
510
- white-space: nowrap;
511
- }
512
- .sizer-cell {
513
- border: none !important;
514
- height: 0px;
515
- }
516
- .vuuDraggable-vuuTable {
517
- --header-height: 25px;
518
- --vuuTableHeaderCell-background: var(--salt-container-secondary-background);
519
- }
520
- .vuuDraggable-vuuTable {
521
- --row-height: 25px;
522
- }
523
-
524
- /* src/cell-renderers/checkbox-cell/CheckboxCell.css */
525
- .vuuTableCell .vuuCheckboxIcon {
526
- margin-top: calc(var(--row-height) / 2 - 6px);
527
- }
528
-
529
- /* src/cell-renderers/input-cell/InputCell.css */
530
- .vuuTableInputCell.saltInput-primary {
531
- --salt-focused-outlineStyle: none;
532
- --saltInput-height: var(--vuu-table-embedded-control-height);
533
- --saltInput-minHeight: var(--saltInput-height);
534
- border-radius: 4px;
535
- font-weight: 500;
536
- }
537
- .vuuTableCell:focus .vuuTableInputCell.saltInput-primary,
538
- .vuuTableInputCell.saltInput-primary.saltInput-focused {
539
- border: solid 2px var(--salt-focused-outlineColor);
540
- padding: 0 3px;
541
- }
542
- .vuuTableInputCell-icon {
543
- --vuu-icon-height: 13px;
544
- --vuu-icon-size: 15px;
545
- --vuu-icon-width: 12px;
546
- border-radius: 10px;
547
- }
548
- .vuuTableCell:focus .vuuTableInputCell.saltInput-primary.vuuTableInputCell-error,
549
- .vuuTableInputCell.saltInput-primary.saltInput-focused.vuuTableInputCell-error {
550
- border: solid 2px var(--vuu-color-red-50);
551
- }
552
- .vuuTableInputCell-error.saltInput-primary {
553
- border: solid 1px var(--vuu-color-red-50);
554
- }
555
-
556
- /* src/cell-renderers/toggle-cell/ToggleCell.css */
557
- .vuuTableToggleCell {
558
- --saltButton-borderRadius: 4px;
559
- --saltButton-height: 16px;
560
- font-weight: 500;
561
- position: relative;
562
- top: 1px;
563
- }
564
- .vuuTableToggleCell-side {
565
- --saltButton-minWidth: 40px;
566
- }
567
- .vuuTableToggleCell.vuuCycleStateButton-buy {
568
- background-color: var(--vuu-color-green-50);
569
- }
570
- .vuuTableToggleCell.vuuCycleStateButton-sell {
571
- background-color: var(--vuu-color-red-50);
572
- }
573
- .vuuTableCell .vuuTableToggleCell:focus {
574
- border: solid 2px var(--vuu-color-purple-10) !important;
575
- color: white !important;
576
- height: 18px !important;
577
- top: 0px !important;
578
- }
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}.vuuColumnResizerNext{background-color:var(--columnResizeThumb-color);cursor:col-resize;height:var(--header-height);margin-left:var(--columnResizer-left, auto);position:absolute;right:-5px;width:8px;z-index:1}.vuuColumnResizerNext:hover{--columnResizer-color: var(--vuu-color-purple-10)}.vuuColumnResizerNext: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}.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-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-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 .vuuColumnResizerNext: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(--vuu-color-gray-40);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 .vuuColumnResizerNext: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(--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(--table-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}
579
2
  /*# sourceMappingURL=index.css.map */