@oliasoft-open-source/react-ui-library 4.15.3-beta-1 → 4.15.3
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/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -19539,7 +19539,7 @@ const Layer$1 = ({
|
|
|
19539
19539
|
return /* @__PURE__ */ jsx(
|
|
19540
19540
|
Option$1,
|
|
19541
19541
|
{
|
|
19542
|
-
option:
|
|
19542
|
+
option: option2,
|
|
19543
19543
|
onChange: (evt) => {
|
|
19544
19544
|
const { value } = option2;
|
|
19545
19545
|
const next2 = options.map(
|
|
@@ -19563,7 +19563,6 @@ const OptionDropdown = ({
|
|
|
19563
19563
|
showHeader = true,
|
|
19564
19564
|
maxHeight = "40vh"
|
|
19565
19565
|
}) => {
|
|
19566
|
-
const [newOptions, setNewOptions] = useState(options);
|
|
19567
19566
|
return /* @__PURE__ */ jsx(
|
|
19568
19567
|
Menu,
|
|
19569
19568
|
{
|
|
@@ -19575,11 +19574,11 @@ const OptionDropdown = ({
|
|
|
19575
19574
|
sections: /* @__PURE__ */ jsx(
|
|
19576
19575
|
Layer$1,
|
|
19577
19576
|
{
|
|
19578
|
-
options
|
|
19577
|
+
options,
|
|
19579
19578
|
onChangeOptions: (evt, nextOptions) => {
|
|
19579
|
+
evt.stopPropagation();
|
|
19580
19580
|
evt.target.name = name2;
|
|
19581
19581
|
evt.target.value = nextOptions;
|
|
19582
|
-
setNewOptions(nextOptions);
|
|
19583
19582
|
onChange(evt);
|
|
19584
19583
|
},
|
|
19585
19584
|
showHeader,
|
|
@@ -20942,6 +20941,7 @@ const Trigger = ({
|
|
|
20942
20941
|
order2
|
|
20943
20942
|
),
|
|
20944
20943
|
onClick: (evt) => {
|
|
20944
|
+
evt.stopPropagation();
|
|
20945
20945
|
onClickTrigger(evt);
|
|
20946
20946
|
if (typeof setInputFocus === "function") {
|
|
20947
20947
|
requestAnimationFrame(() => setInputFocus());
|