@equal-experts/kuat-react 0.9.2 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/carousel-B_FcJvc1.js +1431 -0
- package/dist/carousel.d.ts +1 -1
- package/dist/carousel.js +1 -1
- package/dist/components/ui/carousel/carousel.d.ts +12 -0
- package/dist/components/ui/carousel/index.d.ts +1 -1
- package/dist/components/ui/content-card/content-card.d.ts +4 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +256 -245
- package/dist/{kuat-carousel-DsHwXGpb.js → kuat-carousel-DUR-L0dP.js} +1 -1
- package/dist/kuat-carousel.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/carousel-vRCoMeVE.js +0 -1401
package/dist/index.js
CHANGED
|
@@ -1,95 +1,106 @@
|
|
|
1
1
|
import { c as s } from "./utils-DLUjLwnh.js";
|
|
2
|
-
import { S as
|
|
3
|
-
import { d as
|
|
4
|
-
import { jsxs as n, jsx as e, Fragment as
|
|
2
|
+
import { S as M } from "./button-group-enIzvVeN.js";
|
|
3
|
+
import { d as Ne, B as _e, a as He, b as we, c as Se } from "./button-group-enIzvVeN.js";
|
|
4
|
+
import { jsxs as n, jsx as e, Fragment as S } from "react/jsx-runtime";
|
|
5
5
|
import * as t from "react";
|
|
6
|
-
import { C as
|
|
7
|
-
import { K as
|
|
8
|
-
import { b as
|
|
9
|
-
import { A as
|
|
10
|
-
import { A as
|
|
11
|
-
import { c as
|
|
12
|
-
import { ChevronRight as
|
|
6
|
+
import { C as Ve, a as ke, b as Ee, d as Re, c as Ae, u as ve } from "./carousel-B_FcJvc1.js";
|
|
7
|
+
import { K as ye, a as Te, b as De, d as xe, c as Me, u as Be } from "./kuat-carousel-DUR-L0dP.js";
|
|
8
|
+
import { b as Ze, a as Ke, K as Fe } from "./kuat-radial-progress-YcpYzHjk.js";
|
|
9
|
+
import { A as Ge, c as Ue, a as $e, b as je } from "./accordion-CUlVo4uo.js";
|
|
10
|
+
import { A as Ye, i as qe, j as ze, d as Je, h as Qe, f as We, e as ea, b as aa, a as ra, g as la, c as oa } from "./alert-dialog-yHaNWLGX.js";
|
|
11
|
+
import { c as na, a as sa, B as da, b as ca } from "./badge-BZgdEQSD.js";
|
|
12
|
+
import { ChevronRight as B, MoreHorizontal as j, ChevronDown as X } from "lucide-react";
|
|
13
13
|
import * as c from "@radix-ui/react-dropdown-menu";
|
|
14
|
-
import { d as
|
|
15
|
-
import { a as
|
|
16
|
-
import { a as
|
|
17
|
-
import { j as
|
|
18
|
-
import { K as
|
|
19
|
-
import { b as
|
|
20
|
-
import { c as
|
|
21
|
-
import { b as
|
|
22
|
-
import { a as
|
|
23
|
-
import { a as
|
|
24
|
-
const
|
|
14
|
+
import { d as ua, c as ma, a as ha, B as pa, b as fa } from "./button-C0a1gFoV.js";
|
|
15
|
+
import { a as ga, T as ba } from "./textarea-B0irOcAM.js";
|
|
16
|
+
import { a as _a, I as Ha } from "./input-DmkHok33.js";
|
|
17
|
+
import { j as Sa, F as La, a as Va, b as ka, c as Ea, d as Ra, e as Aa, f as va, g as Ia, h as ya, i as Ta } from "./field-CpIBifwy.js";
|
|
18
|
+
import { K as xa, j as Ma, k as Ba, S as Oa, a as Za, b as Ka, c as Fa, d as Pa, e as Ga, f as Ua, g as $a, h as ja, i as Xa } from "./select-CkwcI4vN.js";
|
|
19
|
+
import { b as qa, c as za, C as Ja, a as Qa } from "./checkbox-field-7OmstdY0.js";
|
|
20
|
+
import { c as er, d as ar, b as rr, R as lr, a as or } from "./radio-field-BD77QCpO.js";
|
|
21
|
+
import { b as nr, c as sr, S as dr, a as cr } from "./switch-field-xn_CPJH7.js";
|
|
22
|
+
import { a as ur, b as mr, T as hr, c as pr, d as fr } from "./constants-Cfitvm6L.js";
|
|
23
|
+
import { a as gr, S as br, b as Nr, t as _r } from "./sonner-content-CXBD6jNn.js";
|
|
24
|
+
const me = t.forwardRef(function({
|
|
25
25
|
className: r,
|
|
26
26
|
asChild: l = !1,
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
27
|
+
width: o = "default",
|
|
28
|
+
maxWidth: d = "373px",
|
|
29
|
+
imageSrc: u = null,
|
|
30
|
+
imageAlt: i = "",
|
|
31
|
+
contentText: f = null,
|
|
32
|
+
headerAccessory: p = null,
|
|
31
33
|
customContent: C = null,
|
|
32
|
-
footer:
|
|
34
|
+
footer: N = null,
|
|
33
35
|
badge: g,
|
|
34
|
-
category:
|
|
35
|
-
title:
|
|
36
|
-
titleHeadingLevel:
|
|
37
|
-
children:
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
36
|
+
category: m,
|
|
37
|
+
title: h,
|
|
38
|
+
titleHeadingLevel: L = 3,
|
|
39
|
+
children: y,
|
|
40
|
+
style: _,
|
|
41
|
+
...b
|
|
42
|
+
}, H) {
|
|
43
|
+
const $ = `h${L}`, T = o === "fluid" ? "content-card--width-fluid" : o === "custom" ? "content-card--width-custom" : "content-card--width-default", V = o === "custom" ? {
|
|
44
|
+
..._ ?? {},
|
|
45
|
+
"--content-card-max-width": typeof d == "number" ? `${d}px` : d ?? "373px"
|
|
46
|
+
} : _, D = /* @__PURE__ */ n(S, { children: [
|
|
47
|
+
u !== null ? /* @__PURE__ */ e("div", { className: "content-card__media", children: /* @__PURE__ */ e("img", { className: "content-card__media-img", alt: i, src: u }) }) : null,
|
|
42
48
|
/* @__PURE__ */ n("div", { className: "content-card__body", children: [
|
|
43
49
|
/* @__PURE__ */ n("div", { className: "content-card__heading-row", children: [
|
|
44
50
|
/* @__PURE__ */ n("div", { className: "content-card__heading-left", children: [
|
|
45
51
|
/* @__PURE__ */ n("div", { className: "content-card__heading-meta", children: [
|
|
46
52
|
/* @__PURE__ */ e("div", { "data-slot": "badge", className: "content-card__badge", children: g }),
|
|
47
|
-
/* @__PURE__ */ e("p", { className: "content-card__category", children:
|
|
53
|
+
/* @__PURE__ */ e("p", { className: "content-card__category", children: m })
|
|
48
54
|
] }),
|
|
49
|
-
/* @__PURE__ */ e(
|
|
55
|
+
/* @__PURE__ */ e($, { className: "content-card__title", children: h })
|
|
50
56
|
] }),
|
|
51
57
|
/* @__PURE__ */ e(
|
|
52
58
|
"div",
|
|
53
59
|
{
|
|
54
60
|
"data-slot": "header-accessory",
|
|
55
61
|
className: "content-card__header-accessory",
|
|
56
|
-
children:
|
|
62
|
+
children: p ?? null
|
|
57
63
|
}
|
|
58
64
|
)
|
|
59
65
|
] }),
|
|
60
|
-
|
|
66
|
+
f != null ? /* @__PURE__ */ e("div", { "data-slot": "content", className: "content-card__content", children: /* @__PURE__ */ e("p", { className: "content-card__content-text", children: f }) }) : null,
|
|
61
67
|
/* @__PURE__ */ e("div", { "data-slot": "custom-content", className: "content-card__custom-content", children: C ?? null }),
|
|
62
|
-
/* @__PURE__ */ e("div", { "data-slot": "footer", className: "content-card__footer", children:
|
|
68
|
+
/* @__PURE__ */ e("div", { "data-slot": "footer", className: "content-card__footer", children: N ?? null })
|
|
63
69
|
] })
|
|
64
70
|
] });
|
|
65
71
|
if (l) {
|
|
66
|
-
const
|
|
67
|
-
if (!t.isValidElement(
|
|
72
|
+
const x = t.Children.only(y);
|
|
73
|
+
if (!t.isValidElement(x))
|
|
68
74
|
throw new Error("ContentCard: when `asChild` is true, provide a single React element child.");
|
|
69
|
-
const
|
|
75
|
+
const w = x;
|
|
70
76
|
return t.cloneElement(
|
|
71
|
-
|
|
77
|
+
w,
|
|
72
78
|
{
|
|
73
|
-
...
|
|
74
|
-
ref:
|
|
79
|
+
...b,
|
|
80
|
+
ref: H,
|
|
75
81
|
"data-slot": "content-card",
|
|
76
|
-
className: s("content-card",
|
|
82
|
+
className: s("content-card", T, w.props.className, r),
|
|
83
|
+
style: o === "custom" ? {
|
|
84
|
+
...w.props.style ?? {},
|
|
85
|
+
...V
|
|
86
|
+
} : V ?? w.props.style
|
|
77
87
|
},
|
|
78
|
-
|
|
88
|
+
D
|
|
79
89
|
);
|
|
80
90
|
}
|
|
81
91
|
return /* @__PURE__ */ e(
|
|
82
92
|
"div",
|
|
83
93
|
{
|
|
84
|
-
ref:
|
|
94
|
+
ref: H,
|
|
85
95
|
"data-slot": "content-card",
|
|
86
|
-
className: s("content-card", r),
|
|
87
|
-
|
|
88
|
-
|
|
96
|
+
className: s("content-card", T, r),
|
|
97
|
+
style: V,
|
|
98
|
+
...b,
|
|
99
|
+
children: D
|
|
89
100
|
}
|
|
90
101
|
);
|
|
91
102
|
});
|
|
92
|
-
function
|
|
103
|
+
function k({ className: a, textColor: r = "grey" }) {
|
|
93
104
|
return /* @__PURE__ */ n(
|
|
94
105
|
"svg",
|
|
95
106
|
{
|
|
@@ -126,7 +137,7 @@ function V({ className: a, textColor: r = "grey" }) {
|
|
|
126
137
|
}
|
|
127
138
|
);
|
|
128
139
|
}
|
|
129
|
-
const
|
|
140
|
+
const Y = t.forwardRef(
|
|
130
141
|
({
|
|
131
142
|
className: a,
|
|
132
143
|
variant: r = "default",
|
|
@@ -135,19 +146,19 @@ const G = t.forwardRef(
|
|
|
135
146
|
navigation: d,
|
|
136
147
|
actions: u,
|
|
137
148
|
mobileMenuTrigger: i,
|
|
138
|
-
mobileMenu:
|
|
149
|
+
mobileMenu: f,
|
|
139
150
|
hideLogo: p,
|
|
140
|
-
children:
|
|
151
|
+
children: C,
|
|
141
152
|
...N
|
|
142
|
-
},
|
|
153
|
+
}, g) => {
|
|
143
154
|
const m = l !== void 0 ? l : !p && /* @__PURE__ */ e(
|
|
144
|
-
|
|
155
|
+
k,
|
|
145
156
|
{
|
|
146
157
|
className: "ee-logo--desktop shrink-0",
|
|
147
158
|
textColor: r === "bold" ? "white" : "grey"
|
|
148
159
|
}
|
|
149
160
|
), h = l !== void 0 ? l : !p && /* @__PURE__ */ e(
|
|
150
|
-
|
|
161
|
+
k,
|
|
151
162
|
{
|
|
152
163
|
className: "ee-logo--mobile shrink-0",
|
|
153
164
|
textColor: r === "bold" ? "white" : "grey"
|
|
@@ -156,7 +167,7 @@ const G = t.forwardRef(
|
|
|
156
167
|
return /* @__PURE__ */ n(
|
|
157
168
|
"header",
|
|
158
169
|
{
|
|
159
|
-
ref:
|
|
170
|
+
ref: g,
|
|
160
171
|
className: s(
|
|
161
172
|
"kuat-header",
|
|
162
173
|
`kuat-header--${r}`,
|
|
@@ -166,10 +177,10 @@ const G = t.forwardRef(
|
|
|
166
177
|
children: [
|
|
167
178
|
/* @__PURE__ */ n("div", { className: "kuat-header__desktop", children: [
|
|
168
179
|
/* @__PURE__ */ n("div", { className: "kuat-header__desktop-left", children: [
|
|
169
|
-
m && /* @__PURE__ */ n(
|
|
180
|
+
m && /* @__PURE__ */ n(S, { children: [
|
|
170
181
|
/* @__PURE__ */ e("div", { className: "shrink-0", children: m }),
|
|
171
182
|
/* @__PURE__ */ e(
|
|
172
|
-
|
|
183
|
+
M,
|
|
173
184
|
{
|
|
174
185
|
orientation: "vertical",
|
|
175
186
|
className: "kuat-header__separator"
|
|
@@ -190,19 +201,19 @@ const G = t.forwardRef(
|
|
|
190
201
|
] }),
|
|
191
202
|
i && /* @__PURE__ */ e("div", { className: "shrink-0", children: i })
|
|
192
203
|
] }),
|
|
193
|
-
|
|
194
|
-
|
|
204
|
+
f,
|
|
205
|
+
C
|
|
195
206
|
]
|
|
196
207
|
}
|
|
197
208
|
);
|
|
198
209
|
}
|
|
199
210
|
);
|
|
200
|
-
|
|
201
|
-
function
|
|
211
|
+
Y.displayName = "KuatHeader";
|
|
212
|
+
function he(a) {
|
|
202
213
|
const r = (a == null ? void 0 : a.variant) ?? "default";
|
|
203
214
|
return s("kuat-header", `kuat-header--${r}`);
|
|
204
215
|
}
|
|
205
|
-
const
|
|
216
|
+
const pe = ["service", "demo"], fe = ["light", "dark"], q = t.forwardRef(
|
|
206
217
|
({
|
|
207
218
|
className: a,
|
|
208
219
|
title: r,
|
|
@@ -211,14 +222,14 @@ const ce = ["service", "demo"], ie = ["light", "dark"], U = t.forwardRef(
|
|
|
211
222
|
forceDark: d = !1,
|
|
212
223
|
...u
|
|
213
224
|
}, i) => {
|
|
214
|
-
const
|
|
215
|
-
|
|
225
|
+
const f = d ? "dark" : o, p = /* @__PURE__ */ e(
|
|
226
|
+
k,
|
|
216
227
|
{
|
|
217
228
|
className: s(
|
|
218
229
|
"kuat-logo-lockup__logo",
|
|
219
230
|
l === "demo" && "kuat-logo-lockup__logo--demo"
|
|
220
231
|
),
|
|
221
|
-
textColor:
|
|
232
|
+
textColor: f === "dark" ? "white" : "grey"
|
|
222
233
|
}
|
|
223
234
|
);
|
|
224
235
|
return /* @__PURE__ */ e(
|
|
@@ -227,7 +238,7 @@ const ce = ["service", "demo"], ie = ["light", "dark"], U = t.forwardRef(
|
|
|
227
238
|
ref: i,
|
|
228
239
|
className: s(
|
|
229
240
|
"kuat-logo-lockup",
|
|
230
|
-
`kuat-logo-lockup--${
|
|
241
|
+
`kuat-logo-lockup--${f}`,
|
|
231
242
|
`kuat-logo-lockup--${l}`,
|
|
232
243
|
a
|
|
233
244
|
),
|
|
@@ -235,14 +246,14 @@ const ce = ["service", "demo"], ie = ["light", "dark"], U = t.forwardRef(
|
|
|
235
246
|
children: l === "service" ? /* @__PURE__ */ n("div", { className: "kuat-logo-lockup__service-inner", children: [
|
|
236
247
|
/* @__PURE__ */ e("div", { className: "kuat-logo-lockup__logo-wrap", children: p }),
|
|
237
248
|
/* @__PURE__ */ e(
|
|
238
|
-
|
|
249
|
+
M,
|
|
239
250
|
{
|
|
240
251
|
orientation: "vertical",
|
|
241
252
|
className: "kuat-logo-lockup__separator"
|
|
242
253
|
}
|
|
243
254
|
),
|
|
244
255
|
/* @__PURE__ */ e("span", { className: "kuat-logo-lockup__service-name", children: r })
|
|
245
|
-
] }) : /* @__PURE__ */ n(
|
|
256
|
+
] }) : /* @__PURE__ */ n(S, { children: [
|
|
246
257
|
/* @__PURE__ */ e("h2", { className: "kuat-logo-lockup__demo-title", children: r }),
|
|
247
258
|
/* @__PURE__ */ n("div", { className: "kuat-logo-lockup__demo-attribution", children: [
|
|
248
259
|
/* @__PURE__ */ e("span", { className: "kuat-logo-lockup__demo-by", children: "A demo by" }),
|
|
@@ -253,8 +264,8 @@ const ce = ["service", "demo"], ie = ["light", "dark"], U = t.forwardRef(
|
|
|
253
264
|
);
|
|
254
265
|
}
|
|
255
266
|
);
|
|
256
|
-
|
|
257
|
-
function
|
|
267
|
+
q.displayName = "KuatLogoLockup";
|
|
268
|
+
function Ce({ className: a }) {
|
|
258
269
|
return /* @__PURE__ */ n(
|
|
259
270
|
"svg",
|
|
260
271
|
{
|
|
@@ -296,7 +307,7 @@ function ue({ className: a }) {
|
|
|
296
307
|
}
|
|
297
308
|
);
|
|
298
309
|
}
|
|
299
|
-
const
|
|
310
|
+
const O = t.forwardRef(({ className: a, "aria-label": r = "Breadcrumb", ...l }, o) => /* @__PURE__ */ e(
|
|
300
311
|
"nav",
|
|
301
312
|
{
|
|
302
313
|
ref: o,
|
|
@@ -305,12 +316,12 @@ const y = t.forwardRef(({ className: a, "aria-label": r = "Breadcrumb", ...l },
|
|
|
305
316
|
...l
|
|
306
317
|
}
|
|
307
318
|
));
|
|
308
|
-
|
|
309
|
-
const
|
|
310
|
-
|
|
311
|
-
const
|
|
312
|
-
|
|
313
|
-
const
|
|
319
|
+
O.displayName = "BreadcrumbRoot";
|
|
320
|
+
const Z = t.forwardRef(({ className: a, ...r }, l) => /* @__PURE__ */ e("ol", { ref: l, className: s("breadcrumb-list", a), ...r }));
|
|
321
|
+
Z.displayName = "BreadcrumbList";
|
|
322
|
+
const E = t.forwardRef(({ className: a, ...r }, l) => /* @__PURE__ */ e("li", { ref: l, className: s("breadcrumb-item", a), ...r }));
|
|
323
|
+
E.displayName = "BreadcrumbItem";
|
|
324
|
+
const K = t.forwardRef(({ className: a, render: r, asChild: l = !1, ...o }, d) => {
|
|
314
325
|
var u;
|
|
315
326
|
if (r) {
|
|
316
327
|
const i = r.props;
|
|
@@ -337,8 +348,8 @@ const M = t.forwardRef(({ className: a, render: r, asChild: l = !1, ...o }, d) =
|
|
|
337
348
|
}
|
|
338
349
|
);
|
|
339
350
|
});
|
|
340
|
-
|
|
341
|
-
const
|
|
351
|
+
K.displayName = "BreadcrumbLink";
|
|
352
|
+
const R = t.forwardRef(({ className: a, ...r }, l) => /* @__PURE__ */ e(
|
|
342
353
|
"span",
|
|
343
354
|
{
|
|
344
355
|
ref: l,
|
|
@@ -349,8 +360,8 @@ const E = t.forwardRef(({ className: a, ...r }, l) => /* @__PURE__ */ e(
|
|
|
349
360
|
...r
|
|
350
361
|
}
|
|
351
362
|
));
|
|
352
|
-
|
|
353
|
-
const
|
|
363
|
+
R.displayName = "BreadcrumbPage";
|
|
364
|
+
const A = t.forwardRef(({ className: a, children: r, ...l }, o) => /* @__PURE__ */ e(
|
|
354
365
|
"span",
|
|
355
366
|
{
|
|
356
367
|
ref: o,
|
|
@@ -358,11 +369,11 @@ const R = t.forwardRef(({ className: a, children: r, ...l }, o) => /* @__PURE__
|
|
|
358
369
|
"aria-hidden": "true",
|
|
359
370
|
className: s("breadcrumb-separator", a),
|
|
360
371
|
...l,
|
|
361
|
-
children: r ?? /* @__PURE__ */ e(
|
|
372
|
+
children: r ?? /* @__PURE__ */ e(B, { className: "breadcrumb-separator__icon" })
|
|
362
373
|
}
|
|
363
374
|
));
|
|
364
|
-
|
|
365
|
-
const
|
|
375
|
+
A.displayName = "BreadcrumbSeparator";
|
|
376
|
+
const F = t.forwardRef(({ className: a, ...r }, l) => /* @__PURE__ */ e(
|
|
366
377
|
"span",
|
|
367
378
|
{
|
|
368
379
|
ref: l,
|
|
@@ -370,11 +381,11 @@ const B = t.forwardRef(({ className: a, ...r }, l) => /* @__PURE__ */ e(
|
|
|
370
381
|
"aria-hidden": "true",
|
|
371
382
|
className: s("breadcrumb-ellipsis", a),
|
|
372
383
|
...r,
|
|
373
|
-
children: /* @__PURE__ */ e(
|
|
384
|
+
children: /* @__PURE__ */ e(j, { className: "breadcrumb-ellipsis__icon" })
|
|
374
385
|
}
|
|
375
386
|
));
|
|
376
|
-
|
|
377
|
-
const
|
|
387
|
+
F.displayName = "BreadcrumbEllipsis";
|
|
388
|
+
const P = c.Root, G = c.Trigger, U = c.Group, z = t.forwardRef(({ className: a, inset: r, children: l, ...o }, d) => /* @__PURE__ */ n(
|
|
378
389
|
c.SubTrigger,
|
|
379
390
|
{
|
|
380
391
|
ref: d,
|
|
@@ -386,12 +397,12 @@ const O = c.Root, Z = c.Trigger, K = c.Group, $ = t.forwardRef(({ className: a,
|
|
|
386
397
|
...o,
|
|
387
398
|
children: [
|
|
388
399
|
l,
|
|
389
|
-
/* @__PURE__ */ e(
|
|
400
|
+
/* @__PURE__ */ e(B, { className: "dropdown-menu-sub-trigger__icon" })
|
|
390
401
|
]
|
|
391
402
|
}
|
|
392
403
|
));
|
|
393
|
-
|
|
394
|
-
const
|
|
404
|
+
z.displayName = c.SubTrigger.displayName;
|
|
405
|
+
const J = t.forwardRef(({ className: a, ...r }, l) => /* @__PURE__ */ e(
|
|
395
406
|
c.SubContent,
|
|
396
407
|
{
|
|
397
408
|
ref: l,
|
|
@@ -399,8 +410,8 @@ const j = t.forwardRef(({ className: a, ...r }, l) => /* @__PURE__ */ e(
|
|
|
399
410
|
...r
|
|
400
411
|
}
|
|
401
412
|
));
|
|
402
|
-
|
|
403
|
-
const
|
|
413
|
+
J.displayName = c.SubContent.displayName;
|
|
414
|
+
const v = t.forwardRef(({ className: a, sideOffset: r = 4, ...l }, o) => /* @__PURE__ */ e(c.Portal, { children: /* @__PURE__ */ e(
|
|
404
415
|
c.Content,
|
|
405
416
|
{
|
|
406
417
|
ref: o,
|
|
@@ -409,7 +420,7 @@ const A = t.forwardRef(({ className: a, sideOffset: r = 4, ...l }, o) => /* @__P
|
|
|
409
420
|
...l
|
|
410
421
|
}
|
|
411
422
|
) }));
|
|
412
|
-
|
|
423
|
+
v.displayName = c.Content.displayName;
|
|
413
424
|
const I = t.forwardRef(({ className: a, inset: r, ...l }, o) => /* @__PURE__ */ e(
|
|
414
425
|
c.Item,
|
|
415
426
|
{
|
|
@@ -423,7 +434,7 @@ const I = t.forwardRef(({ className: a, inset: r, ...l }, o) => /* @__PURE__ */
|
|
|
423
434
|
}
|
|
424
435
|
));
|
|
425
436
|
I.displayName = c.Item.displayName;
|
|
426
|
-
const
|
|
437
|
+
const Q = t.forwardRef(({ className: a, children: r, checked: l, ...o }, d) => /* @__PURE__ */ e(
|
|
427
438
|
c.CheckboxItem,
|
|
428
439
|
{
|
|
429
440
|
ref: d,
|
|
@@ -433,8 +444,8 @@ const X = t.forwardRef(({ className: a, children: r, checked: l, ...o }, d) => /
|
|
|
433
444
|
children: r
|
|
434
445
|
}
|
|
435
446
|
));
|
|
436
|
-
|
|
437
|
-
const
|
|
447
|
+
Q.displayName = c.CheckboxItem.displayName;
|
|
448
|
+
const W = t.forwardRef(({ className: a, children: r, ...l }, o) => /* @__PURE__ */ e(
|
|
438
449
|
c.RadioItem,
|
|
439
450
|
{
|
|
440
451
|
ref: o,
|
|
@@ -443,8 +454,8 @@ const Y = t.forwardRef(({ className: a, children: r, ...l }, o) => /* @__PURE__
|
|
|
443
454
|
children: r
|
|
444
455
|
}
|
|
445
456
|
));
|
|
446
|
-
|
|
447
|
-
const
|
|
457
|
+
W.displayName = c.RadioItem.displayName;
|
|
458
|
+
const ee = t.forwardRef(({ className: a, inset: r, ...l }, o) => /* @__PURE__ */ e(
|
|
448
459
|
c.Label,
|
|
449
460
|
{
|
|
450
461
|
ref: o,
|
|
@@ -456,8 +467,8 @@ const q = t.forwardRef(({ className: a, inset: r, ...l }, o) => /* @__PURE__ */
|
|
|
456
467
|
...l
|
|
457
468
|
}
|
|
458
469
|
));
|
|
459
|
-
|
|
460
|
-
const
|
|
470
|
+
ee.displayName = c.Label.displayName;
|
|
471
|
+
const ae = t.forwardRef(({ className: a, ...r }, l) => /* @__PURE__ */ e(
|
|
461
472
|
c.Separator,
|
|
462
473
|
{
|
|
463
474
|
ref: l,
|
|
@@ -465,9 +476,9 @@ const W = t.forwardRef(({ className: a, ...r }, l) => /* @__PURE__ */ e(
|
|
|
465
476
|
...r
|
|
466
477
|
}
|
|
467
478
|
));
|
|
468
|
-
|
|
469
|
-
const
|
|
470
|
-
function
|
|
479
|
+
ae.displayName = c.Separator.displayName;
|
|
480
|
+
const re = 640;
|
|
481
|
+
function le(a = re) {
|
|
471
482
|
const [r, l] = t.useState(!1);
|
|
472
483
|
return t.useEffect(() => {
|
|
473
484
|
if (typeof window > "u" || typeof window.matchMedia != "function")
|
|
@@ -476,10 +487,10 @@ function J(a = z) {
|
|
|
476
487
|
return d(), o.addEventListener("change", d), () => o.removeEventListener("change", d);
|
|
477
488
|
}, [a]), r;
|
|
478
489
|
}
|
|
479
|
-
const
|
|
480
|
-
function
|
|
481
|
-
return a.children && a.children.length > 0 ? /* @__PURE__ */ n(
|
|
482
|
-
/* @__PURE__ */ e(
|
|
490
|
+
const oe = ({ href: a, children: r, className: l }) => /* @__PURE__ */ e("a", { href: a, className: l, children: r });
|
|
491
|
+
function te(a, r, l, o) {
|
|
492
|
+
return a.children && a.children.length > 0 ? /* @__PURE__ */ n(P, { children: [
|
|
493
|
+
/* @__PURE__ */ e(G, { asChild: !0, children: /* @__PURE__ */ n(
|
|
483
494
|
"button",
|
|
484
495
|
{
|
|
485
496
|
type: "button",
|
|
@@ -491,7 +502,7 @@ function ee(a, r, l, o) {
|
|
|
491
502
|
children: [
|
|
492
503
|
a.label,
|
|
493
504
|
/* @__PURE__ */ e(
|
|
494
|
-
|
|
505
|
+
X,
|
|
495
506
|
{
|
|
496
507
|
className: "breadcrumb-dropdown-trigger__icon",
|
|
497
508
|
"aria-hidden": !0
|
|
@@ -501,41 +512,41 @@ function ee(a, r, l, o) {
|
|
|
501
512
|
]
|
|
502
513
|
}
|
|
503
514
|
) }),
|
|
504
|
-
/* @__PURE__ */ e(
|
|
505
|
-
] }) : r ? /* @__PURE__ */ e(
|
|
506
|
-
|
|
515
|
+
/* @__PURE__ */ e(v, { align: "start", children: /* @__PURE__ */ e(U, { children: a.children.map((u, i) => /* @__PURE__ */ e(I, { asChild: !0, children: /* @__PURE__ */ e("a", { href: u.href, children: u.label }) }, i)) }) })
|
|
516
|
+
] }) : r ? /* @__PURE__ */ e(R, { children: a.label }) : a.href ? /* @__PURE__ */ e(
|
|
517
|
+
K,
|
|
507
518
|
{
|
|
508
519
|
render: /* @__PURE__ */ e(l, { href: a.href, children: a.label })
|
|
509
520
|
}
|
|
510
|
-
) : /* @__PURE__ */ e(
|
|
521
|
+
) : /* @__PURE__ */ e(R, { children: a.label });
|
|
511
522
|
}
|
|
512
|
-
function
|
|
523
|
+
function ne({
|
|
513
524
|
items: a,
|
|
514
|
-
linkComponent: r =
|
|
525
|
+
linkComponent: r = oe,
|
|
515
526
|
separator: l,
|
|
516
527
|
className: o,
|
|
517
528
|
"aria-label": d = "Breadcrumb",
|
|
518
529
|
...u
|
|
519
530
|
}, i) {
|
|
520
|
-
const
|
|
531
|
+
const f = le();
|
|
521
532
|
if (!a.length) return null;
|
|
522
|
-
const p =
|
|
533
|
+
const p = f && a.length > 2, C = p ? [a[0], a[a.length - 1]] : a, g = (p ? a.slice(1, -1) : []).flatMap(
|
|
523
534
|
(m) => m.href ? [{ label: m.label, href: m.href }] : (m.children ?? []).map((h) => ({ label: h.label, href: h.href }))
|
|
524
535
|
);
|
|
525
536
|
return /* @__PURE__ */ e(
|
|
526
|
-
|
|
537
|
+
O,
|
|
527
538
|
{
|
|
528
539
|
ref: i,
|
|
529
540
|
"aria-label": d,
|
|
530
541
|
className: o,
|
|
531
542
|
...u,
|
|
532
|
-
children: /* @__PURE__ */ e(
|
|
533
|
-
const
|
|
543
|
+
children: /* @__PURE__ */ e(Z, { children: C.map((m, h) => {
|
|
544
|
+
const L = p ? h === 0 ? 0 : a.length - 1 : h, _ = h === C.length - 1 && !m.href && !m.children;
|
|
534
545
|
return /* @__PURE__ */ n(t.Fragment, { children: [
|
|
535
|
-
h > 0 && /* @__PURE__ */ e(
|
|
536
|
-
p && h === 1 &&
|
|
537
|
-
/* @__PURE__ */ e(
|
|
538
|
-
/* @__PURE__ */ e(
|
|
546
|
+
h > 0 && /* @__PURE__ */ e(A, { children: l }),
|
|
547
|
+
p && h === 1 && g.length > 0 && /* @__PURE__ */ n(S, { children: [
|
|
548
|
+
/* @__PURE__ */ e(E, { children: /* @__PURE__ */ n(P, { children: [
|
|
549
|
+
/* @__PURE__ */ e(G, { asChild: !0, children: /* @__PURE__ */ n(
|
|
539
550
|
"button",
|
|
540
551
|
{
|
|
541
552
|
type: "button",
|
|
@@ -546,135 +557,135 @@ function ae({
|
|
|
546
557
|
),
|
|
547
558
|
"aria-haspopup": "menu",
|
|
548
559
|
children: [
|
|
549
|
-
/* @__PURE__ */ e(
|
|
560
|
+
/* @__PURE__ */ e(F, {}),
|
|
550
561
|
/* @__PURE__ */ e("span", { className: "sr-only", children: "Show more pages" })
|
|
551
562
|
]
|
|
552
563
|
}
|
|
553
564
|
) }),
|
|
554
|
-
/* @__PURE__ */ e(
|
|
565
|
+
/* @__PURE__ */ e(v, { align: "start", children: /* @__PURE__ */ e(U, { children: g.map((b, H) => /* @__PURE__ */ e(I, { asChild: !0, children: /* @__PURE__ */ e("a", { href: b.href, children: b.label }) }, H)) }) })
|
|
555
566
|
] }) }),
|
|
556
|
-
/* @__PURE__ */ e(
|
|
567
|
+
/* @__PURE__ */ e(A, { children: l })
|
|
557
568
|
] }),
|
|
558
|
-
/* @__PURE__ */ e(
|
|
559
|
-
] },
|
|
569
|
+
/* @__PURE__ */ e(E, { children: te(m, _, r) })
|
|
570
|
+
] }, L);
|
|
560
571
|
}) })
|
|
561
572
|
}
|
|
562
573
|
);
|
|
563
574
|
}
|
|
564
|
-
const
|
|
565
|
-
|
|
575
|
+
const se = t.forwardRef(
|
|
576
|
+
ne
|
|
566
577
|
);
|
|
567
|
-
|
|
578
|
+
se.displayName = "Breadcrumb";
|
|
568
579
|
export {
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
580
|
+
Ge as Accordion,
|
|
581
|
+
Ue as AccordionContent,
|
|
582
|
+
$e as AccordionItem,
|
|
583
|
+
je as AccordionTrigger,
|
|
584
|
+
Ye as AlertDialog,
|
|
585
|
+
qe as AlertDialogAction,
|
|
586
|
+
ze as AlertDialogCancel,
|
|
587
|
+
Je as AlertDialogContent,
|
|
588
|
+
Qe as AlertDialogDescription,
|
|
589
|
+
We as AlertDialogFooter,
|
|
590
|
+
ea as AlertDialogHeader,
|
|
591
|
+
aa as AlertDialogOverlay,
|
|
592
|
+
ra as AlertDialogPortal,
|
|
593
|
+
la as AlertDialogTitle,
|
|
594
|
+
oa as AlertDialogTrigger,
|
|
595
|
+
na as BADGE_ROUNDNESS,
|
|
596
|
+
sa as BADGE_VARIANTS,
|
|
597
|
+
ua as BUTTON_COLORS,
|
|
598
|
+
Ne as BUTTON_GROUP_ORIENTATIONS,
|
|
599
|
+
ma as BUTTON_SIZES,
|
|
600
|
+
ha as BUTTON_VARIANTS,
|
|
601
|
+
da as Badge,
|
|
602
|
+
se as Breadcrumb,
|
|
603
|
+
F as BreadcrumbEllipsis,
|
|
604
|
+
E as BreadcrumbItem,
|
|
605
|
+
K as BreadcrumbLink,
|
|
606
|
+
Z as BreadcrumbList,
|
|
607
|
+
R as BreadcrumbPage,
|
|
608
|
+
O as BreadcrumbRoot,
|
|
609
|
+
A as BreadcrumbSeparator,
|
|
610
|
+
pa as Button,
|
|
611
|
+
_e as ButtonGroup,
|
|
612
|
+
He as ButtonGroupSeparator,
|
|
613
|
+
we as ButtonGroupText,
|
|
614
|
+
qa as CHECKBOX_FIELD_APPEARANCES,
|
|
615
|
+
za as CHECKBOX_FIELD_LAYOUTS,
|
|
616
|
+
Ve as Carousel,
|
|
617
|
+
ke as CarouselContent,
|
|
618
|
+
Ee as CarouselItem,
|
|
619
|
+
Re as CarouselNext,
|
|
620
|
+
Ae as CarouselPrevious,
|
|
621
|
+
Ja as Checkbox,
|
|
622
|
+
Qa as CheckboxField,
|
|
623
|
+
me as ContentCard,
|
|
624
|
+
k as EELogo,
|
|
625
|
+
Ce as EELogoIcon,
|
|
626
|
+
Sa as FIELD_ORIENTATIONS,
|
|
627
|
+
La as Field,
|
|
628
|
+
Va as FieldContent,
|
|
629
|
+
ka as FieldDescription,
|
|
630
|
+
Ea as FieldError,
|
|
631
|
+
Ra as FieldGroup,
|
|
632
|
+
Aa as FieldLabel,
|
|
633
|
+
va as FieldLegend,
|
|
634
|
+
Ia as FieldSeparator,
|
|
635
|
+
ya as FieldSet,
|
|
636
|
+
Ta as FieldTitle,
|
|
637
|
+
_a as INPUT_SIZES,
|
|
638
|
+
Ha as Input,
|
|
639
|
+
fe as KUAT_LOGO_LOCKUP_MODE,
|
|
640
|
+
pe as KUAT_LOGO_LOCKUP_USE,
|
|
641
|
+
Ze as KUAT_RADIAL_PROGRESS_COLORS,
|
|
642
|
+
Ke as KUAT_RADIAL_PROGRESS_SIZES,
|
|
643
|
+
ye as KuatCarousel,
|
|
644
|
+
Te as KuatCarouselContent,
|
|
645
|
+
De as KuatCarouselItem,
|
|
646
|
+
xe as KuatCarouselNext,
|
|
647
|
+
Me as KuatCarouselPrevious,
|
|
648
|
+
Y as KuatHeader,
|
|
649
|
+
q as KuatLogoLockup,
|
|
650
|
+
Fe as KuatRadialProgress,
|
|
651
|
+
xa as KuatSelect,
|
|
652
|
+
er as RADIO_FIELD_APPEARANCES,
|
|
653
|
+
ar as RADIO_FIELD_LAYOUTS,
|
|
654
|
+
rr as RadioField,
|
|
655
|
+
lr as RadioGroup,
|
|
656
|
+
or as RadioGroupItem,
|
|
657
|
+
Ma as SELECT_LINES,
|
|
658
|
+
Ba as SELECT_SIZES,
|
|
659
|
+
gr as SONNER_POSITIONS,
|
|
660
|
+
nr as SWITCH_FIELD_APPEARANCES,
|
|
661
|
+
sr as SWITCH_FIELD_LAYOUTS,
|
|
662
|
+
Oa as Select,
|
|
663
|
+
Za as SelectContent,
|
|
664
|
+
Ka as SelectGroup,
|
|
665
|
+
Fa as SelectItem,
|
|
666
|
+
Pa as SelectLabel,
|
|
667
|
+
Ga as SelectScrollDownButton,
|
|
668
|
+
Ua as SelectScrollUpButton,
|
|
669
|
+
$a as SelectSeparator,
|
|
670
|
+
ja as SelectTrigger,
|
|
671
|
+
Xa as SelectValue,
|
|
672
|
+
br as Sonner,
|
|
673
|
+
Nr as SonnerContent,
|
|
674
|
+
dr as Switch,
|
|
675
|
+
cr as SwitchField,
|
|
676
|
+
ga as TEXTAREA_RESIZE,
|
|
677
|
+
ur as TOGGLE_SIZES,
|
|
678
|
+
mr as TOGGLE_SKINS,
|
|
679
|
+
ba as Textarea,
|
|
680
|
+
hr as Toggle,
|
|
681
|
+
pr as ToggleGroup,
|
|
682
|
+
fr as ToggleGroupItem,
|
|
683
|
+
ca as badgeVariants,
|
|
684
|
+
Se as buttonGroupVariants,
|
|
685
|
+
fa as buttonVariants,
|
|
675
686
|
s as cn,
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
687
|
+
he as kuatHeaderVariants,
|
|
688
|
+
_r as toast,
|
|
689
|
+
ve as useCarousel,
|
|
690
|
+
Be as useKuatCarousel
|
|
680
691
|
};
|