@oliasoft-open-source/react-ui-library 4.6.4 → 4.6.5

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.
Files changed (24) hide show
  1. package/dist/index.js +13 -4
  2. package/dist/index.js.map +1 -1
  3. package/dist/storybook/assets/{Color-6VNJS4EI-H6GX9JuX.js → Color-6VNJS4EI-6QyiStBx.js} +1 -1
  4. package/dist/storybook/assets/{DocsRenderer-NNNQARDV-61WZ2ztU.js → DocsRenderer-NNNQARDV-2upuKe-y.js} +1 -1
  5. package/dist/storybook/assets/{WithTooltip-V3YHNWJZ-6RntR6-_.js → WithTooltip-V3YHNWJZ-sasadf5B.js} +1 -1
  6. package/dist/storybook/assets/{buttons-and-links-UD3PzaIj.js → buttons-and-links-5qDA5c0M.js} +1 -1
  7. package/dist/storybook/assets/{chunk-HLWAVYOI-xPY5mnsO.js → chunk-HLWAVYOI-2WzL7lNK.js} +1 -1
  8. package/dist/storybook/assets/{color-jPK0xr4E.js → color-oYWpjfqe.js} +1 -1
  9. package/dist/storybook/assets/{formatter-SWP5E3XI-zYzBeB0L.js → formatter-SWP5E3XI-NZzQKsls.js} +1 -1
  10. package/dist/storybook/assets/{iframe-ru6_7CpQ.js → iframe-GxJzSQlX.js} +2 -2
  11. package/dist/storybook/assets/{index-vSKvx_iy.js → index-NMzKYhDm.js} +5 -5
  12. package/dist/storybook/assets/{input-validation-QodABrdN.js → input-validation-0WooNvL8.js} +1 -1
  13. package/dist/storybook/assets/{inputs-B4UxTeyT.js → inputs-ZnQpWnaa.js} +1 -1
  14. package/dist/storybook/assets/{layout-forms-nWVwatRI.js → layout-forms-MHOKZcG9.js} +1 -1
  15. package/dist/storybook/assets/{layout-general-m9TinthY.js → layout-general-X0JNgpR0.js} +1 -1
  16. package/dist/storybook/assets/{padding-and-spacing-ee-3aL0o.js → padding-and-spacing-hLcWI3R8.js} +1 -1
  17. package/dist/storybook/assets/{preview-_J8ZmGOb.js → preview-TQVrQPI_.js} +1 -1
  18. package/dist/storybook/assets/{preview-oostgEjZ.js → preview-r7HHhykG.js} +2 -2
  19. package/dist/storybook/assets/{syntaxhighlighter-B5GMVT5T-Ebq1wDzX.js → syntaxhighlighter-B5GMVT5T-gFlfxFDl.js} +1 -1
  20. package/dist/storybook/assets/unit-table.stories-ZHWCQMuq.js +142 -0
  21. package/dist/storybook/iframe.html +1 -1
  22. package/dist/storybook/project.json +1 -1
  23. package/package.json +1 -1
  24. package/dist/storybook/assets/unit-table.stories-lZ4MjpDy.js +0 -108
package/dist/index.js CHANGED
@@ -19534,6 +19534,18 @@ const Modal = ({
19534
19534
  onEnter,
19535
19535
  onEscape
19536
19536
  }) => {
19537
+ const MODAL_CONTAINER_ID = "modalContainer";
19538
+ useEffect(() => {
19539
+ if (document.getElementById(MODAL_CONTAINER_ID)) {
19540
+ return;
19541
+ }
19542
+ const container2 = document.createElement("div");
19543
+ container2.id = MODAL_CONTAINER_ID;
19544
+ document.body.appendChild(container2);
19545
+ return () => {
19546
+ document.body.removeChild(container2);
19547
+ };
19548
+ }, []);
19537
19549
  useKeyboardEvent(
19538
19550
  "Enter",
19539
19551
  () => {
@@ -19552,10 +19564,7 @@ const Modal = ({
19552
19564
  },
19553
19565
  [visible, onEscape]
19554
19566
  );
19555
- return /* @__PURE__ */ jsxs(Fragment$1, { children: [
19556
- /* @__PURE__ */ jsx(Portal, { id: "modalContainer", children: visible ? /* @__PURE__ */ jsx(Wrapper, { children: /* @__PURE__ */ jsx(Content$2, { width: width2, centered: centered2, children }) }) : null }),
19557
- /* @__PURE__ */ jsx("div", { id: "modalContainer" })
19558
- ] });
19567
+ return /* @__PURE__ */ jsx(Fragment$1, { children: /* @__PURE__ */ jsx(Portal, { id: MODAL_CONTAINER_ID, children: visible ? /* @__PURE__ */ jsx(Wrapper, { children: /* @__PURE__ */ jsx(Content$2, { width: width2, centered: centered2, children }) }) : null }) });
19559
19568
  };
19560
19569
  const menu$1 = "_menu_12x4u_1";
19561
19570
  const header = "_header_12x4u_11";