@g1cloud/open-bluesea-grid 1.0.0-alpha.2 → 1.0.0-alpha.4

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.
@@ -0,0 +1 @@
1
+ export {};
package/dist/index.d.ts CHANGED
@@ -1,4 +1,5 @@
1
1
  import './styles/tailwind.css';
2
+ import './icons';
2
3
  export { default as BSGrid } from './component/BSGrid.vue';
3
4
  export { default as BSGridCell } from './component/BSGridCell.vue';
4
5
  export { default as BSGridCellCheckbox } from './component/BSGridCellCheckbox.vue';
@@ -290,20 +290,24 @@
290
290
  visibility: visible;
291
291
  }
292
292
 
293
- .fixed {
294
- position: fixed;
293
+ .absolute {
294
+ position: absolute;
295
295
  }
296
296
 
297
- .relative {
298
- position: relative;
297
+ .fixed {
298
+ position: fixed;
299
299
  }
300
300
 
301
301
  .static {
302
302
  position: static;
303
303
  }
304
304
 
305
- .mx-1\.5 {
306
- margin-inline: calc(var(--spacing) * 1.5);
305
+ .m-1\.5 {
306
+ margin: calc(var(--spacing) * 1.5);
307
+ }
308
+
309
+ .mt-0\.5 {
310
+ margin-top: calc(var(--spacing) * .5);
307
311
  }
308
312
 
309
313
  .mb-1 {
@@ -322,10 +326,6 @@
322
326
  display: none;
323
327
  }
324
328
 
325
- .inline-flex {
326
- display: inline-flex;
327
- }
328
-
329
329
  .table {
330
330
  display: table;
331
331
  }
@@ -358,6 +358,10 @@
358
358
  cursor: pointer;
359
359
  }
360
360
 
361
+ .resize {
362
+ resize: both;
363
+ }
364
+
361
365
  .flex-col {
362
366
  flex-direction: column;
363
367
  }
@@ -366,39 +370,27 @@
366
370
  align-items: center;
367
371
  }
368
372
 
369
- .items-start {
370
- align-items: flex-start;
373
+ .justify-end {
374
+ justify-content: flex-end;
371
375
  }
372
376
 
373
377
  .gap-1 {
374
378
  gap: calc(var(--spacing) * 1);
375
379
  }
376
380
 
377
- .gap-8 {
378
- gap: calc(var(--spacing) * 8);
379
- }
380
-
381
- .rounded-none {
382
- border-radius: 0;
383
- }
384
-
385
381
  .border {
386
382
  border-style: var(--tw-border-style);
387
383
  border-width: 1px;
388
384
  }
389
385
 
390
- .pt-1 {
391
- padding-top: calc(var(--spacing) * 1);
392
- }
393
-
394
- .pr-2 {
395
- padding-right: calc(var(--spacing) * 2);
396
- }
397
-
398
386
  .text-center {
399
387
  text-align: center;
400
388
  }
401
389
 
390
+ .text-left {
391
+ text-align: left;
392
+ }
393
+
402
394
  .text-right {
403
395
  text-align: right;
404
396
  }
@@ -420,6 +412,61 @@
420
412
  }
421
413
  }
422
414
 
