asma-ui-core 3.110.0 → 3.112.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.
@@ -1,35 +1,35 @@
1
- import { cn as f } from "../../../helpers/cn.js";
1
+ import { cn as h } from "../../../helpers/cn.js";
2
2
  import { firstTabbable as me } from "../../../helpers/focusable.js";
3
3
  import { StyledTooltip as u } from "../../data-display/tooltip/StyledTooltip.js";
4
- import { DotsVerticalIcon as he } from "../../icons/dots-vertical-icon/DotsVerticalIcon.js";
4
+ import { DotsVerticalIcon as fe } from "../../icons/dots-vertical-icon/DotsVerticalIcon.js";
5
5
  import { CloseIcon as K } from "../../icons/close-icon/CloseIcon.js";
6
- import { MinimizeIcon as fe } from "../../icons/minimize-icon/MinimizeIcon.js";
6
+ import { MinimizeIcon as he } from "../../icons/minimize-icon/MinimizeIcon.js";
7
7
  import { KeyboardCapslockIcon as ue } from "../../icons/keyboard-capslock-icon/KeyboardCapslockIcon.js";
8
8
  import { ArrowExpandIcon as ve } from "../../icons/arrow-expand-icon/ArrowExpandIcon.js";
9
9
  import { ArrowShrinkIcon as be } from "../../icons/arrow-shrink-icon/ArrowShrinkIcon.js";
10
10
  import { StyledButton as r } from "../../inputs/button/StyledButton.js";
11
- import { OverlayBackOwnerContext as pe, useBackCloses as ge } from "../../../hooks/useBackCloses.hook.js";
12
- import { useFocusTrap as xe } from "../../../hooks/useFocusTrap.hook.js";
11
+ import { OverlayBackOwnerContext as pe, isOverlayBackNavigationPending as ge, useBackCloses as xe } from "../../../hooks/useBackCloses.hook.js";
12
+ import { useFocusTrap as ke } from "../../../hooks/useFocusTrap.hook.js";
13
13
  import { StyledMenu as ye } from "../../navigation/menu/StyledMenu.js";
14
- import { StyledMenuItem as ke } from "../../navigation/menu/StyledMenuItem.js";
15
- import { fullScreenFieldWidthVars as we } from "../../inputs/field-styles.js";
14
+ import { StyledMenuItem as we } from "../../navigation/menu/StyledMenuItem.js";
15
+ import { fullScreenFieldWidthVars as ze } from "../../inputs/field-styles.js";
16
16
  import T from "./MinimizableDialog.module.js";
17
- import { useToggleMenuVisibility as ze } from "../../../hooks/useToggleMenuVisibility.hook.js";
17
+ import { useToggleMenuVisibility as Ne } from "../../../hooks/useToggleMenuVisibility.hook.js";
18
18
  import H from "clsx";
19
- import { useLayoutEffect as Ne, useRef as J, useState as Q } from "react";
19
+ import { useLayoutEffect as Ce, useRef as J, useState as Q } from "react";
20
20
  import { Fragment as p, jsx as e, jsxs as l } from "react/jsx-runtime";
