Revert built assets (clean PR)

This commit is contained in:
Sebastian Zoglowek 2025-11-27 23:34:58 +01:00
commit 6cc1b1a00a
15 changed files with 79 additions and 182 deletions

View file

@ -3668,11 +3668,6 @@
_this.input.focus();
}
_this.passedElement.triggerEvent(EventType.showDropdown);
var activeElement = _this.choiceList.element.querySelector(getClassNamesSelector(_this.config.classNames.selectedState));
if (activeElement !== null && !isScrolledIntoView(activeElement, _this.choiceList.element)) {
// We use the native scrollIntoView function instead of choiceList.scrollToChildElement to avoid animated scroll.
activeElement.scrollIntoView();
}
});
return this;
};
@ -3681,7 +3676,6 @@
if (!this.dropdown.isActive) {
return this;
}
this._removeHighlightedChoices();
requestAnimationFrame(function () {
_this.dropdown.hide();
_this.containerOuter.close();
@ -4254,7 +4248,7 @@
if (!items.length || !this.config.removeItems || !this.config.removeItemButton) {
return;
}
var id = element && parseDataSetId(element.closest('[data-id]'));
var id = element && parseDataSetId(element.parentElement);
var itemToRemove = id && items.find(function (item) { return item.id === id; });
if (!itemToRemove) {
return;
@ -4834,7 +4828,7 @@
*/
Choices.prototype._onMouseDown = function (event) {
var target = event.target;
if (!(target instanceof Element)) {
if (!(target instanceof HTMLElement)) {
return;
}
// If we have our mouse down on the scrollbar and are on IE11...
@ -4976,18 +4970,6 @@
Choices.prototype._onInvalid = function () {
this.containerOuter.addInvalidState();
};
/**
* Removes any highlighted choice options
*/
Choices.prototype._removeHighlightedChoices = function () {
var highlightedState = this.config.classNames.highlightedState;
var highlightedChoices = Array.from(this.dropdown.element.querySelectorAll(getClassNamesSelector(highlightedState)));
// Remove any highlighted choices
highlightedChoices.forEach(function (choice) {
removeClassesFromElement(choice, highlightedState);
choice.setAttribute('aria-selected', 'false');
});
};
Choices.prototype._highlightChoice = function (el) {
if (el === void 0) { el = null; }
var choices = Array.from(this.dropdown.element.querySelectorAll(selectableChoiceIdentifier));
@ -4996,7 +4978,12 @@
}
var passedEl = el;
var highlightedState = this.config.classNames.highlightedState;
this._removeHighlightedChoices();
var highlightedChoices = Array.from(this.dropdown.element.querySelectorAll(getClassNamesSelector(highlightedState)));
// Remove any highlighted choices
highlightedChoices.forEach(function (choice) {
removeClassesFromElement(choice, highlightedState);
choice.setAttribute('aria-selected', 'false');
});
if (passedEl) {
this._highlightPosition = choices.indexOf(passedEl);
}

File diff suppressed because one or more lines are too long

View file

@ -3662,11 +3662,6 @@ var Choices = /** @class */ (function () {
_this.input.focus();
}
_this.passedElement.triggerEvent(EventType.showDropdown);
var activeElement = _this.choiceList.element.querySelector(getClassNamesSelector(_this.config.classNames.selectedState));
if (activeElement !== null && !isScrolledIntoView(activeElement, _this.choiceList.element)) {
// We use the native scrollIntoView function instead of choiceList.scrollToChildElement to avoid animated scroll.
activeElement.scrollIntoView();
}
});
return this;
};
@ -3675,7 +3670,6 @@ var Choices = /** @class */ (function () {
if (!this.dropdown.isActive) {
return this;
}
this._removeHighlightedChoices();
requestAnimationFrame(function () {
_this.dropdown.hide();
_this.containerOuter.close();
@ -4248,7 +4242,7 @@ var Choices = /** @class */ (function () {
if (!items.length || !this.config.removeItems || !this.config.removeItemButton) {
return;
}
var id = element && parseDataSetId(element.closest('[data-id]'));
var id = element && parseDataSetId(element.parentElement);
var itemToRemove = id && items.find(function (item) { return item.id === id; });
if (!itemToRemove) {
return;
@ -4828,7 +4822,7 @@ var Choices = /** @class */ (function () {
*/
Choices.prototype._onMouseDown = function (event) {
var target = event.target;
if (!(target instanceof Element)) {
if (!(target instanceof HTMLElement)) {
return;
}
// If we have our mouse down on the scrollbar and are on IE11...
@ -4970,18 +4964,6 @@ var Choices = /** @class */ (function () {
Choices.prototype._onInvalid = function () {
this.containerOuter.addInvalidState();
};
/**
* Removes any highlighted choice options
*/
Choices.prototype._removeHighlightedChoices = function () {
var highlightedState = this.config.classNames.highlightedState;
var highlightedChoices = Array.from(this.dropdown.element.querySelectorAll(getClassNamesSelector(highlightedState)));
// Remove any highlighted choices
highlightedChoices.forEach(function (choice) {
removeClassesFromElement(choice, highlightedState);
choice.setAttribute('aria-selected', 'false');
});
};
Choices.prototype._highlightChoice = function (el) {
if (el === void 0) { el = null; }
var choices = Array.from(this.dropdown.element.querySelectorAll(selectableChoiceIdentifier));
@ -4990,7 +4972,12 @@ var Choices = /** @class */ (function () {
}
var passedEl = el;
var highlightedState = this.config.classNames.highlightedState;
this._removeHighlightedChoices();
var highlightedChoices = Array.from(this.dropdown.element.querySelectorAll(getClassNamesSelector(highlightedState)));
// Remove any highlighted choices
highlightedChoices.forEach(function (choice) {
removeClassesFromElement(choice, highlightedState);
choice.setAttribute('aria-selected', 'false');
});
if (passedEl) {
this._highlightPosition = choices.indexOf(passedEl);
}

View file

@ -3189,11 +3189,6 @@
_this.input.focus();
}
_this.passedElement.triggerEvent(EventType.showDropdown);
var activeElement = _this.choiceList.element.querySelector(getClassNamesSelector(_this.config.classNames.selectedState));
if (activeElement !== null && !isScrolledIntoView(activeElement, _this.choiceList.element)) {
// We use the native scrollIntoView function instead of choiceList.scrollToChildElement to avoid animated scroll.
activeElement.scrollIntoView();
}
});
return this;
};
@ -3202,7 +3197,6 @@
if (!this.dropdown.isActive) {
return this;
}
this._removeHighlightedChoices();
requestAnimationFrame(function () {
_this.dropdown.hide();
_this.containerOuter.close();
@ -3775,7 +3769,7 @@
if (!items.length || !this.config.removeItems || !this.config.removeItemButton) {
return;
}
var id = element && parseDataSetId(element.closest('[data-id]'));
var id = element && parseDataSetId(element.parentElement);
var itemToRemove = id && items.find(function (item) { return item.id === id; });
if (!itemToRemove) {
return;
@ -4355,7 +4349,7 @@
*/
Choices.prototype._onMouseDown = function (event) {
var target = event.target;
if (!(target instanceof Element)) {
if (!(target instanceof HTMLElement)) {
return;
}
// If we have our mouse down on the scrollbar and are on IE11...
@ -4497,18 +4491,6 @@
Choices.prototype._onInvalid = function () {
this.containerOuter.addInvalidState();
};
/**
* Removes any highlighted choice options
*/
Choices.prototype._removeHighlightedChoices = function () {
var highlightedState = this.config.classNames.highlightedState;
var highlightedChoices = Array.from(this.dropdown.element.querySelectorAll(getClassNamesSelector(highlightedState)));
// Remove any highlighted choices
highlightedChoices.forEach(function (choice) {
removeClassesFromElement(choice, highlightedState);
choice.setAttribute('aria-selected', 'false');
});
};
Choices.prototype._highlightChoice = function (el) {
if (el === void 0) { el = null; }
var choices = Array.from(this.dropdown.element.querySelectorAll(selectableChoiceIdentifier));
@ -4517,7 +4499,12 @@
}
var passedEl = el;
var highlightedState = this.config.classNames.highlightedState;
this._removeHighlightedChoices();
var highlightedChoices = Array.from(this.dropdown.element.querySelectorAll(getClassNamesSelector(highlightedState)));
// Remove any highlighted choices
highlightedChoices.forEach(function (choice) {
removeClassesFromElement(choice, highlightedState);
choice.setAttribute('aria-selected', 'false');
});
if (passedEl) {
this._highlightPosition = choices.indexOf(passedEl);
}

File diff suppressed because one or more lines are too long

View file

@ -3183,11 +3183,6 @@ var Choices = /** @class */ (function () {
_this.input.focus();
}
_this.passedElement.triggerEvent(EventType.showDropdown);
var activeElement = _this.choiceList.element.querySelector(getClassNamesSelector(_this.config.classNames.selectedState));
if (activeElement !== null && !isScrolledIntoView(activeElement, _this.choiceList.element)) {
// We use the native scrollIntoView function instead of choiceList.scrollToChildElement to avoid animated scroll.
activeElement.scrollIntoView();
}
});
return this;
};
@ -3196,7 +3191,6 @@ var Choices = /** @class */ (function () {
if (!this.dropdown.isActive) {
return this;
}
this._removeHighlightedChoices();
requestAnimationFrame(function () {
_this.dropdown.hide();
_this.containerOuter.close();
@ -3769,7 +3763,7 @@ var Choices = /** @class */ (function () {
if (!items.length || !this.config.removeItems || !this.config.removeItemButton) {
return;
}
var id = element && parseDataSetId(element.closest('[data-id]'));
var id = element && parseDataSetId(element.parentElement);
var itemToRemove = id && items.find(function (item) { return item.id === id; });
if (!itemToRemove) {
return;
@ -4349,7 +4343,7 @@ var Choices = /** @class */ (function () {
*/
Choices.prototype._onMouseDown = function (event) {
var target = event.target;
if (!(target instanceof Element)) {
if (!(target instanceof HTMLElement)) {
return;
}
// If we have our mouse down on the scrollbar and are on IE11...
@ -4491,18 +4485,6 @@ var Choices = /** @class */ (function () {
Choices.prototype._onInvalid = function () {
this.containerOuter.addInvalidState();
};
/**
* Removes any highlighted choice options
*/
Choices.prototype._removeHighlightedChoices = function () {
var highlightedState = this.config.classNames.highlightedState;
var highlightedChoices = Array.from(this.dropdown.element.querySelectorAll(getClassNamesSelector(highlightedState)));
// Remove any highlighted choices
highlightedChoices.forEach(function (choice) {
removeClassesFromElement(choice, highlightedState);
choice.setAttribute('aria-selected', 'false');
});
};
Choices.prototype._highlightChoice = function (el) {
if (el === void 0) { el = null; }
var choices = Array.from(this.dropdown.element.querySelectorAll(selectableChoiceIdentifier));
@ -4511,7 +4493,12 @@ var Choices = /** @class */ (function () {
}
var passedEl = el;
var highlightedState = this.config.classNames.highlightedState;
this._removeHighlightedChoices();
var highlightedChoices = Array.from(this.dropdown.element.querySelectorAll(getClassNamesSelector(highlightedState)));
// Remove any highlighted choices
highlightedChoices.forEach(function (choice) {
removeClassesFromElement(choice, highlightedState);
choice.setAttribute('aria-selected', 'false');
});
if (passedEl) {
this._highlightPosition = choices.indexOf(passedEl);
}

View file

@ -2075,11 +2075,6 @@
_this.input.focus();
}
_this.passedElement.triggerEvent(EventType.showDropdown);
var activeElement = _this.choiceList.element.querySelector(getClassNamesSelector(_this.config.classNames.selectedState));
if (activeElement !== null && !isScrolledIntoView(activeElement, _this.choiceList.element)) {
// We use the native scrollIntoView function instead of choiceList.scrollToChildElement to avoid animated scroll.
activeElement.scrollIntoView();
}
});
return this;
};
@ -2088,7 +2083,6 @@
if (!this.dropdown.isActive) {
return this;
}
this._removeHighlightedChoices();
requestAnimationFrame(function () {
_this.dropdown.hide();
_this.containerOuter.close();
@ -2661,7 +2655,7 @@
if (!items.length || !this.config.removeItems || !this.config.removeItemButton) {
return;
}
var id = element && parseDataSetId(element.closest('[data-id]'));
var id = element && parseDataSetId(element.parentElement);
var itemToRemove = id && items.find(function (item) { return item.id === id; });
if (!itemToRemove) {
return;
@ -3241,7 +3235,7 @@
*/
Choices.prototype._onMouseDown = function (event) {
var target = event.target;
if (!(target instanceof Element)) {
if (!(target instanceof HTMLElement)) {
return;
}
// If we have our mouse down on the scrollbar and are on IE11...
@ -3383,18 +3377,6 @@
Choices.prototype._onInvalid = function () {
this.containerOuter.addInvalidState();
};
/**
* Removes any highlighted choice options
*/
Choices.prototype._removeHighlightedChoices = function () {
var highlightedState = this.config.classNames.highlightedState;
var highlightedChoices = Array.from(this.dropdown.element.querySelectorAll(getClassNamesSelector(highlightedState)));
// Remove any highlighted choices
highlightedChoices.forEach(function (choice) {
removeClassesFromElement(choice, highlightedState);
choice.setAttribute('aria-selected', 'false');
});
};
Choices.prototype._highlightChoice = function (el) {
if (el === void 0) { el = null; }
var choices = Array.from(this.dropdown.element.querySelectorAll(selectableChoiceIdentifier));
@ -3403,7 +3385,12 @@
}
var passedEl = el;
var highlightedState = this.config.classNames.highlightedState;
this._removeHighlightedChoices();
var highlightedChoices = Array.from(this.dropdown.element.querySelectorAll(getClassNamesSelector(highlightedState)));
// Remove any highlighted choices
highlightedChoices.forEach(function (choice) {
removeClassesFromElement(choice, highlightedState);
choice.setAttribute('aria-selected', 'false');
});
if (passedEl) {
this._highlightPosition = choices.indexOf(passedEl);
}

File diff suppressed because one or more lines are too long

View file

@ -2069,11 +2069,6 @@ var Choices = /** @class */ (function () {
_this.input.focus();
}
_this.passedElement.triggerEvent(EventType.showDropdown);
var activeElement = _this.choiceList.element.querySelector(getClassNamesSelector(_this.config.classNames.selectedState));
if (activeElement !== null && !isScrolledIntoView(activeElement, _this.choiceList.element)) {
// We use the native scrollIntoView function instead of choiceList.scrollToChildElement to avoid animated scroll.
activeElement.scrollIntoView();
}
});
return this;
};
@ -2082,7 +2077,6 @@ var Choices = /** @class */ (function () {
if (!this.dropdown.isActive) {
return this;
}
this._removeHighlightedChoices();
requestAnimationFrame(function () {
_this.dropdown.hide();
_this.containerOuter.close();
@ -2655,7 +2649,7 @@ var Choices = /** @class */ (function () {
if (!items.length || !this.config.removeItems || !this.config.removeItemButton) {
return;
}
var id = element && parseDataSetId(element.closest('[data-id]'));
var id = element && parseDataSetId(element.parentElement);
var itemToRemove = id && items.find(function (item) { return item.id === id; });
if (!itemToRemove) {
return;
@ -3235,7 +3229,7 @@ var Choices = /** @class */ (function () {
*/
Choices.prototype._onMouseDown = function (event) {
var target = event.target;
if (!(target instanceof Element)) {
if (!(target instanceof HTMLElement)) {
return;
}
// If we have our mouse down on the scrollbar and are on IE11...
@ -3377,18 +3371,6 @@ var Choices = /** @class */ (function () {
Choices.prototype._onInvalid = function () {
this.containerOuter.addInvalidState();
};
/**
* Removes any highlighted choice options
*/
Choices.prototype._removeHighlightedChoices = function () {
var highlightedState = this.config.classNames.highlightedState;
var highlightedChoices = Array.from(this.dropdown.element.querySelectorAll(getClassNamesSelector(highlightedState)));
// Remove any highlighted choices
highlightedChoices.forEach(function (choice) {
removeClassesFromElement(choice, highlightedState);
choice.setAttribute('aria-selected', 'false');
});
};
Choices.prototype._highlightChoice = function (el) {
if (el === void 0) { el = null; }
var choices = Array.from(this.dropdown.element.querySelectorAll(selectableChoiceIdentifier));
@ -3397,7 +3379,12 @@ var Choices = /** @class */ (function () {
}
var passedEl = el;
var highlightedState = this.config.classNames.highlightedState;
this._removeHighlightedChoices();
var highlightedChoices = Array.from(this.dropdown.element.querySelectorAll(getClassNamesSelector(highlightedState)));
// Remove any highlighted choices
highlightedChoices.forEach(function (choice) {
removeClassesFromElement(choice, highlightedState);
choice.setAttribute('aria-selected', 'false');
});
if (passedEl) {
this._highlightPosition = choices.indexOf(passedEl);
}

View file

@ -2034,11 +2034,6 @@
_this.input.focus();
}
_this.passedElement.triggerEvent(EventType.showDropdown);
var activeElement = _this.choiceList.element.querySelector(getClassNamesSelector(_this.config.classNames.selectedState));
if (activeElement !== null && !isScrolledIntoView(activeElement, _this.choiceList.element)) {
// We use the native scrollIntoView function instead of choiceList.scrollToChildElement to avoid animated scroll.
activeElement.scrollIntoView();
}
});
return this;
};
@ -2047,7 +2042,6 @@
if (!this.dropdown.isActive) {
return this;
}
this._removeHighlightedChoices();
requestAnimationFrame(function () {
_this.dropdown.hide();
_this.containerOuter.close();
@ -2620,7 +2614,7 @@
if (!items.length || !this.config.removeItems || !this.config.removeItemButton) {
return;
}
var id = element && parseDataSetId(element.closest('[data-id]'));
var id = element && parseDataSetId(element.parentElement);
var itemToRemove = id && items.find(function (item) { return item.id === id; });
if (!itemToRemove) {
return;
@ -3200,7 +3194,7 @@
*/
Choices.prototype._onMouseDown = function (event) {
var target = event.target;
if (!(target instanceof Element)) {
if (!(target instanceof HTMLElement)) {
return;
}
// If we have our mouse down on the scrollbar and are on IE11...
@ -3342,18 +3336,6 @@
Choices.prototype._onInvalid = function () {
this.containerOuter.addInvalidState();
};
/**
* Removes any highlighted choice options
*/
Choices.prototype._removeHighlightedChoices = function () {
var highlightedState = this.config.classNames.highlightedState;
var highlightedChoices = Array.from(this.dropdown.element.querySelectorAll(getClassNamesSelector(highlightedState)));
// Remove any highlighted choices
highlightedChoices.forEach(function (choice) {
removeClassesFromElement(choice, highlightedState);
choice.setAttribute('aria-selected', 'false');
});
};
Choices.prototype._highlightChoice = function (el) {
if (el === void 0) { el = null; }
var choices = Array.from(this.dropdown.element.querySelectorAll(selectableChoiceIdentifier));
@ -3362,7 +3344,12 @@
}
var passedEl = el;
var highlightedState = this.config.classNames.highlightedState;
this._removeHighlightedChoices();
var highlightedChoices = Array.from(this.dropdown.element.querySelectorAll(getClassNamesSelector(highlightedState)));
// Remove any highlighted choices
highlightedChoices.forEach(function (choice) {
removeClassesFromElement(choice, highlightedState);
choice.setAttribute('aria-selected', 'false');
});
if (passedEl) {
this._highlightPosition = choices.indexOf(passedEl);
}

File diff suppressed because one or more lines are too long

View file

@ -2028,11 +2028,6 @@ var Choices = /** @class */ (function () {
_this.input.focus();
}
_this.passedElement.triggerEvent(EventType.showDropdown);
var activeElement = _this.choiceList.element.querySelector(getClassNamesSelector(_this.config.classNames.selectedState));
if (activeElement !== null && !isScrolledIntoView(activeElement, _this.choiceList.element)) {
// We use the native scrollIntoView function instead of choiceList.scrollToChildElement to avoid animated scroll.
activeElement.scrollIntoView();
}
});
return this;
};
@ -2041,7 +2036,6 @@ var Choices = /** @class */ (function () {
if (!this.dropdown.isActive) {
return this;
}
this._removeHighlightedChoices();
requestAnimationFrame(function () {
_this.dropdown.hide();
_this.containerOuter.close();
@ -2614,7 +2608,7 @@ var Choices = /** @class */ (function () {
if (!items.length || !this.config.removeItems || !this.config.removeItemButton) {
return;
}
var id = element && parseDataSetId(element.closest('[data-id]'));
var id = element && parseDataSetId(element.parentElement);
var itemToRemove = id && items.find(function (item) { return item.id === id; });
if (!itemToRemove) {
return;
@ -3194,7 +3188,7 @@ var Choices = /** @class */ (function () {
*/
Choices.prototype._onMouseDown = function (event) {
var target = event.target;
if (!(target instanceof Element)) {
if (!(target instanceof HTMLElement)) {
return;
}
// If we have our mouse down on the scrollbar and are on IE11...
@ -3336,18 +3330,6 @@ var Choices = /** @class */ (function () {
Choices.prototype._onInvalid = function () {
this.containerOuter.addInvalidState();
};
/**
* Removes any highlighted choice options
*/
Choices.prototype._removeHighlightedChoices = function () {
var highlightedState = this.config.classNames.highlightedState;
var highlightedChoices = Array.from(this.dropdown.element.querySelectorAll(getClassNamesSelector(highlightedState)));
// Remove any highlighted choices
highlightedChoices.forEach(function (choice) {
removeClassesFromElement(choice, highlightedState);
choice.setAttribute('aria-selected', 'false');
});
};
Choices.prototype._highlightChoice = function (el) {
if (el === void 0) { el = null; }
var choices = Array.from(this.dropdown.element.querySelectorAll(selectableChoiceIdentifier));
@ -3356,7 +3338,12 @@ var Choices = /** @class */ (function () {
}
var passedEl = el;
var highlightedState = this.config.classNames.highlightedState;
this._removeHighlightedChoices();
var highlightedChoices = Array.from(this.dropdown.element.querySelectorAll(getClassNamesSelector(highlightedState)));
// Remove any highlighted choices
highlightedChoices.forEach(function (choice) {
removeClassesFromElement(choice, highlightedState);
choice.setAttribute('aria-selected', 'false');
});
if (passedEl) {
this._highlightPosition = choices.indexOf(passedEl);
}

View file

@ -238,33 +238,34 @@
text-align: right;
}
@media (min-width: 640px) {
.choices__list--dropdown .choices__item--selectable.is-highlighted[data-select-text], .choices__list[aria-expanded] .choices__item--selectable.is-highlighted[data-select-text] {
.choices__list--dropdown .choices__item--selectable[data-select-text], .choices__list[aria-expanded] .choices__item--selectable[data-select-text] {
padding-right: 100px;
}
.choices__list--dropdown .choices__item--selectable.is-highlighted[data-select-text]::after, .choices__list[aria-expanded] .choices__item--selectable.is-highlighted[data-select-text]::after {
.choices__list--dropdown .choices__item--selectable[data-select-text]::after, .choices__list[aria-expanded] .choices__item--selectable[data-select-text]::after {
content: attr(data-select-text);
font-size: var(--choices-font-size-sm, 12px);
opacity: 0;
position: absolute;
right: 10px;
top: 50%;
transform: translateY(-50%);
}
[dir=rtl] .choices__list--dropdown .choices__item--selectable.is-highlighted[data-select-text], [dir=rtl] .choices__list[aria-expanded] .choices__item--selectable.is-highlighted[data-select-text] {
[dir=rtl] .choices__list--dropdown .choices__item--selectable[data-select-text], [dir=rtl] .choices__list[aria-expanded] .choices__item--selectable[data-select-text] {
text-align: right;
padding-left: 100px;
padding-right: 10px;
}
[dir=rtl] .choices__list--dropdown .choices__item--selectable.is-highlighted[data-select-text]::after, [dir=rtl] .choices__list[aria-expanded] .choices__item--selectable.is-highlighted[data-select-text]::after {
[dir=rtl] .choices__list--dropdown .choices__item--selectable[data-select-text]::after, [dir=rtl] .choices__list[aria-expanded] .choices__item--selectable[data-select-text]::after {
right: auto;
left: 10px;
}
}
.choices__list--dropdown .choices__item--selectable.is-selected::after, .choices__list[aria-expanded] .choices__item--selectable.is-selected::after {
content: none !important;
}
.choices__list--dropdown .choices__item--selectable.is-selected, .choices__list[aria-expanded] .choices__item--selectable.is-selected, .choices__list--dropdown .choices__item--selectable.is-highlighted, .choices__list[aria-expanded] .choices__item--selectable.is-highlighted {
.choices__list--dropdown .choices__item--selectable.is-highlighted, .choices__list[aria-expanded] .choices__item--selectable.is-highlighted {
background-color: var(--choices-highlighted-color, #f2f2f2);
}
.choices__list--dropdown .choices__item--selectable.is-highlighted::after, .choices__list[aria-expanded] .choices__item--selectable.is-highlighted::after {
opacity: 0.5;
}
.choices__item {
cursor: default;

View file

@ -1 +1 @@
{"version":3,"sourceRoot":"","sources":["../../../src/styles/choices.scss"],"names":[],"mappings":"AAAA;AAAA;AAAA;AAiDA;EACE;EACA;EACA;EACA;;AAEA;EACE;;AAGF;EACE;;AAGF;EACE;;AAIA;EACE;EACA;EACA;;AAEF;EACE;EACA;;AAIJ;EACE;EACA;EACA;EACA;;;AAIJ;EACE;;AACA;EACE;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;;AAGF;EACE;;AAGJ;EACE;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGF;EACE;EACA;;AAIA;EACE;EACA;;AAEF;EACE;EACA;EACA;EACA;;;AAMJ;EACE;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;;;AAKN;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EAEE;;AAGF;EACE;;AAGF;EACE;;AAGF;EACE;;;AAIJ;EACE;EACA;EACA;;AAOF;EACE;EACA;EACA;;AAEA;EACE;EACA;;AAEF;EACE;;;AAIJ;EACE;;AACA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;;AAGF;EACE;EACA;;AAGF;EACE;EACA;;AAGF;EACE;EACA;;;AAKN;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;;AAGF;EACE;;AAGF;EACE;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;;AAEA;EACE;;AAKA;EADF;IAEI;;EAEA;IACE;IACA;IACA;IACA;IACA;IACA;;EAGF;IACE;IACA;IACA;;EAEA;IACE;IACA;;;AAQN;EACE;;AAIJ;EAEE;;;AASN;EACE;;;AAGF;EACE;;;AAGF;EACE;EACA;EACA;;;AAGF;EACE;EACA,WArXqB;EAsXrB;EACA;EACA;;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;;;AAIJ;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;;AAGF;EAIE;;AAGF;EAEE;EACA;EACA;;AAGF;EACE;EACA;;;AAIJ;EACE;;;AAGF","file":"choices.css"}
{"version":3,"sourceRoot":"","sources":["../../../src/styles/choices.scss"],"names":[],"mappings":"AAAA;AAAA;AAAA;AAiDA;EACE;EACA;EACA;EACA;;AAEA;EACE;;AAGF;EACE;;AAGF;EACE;;AAIA;EACE;EACA;EACA;;AAEF;EACE;EACA;;AAIJ;EACE;EACA;EACA;EACA;;;AAIJ;EACE;;AACA;EACE;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;;AAGF;EACE;;AAGJ;EACE;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAGF;EACE;EACA;;AAIA;EACE;EACA;;AAEF;EACE;EACA;EACA;EACA;;;AAMJ;EACE;;AAEF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;;;AAKN;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EAEE;;AAGF;EACE;;AAGF;EACE;;AAGF;EACE;;;AAIJ;EACE;EACA;EACA;;AAOF;EACE;EACA;EACA;;AAEA;EACE;EACA;;AAEF;EACE;;;AAIJ;EACE;;AACA;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;;AAGF;EACE;EACA;;AAGF;EACE;EACA;;AAGF;EACE;EACA;;;AAKN;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;;AAGF;EACE;;AAGF;EACE;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;EACA;EACA;;AAEF;EACE;EACA;EACA;;AAEA;EACE;;AAKA;EADF;IAEI;;EAEA;IACE;IACA;IACA;IACA;IACA;IACA;IACA;;EAGF;IACE;IACA;IACA;;EAEA;IACE;IACA;;;AAMR;EACE;;AAEA;EACE;;;AAUR;EACE;;;AAGF;EACE;;;AAGF;EACE;EACA;EACA;;;AAGF;EACE;EACA,WAlXqB;EAmXrB;EACA;EACA;;;AAGF;EACE;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;;;AAIJ;EACE;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EACA;;AAEA;EACE;;AAGF;EAIE;;AAGF;EAEE;EACA;EACA;;AAGF;EACE;EACA;;;AAIJ;EACE;;;AAGF","file":"choices.css"}

File diff suppressed because one or more lines are too long