@osdk/react-components 0.2.0-beta.26 → 0.2.0-beta.28
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/CHANGELOG.md +14 -0
- package/README.md +58 -3
- package/build/browser/base-components/checkbox/Checkbox.js +6 -2
- package/build/browser/base-components/checkbox/Checkbox.js.map +1 -1
- package/build/browser/base-components/checkbox/Checkbox.module.css +7 -2
- package/build/browser/filter-list/FilterListApi.js.map +1 -1
- package/build/browser/filter-list/FilterListItemApi.js.map +1 -1
- package/build/browser/filter-list/base/ExcludeDropdown.js +4 -3
- package/build/browser/filter-list/base/ExcludeDropdown.js.map +1 -1
- package/build/browser/filter-list/base/FilterIcons.js +7 -1
- package/build/browser/filter-list/base/FilterIcons.js.map +1 -1
- package/build/browser/filter-list/base/FilterList.module.css +0 -3
- package/build/browser/filter-list/base/FilterListContent.js +38 -17
- package/build/browser/filter-list/base/FilterListContent.js.map +1 -1
- package/build/browser/filter-list/base/FilterListItem.js +33 -1
- package/build/browser/filter-list/base/FilterListItem.js.map +1 -1
- package/build/browser/filter-list/base/FilterListItem.module.css +9 -6
- package/build/browser/filter-list/base/FilterListItem.module.css.js +1 -1
- package/build/browser/filter-list/base/SortableFilterListItem.js +3 -2
- package/build/browser/filter-list/base/SortableFilterListItem.js.map +1 -1
- package/build/browser/filter-list/base/inputs/ListogramInput.js +25 -10
- package/build/browser/filter-list/base/inputs/ListogramInput.js.map +1 -1
- package/build/browser/filter-list/base/inputs/ListogramInput.module.css +8 -0
- package/build/browser/filter-list/base/inputs/ListogramInput.module.css.js +1 -0
- package/build/browser/filter-list/base/inputs/NullValueWrapper.js +1 -1
- package/build/browser/filter-list/base/inputs/NullValueWrapper.js.map +1 -1
- package/build/browser/filter-list/base/inputs/RangeInput.js +5 -3
- package/build/browser/filter-list/base/inputs/RangeInput.js.map +1 -1
- package/build/browser/filter-list/base/inputs/RangeInput.module.css +0 -6
- package/build/browser/filter-list/base/inputs/index.js +0 -1
- package/build/browser/filter-list/base/inputs/index.js.map +1 -1
- package/build/browser/filter-list/hooks/useFilterListState.js +7 -11
- package/build/browser/filter-list/hooks/useFilterListState.js.map +1 -1
- package/build/browser/filter-list/hooks/usePropertyAggregation.js +7 -2
- package/build/browser/filter-list/hooks/usePropertyAggregation.js.map +1 -1
- package/build/browser/filter-list/inputs/LinkedPropertyInput.js +0 -35
- package/build/browser/filter-list/inputs/LinkedPropertyInput.js.map +1 -1
- package/build/browser/filter-list/inputs/ListogramFilterInput.js +5 -2
- package/build/browser/filter-list/inputs/ListogramFilterInput.js.map +1 -1
- package/build/browser/filter-list/inputs/PropertyFilterInput.js +0 -13
- package/build/browser/filter-list/inputs/PropertyFilterInput.js.map +1 -1
- package/build/browser/filter-list/utils/filterStateToWhereClause.js +2 -7
- package/build/browser/filter-list/utils/filterStateToWhereClause.js.map +1 -1
- package/build/browser/styles.css +24 -120
- package/build/cjs/public/experimental.cjs +1353 -1457
- package/build/cjs/public/experimental.cjs.map +1 -1
- package/build/cjs/public/experimental.css +133 -189
- package/build/cjs/public/experimental.css.map +1 -1
- package/build/cjs/public/experimental.d.cts +6 -14
- package/build/esm/base-components/checkbox/Checkbox.js +6 -2
- package/build/esm/base-components/checkbox/Checkbox.js.map +1 -1
- package/build/esm/base-components/checkbox/Checkbox.module.css +7 -2
- package/build/esm/filter-list/FilterListApi.js.map +1 -1
- package/build/esm/filter-list/FilterListItemApi.js.map +1 -1
- package/build/esm/filter-list/base/ExcludeDropdown.js +4 -3
- package/build/esm/filter-list/base/ExcludeDropdown.js.map +1 -1
- package/build/esm/filter-list/base/FilterIcons.js +7 -1
- package/build/esm/filter-list/base/FilterIcons.js.map +1 -1
- package/build/esm/filter-list/base/FilterList.module.css +0 -3
- package/build/esm/filter-list/base/FilterListContent.js +38 -17
- package/build/esm/filter-list/base/FilterListContent.js.map +1 -1
- package/build/esm/filter-list/base/FilterListItem.js +33 -1
- package/build/esm/filter-list/base/FilterListItem.js.map +1 -1
- package/build/esm/filter-list/base/FilterListItem.module.css +9 -6
- package/build/esm/filter-list/base/SortableFilterListItem.js +3 -2
- package/build/esm/filter-list/base/SortableFilterListItem.js.map +1 -1
- package/build/esm/filter-list/base/inputs/ListogramInput.js +25 -10
- package/build/esm/filter-list/base/inputs/ListogramInput.js.map +1 -1
- package/build/esm/filter-list/base/inputs/ListogramInput.module.css +8 -0
- package/build/esm/filter-list/base/inputs/NullValueWrapper.js +1 -1
- package/build/esm/filter-list/base/inputs/NullValueWrapper.js.map +1 -1
- package/build/esm/filter-list/base/inputs/RangeInput.js +5 -3
- package/build/esm/filter-list/base/inputs/RangeInput.js.map +1 -1
- package/build/esm/filter-list/base/inputs/RangeInput.module.css +0 -6
- package/build/esm/filter-list/base/inputs/index.js +0 -1
- package/build/esm/filter-list/base/inputs/index.js.map +1 -1
- package/build/esm/filter-list/hooks/useFilterListState.js +7 -11
- package/build/esm/filter-list/hooks/useFilterListState.js.map +1 -1
- package/build/esm/filter-list/hooks/usePropertyAggregation.js +7 -2
- package/build/esm/filter-list/hooks/usePropertyAggregation.js.map +1 -1
- package/build/esm/filter-list/inputs/LinkedPropertyInput.js +0 -35
- package/build/esm/filter-list/inputs/LinkedPropertyInput.js.map +1 -1
- package/build/esm/filter-list/inputs/ListogramFilterInput.js +5 -2
- package/build/esm/filter-list/inputs/ListogramFilterInput.js.map +1 -1
- package/build/esm/filter-list/inputs/PropertyFilterInput.js +0 -13
- package/build/esm/filter-list/inputs/PropertyFilterInput.js.map +1 -1
- package/build/esm/filter-list/utils/filterStateToWhereClause.js +2 -7
- package/build/esm/filter-list/utils/filterStateToWhereClause.js.map +1 -1
- package/build/types/base-components/checkbox/Checkbox.d.ts +2 -1
- package/build/types/base-components/checkbox/Checkbox.d.ts.map +1 -1
- package/build/types/filter-list/FilterListApi.d.ts +0 -7
- package/build/types/filter-list/FilterListApi.d.ts.map +1 -1
- package/build/types/filter-list/FilterListItemApi.d.ts +6 -7
- package/build/types/filter-list/FilterListItemApi.d.ts.map +1 -1
- package/build/types/filter-list/base/ExcludeDropdown.d.ts.map +1 -1
- package/build/types/filter-list/base/FilterIcons.d.ts +1 -0
- package/build/types/filter-list/base/FilterIcons.d.ts.map +1 -1
- package/build/types/filter-list/base/FilterListContent.d.ts.map +1 -1
- package/build/types/filter-list/base/FilterListItem.d.ts.map +1 -1
- package/build/types/filter-list/base/SortableFilterListItem.d.ts +2 -1
- package/build/types/filter-list/base/SortableFilterListItem.d.ts.map +1 -1
- package/build/types/filter-list/base/inputs/ListogramInput.d.ts +2 -1
- package/build/types/filter-list/base/inputs/ListogramInput.d.ts.map +1 -1
- package/build/types/filter-list/base/inputs/RangeInput.d.ts.map +1 -1
- package/build/types/filter-list/base/inputs/index.d.ts +0 -1
- package/build/types/filter-list/base/inputs/index.d.ts.map +1 -1
- package/build/types/filter-list/hooks/usePropertyAggregation.d.ts +1 -0
- package/build/types/filter-list/hooks/usePropertyAggregation.d.ts.map +1 -1
- package/build/types/filter-list/inputs/LinkedPropertyInput.d.ts.map +1 -1
- package/build/types/filter-list/inputs/ListogramFilterInput.d.ts.map +1 -1
- package/build/types/filter-list/inputs/PropertyFilterInput.d.ts.map +1 -1
- package/build/types/filter-list/utils/filterStateToWhereClause.d.ts +1 -1
- package/build/types/filter-list/utils/filterStateToWhereClause.d.ts.map +1 -1
- package/package.json +7 -7
- package/build/browser/filter-list/base/inputs/CheckboxListInput.js +0 -83
- package/build/browser/filter-list/base/inputs/CheckboxListInput.js.map +0 -1
- package/build/browser/filter-list/base/inputs/CheckboxListInput.module.css +0 -65
- package/build/browser/filter-list/base/inputs/CheckboxListInput.module.css.js +0 -10
- package/build/browser/filter-list/base/inputs/CheckboxListSkeleton.js +0 -46
- package/build/browser/filter-list/base/inputs/CheckboxListSkeleton.js.map +0 -1
- package/build/browser/filter-list/base/inputs/CheckboxListSkeleton.module.css +0 -32
- package/build/browser/filter-list/base/inputs/CheckboxListSkeleton.module.css.js +0 -8
- package/build/browser/filter-list/inputs/CheckboxListFilterInput.js +0 -66
- package/build/browser/filter-list/inputs/CheckboxListFilterInput.js.map +0 -1
- package/build/esm/filter-list/base/inputs/CheckboxListInput.js +0 -83
- package/build/esm/filter-list/base/inputs/CheckboxListInput.js.map +0 -1
- package/build/esm/filter-list/base/inputs/CheckboxListInput.module.css +0 -65
- package/build/esm/filter-list/base/inputs/CheckboxListSkeleton.js +0 -46
- package/build/esm/filter-list/base/inputs/CheckboxListSkeleton.js.map +0 -1
- package/build/esm/filter-list/base/inputs/CheckboxListSkeleton.module.css +0 -32
- package/build/esm/filter-list/inputs/CheckboxListFilterInput.js +0 -66
- package/build/esm/filter-list/inputs/CheckboxListFilterInput.js.map +0 -1
- package/build/types/filter-list/base/inputs/CheckboxListInput.d.ts +0 -16
- package/build/types/filter-list/base/inputs/CheckboxListInput.d.ts.map +0 -1
- package/build/types/filter-list/base/inputs/CheckboxListSkeleton.d.ts +0 -2
- package/build/types/filter-list/base/inputs/CheckboxListSkeleton.d.ts.map +0 -1
- package/build/types/filter-list/inputs/CheckboxListFilterInput.d.ts +0 -17
- package/build/types/filter-list/inputs/CheckboxListFilterInput.d.ts.map +0 -1
|
@@ -67,10 +67,7 @@
|
|
|
67
67
|
.addButtonContainer {
|
|
68
68
|
display: flex;
|
|
69
69
|
justify-content: center;
|
|
70
|
-
position: sticky;
|
|
71
|
-
bottom: 0;
|
|
72
70
|
padding-top: var(--osdk-filter-list-addButton-padding-top);
|
|
73
|
-
background: var(--osdk-filter-list-addButton-container-bg);
|
|
74
71
|
}
|
|
75
72
|
.addButtonContainer > * {
|
|
76
73
|
flex: 1;
|
|
@@ -160,6 +157,13 @@
|
|
|
160
157
|
gap: var(--osdk-filter-item-gap);
|
|
161
158
|
border-radius: var(--osdk-filter-item-border-radius);
|
|
162
159
|
padding: var(--osdk-filter-item-padding);
|
|
160
|
+
border: 1px solid transparent;
|
|
161
|
+
}
|
|
162
|
+
.filterItem[data-has-selection] {
|
|
163
|
+
border-color: var(--osdk-intent-primary-rest);
|
|
164
|
+
}
|
|
165
|
+
.filterItem[data-has-selection] .searchRow {
|
|
166
|
+
border-color: transparent;
|
|
163
167
|
}
|
|
164
168
|
.itemHeader {
|
|
165
169
|
display: flex;
|
|
@@ -243,10 +247,6 @@
|
|
|
243
247
|
border-radius: var(--osdk-filter-input-border-radius);
|
|
244
248
|
padding: var(--osdk-filter-input-padding);
|
|
245
249
|
gap: var(--osdk-filter-input-gap);
|
|
246
|
-
&:focus-within {
|
|
247
|
-
outline: var(--osdk-filter-input-focus-outline-width) solid var(--osdk-filter-input-focus-outline-color);
|
|
248
|
-
outline-offset: var(--osdk-filter-input-focus-outline-offset);
|
|
249
|
-
}
|
|
250
250
|
}
|
|
251
251
|
.searchInput {
|
|
252
252
|
flex: 1;
|
|
@@ -296,7 +296,6 @@
|
|
|
296
296
|
transition: none;
|
|
297
297
|
}
|
|
298
298
|
}
|
|
299
|
-
.filterItem:hover [data-exclude-row],
|
|
300
299
|
.excludeRowVisible {
|
|
301
300
|
opacity: 1;
|
|
302
301
|
height: auto;
|
|
@@ -610,132 +609,80 @@
|
|
|
610
609
|
color: var(--osdk-filter-toggle-label-color);
|
|
611
610
|
}
|
|
612
611
|
|
|
613
|
-
/* src/
|
|
614
|
-
.
|
|
615
|
-
display: flex;
|
|
616
|
-
align-items: center;
|
|
617
|
-
justify-content: center;
|
|
618
|
-
min-width: calc(var(--osdk-checkbox-icon-size) + var(--osdk-checkbox-padding) * 2);
|
|
619
|
-
min-height: calc(var(--osdk-checkbox-icon-size) + var(--osdk-checkbox-padding) * 2);
|
|
620
|
-
padding: var(--osdk-checkbox-padding);
|
|
621
|
-
cursor: pointer;
|
|
622
|
-
border-radius: var(--osdk-surface-border-radius);
|
|
623
|
-
border: var(--osdk-checkbox-border);
|
|
624
|
-
&[data-unchecked] {
|
|
625
|
-
background-color: var(--osdk-checkbox-bg);
|
|
626
|
-
&:hover {
|
|
627
|
-
background-color: var(--osdk-checkbox-bg-hover);
|
|
628
|
-
}
|
|
629
|
-
&:active {
|
|
630
|
-
background-color: var(--osdk-checkbox-bg-active);
|
|
631
|
-
}
|
|
632
|
-
}
|
|
633
|
-
&[data-checked],
|
|
634
|
-
&[data-indeterminate] {
|
|
635
|
-
background-color: var(--osdk-checkbox-bg-checked);
|
|
636
|
-
&:hover {
|
|
637
|
-
background-color: var(--osdk-checkbox-bg-checked-hover);
|
|
638
|
-
}
|
|
639
|
-
&:active {
|
|
640
|
-
background-color: var(--osdk-checkbox-bg-checked-active);
|
|
641
|
-
}
|
|
642
|
-
}
|
|
643
|
-
&:focus-visible {
|
|
644
|
-
outline: var(--osdk-focus-outline);
|
|
645
|
-
outline-offset: calc(-1 * var(--osdk-focus-visible-outline-offset));
|
|
646
|
-
}
|
|
647
|
-
}
|
|
648
|
-
.osdkCheckboxIndicator {
|
|
649
|
-
color: var(--osdk-checkbox-checked-foreground);
|
|
650
|
-
width: var(--osdk-checkbox-icon-size);
|
|
651
|
-
height: var(--osdk-checkbox-icon-size);
|
|
652
|
-
&[data-unchecked] {
|
|
653
|
-
display: none;
|
|
654
|
-
}
|
|
655
|
-
}
|
|
656
|
-
|
|
657
|
-
/* src/filter-list/base/inputs/CheckboxListInput.module.css */
|
|
658
|
-
.checkboxList {
|
|
612
|
+
/* src/filter-list/base/inputs/RangeInput.module.css */
|
|
613
|
+
.rangeInput {
|
|
659
614
|
display: flex;
|
|
660
615
|
flex-direction: column;
|
|
661
|
-
gap: var(--osdk-filter-
|
|
616
|
+
gap: var(--osdk-filter-range-gap);
|
|
617
|
+
min-width: 0;
|
|
662
618
|
transition: opacity var(--osdk-filter-content-fade-duration);
|
|
663
619
|
}
|
|
664
|
-
.
|
|
620
|
+
.rangeInput[data-loading=true] {
|
|
665
621
|
opacity: 0.5;
|
|
666
622
|
}
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
623
|
+
.histogramContainer {
|
|
624
|
+
display: flex;
|
|
625
|
+
align-items: flex-end;
|
|
626
|
+
height: var(--osdk-filter-range-histogram-height);
|
|
627
|
+
gap: var(--osdk-filter-range-histogram-bar-gap);
|
|
628
|
+
overflow: hidden;
|
|
671
629
|
}
|
|
672
|
-
.
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
}
|
|
630
|
+
.histogramBar {
|
|
631
|
+
flex: 1;
|
|
632
|
+
background: var(--osdk-filter-range-histogram-bar-color);
|
|
633
|
+
min-width: var(--osdk-filter-range-histogram-bar-min-width);
|
|
634
|
+
transition: background-color var(--osdk-filter-range-histogram-bar-transition);
|
|
678
635
|
}
|
|
679
|
-
.
|
|
636
|
+
.histogramBar[data-in-range=true] {
|
|
637
|
+
background: var(--osdk-filter-range-histogram-bar-active-color);
|
|
638
|
+
}
|
|
639
|
+
.rangeInputs {
|
|
680
640
|
display: flex;
|
|
681
|
-
align-items:
|
|
682
|
-
gap: var(--osdk-filter-
|
|
683
|
-
|
|
641
|
+
align-items: flex-end;
|
|
642
|
+
gap: var(--osdk-filter-range-inputs-gap);
|
|
643
|
+
min-width: 0;
|
|
684
644
|
}
|
|
685
|
-
.
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
text-overflow: ellipsis;
|
|
692
|
-
white-space: nowrap;
|
|
645
|
+
.inputWrapper {
|
|
646
|
+
flex: 1;
|
|
647
|
+
display: flex;
|
|
648
|
+
flex-direction: column;
|
|
649
|
+
gap: var(--osdk-filter-range-input-wrapper-gap);
|
|
650
|
+
min-width: 0;
|
|
693
651
|
}
|
|
694
|
-
.
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
flex-shrink: 0;
|
|
652
|
+
.inputLabel {
|
|
653
|
+
font-family: var(--osdk-filter-range-label-font-family);
|
|
654
|
+
font-size: var(--osdk-filter-range-label-font-size);
|
|
655
|
+
color: var(--osdk-filter-range-label-color);
|
|
699
656
|
}
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
657
|
+
.input {
|
|
658
|
+
font-family: var(--osdk-filter-input-font-family);
|
|
659
|
+
font-size: var(--osdk-filter-input-font-size);
|
|
660
|
+
padding: var(--osdk-filter-input-padding);
|
|
661
|
+
border: var(--osdk-filter-input-border);
|
|
662
|
+
border-radius: var(--osdk-filter-input-border-radius);
|
|
663
|
+
background: var(--osdk-filter-input-bg);
|
|
664
|
+
color: var(--osdk-filter-input-color);
|
|
665
|
+
min-width: 0;
|
|
666
|
+
&:focus {
|
|
667
|
+
border-color: var(--osdk-filter-input-focus-border);
|
|
668
|
+
outline: var(--osdk-filter-input-focus-outline-width) solid var(--osdk-filter-input-focus-outline-color);
|
|
669
|
+
outline-offset: var(--osdk-filter-input-focus-outline-offset);
|
|
705
670
|
}
|
|
706
|
-
|
|
707
|
-
|
|
671
|
+
&::placeholder {
|
|
672
|
+
color: var(--osdk-filter-input-placeholder-color);
|
|
708
673
|
}
|
|
709
674
|
}
|
|
710
|
-
.
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
border-radius: var(--osdk-surface-border-radius);
|
|
714
|
-
pointer-events: none;
|
|
715
|
-
user-select: none;
|
|
675
|
+
.separator {
|
|
676
|
+
padding-bottom: calc(var(--osdk-filter-range-inputs-gap) * 0.75);
|
|
677
|
+
color: var(--osdk-filter-range-separator-color);
|
|
716
678
|
}
|
|
717
679
|
@media (prefers-reduced-motion: reduce) {
|
|
718
|
-
.
|
|
719
|
-
|
|
680
|
+
.histogramContainer,
|
|
681
|
+
.rangeInput {
|
|
682
|
+
transition: none;
|
|
720
683
|
}
|
|
721
684
|
}
|
|
722
685
|
|
|
723
|
-
/* src/filter-list/base/inputs/CheckboxListSkeleton.module.css */
|
|
724
|
-
.container {
|
|
725
|
-
display: flex;
|
|
726
|
-
flex-direction: column;
|
|
727
|
-
gap: var(--osdk-filter-checkbox-list-gap);
|
|
728
|
-
}
|
|
729
|
-
.row {
|
|
730
|
-
display: flex;
|
|
731
|
-
align-items: center;
|
|
732
|
-
gap: var(--osdk-filter-checkbox-label-gap);
|
|
733
|
-
padding: var(--osdk-filter-checkbox-row-padding);
|
|
734
|
-
}
|
|
735
|
-
.flexBar {
|
|
736
|
-
flex: 1;
|
|
737
|
-
}
|
|
738
|
-
|
|
739
686
|
/* src/filter-list/base/inputs/shared.module.css */
|
|
740
687
|
.loadingMessage,
|
|
741
688
|
.errorMessage,
|
|
@@ -792,89 +739,58 @@
|
|
|
792
739
|
}
|
|
793
740
|
}
|
|
794
741
|
|
|
795
|
-
/* src/filter-list/base/inputs/
|
|
796
|
-
.
|
|
742
|
+
/* src/filter-list/base/inputs/LinkedPropertyInput.module.css */
|
|
743
|
+
.linkedProperty {
|
|
797
744
|
display: flex;
|
|
798
745
|
flex-direction: column;
|
|
799
|
-
gap: var(--osdk-filter-range-gap);
|
|
800
|
-
min-width: 0;
|
|
801
|
-
transition: opacity var(--osdk-filter-content-fade-duration);
|
|
802
|
-
}
|
|
803
|
-
.rangeInput[data-loading=true] {
|
|
804
|
-
opacity: 0.5;
|
|
805
|
-
}
|
|
806
|
-
.histogramContainer {
|
|
807
|
-
display: flex;
|
|
808
|
-
align-items: flex-end;
|
|
809
|
-
height: var(--osdk-filter-range-histogram-height);
|
|
810
|
-
gap: var(--osdk-filter-range-histogram-bar-gap);
|
|
811
|
-
overflow: hidden;
|
|
812
|
-
opacity: 0;
|
|
813
|
-
transition: opacity var(--osdk-filter-content-fade-duration);
|
|
814
|
-
}
|
|
815
|
-
.histogramContainer:not([data-empty=true]) {
|
|
816
|
-
opacity: 1;
|
|
817
|
-
}
|
|
818
|
-
.histogramBar {
|
|
819
|
-
flex: 1;
|
|
820
|
-
background: var(--osdk-filter-range-histogram-bar-color);
|
|
821
|
-
min-width: var(--osdk-filter-range-histogram-bar-min-width);
|
|
822
|
-
transition: background-color var(--osdk-filter-range-histogram-bar-transition);
|
|
823
746
|
}
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
.rangeInputs {
|
|
828
|
-
display: flex;
|
|
829
|
-
align-items: flex-end;
|
|
830
|
-
gap: var(--osdk-filter-range-inputs-gap);
|
|
831
|
-
min-width: 0;
|
|
832
|
-
}
|
|
833
|
-
.inputWrapper {
|
|
834
|
-
flex: 1;
|
|
747
|
+
|
|
748
|
+
/* src/base-components/checkbox/Checkbox.module.css */
|
|
749
|
+
.osdkCheckboxRoot {
|
|
835
750
|
display: flex;
|
|
836
|
-
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
|
|
840
|
-
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
|
|
853
|
-
min-width: 0;
|
|
854
|
-
&:focus {
|
|
855
|
-
border-color: var(--osdk-filter-input-focus-border);
|
|
856
|
-
outline: var(--osdk-filter-input-focus-outline-width) solid var(--osdk-filter-input-focus-outline-color);
|
|
857
|
-
outline-offset: var(--osdk-filter-input-focus-outline-offset);
|
|
751
|
+
align-items: center;
|
|
752
|
+
justify-content: center;
|
|
753
|
+
width: calc(var(--osdk-checkbox-icon-size) + var(--osdk-checkbox-padding) * 2);
|
|
754
|
+
height: calc(var(--osdk-checkbox-icon-size) + var(--osdk-checkbox-padding) * 2);
|
|
755
|
+
flex-shrink: 0;
|
|
756
|
+
padding: var(--osdk-checkbox-padding);
|
|
757
|
+
cursor: pointer;
|
|
758
|
+
border-radius: var(--osdk-surface-border-radius);
|
|
759
|
+
border: var(--osdk-checkbox-border);
|
|
760
|
+
&[data-unchecked] {
|
|
761
|
+
background-color: var(--osdk-checkbox-bg);
|
|
762
|
+
&:hover {
|
|
763
|
+
background-color: var(--osdk-checkbox-bg-hover);
|
|
764
|
+
}
|
|
765
|
+
&:active {
|
|
766
|
+
background-color: var(--osdk-checkbox-bg-active);
|
|
767
|
+
}
|
|
858
768
|
}
|
|
859
|
-
|
|
860
|
-
|
|
769
|
+
&[data-checked],
|
|
770
|
+
&[data-indeterminate] {
|
|
771
|
+
background-color: var(--osdk-checkbox-bg-checked);
|
|
772
|
+
&:hover {
|
|
773
|
+
background-color: var(--osdk-checkbox-bg-checked-hover);
|
|
774
|
+
}
|
|
775
|
+
&:active {
|
|
776
|
+
background-color: var(--osdk-checkbox-bg-checked-active);
|
|
777
|
+
}
|
|
861
778
|
}
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
.histogramContainer,
|
|
869
|
-
.rangeInput {
|
|
870
|
-
transition: none;
|
|
779
|
+
&[data-excluding][data-checked] {
|
|
780
|
+
background-color: var(--osdk-checkbox-bg-hover);
|
|
781
|
+
}
|
|
782
|
+
&:focus-visible {
|
|
783
|
+
outline: var(--osdk-focus-outline);
|
|
784
|
+
outline-offset: calc(-1 * var(--osdk-focus-visible-outline-offset));
|
|
871
785
|
}
|
|
872
786
|
}
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
787
|
+
.osdkCheckboxIndicator {
|
|
788
|
+
color: var(--osdk-checkbox-checked-foreground);
|
|
789
|
+
width: var(--osdk-checkbox-icon-size);
|
|
790
|
+
height: var(--osdk-checkbox-icon-size);
|
|
791
|
+
&[data-unchecked] {
|
|
792
|
+
display: none;
|
|
793
|
+
}
|
|
878
794
|
}
|
|
879
795
|
|
|
880
796
|
/* src/filter-list/base/inputs/ListogramInput.module.css */
|
|
@@ -928,6 +844,9 @@
|
|
|
928
844
|
text-overflow: ellipsis;
|
|
929
845
|
white-space: nowrap;
|
|
930
846
|
}
|
|
847
|
+
.label[data-excluding] {
|
|
848
|
+
text-decoration: line-through;
|
|
849
|
+
}
|
|
931
850
|
.bar {
|
|
932
851
|
width: var(--osdk-filter-listogram-bar-width);
|
|
933
852
|
flex-shrink: 0;
|
|
@@ -948,6 +867,9 @@
|
|
|
948
867
|
.row[aria-pressed=true] .barFill {
|
|
949
868
|
background: var(--osdk-filter-listogram-row-bar-color, var(--osdk-filter-listogram-selected-color));
|
|
950
869
|
}
|
|
870
|
+
.checkbox {
|
|
871
|
+
display: flex;
|
|
872
|
+
}
|
|
951
873
|
.count {
|
|
952
874
|
font-family: var(--osdk-filter-listogram-count-font-family);
|
|
953
875
|
font-size: var(--osdk-filter-listogram-count-font-size);
|
|
@@ -957,6 +879,28 @@
|
|
|
957
879
|
text-align: right;
|
|
958
880
|
}
|
|
959
881
|
|
|
882
|
+
/* src/base-components/skeleton/SkeletonBar.module.css */
|
|
883
|
+
@keyframes skeleton-glow {
|
|
884
|
+
from {
|
|
885
|
+
background: var(--osdk-background-skeleton-from);
|
|
886
|
+
}
|
|
887
|
+
to {
|
|
888
|
+
background: var(--osdk-background-skeleton-to);
|
|
889
|
+
}
|
|
890
|
+
}
|
|
891
|
+
.skeletonBar {
|
|
892
|
+
animation: 1000ms linear infinite alternate skeleton-glow;
|
|
893
|
+
background: var(--osdk-background-skeleton-from);
|
|
894
|
+
border-radius: var(--osdk-surface-border-radius);
|
|
895
|
+
pointer-events: none;
|
|
896
|
+
user-select: none;
|
|
897
|
+
}
|
|
898
|
+
@media (prefers-reduced-motion: reduce) {
|
|
899
|
+
.skeletonBar {
|
|
900
|
+
animation: none;
|
|
901
|
+
}
|
|
902
|
+
}
|
|
903
|
+
|
|
960
904
|
/* src/filter-list/base/inputs/ListogramSkeleton.module.css */
|
|
961
905
|
.container {
|
|
962
906
|
display: flex;
|