@devalok/shilp-sutra 0.1.1 → 0.2.1

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/dist/composed/avatar-group.d.ts +1 -0
  2. package/dist/composed/avatar-group.js +1 -0
  3. package/dist/composed/command-palette.d.ts +1 -0
  4. package/dist/composed/command-palette.js +1 -0
  5. package/dist/composed/content-card.d.ts.map +1 -1
  6. package/dist/composed/date-picker/calendar-grid.d.ts +1 -0
  7. package/dist/composed/date-picker/calendar-grid.js +1 -0
  8. package/dist/composed/date-picker/date-picker.d.ts +1 -0
  9. package/dist/composed/date-picker/date-picker.js +1 -0
  10. package/dist/composed/date-picker/date-range-picker.d.ts +1 -0
  11. package/dist/composed/date-picker/date-range-picker.js +1 -0
  12. package/dist/composed/date-picker/date-time-picker.d.ts +1 -0
  13. package/dist/composed/date-picker/date-time-picker.js +1 -0
  14. package/dist/composed/date-picker/index.d.ts +1 -0
  15. package/dist/composed/date-picker/month-picker.d.ts +1 -0
  16. package/dist/composed/date-picker/month-picker.js +1 -0
  17. package/dist/composed/date-picker/presets.d.ts +1 -0
  18. package/dist/composed/date-picker/presets.js +1 -0
  19. package/dist/composed/date-picker/time-picker.d.ts +1 -0
  20. package/dist/composed/date-picker/time-picker.js +1 -0
  21. package/dist/composed/date-picker/use-calendar.d.ts +1 -0
  22. package/dist/composed/date-picker/use-calendar.js +1 -0
  23. package/dist/composed/date-picker/year-picker.d.ts +1 -0
  24. package/dist/composed/date-picker/year-picker.js +1 -0
  25. package/dist/composed/empty-state.d.ts.map +1 -1
  26. package/dist/composed/error-boundary.d.ts +1 -0
  27. package/dist/composed/error-boundary.js +1 -0
  28. package/dist/composed/global-loading.d.ts +1 -0
  29. package/dist/composed/global-loading.js +1 -0
  30. package/dist/composed/index.d.ts +15 -0
  31. package/dist/composed/index.d.ts.map +1 -1
  32. package/dist/composed/index.js +1 -0
  33. package/dist/composed/lib/string-utils.d.ts +1 -0
  34. package/dist/composed/lib/string-utils.js +1 -0
  35. package/dist/composed/loading-skeleton.d.ts.map +1 -1
  36. package/dist/composed/member-picker.d.ts +1 -0
  37. package/dist/composed/member-picker.js +1 -0
  38. package/dist/composed/page-header.d.ts.map +1 -1
  39. package/dist/composed/page-skeletons.d.ts.map +1 -1
  40. package/dist/composed/priority-indicator.d.ts.map +1 -1
  41. package/dist/composed/rich-text-editor.d.ts +1 -0
  42. package/dist/composed/rich-text-editor.js +1 -0
  43. package/dist/composed/status-badge.d.ts.map +1 -1
  44. package/dist/hooks/index.d.ts +1 -0
  45. package/dist/hooks/index.js +10 -0
  46. package/dist/hooks/use-color-mode.d.ts +1 -0
  47. package/dist/hooks/use-color-mode.js +1 -0
  48. package/dist/hooks/use-mobile.d.ts +1 -0
  49. package/dist/hooks/use-mobile.js +1 -0
  50. package/dist/hooks/use-toast.d.ts +1 -0
  51. package/dist/hooks/use-toast.js +1 -0
  52. package/dist/primitives/react-accordion.d.ts +114 -0
  53. package/dist/primitives/react-alert-dialog.d.ts +51 -0
  54. package/dist/primitives/react-aspect-ratio.d.ts +11 -0
  55. package/dist/primitives/react-avatar.d.ts +24 -0
  56. package/dist/primitives/react-checkbox.d.ts +50 -0
  57. package/dist/primitives/react-collapsible.d.ts +33 -0
  58. package/dist/primitives/react-context-menu.d.ts +96 -0
  59. package/dist/primitives/react-dialog.d.ts +103 -0
  60. package/dist/primitives/react-dropdown-menu.d.ts +97 -0
  61. package/dist/primitives/react-hover-card.d.ts +79 -0
  62. package/dist/primitives/react-label.d.ts +10 -0
  63. package/dist/primitives/react-menu.d.ts +169 -0
  64. package/dist/primitives/react-menubar.d.ts +115 -0
  65. package/dist/primitives/react-navigation-menu.d.ts +126 -0
  66. package/dist/primitives/react-popover.d.ts +85 -0
  67. package/dist/primitives/react-progress.d.ts +19 -0
  68. package/dist/primitives/react-radio-group.d.ts +58 -0
  69. package/dist/primitives/react-roving-focus.d.ts +49 -0
  70. package/dist/primitives/react-select.d.ts +137 -0
  71. package/dist/primitives/react-separator.d.ts +21 -0
  72. package/dist/primitives/react-slider.d.ts +75 -0
  73. package/dist/primitives/react-switch.d.ts +21 -0
  74. package/dist/primitives/react-tabs.d.ts +56 -0
  75. package/dist/primitives/react-toast.d.ts +120 -0
  76. package/dist/primitives/react-toggle-group.d.ts +75 -0
  77. package/dist/primitives/react-toggle.d.ts +24 -0
  78. package/dist/primitives/react-tooltip.d.ts +101 -0
  79. package/dist/primitives/react-visually-hidden.d.ts +22 -0
  80. package/dist/shell/app-command-palette.d.ts +1 -0
  81. package/dist/shell/app-command-palette.js +1 -0
  82. package/dist/shell/bottom-navbar.d.ts +1 -0
  83. package/dist/shell/bottom-navbar.js +1 -0
  84. package/dist/shell/index.d.ts +11 -0
  85. package/dist/shell/index.d.ts.map +1 -1
  86. package/dist/shell/index.js +1 -0
  87. package/dist/shell/link-context.d.ts +1 -0
  88. package/dist/shell/link-context.js +1 -0
  89. package/dist/shell/notification-center.d.ts +1 -0
  90. package/dist/shell/notification-center.js +1 -0
  91. package/dist/shell/notification-preferences.d.ts +1 -0
  92. package/dist/shell/notification-preferences.js +1 -0
  93. package/dist/shell/sidebar.d.ts +1 -0
  94. package/dist/shell/sidebar.js +1 -0
  95. package/dist/shell/top-bar.d.ts +1 -0
  96. package/dist/shell/top-bar.js +1 -0
  97. package/dist/tailwind/index.cjs +339 -0
  98. package/dist/ui/accordion.d.ts +2 -1
  99. package/dist/ui/accordion.js +1 -0
  100. package/dist/ui/alert-dialog.d.ts +2 -1
  101. package/dist/ui/alert-dialog.js +1 -0
  102. package/dist/ui/alert.d.ts +1 -0
  103. package/dist/ui/alert.js +1 -0
  104. package/dist/ui/aspect-ratio.d.ts +2 -1
  105. package/dist/ui/aspect-ratio.js +1 -0
  106. package/dist/ui/autocomplete.d.ts +1 -0
  107. package/dist/ui/autocomplete.js +1 -0
  108. package/dist/ui/avatar.d.ts +2 -1
  109. package/dist/ui/avatar.js +1 -0
  110. package/dist/ui/badge.d.ts +1 -0
  111. package/dist/ui/badge.js +1 -0
  112. package/dist/ui/banner.d.ts +1 -0
  113. package/dist/ui/banner.js +1 -0
  114. package/dist/ui/breadcrumb.d.ts +1 -0
  115. package/dist/ui/breadcrumb.js +1 -0
  116. package/dist/ui/button-group.d.ts +1 -0
  117. package/dist/ui/button-group.js +1 -0
  118. package/dist/ui/button.d.ts +1 -0
  119. package/dist/ui/button.js +1 -0
  120. package/dist/ui/card.d.ts +1 -0
  121. package/dist/ui/card.js +1 -0
  122. package/dist/ui/charts/_internal/animation.d.ts +1 -0
  123. package/dist/ui/charts/_internal/animation.js +1 -0
  124. package/dist/ui/charts/_internal/axes.d.ts +1 -0
  125. package/dist/ui/charts/_internal/axes.js +1 -0
  126. package/dist/ui/charts/_internal/colors.d.ts +1 -0
  127. package/dist/ui/charts/_internal/colors.js +1 -0
  128. package/dist/ui/charts/_internal/grid-lines.d.ts +1 -0
  129. package/dist/ui/charts/_internal/grid-lines.js +1 -0
  130. package/dist/ui/charts/_internal/legend.d.ts +1 -0
  131. package/dist/ui/charts/_internal/legend.js +1 -0
  132. package/dist/ui/charts/_internal/scales.d.ts +1 -0
  133. package/dist/ui/charts/_internal/tooltip.d.ts +1 -0
  134. package/dist/ui/charts/_internal/tooltip.js +1 -0
  135. package/dist/ui/charts/_internal/types.d.ts +1 -0
  136. package/dist/ui/charts/_internal/types.js +1 -0
  137. package/dist/ui/charts/area-chart.d.ts +1 -0
  138. package/dist/ui/charts/area-chart.js +1 -0
  139. package/dist/ui/charts/bar-chart.d.ts +1 -0
  140. package/dist/ui/charts/bar-chart.js +1 -0
  141. package/dist/ui/charts/chart-container.d.ts +1 -0
  142. package/dist/ui/charts/chart-container.js +1 -0
  143. package/dist/ui/charts/gauge-chart.d.ts +1 -0
  144. package/dist/ui/charts/gauge-chart.js +1 -0
  145. package/dist/ui/charts/index.d.ts +1 -0
  146. package/dist/ui/charts/line-chart.d.ts +1 -0
  147. package/dist/ui/charts/line-chart.js +1 -0
  148. package/dist/ui/charts/pie-chart.d.ts +1 -0
  149. package/dist/ui/charts/pie-chart.js +1 -0
  150. package/dist/ui/charts/radar-chart.d.ts +1 -0
  151. package/dist/ui/charts/radar-chart.js +1 -0
  152. package/dist/ui/charts/sparkline.d.ts +1 -0
  153. package/dist/ui/charts/sparkline.js +1 -0
  154. package/dist/ui/checkbox.d.ts +2 -1
  155. package/dist/ui/checkbox.js +1 -0
  156. package/dist/ui/chip.d.ts +1 -0
  157. package/dist/ui/chip.js +1 -0
  158. package/dist/ui/code.d.ts.map +1 -1
  159. package/dist/ui/collapsible.d.ts +2 -1
  160. package/dist/ui/collapsible.js +1 -0
  161. package/dist/ui/combobox.d.ts +1 -0
  162. package/dist/ui/combobox.js +1 -0
  163. package/dist/ui/container.d.ts.map +1 -1
  164. package/dist/ui/context-menu.d.ts +2 -1
  165. package/dist/ui/context-menu.js +1 -0
  166. package/dist/ui/data-table-toolbar.d.ts +1 -0
  167. package/dist/ui/data-table-toolbar.js +1 -0
  168. package/dist/ui/data-table.d.ts +1 -0
  169. package/dist/ui/data-table.js +1 -0
  170. package/dist/ui/dialog.d.ts +2 -1
  171. package/dist/ui/dialog.js +1 -0
  172. package/dist/ui/dropdown-menu.d.ts +2 -1
  173. package/dist/ui/dropdown-menu.js +1 -0
  174. package/dist/ui/file-upload.d.ts +1 -0
  175. package/dist/ui/file-upload.js +1 -0
  176. package/dist/ui/form.d.ts +1 -0
  177. package/dist/ui/form.js +1 -0
  178. package/dist/ui/hover-card.d.ts +2 -1
  179. package/dist/ui/hover-card.js +1 -0
  180. package/dist/ui/icon-button.d.ts +1 -0
  181. package/dist/ui/icon-button.js +1 -0
  182. package/dist/ui/index.d.ts +18 -0
  183. package/dist/ui/index.d.ts.map +1 -1
  184. package/dist/ui/index.js +1 -0
  185. package/dist/ui/input-otp.d.ts +1 -0
  186. package/dist/ui/input-otp.js +1 -0
  187. package/dist/ui/input.d.ts +2 -1
  188. package/dist/ui/input.js +1 -0
  189. package/dist/ui/label.d.ts +2 -1
  190. package/dist/ui/label.js +1 -0
  191. package/dist/ui/lib/slot.d.ts +1 -0
  192. package/dist/ui/lib/use-reduced-motion.d.ts +1 -0
  193. package/dist/ui/lib/use-reduced-motion.js +1 -0
  194. package/dist/ui/lib/use-ripple.d.ts +1 -0
  195. package/dist/ui/lib/use-ripple.js +1 -0
  196. package/dist/ui/link.d.ts +1 -0
  197. package/dist/ui/link.js +1 -0
  198. package/dist/ui/menubar.d.ts +2 -1
  199. package/dist/ui/menubar.js +1 -0
  200. package/dist/ui/navigation-menu.d.ts +2 -1
  201. package/dist/ui/navigation-menu.js +1 -0
  202. package/dist/ui/number-input.d.ts +1 -0
  203. package/dist/ui/number-input.js +1 -0
  204. package/dist/ui/pagination.d.ts +1 -0
  205. package/dist/ui/pagination.js +1 -0
  206. package/dist/ui/popover.d.ts +2 -1
  207. package/dist/ui/popover.js +1 -0
  208. package/dist/ui/progress.d.ts +2 -1
  209. package/dist/ui/progress.js +1 -0
  210. package/dist/ui/radio.d.ts +2 -1
  211. package/dist/ui/radio.js +1 -0
  212. package/dist/ui/search-input.d.ts +6 -5
  213. package/dist/ui/search-input.d.ts.map +1 -1
  214. package/dist/ui/search-input.js +2 -1
  215. package/dist/ui/segmented-control.d.ts +1 -0
  216. package/dist/ui/segmented-control.js +1 -0
  217. package/dist/ui/select.d.ts +2 -1
  218. package/dist/ui/select.js +1 -0
  219. package/dist/ui/separator.d.ts +2 -1
  220. package/dist/ui/separator.js +1 -0
  221. package/dist/ui/sheet.d.ts +2 -1
  222. package/dist/ui/sheet.js +1 -0
  223. package/dist/ui/sidebar.d.ts +1 -0
  224. package/dist/ui/sidebar.js +1 -0
  225. package/dist/ui/skeleton.d.ts.map +1 -1
  226. package/dist/ui/slider.d.ts +2 -1
  227. package/dist/ui/slider.js +1 -0
  228. package/dist/ui/spinner.d.ts.map +1 -1
  229. package/dist/ui/stack.d.ts +2 -2
  230. package/dist/ui/stack.d.ts.map +1 -1
  231. package/dist/ui/stack.js +21 -16
  232. package/dist/ui/stat-card.d.ts +4 -1
  233. package/dist/ui/stat-card.d.ts.map +1 -1
  234. package/dist/ui/stat-card.js +22 -21
  235. package/dist/ui/stepper.d.ts +1 -0
  236. package/dist/ui/stepper.js +1 -0
  237. package/dist/ui/switch.d.ts +2 -1
  238. package/dist/ui/switch.js +1 -0
  239. package/dist/ui/table.d.ts.map +1 -1
  240. package/dist/ui/tabs.d.ts +2 -1
  241. package/dist/ui/tabs.js +1 -0
  242. package/dist/ui/text.d.ts +1 -1
  243. package/dist/ui/text.d.ts.map +1 -1
  244. package/dist/ui/textarea.d.ts +1 -0
  245. package/dist/ui/textarea.js +1 -0
  246. package/dist/ui/toast.d.ts +2 -1
  247. package/dist/ui/toast.js +1 -0
  248. package/dist/ui/toaster.d.ts +1 -0
  249. package/dist/ui/toaster.js +1 -0
  250. package/dist/ui/toggle-group.d.ts +2 -1
  251. package/dist/ui/toggle-group.js +1 -0
  252. package/dist/ui/toggle.d.ts +2 -1
  253. package/dist/ui/toggle.js +1 -0
  254. package/dist/ui/tooltip.d.ts +2 -1
  255. package/dist/ui/tooltip.js +1 -0
  256. package/dist/ui/transitions.d.ts +1 -0
  257. package/dist/ui/transitions.js +1 -0
  258. package/dist/ui/tree-view/index.d.ts +1 -0
  259. package/dist/ui/tree-view/tree-item.d.ts +1 -0
  260. package/dist/ui/tree-view/tree-item.js +1 -0
  261. package/dist/ui/tree-view/tree-view.d.ts +1 -0
  262. package/dist/ui/tree-view/tree-view.js +1 -0
  263. package/dist/ui/tree-view/use-tree.d.ts +1 -0
  264. package/dist/ui/tree-view/use-tree.js +1 -0
  265. package/dist/ui/visually-hidden.d.ts.map +1 -1
  266. package/package.json +97 -18
