@mmb-digital/ds-lilly 0.3.10 → 0.3.11
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/ds-lilly.js +1 -1
- package/package.json +1 -1
package/dist/ds-lilly.js
CHANGED
|
@@ -97799,7 +97799,7 @@ var Select2CategorisedOptions = function (_a) {
|
|
|
97799
97799
|
setFocusedItemIndex(-1, -1);
|
|
97800
97800
|
} }, emptyValueLabel))),
|
|
97801
97801
|
items.map(function (category, categoryIndex) { return (external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_default.a.createElement(DropdownMenu, Select2CategorisedOptions_assign({ key: categoryIndex, activeDescendant: name + "_option-" + categoryIndex + "-" + focusedItemIndex, id: name + "_list-" + categoryIndex, labelledBy: name + "_label", role: "listbox", title: category.label, onBlur: onBlur }, additionalProps), category.items.map(function (item, itemIndex) {
|
|
97802
|
-
return (external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_default.a.createElement(DropdownItem, { key: itemIndex, id: name + "_option-" + categoryIndex + "-" + itemIndex, isDisabled: item.isDisabled, isFocused: itemIndex === focusedItemIndex && categoryIndex === focusedCategoryIndex, isSelected: item.value === value, perex: item.perex, role: "option", onClick: function () {
|
|
97802
|
+
return (external_root_React_commonjs2_react_commonjs_react_amd_react_umd_react_default.a.createElement(DropdownItem, { key: itemIndex, amount: item.amount, iconBackground: item.iconBackground, iconName: item.iconName, id: name + "_option-" + categoryIndex + "-" + itemIndex, isDisabled: item.isDisabled, isFocused: itemIndex === focusedItemIndex && categoryIndex === focusedCategoryIndex, isSelected: item.value === value, perex: item.perex, role: "option", onClick: function () {
|
|
97803
97803
|
setFocusedCategoryIndex(categoryIndex);
|
|
97804
97804
|
setValue(item.value);
|
|
97805
97805
|
setFocusedItemIndex(itemIndex, categoryIndex);
|