2021-12-17 22:26:52 +01:00
|
|
|
/** Classes added to HTML generated by By default classnames follow the BEM notation. */
|
|
|
|
export interface ClassNames {
|
|
|
|
/** @default 'choices' */
|
2022-11-20 12:11:45 +01:00
|
|
|
containerOuter: string | Array<string>;
|
2021-12-17 22:26:52 +01:00
|
|
|
/** @default 'choices__inner' */
|
2022-11-20 12:11:45 +01:00
|
|
|
containerInner: string | Array<string>;
|
2021-12-17 22:26:52 +01:00
|
|
|
/** @default 'choices__input' */
|
2022-11-20 12:11:45 +01:00
|
|
|
input: string | Array<string>;
|
2021-12-17 22:26:52 +01:00
|
|
|
/** @default 'choices__input--cloned' */
|
2022-11-20 12:11:45 +01:00
|
|
|
inputCloned: string | Array<string>;
|
2021-12-17 22:26:52 +01:00
|
|
|
/** @default 'choices__list' */
|
2022-11-20 12:11:45 +01:00
|
|
|
list: string | Array<string>;
|
2021-12-17 22:26:52 +01:00
|
|
|
/** @default 'choices__list--multiple' */
|
2022-11-20 12:11:45 +01:00
|
|
|
listItems: string | Array<string>;
|
2021-12-17 22:26:52 +01:00
|
|
|
/** @default 'choices__list--single' */
|
2022-11-20 12:11:45 +01:00
|
|
|
listSingle: string | Array<string>;
|
2021-12-17 22:26:52 +01:00
|
|
|
/** @default 'choices__list--dropdown' */
|
2022-11-20 12:11:45 +01:00
|
|
|
listDropdown: string | Array<string>;
|
2021-12-17 22:26:52 +01:00
|
|
|
/** @default 'choices__item' */
|
2022-11-20 12:11:45 +01:00
|
|
|
item: string | Array<string>;
|
2021-12-17 22:26:52 +01:00
|
|
|
/** @default 'choices__item--selectable' */
|
2022-11-20 12:11:45 +01:00
|
|
|
itemSelectable: string | Array<string>;
|
2021-12-17 22:26:52 +01:00
|
|
|
/** @default 'choices__item--disabled' */
|
2022-11-20 12:11:45 +01:00
|
|
|
itemDisabled: string | Array<string>;
|
2021-12-17 22:26:52 +01:00
|
|
|
/** @default 'choices__item--choice' */
|
2022-11-20 12:11:45 +01:00
|
|
|
itemChoice: string | Array<string>;
|
2021-12-17 22:26:52 +01:00
|
|
|
/** @default 'choices__placeholder' */
|
2022-11-20 12:11:45 +01:00
|
|
|
placeholder: string | Array<string>;
|
2021-12-17 22:26:52 +01:00
|
|
|
/** @default 'choices__group' */
|
2022-11-20 12:11:45 +01:00
|
|
|
group: string | Array<string>;
|
2021-12-17 22:26:52 +01:00
|
|
|
/** @default 'choices__heading' */
|
2022-11-20 12:11:45 +01:00
|
|
|
groupHeading: string | Array<string>;
|
2021-12-17 22:26:52 +01:00
|
|
|
/** @default 'choices__button' */
|
2022-11-20 12:11:45 +01:00
|
|
|
button: string | Array<string>;
|
2021-12-17 22:26:52 +01:00
|
|
|
/** @default 'is-active' */
|
2022-11-20 12:11:45 +01:00
|
|
|
activeState: string | Array<string>;
|
2021-12-17 22:26:52 +01:00
|
|
|
/** @default 'is-focused' */
|
2022-11-20 12:11:45 +01:00
|
|
|
focusState: string | Array<string>;
|
2021-12-17 22:26:52 +01:00
|
|
|
/** @default 'is-open' */
|
2022-11-20 12:11:45 +01:00
|
|
|
openState: string | Array<string>;
|
2021-12-17 22:26:52 +01:00
|
|
|
/** @default 'is-disabled' */
|
2022-11-20 12:11:45 +01:00
|
|
|
disabledState: string | Array<string>;
|
2021-12-17 22:26:52 +01:00
|
|
|
/** @default 'is-highlighted' */
|
2022-11-20 12:11:45 +01:00
|
|
|
highlightedState: string | Array<string>;
|
2021-12-17 22:26:52 +01:00
|
|
|
/** @default 'is-selected' */
|
2022-11-20 12:11:45 +01:00
|
|
|
selectedState: string | Array<string>;
|
2021-12-17 22:26:52 +01:00
|
|
|
/** @default 'is-flipped' */
|
2022-11-20 12:11:45 +01:00
|
|
|
flippedState: string | Array<string>;
|
2021-12-17 22:26:52 +01:00
|
|
|
/** @default 'is-loading' */
|
2022-11-20 12:11:45 +01:00
|
|
|
loadingState: string | Array<string>;
|
2021-12-17 22:26:52 +01:00
|
|
|
/** @default 'has-no-results' */
|
2022-11-20 12:11:45 +01:00
|
|
|
noResults: string | Array<string>;
|
2021-12-17 22:26:52 +01:00
|
|
|
/** @default 'has-no-choices' */
|
2022-11-20 12:11:45 +01:00
|
|
|
noChoices: string | Array<string>;
|
2021-12-17 22:26:52 +01:00
|
|
|
}
|