@altimateai/ui-components 0.0.1-beta.2 → 0.0.1-beta.4

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.
Files changed (60) hide show
  1. package/dist/Accordion.js +43 -114
  2. package/dist/Badge.js +1 -1
  3. package/dist/CoachForm.js +6285 -6583
  4. package/dist/DbtDocsRenderer.js +833 -2651
  5. package/dist/Tooltip.js +115 -0
  6. package/dist/assets/icons/index.js +44 -39
  7. package/dist/chatbot/index.js +100 -96
  8. package/dist/chatbotV2/index.js +16 -3
  9. package/dist/flowchart-elk-definition-170a3958.js +2 -2
  10. package/dist/index.js +16 -16
  11. package/dist/index2.js +194 -193
  12. package/dist/is_dark.js +1 -1
  13. package/dist/lineage/index.js +2284 -2710
  14. package/dist/main.js +50 -185
  15. package/dist/mindmap-definition-44684416.js +2 -2
  16. package/dist/redux-toolkit.modern.js +1 -1
  17. package/dist/shadcn/index.js +352 -382
  18. package/dist/timeline-definition-8e5a9bc6.js +1 -1
  19. package/dist/v4.js +524 -514
  20. package/package.json +54 -54
  21. package/readme.md +11 -0
  22. package/dist/Stack.js +0 -132
  23. package/dist/assets/icons/index.d.ts +0 -86
  24. package/dist/chatbot/index.d.ts +0 -39
  25. package/dist/chatbotV2/index.d.ts +0 -111
  26. package/dist/index.d.ts +0 -217
  27. package/dist/lineage/index.d.ts +0 -183
  28. package/dist/shadcn/index.d.ts +0 -517
  29. package/dist/storybook/Accordion.stories.tsx +0 -61
  30. package/dist/storybook/Alert.stories.tsx +0 -65
  31. package/dist/storybook/AlertDialog.stories.tsx +0 -166
  32. package/dist/storybook/Avatar.stories.tsx +0 -58
  33. package/dist/storybook/Badge.stories.tsx +0 -36
  34. package/dist/storybook/Button.stories.tsx +0 -129
  35. package/dist/storybook/Card.stories.tsx +0 -76
  36. package/dist/storybook/Checkbox.stories.tsx +0 -74
  37. package/dist/storybook/Command.stories.tsx +0 -35
  38. package/dist/storybook/DropdownMenu.stories.tsx +0 -36
  39. package/dist/storybook/Form.stories.tsx +0 -120
  40. package/dist/storybook/HoverCard.stories.tsx +0 -105
  41. package/dist/storybook/Input.stories.tsx +0 -53
  42. package/dist/storybook/Label.stories.tsx +0 -42
  43. package/dist/storybook/Menubar.stories.tsx +0 -159
  44. package/dist/storybook/Pagination.stories.tsx +0 -155
  45. package/dist/storybook/Popover.stories.tsx +0 -25
  46. package/dist/storybook/Progress.stories.tsx +0 -89
  47. package/dist/storybook/RadioGroup.stories.tsx +0 -61
  48. package/dist/storybook/Resizable.stories.tsx +0 -119
  49. package/dist/storybook/ScrollArea.stories.tsx +0 -120
  50. package/dist/storybook/Select.stories.tsx +0 -95
  51. package/dist/storybook/Sheet.stories.tsx +0 -75
  52. package/dist/storybook/Sidebar.stories.tsx +0 -97
  53. package/dist/storybook/Slider.stories.tsx +0 -81
  54. package/dist/storybook/Switch.stories.tsx +0 -99
  55. package/dist/storybook/Textarea.stories.tsx +0 -50
  56. package/dist/storybook/Toast.stories.tsx +0 -111
  57. package/dist/storybook/Tooltip.stories.tsx +0 -33
  58. package/dist/storybook/Typography.stories.tsx +0 -178
  59. package/dist/types-PVxbm0tZ.d.ts +0 -99
  60. /package/dist/{Stack.css → v4.css} +0 -0
@@ -48,41 +48,24 @@ const Wi = it(
48
48
  }
49
49
  ), Br = s.forwardRef(({ side: e = "right", className: a, children: t, ...r }, o) => /* @__PURE__ */ l.jsxs(Ui, { children: [
50
50
  /* @__PURE__ */ l.jsx(Hr, {}),
51
- /* @__PURE__ */ l.jsxs(
52
- wa,
53
- {
54
- ref: o,
55
- className: S(Wi({ side: e }), a),
56
- ...r,
57
- children: [
58
- t,
59
- /* @__PURE__ */ l.jsxs(Ct, { className: "al-absolute al-right-4 al-top-4 al-rounded-sm al-opacity-70 al-ring-offset-background al-transition-opacity hover:al-opacity-100 focus:al-outline-none focus:al-ring-2 focus:al-ring-ring focus:al-ring-offset-2 disabled:al-pointer-events-none data-[state=open]:al-bg-secondary", children: [
60
- /* @__PURE__ */ l.jsx(kr, { className: "al-h-4 al-w-4" }),
61
- /* @__PURE__ */ l.jsx("span", { className: "al-sr-only", children: "Close" })
62
- ] })
63
- ]
64
- }
65
- )
51
+ /* @__PURE__ */ l.jsxs(wa, { ref: o, className: S(Wi({ side: e }), a), ...r, children: [
52
+ t,
53
+ /* @__PURE__ */ l.jsxs(Ct, { className: "al-absolute al-right-4 al-top-4 al-rounded-sm al-opacity-70 al-ring-offset-background al-transition-opacity hover:al-opacity-100 focus:al-outline-none focus:al-ring-2 focus:al-ring-ring focus:al-ring-offset-2 disabled:al-pointer-events-none data-[state=open]:al-bg-secondary", children: [
54
+ /* @__PURE__ */ l.jsx(kr, { className: "al-h-4 al-w-4" }),
55
+ /* @__PURE__ */ l.jsx("span", { className: "al-sr-only", children: "Close" })
56
+ ] })
57
+ ] })
66
58
  ] }));
67
59
  Br.displayName = wa.displayName;
