@drjoshcsimmons/scl 0.1.6 → 0.1.7
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/index100.js +30 -4
- package/dist/index101.js +647 -12
- package/dist/index102.js +178 -27
- package/dist/index103.js +24 -180
- package/dist/index104.js +12 -647
- package/dist/index105.js +6 -12
- package/dist/index106.js +10 -204
- package/dist/index107.js +20 -21
- package/dist/index108.js +9 -400
- package/dist/index109.js +38 -6
- package/dist/index11.js +2 -2
- package/dist/index110.js +11 -14
- package/dist/index111.js +206 -9
- package/dist/index112.js +21 -37
- package/dist/index113.js +399 -17
- package/dist/index114.js +2 -25
- package/dist/index115.js +53 -29
- package/dist/index116.js +65 -5
- package/dist/index117.js +25 -2
- package/dist/index118.js +29 -53
- package/dist/index119.js +5 -65
- package/dist/index12.js +1 -1
- package/dist/index125.js +1 -1
- package/dist/index126.js +1 -1
- package/dist/index13.js +2 -2
- package/dist/index130.js +1 -1
- package/dist/index131.js +1 -1
- package/dist/index132.js +1 -1
- package/dist/index137.js +11 -21
- package/dist/index138.js +26 -11
- package/dist/index139.js +4 -27
- package/dist/index14.js +2 -2
- package/dist/index140.js +22 -4
- package/dist/index15.js +2 -2
- package/dist/index17.js +4 -4
- package/dist/index18.js +2 -2
- package/dist/index20.js +1 -1
- package/dist/index21.js +1 -1
- package/dist/index22.js +1 -1
- package/dist/index23.js +2 -2
- package/dist/index24.js +1 -1
- package/dist/index25.js +4 -4
- package/dist/index26.js +1 -1
- package/dist/index27.js +2 -2
- package/dist/index29.js +1 -1
- package/dist/index31.js +1 -1
- package/dist/index33.js +1 -1
- package/dist/index36.js +1 -1
- package/dist/index37.js +1 -1
- package/dist/index4.js +2 -2
- package/dist/index46.js +210 -214
- package/dist/index47.js +11 -249
- package/dist/index48.js +73 -9
- package/dist/index49.js +125 -12
- package/dist/index50.js +57 -257
- package/dist/index51.js +260 -12
- package/dist/index52.js +12 -73
- package/dist/index53.js +12 -237
- package/dist/index54.js +3 -5
- package/dist/index55.js +811 -481
- package/dist/index56.js +9 -125
- package/dist/index57.js +215 -300
- package/dist/index58.js +3 -4
- package/dist/index59.js +11 -435
- package/dist/index6.js +1 -1
- package/dist/index60.js +114 -56
- package/dist/index61.js +20 -252
- package/dist/index62.js +250 -126
- package/dist/index63.js +224 -70
- package/dist/index64.js +160 -21
- package/dist/index65.js +434 -30
- package/dist/index66.js +334 -16
- package/dist/index67.js +16 -234
- package/dist/index68.js +530 -11
- package/dist/index69.js +222 -134
- package/dist/index7.js +1 -1
- package/dist/index70.js +119 -325
- package/dist/index71.js +25 -219
- package/dist/index72.js +241 -11
- package/dist/index73.js +68 -846
- package/dist/index74.js +310 -9
- package/dist/index75.js +12 -118
- package/dist/index76.js +66 -5
- package/dist/index77.js +44 -25
- package/dist/index78.js +23 -64
- package/dist/index79.js +5 -123
- package/dist/index80.js +50 -13
- package/dist/index81.js +32 -133
- package/dist/index82.js +1 -1
- package/dist/index83.js +7 -218
- package/dist/index84.js +55 -14
- package/dist/index85.js +10 -68
- package/dist/index86.js +4 -34
- package/dist/index87.js +29 -53
- package/dist/index88.js +10 -49
- package/dist/index89.js +53 -49
- package/dist/index9.js +1 -1
- package/dist/index90.js +124 -8
- package/dist/index91.js +134 -5
- package/dist/index92.js +14 -25
- package/dist/index93.js +65 -51
- package/dist/index94.js +12 -8
- package/dist/index95.js +9 -4
- package/dist/index96.js +49 -29
- package/dist/index97.js +3 -12
- package/dist/index98.js +216 -43
- package/dist/index99.js +5 -7
- package/package.json +11 -19
package/dist/index56.js
CHANGED
|
@@ -1,127 +1,11 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
A
|
|
10
|
-
]), n = A(), m = (e) => {
|
|
11
|
-
const { __scopeAlertDialog: o, ...r } = e, t = n(o);
|
|
12
|
-
return /* @__PURE__ */ i(M, { ...t, ...r, modal: !0 });
|
|
13
|
-
};
|
|
14
|
-
m.displayName = D;
|
|
15
|
-
var H = "AlertDialogTrigger", y = l.forwardRef(
|
|
16
|
-
(e, o) => {
|
|
17
|
-
const { __scopeAlertDialog: r, ...t } = e, a = n(r);
|
|
18
|
-
return /* @__PURE__ */ i(I, { ...a, ...t, ref: o });
|
|
19
|
-
}
|
|
20
|
-
);
|
|
21
|
-
y.displayName = H;
|
|
22
|
-
var V = "AlertDialogPortal", _ = (e) => {
|
|
23
|
-
const { __scopeAlertDialog: o, ...r } = e, t = n(o);
|
|
24
|
-
return /* @__PURE__ */ i(x, { ...t, ...r });
|
|
25
|
-
};
|
|
26
|
-
_.displayName = V;
|
|
27
|
-
var k = "AlertDialogOverlay", N = l.forwardRef(
|
|
28
|
-
(e, o) => {
|
|
29
|
-
const { __scopeAlertDialog: r, ...t } = e, a = n(r);
|
|
30
|
-
return /* @__PURE__ */ i(L, { ...a, ...t, ref: o });
|
|
31
|
-
}
|
|
32
|
-
);
|
|
33
|
-
N.displayName = k;
|
|
34
|
-
var s = "AlertDialogContent", [z, J] = B(s), K = Y("AlertDialogContent"), R = l.forwardRef(
|
|
35
|
-
(e, o) => {
|
|
36
|
-
const { __scopeAlertDialog: r, children: t, ...a } = e, g = n(r), p = l.useRef(null), b = v(o, p), d = l.useRef(null);
|
|
37
|
-
return /* @__PURE__ */ i(
|
|
38
|
-
$,
|
|
39
|
-
{
|
|
40
|
-
contentName: s,
|
|
41
|
-
titleName: C,
|
|
42
|
-
docsSlug: "alert-dialog",
|
|
43
|
-
children: /* @__PURE__ */ i(z, { scope: r, cancelRef: d, children: /* @__PURE__ */ q(
|
|
44
|
-
F,
|
|
45
|
-
{
|
|
46
|
-
role: "alertdialog",
|
|
47
|
-
...g,
|
|
48
|
-
...a,
|
|
49
|
-
ref: b,
|
|
50
|
-
onOpenAutoFocus: W(a.onOpenAutoFocus, (c) => {
|
|
51
|
-
var u;
|
|
52
|
-
c.preventDefault(), (u = d.current) == null || u.focus({ preventScroll: !0 });
|
|
53
|
-
}),
|
|
54
|
-
onPointerDownOutside: (c) => c.preventDefault(),
|
|
55
|
-
onInteractOutside: (c) => c.preventDefault(),
|
|
56
|
-
children: [
|
|
57
|
-
/* @__PURE__ */ i(K, { children: t }),
|
|
58
|
-
/* @__PURE__ */ i(U, { contentRef: p })
|
|
59
|
-
]
|
|
60
|
-
}
|
|
61
|
-
) })
|
|
62
|
-
}
|
|
63
|
-
);
|
|
64
|
-
}
|
|
65
|
-
);
|
|
66
|
-
R.displayName = s;
|
|
67
|
-
var C = "AlertDialogTitle", h = l.forwardRef(
|
|
68
|
-
(e, o) => {
|
|
69
|
-
const { __scopeAlertDialog: r, ...t } = e, a = n(r);
|
|
70
|
-
return /* @__PURE__ */ i(G, { ...a, ...t, ref: o });
|
|
71
|
-
}
|
|
72
|
-
);
|
|
73
|
-
h.displayName = C;
|
|
74
|
-
var E = "AlertDialogDescription", P = l.forwardRef((e, o) => {
|
|
75
|
-
const { __scopeAlertDialog: r, ...t } = e, a = n(r);
|
|
76
|
-
return /* @__PURE__ */ i(j, { ...a, ...t, ref: o });
|
|
77
|
-
});
|
|
78
|
-
P.displayName = E;
|
|
79
|
-
var Q = "AlertDialogAction", S = l.forwardRef(
|
|
80
|
-
(e, o) => {
|
|
81
|
-
const { __scopeAlertDialog: r, ...t } = e, a = n(r);
|
|
82
|
-
return /* @__PURE__ */ i(f, { ...a, ...t, ref: o });
|
|
83
|
-
}
|
|
84
|
-
);
|
|
85
|
-
S.displayName = Q;
|
|
86
|
-
var T = "AlertDialogCancel", O = l.forwardRef(
|
|
87
|
-
(e, o) => {
|
|
88
|
-
const { __scopeAlertDialog: r, ...t } = e, { cancelRef: a } = J(T, r), g = n(r), p = v(o, a);
|
|
89
|
-
return /* @__PURE__ */ i(f, { ...g, ...t, ref: p });
|
|
90
|
-
}
|
|
91
|
-
);
|
|
92
|
-
O.displayName = T;
|
|
93
|
-
var U = ({ contentRef: e }) => {
|
|
94
|
-
const o = `\`${s}\` requires a description for the component to be accessible for screen reader users.
|
|
95
|
-
|
|
96
|
-
You can add a description to the \`${s}\` by passing a \`${E}\` component as a child, which also benefits sighted users by adding visible context to the dialog.
|
|
97
|
-
|
|
98
|
-
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 \`${s}\`. 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.
|
|
99
|
-
|
|
100
|
-
For more information, see https://radix-ui.com/primitives/docs/components/alert-dialog`;
|
|
101
|
-
return l.useEffect(() => {
|
|
102
|
-
var t;
|
|
103
|
-
document.getElementById(
|
|
104
|
-
(t = e.current) == null ? void 0 : t.getAttribute("aria-describedby")
|
|
105
|
-
) || console.warn(o);
|
|
106
|
-
}, [o, e]), null;
|
|
107
|
-
}, ae = m, ie = y, le = _, ne = N, se = R, ce = S, pe = O, ge = h, de = P;
|
|
1
|
+
import e from "./index107.js";
|
|
2
|
+
/**
|
|
3
|
+
* @license lucide-react v0.460.0 - ISC
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the ISC license.
|
|
6
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
const r = e("ChevronUp", [["path", { d: "m18 15-6-6-6 6", key: "153udz" }]]);
|
|
108
9
|
export {
|
|
109
|
-
|
|
110
|
-
m as AlertDialog,
|
|
111
|
-
S as AlertDialogAction,
|
|
112
|
-
O as AlertDialogCancel,
|
|
113
|
-
R as AlertDialogContent,
|
|
114
|
-
P as AlertDialogDescription,
|
|
115
|
-
N as AlertDialogOverlay,
|
|
116
|
-
_ as AlertDialogPortal,
|
|
117
|
-
h as AlertDialogTitle,
|
|
118
|
-
y as AlertDialogTrigger,
|
|
119
|
-
pe as Cancel,
|
|
120
|
-
se as Content,
|
|
121
|
-
de as Description,
|
|
122
|
-
ne as Overlay,
|
|
123
|
-
le as Portal,
|
|
124
|
-
ae as Root,
|
|
125
|
-
ge as Title,
|
|
126
|
-
ie as Trigger
|
|
10
|
+
r as default
|
|
127
11
|
};
|