docthub-core-components 3.2.9 → 3.3.1

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,73 +1,73 @@
1
1
  "use client";
2
- import { jsxs as b, jsx as m } from "react/jsx-runtime";
2
+ import { jsxs as w, jsx as m } from "react/jsx-runtime";
3
3
  import { c as g } from "react-compiler-runtime";
4
- import { Dialog as f } from "@base-ui/react/dialog";
5
- import { X as H } from "lucide-react";
6
- import * as u from "react";
7
- import { cn as p } from "../../lib/utils.js";
8
- const I = (i) => {
9
- const l = g(10);
10
- let e, o, t;
11
- l[0] !== i ? ({
4
+ import { Dialog as p } from "@base-ui/react/dialog";
5
+ import { X as A } from "lucide-react";
6
+ import * as f from "react";
7
+ import { cn as u } from "../../lib/utils.js";
8
+ const L = f.createContext(null), G = (i) => {
9
+ const t = g(11);
10
+ let e, o, l;
11
+ t[0] !== i ? ({
12
12
  onOpenChange: e,
13
- modal: t,
13
+ modal: l,
14
14
  ...o
15
- } = i, l[0] = i, l[1] = e, l[2] = o, l[3] = t) : (e = l[1], o = l[2], t = l[3]);
16
- const s = t === void 0 ? !0 : t;
17
- let a;
18
- l[4] !== e ? (a = e ? (n) => e(n) : void 0, l[4] = e, l[5] = a) : a = l[5];
15
+ } = i, t[0] = i, t[1] = e, t[2] = o, t[3] = l) : (e = t[1], o = t[2], l = t[3]);
16
+ const s = l === void 0 ? !0 : l, [a, c] = f.useState(!1);
19
17
  let r;
20
- return l[6] !== s || l[7] !== o || l[8] !== a ? (r = /* @__PURE__ */ m(f.Root, { onOpenChange: a, modal: s, ...o }), l[6] = s, l[7] = o, l[8] = a, l[9] = r) : r = l[9], r;
18
+ t[4] !== e ? (r = e ? (d) => e(d) : void 0, t[4] = e, t[5] = r) : r = t[5];
19
+ let n;
20
+ return t[6] !== a || t[7] !== s || t[8] !== o || t[9] !== r ? (n = /* @__PURE__ */ m(L.Provider, { value: c, children: /* @__PURE__ */ m(p.Root, { onOpenChange: r, modal: s, disablePointerDismissal: a, ...o }) }), t[6] = a, t[7] = s, t[8] = o, t[9] = r, t[10] = n) : n = t[10], n;
21
21
  };
22
- I.displayName = "Dialog";
23
- const X = u.forwardRef((i, l) => {
22
+ G.displayName = "Dialog";
23
+ const J = f.forwardRef((i, t) => {
24
24
  const e = g(12);
25
- let o, t, s;
25
+ let o, l, s;
26
26
  if (e[0] !== i ? ({
27
27
  asChild: o,
28
- children: t,
28
+ children: l,
29
29
  ...s
30
- } = i, e[0] = i, e[1] = o, e[2] = t, e[3] = s) : (o = e[1], t = e[2], s = e[3]), o && u.isValidElement(t)) {
31
- const n = l, c = t;
30
+ } = i, e[0] = i, e[1] = o, e[2] = l, e[3] = s) : (o = e[1], l = e[2], s = e[3]), o && f.isValidElement(l)) {
31
+ const r = t, n = l;
32
32
  let d;
33
- return e[4] !== s || e[5] !== n || e[6] !== c ? (d = /* @__PURE__ */ m(f.Trigger, { ref: n, render: c, ...s }), e[4] = s, e[5] = n, e[6] = c, e[7] = d) : d = e[7], d;
33
+ return e[4] !== s || e[5] !== r || e[6] !== n ? (d = /* @__PURE__ */ m(p.Trigger, { ref: r, render: n, ...s }), e[4] = s, e[5] = r, e[6] = n, e[7] = d) : d = e[7], d;
34
34
  }
35
- const a = l;
36
- let r;
37
- return e[8] !== t || e[9] !== s || e[10] !== a ? (r = /* @__PURE__ */ m(f.Trigger, { ref: a, ...s, children: t }), e[8] = t, e[9] = s, e[10] = a, e[11] = r) : r = e[11], r;
35
+ const a = t;
36
+ let c;
37
+ return e[8] !== l || e[9] !== s || e[10] !== a ? (c = /* @__PURE__ */ m(p.Trigger, { ref: a, ...s, children: l }), e[8] = l, e[9] = s, e[10] = a, e[11] = c) : c = e[11], c;
38
38
  });
39
- X.displayName = "DialogTrigger";
40
- const q = f.Portal, A = u.forwardRef((i, l) => {
39
+ J.displayName = "DialogTrigger";
40
+ const K = p.Portal, M = f.forwardRef((i, t) => {
41
41
  const e = g(12);
42
- let o, t, s;
42
+ let o, l, s;
43
43
  if (e[0] !== i ? ({
44
44
  asChild: o,
45
- children: t,
45
+ children: l,
46
46
  ...s
47
- } = i, e[0] = i, e[1] = o, e[2] = t, e[3] = s) : (o = e[1], t = e[2], s = e[3]), o && u.isValidElement(t)) {
48
- const n = l, c = t;
47
+ } = i, e[0] = i, e[1] = o, e[2] = l, e[3] = s) : (o = e[1], l = e[2], s = e[3]), o && f.isValidElement(l)) {
48
+ const r = t, n = l;
49
49
  let d;
50
- return e[4] !== s || e[5] !== n || e[6] !== c ? (d = /* @__PURE__ */ m(f.Close, { ref: n, render: c, ...s }), e[4] = s, e[5] = n, e[6] = c, e[7] = d) : d = e[7], d;
50
+ return e[4] !== s || e[5] !== r || e[6] !== n ? (d = /* @__PURE__ */ m(p.Close, { ref: r, render: n, ...s }), e[4] = s, e[5] = r, e[6] = n, e[7] = d) : d = e[7], d;
51
51
  }
52
- const a = l;
53
- let r;
54
- return e[8] !== t || e[9] !== s || e[10] !== a ? (r = /* @__PURE__ */ m(f.Close, { ref: a, ...s, children: t }), e[8] = t, e[9] = s, e[10] = a, e[11] = r) : r = e[11], r;
52
+ const a = t;
53
+ let c;
54
+ return e[8] !== l || e[9] !== s || e[10] !== a ? (c = /* @__PURE__ */ m(p.Close, { ref: a, ...s, children: l }), e[8] = l, e[9] = s, e[10] = a, e[11] = c) : c = e[11], c;
55
55
  });
56
- A.displayName = "DialogClose";
57
- const F = u.forwardRef((i, l) => {
56
+ M.displayName = "DialogClose";
57
+ const X = f.forwardRef((i, t) => {
58
58
  const e = g(9);
59
- let o, t;
59
+ let o, l;
60
60
  e[0] !== i ? ({
61
61
  className: o,
62
- ...t
63
- } = i, e[0] = i, e[1] = o, e[2] = t) : (o = e[1], t = e[2]);
62
+ ...l
63
+ } = i, e[0] = i, e[1] = o, e[2] = l) : (o = e[1], l = e[2]);
64
64
  let s;
65
- e[3] !== o ? (s = p("fixed inset-0 z-50 bg-black/80 data-[open]:animate-in data-[closed]:animate-out data-[closed]:fade-out-0 data-[open]:fade-in-0", o), e[3] = o, e[4] = s) : s = e[4];
65
+ e[3] !== o ? (s = u("fixed inset-0 z-50 bg-black/80 data-[open]:animate-in data-[closed]:animate-out data-[closed]:fade-out-0 data-[open]:fade-in-0", o), e[3] = o, e[4] = s) : s = e[4];
66
66
  let a;
67
- return e[5] !== t || e[6] !== l || e[7] !== s ? (a = /* @__PURE__ */ m(f.Backdrop, { ref: l, className: s, ...t }), e[5] = t, e[6] = l, e[7] = s, e[8] = a) : a = e[8], a;
67
+ return e[5] !== l || e[6] !== t || e[7] !== s ? (a = /* @__PURE__ */ m(p.Backdrop, { ref: t, className: s, ...l }), e[5] = l, e[6] = t, e[7] = s, e[8] = a) : a = e[8], a;
68
68
  });
69
- F.displayName = "DialogOverlay";
70
- const G = {
69
+ X.displayName = "DialogOverlay";
70
+ const Q = {
71
71
  xs: "max-w-xs",
72
72
  sm: "max-w-sm",
73
73
  md: "max-w-md",
@@ -75,7 +75,7 @@ const G = {
75
75
  xl: "max-w-xl",
76
76
  "2xl": "max-w-2xl",
77
77
  full: "max-w-[calc(100vw-2rem)]"
78
- }, P = p(
78
+ }, H = u(
79
79
  "[scrollbar-width:thin]",
80
80
  // "[scrollbar-color:hsl(var(--muted-foreground)/0.35)_transparent]",
81
81
  "[&::-webkit-scrollbar]:w-1",
@@ -83,148 +83,151 @@ const G = {
83
83
  "[&::-webkit-scrollbar-thumb]:rounded-full",
84
84
  "[&::-webkit-scrollbar-thumb]:bg-border/55",
85
85
  "[&::-webkit-scrollbar-thumb:hover]:bg-border/85"
86
- ), J = u.forwardRef((i, l) => {
87
- const e = g(31);
88
- let o, t, s, a, r, n, c, d;
86
+ ), U = f.forwardRef((i, t) => {
87
+ const e = g(35);
88
+ let o, l, s, a, c, r, n, d;
89
89
  e[0] !== i ? ({
90
- className: t,
90
+ className: l,
91
91
  children: o,
92
92
  closeOnOutsideClick: a,
93
- size: r,
94
- showCloseButton: n,
95
- closeOnEscape: c,
93
+ size: c,
94
+ showCloseButton: r,
95
+ closeOnEscape: n,
96
96
  layout: d,
97
97
  ...s
98
- } = i, e[0] = i, e[1] = o, e[2] = t, e[3] = s, e[4] = a, e[5] = r, e[6] = n, e[7] = c, e[8] = d) : (o = e[1], t = e[2], s = e[3], a = e[4], r = e[5], n = e[6], c = e[7], d = e[8]);
99
- const V = r === void 0 ? "lg" : r, R = n === void 0 ? !0 : n, x = d === void 0 ? "default" : d, E = u.useRef(null);
100
- let w;
101
- e[9] !== l ? (w = (j) => {
102
- E.current = j, typeof l == "function" ? l(j) : l && (l.current = j);
103
- }, e[9] = l, e[10] = w) : w = e[10];
104
- const z = w, S = x === "outsideScroll" ? "relative left-auto top-auto z-50 mx-auto w-full translate-x-0 translate-y-0 border bg-background shadow-lg duration-200 data-[open]:animate-in data-[closed]:animate-out data-[closed]:fade-out-0 data-[open]:fade-in-0 data-[closed]:zoom-out-95 data-[open]:zoom-in-95 sm:rounded-lg pointer-events-auto" : "fixed left-[50%] top-[50%] z-50 w-full translate-x-[-50%] translate-y-[-50%] border bg-background shadow-lg duration-200 data-[open]:animate-in data-[closed]:animate-out data-[closed]:fade-out-0 data-[open]:fade-in-0 data-[closed]:zoom-out-95 data-[open]:zoom-in-95 data-[closed]:slide-out-to-left-1/2 data-[closed]:slide-out-to-top-[48%] data-[open]:slide-in-from-left-1/2 data-[open]:slide-in-from-top-[48%] sm:rounded-lg", $ = x === "insideScroll" ? "flex max-h-[min(90dvh,36rem)] flex-col overflow-hidden gap-0 p-0" : "grid gap-4 p-6", T = G[V];
105
- let N;
106
- e[11] !== t || e[12] !== S || e[13] !== $ || e[14] !== T ? (N = p(S, $, T, t), e[11] = t, e[12] = S, e[13] = $, e[14] = T, e[15] = N) : N = e[15];
107
- const B = N, O = x === "insideScroll" ? "right-6 top-6" : "right-4 top-4";
108
- let v;
109
- e[16] !== O ? (v = p("absolute rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[open]:bg-accent data-[open]:text-muted-foreground", O), e[16] = O, e[17] = v) : v = e[17];
110
- const _ = v;
111
- let h;
112
- e[18] !== _ || e[19] !== R ? (h = R && /* @__PURE__ */ b(f.Close, { className: _, children: [
113
- /* @__PURE__ */ m(H, { className: "h-4 w-4" }),
114
- /* @__PURE__ */ m("span", { className: "sr-only", children: "Close" })
115
- ] }), e[18] = _, e[19] = R, e[20] = h) : h = e[20];
116
- let y;
117
- e[21] !== o || e[22] !== B || e[23] !== s || e[24] !== z || e[25] !== h ? (y = /* @__PURE__ */ b(f.Popup, { ref: z, className: B, tabIndex: -1, initialFocus: E, ...s, children: [
118
- o,
119
- h
120
- ] }), e[21] = o, e[22] = B, e[23] = s, e[24] = z, e[25] = h, e[26] = y) : y = e[26];
121
- const D = y;
98
+ } = i, e[0] = i, e[1] = o, e[2] = l, e[3] = s, e[4] = a, e[5] = c, e[6] = r, e[7] = n, e[8] = d) : (o = e[1], l = e[2], s = e[3], a = e[4], c = e[5], r = e[6], n = e[7], d = e[8]);
99
+ const N = a === void 0 ? !0 : a, q = c === void 0 ? "lg" : c, O = r === void 0 ? !0 : r, h = d === void 0 ? "default" : d, x = f.useContext(L);
100
+ let v, y;
101
+ e[9] !== N || e[10] !== x ? (v = () => (x == null || x(!N), () => x == null ? void 0 : x(!1)), y = [N, x], e[9] = N, e[10] = x, e[11] = v, e[12] = y) : (v = e[11], y = e[12]), f.useLayoutEffect(v, y);
102
+ const I = f.useRef(null);
103
+ let D;
104
+ e[13] !== t ? (D = (V) => {
105
+ I.current = V, typeof t == "function" ? t(V) : t && (t.current = V);
106
+ }, e[13] = t, e[14] = D) : D = e[14];
107
+ const T = D, B = h === "outsideScroll" ? "relative left-auto top-auto z-50 mx-auto w-full translate-x-0 translate-y-0 border bg-background shadow-lg duration-200 data-[open]:animate-in data-[closed]:animate-out data-[closed]:fade-out-0 data-[open]:fade-in-0 data-[closed]:zoom-out-95 data-[open]:zoom-in-95 sm:rounded-lg pointer-events-auto" : "fixed left-[50%] top-[50%] z-50 w-full translate-x-[-50%] translate-y-[-50%] border bg-background shadow-lg duration-200 data-[open]:animate-in data-[closed]:animate-out data-[closed]:fade-out-0 data-[open]:fade-in-0 data-[closed]:zoom-out-95 data-[open]:zoom-in-95 data-[closed]:slide-out-to-left-1/2 data-[closed]:slide-out-to-top-[48%] data-[open]:slide-in-from-left-1/2 data-[open]:slide-in-from-top-[48%] sm:rounded-lg", _ = h === "insideScroll" ? "flex max-h-[min(90dvh,36rem)] flex-col overflow-hidden gap-0 p-0" : "grid gap-4 p-6", j = Q[q];
122
108
  let C;
123
- e[27] === Symbol.for("react.memo_cache_sentinel") ? (C = /* @__PURE__ */ m(F, {}), e[27] = C) : C = e[27];
109
+ e[15] !== l || e[16] !== _ || e[17] !== j || e[18] !== B ? (C = u(B, _, j, l), e[15] = l, e[16] = _, e[17] = j, e[18] = B, e[19] = C) : C = e[19];
110
+ const E = C, P = h === "insideScroll" ? "right-6 top-6" : "right-4 top-4";
124
111
  let k;
125
- return e[28] !== x || e[29] !== D ? (k = /* @__PURE__ */ b(q, { children: [
126
- C,
127
- x === "outsideScroll" ? /* @__PURE__ */ m(f.Viewport, { className: p("fixed inset-0 z-50 overflow-y-auto overscroll-contain", P), children: /* @__PURE__ */ m("div", { className: "pointer-events-none flex min-h-full items-center justify-center p-4 sm:p-6", children: D }) }) : D
128
- ] }), e[28] = x, e[29] = D, e[30] = k) : k = e[30], k;
112
+ e[20] !== P ? (k = u("absolute rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[open]:bg-accent data-[open]:text-muted-foreground", P), e[20] = P, e[21] = k) : k = e[21];
113
+ const F = k;
114
+ let b;
115
+ e[22] !== F || e[23] !== O ? (b = O && /* @__PURE__ */ w(p.Close, { className: F, children: [
116
+ /* @__PURE__ */ m(A, { className: "h-4 w-4" }),
117
+ /* @__PURE__ */ m("span", { className: "sr-only", children: "Close" })
118
+ ] }), e[22] = F, e[23] = O, e[24] = b) : b = e[24];
119
+ let R;
120
+ e[25] !== o || e[26] !== E || e[27] !== s || e[28] !== T || e[29] !== b ? (R = /* @__PURE__ */ w(p.Popup, { ref: T, className: E, tabIndex: -1, initialFocus: I, ...s, children: [
121
+ o,
122
+ b
123
+ ] }), e[25] = o, e[26] = E, e[27] = s, e[28] = T, e[29] = b, e[30] = R) : R = e[30];
124
+ const S = R;
125
+ let z;
126
+ e[31] === Symbol.for("react.memo_cache_sentinel") ? (z = /* @__PURE__ */ m(X, {}), e[31] = z) : z = e[31];
127
+ let $;
128
+ return e[32] !== h || e[33] !== S ? ($ = /* @__PURE__ */ w(K, { children: [
129
+ z,
130
+ h === "outsideScroll" ? /* @__PURE__ */ m(p.Viewport, { className: u("fixed inset-0 z-50 overflow-y-auto overscroll-contain", H), children: /* @__PURE__ */ m("div", { className: "pointer-events-none flex min-h-full items-center justify-center p-4 sm:p-6", children: S }) }) : S
131
+ ] }), e[32] = h, e[33] = S, e[34] = $) : $ = e[34], $;
129
132
  });
130
- J.displayName = "DialogContent";
131
- const K = (i) => {
132
- const l = g(8);
133
+ U.displayName = "DialogContent";
134
+ const W = (i) => {
135
+ const t = g(8);
133
136
  let e, o;
134
- l[0] !== i ? ({
137
+ t[0] !== i ? ({
135
138
  className: e,
136
139
  ...o
137
- } = i, l[0] = i, l[1] = e, l[2] = o) : (e = l[1], o = l[2]);
138
- let t;
139
- l[3] !== e ? (t = p("flex flex-col space-y-1.5 text-center sm:text-left", e), l[3] = e, l[4] = t) : t = l[4];
140
+ } = i, t[0] = i, t[1] = e, t[2] = o) : (e = t[1], o = t[2]);
141
+ let l;
142
+ t[3] !== e ? (l = u("flex flex-col space-y-1.5 text-center sm:text-left", e), t[3] = e, t[4] = l) : l = t[4];
140
143
  let s;
141
- return l[5] !== o || l[6] !== t ? (s = /* @__PURE__ */ m("div", { className: t, ...o }), l[5] = o, l[6] = t, l[7] = s) : s = l[7], s;
144
+ return t[5] !== o || t[6] !== l ? (s = /* @__PURE__ */ m("div", { className: l, ...o }), t[5] = o, t[6] = l, t[7] = s) : s = t[7], s;
142
145
  };
143
- K.displayName = "DialogHeader";
144
- const L = u.forwardRef((i, l) => {
146
+ W.displayName = "DialogHeader";
147
+ const Y = f.forwardRef((i, t) => {
145
148
  const e = g(17);
146
- let o, t, s;
149
+ let o, l, s;
147
150
  if (e[0] !== i ? ({
148
151
  className: o,
149
152
  withTopBorder: s,
150
- ...t
151
- } = i, e[0] = i, e[1] = o, e[2] = t, e[3] = s) : (o = e[1], t = e[2], s = e[3]), s) {
153
+ ...l
154
+ } = i, e[0] = i, e[1] = o, e[2] = l, e[3] = s) : (o = e[1], l = e[2], s = e[3]), s) {
155
+ let r;
156
+ e[4] === Symbol.for("react.memo_cache_sentinel") ? (r = /* @__PURE__ */ m("div", { className: "mx-6 shrink-0 border-t border-border", "aria-hidden": "true" }), e[4] = r) : r = e[4];
152
157
  let n;
153
- e[4] === Symbol.for("react.memo_cache_sentinel") ? (n = /* @__PURE__ */ m("div", { className: "mx-6 shrink-0 border-t border-border", "aria-hidden": "true" }), e[4] = n) : n = e[4];
154
- let c;
155
- e[5] !== o ? (c = p("flex flex-col-reverse items-stretch gap-2 px-6 pt-4 pb-5 sm:flex-row sm:items-center sm:justify-end", o), e[5] = o, e[6] = c) : c = e[6];
158
+ e[5] !== o ? (n = u("flex flex-col-reverse items-stretch gap-2 px-6 pt-4 pb-5 sm:flex-row sm:items-center sm:justify-end", o), e[5] = o, e[6] = n) : n = e[6];
156
159
  let d;
157
- return e[7] !== t || e[8] !== l || e[9] !== c ? (d = /* @__PURE__ */ b("div", { className: "shrink-0", children: [
158
- n,
159
- /* @__PURE__ */ m("div", { ref: l, className: c, ...t })
160
- ] }), e[7] = t, e[8] = l, e[9] = c, e[10] = d) : d = e[10], d;
160
+ return e[7] !== l || e[8] !== t || e[9] !== n ? (d = /* @__PURE__ */ w("div", { className: "shrink-0", children: [
161
+ r,
162
+ /* @__PURE__ */ m("div", { ref: t, className: n, ...l })
163
+ ] }), e[7] = l, e[8] = t, e[9] = n, e[10] = d) : d = e[10], d;
161
164
  }
162
165
  let a;
163
- e[11] !== o ? (a = p("flex flex-col-reverse items-stretch gap-2 sm:flex-row sm:items-center sm:justify-end", o), e[11] = o, e[12] = a) : a = e[12];
164
- let r;
165
- return e[13] !== t || e[14] !== l || e[15] !== a ? (r = /* @__PURE__ */ m("div", { ref: l, className: a, ...t }), e[13] = t, e[14] = l, e[15] = a, e[16] = r) : r = e[16], r;
166
+ e[11] !== o ? (a = u("flex flex-col-reverse items-stretch gap-2 sm:flex-row sm:items-center sm:justify-end", o), e[11] = o, e[12] = a) : a = e[12];
167
+ let c;
168
+ return e[13] !== l || e[14] !== t || e[15] !== a ? (c = /* @__PURE__ */ m("div", { ref: t, className: a, ...l }), e[13] = l, e[14] = t, e[15] = a, e[16] = c) : c = e[16], c;
166
169
  });
167
- L.displayName = "DialogFooter";
168
- const M = u.forwardRef((i, l) => {
170
+ Y.displayName = "DialogFooter";
171
+ const Z = f.forwardRef((i, t) => {
169
172
  const e = g(17);
170
- let o, t, s;
173
+ let o, l, s;
171
174
  if (e[0] !== i ? ({
172
175
  className: o,
173
176
  withTopBorder: s,
174
- ...t
175
- } = i, e[0] = i, e[1] = o, e[2] = t, e[3] = s) : (o = e[1], t = e[2], s = e[3]), s) {
177
+ ...l
178
+ } = i, e[0] = i, e[1] = o, e[2] = l, e[3] = s) : (o = e[1], l = e[2], s = e[3]), s) {
179
+ let r;
180
+ e[4] === Symbol.for("react.memo_cache_sentinel") ? (r = /* @__PURE__ */ m("div", { className: "mx-6 shrink-0 border-t border-border", "aria-hidden": "true" }), e[4] = r) : r = e[4];
176
181
  let n;
177
- e[4] === Symbol.for("react.memo_cache_sentinel") ? (n = /* @__PURE__ */ m("div", { className: "mx-6 shrink-0 border-t border-border", "aria-hidden": "true" }), e[4] = n) : n = e[4];
178
- let c;
179
- e[5] !== o ? (c = p("min-h-0 flex-1 overflow-y-auto overscroll-contain px-6 pt-5 pb-5", P, o), e[5] = o, e[6] = c) : c = e[6];
182
+ e[5] !== o ? (n = u("min-h-0 flex-1 overflow-y-auto overscroll-contain px-6 pt-5 pb-5", H, o), e[5] = o, e[6] = n) : n = e[6];
180
183
  let d;
181
- return e[7] !== t || e[8] !== l || e[9] !== c ? (d = /* @__PURE__ */ b("div", { className: "flex min-h-0 flex-1 flex-col", children: [
182
- n,
183
- /* @__PURE__ */ m("div", { ref: l, className: c, ...t })
184
- ] }), e[7] = t, e[8] = l, e[9] = c, e[10] = d) : d = e[10], d;
184
+ return e[7] !== l || e[8] !== t || e[9] !== n ? (d = /* @__PURE__ */ w("div", { className: "flex min-h-0 flex-1 flex-col", children: [
185
+ r,
186
+ /* @__PURE__ */ m("div", { ref: t, className: n, ...l })
187
+ ] }), e[7] = l, e[8] = t, e[9] = n, e[10] = d) : d = e[10], d;
185
188
  }
186
189
  let a;
187
- e[11] !== o ? (a = p("min-h-0 flex-1 overflow-y-auto overscroll-contain px-6 py-4", P, o), e[11] = o, e[12] = a) : a = e[12];
188
- let r;
189
- return e[13] !== t || e[14] !== l || e[15] !== a ? (r = /* @__PURE__ */ m("div", { ref: l, className: a, ...t }), e[13] = t, e[14] = l, e[15] = a, e[16] = r) : r = e[16], r;
190
+ e[11] !== o ? (a = u("min-h-0 flex-1 overflow-y-auto overscroll-contain px-6 py-4", H, o), e[11] = o, e[12] = a) : a = e[12];
191
+ let c;
192
+ return e[13] !== l || e[14] !== t || e[15] !== a ? (c = /* @__PURE__ */ m("div", { ref: t, className: a, ...l }), e[13] = l, e[14] = t, e[15] = a, e[16] = c) : c = e[16], c;
190
193
  });
191
- M.displayName = "DialogScrollableBody";
192
- const Q = u.forwardRef((i, l) => {
194
+ Z.displayName = "DialogScrollableBody";
195
+ const ee = f.forwardRef((i, t) => {
193
196
  const e = g(9);
194
- let o, t;
197
+ let o, l;
195
198
  e[0] !== i ? ({
196
199
  className: o,
197
- ...t
198
- } = i, e[0] = i, e[1] = o, e[2] = t) : (o = e[1], t = e[2]);
200
+ ...l
201
+ } = i, e[0] = i, e[1] = o, e[2] = l) : (o = e[1], l = e[2]);
199
202
  let s;
200
- e[3] !== o ? (s = p("text-lg font-semibold leading-none tracking-tight", o), e[3] = o, e[4] = s) : s = e[4];
203
+ e[3] !== o ? (s = u("text-lg font-semibold leading-none tracking-tight", o), e[3] = o, e[4] = s) : s = e[4];
201
204
  let a;
202
- return e[5] !== t || e[6] !== l || e[7] !== s ? (a = /* @__PURE__ */ m(f.Title, { ref: l, className: s, ...t }), e[5] = t, e[6] = l, e[7] = s, e[8] = a) : a = e[8], a;
205
+ return e[5] !== l || e[6] !== t || e[7] !== s ? (a = /* @__PURE__ */ m(p.Title, { ref: t, className: s, ...l }), e[5] = l, e[6] = t, e[7] = s, e[8] = a) : a = e[8], a;
203
206
  });
204
- Q.displayName = "DialogTitle";
205
- const U = u.forwardRef((i, l) => {
207
+ ee.displayName = "DialogTitle";
208
+ const te = f.forwardRef((i, t) => {
206
209
  const e = g(9);
207
- let o, t;
210
+ let o, l;
208
211
  e[0] !== i ? ({
209
212
  className: o,
210
- ...t
211
- } = i, e[0] = i, e[1] = o, e[2] = t) : (o = e[1], t = e[2]);
213
+ ...l
214
+ } = i, e[0] = i, e[1] = o, e[2] = l) : (o = e[1], l = e[2]);
212
215
  let s;
213
- e[3] !== o ? (s = p("text-sm text-muted-foreground", o), e[3] = o, e[4] = s) : s = e[4];
216
+ e[3] !== o ? (s = u("text-sm text-muted-foreground", o), e[3] = o, e[4] = s) : s = e[4];
214
217
  let a;
215
- return e[5] !== t || e[6] !== l || e[7] !== s ? (a = /* @__PURE__ */ m(f.Description, { ref: l, className: s, ...t }), e[5] = t, e[6] = l, e[7] = s, e[8] = a) : a = e[8], a;
218
+ return e[5] !== l || e[6] !== t || e[7] !== s ? (a = /* @__PURE__ */ m(p.Description, { ref: t, className: s, ...l }), e[5] = l, e[6] = t, e[7] = s, e[8] = a) : a = e[8], a;
216
219
  });
217
- U.displayName = "DialogDescription";
220
+ te.displayName = "DialogDescription";
218
221
  export {
219
- I as Dialog,
220
- A as DialogClose,
221
- J as DialogContent,
222
- U as DialogDescription,
223
- L as DialogFooter,
224
- K as DialogHeader,
225
- F as DialogOverlay,
226
- q as DialogPortal,
227
- M as DialogScrollableBody,
228
- Q as DialogTitle,
229
- X as DialogTrigger
222
+ G as Dialog,
223
+ M as DialogClose,
224
+ U as DialogContent,
225
+ te as DialogDescription,
226
+ Y as DialogFooter,
227
+ W as DialogHeader,
228
+ X as DialogOverlay,
229
+ K as DialogPortal,
230
+ Z as DialogScrollableBody,
231
+ ee as DialogTitle,
232
+ J as DialogTrigger
230
233
  };