68
- const Xi = ({
69
- className: e,
70
- ...a
71
- }) => /* @__PURE__ */ l.jsx(
60
+ const Xi = ({ className: e, ...a }) => /* @__PURE__ */ l.jsx(
72
61
  "div",
73
62
  {
74
- className: S(
75
- "al-flex al-flex-col al-space-y-2 al-text-center sm:al-text-left",
76
- e
77
- ),
63
+ className: S("al-flex al-flex-col al-space-y-2 al-text-center sm:al-text-left", e),
78
64
  ...a
79
65
  }
80
66
  );
81
67
  Xi.displayName = "SheetHeader";
82
- const Yi = ({
83
- className: e,
84
- ...a
85
- }) => /* @__PURE__ */ l.jsx(
68
+ const Yi = ({ className: e, ...a }) => /* @__PURE__ */ l.jsx(
86
69
  "div",
87
70
  {
88
71
  className: S(
@@ -126,14 +109,7 @@ Gr.displayName = Zi;
126
109
  var Kr = Gr;
127
110
  const Qi = it(
128
111
  "al-text-sm al-font-medium al-leading-none peer-disabled:al-cursor-not-allowed peer-disabled:al-opacity-70"
129
- ), Ur = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ l.jsx(
130
- Kr,
131
- {
132
- ref: t,
133
- className: S(Qi(), e),
134
- ...a
135
- }
136
- ));
112
+ ), Ur = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ l.jsx(Kr, { ref: t, className: S(Qi(), e), ...a }));
137
113
  Ur.displayName = Kr.displayName;
138
114
  var Da = "Radio", [ec, Wr] = ie(Da), [tc, ac] = ec(Da), Xr = s.forwardRef(
139
115
  (e, a) => {
@@ -338,14 +314,7 @@ var ic = "RadioGroupIndicator", ro = s.forwardRef(
338
314
  );
339
315
  ro.displayName = ic;
340
316
  var oo = eo, no = ao, cc = ro;
341
- const dc = Ye(({ className: e, ...a }, t) => /* @__PURE__ */ l.jsx(
342
- oo,
343
- {
344
- className: S("al-grid al-gap-2", e),
345
- ...a,
346
- ref: t
347
- }
348
- ));
317
+ const dc = Ye(({ className: e, ...a }, t) => /* @__PURE__ */ l.jsx(oo, { className: S("al-grid al-gap-2", e), ...a, ref: t }));
349
318
  dc.displayName = oo.displayName;
350
319
  const uc = Ye(({ className: e, ...a }, t) => /* @__PURE__ */ l.jsx(
351
320
  no,
@@ -1218,6 +1187,8 @@ const nd = od, Go = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */
1218
1187
  "al-fixed al-top-0 al-z-[100] al-flex al-max-h-screen al-w-full al-flex-col-reverse al-p-4 sm:al-bottom-0 sm:al-right-0 sm:al-top-auto sm:al-flex-col md:al-max-w-[420px]",
1219
1188
  e
1220
1189
  ),
1190
+ role: "region",
1191
+ "aria-label": "notifications",
1221
1192
  ...a
1222
1193
  }
1223
1194
  ));
@@ -1240,6 +1211,8 @@ const sd = it(
1240
1211
  {
1241
1212
  ref: r,
1242
1213
  className: S(sd({ variant: a }), e),
1214
+ role: "alert",
1215
+ "aria-label": a === "destructive" ? "error-notification" : "notification",
1243
1216
  ...t
1244
1217
  }
1245
1218
  ));
@@ -1252,6 +1225,7 @@ const ld = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ l.jsx(
1252
1225
  "al-inline-flex al-h-8 al-shrink-0 al-items-center al-justify-center al-rounded-md al-border al-bg-transparent al-px-3 al-text-sm al-font-medium al-ring-offset-background al-transition-colors hover:al-bg-secondary focus:al-outline-none focus:al-ring-2 focus:al-ring-ring focus:al-ring-offset-2 disabled:al-pointer-events-none disabled:al-opacity-50 group-[.destructive]:al-border-muted/40 group-[.destructive]:hover:al-border-destructive/30 group-[.destructive]:hover:al-bg-destructive group-[.destructive]:hover:al-text-destructive-foreground group-[.destructive]:focus:al-ring-destructive",
1253
1226
  e
1254
1227
  ),
1228
+ role: "button",
1255
1229
  ...a
1256
1230
  }
1257
1231
  ));
@@ -1265,6 +1239,8 @@ const Uo = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ l.jsx(
1265
1239
  e
1266
1240
  ),
1267
1241
  "toast-close": "",
1242
+ role: "button",
1243
+ "aria-label": "close notification",
1268
1244
  ...a,
1269
1245
  children: /* @__PURE__ */ l.jsx(kr, { className: "al-h-4 al-w-4" })
1270
1246
  }
@@ -1275,6 +1251,8 @@ const Wo = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ l.jsx(
1275
1251
  {
1276
1252
  ref: t,
1277
1253
  className: S("al-text-sm al-font-semibold", e),
1254
+ role: "heading",
1255
+ "aria-level": 2,
1278
1256
  ...a
1279
1257
  }
1280
1258
  ));
@@ -1284,6 +1262,7 @@ const Xo = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ l.jsx(
1284
1262
  {
1285
1263
  ref: t,
1286
1264
  className: S("al-text-sm al-opacity-90", e),
1265
+ role: "status",
1287
1266
  ...a
1288
1267
  }
1289
1268
  ));
@@ -1313,9 +1292,7 @@ const Yt = /* @__PURE__ */ new Map(), ur = (e) => {
1313
1292
  case "UPDATE_TOAST":
1314
1293
  return {
1315
1294
  ...e,
1316
- toasts: e.toasts.map(
1317
- (t) => t.id === a.toast.id ? { ...t, ...a.toast } : t
1318
- )
1295
+ toasts: e.toasts.map((t) => t.id === a.toast.id ? { ...t, ...a.toast } : t)
1319
1296
  };
1320
1297
  case "DISMISS_TOAST": {
1321
1298
  const { toastId: t } = a;
@@ -1413,28 +1390,31 @@ const md = it(
1413
1390
  {
1414
1391
  ref: r,
1415
1392
  role: "alert",
1393
+ "aria-label": a === "destructive" ? "error-alert" : "status-alert",
1416
1394
  className: S(md({ variant: a }), e),
1417
1395
  ...t
1418
1396
  }
1419
1397
  ));
1420
1398
  gd.displayName = "Alert";
1421
- const vd = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ l.jsx(
1422
- "h5",
1423
- {
1424
- ref: t,
1425
- className: S(
1426
- "al-mb-1 al-font-medium al-leading-none al-tracking-tight",
1427
- e
1428
- ),
1429
- ...a
1430
- }
1431
- ));
1399
+ const vd = s.forwardRef(
1400
+ ({ className: e, children: a, ...t }, r) => /* @__PURE__ */ l.jsx(
1401
+ "h5",
1402
+ {
1403
+ ref: r,
1404
+ className: S("al-mb-1 al-font-medium al-leading-none al-tracking-tight", e),
1405
+ ...t,
1406
+ children: a
1407
+ }
1408
+ )
1409
+ );
1432
1410
  vd.displayName = "AlertTitle";
1433
1411
  const hd = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ l.jsx(
1434
1412
  "div",
1435
1413
  {
1436
1414
  ref: t,
1437
1415
  className: S("al-text-sm [&_p]:al-leading-relaxed", e),
1416
+ role: "alert",
1417
+ "aria-label": "alert-description",
1438
1418
  ...a
1439
1419
  }
1440
1420
  ));
@@ -1566,24 +1546,15 @@ const Ad = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ l.jsxs(_d
1566
1546
  )
1567
1547
  ] }));
1568
1548
  Ad.displayName = dn.displayName;
1569
- const Id = ({
1570
- className: e,
1571
- ...a
1572
- }) => /* @__PURE__ */ l.jsx(
1549
+ const Id = ({ className: e, ...a }) => /* @__PURE__ */ l.jsx(
1573
1550
  "div",
1574
1551
  {
1575
- className: S(
1576
- "al-flex al-flex-col al-space-y-2 al-text-center sm:al-text-left",
1577
- e
1578
- ),
1552
+ className: S("al-flex al-flex-col al-space-y-2 al-text-center sm:al-text-left", e),
1579
1553
  ...a
1580
1554
  }
1581
1555
  );
1582
1556
  Id.displayName = "AlertDialogHeader";
1583
- const Md = ({
1584
- className: e,
1585
- ...a
1586
- }) => /* @__PURE__ */ l.jsx(
1557
+ const Md = ({ className: e, ...a }) => /* @__PURE__ */ l.jsx(
1587
1558
  "div",
1588
1559
  {
1589
1560
  className: S(
@@ -1612,24 +1583,13 @@ const Dd = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ l.jsx(
1612
1583
  }
1613
1584
  ));
1614
1585
  Dd.displayName = mn.displayName;
1615
- const Ld = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ l.jsx(
1616
- un,
1617
- {
1618
- ref: t,
1619
- className: S(Ia(), e),
1620
- ...a
1621
- }
1622
- ));
1586
+ const Ld = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ l.jsx(un, { ref: t, className: S(Ia(), e), ...a }));
1623
1587
  Ld.displayName = un.displayName;
1624
1588
  const kd = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ l.jsx(
1625
1589
  fn,
1626
1590
  {
1627
1591
  ref: t,
1628
- className: S(
1629
- Ia({ variant: "outline" }),
1630
- "al-mt-2 sm:al-mt-0",
1631
- e
1632
- ),
1592
+ className: S(Ia({ variant: "outline" }), "al-mt-2 sm:al-mt-0", e),
1633
1593
  ...a
1634
1594
  }
1635
1595
  ));