415
+ @layer bluesea-grid-base {
416
+ :root {
417
+ --bs-grid-cell-padding: 8px;
418
+ --bs-grid-border-color: var(--bs-gray-200);
419
+ --bs-grid-border-radius: 0;
420
+ --bs-grid-border-width-x: 0;
421
+ --bs-grid-border-width-y: 1px;
422
+ --bs-grid-bg: var(--bs-gray-100);
423
+ --bs-grid-shadow: 0 1px 8px #00000008, 0 1px 4px #00000008;
424
+ --bs-grid-header-bg: var(--bs-gray-100);
425
+ --bs-grid-header-text: var(--bs-body-text);
426
+ --bs-grid-header-weight: 400;
427
+ --bs-grid-header-border-color: var(--bs-gray-200);
428
+ --bs-grid-header-filter-bg: #eaf1fe;
429
+ --bs-grid-header-min-height: 36.5px;
430
+ --bs-grid-row-odd-bg: var(--bs-body-bg);
431
+ --bs-grid-row-even-bg: var(--bs-gray-100);
432
+ --bs-grid-row-hover-bg: var(--bs-gray-200);
433
+ --bs-grid-row-selected-bg: #def;
434
+ --bs-grid-cell-text: var(--bs-body-text);
435
+ --bs-grid-cell-border-color: transparent;
436
+ --bs-grid-func-cell-min-width: 32px;
437
+ --bs-grid-serial-cell-min-width: 40px;
438
+ --bs-grid-edit-cell-min-width: 33px;
439
+ --bs-grid-checkbox-color: var(--bs-color-text-light);
440
+ --bs-grid-checkbox-checked-color: var(--bs-color-text);
441
+ --bs-grid-scroll-shadow: linear-gradient(90deg, #0000000d 0%, #0000 100%);
442
+ --bs-grid-scroll-shadow-dark: linear-gradient(90deg, #ffffff1a 0%, #fff0 100%);
443
+ --bs-grid-header-scroll-shadow: 0 1px 4px #00000012;
444
+ --bs-grid-control-text: var(--bs-gray-400);
445
+ --bs-grid-control-gap: 8px;
446
+ --bs-date-range-filter-bg: var(--bs-body-bg);
447
+ --bs-date-range-filter-border: var(--bs-border);
448
+ --bs-date-range-filter-border-radius: var(--bs-border-radius);
449
+ --bs-date-range-preset-bg: var(--bs-gray-200);
450
+ --bs-date-range-preset-active-bg: #000;
451
+ --bs-date-range-preset-active-text: var(--bs-white);
452
+ --bs-date-range-preset-border-radius: .25rem;
453
+ --bs-text-filter-bg: var(--bs-body-bg);
454
+ --bs-text-filter-border: var(--bs-border);
455
+ --bs-text-filter-border-radius: var(--bs-border-radius);
456
+ --bs-grid-lookup-bg: transparent;
457
+ --bs-grid-lookup-border: var(--bs-border);
458
+ --bs-grid-lookup-shadow: 2px 2px 8px #0000001a;
459
+ --bs-grid-setting-item-bg: var(--bs-body-bg);
460
+ --bs-grid-setting-item-border: var(--bs-border-light);
461
+ --bs-grid-setting-item-hover-bg: var(--bs-color-hover);
462
+ }
463
+
464
+ [data-theme="dark"] {
465
+ --bs-grid-header-filter-bg: var(--bs-primary-400);
466
+ --bs-grid-scroll-shadow: var(--bs-grid-scroll-shadow-dark);
467
+ }
468
+ }
469
+
423
470
  @property --tw-rotate-x {
424
471
  syntax: "*";
425
472
  inherits: false
@@ -532,32 +579,30 @@
532
579
  top: 0;
533
580
  right: 0;
534
581
  bottom: -500px;
535
- }.sort-icon[data-v-fbb8ef01] {
582
+ }.sort-icon[data-v-37a577b0] {
536
583
  line-height: 1;
537
584
  }
538
- .sort-icon.descending[data-v-fbb8ef01] {
585
+ .sort-icon.descending[data-v-37a577b0] {
539
586
  transform: rotate(180deg);
540
- }.checked .font-icon {
541
- font-variation-settings: "FILL" 1, "wght" 300, "GRAD" 0, "opsz" 48;
587
+ }.checked .bs-icon {
542
588
  color: var(--primary);
543
- }.checked .font-icon[data-v-0211159f] {
544
- font-variation-settings: "FILL" 1, "wght" 700, "GRAD" 0, "opsz" 48;
589
+ }.checked .bs-icon[data-v-704bd1b5] {
545
590
  color: var(--primary);
546
591
  }
547
- .disabled[data-v-0211159f] {
548
- color: var(--gray-400);
549
- }.drag-handle > .font-icon {
592
+ .disabled[data-v-704bd1b5] {
593
+ color: var(--bs-gray-400);
594
+ }
595
+ .drag-handle {
596
+ text-align: center;
597
+ }
598
+ .drag-handle > .bs-icon {
550
599
  font-size: 1.8em;
551
600
  margin-left: -2px;
552
601
  cursor: grab;
553
602
  user-select: none;
603
+ &:active {
604
+ cursor: grabbing;
554
605
  }
555
- .drag-handle > .font-icon:active {
556
- cursor: grabbing;
557
- }:root {
558
- --grid-cell-padding: 8px;
559
- --grid-row-odd-color: var(--body-bg);
560
- --grid-row-even-color: var(--gray-100);
561
606
  }
562
607
  .bs-grid {
563
608
  position: relative;
@@ -567,61 +612,86 @@
567
612
  .bs-grid > .table-wrap {
568
613
  overflow: auto;
569
614
  flex-grow: 1;
570
- background-color: var(--gray-100);
571
- border-top: 1px solid var(--gray-200);
572
- border-bottom: 1px solid var(--gray-200);
615
+ background-color: var(--bs-grid-bg);
616
+ border-top: var(--bs-grid-border-width-y) solid var(--bs-grid-border-color);
617
+ border-bottom: var(--bs-grid-border-width-y) solid var(--bs-grid-border-color);
618
+ border-left: var(--bs-grid-border-width-x) solid var(--bs-grid-border-color);
619
+ border-right: var(--bs-grid-border-width-x) solid var(--bs-grid-border-color);
620
+ border-radius: var(--bs-grid-border-radius);
573
621
  }
574
622
  .bs-grid > .table-wrap > table {
575
623
  flex-grow: 1;
576
624
  table-layout: fixed;
577
625
  border-collapse: collapse;
578
- box-shadow: 0 1px 8px rgba(0, 0, 0, 0.03), 0 1px 4px rgba(0, 0, 0, 0.03);
626
+ box-shadow: var(--bs-grid-shadow);
579
627
  }
580
628
  .bs-grid > .table-wrap > table > thead > tr > td,
581
629
  .bs-grid > .table-wrap > table > thead > tr > th,
582
630
  .bs-grid > .table-wrap > table tbody > tr > td,
583
631
  .bs-grid > .table-wrap > table tbody > tr > th {
584
- vertical-align: middle;
632
+ height: 1px;
585
633
  }
586
634
  .bs-grid > .table-wrap > table > thead > tr > td > div,
587
635
  .bs-grid > .table-wrap > table > thead > tr > th > div,
588
636
  .bs-grid > .table-wrap > table tbody > tr > td > div,
589
637
  .bs-grid > .table-wrap > table tbody > tr > th > div {
590
- padding: var(--grid-cell-padding);
638
+ padding: var(--bs-grid-cell-padding);
591
639
  overflow: hidden;
592
640
  min-height: 1em;
641
+ height: 100%;
642
+ width: 100%;
643
+ display: flex;
644
+ align-items: center;
645
+ justify-content: start;
593
646
  }
594
647
  .bs-grid > .table-wrap > table > thead > tr > td > div > a,
595
648
  .bs-grid > .table-wrap > table > thead > tr > th > div > a,
596
649
  .bs-grid > .table-wrap > table tbody > tr > td > div > a,
597
650
  .bs-grid > .table-wrap > table tbody > tr > th > div > a {
598
- color: var(--body-text) !important;
651
+ color: var(--bs-grid-cell-text) !important;
652
+ }
653
+ .bs-grid > .table-wrap > table > thead > tr > td.text-center > div,
654
+ .bs-grid > .table-wrap > table > thead > tr > th.text-center > div,
655
+ .bs-grid > .table-wrap > table tbody > tr > td.text-center > div,
656
+ .bs-grid > .table-wrap > table tbody > tr > th.text-center > div {
657
+ justify-content: center;
658
+ }
659
+ .bs-grid > .table-wrap > table > thead > tr > td.text-right > div,
660
+ .bs-grid > .table-wrap > table > thead > tr > th.text-right > div,
661
+ .bs-grid > .table-wrap > table tbody > tr > td.text-right > div,
662
+ .bs-grid > .table-wrap > table tbody > tr > th.text-right > div {
663
+ justify-content: end;
664
+ }
665
+ .bs-grid > .table-wrap > table > thead > tr > td.text-left > div,
666
+ .bs-grid > .table-wrap > table > thead > tr > th.text-left > div,
667
+ .bs-grid > .table-wrap > table tbody > tr > td.text-left > div,
668
+ .bs-grid > .table-wrap > table tbody > tr > th.text-left > div {
669
+ justify-content: start;
599
670
  }
600
671
  .bs-grid > .table-wrap > table > thead > tr > td.editing > div,
601
672
  .bs-grid > .table-wrap > table tbody > tr > td.editing > div {
602
673
  overflow: visible;
603
674
  }
604
675
  .bs-grid > .table-wrap > table > thead > tr.header-row > .func-cell {
605
- min-width: 32px;
606
- line-height: 1;
676
+ min-width: var(--bs-grid-func-cell-min-width);
607
677
  }
608
678
  .bs-grid > .table-wrap > table > thead > tr.header-row > .func-cell > div {
609
- border-right: 1px solid var(--gray-200);
679
+ border-right: 1px solid var(--bs-grid-header-border-color);
610
680
  }
611
681
  .bs-grid > .table-wrap > table > thead > tr.header-row > .func-cell:last-child > div {
612
682
  border-right: 0 none;
613
683
  }
614
684
  .bs-grid > .table-wrap > table > thead > tr.header-row > .func-cell.checkbox {
615
- color: var(--color-text-light);
685
+ color: var(--bs-grid-checkbox-color);
616
686
  }
617
687
  .bs-grid > .table-wrap > table > thead > tr.header-row > .func-cell.checkbox.checked {
618
- color: var(--color-text);
688
+ color: var(--bs-grid-checkbox-checked-color);
619
689
  }
620
690
  .bs-grid > .table-wrap > table > thead > tr.header-row > .func-cell.serial-no {
621
- min-width: 40px;
691
+ min-width: var(--bs-grid-serial-cell-min-width);
622
692
  }
623
693
  .bs-grid > .table-wrap > table > thead > tr.header-row > .func-cell.edit-icon {
624
- min-width: 33px;
694
+ min-width: var(--bs-grid-edit-cell-min-width);
625
695
  }
626
696
  .bs-grid > .table-wrap > table > thead > tr.header-row:has(.has-filter) th > div {
627
697
  height: 50px;
@@ -632,21 +702,23 @@
632
702
  z-index: 1;
633
703
  white-space: nowrap;
634
704
  vertical-align: middle;
635
- background-color: var(--gray-100);
705
+ background-color: var(--bs-grid-header-bg);
706
+ color: var(--bs-grid-header-text);
707
+ font-weight: var(--bs-grid-header-weight);
636
708
  }
637
709
  .bs-grid > .table-wrap > table > thead > tr.header-row > th:has(.bs-select,
638
710
  .bs-multi-select,
639
711
  .bs-tree-select,
640
712
  .bs-tree-multi-select):not(:has(.empty)) {
641
- background-color: var(--primary-100);
713
+ background-color: var(--bs-grid-header-filter-bg);
642
714
  }
643
715
  .bs-grid > .table-wrap > table > thead > tr.header-row > th:last-child > div {
644
716
  border-right-color: transparent;
645
717
  }
646
718
  .bs-grid > .table-wrap > table > thead > tr.header-row > th > div {
647
- border-right: 1px solid var(--gray-200);
648
- border-bottom: 1px solid var(--gray-200);
649
- min-height: 36.5px;
719
+ border-right: 1px solid var(--bs-grid-header-border-color);
720
+ border-bottom: 1px solid var(--bs-grid-header-border-color);
721
+ min-height: var(--bs-grid-header-min-height);
650
722
  text-align: left;
651
723
  display: flex;
652
724
  flex-direction: column;
@@ -688,55 +760,52 @@
688
760
  position: relative;
689
761
  }
690
762
  .bs-grid > .table-wrap > table > tbody > tr.data-row > td > div {
691
- border-right: 1px solid transparent;
763
+ border-right: 1px solid var(--bs-grid-cell-border-color);
692
764
  }
693
765
  .bs-grid > .table-wrap > table > tbody > tr.data-row:nth-child(odd) > td {
694
- background-color: var(--grid-row-odd-color);
766
+ background-color: var(--bs-grid-row-odd-bg);
695
767
  }
696
768
  .bs-grid > .table-wrap > table > tbody > tr.data-row:nth-child(odd) > td > div {
697
- border-color: var(--grid-row-odd-color);
769
+ border-color: var(--bs-grid-row-odd-bg);
698
770
  }
699
771
  .bs-grid > .table-wrap > table > tbody > tr.data-row:nth-child(even) > td {
700
- background-color: var(--grid-row-even-color);
772
+ background-color: var(--bs-grid-row-even-bg);
701
773
  }
702
774
  .bs-grid > .table-wrap > table > tbody > tr.data-row:nth-child(even) > td > div {
703
- border-color: var(--grid-row-even-color);
704
- }
705
- .bs-grid > .table-wrap > table > tbody > tr > td.func-cell {
706
- line-height: 1;
775
+ border-color: var(--bs-grid-row-even-bg);
707
776
  }
708
777
  .bs-grid > .table-wrap > table > tbody > tr > td.func-cell.serial-no {
709
778
  text-align: right;
710
779
  }
711
780
  .bs-grid > .table-wrap > table > tbody > tr > td.func-cell.checkbox {
712
- color: var(--color-text-light);
781
+ color: var(--bs-grid-checkbox-color);
713
782
  }
714
783
  .bs-grid > .table-wrap > table > tbody > tr > td.func-cell.checkbox.checked {
715
- color: var(--color-text);
784
+ color: var(--bs-grid-checkbox-checked-color);
716
785
  }
717
786
  .bs-grid > .table-wrap > table > tbody > tr.data-row:hover > td {
718
- background-color: var(--gray-200);
787
+ background-color: var(--bs-grid-row-hover-bg);
719
788
  }
720
789
  .bs-grid > .table-wrap > table > tbody > tr.data-row:hover > td > div {
721
- border-right-color: var(--gray-200);
790
+ border-right-color: var(--bs-grid-row-hover-bg);
722
791
  }
723
792
  .bs-grid > .table-wrap > table > tbody > tr.data-row:hover > td:first-child > div {
724
- border-right-color: var(--gray-200);
793
+ border-right-color: var(--bs-grid-row-hover-bg);
725
794
  }
726
795
  .bs-grid > .table-wrap > table > tbody > tr.data-row:hover > td:last-child > div {
727
- border-right-color: var(--gray-200);
796
+ border-right-color: var(--bs-grid-row-hover-bg);
728
797
  }
729
798
  .bs-grid > .table-wrap > table > tbody > tr.data-row.selected > td {
730
- background-color: var(--primary-200);
799
+ background-color: var(--bs-grid-row-selected-bg);
731
800
  }
732
801
  .bs-grid > .table-wrap > table > tbody > tr.data-row.selected > td > div {
733
- border-right-color: var(--primary-200);
802
+ border-right-color: var(--bs-grid-row-selected-bg);
734
803
  }
735
804
  .bs-grid > .table-wrap > table > tbody > tr.data-row.selected:hover td:first-child > div {
736
- border-right-color: var(--primary-200) !important;
805
+ border-right-color: var(--bs-grid-row-selected-bg) !important;
737
806
  }
738
807
  .bs-grid > .table-wrap > table > tbody > tr.data-row.selected:hover td:last-child > div {
739
- border-right-color: var(--primary-200) !important;
808
+ border-right-color: var(--bs-grid-row-selected-bg) !important;
740
809
  }
741
810
  .bs-grid.h-scrolled .header-row .fixed:after,
742
811
  .bs-grid.h-scrolled .data-row .fixed:after {
@@ -747,21 +816,16 @@
747
816
  width: 8px;
748
817
  height: 100%;
749
818
  content: "";
750
- background: linear-gradient(90deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0) 100%);
819
+ background: var(--bs-grid-scroll-shadow);
751
820
  }
752
821
  .bs-grid.v-scrolled .header-row > th > div {
753
- box-shadow: 0 1px 4px rgba(0, 0, 0, 0.07);
754
- }
755
- [data-theme=dark] .bs-grid.h-scrolled .header-row .fixed:after,
756
- [data-theme=dark] .bs-grid.h-scrolled .data-row .fixed:after {
757
- background: linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
822
+ box-shadow: var(--bs-grid-header-scroll-shadow);
758
823
  }
759
824
  [data-theme=dark] .bs-grid > .table-wrap > table > thead > tr.header-row > th:has(.bs-select,
760
825
  .bs-multi-select,
761
826
  .bs-tree-select,
762
827
  .bs-tree-multi-select):not(:has(.empty)) {
763
- background-color: var(--primary-400);
764
- color: var(--dark);
828
+ color: var(--bs-gray-700);
765
829
  }
766
830
  [data-theme=dark] .bs-grid > .table-wrap > table > thead > tr.header-row > th:has(.bs-select,
767
831
  .bs-multi-select,
@@ -779,111 +843,121 @@
779
843
  .bs-multi-select,
780
844
  .bs-tree-select,
781
845
  .bs-tree-multi-select):not(:has(.empty)) .bs-tree-multi-select {
782
- color: var(--dark);
846
+ color: var(--bs-gray-700);
783
847
  }
784
848
  .bs-grid.with-border > .table-wrap > table > tbody > tr {
785
- border-bottom: 1px solid var(--gray-200);
849
+ border-bottom: 1px solid var(--bs-grid-border-color);
786
850
  }
787
851
  .bs-grid.with-border > .table-wrap > table > tbody > tr.data-row:nth-child(even):not(:hover) > td {
788
- background-color: var(--grid-row-odd-color);
852
+ background-color: var(--bs-grid-row-odd-bg);
789
853
  }
790
854
  .bs-grid.with-border > .table-wrap > table > tbody > tr.data-row:nth-child(even):not(:hover) > td > div {
791
- border-color: var(--grid-row-odd-color);
855
+ border-color: var(--bs-grid-row-odd-bg);
792
856
  }
793
857
  .bs-grid > .table-wrap > table > tbody > tr.data-row:hover > .bs-grid-merged-cell {
794
- background-color: var(--grid-row-odd-color);
858
+ background-color: var(--bs-grid-row-odd-bg);
795
859
  }.bs-grid-control {
796
860
  display: flex;
797
861
  align-items: center;
798
- color: var(--gray);
862
+ color: var(--bs-grid-control-text);
799
863
  }
800
864
  .bs-grid-control > div {
801
- padding-right: 8px;
865
+ padding-right: var(--bs-grid-control-gap);
802
866
  }
803
867
  .bs-grid-control .bs-select.page-length {
804
868
  min-width: auto;
869
+ background-color: transparent;
805
870
  }
806
871
  .bs-grid-control .bs-select.page-length .selected {
807
872
  height: 18px;
808
873
  border: 0;
809
874
  padding: 0;
810
875
  border-radius: 0;
811
- }/*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */
876
+ background-color: transparent;
877
+ }
812
878
  .bs-text-filter {
879
+ position: relative;
880
+ display: inline-flex;
813
881
  flex-direction: column;
814
882
  align-items: flex-start;
815
883
  width: 300px;
816
884
  min-width: 100px;
817
- display: inline-flex;
818
- position: relative;
819
885
  }
820
886
  .bs-text-filter .input-wrap {
821
- border-radius: var(--radius-sm, .25rem);
822
- border: 1px solid var(--border);
823
- align-items: flex-start;
824
887
  width: 100%;
888
+ align-items: flex-start;
825
889
  display: flex;
890
+ border: 1px solid var(--bs-text-filter-border);
891
+ border-radius: var(--bs-text-filter-border-radius);
892
+ background-color: var(--bs-text-filter-bg);
826
893
  }
827
894
  .bs-text-filter .textarea-wrap {
828
- border-radius: var(--radius-sm, .25rem);
829
- border: 1px solid var(--border);
830
- align-items: flex-start;
831
895
  width: 100%;
832
- height: 72px;
896
+ align-items: flex-start;
833
897
  display: flex;
834
- }
835
- .bs-text-filter .filter-mode-btn {
836
- min-width: 1.2em;
837
- padding: 2px;
898
+ border: 1px solid var(--bs-text-filter-border);
899
+ border-radius: var(--bs-text-filter-border-radius);
900
+ background-color: var(--bs-text-filter-bg);
901
+ height: 72px;
838
902
  }
839
903
  .bs-text-filter .textarea-wrap textarea {
840
904
  resize: none;
841
905
  }
842
906
  .bs-text-filter .filter-caption {
843
- margin-top: calc(var(--spacing, .25rem) * 2);
844
- color: var(--gray-400);
845
- font-size: .923em;
907
+ margin-top: 0.5rem;
908
+ font-size: 0.923em;
909
+ color: var(--bs-gray-400);
846
910
  }
847
911
  .bs-text-filter .filter-caption > span {
848
- margin-right: calc(var(--spacing, .25rem) * 1);
912
+ margin-right: 0.25rem;
849
913
  }
850
- .bs-text-filter .filter-caption > span:not(:last-child):after {
914
+ .bs-text-filter .filter-caption > span:not(:last-child)::after {
851
915
  content: ",";
852
916
  }
853
- .bs-text-filter .input-wrap input, .bs-text-filter .textarea-wrap textarea {
917
+ .bs-text-filter .input-wrap input,
918
+ .bs-text-filter .textarea-wrap textarea {
854
919
  flex-grow: 1;
855
- height: 100%;
856
920
  padding: 4px;
921
+ height: 100%;
857
922
  }
858
- .bs-text-filter.modified .input-wrap, .bs-text-filter.modified .textarea-wrap {
923
+ .bs-text-filter.modified .input-wrap,
924
+ .bs-text-filter.modified .textarea-wrap {
859
925
  border-color: var(--primary) !important;
860
926
  }
861
- .bs-text-filter.modified .input-wrap input, .bs-text-filter.modified .input-wrap textarea, .bs-text-filter.modified .textarea-wrap input, .bs-text-filter.modified .textarea-wrap textarea {
927
+ .bs-text-filter.modified .input-wrap input,
928
+ .bs-text-filter.modified .input-wrap textarea,
929
+ .bs-text-filter.modified .textarea-wrap input,
930
+ .bs-text-filter.modified .textarea-wrap textarea {
862
931
  color: var(--primary) !important;
863
932
  }
864
- .bs-text-filter.error .input-wrap, .bs-text-filter.error .textarea-wrap {
865
- border-color: var(--danger) !important;
933
+ .bs-text-filter.error .input-wrap,
934
+ .bs-text-filter.error .textarea-wrap {
935
+ border-color: var(--bs-color-error) !important;
866
936
  }
867
- .bs-text-filter.error .input-wrap input, .bs-text-filter.error .input-wrap textarea, .bs-text-filter.error .textarea-wrap input, .bs-text-filter.error .textarea-wrap textarea {
868
- color: var(--danger) !important;
937
+ .bs-text-filter.error .input-wrap input,
938
+ .bs-text-filter.error .input-wrap textarea,
939
+ .bs-text-filter.error .textarea-wrap input,
940
+ .bs-text-filter.error .textarea-wrap textarea {
941
+ color: var(--bs-color-error) !important;
869
942
  }
870
- /*! tailwindcss v4.1.16 | MIT License | https://tailwindcss.com */
943
+
871
944
  .bs-date-range-filter .input-area {
872
- border-radius: var(--radius-sm, .25rem);
873
945
  width: 100%;
874
- padding-right: calc(var(--spacing, .25rem) * 2);
875
- border: 1px solid var(--border);
876
- align-items: center;
877
946
  display: flex;
947
+ align-items: center;
948
+ padding-right: 0.5rem;
949
+ border: 1px solid var(--bs-date-range-filter-border);
950
+ border-radius: var(--bs-date-range-filter-border-radius);
951
+ background-color: var(--bs-date-range-filter-bg);
878
952
  }
879
- .bs-date-range-filter .input-area .font-icon {
880
- margin-inline: calc(var(--spacing, .25rem) * 1.5);
881
- font-size: var(--text-sm, .875rem);
882
- line-height: var(--tw-leading, var(--text-sm--line-height, calc(1.25 / .875)));
953
+ .bs-date-range-filter .input-area .bs-icon {
954
+ margin: 0 0.375rem;
955
+ font-size: 0.875rem;
956
+ line-height: 1.25rem;
883
957
  }
884
958
  .bs-date-range-filter .input-area input {
885
- padding-right: calc(var(--spacing, .25rem) * 0);
886
959
  border-radius: 0;
960
+ padding-right: 0;
887
961
  width: 9em;
888
962
  }
889
963
  .date-filters .bs-clickable {
@@ -901,6 +975,6 @@
901
975
  }.bs-grid-lookup {
902
976
  display: flex;
903
977
  gap: 16px;
904
- background-color: var(--body-bg);
978
+ background-color: var(--bs-grid-lookup-bg);
905
979
  line-height: 1;
906
980
  }