@devalok/shilp-sutra 0.1.0 → 0.2.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 (286) hide show
  1. package/dist/composed/avatar-group.d.ts +1 -0
  2. package/dist/composed/avatar-group.d.ts.map +1 -1
  3. package/dist/composed/avatar-group.js +1 -0
  4. package/dist/composed/command-palette.d.ts +1 -0
  5. package/dist/composed/command-palette.js +4 -3
  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 +2 -1
  21. package/dist/composed/date-picker/use-calendar.d.ts +1 -0
  22. package/dist/composed/date-picker/use-calendar.d.ts.map +1 -1
  23. package/dist/composed/date-picker/use-calendar.js +1 -0
  24. package/dist/composed/date-picker/year-picker.d.ts +1 -0
  25. package/dist/composed/date-picker/year-picker.js +1 -0
  26. package/dist/composed/empty-state.js +1 -1
  27. package/dist/composed/error-boundary.d.ts +1 -0
  28. package/dist/composed/error-boundary.js +2 -1
  29. package/dist/composed/global-loading.d.ts +1 -0
  30. package/dist/composed/global-loading.js +1 -0
  31. package/dist/composed/index.d.ts +15 -0
  32. package/dist/composed/index.d.ts.map +1 -1
  33. package/dist/composed/index.js +1 -0
  34. package/dist/composed/lib/string-utils.d.ts +1 -0
  35. package/dist/composed/lib/string-utils.d.ts.map +1 -1
  36. package/dist/composed/lib/string-utils.js +7 -4
  37. package/dist/composed/loading-skeleton.js +32 -32
  38. package/dist/composed/member-picker.d.ts +1 -0
  39. package/dist/composed/member-picker.js +1 -0
  40. package/dist/composed/page-skeletons.js +38 -38
  41. package/dist/composed/rich-text-editor.d.ts +1 -0
  42. package/dist/composed/rich-text-editor.d.ts.map +1 -1
  43. package/dist/composed/rich-text-editor.js +47 -44
  44. package/dist/composed/status-badge.js +6 -6
  45. package/dist/hooks/index.d.ts +1 -0
  46. package/dist/hooks/index.js +10 -0
  47. package/dist/hooks/use-color-mode.d.ts +1 -0
  48. package/dist/hooks/use-color-mode.d.ts.map +1 -1
  49. package/dist/hooks/use-color-mode.js +9 -8
  50. package/dist/hooks/use-mobile.d.ts +1 -0
  51. package/dist/hooks/use-mobile.js +1 -0
  52. package/dist/hooks/use-toast.d.ts +1 -0
  53. package/dist/hooks/use-toast.d.ts.map +1 -1
  54. package/dist/hooks/use-toast.js +3 -2
  55. package/dist/primitives/react-accordion.d.ts +114 -0
  56. package/dist/primitives/react-alert-dialog.d.ts +51 -0
  57. package/dist/primitives/react-aspect-ratio.d.ts +11 -0
  58. package/dist/primitives/react-avatar.d.ts +24 -0
  59. package/dist/primitives/react-checkbox.d.ts +50 -0
  60. package/dist/primitives/react-collapsible.d.ts +33 -0
  61. package/dist/primitives/react-context-menu.d.ts +96 -0
  62. package/dist/primitives/react-dialog.d.ts +103 -0
  63. package/dist/primitives/react-dropdown-menu.d.ts +97 -0
  64. package/dist/primitives/react-hover-card.d.ts +79 -0
  65. package/dist/primitives/react-label.d.ts +10 -0
  66. package/dist/primitives/react-menu.d.ts +169 -0
  67. package/dist/primitives/react-menubar.d.ts +115 -0
  68. package/dist/primitives/react-navigation-menu.d.ts +126 -0
  69. package/dist/primitives/react-popover.d.ts +85 -0
  70. package/dist/primitives/react-progress.d.ts +19 -0
  71. package/dist/primitives/react-radio-group.d.ts +58 -0
  72. package/dist/primitives/react-roving-focus.d.ts +49 -0
  73. package/dist/primitives/react-select.d.ts +137 -0
  74. package/dist/primitives/react-separator.d.ts +21 -0
  75. package/dist/primitives/react-slider.d.ts +75 -0
  76. package/dist/primitives/react-switch.d.ts +21 -0
  77. package/dist/primitives/react-tabs.d.ts +56 -0
  78. package/dist/primitives/react-toast.d.ts +120 -0
  79. package/dist/primitives/react-toggle-group.d.ts +75 -0
  80. package/dist/primitives/react-toggle.d.ts +24 -0
  81. package/dist/primitives/react-tooltip.d.ts +101 -0
  82. package/dist/primitives/react-visually-hidden.d.ts +22 -0
  83. package/dist/shell/app-command-palette.d.ts +3 -3
  84. package/dist/shell/app-command-palette.d.ts.map +1 -1
  85. package/dist/shell/app-command-palette.js +2 -1
  86. package/dist/shell/bottom-navbar.d.ts +1 -0
  87. package/dist/shell/bottom-navbar.d.ts.map +1 -1
  88. package/dist/shell/bottom-navbar.js +40 -37
  89. package/dist/shell/index.d.ts +14 -2
  90. package/dist/shell/index.d.ts.map +1 -1
  91. package/dist/shell/index.js +16 -12
  92. package/dist/shell/link-context.d.ts +12 -0
  93. package/dist/shell/link-context.d.ts.map +1 -0
  94. package/dist/shell/link-context.js +19 -0
  95. package/dist/shell/notification-center.d.ts +1 -0
  96. package/dist/shell/notification-center.d.ts.map +1 -1
  97. package/dist/shell/notification-center.js +21 -19
  98. package/dist/shell/notification-preferences.d.ts +3 -3
  99. package/dist/shell/notification-preferences.d.ts.map +1 -1
  100. package/dist/shell/notification-preferences.js +14 -13
  101. package/dist/shell/sidebar.d.ts +1 -0
  102. package/dist/shell/sidebar.d.ts.map +1 -1
  103. package/dist/shell/sidebar.js +32 -30
  104. package/dist/shell/top-bar.d.ts +1 -0
  105. package/dist/shell/top-bar.d.ts.map +1 -1
  106. package/dist/shell/top-bar.js +35 -30
  107. package/dist/tailwind/preset.d.ts.map +1 -1
  108. package/dist/tailwind/preset.js +32 -2
  109. package/dist/ui/accordion.d.ts +2 -1
  110. package/dist/ui/accordion.js +1 -0
  111. package/dist/ui/alert-dialog.d.ts +2 -1
  112. package/dist/ui/alert-dialog.js +1 -0
  113. package/dist/ui/alert.d.ts +1 -0
  114. package/dist/ui/alert.d.ts.map +1 -1
  115. package/dist/ui/alert.js +2 -1
  116. package/dist/ui/aspect-ratio.d.ts +2 -1
  117. package/dist/ui/aspect-ratio.js +1 -0
  118. package/dist/ui/autocomplete.d.ts +1 -0
  119. package/dist/ui/autocomplete.js +35 -34
  120. package/dist/ui/avatar.d.ts +2 -1
  121. package/dist/ui/avatar.js +13 -12
  122. package/dist/ui/badge.d.ts +1 -0
  123. package/dist/ui/badge.d.ts.map +1 -1
  124. package/dist/ui/badge.js +4 -3
  125. package/dist/ui/banner.d.ts +1 -0
  126. package/dist/ui/banner.d.ts.map +1 -1
  127. package/dist/ui/banner.js +1 -0
  128. package/dist/ui/breadcrumb.d.ts +1 -0
  129. package/dist/ui/breadcrumb.js +1 -0
  130. package/dist/ui/button-group.d.ts +1 -0
  131. package/dist/ui/button-group.js +1 -0
  132. package/dist/ui/button.d.ts +1 -0
  133. package/dist/ui/button.js +2 -1
  134. package/dist/ui/card.d.ts +1 -0
  135. package/dist/ui/card.d.ts.map +1 -1
  136. package/dist/ui/card.js +2 -1
  137. package/dist/ui/charts/_internal/animation.d.ts +1 -0
  138. package/dist/ui/charts/_internal/animation.d.ts.map +1 -1
  139. package/dist/ui/charts/_internal/animation.js +1 -0
  140. package/dist/ui/charts/_internal/axes.d.ts +1 -0
  141. package/dist/ui/charts/_internal/axes.d.ts.map +1 -1
  142. package/dist/ui/charts/_internal/axes.js +1 -0
  143. package/dist/ui/charts/_internal/colors.d.ts +1 -0
  144. package/dist/ui/charts/_internal/colors.js +1 -0
  145. package/dist/ui/charts/_internal/grid-lines.d.ts +1 -0
  146. package/dist/ui/charts/_internal/grid-lines.js +1 -0
  147. package/dist/ui/charts/_internal/legend.d.ts +1 -0
  148. package/dist/ui/charts/_internal/legend.js +1 -0
  149. package/dist/ui/charts/_internal/scales.d.ts +1 -0
  150. package/dist/ui/charts/_internal/tooltip.d.ts +1 -0
  151. package/dist/ui/charts/_internal/tooltip.d.ts.map +1 -1
  152. package/dist/ui/charts/_internal/tooltip.js +1 -0
  153. package/dist/ui/charts/_internal/types.d.ts +1 -0
  154. package/dist/ui/charts/_internal/types.js +1 -0
  155. package/dist/ui/charts/area-chart.d.ts +1 -0
  156. package/dist/ui/charts/area-chart.js +1 -0
  157. package/dist/ui/charts/bar-chart.d.ts +1 -0
  158. package/dist/ui/charts/bar-chart.js +2 -1
  159. package/dist/ui/charts/chart-container.d.ts +1 -0
  160. package/dist/ui/charts/chart-container.js +12 -11
  161. package/dist/ui/charts/gauge-chart.d.ts +1 -0
  162. package/dist/ui/charts/gauge-chart.js +1 -0
  163. package/dist/ui/charts/index.d.ts +1 -0
  164. package/dist/ui/charts/line-chart.d.ts +1 -0
  165. package/dist/ui/charts/line-chart.js +2 -1
  166. package/dist/ui/charts/pie-chart.d.ts +1 -0
  167. package/dist/ui/charts/pie-chart.js +1 -0
  168. package/dist/ui/charts/radar-chart.d.ts +1 -0
  169. package/dist/ui/charts/radar-chart.js +21 -20
  170. package/dist/ui/charts/sparkline.d.ts +1 -0
  171. package/dist/ui/charts/sparkline.js +1 -0
  172. package/dist/ui/checkbox.d.ts +2 -1
  173. package/dist/ui/checkbox.js +1 -0
  174. package/dist/ui/chip.d.ts +1 -0
  175. package/dist/ui/chip.d.ts.map +1 -1
  176. package/dist/ui/chip.js +35 -36
  177. package/dist/ui/code.js +13 -13
  178. package/dist/ui/collapsible.d.ts +2 -1
  179. package/dist/ui/collapsible.js +1 -0
  180. package/dist/ui/combobox.d.ts +1 -0
  181. package/dist/ui/combobox.js +2 -1
  182. package/dist/ui/context-menu.d.ts +2 -1
  183. package/dist/ui/context-menu.js +2 -1
  184. package/dist/ui/data-table-toolbar.d.ts +1 -0
  185. package/dist/ui/data-table-toolbar.js +1 -0
  186. package/dist/ui/data-table.d.ts +1 -0
  187. package/dist/ui/data-table.d.ts.map +1 -1
  188. package/dist/ui/data-table.js +79 -78
  189. package/dist/ui/dialog.d.ts +2 -1
  190. package/dist/ui/dialog.js +1 -0
  191. package/dist/ui/dropdown-menu.d.ts +2 -1
  192. package/dist/ui/dropdown-menu.js +23 -22
  193. package/dist/ui/file-upload.d.ts +1 -0
  194. package/dist/ui/file-upload.js +60 -59
  195. package/dist/ui/form.d.ts +1 -0
  196. package/dist/ui/form.js +1 -0
  197. package/dist/ui/hover-card.d.ts +2 -1
  198. package/dist/ui/hover-card.js +1 -0
  199. package/dist/ui/icon-button.d.ts +1 -0
  200. package/dist/ui/icon-button.d.ts.map +1 -1
  201. package/dist/ui/icon-button.js +1 -0
  202. package/dist/ui/index.d.ts +18 -0
  203. package/dist/ui/index.d.ts.map +1 -1
  204. package/dist/ui/index.js +1 -0
  205. package/dist/ui/input-otp.d.ts +1 -0
  206. package/dist/ui/input-otp.js +2 -1
  207. package/dist/ui/input.d.ts +2 -1
  208. package/dist/ui/input.d.ts.map +1 -1
  209. package/dist/ui/input.js +1 -0
  210. package/dist/ui/label.d.ts +2 -1
  211. package/dist/ui/label.js +1 -0
  212. package/dist/ui/lib/slot.d.ts +1 -0
  213. package/dist/ui/lib/use-reduced-motion.d.ts +1 -0
  214. package/dist/ui/lib/use-reduced-motion.js +1 -0
  215. package/dist/ui/lib/use-ripple.d.ts +1 -0
  216. package/dist/ui/lib/use-ripple.js +1 -0
  217. package/dist/ui/link.d.ts +1 -0
  218. package/dist/ui/link.js +1 -0
  219. package/dist/ui/menubar.d.ts +2 -1
  220. package/dist/ui/menubar.js +23 -22
  221. package/dist/ui/navigation-menu.d.ts +2 -1
  222. package/dist/ui/navigation-menu.js +7 -6
  223. package/dist/ui/number-input.d.ts +1 -0
  224. package/dist/ui/number-input.js +2 -1
  225. package/dist/ui/pagination.d.ts +1 -0
  226. package/dist/ui/pagination.js +1 -0
  227. package/dist/ui/popover.d.ts +2 -1
  228. package/dist/ui/popover.js +1 -0
  229. package/dist/ui/progress.d.ts +2 -1
  230. package/dist/ui/progress.js +1 -0
  231. package/dist/ui/radio.d.ts +2 -1
  232. package/dist/ui/radio.js +1 -0
  233. package/dist/ui/search-input.d.ts +6 -5
  234. package/dist/ui/search-input.d.ts.map +1 -1
  235. package/dist/ui/search-input.js +11 -10
  236. package/dist/ui/segmented-control.d.ts +1 -0
  237. package/dist/ui/segmented-control.d.ts.map +1 -1
  238. package/dist/ui/segmented-control.js +4 -4
  239. package/dist/ui/select.d.ts +2 -1
  240. package/dist/ui/select.js +3 -2
  241. package/dist/ui/separator.d.ts +2 -1
  242. package/dist/ui/separator.js +1 -0
  243. package/dist/ui/sheet.d.ts +2 -1
  244. package/dist/ui/sheet.js +1 -0
  245. package/dist/ui/sidebar.d.ts +1 -0
  246. package/dist/ui/sidebar.js +53 -52
  247. package/dist/ui/slider.d.ts +2 -1
  248. package/dist/ui/slider.js +1 -0
  249. package/dist/ui/stack.d.ts +2 -2
  250. package/dist/ui/stack.d.ts.map +1 -1
  251. package/dist/ui/stack.js +51 -21
  252. package/dist/ui/stat-card.d.ts +4 -1
  253. package/dist/ui/stat-card.d.ts.map +1 -1
  254. package/dist/ui/stat-card.js +22 -21
  255. package/dist/ui/stepper.d.ts +1 -0
  256. package/dist/ui/stepper.js +26 -25
  257. package/dist/ui/switch.d.ts +2 -1
  258. package/dist/ui/switch.js +1 -0
  259. package/dist/ui/table.js +12 -12
  260. package/dist/ui/tabs.d.ts +2 -1
  261. package/dist/ui/tabs.js +1 -0
  262. package/dist/ui/text.d.ts +1 -1
  263. package/dist/ui/text.d.ts.map +1 -1
  264. package/dist/ui/textarea.d.ts +1 -0
  265. package/dist/ui/textarea.d.ts.map +1 -1
  266. package/dist/ui/textarea.js +2 -0
  267. package/dist/ui/toast.d.ts +2 -1
  268. package/dist/ui/toast.js +2 -1
  269. package/dist/ui/toaster.d.ts +1 -0
  270. package/dist/ui/toaster.js +1 -0
  271. package/dist/ui/toggle-group.d.ts +2 -1
  272. package/dist/ui/toggle-group.js +1 -0
  273. package/dist/ui/toggle.d.ts +2 -1
  274. package/dist/ui/toggle.js +1 -0
  275. package/dist/ui/tooltip.d.ts +2 -1
  276. package/dist/ui/tooltip.js +1 -0
  277. package/dist/ui/transitions.d.ts +1 -0
  278. package/dist/ui/transitions.js +1 -0
  279. package/dist/ui/tree-view/index.d.ts +1 -0
  280. package/dist/ui/tree-view/tree-item.d.ts +1 -0
  281. package/dist/ui/tree-view/tree-item.js +2 -1
  282. package/dist/ui/tree-view/tree-view.d.ts +1 -0
  283. package/dist/ui/tree-view/tree-view.js +1 -0
  284. package/dist/ui/tree-view/use-tree.d.ts +1 -0
  285. package/dist/ui/tree-view/use-tree.js +1 -0
  286. package/package.json +97 -24
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { VariantProps } from 'class-variance-authority';
2
3
  import * as React from 'react';
