@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/index.js CHANGED
@@ -1,95 +1,106 @@
1
1
  import { c as s } from "./utils-DLUjLwnh.js";
2
- import { S as T } from "./button-group-enIzvVeN.js";
3
- import { d as pe, B as Ce, a as ge, b as fe, c as be } from "./button-group-enIzvVeN.js";
4
- import { jsxs as n, jsx as e, Fragment as w } from "react/jsx-runtime";
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 _e, a as He, b as we, d as Se, c as Le, u as Ve } from "./carousel-vRCoMeVE.js";
7
- import { K as Ee, a as Re, b as Ae, d as Ie, c as ve, u as Te } from "./kuat-carousel-DsHwXGpb.js";
8
- import { b as ye, a as xe, K as Me } from "./kuat-radial-progress-YcpYzHjk.js";
9
- import { A as Oe, c as Ze, a as Ke, b as Fe } from "./accordion-CUlVo4uo.js";
10
- import { A as Ge, i as Ue, j as $e, d as je, h as Xe, f as Ye, e as qe, b as We, a as ze, g as Je, c as Qe } from "./alert-dialog-yHaNWLGX.js";
11
- import { c as aa, a as ra, B as la, b as oa } from "./badge-BZgdEQSD.js";
12
- import { ChevronRight as D, MoreHorizontal as F, ChevronDown as P } from "lucide-react";
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 na, c as sa, a as da, B as ca, b as ia } from "./button-C0a1gFoV.js";
15
- import { a as ma, T as ha } from "./textarea-B0irOcAM.js";
16
- import { a as Ca, I as ga } from "./input-DmkHok33.js";
17
- import { j as ba, F as Na, a as _a, b as Ha, c as wa, d as Sa, e as La, f as Va, g as ka, h as Ea, i as Ra } from "./field-CpIBifwy.js";
18
- import { K as Ia, j as va, k as Ta, S as Da, a as ya, b as xa, c as Ma, d as Ba, e as Oa, f as Za, g as Ka, h as Fa, i as Pa } from "./select-CkwcI4vN.js";
19
- import { b as Ua, c as $a, C as ja, a as Xa } from "./checkbox-field-7OmstdY0.js";
20
- import { c as qa, d as Wa, b as za, R as Ja, a as Qa } from "./radio-field-BD77QCpO.js";
21
- import { b as ar, c as rr, S as lr, a as or } from "./switch-field-xn_CPJH7.js";
22
- import { a as nr, b as sr, T as dr, c as cr, d as ir } from "./constants-Cfitvm6L.js";
23
- import { a as mr, S as hr, b as pr, t as Cr } from "./sonner-content-CXBD6jNn.js";
24
- const se = t.forwardRef(function({
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
- imageSrc: o = null,
28
- imageAlt: d = "",
29
- contentText: u = null,
30
- headerAccessory: i = null,
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: p = null,
34
+ footer: N = null,
33
35
  badge: g,
34
- category: N,
35
- title: f,
36
- titleHeadingLevel: m = 3,
37
- children: h,
38
- ..._
39
- }, S) {
40
- const L = `h${m}`, b = /* @__PURE__ */ n(w, { children: [
41
- o !== null ? /* @__PURE__ */ e("div", { className: "content-card__media", children: /* @__PURE__ */ e("img", { className: "content-card__media-img", alt: d, src: o }) }) : null,
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: N })
53
+ /* @__PURE__ */ e("p", { className: "content-card__category", children: m })
48
54
  ] }),
49
- /* @__PURE__ */ e(L, { className: "content-card__title", children: f })
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: i ?? null
62
+ children: p ?? null
57
63
  }
58
64
  )
59
65
  ] }),
60
- u != null ? /* @__PURE__ */ e("div", { "data-slot": "content", className: "content-card__content", children: /* @__PURE__ */ e("p", { className: "content-card__content-text", children: u }) }) : null,
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: p ?? null })
68
+ /* @__PURE__ */ e("div", { "data-slot": "footer", className: "content-card__footer", children: N ?? null })
63
69
  ] })
64
70
  ] });
