ics-ui-kit 0.1.0-alpha.61 → 0.1.0-alpha.62
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/TextOverflowTooltip-D4Z_U-a_.js +36 -0
- package/dist/TextOverflowTooltip-D4Z_U-a_.js.map +1 -0
- package/dist/components/alert-dialog.js +144 -143
- package/dist/components/alert-dialog.js.map +1 -1
- package/dist/components/file-upload.js +99 -98
- package/dist/components/file-upload.js.map +1 -1
- package/dist/components/overflow-tooltip.js +4 -33
- package/dist/components/overflow-tooltip.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { jsx as t, jsxs as p } from "react/jsx-runtime";
|
|
2
|
+
import { c as n } from "./cn-dsXlqdJg.js";
|
|
3
|
+
import { a as u, T, b as g, c as m } from "./Tooltip-BH_Jc6ub.js";
|
|
4
|
+
import { useState as O, useRef as h, useCallback as d } from "react";
|
|
5
|
+
const w = (o) => o.scrollWidth > o.offsetWidth || o.scrollHeight > o.offsetHeight, x = () => {
|
|
6
|
+
const [o, r] = O(!1), e = h(null), s = d((l) => {
|
|
7
|
+
if (l === !1) {
|
|
8
|
+
r(!1);
|
|
9
|
+
return;
|
|
10
|
+
}
|
|
11
|
+
e.current && w(e.current) && r(!0);
|
|
12
|
+
}, []);
|
|
13
|
+
return { open: o, onOpenChange: s, ref: e };
|
|
14
|
+
}, a = ({ children: o, className: r, focus: e, triggerTag: s, tooltipClassName: l }) => {
|
|
15
|
+
const { open: i, onOpenChange: c, ref: f } = x();
|
|
16
|
+
return /* @__PURE__ */ t(u, { children: /* @__PURE__ */ p(T, { open: i, onOpenChange: c, children: [
|
|
17
|
+
/* @__PURE__ */ t(g, { asChild: !0, children: /* @__PURE__ */ t(s || "span", { ref: f, className: n(r), children: o }) }),
|
|
18
|
+
/* @__PURE__ */ t(m, { focus: e, className: n("max-w-xs", l), children: o })
|
|
19
|
+
] }) });
|
|
20
|
+
};
|
|
21
|
+
a.displayName = "OverflowTooltip";
|
|
22
|
+
const v = ({ children: o, className: r, tooltipClassName: e }) => /* @__PURE__ */ t(
|
|
23
|
+
a,
|
|
24
|
+
{
|
|
25
|
+
className: n("inline-block max-w-full truncate", r),
|
|
26
|
+
tooltipClassName: e,
|
|
27
|
+
children: o
|
|
28
|
+
}
|
|
29
|
+
);
|
|
30
|
+
v.displayName = "TextOverflowTooltip";
|
|
31
|
+
export {
|
|
32
|
+
a as O,
|
|
33
|
+
v as T,
|
|
34
|
+
x as u
|
|
35
|
+
};
|
|
36
|
+
//# sourceMappingURL=TextOverflowTooltip-D4Z_U-a_.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TextOverflowTooltip-D4Z_U-a_.js","sources":["../src/lib/utils/dom.ts","../src/components/overflow-tooltip/useOverflowTooltip.ts","../src/components/overflow-tooltip/OverflowTooltip.tsx","../src/components/overflow-tooltip/TextOverflowTooltip.tsx"],"sourcesContent":["/**\n * Проверяет, переполнен ли элемент (дочерние элементы выходят за пределы родительского элемента)\n * @param element - HTML элемент для проверки\n * @returns true, если элемент переполнен по ширине или высоте\n */\nexport const isElementOverflowing = (element: HTMLElement): boolean => {\n\treturn element.scrollWidth > element.offsetWidth || element.scrollHeight > element.offsetHeight;\n};\n","import { useCallback, useRef, useState } from \"react\";\nimport { isElementOverflowing } from \"../../lib/utils/dom\";\n\nexport const useOverflowTooltip = <T extends HTMLElement>() => {\n\tconst [open, setOpen] = useState(false);\n\tconst ref = useRef<T>(null);\n\n\tconst onOpenChange = useCallback((newOpen: boolean) => {\n\t\tif (newOpen === false) {\n\t\t\tsetOpen(false);\n\t\t\treturn;\n\t\t}\n\t\tif (!ref.current) return;\n\t\tif (isElementOverflowing(ref.current)) {\n\t\t\tsetOpen(true);\n\t\t}\n\t}, []);\n\n\treturn { open, onOpenChange, ref };\n};\n","import { cn } from \"@/lib/utils\";\nimport { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from \"../tooltip\";\nimport { useOverflowTooltip } from \"./useOverflowTooltip\";\nimport React from \"react\";\n\ntype OverflowTooltipProps = {\n\tchildren: React.ReactNode;\n\t/**\n\t * HTML-элемент для обертки содержимого.\n\t * Используется для соблюдения правильной HTML-семантики.\n\t * Например:\n\t * - span (по умолчанию) для текста и инлайн-элементов\n\t * - div для блочного содержимого и сложных структур\n\t * @default span\n\t */\n\ttriggerTag?: React.ElementType;\n\t/**\n\t * Классы для обработки переполненного содержимого.\n\t * Например: \"truncate\", \"line-clamp-3\" и т.д.\n\t */\n\tclassName?: string;\n\t/**\n\t * Классы для содержимого тултипа.\n\t * С помощью них можно управлять стилями тултипа, например шириной, переносом текста и т.д.\n\t */\n\ttooltipClassName?: string;\n\tfocus?: \"high\";\n};\n\nexport const OverflowTooltip = ({ children, className, focus, triggerTag, tooltipClassName }: OverflowTooltipProps) => {\n\tconst { open, onOpenChange, ref } = useOverflowTooltip<HTMLDivElement>();\n\tconst TriggerTag = triggerTag || \"span\";\n\treturn (\n\t\t<TooltipProvider>\n\t\t\t<Tooltip open={open} onOpenChange={onOpenChange}>\n\t\t\t\t<TooltipTrigger asChild>\n\t\t\t\t\t<TriggerTag ref={ref} className={cn(className)}>\n\t\t\t\t\t\t{children}\n\t\t\t\t\t</TriggerTag>\n\t\t\t\t</TooltipTrigger>\n\t\t\t\t<TooltipContent focus={focus} className={cn(\"max-w-xs\", tooltipClassName)}>\n\t\t\t\t\t{children}\n\t\t\t\t</TooltipContent>\n\t\t\t</Tooltip>\n\t\t</TooltipProvider>\n\t);\n};\n\nOverflowTooltip.displayName = \"OverflowTooltip\";\n","import { cn } from \"@/lib/utils\";\nimport React from \"react\";\nimport { OverflowTooltip } from \"./OverflowTooltip\";\n\ntype TextOverflowTooltipProps = {\n\tchildren?: React.ReactNode;\n\tclassName?: string;\n\ttooltipClassName?: string;\n};\n\nexport const TextOverflowTooltip = ({ children, className, tooltipClassName }: TextOverflowTooltipProps) => {\n\treturn (\n\t\t<OverflowTooltip\n\t\t\tclassName={cn(\"inline-block max-w-full truncate\", className)}\n\t\t\ttooltipClassName={tooltipClassName}\n\t\t>\n\t\t\t{children}\n\t\t</OverflowTooltip>\n\t);\n};\n\nTextOverflowTooltip.displayName = \"TextOverflowTooltip\";\n"],"names":["isElementOverflowing","element","useOverflowTooltip","open","setOpen","useState","ref","useRef","onOpenChange","useCallback","newOpen","OverflowTooltip","children","className","focus","triggerTag","tooltipClassName","jsx","TooltipProvider","jsxs","Tooltip","TooltipTrigger","cn","TooltipContent","TextOverflowTooltip"],"mappings":";;;;AAKa,MAAAA,IAAuB,CAACC,MAC7BA,EAAQ,cAAcA,EAAQ,eAAeA,EAAQ,eAAeA,EAAQ,cCHvEC,IAAqB,MAA6B;AAC9D,QAAM,CAACC,GAAMC,CAAO,IAAIC,EAAS,EAAK,GAChCC,IAAMC,EAAU,IAAI,GAEpBC,IAAeC,EAAY,CAACC,MAAqB;AACtD,QAAIA,MAAY,IAAO;AACtB,MAAAN,EAAQ,EAAK;AACb;AAAA,IAAA;AAEG,IAACE,EAAI,WACLN,EAAqBM,EAAI,OAAO,KACnCF,EAAQ,EAAI;AAAA,EAEd,GAAG,EAAE;AAEE,SAAA,EAAE,MAAAD,GAAM,cAAAK,GAAc,KAAAF,EAAI;AAClC,GCUaK,IAAkB,CAAC,EAAE,UAAAC,GAAU,WAAAC,GAAW,OAAAC,GAAO,YAAAC,GAAY,kBAAAC,QAA6C;AACtH,QAAM,EAAE,MAAAb,GAAM,cAAAK,GAAc,KAAAF,EAAA,IAAQJ,EAAmC;AAEvE,SACE,gBAAAe,EAAAC,GAAA,EACA,UAAC,gBAAAC,EAAAC,GAAA,EAAQ,MAAAjB,GAAY,cAAAK,GACpB,UAAA;AAAA,IAAC,gBAAAS,EAAAI,GAAA,EAAe,SAAO,IACtB,UAAC,gBAAAJ,EALcF,KAAc,QAK5B,EAAW,KAAAT,GAAU,WAAWgB,EAAGT,CAAS,GAC3C,UAAAD,EACF,CAAA,GACD;AAAA,IACA,gBAAAK,EAACM,KAAe,OAAAT,GAAc,WAAWQ,EAAG,YAAYN,CAAgB,GACtE,UAAAJ,EACF,CAAA;AAAA,EAAA,EAAA,CACD,EACD,CAAA;AAEF;AAEAD,EAAgB,cAAc;ACtCvB,MAAMa,IAAsB,CAAC,EAAE,UAAAZ,GAAU,WAAAC,GAAW,kBAAAG,QAEzD,gBAAAC;AAAA,EAACN;AAAA,EAAA;AAAA,IACA,WAAWW,EAAG,oCAAoCT,CAAS;AAAA,IAC3D,kBAAAG;AAAA,IAEC,UAAAJ;AAAA,EAAA;AACF;AAIFY,EAAoB,cAAc;"}
|
|
@@ -1,65 +1,66 @@
|
|
|
1
1
|
import { jsx as s, jsxs as v } from "react/jsx-runtime";
|
|
2
2
|
import * as l from "react";
|
|
3
|
-
import { c as
|
|
4
|
-
import { u as y, a as
|
|
5
|
-
import { c as b, R as
|
|
6
|
-
import { c as
|
|
3
|
+
import { c as G } from "../index-DFZozV_h.js";
|
|
4
|
+
import { u as y, a as W } from "../index-5Bhkapwi.js";
|
|
5
|
+
import { c as b, R as Y, P as q, T as k, O as J, W as K, a as Q, b as U, D as X, C as x } from "../index-BNirMMl4.js";
|
|
6
|
+
import { c as Z } from "../index-C0UREtMP.js";
|
|
7
7
|
import { T as d } from "../index-BVqs-uqP.js";
|
|
8
|
-
import { u as
|
|
9
|
-
import { o as
|
|
8
|
+
import { u as ee } from "../usePortalContainer-ae6EzS08.js";
|
|
9
|
+
import { o as te } from "../Overlay-tQGhsBQR.js";
|
|
10
10
|
import { B as N } from "../Button-CaWwiHt5.js";
|
|
11
|
-
import { A as
|
|
12
|
-
import { I as
|
|
13
|
-
|
|
11
|
+
import { A as ae, u as f } from "../AlertContext-CxjW1LVL.js";
|
|
12
|
+
import { I as oe } from "../Icon-DH3ev9GK.js";
|
|
13
|
+
import { e as w } from "../useBreakpoints-D8wKOvil.js";
|
|
14
|
+
var h = "AlertDialog", [re, ke] = G(h, [
|
|
14
15
|
b
|
|
15
|
-
]), c = b(),
|
|
16
|
-
const { __scopeAlertDialog: t, ...a } = e,
|
|
17
|
-
return /* @__PURE__ */ s(
|
|
16
|
+
]), c = b(), R = (e) => {
|
|
17
|
+
const { __scopeAlertDialog: t, ...a } = e, o = c(t);
|
|
18
|
+
return /* @__PURE__ */ s(Y, { ...o, ...a, modal: !0 });
|
|
18
19
|
};
|
|
19
|
-
|
|
20
|
-
var
|
|
20
|
+
R.displayName = h;
|
|
21
|
+
var se = "AlertDialogTrigger", C = l.forwardRef(
|
|
21
22
|
(e, t) => {
|
|
22
|
-
const { __scopeAlertDialog: a, ...
|
|
23
|
-
return /* @__PURE__ */ s(
|
|
23
|
+
const { __scopeAlertDialog: a, ...o } = e, r = c(a);
|
|
24
|
+
return /* @__PURE__ */ s(k, { ...r, ...o, ref: t });
|
|
24
25
|
}
|
|
25
26
|
);
|
|
26
|
-
R.displayName = oe;
|
|
27
|
-
var se = "AlertDialogPortal", C = (e) => {
|
|
28
|
-
const { __scopeAlertDialog: t, ...a } = e, r = c(t);
|
|
29
|
-
return /* @__PURE__ */ s(Y, { ...r, ...a });
|
|
30
|
-
};
|
|
31
27
|
C.displayName = se;
|
|
32
|
-
var le = "
|
|
28
|
+
var le = "AlertDialogPortal", _ = (e) => {
|
|
29
|
+
const { __scopeAlertDialog: t, ...a } = e, o = c(t);
|
|
30
|
+
return /* @__PURE__ */ s(q, { ...o, ...a });
|
|
31
|
+
};
|
|
32
|
+
_.displayName = le;
|
|
33
|
+
var ie = "AlertDialogOverlay", S = l.forwardRef(
|
|
33
34
|
(e, t) => {
|
|
34
|
-
const { __scopeAlertDialog: a, ...
|
|
35
|
-
return /* @__PURE__ */ s(
|
|
35
|
+
const { __scopeAlertDialog: a, ...o } = e, r = c(a);
|
|
36
|
+
return /* @__PURE__ */ s(J, { ...r, ...o, ref: t });
|
|
36
37
|
}
|
|
37
38
|
);
|
|
38
|
-
|
|
39
|
-
var
|
|
39
|
+
S.displayName = ie;
|
|
40
|
+
var p = "AlertDialogContent", [ne, ce] = re(p), de = W("AlertDialogContent"), P = l.forwardRef(
|
|
40
41
|
(e, t) => {
|
|
41
|
-
const { __scopeAlertDialog: a, children:
|
|
42
|
+
const { __scopeAlertDialog: a, children: o, ...r } = e, i = c(a), n = l.useRef(null), g = y(t, n), m = l.useRef(null);
|
|
42
43
|
return /* @__PURE__ */ s(
|
|
43
|
-
|
|
44
|
+
K,
|
|
44
45
|
{
|
|
45
|
-
contentName:
|
|
46
|
-
titleName:
|
|
46
|
+
contentName: p,
|
|
47
|
+
titleName: T,
|
|
47
48
|
docsSlug: "alert-dialog",
|
|
48
|
-
children: /* @__PURE__ */ s(
|
|
49
|
-
|
|
49
|
+
children: /* @__PURE__ */ s(ne, { scope: a, cancelRef: m, children: /* @__PURE__ */ v(
|
|
50
|
+
Q,
|
|
50
51
|
{
|
|
51
52
|
role: "alertdialog",
|
|
52
53
|
...i,
|
|
53
|
-
...
|
|
54
|
-
ref:
|
|
55
|
-
onOpenAutoFocus:
|
|
56
|
-
|
|
54
|
+
...r,
|
|
55
|
+
ref: g,
|
|
56
|
+
onOpenAutoFocus: Z(r.onOpenAutoFocus, (u) => {
|
|
57
|
+
u.preventDefault(), m.current?.focus({ preventScroll: !0 });
|
|
57
58
|
}),
|
|
58
|
-
onPointerDownOutside: (
|
|
59
|
-
onInteractOutside: (
|
|
59
|
+
onPointerDownOutside: (u) => u.preventDefault(),
|
|
60
|
+
onInteractOutside: (u) => u.preventDefault(),
|
|
60
61
|
children: [
|
|
61
|
-
/* @__PURE__ */ s(
|
|
62
|
-
/* @__PURE__ */ s(
|
|
62
|
+
/* @__PURE__ */ s(de, { children: o }),
|
|
63
|
+
/* @__PURE__ */ s(ue, { contentRef: n })
|
|
63
64
|
]
|
|
64
65
|
}
|
|
65
66
|
) })
|
|
@@ -67,39 +68,39 @@ var u = "AlertDialogContent", [ie, ne] = re(u), ce = G("AlertDialogContent"), S
|
|
|
67
68
|
);
|
|
68
69
|
}
|
|
69
70
|
);
|
|
70
|
-
|
|
71
|
-
var
|
|
71
|
+
P.displayName = p;
|
|
72
|
+
var T = "AlertDialogTitle", E = l.forwardRef(
|
|
72
73
|
(e, t) => {
|
|
73
|
-
const { __scopeAlertDialog: a, ...
|
|
74
|
-
return /* @__PURE__ */ s(
|
|
74
|
+
const { __scopeAlertDialog: a, ...o } = e, r = c(a);
|
|
75
|
+
return /* @__PURE__ */ s(U, { ...r, ...o, ref: t });
|
|
75
76
|
}
|
|
76
77
|
);
|
|
77
|
-
|
|
78
|
-
var
|
|
79
|
-
const { __scopeAlertDialog: a, ...
|
|
80
|
-
return /* @__PURE__ */ s(
|
|
78
|
+
E.displayName = T;
|
|
79
|
+
var O = "AlertDialogDescription", M = l.forwardRef((e, t) => {
|
|
80
|
+
const { __scopeAlertDialog: a, ...o } = e, r = c(a);
|
|
81
|
+
return /* @__PURE__ */ s(X, { ...r, ...o, ref: t });
|
|
81
82
|
});
|
|
82
|
-
|
|
83
|
-
var
|
|
83
|
+
M.displayName = O;
|
|
84
|
+
var ge = "AlertDialogAction", I = l.forwardRef(
|
|
84
85
|
(e, t) => {
|
|
85
|
-
const { __scopeAlertDialog: a, ...
|
|
86
|
-
return /* @__PURE__ */ s(x, { ...
|
|
86
|
+
const { __scopeAlertDialog: a, ...o } = e, r = c(a);
|
|
87
|
+
return /* @__PURE__ */ s(x, { ...r, ...o, ref: t });
|
|
87
88
|
}
|
|
88
89
|
);
|
|
89
|
-
I.displayName =
|
|
90
|
-
var $ = "AlertDialogCancel",
|
|
90
|
+
I.displayName = ge;
|
|
91
|
+
var $ = "AlertDialogCancel", z = l.forwardRef(
|
|
91
92
|
(e, t) => {
|
|
92
|
-
const { __scopeAlertDialog: a, ...
|
|
93
|
-
return /* @__PURE__ */ s(x, { ...i, ...
|
|
93
|
+
const { __scopeAlertDialog: a, ...o } = e, { cancelRef: r } = ce($, a), i = c(a), n = y(t, r);
|
|
94
|
+
return /* @__PURE__ */ s(x, { ...i, ...o, ref: n });
|
|
94
95
|
}
|
|
95
96
|
);
|
|
96
|
-
|
|
97
|
-
var
|
|
98
|
-
const t = `\`${
|
|
97
|
+
z.displayName = $;
|
|
98
|
+
var ue = ({ contentRef: e }) => {
|
|
99
|
+
const t = `\`${p}\` requires a description for the component to be accessible for screen reader users.
|
|
99
100
|
|
|
100
|
-
You can add a description to the \`${
|
|
101
|
+
You can add a description to the \`${p}\` by passing a \`${O}\` component as a child, which also benefits sighted users by adding visible context to the dialog.
|
|
101
102
|
|
|
102
|
-
Alternatively, you can use your own component as a description by assigning it an \`id\` and passing the same value to the \`aria-describedby\` prop in \`${
|
|
103
|
+
Alternatively, you can use your own component as a description by assigning it an \`id\` and passing the same value to the \`aria-describedby\` prop in \`${p}\`. If the description is confusing or duplicative for sighted users, you can use the \`@radix-ui/react-visually-hidden\` primitive as a wrapper around your description component.
|
|
103
104
|
|
|
104
105
|
For more information, see https://radix-ui.com/primitives/docs/components/alert-dialog`;
|
|
105
106
|
return l.useEffect(() => {
|
|
@@ -107,19 +108,19 @@ For more information, see https://radix-ui.com/primitives/docs/components/alert-
|
|
|
107
108
|
e.current?.getAttribute("aria-describedby")
|
|
108
109
|
) || console.warn(t);
|
|
109
110
|
}, [t, e]), null;
|
|
110
|
-
},
|
|
111
|
-
const
|
|
112
|
-
extend:
|
|
113
|
-
}),
|
|
114
|
-
|
|
111
|
+
}, pe = R, fe = C, me = _, F = S, V = P, A = I, D = z, H = E, L = M;
|
|
112
|
+
const Je = pe, Ke = fe, Ae = me, De = d({
|
|
113
|
+
extend: te
|
|
114
|
+
}), j = l.forwardRef(({ className: e, blur: t, type: a, ...o }, r) => /* @__PURE__ */ s(
|
|
115
|
+
F,
|
|
115
116
|
{
|
|
116
|
-
className:
|
|
117
|
-
...
|
|
118
|
-
ref:
|
|
117
|
+
className: De({ className: e, blur: t, type: a }),
|
|
118
|
+
...o,
|
|
119
|
+
ref: r
|
|
119
120
|
}
|
|
120
121
|
));
|
|
121
|
-
|
|
122
|
-
const
|
|
122
|
+
j.displayName = F.displayName;
|
|
123
|
+
const ve = d({
|
|
123
124
|
base: [
|
|
124
125
|
"fixed left-[50%] top-[50%] z-50 grid w-full max-w-[min(360px,calc(100vw-32px))] translate-x-[-50%] translate-y-[-50%] gap-6 rounded-lg border border-secondary-border bg-status-neutral-bg p-4 shadow-soft-lg duration-200 lg:max-w-[min(512px,calc(100vw-64px))] lg:p-6",
|
|
125
126
|
"data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%]",
|
|
@@ -141,37 +142,37 @@ const De = d({
|
|
|
141
142
|
defaultVariants: {
|
|
142
143
|
focus: "low"
|
|
143
144
|
}
|
|
144
|
-
}),
|
|
145
|
-
const
|
|
145
|
+
}), ye = l.forwardRef(({ className: e, overlayBlur: t, overlayType: a, status: o, focus: r = "low", children: i, portalContainer: n, ...g }, m) => {
|
|
146
|
+
const u = l.useMemo(
|
|
146
147
|
() => ({
|
|
147
|
-
status:
|
|
148
|
-
focus:
|
|
148
|
+
status: o,
|
|
149
|
+
focus: r
|
|
149
150
|
}),
|
|
150
|
-
[
|
|
151
|
-
),
|
|
152
|
-
return /* @__PURE__ */ s(
|
|
153
|
-
/* @__PURE__ */ s(
|
|
151
|
+
[o, r]
|
|
152
|
+
), B = ee(n);
|
|
153
|
+
return /* @__PURE__ */ s(ae.Provider, { value: u, children: /* @__PURE__ */ v(Ae, { container: B, children: [
|
|
154
|
+
/* @__PURE__ */ s(j, { blur: t, type: a }),
|
|
154
155
|
/* @__PURE__ */ s(
|
|
155
|
-
|
|
156
|
+
V,
|
|
156
157
|
{
|
|
157
|
-
ref:
|
|
158
|
-
className:
|
|
159
|
-
...
|
|
158
|
+
ref: m,
|
|
159
|
+
className: ve({ className: e, status: o, focus: r }),
|
|
160
|
+
...g,
|
|
160
161
|
children: i
|
|
161
162
|
}
|
|
162
163
|
)
|
|
163
164
|
] }) });
|
|
164
165
|
});
|
|
165
|
-
|
|
166
|
-
const
|
|
166
|
+
ye.displayName = V.displayName;
|
|
167
|
+
const be = d({
|
|
167
168
|
base: "flex flex-col items-center gap-y-2.5 lg:grid lg:grid-cols-[0_1fr] lg:items-start lg:gap-y-4 lg:has-[>svg]:grid-cols-[1.5rem_1fr] lg:has-[>svg]:gap-x-4"
|
|
168
|
-
}),
|
|
169
|
-
|
|
170
|
-
const
|
|
169
|
+
}), xe = ({ className: e, ...t }) => /* @__PURE__ */ s("div", { className: be({ className: e }), ...t });
|
|
170
|
+
xe.displayName = "AlertDialogHeader";
|
|
171
|
+
const Ne = d({
|
|
171
172
|
base: "flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-3"
|
|
172
|
-
}),
|
|
173
|
-
|
|
174
|
-
const
|
|
173
|
+
}), we = ({ className: e, ...t }) => /* @__PURE__ */ s("div", { className: Ne({ className: e }), ...t });
|
|
174
|
+
we.displayName = "AlertDialogFooter";
|
|
175
|
+
const he = d({
|
|
175
176
|
base: "mb-1.5 text-lg font-semibold text-primary-fg lg:col-start-2 lg:mb-0",
|
|
176
177
|
variants: {
|
|
177
178
|
status: {
|
|
@@ -189,21 +190,21 @@ const we = d({
|
|
|
189
190
|
defaultVariants: {
|
|
190
191
|
focus: "low"
|
|
191
192
|
}
|
|
192
|
-
}),
|
|
193
|
-
({ className: e, status: t, focus: a, ...
|
|
194
|
-
const { status: i, focus: n } =
|
|
193
|
+
}), Re = l.forwardRef(
|
|
194
|
+
({ className: e, status: t, focus: a, ...o }, r) => {
|
|
195
|
+
const { status: i, focus: n } = f({ status: t, focus: a });
|
|
195
196
|
return /* @__PURE__ */ s(
|
|
196
|
-
|
|
197
|
+
H,
|
|
197
198
|
{
|
|
198
|
-
ref:
|
|
199
|
-
className:
|
|
200
|
-
...
|
|
199
|
+
ref: r,
|
|
200
|
+
className: he({ className: e, status: i, focus: n }),
|
|
201
|
+
...o
|
|
201
202
|
}
|
|
202
203
|
);
|
|
203
204
|
}
|
|
204
205
|
);
|
|
205
|
-
|
|
206
|
-
const
|
|
206
|
+
Re.displayName = H.displayName;
|
|
207
|
+
const Ce = d({
|
|
207
208
|
base: "text-primary-fg",
|
|
208
209
|
variants: {
|
|
209
210
|
status: {
|
|
@@ -213,23 +214,23 @@ const Re = d({
|
|
|
213
214
|
info: "text-status-info"
|
|
214
215
|
}
|
|
215
216
|
}
|
|
216
|
-
}),
|
|
217
|
-
({ className: e, size: t, icon: a, status:
|
|
218
|
-
const { status: n } =
|
|
217
|
+
}), _e = l.forwardRef(
|
|
218
|
+
({ className: e, size: t, icon: a, status: o, ...r }, i) => {
|
|
219
|
+
const { status: n } = f({ status: o });
|
|
219
220
|
return /* @__PURE__ */ s(
|
|
220
|
-
|
|
221
|
+
oe,
|
|
221
222
|
{
|
|
222
223
|
ref: i,
|
|
223
224
|
icon: a,
|
|
224
225
|
size: t ?? "xl",
|
|
225
|
-
className:
|
|
226
|
-
...
|
|
226
|
+
className: Ce({ className: e, status: n }),
|
|
227
|
+
...r
|
|
227
228
|
}
|
|
228
229
|
);
|
|
229
230
|
}
|
|
230
231
|
);
|
|
231
|
-
|
|
232
|
-
const
|
|
232
|
+
_e.displayName = "AlertDialogIcon";
|
|
233
|
+
const Se = d({
|
|
233
234
|
base: "text-center text-sm text-muted lg:col-start-2 lg:text-left",
|
|
234
235
|
variants: {
|
|
235
236
|
status: {
|
|
@@ -247,26 +248,26 @@ const _e = d({
|
|
|
247
248
|
defaultVariants: {
|
|
248
249
|
focus: "low"
|
|
249
250
|
}
|
|
250
|
-
}),
|
|
251
|
-
const { status: i, focus: n } =
|
|
251
|
+
}), Pe = l.forwardRef(({ className: e, status: t, focus: a, ...o }, r) => {
|
|
252
|
+
const { status: i, focus: n } = f({ status: t, focus: a });
|
|
252
253
|
return /* @__PURE__ */ s(
|
|
253
|
-
|
|
254
|
+
L,
|
|
254
255
|
{
|
|
255
|
-
ref:
|
|
256
|
-
className:
|
|
257
|
-
...
|
|
256
|
+
ref: r,
|
|
257
|
+
className: Se({ className: e, status: i, focus: n }),
|
|
258
|
+
...o
|
|
258
259
|
}
|
|
259
260
|
);
|
|
260
261
|
});
|
|
261
|
-
|
|
262
|
-
const
|
|
263
|
-
({ children: e, status: t, variant: a, ...
|
|
264
|
-
const { status: i } =
|
|
265
|
-
return /* @__PURE__ */ s(A, { ref:
|
|
262
|
+
Pe.displayName = L.displayName;
|
|
263
|
+
const Te = l.forwardRef(
|
|
264
|
+
({ children: e, status: t, variant: a, ...o }, r) => {
|
|
265
|
+
const { status: i } = f({ status: t }), g = w() ? "xl" : "md";
|
|
266
|
+
return /* @__PURE__ */ s(A, { ref: r, asChild: !0, children: /* @__PURE__ */ s(N, { size: g, status: i, variant: a || "primary", ...o, children: e }) });
|
|
266
267
|
}
|
|
267
268
|
);
|
|
268
|
-
|
|
269
|
-
const
|
|
269
|
+
Te.displayName = A.displayName;
|
|
270
|
+
const Ee = d({
|
|
270
271
|
base: "mt-2 sm:mt-0",
|
|
271
272
|
variants: {
|
|
272
273
|
focus: {
|
|
@@ -275,38 +276,38 @@ const Te = d({
|
|
|
275
276
|
high: ""
|
|
276
277
|
}
|
|
277
278
|
}
|
|
278
|
-
}),
|
|
279
|
-
const { focus: i } =
|
|
280
|
-
return /* @__PURE__ */ s(D, { ref:
|
|
279
|
+
}), Oe = l.forwardRef(({ className: e, children: t, variant: a, ...o }, r) => {
|
|
280
|
+
const { focus: i } = f(), g = w() ? "xl" : "md";
|
|
281
|
+
return /* @__PURE__ */ s(D, { ref: r, asChild: !0, children: /* @__PURE__ */ s(
|
|
281
282
|
N,
|
|
282
283
|
{
|
|
283
|
-
size:
|
|
284
|
+
size: g,
|
|
284
285
|
variant: a || "outline",
|
|
285
|
-
className:
|
|
286
|
-
...
|
|
286
|
+
className: Ee({ className: e, focus: i }),
|
|
287
|
+
...o,
|
|
287
288
|
children: t
|
|
288
289
|
}
|
|
289
290
|
) });
|
|
290
291
|
});
|
|
291
|
-
|
|
292
|
-
const
|
|
293
|
-
|
|
292
|
+
Oe.displayName = D.displayName;
|
|
293
|
+
const Me = l.forwardRef(({ ...e }, t) => /* @__PURE__ */ s(A, { ref: t, ...e }));
|
|
294
|
+
Me.displayName = "AlertDialogPrimitiveAction";
|
|
294
295
|
const Ie = l.forwardRef(({ ...e }, t) => /* @__PURE__ */ s(D, { ref: t, ...e }));
|
|
295
296
|
Ie.displayName = "AlertDialogPrimitiveCancel";
|
|
296
297
|
export {
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
298
|
+
Je as AlertDialog,
|
|
299
|
+
Te as AlertDialogAction,
|
|
300
|
+
Oe as AlertDialogCancel,
|
|
301
|
+
ye as AlertDialogContent,
|
|
302
|
+
Pe as AlertDialogDescription,
|
|
303
|
+
we as AlertDialogFooter,
|
|
304
|
+
xe as AlertDialogHeader,
|
|
305
|
+
_e as AlertDialogIcon,
|
|
306
|
+
j as AlertDialogOverlay,
|
|
307
|
+
Ae as AlertDialogPortal,
|
|
308
|
+
Me as AlertDialogPrimitiveAction,
|
|
308
309
|
Ie as AlertDialogPrimitiveCancel,
|
|
309
|
-
|
|
310
|
-
|
|
310
|
+
Re as AlertDialogTitle,
|
|
311
|
+
Ke as AlertDialogTrigger
|
|
311
312
|
};
|
|
312
313
|
//# sourceMappingURL=alert-dialog.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alert-dialog.js","sources":["../../node_modules/.pnpm/@radix-ui+react-alert-dialog@1.1.15_@types+react-dom@18.3.6_@types+react@18.3.20__@types+reac_awa64bk4kxykkzhncx6gg6oiou/node_modules/@radix-ui/react-alert-dialog/dist/index.mjs","../../src/components/alert-dialog/AlertDialog.tsx"],"sourcesContent":["\"use client\";\n\n// src/alert-dialog.tsx\nimport * as React from \"react\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport * as DialogPrimitive from \"@radix-ui/react-dialog\";\nimport { createDialogScope } from \"@radix-ui/react-dialog\";\nimport { composeEventHandlers } from \"@radix-ui/primitive\";\nimport { createSlottable } from \"@radix-ui/react-slot\";\nimport { jsx, jsxs } from \"react/jsx-runtime\";\nvar ROOT_NAME = \"AlertDialog\";\nvar [createAlertDialogContext, createAlertDialogScope] = createContextScope(ROOT_NAME, [\n createDialogScope\n]);\nvar useDialogScope = createDialogScope();\nvar AlertDialog = (props) => {\n const { __scopeAlertDialog, ...alertDialogProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n return /* @__PURE__ */ jsx(DialogPrimitive.Root, { ...dialogScope, ...alertDialogProps, modal: true });\n};\nAlertDialog.displayName = ROOT_NAME;\nvar TRIGGER_NAME = \"AlertDialogTrigger\";\nvar AlertDialogTrigger = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeAlertDialog, ...triggerProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n return /* @__PURE__ */ jsx(DialogPrimitive.Trigger, { ...dialogScope, ...triggerProps, ref: forwardedRef });\n }\n);\nAlertDialogTrigger.displayName = TRIGGER_NAME;\nvar PORTAL_NAME = \"AlertDialogPortal\";\nvar AlertDialogPortal = (props) => {\n const { __scopeAlertDialog, ...portalProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n return /* @__PURE__ */ jsx(DialogPrimitive.Portal, { ...dialogScope, ...portalProps });\n};\nAlertDialogPortal.displayName = PORTAL_NAME;\nvar OVERLAY_NAME = \"AlertDialogOverlay\";\nvar AlertDialogOverlay = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeAlertDialog, ...overlayProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n return /* @__PURE__ */ jsx(DialogPrimitive.Overlay, { ...dialogScope, ...overlayProps, ref: forwardedRef });\n }\n);\nAlertDialogOverlay.displayName = OVERLAY_NAME;\nvar CONTENT_NAME = \"AlertDialogContent\";\nvar [AlertDialogContentProvider, useAlertDialogContentContext] = createAlertDialogContext(CONTENT_NAME);\nvar Slottable = createSlottable(\"AlertDialogContent\");\nvar AlertDialogContent = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeAlertDialog, children, ...contentProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n const contentRef = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, contentRef);\n const cancelRef = React.useRef(null);\n return /* @__PURE__ */ jsx(\n DialogPrimitive.WarningProvider,\n {\n contentName: CONTENT_NAME,\n titleName: TITLE_NAME,\n docsSlug: \"alert-dialog\",\n children: /* @__PURE__ */ jsx(AlertDialogContentProvider, { scope: __scopeAlertDialog, cancelRef, children: /* @__PURE__ */ jsxs(\n DialogPrimitive.Content,\n {\n role: \"alertdialog\",\n ...dialogScope,\n ...contentProps,\n ref: composedRefs,\n onOpenAutoFocus: composeEventHandlers(contentProps.onOpenAutoFocus, (event) => {\n event.preventDefault();\n cancelRef.current?.focus({ preventScroll: true });\n }),\n onPointerDownOutside: (event) => event.preventDefault(),\n onInteractOutside: (event) => event.preventDefault(),\n children: [\n /* @__PURE__ */ jsx(Slottable, { children }),\n /* @__PURE__ */ jsx(DescriptionWarning, { contentRef })\n ]\n }\n ) })\n }\n );\n }\n);\nAlertDialogContent.displayName = CONTENT_NAME;\nvar TITLE_NAME = \"AlertDialogTitle\";\nvar AlertDialogTitle = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeAlertDialog, ...titleProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n return /* @__PURE__ */ jsx(DialogPrimitive.Title, { ...dialogScope, ...titleProps, ref: forwardedRef });\n }\n);\nAlertDialogTitle.displayName = TITLE_NAME;\nvar DESCRIPTION_NAME = \"AlertDialogDescription\";\nvar AlertDialogDescription = React.forwardRef((props, forwardedRef) => {\n const { __scopeAlertDialog, ...descriptionProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n return /* @__PURE__ */ jsx(DialogPrimitive.Description, { ...dialogScope, ...descriptionProps, ref: forwardedRef });\n});\nAlertDialogDescription.displayName = DESCRIPTION_NAME;\nvar ACTION_NAME = \"AlertDialogAction\";\nvar AlertDialogAction = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeAlertDialog, ...actionProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n return /* @__PURE__ */ jsx(DialogPrimitive.Close, { ...dialogScope, ...actionProps, ref: forwardedRef });\n }\n);\nAlertDialogAction.displayName = ACTION_NAME;\nvar CANCEL_NAME = \"AlertDialogCancel\";\nvar AlertDialogCancel = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeAlertDialog, ...cancelProps } = props;\n const { cancelRef } = useAlertDialogContentContext(CANCEL_NAME, __scopeAlertDialog);\n const dialogScope = useDialogScope(__scopeAlertDialog);\n const ref = useComposedRefs(forwardedRef, cancelRef);\n return /* @__PURE__ */ jsx(DialogPrimitive.Close, { ...dialogScope, ...cancelProps, ref });\n }\n);\nAlertDialogCancel.displayName = CANCEL_NAME;\nvar DescriptionWarning = ({ contentRef }) => {\n const MESSAGE = `\\`${CONTENT_NAME}\\` requires a description for the component to be accessible for screen reader users.\n\nYou can add a description to the \\`${CONTENT_NAME}\\` by passing a \\`${DESCRIPTION_NAME}\\` component as a child, which also benefits sighted users by adding visible context to the dialog.\n\nAlternatively, you can use your own component as a description by assigning it an \\`id\\` and passing the same value to the \\`aria-describedby\\` prop in \\`${CONTENT_NAME}\\`. If the description is confusing or duplicative for sighted users, you can use the \\`@radix-ui/react-visually-hidden\\` primitive as a wrapper around your description component.\n\nFor more information, see https://radix-ui.com/primitives/docs/components/alert-dialog`;\n React.useEffect(() => {\n const hasDescription = document.getElementById(\n contentRef.current?.getAttribute(\"aria-describedby\")\n );\n if (!hasDescription) console.warn(MESSAGE);\n }, [MESSAGE, contentRef]);\n return null;\n};\nvar Root2 = AlertDialog;\nvar Trigger2 = AlertDialogTrigger;\nvar Portal2 = AlertDialogPortal;\nvar Overlay2 = AlertDialogOverlay;\nvar Content2 = AlertDialogContent;\nvar Action = AlertDialogAction;\nvar Cancel = AlertDialogCancel;\nvar Title2 = AlertDialogTitle;\nvar Description2 = AlertDialogDescription;\nexport {\n Action,\n AlertDialog,\n AlertDialogAction,\n AlertDialogCancel,\n AlertDialogContent,\n AlertDialogDescription,\n AlertDialogOverlay,\n AlertDialogPortal,\n AlertDialogTitle,\n AlertDialogTrigger,\n Cancel,\n Content2 as Content,\n Description2 as Description,\n Overlay2 as Overlay,\n Portal2 as Portal,\n Root2 as Root,\n Title2 as Title,\n Trigger2 as Trigger,\n createAlertDialogScope\n};\n//# sourceMappingURL=index.mjs.map\n","import * as React from \"react\";\nimport * as AlertDialogPrimitive from \"@radix-ui/react-alert-dialog\";\nimport { tv } from \"tailwind-variants\";\nimport { usePortalContainer } from \"../portal-container\";\nimport { overlayStyles, OverlayVariants } from \"../overlay/Overlay\";\nimport { Button, ButtonProps } from \"../button\";\nimport { AlertContext, useAlert } from \"../alert/AlertContext\";\nimport { Icon } from \"../icon\";\nimport { IconProps } from \"../icon/Icon\";\nimport { VariantsConfig } from \"@/lib/utils/variants\";\nimport { AlertVariants } from \"../alert/Alert\";\n\nconst AlertDialog = AlertDialogPrimitive.Root;\n\nconst AlertDialogTrigger = AlertDialogPrimitive.Trigger;\n\nconst AlertDialogPortal = AlertDialogPrimitive.Portal;\n\nconst alertDialogOverlayStyles = tv({\n\textend: overlayStyles\n});\n\ninterface AlertDialogOverlayProps\n\textends React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Overlay>,\n\t\tOverlayVariants {}\n\nconst AlertDialogOverlay = React.forwardRef<\n\tReact.ElementRef<typeof AlertDialogPrimitive.Overlay>,\n\tAlertDialogOverlayProps\n>(({ className, blur, type, ...props }, ref) => (\n\t<AlertDialogPrimitive.Overlay\n\t\tclassName={alertDialogOverlayStyles({ className, blur, type })}\n\t\t{...props}\n\t\tref={ref}\n\t/>\n));\n\nAlertDialogOverlay.displayName = AlertDialogPrimitive.Overlay.displayName;\n\nconst alertDialogContent = tv({\n\tbase: [\n\t\t\"fixed left-[50%] top-[50%] z-50 grid w-full max-w-[min(360px,calc(100vw-32px))] translate-x-[-50%] translate-y-[-50%] gap-6 rounded-lg border border-secondary-border bg-status-neutral-bg p-4 shadow-soft-lg duration-200 lg:max-w-[min(512px,calc(100vw-64px))] lg:p-6\",\n\t\t\"data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%]\",\n\t\t\"data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%]\"\n\t],\n\tvariants: {\n\t\tstatus: {\n\t\t\tsuccess: \"border-status-success-secondary-border bg-status-success-bg\",\n\t\t\twarning: \"border-status-warning-secondary-border bg-status-warning-bg\",\n\t\t\terror: \"border-status-error-secondary-border bg-status-error-bg\",\n\t\t\tinfo: \"border-status-info-secondary-border bg-status-info-bg\"\n\t\t},\n\t\tfocus: {\n\t\t\tlow: \"border-secondary-border bg-secondary-bg\",\n\t\t\tmedium: \"bg-secondary-bg\",\n\t\t\thigh: \"\"\n\t\t}\n\t} satisfies VariantsConfig<AlertVariants>,\n\tdefaultVariants: {\n\t\tfocus: \"low\"\n\t}\n});\n\ntype BackgroundProps = OverlayVariants;\n\nexport type AlertDialogContentProps = React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Content> &\n\tAlertVariants & {\n\t\toverlayBlur?: BackgroundProps[\"blur\"];\n\t\toverlayType?: BackgroundProps[\"type\"];\n\t\t/**\n\t\t * Контейнер для портала. Если не указан, используется хук usePortalContainer\n\t\t * для поиска PortalContainer\n\t\t */\n\t\tportalContainer?: HTMLElement;\n\t};\n\nconst AlertDialogContent = React.forwardRef<\n\tReact.ElementRef<typeof AlertDialogPrimitive.Content>,\n\tAlertDialogContentProps\n>(({ className, overlayBlur, overlayType, status, focus = \"low\", children, portalContainer, ...props }, ref) => {\n\tconst contextValue = React.useMemo(\n\t\t() => ({\n\t\t\tstatus,\n\t\t\tfocus\n\t\t}),\n\t\t[status, focus]\n\t);\n\n\tconst container = usePortalContainer(portalContainer);\n\n\treturn (\n\t\t<AlertContext.Provider value={contextValue}>\n\t\t\t<AlertDialogPortal container={container}>\n\t\t\t\t<AlertDialogOverlay blur={overlayBlur} type={overlayType} />\n\t\t\t\t<AlertDialogPrimitive.Content\n\t\t\t\t\tref={ref}\n\t\t\t\t\tclassName={alertDialogContent({ className, status, focus })}\n\t\t\t\t\t{...props}\n\t\t\t\t>\n\t\t\t\t\t{children}\n\t\t\t\t</AlertDialogPrimitive.Content>\n\t\t\t</AlertDialogPortal>\n\t\t</AlertContext.Provider>\n\t);\n});\n\nAlertDialogContent.displayName = AlertDialogPrimitive.Content.displayName;\n\nconst alertDialogHeaderStyles = tv({\n\tbase: \"flex flex-col items-center gap-y-2.5 lg:grid lg:grid-cols-[0_1fr] lg:items-start lg:gap-y-4 lg:has-[>svg]:grid-cols-[1.5rem_1fr] lg:has-[>svg]:gap-x-4\"\n});\n\nconst AlertDialogHeader = ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>) => (\n\t<div className={alertDialogHeaderStyles({ className })} {...props} />\n);\n\nAlertDialogHeader.displayName = \"AlertDialogHeader\";\n\nconst alertDialogFooterStyles = tv({\n\tbase: \"flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-3\"\n});\n\nconst AlertDialogFooter = ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>) => (\n\t<div className={alertDialogFooterStyles({ className })} {...props} />\n);\n\nAlertDialogFooter.displayName = \"AlertDialogFooter\";\n\nconst alertDialogTitleStyles = tv({\n\tbase: \"mb-1.5 text-lg font-semibold text-primary-fg lg:col-start-2 lg:mb-0\",\n\tvariants: {\n\t\tstatus: {\n\t\t\tsuccess: \"text-status-success-fg\",\n\t\t\twarning: \"text-status-warning-fg\",\n\t\t\terror: \"text-status-error-fg\",\n\t\t\tinfo: \"text-status-info-fg\"\n\t\t},\n\t\tfocus: {\n\t\t\tlow: \"text-primary-fg\",\n\t\t\tmedium: \"\",\n\t\t\thigh: \"\"\n\t\t}\n\t} satisfies VariantsConfig<AlertVariants>,\n\tdefaultVariants: {\n\t\tfocus: \"low\"\n\t}\n});\n\nexport type AlertDialogTitleProps = React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Title> & AlertVariants;\n\nconst AlertDialogTitle = React.forwardRef<React.ElementRef<typeof AlertDialogPrimitive.Title>, AlertDialogTitleProps>(\n\t({ className, status: statusProp, focus: focusProp, ...props }, ref) => {\n\t\tconst { status, focus } = useAlert({ status: statusProp, focus: focusProp });\n\n\t\treturn (\n\t\t\t<AlertDialogPrimitive.Title\n\t\t\t\tref={ref}\n\t\t\t\tclassName={alertDialogTitleStyles({ className, status, focus })}\n\t\t\t\t{...props}\n\t\t\t/>\n\t\t);\n\t}\n);\n\nAlertDialogTitle.displayName = AlertDialogPrimitive.Title.displayName;\n\nconst alertDialogIconStyles = tv({\n\tbase: \"text-primary-fg\",\n\tvariants: {\n\t\tstatus: {\n\t\t\tsuccess: \"text-status-success\",\n\t\t\twarning: \"text-status-warning\",\n\t\t\terror: \"text-status-error\",\n\t\t\tinfo: \"text-status-info\"\n\t\t}\n\t} satisfies VariantsConfig<AlertDialogIconVariants>\n});\n\ntype AlertDialogIconVariants = Omit<AlertVariants, \"focus\">;\n\nexport type AlertDialogIconProps = IconProps & AlertDialogIconVariants;\n\nconst AlertDialogIcon = React.forwardRef<SVGSVGElement, AlertDialogIconProps>(\n\t({ className, size, icon, status: statusProp, ...props }, ref) => {\n\t\tconst { status } = useAlert({ status: statusProp });\n\n\t\treturn (\n\t\t\t<Icon\n\t\t\t\tref={ref}\n\t\t\t\ticon={icon}\n\t\t\t\tsize={size ?? \"xl\"}\n\t\t\t\tclassName={alertDialogIconStyles({ className, status })}\n\t\t\t\t{...props}\n\t\t\t/>\n\t\t);\n\t}\n);\n\nAlertDialogIcon.displayName = \"AlertDialogIcon\";\n\nconst alertDialogDescriptionStyles = tv({\n\tbase: \"text-center text-sm text-muted lg:col-start-2 lg:text-left\",\n\tvariants: {\n\t\tstatus: {\n\t\t\tsuccess: \"text-status-success-fg\",\n\t\t\twarning: \"text-status-warning-fg\",\n\t\t\terror: \"text-status-error-fg\",\n\t\t\tinfo: \"text-status-info-fg\"\n\t\t},\n\t\tfocus: {\n\t\t\tlow: \"text-muted\",\n\t\t\tmedium: \"\",\n\t\t\thigh: \"\"\n\t\t}\n\t} satisfies VariantsConfig<AlertDialogDescriptionVariants>,\n\tdefaultVariants: {\n\t\tfocus: \"low\"\n\t}\n});\n\ntype AlertDialogDescriptionVariants = AlertVariants;\n\nexport type AlertDialogDescriptionProps = React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Description> &\n\tAlertDialogDescriptionVariants;\n\nconst AlertDialogDescription = React.forwardRef<\n\tReact.ElementRef<typeof AlertDialogPrimitive.Description>,\n\tAlertDialogDescriptionProps\n>(({ className, status: statusProp, focus: focusProp, ...props }, ref) => {\n\tconst { status, focus } = useAlert({ status: statusProp, focus: focusProp });\n\n\treturn (\n\t\t<AlertDialogPrimitive.Description\n\t\t\tref={ref}\n\t\t\tclassName={alertDialogDescriptionStyles({ className, status, focus })}\n\t\t\t{...props}\n\t\t/>\n\t);\n});\n\nAlertDialogDescription.displayName = AlertDialogPrimitive.Description.displayName;\n\nconst AlertDialogAction = React.forwardRef<React.ElementRef<typeof AlertDialogPrimitive.Action>, ButtonProps>(\n\t({ children, status: statusProp, variant, ...props }, ref) => {\n\t\tconst { status } = useAlert({ status: statusProp as AlertVariants[\"status\"] });\n\n\t\treturn (\n\t\t\t<AlertDialogPrimitive.Action ref={ref} asChild>\n\t\t\t\t<Button size=\"xl\" status={status} variant={variant || \"primary\"} {...props}>\n\t\t\t\t\t{children}\n\t\t\t\t</Button>\n\t\t\t</AlertDialogPrimitive.Action>\n\t\t);\n\t}\n);\nAlertDialogAction.displayName = AlertDialogPrimitive.Action.displayName;\n\ntype AlertDialogCancelVariants = Omit<AlertVariants, \"status\">;\n\nconst alertDialogCancelStyles = tv({\n\tbase: \"mt-2 sm:mt-0\",\n\tvariants: {\n\t\tfocus: {\n\t\t\tlow: \"\",\n\t\t\tmedium: \"\",\n\t\t\thigh: \"\"\n\t\t}\n\t} satisfies VariantsConfig<AlertDialogCancelVariants>\n});\n\nconst AlertDialogCancel = React.forwardRef<\n\tReact.ElementRef<typeof AlertDialogPrimitive.Cancel>,\n\tOmit<ButtonProps, \"focus\"> & AlertDialogCancelVariants\n>(({ className, children, variant, ...props }, ref) => {\n\tconst { focus } = useAlert();\n\n\treturn (\n\t\t<AlertDialogPrimitive.Cancel ref={ref} asChild>\n\t\t\t<Button\n\t\t\t\tsize=\"xl\"\n\t\t\t\tvariant={variant || \"outline\"}\n\t\t\t\tclassName={alertDialogCancelStyles({ className, focus })}\n\t\t\t\t{...props}\n\t\t\t>\n\t\t\t\t{children}\n\t\t\t</Button>\n\t\t</AlertDialogPrimitive.Cancel>\n\t);\n});\nAlertDialogCancel.displayName = AlertDialogPrimitive.Cancel.displayName;\n\nconst AlertDialogPrimitiveAction = React.forwardRef<\n\tReact.ElementRef<typeof AlertDialogPrimitive.Action>,\n\tReact.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Action>\n>(({ ...props }, ref) => <AlertDialogPrimitive.Action ref={ref} {...props} />);\n\nAlertDialogPrimitiveAction.displayName = \"AlertDialogPrimitiveAction\";\n\nconst AlertDialogPrimitiveCancel = React.forwardRef<\n\tReact.ElementRef<typeof AlertDialogPrimitive.Cancel>,\n\tReact.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Cancel>\n>(({ ...props }, ref) => <AlertDialogPrimitive.Cancel ref={ref} {...props} />);\n\nAlertDialogPrimitiveCancel.displayName = \"AlertDialogPrimitiveCancel\";\n\nexport {\n\tAlertDialog,\n\tAlertDialogPortal,\n\tAlertDialogOverlay,\n\tAlertDialogTrigger,\n\tAlertDialogContent,\n\tAlertDialogHeader,\n\tAlertDialogFooter,\n\tAlertDialogTitle,\n\tAlertDialogIcon,\n\tAlertDialogDescription,\n\tAlertDialogAction,\n\tAlertDialogCancel,\n\tAlertDialogPrimitiveAction,\n\tAlertDialogPrimitiveCancel\n};\n"],"names":["ROOT_NAME","createAlertDialogContext","createAlertDialogScope","createContextScope","createDialogScope","useDialogScope","AlertDialog","props","__scopeAlertDialog","alertDialogProps","dialogScope","jsx","DialogPrimitive.Root","TRIGGER_NAME","AlertDialogTrigger","React","forwardedRef","triggerProps","DialogPrimitive.Trigger","PORTAL_NAME","AlertDialogPortal","portalProps","DialogPrimitive.Portal","OVERLAY_NAME","AlertDialogOverlay","overlayProps","DialogPrimitive.Overlay","CONTENT_NAME","AlertDialogContentProvider","useAlertDialogContentContext","Slottable","createSlottable","AlertDialogContent","children","contentProps","contentRef","composedRefs","useComposedRefs","cancelRef","DialogPrimitive.WarningProvider","TITLE_NAME","jsxs","DialogPrimitive.Content","composeEventHandlers","event","DescriptionWarning","AlertDialogTitle","titleProps","DialogPrimitive.Title","DESCRIPTION_NAME","AlertDialogDescription","descriptionProps","DialogPrimitive.Description","ACTION_NAME","AlertDialogAction","actionProps","DialogPrimitive.Close","CANCEL_NAME","AlertDialogCancel","cancelProps","ref","MESSAGE","Root2","Trigger2","Portal2","Overlay2","Content2","Action","Cancel","Title2","Description2","AlertDialogPrimitive.Root","AlertDialogPrimitive.Trigger","AlertDialogPrimitive.Portal","alertDialogOverlayStyles","tv","overlayStyles","className","blur","type","AlertDialogPrimitive.Overlay","alertDialogContent","overlayBlur","overlayType","status","focus","portalContainer","contextValue","container","usePortalContainer","AlertContext","AlertDialogPrimitive.Content","alertDialogHeaderStyles","AlertDialogHeader","alertDialogFooterStyles","AlertDialogFooter","alertDialogTitleStyles","statusProp","focusProp","useAlert","AlertDialogPrimitive.Title","alertDialogIconStyles","AlertDialogIcon","size","icon","Icon","alertDialogDescriptionStyles","AlertDialogPrimitive.Description","variant","AlertDialogPrimitive.Action","Button","alertDialogCancelStyles","AlertDialogPrimitive.Cancel","AlertDialogPrimitiveAction","AlertDialogPrimitiveCancel"],"mappings":";;;;;;;;;;;;AAWA,IAAIA,IAAY,eACZ,CAACC,IAA0BC,EAAsB,IAAIC,EAAmBH,GAAW;AAAA,EACrFI;AACF,CAAC,GACGC,IAAiBD,EAAmB,GACpCE,IAAc,CAACC,MAAU;AAC3B,QAAM,EAAE,oBAAAC,GAAoB,GAAGC,EAAgB,IAAKF,GAC9CG,IAAcL,EAAeG,CAAkB;AACrD,SAAuB,gBAAAG,EAAIC,GAAsB,EAAE,GAAGF,GAAa,GAAGD,GAAkB,OAAO,IAAM;AACvG;AACAH,EAAY,cAAcN;AAC1B,IAAIa,KAAe,sBACfC,IAAqBC,EAAM;AAAA,EAC7B,CAACR,GAAOS,MAAiB;AACvB,UAAM,EAAE,oBAAAR,GAAoB,GAAGS,EAAY,IAAKV,GAC1CG,IAAcL,EAAeG,CAAkB;AACrD,WAAuB,gBAAAG,EAAIO,GAAyB,EAAE,GAAGR,GAAa,GAAGO,GAAc,KAAKD,GAAc;AAAA,EAC9G;AACA;AACAF,EAAmB,cAAcD;AACjC,IAAIM,KAAc,qBACdC,IAAoB,CAACb,MAAU;AACjC,QAAM,EAAE,oBAAAC,GAAoB,GAAGa,EAAW,IAAKd,GACzCG,IAAcL,EAAeG,CAAkB;AACrD,SAAuB,gBAAAG,EAAIW,GAAwB,EAAE,GAAGZ,GAAa,GAAGW,EAAW,CAAE;AACvF;AACAD,EAAkB,cAAcD;AAChC,IAAII,KAAe,sBACfC,IAAqBT,EAAM;AAAA,EAC7B,CAACR,GAAOS,MAAiB;AACvB,UAAM,EAAE,oBAAAR,GAAoB,GAAGiB,EAAY,IAAKlB,GAC1CG,IAAcL,EAAeG,CAAkB;AACrD,WAAuB,gBAAAG,EAAIe,GAAyB,EAAE,GAAGhB,GAAa,GAAGe,GAAc,KAAKT,GAAc;AAAA,EA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@types+react@18.3.20__@types+reac_awa64bk4kxykkzhncx6gg6oiou/node_modules/@radix-ui/react-alert-dialog/dist/index.mjs","../../src/components/alert-dialog/AlertDialog.tsx"],"sourcesContent":["\"use client\";\n\n// src/alert-dialog.tsx\nimport * as React from \"react\";\nimport { createContextScope } from \"@radix-ui/react-context\";\nimport { useComposedRefs } from \"@radix-ui/react-compose-refs\";\nimport * as DialogPrimitive from \"@radix-ui/react-dialog\";\nimport { createDialogScope } from \"@radix-ui/react-dialog\";\nimport { composeEventHandlers } from \"@radix-ui/primitive\";\nimport { createSlottable } from \"@radix-ui/react-slot\";\nimport { jsx, jsxs } from \"react/jsx-runtime\";\nvar ROOT_NAME = \"AlertDialog\";\nvar [createAlertDialogContext, createAlertDialogScope] = createContextScope(ROOT_NAME, [\n createDialogScope\n]);\nvar useDialogScope = createDialogScope();\nvar AlertDialog = (props) => {\n const { __scopeAlertDialog, ...alertDialogProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n return /* @__PURE__ */ jsx(DialogPrimitive.Root, { ...dialogScope, ...alertDialogProps, modal: true });\n};\nAlertDialog.displayName = ROOT_NAME;\nvar TRIGGER_NAME = \"AlertDialogTrigger\";\nvar AlertDialogTrigger = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeAlertDialog, ...triggerProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n return /* @__PURE__ */ jsx(DialogPrimitive.Trigger, { ...dialogScope, ...triggerProps, ref: forwardedRef });\n }\n);\nAlertDialogTrigger.displayName = TRIGGER_NAME;\nvar PORTAL_NAME = \"AlertDialogPortal\";\nvar AlertDialogPortal = (props) => {\n const { __scopeAlertDialog, ...portalProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n return /* @__PURE__ */ jsx(DialogPrimitive.Portal, { ...dialogScope, ...portalProps });\n};\nAlertDialogPortal.displayName = PORTAL_NAME;\nvar OVERLAY_NAME = \"AlertDialogOverlay\";\nvar AlertDialogOverlay = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeAlertDialog, ...overlayProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n return /* @__PURE__ */ jsx(DialogPrimitive.Overlay, { ...dialogScope, ...overlayProps, ref: forwardedRef });\n }\n);\nAlertDialogOverlay.displayName = OVERLAY_NAME;\nvar CONTENT_NAME = \"AlertDialogContent\";\nvar [AlertDialogContentProvider, useAlertDialogContentContext] = createAlertDialogContext(CONTENT_NAME);\nvar Slottable = createSlottable(\"AlertDialogContent\");\nvar AlertDialogContent = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeAlertDialog, children, ...contentProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n const contentRef = React.useRef(null);\n const composedRefs = useComposedRefs(forwardedRef, contentRef);\n const cancelRef = React.useRef(null);\n return /* @__PURE__ */ jsx(\n DialogPrimitive.WarningProvider,\n {\n contentName: CONTENT_NAME,\n titleName: TITLE_NAME,\n docsSlug: \"alert-dialog\",\n children: /* @__PURE__ */ jsx(AlertDialogContentProvider, { scope: __scopeAlertDialog, cancelRef, children: /* @__PURE__ */ jsxs(\n DialogPrimitive.Content,\n {\n role: \"alertdialog\",\n ...dialogScope,\n ...contentProps,\n ref: composedRefs,\n onOpenAutoFocus: composeEventHandlers(contentProps.onOpenAutoFocus, (event) => {\n event.preventDefault();\n cancelRef.current?.focus({ preventScroll: true });\n }),\n onPointerDownOutside: (event) => event.preventDefault(),\n onInteractOutside: (event) => event.preventDefault(),\n children: [\n /* @__PURE__ */ jsx(Slottable, { children }),\n /* @__PURE__ */ jsx(DescriptionWarning, { contentRef })\n ]\n }\n ) })\n }\n );\n }\n);\nAlertDialogContent.displayName = CONTENT_NAME;\nvar TITLE_NAME = \"AlertDialogTitle\";\nvar AlertDialogTitle = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeAlertDialog, ...titleProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n return /* @__PURE__ */ jsx(DialogPrimitive.Title, { ...dialogScope, ...titleProps, ref: forwardedRef });\n }\n);\nAlertDialogTitle.displayName = TITLE_NAME;\nvar DESCRIPTION_NAME = \"AlertDialogDescription\";\nvar AlertDialogDescription = React.forwardRef((props, forwardedRef) => {\n const { __scopeAlertDialog, ...descriptionProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n return /* @__PURE__ */ jsx(DialogPrimitive.Description, { ...dialogScope, ...descriptionProps, ref: forwardedRef });\n});\nAlertDialogDescription.displayName = DESCRIPTION_NAME;\nvar ACTION_NAME = \"AlertDialogAction\";\nvar AlertDialogAction = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeAlertDialog, ...actionProps } = props;\n const dialogScope = useDialogScope(__scopeAlertDialog);\n return /* @__PURE__ */ jsx(DialogPrimitive.Close, { ...dialogScope, ...actionProps, ref: forwardedRef });\n }\n);\nAlertDialogAction.displayName = ACTION_NAME;\nvar CANCEL_NAME = \"AlertDialogCancel\";\nvar AlertDialogCancel = React.forwardRef(\n (props, forwardedRef) => {\n const { __scopeAlertDialog, ...cancelProps } = props;\n const { cancelRef } = useAlertDialogContentContext(CANCEL_NAME, __scopeAlertDialog);\n const dialogScope = useDialogScope(__scopeAlertDialog);\n const ref = useComposedRefs(forwardedRef, cancelRef);\n return /* @__PURE__ */ jsx(DialogPrimitive.Close, { ...dialogScope, ...cancelProps, ref });\n }\n);\nAlertDialogCancel.displayName = CANCEL_NAME;\nvar DescriptionWarning = ({ contentRef }) => {\n const MESSAGE = `\\`${CONTENT_NAME}\\` requires a description for the component to be accessible for screen reader users.\n\nYou can add a description to the \\`${CONTENT_NAME}\\` by passing a \\`${DESCRIPTION_NAME}\\` component as a child, which also benefits sighted users by adding visible context to the dialog.\n\nAlternatively, you can use your own component as a description by assigning it an \\`id\\` and passing the same value to the \\`aria-describedby\\` prop in \\`${CONTENT_NAME}\\`. If the description is confusing or duplicative for sighted users, you can use the \\`@radix-ui/react-visually-hidden\\` primitive as a wrapper around your description component.\n\nFor more information, see https://radix-ui.com/primitives/docs/components/alert-dialog`;\n React.useEffect(() => {\n const hasDescription = document.getElementById(\n contentRef.current?.getAttribute(\"aria-describedby\")\n );\n if (!hasDescription) console.warn(MESSAGE);\n }, [MESSAGE, contentRef]);\n return null;\n};\nvar Root2 = AlertDialog;\nvar Trigger2 = AlertDialogTrigger;\nvar Portal2 = AlertDialogPortal;\nvar Overlay2 = AlertDialogOverlay;\nvar Content2 = AlertDialogContent;\nvar Action = AlertDialogAction;\nvar Cancel = AlertDialogCancel;\nvar Title2 = AlertDialogTitle;\nvar Description2 = AlertDialogDescription;\nexport {\n Action,\n AlertDialog,\n AlertDialogAction,\n AlertDialogCancel,\n AlertDialogContent,\n AlertDialogDescription,\n AlertDialogOverlay,\n AlertDialogPortal,\n AlertDialogTitle,\n AlertDialogTrigger,\n Cancel,\n Content2 as Content,\n Description2 as Description,\n Overlay2 as Overlay,\n Portal2 as Portal,\n Root2 as Root,\n Title2 as Title,\n Trigger2 as Trigger,\n createAlertDialogScope\n};\n//# sourceMappingURL=index.mjs.map\n","import * as React from \"react\";\nimport * as AlertDialogPrimitive from \"@radix-ui/react-alert-dialog\";\nimport { tv } from \"tailwind-variants\";\nimport { usePortalContainer } from \"../portal-container\";\nimport { overlayStyles, OverlayVariants } from \"../overlay/Overlay\";\nimport { Button, ButtonProps } from \"../button\";\nimport { AlertContext, useAlert } from \"../alert/AlertContext\";\nimport { Icon } from \"../icon\";\nimport { IconProps } from \"../icon/Icon\";\nimport { VariantsConfig } from \"@/lib/utils/variants\";\nimport { AlertVariants } from \"../alert/Alert\";\nimport { useIsMobile } from \"@/hooks\";\n\nconst AlertDialog = AlertDialogPrimitive.Root;\n\nconst AlertDialogTrigger = AlertDialogPrimitive.Trigger;\n\nconst AlertDialogPortal = AlertDialogPrimitive.Portal;\n\nconst alertDialogOverlayStyles = tv({\n\textend: overlayStyles\n});\n\ninterface AlertDialogOverlayProps\n\textends React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Overlay>,\n\t\tOverlayVariants {}\n\nconst AlertDialogOverlay = React.forwardRef<\n\tReact.ElementRef<typeof AlertDialogPrimitive.Overlay>,\n\tAlertDialogOverlayProps\n>(({ className, blur, type, ...props }, ref) => (\n\t<AlertDialogPrimitive.Overlay\n\t\tclassName={alertDialogOverlayStyles({ className, blur, type })}\n\t\t{...props}\n\t\tref={ref}\n\t/>\n));\n\nAlertDialogOverlay.displayName = AlertDialogPrimitive.Overlay.displayName;\n\nconst alertDialogContent = tv({\n\tbase: [\n\t\t\"fixed left-[50%] top-[50%] z-50 grid w-full max-w-[min(360px,calc(100vw-32px))] translate-x-[-50%] translate-y-[-50%] gap-6 rounded-lg border border-secondary-border bg-status-neutral-bg p-4 shadow-soft-lg duration-200 lg:max-w-[min(512px,calc(100vw-64px))] lg:p-6\",\n\t\t\"data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%]\",\n\t\t\"data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%]\"\n\t],\n\tvariants: {\n\t\tstatus: {\n\t\t\tsuccess: \"border-status-success-secondary-border bg-status-success-bg\",\n\t\t\twarning: \"border-status-warning-secondary-border bg-status-warning-bg\",\n\t\t\terror: \"border-status-error-secondary-border bg-status-error-bg\",\n\t\t\tinfo: \"border-status-info-secondary-border bg-status-info-bg\"\n\t\t},\n\t\tfocus: {\n\t\t\tlow: \"border-secondary-border bg-secondary-bg\",\n\t\t\tmedium: \"bg-secondary-bg\",\n\t\t\thigh: \"\"\n\t\t}\n\t} satisfies VariantsConfig<AlertVariants>,\n\tdefaultVariants: {\n\t\tfocus: \"low\"\n\t}\n});\n\ntype BackgroundProps = OverlayVariants;\n\nexport type AlertDialogContentProps = React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Content> &\n\tAlertVariants & {\n\t\toverlayBlur?: BackgroundProps[\"blur\"];\n\t\toverlayType?: BackgroundProps[\"type\"];\n\t\t/**\n\t\t * Контейнер для портала. Если не указан, используется хук usePortalContainer\n\t\t * для поиска PortalContainer\n\t\t */\n\t\tportalContainer?: HTMLElement;\n\t};\n\nconst AlertDialogContent = React.forwardRef<\n\tReact.ElementRef<typeof AlertDialogPrimitive.Content>,\n\tAlertDialogContentProps\n>(({ className, overlayBlur, overlayType, status, focus = \"low\", children, portalContainer, ...props }, ref) => {\n\tconst contextValue = React.useMemo(\n\t\t() => ({\n\t\t\tstatus,\n\t\t\tfocus\n\t\t}),\n\t\t[status, focus]\n\t);\n\n\tconst container = usePortalContainer(portalContainer);\n\n\treturn (\n\t\t<AlertContext.Provider value={contextValue}>\n\t\t\t<AlertDialogPortal container={container}>\n\t\t\t\t<AlertDialogOverlay blur={overlayBlur} type={overlayType} />\n\t\t\t\t<AlertDialogPrimitive.Content\n\t\t\t\t\tref={ref}\n\t\t\t\t\tclassName={alertDialogContent({ className, status, focus })}\n\t\t\t\t\t{...props}\n\t\t\t\t>\n\t\t\t\t\t{children}\n\t\t\t\t</AlertDialogPrimitive.Content>\n\t\t\t</AlertDialogPortal>\n\t\t</AlertContext.Provider>\n\t);\n});\n\nAlertDialogContent.displayName = AlertDialogPrimitive.Content.displayName;\n\nconst alertDialogHeaderStyles = tv({\n\tbase: \"flex flex-col items-center gap-y-2.5 lg:grid lg:grid-cols-[0_1fr] lg:items-start lg:gap-y-4 lg:has-[>svg]:grid-cols-[1.5rem_1fr] lg:has-[>svg]:gap-x-4\"\n});\n\nconst AlertDialogHeader = ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>) => (\n\t<div className={alertDialogHeaderStyles({ className })} {...props} />\n);\n\nAlertDialogHeader.displayName = \"AlertDialogHeader\";\n\nconst alertDialogFooterStyles = tv({\n\tbase: \"flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-3\"\n});\n\nconst AlertDialogFooter = ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>) => (\n\t<div className={alertDialogFooterStyles({ className })} {...props} />\n);\n\nAlertDialogFooter.displayName = \"AlertDialogFooter\";\n\nconst alertDialogTitleStyles = tv({\n\tbase: \"mb-1.5 text-lg font-semibold text-primary-fg lg:col-start-2 lg:mb-0\",\n\tvariants: {\n\t\tstatus: {\n\t\t\tsuccess: \"text-status-success-fg\",\n\t\t\twarning: \"text-status-warning-fg\",\n\t\t\terror: \"text-status-error-fg\",\n\t\t\tinfo: \"text-status-info-fg\"\n\t\t},\n\t\tfocus: {\n\t\t\tlow: \"text-primary-fg\",\n\t\t\tmedium: \"\",\n\t\t\thigh: \"\"\n\t\t}\n\t} satisfies VariantsConfig<AlertVariants>,\n\tdefaultVariants: {\n\t\tfocus: \"low\"\n\t}\n});\n\nexport type AlertDialogTitleProps = React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Title> & AlertVariants;\n\nconst AlertDialogTitle = React.forwardRef<React.ElementRef<typeof AlertDialogPrimitive.Title>, AlertDialogTitleProps>(\n\t({ className, status: statusProp, focus: focusProp, ...props }, ref) => {\n\t\tconst { status, focus } = useAlert({ status: statusProp, focus: focusProp });\n\n\t\treturn (\n\t\t\t<AlertDialogPrimitive.Title\n\t\t\t\tref={ref}\n\t\t\t\tclassName={alertDialogTitleStyles({ className, status, focus })}\n\t\t\t\t{...props}\n\t\t\t/>\n\t\t);\n\t}\n);\n\nAlertDialogTitle.displayName = AlertDialogPrimitive.Title.displayName;\n\nconst alertDialogIconStyles = tv({\n\tbase: \"text-primary-fg\",\n\tvariants: {\n\t\tstatus: {\n\t\t\tsuccess: \"text-status-success\",\n\t\t\twarning: \"text-status-warning\",\n\t\t\terror: \"text-status-error\",\n\t\t\tinfo: \"text-status-info\"\n\t\t}\n\t} satisfies VariantsConfig<AlertDialogIconVariants>\n});\n\ntype AlertDialogIconVariants = Omit<AlertVariants, \"focus\">;\n\nexport type AlertDialogIconProps = IconProps & AlertDialogIconVariants;\n\nconst AlertDialogIcon = React.forwardRef<SVGSVGElement, AlertDialogIconProps>(\n\t({ className, size, icon, status: statusProp, ...props }, ref) => {\n\t\tconst { status } = useAlert({ status: statusProp });\n\n\t\treturn (\n\t\t\t<Icon\n\t\t\t\tref={ref}\n\t\t\t\ticon={icon}\n\t\t\t\tsize={size ?? \"xl\"}\n\t\t\t\tclassName={alertDialogIconStyles({ className, status })}\n\t\t\t\t{...props}\n\t\t\t/>\n\t\t);\n\t}\n);\n\nAlertDialogIcon.displayName = \"AlertDialogIcon\";\n\nconst alertDialogDescriptionStyles = tv({\n\tbase: \"text-center text-sm text-muted lg:col-start-2 lg:text-left\",\n\tvariants: {\n\t\tstatus: {\n\t\t\tsuccess: \"text-status-success-fg\",\n\t\t\twarning: \"text-status-warning-fg\",\n\t\t\terror: \"text-status-error-fg\",\n\t\t\tinfo: \"text-status-info-fg\"\n\t\t},\n\t\tfocus: {\n\t\t\tlow: \"text-muted\",\n\t\t\tmedium: \"\",\n\t\t\thigh: \"\"\n\t\t}\n\t} satisfies VariantsConfig<AlertDialogDescriptionVariants>,\n\tdefaultVariants: {\n\t\tfocus: \"low\"\n\t}\n});\n\ntype AlertDialogDescriptionVariants = AlertVariants;\n\nexport type AlertDialogDescriptionProps = React.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Description> &\n\tAlertDialogDescriptionVariants;\n\nconst AlertDialogDescription = React.forwardRef<\n\tReact.ElementRef<typeof AlertDialogPrimitive.Description>,\n\tAlertDialogDescriptionProps\n>(({ className, status: statusProp, focus: focusProp, ...props }, ref) => {\n\tconst { status, focus } = useAlert({ status: statusProp, focus: focusProp });\n\n\treturn (\n\t\t<AlertDialogPrimitive.Description\n\t\t\tref={ref}\n\t\t\tclassName={alertDialogDescriptionStyles({ className, status, focus })}\n\t\t\t{...props}\n\t\t/>\n\t);\n});\n\nAlertDialogDescription.displayName = AlertDialogPrimitive.Description.displayName;\n\nconst AlertDialogAction = React.forwardRef<React.ElementRef<typeof AlertDialogPrimitive.Action>, ButtonProps>(\n\t({ children, status: statusProp, variant, ...props }, ref) => {\n\t\tconst { status } = useAlert({ status: statusProp as AlertVariants[\"status\"] });\n\t\tconst isMobile = useIsMobile();\n\t\tconst size = isMobile ? \"xl\" : \"md\";\n\n\t\treturn (\n\t\t\t<AlertDialogPrimitive.Action ref={ref} asChild>\n\t\t\t\t<Button size={size} status={status} variant={variant || \"primary\"} {...props}>\n\t\t\t\t\t{children}\n\t\t\t\t</Button>\n\t\t\t</AlertDialogPrimitive.Action>\n\t\t);\n\t}\n);\nAlertDialogAction.displayName = AlertDialogPrimitive.Action.displayName;\n\ntype AlertDialogCancelVariants = Omit<AlertVariants, \"status\">;\n\nconst alertDialogCancelStyles = tv({\n\tbase: \"mt-2 sm:mt-0\",\n\tvariants: {\n\t\tfocus: {\n\t\t\tlow: \"\",\n\t\t\tmedium: \"\",\n\t\t\thigh: \"\"\n\t\t}\n\t} satisfies VariantsConfig<AlertDialogCancelVariants>\n});\n\nconst AlertDialogCancel = React.forwardRef<\n\tReact.ElementRef<typeof AlertDialogPrimitive.Cancel>,\n\tOmit<ButtonProps, \"focus\"> & AlertDialogCancelVariants\n>(({ className, children, variant, ...props }, ref) => {\n\tconst { focus } = useAlert();\n\tconst isMobile = useIsMobile();\n\tconst size = isMobile ? \"xl\" : \"md\";\n\n\treturn (\n\t\t<AlertDialogPrimitive.Cancel ref={ref} asChild>\n\t\t\t<Button\n\t\t\t\tsize={size}\n\t\t\t\tvariant={variant || \"outline\"}\n\t\t\t\tclassName={alertDialogCancelStyles({ className, focus })}\n\t\t\t\t{...props}\n\t\t\t>\n\t\t\t\t{children}\n\t\t\t</Button>\n\t\t</AlertDialogPrimitive.Cancel>\n\t);\n});\nAlertDialogCancel.displayName = AlertDialogPrimitive.Cancel.displayName;\n\nconst AlertDialogPrimitiveAction = React.forwardRef<\n\tReact.ElementRef<typeof AlertDialogPrimitive.Action>,\n\tReact.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Action>\n>(({ ...props }, ref) => <AlertDialogPrimitive.Action ref={ref} {...props} />);\n\nAlertDialogPrimitiveAction.displayName = \"AlertDialogPrimitiveAction\";\n\nconst AlertDialogPrimitiveCancel = React.forwardRef<\n\tReact.ElementRef<typeof AlertDialogPrimitive.Cancel>,\n\tReact.ComponentPropsWithoutRef<typeof AlertDialogPrimitive.Cancel>\n>(({ ...props }, ref) => <AlertDialogPrimitive.Cancel ref={ref} {...props} />);\n\nAlertDialogPrimitiveCancel.displayName = \"AlertDialogPrimitiveCancel\";\n\nexport {\n\tAlertDialog,\n\tAlertDialogPortal,\n\tAlertDialogOverlay,\n\tAlertDialogTrigger,\n\tAlertDialogContent,\n\tAlertDialogHeader,\n\tAlertDialogFooter,\n\tAlertDialogTitle,\n\tAlertDialogIcon,\n\tAlertDialogDescription,\n\tAlertDialogAction,\n\tAlertDialogCancel,\n\tAlertDialogPrimitiveAction,\n\tAlertDialogPrimitiveCancel\n};\n"],"names":["ROOT_NAME","createAlertDialogContext","createAlertDialogScope","createContextScope","createDialogScope","useDialogScope","AlertDialog","props","__scopeAlertDialog","alertDialogProps","dialogScope","jsx","DialogPrimitive.Root","TRIGGER_NAME","AlertDialogTrigger","React","forwardedRef","triggerProps","DialogPrimitive.Trigger","PORTAL_NAME","AlertDialogPortal","portalProps","DialogPrimitive.Portal","OVERLAY_NAME","AlertDialogOverlay","overlayProps","DialogPrimitive.Overlay","CONTENT_NAME","AlertDialogContentProvider","useAlertDialogContentContext","Slottable","createSlottable","AlertDialogContent","children","contentProps","contentRef","composedRefs","useComposedRefs","cancelRef","DialogPrimitive.WarningProvider","TITLE_NAME","jsxs","DialogPrimitive.Content","composeEventHandlers","event","DescriptionWarning","AlertDialogTitle","titleProps","DialogPrimitive.Title","DESCRIPTION_NAME","AlertDialogDescription","descriptionProps","DialogPrimitive.Description","ACTION_NAME","AlertDialogAction","actionProps","DialogPrimitive.Close","CANCEL_NAME","AlertDialogCancel","cancelProps","ref","MESSAGE","Root2","Trigger2","Portal2","Overlay2","Content2","Action","Cancel","Title2","Description2","AlertDialogPrimitive.Root","AlertDialogPrimitive.Trigger","AlertDialogPrimitive.Portal","alertDialogOverlayStyles","tv","overlayStyles","className","blur","type","AlertDialogPrimitive.Overlay","alertDialogContent","overlayBlur","overlayType","status","focus","portalContainer","contextValue","container","usePortalContainer","AlertContext","AlertDialogPrimitive.Content","alertDialogHeaderStyles","AlertDialogHeader","alertDialogFooterStyles","AlertDialogFooter","alertDialogTitleStyles","statusProp","focusProp","useAlert","AlertDialogPrimitive.Title","alertDialogIconStyles","AlertDialogIcon","size","icon","Icon","alertDialogDescriptionStyles","AlertDialogPrimitive.Description","variant","useIsMobile","AlertDialogPrimitive.Action","Button","alertDialogCancelStyles","AlertDialogPrimitive.Cancel","AlertDialogPrimitiveAction","AlertDialogPrimitiveCancel"],"mappings":";;;;;;;;;;;;;AAWA,IAAIA,IAAY,eACZ,CAACC,IAA0BC,EAAsB,IAAIC,EAAmBH,GAAW;AAAA,EACrFI;AACF,CAAC,GACGC,IAAiBD,EAAmB,GACpCE,IAAc,CAACC,MAAU;AAC3B,QAAM,EAAE,oBAAAC,GAAoB,GAAGC,EAAgB,IAAKF,GAC9CG,IAAcL,EAAeG,CAAkB;AACrD,SAAuB,gBAAAG,EAAIC,GAAsB,EAAE,GAAGF,GAAa,GAAGD,GAAkB,OAAO,IAAM;AACvG;AACAH,EAAY,cAAcN;AAC1B,IAAIa,KAAe,sBACfC,IAAqBC,EAAM;AAAA,EAC7B,CAACR,GAAOS,MAAiB;AACvB,UAAM,EAAE,oBAAAR,GAAoB,GAAGS,EAAY,IAAKV,GAC1CG,IAAcL,EAAeG,CAAkB;AACrD,WAAuB,gBAAAG,EAAIO,GAAyB,EAAE,GAAGR,GAAa,GAAGO,GAAc,KAAKD,GAAc;AAAA,EAC9G;AACA;AACAF,EAAmB,cAAcD;AACjC,IAAIM,KAAc,qBACdC,IAAoB,CAACb,MAAU;AACjC,QAAM,EAAE,oBAAAC,GAAoB,GAAGa,EAAW,IAAKd,GACzCG,IAAc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