21
- var He = ({ onCloseText: v = "", onMinimizeText: C = "", onExpandText: I = "", onFullScreenText: M = "", showCloseIcon: R = !0, showMinimizeIcon: X = !0, showExpandIcon: Y = !0, showFullScreenIcon: Z = !0, title: m, label: g, children: x, open: y, onClose: L, className: j = "", primaryButtonText: S, primaryButtonLoading: n = !1, primaryButtonDisabled: B, primaryButtonDisabledReason: ee, secondaryButtonText: k, onPrimaryButtonClick: F, onSecondaryButtonClick: _, dataTest: E, actionNode: te, extraActions: d, extraActionsText: h, btnContainerClassName: G, footerClassName: ie, footerInfo: D, locale: t = "en", enableFullscreen: le = !0, fullScreenState: O, handleFullScreenState: V }) => {
22
- const [i, re] = Q(!1), [q, ne] = Q(!1), { open: de, anchorEl: ae, handleOpen: oe, handleClose: se } = ze(), s = J(null), w = J(null), z = t === "en" ? "Wait until saved" : "Vent til lagringen er ferdig", b = () => {
21
+ var Qe = ({ onCloseText: v = "", onMinimizeText: C = "", onExpandText: I = "", onFullScreenText: M = "", showCloseIcon: R = !0, showMinimizeIcon: X = !0, showExpandIcon: Y = !0, showFullScreenIcon: Z = !0, title: m, label: g, children: x, open: k, onClose: L, className: j = "", primaryButtonText: S, primaryButtonLoading: n = !1, primaryButtonDisabled: B, primaryButtonDisabledReason: ee, secondaryButtonText: y, onPrimaryButtonClick: F, onSecondaryButtonClick: _, dataTest: q, actionNode: te, extraActions: d, extraActionsText: f, btnContainerClassName: E, footerClassName: ie, footerInfo: G, locale: t = "en", enableFullscreen: le = !0, fullScreenState: O, handleFullScreenState: D }) => {
22
+ const [i, re] = Q(!1), [V, ne] = Q(!1), { open: de, anchorEl: ae, handleOpen: oe, handleClose: se } = Ne(), s = J(null), w = J(null), z = t === "en" ? "Wait until saved" : "Vent til lagringen er ferdig", b = () => {
23
23
  if (n) return !1;
24
24
  L();
25
- }, o = O ?? q, a = o && !i;
26
- if (xe(y && a, s, b), ge({
27
- active: y && a,
28
- requestClose: b,
25
+ }, o = O ?? V, a = o && !i;
26
+ if (ke(k && a, s, b), xe({
27
+ active: k && !i,
28
+ requestClose: () => !a && ge() ? !1 : b(),
29
29
  ownerRef: s
30
- }), Ne(() => {
30
+ }), Ce(() => {
31
31
  s.current?.toggleAttribute("inert", i), w.current?.toggleAttribute("inert", !i);
32
- }, [i]), !y) return null;
32
+ }, [i]), !k) return null;
33
33
  const ce = a ? {
34
34
  right: "auto",
35
35
  bottom: "auto",
@@ -38,15 +38,15 @@ var He = ({ onCloseText: v = "", onMinimizeText: C = "", onExpandText: I = "", o
38
38
  transform: "translate(-50%, -50%)",
39
39
  width: "min(1000px, calc(100vw - 32px))",
40
40
  height: "95dvh",
41
- ...we
42
- } : void 0, W = o ? t === "en" ? "Exit full screen" : "Avslutt fullskjerm" : t === "en" ? "Full screen" : "Fullskjerm", P = S ?? n, U = P || k, $ = /* @__PURE__ */ l(p, { children: [k && _ && /* @__PURE__ */ e(r, {
41
+ ...ze
42
+ } : void 0, P = o ? t === "en" ? "Exit full screen" : "Avslutt fullskjerm" : t === "en" ? "Full screen" : "Fullskjerm", W = S ?? n, U = W || y, $ = /* @__PURE__ */ l(p, { children: [y && _ && /* @__PURE__ */ e(r, {
43
43
  dataTest: "cancel-button",
44
44
  variant: "outlined",
45
45
  disabled: n,
46
46
  disabledReason: z,
47
47
  onClick: _,
48
- children: k
49
- }), P && F && /* @__PURE__ */ e(r, {
48
+ children: y
49
+ }), W && F && /* @__PURE__ */ e(r, {
50
50
  dataTest: "save-button",
51
51
  loading: n,
52
52
  locale: t,
@@ -66,10 +66,10 @@ var He = ({ onCloseText: v = "", onMinimizeText: C = "", onExpandText: I = "", o
66
66
  /* @__PURE__ */ e("div", {
67
67
  ref: w,
68
68
  style: { zIndex: 51 },
69
- className: f(T.dialog, !i && T.hidden),
69
+ className: h(T.dialog, !i && T.hidden),
70
70
  children: /* @__PURE__ */ l("div", {
71
71
  className: H("flex items-center justify-between", !i && "hidden"),
72
- "data-testid": E,
72
+ "data-testid": q,
73
73
  children: [/* @__PURE__ */ e("div", {
74
74
  className: "truncate text-lg font-semibold text-delta-800",
75
75
  children: m
@@ -118,8 +118,8 @@ var He = ({ onCloseText: v = "", onMinimizeText: C = "", onExpandText: I = "", o
118
118
  role: a ? "dialog" : void 0,
119
119
  "aria-modal": a ? !0 : void 0,
120
120
  "aria-label": a && typeof m == "string" ? m : void 0,
121
- className: f("fixed bottom-4 right-4 z-[51] rounded-lg bg-white shadow-[0_4px_40px_0px_rgba(34,33,51,0.4)] transition-all duration-300", j && !i && !o ? j : "", i && "!h-0 !w-0 opacity-0 duration-0", a && "fixed duration-0"),
122
- "data-testid": E,
121
+ className: h("fixed bottom-4 right-4 z-[51] rounded-lg bg-white shadow-[0_4px_40px_0px_rgba(34,33,51,0.4)] transition-all duration-300", j && !i && !o ? j : "", i && "!h-0 !w-0 opacity-0 duration-0", a && "fixed duration-0"),
122
+ "data-testid": q,
123
123
  children: /* @__PURE__ */ l(pe.Provider, {
124
124
  value: s,
125
125
  children: [/* @__PURE__ */ l("div", {
@@ -144,7 +144,7 @@ var He = ({ onCloseText: v = "", onMinimizeText: C = "", onExpandText: I = "", o
144
144
  variant: "textGray",
145
145
  size: "small",
146
146
  onClick: A,
147
- endIcon: /* @__PURE__ */ e(fe, {
147
+ endIcon: /* @__PURE__ */ e(he, {
148
148
  height: 20,
149
149
  width: 20,
150
150
  color: "text-delta-700"
@@ -153,14 +153,14 @@ var He = ({ onCloseText: v = "", onMinimizeText: C = "", onExpandText: I = "", o
153
153
  }) })
154
154
  }),
155
155
  le && Z && /* @__PURE__ */ e(u, {
156
- title: W,
156
+ title: P,
157
157
  children: /* @__PURE__ */ e("div", { children: /* @__PURE__ */ e(r, {
158
158
  dataTest: "fullscreen-button",
159
- "aria-label": M ? void 0 : W,
159
+ "aria-label": M ? void 0 : P,
160
160
  variant: "textGray",
161
161
  size: "small",
162
162
  onClick: () => {
163
- O !== void 0 && V ? V() : ne(!q);
163
+ O !== void 0 && D ? D() : ne(!V);
164
164
  },
165
165
  endIcon: o ? /* @__PURE__ */ e(be, {
166
166
  width: 20,
@@ -204,42 +204,42 @@ var He = ({ onCloseText: v = "", onMinimizeText: C = "", onExpandText: I = "", o
204
204
  children: [/* @__PURE__ */ e("div", {
205
205
  className: "flex-grow overflow-y-auto overscroll-contain",
206
206
  children: typeof x == "function" ? x({ fullScreen: o }) : x
207
- }), (Array.isArray(d) && d.length || typeof d == "function") && h || D ? /* @__PURE__ */ l("div", {
208
- className: f("flex items-center justify-between border-0 border-t-[1px] border-solid border-delta-200 bg-white p-4", ie),
207
+ }), (Array.isArray(d) && d.length || typeof d == "function") && f || G ? /* @__PURE__ */ l("div", {
208
+ className: h("flex items-center justify-between border-0 border-t-[1px] border-solid border-delta-200 bg-white p-4", ie),
209
209
  children: [
210
- Array.isArray(d) && d.length && h ? /* @__PURE__ */ l(p, { children: [/* @__PURE__ */ e(r, {
210
+ Array.isArray(d) && d.length && f ? /* @__PURE__ */ l(p, { children: [/* @__PURE__ */ e(r, {
211
211
  dataTest: "extra-actions-button",
212
212
  variant: "textGray",
213
- startIcon: /* @__PURE__ */ e(he, {
213
+ startIcon: /* @__PURE__ */ e(fe, {
214
214
  width: 24,
215
215
  height: 24
216
216
  }),
217
217
  onClick: oe,
218
- children: h
218
+ children: f
219
219
  }), /* @__PURE__ */ e(ye, {
220
220
  open: de,
221
221
  anchorEl: ae,
222
222
  onClose: se,
223
- children: d.map((c) => /* @__PURE__ */ e(ke, {
223
+ children: d.map((c) => /* @__PURE__ */ e(we, {
224
224
  className: c.className,
225
225
  onClick: c.onClick,
226
226
  children: c.label
227
227
  }, c.label))
228
- })] }) : h && typeof d == "function" && /* @__PURE__ */ e(r, {
228
+ })] }) : f && typeof d == "function" && /* @__PURE__ */ e(r, {
229
229
  dataTest: "extra-action-button",
230
230
  variant: "text",
231
231
  onClick: d,
232
- children: h
232
+ children: f
233
233
  }),
234
234
  " ",
235
- D,
235
+ G,
236
236
  U ? /* @__PURE__ */ e("div", {
237
- className: f("flex justify-end gap-x-2", G),
237
+ className: h("flex justify-end gap-x-2", E),
238
238
  children: $
239
239
  }) : null
240
240
  ]
241
241
  }) : /* @__PURE__ */ e(p, { children: U ? /* @__PURE__ */ e("div", {
242
- className: f("flex justify-end gap-x-2 border-t-[1px] border-delta-200 p-4", G),
242
+ className: h("flex justify-end gap-x-2 border-t-[1px] border-delta-200 p-4", E),
243
243
  children: $
244
244
  }) : null })]
245
245
  })]
@@ -248,5 +248,5 @@ var He = ({ onCloseText: v = "", onMinimizeText: C = "", onExpandText: I = "", o
248
248
  ] });
249
249
  };
250
250
  export {
251
- He as MinimizableDialog
251
+ Qe as MinimizableDialog
252
252
  };
@@ -1,57 +1,57 @@
1
1
  import { cn as a } from "../../../../helpers/cn.js";
2
- import { firstTabbable as O } from "../../../../helpers/focusable.js";
2
+ import { firstTabbable as q } from "../../../../helpers/focusable.js";
3
3
  import { StyledTooltip as te } from "../../../data-display/tooltip/StyledTooltip.js";
4
- import { DialogBusyContext as A, useDialogBusyBoundary as ie } from "../../dialog/DialogBusyContext.js";
4
+ import { DialogBusyContext as D, useDialogBusyBoundary as ie } from "../../dialog/DialogBusyContext.js";
5
5
  import { useMobileMediaQuery as le } from "../../../../hooks/useMediaQuery.hook.js";
6
- import { OverlayBackOwnerContext as ne, useBackCloses as oe } from "../../../../hooks/useBackCloses.hook.js";
7
- import { useFocusTrap as re } from "../../../../hooks/useFocusTrap.hook.js";
8
- import { fullScreenFieldWidthVars as se } from "../../../inputs/field-styles.js";
9
- import { CloseBtn as V } from "../components/CloseBtn.js";
10
- import { MinimizeBtn as $ } from "../components/MinimizeBtn.js";
11
- import { FullScreenBtn as ce } from "../components/FullscreenBtn.js";
6
+ import { OverlayBackOwnerContext as ne, isOverlayBackNavigationPending as oe, useBackCloses as re } from "../../../../hooks/useBackCloses.hook.js";
7
+ import { useFocusTrap as se } from "../../../../hooks/useFocusTrap.hook.js";
8
+ import { fullScreenFieldWidthVars as ce } from "../../../inputs/field-styles.js";
9
+ import { CloseBtn as A } from "../components/CloseBtn.js";
10
+ import { MinimizeBtn as V } from "../components/MinimizeBtn.js";
11
+ import { FullScreenBtn as ae } from "../components/FullscreenBtn.js";
12
12
  import h from "./MinimizableDialogV2.module.js";
13
- import { useTranslations as ae } from "./useTranslations.js";
14
- import { useControlledProps as de } from "./useControlledProps.js";
15
- import me from "clsx";
16
- import { useId as q, useLayoutEffect as W, useRef as d } from "react";
17
- import { Fragment as ue, jsx as e, jsxs as r } from "react/jsx-runtime";
18
- var Me = (C) => {
19
- const { showCloseIcon: R = !0, showMinimizeIcon: H = !0, showExpandIcon: L = !0, enableFullscreen: _ = !0, title: u, label: f, children: Q, open: i, onClose: U, classNameOverrides: b = {
13
+ import { useTranslations as de } from "./useTranslations.js";
14
+ import { useControlledProps as me } from "./useControlledProps.js";
15
+ import ue from "clsx";
16
+ import { useId as $, useLayoutEffect as W, useRef as d } from "react";
17
+ import { Fragment as fe, jsx as e, jsxs as r } from "react/jsx-runtime";
18
+ var Ee = (w) => {
19
+ const { showCloseIcon: N = !0, showMinimizeIcon: H = !0, showExpandIcon: L = !0, enableFullscreen: _ = !0, title: u, label: f, children: Q, open: i, onClose: U, classNameOverrides: b = {
20
20
  maximized: "",
21
21
  minimized: "",
22
22
  fullscreen: ""
23
- }, dataTest: G, actionNode: J, locale: K = "en", busyReason: X, style: N, initialFocusRef: S } = C, s = le(), l = ae(K), n = d(null), p = d(null), F = d(null), B = d(null), g = d(!1), y = d(null), x = q(), T = q(), { minimized: t, setMinimized: I, fullScreen: o, setFullScreen: M } = de(C), c = o && !t, { busy: z, busyReason: k, contextValue: E } = ie(X ?? l.waitUntilSaved), v = () => {
23
+ }, dataTest: G, actionNode: J, locale: K = "en", busyReason: X, style: R, initialFocusRef: B } = w, s = le(), l = de(K), n = d(null), p = d(null), S = d(null), F = d(null), g = d(!1), y = d(null), x = $(), k = $(), { minimized: t, setMinimized: T, fullScreen: o, setFullScreen: I } = me(w), c = o && !t, { busy: z, busyReason: M, contextValue: E } = ie(X ?? l.waitUntilSaved), v = () => {
24
24
  if (z) return !1;
25
- I(!1), U();
25
+ T(!1), U();
26
26
  };
27
27
  W(() => {
28
28
  n.current?.toggleAttribute("inert", t), p.current?.toggleAttribute("inert", !t);
29
29
  }, [t]), W(() => {
30
- const w = i && !g.current, m = !i && g.current;
30
+ const C = i && !g.current, m = !i && g.current;
31
31
  if (g.current = i, m) {
32
- const D = y.current;
33
- y.current = null, (!document.activeElement || document.activeElement === document.body) && D?.isConnected && D.focus({ preventScroll: !0 });
32
+ const O = y.current;
33
+ y.current = null, (!document.activeElement || document.activeElement === document.body) && O?.isConnected && O.focus({ preventScroll: !0 });
34
34
  return;
35
35
  }
36
- if (!w) return;
36
+ if (!C) return;
37
37
  y.current = document.activeElement instanceof HTMLElement ? document.activeElement : null;
38
- const P = t ? p.current : n.current, ee = t ? B.current : F.current;
39
- (S?.current ?? ee ?? (P ? O(P) : void 0))?.focus({ preventScroll: !0 });
38
+ const j = t ? p.current : n.current, ee = t ? F.current : S.current;
39
+ (B?.current ?? ee ?? (j ? q(j) : void 0))?.focus({ preventScroll: !0 });
40
40
  }, [
41
- S,
41
+ B,
42
42
  t,
43
43
  i
44
44
  ]);
45
- const j = () => {
46
- const w = t ? n : p;
47
- I(!t), requestAnimationFrame(() => {
48
- const m = w.current;
49
- m && (m.querySelector('[data-testid="toggle-minimize-btn"]') ?? O(m))?.focus({ preventScroll: !0 });
45
+ const P = () => {
46
+ const C = t ? n : p;
47
+ T(!t), requestAnimationFrame(() => {
48
+ const m = C.current;
49
+ m && (m.querySelector('[data-testid="toggle-minimize-btn"]') ?? q(m))?.focus({ preventScroll: !0 });
50
50
  });
51
51
  };
52
- re(i && c, n, v), oe({
53
- active: i && c,
54
- requestClose: v,
52
+ se(i && c, n, v), re({
53
+ active: i && !t,
54
+ requestClose: () => !c && oe() ? !1 : v(),
55
55
  ownerRef: n
56
56
  });
57
57
  const Y = c ? s ? {
@@ -70,20 +70,20 @@ var Me = (C) => {
70
70
  width: "min(1000px, calc(100vw - 32px))",
71
71
  maxWidth: "min(1000px, calc(100vw - 32px))",
72
72
  height: "95dvh",
73
- ...se
73
+ ...ce
74
74
  } : void 0;
75
75
  if (!i) return null;
76
- const Z = f ? `${T} ${x}` : x;
77
- return /* @__PURE__ */ r(ue, { children: [
76
+ const Z = f ? `${k} ${x}` : x;
77
+ return /* @__PURE__ */ r(fe, { children: [
78
78
  /* @__PURE__ */ e("div", {
79
79
  ref: p,
80
80
  style: {
81
81
  zIndex: 51,
82
- ...N
82
+ ...R
83
83
  },
84
84
  className: a(h["minimized-dialog"], !t && h.hidden, b.minimized),
85
85
  children: /* @__PURE__ */ r("div", {
86
- className: me("flex items-center justify-between", !t && "hidden"),
86
+ className: ue("flex items-center justify-between", !t && "hidden"),
87
87
  "data-testid": G,
88
88
  children: [/* @__PURE__ */ e("div", {
89
89
  className: "max-w-[303px] truncate pr-1 text-lg font-semibold text-delta-800",
@@ -97,16 +97,16 @@ var Me = (C) => {
97
97
  })
98
98
  }), /* @__PURE__ */ r("div", {
99
99
  className: "flex items-center gap-x-1",
100
- children: [/* @__PURE__ */ e($, {
100
+ children: [/* @__PURE__ */ e(V, {
101
101
  type: "expand",
102
102
  visibility: L,
103
- onClick: j,
103
+ onClick: P,
104
104
  tooltipTitle: l.expand
105
- }), /* @__PURE__ */ e(V, {
106
- buttonRef: B,
107
- showCloseIcon: R,
105
+ }), /* @__PURE__ */ e(A, {
106
+ buttonRef: F,
107
+ showCloseIcon: N,
108
108
  onClick: v,
109
- disabledReason: z ? k : void 0,
109
+ disabledReason: z ? M : void 0,
110
110
  tooltipTitle: l.close
111
111
  })]
112
112
  })]
@@ -115,13 +115,13 @@ var Me = (C) => {
115
115
  c && /* @__PURE__ */ e("div", {
116
116
  className: "fixed inset-0 z-[52] bg-[rgb(98,110,126)] bg-opacity-70",
117
117
  onClick: () => {
118
- M(!1);
118
+ I(!1);
119
119
  }
120
120
  }),
121
121
  /* @__PURE__ */ e("div", {
122
122
  style: {
123
123
  zIndex: 51,
124
- ...N,
124
+ ...R,
125
125
  ...Y
126
126
  },
127
127
  ref: n,
@@ -136,7 +136,7 @@ var Me = (C) => {
136
136
  children: [/* @__PURE__ */ r("div", {
137
137
  className: "flex items-center justify-between",
138
138
  children: [f ? /* @__PURE__ */ e("div", {
139
- id: T,
139
+ id: k,
140
140
  className: "text-sm text-delta-700",
141
141
  children: f
142
142
  }) : /* @__PURE__ */ e("div", {
@@ -146,29 +146,29 @@ var Me = (C) => {
146
146
  }), /* @__PURE__ */ r("div", {
147
147
  className: "flex items-center gap-x-1",
148
148
  children: [
149
- /* @__PURE__ */ e(A.Provider, {
149
+ /* @__PURE__ */ e(D.Provider, {
150
150
  value: E,
151
151
  children: J
152
152
  }),
153
- /* @__PURE__ */ e($, {
153
+ /* @__PURE__ */ e(V, {
154
154
  visibility: H && !s && !o,
155
155
  type: "minimize",
156
- onClick: j,
156
+ onClick: P,
157
157
  tooltipTitle: l.minimize
158
158
  }),
159
- /* @__PURE__ */ e(ce, {
159
+ /* @__PURE__ */ e(ae, {
160
160
  showFullScreenIcon: _ && !s,
161
161
  fullScreen: o,
162
162
  onClick: () => {
163
- M(!o);
163
+ I(!o);
164
164
  },
165
165
  tooltipTitle: o ? l.exitFullscreen : l.fullscreen
166
166
  }),
167
- /* @__PURE__ */ e(V, {
168
- buttonRef: F,
169
- showCloseIcon: R,
167
+ /* @__PURE__ */ e(A, {
168
+ buttonRef: S,
169
+ showCloseIcon: N,
170
170
  onClick: v,
171
- disabledReason: z ? k : void 0,
171
+ disabledReason: z ? M : void 0,
172
172
  tooltipTitle: l.close
173
173
  })
174
174
  ]
@@ -180,7 +180,7 @@ var Me = (C) => {
180
180
  })]
181
181
  }), /* @__PURE__ */ e("div", {
182
182
  className: a(t && "hidden", "flex flex-grow flex-col overflow-y-auto overscroll-contain"),
183
- children: /* @__PURE__ */ e(A.Provider, {
183
+ children: /* @__PURE__ */ e(D.Provider, {
184
184
  value: E,
185
185
  children: Q
186
186
  })
@@ -190,5 +190,5 @@ var Me = (C) => {
190
190
  ] });
191
191
  };
192
192
  export {
193
- Me as MinimizableDialogV2
193
+ Ee as MinimizableDialogV2
194
194
  };