3
4
  declare const avatarSizeVariants: (props?: ({
@@ -1 +1 @@
1
- {"version":3,"file":"avatar-group.d.ts","sourceRoot":"","sources":["../../src/composed/avatar-group.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAejE,QAAA,MAAM,kBAAkB;;8EAcvB,CAAA;AAED,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CACtB;AAED,MAAM,WAAW,gBACf,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAC1C,YAAY,CAAC,OAAO,kBAAkB,CAAC;IACzC,KAAK,EAAE,UAAU,EAAE,CAAA;IACnB,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB;AAED,QAAA,MAAM,WAAW,yFAuFhB,CAAA;AAGD,OAAO,EAAE,WAAW,EAAE,CAAA"}
1
+ {"version":3,"file":"avatar-group.d.ts","sourceRoot":"","sources":["../../src/composed/avatar-group.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAejE,QAAA,MAAM,kBAAkB;;8EAcvB,CAAA;AAED,MAAM,WAAW,UAAU;IACzB,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CACtB;AAED,MAAM,WAAW,gBACf,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAC1C,YAAY,CAAC,OAAO,kBAAkB,CAAC;IACzC,KAAK,EAAE,UAAU,EAAE,CAAA;IACnB,GAAG,CAAC,EAAE,MAAM,CAAA;IACZ,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB;AAED,QAAA,MAAM,WAAW,yFAuFhB,CAAA;AAGD,OAAO,EAAE,WAAW,EAAE,CAAA"}
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx as e, jsxs as a } from "react/jsx-runtime";
2
3
  import * as u from "react";
3
4
  import { cva as w } from "class-variance-authority";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { Icon as TablerIcon } from '@tabler/icons-react';
2
3
  /**
3
4
  * CommandPalette -- Keyboard-driven command palette (Ctrl+K / Cmd+K).
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx as s, jsxs as a } from "react/jsx-runtime";
2
3
  import * as r from "react";
3
4
  import { Dialog as E, DialogPortal as A, DialogOverlay as M, DialogContentRaw as R, DialogTitle as L, DialogDescription as S } from "../ui/dialog.js";
@@ -173,7 +174,7 @@ const O = r.forwardRef(
173
174
  o && /* @__PURE__ */ s(
174
175
  g,
175
176
  {
176
- className: "h-3 w-3 shrink-0 text-text-placeholder",
177
+ className: "h-ico-sm w-ico-sm shrink-0 text-text-placeholder",
177
178
  stroke: 1.5
178
179
  }
179
180
  )
@@ -195,11 +196,11 @@ const O = r.forwardRef(
195
196
  /* @__PURE__ */ s("span", { className: "text-ds-xs text-text-placeholder", children: "Navigate" })
196
197
  ] }),
197
198
  /* @__PURE__ */ a("div", { className: "flex items-center gap-ds-02b", children: [
198
- /* @__PURE__ */ s("kbd", { className: "inline-flex h-5 items-center justify-center rounded border border-border bg-layer-02 px-ds-02b", children: /* @__PURE__ */ s(g, { className: "h-ds-03 w-ds-03 text-text-placeholder", stroke: 2 }) }),
199
+ /* @__PURE__ */ s("kbd", { className: "inline-flex h-[20px] items-center justify-center rounded-ds-md border border-border bg-layer-02 px-ds-02b", children: /* @__PURE__ */ s(g, { className: "h-ds-03 w-ds-03 text-text-placeholder", stroke: 2 }) }),
199
200
  /* @__PURE__ */ s("span", { className: "text-ds-xs text-text-placeholder", children: "Select" })
200
201
  ] }),
201
202
  /* @__PURE__ */ a("div", { className: "flex items-center gap-ds-02b", children: [
202
- /* @__PURE__ */ s("kbd", { className: "inline-flex h-5 items-center justify-center rounded border border-border bg-layer-02 px-ds-02b text-ds-xs font-medium text-text-placeholder", children: "Esc" }),
203
+ /* @__PURE__ */ s("kbd", { className: "inline-flex h-[20px] items-center justify-center rounded-ds-md border border-border bg-layer-02 px-ds-02b text-ds-xs font-medium text-text-placeholder", children: "Esc" }),
203
204
  /* @__PURE__ */ s("span", { className: "text-ds-xs text-text-placeholder", children: "Close" })
204
205
  ] })
205
206
  ] })
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import * as React from 'react';
2
3
  export interface CalendarGridProps {
3
4
  currentMonth: Date;
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsxs as w, jsx as i } from "react/jsx-runtime";
2
3
  import * as g from "react";