@@ -1,5 +1,6 @@
1
+ "use client";
1
2
  import * as React from 'react';
2
- import * as SeparatorPrimitive from '@primitives/react-separator';
3
+ import * as SeparatorPrimitive from '../primitives/react-separator';
3
4
  declare const Separator: React.ForwardRefExoticComponent<Omit<SeparatorPrimitive.SeparatorProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
4
5
  export { Separator };
5
6
  //# sourceMappingURL=separator.d.ts.map
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx as p } from "react/jsx-runtime";
2
3
  import * as e from "react";
3
4
  import { Root as o } from "../primitives/react-separator.js";
@@ -1,6 +1,7 @@
1
+ "use client";
1
2
  import { VariantProps } from 'class-variance-authority';
2
3
  import * as React from 'react';
3
- import * as SheetPrimitive from '@primitives/react-dialog';
4
+ import * as SheetPrimitive from '../primitives/react-dialog';
4
5
  /**
5
6
  * Sheet compound component — accessible sliding panel anchored to a screen edge, with focus trap
6
7
  * and Escape dismissal. Built on the Dialog primitive.
package/dist/ui/sheet.js CHANGED
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsxs as d, jsx as a } from "react/jsx-runtime";
2
3
  import * as r from "react";
3
4
  import { Root as b, Close as i, Portal as x, Trigger as y, Content as l, Description as n, Overlay as m, Title as c } from "../primitives/react-dialog.js";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { VariantProps } from 'class-variance-authority';
2
3
  import { TooltipContent } from './tooltip';
3
4
  import { ComponentProps } from 'react';
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx as r, jsxs as S } from "react/jsx-runtime";
2
3
  import { Root as h } from "../primitives/react-slot.js";
3
4
  import { cva as z } from "class-variance-authority";
@@ -1 +1 @@
1
- {"version":3,"file":"skeleton.d.ts","sourceRoot":"","sources":["../../src/ui/skeleton.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAGjE,QAAA,MAAM,gBAAgB;;;8EAkBpB,CAAA;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,MAAM,WAAW,aACf,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAC1C,YAAY,CAAC,OAAO,gBAAgB,CAAC;CAAG;AAE5C,QAAA,MAAM,QAAQ,sFAUb,CAAA;AAGD,OAAO,EAAE,QAAQ,EAAE,gBAAgB,EAAE,CAAA"}
1
+ {"version":3,"file":"skeleton.d.ts","sourceRoot":"","sources":["../../src/ui/skeleton.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAGjE,QAAA,MAAM,gBAAgB;;;8EAkBpB,CAAA;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,MAAM,WAAW,aACf,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAC1C,YAAY,CAAC,OAAO,gBAAgB,CAAC;CAAG;AAE5C,QAAA,MAAM,QAAQ,sFAUb,CAAA;AAGD,OAAO,EAAE,QAAQ,EAAE,gBAAgB,EAAE,CAAA"}
@@ -1,5 +1,6 @@
1
+ "use client";
1
2
  import * as React from 'react';
2
- import * as SliderPrimitive from '@primitives/react-slider';
3
+ import * as SliderPrimitive from '../primitives/react-slider';
3
4
  declare const Slider: React.ForwardRefExoticComponent<Omit<SliderPrimitive.SliderProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
4
5
  export { Slider };
5
6
  //# sourceMappingURL=slider.d.ts.map
package/dist/ui/slider.js CHANGED
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsxs as a, jsx as e } from "react/jsx-runtime";
2
3
  import * as n from "react";
3
4
  import { Root as o, Track as t, Range as c, Thumb as d } from "../primitives/react-slider.js";
@@ -1 +1 @@
1
- {"version":3,"file":"spinner.d.ts","sourceRoot":"","sources":["../../src/ui/spinner.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAS9B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,MAAM,WAAW,YAAa,SAAQ,KAAK,CAAC,aAAa,CAAC,aAAa,CAAC;IACtE,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;CAC1B;AAED,QAAA,MAAM,OAAO,oFA6BZ,CAAA;AAGD,OAAO,EAAE,OAAO,EAAE,CAAA"}
1
+ {"version":3,"file":"spinner.d.ts","sourceRoot":"","sources":["../../src/ui/spinner.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAS9B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,MAAM,WAAW,YAAa,SAAQ,KAAK,CAAC,aAAa,CAAC,aAAa,CAAC;IACtE,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAA;CAC1B;AAED,QAAA,MAAM,OAAO,oFA6BZ,CAAA;AAGD,OAAO,EAAE,OAAO,EAAE,CAAA"}
@@ -2,8 +2,8 @@ import * as React from 'react';
2
2
  type SpacingToken = 'ds-01' | 'ds-02' | 'ds-02b' | 'ds-03' | 'ds-04' | 'ds-05' | 'ds-05b' | 'ds-06' | 'ds-07' | 'ds-08' | 'ds-09' | 'ds-10' | 'ds-11' | 'ds-12' | 'ds-13';
3
3
  type StackProps<T extends React.ElementType = 'div'> = {
4
4
  as?: T;
5
- direction?: 'vertical' | 'horizontal';
6
- gap?: SpacingToken;
5
+ direction?: 'vertical' | 'horizontal' | 'row' | 'column';
6
+ gap?: SpacingToken | number;
7
7
  align?: 'start' | 'center' | 'end' | 'stretch' | 'baseline';
8
8
  justify?: 'start' | 'center' | 'end' | 'between' | 'around' | 'evenly';
9
9
  wrap?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"stack.d.ts","sourceRoot":"","sources":["../../src/ui/stack.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAG9B,KAAK,YAAY,GACb,OAAO,GACP,OAAO,GACP,QAAQ,GACR,OAAO,GACP,OAAO,GACP,OAAO,GACP,QAAQ,GACR,OAAO,GACP,OAAO,GACP,OAAO,GACP,OAAO,GACP,OAAO,GACP,OAAO,GACP,OAAO,GACP,OAAO,CAAA;AAEX,KAAK,UAAU,CAAC,CAAC,SAAS,KAAK,CAAC,WAAW,GAAG,KAAK,IAAI;IACrD,EAAE,CAAC,EAAE,CAAC,CAAA;IACN,SAAS,CAAC,EAAE,UAAU,GAAG,YAAY,CAAA;IACrC,GAAG,CAAC,EAAE,YAAY,CAAA;IAClB,KAAK,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,KAAK,GAAG,SAAS,GAAG,UAAU,CAAA;IAC3D,OAAO,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,KAAK,GAAG,SAAS,GAAG,QAAQ,GAAG,QAAQ,CAAA;IACtE,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAC3B,GAAG,IAAI,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAAC,CAAC,EAAE,IAAI,GAAG,WAAW,GAAG,UAAU,CAAC,CAAA;AA8CzE,QAAA,MAAM,KAAK,oGAqBV,CAAA;AAGD,OAAO,EAAE,KAAK,EAAE,KAAK,YAAY,EAAE,KAAK,UAAU,EAAE,CAAA"}
1
+ {"version":3,"file":"stack.d.ts","sourceRoot":"","sources":["../../src/ui/stack.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAG9B,KAAK,YAAY,GACb,OAAO,GACP,OAAO,GACP,QAAQ,GACR,OAAO,GACP,OAAO,GACP,OAAO,GACP,QAAQ,GACR,OAAO,GACP,OAAO,GACP,OAAO,GACP,OAAO,GACP,OAAO,GACP,OAAO,GACP,OAAO,GACP,OAAO,CAAA;AAEX,KAAK,UAAU,CAAC,CAAC,SAAS,KAAK,CAAC,WAAW,GAAG,KAAK,IAAI;IACrD,EAAE,CAAC,EAAE,CAAC,CAAA;IACN,SAAS,CAAC,EAAE,UAAU,GAAG,YAAY,GAAG,KAAK,GAAG,QAAQ,CAAA;IACxD,GAAG,CAAC,EAAE,YAAY,GAAG,MAAM,CAAA;IAC3B,KAAK,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,KAAK,GAAG,SAAS,GAAG,UAAU,CAAA;IAC3D,OAAO,CAAC,EAAE,OAAO,GAAG,QAAQ,GAAG,KAAK,GAAG,SAAS,GAAG,QAAQ,GAAG,QAAQ,CAAA;IACtE,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAC3B,GAAG,IAAI,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAAC,CAAC,EAAE,IAAI,GAAG,WAAW,GAAG,UAAU,CAAC,CAAA;AAmDzE,QAAA,MAAM,KAAK,oGAqBV,CAAA;AAGD,OAAO,EAAE,KAAK,EAAE,KAAK,YAAY,EAAE,KAAK,UAAU,EAAE,CAAA"}
package/dist/ui/stack.js CHANGED
@@ -1,6 +1,6 @@
1
- import * as d from "react";
2
- import { cn as f } from "./lib/utils.js";
3
- const l = {
1
+ import * as t from "react";
2
+ import { cn as o } from "./lib/utils.js";
3
+ const f = {
4
4
  start: "items-start",
5
5
  center: "items-center",
6
6
  end: "items-end",
@@ -23,6 +23,11 @@ const l = {
23
23
  6: "gap-ds-06",
24
24
  7: "gap-ds-07",
25
25
  8: "gap-ds-08",
26
+ 9: "gap-ds-09",
27
+ 10: "gap-ds-10",
28
+ 11: "gap-ds-11",
29
+ 12: "gap-ds-12",
30
+ 13: "gap-ds-13",
26
31
  "ds-01": "gap-ds-01",
27
32
  "ds-02": "gap-ds-02",
28
33
  "ds-02b": "gap-ds-02b",
@@ -38,25 +43,25 @@ const l = {
38
43
  "ds-11": "gap-ds-11",
39
44
  "ds-12": "gap-ds-12",
40
45
  "ds-13": "gap-ds-13"
41
- }, y = d.forwardRef(
42
- ({ as: t, direction: p = "vertical", gap: s, align: e, justify: a, wrap: n, className: r, children: g, ...c }, i) => {
43
- const o = t || "div";
44
- return d.createElement(
45
- o,
46
+ }, y = t.forwardRef(
47
+ ({ as: p, direction: s = "vertical", gap: a, align: d, justify: e, wrap: g, className: n, children: r, ...c }, i) => {
48
+ const l = p || "div";
49
+ return t.createElement(
50
+ l,
46
51
  {
47
52
  ref: i,
48
- className: f(
53
+ className: o(
49
54
  "flex",
50
- p === "vertical" ? "flex-col" : "flex-row",
51
- s && u[s],
52
- e && l[e],
53
- a && m[a],
54
- n && "flex-wrap",
55
- r
55
+ s === "vertical" || s === "column" ? "flex-col" : "flex-row",
56
+ a != null && u[String(a)],
57
+ d && f[d],
58
+ e && m[e],
59
+ g && "flex-wrap",
60
+ n
56
61
  ),
57
62
  ...c
58
63
  },
59
- g
64
+ r
60
65
  );
61
66
  }
62
67
  );
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import * as React from 'react';
2
3
  /**
3
4
  * Props for StatCard — a dashboard metric tile displaying a label, a large numeric value,
@@ -46,7 +47,9 @@ export interface StatCardProps extends React.HTMLAttributes<HTMLDivElement> {
46
47
  value: string;
47
48
  direction: 'up' | 'down' | 'neutral';
48
49
  };
49
- icon?: React.ReactNode;
50
+ icon?: React.ReactNode | React.ComponentType<{
51
+ className?: string;
52
+ }>;
50
53
  loading?: boolean;
51
54
  }
52
55
  declare const StatCard: React.ForwardRefExoticComponent<StatCardProps & React.RefAttributes<HTMLDivElement>>;
@@ -1 +1 @@
1
- {"version":3,"file":"stat-card.d.ts","sourceRoot":"","sources":["../../src/ui/stat-card.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAG9B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,MAAM,WAAW,aAAc,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IACzE,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,GAAG,MAAM,CAAA;IACtB,KAAK,CAAC,EAAE;QACN,KAAK,EAAE,MAAM,CAAA;QACb,SAAS,EAAE,IAAI,GAAG,MAAM,GAAG,SAAS,CAAA;KACrC,CAAA;IACD,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IACtB,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,QAAA,MAAM,QAAQ,sFA8Db,CAAA;AAID,OAAO,EAAE,QAAQ,EAAE,CAAA"}
1
+ {"version":3,"file":"stat-card.d.ts","sourceRoot":"","sources":["../../src/ui/stat-card.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAG9B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,MAAM,WAAW,aAAc,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IACzE,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,GAAG,MAAM,CAAA;IACtB,KAAK,CAAC,EAAE;QACN,KAAK,EAAE,MAAM,CAAA;QACb,SAAS,EAAE,IAAI,GAAG,MAAM,GAAG,SAAS,CAAA;KACrC,CAAA;IACD,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,GAAG,KAAK,CAAC,aAAa,CAAC;QAAE,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE,CAAC,CAAA;IACpE,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,QAAA,MAAM,QAAQ,sFAgEb,CAAA;AAID,OAAO,EAAE,QAAQ,EAAE,CAAA"}
@@ -1,19 +1,20 @@
1
- import { jsxs as r, jsx as s } from "react/jsx-runtime";
2
- import { IconTrendingUp as l, IconTrendingDown as x, IconMinus as p } from "@tabler/icons-react";
3
- import * as h from "react";
1
+ "use client";
2
+ import { jsxs as n, jsx as s } from "react/jsx-runtime";
3
+ import { IconTrendingUp as p, IconTrendingDown as x, IconMinus as h } from "@tabler/icons-react";
4
+ import * as m from "react";
4
5
  import { cn as d } from "./lib/utils.js";
5
- const f = h.forwardRef(
6
- ({ className: n, label: m, value: c, delta: e, icon: o, loading: a, ...i }, t) => {
7
- if (a)
8
- return /* @__PURE__ */ r(
6
+ const f = m.forwardRef(
7
+ ({ className: o, label: c, value: a, delta: e, icon: r, loading: u, ...t }, i) => {
8
+ if (u)
9
+ return /* @__PURE__ */ n(
9
10
  "div",
10
11
  {
11
- ref: t,
12
+ ref: i,
12
13
  className: d(
13
14
  "rounded-ds-lg border border-border-subtle bg-layer-01 shadow-01 p-ds-05b",
14
- n
15
+ o
15
16
  ),
16
- ...i,
17
+ ...t,
17
18
  children: [
18
19
  /* @__PURE__ */ s("div", { className: "h-ds-04 w-24 rounded-ds-sm bg-skeleton-base animate-pulse mb-ds-05" }),
19
20
  /* @__PURE__ */ s("div", { className: "h-ds-sm w-32 rounded-ds-md bg-skeleton-base animate-pulse mb-ds-03" }),
@@ -21,24 +22,24 @@ const f = h.forwardRef(
21
22
  ]
22
23
  }
23
24
  );
24
- const u = (e == null ? void 0 : e.direction) === "up" ? l : (e == null ? void 0 : e.direction) === "down" ? x : p, b = (e == null ? void 0 : e.direction) === "up" ? "text-success" : (e == null ? void 0 : e.direction) === "down" ? "text-error" : "text-text-secondary";
25
- return /* @__PURE__ */ r(
25
+ const b = (e == null ? void 0 : e.direction) === "up" ? p : (e == null ? void 0 : e.direction) === "down" ? x : h, l = (e == null ? void 0 : e.direction) === "up" ? "text-success" : (e == null ? void 0 : e.direction) === "down" ? "text-error" : "text-text-secondary";
26
+ return /* @__PURE__ */ n(
26
27
  "div",
27
28
  {
28
- ref: t,
29
+ ref: i,
29
30
  className: d(
30
31
  "rounded-ds-lg border border-border-subtle bg-layer-01 shadow-01 p-ds-05b",
31
- n
32
+ o
32
33
  ),
33
- ...i,
34
+ ...t,
34
35
  children: [
35
- /* @__PURE__ */ r("div", { className: "flex items-center justify-between mb-ds-04", children: [
36
- /* @__PURE__ */ s("p", { className: "text-ds-md font-medium text-text-secondary", children: m }),
37
- o && /* @__PURE__ */ s("span", { className: "text-text-secondary", "aria-hidden": "true", children: o })
36
+ /* @__PURE__ */ n("div", { className: "flex items-center justify-between mb-ds-04", children: [
37
+ /* @__PURE__ */ s("p", { className: "text-ds-md font-medium text-text-secondary", children: c }),
38
+ r && /* @__PURE__ */ s("span", { className: "text-text-secondary", "aria-hidden": "true", children: typeof r == "function" ? m.createElement(r, { className: "h-ico-lg w-ico-lg" }) : r })
38
39
  ] }),
39
- /* @__PURE__ */ s("p", { className: "text-ds-3xl font-semibold text-text-primary tabular-nums", children: c }),
40
- e && /* @__PURE__ */ r("div", { className: d("mt-ds-03 flex items-center gap-ds-02 text-ds-sm font-medium", b), children: [
41
- /* @__PURE__ */ s(u, { className: "h-ico-sm w-ico-sm", "aria-hidden": "true" }),
40
+ /* @__PURE__ */ s("p", { className: "text-ds-3xl font-semibold text-text-primary tabular-nums", children: a }),
41
+ e && /* @__PURE__ */ n("div", { className: d("mt-ds-03 flex items-center gap-ds-02 text-ds-sm font-medium", l), children: [
42
+ /* @__PURE__ */ s(b, { className: "h-ico-sm w-ico-sm", "aria-hidden": "true" }),
42
43
  /* @__PURE__ */ s("span", { children: e.value })
43
44
  ] })
44
45
  ]
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import * as React from 'react';
2
3
  /**
3
4
  * Props for Stepper — a multi-step progress indicator that renders a connected series of `<Step>`
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsxs as x, jsx as e } from "react/jsx-runtime";
2
3
  import * as t from "react";
3
4
  import { cn as i } from "./lib/utils.js";
@@ -1,5 +1,6 @@
1
+ "use client";
1
2
  import * as React from "react";
2
- import * as SwitchPrimitives from "@primitives/react-switch";
3
+ import * as SwitchPrimitives from "../primitives/react-switch";
3
4
  declare const Switch: React.ForwardRefExoticComponent<Omit<SwitchPrimitives.SwitchProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
4
5
  export { Switch };
5
6
  //# sourceMappingURL=switch.d.ts.map
package/dist/ui/switch.js CHANGED
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx as e } from "react/jsx-runtime";
2
3
  import * as i from "react";
3
4
  import { Root as t, Thumb as n } from "../primitives/react-switch.js";
@@ -1 +1 @@
1
- {"version":3,"file":"table.d.ts","sourceRoot":"","sources":["../../src/ui/table.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAI9B,QAAA,MAAM,KAAK,iHAWT,CAAA;AAGF,QAAA,MAAM,WAAW,+HAKf,CAAA;AAGF,QAAA,MAAM,SAAS,+HASb,CAAA;AAGF,QAAA,MAAM,WAAW,+HAYf,CAAA;AAGF,QAAA,MAAM,QAAQ,uHAYZ,CAAA;AAGF,QAAA,MAAM,SAAS,2HAab,CAAA;AAGF,QAAA,MAAM,SAAS,2HAYb,CAAA;AAGF,QAAA,MAAM,YAAY,+HAShB,CAAA;AAGF,OAAO,EACL,KAAK,EACL,WAAW,EACX,SAAS,EACT,WAAW,EACX,SAAS,EACT,QAAQ,EACR,SAAS,EACT,YAAY,GACb,CAAA"}
1
+ {"version":3,"file":"table.d.ts","sourceRoot":"","sources":["../../src/ui/table.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAI9B,QAAA,MAAM,KAAK,iHAWT,CAAA;AAGF,QAAA,MAAM,WAAW,+HAKf,CAAA;AAGF,QAAA,MAAM,SAAS,+HASb,CAAA;AAGF,QAAA,MAAM,WAAW,+HAYf,CAAA;AAGF,QAAA,MAAM,QAAQ,uHAYZ,CAAA;AAGF,QAAA,MAAM,SAAS,2HAab,CAAA;AAGF,QAAA,MAAM,SAAS,2HAYb,CAAA;AAGF,QAAA,MAAM,YAAY,+HAShB,CAAA;AAGF,OAAO,EACL,KAAK,EACL,WAAW,EACX,SAAS,EACT,WAAW,EACX,SAAS,EACT,QAAQ,EACR,SAAS,EACT,YAAY,GACb,CAAA"}
package/dist/ui/tabs.d.ts CHANGED
@@ -1,5 +1,6 @@
1
+ "use client";
1
2
  import { VariantProps } from 'class-variance-authority';
2
- import * as TabsPrimitive from '@primitives/react-tabs';
3
+ import * as TabsPrimitive from '../primitives/react-tabs';
3
4
  import * as React from 'react';
4
5
  /**
5
6
  * Tabs compound component — accessible tabbed navigation with keyboard support and two visual
package/dist/ui/tabs.js CHANGED
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx as s } from "react/jsx-runtime";
2
3
  import { Root as m, Content as d, List as c, Trigger as l } from "../primitives/react-tabs.js";
3
4
  import * as r from "react";
package/dist/ui/text.d.ts CHANGED
@@ -38,7 +38,7 @@ type TextVariant = NonNullable<VariantProps<typeof textVariants>['variant']>;
38
38
  */
39
39
  type TextProps<T extends React.ElementType = 'p'> = {
40
40
  variant?: TextVariant;
41
- as?: T;
41
+ as?: React.ElementType;
42
42
  className?: string;
43
43
  children?: React.ReactNode;
44
44
  } & Omit<React.ComponentPropsWithRef<T>, 'as' | 'variant' | 'className' | 'children'>;
@@ -1 +1 @@
1
- {"version":3,"file":"text.d.ts","sourceRoot":"","sources":["../../src/ui/text.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAGjE,QAAA,MAAM,YAAY;;8EAwBhB,CAAA;AAEF,KAAK,WAAW,GAAG,WAAW,CAAC,YAAY,CAAC,OAAO,YAAY,CAAC,CAAC,SAAS,CAAC,CAAC,CAAA;AAqB5E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,KAAK,SAAS,CAAC,CAAC,SAAS,KAAK,CAAC,WAAW,GAAG,GAAG,IAAI;IAClD,OAAO,CAAC,EAAE,WAAW,CAAA;IACrB,EAAE,CAAC,EAAE,CAAC,CAAA;IACN,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAC3B,GAAG,IAAI,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAAC,CAAC,EAAE,IAAI,GAAG,SAAS,GAAG,WAAW,GAAG,UAAU,CAAC,CAAA;AAErF,QAAA,MAAM,IAAI,iGAST,CAAA;AAGD,OAAO,EAAE,IAAI,EAAE,YAAY,EAAE,KAAK,SAAS,EAAE,KAAK,WAAW,EAAE,CAAA"}
1
+ {"version":3,"file":"text.d.ts","sourceRoot":"","sources":["../../src/ui/text.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAGjE,QAAA,MAAM,YAAY;;8EAwBhB,CAAA;AAEF,KAAK,WAAW,GAAG,WAAW,CAAC,YAAY,CAAC,OAAO,YAAY,CAAC,CAAC,SAAS,CAAC,CAAC,CAAA;AAqB5E;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+BG;AACH,KAAK,SAAS,CAAC,CAAC,SAAS,KAAK,CAAC,WAAW,GAAG,GAAG,IAAI;IAClD,OAAO,CAAC,EAAE,WAAW,CAAA;IACrB,EAAE,CAAC,EAAE,KAAK,CAAC,WAAW,CAAA;IACtB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAC3B,GAAG,IAAI,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAAC,CAAC,EAAE,IAAI,GAAG,SAAS,GAAG,WAAW,GAAG,UAAU,CAAC,CAAA;AAErF,QAAA,MAAM,IAAI,iGAST,CAAA;AAGD,OAAO,EAAE,IAAI,EAAE,YAAY,EAAE,KAAK,SAAS,EAAE,KAAK,WAAW,EAAE,CAAA"}
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { VariantProps } from 'class-variance-authority';
2
3
  import { InputState } from './input';
3
4
  import * as React from 'react';
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx as d } from "react/jsx-runtime";
2
3
  import * as a from "react";
3
4
  import { cva as t } from "class-variance-authority";
@@ -1,6 +1,7 @@
1
+ "use client";
1
2
  import { VariantProps } from 'class-variance-authority';
2
3
  import * as React from 'react';
3
- import * as ToastPrimitives from '@primitives/react-toast';
4
+ import * as ToastPrimitives from '../primitives/react-toast';
4
5
  declare const ToastProvider: React.FC<ToastPrimitives.ToastProviderProps>;
5
6
  declare const ToastViewport: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastViewportProps & React.RefAttributes<HTMLOListElement>, "ref"> & React.RefAttributes<HTMLOListElement>>;
6
7
  declare const Toast: React.ForwardRefExoticComponent<Omit<ToastPrimitives.ToastProps & React.RefAttributes<HTMLLIElement>, "ref"> & VariantProps<(props?: ({
package/dist/ui/toast.js CHANGED
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx as o } from "react/jsx-runtime";
2
3
  import * as r from "react";
3
4
  import { Provider as p, Root as i, Action as d, Close as n, Description as l, Title as c, Viewport as m } from "../primitives/react-toast.js";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  /**
2
3
  * Toaster — shell component that renders active toast notifications. Mount **once** at your root layout.
3
4
  *
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsxs as r, jsx as o } from "react/jsx-runtime";
2
3
  import { useToast as T } from "../hooks/use-toast.js";
3
4
  import { ToastProvider as c, Toast as d, ToastTitle as m, ToastDescription as l, ToastClose as p, ToastViewport as f } from "./toast.js";
@@ -1,6 +1,7 @@
1
+ "use client";
1
2
  import { VariantProps } from 'class-variance-authority';
2
3
  import * as React from 'react';
3
- import * as ToggleGroupPrimitive from '@primitives/react-toggle-group';
4
+ import * as ToggleGroupPrimitive from '../primitives/react-toggle-group';
4
5
  declare const ToggleGroup: React.ForwardRefExoticComponent<((Omit<ToggleGroupPrimitive.ToggleGroupSingleProps & React.RefAttributes<HTMLDivElement>, "ref"> | Omit<ToggleGroupPrimitive.ToggleGroupMultipleProps & React.RefAttributes<HTMLDivElement>, "ref">) & VariantProps<(props?: ({
5
6
  variant?: "default" | "outline" | null | undefined;
6
7
  size?: "sm" | "md" | "lg" | null | undefined;
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx as m } from "react/jsx-runtime";
2
3
  import * as t from "react";
3
4
  import { Root as n, Item as l } from "../primitives/react-toggle-group.js";
@@ -1,6 +1,7 @@
1
+ "use client";
1
2
  import { VariantProps } from 'class-variance-authority';
2
3
  import * as React from 'react';
3
- import * as TogglePrimitive from '@primitives/react-toggle';
4
+ import * as TogglePrimitive from '../primitives/react-toggle';
4
5
  declare const toggleVariants: (props?: ({
5
6
  variant?: "default" | "outline" | null | undefined;
6
7
  size?: "sm" | "md" | "lg" | null | undefined;
package/dist/ui/toggle.js CHANGED
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx as r } from "react/jsx-runtime";
2
3
  import * as d from "react";
3
4
  import { Root as e } from "../primitives/react-toggle.js";
@@ -1,5 +1,6 @@
1
+ "use client";
1
2
  import * as React from 'react';
2
- import * as TooltipPrimitive from '@primitives/react-tooltip';
3
+ import * as TooltipPrimitive from '../primitives/react-tooltip';
3
4
  declare const TooltipProvider: React.FC<TooltipPrimitive.TooltipProviderProps>;
4
5
  declare const Tooltip: React.FC<TooltipPrimitive.TooltipProps>;
5
6
  declare const TooltipTrigger: React.ForwardRefExoticComponent<TooltipPrimitive.TooltipTriggerProps & React.RefAttributes<HTMLButtonElement>>;
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx as t } from "react/jsx-runtime";
2
3
  import * as r from "react";
3
4
  import { Root as s, Provider as n, Trigger as m, Portal as l, Content as o } from "../primitives/react-tooltip.js";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import * as React from 'react';
2
3
  type TransitionProps = {
3
4
  open: boolean;
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx as c } from "react/jsx-runtime";
2
3
  import * as d from "react";
3
4
  import { cn as m } from "./lib/utils.js";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  export { TreeView, type TreeViewProps } from './tree-view';
2
3
  export { TreeItem, type TreeItemProps } from './tree-item';
3
4
  export { useTree, type TreeNode } from './use-tree';
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import * as React from 'react';
2
3
  export interface TreeItemProps {
3
4
  /** Unique identifier for this tree item */
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsxs as C, jsx as r } from "react/jsx-runtime";
2
3
  import { IconChevronRight as D } from "@tabler/icons-react";
3
4
  import * as s from "react";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { useTree, TreeNode } from './use-tree';
2
3
  import * as React from 'react';
3
4
  interface TreeContextValue {
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx as d } from "react/jsx-runtime";
2
3
  import * as u from "react";
3
4
  import { cn as q } from "../lib/utils.js";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  export interface TreeNode {
2
3
  id: string;
3
4
  label: string;
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { useState as S, useCallback as u } from "react";
2
3
  function i(f = {}) {
3
4
  const { defaultExpanded: p, defaultSelected: w, multiSelect: c, onSelect: a, onExpand: n } = f, [d, r] = S(
@@ -1 +1 @@
1
- {"version":3,"file":"visually-hidden.d.ts","sourceRoot":"","sources":["../../src/ui/visually-hidden.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAG9B,MAAM,WAAW,mBACf,SAAQ,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC;CAAG;AAElD,QAAA,MAAM,cAAc,6FAInB,CAAA;AAGD,OAAO,EAAE,cAAc,EAAE,CAAA"}
1
+ {"version":3,"file":"visually-hidden.d.ts","sourceRoot":"","sources":["../../src/ui/visually-hidden.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAG9B,MAAM,WAAW,mBACf,SAAQ,KAAK,CAAC,cAAc,CAAC,eAAe,CAAC;CAAG;AAElD,QAAA,MAAM,cAAc,6FAInB,CAAA;AAGD,OAAO,EAAE,cAAc,EAAE,CAAA"}