@stenajs-webui/modal 20.6.0 → 20.6.2

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.es.js CHANGED
@@ -1,42 +1,42 @@
1
- (function(){"use strict";try{if(typeof document<"u"){var o=document.createElement("style");o.appendChild(document.createTextNode("._overlay_5x3op_1{--swui-modal-animation-time: var(--swui-animation-time-fast);--swui-modal-overlay-bg-color: var(--swui-overlay-bg-color);--swui-modal-content-bg-color: var(--swui-white);--swui-modal-width: 960px;--swui-modal-max-width: 100%;--swui-modal-header-border-color: var(--lhds-color-ui-300);--swui-modal-shadow: var(--swui-shadow-modal);--swui-modal-footer-shadow: var(--swui-shadow-modal);position:fixed;z-index:10;top:0;left:0;right:0;bottom:0;background-color:var(--swui-modal-overlay-bg-color);overflow:auto;display:flex;flex-direction:column;justify-content:flex-start;align-items:center;animation:_fadeIn_5x3op_1 var(--swui-modal-animation-time) cubic-bezier(.645,.045,.355,1) both}@media print{._overlay_5x3op_1{background-color:#fff}}._overlay_5x3op_1 ._modal_5x3op_31{max-width:100%;outline:none;pointer-events:none}@media (max-width: 768px){._overlay_5x3op_1 ._modal_5x3op_31{width:100%}}._overlay_5x3op_1 ._content_5x3op_41{position:relative;display:block;background:var(--swui-modal-content-bg-color);box-shadow:var(--swui-modal-shadow);pointer-events:all;top:calc(var(--swui-metrics-space) * 2);width:var(--swui-modal-width);max-width:var(--swui-modal-max-width)}@media (max-width: 768px){._overlay_5x3op_1 ._content_5x3op_41{top:0;width:100%;max-width:100%}}._overlay_5x3op_1 ._content_5x3op_41{animation:_appear_5x3op_1 var(--swui-animation-time-fast) cubic-bezier(.645,.045,.355,1) both}@media print{._overlay_5x3op_1 ._content_5x3op_41{box-shadow:none;top:0}}._overlay_5x3op_1 ._content_5x3op_41 :focus{outline:0}._overlay_5x3op_1 ._content_5x3op_41._isDraggable_5x3op_70 .draggable-modal-handle{cursor:move}._overlay_5x3op_1 ._content_5x3op_41._isDraggable_5x3op_70 .draggable-modal-handle .draggable-modal-cancel,._overlay_5x3op_1 ._content_5x3op_41._isDraggable_5x3op_70 .draggable-modal-handle [role=tooltip]{cursor:initial}@keyframes _fadeIn_5x3op_1{0%{background-color:var(--swui-hidden)}to{background-color:var(--swui-modal-overlay-bg-color)}}@keyframes _appear_5x3op_1{0%{opacity:0}to{opacity:1}}._footer_5x3op_101{background-color:var(--swui-modal-content-bg-color)}._stickyFooter_5x3op_105{position:-webkit-sticky;position:sticky;bottom:0;box-shadow:var(--swui-modal-footer-shadow)}@media print{._stickyFooter_5x3op_105{position:static;box-shadow:none}}._portal_17ze5_1{--drawer-width: 370px}._portal_17ze5_1 ._overlay_17ze5_4{position:fixed;top:0;right:0;bottom:0;left:0}._portal_17ze5_1 ._content_17ze5_9{box-shadow:var(--swui-shadow-modal);background:#fff;position:absolute;transition:transform var(--swui-animation-time-medium) ease-in-out}._portal_17ze5_1 ._content_17ze5_9._floating_17ze5_15{margin:var(--swui-metrics-space);border-radius:var(--swui-border-radius)}@media (max-width: 768px){._portal_17ze5_1 ._content_17ze5_9._floating_17ze5_15{margin:0;border-radius:0}}._portal_17ze5_1 ._content_17ze5_9:focus-visible{outline:unset}._portal_17ze5_1 ._content_17ze5_9._slideFromLeft_17ze5_29,._portal_17ze5_1 ._content_17ze5_9._slideFromRight_17ze5_30{transform:translate(var(--translate-x-outside-screen, 0));overflow-y:auto;top:0;bottom:0}._portal_17ze5_1 ._content_17ze5_9._slideFromLeft_17ze5_29._afterOpen_17ze5_36,._portal_17ze5_1 ._content_17ze5_9._slideFromRight_17ze5_30._afterOpen_17ze5_36{transform:translate(0)}._portal_17ze5_1 ._content_17ze5_9._slideFromLeft_17ze5_29._beforeClose_17ze5_40,._portal_17ze5_1 ._content_17ze5_9._slideFromRight_17ze5_30._beforeClose_17ze5_40{transform:translate(var(--translate-x-outside-screen))}._portal_17ze5_1 ._content_17ze5_9._slideFromTop_17ze5_45,._portal_17ze5_1 ._content_17ze5_9._slideFromBottom_17ze5_46{transform:translateY(var(--translate-y-outside-screen, 0));overflow-x:auto;left:0;right:0}._portal_17ze5_1 ._content_17ze5_9._slideFromTop_17ze5_45._afterOpen_17ze5_36,._portal_17ze5_1 ._content_17ze5_9._slideFromBottom_17ze5_46._afterOpen_17ze5_36{transform:translateY(0)}._portal_17ze5_1 ._content_17ze5_9._slideFromTop_17ze5_45._beforeClose_17ze5_40,._portal_17ze5_1 ._content_17ze5_9._slideFromBottom_17ze5_46._beforeClose_17ze5_40{transform:translateY(var(--translate-y-outside-screen))}._portal_17ze5_1 ._content_17ze5_9._slideFromLeft_17ze5_29{--translate-x-outside-screen: -100%;width:var(--drawer-width);left:0}._portal_17ze5_1 ._content_17ze5_9._slideFromRight_17ze5_30{--translate-x-outside-screen: 100%;width:var(--drawer-width);right:0}._portal_17ze5_1 ._content_17ze5_9._slideFromTop_17ze5_45{--translate-y-outside-screen: -100%;height:var(--drawer-width);top:0}._portal_17ze5_1 ._content_17ze5_9._slideFromBottom_17ze5_46{--translate-y-outside-screen: 100%;height:var(--drawer-width);bottom:0}._overlay_r9tkq_1{--swui-modal-animation-time: var(--swui-animation-time-fast);--swui-modal-overlay-bg-color: var(--swui-overlay-bg-color);--swui-modal-content-bg-color: var(--swui-white);--swui-modal-width: 960px;--swui-modal-max-width: 100%;--swui-modal-header-border-color: var(--lhds-color-ui-300);--swui-modal-shadow: var(--swui-shadow-modal);--swui-modal-footer-shadow: var(--swui-shadow-modal);position:fixed;z-index:10;top:0;left:0;right:0;bottom:0;background-color:var(--swui-modal-overlay-bg-color);overflow:auto;display:flex;flex-direction:column;justify-content:flex-start;align-items:center;animation:_fadeIn_r9tkq_1 var(--swui-modal-animation-time) cubic-bezier(.645,.045,.355,1) both}@media print{._overlay_r9tkq_1{background-color:#fff}}._overlay_r9tkq_1 ._modal_r9tkq_31{max-width:100%;outline:none;pointer-events:none;padding:var(--swui-metrics-space)}._overlay_r9tkq_1 ._content_r9tkq_38{position:relative;display:block;background:var(--swui-modal-content-bg-color);box-shadow:var(--swui-modal-shadow);border-radius:var(--swui-border-radius-large);pointer-events:all;width:var(--swui-modal-width);max-width:var(--swui-modal-max-width);animation:_appear_r9tkq_1 var(--swui-animation-time-fast) cubic-bezier(.645,.045,.355,1) both}@media print{._overlay_r9tkq_1 ._content_r9tkq_38{box-shadow:none;top:0}}._overlay_r9tkq_1 ._content_r9tkq_38 :focus{outline:0}._overlay_r9tkq_1 ._content_r9tkq_38._isDraggable_r9tkq_61 .draggable-modal-handle{cursor:move}._overlay_r9tkq_1 ._content_r9tkq_38._isDraggable_r9tkq_61 .draggable-modal-handle .draggable-modal-cancel,._overlay_r9tkq_1 ._content_r9tkq_38._isDraggable_r9tkq_61 .draggable-modal-handle [role=tooltip]{cursor:initial}@keyframes _fadeIn_r9tkq_1{0%{background-color:var(--swui-hidden)}to{background-color:var(--swui-modal-overlay-bg-color)}}@keyframes _appear_r9tkq_1{0%{opacity:0}to{opacity:1}}._footer_r9tkq_92{background-color:var(--swui-modal-content-bg-color)}._stickyFooter_r9tkq_96{position:-webkit-sticky;position:sticky;bottom:0;box-shadow:var(--swui-modal-footer-shadow)}@media print{._stickyFooter_r9tkq_96{position:static;box-shadow:none}}._overlay_1rolx_1{--swui-modal-animation-time: var(--swui-animation-time-fast);--swui-modal-overlay-bg-color: var(--swui-overlay-bg-color);--swui-modal-content-bg-color: var(--swui-white);--swui-modal-width: 960px;--swui-modal-max-width: 100%;--swui-modal-header-border-color: var(--lhds-color-ui-300);--swui-modal-shadow: var(--swui-shadow-modal);--swui-modal-footer-shadow: var(--swui-shadow-modal);position:fixed;z-index:10;top:0;left:0;right:0;bottom:0;background-color:var(--swui-modal-overlay-bg-color);overflow:auto;display:flex;flex-direction:column;justify-content:flex-start;align-items:center;animation:_fadeIn_1rolx_1 var(--swui-modal-animation-time) cubic-bezier(.645,.045,.355,1) both}@media print{._overlay_1rolx_1{background-color:#fff}}._overlay_1rolx_1 ._modal_1rolx_31{max-width:100%;outline:none;pointer-events:none}@media (max-width: 768px){._overlay_1rolx_1 ._modal_1rolx_31{width:100%}}._overlay_1rolx_1 ._content_1rolx_41{position:relative;display:block;background:var(--swui-modal-content-bg-color);box-shadow:var(--swui-modal-shadow);border-radius:var(--swui-border-radius-large);pointer-events:all;width:var(--swui-modal-width);max-width:var(--swui-modal-max-width)}@media (max-width: 768px){._overlay_1rolx_1 ._content_1rolx_41{border-radius:0;width:100%;max-width:100%;height:100vh}}._overlay_1rolx_1 ._content_1rolx_41{animation:_appear_1rolx_1 var(--swui-animation-time-fast) cubic-bezier(.645,.045,.355,1) both}@media print{._overlay_1rolx_1 ._content_1rolx_41{box-shadow:none;top:0}}._overlay_1rolx_1 ._content_1rolx_41 :focus{outline:0}._overlay_1rolx_1 ._content_1rolx_41._isDraggable_1rolx_71 .draggable-modal-handle{cursor:move}._overlay_1rolx_1 ._content_1rolx_41._isDraggable_1rolx_71 .draggable-modal-handle .draggable-modal-cancel,._overlay_1rolx_1 ._content_1rolx_41._isDraggable_1rolx_71 .draggable-modal-handle [role=tooltip]{cursor:initial}@keyframes _fadeIn_1rolx_1{0%{background-color:var(--swui-hidden)}to{background-color:var(--swui-modal-overlay-bg-color)}}@keyframes _appear_1rolx_1{0%{opacity:0}to{opacity:1}}._footer_1rolx_102{background-color:var(--swui-modal-content-bg-color)}._stickyFooter_1rolx_106{position:-webkit-sticky;position:sticky;bottom:0;box-shadow:var(--swui-modal-footer-shadow)}@media print{._stickyFooter_1rolx_106{position:static;box-shadow:none}}._modal_4fwgb_1{display:flex;justify-content:center;align-items:center;position:fixed;top:0;left:0;right:0;bottom:0;background-color:transparent}._overlay_4fwgb_13{position:fixed;top:0;left:0;right:0;bottom:0;background-color:var(--swui-overlay-bg-color)}._alertDialog_14t8t_1{border:0;outline:0;border-radius:var(--swui-border-radius-large);margin:auto;padding:0;overscroll-behavior:contain;opacity:0;pointer-events:none;box-shadow:#0003 0 0 10px 4px}._alertDialog_14t8t_1:not([open]){display:none}._alertDialog_14t8t_1[open]{opacity:1;pointer-events:auto;animation:_slideIn_14t8t_1 .25s forwards}._alertDialog_14t8t_1._closing_14t8t_22[open]{animation:_slideOut_14t8t_1 .25s forwards}._alertDialog_14t8t_1::backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background-color:#0d0e1080;animation:_fadeIn_14t8t_1 .25s forwards}._alertDialog_14t8t_1._closing_14t8t_22::backdrop{animation:_fadeOut_14t8t_1 .25s forwards}@keyframes _fadeIn_14t8t_1{0%{opacity:0}to{opacity:1}}@keyframes _fadeOut_14t8t_1{0%{opacity:1}to{opacity:0}}@keyframes _slideIn_14t8t_1{0%{transform:translateY(-100%);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes _slideOut_14t8t_1{0%{transform:translateY(0);opacity:1}to{transform:translateY(-100%);opacity:0}}._drawerDialog_3e8xf_1{max-height:100%;max-width:100%;border:0;outline:0;margin:0;padding:0;overscroll-behavior:contain;box-shadow:#0003 0 0 10px 4px;position:fixed}._drawerDialog_3e8xf_1._left_3e8xf_12,._drawerDialog_3e8xf_1._right_3e8xf_13{height:100%;top:0;bottom:0}._drawerDialog_3e8xf_1._left_3e8xf_12 ._contentWrapper_3e8xf_18,._drawerDialog_3e8xf_1._right_3e8xf_13 ._contentWrapper_3e8xf_18{height:100%}@media (max-width: 768px){._drawerDialog_3e8xf_1._left_3e8xf_12,._drawerDialog_3e8xf_1._right_3e8xf_13{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}}._drawerDialog_3e8xf_1._left_3e8xf_12{left:0;right:unset}._drawerDialog_3e8xf_1._left_3e8xf_12[open]{animation:_slideInLeft_3e8xf_1 .25s forwards}._drawerDialog_3e8xf_1._left_3e8xf_12._closing_3e8xf_35[open]{animation:_slideOutLeft_3e8xf_1 .25s forwards}._drawerDialog_3e8xf_1._right_3e8xf_13{left:unset;right:0}._drawerDialog_3e8xf_1._right_3e8xf_13[open]{animation:_slideInRight_3e8xf_1 .25s forwards}._drawerDialog_3e8xf_1._right_3e8xf_13._closing_3e8xf_35[open]{animation:_slideOutRight_3e8xf_1 .25s forwards}._drawerDialog_3e8xf_1._top_3e8xf_53,._drawerDialog_3e8xf_1._bottom_3e8xf_54{width:100%;left:0;right:0}@media (max-width: 768px){._drawerDialog_3e8xf_1._top_3e8xf_53,._drawerDialog_3e8xf_1._bottom_3e8xf_54{height:-webkit-fit-content;height:-moz-fit-content;height:fit-content}}._drawerDialog_3e8xf_1._top_3e8xf_53{top:0;bottom:unset}._drawerDialog_3e8xf_1._top_3e8xf_53[open]{animation:_slideInTop_3e8xf_1 .25s forwards}._drawerDialog_3e8xf_1._top_3e8xf_53._closing_3e8xf_35[open]{animation:_slideOutTop_3e8xf_1 .25s forwards}._drawerDialog_3e8xf_1._bottom_3e8xf_54{top:unset;bottom:0}._drawerDialog_3e8xf_1._bottom_3e8xf_54[open]{animation:_slideInBottom_3e8xf_1 .25s forwards}._drawerDialog_3e8xf_1._bottom_3e8xf_54._closing_3e8xf_35[open]{animation:_slideOutBottom_3e8xf_1 .25s forwards}._drawerDialog_3e8xf_1[open]{opacity:1;pointer-events:auto}@keyframes _slideInLeft_3e8xf_1{0%{transform:translate(-100%);opacity:0}to{transform:translate(0);opacity:1}}@keyframes _slideOutLeft_3e8xf_1{0%{transform:translate(0);opacity:0}to{transform:translate(-100%);opacity:1}}@keyframes _slideInTop_3e8xf_1{0%{transform:translateY(-100%);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes _slideOutTop_3e8xf_1{0%{transform:translateY(0);opacity:0}to{transform:translateY(-100%);opacity:1}}@keyframes _slideInRight_3e8xf_1{0%{transform:translate(100%);opacity:0}to{transform:translate(0);opacity:1}}@keyframes _slideOutRight_3e8xf_1{0%{transform:translate(0);opacity:0}to{transform:translate(100%);opacity:1}}@keyframes _slideInBottom_3e8xf_1{0%{transform:translateY(100%);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes _slideOutBottom_3e8xf_1{0%{transform:translateY(0);opacity:0}to{transform:translateY(100%);opacity:1}}._modalDialog_1czrs_1{border:0;outline:0;margin:auto;padding:0;overscroll-behavior:contain;opacity:0;pointer-events:none;box-shadow:#0003 0 0 10px 4px}@media (min-width: 769px){._modalDialog_1czrs_1{border-radius:var(--swui-border-radius-large)}}._modalDialog_1czrs_1:not([open]){display:none}._modalDialog_1czrs_1[open]{opacity:1;pointer-events:auto;animation:_slideIn_1czrs_1 .25s forwards}._modalDialog_1czrs_1._closing_1czrs_25[open]{animation:_slideOut_1czrs_1 .25s forwards}@media (max-width: 768px){._modalDialog_1czrs_1{margin:0;width:100%;max-width:100%;height:100%;max-height:100%}}._modalDialog_1czrs_1::backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background-color:#0d0e1080;animation:_fadeIn_1czrs_1 .25s forwards}._modalDialog_1czrs_1._closing_1czrs_25::backdrop{animation:_fadeOut_1czrs_1 .25s forwards}@keyframes _fadeIn_1czrs_1{0%{opacity:0}to{opacity:1}}@keyframes _fadeOut_1czrs_1{0%{opacity:1}to{opacity:0}}@keyframes _slideIn_1czrs_1{0%{transform:translateY(-100%);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes _slideOut_1czrs_1{0%{transform:translateY(0);opacity:1}to{transform:translateY(-100%);opacity:0}}._modalActionButtons_s27nj_1{display:flex;flex-direction:row;gap:16px;justify-content:center}@media (max-width: 768px){._modalActionButtons_s27nj_1{flex-direction:column;justify-content:stretch}}")),document.head.appendChild(o)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
2
- import b from "react-modal";
3
- import { jsx as l, jsxs as s, Fragment as F } from "react/jsx-runtime";
4
- import p from "react-draggable";
5
- import o from "classnames";
6
- import { exhaustSwitchCase as ee, Spacing as M, Row as C, Space as q, Heading as E, Column as V, Box as x, Indent as te, Txt as le, Text as ae } from "@stenajs-webui/core";
7
- import { Icon as J, FlatButton as re, stenaTimes as ce, Spinner as ne, CloseButton as K, CircledIcon as se } from "@stenajs-webui/elements";
8
- import { cssColor as oe } from "@stenajs-webui/theme";
9
- import { createContext as de, useRef as w, useReducer as _e, useState as H, useCallback as R, useMemo as ie, createElement as P, useContext as me } from "react";
10
- const jt = (t) => {
11
- b.setAppElement(t);
12
- }, ue = "_overlay_5x3op_1", fe = "_fadeIn_5x3op_1", ge = "_modal_5x3op_31", he = "_content_5x3op_41", ye = "_appear_5x3op_1", Ce = "_isDraggable_5x3op_70", ve = "_footer_5x3op_101", Ne = "_stickyFooter_5x3op_105", N = {
1
+ (function(){"use strict";try{if(typeof document<"u"){var o=document.createElement("style");o.appendChild(document.createTextNode("._overlay_5x3op_1{--swui-modal-animation-time: var(--swui-animation-time-fast);--swui-modal-overlay-bg-color: var(--swui-overlay-bg-color);--swui-modal-content-bg-color: var(--swui-white);--swui-modal-width: 960px;--swui-modal-max-width: 100%;--swui-modal-header-border-color: var(--lhds-color-ui-300);--swui-modal-shadow: var(--swui-shadow-modal);--swui-modal-footer-shadow: var(--swui-shadow-modal);position:fixed;z-index:10;top:0;left:0;right:0;bottom:0;background-color:var(--swui-modal-overlay-bg-color);overflow:auto;display:flex;flex-direction:column;justify-content:flex-start;align-items:center;animation:_fadeIn_5x3op_1 var(--swui-modal-animation-time) cubic-bezier(.645,.045,.355,1) both}@media print{._overlay_5x3op_1{background-color:#fff}}._overlay_5x3op_1 ._modal_5x3op_31{max-width:100%;outline:none;pointer-events:none}@media (max-width: 768px){._overlay_5x3op_1 ._modal_5x3op_31{width:100%}}._overlay_5x3op_1 ._content_5x3op_41{position:relative;display:block;background:var(--swui-modal-content-bg-color);box-shadow:var(--swui-modal-shadow);pointer-events:all;top:calc(var(--swui-metrics-space) * 2);width:var(--swui-modal-width);max-width:var(--swui-modal-max-width)}@media (max-width: 768px){._overlay_5x3op_1 ._content_5x3op_41{top:0;width:100%;max-width:100%}}._overlay_5x3op_1 ._content_5x3op_41{animation:_appear_5x3op_1 var(--swui-animation-time-fast) cubic-bezier(.645,.045,.355,1) both}@media print{._overlay_5x3op_1 ._content_5x3op_41{box-shadow:none;top:0}}._overlay_5x3op_1 ._content_5x3op_41 :focus{outline:0}._overlay_5x3op_1 ._content_5x3op_41._isDraggable_5x3op_70 .draggable-modal-handle{cursor:move}._overlay_5x3op_1 ._content_5x3op_41._isDraggable_5x3op_70 .draggable-modal-handle .draggable-modal-cancel,._overlay_5x3op_1 ._content_5x3op_41._isDraggable_5x3op_70 .draggable-modal-handle [role=tooltip]{cursor:initial}@keyframes _fadeIn_5x3op_1{0%{background-color:var(--swui-hidden)}to{background-color:var(--swui-modal-overlay-bg-color)}}@keyframes _appear_5x3op_1{0%{opacity:0}to{opacity:1}}._footer_5x3op_101{background-color:var(--swui-modal-content-bg-color)}._stickyFooter_5x3op_105{position:-webkit-sticky;position:sticky;bottom:0;box-shadow:var(--swui-modal-footer-shadow)}@media print{._stickyFooter_5x3op_105{position:static;box-shadow:none}}._portal_17ze5_1{--drawer-width: 370px}._portal_17ze5_1 ._overlay_17ze5_4{position:fixed;top:0;right:0;bottom:0;left:0}._portal_17ze5_1 ._content_17ze5_9{box-shadow:var(--swui-shadow-modal);background:#fff;position:absolute;transition:transform var(--swui-animation-time-medium) ease-in-out}._portal_17ze5_1 ._content_17ze5_9._floating_17ze5_15{margin:var(--swui-metrics-space);border-radius:var(--swui-border-radius)}@media (max-width: 768px){._portal_17ze5_1 ._content_17ze5_9._floating_17ze5_15{margin:0;border-radius:0}}._portal_17ze5_1 ._content_17ze5_9:focus-visible{outline:unset}._portal_17ze5_1 ._content_17ze5_9._slideFromLeft_17ze5_29,._portal_17ze5_1 ._content_17ze5_9._slideFromRight_17ze5_30{transform:translate(var(--translate-x-outside-screen, 0));overflow-y:auto;top:0;bottom:0}._portal_17ze5_1 ._content_17ze5_9._slideFromLeft_17ze5_29._afterOpen_17ze5_36,._portal_17ze5_1 ._content_17ze5_9._slideFromRight_17ze5_30._afterOpen_17ze5_36{transform:translate(0)}._portal_17ze5_1 ._content_17ze5_9._slideFromLeft_17ze5_29._beforeClose_17ze5_40,._portal_17ze5_1 ._content_17ze5_9._slideFromRight_17ze5_30._beforeClose_17ze5_40{transform:translate(var(--translate-x-outside-screen))}._portal_17ze5_1 ._content_17ze5_9._slideFromTop_17ze5_45,._portal_17ze5_1 ._content_17ze5_9._slideFromBottom_17ze5_46{transform:translateY(var(--translate-y-outside-screen, 0));overflow-x:auto;left:0;right:0}._portal_17ze5_1 ._content_17ze5_9._slideFromTop_17ze5_45._afterOpen_17ze5_36,._portal_17ze5_1 ._content_17ze5_9._slideFromBottom_17ze5_46._afterOpen_17ze5_36{transform:translateY(0)}._portal_17ze5_1 ._content_17ze5_9._slideFromTop_17ze5_45._beforeClose_17ze5_40,._portal_17ze5_1 ._content_17ze5_9._slideFromBottom_17ze5_46._beforeClose_17ze5_40{transform:translateY(var(--translate-y-outside-screen))}._portal_17ze5_1 ._content_17ze5_9._slideFromLeft_17ze5_29{--translate-x-outside-screen: -100%;width:var(--drawer-width);left:0}._portal_17ze5_1 ._content_17ze5_9._slideFromRight_17ze5_30{--translate-x-outside-screen: 100%;width:var(--drawer-width);right:0}._portal_17ze5_1 ._content_17ze5_9._slideFromTop_17ze5_45{--translate-y-outside-screen: -100%;height:var(--drawer-width);top:0}._portal_17ze5_1 ._content_17ze5_9._slideFromBottom_17ze5_46{--translate-y-outside-screen: 100%;height:var(--drawer-width);bottom:0}._overlay_r9tkq_1{--swui-modal-animation-time: var(--swui-animation-time-fast);--swui-modal-overlay-bg-color: var(--swui-overlay-bg-color);--swui-modal-content-bg-color: var(--swui-white);--swui-modal-width: 960px;--swui-modal-max-width: 100%;--swui-modal-header-border-color: var(--lhds-color-ui-300);--swui-modal-shadow: var(--swui-shadow-modal);--swui-modal-footer-shadow: var(--swui-shadow-modal);position:fixed;z-index:10;top:0;left:0;right:0;bottom:0;background-color:var(--swui-modal-overlay-bg-color);overflow:auto;display:flex;flex-direction:column;justify-content:flex-start;align-items:center;animation:_fadeIn_r9tkq_1 var(--swui-modal-animation-time) cubic-bezier(.645,.045,.355,1) both}@media print{._overlay_r9tkq_1{background-color:#fff}}._overlay_r9tkq_1 ._modal_r9tkq_31{max-width:100%;outline:none;pointer-events:none;padding:var(--swui-metrics-space)}._overlay_r9tkq_1 ._content_r9tkq_38{position:relative;display:block;background:var(--swui-modal-content-bg-color);box-shadow:var(--swui-modal-shadow);border-radius:var(--swui-border-radius-large);pointer-events:all;width:var(--swui-modal-width);max-width:var(--swui-modal-max-width);animation:_appear_r9tkq_1 var(--swui-animation-time-fast) cubic-bezier(.645,.045,.355,1) both}@media print{._overlay_r9tkq_1 ._content_r9tkq_38{box-shadow:none;top:0}}._overlay_r9tkq_1 ._content_r9tkq_38 :focus{outline:0}._overlay_r9tkq_1 ._content_r9tkq_38._isDraggable_r9tkq_61 .draggable-modal-handle{cursor:move}._overlay_r9tkq_1 ._content_r9tkq_38._isDraggable_r9tkq_61 .draggable-modal-handle .draggable-modal-cancel,._overlay_r9tkq_1 ._content_r9tkq_38._isDraggable_r9tkq_61 .draggable-modal-handle [role=tooltip]{cursor:initial}@keyframes _fadeIn_r9tkq_1{0%{background-color:var(--swui-hidden)}to{background-color:var(--swui-modal-overlay-bg-color)}}@keyframes _appear_r9tkq_1{0%{opacity:0}to{opacity:1}}._footer_r9tkq_92{background-color:var(--swui-modal-content-bg-color)}._stickyFooter_r9tkq_96{position:-webkit-sticky;position:sticky;bottom:0;box-shadow:var(--swui-modal-footer-shadow)}@media print{._stickyFooter_r9tkq_96{position:static;box-shadow:none}}._overlay_1rolx_1{--swui-modal-animation-time: var(--swui-animation-time-fast);--swui-modal-overlay-bg-color: var(--swui-overlay-bg-color);--swui-modal-content-bg-color: var(--swui-white);--swui-modal-width: 960px;--swui-modal-max-width: 100%;--swui-modal-header-border-color: var(--lhds-color-ui-300);--swui-modal-shadow: var(--swui-shadow-modal);--swui-modal-footer-shadow: var(--swui-shadow-modal);position:fixed;z-index:10;top:0;left:0;right:0;bottom:0;background-color:var(--swui-modal-overlay-bg-color);overflow:auto;display:flex;flex-direction:column;justify-content:flex-start;align-items:center;animation:_fadeIn_1rolx_1 var(--swui-modal-animation-time) cubic-bezier(.645,.045,.355,1) both}@media print{._overlay_1rolx_1{background-color:#fff}}._overlay_1rolx_1 ._modal_1rolx_31{max-width:100%;outline:none;pointer-events:none}@media (max-width: 768px){._overlay_1rolx_1 ._modal_1rolx_31{width:100%}}._overlay_1rolx_1 ._content_1rolx_41{position:relative;display:block;background:var(--swui-modal-content-bg-color);box-shadow:var(--swui-modal-shadow);border-radius:var(--swui-border-radius-large);pointer-events:all;width:var(--swui-modal-width);max-width:var(--swui-modal-max-width)}@media (max-width: 768px){._overlay_1rolx_1 ._content_1rolx_41{border-radius:0;width:100%;max-width:100%;height:100vh}}._overlay_1rolx_1 ._content_1rolx_41{animation:_appear_1rolx_1 var(--swui-animation-time-fast) cubic-bezier(.645,.045,.355,1) both}@media print{._overlay_1rolx_1 ._content_1rolx_41{box-shadow:none;top:0}}._overlay_1rolx_1 ._content_1rolx_41 :focus{outline:0}._overlay_1rolx_1 ._content_1rolx_41._isDraggable_1rolx_71 .draggable-modal-handle{cursor:move}._overlay_1rolx_1 ._content_1rolx_41._isDraggable_1rolx_71 .draggable-modal-handle .draggable-modal-cancel,._overlay_1rolx_1 ._content_1rolx_41._isDraggable_1rolx_71 .draggable-modal-handle [role=tooltip]{cursor:initial}@keyframes _fadeIn_1rolx_1{0%{background-color:var(--swui-hidden)}to{background-color:var(--swui-modal-overlay-bg-color)}}@keyframes _appear_1rolx_1{0%{opacity:0}to{opacity:1}}._footer_1rolx_102{background-color:var(--swui-modal-content-bg-color)}._stickyFooter_1rolx_106{position:-webkit-sticky;position:sticky;bottom:0;box-shadow:var(--swui-modal-footer-shadow)}@media print{._stickyFooter_1rolx_106{position:static;box-shadow:none}}._modal_4fwgb_1{display:flex;justify-content:center;align-items:center;position:fixed;top:0;left:0;right:0;bottom:0;background-color:transparent}._overlay_4fwgb_13{position:fixed;top:0;left:0;right:0;bottom:0;background-color:var(--swui-overlay-bg-color)}._alertDialog_14t8t_1{border:0;outline:0;border-radius:var(--swui-border-radius-large);margin:auto;padding:0;overscroll-behavior:contain;opacity:0;pointer-events:none;box-shadow:#0003 0 0 10px 4px}._alertDialog_14t8t_1:not([open]){display:none}._alertDialog_14t8t_1[open]{opacity:1;pointer-events:auto;animation:_slideIn_14t8t_1 .25s forwards}._alertDialog_14t8t_1._closing_14t8t_22[open]{animation:_slideOut_14t8t_1 .25s forwards}._alertDialog_14t8t_1::backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background-color:#0d0e1080;animation:_fadeIn_14t8t_1 .25s forwards}._alertDialog_14t8t_1._closing_14t8t_22::backdrop{animation:_fadeOut_14t8t_1 .25s forwards}@keyframes _fadeIn_14t8t_1{0%{opacity:0}to{opacity:1}}@keyframes _fadeOut_14t8t_1{0%{opacity:1}to{opacity:0}}@keyframes _slideIn_14t8t_1{0%{transform:translateY(-100%);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes _slideOut_14t8t_1{0%{transform:translateY(0);opacity:1}to{transform:translateY(-100%);opacity:0}}._drawerDialog_3e8xf_1{max-height:100%;max-width:100%;border:0;outline:0;margin:0;padding:0;overscroll-behavior:contain;box-shadow:#0003 0 0 10px 4px;position:fixed}._drawerDialog_3e8xf_1._left_3e8xf_12,._drawerDialog_3e8xf_1._right_3e8xf_13{height:100%;top:0;bottom:0}._drawerDialog_3e8xf_1._left_3e8xf_12 ._contentWrapper_3e8xf_18,._drawerDialog_3e8xf_1._right_3e8xf_13 ._contentWrapper_3e8xf_18{height:100%}@media (max-width: 768px){._drawerDialog_3e8xf_1._left_3e8xf_12,._drawerDialog_3e8xf_1._right_3e8xf_13{width:-webkit-fit-content;width:-moz-fit-content;width:fit-content}}._drawerDialog_3e8xf_1._left_3e8xf_12{left:0;right:unset}._drawerDialog_3e8xf_1._left_3e8xf_12[open]{animation:_slideInLeft_3e8xf_1 .25s forwards}._drawerDialog_3e8xf_1._left_3e8xf_12._closing_3e8xf_35[open]{animation:_slideOutLeft_3e8xf_1 .25s forwards}._drawerDialog_3e8xf_1._right_3e8xf_13{left:unset;right:0}._drawerDialog_3e8xf_1._right_3e8xf_13[open]{animation:_slideInRight_3e8xf_1 .25s forwards}._drawerDialog_3e8xf_1._right_3e8xf_13._closing_3e8xf_35[open]{animation:_slideOutRight_3e8xf_1 .25s forwards}._drawerDialog_3e8xf_1._top_3e8xf_53,._drawerDialog_3e8xf_1._bottom_3e8xf_54{width:100%;left:0;right:0}@media (max-width: 768px){._drawerDialog_3e8xf_1._top_3e8xf_53,._drawerDialog_3e8xf_1._bottom_3e8xf_54{height:-webkit-fit-content;height:-moz-fit-content;height:fit-content}}._drawerDialog_3e8xf_1._top_3e8xf_53{top:0;bottom:unset}._drawerDialog_3e8xf_1._top_3e8xf_53[open]{animation:_slideInTop_3e8xf_1 .25s forwards}._drawerDialog_3e8xf_1._top_3e8xf_53._closing_3e8xf_35[open]{animation:_slideOutTop_3e8xf_1 .25s forwards}._drawerDialog_3e8xf_1._bottom_3e8xf_54{top:unset;bottom:0}._drawerDialog_3e8xf_1._bottom_3e8xf_54[open]{animation:_slideInBottom_3e8xf_1 .25s forwards}._drawerDialog_3e8xf_1._bottom_3e8xf_54._closing_3e8xf_35[open]{animation:_slideOutBottom_3e8xf_1 .25s forwards}._drawerDialog_3e8xf_1[open]{opacity:1;pointer-events:auto}@keyframes _slideInLeft_3e8xf_1{0%{transform:translate(-100%);opacity:0}to{transform:translate(0);opacity:1}}@keyframes _slideOutLeft_3e8xf_1{0%{transform:translate(0);opacity:0}to{transform:translate(-100%);opacity:1}}@keyframes _slideInTop_3e8xf_1{0%{transform:translateY(-100%);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes _slideOutTop_3e8xf_1{0%{transform:translateY(0);opacity:0}to{transform:translateY(-100%);opacity:1}}@keyframes _slideInRight_3e8xf_1{0%{transform:translate(100%);opacity:0}to{transform:translate(0);opacity:1}}@keyframes _slideOutRight_3e8xf_1{0%{transform:translate(0);opacity:0}to{transform:translate(100%);opacity:1}}@keyframes _slideInBottom_3e8xf_1{0%{transform:translateY(100%);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes _slideOutBottom_3e8xf_1{0%{transform:translateY(0);opacity:0}to{transform:translateY(100%);opacity:1}}._modalDialog_6jugu_1{border:0;outline:0;margin:auto;padding:0;overscroll-behavior:contain;opacity:0;pointer-events:none;box-shadow:#0003 0 0 10px 4px}@media (min-width: 769px){._modalDialog_6jugu_1{border-radius:var(--swui-border-radius-large)}}._modalDialog_6jugu_1:not([open]){display:none}._modalDialog_6jugu_1[open]{opacity:1;pointer-events:auto;animation:_slideIn_6jugu_1 .25s forwards}._modalDialog_6jugu_1._closing_6jugu_25[open]{animation:_slideOut_6jugu_1 .25s forwards}@media (max-width: 768px){._modalDialog_6jugu_1{margin:0;width:100%;max-width:100%;height:100%;max-height:100%}}._modalDialog_6jugu_1::backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background-color:#0d0e1080;animation:_fadeIn_6jugu_1 .25s forwards}._modalDialog_6jugu_1._closing_6jugu_25::backdrop{animation:_fadeOut_6jugu_1 .25s forwards}@keyframes _fadeIn_6jugu_1{0%{opacity:0}to{opacity:1}}@keyframes _fadeOut_6jugu_1{0%{opacity:1}to{opacity:0}}@keyframes _slideIn_6jugu_1{0%{transform:translateY(-100%);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes _slideOut_6jugu_1{0%{transform:translateY(0);opacity:1}to{transform:translateY(-100%);opacity:0}}@media (max-width: 768px){._contentWrapper_6jugu_89{display:flex;height:100%}}._modalActionButtons_s27nj_1{display:flex;flex-direction:row;gap:16px;justify-content:center}@media (max-width: 768px){._modalActionButtons_s27nj_1{flex-direction:column;justify-content:stretch}}")),document.head.appendChild(o)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
2
+ import x from "react-modal";
3
+ import { jsx as l, jsxs as s, Fragment as k } from "react/jsx-runtime";
4
+ import Z from "react-draggable";
5
+ import c from "classnames";
6
+ import { exhaustSwitchCase as ee, Spacing as j, Row as C, Space as T, Heading as z, Column as G, Box as N, Indent as te, Txt as le, Text as ne } from "@stenajs-webui/core";
7
+ import { Icon as V, FlatButton as ae, stenaTimes as oe, Spinner as re, CloseButton as J, CircledIcon as se } from "@stenajs-webui/elements";
8
+ import { cssColor as ce } from "@stenajs-webui/theme";
9
+ import { createContext as ie, useRef as O, useReducer as de, useState as q, useCallback as W, useMemo as _e, createElement as H, useContext as me } from "react";
10
+ const Tt = (t) => {
11
+ x.setAppElement(t);
12
+ }, ue = "_overlay_5x3op_1", fe = "_fadeIn_5x3op_1", ge = "_modal_5x3op_31", he = "_content_5x3op_41", ye = "_appear_5x3op_1", Ce = "_isDraggable_5x3op_70", pe = "_footer_5x3op_101", ve = "_stickyFooter_5x3op_105", v = {
13
13
  overlay: ue,
14
14
  fadeIn: fe,
15
15
  modal: ge,
16
16
  content: he,
17
17
  appear: ye,
18
18
  isDraggable: Ce,
19
- footer: ve,
20
- stickyFooter: Ne
21
- }, Q = "draggable-modal-handle", U = "draggable-modal-cancel", xe = ({
19
+ footer: pe,
20
+ stickyFooter: ve
21
+ }, K = "draggable-modal-handle", Q = "draggable-modal-cancel", Ne = ({
22
22
  width: t,
23
23
  maxWidth: e,
24
- draggable: a = !1,
25
- children: r,
26
- ...c
24
+ draggable: n = !1,
25
+ children: a,
26
+ ...o
27
27
  }) => /* @__PURE__ */ l(
28
- b,
28
+ x,
29
29
  {
30
- overlayClassName: N.overlay,
31
- className: N.modal,
32
- ...c,
30
+ overlayClassName: v.overlay,
31
+ className: v.modal,
32
+ ...o,
33
33
  children: /* @__PURE__ */ l(
34
- p,
34
+ Z,
35
35
  {
36
- handle: `.${Q}`,
37
- cancel: `.${U}, button, [role="tooltip"]`,
36
+ handle: `.${K}`,
37
+ cancel: `.${Q}, button, [role="tooltip"]`,
38
38
  bounds: ".ReactModal__Overlay",
39
- disabled: !a,
39
+ disabled: !n,
40
40
  children: /* @__PURE__ */ l(
41
41
  "div",
42
42
  {
@@ -44,86 +44,86 @@ const jt = (t) => {
44
44
  "--swui-modal-width": t,
45
45
  "--swui-modal-max-width": e
46
46
  },
47
- className: o(N.content, {
48
- [N.isDraggable]: a
47
+ className: c(v.content, {
48
+ [v.isDraggable]: n
49
49
  }),
50
- children: r
50
+ children: a
51
51
  }
52
52
  )
53
53
  }
54
54
  )
55
55
  }
56
- ), be = "_portal_17ze5_1", Ie = "_overlay_17ze5_4", Oe = "_content_17ze5_9", we = "_floating_17ze5_15", De = "_slideFromLeft_17ze5_29", $e = "_slideFromRight_17ze5_30", ke = "_afterOpen_17ze5_36", Fe = "_beforeClose_17ze5_40", Be = "_slideFromTop_17ze5_45", ze = "_slideFromBottom_17ze5_46", n = {
57
- portal: be,
58
- overlay: Ie,
59
- content: Oe,
60
- floating: we,
61
- slideFromLeft: De,
56
+ ), xe = "_portal_17ze5_1", be = "_overlay_17ze5_4", Ie = "_content_17ze5_9", Oe = "_floating_17ze5_15", we = "_slideFromLeft_17ze5_29", $e = "_slideFromRight_17ze5_30", De = "_afterOpen_17ze5_36", ke = "_beforeClose_17ze5_40", Fe = "_slideFromTop_17ze5_45", Be = "_slideFromBottom_17ze5_46", r = {
57
+ portal: xe,
58
+ overlay: be,
59
+ content: Ie,
60
+ floating: Oe,
61
+ slideFromLeft: we,
62
62
  slideFromRight: $e,
63
- afterOpen: ke,
64
- beforeClose: Fe,
65
- slideFromTop: Be,
66
- slideFromBottom: ze
63
+ afterOpen: De,
64
+ beforeClose: ke,
65
+ slideFromTop: Fe,
66
+ slideFromBottom: Be
67
67
  }, qt = ({
68
68
  background: t,
69
69
  zIndex: e,
70
- children: a,
71
- slideFrom: r = "left",
72
- portalTarget: c,
70
+ children: n,
71
+ slideFrom: a = "left",
72
+ portalTarget: o,
73
73
  floating: g,
74
- ...d
74
+ ...i
75
75
  }) => {
76
- const { height: m, width: _ } = d;
76
+ const { height: m, width: d } = i;
77
77
  return /* @__PURE__ */ l(
78
- b,
78
+ x,
79
79
  {
80
80
  closeTimeoutMS: 250,
81
- portalClassName: n.portal,
81
+ portalClassName: r.portal,
82
82
  overlayClassName: {
83
- base: n.overlay,
84
- afterOpen: n.afterOpen,
85
- beforeClose: n.beforeClose
83
+ base: r.overlay,
84
+ afterOpen: r.afterOpen,
85
+ beforeClose: r.beforeClose
86
86
  },
87
87
  className: {
88
- base: o(
89
- n.content,
90
- Re(r),
91
- g && n.floating
88
+ base: c(
89
+ r.content,
90
+ We(a),
91
+ g && r.floating
92
92
  ),
93
- afterOpen: n.afterOpen,
94
- beforeClose: n.beforeClose
93
+ afterOpen: r.afterOpen,
94
+ beforeClose: r.beforeClose
95
95
  },
96
- style: { content: { width: _, height: m, background: t }, overlay: { zIndex: e } },
97
- parentSelector: c ? () => c : void 0,
98
- ...d,
99
- children: a
96
+ style: { content: { width: d, height: m, background: t }, overlay: { zIndex: e } },
97
+ parentSelector: o ? () => o : void 0,
98
+ ...i,
99
+ children: n
100
100
  }
101
101
  );
102
- }, Re = (t) => {
102
+ }, We = (t) => {
103
103
  switch (t) {
104
104
  case "left":
105
- return n.slideFromLeft;
105
+ return r.slideFromLeft;
106
106
  case "right":
107
- return n.slideFromRight;
107
+ return r.slideFromRight;
108
108
  case "top":
109
- return n.slideFromTop;
109
+ return r.slideFromTop;
110
110
  case "bottom":
111
- return n.slideFromBottom;
111
+ return r.slideFromBottom;
112
112
  default:
113
- return ee(t, n.slideFromLeft);
113
+ return ee(t, r.slideFromLeft);
114
114
  }
115
115
  }, Ht = ({
116
116
  header: t,
117
117
  contentRight: e,
118
- onRequestClose: a,
119
- icon: r
118
+ onRequestClose: n,
119
+ icon: a
120
120
  }) => /* @__PURE__ */ l(
121
- M,
121
+ j,
122
122
  {
123
123
  position: "sticky",
124
124
  top: 0,
125
125
  zIndex: 100,
126
- background: oe("--lhds-color-ui-50"),
126
+ background: ce("--lhds-color-ui-50"),
127
127
  children: /* @__PURE__ */ s(
128
128
  C,
129
129
  {
@@ -132,103 +132,103 @@ const jt = (t) => {
132
132
  height: "48px",
133
133
  children: [
134
134
  /* @__PURE__ */ s(C, { alignItems: "center", gap: 2, children: [
135
- /* @__PURE__ */ l(q, { num: 1 }),
136
- r && /* @__PURE__ */ l(J, { icon: r, size: 24 }),
137
- /* @__PURE__ */ l(E, { variant: "h4", children: t })
135
+ /* @__PURE__ */ l(T, { num: 1 }),
136
+ a && /* @__PURE__ */ l(V, { icon: a, size: 24 }),
137
+ /* @__PURE__ */ l(z, { variant: "h4", children: t })
138
138
  ] }),
139
139
  /* @__PURE__ */ s(C, { gap: 1, children: [
140
140
  e,
141
141
  /* @__PURE__ */ l(
142
- re,
142
+ ae,
143
143
  {
144
- leftIcon: ce,
145
- onClick: a,
144
+ leftIcon: oe,
145
+ onClick: n,
146
146
  variant: "danger"
147
147
  }
148
148
  ),
149
- /* @__PURE__ */ l(q, { num: 0.5 })
149
+ /* @__PURE__ */ l(T, { num: 0.5 })
150
150
  ] })
151
151
  ]
152
152
  }
153
153
  )
154
154
  }
155
- ), Ae = "_overlay_r9tkq_1", Le = "_fadeIn_r9tkq_1", We = "_modal_r9tkq_31", Se = "_content_r9tkq_38", Me = "_appear_r9tkq_1", Ee = "_isDraggable_r9tkq_61", Te = "_footer_r9tkq_92", je = "_stickyFooter_r9tkq_96", A = {
156
- overlay: Ae,
157
- fadeIn: Le,
158
- modal: We,
159
- content: Se,
160
- appear: Me,
161
- isDraggable: Ee,
162
- footer: Te,
163
- stickyFooter: je
164
- }, qe = { overlay: { justifyContent: "center" } }, Pt = ({
155
+ ), Re = "_overlay_r9tkq_1", Ae = "_fadeIn_r9tkq_1", Se = "_modal_r9tkq_31", Le = "_content_r9tkq_38", je = "_appear_r9tkq_1", ze = "_isDraggable_r9tkq_61", Me = "_footer_r9tkq_92", Ee = "_stickyFooter_r9tkq_96", R = {
156
+ overlay: Re,
157
+ fadeIn: Ae,
158
+ modal: Se,
159
+ content: Le,
160
+ appear: je,
161
+ isDraggable: ze,
162
+ footer: Me,
163
+ stickyFooter: Ee
164
+ }, Te = { overlay: { justifyContent: "center" } }, Pt = ({
165
165
  children: t,
166
166
  ...e
167
167
  }) => /* @__PURE__ */ l(
168
- b,
168
+ x,
169
169
  {
170
- overlayClassName: A.overlay,
171
- className: A.modal,
172
- style: qe,
170
+ overlayClassName: R.overlay,
171
+ className: R.modal,
172
+ style: Te,
173
173
  ...e,
174
174
  children: /* @__PURE__ */ l(
175
175
  "div",
176
176
  {
177
- className: A.content,
177
+ className: R.content,
178
178
  style: { "--swui-modal-width": "fit-content" },
179
179
  children: t
180
180
  }
181
181
  )
182
182
  }
183
- ), He = "_overlay_1rolx_1", Pe = "_fadeIn_1rolx_1", Ge = "_modal_1rolx_31", Ve = "_content_1rolx_41", Je = "_appear_1rolx_1", Ke = "_isDraggable_1rolx_71", Qe = "_footer_1rolx_102", Ue = "_stickyFooter_1rolx_106", L = {
184
- overlay: He,
185
- fadeIn: Pe,
186
- modal: Ge,
187
- content: Ve,
188
- appear: Je,
189
- isDraggable: Ke,
190
- footer: Qe,
191
- stickyFooter: Ue
192
- }, Xe = { overlay: { justifyContent: "center" } }, Gt = ({
183
+ ), qe = "_overlay_1rolx_1", He = "_fadeIn_1rolx_1", Pe = "_modal_1rolx_31", Ge = "_content_1rolx_41", Ve = "_appear_1rolx_1", Je = "_isDraggable_1rolx_71", Ke = "_footer_1rolx_102", Qe = "_stickyFooter_1rolx_106", A = {
184
+ overlay: qe,
185
+ fadeIn: He,
186
+ modal: Pe,
187
+ content: Ge,
188
+ appear: Ve,
189
+ isDraggable: Je,
190
+ footer: Ke,
191
+ stickyFooter: Qe
192
+ }, Ue = { overlay: { justifyContent: "center" } }, Gt = ({
193
193
  children: t,
194
194
  ...e
195
195
  }) => /* @__PURE__ */ l(
196
- b,
196
+ x,
197
197
  {
198
- overlayClassName: L.overlay,
199
- className: L.modal,
200
- style: Xe,
198
+ overlayClassName: A.overlay,
199
+ className: A.modal,
200
+ style: Ue,
201
201
  ...e,
202
202
  children: /* @__PURE__ */ l(
203
203
  "div",
204
204
  {
205
- className: L.content,
205
+ className: A.content,
206
206
  style: { "--swui-modal-width": "fit-content" },
207
207
  children: t
208
208
  }
209
209
  )
210
210
  }
211
- ), Ye = "_modal_4fwgb_1", Ze = "_overlay_4fwgb_13", G = {
212
- modal: Ye,
213
- overlay: Ze
211
+ ), Xe = "_modal_4fwgb_1", Ye = "_overlay_4fwgb_13", P = {
212
+ modal: Xe,
213
+ overlay: Ye
214
214
  }, Vt = ({
215
215
  headerIconLeft: t,
216
216
  headerText: e,
217
- shouldCloseOnOverlayClick: a = !1,
218
- shouldCloseOnEsc: r = !1,
219
- ...c
217
+ shouldCloseOnOverlayClick: n = !1,
218
+ shouldCloseOnEsc: a = !1,
219
+ ...o
220
220
  }) => /* @__PURE__ */ l(
221
- b,
221
+ x,
222
222
  {
223
- ...c,
223
+ ...o,
224
224
  isOpen: !0,
225
- shouldCloseOnOverlayClick: a,
226
- shouldCloseOnEsc: r,
227
- className: G.modal,
228
- overlayClassName: G.overlay,
229
- children: /* @__PURE__ */ s(V, { spacing: 2, alignItems: "center", children: [
225
+ shouldCloseOnOverlayClick: n,
226
+ shouldCloseOnEsc: a,
227
+ className: P.modal,
228
+ overlayClassName: P.overlay,
229
+ children: /* @__PURE__ */ s(G, { spacing: 2, alignItems: "center", children: [
230
230
  /* @__PURE__ */ l(
231
- x,
231
+ N,
232
232
  {
233
233
  alignItems: "center",
234
234
  justifyContent: "center",
@@ -237,42 +237,42 @@ const jt = (t) => {
237
237
  borderRadius: "50%",
238
238
  background: "white",
239
239
  shadow: "modal",
240
- children: /* @__PURE__ */ l(ne, { size: "small" })
240
+ children: /* @__PURE__ */ l(re, { size: "small" })
241
241
  }
242
242
  ),
243
- (t || e) && /* @__PURE__ */ s(F, { children: [
244
- /* @__PURE__ */ l(M, {}),
243
+ (t || e) && /* @__PURE__ */ s(k, { children: [
244
+ /* @__PURE__ */ l(j, {}),
245
245
  /* @__PURE__ */ s(C, { indent: 2, children: [
246
- t && /* @__PURE__ */ s(F, { children: [
247
- /* @__PURE__ */ l(J, { size: 14, icon: t, color: "white" }),
246
+ t && /* @__PURE__ */ s(k, { children: [
247
+ /* @__PURE__ */ l(V, { size: 14, icon: t, color: "white" }),
248
248
  /* @__PURE__ */ l(te, {})
249
249
  ] }),
250
- e && /* @__PURE__ */ l(E, { variant: "h4", color: "white", children: e })
250
+ e && /* @__PURE__ */ l(z, { variant: "h4", color: "white", children: e })
251
251
  ] })
252
252
  ] })
253
253
  ] })
254
254
  }
255
- ), pe = ({
255
+ ), Ze = ({
256
256
  onRequestClose: t,
257
257
  header: e,
258
- headerText: a,
259
- closeButtonClassName: r
258
+ headerText: n,
259
+ closeButtonClassName: a
260
260
  }) => /* @__PURE__ */ s(
261
261
  C,
262
262
  {
263
263
  spacing: 2,
264
264
  indent: 2,
265
265
  borderBottom: "1px solid var(--lhds-color-ui-300)",
266
- className: Q,
266
+ className: K,
267
267
  children: [
268
268
  /* @__PURE__ */ s(C, { flex: 1, indent: !0, alignItems: "center", children: [
269
- a && /* @__PURE__ */ l(le, { className: U, size: "large", children: a }),
269
+ n && /* @__PURE__ */ l(le, { className: Q, size: "large", children: n }),
270
270
  e
271
271
  ] }),
272
- /* @__PURE__ */ l(x, { alignSelf: "flex-start", children: /* @__PURE__ */ l(
273
- K,
272
+ /* @__PURE__ */ l(N, { alignSelf: "flex-start", children: /* @__PURE__ */ l(
273
+ J,
274
274
  {
275
- className: r,
275
+ className: a,
276
276
  onClick: t
277
277
  }
278
278
  ) })
@@ -281,153 +281,152 @@ const jt = (t) => {
281
281
  ), Jt = ({
282
282
  header: t,
283
283
  headerText: e,
284
- children: a,
285
- spacing: r,
286
- indent: c,
284
+ children: n,
285
+ spacing: a,
286
+ indent: o,
287
287
  draggable: g = !1,
288
- onRequestClose: d,
288
+ onRequestClose: i,
289
289
  closeButtonClassName: m,
290
- footer: _,
291
- disableStickyFooter: v = !1,
292
- ...I
290
+ footer: d,
291
+ disableStickyFooter: p = !1,
292
+ ...b
293
293
  }) => /* @__PURE__ */ s(
294
- xe,
294
+ Ne,
295
295
  {
296
- ...I,
297
- onRequestClose: d,
296
+ ...b,
297
+ onRequestClose: i,
298
298
  draggable: g,
299
299
  children: [
300
300
  /* @__PURE__ */ l(
301
- pe,
301
+ Ze,
302
302
  {
303
- onRequestClose: d,
303
+ onRequestClose: i,
304
304
  header: t,
305
305
  headerText: e,
306
306
  closeButtonClassName: m
307
307
  }
308
308
  ),
309
- /* @__PURE__ */ l(x, { spacing: typeof r == "number" ? r : 1, indent: typeof c == "number" ? c : 1, children: a }),
310
- _ && /* @__PURE__ */ l(
311
- x,
309
+ /* @__PURE__ */ l(N, { spacing: typeof a == "number" ? a : 1, indent: typeof o == "number" ? o : 1, children: n }),
310
+ d && /* @__PURE__ */ l(
311
+ N,
312
312
  {
313
- className: o(N.footer, {
314
- [N.stickyFooter]: !v
313
+ className: c(v.footer, {
314
+ [v.stickyFooter]: !p
315
315
  }),
316
- children: _
316
+ children: d
317
317
  }
318
318
  )
319
319
  ]
320
320
  }
321
- ), Kt = ({ children: t }) => /* @__PURE__ */ l(V, { indent: 2, spacing: 2, children: t }), X = de(
321
+ ), Kt = ({ children: t }) => /* @__PURE__ */ l(G, { indent: 2, spacing: 2, children: t }), U = ie(
322
322
  void 0
323
323
  );
324
- function T(t, e) {
325
- const a = w(null), r = e.ref ?? a, [c, g] = _e((i) => i + 1, 0), d = w(), m = w(), _ = w(), v = w(), [I, D] = H(!1), [B, O] = H(!1), z = t, Z = R(
326
- (i) => {
324
+ function M(t, e) {
325
+ const n = O(null), a = e.ref ?? n, [o, g] = de((_) => _ + 1, 0), i = O(), m = O(), d = O(), p = O(), [b, w] = q(!1), [F, I] = q(!1), B = t, Y = W(
326
+ (_) => {
327
327
  var u, f;
328
- return d.current = new Promise(
328
+ return i.current = new Promise(
329
329
  (h, y) => {
330
- m.current = h, v.current = y;
330
+ m.current = h, p.current = y;
331
331
  }
332
- ), O(!1), D(!0), g(), _.current = i, e != null && e.modal ? (u = r.current) == null || u.showModal() : (f = r.current) == null || f.show(), d.current;
332
+ ), I(!1), w(!0), g(), d.current = _, e.modal ? (u = a.current) == null || u.showModal() : (f = a.current) == null || f.show(), i.current;
333
333
  },
334
- [r, e == null ? void 0 : e.modal]
335
- ), j = R(
336
- (i) => {
334
+ [a, e.modal]
335
+ ), E = W(
336
+ (_) => {
337
337
  var u;
338
- O(!0), (u = r.current) == null || u.addEventListener(
338
+ I(!0), (u = a.current) == null || u.addEventListener(
339
339
  "animationend",
340
340
  () => {
341
341
  var f, h, y;
342
- O(!1), D(!1), (f = r.current) == null || f.close(), (h = m.current) == null || h.call(m, i), _.current = void 0, (y = e == null ? void 0 : e.onResolve) == null || y.call(e);
342
+ I(!1), w(!1), (f = a.current) == null || f.close(), (h = m.current) == null || h.call(m, _), d.current = void 0, (y = e.onResolve) == null || y.call(e);
343
343
  },
344
344
  { once: !0 }
345
345
  );
346
346
  },
347
- [r, e]
348
- ), $ = R(
349
- (i) => {
347
+ [a, e]
348
+ ), $ = W(
349
+ (_) => {
350
350
  var u;
351
- O(!0), (u = r.current) == null || u.addEventListener(
351
+ I(!0), (u = a.current) == null || u.addEventListener(
352
352
  "animationend",
353
353
  () => {
354
354
  var f, h, y;
355
- O(!1), D(!1), (f = r.current) == null || f.close(), (h = v.current) == null || h.call(v, i), (y = e == null ? void 0 : e.onReject) == null || y.call(e), _.current = void 0;
355
+ I(!1), w(!1), (f = a.current) == null || f.close(), (h = p.current) == null || h.call(p, _), (y = e.onReject) == null || y.call(e), d.current = void 0;
356
356
  },
357
357
  { once: !0 }
358
358
  );
359
359
  },
360
- [r, e]
360
+ [a, e]
361
361
  );
362
- return [ie(
363
- () => /* @__PURE__ */ l(X.Provider, { value: { resolve: j, reject: $ }, children: /* @__PURE__ */ l(
362
+ return [_e(
363
+ () => /* @__PURE__ */ l(U.Provider, { value: { resolve: E, reject: $ }, children: /* @__PURE__ */ l(
364
364
  "dialog",
365
365
  {
366
- onClick: e != null && e.disableCloseOnClickOutside ? void 0 : () => $(),
367
- ref: r,
368
- className: o(
369
- e == null ? void 0 : e.className,
370
- B && (e == null ? void 0 : e.closingClassName)
371
- ),
372
- style: e == null ? void 0 : e.dialogStyle,
373
- children: e != null && e.disableCloseOnClickOutside ? /* @__PURE__ */ l(F, { children: I && /* @__PURE__ */ P(z, { ..._.current, key: c }) }) : /* @__PURE__ */ l(
366
+ onClick: e.disableCloseOnClickOutside ? void 0 : () => $(),
367
+ ref: a,
368
+ className: c(e.className, F && e.closingClassName),
369
+ style: e.dialogStyle,
370
+ children: e.disableCloseOnClickOutside ? /* @__PURE__ */ l(k, { children: b && /* @__PURE__ */ H(B, { ...d.current, key: o }) }) : /* @__PURE__ */ l(
374
371
  "div",
375
372
  {
376
- className: e == null ? void 0 : e.contentWrapperClassName,
377
- onClick: e != null && e.disableCloseOnClickOutside ? void 0 : (i) => i.stopPropagation(),
378
- children: I && /* @__PURE__ */ P(z, { ..._.current, key: c })
373
+ style: e.contentWrapperStyle,
374
+ className: e.contentWrapperClassName,
375
+ onClick: e.disableCloseOnClickOutside ? void 0 : (_) => _.stopPropagation(),
376
+ children: b && /* @__PURE__ */ H(B, { ...d.current, key: o })
379
377
  }
380
378
  )
381
379
  }
382
380
  ) }),
383
381
  [
384
- j,
382
+ E,
385
383
  $,
386
- e == null ? void 0 : e.disableCloseOnClickOutside,
387
- e == null ? void 0 : e.className,
388
- e == null ? void 0 : e.closingClassName,
389
- e == null ? void 0 : e.dialogStyle,
390
- e == null ? void 0 : e.contentWrapperClassName,
391
- r,
384
+ e.disableCloseOnClickOutside,
385
+ e.className,
386
+ e.closingClassName,
387
+ e.dialogStyle,
388
+ e.contentWrapperStyle,
389
+ e.contentWrapperClassName,
390
+ a,
391
+ F,
392
+ b,
392
393
  B,
393
- I,
394
- z,
395
- c
394
+ o
396
395
  ]
397
- ), { show: Z, reject: $ }];
396
+ ), { show: Y, reject: $ }];
398
397
  }
399
398
  const Qt = () => {
400
- const t = me(X);
399
+ const t = me(U);
401
400
  if (t == null)
402
401
  throw new Error("useDialogPromise is being used outside of dialog.");
403
402
  return t;
404
- }, et = "_alertDialog_14t8t_1", tt = "_slideIn_14t8t_1", lt = "_closing_14t8t_22", at = "_slideOut_14t8t_1", rt = "_fadeIn_14t8t_1", ct = "_fadeOut_14t8t_1", W = {
403
+ }, et = "_alertDialog_14t8t_1", tt = "_slideIn_14t8t_1", lt = "_closing_14t8t_22", nt = "_slideOut_14t8t_1", at = "_fadeIn_14t8t_1", ot = "_fadeOut_14t8t_1", S = {
405
404
  alertDialog: et,
406
405
  slideIn: tt,
407
406
  closing: lt,
408
- slideOut: at,
409
- fadeIn: rt,
410
- fadeOut: ct
407
+ slideOut: nt,
408
+ fadeIn: at,
409
+ fadeOut: ot
411
410
  };
412
411
  function Ut(t, e) {
413
- return T(t, {
412
+ return M(t, {
414
413
  ...e,
415
414
  modal: !0,
416
- closingClassName: o(e == null ? void 0 : e.closingClassName, W.closing),
417
- contentWrapperClassName: o(
415
+ closingClassName: c(e == null ? void 0 : e.closingClassName, S.closing),
416
+ contentWrapperClassName: c(
418
417
  e == null ? void 0 : e.contentWrapperClassName,
419
- W.contentWrapper
418
+ S.contentWrapper
420
419
  ),
421
- className: o(e == null ? void 0 : e.className, W.alertDialog)
420
+ className: c(e == null ? void 0 : e.className, S.alertDialog)
422
421
  });
423
422
  }
424
- const nt = "_drawerDialog_3e8xf_1", st = "_left_3e8xf_12", ot = "_right_3e8xf_13", dt = "_contentWrapper_3e8xf_18", _t = "_slideInLeft_3e8xf_1", it = "_closing_3e8xf_35", mt = "_slideOutLeft_3e8xf_1", ut = "_slideInRight_3e8xf_1", ft = "_slideOutRight_3e8xf_1", gt = "_top_3e8xf_53", ht = "_bottom_3e8xf_54", yt = "_slideInTop_3e8xf_1", Ct = "_slideOutTop_3e8xf_1", vt = "_slideInBottom_3e8xf_1", Nt = "_slideOutBottom_3e8xf_1", k = {
425
- drawerDialog: nt,
423
+ const rt = "_drawerDialog_3e8xf_1", st = "_left_3e8xf_12", ct = "_right_3e8xf_13", it = "_contentWrapper_3e8xf_18", dt = "_slideInLeft_3e8xf_1", _t = "_closing_3e8xf_35", mt = "_slideOutLeft_3e8xf_1", ut = "_slideInRight_3e8xf_1", ft = "_slideOutRight_3e8xf_1", gt = "_top_3e8xf_53", ht = "_bottom_3e8xf_54", yt = "_slideInTop_3e8xf_1", Ct = "_slideOutTop_3e8xf_1", pt = "_slideInBottom_3e8xf_1", vt = "_slideOutBottom_3e8xf_1", D = {
424
+ drawerDialog: rt,
426
425
  left: st,
427
- right: ot,
428
- contentWrapper: dt,
429
- slideInLeft: _t,
430
- closing: it,
426
+ right: ct,
427
+ contentWrapper: it,
428
+ slideInLeft: dt,
429
+ closing: _t,
431
430
  slideOutLeft: mt,
432
431
  slideInRight: ut,
433
432
  slideOutRight: ft,
@@ -435,84 +434,85 @@ const nt = "_drawerDialog_3e8xf_1", st = "_left_3e8xf_12", ot = "_right_3e8xf_13
435
434
  bottom: ht,
436
435
  slideInTop: yt,
437
436
  slideOutTop: Ct,
438
- slideInBottom: vt,
439
- slideOutBottom: Nt
437
+ slideInBottom: pt,
438
+ slideOutBottom: vt
440
439
  };
441
- function Xt(t, e = "left", a) {
442
- return T(t, {
443
- ...a,
440
+ function Xt(t, e = "left", n) {
441
+ return M(t, {
442
+ ...n,
444
443
  disableCloseOnClickOutside: !0,
445
444
  modal: !1,
446
- closingClassName: o(a == null ? void 0 : a.closingClassName, k.closing),
447
- contentWrapperClassName: o(
448
- a == null ? void 0 : a.contentWrapperClassName,
449
- k.contentWrapper
445
+ closingClassName: c(n == null ? void 0 : n.closingClassName, D.closing),
446
+ contentWrapperClassName: c(
447
+ n == null ? void 0 : n.contentWrapperClassName,
448
+ D.contentWrapper
450
449
  ),
451
- className: o(a == null ? void 0 : a.className, k.drawerDialog, k[e])
450
+ className: c(n == null ? void 0 : n.className, D.drawerDialog, D[e])
452
451
  });
453
452
  }
454
- const xt = "_modalDialog_1czrs_1", bt = "_slideIn_1czrs_1", It = "_closing_1czrs_25", Ot = "_slideOut_1czrs_1", wt = "_fadeIn_1czrs_1", Dt = "_fadeOut_1czrs_1", S = {
455
- modalDialog: xt,
456
- slideIn: bt,
457
- closing: It,
458
- slideOut: Ot,
459
- fadeIn: wt,
460
- fadeOut: Dt
453
+ const Nt = "_modalDialog_6jugu_1", xt = "_slideIn_6jugu_1", bt = "_closing_6jugu_25", It = "_slideOut_6jugu_1", Ot = "_fadeIn_6jugu_1", wt = "_fadeOut_6jugu_1", $t = "_contentWrapper_6jugu_89", L = {
454
+ modalDialog: Nt,
455
+ slideIn: xt,
456
+ closing: bt,
457
+ slideOut: It,
458
+ fadeIn: Ot,
459
+ fadeOut: wt,
460
+ contentWrapper: $t
461
461
  };
462
462
  function Yt(t, e) {
463
- return T(t, {
463
+ return M(t, {
464
464
  ...e,
465
465
  modal: !0,
466
- closingClassName: o(e == null ? void 0 : e.closingClassName, S.closing),
467
- contentWrapperClassName: o(
466
+ closingClassName: c(e == null ? void 0 : e.closingClassName, L.closing),
467
+ contentWrapperClassName: c(
468
468
  e == null ? void 0 : e.contentWrapperClassName,
469
- S.contentWrapper
469
+ L.contentWrapper
470
470
  ),
471
- className: o(e == null ? void 0 : e.className, S.modalDialog)
471
+ className: c(e == null ? void 0 : e.className, L.modalDialog)
472
472
  });
473
473
  }
474
- const Y = ({ children: t }) => /* @__PURE__ */ l(E, { variant: "h3", as: "h2", children: t }), $t = "_modalActionButtons_s27nj_1", kt = {
475
- modalActionButtons: $t
474
+ const X = ({ children: t }) => /* @__PURE__ */ l(z, { variant: "h3", as: "h2", children: t }), Dt = "_modalActionButtons_s27nj_1", kt = {
475
+ modalActionButtons: Dt
476
476
  }, Ft = ({
477
477
  buttons: t
478
- }) => /* @__PURE__ */ l("div", { className: kt.modalActionButtons, children: t }), Bt = ({ gap: t = 2, ...e }) => /* @__PURE__ */ l(x, { indent: 4, spacing: 4, gap: t, ...e }), Zt = ({
478
+ }) => /* @__PURE__ */ l("div", { className: kt.modalActionButtons, children: t }), Bt = ({ gap: t = 2, ...e }) => /* @__PURE__ */ l(N, { indent: 4, spacing: 4, gap: t, ...e }), Zt = ({
479
479
  icon: t,
480
480
  buttons: e,
481
- heading: a,
482
- text: r,
483
- children: c,
481
+ heading: n,
482
+ text: a,
483
+ children: o,
484
484
  maxWidth: g,
485
- minWidth: d
485
+ minWidth: i
486
486
  }) => /* @__PURE__ */ s(
487
487
  Bt,
488
488
  {
489
489
  flexDirection: "column",
490
490
  alignItems: "center",
491
491
  maxWidth: g,
492
- minWidth: d,
492
+ minWidth: i,
493
493
  children: [
494
494
  t && /* @__PURE__ */ l(se, { icon: t, size: "large" }),
495
- /* @__PURE__ */ l(Y, { children: a }),
496
- r && /* @__PURE__ */ l(ae, { textAlign: "center", children: r }),
497
- c,
498
- e && /* @__PURE__ */ l(F, { children: /* @__PURE__ */ s(x, { width: "100%", children: [
499
- /* @__PURE__ */ l(M, {}),
495
+ /* @__PURE__ */ l(X, { children: n }),
496
+ a && /* @__PURE__ */ l(ne, { textAlign: "center", children: a }),
497
+ o,
498
+ e && /* @__PURE__ */ l(k, { children: /* @__PURE__ */ s(N, { width: "100%", children: [
499
+ /* @__PURE__ */ l(j, {}),
500
500
  /* @__PURE__ */ l(Ft, { buttons: e })
501
501
  ] }) })
502
502
  ]
503
503
  }
504
- ), pt = ({
504
+ ), el = ({
505
505
  heading: t,
506
506
  onClickClose: e
507
507
  }) => /* @__PURE__ */ s(C, { justifyContent: "space-between", children: [
508
- t && /* @__PURE__ */ l(Y, { children: t }),
509
- /* @__PURE__ */ l(K, { onClick: e })
508
+ t && /* @__PURE__ */ l(X, { children: t }),
509
+ /* @__PURE__ */ l(J, { onClick: e })
510
510
  ] });
511
511
  export {
512
512
  Pt as Alert,
513
- xe as BaseWindow,
514
- U as DRAGGABLE_CANCEL_CLASSNAME,
515
- Q as DRAGGABLE_HANDLE_CLASSNAME,
513
+ Ne as BaseWindow,
514
+ Q as DRAGGABLE_CANCEL_CLASSNAME,
515
+ K as DRAGGABLE_HANDLE_CLASSNAME,
516
516
  qt as Drawer,
517
517
  Ht as DrawerHeader,
518
518
  Zt as InfoAlert,
@@ -520,14 +520,14 @@ export {
520
520
  Gt as Modal,
521
521
  Ft as ModalActionButtons,
522
522
  Bt as ModalBody,
523
- pt as ModalHeader,
524
- Y as ModalHeading,
523
+ el as ModalHeader,
524
+ X as ModalHeading,
525
525
  Jt as Window,
526
526
  Kt as WindowFooter,
527
- pe as WindowHeader,
528
- jt as setupDeclarativeModals,
527
+ Ze as WindowHeader,
528
+ Tt as setupDeclarativeModals,
529
529
  Ut as useAlertDialog,
530
- T as useDialog,
530
+ M as useDialog,
531
531
  Qt as useDialogPromise,
532
532
  Xt as useDrawerDialog,
533
533
  Yt as useModalDialog