@devalok/shilp-sutra 0.30.0 → 0.32.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.
Files changed (266) hide show
  1. package/README.md +82 -239
  2. package/dist/_chunks/badge-group.js +123 -171
  3. package/dist/_chunks/document-preview.js +92 -0
  4. package/dist/_chunks/file-preview.js +511 -0
  5. package/dist/_chunks/image-preview.js +90 -0
  6. package/dist/_chunks/primitives.js +109 -109
  7. package/dist/_chunks/stat-row.js +144 -124
  8. package/dist/_chunks/use-calendar.js +558 -490
  9. package/dist/ai/block-renderer.d.ts +2 -1
  10. package/dist/ai/block-renderer.d.ts.map +1 -1
  11. package/dist/ai/block-renderer.js +30 -29
  12. package/dist/ai/blocks/block-table.d.ts.map +1 -1
  13. package/dist/ai/blocks/confirm.d.ts.map +1 -1
  14. package/dist/ai/blocks/divider.d.ts.map +1 -1
  15. package/dist/ai/blocks/error.d.ts.map +1 -1
  16. package/dist/ai/blocks/info.d.ts.map +1 -1
  17. package/dist/ai/blocks/loading.d.ts.map +1 -1
  18. package/dist/ai/blocks/stat-row.d.ts.map +1 -1
  19. package/dist/ai/blocks/success.d.ts.map +1 -1
  20. package/dist/ai/blocks/text.d.ts.map +1 -1
  21. package/dist/ai/command-bar.d.ts +18 -0
  22. package/dist/ai/command-bar.d.ts.map +1 -1
  23. package/dist/ai/command-bar.js +126 -125
  24. package/dist/ai/conversation.d.ts +13 -1
  25. package/dist/ai/conversation.d.ts.map +1 -1
  26. package/dist/ai/conversation.js +78 -78
  27. package/dist/ai/types.d.ts +0 -1
  28. package/dist/ai/types.d.ts.map +1 -1
  29. package/dist/ai/types.js +1 -0
  30. package/dist/composed/bulk-action-bar.d.ts +6 -4
  31. package/dist/composed/bulk-action-bar.d.ts.map +1 -1
  32. package/dist/composed/bulk-action-bar.js +102 -58
  33. package/dist/composed/command-palette.d.ts +9 -0
  34. package/dist/composed/command-palette.d.ts.map +1 -1
  35. package/dist/composed/command-palette.js +68 -68
  36. package/dist/composed/confirm-dialog.d.ts +1 -1
  37. package/dist/composed/confirm-dialog.d.ts.map +1 -1
  38. package/dist/composed/confirm-dialog.js +10 -10
  39. package/dist/composed/content-card.d.ts.map +1 -1
  40. package/dist/composed/date-picker/date-picker.d.ts +11 -1
  41. package/dist/composed/date-picker/date-picker.d.ts.map +1 -1
  42. package/dist/composed/date-picker/month-picker.d.ts.map +1 -1
  43. package/dist/composed/date-picker/year-picker.d.ts.map +1 -1
  44. package/dist/composed/deadline-indicator.d.ts +1 -1
  45. package/dist/composed/deadline-indicator.d.ts.map +1 -1
  46. package/dist/composed/deadline-indicator.js +39 -36
  47. package/dist/composed/emoji-picker.d.ts +6 -0
  48. package/dist/composed/emoji-picker.d.ts.map +1 -1
  49. package/dist/composed/emoji-picker.js +22 -20
  50. package/dist/composed/error-boundary.d.ts +21 -1
  51. package/dist/composed/error-boundary.d.ts.map +1 -1
  52. package/dist/composed/error-boundary.js +47 -32
  53. package/dist/composed/file-preview/audio-preview.d.ts +7 -0
  54. package/dist/composed/file-preview/audio-preview.d.ts.map +1 -0
  55. package/dist/composed/file-preview/document-preview.d.ts +7 -0
  56. package/dist/composed/file-preview/document-preview.d.ts.map +1 -0
  57. package/dist/composed/file-preview/embed-preview.d.ts +7 -0
  58. package/dist/composed/file-preview/embed-preview.d.ts.map +1 -0
  59. package/dist/composed/file-preview/image-preview.d.ts +7 -0
  60. package/dist/composed/file-preview/image-preview.d.ts.map +1 -0
  61. package/dist/composed/file-preview/shared.d.ts +20 -0
  62. package/dist/composed/file-preview/shared.d.ts.map +1 -0
  63. package/dist/composed/file-preview/video-preview.d.ts +6 -0
  64. package/dist/composed/file-preview/video-preview.d.ts.map +1 -0
  65. package/dist/composed/file-preview.d.ts.map +1 -1
  66. package/dist/composed/file-preview.js +10 -662
  67. package/dist/composed/filter-bar.d.ts +10 -2
  68. package/dist/composed/filter-bar.d.ts.map +1 -1
  69. package/dist/composed/filter-bar.js +42 -43
  70. package/dist/composed/form-section.d.ts +1 -1
  71. package/dist/composed/form-section.d.ts.map +1 -1
  72. package/dist/composed/form-section.js +22 -21
  73. package/dist/composed/index.d.ts +2 -2
  74. package/dist/composed/index.d.ts.map +1 -1
  75. package/dist/composed/index.js +58 -57
  76. package/dist/composed/inline-edit.d.ts +1 -1
  77. package/dist/composed/inline-edit.d.ts.map +1 -1
  78. package/dist/composed/inline-edit.js +33 -32
  79. package/dist/composed/lib/string-utils.d.ts.map +1 -1
  80. package/dist/composed/loading-skeleton.d.ts.map +1 -1
  81. package/dist/composed/markdown-viewer.d.ts +1 -1
  82. package/dist/composed/markdown-viewer.d.ts.map +1 -1
  83. package/dist/composed/markdown-viewer.js +60 -59
  84. package/dist/composed/master-detail.d.ts +11 -7
  85. package/dist/composed/master-detail.d.ts.map +1 -1
  86. package/dist/composed/master-detail.js +123 -84
  87. package/dist/composed/page-header.d.ts.map +1 -1
  88. package/dist/composed/page-skeletons.d.ts.map +1 -1
  89. package/dist/composed/priority-indicator.d.ts +1 -0
  90. package/dist/composed/priority-indicator.js +1 -0
  91. package/dist/composed/responsive-overlay.d.ts +8 -0
  92. package/dist/composed/responsive-overlay.d.ts.map +1 -1
  93. package/dist/composed/rich-text-editor.d.ts +11 -3
  94. package/dist/composed/rich-text-editor.d.ts.map +1 -1
  95. package/dist/composed/rich-text-editor.js +21 -20
  96. package/dist/composed/schedule-view.d.ts +9 -1
  97. package/dist/composed/schedule-view.d.ts.map +1 -1
  98. package/dist/hooks/index.d.ts +2 -0
  99. package/dist/hooks/index.d.ts.map +1 -1
  100. package/dist/hooks/index.js +8 -4
  101. package/dist/hooks/use-touch-device.d.ts +12 -0
  102. package/dist/hooks/use-touch-device.d.ts.map +1 -0
  103. package/dist/hooks/use-touch-device.js +13 -0
  104. package/dist/hooks/use-viewport-height.d.ts +11 -0
  105. package/dist/hooks/use-viewport-height.d.ts.map +1 -0
  106. package/dist/hooks/use-viewport-height.js +16 -0
  107. package/dist/shell/bottom-navbar.d.ts.map +1 -1
  108. package/dist/shell/bottom-navbar.js +72 -63
  109. package/dist/shell/command-registry.d.ts.map +1 -1
  110. package/dist/shell/notification-center.d.ts.map +1 -1
  111. package/dist/shell/notification-center.js +77 -77
  112. package/dist/shell/top-bar.d.ts +2 -2
  113. package/dist/shell/top-bar.d.ts.map +1 -1
  114. package/dist/shell/top-bar.js +61 -60
  115. package/dist/tailwind/index.cjs +51 -7
  116. package/dist/tailwind/preset.d.ts.map +1 -1
  117. package/dist/tailwind/preset.js +51 -7
  118. package/dist/tokens/primitives.css +3 -1
  119. package/dist/tokens/semantic.css +16 -13
  120. package/dist/tokens/typography.css +33 -4
  121. package/dist/ui/alert.d.ts +1 -0
  122. package/dist/ui/alert.d.ts.map +1 -1
  123. package/dist/ui/alert.js +42 -37
  124. package/dist/ui/autocomplete.d.ts.map +1 -1
  125. package/dist/ui/autocomplete.js +38 -39
  126. package/dist/ui/badge.d.ts +110 -2
  127. package/dist/ui/badge.d.ts.map +1 -1
  128. package/dist/ui/banner.d.ts.map +1 -1
  129. package/dist/ui/banner.js +8 -7
  130. package/dist/ui/button.d.ts +2 -2
  131. package/dist/ui/button.d.ts.map +1 -1
  132. package/dist/ui/button.js +54 -74
  133. package/dist/ui/card.d.ts +5 -1
  134. package/dist/ui/card.d.ts.map +1 -1
  135. package/dist/ui/card.js +111 -79
  136. package/dist/ui/charts/area-chart.d.ts +2 -0
  137. package/dist/ui/charts/area-chart.d.ts.map +1 -1
  138. package/dist/ui/charts/bar-chart.d.ts +2 -0
  139. package/dist/ui/charts/bar-chart.d.ts.map +1 -1
  140. package/dist/ui/charts/chart-container.d.ts +2 -0
  141. package/dist/ui/charts/chart-container.d.ts.map +1 -1
  142. package/dist/ui/charts/index.js +583 -577
  143. package/dist/ui/charts/line-chart.d.ts +2 -0
  144. package/dist/ui/charts/line-chart.d.ts.map +1 -1
  145. package/dist/ui/charts/pie-chart.d.ts +2 -0
  146. package/dist/ui/charts/pie-chart.d.ts.map +1 -1
  147. package/dist/ui/charts/radar-chart.d.ts +2 -0
  148. package/dist/ui/charts/radar-chart.d.ts.map +1 -1
  149. package/dist/ui/checkbox.d.ts +2 -0
  150. package/dist/ui/checkbox.d.ts.map +1 -1
  151. package/dist/ui/checkbox.js +36 -27
  152. package/dist/ui/code.d.ts.map +1 -1
  153. package/dist/ui/color-input.js +5 -5
  154. package/dist/ui/combobox.d.ts +6 -1
  155. package/dist/ui/combobox.d.ts.map +1 -1
  156. package/dist/ui/combobox.js +1 -1
  157. package/dist/ui/container.d.ts.map +1 -1
  158. package/dist/ui/context-menu.js +1 -1
  159. package/dist/ui/data-table-body.d.ts +12 -0
  160. package/dist/ui/data-table-body.d.ts.map +1 -0
  161. package/dist/ui/data-table-body.js +219 -0
  162. package/dist/ui/data-table-bulk-actions.d.ts +19 -0
  163. package/dist/ui/data-table-bulk-actions.d.ts.map +1 -0
  164. package/dist/ui/data-table-bulk-actions.js +61 -0
  165. package/dist/ui/data-table-card.d.ts +9 -0
  166. package/dist/ui/data-table-card.d.ts.map +1 -0
  167. package/dist/ui/data-table-card.js +73 -0
  168. package/dist/ui/data-table-context.d.ts +62 -0
  169. package/dist/ui/data-table-context.d.ts.map +1 -0
  170. package/dist/ui/data-table-context.js +48 -0
  171. package/dist/ui/data-table-header.d.ts +10 -0
  172. package/dist/ui/data-table-header.d.ts.map +1 -0
  173. package/dist/ui/data-table-header.js +141 -0
  174. package/dist/ui/data-table-pagination.d.ts +13 -0
  175. package/dist/ui/data-table-pagination.d.ts.map +1 -0
  176. package/dist/ui/data-table-pagination.js +84 -0
  177. package/dist/ui/data-table.d.ts +11 -9
  178. package/dist/ui/data-table.d.ts.map +1 -1
  179. package/dist/ui/data-table.js +258 -573
  180. package/dist/ui/dialog.d.ts +6 -2
  181. package/dist/ui/dialog.d.ts.map +1 -1
  182. package/dist/ui/dialog.js +84 -82
  183. package/dist/ui/dropdown-menu.js +1 -1
  184. package/dist/ui/hover-card.d.ts +7 -0
  185. package/dist/ui/hover-card.d.ts.map +1 -1
  186. package/dist/ui/hover-card.js +3 -3
  187. package/dist/ui/icon-group.d.ts +2 -4
  188. package/dist/ui/icon-group.d.ts.map +1 -1
  189. package/dist/ui/icon-group.js +22 -23
  190. package/dist/ui/index.d.ts +1 -2
  191. package/dist/ui/index.d.ts.map +1 -1
  192. package/dist/ui/index.js +94 -99
  193. package/dist/ui/label.js +1 -1
  194. package/dist/ui/lib/bottom-sheet.d.ts +16 -0
  195. package/dist/ui/lib/bottom-sheet.d.ts.map +1 -0
  196. package/dist/ui/lib/date-utils.d.ts.map +1 -1
  197. package/dist/ui/lib/motion.d.ts.map +1 -1
  198. package/dist/ui/lib/utils.d.ts.map +1 -1
  199. package/dist/ui/menubar.d.ts.map +1 -1
  200. package/dist/ui/menubar.js +64 -73
  201. package/dist/ui/navigation-menu.d.ts.map +1 -1
  202. package/dist/ui/navigation-menu.js +40 -44
  203. package/dist/ui/number-input.d.ts.map +1 -1
  204. package/dist/ui/number-input.js +19 -17
  205. package/dist/ui/popover.d.ts.map +1 -1
  206. package/dist/ui/popover.js +107 -32
  207. package/dist/ui/progress-ring.d.ts.map +1 -1
  208. package/dist/ui/progress-ring.js +80 -80
  209. package/dist/ui/progress.js +4 -4
  210. package/dist/ui/radio.d.ts +5 -2
  211. package/dist/ui/radio.d.ts.map +1 -1
  212. package/dist/ui/radio.js +29 -20
  213. package/dist/ui/search-input.d.ts.map +1 -1
  214. package/dist/ui/search-input.js +13 -12
  215. package/dist/ui/segmented-control.d.ts +6 -108
  216. package/dist/ui/segmented-control.d.ts.map +1 -1
  217. package/dist/ui/segmented-control.js +86 -272
  218. package/dist/ui/select.d.ts +3 -1
  219. package/dist/ui/select.d.ts.map +1 -1
  220. package/dist/ui/select.js +83 -71
  221. package/dist/ui/separator.js +5 -5
  222. package/dist/ui/sheet.d.ts +2 -0
  223. package/dist/ui/sheet.d.ts.map +1 -1
  224. package/dist/ui/sheet.js +102 -84
  225. package/dist/ui/sidebar.d.ts.map +1 -1
  226. package/dist/ui/sidebar.js +200 -175
  227. package/dist/ui/skeleton.d.ts.map +1 -1
  228. package/dist/ui/slider.js +14 -14
  229. package/dist/ui/stack.d.ts.map +1 -1
  230. package/dist/ui/status-dot.js +8 -8
  231. package/dist/ui/stepper.d.ts.map +1 -1
  232. package/dist/ui/stepper.js +33 -31
  233. package/dist/ui/switch.js +3 -3
  234. package/dist/ui/table.d.ts.map +1 -1
  235. package/dist/ui/tabs.d.ts +7 -0
  236. package/dist/ui/tabs.d.ts.map +1 -1
  237. package/dist/ui/tabs.js +102 -76
  238. package/dist/ui/text.d.ts.map +1 -1
  239. package/dist/ui/toast-types.d.ts +0 -1
  240. package/dist/ui/toast-types.d.ts.map +1 -1
  241. package/dist/ui/toast-types.js +0 -1
  242. package/dist/ui/toast.d.ts.map +1 -1
  243. package/dist/ui/toast.js +156 -150
  244. package/dist/ui/toggle-group.js +1 -1
  245. package/dist/ui/toggle.js +1 -1
  246. package/dist/ui/tooltip.js +3 -3
  247. package/dist/ui/visually-hidden.d.ts.map +1 -1
  248. package/docs/components/ui/alert.md +3 -0
  249. package/docs/components/ui/badge.md +3 -0
  250. package/docs/components/ui/card.md +4 -0
  251. package/docs/components/ui/data-table-body.md +13 -0
  252. package/docs/components/ui/data-table-bulk-actions.md +13 -0
  253. package/docs/components/ui/data-table-card.md +13 -0
  254. package/docs/components/ui/data-table-context.md +13 -0
  255. package/docs/components/ui/data-table-header.md +13 -0
  256. package/docs/components/ui/data-table-pagination.md +13 -0
  257. package/docs/components/ui/select.md +4 -0
  258. package/docs/components/ui/tabs.md +4 -0
  259. package/llms-full.txt +97 -48
  260. package/llms.txt +46 -1
  261. package/package.json +37 -7
  262. package/dist/ui/chip.d.ts +0 -19
  263. package/dist/ui/chip.d.ts.map +0 -1
  264. package/dist/ui/chip.js +0 -14
  265. package/dist/ui/lib/use-ripple.d.ts +0 -14
  266. package/dist/ui/lib/use-ripple.d.ts.map +0 -1