@@ -1723,6 +1683,8 @@ const Gd = s.forwardRef(({ className: e, value: a, ...t }, r) => {
1723
1683
  children: /* @__PURE__ */ l.jsx(
1724
1684
  Bd,
1725
1685
  {
1686
+ role: "presentation",
1687
+ "aria-label": "Progress indicator",
1726
1688
  className: "al-h-full al-w-full al-flex-1 al-bg-primary al-transition-all",
1727
1689
  style: {
1728
1690
  transform: n === 0 ? "translateX(0%)" : `translateX(-${n}%)`
@@ -2549,10 +2511,7 @@ const rs = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ l.jsx(
2549
2511
  es,
2550
2512
  {
2551
2513
  ref: t,
2552
- className: S(
2553
- "al-flex al-cursor-default al-items-center al-justify-center al-py-1",
2554
- e
2555
- ),
2514
+ className: S("al-flex al-cursor-default al-items-center al-justify-center al-py-1", e),
2556
2515
  ...a,
2557
2516
  children: /* @__PURE__ */ l.jsx(Vi, { className: "al-h-4 al-w-4" })
2558
2517
  }
@@ -2562,10 +2521,7 @@ const os = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ l.jsx(
2562
2521
  ts,
2563
2522
  {
2564
2523
  ref: t,
2565
- className: S(
2566
- "al-flex al-cursor-default al-items-center al-justify-center al-py-1",
2567
- e
2568
- ),
2524
+ className: S("al-flex al-cursor-default al-items-center al-justify-center al-py-1", e),
2569
2525
  ...a,
2570
2526
  children: /* @__PURE__ */ l.jsx(zr, { className: "al-h-4 al-w-4" })
2571
2527
  }
@@ -2603,10 +2559,7 @@ const xu = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ l.jsx(
2603
2559
  Zn,
2604
2560
  {
2605
2561
  ref: t,
2606
- className: S(
2607
- "al-py-1.5 al-pl-8 al-pr-2 al-text-sm al-font-semibold",
2608
- e
2609
- ),
2562
+ className: S("al-py-1.5 al-pl-8 al-pr-2 al-text-sm al-font-semibold", e),
2610
2563
  ...a
2611
2564
  }
2612
2565
  ));
@@ -2663,34 +2616,23 @@ function Nu(e) {
2663
2616
  return Ru.includes(e);
2664
2617
  }
2665
2618
  var ss = ns;
2666
- const ls = s.forwardRef(
2667
- ({ className: e, orientation: a = "horizontal", decorative: t = !0, ...r }, o) => /* @__PURE__ */ l.jsx(
2668
- ss,
2669
- {
2670
- ref: o,
2671
- decorative: t,
2672
- orientation: a,
2673
- className: S(
2674
- "al-shrink-0 al-bg-border",
2675
- a === "horizontal" ? "al-h-[1px] al-w-full" : "al-h-full al-w-[1px]",
2676
- e
2677
- ),
2678
- ...r
2679
- }
2680
- )
2681
- );
2619
+ const ls = s.forwardRef(({ className: e, orientation: a = "horizontal", decorative: t = !0, ...r }, o) => /* @__PURE__ */ l.jsx(
2620
+ ss,
2621
+ {
2622
+ ref: o,
2623
+ decorative: t,
2624
+ orientation: a,
2625
+ className: S(
2626
+ "al-shrink-0 al-bg-border",
2627
+ a === "horizontal" ? "al-h-[1px] al-w-full" : "al-h-full al-w-[1px]",
2628
+ e
2629
+ ),
2630
+ ...r
2631
+ }
2632
+ ));
2682
2633
  ls.displayName = ss.displayName;
2683
- function gr({
2684
- className: e,
2685
- ...a
2686
- }) {
2687
- return /* @__PURE__ */ l.jsx(
2688
- "div",
2689
- {
2690
- className: S("al-animate-pulse al-rounded-md al-bg-muted", e),
2691
- ...a
2692
- }
2693
- );
2634
+ function gr({ className: e, ...a }) {
2635
+ return /* @__PURE__ */ l.jsx("div", { className: S("al-animate-pulse al-rounded-md al-bg-muted", e), ...a });
2694
2636
  }
2695
2637
  const Pu = "sidebar:state", Tu = 60 * 60 * 24 * 7, Eu = "16rem", _u = "18rem", Au = "3rem", Iu = "b", is = s.createContext(null);
2696
2638
  function Lt() {
@@ -2857,43 +2799,47 @@ const Du = s.forwardRef(({ className: e, onClick: a, ...t }, r) => {
2857
2799
  );
2858
2800
  });
2859
2801
  Du.displayName = "SidebarTrigger";
2860
- const Lu = s.forwardRef(({ className: e, ...a }, t) => {
2861
- const { toggleSidebar: r } = Lt();
2862
- return /* @__PURE__ */ l.jsx(
2863
- "button",
2802
+ const Lu = s.forwardRef(
2803
+ ({ className: e, ...a }, t) => {
2804
+ const { toggleSidebar: r } = Lt();
2805
+ return /* @__PURE__ */ l.jsx(
2806
+ "button",
2807
+ {
2808
+ ref: t,
2809
+ "data-sidebar": "rail",
2810
+ "aria-label": "Toggle Sidebar",
2811
+ tabIndex: -1,
2812
+ onClick: r,
2813
+ title: "Toggle Sidebar",
2814
+ className: S(
2815
+ "al-absolute al-inset-y-0 al-z-20 al-hidden al-w-4 al--translate-x-1/2 al-transition-all al-ease-linear after:al-absolute after:al-inset-y-0 after:al-left-1/2 after:al-w-[2px] hover:after:al-bg-sidebar-border group-data-[side=left]:al--right-4 group-data-[side=right]:al-left-0 sm:al-flex",
2816
+ "[[data-side=left]_&]:al-cursor-w-resize [[data-side=right]_&]:al-cursor-e-resize",
2817
+ "[[data-side=left][data-state=collapsed]_&]:al-cursor-e-resize [[data-side=right][data-state=collapsed]_&]:al-cursor-w-resize",
2818
+ "group-data-[collapsible=offcanvas]:al-translate-x-0 group-data-[collapsible=offcanvas]:after:al-left-full group-data-[collapsible=offcanvas]:hover:al-bg-sidebar",
2819
+ "[[data-side=left][data-collapsible=offcanvas]_&]:al--right-2",
2820
+ "[[data-side=right][data-collapsible=offcanvas]_&]:al--left-2",
2821
+ e
2822
+ ),
2823
+ ...a
2824
+ }
2825
+ );
2826
+ }
2827
+ );
2828
+ Lu.displayName = "SidebarRail";
2829
+ const ku = s.forwardRef(
2830
+ ({ className: e, ...a }, t) => /* @__PURE__ */ l.jsx(
2831
+ "main",
2864
2832
  {
2865
2833
  ref: t,
2866
- "data-sidebar": "rail",
2867
- "aria-label": "Toggle Sidebar",
2868
- tabIndex: -1,
2869
- onClick: r,
2870
- title: "Toggle Sidebar",
2871
2834
  className: S(
2872
- "al-absolute al-inset-y-0 al-z-20 al-hidden al-w-4 al--translate-x-1/2 al-transition-all al-ease-linear after:al-absolute after:al-inset-y-0 after:al-left-1/2 after:al-w-[2px] hover:after:al-bg-sidebar-border group-data-[side=left]:al--right-4 group-data-[side=right]:al-left-0 sm:al-flex",
2873
- "[[data-side=left]_&]:al-cursor-w-resize [[data-side=right]_&]:al-cursor-e-resize",
2874
- "[[data-side=left][data-state=collapsed]_&]:al-cursor-e-resize [[data-side=right][data-state=collapsed]_&]:al-cursor-w-resize",
2875
- "group-data-[collapsible=offcanvas]:al-translate-x-0 group-data-[collapsible=offcanvas]:after:al-left-full group-data-[collapsible=offcanvas]:hover:al-bg-sidebar",
2876
- "[[data-side=left][data-collapsible=offcanvas]_&]:al--right-2",
2877
- "[[data-side=right][data-collapsible=offcanvas]_&]:al--left-2",
2835
+ "al-relative al-flex al-min-h-svh al-flex-1 al-flex-col al-bg-background",
2836
+ "peer-data-[variant=inset]:al-min-h-[calc(100svh-theme(spacing.4))] md:peer-data-[variant=inset]:al-m-2 md:peer-data-[state=collapsed]:peer-data-[variant=inset]:al-ml-2 md:peer-data-[variant=inset]:al-ml-0 md:peer-data-[variant=inset]:al-rounded-xl md:peer-data-[variant=inset]:al-shadow",
2878
2837
  e
2879
2838
  ),
2880
2839
  ...a
2881
2840
  }
2882
- );
2883
- });
2884
- Lu.displayName = "SidebarRail";
2885
- const ku = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ l.jsx(
2886
- "main",
2887
- {
2888
- ref: t,
2889
- className: S(
2890
- "al-relative al-flex al-min-h-svh al-flex-1 al-flex-col al-bg-background",
2891
- "peer-data-[variant=inset]:al-min-h-[calc(100svh-theme(spacing.4))] md:peer-data-[variant=inset]:al-m-2 md:peer-data-[state=collapsed]:peer-data-[variant=inset]:al-ml-2 md:peer-data-[variant=inset]:al-ml-0 md:peer-data-[variant=inset]:al-rounded-xl md:peer-data-[variant=inset]:al-shadow",
2892
- e
2893
- ),
2894
- ...a
2895
- }
2896
- ));
2841
+ )
2842
+ );
2897
2843
  ku.displayName = "SidebarInset";
2898
2844
  const Ou = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ l.jsx(
2899
2845
  Vr,
@@ -2908,25 +2854,29 @@ const Ou = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ l.jsx(
2908
2854
  }
2909
2855
  ));
2910
2856
  Ou.displayName = "SidebarInput";
2911
- const zu = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ l.jsx(
2912
- "div",
2913
- {
2914
- ref: t,
2915
- "data-sidebar": "header",
2916
- className: S("al-flex al-flex-col al-gap-2 al-p-2", e),
2917
- ...a
2918
- }
2919
- ));
2857
+ const zu = s.forwardRef(
2858
+ ({ className: e, ...a }, t) => /* @__PURE__ */ l.jsx(
2859
+ "div",
2860
+ {
2861
+ ref: t,
2862
+ "data-sidebar": "header",
2863
+ className: S("al-flex al-flex-col al-gap-2 al-p-2", e),
2864
+ ...a
2865
+ }
2866
+ )
2867
+ );
2920
2868
  zu.displayName = "SidebarHeader";
2921
- const $u = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ l.jsx(
2922
- "div",
2923
- {
2924
- ref: t,
2925
- "data-sidebar": "footer",
2926
- className: S("al-flex al-flex-col al-gap-2 al-p-2", e),
2927
- ...a
2928
- }
2929
- ));
2869
+ const $u = s.forwardRef(
2870
+ ({ className: e, ...a }, t) => /* @__PURE__ */ l.jsx(
2871
+ "div",
2872
+ {
2873
+ ref: t,
2874
+ "data-sidebar": "footer",
2875
+ className: S("al-flex al-flex-col al-gap-2 al-p-2", e),
2876
+ ...a
2877
+ }
2878
+ )
2879
+ );
2930
2880
  $u.displayName = "SidebarFooter";
2931
2881
  const Fu = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ l.jsx(
2932
2882
  ls,
@@ -2938,31 +2888,32 @@ const Fu = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ l.jsx(
2938
2888
  }
2939
2889
  ));
2940
2890
  Fu.displayName = "SidebarSeparator";
2941
- const Vu = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ l.jsx(
2942
- "div",
2943
- {
2944
- ref: t,
2945
- "data-sidebar": "content",
2946
- className: S(
2947
- "al-flex al-min-h-0 al-flex-1 al-flex-col al-gap-2 al-overflow-auto group-data-[collapsible=icon]:al-overflow-hidden",
2948
- e
2949
- ),
2950
- ...a
2951
- }
2952
- ));
2891
+ const Vu = s.forwardRef(
2892
+ ({ className: e, ...a }, t) => /* @__PURE__ */ l.jsx(
2893
+ "div",
2894
+ {
2895
+ ref: t,
2896
+ "data-sidebar": "content",
2897
+ className: S(
2898
+ "al-flex al-min-h-0 al-flex-1 al-flex-col al-gap-2 al-overflow-auto group-data-[collapsible=icon]:al-overflow-hidden",
2899
+ e
2900
+ ),
2901
+ ...a
2902
+ }
2903
+ )
2904
+ );
2953
2905
  Vu.displayName = "SidebarContent";
2954
- const Hu = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ l.jsx(
2955
- "div",
2956
- {
2957
- ref: t,
2958
- "data-sidebar": "group",
2959
- className: S(
2960
- "al-relative al-flex al-w-full al-min-w-0 al-flex-col al-p-2",
2961
- e
2962
- ),
2963
- ...a
2964
- }
2965
- ));
2906
+ const Hu = s.forwardRef(
2907
+ ({ className: e, ...a }, t) => /* @__PURE__ */ l.jsx(
2908
+ "div",
2909
+ {
2910
+ ref: t,
2911
+ "data-sidebar": "group",
2912
+ className: S("al-relative al-flex al-w-full al-min-w-0 al-flex-col al-p-2", e),
2913
+ ...a
2914
+ }
2915
+ )
2916
+ );
2966
2917
  Hu.displayName = "SidebarGroup";
