@moondreamsdev/dreamer-ui 1.7.10-test.104 → 1.7.10-test.105
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/{Toast-CqJh-fbM.js → Toast-Bbj0QhaH.js} +200 -198
- package/dist/Toast-Bbj0QhaH.js.map +1 -0
- package/dist/Toast-DN7jm0R6.cjs +2 -0
- package/dist/Toast-DN7jm0R6.cjs.map +1 -0
- package/dist/components.cjs.js +1 -1
- package/dist/components.esm.js +2 -2
- package/dist/providers.cjs.js +1 -1
- package/dist/providers.esm.js +1 -1
- package/package.json +1 -1
- package/dist/Toast-C9bQyRa0.cjs +0 -2
- package/dist/Toast-C9bQyRa0.cjs.map +0 -1
- package/dist/Toast-CqJh-fbM.js.map +0 -1
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { jsx as t, Fragment as S, jsxs as b } from "react/jsx-runtime";
|
|
2
|
-
import F, { createContext as
|
|
2
|
+
import F, { createContext as l, useId as q, useState as v, useEffect as p, useRef as H, useCallback as L, useMemo as E, useContext as T } from "react";
|
|
3
3
|
import { createPortal as P } from "react-dom";
|
|
4
4
|
import { X as $, C as K, E as V, I as X } from "./X-CIoyLewf.js";
|
|
5
5
|
import { j as Z } from "./join-BmgR_f4v.js";
|
|
6
|
-
function N(...
|
|
7
|
-
return
|
|
6
|
+
function N(...e) {
|
|
7
|
+
return e.filter((r) => typeof r == "string" && r).join(" ").trim() || void 0;
|
|
8
8
|
}
|
|
9
|
-
function _({ size:
|
|
9
|
+
function _({ size: e = 15, color: r = "currentColor", className: o = "inline", ...n }) {
|
|
10
10
|
return /* @__PURE__ */ t(
|
|
11
11
|
"svg",
|
|
12
12
|
{
|
|
13
13
|
...n,
|
|
14
|
-
width:
|
|
15
|
-
height:
|
|
14
|
+
width: e,
|
|
15
|
+
height: e,
|
|
16
16
|
className: o,
|
|
17
17
|
viewBox: "0 0 15 15",
|
|
18
18
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -28,124 +28,126 @@ function _({ size: l = 15, color: r = "currentColor", className: o = "inline", .
|
|
|
28
28
|
}
|
|
29
29
|
);
|
|
30
30
|
}
|
|
31
|
-
function y(...
|
|
32
|
-
return
|
|
31
|
+
function y(...e) {
|
|
32
|
+
return e.filter((r) => typeof r == "string" && r).join(" ").trim() || void 0;
|
|
33
33
|
}
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
34
|
+
l(void 0);
|
|
35
|
+
l(null);
|
|
36
|
+
l(null);
|
|
37
|
+
l(null);
|
|
38
|
+
l(null);
|
|
39
|
+
l(null);
|
|
40
|
+
l(null);
|
|
41
|
+
l(null);
|
|
42
|
+
l(null);
|
|
43
|
+
l(null);
|
|
44
|
+
l(null);
|
|
45
|
+
l(null);
|
|
46
|
+
l(null);
|
|
47
|
+
l(null);
|
|
48
|
+
l(null);
|
|
49
|
+
l(null);
|
|
50
|
+
l(void 0);
|
|
51
|
+
l(void 0);
|
|
52
|
+
l(null);
|
|
53
|
+
l(void 0);
|
|
54
|
+
l(void 0);
|
|
55
|
+
l(null);
|
|
56
|
+
l(null);
|
|
57
|
+
l(null);
|
|
58
|
+
l(null);
|
|
59
|
+
l(null);
|
|
60
|
+
l(null);
|
|
61
|
+
l(null);
|
|
62
|
+
l(null);
|
|
63
|
+
l(null);
|
|
64
|
+
l(null);
|
|
65
|
+
l(null);
|
|
66
|
+
l(null);
|
|
67
|
+
l(null);
|
|
68
|
+
l(null);
|
|
69
|
+
l(null);
|
|
70
|
+
l(null);
|
|
71
|
+
l(null);
|
|
72
|
+
l(null);
|
|
73
|
+
l(null);
|
|
74
|
+
l(null);
|
|
75
|
+
l(null);
|
|
76
|
+
l(null);
|
|
77
|
+
l(null);
|
|
78
|
+
l(null);
|
|
79
|
+
l(null);
|
|
80
|
+
l(null);
|
|
81
|
+
l(null);
|
|
82
|
+
l(null);
|
|
83
|
+
l(null);
|
|
84
|
+
l(null);
|
|
85
|
+
l(null);
|
|
86
|
+
l(null);
|
|
87
|
+
l(null);
|
|
88
|
+
l(null);
|
|
89
|
+
l(null);
|
|
90
|
+
l(null);
|
|
91
|
+
l(null);
|
|
92
|
+
l(null);
|
|
93
|
+
l(null);
|
|
94
|
+
l(null);
|
|
95
|
+
l(null);
|
|
96
|
+
l(null);
|
|
97
|
+
l(null);
|
|
98
|
+
l(null);
|
|
99
|
+
l(null);
|
|
100
|
+
l(null);
|
|
101
|
+
l(null);
|
|
102
|
+
l(null);
|
|
103
|
+
l(null);
|
|
104
|
+
l(null);
|
|
105
|
+
l(null);
|
|
106
|
+
l(null);
|
|
107
|
+
l(null);
|
|
108
|
+
l(null);
|
|
109
|
+
l(null);
|
|
110
|
+
l(null);
|
|
111
|
+
l(null);
|
|
112
|
+
l(null);
|
|
113
|
+
l(null);
|
|
114
|
+
l(null);
|
|
115
|
+
l(null);
|
|
116
|
+
l(null);
|
|
117
|
+
l(null);
|
|
118
|
+
l(null);
|
|
119
|
+
l(null);
|
|
120
|
+
l(null);
|
|
121
|
+
l(null);
|
|
122
|
+
l(null);
|
|
123
|
+
l(null);
|
|
124
|
+
l(null);
|
|
125
|
+
l(null);
|
|
126
|
+
l(null);
|
|
127
|
+
l(null);
|
|
128
|
+
l(null);
|
|
129
|
+
l(null);
|
|
130
|
+
l(null);
|
|
131
|
+
l(null);
|
|
132
|
+
l(null);
|
|
133
|
+
l(null);
|
|
134
|
+
l(null);
|
|
135
|
+
l(null);
|
|
136
|
+
l(null);
|
|
137
|
+
l(null);
|
|
138
|
+
l(null);
|
|
139
|
+
l(null);
|
|
140
|
+
l(null);
|
|
141
|
+
l(null);
|
|
142
|
+
l(null);
|
|
143
|
+
l(null);
|
|
144
|
+
l(null);
|
|
145
|
+
l(null);
|
|
146
|
+
l(null);
|
|
147
|
+
l(null);
|
|
148
|
+
l(null);
|
|
147
149
|
function G() {
|
|
148
|
-
const [
|
|
150
|
+
const [e, r] = v(0);
|
|
149
151
|
return p(() => {
|
|
150
152
|
const o = setInterval(() => {
|
|
151
153
|
r((n) => (n + 1) % 3);
|
|
@@ -156,7 +158,7 @@ function G() {
|
|
|
156
158
|
{
|
|
157
159
|
className: N(
|
|
158
160
|
"rounded-full transition-all duration-500 ease-in-out size-[0.35em] bg-current",
|
|
159
|
-
|
|
161
|
+
e === o && "transform -translate-y-1"
|
|
160
162
|
)
|
|
161
163
|
},
|
|
162
164
|
o
|
|
@@ -190,22 +192,22 @@ const J = {
|
|
|
190
192
|
rounded: "md"
|
|
191
193
|
};
|
|
192
194
|
function W({
|
|
193
|
-
variant:
|
|
195
|
+
variant: e = w.variant,
|
|
194
196
|
size: r,
|
|
195
197
|
rounded: o = w.rounded,
|
|
196
198
|
loading: n,
|
|
197
|
-
className:
|
|
199
|
+
className: u,
|
|
198
200
|
...a
|
|
199
201
|
}) {
|
|
200
|
-
let
|
|
201
|
-
|
|
202
|
+
let i;
|
|
203
|
+
e === "link" && !r ? i = "fitted" : i = r || w.size;
|
|
202
204
|
const s = N(
|
|
203
205
|
"appearance-none focus:outline-none focus:ring not-disabled:hover:cursor-pointer disabled:opacity-50 disabled:cursor-not-allowed transition-all",
|
|
204
|
-
J[
|
|
205
|
-
Q[
|
|
206
|
+
J[e],
|
|
207
|
+
Q[i],
|
|
206
208
|
U[o],
|
|
207
209
|
n && "relative pointer-events-none",
|
|
208
|
-
|
|
210
|
+
u
|
|
209
211
|
);
|
|
210
212
|
if (a.href && !a.disabled)
|
|
211
213
|
return /* @__PURE__ */ t(
|
|
@@ -238,57 +240,57 @@ function W({
|
|
|
238
240
|
}
|
|
239
241
|
);
|
|
240
242
|
}
|
|
241
|
-
function Y(
|
|
242
|
-
const [r, o] = v(!1), [n,
|
|
243
|
+
function Y(e) {
|
|
244
|
+
const [r, o] = v(!1), [n, u] = v(!1);
|
|
243
245
|
return p(() => {
|
|
244
|
-
|
|
245
|
-
}, [
|
|
246
|
+
e ? (u(!0), setTimeout(() => o(!0), 10)) : (o(!1), setTimeout(() => u(!1), 150));
|
|
247
|
+
}, [e]), { show: r, shouldRender: n };
|
|
246
248
|
}
|
|
247
|
-
function R(
|
|
249
|
+
function R(e, r) {
|
|
248
250
|
p(() => {
|
|
249
251
|
const o = (n) => {
|
|
250
|
-
n.key === "Escape" &&
|
|
252
|
+
n.key === "Escape" && e && r();
|
|
251
253
|
};
|
|
252
|
-
return document.addEventListener("keydown", o),
|
|
254
|
+
return document.addEventListener("keydown", o), e && (document.body.style.overflow = "hidden"), () => {
|
|
253
255
|
document.removeEventListener("keydown", o), document.body.style.overflow = "auto";
|
|
254
256
|
};
|
|
255
|
-
}, [
|
|
257
|
+
}, [e, r]);
|
|
256
258
|
}
|
|
257
|
-
function
|
|
259
|
+
function ll(e, r) {
|
|
258
260
|
const o = H(null), n = L(() => {
|
|
259
|
-
const
|
|
260
|
-
if (!
|
|
261
|
-
const a =
|
|
261
|
+
const u = document.getElementById(e);
|
|
262
|
+
if (!u) return;
|
|
263
|
+
const a = u.querySelectorAll('[data-modal-action="true"]');
|
|
262
264
|
if (a.length > 0) {
|
|
263
265
|
a[0].focus();
|
|
264
266
|
return;
|
|
265
267
|
}
|
|
266
|
-
const
|
|
268
|
+
const i = u.querySelectorAll(
|
|
267
269
|
'button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])'
|
|
268
270
|
);
|
|
269
|
-
if (
|
|
270
|
-
const s = Array.from(
|
|
271
|
+
if (i.length > 0) {
|
|
272
|
+
const s = Array.from(i).filter((d) => !(d instanceof HTMLButtonElement && d.getAttribute("data-modal-close-button") === "true"));
|
|
271
273
|
if (s.length > 0) {
|
|
272
274
|
s[0].focus();
|
|
273
275
|
return;
|
|
274
276
|
}
|
|
275
|
-
|
|
277
|
+
i[0].focus();
|
|
276
278
|
return;
|
|
277
279
|
}
|
|
278
|
-
|
|
279
|
-
}, [
|
|
280
|
+
u.focus();
|
|
281
|
+
}, [e]);
|
|
280
282
|
p(() => (r && (o.current = document.activeElement, n()), () => {
|
|
281
283
|
document.body.style.overflow = "auto", o.current instanceof HTMLElement && o.current.focus();
|
|
282
284
|
}), [r, n]);
|
|
283
285
|
}
|
|
284
|
-
function
|
|
285
|
-
id:
|
|
286
|
+
function el({
|
|
287
|
+
id: e,
|
|
286
288
|
isOpen: r,
|
|
287
289
|
onClose: o,
|
|
288
290
|
title: n,
|
|
289
|
-
children:
|
|
291
|
+
children: u,
|
|
290
292
|
contentOnly: a = !1,
|
|
291
|
-
className:
|
|
293
|
+
className: i,
|
|
292
294
|
overlayClassName: s,
|
|
293
295
|
hideCloseButton: d = !1,
|
|
294
296
|
actions: c = [],
|
|
@@ -296,8 +298,8 @@ function le({
|
|
|
296
298
|
ariaLabelledBy: f,
|
|
297
299
|
ariaDescribedBy: g
|
|
298
300
|
}) {
|
|
299
|
-
const h = q(), k =
|
|
300
|
-
if (
|
|
301
|
+
const h = q(), k = e || `modal-${h}`, C = e ? `${e}-title` : `modal-title-${h}`, { show: A, shouldRender: x } = Y(r);
|
|
302
|
+
if (ll(k, x), R(x, o), !x) return null;
|
|
301
303
|
const j = () => n ? F.isValidElement(n) ? /* @__PURE__ */ t("div", { className: "mb-4", children: n }) : /* @__PURE__ */ t("h2", { className: "mb-4 text-xl font-semibold", id: C, children: n }) : null, M = () => c.length === 0 ? null : /* @__PURE__ */ t("div", { className: "mt-6 not-sm:grid gap-y-2 sm:flex sm:justify-start sm:flex-row-reverse sm:gap-x-3", children: c.map((D, I) => {
|
|
302
304
|
const { label: B, ...O } = D;
|
|
303
305
|
return /* @__PURE__ */ t(W, { ...O, "data-modal-action": "true", children: B }, I);
|
|
@@ -321,7 +323,7 @@ function le({
|
|
|
321
323
|
}
|
|
322
324
|
}
|
|
323
325
|
),
|
|
324
|
-
a && /* @__PURE__ */ t("div", { className: y("relative w-fit",
|
|
326
|
+
a && /* @__PURE__ */ t("div", { className: y("relative w-fit", i), children: u }),
|
|
325
327
|
!a && /* @__PURE__ */ b(
|
|
326
328
|
"div",
|
|
327
329
|
{
|
|
@@ -330,7 +332,7 @@ function le({
|
|
|
330
332
|
className: y(
|
|
331
333
|
"relative w-full max-w-xl transform rounded-lg shadow-xl bg-popover text-popover-foreground transition-all p-6 focus:ring ease-in duration-75",
|
|
332
334
|
A ? "opacity-100 scale-100" : "opacity-0 scale-90",
|
|
333
|
-
|
|
335
|
+
i
|
|
334
336
|
),
|
|
335
337
|
children: [
|
|
336
338
|
!d && /* @__PURE__ */ t(
|
|
@@ -344,7 +346,7 @@ function le({
|
|
|
344
346
|
}
|
|
345
347
|
),
|
|
346
348
|
j(),
|
|
347
|
-
|
|
349
|
+
u,
|
|
348
350
|
M()
|
|
349
351
|
]
|
|
350
352
|
}
|
|
@@ -355,18 +357,18 @@ function le({
|
|
|
355
357
|
document.body
|
|
356
358
|
) });
|
|
357
359
|
}
|
|
358
|
-
function
|
|
359
|
-
type:
|
|
360
|
+
function sl({
|
|
361
|
+
type: e,
|
|
360
362
|
message: r,
|
|
361
363
|
cancelText: o,
|
|
362
364
|
confirmText: n,
|
|
363
|
-
onConfirm:
|
|
365
|
+
onConfirm: u,
|
|
364
366
|
onClose: a,
|
|
365
|
-
destructive:
|
|
367
|
+
destructive: i = !1,
|
|
366
368
|
title: s,
|
|
367
369
|
...d
|
|
368
370
|
}) {
|
|
369
|
-
const c = E(() =>
|
|
371
|
+
const c = E(() => e === "confirm" ? {
|
|
370
372
|
confirm: n || "Confirm",
|
|
371
373
|
cancel: o || "Cancel",
|
|
372
374
|
defaultTitle: s || "Confirm Action"
|
|
@@ -374,7 +376,7 @@ function se({
|
|
|
374
376
|
confirm: n || "OK",
|
|
375
377
|
cancel: null,
|
|
376
378
|
defaultTitle: s || "Alert"
|
|
377
|
-
}, [
|
|
379
|
+
}, [e, n, s, o]), m = E(
|
|
378
380
|
() => [
|
|
379
381
|
...c.cancel ? [
|
|
380
382
|
{
|
|
@@ -385,37 +387,37 @@ function se({
|
|
|
385
387
|
] : [],
|
|
386
388
|
{
|
|
387
389
|
label: c.confirm,
|
|
388
|
-
variant:
|
|
390
|
+
variant: i ? "destructive" : "primary",
|
|
389
391
|
onClick: () => {
|
|
390
|
-
|
|
392
|
+
u == null || u(), a();
|
|
391
393
|
}
|
|
392
394
|
}
|
|
393
395
|
],
|
|
394
|
-
[c,
|
|
396
|
+
[c, i, u, a]
|
|
395
397
|
);
|
|
396
398
|
return /* @__PURE__ */ t(
|
|
397
|
-
|
|
399
|
+
el,
|
|
398
400
|
{
|
|
399
401
|
...d,
|
|
400
402
|
title: s || c.defaultTitle,
|
|
401
403
|
onClose: a,
|
|
402
404
|
actions: m,
|
|
403
|
-
disableCloseOnOverlayClick:
|
|
404
|
-
hideCloseButton:
|
|
405
|
+
disableCloseOnOverlayClick: e === "confirm",
|
|
406
|
+
hideCloseButton: e === "confirm",
|
|
405
407
|
children: typeof r == "string" ? /* @__PURE__ */ t("p", { className: "text-sm", children: r }) : r
|
|
406
408
|
}
|
|
407
409
|
);
|
|
408
410
|
}
|
|
409
|
-
const
|
|
410
|
-
const
|
|
411
|
-
if (!
|
|
411
|
+
const nl = l(null), dl = () => {
|
|
412
|
+
const e = T(nl);
|
|
413
|
+
if (!e)
|
|
412
414
|
throw new Error("DropdownMenu components must be used within a DropdownMenu component");
|
|
413
|
-
return
|
|
414
|
-
},
|
|
415
|
-
const
|
|
416
|
-
if (!
|
|
415
|
+
return e;
|
|
416
|
+
}, tl = l(null), cl = () => {
|
|
417
|
+
const e = T(tl);
|
|
418
|
+
if (!e)
|
|
417
419
|
throw new Error("Tabs components must be used within a Tabs component");
|
|
418
|
-
return
|
|
420
|
+
return e;
|
|
419
421
|
}, z = {
|
|
420
422
|
info: {
|
|
421
423
|
className: "bg-blue-50 border-blue-200 text-blue-900 dark:bg-blue-800 dark:border-blue-950 dark:text-blue-100",
|
|
@@ -430,22 +432,22 @@ const ne = e(null), de = () => {
|
|
|
430
432
|
icon: /* @__PURE__ */ t(K, { size: 20 })
|
|
431
433
|
}
|
|
432
434
|
};
|
|
433
|
-
function
|
|
434
|
-
id:
|
|
435
|
+
function ml({
|
|
436
|
+
id: e,
|
|
435
437
|
title: r,
|
|
436
438
|
description: o,
|
|
437
439
|
type: n = "info",
|
|
438
|
-
action:
|
|
440
|
+
action: u,
|
|
439
441
|
duration: a = 5e3,
|
|
440
|
-
onRemove:
|
|
442
|
+
onRemove: i,
|
|
441
443
|
customTypes: s,
|
|
442
444
|
customComponent: d
|
|
443
445
|
}) {
|
|
444
446
|
const [c, m] = v(!1), f = L(() => {
|
|
445
447
|
m(!0), setTimeout(() => {
|
|
446
|
-
|
|
448
|
+
i == null || i(e);
|
|
447
449
|
}, 150);
|
|
448
|
-
}, [
|
|
450
|
+
}, [e, i]);
|
|
449
451
|
if (p(() => {
|
|
450
452
|
if (a > 0) {
|
|
451
453
|
const h = setTimeout(() => {
|
|
@@ -453,17 +455,17 @@ function me({
|
|
|
453
455
|
}, a);
|
|
454
456
|
return () => clearTimeout(h);
|
|
455
457
|
}
|
|
456
|
-
}, [a,
|
|
458
|
+
}, [a, e, i, f]), d)
|
|
457
459
|
return /* @__PURE__ */ t(
|
|
458
460
|
d,
|
|
459
461
|
{
|
|
460
|
-
id:
|
|
462
|
+
id: e,
|
|
461
463
|
title: r,
|
|
462
464
|
description: o,
|
|
463
465
|
type: n,
|
|
464
|
-
action:
|
|
466
|
+
action: u,
|
|
465
467
|
duration: a,
|
|
466
|
-
onRemove:
|
|
468
|
+
onRemove: i
|
|
467
469
|
}
|
|
468
470
|
);
|
|
469
471
|
const g = (s == null ? void 0 : s[n]) || z[n] || z.info;
|
|
@@ -474,7 +476,7 @@ function me({
|
|
|
474
476
|
"aria-live": n === "error" ? void 0 : "polite",
|
|
475
477
|
className: Z(
|
|
476
478
|
"relative flex items-start p-4 rounded-lg border shadow-lg transition-all duration-150 ease-in-out",
|
|
477
|
-
|
|
479
|
+
u && "pb-3",
|
|
478
480
|
g.className,
|
|
479
481
|
c ? "opacity-0 translate-x-full" : "opacity-100 translate-x-0"
|
|
480
482
|
),
|
|
@@ -483,12 +485,12 @@ function me({
|
|
|
483
485
|
/* @__PURE__ */ b("div", { className: "flex-grow min-w-0", children: [
|
|
484
486
|
/* @__PURE__ */ t("div", { className: "font-medium text-sm leading-5", children: r }),
|
|
485
487
|
o && /* @__PURE__ */ t("div", { className: "mt-1 text-sm opacity-90 leading-5", children: o }),
|
|
486
|
-
|
|
488
|
+
u && /* @__PURE__ */ t("div", { className: "mt-1.5", children: /* @__PURE__ */ t(
|
|
487
489
|
"button",
|
|
488
490
|
{
|
|
489
|
-
onClick:
|
|
491
|
+
onClick: u.onClick,
|
|
490
492
|
className: "text-sm font-medium underline hover:no-underline focus:outline-none focus:ring-1 focus:ring-current rounded px-1 py-0.5 hover:cursor-pointer",
|
|
491
|
-
children:
|
|
493
|
+
children: u.label
|
|
492
494
|
}
|
|
493
495
|
) })
|
|
494
496
|
] }),
|
|
@@ -505,12 +507,12 @@ function me({
|
|
|
505
507
|
);
|
|
506
508
|
}
|
|
507
509
|
export {
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
510
|
+
sl as A,
|
|
511
|
+
nl as D,
|
|
512
|
+
ml as T,
|
|
513
|
+
tl as a,
|
|
514
|
+
cl as b,
|
|
513
515
|
N as n,
|
|
514
|
-
|
|
516
|
+
dl as u
|
|
515
517
|
};
|
|
516
|
-
//# sourceMappingURL=Toast-
|
|
518
|
+
//# sourceMappingURL=Toast-Bbj0QhaH.js.map
|