@eturnity/eturnity_reusable_components 7.4.4-EPDM-7260.24 → 7.4.4-EPDM-7260.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/package.json
CHANGED
@@ -92,6 +92,7 @@
|
|
92
92
|
fontSize="13px"
|
93
93
|
:label="filter.label"
|
94
94
|
:labelDataId="filter.dataId"
|
95
|
+
:isSearchable="filter.choices.length > 7"
|
95
96
|
alignItems="vertical"
|
96
97
|
:disabled="!filter.choices.length"
|
97
98
|
:minOptionLength="1"
|
@@ -100,10 +101,12 @@
|
|
100
101
|
<option-title> {{ filter.selectedText }} </option-title>
|
101
102
|
</template>
|
102
103
|
<template #dropdown>
|
103
|
-
<dropdown-checkbox-container
|
104
|
+
<dropdown-checkbox-container
|
105
|
+
v-for="(filterOption, optionIdx) in filter.choices"
|
106
|
+
:key="optionIdx + 'optionIdx'"
|
107
|
+
@click.stop
|
108
|
+
>
|
104
109
|
<checkbox
|
105
|
-
v-for="(filterOption, optionIdx) in filter.choices"
|
106
|
-
:key="optionIdx + 'optionIdx'"
|
107
110
|
:label="filterOption.text"
|
108
111
|
:isChecked="filterOption.selected"
|
109
112
|
@on-event-handler="
|
@@ -223,6 +226,7 @@
|
|
223
226
|
fontSize="13px"
|
224
227
|
:label="filter.label"
|
225
228
|
alignItems="vertical"
|
229
|
+
:isSearchable="filter.choices.length > 7"
|
226
230
|
:disabled="!filter.choices.length"
|
227
231
|
>
|
228
232
|
<template #selector="{ selectedValue }">
|
@@ -392,7 +396,7 @@ const DropdownCheckboxContainer = styled.div`
|
|
392
396
|
display: grid;
|
393
397
|
gap: 6px;
|
394
398
|
width: 100%;
|
395
|
-
padding:
|
399
|
+
padding: 7px 10px;
|
396
400
|
background: ${(props) => props.theme.colors.grey5};
|
397
401
|
`
|
398
402
|
|