3
4
  import { startOfMonth as v, endOfMonth as S, startOfWeek as V, endOfWeek as X, addDays as f, subMonths as Z, format as m, addMonths as _, isSameMonth as D, isSameDay as y, lastDayOfMonth as H, isBefore as k, startOfDay as W, isAfter as M, isWithinInterval as T } from "date-fns";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import * as React from 'react';
2
3
  export interface DatePickerProps {
3
4
  value?: Date | null;
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsxs as p, jsx as r } from "react/jsx-runtime";
2
3
  import * as o from "react";
3
4
  import { format as C, setMonth as N, setYear as F } from "date-fns";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { PresetKey } from './presets';
2
3
  import * as React from 'react';
3
4
  export interface DateRangePickerProps {
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsxs as y, jsx as o } from "react/jsx-runtime";
2
3
  import * as s from "react";
3
4
  import { format as H, setMonth as z, setYear as J, addMonths as E, isBefore as K, isAfter as L } from "date-fns";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import * as React from 'react';
2
3
  export interface DateTimePickerProps {
3
4
  /** The currently selected date and time. */
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsxs as a, jsx as r } from "react/jsx-runtime";
2
3
  import * as m from "react";
3
4
  import { format as U, setHours as y, setMinutes as k, setMonth as W, setYear as X } from "date-fns";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  export { CalendarGrid } from './calendar-grid';