65
71
  if (l) {
66
- const H = t.Children.only(h);
67
- if (!t.isValidElement(H))
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 v = H;
75
+ const w = x;
70
76
  return t.cloneElement(
71
- v,
77
+ w,
72
78
  {
73
- ..._,
74
- ref: S,
79
+ ...b,
80
+ ref: H,
75
81
  "data-slot": "content-card",
76
- className: s("content-card", v.props.className, r)
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
- b
88
+ D
79
89
  );
80
90
  }
81
91
  return /* @__PURE__ */ e(
82
92
  "div",
83
93
  {
84
- ref: S,
94
+ ref: H,
85
95
  "data-slot": "content-card",
86
- className: s("content-card", r),
87
- ..._,
88
- children: b
96
+ className: s("content-card", T, r),
97
+ style: V,
98
+ ...b,
99
+ children: D
89
100
  }
90
101
  );
91
102
  });
92
- function V({ className: a, textColor: r = "grey" }) {
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 G = t.forwardRef(
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: C,
149
+ mobileMenu: f,
139
150
  hideLogo: p,
140
- children: g,
151
+ children: C,
141
152
  ...N
142
- }, f) => {
153
+ }, g) => {
143
154
  const m = l !== void 0 ? l : !p && /* @__PURE__ */ e(
144
- V,
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
- V,
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: f,
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(w, { children: [
180
+ m && /* @__PURE__ */ n(S, { children: [
170
181
  /* @__PURE__ */ e("div", { className: "shrink-0", children: m }),
171
182
  /* @__PURE__ */ e(
172
- T,
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
- C,
194
- g
204
+ f,
205
+ C
195
206
  ]
196
207
  }
197
208
  );
198
209
  }
199
210
  );
200
- G.displayName = "KuatHeader";
201
- function de(a) {
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 ce = ["service", "demo"], ie = ["light", "dark"], U = t.forwardRef(
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 C = d ? "dark" : o, p = /* @__PURE__ */ e(
215
- V,
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: C === "dark" ? "white" : "grey"
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--${C}`,
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
- T,
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(w, { children: [
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
- U.displayName = "KuatLogoLockup";
257
- function ue({ className: a }) {
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 y = t.forwardRef(({ className: a, "aria-label": r = "Breadcrumb", ...l }, o) => /* @__PURE__ */ e(
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
- y.displayName = "BreadcrumbRoot";
309
- const x = t.forwardRef(({ className: a, ...r }, l) => /* @__PURE__ */ e("ol", { ref: l, className: s("breadcrumb-list", a), ...r }));
310
- x.displayName = "BreadcrumbList";
311
- const k = t.forwardRef(({ className: a, ...r }, l) => /* @__PURE__ */ e("li", { ref: l, className: s("breadcrumb-item", a), ...r }));
312
- k.displayName = "BreadcrumbItem";
313
- const M = t.forwardRef(({ className: a, render: r, asChild: l = !1, ...o }, d) => {
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
- M.displayName = "BreadcrumbLink";
341
- const E = t.forwardRef(({ className: a, ...r }, l) => /* @__PURE__ */ e(
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
- E.displayName = "BreadcrumbPage";
353
- const R = t.forwardRef(({ className: a, children: r, ...l }, o) => /* @__PURE__ */ e(
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(D, { className: "breadcrumb-separator__icon" })
372
+ children: r ?? /* @__PURE__ */ e(B, { className: "breadcrumb-separator__icon" })
362
373
  }
363
374
  ));
364
- R.displayName = "BreadcrumbSeparator";
365
- const B = t.forwardRef(({ className: a, ...r }, l) => /* @__PURE__ */ e(
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(F, { className: "breadcrumb-ellipsis__icon" })
384
+ children: /* @__PURE__ */ e(j, { className: "breadcrumb-ellipsis__icon" })
374
385
  }
375
386
  ));
376
- B.displayName = "BreadcrumbEllipsis";
377
- const O = c.Root, Z = c.Trigger, K = c.Group, $ = t.forwardRef(({ className: a, inset: r, children: l, ...o }, d) => /* @__PURE__ */ n(
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(D, { className: "dropdown-menu-sub-trigger__icon" })
400
+ /* @__PURE__ */ e(B, { className: "dropdown-menu-sub-trigger__icon" })
390
401
  ]
391
402
  }
392
403
  ));
393
- $.displayName = c.SubTrigger.displayName;
394
- const j = t.forwardRef(({ className: a, ...r }, l) => /* @__PURE__ */ e(
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
- j.displayName = c.SubContent.displayName;
403
- const A = t.forwardRef(({ className: a, sideOffset: r = 4, ...l }, o) => /* @__PURE__ */ e(c.Portal, { children: /* @__PURE__ */ e(
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
- A.displayName = c.Content.displayName;
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 X = t.forwardRef(({ className: a, children: r, checked: l, ...o }, d) => /* @__PURE__ */ e(
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
- X.displayName = c.CheckboxItem.displayName;
437
- const Y = t.forwardRef(({ className: a, children: r, ...l }, o) => /* @__PURE__ */ e(
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
- Y.displayName = c.RadioItem.displayName;
447
- const q = t.forwardRef(({ className: a, inset: r, ...l }, o) => /* @__PURE__ */ e(
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
- q.displayName = c.Label.displayName;
460
- const W = t.forwardRef(({ className: a, ...r }, l) => /* @__PURE__ */ e(
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
- W.displayName = c.Separator.displayName;
469
- const z = 640;
470
- function J(a = z) {
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 Q = ({ href: a, children: r, className: l }) => /* @__PURE__ */ e("a", { href: a, className: l, children: r });
480
- function ee(a, r, l, o) {
481
- return a.children && a.children.length > 0 ? /* @__PURE__ */ n(O, { children: [
482
- /* @__PURE__ */ e(Z, { asChild: !0, children: /* @__PURE__ */ n(
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
- P,
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(A, { align: "start", children: /* @__PURE__ */ e(K, { children: a.children.map((u, i) => /* @__PURE__ */ e(I, { asChild: !0, children: /* @__PURE__ */ e("a", { href: u.href, children: u.label }) }, i)) }) })
505
- ] }) : r ? /* @__PURE__ */ e(E, { children: a.label }) : a.href ? /* @__PURE__ */ e(
506
- M,
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(E, { children: a.label });
521
+ ) : /* @__PURE__ */ e(R, { children: a.label });
511
522
  }
512
- function ae({
523
+ function ne({
513
524
  items: a,
514
- linkComponent: r = Q,
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 C = J();
531
+ const f = le();
521
532
  if (!a.length) return null;
522
- const p = C && a.length > 2, g = p ? [a[0], a[a.length - 1]] : a, f = (p ? a.slice(1, -1) : []).flatMap(
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
- y,
537
+ O,
527
538
  {
528
539
  ref: i,
529
540
  "aria-label": d,
530
541
  className: o,
531
542
  ...u,
532
- children: /* @__PURE__ */ e(x, { children: g.map((m, h) => {
533
- const _ = p ? h === 0 ? 0 : a.length - 1 : h, L = h === g.length - 1 && !m.href && !m.children;
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(R, { children: l }),
536
- p && h === 1 && f.length > 0 && /* @__PURE__ */ n(w, { children: [
537
- /* @__PURE__ */ e(k, { children: /* @__PURE__ */ n(O, { children: [
538
- /* @__PURE__ */ e(Z, { asChild: !0, children: /* @__PURE__ */ n(
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(B, {}),
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(A, { align: "start", children: /* @__PURE__ */ e(K, { children: f.map((b, H) => /* @__PURE__ */ e(I, { asChild: !0, children: /* @__PURE__ */ e("a", { href: b.href, children: b.label }) }, H)) }) })
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(R, { children: l })
567
+ /* @__PURE__ */ e(A, { children: l })
557
568
  ] }),
558
- /* @__PURE__ */ e(k, { children: ee(m, L, r) })
559
- ] }, _);
569
+ /* @__PURE__ */ e(E, { children: te(m, _, r) })
570
+ ] }, L);
560
571
  }) })
561
572
  }
562
573
  );
563
574
  }
564
- const re = t.forwardRef(
565
- ae
575
+ const se = t.forwardRef(
576
+ ne
566
577
  );
567
- re.displayName = "Breadcrumb";
578
+ se.displayName = "Breadcrumb";
568
579
  export {
569
- Oe as Accordion,
570
- Ze as AccordionContent,
571
- Ke as AccordionItem,
572
- Fe as AccordionTrigger,
573
- Ge as AlertDialog,
574
- Ue as AlertDialogAction,
575
- $e as AlertDialogCancel,
576
- je as AlertDialogContent,
577
- Xe as AlertDialogDescription,
578
- Ye as AlertDialogFooter,
579
- qe as AlertDialogHeader,
580
- We as AlertDialogOverlay,
581
- ze as AlertDialogPortal,
582
- Je as AlertDialogTitle,
583
- Qe as AlertDialogTrigger,
584
- aa as BADGE_ROUNDNESS,
585
- ra as BADGE_VARIANTS,
586
- na as BUTTON_COLORS,
587
- pe as BUTTON_GROUP_ORIENTATIONS,
588
- sa as BUTTON_SIZES,
589
- da as BUTTON_VARIANTS,
590
- la as Badge,
591
- re as Breadcrumb,
592
- B as BreadcrumbEllipsis,
593
- k as BreadcrumbItem,
594
- M as BreadcrumbLink,
595
- x as BreadcrumbList,
596
- E as BreadcrumbPage,
597
- y as BreadcrumbRoot,
598
- R as BreadcrumbSeparator,
599
- ca as Button,
600
- Ce as ButtonGroup,
601
- ge as ButtonGroupSeparator,
602
- fe as ButtonGroupText,
603
- Ua as CHECKBOX_FIELD_APPEARANCES,
604
- $a as CHECKBOX_FIELD_LAYOUTS,
605
- _e as Carousel,
606
- He as CarouselContent,
607
- we as CarouselItem,
608
- Se as CarouselNext,
609
- Le as CarouselPrevious,
610
- ja as Checkbox,
611
- Xa as CheckboxField,
612
- se as ContentCard,
613
- V as EELogo,
614
- ue as EELogoIcon,
615
- ba as FIELD_ORIENTATIONS,
616
- Na as Field,
617
- _a as FieldContent,
618
- Ha as FieldDescription,
619
- wa as FieldError,
620
- Sa as FieldGroup,
621
- La as FieldLabel,
622
- Va as FieldLegend,
623
- ka as FieldSeparator,
624
- Ea as FieldSet,
625
- Ra as FieldTitle,
626
- Ca as INPUT_SIZES,
627
- ga as Input,
628
- ie as KUAT_LOGO_LOCKUP_MODE,
629
- ce as KUAT_LOGO_LOCKUP_USE,
630
- ye as KUAT_RADIAL_PROGRESS_COLORS,
631
- xe as KUAT_RADIAL_PROGRESS_SIZES,
632
- Ee as KuatCarousel,
633
- Re as KuatCarouselContent,
634
- Ae as KuatCarouselItem,
635
- Ie as KuatCarouselNext,
636
- ve as KuatCarouselPrevious,
637
- G as KuatHeader,
638
- U as KuatLogoLockup,
639
- Me as KuatRadialProgress,
640
- Ia as KuatSelect,
641
- qa as RADIO_FIELD_APPEARANCES,
642
- Wa as RADIO_FIELD_LAYOUTS,
643
- za as RadioField,
644
- Ja as RadioGroup,
645
- Qa as RadioGroupItem,
646
- va as SELECT_LINES,
647
- Ta as SELECT_SIZES,
648
- mr as SONNER_POSITIONS,
649
- ar as SWITCH_FIELD_APPEARANCES,
650
- rr as SWITCH_FIELD_LAYOUTS,
651
- Da as Select,
652
- ya as SelectContent,
653
- xa as SelectGroup,
654
- Ma as SelectItem,
655
- Ba as SelectLabel,
656
- Oa as SelectScrollDownButton,
657
- Za as SelectScrollUpButton,
658
- Ka as SelectSeparator,
659
- Fa as SelectTrigger,
660
- Pa as SelectValue,
661
- hr as Sonner,
662
- pr as SonnerContent,
663
- lr as Switch,
664
- or as SwitchField,
665
- ma as TEXTAREA_RESIZE,
666
- nr as TOGGLE_SIZES,
667
- sr as TOGGLE_SKINS,
668
- ha as Textarea,
669
- dr as Toggle,
670
- cr as ToggleGroup,
671
- ir as ToggleGroupItem,
672
- oa as badgeVariants,
673
- be as buttonGroupVariants,
674
- ia as buttonVariants,
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
- de as kuatHeaderVariants,
677
- Cr as toast,
678
- Ve as useCarousel,
679
- Te as useKuatCarousel
687
+ he as kuatHeaderVariants,
688
+ _r as toast,
689
+ ve as useCarousel,
690
+ Be as useKuatCarousel
680
691
  };