@crispy-seed/data-table 0.12.1 → 0.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/data-table-recipe.css +68 -27
- package/dist/data-table-recipe.layered.css +73 -24
- package/dist/index.cjs +480 -349
- package/dist/index.d.ts +22 -2
- package/dist/index.js +480 -349
- package/dist/styles.css +73 -24
- package/package.json +1 -1
|
@@ -349,50 +349,85 @@ tr:hover .seed-data-table__entityActions {
|
|
|
349
349
|
line-height: 15px;
|
|
350
350
|
white-space: nowrap;
|
|
351
351
|
}
|
|
352
|
-
.seed-data-
|
|
352
|
+
.seed-data-table__chipPicker {
|
|
353
353
|
display: flex;
|
|
354
|
-
|
|
355
|
-
flex-wrap: wrap;
|
|
356
|
-
gap: 3px;
|
|
357
|
-
min-width: 0;
|
|
354
|
+
flex-direction: column;
|
|
358
355
|
width: 100%;
|
|
356
|
+
min-width: 0;
|
|
359
357
|
}
|
|
360
|
-
.seed-data-
|
|
358
|
+
.seed-data-table__chipPickerList {
|
|
359
|
+
display: flex;
|
|
360
|
+
flex-direction: column;
|
|
361
|
+
max-height: 240px;
|
|
362
|
+
overflow-y: auto;
|
|
363
|
+
padding: 0 4px 4px;
|
|
364
|
+
}
|
|
365
|
+
.seed-data-table__chipPickerRow {
|
|
361
366
|
box-sizing: border-box;
|
|
362
|
-
display:
|
|
367
|
+
display: flex;
|
|
363
368
|
align-items: center;
|
|
364
|
-
justify-content:
|
|
365
|
-
|
|
366
|
-
width:
|
|
367
|
-
height:
|
|
369
|
+
justify-content: space-between;
|
|
370
|
+
gap: 8px;
|
|
371
|
+
width: 100%;
|
|
372
|
+
min-height: 32px;
|
|
368
373
|
margin: 0;
|
|
369
|
-
|
|
370
|
-
padding: 0;
|
|
374
|
+
padding: 4px 8px;
|
|
371
375
|
border: none;
|
|
372
|
-
border-radius:
|
|
376
|
+
border-radius: 6px;
|
|
373
377
|
background: none;
|
|
378
|
+
font: inherit;
|
|
374
379
|
color: inherit;
|
|
375
|
-
|
|
380
|
+
text-align: start;
|
|
376
381
|
cursor: pointer;
|
|
377
|
-
transition: opacity .12s, background-color .12s;
|
|
378
382
|
}
|
|
379
|
-
.seed-data-
|
|
380
|
-
|
|
381
|
-
background-color: rgba(0, 0, 0, 0.08);
|
|
383
|
+
.seed-data-table__chipPickerRow:hover {
|
|
384
|
+
background-color: #f6f7f7;
|
|
382
385
|
}
|
|
383
|
-
.seed-data-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
386
|
+
.seed-data-table__chipPickerRow:disabled {
|
|
387
|
+
cursor: default;
|
|
388
|
+
opacity: 0.6;
|
|
389
|
+
}
|
|
390
|
+
.seed-data-table__chipPickerBox {
|
|
391
|
+
box-sizing: border-box;
|
|
392
|
+
display: inline-flex;
|
|
393
|
+
align-items: center;
|
|
394
|
+
justify-content: center;
|
|
395
|
+
flex-shrink: 0;
|
|
396
|
+
width: 16px;
|
|
397
|
+
height: 16px;
|
|
398
|
+
border-radius: 4px;
|
|
399
|
+
border: 1px solid rgba(0, 0, 0, 0.25);
|
|
400
|
+
background-color: #ffffff;
|
|
401
|
+
color: #ffffff;
|
|
402
|
+
}
|
|
403
|
+
.seed-data-table__chipPickerBox[data-checked] {
|
|
404
|
+
border-color: #266df0;
|
|
405
|
+
background-color: #266df0;
|
|
406
|
+
}
|
|
407
|
+
.seed-data-table__chipPickerBox svg {
|
|
408
|
+
width: 12px;
|
|
409
|
+
height: 12px;
|
|
410
|
+
}
|
|
411
|
+
.seed-data-table__chipPickerCreate {
|
|
412
|
+
box-sizing: border-box;
|
|
413
|
+
display: flex;
|
|
414
|
+
align-items: center;
|
|
415
|
+
gap: 6px;
|
|
416
|
+
width: 100%;
|
|
417
|
+
min-height: 32px;
|
|
387
418
|
margin: 0;
|
|
388
|
-
padding:
|
|
419
|
+
padding: 4px 8px;
|
|
389
420
|
border: none;
|
|
390
|
-
|
|
421
|
+
border-radius: 6px;
|
|
391
422
|
background: none;
|
|
392
|
-
font
|
|
423
|
+
font: inherit;
|
|
393
424
|
font-size: var(--seed-font-size-t4);
|
|
394
425
|
color: var(--seed-color-fg-neutral);
|
|
395
|
-
|
|
426
|
+
text-align: start;
|
|
427
|
+
cursor: pointer;
|
|
428
|
+
}
|
|
429
|
+
.seed-data-table__chipPickerCreate:hover {
|
|
430
|
+
background-color: #f6f7f7;
|
|
396
431
|
}
|
|
397
432
|
.seed-data-table__expandOverlay {
|
|
398
433
|
box-sizing: border-box;
|
|
@@ -538,6 +573,9 @@ tr:hover .seed-data-table__entityActions {
|
|
|
538
573
|
.seed-data-table__footerCell:last-child {
|
|
539
574
|
border-inline-end: none;
|
|
540
575
|
}
|
|
576
|
+
.seed-data-table__footerCell[data-sticky] {
|
|
577
|
+
z-index: 3;
|
|
578
|
+
}
|
|
541
579
|
.seed-data-table__footerCell .seed-data-table-column-calc-trigger {
|
|
542
580
|
display: flex;
|
|
543
581
|
align-items: center;
|
|
@@ -678,6 +716,9 @@ tr:hover .seed-data-table__entityActions {
|
|
|
678
716
|
font-weight: var(--seed-font-weight-medium);
|
|
679
717
|
white-space: nowrap;
|
|
680
718
|
}
|
|
719
|
+
.seed-data-table__bulkBar[data-above-footer] {
|
|
720
|
+
bottom: calc(var(--seed-dimension-x4) + var(--seed-dimension-x9));
|
|
721
|
+
}
|
|
681
722
|
.seed-data-table__bulkBarCount {
|
|
682
723
|
flex-shrink: 0;
|
|
683
724
|
color: var(--seed-color-fg-neutral);
|
|
@@ -395,53 +395,94 @@
|
|
|
395
395
|
display: inline-flex;
|
|
396
396
|
}
|
|
397
397
|
|
|
398
|
-
.seed-data-
|
|
399
|
-
flex-
|
|
400
|
-
align-items: center;
|
|
401
|
-
gap: 3px;
|
|
398
|
+
.seed-data-table__chipPicker {
|
|
399
|
+
flex-direction: column;
|
|
402
400
|
width: 100%;
|
|
403
401
|
min-width: 0;
|
|
404
402
|
display: flex;
|
|
405
403
|
}
|
|
406
404
|
|
|
407
|
-
.seed-data-
|
|
405
|
+
.seed-data-table__chipPickerList {
|
|
406
|
+
flex-direction: column;
|
|
407
|
+
max-height: 240px;
|
|
408
|
+
padding: 0 4px 4px;
|
|
409
|
+
display: flex;
|
|
410
|
+
overflow-y: auto;
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
.seed-data-table__chipPickerRow {
|
|
408
414
|
box-sizing: border-box;
|
|
409
|
-
width:
|
|
410
|
-
height:
|
|
415
|
+
width: 100%;
|
|
416
|
+
min-height: 32px;
|
|
417
|
+
font: inherit;
|
|
411
418
|
color: inherit;
|
|
412
|
-
|
|
419
|
+
text-align: start;
|
|
413
420
|
cursor: pointer;
|
|
414
421
|
background: none;
|
|
415
422
|
border: none;
|
|
416
|
-
border-radius:
|
|
423
|
+
border-radius: 6px;
|
|
424
|
+
justify-content: space-between;
|
|
425
|
+
align-items: center;
|
|
426
|
+
gap: 8px;
|
|
427
|
+
margin: 0;
|
|
428
|
+
padding: 4px 8px;
|
|
429
|
+
display: flex;
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
.seed-data-table__chipPickerRow:hover {
|
|
433
|
+
background-color: #f6f7f7;
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
.seed-data-table__chipPickerRow:disabled {
|
|
437
|
+
cursor: default;
|
|
438
|
+
opacity: .6;
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
.seed-data-table__chipPickerBox {
|
|
442
|
+
box-sizing: border-box;
|
|
443
|
+
color: #fff;
|
|
444
|
+
background-color: #fff;
|
|
445
|
+
border: 1px solid #00000040;
|
|
446
|
+
border-radius: 4px;
|
|
417
447
|
flex-shrink: 0;
|
|
418
448
|
justify-content: center;
|
|
419
449
|
align-items: center;
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
padding: 0;
|
|
423
|
-
transition: opacity .12s, background-color .12s;
|
|
450
|
+
width: 16px;
|
|
451
|
+
height: 16px;
|
|
424
452
|
display: inline-flex;
|
|
425
453
|
}
|
|
426
454
|
|
|
427
|
-
.seed-data-
|
|
428
|
-
|
|
429
|
-
|
|
455
|
+
.seed-data-table__chipPickerBox[data-checked] {
|
|
456
|
+
background-color: #266df0;
|
|
457
|
+
border-color: #266df0;
|
|
430
458
|
}
|
|
431
459
|
|
|
432
|
-
.seed-data-
|
|
433
|
-
|
|
434
|
-
height:
|
|
435
|
-
|
|
460
|
+
.seed-data-table__chipPickerBox svg {
|
|
461
|
+
width: 12px;
|
|
462
|
+
height: 12px;
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
.seed-data-table__chipPickerCreate {
|
|
466
|
+
box-sizing: border-box;
|
|
467
|
+
width: 100%;
|
|
468
|
+
min-height: 32px;
|
|
469
|
+
font: inherit;
|
|
436
470
|
font-size: var(--seed-font-size-t4);
|
|
437
471
|
color: var(--seed-color-fg-neutral);
|
|
438
|
-
|
|
472
|
+
text-align: start;
|
|
473
|
+
cursor: pointer;
|
|
439
474
|
background: none;
|
|
440
475
|
border: none;
|
|
441
|
-
|
|
442
|
-
|
|
476
|
+
border-radius: 6px;
|
|
477
|
+
align-items: center;
|
|
478
|
+
gap: 6px;
|
|
443
479
|
margin: 0;
|
|
444
|
-
padding:
|
|
480
|
+
padding: 4px 8px;
|
|
481
|
+
display: flex;
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
.seed-data-table__chipPickerCreate:hover {
|
|
485
|
+
background-color: #f6f7f7;
|
|
445
486
|
}
|
|
446
487
|
|
|
447
488
|
.seed-data-table__expandOverlay {
|
|
@@ -603,6 +644,10 @@
|
|
|
603
644
|
border-inline-end: none;
|
|
604
645
|
}
|
|
605
646
|
|
|
647
|
+
.seed-data-table__footerCell[data-sticky] {
|
|
648
|
+
z-index: 3;
|
|
649
|
+
}
|
|
650
|
+
|
|
606
651
|
.seed-data-table__footerCell .seed-data-table-column-calc-trigger {
|
|
607
652
|
align-items: center;
|
|
608
653
|
gap: var(--seed-dimension-x1_5);
|
|
@@ -760,6 +805,10 @@
|
|
|
760
805
|
transform: translateX(-50%);
|
|
761
806
|
}
|
|
762
807
|
|
|
808
|
+
.seed-data-table__bulkBar[data-above-footer] {
|
|
809
|
+
bottom: calc(var(--seed-dimension-x4) + var(--seed-dimension-x9));
|
|
810
|
+
}
|
|
811
|
+
|
|
763
812
|
.seed-data-table__bulkBarCount {
|
|
764
813
|
color: var(--seed-color-fg-neutral);
|
|
765
814
|
font-variant-numeric: tabular-nums;
|