2
3
  export type { CalendarGridProps } from './calendar-grid';
3
4
  export { DatePicker } from './date-picker';
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import * as React from 'react';
2
3
  export interface MonthPickerProps {
3
4
  currentYear: number;
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsxs as p, jsx as r } from "react/jsx-runtime";
2
3
  import * as m from "react";
3
4
  import { cn as u } from "../../ui/lib/utils.js";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import * as React from 'react';
2
3
  export type PresetKey = 'today' | 'yesterday' | 'last7days' | 'last30days' | 'thisMonth' | 'lastMonth' | 'thisYear';
3
4
  export interface PresetsProps {
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx as l } from "react/jsx-runtime";
2
3
  import * as b from "react";
3
4
  import { endOfDay as e, startOfYear as w, subMonths as h, endOfMonth as d, startOfMonth as i, startOfDay as s, subDays as r } from "date-fns";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import * as React from 'react';
2
3
  export interface TimePickerProps {
3
4
  /** The currently selected time (as a Date object). */
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsxs as d, jsx as r } from "react/jsx-runtime";
2
3
  import * as P from "react";
3
4
  import { format as O, setHours as S, setMinutes as $, setSeconds as j } from "date-fns";
@@ -51,7 +52,7 @@ const F = P.forwardRef(
51
52
  const t = s.getHours();
52
53
  let a;
53
54
  e === "AM" ? a = t >= 12 ? t - 12 : t : a = t < 12 ? t + 12 : t, c == null || c(S(new Date(s), a));
54
- }, b = P.useMemo(() => s ? l === "12h" ? O(s, x ? "h:mm:ss a" : "h:mm a") : O(s, x ? "HH:mm:ss" : "HH:mm") : null, [s, l, x]), R = l === "12h" ? E : o, M = "flex flex-col gap-ds-01 overflow-y-auto max-h-[200px] px-ds-01 scrollbar-thin", h = "flex h-ds-sm w-full items-center justify-center rounded-ds-md text-ds-md transition-colors duration-fast-01 ease-productive-standard cursor-pointer", N = "bg-interactive text-text-on-color", g = "text-text-primary hover:bg-field";
55
+ }, b = P.useMemo(() => s ? l === "12h" ? O(s, x ? "h:mm:ss a" : "h:mm a") : O(s, x ? "HH:mm:ss" : "HH:mm") : null, [s, l, x]), R = l === "12h" ? E : o, M = "flex flex-col gap-ds-01 overflow-y-auto max-h-[200px] px-ds-01", h = "flex h-ds-sm w-full items-center justify-center rounded-ds-md text-ds-md transition-colors duration-fast-01 ease-productive-standard cursor-pointer", N = "bg-interactive text-text-on-color", g = "text-text-primary hover:bg-field";
55
56
  return /* @__PURE__ */ d(Y, { open: q, onOpenChange: z, children: [
56
57
  /* @__PURE__ */ r(Z, { asChild: !0, children: /* @__PURE__ */ d(
57
58
  "button",
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  export declare function useCalendar(initialMonth?: Date): {
2
3
  currentMonth: Date;
3
4
  setCurrentMonth: import('react').Dispatch<import('react').SetStateAction<Date>>;
@@ -1 +1 @@
1
- {"version":3,"file":"use-calendar.d.ts","sourceRoot":"","sources":["../../../src/composed/date-picker/use-calendar.ts"],"names":[],"mappings":"AAGA,wBAAgB,WAAW,CAAC,YAAY,CAAC,EAAE,IAAI;;;;;uBAKnB,MAAM;qBAER,MAAM;EAW/B"}
1
+ {"version":3,"file":"use-calendar.d.ts","sourceRoot":"","sources":["../../../src/composed/date-picker/use-calendar.ts"],"names":[],"mappings":"AAKA,wBAAgB,WAAW,CAAC,YAAY,CAAC,EAAE,IAAI;;;;;uBAKnB,MAAM;qBAER,MAAM;EAW/B"}
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { useState as s } from "react";
2
3
  import { setYear as h, setMonth as M, addMonths as u, subMonths as a } from "date-fns";
3
4
  function f(e) {
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import * as React from 'react';
2
3
  export interface YearPickerProps {
3
4
  currentYear: number;
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsxs as i, jsx as n } from "react/jsx-runtime";
2
3
  import * as u from "react";
3
4
  import { cn as x } from "../../ui/lib/utils.js";
@@ -17,7 +17,7 @@ const f = c.forwardRef(
17
17
  ref: o,
18
18
  className: t(
19
19
  "flex flex-col items-center justify-center text-center",
20
- e ? "gap-ds-04 py-ds-07" : "gap-ds-05 py-16",
20
+ e ? "gap-ds-04 py-ds-07" : "gap-ds-05 py-ds-10",
21
21
  i
22
22
  ),
23
23
  ...x,
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import * as React from 'react';
2
3
  export interface ErrorDisplayProps {
3
4
  error: unknown;
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx as s, jsxs as n } from "react/jsx-runtime";
2
3
  import * as g from "react";
3
4
  import { IconAlertTriangle as u, IconServerOff as p, IconBan as x, IconFileUnknown as h } from "@tabler/icons-react";
@@ -71,7 +72,7 @@ const C = g.forwardRef(
71
72
  "div",
72
73
  {
73
74
  className: c(
74
- "flex h-16 w-16 items-center justify-center rounded-ds-2xl",
75
+ "flex h-ds-lg w-ds-lg items-center justify-center rounded-ds-2xl",
75
76
  r.bgClass
76
77
  ),
77
78
  children: /* @__PURE__ */ s(
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import * as React from 'react';
2
3
  export interface GlobalLoadingProps {
3
4
  isLoading: boolean;
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsx as r } from "react/jsx-runtime";
2
3
  import * as i from "react";
3
4
  import { useRef as l, useState as f, useEffect as s } from "react";
@@ -1,3 +1,18 @@
1
+ "use client";
2
+ /**
3
+ * @module @devalok/shilp-sutra/composed
4
+ *
5
+ * Higher-level composed components built from UI primitives: page headers, date pickers,
6
+ * rich text editors, skeleton loaders, and domain-specific patterns.
7
+ *
8
+ * **Server-safe components** (import individually for Server Components):
9
+ * `ContentCard`, `EmptyState`, `PageHeader`, `LoadingSkeleton`, `PageSkeletons`,
10
+ * `PriorityIndicator`, `StatusBadge`
11
+ *
12
+ * @example
13
+ * import { PageHeader } from '@devalok/shilp-sutra/composed/page-header'
14
+ * import { DatePicker } from '@devalok/shilp-sutra/composed/date-picker'
15
+ */
1
16
  export { PageHeader } from './page-header';
2
17
  export type { PageHeaderProps, Breadcrumb } from './page-header';
3
18
  export { ContentCard, contentCardVariants } from './content-card';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/composed/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC1C,YAAY,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAEhE,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAA;AACjE,YAAY,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;AAEtD,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAA;AACjE,YAAY,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;AAEtD,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC1C,YAAY,EAAE,eAAe,EAAE,MAAM,eAAe,CAAA;AAEpD,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAC5C,YAAY,EAAE,gBAAgB,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAA;AAElE,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAA;AACxD,YAAY,EAAE,sBAAsB,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AAE5E,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAA;AACnE,YAAY,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAA;AAElF,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,YAAY,EAAE,UAAU,EAAE,cAAc,EAAE,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AACpJ,YAAY,EAAE,eAAe,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,eAAe,EAAE,mBAAmB,EAAE,YAAY,EAAE,SAAS,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAA;AAE/L,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AAC7F,YAAY,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAA;AAEtH,OAAO,EACL,iBAAiB,EACjB,mBAAmB,EACnB,kBAAkB,GACnB,MAAM,kBAAkB,CAAA;AAEzB,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAA;AAC/C,YAAY,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAA;AAEzD,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAA;AAChD,YAAY,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAA;AAE1D,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAA;AAClD,YAAY,EAAE,mBAAmB,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAEvF,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAC9C,YAAY,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/composed/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC1C,YAAY,EAAE,eAAe,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAEhE,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAA;AACjE,YAAY,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;AAEtD,OAAO,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAA;AACjE,YAAY,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;AAEtD,OAAO,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAC1C,YAAY,EAAE,eAAe,EAAE,MAAM,eAAe,CAAA;AAEpD,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AAC5C,YAAY,EAAE,gBAAgB,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAA;AAElE,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAA;AACxD,YAAY,EAAE,sBAAsB,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAA;AAE5E,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAA;AACnE,YAAY,EAAE,mBAAmB,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAA;AAElF,OAAO,EAAE,UAAU,EAAE,eAAe,EAAE,YAAY,EAAE,UAAU,EAAE,cAAc,EAAE,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,WAAW,EAAE,MAAM,eAAe,CAAA;AACpJ,YAAY,EAAE,eAAe,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,eAAe,EAAE,mBAAmB,EAAE,YAAY,EAAE,SAAS,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAA;AAE/L,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,aAAa,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AAC7F,YAAY,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAA;AAEtH,OAAO,EACL,iBAAiB,EACjB,mBAAmB,EACnB,kBAAkB,GACnB,MAAM,kBAAkB,CAAA;AAEzB,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAA;AAC/C,YAAY,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAA;AAEzD,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAA;AAChD,YAAY,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAA;AAE1D,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAA;AAClD,YAAY,EAAE,mBAAmB,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA;AAEvF,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAA;AAC9C,YAAY,EAAE,iBAAiB,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA"}
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { PageHeader as o } from "./page-header.js";
2
3
  import { ContentCard as a, contentCardVariants as m } from "./content-card.js";
3
4
  import { StatusBadge as i, statusBadgeVariants as x } from "./status-badge.js";
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  /**
2
3
  * Extract initials from a person's name.
3
4
  * "John Doe" -> "JD", "Alice" -> "AL"
@@ -1 +1 @@
1
- {"version":3,"file":"string-utils.d.ts","sourceRoot":"","sources":["../../../src/composed/lib/string-utils.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAIhD"}
1
+ {"version":3,"file":"string-utils.d.ts","sourceRoot":"","sources":["../../../src/composed/lib/string-utils.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,wBAAgB,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAMhD"}
@@ -1,7 +1,10 @@
1
- function r(e) {
2
- const t = e.trim().split(/\s+/);
3
- return t.length >= 2 ? (t[0][0] + t[1][0]).toUpperCase() : e.slice(0, 2).toUpperCase();
1
+ "use client";
2
+ function i(r) {
3
+ const t = r.trim();
4
+ if (!t) return "";
5
+ const e = t.split(/\s+/);
6
+ return e.length >= 2 ? (e[0][0] + e[1][0]).toUpperCase() : t.slice(0, 2).toUpperCase();
4
7
  }
5
8
  export {
6
- r as getInitials
9
+ i as getInitials
7
10
  };
@@ -2,7 +2,7 @@ import { jsx as e, jsxs as d } from "react/jsx-runtime";
2
2
  import * as n from "react";
3
3
  import { cn as i } from "../ui/lib/utils.js";
4
4
  import { Skeleton as s } from "../ui/skeleton.js";
5
- const h = n.forwardRef(
5
+ const b = n.forwardRef(
6
6
  function({ className: a }, r) {
7
7
  return /* @__PURE__ */ d(
8
8
  "div",
@@ -14,25 +14,25 @@ const h = n.forwardRef(
14
14
  ),
15
15
  children: [
16
16
  /* @__PURE__ */ d("div", { className: "flex items-center justify-between pb-ds-05", children: [
17
- /* @__PURE__ */ e(s, { className: "h-4 w-32 bg-field" }),
17
+ /* @__PURE__ */ e(s, { className: "h-[16px] w-[128px] bg-field" }),
18
18
  /* @__PURE__ */ e(s, { className: "h-ico-sm w-ico-sm rounded bg-field" })
19
19
  ] }),
20
20
  /* @__PURE__ */ d("div", { className: "space-y-ds-04", children: [
21
- /* @__PURE__ */ e(s, { className: "h-3 w-full bg-field" }),
22
- /* @__PURE__ */ e(s, { className: "h-3 w-4/5 bg-field" }),
23
- /* @__PURE__ */ e(s, { className: "h-3 w-3/5 bg-field" })
21
+ /* @__PURE__ */ e(s, { className: "h-[12px] w-full bg-field" }),
22
+ /* @__PURE__ */ e(s, { className: "h-[12px] w-4/5 bg-field" }),
23
+ /* @__PURE__ */ e(s, { className: "h-[12px] w-3/5 bg-field" })
24
24
  ] }),
25
25
  /* @__PURE__ */ d("div", { className: "flex items-center gap-ds-03 pt-ds-05", children: [
26
26
  /* @__PURE__ */ e(s, { className: "h-ds-xs w-ds-xs rounded-ds-full bg-field" }),
27
- /* @__PURE__ */ e(s, { className: "h-3 w-20 bg-field" })
27
+ /* @__PURE__ */ e(s, { className: "h-[12px] w-[80px] bg-field" })
28
28
  ] })
29
29
  ]
30
30
  }
31
31
  );
32
32
  }
33
33
  );
34
- h.displayName = "CardSkeleton";
35
- const g = n.forwardRef(
34
+ b.displayName = "CardSkeleton";
35
+ const h = n.forwardRef(
36
36
  function({
37
37
  rows: a = 5,
38
38
  columns: r = 4,
@@ -51,8 +51,8 @@ const g = n.forwardRef(
51
51
  s,
52
52
  {
53
53
  className: i(
54
- "h-3 bg-field",
55
- l === 0 ? "w-40" : "flex-1"
54
+ "h-[12px] bg-field",
55
+ l === 0 ? "w-[160px]" : "flex-1"
56
56
  )
57
57
  },
58
58
  `head-${l}`
@@ -64,12 +64,12 @@ const g = n.forwardRef(
64
64
  "flex items-center gap-ds-05 px-ds-05 py-ds-04",
65
65
  l < a - 1 && "border-b border-border"
66
66
  ),
67
- children: Array.from({ length: r }).map((b, m) => /* @__PURE__ */ e(
67
+ children: Array.from({ length: r }).map((p, m) => /* @__PURE__ */ e(
68
68
  s,
69
69
  {
70
70
  className: i(
71
- "h-3 bg-field",
72
- m === 0 ? "w-40" : "flex-1"
71
+ "h-[12px] bg-field",
72
+ m === 0 ? "w-[160px]" : "flex-1"
73
73
  )
74
74
  },
75
75
  `cell-${l}-${m}`
@@ -82,8 +82,8 @@ const g = n.forwardRef(
82
82
  );
83
83
  }
84
84
  );
85
- g.displayName = "TableSkeleton";
86
- const N = n.forwardRef(
85
+ h.displayName = "TableSkeleton";
86
+ const x = n.forwardRef(
87
87
  function({
88
88
  columns: a = 4,
89
89
  cardsPerColumn: r = 3,
@@ -96,27 +96,27 @@ const N = n.forwardRef(
96
96
  children: [
97
97
  /* @__PURE__ */ d("div", { className: "flex items-center justify-between px-ds-02 py-ds-03", children: [
98
98
  /* @__PURE__ */ d("div", { className: "flex items-center gap-ds-03", children: [
99
- /* @__PURE__ */ e(s, { className: "h-3 w-3 rounded bg-field" }),
100
- /* @__PURE__ */ e(s, { className: "h-3 w-20 bg-field" }),
101
- /* @__PURE__ */ e(s, { className: "h-4 w-5 rounded-ds-full bg-field" })
99
+ /* @__PURE__ */ e(s, { className: "h-[12px] w-[12px] rounded bg-field" }),
100
+ /* @__PURE__ */ e(s, { className: "h-[12px] w-[80px] bg-field" }),
101
+ /* @__PURE__ */ e(s, { className: "h-[16px] w-[20px] rounded-ds-full bg-field" })
102
102
  ] }),
103
103
  /* @__PURE__ */ e(s, { className: "h-ico-sm w-ico-sm rounded bg-field" })
104
104
  ] }),
105
- Array.from({ length: r }).map((b, m) => /* @__PURE__ */ d(
105
+ Array.from({ length: r }).map((p, m) => /* @__PURE__ */ d(
106
106
  "div",
107
107
  {
108
108
  className: "rounded-ds-lg border border-border bg-layer-01 p-ds-04",
109
109
  children: [
110
110
  /* @__PURE__ */ d("div", { className: "space-y-ds-03", children: [
111
- /* @__PURE__ */ e(s, { className: "h-3 w-4/5 bg-field" }),
112
- /* @__PURE__ */ e(s, { className: "h-3 w-3/5 bg-field" })
111
+ /* @__PURE__ */ e(s, { className: "h-[12px] w-4/5 bg-field" }),
112
+ /* @__PURE__ */ e(s, { className: "h-[12px] w-3/5 bg-field" })
113
113
  ] }),
114
114
  /* @__PURE__ */ d("div", { className: "flex items-center justify-between pt-ds-04", children: [
115
115
  /* @__PURE__ */ d("div", { className: "flex items-center gap-ds-02b", children: [
116
116
  /* @__PURE__ */ e(s, { className: "h-ico-md w-ico-md rounded-ds-full bg-field" }),
117
- /* @__PURE__ */ e(s, { className: "h-ds-03 w-16 bg-field" })
117
+ /* @__PURE__ */ e(s, { className: "h-ds-03 w-[64px] bg-field" })
118
118
  ] }),
119
- /* @__PURE__ */ e(s, { className: "h-4 w-ds-lg rounded-ds-full bg-field" })
119
+ /* @__PURE__ */ e(s, { className: "h-[16px] w-ds-lg rounded-ds-full bg-field" })
120
120
  ] })
121
121
  ]
122
122
  },
@@ -128,8 +128,8 @@ const N = n.forwardRef(
128
128
  )) });
129
129
  }
130
130
  );
131
- N.displayName = "BoardSkeleton";
132
- const p = n.forwardRef(
131
+ x.displayName = "BoardSkeleton";
132
+ const g = n.forwardRef(
133
133
  function({
134
134
  rows: a = 6,
135
135
  showAvatar: r = !0,
@@ -145,20 +145,20 @@ const p = n.forwardRef(
145
145
  children: [
146
146
  r && /* @__PURE__ */ e(s, { className: "h-ds-sm w-ds-sm shrink-0 rounded-ds-full bg-field" }),
147
147
  /* @__PURE__ */ d("div", { className: "flex flex-1 flex-col gap-ds-02b", children: [
148
- /* @__PURE__ */ e(s, { className: "h-3 w-2/5 bg-field" }),
148
+ /* @__PURE__ */ e(s, { className: "h-[12px] w-2/5 bg-field" }),
149
149
  /* @__PURE__ */ e(s, { className: "h-ds-03 w-3/5 bg-field" })
150
150
  ] }),
151
- /* @__PURE__ */ e(s, { className: "h-5 w-14 rounded-ds-full bg-field" })
151
+ /* @__PURE__ */ e(s, { className: "h-[20px] w-[56px] rounded-ds-full bg-field" })
152
152
  ]
153
153
  },
154
154
  `list-${l}`
155
155
  )) });
156
156
  }
157
157
  );
158
- p.displayName = "ListSkeleton";
158
+ g.displayName = "ListSkeleton";
159
159
  export {
160
- N as BoardSkeleton,
161
- h as CardSkeleton,
162
- p as ListSkeleton,
163
- g as TableSkeleton
160
+ x as BoardSkeleton,
161
+ b as CardSkeleton,
162
+ g as ListSkeleton,
163
+ h as TableSkeleton
164
164
  };
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import * as React from 'react';
2
3
  export interface MemberPickerMember {
3
4
  id: string;
@@ -1,3 +1,4 @@
1
+ "use client";
1
2
  import { jsxs as a, jsx as t } from "react/jsx-runtime";
2
3
  import * as r from "react";
3
4
  import { cn as b } from "../ui/lib/utils.js";
@@ -2,8 +2,8 @@ import { jsxs as a, jsx as s } from "react/jsx-runtime";
2
2
  import * as o from "react";
3
3
  import { Skeleton as e } from "../ui/skeleton.js";
4
4
  import { cn as d } from "../ui/lib/utils.js";
5
- const l = "bg-field", h = o.forwardRef(
6
- function(n, m) {
5
+ const l = "bg-field", x = o.forwardRef(
6
+ function(i, m) {
7
7
  return /* @__PURE__ */ a("div", { ref: m, className: "flex flex-col gap-ds-06", children: [
8
8
  /* @__PURE__ */ s("div", { className: "grid grid-cols-1 gap-ds-05 sm:grid-cols-2 lg:grid-cols-4", children: Array.from({ length: 4 }).map((c, r) => /* @__PURE__ */ a(
9
9
  "div",
@@ -11,25 +11,25 @@ const l = "bg-field", h = o.forwardRef(
11
11
  className: "flex flex-col gap-ds-04 rounded-ds-xl border border-border bg-layer-01 p-ds-05b",
12
12
  children: [
13
13
  /* @__PURE__ */ a("div", { className: "flex items-center justify-between", children: [
14
- /* @__PURE__ */ s(e, { className: d("h-3 w-20", l) }),
14
+ /* @__PURE__ */ s(e, { className: d("h-[12px] w-[80px]", l) }),
15
15
  /* @__PURE__ */ s(e, { className: d("h-ds-sm w-ds-sm rounded-ds-lg", l) })
16
16
  ] }),
17
- /* @__PURE__ */ s(e, { className: d("h-ds-xs-plus w-16", l) }),
18
- /* @__PURE__ */ s(e, { className: d("h-ds-03 w-28", l) })
17
+ /* @__PURE__ */ s(e, { className: d("h-ds-xs-plus w-[64px]", l) }),
18
+ /* @__PURE__ */ s(e, { className: d("h-ds-03 w-[112px]", l) })
19
19
  ]
20
20
  },
21
21
  `stat-${r}`
22
22
  )) }),
23
23
  /* @__PURE__ */ a("div", { className: "rounded-ds-xl border border-border bg-layer-01 p-ds-06", children: [
24
24
  /* @__PURE__ */ a("div", { className: "mb-ds-06 flex items-center justify-between", children: [
25
- /* @__PURE__ */ s(e, { className: d("h-5 w-32", l) }),
25
+ /* @__PURE__ */ s(e, { className: d("h-[20px] w-[128px]", l) }),
26
26
  /* @__PURE__ */ a("div", { className: "flex items-center gap-ds-03", children: [
27
27
  /* @__PURE__ */ s(e, { className: d("h-ds-sm w-ds-sm rounded-ds-lg", l) }),
28
- /* @__PURE__ */ s(e, { className: d("h-4 w-28", l) }),
28
+ /* @__PURE__ */ s(e, { className: d("h-[16px] w-[112px]", l) }),
29
29
  /* @__PURE__ */ s(e, { className: d("h-ds-sm w-ds-sm rounded-ds-lg", l) })
30
30
  ] })
31
31
  ] }),
32
- /* @__PURE__ */ s("div", { className: "mb-ds-03 grid grid-cols-7 gap-ds-03", children: Array.from({ length: 7 }).map((c, r) => /* @__PURE__ */ s(e, { className: d("mx-auto h-3 w-8", l) }, `wh-${r}`)) }),
32
+ /* @__PURE__ */ s("div", { className: "mb-ds-03 grid grid-cols-7 gap-ds-03", children: Array.from({ length: 7 }).map((c, r) => /* @__PURE__ */ s(e, { className: d("mx-auto h-[12px] w-[32px]", l) }, `wh-${r}`)) }),
33
33
  /* @__PURE__ */ s("div", { className: "grid grid-cols-7 gap-ds-03", children: Array.from({ length: 35 }).map((c, r) => /* @__PURE__ */ s(
34
34
  e,
35
35
  {
@@ -41,20 +41,20 @@ const l = "bg-field", h = o.forwardRef(
41
41
  ] });
42
42
  }
43
43
  );
44
- h.displayName = "DashboardSkeleton";
45
- const f = o.forwardRef(
46
- function(n, m) {
44
+ x.displayName = "DashboardSkeleton";
45
+ const t = o.forwardRef(
46
+ function(i, m) {
47
47
  return /* @__PURE__ */ a("div", { ref: m, className: "flex flex-col gap-ds-06", children: [
48
48
  /* @__PURE__ */ a("div", { className: "flex flex-col gap-ds-05 sm:flex-row sm:items-center sm:justify-between", children: [
49
49
  /* @__PURE__ */ a("div", { className: "flex flex-col gap-ds-03", children: [
50
- /* @__PURE__ */ s(e, { className: d("h-6 w-28", l) }),
51
- /* @__PURE__ */ s(e, { className: d("h-ds-04 w-40", l) })
50
+ /* @__PURE__ */ s(e, { className: d("h-[24px] w-[112px]", l) }),
51
+ /* @__PURE__ */ s(e, { className: d("h-ds-04 w-[160px]", l) })
52
52
  ] }),
53
- /* @__PURE__ */ s(e, { className: d("h-ds-sm-plus w-32 rounded-ds-lg", l) })
53
+ /* @__PURE__ */ s(e, { className: d("h-ds-sm-plus w-[128px] rounded-ds-lg", l) })
54
54
  ] }),
55
55
  /* @__PURE__ */ a("div", { className: "flex flex-col gap-ds-04 sm:flex-row sm:items-center", children: [
56
56
  /* @__PURE__ */ s(e, { className: d("h-ds-sm-plus flex-1 rounded-ds-lg", l) }),
57
- /* @__PURE__ */ s("div", { className: "flex gap-ds-02b", children: Array.from({ length: 4 }).map((c, r) => /* @__PURE__ */ s(e, { className: d("h-ds-sm w-16 rounded-ds-lg", l) }, `f-${r}`)) })
57
+ /* @__PURE__ */ s("div", { className: "flex gap-ds-02b", children: Array.from({ length: 4 }).map((c, r) => /* @__PURE__ */ s(e, { className: d("h-ds-sm w-[64px] rounded-ds-lg", l) }, `f-${r}`)) })
58
58
  ] }),
59
59
  /* @__PURE__ */ s("div", { className: "grid grid-cols-1 gap-ds-05 sm:grid-cols-2 lg:grid-cols-3", children: Array.from({ length: 6 }).map((c, r) => /* @__PURE__ */ a(
60
60
  "div",
@@ -62,21 +62,21 @@ const f = o.forwardRef(
62
62
  className: "flex flex-col gap-ds-05 rounded-ds-xl border border-border bg-layer-01 p-ds-05b",
63
63
  children: [
64
64
  /* @__PURE__ */ a("div", { className: "flex items-center justify-between", children: [
65
- /* @__PURE__ */ s(e, { className: d("h-5 w-16 rounded-ds-full", l) }),
66
- /* @__PURE__ */ s(e, { className: d("h-4 w-20 rounded-ds-md", l) })
65
+ /* @__PURE__ */ s(e, { className: d("h-[20px] w-[64px] rounded-ds-full", l) }),
66
+ /* @__PURE__ */ s(e, { className: d("h-[16px] w-[80px] rounded-ds-md", l) })
67
67
  ] }),
68
68
  /* @__PURE__ */ a("div", { className: "flex flex-col gap-ds-03", children: [
69
- /* @__PURE__ */ s(e, { className: d("h-4 w-3/4", l) }),
70
- /* @__PURE__ */ s(e, { className: d("h-3 w-full", l) }),
71
- /* @__PURE__ */ s(e, { className: d("h-3 w-2/3", l) })
69
+ /* @__PURE__ */ s(e, { className: d("h-[16px] w-3/4", l) }),
70
+ /* @__PURE__ */ s(e, { className: d("h-[12px] w-full", l) }),
71
+ /* @__PURE__ */ s(e, { className: d("h-[12px] w-2/3", l) })
72
72
  ] }),
73
73
  /* @__PURE__ */ a("div", { className: "flex items-center justify-between pt-ds-02", children: [
74
- /* @__PURE__ */ s("div", { className: "flex -space-x-ds-03", children: Array.from({ length: 3 }).map((N, t) => /* @__PURE__ */ s(
74
+ /* @__PURE__ */ s("div", { className: "flex -space-x-ds-03", children: Array.from({ length: 3 }).map((f, n) => /* @__PURE__ */ s(
75
75
  e,
76
76
  {
77
77
  className: d("h-ds-xs-plus w-ds-xs-plus rounded-ds-full", l)
78
78
  },
79
- `av-${r}-${t}`
79
+ `av-${r}-${n}`
80
80
  )) }),
81
81
  /* @__PURE__ */ s(e, { className: d("h-ds-04 w-ds-md", l) })
82
82
  ] })
@@ -87,12 +87,12 @@ const f = o.forwardRef(
87
87
  ] });
88
88
  }
89
89
  );
90
- f.displayName = "ProjectListSkeleton";
91
- const p = o.forwardRef(
92
- function(n, m) {
90
+ t.displayName = "ProjectListSkeleton";
91
+ const h = o.forwardRef(
92
+ function(i, m) {
93
93
  return /* @__PURE__ */ a("div", { ref: m, className: "flex h-full flex-col gap-0 rounded-ds-xl border border-border bg-layer-01", children: [
94
94
  /* @__PURE__ */ a("div", { className: "flex items-center justify-between border-b border-border px-ds-05b py-ds-05", children: [
95
- /* @__PURE__ */ s(e, { className: d("h-5 w-48", l) }),
95
+ /* @__PURE__ */ s(e, { className: d("h-[20px] w-[192px]", l) }),
96
96
  /* @__PURE__ */ a("div", { className: "flex items-center gap-ds-03", children: [
97
97
  /* @__PURE__ */ s(e, { className: d("h-ds-xs-plus w-ds-xs-plus rounded-ds-lg", l) }),
98
98
  /* @__PURE__ */ s(e, { className: d("h-ds-xs-plus w-ds-xs-plus rounded-ds-lg", l) })
@@ -103,26 +103,26 @@ const p = o.forwardRef(
103
103
  {
104
104
  className: "flex items-center gap-ds-05 py-ds-03",
105
105
  children: [
106
- /* @__PURE__ */ s(e, { className: d("h-3 w-24 shrink-0", l) }),
107
- /* @__PURE__ */ s(e, { className: d("h-6 w-32 rounded-ds-md", l) })
106
+ /* @__PURE__ */ s(e, { className: d("h-[12px] w-[96px] shrink-0", l) }),
107
+ /* @__PURE__ */ s(e, { className: d("h-[24px] w-[128px] rounded-ds-md", l) })
108
108
  ]
109
109
  },
110
110
  `prop-${r}`
111
111
  )) }),
112
- /* @__PURE__ */ s("div", { className: "border-b border-border px-ds-05b", children: /* @__PURE__ */ s("div", { className: "flex gap-ds-05 py-ds-04", children: Array.from({ length: 3 }).map((c, r) => /* @__PURE__ */ s(e, { className: d("h-4 w-16", l) }, `tab-${r}`)) }) }),
112
+ /* @__PURE__ */ s("div", { className: "border-b border-border px-ds-05b", children: /* @__PURE__ */ s("div", { className: "flex gap-ds-05 py-ds-04", children: Array.from({ length: 3 }).map((c, r) => /* @__PURE__ */ s(e, { className: d("h-[16px] w-[64px]", l) }, `tab-${r}`)) }) }),
113
113
  /* @__PURE__ */ a("div", { className: "flex flex-1 flex-col gap-ds-04 px-ds-05b py-ds-05", children: [
114
- /* @__PURE__ */ s(e, { className: d("h-3 w-full", l) }),
115
- /* @__PURE__ */ s(e, { className: d("h-3 w-4/5", l) }),
116
- /* @__PURE__ */ s(e, { className: d("h-3 w-3/5", l) }),
117
- /* @__PURE__ */ s(e, { className: d("mt-ds-03 h-3 w-full", l) }),
118
- /* @__PURE__ */ s(e, { className: d("h-3 w-2/3", l) })
114
+ /* @__PURE__ */ s(e, { className: d("h-[12px] w-full", l) }),
115
+ /* @__PURE__ */ s(e, { className: d("h-[12px] w-4/5", l) }),
116
+ /* @__PURE__ */ s(e, { className: d("h-[12px] w-3/5", l) }),
117
+ /* @__PURE__ */ s(e, { className: d("mt-ds-03 h-[12px] w-full", l) }),
118
+ /* @__PURE__ */ s(e, { className: d("h-[12px] w-2/3", l) })
119
119
  ] })
120
120
  ] });
121
121
  }
122
122
  );
123
- p.displayName = "TaskDetailSkeleton";
123
+ h.displayName = "TaskDetailSkeleton";
124
124
  export {
125
- h as DashboardSkeleton,
126
- f as ProjectListSkeleton,
127
- p as TaskDetailSkeleton
125
+ x as DashboardSkeleton,
126
+ t as ProjectListSkeleton,
127
+ h as TaskDetailSkeleton
128
128
  };