@@ -1,56 +1,56 @@
1
1
  "use client";
2
- import { jsx as s, jsxs as h, Fragment as E } from "react/jsx-runtime";
2
+ import { jsx as s, jsxs as h, Fragment as R } from "react/jsx-runtime";
3
3
  import { S as v } from "../_chunks/primitives.js";
4
4
  import { a as T } from "../_chunks/vendor-utils.js";
5
5
  import { IconLayoutSidebarLeftCollapse as A } from "@tabler/icons-react";
6
6
  import { useIsMobile as D } from "../hooks/use-mobile.js";
7
7
  import { springs as O } from "./lib/motion.js";
8
- import { cn as r } from "./lib/utils.js";
9
- import { Icon as R } from "./icon.js";
10
- import { Button as G } from "./button.js";
11
- import { Input as L } from "./input.js";
12
- import { Separator as H } from "./separator.js";
13
- import { Sheet as K, SheetContent as j } from "./sheet.js";
8
+ import { cn as i } from "./lib/utils.js";
9
+ import { Icon as G } from "./icon.js";
10
+ import { Button as L } from "./button.js";
11
+ import { Input as H } from "./input.js";
12
+ import { Separator as K } from "./separator.js";
13
+ import { Sheet as j, SheetContent as W } from "./sheet.js";
14
14
  import { Skeleton as _ } from "./skeleton.js";