2967
2918
  const Bu = s.forwardRef(({ className: e, asChild: a = !1, ...t }, r) => {
2968
2919
  const o = a ? Pe : "div";
@@ -3000,38 +2951,41 @@ const Gu = s.forwardRef(({ className: e, asChild: a = !1, ...t }, r) => {
3000
2951
  );
3001
2952
  });
3002
2953
  Gu.displayName = "SidebarGroupAction";
3003
- const Ku = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ l.jsx(
3004
- "div",
3005
- {
3006
- ref: t,
3007
- "data-sidebar": "group-content",
3008
- className: S("al-w-full al-text-sm", e),
3009
- ...a
3010
- }
3011
- ));
2954
+ const Ku = s.forwardRef(
2955
+ ({ className: e, ...a }, t) => /* @__PURE__ */ l.jsx(
2956
+ "div",
2957
+ {
2958
+ ref: t,
2959
+ "data-sidebar": "group-content",
2960
+ className: S("al-w-full al-text-sm", e),
2961
+ ...a
2962
+ }
2963
+ )
2964
+ );
3012
2965
  Ku.displayName = "SidebarGroupContent";
3013
- const Uu = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ l.jsx(
3014
- "ul",
3015
- {
3016
- ref: t,
3017
- "data-sidebar": "menu",
3018
- className: S(
3019
- "al-flex al-w-full al-min-w-0 al-flex-col al-gap-1",
3020
- e
3021
- ),
3022
- ...a
3023
- }
3024
- ));
2966
+ const Uu = s.forwardRef(
2967
+ ({ className: e, ...a }, t) => /* @__PURE__ */ l.jsx(
2968
+ "ul",
2969
+ {
2970
+ ref: t,
2971
+ "data-sidebar": "menu",
2972
+ className: S("al-flex al-w-full al-min-w-0 al-flex-col al-gap-1", e),
2973
+ ...a
2974
+ }
2975
+ )
2976
+ );
3025
2977
  Uu.displayName = "SidebarMenu";
