mirror of
https://github.com/ad-aures/castopod.git
synced 2026-04-04 07:19:03 +02:00
fix(multiselect): add missing class names in choices options for purge to work properly
Multiselect options wouldn't show up in production environment because of purgecss removing state classes.
This commit is contained in:
parent
6303e71973
commit
719538d0cc
2 changed files with 16 additions and 4 deletions
|
|
@ -23,6 +23,7 @@ const MultiSelect = (): void => {
|
|||
inputCloned: "multiselect__input--cloned",
|
||||
list: "multiselect__list",
|
||||
listItems: "multiselect__list--multiple",
|
||||
listSingle: "multiselect__list--single",
|
||||
listDropdown: "multiselect__list--dropdown",
|
||||
item: "multiselect__item",
|
||||
itemSelectable: "multiselect__item--selectable",
|
||||
|
|
@ -32,6 +33,16 @@ const MultiSelect = (): void => {
|
|||
group: "multiselect__group",
|
||||
groupHeading: "multiselect__heading",
|
||||
button: "multiselect__button",
|
||||
activeState: "is-active",
|
||||
focusState: "is-focused",
|
||||
openState: "is-open",
|
||||
disabledState: "is-disabled",
|
||||
highlightedState: "is-highlighted",
|
||||
selectedState: "is-selected",
|
||||
flippedState: "is-flipped",
|
||||
loadingState: "is-loading",
|
||||
noResults: "has-no-results",
|
||||
noChoices: "has-no-choices",
|
||||
},
|
||||
});
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,8 @@
|
|||
@layer components {
|
||||
/*===============================
|
||||
/*===============================
|
||||
= MultiSelect =
|
||||
===============================*/
|
||||
|
||||
@layer components {
|
||||
.multiselect {
|
||||
@apply relative;
|
||||
|
||||
|
|
@ -177,6 +178,6 @@
|
|||
.multiselect__placeholder {
|
||||
@apply opacity-50;
|
||||
}
|
||||
|
||||
/*===== End of Choices ======*/
|
||||
}
|
||||
|
||||
/*===== End of Multiselect ======*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue