@evergis/uilib-gl 1.0.128 → 1.0.129
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/uilib-gl.esm.js +7 -3
- package/dist/uilib-gl.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/uilib-gl.esm.js
CHANGED
|
@@ -18806,6 +18806,7 @@ const MenuComponent = _ref => {
|
|
|
18806
18806
|
|
|
18807
18807
|
if (titleOption) {
|
|
18808
18808
|
result.push(React.createElement(OptionToggler, {
|
|
18809
|
+
key: `title-option-${titleOption.text}`,
|
|
18809
18810
|
toggled: visibleGroups == null ? void 0 : visibleGroups[i || 0],
|
|
18810
18811
|
onClick: () => toggleVisibleGroup(i || 0)
|
|
18811
18812
|
}, titleOption.text));
|
|
@@ -18818,7 +18819,7 @@ const MenuComponent = _ref => {
|
|
|
18818
18819
|
return !title && (visibleGroups == null ? void 0 : visibleGroups[i || 0]);
|
|
18819
18820
|
}).map(item => {
|
|
18820
18821
|
return React.createElement(Option, {
|
|
18821
|
-
key: `
|
|
18822
|
+
key: `option-${item.value}`,
|
|
18822
18823
|
item: item,
|
|
18823
18824
|
selectedOptions: selectedOptions,
|
|
18824
18825
|
multiple: multiple,
|
|
@@ -18828,7 +18829,9 @@ const MenuComponent = _ref => {
|
|
|
18828
18829
|
}));
|
|
18829
18830
|
|
|
18830
18831
|
if (!titleOption && i !== undefined && i > 0) {
|
|
18831
|
-
result.push(React.createElement(DividerLine,
|
|
18832
|
+
result.push(React.createElement(DividerLine, {
|
|
18833
|
+
key: `divider-${i}`
|
|
18834
|
+
}));
|
|
18832
18835
|
}
|
|
18833
18836
|
|
|
18834
18837
|
return result;
|
|
@@ -20137,7 +20140,8 @@ const SwitchComponent = _ref => {
|
|
|
20137
20140
|
type: "checkbox",
|
|
20138
20141
|
hidden: true,
|
|
20139
20142
|
checked: checked,
|
|
20140
|
-
disabled: disabled
|
|
20143
|
+
disabled: disabled,
|
|
20144
|
+
readOnly: true
|
|
20141
20145
|
}, props)), React.createElement(SwitchContainer, null, React.createElement(SwitchArea, {
|
|
20142
20146
|
title: title,
|
|
20143
20147
|
isOn: isOn !== undefined ? isOn : checked,
|