15
15
  import { TooltipProvider as $, Tooltip as F, TooltipTrigger as P, TooltipContent as V } from "./tooltip.js";
16
- import { createContext as W, forwardRef as d, useState as C, useCallback as I, useEffect as q, useMemo as k, useContext as U } from "react";
17
- import { m as X } from "../_chunks/framer.js";
18
- const Y = "sidebar:state", J = 3600 * 24 * 7, Q = "16rem", Z = "18rem", ee = "3rem", ae = "b", z = W(null);
16
+ import { createContext as q, forwardRef as o, useState as C, useCallback as I, useEffect as U, useMemo as k, useContext as X, useRef as Y } from "react";
17
+ import { m as z, u as J } from "../_chunks/framer.js";
18
+ const Q = "sidebar:state", Z = 3600 * 24 * 7, ee = "16rem", ae = "18rem", te = "3rem", se = "b", E = q(null);
19
19
  function N() {
20
- const e = U(z);
20
+ const e = X(E);
21
21
  if (!e)
22
22
  throw new Error("useSidebar must be used within a SidebarProvider.");
23
23
  return e;
24
24
  }
25
- const te = d(
25
+ const re = o(
26
26
  ({
27
27
  defaultOpen: e = !0,
28
28
  open: a,
29
29
  onOpenChange: t,
30
- className: i,
31
- style: o,
30
+ className: r,
31
+ style: d,
32
32
  children: n,
33
- ...u
33
+ ...c
34
34
  }, b) => {
35
- const c = D(), [f, p] = C(!1), [y, x] = C(e), g = a ?? y, S = I(
36
- (l) => {
37
- const m = typeof l == "function" ? l(g) : l;
38
- t ? t(m) : x(m), typeof document < "u" && (document.cookie = `${Y}=${m}; path=/; max-age=${J}`);
35
+ const l = D(), [f, p] = C(!1), [y, x] = C(e), g = a ?? y, S = I(
36
+ (u) => {
37
+ const m = typeof u == "function" ? u(g) : u;
38
+ t ? t(m) : x(m), typeof document < "u" && (document.cookie = `${Q}=${m}; path=/; max-age=${Z}`);
39
39
  },
40
40
  [t, g]
41
- ), w = I(() => c ? p((l) => !l) : S((l) => !l), [c, S, p]);
42
- q(() => {
43
- const l = (m) => {
44
- m.key === ae && (m.metaKey || m.ctrlKey) && (m.preventDefault(), w());
41
+ ), w = I(() => l ? p((u) => !u) : S((u) => !u), [l, S, p]);
42
+ U(() => {
43
+ const u = (m) => {
44
+ m.key === se && (m.metaKey || m.ctrlKey) && (m.preventDefault(), w());
45
45
  };
46
- return window.addEventListener("keydown", l), () => window.removeEventListener("keydown", l);
46
+ return window.addEventListener("keydown", u), () => window.removeEventListener("keydown", u);
47
47
  }, [w]);
48
48
  const M = g ? "expanded" : "collapsed", B = k(
49
49
  () => ({
50
50
  state: M,
51
51
  open: g,
52
52
  setOpen: S,
53
- isMobile: c,
53
+ isMobile: l,
54
54
  openMobile: f,
55
55
  setOpenMobile: p,
56
56
  toggleSidebar: w
@@ -59,79 +59,103 @@ const te = d(
59
59
  M,
60
60
  g,
61
61
  S,
62
- c,
62
+ l,
63
63
  f,
64
64
  p,
65
65
  w
66
66
  ]
67
67
  );
68
- return /* @__PURE__ */ s(z.Provider, { value: B, children: /* @__PURE__ */ s($, { delayDuration: 0, children: /* @__PURE__ */ s(
68
+ return /* @__PURE__ */ s(E.Provider, { value: B, children: /* @__PURE__ */ s($, { delayDuration: 0, children: /* @__PURE__ */ s(
69
69
  "div",
70
70
  {
71
71
  style: {
72
- "--sidebar-width": Q,
73
- "--sidebar-width-icon": ee,
74
- ...o
72
+ "--sidebar-width": ee,
73
+ "--sidebar-width-icon": te,
74
+ ...d
75
75
  },
76
- className: r(
76
+ className: i(
77
77
  "group/sidebar-wrapper flex min-h-svh has-[[data-variant=inset]]:bg-surface-sunken",
78
- i
78
+ r
79
79
  ),
80
80
  ref: b,
81
- ...u,
81
+ ...c,
82
82
  children: n
83
83
  }
84
84
  ) }) });
85
85
  }
86
86
  );
87
- te.displayName = "SidebarProvider";
88
- const se = d(
87
+ re.displayName = "SidebarProvider";
88
+ function ie({
89
+ side: e,
90
+ onClose: a,
91
+ children: t
92
+ }) {
93
+ const r = J(), d = Y(null), n = "x", c = e === "left" ? { right: 0 } : { left: 0 };
94
+ return /* @__PURE__ */ s(
95
+ z.div,
96
+ {
97
+ ref: d,
98
+ className: "h-full w-full",
99
+ drag: r ? !1 : n,
100
+ dragConstraints: c,
101
+ dragElastic: 0.2,
102
+ onDragEnd: (b, l) => {
103
+ const f = d.current?.getBoundingClientRect().width ?? 280;
104
+ e === "left" ? (l.offset.x < -(f * 0.3) || l.velocity.x < -500) && a() : (l.offset.x > f * 0.3 || l.velocity.x > 500) && a();
105
+ },
106
+ children: t
107
+ }
108
+ );
109
+ }
110
+ const de = o(
89
111
  ({
90
112
  side: e = "left",
91
113
  variant: a = "sidebar",
92
114
  collapsible: t = "offcanvas",
93
- className: i,
94
- children: o,
115
+ className: r,
116
+ children: d,
95
117
  ...n
96
- }, u) => {
97
- const { isMobile: b, state: c, openMobile: f, setOpenMobile: p } = N();
118
+ }, c) => {
119
+ const { isMobile: b, state: l, openMobile: f, setOpenMobile: p } = N();
98
120
  return t === "none" ? /* @__PURE__ */ s(
99
- "div",
121
+ "aside",
100
122
  {
101
- className: r(
123
+ "aria-label": "Sidebar",
124
+ className: i(
102
125
  "flex h-full w-[--sidebar-width] flex-col bg-surface-raised text-surface-fg",
103
- i
126
+ r
104
127
  ),
105
- ref: u,
128
+ ref: c,
106
129
  ...n,
107
- children: o
130
+ children: d
108
131
  }
109
- ) : b ? /* @__PURE__ */ s(K, { open: f, onOpenChange: p, ...n, children: /* @__PURE__ */ s(
110
- j,
132
+ ) : b ? /* @__PURE__ */ s(j, { open: f, onOpenChange: p, ...n, children: /* @__PURE__ */ s(
133
+ W,
111
134
  {
112
135
  "data-sidebar": "sidebar",
113
136
  "data-mobile": "true",
114
137
  className: "w-[--sidebar-width] bg-surface-raised p-0 text-surface-fg [&>button]:hidden",
115
138
  style: {
116
- "--sidebar-width": Z
139
+ "--sidebar-width": ae
117
140
  },
118
141
  side: e,
119
- children: /* @__PURE__ */ s("div", { className: "flex h-full w-full flex-col", children: o })
142
+ responsive: !1,
143
+ children: /* @__PURE__ */ s(ie, { side: e, onClose: () => p(!1), children: /* @__PURE__ */ s("aside", { "aria-label": "Sidebar", className: "flex h-full w-full flex-col", children: d }) })
120
144
  }
121
145
  ) }) : /* @__PURE__ */ h(
122
146
  "div",
123
147
  {
124
- ref: u,
148
+ ref: c,
125
149
  className: "group peer hidden text-surface-fg md:block",
126
- "data-state": c,
127
- "data-collapsible": c === "collapsed" ? t : "",
150
+ "data-state": l,
151
+ "data-collapsible": l === "collapsed" ? t : "",
128
152
  "data-variant": a,
129
153
  "data-side": e,
130
154
  children: [
131
155
  /* @__PURE__ */ s(
132
156
  "div",
133
157
  {
134
- className: r(
158
+ className: i(
135
159
  "relative h-svh w-[--sidebar-width] bg-transparent transition-[width] duration-moderate-02 ease-productive-exit",
136
160
  "group-data-[collapsible=offcanvas]:w-0",
137
161
  "group-data-[side=right]:rotate-180",
@@ -142,19 +166,20 @@ const se = d(
142
166
  /* @__PURE__ */ s(
143
167
  "div",
144
168
  {
145
- className: r(
169
+ className: i(
146
170
  "fixed inset-y-0 z-raised hidden h-svh w-[--sidebar-width] transition-[left,right,width] duration-moderate-02 ease-productive-exit md:flex",
147
171
  e === "left" ? "left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]" : "right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]",
148
172
  a === "floating" || a === "inset" ? "p-ds-03 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)_+_theme(spacing.4)_+2px)]" : "group-data-[collapsible=icon]:w-[--sidebar-width-icon] group-data-[side=left]:border-r group-data-[side=right]:border-l",
149
- i
173
+ r
150
174
  ),
151
175
  ...n,
152
176
  children: /* @__PURE__ */ s(
153
- "div",
177
+ "aside",
154
178
  {
179
+ "aria-label": "Sidebar",
155
180
  "data-sidebar": "sidebar",
156
181
  className: "flex h-full w-full flex-col bg-surface-raised group-data-[variant=floating]:rounded-ds-lg group-data-[variant=floating]:border group-data-[variant=floating]:border-surface-border group-data-[variant=floating]:shadow",
157
- children: o
182
+ children: d
158
183
  }
159
184
  )
160
185
  }
@@ -164,32 +189,32 @@ const se = d(
164
189
  );
165
190
  }
166
191
  );
167
- se.displayName = "Sidebar";
168
- const re = d(({ className: e, onClick: a, ...t }, i) => {
169
- const { toggleSidebar: o } = N();
192
+ de.displayName = "Sidebar";
193
+ const oe = o(({ className: e, onClick: a, ...t }, r) => {
194
+ const { toggleSidebar: d } = N();
170
195
  return /* @__PURE__ */ h(
171
- G,
196
+ L,
172
197
  {
173
- ref: i,
198
+ ref: r,
174
199
  "data-sidebar": "trigger",
175
200
  variant: "ghost",
176
201
  size: "icon-md",
177
- className: r("h-ds-xs-plus w-ds-xs-plus", e),
202
+ className: i("h-ds-xs-plus w-ds-xs-plus", e),
178
203
  onClick: (n) => {
179
- a?.(n), o();
204
+ a?.(n), d();
180
205
  },
181
206
  ...t,
182
207
  children: [
183
- /* @__PURE__ */ s(R, { icon: A, size: "sm" }),
208
+ /* @__PURE__ */ s(G, { icon: A, size: "sm" }),
184
209
  /* @__PURE__ */ s("span", { className: "sr-only", children: "Toggle Sidebar" })
185
210
  ]
186
211
  }
187
212
  );
188
213
  });
189
- re.displayName = "SidebarTrigger";
190
- const ie = d(
214
+ oe.displayName = "SidebarTrigger";
215
+ const ne = o(
191
216
  ({ className: e, ...a }, t) => {
192
- const { toggleSidebar: i } = N();
217
+ const { toggleSidebar: r } = N();
193
218
  return /* @__PURE__ */ s(
194
219
  "button",
195
220
  {
@@ -197,9 +222,9 @@ const ie = d(
197
222
  "data-sidebar": "rail",
198
223
  "aria-label": "Toggle Sidebar",
199
224
  tabIndex: -1,
200
- onClick: i,
225
+ onClick: r,
201
226
  title: "Toggle Sidebar",
202
- className: r(
227
+ className: i(
203
228
  "hover:after:bg-surface-border-strong absolute inset-y-0 z-raised hidden w-4 -translate-x-1/2 transition-colors ease-productive-standard after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] group-data-[side=left]:-right-4 group-data-[side=right]:left-0 sm:flex",
204
229
  "[[data-side=left]_&]:cursor-w-resize [[data-side=right]_&]:cursor-e-resize",
205
230
  "[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize",
@@ -213,13 +238,13 @@ const ie = d(
213
238
  );
214
239
  }
215
240
  );
216
- ie.displayName = "SidebarRail";
217
- const de = d(
241
+ ne.displayName = "SidebarRail";
242
+ const le = o(
218
243
  ({ className: e, ...a }, t) => /* @__PURE__ */ s(
219
244
  "main",
220
245
  {
221
246
  ref: t,
222
- className: r(
247
+ className: i(
223
248
  "relative flex min-h-svh flex-1 flex-col bg-surface-base",
224
249
  "peer-data-[variant=inset]:min-h-[calc(100svh-theme(spacing.4))] md:peer-data-[variant=inset]:m-ds-03 md:peer-data-[state=collapsed]:peer-data-[variant=inset]:ml-ds-03 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-ds-xl md:peer-data-[variant=inset]:shadow",
225
250
  e
@@ -228,66 +253,66 @@ const de = d(
228
253
  }
229
254
  )
230
255
  );
231
- de.displayName = "SidebarInset";
232
- const oe = d(({ className: e, wrapperClassName: a, ...t }, i) => /* @__PURE__ */ s(
233
- L,
256
+ le.displayName = "SidebarInset";
257
+ const ce = o(({ className: e, wrapperClassName: a, ...t }, r) => /* @__PURE__ */ s(
258
+ H,
234
259
  {
235
- ref: i,
260
+ ref: r,
236
261
  "data-sidebar": "input",
237
262
  size: "sm",
238
- wrapperClassName: r(
263
+ wrapperClassName: i(
239
264
  "bg-surface-raised shadow-none focus-within:ring-2 focus-within:ring-accent-9",
240
265
  a
241
266
  ),
242
- className: r("w-full", e),
267
+ className: i("w-full", e),
243
268
  ...t
244
269
  }
245
270
  ));
246
- oe.displayName = "SidebarInput";
247
- const ne = d(
271
+ ce.displayName = "SidebarInput";
272
+ const ue = o(
248
273
  ({ className: e, ...a }, t) => /* @__PURE__ */ s(
249
274
  "div",
250
275
  {
251
276
  ref: t,
252
277
  "data-sidebar": "header",
253
- className: r("flex flex-col gap-ds-03 p-ds-03", e),
278
+ className: i("flex flex-col gap-ds-03 p-ds-03", e),
254
279
  ...a
255
280
  }
256
281
  )
257
282
  );
258
- ne.displayName = "SidebarHeader";
259
- const le = d(
283
+ ue.displayName = "SidebarHeader";
284
+ const fe = o(
260
285
  ({ className: e, ...a }, t) => /* @__PURE__ */ s(
261
286
  "div",
262
287
  {
263
288
  ref: t,
264
289
  "data-sidebar": "footer",
265
- className: r("flex flex-col gap-ds-03 p-ds-03", e),
290
+ className: i("flex flex-col gap-ds-03 p-ds-03", e),
266
291
  ...a
267
292
  }
268
293
  )
269
294
  );
270
- le.displayName = "SidebarFooter";
271
- const ce = d(({ className: e, ...a }, t) => /* @__PURE__ */ s(
272
- H,
295
+ fe.displayName = "SidebarFooter";
296
+ const pe = o(({ className: e, ...a }, t) => /* @__PURE__ */ s(
297
+ K,
273
298
  {
274
299
  ref: t,
275
300
  "data-sidebar": "separator",
276
- className: r(
301
+ className: i(
277
302
  "bg-surface-border mx-ds-03 w-auto",
278
303
  e
279
304
  ),
280
305
  ...a
281
306
  }
282
307
  ));
283
- ce.displayName = "SidebarSeparator";
284
- const ue = d(
308
+ pe.displayName = "SidebarSeparator";
309
+ const me = o(
285
310
  ({ className: e, ...a }, t) => /* @__PURE__ */ s(
286
311
  "div",
287
312
  {
288
313
  ref: t,
289
314
  "data-sidebar": "content",
290
- className: r(
315
+ className: i(
291
316
  "flex min-h-0 flex-1 flex-col gap-ds-03 overflow-auto group-data-[collapsible=icon]:overflow-hidden",
292
317
  e
293
318
  ),
@@ -295,25 +320,25 @@ const ue = d(
295
320
  }
296
321
  )
297
322
  );
298
- ue.displayName = "SidebarContent";
299
- const pe = d(
323
+ me.displayName = "SidebarContent";
324
+ const be = o(
300
325
  ({ className: e, ...a }, t) => /* @__PURE__ */ s(
301
326
  "div",
302
327
  {
303
328
  ref: t,
304
329
  "data-sidebar": "group",
305
- className: r("relative flex w-full min-w-0 flex-col p-ds-03", e),
330
+ className: i("relative flex w-full min-w-0 flex-col p-ds-03", e),
306
331
  ...a
307
332
  }
308
333
  )
309
334
  );
310
- pe.displayName = "SidebarGroup";
311
- const me = d(({ className: e, asChild: a = !1, ...t }, i) => /* @__PURE__ */ s(
335
+ be.displayName = "SidebarGroup";
336
+ const ge = o(({ className: e, asChild: a = !1, ...t }, r) => /* @__PURE__ */ s(
312
337
  a ? v : "div",
313
338
  {
314
- ref: i,
339
+ ref: r,
315
340
  "data-sidebar": "group-label",
316
- className: r(
341
+ className: i(
317
342
  "flex h-ds-sm shrink-0 items-center rounded-ds-md px-ds-03 text-ds-sm font-medium text-surface-fg-muted outline-none ring-accent-9 transition-[margin,opacity] duration-moderate-02 ease-productive-exit focus-visible:ring-2 [&>svg]:h-ico-sm [&>svg]:w-ico-sm [&>svg]:shrink-0",
318
343
  "group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0",
319
344
  e
@@ -321,13 +346,13 @@ const me = d(({ className: e, asChild: a = !1, ...t }, i) => /* @__PURE__ */ s(
321
346
  ...t
322
347
  }
323
348
  ));
324
- me.displayName = "SidebarGroupLabel";
325
- const fe = d(({ className: e, asChild: a = !1, ...t }, i) => /* @__PURE__ */ s(
349
+ ge.displayName = "SidebarGroupLabel";
350
+ const he = o(({ className: e, asChild: a = !1, ...t }, r) => /* @__PURE__ */ s(
326
351
  a ? v : "button",
327
352
  {
328
- ref: i,
353
+ ref: r,
329
354
  "data-sidebar": "group-action",
330
- className: r(
355
+ className: i(
331
356
  "hover:bg-surface-raised-hover absolute right-ds-04 top-ds-04 flex aspect-square w-5 items-center justify-center rounded-ds-md p-0 text-surface-fg outline-none ring-accent-9 transition-transform hover:text-surface-fg focus-visible:ring-2 [&>svg]:h-ico-sm [&>svg]:w-ico-sm [&>svg]:shrink-0",
332
357
  "after:absolute after:-inset-2 after:md:hidden",
333
358
  "group-data-[collapsible=icon]:hidden",
@@ -336,44 +361,44 @@ const fe = d(({ className: e, asChild: a = !1, ...t }, i) => /* @__PURE__ */ s(
336
361
  ...t
337
362
  }
338
363
  ));
339
- fe.displayName = "SidebarGroupAction";
340
- const be = d(
364
+ he.displayName = "SidebarGroupAction";
365
+ const ve = o(
341
366
  ({ className: e, ...a }, t) => /* @__PURE__ */ s(
342
367
  "div",
343
368
  {
344
369
  ref: t,
345
370
  "data-sidebar": "group-content",
346
- className: r("w-full text-ds-md", e),
371
+ className: i("w-full text-ds-md", e),
347
372
  ...a
348
373
  }
349
374
  )
350
375
  );
351
- be.displayName = "SidebarGroupContent";
352
- const ge = d(
376
+ ve.displayName = "SidebarGroupContent";
377
+ const xe = o(
353
378
  ({ className: e, ...a }, t) => /* @__PURE__ */ s(
354
379
  "ul",
355
380
  {
356
381
  ref: t,
357
382
  "data-sidebar": "menu",
358
- className: r("flex w-full min-w-0 flex-col gap-ds-02", e),
383
+ className: i("flex w-full min-w-0 flex-col gap-ds-02", e),
359
384
  ...a
360
385
  }
361
386
  )
362
387
  );
363
- ge.displayName = "SidebarMenu";
364
- const he = d(
388
+ xe.displayName = "SidebarMenu";
389
+ const Se = o(
365
390
  ({ className: e, ...a }, t) => /* @__PURE__ */ s(
366
391
  "li",
367
392
  {
368
393
  ref: t,
369
394
  "data-sidebar": "menu-item",
370
- className: r("group/menu-item relative", e),
395
+ className: i("group/menu-item relative", e),
371
396
  ...a
372
397
  }
373
398
  )
374
399
  );
375
- he.displayName = "SidebarMenuItem";
376
- const ve = T(
400
+ Se.displayName = "SidebarMenuItem";
401
+ const we = T(
377
402
  "peer/menu-button hover:bg-surface-raised-hover active:bg-accent-2 data-[active=true]:bg-accent-2 data-[state=open]:hover:bg-surface-raised-hover flex w-full items-center gap-ds-03 overflow-hidden rounded-ds-md p-ds-03 text-left outline-none ring-accent-9 transition-[width,height,padding] hover:text-surface-fg focus-visible:ring-2 active:text-surface-fg disabled:pointer-events-none disabled:opacity-action-disabled group-has-[[data-sidebar=menu-action]]/menu-item:pr-ds-07 aria-disabled:pointer-events-none aria-disabled:opacity-action-disabled data-[active=true]:font-medium data-[active=true]:text-surface-fg data-[state=open]:hover:text-surface-fg group-data-[collapsible=icon]:!size-8 group-data-[collapsible=icon]:!p-ds-03 [&>span:last-child]:truncate [&>svg]:h-ico-sm [&>svg]:w-ico-sm [&>svg]:shrink-0",
378
403
  {
379
404
  variants: {
@@ -392,41 +417,41 @@ const ve = T(
392
417
  size: "md"
393
418
  }
394
419
  }
395
- ), xe = d(
420
+ ), Ne = o(
396
421
  ({
397
422
  asChild: e = !1,
398
423
  isActive: a = !1,
399
424
  variant: t = "default",
400
- size: i = "md",
401
- tooltip: o,
425
+ size: r = "md",
426
+ tooltip: d,
402
427
  className: n,
403
- children: u,
428
+ children: c,
404
429
  ...b
405
- }, c) => {
430
+ }, l) => {
406
431
  const f = e ? v : "button", { isMobile: p, state: y } = N(), x = /* @__PURE__ */ s(
407
432
  f,
408
433
  {
409
- ref: c,
434
+ ref: l,
410
435
  "data-sidebar": "menu-button",
411
- "data-size": i,
436
+ "data-size": r,
412
437
  "data-active": a,
413
- className: r(ve({ variant: t, size: i }), !e && "relative", n),
438
+ className: i(we({ variant: t, size: r }), !e && "relative", n),
414
439
  ...b,
415
- children: e ? u : /* @__PURE__ */ h(E, { children: [
440
+ children: e ? c : /* @__PURE__ */ h(R, { children: [
416
441
  a && /* @__PURE__ */ s(
417
- X.span,
442
+ z.span,
418
443
  {
419
444
  layoutId: "sidebar-active-indicator",
420
445
  className: "absolute inset-0 rounded-ds-md bg-accent-2",
421
446
  transition: O.smooth
422
447
  }
423
448
  ),
424
- /* @__PURE__ */ s("span", { className: "relative z-[1] flex w-full items-center gap-[inherit]", children: u })
449
+ /* @__PURE__ */ s("span", { className: "relative z-[1] flex w-full items-center gap-[inherit]", children: c })
425
450
  ] })
426
451
  }
427
452
  );
428
- return o ? (typeof o == "string" && (o = {
429
- children: o
453
+ return d ? (typeof d == "string" && (d = {
454
+ children: d
430
455
  }), /* @__PURE__ */ h(F, { children: [
431
456
  /* @__PURE__ */ s(P, { asChild: !0, children: x }),
432
457
  /* @__PURE__ */ s(
@@ -435,19 +460,19 @@ const ve = T(
435
460
  side: "right",
436
461
  align: "center",
437
462
  hidden: y !== "collapsed" || p,
438
- ...o
463
+ ...d
439
464
  }
440
465
  )
441
466
  ] })) : x;
442
467
  }
443
468
  );
444
- xe.displayName = "SidebarMenuButton";
445
- const Se = d(({ className: e, asChild: a = !1, showOnHover: t = !1, ...i }, o) => /* @__PURE__ */ s(
469
+ Ne.displayName = "SidebarMenuButton";
470
+ const ye = o(({ className: e, asChild: a = !1, showOnHover: t = !1, ...r }, d) => /* @__PURE__ */ s(
446
471
  a ? v : "button",
447
472
  {
448
- ref: o,
473
+ ref: d,
449
474
  "data-sidebar": "menu-action",
450
- className: r(
475
+ className: i(
451
476
  "hover:bg-surface-raised-hover absolute right-ds-02 top-ds-02b flex aspect-square w-5 items-center justify-center rounded-ds-md p-0 text-surface-fg outline-none ring-accent-9 transition-transform hover:text-surface-fg focus-visible:ring-2 peer-hover/menu-button:text-surface-fg [&>svg]:h-ico-sm [&>svg]:w-ico-sm [&>svg]:shrink-0",
452
477
  "after:absolute after:-inset-2 after:md:hidden",
453
478
  "peer-data-[size=sm]/menu-button:top-1",
@@ -457,17 +482,17 @@ const Se = d(({ className: e, asChild: a = !1, showOnHover: t = !1, ...i }, o) =
457
482
  t && "group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 peer-data-[active=true]/menu-button:text-surface-fg md:opacity-0",
458
483
  e
459
484
  ),
460
- ...i
485
+ ...r
461
486
  }
462
487
  ));
463
- Se.displayName = "SidebarMenuAction";
464
- const we = d(
488
+ ye.displayName = "SidebarMenuAction";
489
+ const Me = o(
465
490
  ({ className: e, ...a }, t) => /* @__PURE__ */ s(
466
491
  "div",
467
492
  {
468
493
  ref: t,
469
494
  "data-sidebar": "menu-badge",
470
- className: r(
495
+ className: i(
471
496
  "pointer-events-none absolute right-ds-02 flex h-5 min-w-5 select-none items-center justify-center rounded-ds-md px-ds-02 text-ds-sm font-medium tabular-nums text-surface-fg",
472
497
  "peer-hover/menu-button:text-surface-fg peer-data-[active=true]/menu-button:text-surface-fg",
473
498
  "peer-data-[size=sm]/menu-button:top-1",
@@ -480,15 +505,15 @@ const we = d(
480
505
  }
481
506
  )
482
507
  );
483
- we.displayName = "SidebarMenuBadge";
484
- const Ne = d(({ className: e, showIcon: a = !1, ...t }, i) => {
485
- const o = k(() => `${Math.floor(Math.random() * 40) + 50}%`, []);
508
+ Me.displayName = "SidebarMenuBadge";
509
+ const _e = o(({ className: e, showIcon: a = !1, ...t }, r) => {
510
+ const d = k(() => `${Math.floor(Math.random() * 40) + 50}%`, []);
486
511
  return /* @__PURE__ */ h(
487
512
  "div",
488
513
  {
489
- ref: i,
514
+ ref: r,
490
515
  "data-sidebar": "menu-skeleton",
491
- className: r("flex h-ds-sm items-center gap-ds-03 rounded-ds-md px-ds-03", e),
516
+ className: i("flex h-ds-sm items-center gap-ds-03 rounded-ds-md px-ds-03", e),
492
517
  ...t,
493
518
  children: [
494
519
  a && /* @__PURE__ */ s(
@@ -504,7 +529,7 @@ const Ne = d(({ className: e, showIcon: a = !1, ...t }, i) => {
504
529
  className: "h-4 max-w-[--skeleton-width] flex-1",
505
530
  "data-sidebar": "menu-skeleton-text",
506
531
  style: {
507
- "--skeleton-width": o
532
+ "--skeleton-width": d
508
533
  }
509
534
  }
510
535
  )
@@ -512,14 +537,14 @@ const Ne = d(({ className: e, showIcon: a = !1, ...t }, i) => {
512
537
  }
513
538
  );
514
539
  });
515
- Ne.displayName = "SidebarMenuSkeleton";
516
- const ye = d(
540
+ _e.displayName = "SidebarMenuSkeleton";
541
+ const Ce = o(
517
542
  ({ className: e, ...a }, t) => /* @__PURE__ */ s(
518
543
  "ul",
519
544
  {
520
545
  ref: t,
521
546
  "data-sidebar": "menu-sub",
522
- className: r(
547
+ className: i(
523
548
  "mx-ds-04 flex min-w-0 translate-x-px flex-col gap-ds-02 border-l border-surface-border px-ds-03 py-ds-01",
524
549
  "group-data-[collapsible=icon]:hidden",
525
550
  e
@@ -528,53 +553,53 @@ const ye = d(
528
553
  }
529
554
  )
530
555
  );
531
- ye.displayName = "SidebarMenuSub";
532
- const Me = d(
556
+ Ce.displayName = "SidebarMenuSub";
557
+ const Ie = o(
533
558
  ({ ...e }, a) => /* @__PURE__ */ s("li", { ref: a, ...e })
534
559
  );
535
- Me.displayName = "SidebarMenuSubItem";
536
- const _e = d(({ asChild: e = !1, size: a = "md", isActive: t, className: i, ...o }, n) => /* @__PURE__ */ s(
560
+ Ie.displayName = "SidebarMenuSubItem";
561
+ const ke = o(({ asChild: e = !1, size: a = "md", isActive: t, className: r, ...d }, n) => /* @__PURE__ */ s(
537
562
  e ? v : "a",
538
563
  {
539
564
  ref: n,
540
565
  "data-sidebar": "menu-sub-button",
541
566
  "data-size": a,
542
567
  "data-active": t,
543
- className: r(
568
+ className: i(
544
569
  "hover:bg-surface-raised-hover active:bg-accent-2 flex h-ds-xs-plus min-w-0 -translate-x-px items-center gap-ds-03 overflow-hidden rounded-ds-md px-ds-03 text-surface-fg outline-none ring-accent-9 hover:text-surface-fg focus-visible:ring-2 active:text-surface-fg disabled:pointer-events-none disabled:opacity-action-disabled aria-disabled:pointer-events-none aria-disabled:opacity-action-disabled [&>span:last-child]:truncate [&>svg]:h-ico-sm [&>svg]:w-ico-sm [&>svg]:shrink-0 [&>svg]:text-surface-fg",
545
570
  "data-[active=true]:bg-accent-2 data-[active=true]:text-surface-fg",
546
571
  a === "sm" && "text-ds-sm",
547
572
  a === "md" && "text-ds-md",
548
573
  "group-data-[collapsible=icon]:hidden",
549
- i
574
+ r
550
575
  ),
551
- ...o
576
+ ...d
552
577
  }
553
578
  ));
554
- _e.displayName = "SidebarMenuSubButton";
579
+ ke.displayName = "SidebarMenuSubButton";
555
580
  export {
556
- se as Sidebar,
557
- ue as SidebarContent,
558
- le as SidebarFooter,
559
- pe as SidebarGroup,
560
- fe as SidebarGroupAction,
561
- be as SidebarGroupContent,
562
- me as SidebarGroupLabel,
563
- ne as SidebarHeader,
564
- oe as SidebarInput,
565
- de as SidebarInset,
566
- ge as SidebarMenu,
567
- Se as SidebarMenuAction,
568
- we as SidebarMenuBadge,
569
- xe as SidebarMenuButton,
570
- he as SidebarMenuItem,
571
- Ne as SidebarMenuSkeleton,
572
- ye as SidebarMenuSub,
573
- _e as SidebarMenuSubButton,
574
- Me as SidebarMenuSubItem,
575
- te as SidebarProvider,
576
- ie as SidebarRail,
577
- ce as SidebarSeparator,
578
- re as SidebarTrigger,
581
+ de as Sidebar,
582
+ me as SidebarContent,
583
+ fe as SidebarFooter,
584
+ be as SidebarGroup,
585
+ he as SidebarGroupAction,
586
+ ve as SidebarGroupContent,
587
+ ge as SidebarGroupLabel,
588
+ ue as SidebarHeader,
589
+ ce as SidebarInput,
590
+ le as SidebarInset,
591
+ xe as SidebarMenu,
592
+ ye as SidebarMenuAction,
593
+ Me as SidebarMenuBadge,
594
+ Ne as SidebarMenuButton,
595
+ Se as SidebarMenuItem,
596
+ _e as SidebarMenuSkeleton,
597
+ Ce as SidebarMenuSub,
598
+ ke as SidebarMenuSubButton,
599
+ Ie as SidebarMenuSubItem,
600
+ re as SidebarProvider,
601
+ ne as SidebarRail,
602
+ pe as SidebarSeparator,
603
+ oe as SidebarTrigger,
579
604
  N as useSidebar
580
605
  };