3026
- const Wu = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ l.jsx(
3027
- "li",
3028
- {
3029
- ref: t,
3030
- "data-sidebar": "menu-item",
3031
- className: S("al-group/menu-item al-relative", e),
3032
- ...a
3033
- }
3034
- ));
2978
+ const Wu = s.forwardRef(
2979
+ ({ className: e, ...a }, t) => /* @__PURE__ */ l.jsx(
2980
+ "li",
2981
+ {
2982
+ ref: t,
2983
+ "data-sidebar": "menu-item",
2984
+ className: S("al-group/menu-item al-relative", e),
2985
+ ...a
2986
+ }
2987
+ )
2988
+ );
3035
2989
  Wu.displayName = "SidebarMenuItem";
3036
2990
  const Xu = it(
3037
2991
  "al-peer/menu-button al-flex al-w-full al-items-center al-gap-2 al-overflow-hidden al-rounded-md al-p-2 al-text-left al-text-sm al-outline-none al-ring-sidebar-ring al-transition-[width,height,padding] hover:al-bg-sidebar-accent hover:al-text-sidebar-accent-foreground focus-visible:al-ring-2 active:al-bg-sidebar-accent active:al-text-sidebar-accent-foreground disabled:al-pointer-events-none disabled:al-opacity-50 al-group-has-[[data-sidebar=menu-action]]/menu-item:pr-8 aria-disabled:al-pointer-events-none aria-disabled:al-opacity-50 data-[active=true]:al-bg-sidebar-accent data-[active=true]:al-font-medium data-[active=true]:al-text-sidebar-accent-foreground data-[state=open]:hover:al-bg-sidebar-accent data-[state=open]:hover:al-text-sidebar-accent-foreground group-data-[collapsible=icon]:al-!size-8 group-data-[collapsible=icon]:al-!p-2 [&>span:last-child]:al-truncate [&>svg]:al-size-4 [&>svg]:al-shrink-0",
@@ -3113,23 +3067,25 @@ const qu = s.forwardRef(({ className: e, asChild: a = !1, showOnHover: t = !1, .
3113
3067
  );
3114
3068
  });
3115
3069
  qu.displayName = "SidebarMenuAction";
3116
- const Ju = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ l.jsx(
3117
- "div",
3118
- {
3119
- ref: t,
3120
- "data-sidebar": "menu-badge",
3121
- className: S(
3122
- "al-absolute al-right-1 al-flex al-h-5 al-min-w-5 al-items-center al-justify-center al-rounded-md al-px-1 al-text-xs al-font-medium al-tabular-nums al-text-sidebar-foreground al-select-none al-pointer-events-none",
3123
- "al-peer-hover/menu-button:text-sidebar-accent-foreground al-peer-data-[active=true]/menu-button:text-sidebar-accent-foreground",
3124
- "al-peer-data-[size=sm]/menu-button:top-1",
3125
- "al-peer-data-[size=default]/menu-button:top-1.5",
3126
- "al-peer-data-[size=lg]/menu-button:top-2.5",
3127
- "group-data-[collapsible=icon]:al-hidden",
3128
- e
3129
- ),
3130
- ...a
3131
- }
3132
- ));
3070
+ const Ju = s.forwardRef(
3071
+ ({ className: e, ...a }, t) => /* @__PURE__ */ l.jsx(
3072
+ "div",
3073
+ {
3074
+ ref: t,
3075
+ "data-sidebar": "menu-badge",
3076
+ className: S(
3077
+ "al-absolute al-right-1 al-flex al-h-5 al-min-w-5 al-items-center al-justify-center al-rounded-md al-px-1 al-text-xs al-font-medium al-tabular-nums al-text-sidebar-foreground al-select-none al-pointer-events-none",
3078
+ "al-peer-hover/menu-button:text-sidebar-accent-foreground al-peer-data-[active=true]/menu-button:text-sidebar-accent-foreground",
3079
+ "al-peer-data-[size=sm]/menu-button:top-1",
3080
+ "al-peer-data-[size=default]/menu-button:top-1.5",
3081
+ "al-peer-data-[size=lg]/menu-button:top-2.5",
3082
+ "group-data-[collapsible=icon]:al-hidden",
3083
+ e
3084
+ ),
3085
+ ...a
3086
+ }
3087
+ )
3088
+ );
3133
3089
  Ju.displayName = "SidebarMenuBadge";
