@stenajs-webui/modal 21.18.1 → 21.20.0

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,36 +1,36 @@
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: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: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: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_11g6r_1{max-height:100%;max-width:100%;border:0;outline:0;margin:0;padding:0;overflow-y:auto;overscroll-behavior:contain;box-shadow:#0003 0 0 10px 4px;position:fixed}._drawerDialog_11g6r_1._left_11g6r_13,._drawerDialog_11g6r_1._right_11g6r_14{height:100%;top:0;bottom:0}._drawerDialog_11g6r_1._left_11g6r_13 ._contentWrapper_11g6r_19,._drawerDialog_11g6r_1._right_11g6r_14 ._contentWrapper_11g6r_19{height:100%}@media (max-width: 768px){._drawerDialog_11g6r_1._left_11g6r_13,._drawerDialog_11g6r_1._right_11g6r_14{width:-moz-fit-content;width:fit-content}}._drawerDialog_11g6r_1._left_11g6r_13{left:0;right:unset}._drawerDialog_11g6r_1._left_11g6r_13[open]{animation:_slideInLeft_11g6r_1 .25s forwards}._drawerDialog_11g6r_1._left_11g6r_13._closing_11g6r_36[open]{animation:_slideOutLeft_11g6r_1 .25s forwards}._drawerDialog_11g6r_1._right_11g6r_14{left:unset;right:0}._drawerDialog_11g6r_1._right_11g6r_14[open]{animation:_slideInRight_11g6r_1 .25s forwards}._drawerDialog_11g6r_1._right_11g6r_14._closing_11g6r_36[open]{animation:_slideOutRight_11g6r_1 .25s forwards}._drawerDialog_11g6r_1._top_11g6r_54,._drawerDialog_11g6r_1._bottom_11g6r_55{width:100%;left:0;right:0}@media (max-width: 768px){._drawerDialog_11g6r_1._top_11g6r_54,._drawerDialog_11g6r_1._bottom_11g6r_55{height:-moz-fit-content;height:fit-content}}._drawerDialog_11g6r_1._top_11g6r_54{top:0;bottom:unset}._drawerDialog_11g6r_1._top_11g6r_54[open]{animation:_slideInTop_11g6r_1 .25s forwards}._drawerDialog_11g6r_1._top_11g6r_54._closing_11g6r_36[open]{animation:_slideOutTop_11g6r_1 .25s forwards}._drawerDialog_11g6r_1._bottom_11g6r_55{top:unset;bottom:0}._drawerDialog_11g6r_1._bottom_11g6r_55[open]{animation:_slideInBottom_11g6r_1 .25s forwards}._drawerDialog_11g6r_1._bottom_11g6r_55._closing_11g6r_36[open]{animation:_slideOutBottom_11g6r_1 .25s forwards}._drawerDialog_11g6r_1[open]{opacity:1;pointer-events:auto}@keyframes _slideInLeft_11g6r_1{0%{transform:translate(-100%);opacity:0}to{transform:translate(0);opacity:1}}@keyframes _slideOutLeft_11g6r_1{0%{transform:translate(0);opacity:0}to{transform:translate(-100%);opacity:1}}@keyframes _slideInTop_11g6r_1{0%{transform:translateY(-100%);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes _slideOutTop_11g6r_1{0%{transform:translateY(0);opacity:0}to{transform:translateY(-100%);opacity:1}}@keyframes _slideInRight_11g6r_1{0%{transform:translate(100%);opacity:0}to{transform:translate(0);opacity:1}}@keyframes _slideOutRight_11g6r_1{0%{transform:translate(0);opacity:0}to{transform:translate(100%);opacity:1}}@keyframes _slideInBottom_11g6r_1{0%{transform:translateY(100%);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes _slideOutBottom_11g6r_1{0%{transform:translateY(0);opacity:0}to{transform:translateY(100%);opacity:1}}._modalDialog_1teni_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_1teni_1{border-radius:var(--swui-border-radius-large)}._modalDialog_1teni_1::-webkit-scrollbar-thumb{background-color:var(--lhds-color-ui-400);border:4px solid transparent;border-radius:8px;background-clip:padding-box}._modalDialog_1teni_1::-webkit-scrollbar{width:16px}}._modalDialog_1teni_1:not([open]){display:none}._modalDialog_1teni_1[open]{opacity:1;pointer-events:auto;animation:_slideIn_1teni_1 .25s forwards}._modalDialog_1teni_1._closing_1teni_36[open]{animation:_slideOut_1teni_1 .25s forwards}@media (max-width: 768px){._modalDialog_1teni_1{margin:0;width:100%;max-width:100%;height:100%;max-height:100%}}._modalDialog_1teni_1::backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background-color:#0d0e1080;animation:_fadeIn_1teni_1 .25s forwards}._modalDialog_1teni_1._closing_1teni_36::backdrop{animation:_fadeOut_1teni_1 .25s forwards}@keyframes _fadeIn_1teni_1{0%{opacity:0}to{opacity:1}}@keyframes _fadeOut_1teni_1{0%{opacity:1}to{opacity:0}}@keyframes _slideIn_1teni_1{0%{transform:translateY(-100%);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes _slideOut_1teni_1{0%{transform:translateY(0);opacity:1}to{transform:translateY(-100%);opacity:0}}@media (max-width: 768px){._contentWrapper_1teni_100{width:100%;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}}._modalFooter_112wr_1._modalFooter_112wr_1{display:flex;align-items:center;overflow:hidden;background:var(--silver-lighter);border-radius:24px 24px 0 0;padding:0 calc((var(--swui-metrics-indent) * 5));flex-shrink:0}._modalFooter_112wr_1._modalFooter_112wr_1._sticky_112wr_10{position:sticky;bottom:0}")),document.head.appendChild(o)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
2
- import B from "react-modal";
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: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:sticky;bottom:0;box-shadow:var(--swui-modal-footer-shadow)}@media print{._stickyFooter_r9tkq_96{position:static;box-shadow:none}}._overlay_15dqv_1{--swui-modal-animation-time: var(--swui-animation-time-medium);--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);display:flex;flex-direction:column;justify-content:flex-start;align-items:center;opacity:0}._overlay_15dqv_1._afterOpen_15dqv_24:not(._beforeClose_15dqv_24){animation:_fadeIn_15dqv_1 var(--swui-modal-animation-time) forwards}._overlay_15dqv_1._beforeClose_15dqv_24{animation:_fadeOut_15dqv_1 var(--swui-modal-animation-time) forwards}@media print{._overlay_15dqv_1{background-color:#fff}}._overlay_15dqv_1 ._modal_15dqv_36{max-width:100%;outline:none;pointer-events:none;padding:calc(var(--swui-metrics-space) * 2);box-sizing:border-box;max-height:100%;transform:translateY(-100%)}@media (max-width: 768px){._overlay_15dqv_1 ._modal_15dqv_36{padding:0;width:100%}}._overlay_15dqv_1 ._modal_15dqv_36._afterOpen_15dqv_24:not(._beforeClose_15dqv_24){animation:_slideIn_15dqv_1 var(--swui-modal-animation-time) forwards}._overlay_15dqv_1 ._modal_15dqv_36._beforeClose_15dqv_24{animation:_slideOut_15dqv_1 var(--swui-modal-animation-time) forwards}._overlay_15dqv_1 ._content_15dqv_59{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);height:100%;overflow:hidden;overflow-y:auto}@media (max-width: 768px){._overlay_15dqv_1 ._content_15dqv_59{border-radius:0;width:100%;max-width:100%;min-height:100vh}}@media (min-width: 769px){._overlay_15dqv_1 ._content_15dqv_59{border-radius:var(--swui-border-radius-large)}._overlay_15dqv_1 ._content_15dqv_59::-webkit-scrollbar-thumb{background-color:var(--lhds-color-ui-400);border:4px solid transparent;border-radius:8px;background-clip:padding-box}._overlay_15dqv_1 ._content_15dqv_59::-webkit-scrollbar{width:16px}}@media print{._overlay_15dqv_1 ._content_15dqv_59{box-shadow:none;top:0}}._overlay_15dqv_1 ._content_15dqv_59 :focus{outline:0}@keyframes _fadeIn_15dqv_1{0%{opacity:0}to{opacity:1}}@keyframes _fadeOut_15dqv_1{0%{opacity:1}to{opacity:0}}@keyframes _slideIn_15dqv_1{0%{transform:translateY(-100%);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes _slideOut_15dqv_1{0%{transform:translateY(0);opacity:1}to{transform:translateY(-100%);opacity:0}}._footer_15dqv_148{background-color:var(--swui-modal-content-bg-color)}._stickyFooter_15dqv_152{position:sticky;bottom:0;box-shadow:var(--swui-modal-footer-shadow)}@media print{._stickyFooter_15dqv_152{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_11g6r_1{max-height:100%;max-width:100%;border:0;outline:0;margin:0;padding:0;overflow-y:auto;overscroll-behavior:contain;box-shadow:#0003 0 0 10px 4px;position:fixed}._drawerDialog_11g6r_1._left_11g6r_13,._drawerDialog_11g6r_1._right_11g6r_14{height:100%;top:0;bottom:0}._drawerDialog_11g6r_1._left_11g6r_13 ._contentWrapper_11g6r_19,._drawerDialog_11g6r_1._right_11g6r_14 ._contentWrapper_11g6r_19{height:100%}@media (max-width: 768px){._drawerDialog_11g6r_1._left_11g6r_13,._drawerDialog_11g6r_1._right_11g6r_14{width:-moz-fit-content;width:fit-content}}._drawerDialog_11g6r_1._left_11g6r_13{left:0;right:unset}._drawerDialog_11g6r_1._left_11g6r_13[open]{animation:_slideInLeft_11g6r_1 .25s forwards}._drawerDialog_11g6r_1._left_11g6r_13._closing_11g6r_36[open]{animation:_slideOutLeft_11g6r_1 .25s forwards}._drawerDialog_11g6r_1._right_11g6r_14{left:unset;right:0}._drawerDialog_11g6r_1._right_11g6r_14[open]{animation:_slideInRight_11g6r_1 .25s forwards}._drawerDialog_11g6r_1._right_11g6r_14._closing_11g6r_36[open]{animation:_slideOutRight_11g6r_1 .25s forwards}._drawerDialog_11g6r_1._top_11g6r_54,._drawerDialog_11g6r_1._bottom_11g6r_55{width:100%;left:0;right:0}@media (max-width: 768px){._drawerDialog_11g6r_1._top_11g6r_54,._drawerDialog_11g6r_1._bottom_11g6r_55{height:-moz-fit-content;height:fit-content}}._drawerDialog_11g6r_1._top_11g6r_54{top:0;bottom:unset}._drawerDialog_11g6r_1._top_11g6r_54[open]{animation:_slideInTop_11g6r_1 .25s forwards}._drawerDialog_11g6r_1._top_11g6r_54._closing_11g6r_36[open]{animation:_slideOutTop_11g6r_1 .25s forwards}._drawerDialog_11g6r_1._bottom_11g6r_55{top:unset;bottom:0}._drawerDialog_11g6r_1._bottom_11g6r_55[open]{animation:_slideInBottom_11g6r_1 .25s forwards}._drawerDialog_11g6r_1._bottom_11g6r_55._closing_11g6r_36[open]{animation:_slideOutBottom_11g6r_1 .25s forwards}._drawerDialog_11g6r_1[open]{opacity:1;pointer-events:auto}@keyframes _slideInLeft_11g6r_1{0%{transform:translate(-100%);opacity:0}to{transform:translate(0);opacity:1}}@keyframes _slideOutLeft_11g6r_1{0%{transform:translate(0);opacity:0}to{transform:translate(-100%);opacity:1}}@keyframes _slideInTop_11g6r_1{0%{transform:translateY(-100%);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes _slideOutTop_11g6r_1{0%{transform:translateY(0);opacity:0}to{transform:translateY(-100%);opacity:1}}@keyframes _slideInRight_11g6r_1{0%{transform:translate(100%);opacity:0}to{transform:translate(0);opacity:1}}@keyframes _slideOutRight_11g6r_1{0%{transform:translate(0);opacity:0}to{transform:translate(100%);opacity:1}}@keyframes _slideInBottom_11g6r_1{0%{transform:translateY(100%);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes _slideOutBottom_11g6r_1{0%{transform:translateY(0);opacity:0}to{transform:translateY(100%);opacity:1}}._modalDialog_1teni_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_1teni_1{border-radius:var(--swui-border-radius-large)}._modalDialog_1teni_1::-webkit-scrollbar-thumb{background-color:var(--lhds-color-ui-400);border:4px solid transparent;border-radius:8px;background-clip:padding-box}._modalDialog_1teni_1::-webkit-scrollbar{width:16px}}._modalDialog_1teni_1:not([open]){display:none}._modalDialog_1teni_1[open]{opacity:1;pointer-events:auto;animation:_slideIn_1teni_1 .25s forwards}._modalDialog_1teni_1._closing_1teni_36[open]{animation:_slideOut_1teni_1 .25s forwards}@media (max-width: 768px){._modalDialog_1teni_1{margin:0;width:100%;max-width:100%;height:100%;max-height:100%}}._modalDialog_1teni_1::backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background-color:#0d0e1080;animation:_fadeIn_1teni_1 .25s forwards}._modalDialog_1teni_1._closing_1teni_36::backdrop{animation:_fadeOut_1teni_1 .25s forwards}@keyframes _fadeIn_1teni_1{0%{opacity:0}to{opacity:1}}@keyframes _fadeOut_1teni_1{0%{opacity:1}to{opacity:0}}@keyframes _slideIn_1teni_1{0%{transform:translateY(-100%);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes _slideOut_1teni_1{0%{transform:translateY(0);opacity:1}to{transform:translateY(-100%);opacity:0}}@media (max-width: 768px){._contentWrapper_1teni_100{width:100%;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}}._modalFooter_112wr_1._modalFooter_112wr_1{display:flex;align-items:center;overflow:hidden;background:var(--silver-lighter);border-radius:24px 24px 0 0;padding:0 calc((var(--swui-metrics-indent) * 5));flex-shrink:0}._modalFooter_112wr_1._modalFooter_112wr_1._sticky_112wr_10{position:sticky;bottom:0}")),document.head.appendChild(o)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
2
+ import A from "react-modal";
3
3
  import { jsx as n, jsxs as m, Fragment as ee } from "react/jsx-runtime";
4
- import { useRef as F, createContext as fe, useReducer as he, useState as te, useCallback as A, useMemo as ne, createElement as oe, useContext as pe } from "react";
4
+ import { useRef as D, createContext as ge, useReducer as he, useState as te, useCallback as q, useMemo as ne, createElement as oe, useContext as pe } from "react";
5
5
  import ye from "react-draggable";
6
6
  import i from "classnames";
7
- import { exhaustSwitchCase as Ce, Spacing as X, Row as v, Space as re, Heading as Y, Column as J, Box as O, Indent as we, Txt as ve, Text as Ie } from "@stenajs-webui/core";
8
- import { Icon as ae, FlatButton as Ne, stenaTimes as be, Spinner as $e, CloseButton as ce, CircledIcon as xe } from "@stenajs-webui/elements";
9
- import { cssColor as De } from "@stenajs-webui/theme";
10
- const rn = (t) => {
11
- B.setAppElement(t);
12
- }, Fe = "_overlay_5x3op_1", ke = "_fadeIn_5x3op_1", Oe = "_modal_5x3op_31", Be = "_content_5x3op_41", Ae = "_appear_5x3op_1", Le = "_isDraggable_5x3op_70", ze = "_footer_5x3op_101", Me = "_stickyFooter_5x3op_105", k = {
13
- overlay: Fe,
14
- fadeIn: ke,
15
- modal: Oe,
7
+ import { exhaustSwitchCase as Ce, Spacing as X, Row as b, Space as se, Heading as Y, Column as J, Box as B, Indent as ve, Txt as be, Text as we } from "@stenajs-webui/core";
8
+ import { Icon as ae, FlatButton as Ie, stenaTimes as Ne, Spinner as Oe, CloseButton as ce, CircledIcon as $e } from "@stenajs-webui/elements";
9
+ import { cssColor as Fe } from "@stenajs-webui/theme";
10
+ const an = (t) => {
11
+ A.setAppElement(t);
12
+ }, ke = "_overlay_5x3op_1", De = "_fadeIn_5x3op_1", xe = "_modal_5x3op_31", Be = "_content_5x3op_41", Ae = "_appear_5x3op_1", qe = "_isDraggable_5x3op_70", Le = "_footer_5x3op_101", ze = "_stickyFooter_5x3op_105", x = {
13
+ overlay: ke,
14
+ fadeIn: De,
15
+ modal: xe,
16
16
  content: Be,
17
17
  appear: Ae,
18
- isDraggable: Le,
19
- footer: ze,
20
- stickyFooter: Me
21
- }, ie = "draggable-modal-handle", de = "draggable-modal-cancel", We = ({
18
+ isDraggable: qe,
19
+ footer: Le,
20
+ stickyFooter: ze
21
+ }, ie = "draggable-modal-handle", de = "draggable-modal-cancel", Me = ({
22
22
  width: t,
23
23
  maxWidth: e,
24
24
  draggable: o = !1,
25
- children: r,
25
+ children: s,
26
26
  ...a
27
27
  }) => {
28
- const u = F(null);
28
+ const u = D(null);
29
29
  return /* @__PURE__ */ n(
30
- B,
30
+ A,
31
31
  {
32
- overlayClassName: k.overlay,
33
- className: k.modal,
32
+ overlayClassName: x.overlay,
33
+ className: x.modal,
34
34
  ...a,
35
35
  children: /* @__PURE__ */ n(
36
36
  ye,
@@ -47,40 +47,40 @@ const rn = (t) => {
47
47
  "--swui-modal-width": t,
48
48
  "--swui-modal-max-width": e
49
49
  },
50
- className: i(k.content, {
51
- [k.isDraggable]: o
50
+ className: i(x.content, {
51
+ [x.isDraggable]: o
52
52
  }),
53
53
  ref: u,
54
- children: r
54
+ children: s
55
55
  }
56
56
  )
57
57
  }
58
58
  )
59
59
  }
60
60
  );
61
- }, Se = "_portal_17ze5_1", Ee = "_overlay_17ze5_4", Te = "_content_17ze5_9", qe = "_floating_17ze5_15", He = "_slideFromLeft_17ze5_29", Pe = "_slideFromRight_17ze5_30", Ge = "_afterOpen_17ze5_36", Ve = "_beforeClose_17ze5_40", Xe = "_slideFromTop_17ze5_45", Ye = "_slideFromBottom_17ze5_46", _ = {
62
- portal: Se,
63
- overlay: Ee,
64
- content: Te,
65
- floating: qe,
61
+ }, We = "_portal_17ze5_1", Se = "_overlay_17ze5_4", Ee = "_content_17ze5_9", Te = "_floating_17ze5_15", He = "_slideFromLeft_17ze5_29", Pe = "_slideFromRight_17ze5_30", Ge = "_afterOpen_17ze5_36", Ve = "_beforeClose_17ze5_40", Xe = "_slideFromTop_17ze5_45", Ye = "_slideFromBottom_17ze5_46", _ = {
62
+ portal: We,
63
+ overlay: Se,
64
+ content: Ee,
65
+ floating: Te,
66
66
  slideFromLeft: He,
67
67
  slideFromRight: Pe,
68
68
  afterOpen: Ge,
69
69
  beforeClose: Ve,
70
70
  slideFromTop: Xe,
71
71
  slideFromBottom: Ye
72
- }, sn = ({
72
+ }, cn = ({
73
73
  background: t,
74
74
  zIndex: e,
75
75
  children: o,
76
- slideFrom: r = "left",
76
+ slideFrom: s = "left",
77
77
  portalTarget: a,
78
78
  floating: u,
79
- ...g
79
+ ...f
80
80
  }) => {
81
- const { height: f, width: I } = g;
81
+ const { height: g, width: w } = f;
82
82
  return /* @__PURE__ */ n(
83
- B,
83
+ A,
84
84
  {
85
85
  closeTimeoutMS: 250,
86
86
  portalClassName: _.portal,
@@ -92,15 +92,15 @@ const rn = (t) => {
92
92
  className: {
93
93
  base: i(
94
94
  _.content,
95
- Je(r),
95
+ Je(s),
96
96
  u && _.floating
97
97
  ),
98
98
  afterOpen: _.afterOpen,
99
99
  beforeClose: _.beforeClose
100
100
  },
101
- style: { content: { width: I, height: f, background: t }, overlay: { zIndex: e } },
101
+ style: { content: { width: w, height: g, background: t }, overlay: { zIndex: e } },
102
102
  parentSelector: a ? () => a : void 0,
103
- ...g,
103
+ ...f,
104
104
  children: o
105
105
  }
106
106
  );
@@ -117,47 +117,47 @@ const rn = (t) => {
117
117
  default:
118
118
  return Ce(t, _.slideFromLeft);
119
119
  }
120
- }, ln = ({
120
+ }, dn = ({
121
121
  header: t,
122
122
  contentRight: e,
123
123
  onRequestClose: o,
124
- icon: r
124
+ icon: s
125
125
  }) => /* @__PURE__ */ n(
126
126
  X,
127
127
  {
128
128
  position: "sticky",
129
129
  top: 0,
130
130
  zIndex: 100,
131
- background: De("--lhds-color-ui-50"),
131
+ background: Fe("--lhds-color-ui-50"),
132
132
  children: /* @__PURE__ */ m(
133
- v,
133
+ b,
134
134
  {
135
135
  justifyContent: "space-between",
136
136
  alignItems: "center",
137
137
  height: "48px",
138
138
  children: [
139
- /* @__PURE__ */ m(v, { alignItems: "center", gap: 2, children: [
140
- /* @__PURE__ */ n(re, { num: 1 }),
141
- r && /* @__PURE__ */ n(ae, { icon: r, size: 24 }),
139
+ /* @__PURE__ */ m(b, { alignItems: "center", gap: 2, children: [
140
+ /* @__PURE__ */ n(se, { num: 1 }),
141
+ s && /* @__PURE__ */ n(ae, { icon: s, size: 24 }),
142
142
  /* @__PURE__ */ n(Y, { variant: "h4", children: t })
143
143
  ] }),
144
- /* @__PURE__ */ m(v, { gap: 1, children: [
144
+ /* @__PURE__ */ m(b, { gap: 1, children: [
145
145
  e,
146
146
  /* @__PURE__ */ n(
147
- Ne,
147
+ Ie,
148
148
  {
149
- leftIcon: be,
149
+ leftIcon: Ne,
150
150
  onClick: o,
151
151
  variant: "danger"
152
152
  }
153
153
  ),
154
- /* @__PURE__ */ n(re, { num: 0.5 })
154
+ /* @__PURE__ */ n(se, { num: 0.5 })
155
155
  ] })
156
156
  ]
157
157
  }
158
158
  )
159
159
  }
160
- ), Ke = "_overlay_r9tkq_1", Qe = "_fadeIn_r9tkq_1", Ue = "_modal_r9tkq_31", Ze = "_content_r9tkq_38", Re = "_appear_r9tkq_1", je = "_isDraggable_r9tkq_61", et = "_footer_r9tkq_92", tt = "_stickyFooter_r9tkq_96", q = {
160
+ ), Ke = "_overlay_r9tkq_1", Qe = "_fadeIn_r9tkq_1", Ue = "_modal_r9tkq_31", Ze = "_content_r9tkq_38", Re = "_appear_r9tkq_1", je = "_isDraggable_r9tkq_61", et = "_footer_r9tkq_92", tt = "_stickyFooter_r9tkq_96", H = {
161
161
  overlay: Ke,
162
162
  fadeIn: Qe,
163
163
  modal: Ue,
@@ -166,81 +166,93 @@ const rn = (t) => {
166
166
  isDraggable: je,
167
167
  footer: et,
168
168
  stickyFooter: tt
169
- }, nt = { overlay: { justifyContent: "center" } }, an = ({
169
+ }, nt = { overlay: { justifyContent: "center" } }, _n = ({
170
170
  children: t,
171
171
  ...e
172
172
  }) => /* @__PURE__ */ n(
173
- B,
173
+ A,
174
174
  {
175
- overlayClassName: q.overlay,
176
- className: q.modal,
175
+ overlayClassName: H.overlay,
176
+ className: H.modal,
177
177
  style: nt,
178
178
  ...e,
179
179
  children: /* @__PURE__ */ n(
180
180
  "div",
181
181
  {
182
- className: q.content,
182
+ className: H.content,
183
183
  style: { "--swui-modal-width": "fit-content" },
184
184
  children: t
185
185
  }
186
186
  )
187
187
  }
188
- ), ot = "_overlay_1rolx_1", rt = "_fadeIn_1rolx_1", st = "_modal_1rolx_31", lt = "_content_1rolx_41", at = "_appear_1rolx_1", ct = "_isDraggable_1rolx_71", it = "_footer_1rolx_102", dt = "_stickyFooter_1rolx_106", H = {
188
+ ), ot = "_overlay_15dqv_1", st = "_afterOpen_15dqv_24", rt = "_beforeClose_15dqv_24", lt = "_fadeIn_15dqv_1", at = "_fadeOut_15dqv_1", ct = "_modal_15dqv_36", it = "_slideIn_15dqv_1", dt = "_slideOut_15dqv_1", _t = "_content_15dqv_59", mt = "_footer_15dqv_148", ut = "_stickyFooter_15dqv_152", F = {
189
189
  overlay: ot,
190
- fadeIn: rt,
191
- modal: st,
192
- content: lt,
193
- appear: at,
194
- isDraggable: ct,
195
- footer: it,
196
- stickyFooter: dt
197
- }, _t = ({
190
+ afterOpen: st,
191
+ beforeClose: rt,
192
+ fadeIn: lt,
193
+ fadeOut: at,
194
+ modal: ct,
195
+ slideIn: it,
196
+ slideOut: dt,
197
+ content: _t,
198
+ footer: mt,
199
+ stickyFooter: ut
200
+ }, ft = ({
198
201
  children: t,
199
202
  background: e,
200
203
  ...o
201
204
  }) => {
202
- const r = {
205
+ const s = {
203
206
  overlay: { justifyContent: "center" },
204
207
  content: { "--swui-modal-content-bg-color": e }
205
208
  };
206
209
  return /* @__PURE__ */ n(
207
- B,
210
+ A,
208
211
  {
209
- overlayClassName: H.overlay,
210
- className: H.modal,
211
- style: r,
212
+ overlayClassName: {
213
+ base: F.overlay,
214
+ beforeClose: F.beforeClose,
215
+ afterOpen: F.afterOpen
216
+ },
217
+ className: {
218
+ base: F.modal,
219
+ beforeClose: F.beforeClose,
220
+ afterOpen: F.afterOpen
221
+ },
222
+ style: s,
223
+ closeTimeoutMS: 250,
212
224
  ...o,
213
225
  children: /* @__PURE__ */ n(
214
226
  "div",
215
227
  {
216
- className: H.content,
228
+ className: F.content,
217
229
  style: { "--swui-modal-width": "fit-content" },
218
230
  children: t
219
231
  }
220
232
  )
221
233
  }
222
234
  );
223
- }, mt = "_modal_4fwgb_1", ut = "_overlay_4fwgb_13", se = {
224
- modal: mt,
225
- overlay: ut
226
- }, cn = ({
235
+ }, gt = "_modal_4fwgb_1", ht = "_overlay_4fwgb_13", re = {
236
+ modal: gt,
237
+ overlay: ht
238
+ }, mn = ({
227
239
  headerIconLeft: t,
228
240
  headerText: e,
229
241
  shouldCloseOnOverlayClick: o = !1,
230
- shouldCloseOnEsc: r = !1,
242
+ shouldCloseOnEsc: s = !1,
231
243
  ...a
232
244
  }) => /* @__PURE__ */ n(
233
- B,
245
+ A,
234
246
  {
235
247
  ...a,
236
248
  isOpen: !0,
237
249
  shouldCloseOnOverlayClick: o,
238
- shouldCloseOnEsc: r,
239
- className: se.modal,
240
- overlayClassName: se.overlay,
250
+ shouldCloseOnEsc: s,
251
+ className: re.modal,
252
+ overlayClassName: re.overlay,
241
253
  children: /* @__PURE__ */ m(J, { spacing: 2, alignItems: "center", children: [
242
254
  /* @__PURE__ */ n(
243
- O,
255
+ B,
244
256
  {
245
257
  alignItems: "center",
246
258
  justifyContent: "center",
@@ -249,167 +261,167 @@ const rn = (t) => {
249
261
  borderRadius: "50%",
250
262
  background: "white",
251
263
  shadow: "modal",
252
- children: /* @__PURE__ */ n($e, { size: "small" })
264
+ children: /* @__PURE__ */ n(Oe, { size: "small" })
253
265
  }
254
266
  ),
255
267
  (t || e) && /* @__PURE__ */ m(ee, { children: [
256
268
  /* @__PURE__ */ n(X, {}),
257
- /* @__PURE__ */ m(v, { indent: 2, children: [
269
+ /* @__PURE__ */ m(b, { indent: 2, children: [
258
270
  t && /* @__PURE__ */ m(ee, { children: [
259
271
  /* @__PURE__ */ n(ae, { size: 14, icon: t, color: "white" }),
260
- /* @__PURE__ */ n(we, {})
272
+ /* @__PURE__ */ n(ve, {})
261
273
  ] }),
262
274
  e && /* @__PURE__ */ n(Y, { variant: "h4", color: "white", children: e })
263
275
  ] })
264
276
  ] })
265
277
  ] })
266
278
  }
267
- ), gt = ({
279
+ ), pt = ({
268
280
  onRequestClose: t,
269
281
  header: e,
270
282
  headerText: o,
271
- closeButtonClassName: r
283
+ closeButtonClassName: s
272
284
  }) => /* @__PURE__ */ m(
273
- v,
285
+ b,
274
286
  {
275
287
  spacing: 2,
276
288
  indent: 2,
277
289
  borderBottom: "1px solid var(--lhds-color-ui-300)",
278
290
  className: ie,
279
291
  children: [
280
- /* @__PURE__ */ m(v, { flex: 1, indent: !0, alignItems: "center", children: [
281
- o && /* @__PURE__ */ n(ve, { className: de, size: "large", children: o }),
292
+ /* @__PURE__ */ m(b, { flex: 1, indent: !0, alignItems: "center", children: [
293
+ o && /* @__PURE__ */ n(be, { className: de, size: "large", children: o }),
282
294
  e
283
295
  ] }),
284
- /* @__PURE__ */ n(O, { alignSelf: "flex-start", children: /* @__PURE__ */ n(
296
+ /* @__PURE__ */ n(B, { alignSelf: "flex-start", children: /* @__PURE__ */ n(
285
297
  ce,
286
298
  {
287
- className: r,
299
+ className: s,
288
300
  onClick: t
289
301
  }
290
302
  ) })
291
303
  ]
292
304
  }
293
- ), dn = ({
305
+ ), un = ({
294
306
  header: t,
295
307
  headerText: e,
296
308
  children: o,
297
- spacing: r,
309
+ spacing: s,
298
310
  indent: a,
299
311
  draggable: u = !1,
300
- onRequestClose: g,
301
- closeButtonClassName: f,
302
- footer: I,
312
+ onRequestClose: f,
313
+ closeButtonClassName: g,
314
+ footer: w,
303
315
  disableStickyFooter: p = !1,
304
316
  ...d
305
317
  }) => /* @__PURE__ */ m(
306
- We,
318
+ Me,
307
319
  {
308
320
  ...d,
309
- onRequestClose: g,
321
+ onRequestClose: f,
310
322
  draggable: u,
311
323
  children: [
312
324
  /* @__PURE__ */ n(
313
- gt,
325
+ pt,
314
326
  {
315
- onRequestClose: g,
327
+ onRequestClose: f,
316
328
  header: t,
317
329
  headerText: e,
318
- closeButtonClassName: f
330
+ closeButtonClassName: g
319
331
  }
320
332
  ),
321
- /* @__PURE__ */ n(O, { spacing: typeof r == "number" ? r : 1, indent: typeof a == "number" ? a : 1, children: o }),
322
- I && /* @__PURE__ */ n(
323
- O,
333
+ /* @__PURE__ */ n(B, { spacing: typeof s == "number" ? s : 1, indent: typeof a == "number" ? a : 1, children: o }),
334
+ w && /* @__PURE__ */ n(
335
+ B,
324
336
  {
325
- className: i(k.footer, {
326
- [k.stickyFooter]: !p
337
+ className: i(x.footer, {
338
+ [x.stickyFooter]: !p
327
339
  }),
328
- children: I
340
+ children: w
329
341
  }
330
342
  )
331
343
  ]
332
344
  }
333
- ), _n = ({ children: t }) => /* @__PURE__ */ n(J, { indent: 2, spacing: 2, children: t }), V = fe(
345
+ ), fn = ({ children: t }) => /* @__PURE__ */ n(J, { indent: 2, spacing: 2, children: t }), V = ge(
334
346
  void 0
335
347
  );
336
348
  function K(t, {
337
349
  ref: e,
338
350
  modal: o,
339
- contentWrapperClassName: r,
351
+ contentWrapperClassName: s,
340
352
  closingClassName: a,
341
353
  contentWrapperStyle: u,
342
- dialogStyle: g,
343
- divInsteadOfDialog: f,
344
- disableCloseOnClickOutside: I,
354
+ dialogStyle: f,
355
+ divInsteadOfDialog: g,
356
+ disableCloseOnClickOutside: w,
345
357
  onResolve: p,
346
358
  onReject: d,
347
359
  className: W,
348
360
  background: L
349
361
  }) {
350
- const me = F(null), c = e ?? me, [S, ue] = he((s) => s + 1, 0), Q = F(), N = F(), C = F(), h = F(), [z, D] = te(!1), [U, w] = te(!1), E = t, ge = A(
351
- (s) => {
362
+ const me = D(null), c = e ?? me, [S, ue] = he((r) => r + 1, 0), Q = D(), I = D(), C = D(), h = D(), [z, k] = te(!1), [U, v] = te(!1), E = t, fe = q(
363
+ (r) => {
352
364
  var l, y;
353
365
  return Q.current = new Promise(
354
- ($, x) => {
355
- N.current = $, h.current = x;
366
+ (O, $) => {
367
+ I.current = O, h.current = $;
356
368
  }
357
- ), w(!1), D(!0), ue(), C.current = s, o ? (l = c.current) == null || l.showModal() : (y = c.current) == null || y.show(), Q.current;
369
+ ), v(!1), k(!0), ue(), C.current = r, o ? (l = c.current) == null || l.showModal() : (y = c.current) == null || y.show(), Q.current;
358
370
  },
359
371
  [c, o]
360
- ), Z = A(
361
- (s) => {
372
+ ), Z = q(
373
+ (r) => {
362
374
  var l, y;
363
- w(!0), f ? (w(!1), D(!1), (y = N.current) == null || y.call(N, s), C.current = void 0, p == null || p()) : (l = c.current) == null || l.addEventListener(
375
+ v(!0), g ? (v(!1), k(!1), (y = I.current) == null || y.call(I, r), C.current = void 0, p == null || p()) : (l = c.current) == null || l.addEventListener(
364
376
  "animationend",
365
377
  () => {
366
- var $, x;
367
- w(!1), D(!1), ($ = c.current) == null || $.close(), (x = N.current) == null || x.call(N, s), C.current = void 0, p == null || p();
378
+ var O, $;
379
+ v(!1), k(!1), (O = c.current) == null || O.close(), ($ = I.current) == null || $.call(I, r), C.current = void 0, p == null || p();
368
380
  },
369
381
  { once: !0 }
370
382
  );
371
383
  },
372
- [c, p, f]
373
- ), R = A(() => {
374
- var s;
375
- w(!1), D(!1), (s = h.current) == null || s.call(h), d == null || d(), C.current = void 0;
376
- }, [d]), b = A(
377
- (s) => {
384
+ [c, p, g]
385
+ ), R = q(() => {
386
+ var r;
387
+ v(!1), k(!1), (r = h.current) == null || r.call(h), d == null || d(), C.current = void 0;
388
+ }, [d]), N = q(
389
+ (r) => {
378
390
  var l, y;
379
- w(!0), f ? (w(!1), D(!1), (y = h.current) == null || y.call(h, s), d == null || d(), C.current = void 0) : (l = c.current) == null || l.addEventListener(
391
+ v(!0), g ? (v(!1), k(!1), (y = h.current) == null || y.call(h, r), d == null || d(), C.current = void 0) : (l = c.current) == null || l.addEventListener(
380
392
  "animationend",
381
393
  () => {
382
- var $, x;
383
- w(!1), D(!1), ($ = c.current) == null || $.close(), (x = h.current) == null || x.call(h, s), d == null || d(), C.current = void 0;
394
+ var O, $;
395
+ v(!1), k(!1), (O = c.current) == null || O.close(), ($ = h.current) == null || $.call(h, r), d == null || d(), C.current = void 0;
384
396
  },
385
397
  { once: !0 }
386
398
  );
387
399
  },
388
- [c, f, d]
389
- ), j = A(
390
- (s) => {
391
- if (s.target !== c.current)
400
+ [c, g, d]
401
+ ), j = q(
402
+ (r) => {
403
+ if (r.target !== c.current)
392
404
  return;
393
405
  const l = c.current.getBoundingClientRect();
394
- l.top <= s.clientY && s.clientY <= l.top + l.height && l.left <= s.clientX && s.clientX <= l.left + l.width || b();
406
+ l.top <= r.clientY && r.clientY <= l.top + l.height && l.left <= r.clientX && r.clientX <= l.left + l.width || N();
395
407
  },
396
- [c, b]
408
+ [c, N]
397
409
  ), T = ne(
398
- () => ({ resolve: Z, reject: b }),
399
- [b, Z]
410
+ () => ({ resolve: Z, reject: N }),
411
+ [N, Z]
400
412
  );
401
413
  return [ne(
402
- () => f ? /* @__PURE__ */ n(
403
- _t,
414
+ () => g ? /* @__PURE__ */ n(
415
+ ft,
404
416
  {
405
417
  isOpen: z,
406
- onRequestClose: b,
418
+ onRequestClose: N,
407
419
  background: L,
408
420
  children: /* @__PURE__ */ n(V.Provider, { value: T, children: /* @__PURE__ */ n(
409
421
  "div",
410
422
  {
411
423
  style: u,
412
- className: r,
424
+ className: s,
413
425
  children: z && /* @__PURE__ */ oe(E, { ...C.current, key: S })
414
426
  }
415
427
  ) })
@@ -417,25 +429,25 @@ function K(t, {
417
429
  ) : /* @__PURE__ */ n(
418
430
  "dialog",
419
431
  {
420
- onClick: I ? void 0 : j,
432
+ onClick: w ? void 0 : j,
421
433
  onClose: R,
422
434
  ref: c,
423
435
  className: i(W, U && a),
424
- style: { background: L, ...g },
425
- children: /* @__PURE__ */ n("div", { style: u, className: r, children: z && /* @__PURE__ */ n(V.Provider, { value: T, children: /* @__PURE__ */ oe(E, { ...C.current, key: S }) }) })
436
+ style: { background: L, ...f },
437
+ children: /* @__PURE__ */ n("div", { style: u, className: s, children: z && /* @__PURE__ */ n(V.Provider, { value: T, children: /* @__PURE__ */ oe(E, { ...C.current, key: S }) }) })
426
438
  }
427
439
  ),
428
440
  [
429
- f,
441
+ g,
430
442
  L,
431
443
  u,
432
- r,
433
- I,
444
+ s,
445
+ w,
434
446
  W,
435
447
  a,
436
- g,
448
+ f,
437
449
  z,
438
- b,
450
+ N,
439
451
  T,
440
452
  E,
441
453
  S,
@@ -444,22 +456,22 @@ function K(t, {
444
456
  c,
445
457
  U
446
458
  ]
447
- ), { show: ge, reject: b }];
459
+ ), { show: fe, reject: N }];
448
460
  }
449
- const mn = () => {
461
+ const gn = () => {
450
462
  const t = pe(V);
451
463
  if (t == null)
452
464
  throw new Error("useDialogPromise is being used outside of dialog.");
453
465
  return t;
454
- }, ft = "_alertDialog_14t8t_1", ht = "_slideIn_14t8t_1", pt = "_closing_14t8t_22", yt = "_slideOut_14t8t_1", Ct = "_fadeIn_14t8t_1", wt = "_fadeOut_14t8t_1", P = {
455
- alertDialog: ft,
456
- slideIn: ht,
457
- closing: pt,
458
- slideOut: yt,
459
- fadeIn: Ct,
460
- fadeOut: wt
466
+ }, yt = "_alertDialog_14t8t_1", Ct = "_slideIn_14t8t_1", vt = "_closing_14t8t_22", bt = "_slideOut_14t8t_1", wt = "_fadeIn_14t8t_1", It = "_fadeOut_14t8t_1", P = {
467
+ alertDialog: yt,
468
+ slideIn: Ct,
469
+ closing: vt,
470
+ slideOut: bt,
471
+ fadeIn: wt,
472
+ fadeOut: It
461
473
  };
462
- function un(t, e) {
474
+ function hn(t, e) {
463
475
  return K(t, {
464
476
  ...e,
465
477
  modal: !0,
@@ -471,24 +483,24 @@ function un(t, e) {
471
483
  className: i(e == null ? void 0 : e.className, P.alertDialog)
472
484
  });
473
485
  }
474
- const vt = "_drawerDialog_11g6r_1", It = "_left_11g6r_13", Nt = "_right_11g6r_14", bt = "_contentWrapper_11g6r_19", $t = "_slideInLeft_11g6r_1", xt = "_closing_11g6r_36", Dt = "_slideOutLeft_11g6r_1", Ft = "_slideInRight_11g6r_1", kt = "_slideOutRight_11g6r_1", Ot = "_top_11g6r_54", Bt = "_bottom_11g6r_55", At = "_slideInTop_11g6r_1", Lt = "_slideOutTop_11g6r_1", zt = "_slideInBottom_11g6r_1", Mt = "_slideOutBottom_11g6r_1", M = {
475
- drawerDialog: vt,
476
- left: It,
477
- right: Nt,
478
- contentWrapper: bt,
479
- slideInLeft: $t,
480
- closing: xt,
481
- slideOutLeft: Dt,
482
- slideInRight: Ft,
483
- slideOutRight: kt,
484
- top: Ot,
485
- bottom: Bt,
486
- slideInTop: At,
487
- slideOutTop: Lt,
488
- slideInBottom: zt,
489
- slideOutBottom: Mt
486
+ const Nt = "_drawerDialog_11g6r_1", Ot = "_left_11g6r_13", $t = "_right_11g6r_14", Ft = "_contentWrapper_11g6r_19", kt = "_slideInLeft_11g6r_1", Dt = "_closing_11g6r_36", xt = "_slideOutLeft_11g6r_1", Bt = "_slideInRight_11g6r_1", At = "_slideOutRight_11g6r_1", qt = "_top_11g6r_54", Lt = "_bottom_11g6r_55", zt = "_slideInTop_11g6r_1", Mt = "_slideOutTop_11g6r_1", Wt = "_slideInBottom_11g6r_1", St = "_slideOutBottom_11g6r_1", M = {
487
+ drawerDialog: Nt,
488
+ left: Ot,
489
+ right: $t,
490
+ contentWrapper: Ft,
491
+ slideInLeft: kt,
492
+ closing: Dt,
493
+ slideOutLeft: xt,
494
+ slideInRight: Bt,
495
+ slideOutRight: At,
496
+ top: qt,
497
+ bottom: Lt,
498
+ slideInTop: zt,
499
+ slideOutTop: Mt,
500
+ slideInBottom: Wt,
501
+ slideOutBottom: St
490
502
  };
491
- function gn(t, e = "left", o) {
503
+ function pn(t, e = "left", o) {
492
504
  return K(t, {
493
505
  ...o,
494
506
  disableCloseOnClickOutside: !0,
@@ -501,16 +513,16 @@ function gn(t, e = "left", o) {
501
513
  className: i(o == null ? void 0 : o.className, M.drawerDialog, M[e])
502
514
  });
503
515
  }
504
- const Wt = "_modalDialog_1teni_1", St = "_slideIn_1teni_1", Et = "_closing_1teni_36", Tt = "_slideOut_1teni_1", qt = "_fadeIn_1teni_1", Ht = "_fadeOut_1teni_1", Pt = "_contentWrapper_1teni_100", G = {
505
- modalDialog: Wt,
506
- slideIn: St,
507
- closing: Et,
508
- slideOut: Tt,
509
- fadeIn: qt,
510
- fadeOut: Ht,
511
- contentWrapper: Pt
516
+ const Et = "_modalDialog_1teni_1", Tt = "_slideIn_1teni_1", Ht = "_closing_1teni_36", Pt = "_slideOut_1teni_1", Gt = "_fadeIn_1teni_1", Vt = "_fadeOut_1teni_1", Xt = "_contentWrapper_1teni_100", G = {
517
+ modalDialog: Et,
518
+ slideIn: Tt,
519
+ closing: Ht,
520
+ slideOut: Pt,
521
+ fadeIn: Gt,
522
+ fadeOut: Vt,
523
+ contentWrapper: Xt
512
524
  };
513
- function fn(t, e) {
525
+ function yn(t, e) {
514
526
  return K(t, {
515
527
  ...e,
516
528
  modal: !0,
@@ -526,53 +538,53 @@ const _e = ({
526
538
  headingLevel: t = "h2",
527
539
  size: e = "medium",
528
540
  children: o
529
- }) => /* @__PURE__ */ n(Y, { variant: e === "medium" ? "h3" : "h1", as: t, children: o }), Gt = "_modalActionButtons_s27nj_1", Vt = {
530
- modalActionButtons: Gt
531
- }, Xt = ({
541
+ }) => /* @__PURE__ */ n(Y, { variant: e === "medium" ? "h3" : "h1", as: t, children: o }), Yt = "_modalActionButtons_s27nj_1", Jt = {
542
+ modalActionButtons: Yt
543
+ }, Kt = ({
532
544
  buttons: t
533
- }) => /* @__PURE__ */ m(O, { width: "100%", children: [
545
+ }) => /* @__PURE__ */ m(B, { width: "100%", children: [
534
546
  /* @__PURE__ */ n(X, {}),
535
- /* @__PURE__ */ n("div", { className: Vt.modalActionButtons, children: t })
536
- ] }), Yt = ({ gap: t = 3, ...e }) => /* @__PURE__ */ n(O, { indent: 3, spacing: 3, gap: t, ...e }), hn = ({
547
+ /* @__PURE__ */ n("div", { className: Jt.modalActionButtons, children: t })
548
+ ] }), Qt = ({ gap: t = 3, ...e }) => /* @__PURE__ */ n(B, { indent: 3, spacing: 3, gap: t, ...e }), Cn = ({
537
549
  icon: t,
538
550
  buttons: e,
539
551
  heading: o,
540
- text: r,
552
+ text: s,
541
553
  children: a,
542
554
  maxWidth: u,
543
- minWidth: g
555
+ minWidth: f
544
556
  }) => /* @__PURE__ */ m(
545
- Yt,
557
+ Qt,
546
558
  {
547
559
  flexDirection: "column",
548
560
  alignItems: "center",
549
561
  maxWidth: u,
550
- minWidth: g,
562
+ minWidth: f,
551
563
  children: [
552
- t && /* @__PURE__ */ n(xe, { icon: t, size: "large" }),
564
+ t && /* @__PURE__ */ n($e, { icon: t, size: "large" }),
553
565
  /* @__PURE__ */ n(_e, { children: o }),
554
- r && /* @__PURE__ */ n(Ie, { textAlign: "center", children: r }),
566
+ s && /* @__PURE__ */ n(we, { textAlign: "center", children: s }),
555
567
  a,
556
- e && /* @__PURE__ */ n(Xt, { buttons: e })
568
+ e && /* @__PURE__ */ n(Kt, { buttons: e })
557
569
  ]
558
570
  }
559
- ), pn = ({ children: t }) => /* @__PURE__ */ n(J, { flex: 1, height: "100%", justifyContent: "space-between", children: t }), yn = ({
571
+ ), vn = ({ children: t }) => /* @__PURE__ */ n(J, { flex: 1, height: "100%", justifyContent: "space-between", children: t }), bn = ({
560
572
  heading: t,
561
573
  headingLevel: e,
562
574
  headingSize: o,
563
- onClickClose: r
564
- }) => /* @__PURE__ */ m(v, { justifyContent: "space-between", children: [
575
+ onClickClose: s
576
+ }) => /* @__PURE__ */ m(b, { justifyContent: "space-between", children: [
565
577
  t && /* @__PURE__ */ n(_e, { headingLevel: e, size: o, children: t }),
566
- /* @__PURE__ */ n(ce, { onClick: r })
567
- ] }), Jt = "_modalFooter_112wr_1", Kt = "_sticky_112wr_10", le = {
568
- modalFooter: Jt,
569
- sticky: Kt
570
- }, Cn = ({
578
+ /* @__PURE__ */ n(ce, { onClick: s })
579
+ ] }), Ut = "_modalFooter_112wr_1", Zt = "_sticky_112wr_10", le = {
580
+ modalFooter: Ut,
581
+ sticky: Zt
582
+ }, wn = ({
571
583
  children: t,
572
584
  sticky: e,
573
585
  zIndex: o = 4
574
586
  }) => /* @__PURE__ */ n(
575
- v,
587
+ b,
576
588
  {
577
589
  className: i(le.modalFooter, e && le.sticky),
578
590
  shadow: "var(--swui-sticky-footer-shadow)",
@@ -581,30 +593,30 @@ const _e = ({
581
593
  }
582
594
  );
583
595
  export {
584
- an as Alert,
585
- We as BaseWindow,
596
+ _n as Alert,
597
+ Me as BaseWindow,
586
598
  de as DRAGGABLE_CANCEL_CLASSNAME,
587
599
  ie as DRAGGABLE_HANDLE_CLASSNAME,
588
600
  V as DialogContext,
589
- sn as Drawer,
590
- ln as DrawerHeader,
591
- hn as InfoAlert,
592
- cn as LoadingModal,
593
- _t as Modal,
594
- Xt as ModalActionButtons,
595
- Yt as ModalBody,
596
- pn as ModalContainer,
597
- Cn as ModalFooter,
598
- yn as ModalHeader,
601
+ cn as Drawer,
602
+ dn as DrawerHeader,
603
+ Cn as InfoAlert,
604
+ mn as LoadingModal,
605
+ ft as Modal,
606
+ Kt as ModalActionButtons,
607
+ Qt as ModalBody,
608
+ vn as ModalContainer,
609
+ wn as ModalFooter,
610
+ bn as ModalHeader,
599
611
  _e as ModalHeading,
600
- dn as Window,
601
- _n as WindowFooter,
602
- gt as WindowHeader,
603
- rn as setupDeclarativeModals,
604
- un as useAlertDialog,
612
+ un as Window,
613
+ fn as WindowFooter,
614
+ pt as WindowHeader,
615
+ an as setupDeclarativeModals,
616
+ hn as useAlertDialog,
605
617
  K as useDialog,
606
- mn as useDialogPromise,
607
- gn as useDrawerDialog,
608
- fn as useModalDialog
618
+ gn as useDialogPromise,
619
+ pn as useDrawerDialog,
620
+ yn as useModalDialog
609
621
  };
610
622
  //# sourceMappingURL=index.es.js.map