@eox/itemfilter 1.1.1 → 1.2.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/eox-itemfilter.js +24 -11
- package/dist/eox-itemfilter.umd.cjs +104 -91
- package/package.json +1 -1
package/dist/eox-itemfilter.js
CHANGED
|
@@ -613,6 +613,8 @@ details {
|
|
|
613
613
|
transparent
|
|
614
614
|
);
|
|
615
615
|
--background-color: #fff;
|
|
616
|
+
--padding: 0.5rem;
|
|
617
|
+
--text-transform: capitalize;
|
|
616
618
|
}
|
|
617
619
|
* {
|
|
618
620
|
font-family: Roboto, sans-serif;
|
|
@@ -639,7 +641,7 @@ details summary {
|
|
|
639
641
|
display: flex;
|
|
640
642
|
align-items: center;
|
|
641
643
|
border-bottom: 1px solid #0002;
|
|
642
|
-
padding: .5rem
|
|
644
|
+
padding: .5rem var(--padding);
|
|
643
645
|
}
|
|
644
646
|
|
|
645
647
|
details > summary::-webkit-details-marker {
|
|
@@ -649,7 +651,7 @@ details > summary::-webkit-details-marker {
|
|
|
649
651
|
.title {
|
|
650
652
|
font-size: 13px;
|
|
651
653
|
align-items: center;
|
|
652
|
-
text-transform:
|
|
654
|
+
text-transform: var(--text-transform);
|
|
653
655
|
}
|
|
654
656
|
.subtitle {
|
|
655
657
|
font-size: 11px;
|
|
@@ -664,7 +666,8 @@ h6.main-heading {
|
|
|
664
666
|
font-size: 1rem;
|
|
665
667
|
margin-block-start: 1.33em;
|
|
666
668
|
margin-block-end: 1.33em;
|
|
667
|
-
margin-top:
|
|
669
|
+
margin-top: var(--padding);
|
|
670
|
+
padding: 0 var(--padding);
|
|
668
671
|
}
|
|
669
672
|
details summary .title {
|
|
670
673
|
display: flex;
|
|
@@ -694,10 +697,12 @@ eox-itemfilter-expandcontainer > [data-type=filter] {
|
|
|
694
697
|
display: block;
|
|
695
698
|
height: calc(100% - 32px);
|
|
696
699
|
overflow-y: auto;
|
|
700
|
+
overflow-x: hidden;
|
|
701
|
+
padding: 0 var(--padding);
|
|
697
702
|
}
|
|
698
703
|
[data-type=filter] .title,
|
|
699
704
|
details summary {
|
|
700
|
-
text-transform:
|
|
705
|
+
text-transform: var(--text-transform);
|
|
701
706
|
}
|
|
702
707
|
li,
|
|
703
708
|
label,
|
|
@@ -729,7 +734,10 @@ section:not(section:last-of-type) {
|
|
|
729
734
|
flex-direction: column;
|
|
730
735
|
}
|
|
731
736
|
ul:not(#filters) > li {
|
|
732
|
-
padding: 5px
|
|
737
|
+
padding: 5px 0;
|
|
738
|
+
}
|
|
739
|
+
ul#results li {
|
|
740
|
+
padding: 5px var(--padding);
|
|
733
741
|
}
|
|
734
742
|
section {
|
|
735
743
|
position: relative;
|
|
@@ -737,8 +745,8 @@ section {
|
|
|
737
745
|
}
|
|
738
746
|
button#filter-reset {
|
|
739
747
|
position: absolute;
|
|
740
|
-
top:
|
|
741
|
-
right:
|
|
748
|
+
top: 0;
|
|
749
|
+
right: var(--padding);
|
|
742
750
|
padding: 2px 10px;
|
|
743
751
|
}
|
|
744
752
|
.count {
|
|
@@ -757,7 +765,12 @@ eox-itemfilter-range,
|
|
|
757
765
|
tc-range-slider {
|
|
758
766
|
align-items: center;
|
|
759
767
|
display: block;
|
|
760
|
-
|
|
768
|
+
}
|
|
769
|
+
tc-range-slider {
|
|
770
|
+
width: calc(100% - 16px);
|
|
771
|
+
margin-left: 8px;
|
|
772
|
+
margin-right: 8px;
|
|
773
|
+
--width: 100%;
|
|
761
774
|
}
|
|
762
775
|
.range-before,
|
|
763
776
|
.range-after {
|
|
@@ -869,7 +882,7 @@ button.icon {
|
|
|
869
882
|
}
|
|
870
883
|
.chip-title {
|
|
871
884
|
pointer-events: none;
|
|
872
|
-
text-transform:
|
|
885
|
+
text-transform: var(--text-transform);
|
|
873
886
|
}
|
|
874
887
|
.chip {
|
|
875
888
|
display: flex;
|
|
@@ -1058,7 +1071,7 @@ class qa extends Je {
|
|
|
1058
1071
|
<summary>
|
|
1059
1072
|
<span
|
|
1060
1073
|
class="title"
|
|
1061
|
-
style="${!this.filterObject.title && "text-transform:
|
|
1074
|
+
style="${!this.filterObject.title && "text-transform: var(--text-transform)"}"
|
|
1062
1075
|
>
|
|
1063
1076
|
${this.filterObject.title || this.filterObject.key || "Filter"}
|
|
1064
1077
|
<slot name="reset-button"></slot>
|
|
@@ -4882,7 +4895,7 @@ class Bu extends ra {
|
|
|
4882
4895
|
return Y`
|
|
4883
4896
|
<section id="section-results">
|
|
4884
4897
|
<div>
|
|
4885
|
-
<h6
|
|
4898
|
+
<h6 class="main-heading">Results</h6>
|
|
4886
4899
|
</div>
|
|
4887
4900
|
<div id="container-results" class="scroll">
|
|
4888
4901
|
${qe(
|