3134
3090
  const Zu = s.forwardRef(({ className: e, showIcon: a = !1, ...t }, r) => {
3135
3091
  const o = s.useMemo(() => `${Math.floor(Math.random() * 40) + 50}%`, []);
@@ -3138,19 +3094,10 @@ const Zu = s.forwardRef(({ className: e, showIcon: a = !1, ...t }, r) => {
3138
3094
  {
3139
3095
  ref: r,
3140
3096
  "data-sidebar": "menu-skeleton",
3141
- className: S(
3142
- "al-rounded-md al-h-8 al-flex al-gap-2 al-px-2 al-items-center",
3143
- e
3144
- ),
3097
+ className: S("al-rounded-md al-h-8 al-flex al-gap-2 al-px-2 al-items-center", e),
3145
3098
  ...t,
3146
3099
  children: [
3147
- a && /* @__PURE__ */ l.jsx(
3148
- gr,
3149
- {
3150
- className: "al-size-4 al-rounded-md",
3151
- "data-sidebar": "menu-skeleton-icon"
3152
- }
3153
- ),
3100
+ a && /* @__PURE__ */ l.jsx(gr, { className: "al-size-4 al-rounded-md", "data-sidebar": "menu-skeleton-icon" }),
3154
3101
  /* @__PURE__ */ l.jsx(
3155
3102
  gr,
3156
3103
  {
@@ -3166,21 +3113,25 @@ const Zu = s.forwardRef(({ className: e, showIcon: a = !1, ...t }, r) => {
3166
3113
  );
3167
3114
  });
3168
3115
  Zu.displayName = "SidebarMenuSkeleton";
3169
- const Qu = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ l.jsx(
3170
- "ul",
3171
- {
3172
- ref: t,
3173
- "data-sidebar": "menu-sub",
3174
- className: S(
3175
- "al-mx-3.5 al-flex al-min-w-0 al-translate-x-px al-flex-col al-gap-1 al-border-l al-border-sidebar-border al-px-2.5 al-py-0.5",
3176
- "group-data-[collapsible=icon]:al-hidden",
3177
- e
3178
- ),
3179
- ...a
3180
- }
3181
- ));
3116
+ const Qu = s.forwardRef(
3117
+ ({ className: e, ...a }, t) => /* @__PURE__ */ l.jsx(
3118
+ "ul",
3119
+ {
3120
+ ref: t,
3121
+ "data-sidebar": "menu-sub",
3122
+ className: S(
3123
+ "al-mx-3.5 al-flex al-min-w-0 al-translate-x-px al-flex-col al-gap-1 al-border-l al-border-sidebar-border al-px-2.5 al-py-0.5",
3124
+ "group-data-[collapsible=icon]:al-hidden",
3125
+ e
3126
+ ),
3127
+ ...a
3128
+ }
3129
+ )
3130
+ );
3182
3131
  Qu.displayName = "SidebarMenuSub";
3183
- const ef = s.forwardRef(({ ...e }, a) => /* @__PURE__ */ l.jsx("li", { ref: a, ...e }));
3132
+ const ef = s.forwardRef(
3133
+ ({ ...e }, a) => /* @__PURE__ */ l.jsx("li", { ref: a, ...e })
3134
+ );
3184
3135
  ef.displayName = "SidebarMenuSubItem";
3185
3136
  const tf = s.forwardRef(({ asChild: e = !1, size: a = "md", isActive: t, className: r, ...o }, n) => {
3186
3137
  const i = e ? Pe : "a";
@@ -3506,26 +3457,30 @@ const mf = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ l.jsx(
3506
3457
  mf.displayName = Ps.displayName;
3507
3458
  const gf = s.forwardRef(({ ...e }, a) => /* @__PURE__ */ l.jsx("nav", { ref: a, "aria-label": "breadcrumb", ...e }));
3508
3459
  gf.displayName = "Breadcrumb";
3509
- const vf = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ l.jsx(
3510
- "ol",
3511
- {
3512
- ref: t,
3513
- className: S(
3514
- "al-flex al-flex-wrap al-items-center al-gap-1.5 al-break-words al-text-sm al-text-muted-foreground sm:al-gap-2.5",
3515
- e
3516
- ),
3517
- ...a
3518
- }
3519
- ));
3460
+ const vf = s.forwardRef(
3461
+ ({ className: e, ...a }, t) => /* @__PURE__ */ l.jsx(
3462
+ "ol",
3463
+ {
3464
+ ref: t,
3465
+ className: S(
3466
+ "al-flex al-flex-wrap al-items-center al-gap-1.5 al-break-words al-text-sm al-text-muted-foreground sm:al-gap-2.5",
3467
+ e
3468
+ ),
3469
+ ...a
3470
+ }
3471
+ )
3472
+ );
3520
3473
  vf.displayName = "BreadcrumbList";
3521
- const hf = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ l.jsx(
3522
- "li",
3523
- {
3524
- ref: t,
3525
- className: S("al-inline-flex al-items-center al-gap-1.5", e),
3526
- ...a
3527
- }
3528
- ));
3474
+ const hf = s.forwardRef(
3475
+ ({ className: e, ...a }, t) => /* @__PURE__ */ l.jsx(
3476
+ "li",
3477
+ {
3478
+ ref: t,
3479
+ className: S("al-inline-flex al-items-center al-gap-1.5", e),
3480
+ ...a
3481
+ }
3482
+ )
3483
+ );
3529
3484
  hf.displayName = "BreadcrumbItem";
3530
3485
  const bf = s.forwardRef(({ asChild: e, className: a, ...t }, r) => {
3531
3486
  const o = e ? Pe : "a";
@@ -3539,23 +3494,21 @@ const bf = s.forwardRef(({ asChild: e, className: a, ...t }, r) => {
3539
3494
  );
3540
3495
  });
3541
3496
  bf.displayName = "BreadcrumbLink";
3542
- const xf = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ l.jsx(
3543
- "span",
3544
- {
3545
- ref: t,
3546
- role: "link",
3547
- "aria-disabled": "true",
3548
- "aria-current": "page",
3549
- className: S("al-font-normal al-text-foreground", e),
3550
- ...a
3551
- }
3552
- ));
3497
+ const xf = s.forwardRef(
3498
+ ({ className: e, ...a }, t) => /* @__PURE__ */ l.jsx(
3499
+ "span",
3500
+ {
3501
+ ref: t,
3502
+ role: "link",
3503
+ "aria-disabled": "true",
3504
+ "aria-current": "page",
3505
+ className: S("al-font-normal al-text-foreground", e),
3506
+ ...a
3507
+ }
3508
+ )
3509
+ );
3553
3510
  xf.displayName = "BreadcrumbPage";
3554
- const wf = ({
3555
- children: e,
3556
- className: a,
3557
- ...t
3558
- }) => /* @__PURE__ */ l.jsx(
3511
+ const wf = ({ children: e, className: a, ...t }) => /* @__PURE__ */ l.jsx(
3559
3512
  "li",
3560
3513
  {
3561
3514
  role: "presentation",
@@ -3566,18 +3519,12 @@ const wf = ({
3566
3519
  }
3567
3520
  );
3568
3521
  wf.displayName = "BreadcrumbSeparator";
3569
- const yf = ({
3570
- className: e,
3571
- ...a
3572
- }) => /* @__PURE__ */ l.jsxs(
3522
+ const yf = ({ className: e, ...a }) => /* @__PURE__ */ l.jsxs(
3573
3523
  "span",
3574
3524
  {
3575
3525
  role: "presentation",
3576
3526
  "aria-hidden": "true",
3577
- className: S(
3578
- "al-flex al-h-9 al-w-9 al-items-center al-justify-center",
3579
- e
3580
- ),
3527
+ className: S("al-flex al-h-9 al-w-9 al-items-center al-justify-center", e),
3581
3528
  ...a,
3582
3529
  children: [
3583
3530
  /* @__PURE__ */ l.jsx(Fr, { className: "al-h-4 al-w-4" }),
@@ -3992,13 +3939,23 @@ const Ff = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ l.jsxs(
3992
3939
  Fs,
3993
3940
  {
3994
3941
  ref: t,
3942
+ role: "group",
3943
+ "aria-label": "Slider",
3995
3944
  className: S(
3996
3945
  "al-relative al-flex al-w-full al-touch-none al-select-none al-items-center",
3997
3946
  e
3998
3947
  ),
3999
3948
  ...a,
4000
3949
  children: [
4001
- /* @__PURE__ */ l.jsx(Of, { className: "al-relative al-h-2 al-w-full al-grow al-overflow-hidden al-rounded-full al-bg-secondary", children: /* @__PURE__ */ l.jsx(zf, { className: "al-absolute al-h-full al-bg-primary" }) }),
3950
+ /* @__PURE__ */ l.jsx(
3951
+ Of,
3952
+ {
3953
+ role: "presentation",
3954
+ "aria-label": "Slider track",
3955
+ className: "al-relative al-h-2 al-w-full al-grow al-overflow-hidden al-rounded-full al-bg-secondary",
3956
+ children: /* @__PURE__ */ l.jsx(zf, { className: "al-absolute al-h-full al-bg-primary" })
3957
+ }
3958
+ ),
4002
3959
  /* @__PURE__ */ l.jsx($f, { className: "al-block al-h-5 al-w-5 al-rounded-full al-border-2 al-border-primary al-bg-background al-ring-offset-background al-transition-colors focus-visible:al-outline-none focus-visible:al-ring-2 focus-visible:al-ring-ring focus-visible:al-ring-offset-2 disabled:al-pointer-events-none disabled:al-opacity-50" })
4003
3960
  ]
4004
3961
  }
@@ -4219,9 +4176,7 @@ function sp(e) {
4219
4176
  fieldState: p
4220
4177
  }), [f, c, p]);
4221
4178
  }
4222
- const lp = (e) => e.render(sp(e)), Sg = Jf, Us = s.createContext(
4223
- {}
4224
- ), Cg = ({
4179
+ const lp = (e) => e.render(sp(e)), Sg = Jf, Us = s.createContext({}), Cg = ({
4225
4180
  ...e
4226
4181
  }) => /* @__PURE__ */ l.jsx(Us.Provider, { value: { name: e.name }, children: /* @__PURE__ */ l.jsx(lp, { ...e }) }), zt = () => {
4227
4182
  const e = s.useContext(Us), a = s.useContext(Ws), { getFieldState: t, formState: r } = Ot(), o = t(e.name, r);
@@ -4236,12 +4191,12 @@ const lp = (e) => e.render(sp(e)), Sg = Jf, Us = s.createContext(
4236
4191
  formMessageId: `${n}-form-item-message`,
4237
4192
  ...o
4238
4193
  };
4239
- }, Ws = s.createContext(
4240
- {}
4241
- ), ip = s.forwardRef(({ className: e, ...a }, t) => {
4242
- const r = s.useId();
4243
- return /* @__PURE__ */ l.jsx(Ws.Provider, { value: { id: r }, children: /* @__PURE__ */ l.jsx("div", { ref: t, className: S("al-space-y-2", e), ...a }) });
4244
- });
4194
+ }, Ws = s.createContext({}), ip = s.forwardRef(
4195
+ ({ className: e, ...a }, t) => {
4196
+ const r = s.useId();
4197
+ return /* @__PURE__ */ l.jsx(Ws.Provider, { value: { id: r }, children: /* @__PURE__ */ l.jsx("div", { ref: t, className: S("al-space-y-2", e), ...a }) });
4198
+ }
4199
+ );
4245
4200
  ip.displayName = "FormItem";
4246
4201
  const cp = s.forwardRef(({ className: e, ...a }, t) => {
4247
4202
  const { error: r, formItemId: o } = zt();
@@ -4656,22 +4611,20 @@ const $p = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ l.jsx(
4656
4611
  }
4657
4612
  ));
4658
4613
  $p.displayName = Rl.displayName;
4659
- const Fp = s.forwardRef(
4660
- ({ className: e, align: a = "start", alignOffset: t = -4, sideOffset: r = 8, ...o }, n) => /* @__PURE__ */ l.jsx(gl, { children: /* @__PURE__ */ l.jsx(
4661
- vl,
4662
- {
4663
- ref: n,
4664
- align: a,
4665
- alignOffset: t,
4666
- sideOffset: r,
4667
- className: S(
4668
- "al-z-50 al-min-w-[12rem] al-overflow-hidden al-rounded-md al-border al-bg-popover al-p-1 al-text-popover-foreground al-shadow-md data-[state=open]:al-animate-in data-[state=closed]:al-fade-out-0 data-[state=open]:al-fade-in-0 data-[state=closed]:al-zoom-out-95 data-[state=open]:al-zoom-in-95 data-[side=bottom]:al-slide-in-from-top-2 data-[side=left]:al-slide-in-from-right-2 data-[side=right]:al-slide-in-from-left-2 data-[side=top]:al-slide-in-from-bottom-2",
4669
- e
4670
- ),
4671
- ...o
4672
- }
4673
- ) })
4674
- );
4614
+ const Fp = s.forwardRef(({ className: e, align: a = "start", alignOffset: t = -4, sideOffset: r = 8, ...o }, n) => /* @__PURE__ */ l.jsx(gl, { children: /* @__PURE__ */ l.jsx(
4615
+ vl,
4616
+ {
4617
+ ref: n,
4618
+ align: a,
4619
+ alignOffset: t,
4620
+ sideOffset: r,
4621
+ className: S(
4622
+ "al-z-50 al-min-w-[12rem] al-overflow-hidden al-rounded-md al-border al-bg-popover al-p-1 al-text-popover-foreground al-shadow-md data-[state=open]:al-animate-in data-[state=closed]:al-fade-out-0 data-[state=open]:al-fade-in-0 data-[state=closed]:al-zoom-out-95 data-[state=open]:al-zoom-in-95 data-[side=bottom]:al-slide-in-from-top-2 data-[side=left]:al-slide-in-from-right-2 data-[side=right]:al-slide-in-from-left-2 data-[side=top]:al-slide-in-from-bottom-2",
4623
+ e
4624
+ ),
4625
+ ...o
4626
+ }
4627
+ ) }));
4675
4628
  Fp.displayName = vl.displayName;
4676
4629
  const Vp = s.forwardRef(({ className: e, inset: a, ...t }, r) => /* @__PURE__ */ l.jsx(
4677
4630
  bl,
@@ -4723,11 +4676,7 @@ const Gp = s.forwardRef(({ className: e, inset: a, ...t }, r) => /* @__PURE__ */
4723
4676
  hl,
4724
4677
  {
4725
4678
  ref: r,
4726
- className: S(
4727
- "al-px-2 al-py-1.5 al-text-sm al-font-semibold",
4728
- a && "al-pl-8",
4729
- e
4730
- ),
4679
+ className: S("al-px-2 al-py-1.5 al-text-sm al-font-semibold", a && "al-pl-8", e),
4731
4680
  ...t
4732
4681
  }
4733
4682
  ));
@@ -4741,16 +4690,10 @@ const Kp = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ l.jsx(
4741
4690
  }
4742
4691
  ));
4743
4692
  Kp.displayName = Sl.displayName;
4744
- const Up = ({
4745
- className: e,
4746
- ...a
4747
- }) => /* @__PURE__ */ l.jsx(
4693
+ const Up = ({ className: e, ...a }) => /* @__PURE__ */ l.jsx(
4748
4694
  "span",
4749
4695
  {
4750
- className: S(
4751
- "al-ml-auto al-text-xs al-tracking-widest al-text-muted-foreground",
4752
- e
4753
- ),
4696
+ className: S("al-ml-auto al-text-xs al-tracking-widest al-text-muted-foreground", e),
4754
4697
  ...a
4755
4698
  }
4756
4699
  );
@@ -4765,26 +4708,33 @@ const Wp = ({ className: e, ...a }) => /* @__PURE__ */ l.jsx(
4765
4708
  }
4766
4709
  );
4767
4710
  Wp.displayName = "Pagination";
4768
- const Xp = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ l.jsx(
4769
- "ul",
4770
- {
4771
- ref: t,
4772
- className: S("al-flex al-flex-row al-items-center al-gap-1", e),
4773
- ...a
4774
- }
4775
- ));
4711
+ const Xp = s.forwardRef(
4712
+ ({ className: e, ...a }, t) => /* @__PURE__ */ l.jsx(
4713
+ "ul",
4714
+ {
4715
+ ref: t,
4716
+ className: S("al-flex al-flex-row al-items-center al-gap-1", e),
4717
+ ...a
4718
+ }
4719
+ )
4720
+ );
4776
4721
  Xp.displayName = "PaginationContent";
4777
- const Yp = s.forwardRef(({ className: e, ...a }, t) => /* @__PURE__ */ l.jsx("li", { ref: t, className: S("al-", e), ...a }));
4722
+ const Yp = s.forwardRef(
4723
+ ({ className: e, ...a }, t) => /* @__PURE__ */ l.jsx("li", { ref: t, className: S("al-", e), ...a })
4724
+ );
4778
4725
  Yp.displayName = "PaginationItem";
4779
4726
  const Ja = ({
4780
4727
  className: e,
4781
4728
  isActive: a,
4782
4729
  size: t = "icon",
4783
- ...r
4730
+ children: r,
4731
+ "aria-label": o,
4732
+ ...n
4784
4733
  }) => /* @__PURE__ */ l.jsx(
4785
4734
  "a",
4786
4735
  {
4787
4736
  "aria-current": a ? "page" : void 0,
4737
+ "aria-label": o || (typeof r == "string" ? r : "Page"),
4788
4738
  className: S(
4789
4739
  Ia({
4790
4740
  variant: a ? "outline" : "ghost",
@@ -4792,7 +4742,8 @@ const Ja = ({
4792
4742
  }),
4793
4743
  e
4794
4744
  ),
4795
- ...r
4745
+ ...n,
4746
+ children: r
4796
4747
  }
4797
4748
  );
4798
4749
  Ja.displayName = "PaginationLink";
@@ -4813,10 +4764,7 @@ const qp = ({
4813
4764
  }
4814
4765
  );
4815
4766
  qp.displayName = "PaginationPrevious";
4816
- const Jp = ({
4817
- className: e,
4818
- ...a
4819
- }) => /* @__PURE__ */ l.jsxs(
4767
+ const Jp = ({ className: e, ...a }) => /* @__PURE__ */ l.jsxs(
4820
4768
  Ja,
4821
4769
  {
4822
4770
  "aria-label": "Go to next page",
@@ -4830,17 +4778,11 @@ const Jp = ({
4830
4778
  }
4831
4779
  );
4832
4780
  Jp.displayName = "PaginationNext";
4833
- const Zp = ({
4834
- className: e,
4835
- ...a
4836
- }) => /* @__PURE__ */ l.jsxs(
4781
+ const Zp = ({ className: e, ...a }) => /* @__PURE__ */ l.jsxs(
4837
4782
  "span",
4838
4783
  {
4839
4784
  "aria-hidden": !0,
4840
- className: S(
4841
- "al-flex al-h-9 al-w-9 al-items-center al-justify-center",
4842
- e
4843
- ),
4785
+ className: S("al-flex al-h-9 al-w-9 al-items-center al-justify-center", e),
4844
4786
  ...a,
4845
4787
  children: [
4846
4788
  /* @__PURE__ */ l.jsx(Fr, { className: "al-h-4 al-w-4" }),
@@ -6327,6 +6269,8 @@ const Ig = ({
6327
6269
  "al-flex al-h-full al-w-full data-[panel-group-direction=vertical]:al-flex-col",
6328
6270
  e
6329
6271
  ),
6272
+ role: "group",
6273
+ "aria-label": "resizable-panel-group",
6330
6274
  ...a
6331
6275
  }
6332
6276
  ), Mg = ({
@@ -6338,6 +6282,8 @@ const Ig = ({
6338
6282
  _l,
6339
6283
  {
6340
6284
  className: S("al-group al-relative", e),
6285
+ role: "region",
6286
+ "aria-label": "resizable-panel",
6341
6287
  ...r,
6342
6288
  "data-panel-min-size": a,
6343
6289
  "data-panel-max-size": t
@@ -6346,17 +6292,31 @@ const Ig = ({
6346
6292
  withHandle: e,
6347
6293
  className: a,
6348
6294
  ...t
6349
- }) => /* @__PURE__ */ l.jsx(
6350
- Wl,
6351
- {
6352
- className: S(
6353
- "al-relative al-flex al-w-px al-items-center al-justify-center al-bg-border after:al-absolute after:al-inset-y-0 after:al-left-1/2 after:al-w-1 after:al--translate-x-1/2 focus-visible:al-outline-none focus-visible:al-ring-1 focus-visible:al-ring-ring focus-visible:al-ring-offset-1 data-[panel-group-direction=vertical]:al-h-px data-[panel-group-direction=vertical]:al-w-full data-[panel-group-direction=vertical]:after:al-left-0 data-[panel-group-direction=vertical]:after:al-h-1 data-[panel-group-direction=vertical]:after:al-w-full data-[panel-group-direction=vertical]:after:al-translate-y-1/2 data-[panel-group-direction=vertical]:after:al-translate-x-0 [&[data-panel-group-direction=vertical]>div]:al-rotate-90",
6354
- a
6355
- ),
6356
- ...t,
6357
- children: e && /* @__PURE__ */ l.jsx("div", { className: "al-z-10 al-flex al-h-4 al-w-3 al-items-center al-justify-center al-rounded-sm al-border al-bg-border", children: /* @__PURE__ */ l.jsx(Gi, { className: "al-h-2.5 al-w-2.5" }) })
6358
- }
6359
- );
6295
+ }) => {
6296
+ const r = t["data-panel-group-direction"] === "vertical";
6297
+ return /* @__PURE__ */ l.jsx(
6298
+ Wl,
6299
+ {
6300
+ className: S(
6301
+ "al-relative al-flex al-w-px al-items-center al-justify-center al-bg-border after:al-absolute after:al-inset-y-0 after:al-left-1/2 after:al-w-1 after:al--translate-x-1/2 focus-visible:al-outline-none focus-visible:al-ring-1 focus-visible:al-ring-ring focus-visible:al-ring-offset-1 data-[panel-group-direction=vertical]:al-h-px data-[panel-group-direction=vertical]:al-w-full data-[panel-group-direction=vertical]:after:al-left-0 data-[panel-group-direction=vertical]:after:al-h-1 data-[panel-group-direction=vertical]:after:al-w-full data-[panel-group-direction=vertical]:after:al-translate-y-1/2 data-[panel-group-direction=vertical]:after:al-translate-x-0 [&[data-panel-group-direction=vertical]>div]:al-rotate-90",
6302
+ a
6303
+ ),
6304
+ role: "separator",
6305
+ "aria-label": "resize-handle",
6306
+ "aria-orientation": r ? "horizontal" : "vertical",
6307
+ ...t,
6308
+ children: e && /* @__PURE__ */ l.jsx(
6309
+ "div",
6310
+ {
6311
+ className: "al-z-10 al-flex al-h-4 al-w-3 al-items-center al-justify-center al-rounded-sm al-border al-bg-border",
6312
+ "aria-hidden": "true",
6313
+ "aria-label": "resize grip",
6314
+ children: /* @__PURE__ */ l.jsx(Gi, { className: "al-h-2.5 al-w-2.5" })
6315
+ }
6316
+ )
6317
+ }
6318
+ );
6319
+ };
6360
6320
  function _m(e, a) {
6361
6321
  return s.useReducer((t, r) => a[t][r] ?? t, e);
6362
6322
  }
@@ -6873,9 +6833,19 @@ const Hm = s.forwardRef(({ className: e, children: a, ...t }, r) => /* @__PURE__
6873
6833
  {
6874
6834
  ref: r,
6875
6835
  className: S("al-relative al-overflow-hidden", e),
6836
+ role: "region",
6837
+ "aria-label": "scroll-area",
6876
6838
  ...t,
6877
6839
  children: [
6878
- /* @__PURE__ */ l.jsx(Fm, { className: "al-h-full al-w-full al-rounded-[inherit]", children: a }),
6840
+ /* @__PURE__ */ l.jsx(
6841
+ Fm,
6842
+ {
6843
+ className: "al-h-full al-w-full al-rounded-[inherit]",
6844
+ role: "region",
6845
+ "aria-label": "scrollable-content",
6846
+ children: a
6847
+ }
6848
+ ),
6879
6849
  /* @__PURE__ */ l.jsx(ba, {}),
6880
6850
  /* @__PURE__ */ l.jsx(ba, { orientation: "horizontal" }),
6881
6851
  /* @__PURE__ */ l.jsx(Vm, {})