@devalok/shilp-sutra 0.1.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 (488) hide show
  1. package/dist/composed/avatar-group.d.ts +17 -0
  2. package/dist/composed/avatar-group.d.ts.map +1 -0
  3. package/dist/composed/avatar-group.js +103 -0
  4. package/dist/composed/command-palette.d.ts +29 -0
  5. package/dist/composed/command-palette.d.ts.map +1 -0
  6. package/dist/composed/command-palette.js +215 -0
  7. package/dist/composed/content-card.d.ts +15 -0
  8. package/dist/composed/content-card.d.ts.map +1 -0
  9. package/dist/composed/content-card.js +108 -0
  10. package/dist/composed/date-picker/calendar-grid.d.ts +21 -0
  11. package/dist/composed/date-picker/calendar-grid.d.ts.map +1 -0
  12. package/dist/composed/date-picker/calendar-grid.js +173 -0
  13. package/dist/composed/date-picker/date-picker.d.ts +14 -0
  14. package/dist/composed/date-picker/date-picker.d.ts.map +1 -0
  15. package/dist/composed/date-picker/date-picker.js +123 -0
  16. package/dist/composed/date-picker/date-range-picker.d.ts +23 -0
  17. package/dist/composed/date-picker/date-range-picker.d.ts.map +1 -0
  18. package/dist/composed/date-picker/date-range-picker.js +166 -0
  19. package/dist/composed/date-picker/date-time-picker.d.ts +24 -0
  20. package/dist/composed/date-picker/date-time-picker.d.ts.map +1 -0
  21. package/dist/composed/date-picker/date-time-picker.js +192 -0
  22. package/dist/composed/date-picker/index.d.ts +18 -0
  23. package/dist/composed/date-picker/index.d.ts.map +1 -0
  24. package/dist/composed/date-picker/month-picker.d.ts +10 -0
  25. package/dist/composed/date-picker/month-picker.d.ts.map +1 -0
  26. package/dist/composed/date-picker/month-picker.js +52 -0
  27. package/dist/composed/date-picker/presets.d.ts +9 -0
  28. package/dist/composed/date-picker/presets.d.ts.map +1 -0
  29. package/dist/composed/date-picker/presets.js +83 -0
  30. package/dist/composed/date-picker/time-picker.d.ts +24 -0
  31. package/dist/composed/date-picker/time-picker.d.ts.map +1 -0
  32. package/dist/composed/date-picker/time-picker.js +180 -0
  33. package/dist/composed/date-picker/use-calendar.d.ts +9 -0
  34. package/dist/composed/date-picker/use-calendar.d.ts.map +1 -0
  35. package/dist/composed/date-picker/use-calendar.js +16 -0
  36. package/dist/composed/date-picker/year-picker.d.ts +10 -0
  37. package/dist/composed/date-picker/year-picker.d.ts.map +1 -0
  38. package/dist/composed/date-picker/year-picker.js +44 -0
  39. package/dist/composed/empty-state.d.ts +12 -0
  40. package/dist/composed/empty-state.d.ts.map +1 -0
  41. package/dist/composed/empty-state.js +74 -0
  42. package/dist/composed/error-boundary.d.ts +8 -0
  43. package/dist/composed/error-boundary.d.ts.map +1 -0
  44. package/dist/composed/error-boundary.js +114 -0
  45. package/dist/composed/global-loading.d.ts +7 -0
  46. package/dist/composed/global-loading.d.ts.map +1 -0
  47. package/dist/composed/global-loading.js +43 -0
  48. package/dist/composed/index.d.ts +28 -0
  49. package/dist/composed/index.d.ts.map +1 -0
  50. package/dist/composed/index.js +54 -0
  51. package/dist/composed/lib/string-utils.d.ts +6 -0
  52. package/dist/composed/lib/string-utils.d.ts.map +1 -0
  53. package/dist/composed/lib/string-utils.js +7 -0
  54. package/dist/composed/loading-skeleton.d.ts +22 -0
  55. package/dist/composed/loading-skeleton.d.ts.map +1 -0
  56. package/dist/composed/loading-skeleton.js +164 -0
  57. package/dist/composed/member-picker.d.ts +17 -0
  58. package/dist/composed/member-picker.d.ts.map +1 -0
  59. package/dist/composed/member-picker.js +81 -0
  60. package/dist/composed/page-header.d.ts +15 -0
  61. package/dist/composed/page-header.d.ts.map +1 -0
  62. package/dist/composed/page-header.js +65 -0
  63. package/dist/composed/page-skeletons.d.ts +6 -0
  64. package/dist/composed/page-skeletons.d.ts.map +1 -0
  65. package/dist/composed/page-skeletons.js +128 -0
  66. package/dist/composed/priority-indicator.d.ts +12 -0
  67. package/dist/composed/priority-indicator.d.ts.map +1 -0
  68. package/dist/composed/priority-indicator.js +86 -0
  69. package/dist/composed/rich-text-editor.d.ts +16 -0
  70. package/dist/composed/rich-text-editor.d.ts.map +1 -0
  71. package/dist/composed/rich-text-editor.js +222 -0
  72. package/dist/composed/status-badge.d.ts +13 -0
  73. package/dist/composed/status-badge.d.ts.map +1 -0
  74. package/dist/composed/status-badge.js +69 -0
  75. package/dist/hooks/index.d.ts +4 -0
  76. package/dist/hooks/index.d.ts.map +1 -0
  77. package/dist/hooks/use-color-mode.d.ts +7 -0
  78. package/dist/hooks/use-color-mode.d.ts.map +1 -0
  79. package/dist/hooks/use-color-mode.js +23 -0
  80. package/dist/hooks/use-mobile.d.ts +2 -0
  81. package/dist/hooks/use-mobile.d.ts.map +1 -0
  82. package/dist/hooks/use-mobile.js +14 -0
  83. package/dist/hooks/use-toast.d.ts +46 -0
  84. package/dist/hooks/use-toast.d.ts.map +1 -0
  85. package/dist/hooks/use-toast.js +97 -0
  86. package/dist/primitives/_internal/number.d.ts +7 -0
  87. package/dist/primitives/_internal/number.d.ts.map +1 -0
  88. package/dist/primitives/_internal/number.js +6 -0
  89. package/dist/primitives/_internal/primitive.d.ts +17 -0
  90. package/dist/primitives/_internal/primitive.d.ts.map +1 -0
  91. package/dist/primitives/_internal/primitive.js +9 -0
  92. package/dist/primitives/_internal/react-arrow.d.ts +14 -0
  93. package/dist/primitives/_internal/react-arrow.d.ts.map +1 -0
  94. package/dist/primitives/_internal/react-arrow.js +24 -0
  95. package/dist/primitives/_internal/react-collection.d.ts +22 -0
  96. package/dist/primitives/_internal/react-collection.d.ts.map +1 -0
  97. package/dist/primitives/_internal/react-collection.js +48 -0
  98. package/dist/primitives/_internal/react-compose-refs.d.ts +10 -0
  99. package/dist/primitives/_internal/react-compose-refs.d.ts.map +1 -0
  100. package/dist/primitives/_internal/react-compose-refs.js +29 -0
  101. package/dist/primitives/_internal/react-context.d.ts +25 -0
  102. package/dist/primitives/_internal/react-context.d.ts.map +1 -0
  103. package/dist/primitives/_internal/react-context.js +74 -0
  104. package/dist/primitives/_internal/react-direction.d.ts +16 -0
  105. package/dist/primitives/_internal/react-direction.d.ts.map +1 -0
  106. package/dist/primitives/_internal/react-direction.js +10 -0
  107. package/dist/primitives/_internal/react-dismissable-layer.d.ts +30 -0
  108. package/dist/primitives/_internal/react-dismissable-layer.d.ts.map +1 -0
  109. package/dist/primitives/_internal/react-dismissable-layer.js +131 -0
  110. package/dist/primitives/_internal/react-focus-guards.d.ts +12 -0
  111. package/dist/primitives/_internal/react-focus-guards.d.ts.map +1 -0
  112. package/dist/primitives/_internal/react-focus-guards.js +17 -0
  113. package/dist/primitives/_internal/react-focus-scope.d.ts +18 -0
  114. package/dist/primitives/_internal/react-focus-scope.d.ts.map +1 -0
  115. package/dist/primitives/_internal/react-focus-scope.js +137 -0
  116. package/dist/primitives/_internal/react-id.d.ts +7 -0
  117. package/dist/primitives/_internal/react-id.d.ts.map +1 -0
  118. package/dist/primitives/_internal/react-id.js +14 -0
  119. package/dist/primitives/_internal/react-popper.d.ts +50 -0
  120. package/dist/primitives/_internal/react-popper.d.ts.map +1 -0
  121. package/dist/primitives/_internal/react-popper.js +199 -0
  122. package/dist/primitives/_internal/react-portal.d.ts +15 -0
  123. package/dist/primitives/_internal/react-portal.d.ts.map +1 -0
  124. package/dist/primitives/_internal/react-portal.js +16 -0
  125. package/dist/primitives/_internal/react-presence.d.ts +16 -0
  126. package/dist/primitives/_internal/react-presence.d.ts.map +1 -0
  127. package/dist/primitives/_internal/react-presence.js +71 -0
  128. package/dist/primitives/_internal/react-primitive.d.ts +20 -0
  129. package/dist/primitives/_internal/react-primitive.d.ts.map +1 -0
  130. package/dist/primitives/_internal/react-primitive.js +36 -0
  131. package/dist/primitives/_internal/react-use-callback-ref.d.ts +7 -0
  132. package/dist/primitives/_internal/react-use-callback-ref.d.ts.map +1 -0
  133. package/dist/primitives/_internal/react-use-callback-ref.js +13 -0
  134. package/dist/primitives/_internal/react-use-controllable-state.d.ts +16 -0
  135. package/dist/primitives/_internal/react-use-controllable-state.d.ts.map +1 -0
  136. package/dist/primitives/_internal/react-use-controllable-state.js +44 -0
  137. package/dist/primitives/_internal/react-use-effect-event.d.ts +8 -0
  138. package/dist/primitives/_internal/react-use-effect-event.d.ts.map +1 -0
  139. package/dist/primitives/_internal/react-use-escape-keydown.d.ts +7 -0
  140. package/dist/primitives/_internal/react-use-escape-keydown.d.ts.map +1 -0
  141. package/dist/primitives/_internal/react-use-escape-keydown.js +14 -0
  142. package/dist/primitives/_internal/react-use-is-hydrated.d.ts +7 -0
  143. package/dist/primitives/_internal/react-use-is-hydrated.d.ts.map +1 -0
  144. package/dist/primitives/_internal/react-use-is-hydrated.js +15 -0
  145. package/dist/primitives/_internal/react-use-layout-effect.d.ts +8 -0
  146. package/dist/primitives/_internal/react-use-layout-effect.d.ts.map +1 -0
  147. package/dist/primitives/_internal/react-use-layout-effect.js +6 -0
  148. package/dist/primitives/_internal/react-use-previous.d.ts +7 -0
  149. package/dist/primitives/_internal/react-use-previous.d.ts.map +1 -0
  150. package/dist/primitives/_internal/react-use-previous.js +8 -0
  151. package/dist/primitives/_internal/react-use-rect.d.ts +4 -0
  152. package/dist/primitives/_internal/react-use-rect.d.ts.map +1 -0
  153. package/dist/primitives/_internal/react-use-size.d.ts +10 -0
  154. package/dist/primitives/_internal/react-use-size.d.ts.map +1 -0
  155. package/dist/primitives/_internal/react-use-size.js +27 -0
  156. package/dist/primitives/_internal/rect.d.ts +12 -0
  157. package/dist/primitives/_internal/rect.d.ts.map +1 -0
  158. package/dist/primitives/react-accordion.js +239 -0
  159. package/dist/primitives/react-alert-dialog.js +127 -0
  160. package/dist/primitives/react-aspect-ratio.js +43 -0
  161. package/dist/primitives/react-avatar.js +75 -0
  162. package/dist/primitives/react-checkbox.js +251 -0
  163. package/dist/primitives/react-collapsible.js +120 -0
  164. package/dist/primitives/react-context-menu.js +240 -0
  165. package/dist/primitives/react-dialog.js +262 -0
  166. package/dist/primitives/react-dropdown-menu.js +227 -0
  167. package/dist/primitives/react-hover-card.js +187 -0
  168. package/dist/primitives/react-label.js +20 -0
  169. package/dist/primitives/react-menu.js +652 -0
  170. package/dist/primitives/react-menubar.js +355 -0
  171. package/dist/primitives/react-navigation-menu.js +607 -0
  172. package/dist/primitives/react-popover.js +243 -0
  173. package/dist/primitives/react-progress.js +84 -0
  174. package/dist/primitives/react-radio-group.js +238 -0
  175. package/dist/primitives/react-roving-focus.js +183 -0
  176. package/dist/primitives/react-select.js +862 -0
  177. package/dist/primitives/react-separator.js +24 -0
  178. package/dist/primitives/react-slider.js +437 -0
  179. package/dist/primitives/react-slot.d.ts +27 -0
  180. package/dist/primitives/react-slot.d.ts.map +1 -0
  181. package/dist/primitives/react-slot.js +70 -0
  182. package/dist/primitives/react-switch.js +132 -0
  183. package/dist/primitives/react-tabs.js +163 -0
  184. package/dist/primitives/react-toast.js +446 -0
  185. package/dist/primitives/react-toggle-group.js +137 -0
  186. package/dist/primitives/react-toggle.js +33 -0
  187. package/dist/primitives/react-tooltip.js +338 -0
  188. package/dist/primitives/react-visually-hidden.js +32 -0
  189. package/dist/shell/app-command-palette.d.ts +35 -0
  190. package/dist/shell/app-command-palette.d.ts.map +1 -0
  191. package/dist/shell/app-command-palette.js +196 -0
  192. package/dist/shell/bottom-navbar.d.ts +35 -0
  193. package/dist/shell/bottom-navbar.d.ts.map +1 -0
  194. package/dist/shell/bottom-navbar.js +160 -0
  195. package/dist/shell/index.d.ts +7 -0
  196. package/dist/shell/index.d.ts.map +1 -0
  197. package/dist/shell/index.js +14 -0
  198. package/dist/shell/notification-center.d.ts +50 -0
  199. package/dist/shell/notification-center.d.ts.map +1 -0
  200. package/dist/shell/notification-center.js +221 -0
  201. package/dist/shell/notification-preferences.d.ts +41 -0
  202. package/dist/shell/notification-preferences.d.ts.map +1 -0
  203. package/dist/shell/notification-preferences.js +183 -0
  204. package/dist/shell/sidebar.d.ts +51 -0
  205. package/dist/shell/sidebar.d.ts.map +1 -0
  206. package/dist/shell/sidebar.js +101 -0
  207. package/dist/shell/top-bar.d.ts +33 -0
  208. package/dist/shell/top-bar.d.ts.map +1 -0
  209. package/dist/shell/top-bar.js +140 -0
  210. package/dist/tailwind/index.d.ts +2 -0
  211. package/dist/tailwind/index.d.ts.map +1 -0
  212. package/dist/tailwind/index.js +4 -0
  213. package/dist/tailwind/preset.d.ts +4 -0
  214. package/dist/tailwind/preset.d.ts.map +1 -0
  215. package/dist/tailwind/preset.js +310 -0
  216. package/dist/tokens/index.css +3 -0
  217. package/dist/tokens/primitives.css +189 -0
  218. package/dist/tokens/semantic.css +426 -0
  219. package/dist/tokens/typography-semantic.css +100 -0
  220. package/dist/tokens/typography.css +393 -0
  221. package/dist/ui/accordion.d.ts +53 -0
  222. package/dist/ui/accordion.d.ts.map +1 -0
  223. package/dist/ui/accordion.js +46 -0
  224. package/dist/ui/alert-dialog.d.ts +21 -0
  225. package/dist/ui/alert-dialog.d.ts.map +1 -0
  226. package/dist/ui/alert-dialog.js +117 -0
  227. package/dist/ui/alert.d.ts +47 -0
  228. package/dist/ui/alert.d.ts.map +1 -0
  229. package/dist/ui/alert.js +52 -0
  230. package/dist/ui/aspect-ratio.d.ts +4 -0
  231. package/dist/ui/aspect-ratio.d.ts.map +1 -0
  232. package/dist/ui/aspect-ratio.js +6 -0
  233. package/dist/ui/autocomplete.d.ts +49 -0
  234. package/dist/ui/autocomplete.d.ts.map +1 -0
  235. package/dist/ui/autocomplete.js +124 -0
  236. package/dist/ui/avatar.d.ts +51 -0
  237. package/dist/ui/avatar.d.ts.map +1 -0
  238. package/dist/ui/avatar.js +91 -0
  239. package/dist/ui/badge.d.ts +43 -0
  240. package/dist/ui/badge.d.ts.map +1 -0
  241. package/dist/ui/badge.js +64 -0
  242. package/dist/ui/banner.d.ts +43 -0
  243. package/dist/ui/banner.d.ts.map +1 -0
  244. package/dist/ui/banner.js +50 -0
  245. package/dist/ui/breadcrumb.d.ts +20 -0
  246. package/dist/ui/breadcrumb.d.ts.map +1 -0
  247. package/dist/ui/breadcrumb.js +83 -0
  248. package/dist/ui/button-group.d.ts +51 -0
  249. package/dist/ui/button-group.d.ts.map +1 -0
  250. package/dist/ui/button-group.js +41 -0
  251. package/dist/ui/button.d.ts +63 -0
  252. package/dist/ui/button.d.ts.map +1 -0
  253. package/dist/ui/button.js +105 -0
  254. package/dist/ui/card.d.ts +64 -0
  255. package/dist/ui/card.d.ts.map +1 -0
  256. package/dist/ui/card.js +79 -0
  257. package/dist/ui/charts/_internal/animation.d.ts +5 -0
  258. package/dist/ui/charts/_internal/animation.d.ts.map +1 -0
  259. package/dist/ui/charts/_internal/animation.js +17 -0
  260. package/dist/ui/charts/_internal/axes.d.ts +17 -0
  261. package/dist/ui/charts/_internal/axes.d.ts.map +1 -0
  262. package/dist/ui/charts/_internal/axes.js +41 -0
  263. package/dist/ui/charts/_internal/colors.d.ts +8 -0
  264. package/dist/ui/charts/_internal/colors.d.ts.map +1 -0
  265. package/dist/ui/charts/_internal/colors.js +20 -0
  266. package/dist/ui/charts/_internal/grid-lines.d.ts +16 -0
  267. package/dist/ui/charts/_internal/grid-lines.d.ts.map +1 -0
  268. package/dist/ui/charts/_internal/grid-lines.js +42 -0
  269. package/dist/ui/charts/_internal/legend.d.ts +15 -0
  270. package/dist/ui/charts/_internal/legend.d.ts.map +1 -0
  271. package/dist/ui/charts/_internal/legend.js +28 -0
  272. package/dist/ui/charts/_internal/scales.d.ts +5 -0
  273. package/dist/ui/charts/_internal/scales.d.ts.map +1 -0
  274. package/dist/ui/charts/_internal/tooltip.d.ts +23 -0
  275. package/dist/ui/charts/_internal/tooltip.d.ts.map +1 -0
  276. package/dist/ui/charts/_internal/tooltip.js +38 -0
  277. package/dist/ui/charts/_internal/types.d.ts +17 -0
  278. package/dist/ui/charts/_internal/types.d.ts.map +1 -0
  279. package/dist/ui/charts/_internal/types.js +9 -0
  280. package/dist/ui/charts/area-chart.d.ts +39 -0
  281. package/dist/ui/charts/area-chart.d.ts.map +1 -0
  282. package/dist/ui/charts/area-chart.js +244 -0
  283. package/dist/ui/charts/bar-chart.d.ts +41 -0
  284. package/dist/ui/charts/bar-chart.d.ts.map +1 -0
  285. package/dist/ui/charts/bar-chart.js +152 -0
  286. package/dist/ui/charts/chart-container.d.ts +20 -0
  287. package/dist/ui/charts/chart-container.d.ts.map +1 -0
  288. package/dist/ui/charts/chart-container.js +26 -0
  289. package/dist/ui/charts/gauge-chart.d.ts +32 -0
  290. package/dist/ui/charts/gauge-chart.d.ts.map +1 -0
  291. package/dist/ui/charts/gauge-chart.js +71 -0
  292. package/dist/ui/charts/index.d.ts +10 -0
  293. package/dist/ui/charts/index.d.ts.map +1 -0
  294. package/dist/ui/charts/line-chart.d.ts +37 -0
  295. package/dist/ui/charts/line-chart.d.ts.map +1 -0
  296. package/dist/ui/charts/line-chart.js +162 -0
  297. package/dist/ui/charts/pie-chart.d.ts +37 -0
  298. package/dist/ui/charts/pie-chart.d.ts.map +1 -0
  299. package/dist/ui/charts/pie-chart.js +131 -0
  300. package/dist/ui/charts/radar-chart.d.ts +34 -0
  301. package/dist/ui/charts/radar-chart.d.ts.map +1 -0
  302. package/dist/ui/charts/radar-chart.js +222 -0
  303. package/dist/ui/charts/sparkline.d.ts +22 -0
  304. package/dist/ui/charts/sparkline.d.ts.map +1 -0
  305. package/dist/ui/charts/sparkline.js +123 -0
  306. package/dist/ui/checkbox.d.ts +36 -0
  307. package/dist/ui/checkbox.d.ts.map +1 -0
  308. package/dist/ui/checkbox.js +33 -0
  309. package/dist/ui/chip.d.ts +66 -0
  310. package/dist/ui/chip.d.ts.map +1 -0
  311. package/dist/ui/chip.js +105 -0
  312. package/dist/ui/code.d.ts +30 -0
  313. package/dist/ui/code.d.ts.map +1 -0
  314. package/dist/ui/code.js +32 -0
  315. package/dist/ui/collapsible.d.ts +7 -0
  316. package/dist/ui/collapsible.d.ts.map +1 -0
  317. package/dist/ui/collapsible.js +21 -0
  318. package/dist/ui/combobox.d.ts +76 -0
  319. package/dist/ui/combobox.d.ts.map +1 -0
  320. package/dist/ui/combobox.js +286 -0
  321. package/dist/ui/container.d.ts +10 -0
  322. package/dist/ui/container.d.ts.map +1 -0
  323. package/dist/ui/container.js +24 -0
  324. package/dist/ui/context-menu.d.ts +28 -0
  325. package/dist/ui/context-menu.d.ts.map +1 -0
  326. package/dist/ui/context-menu.js +145 -0
  327. package/dist/ui/data-table-toolbar.d.ts +16 -0
  328. package/dist/ui/data-table-toolbar.d.ts.map +1 -0
  329. package/dist/ui/data-table-toolbar.js +136 -0
  330. package/dist/ui/data-table.d.ts +111 -0
  331. package/dist/ui/data-table.d.ts.map +1 -0
  332. package/dist/ui/data-table.js +491 -0
  333. package/dist/ui/dialog.d.ts +74 -0
  334. package/dist/ui/dialog.d.ts.map +1 -0
  335. package/dist/ui/dialog.js +110 -0
  336. package/dist/ui/dropdown-menu.d.ts +88 -0
  337. package/dist/ui/dropdown-menu.d.ts.map +1 -0
  338. package/dist/ui/dropdown-menu.js +144 -0
  339. package/dist/ui/file-upload.d.ts +67 -0
  340. package/dist/ui/file-upload.d.ts.map +1 -0
  341. package/dist/ui/file-upload.js +226 -0
  342. package/dist/ui/form.d.ts +56 -0
  343. package/dist/ui/form.d.ts.map +1 -0
  344. package/dist/ui/form.js +46 -0
  345. package/dist/ui/hover-card.d.ts +7 -0
  346. package/dist/ui/hover-card.d.ts.map +1 -0
  347. package/dist/ui/hover-card.js +23 -0
  348. package/dist/ui/icon-button.d.ts +46 -0
  349. package/dist/ui/icon-button.d.ts.map +1 -0
  350. package/dist/ui/icon-button.js +26 -0
  351. package/dist/ui/index.d.ts +68 -0
  352. package/dist/ui/index.d.ts.map +1 -0
  353. package/dist/ui/index.js +344 -0
  354. package/dist/ui/input-otp.d.ts +35 -0
  355. package/dist/ui/input-otp.d.ts.map +1 -0
  356. package/dist/ui/input-otp.js +48 -0
  357. package/dist/ui/input.d.ts +44 -0
  358. package/dist/ui/input.d.ts.map +1 -0
  359. package/dist/ui/input.js +58 -0
  360. package/dist/ui/label.d.ts +8 -0
  361. package/dist/ui/label.d.ts.map +1 -0
  362. package/dist/ui/label.js +23 -0
  363. package/dist/ui/lib/motion.d.ts +10 -0
  364. package/dist/ui/lib/motion.d.ts.map +1 -0
  365. package/dist/ui/lib/motion.js +32 -0
  366. package/dist/ui/lib/slot.d.ts +8 -0
  367. package/dist/ui/lib/slot.d.ts.map +1 -0
  368. package/dist/ui/lib/use-reduced-motion.d.ts +3 -0
  369. package/dist/ui/lib/use-reduced-motion.d.ts.map +1 -0
  370. package/dist/ui/lib/use-reduced-motion.js +14 -0
  371. package/dist/ui/lib/use-ripple.d.ts +13 -0
  372. package/dist/ui/lib/use-ripple.d.ts.map +1 -0
  373. package/dist/ui/lib/use-ripple.js +13 -0
  374. package/dist/ui/lib/utils.d.ts +3 -0
  375. package/dist/ui/lib/utils.d.ts.map +1 -0
  376. package/dist/ui/lib/utils.js +15 -0
  377. package/dist/ui/link.d.ts +8 -0
  378. package/dist/ui/link.d.ts.map +1 -0
  379. package/dist/ui/link.js +24 -0
  380. package/dist/ui/menubar.d.ts +29 -0
  381. package/dist/ui/menubar.d.ts.map +1 -0
  382. package/dist/ui/menubar.js +176 -0
  383. package/dist/ui/navigation-menu.d.ts +12 -0
  384. package/dist/ui/navigation-menu.d.ts.map +1 -0
  385. package/dist/ui/navigation-menu.js +103 -0
  386. package/dist/ui/number-input.d.ts +40 -0
  387. package/dist/ui/number-input.d.ts.map +1 -0
  388. package/dist/ui/number-input.js +80 -0
  389. package/dist/ui/pagination.d.ts +74 -0
  390. package/dist/ui/pagination.d.ts.map +1 -0
  391. package/dist/ui/pagination.js +159 -0
  392. package/dist/ui/popover.d.ts +8 -0
  393. package/dist/ui/popover.d.ts.map +1 -0
  394. package/dist/ui/popover.js +24 -0
  395. package/dist/ui/progress.d.ts +49 -0
  396. package/dist/ui/progress.d.ts.map +1 -0
  397. package/dist/ui/progress.js +75 -0
  398. package/dist/ui/radio.d.ts +6 -0
  399. package/dist/ui/radio.d.ts.map +1 -0
  400. package/dist/ui/radio.js +29 -0
  401. package/dist/ui/search-input.d.ts +44 -0
  402. package/dist/ui/search-input.d.ts.map +1 -0
  403. package/dist/ui/search-input.js +63 -0
  404. package/dist/ui/segmented-control.d.ts +122 -0
  405. package/dist/ui/segmented-control.d.ts.map +1 -0
  406. package/dist/ui/segmented-control.js +270 -0
  407. package/dist/ui/select.d.ts +49 -0
  408. package/dist/ui/select.d.ts.map +1 -0
  409. package/dist/ui/select.js +132 -0
  410. package/dist/ui/separator.d.ts +5 -0
  411. package/dist/ui/separator.d.ts.map +1 -0
  412. package/dist/ui/separator.js +24 -0
  413. package/dist/ui/sheet.d.ts +108 -0
  414. package/dist/ui/sheet.d.ts.map +1 -0
  415. package/dist/ui/sheet.js +110 -0
  416. package/dist/ui/sidebar.d.ts +67 -0
  417. package/dist/ui/sidebar.d.ts.map +1 -0
  418. package/dist/ui/sidebar.js +562 -0
  419. package/dist/ui/skeleton.d.ts +40 -0
  420. package/dist/ui/skeleton.d.ts.map +1 -0
  421. package/dist/ui/skeleton.js +36 -0
  422. package/dist/ui/slider.d.ts +5 -0
  423. package/dist/ui/slider.d.ts.map +1 -0
  424. package/dist/ui/slider.js +29 -0
  425. package/dist/ui/spinner.d.ts +38 -0
  426. package/dist/ui/spinner.d.ts.map +1 -0
  427. package/dist/ui/spinner.js +47 -0
  428. package/dist/ui/stack.d.ts +15 -0
  429. package/dist/ui/stack.d.ts.map +1 -0
  430. package/dist/ui/stack.js +41 -0
  431. package/dist/ui/stat-card.d.ts +54 -0
  432. package/dist/ui/stat-card.d.ts.map +1 -0
  433. package/dist/ui/stat-card.js +52 -0
  434. package/dist/ui/stepper.d.ts +57 -0
  435. package/dist/ui/stepper.d.ts.map +1 -0
  436. package/dist/ui/stepper.js +90 -0
  437. package/dist/ui/switch.d.ts +5 -0
  438. package/dist/ui/switch.d.ts.map +1 -0
  439. package/dist/ui/switch.js +27 -0
  440. package/dist/ui/table.d.ts +11 -0
  441. package/dist/ui/table.d.ts.map +1 -0
  442. package/dist/ui/table.js +91 -0
  443. package/dist/ui/tabs.d.ts +81 -0
  444. package/dist/ui/tabs.d.ts.map +1 -0
  445. package/dist/ui/tabs.js +74 -0
  446. package/dist/ui/text.d.ts +47 -0
  447. package/dist/ui/text.d.ts.map +1 -0
  448. package/dist/ui/text.js +59 -0
  449. package/dist/ui/textarea.d.ts +40 -0
  450. package/dist/ui/textarea.d.ts.map +1 -0
  451. package/dist/ui/textarea.js +47 -0
  452. package/dist/ui/toast.d.ts +32 -0
  453. package/dist/ui/toast.d.ts.map +1 -0
  454. package/dist/ui/toast.js +98 -0
  455. package/dist/ui/toaster.d.ts +42 -0
  456. package/dist/ui/toaster.d.ts.map +1 -0
  457. package/dist/ui/toaster.js +23 -0
  458. package/dist/ui/toggle-group.d.ts +13 -0
  459. package/dist/ui/toggle-group.d.ts.map +1 -0
  460. package/dist/ui/toggle-group.js +40 -0
  461. package/dist/ui/toggle.d.ts +13 -0
  462. package/dist/ui/toggle.d.ts.map +1 -0
  463. package/dist/ui/toggle.js +37 -0
  464. package/dist/ui/tooltip.d.ts +8 -0
  465. package/dist/ui/tooltip.d.ts.map +1 -0
  466. package/dist/ui/tooltip.js +23 -0
  467. package/dist/ui/transitions.d.ts +16 -0
  468. package/dist/ui/transitions.d.ts.map +1 -0
  469. package/dist/ui/transitions.js +100 -0
  470. package/dist/ui/tree-view/index.d.ts +4 -0
  471. package/dist/ui/tree-view/index.d.ts.map +1 -0
  472. package/dist/ui/tree-view/tree-item.d.ts +22 -0
  473. package/dist/ui/tree-view/tree-item.d.ts.map +1 -0
  474. package/dist/ui/tree-view/tree-item.js +136 -0
  475. package/dist/ui/tree-view/tree-view.d.ts +29 -0
  476. package/dist/ui/tree-view/tree-view.d.ts.map +1 -0
  477. package/dist/ui/tree-view/tree-view.js +139 -0
  478. package/dist/ui/tree-view/use-tree.d.ts +26 -0
  479. package/dist/ui/tree-view/use-tree.d.ts.map +1 -0
  480. package/dist/ui/tree-view/use-tree.js +37 -0
  481. package/dist/ui/visually-hidden.d.ts +6 -0
  482. package/dist/ui/visually-hidden.d.ts.map +1 -0
  483. package/dist/ui/visually-hidden.js +10 -0
  484. package/fonts/GoogleSans-Italic-Variable.ttf +0 -0
  485. package/fonts/GoogleSans-Variable.ttf +0 -0
  486. package/fonts/Ranade-Variable.ttf +0 -0
  487. package/fonts/Ranade-VariableItalic.ttf +0 -0
  488. package/package.json +83 -0
@@ -0,0 +1,393 @@
1
+ /* ⚠️ DEPRECATED: These px-based classes are kept for backward compatibility.
2
+ Use <Text variant="..."> component or text-ds-* Tailwind classes instead.
3
+ See src/tokens/typography-semantic.css for the canonical type scale. */
4
+
5
+ /* ═══════════════════════════════════════════════════════════════════
6
+ TYPOGRAPHY — Font faces, type scale utilities, and prose styles
7
+ ═══════════════════════════════════════════════════════════════════ */
8
+
9
+ /* ── Font Faces ─────────────────────────────────────────────────── */
10
+
11
+ /* Google Sans (primary UI font) — Variable font: supports weights 100-900 */
12
+ @font-face {
13
+ font-family: 'Google Sans';
14
+ src: url('../../fonts/GoogleSans-Variable.ttf') format('truetype');
15
+ font-weight: 100 900;
16
+ font-style: normal;
17
+ font-display: swap;
18
+ }
19
+ @font-face {
20
+ font-family: 'Google Sans';
21
+ src: url('../../fonts/GoogleSans-Italic-Variable.ttf') format('truetype');
22
+ font-weight: 100 900;
23
+ font-style: italic;
24
+ font-display: swap;
25
+ }
26
+
27
+ /* Ranade (accent — brand moments, hero headings, special callouts) */
28
+ @font-face {
29
+ font-family: 'Ranade';
30
+ src: url('../../fonts/Ranade-Variable.ttf') format('truetype');
31
+ font-weight: 100 900;
32
+ font-display: swap;
33
+ }
34
+ @font-face {
35
+ font-family: 'Ranade';
36
+ src: url('../../fonts/Ranade-VariableItalic.ttf') format('truetype');
37
+ font-weight: 100 900;
38
+ font-style: italic;
39
+ font-display: swap;
40
+ }
41
+
42
+ /* ── Title Scale (T1–T7) ───────────────────────────────────────── */
43
+
44
+ .T1-Reg {
45
+ font-family: inherit;
46
+ font-size: 60px;
47
+ font-style: normal;
48
+ font-weight: 400;
49
+ line-height: 115%;
50
+ letter-spacing: -1.2px;
51
+ }
52
+
53
+ .T2-Reg {
54
+ font-family: inherit;
55
+ font-size: 48px;
56
+ font-style: normal;
57
+ font-weight: 400;
58
+ line-height: 115%;
59
+ letter-spacing: -0.96px;
60
+ }
61
+
62
+ .T3-Reg {
63
+ font-family: inherit;
64
+ font-size: 36px;
65
+ font-style: normal;
66
+ font-weight: 400;
67
+ line-height: 115%;
68
+ letter-spacing: -0.72px;
69
+ }
70
+
71
+ .T4-Reg {
72
+ font-family: inherit;
73
+ font-size: 32px;
74
+ font-style: normal;
75
+ font-weight: 400;
76
+ line-height: 115%;
77
+ letter-spacing: -0.64px;
78
+ }
79
+
80
+ .T5-Reg {
81
+ font-family: inherit;
82
+ font-size: 24px;
83
+ font-style: normal;
84
+ font-weight: 400;
85
+ line-height: 125%;
86
+ letter-spacing: -0.48px;
87
+ }
88
+
89
+ .T6-Reg {
90
+ font-family: inherit;
91
+ font-size: 20px;
92
+ font-style: normal;
93
+ font-weight: 400;
94
+ line-height: 125%;
95
+ }
96
+
97
+ .T7-Reg {
98
+ font-family: inherit;
99
+ font-size: 18px;
100
+ font-style: normal;
101
+ font-weight: 400;
102
+ line-height: 125%;
103
+ letter-spacing: -0.48px;
104
+ }
105
+
106
+ /* ── Body Scale (B1–B8) ────────────────────────────────────────── */
107
+
108
+ .B1-Reg {
109
+ font-family: inherit;
110
+ font-size: 16px;
111
+ font-style: normal;
112
+ font-weight: 400;
113
+ line-height: 150%;
114
+ letter-spacing: -0.32px;
115
+ }
116
+
117
+ .B2-Reg {
118
+ font-family: inherit;
119
+ font-size: 14px;
120
+ font-style: normal;
121
+ font-weight: 400;
122
+ line-height: 150%;
123
+ letter-spacing: -0.32px;
124
+ }
125
+
126
+ .B3-Reg {
127
+ font-family: inherit;
128
+ font-size: 12px;
129
+ font-style: normal;
130
+ font-weight: 400;
131
+ line-height: 150%;
132
+ letter-spacing: -0.32px;
133
+ }
134
+
135
+ .B4-Reg {
136
+ font-family: inherit;
137
+ font-size: 10px;
138
+ font-style: normal;
139
+ font-weight: 400;
140
+ line-height: 150%;
141
+ letter-spacing: -0.32px;
142
+ }
143
+
144
+ .B5-Reg {
145
+ font-family: inherit;
146
+ font-size: 16px;
147
+ font-style: normal;
148
+ font-weight: 400;
149
+ line-height: 140%;
150
+ letter-spacing: 0.32px;
151
+ }
152
+
153
+ .B6-Reg {
154
+ font-family: inherit;
155
+ font-size: 14px;
156
+ font-style: normal;
157
+ font-weight: 600;
158
+ line-height: 140%;
159
+ }
160
+
161
+ .B7-Reg {
162
+ font-family: inherit;
163
+ font-size: 12px;
164
+ font-style: normal;
165
+ font-weight: 400;
166
+ line-height: 150%;
167
+ }
168
+
169
+ .B8-Reg {
170
+ font-family: inherit;
171
+ font-size: 14px;
172
+ font-style: normal;
173
+ font-weight: 400;
174
+ line-height: 150%;
175
+ letter-spacing: -0.28px;
176
+ }
177
+
178
+ .B2-Semibold {
179
+ font-family: inherit;
180
+ font-size: 14px;
181
+ font-style: normal;
182
+ font-weight: 600;
183
+ line-height: 150%;
184
+ letter-spacing: -0.32px;
185
+ }
186
+
187
+ /* ── Label Scale (L1–L6) ───────────────────────────────────────── */
188
+
189
+ .L1 {
190
+ font-family: inherit;
191
+ font-size: 16px;
192
+ font-style: normal;
193
+ font-weight: 600;
194
+ line-height: 130%;
195
+ letter-spacing: 0.96px;
196
+ text-transform: uppercase;
197
+ }
198
+
199
+ .L2 {
200
+ font-family: inherit;
201
+ font-size: 14px;
202
+ font-style: normal;
203
+ font-weight: 600;
204
+ line-height: 130%;
205
+ letter-spacing: 0.96px;
206
+ text-transform: uppercase;
207
+ }
208
+
209
+ .L3 {
210
+ font-family: inherit;
211
+ font-size: 12px;
212
+ font-style: normal;
213
+ font-weight: 600;
214
+ line-height: 130%;
215
+ letter-spacing: 0.72px;
216
+ text-transform: uppercase;
217
+ }
218
+
219
+ .L4 {
220
+ font-family: inherit;
221
+ font-size: 10px;
222
+ font-style: normal;
223
+ font-weight: 600;
224
+ line-height: 130%;
225
+ letter-spacing: 0.6px;
226
+ text-transform: uppercase;
227
+ }
228
+
229
+ .L6 {
230
+ font-family: inherit;
231
+ font-size: 14px;
232
+ font-style: normal;
233
+ font-weight: 600;
234
+ line-height: 130%;
235
+ letter-spacing: 0.84px;
236
+ text-transform: uppercase;
237
+ }
238
+
239
+ /* ── Paragraph Scale (P1–P7) ───────────────────────────────────── */
240
+ /* NOTE: P2 (0.36px tracking) and B5-Reg (0.32px tracking) are near-identical
241
+ at 16px/140%. P2 is for paragraph blocks, B5-Reg for inline body text. */
242
+
243
+ .P1 {
244
+ font-family: inherit;
245
+ font-size: 18px;
246
+ font-style: normal;
247
+ font-weight: 400;
248
+ line-height: 140%;
249
+ letter-spacing: 0.36px;
250
+ }
251
+
252
+ .P2 {
253
+ font-family: inherit;
254
+ font-size: 16px;
255
+ font-style: normal;
256
+ font-weight: 400;
257
+ line-height: 140%;
258
+ letter-spacing: 0.36px;
259
+ }
260
+
261
+ .P3 {
262
+ font-family: inherit;
263
+ font-size: 14px;
264
+ font-style: normal;
265
+ font-weight: 400;
266
+ line-height: 140%;
267
+ letter-spacing: 0.36px;
268
+ }
269
+
270
+ .P4 {
271
+ font-family: inherit;
272
+ font-size: 12px;
273
+ font-style: normal;
274
+ font-weight: 400;
275
+ line-height: 140%;
276
+ letter-spacing: 0.36px;
277
+ }
278
+
279
+ .P5 {
280
+ font-family: inherit;
281
+ font-size: 16px;
282
+ font-style: normal;
283
+ font-weight: 400;
284
+ line-height: 140%;
285
+ letter-spacing: 0.16px;
286
+ }
287
+
288
+ .P6 {
289
+ font-family: inherit;
290
+ font-size: 18px;
291
+ font-style: normal;
292
+ font-weight: 600;
293
+ line-height: 140%;
294
+ }
295
+
296
+ .P7 {
297
+ font-family: inherit;
298
+ font-size: 14px;
299
+ font-style: normal;
300
+ font-weight: 400;
301
+ line-height: 140%;
302
+ letter-spacing: 0.14px;
303
+ }
304
+
305
+ /* ── Weight Modifier ────────────────────────────────────────────── */
306
+
307
+ .semibold {
308
+ font-weight: 600;
309
+ }
310
+
311
+ /* ── Responsive Overrides ───────────────────────────────────────── */
312
+
313
+ @media (max-width: 767px) {
314
+ .T5-Reg {
315
+ font-size: 16px;
316
+ }
317
+ }
318
+
319
+ /* ── Prose Styles (Devsabha AI Insights) ────────────────────────── */
320
+
321
+ .prose-devsabha {
322
+ font-family: 'Ranade', sans-serif;
323
+ font-size: 14px;
324
+ line-height: 1.6;
325
+ color: var(--color-text-secondary);
326
+ }
327
+
328
+ .prose-devsabha h1,
329
+ .prose-devsabha h2,
330
+ .prose-devsabha h3,
331
+ .prose-devsabha h4 {
332
+ font-family: 'Ranade', sans-serif;
333
+ font-weight: 600;
334
+ color: var(--color-text-primary);
335
+ margin-top: 1em;
336
+ margin-bottom: 0.5em;
337
+ }
338
+
339
+ .prose-devsabha h1 { font-size: 18px; }
340
+ .prose-devsabha h2 { font-size: 16px; }
341
+ .prose-devsabha h3 { font-size: 14px; }
342
+ .prose-devsabha h4 { font-size: 14px; }
343
+
344
+ .prose-devsabha p {
345
+ margin-bottom: 0.5em;
346
+ }
347
+
348
+ .prose-devsabha ul {
349
+ list-style-type: disc;
350
+ padding-left: 1.5em;
351
+ margin-bottom: 0.5em;
352
+ }
353
+
354
+ .prose-devsabha ol {
355
+ list-style-type: decimal;
356
+ padding-left: 1.5em;
357
+ margin-bottom: 0.5em;
358
+ }
359
+
360
+ .prose-devsabha li {
361
+ margin-bottom: 0.25em;
362
+ }
363
+
364
+ .prose-devsabha strong {
365
+ font-weight: 600;
366
+ color: var(--color-text-primary);
367
+ }
368
+
369
+ .prose-devsabha em {
370
+ font-style: italic;
371
+ }
372
+
373
+ .prose-devsabha code {
374
+ font-size: 12px;
375
+ background: var(--color-layer-03);
376
+ border-radius: 4px;
377
+ padding: 0.15em 0.4em;
378
+ }
379
+
380
+ .prose-devsabha blockquote {
381
+ border-left: 3px solid var(--color-border-strong);
382
+ padding-left: 1em;
383
+ margin: 0.5em 0;
384
+ color: var(--color-text-tertiary);
385
+ }
386
+
387
+ .prose-devsabha *:first-child {
388
+ margin-top: 0;
389
+ }
390
+
391
+ .prose-devsabha *:last-child {
392
+ margin-bottom: 0;
393
+ }
@@ -0,0 +1,53 @@
1
+ import * as React from 'react';
2
+ import * as AccordionPrimitive from '@primitives/react-accordion';
3
+ /**
4
+ * Accordion compound component — vertically stacked, collapsible content sections.
5
+ *
6
+ * **Parts (in composition order):**
7
+ * - `Accordion` — root; controls single vs. multiple open panels (this root)
8
+ * - `AccordionItem` — individual collapsible section (requires `value` prop)
9
+ * - `AccordionTrigger` — the clickable header row (chevron icon auto-renders and rotates)
10
+ * - `AccordionContent` — the collapsible body revealed when the item is open
11
+ *
12
+ * **`type` prop (required on root):**
13
+ * - `"single"` — only one panel open at a time; supports `collapsible` prop to re-close the active item
14
+ * - `"multiple"` — multiple panels open simultaneously (value is `string[]`); `collapsible` is NOT valid here
15
+ *
16
+ * @compound
17
+ * @example
18
+ * // Single-open FAQ accordion:
19
+ * <Accordion type="single" defaultValue="item-1" collapsible>
20
+ * <AccordionItem value="item-1">
21
+ * <AccordionTrigger>What is Shilp Sutra?</AccordionTrigger>
22
+ * <AccordionContent>
23
+ * A React design system built for Next.js App Router, with full accessibility baked in.
24
+ * </AccordionContent>
25
+ * </AccordionItem>
26
+ * <AccordionItem value="item-2">
27
+ * <AccordionTrigger>Is dark mode supported?</AccordionTrigger>
28
+ * <AccordionContent>
29
+ * Yes — add the <code>.dark</code> class to the root element to activate it.
30
+ * </AccordionContent>
31
+ * </AccordionItem>
32
+ * </Accordion>
33
+ *
34
+ * @example
35
+ * // Multiple-open controlled accordion:
36
+ * const [open, setOpen] = useState<string[]>(['billing'])
37
+ * <Accordion type="multiple" value={open} onValueChange={setOpen}>
38
+ * <AccordionItem value="billing">
39
+ * <AccordionTrigger>Billing</AccordionTrigger>
40
+ * <AccordionContent>Your billing details here.</AccordionContent>
41
+ * </AccordionItem>
42
+ * <AccordionItem value="security">
43
+ * <AccordionTrigger>Security</AccordionTrigger>
44
+ * <AccordionContent>Security settings here.</AccordionContent>
45
+ * </AccordionItem>
46
+ * </Accordion>
47
+ */
48
+ declare const Accordion: React.ForwardRefExoticComponent<(AccordionPrimitive.AccordionSingleProps | AccordionPrimitive.AccordionMultipleProps) & React.RefAttributes<HTMLDivElement>>;
49
+ declare const AccordionItem: React.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
50
+ declare const AccordionTrigger: React.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
51
+ declare const AccordionContent: React.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
52
+ export { Accordion, AccordionItem, AccordionTrigger, AccordionContent };
53
+ //# sourceMappingURL=accordion.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accordion.d.ts","sourceRoot":"","sources":["../../src/ui/accordion.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,kBAAkB,MAAM,6BAA6B,CAAA;AAKjE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AACH,QAAA,MAAM,SAAS,8JAA0B,CAAA;AAEzC,QAAA,MAAM,aAAa,iKASjB,CAAA;AAGF,QAAA,MAAM,gBAAgB,0KAiBpB,CAAA;AAGF,QAAA,MAAM,gBAAgB,oKAWpB,CAAA;AAGF,OAAO,EAAE,SAAS,EAAE,aAAa,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,CAAA"}
@@ -0,0 +1,46 @@
1
+ import { jsx as r, jsxs as c } from "react/jsx-runtime";
2
+ import * as s from "react";
3
+ import { Root as m, Content as n, Item as l, Header as f, Trigger as d } from "../primitives/react-accordion.js";
4
+ import { IconChevronDown as p } from "@tabler/icons-react";
5
+ import { cn as i } from "./lib/utils.js";
6
+ const h = m, u = s.forwardRef(({ className: e, ...o }, t) => /* @__PURE__ */ r(
7
+ l,
8
+ {
9
+ ref: t,
10
+ className: i("border-b border-border-subtle", e),
11
+ ...o
12
+ }
13
+ ));
14
+ u.displayName = "AccordionItem";
15
+ const x = s.forwardRef(({ className: e, children: o, ...t }, a) => /* @__PURE__ */ r(f, { className: "flex", children: /* @__PURE__ */ c(
16
+ d,
17
+ {
18
+ ref: a,
19
+ className: i(
20
+ "flex flex-1 items-center justify-between py-ds-05 text-left text-ds-md font-medium transition-colors hover:underline focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-focus [&[data-state=open]>svg]:rotate-180",
21
+ e
22
+ ),
23
+ ...t,
24
+ children: [
25
+ o,
26
+ /* @__PURE__ */ r(p, { className: "h-ico-sm w-ico-sm shrink-0 text-text-secondary transition-transform duration-moderate-02" })
27
+ ]
28
+ }
29
+ ) }));
30
+ x.displayName = d.displayName;
31
+ const N = s.forwardRef(({ className: e, children: o, ...t }, a) => /* @__PURE__ */ r(
32
+ n,
33
+ {
34
+ ref: a,
35
+ className: "transition-all duration-moderate-02 ease-productive-standard data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down w-full overflow-hidden text-ds-md",
36
+ ...t,
37
+ children: /* @__PURE__ */ r("div", { className: i("pb-ds-05 pt-0", e), children: o })
38
+ }
39
+ ));
40
+ N.displayName = n.displayName;
41
+ export {
42
+ h as Accordion,
43
+ N as AccordionContent,
44
+ u as AccordionItem,
45
+ x as AccordionTrigger
46
+ };
@@ -0,0 +1,21 @@
1
+ import * as React from 'react';
2
+ import * as AlertDialogPrimitive from '@primitives/react-alert-dialog';
3
+ declare const AlertDialog: React.FC<AlertDialogPrimitive.AlertDialogProps>;
4
+ declare const AlertDialogTrigger: React.ForwardRefExoticComponent<AlertDialogPrimitive.AlertDialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
5
+ declare const AlertDialogPortal: React.FC<AlertDialogPrimitive.AlertDialogPortalProps>;
6
+ declare const AlertDialogOverlay: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
7
+ declare const AlertDialogContent: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
8
+ declare const AlertDialogHeader: {
9
+ ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
10
+ displayName: string;
11
+ };
12
+ declare const AlertDialogFooter: {
13
+ ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
14
+ displayName: string;
15
+ };
16
+ declare const AlertDialogTitle: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
17
+ declare const AlertDialogDescription: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
18
+ declare const AlertDialogAction: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogActionProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
19
+ declare const AlertDialogCancel: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogCancelProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
20
+ export { AlertDialog, AlertDialogPortal, AlertDialogOverlay, AlertDialogTrigger, AlertDialogContent, AlertDialogHeader, AlertDialogFooter, AlertDialogTitle, AlertDialogDescription, AlertDialogAction, AlertDialogCancel, };
21
+ //# sourceMappingURL=alert-dialog.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"alert-dialog.d.ts","sourceRoot":"","sources":["../../src/ui/alert-dialog.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,oBAAoB,MAAM,gCAAgC,CAAA;AAItE,QAAA,MAAM,WAAW,iDAA4B,CAAA;AAE7C,QAAA,MAAM,kBAAkB,wHAA+B,CAAA;AAEvD,QAAA,MAAM,iBAAiB,uDAA8B,CAAA;AAErD,QAAA,MAAM,kBAAkB,wKAYtB,CAAA;AAGF,QAAA,MAAM,kBAAkB,wKAetB,CAAA;AAGF,QAAA,MAAM,iBAAiB;8BAGpB,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;;CAQtC,CAAA;AAGD,QAAA,MAAM,iBAAiB;8BAGpB,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;;CAQtC,CAAA;AAGD,QAAA,MAAM,gBAAgB,8KAYpB,CAAA;AAGF,QAAA,MAAM,sBAAsB,wLAS1B,CAAA;AAIF,QAAA,MAAM,iBAAiB,6KAYrB,CAAA;AAGF,QAAA,MAAM,iBAAiB,6KAYrB,CAAA;AAGF,OAAO,EACL,WAAW,EACX,iBAAiB,EACjB,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,iBAAiB,EACjB,iBAAiB,EACjB,gBAAgB,EAChB,sBAAsB,EACtB,iBAAiB,EACjB,iBAAiB,GAClB,CAAA"}
@@ -0,0 +1,117 @@
1
+ import { jsx as o, jsxs as p } from "react/jsx-runtime";
2
+ import * as i from "react";
3
+ import { Root as g, Portal as x, Trigger as y, Action as l, Cancel as r, Content as d, Description as n, Overlay as c, Title as m } from "../primitives/react-alert-dialog.js";
4
+ import { cn as s } from "./lib/utils.js";
5
+ const C = g, z = y, b = x, f = i.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
6
+ c,
7
+ {
8
+ ref: a,
9
+ className: s(
10
+ "fixed inset-0 z-modal bg-overlay data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
11
+ e
12
+ ),
13
+ ...t
14
+ }
15
+ ));
16
+ f.displayName = c.displayName;
17
+ const u = i.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ p(b, { children: [
18
+ /* @__PURE__ */ o(f, {}),
19
+ /* @__PURE__ */ o(
20
+ d,
21
+ {
22
+ ref: a,
23
+ className: s(
24
+ "fixed left-[50%] top-[50%] z-modal grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-ds-05 border border-border bg-layer-01 p-ds-06 shadow-04 rounded-ds-xl duration-moderate-02 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%]",
25
+ e
26
+ ),
27
+ ...t
28
+ }
29
+ )
30
+ ] }));
31
+ u.displayName = d.displayName;
32
+ const v = ({
33
+ className: e,
34
+ ...t
35
+ }) => /* @__PURE__ */ o(
36
+ "div",
37
+ {
38
+ className: s(
39
+ "flex flex-col space-y-ds-02b text-center sm:text-left",
40
+ e
41
+ ),
42
+ ...t
43
+ }
44
+ );
45
+ v.displayName = "AlertDialogHeader";
46
+ const N = ({
47
+ className: e,
48
+ ...t
49
+ }) => /* @__PURE__ */ o(
50
+ "div",
51
+ {
52
+ className: s(
53
+ "flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-ds-03",
54
+ e
55
+ ),
56
+ ...t
57
+ }
58
+ );
59
+ N.displayName = "AlertDialogFooter";
60
+ const D = i.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
61
+ m,
62
+ {
63
+ ref: a,
64
+ className: s(
65
+ "text-ds-lg font-semibold",
66
+ e
67
+ ),
68
+ ...t
69
+ }
70
+ ));
71
+ D.displayName = m.displayName;
72
+ const A = i.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
73
+ n,
74
+ {
75
+ ref: a,
76
+ className: s("text-ds-md text-text-secondary", e),
77
+ ...t
78
+ }
79
+ ));
80
+ A.displayName = n.displayName;
81
+ const w = i.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
82
+ l,
83
+ {
84
+ ref: a,
85
+ className: s(
86
+ "inline-flex h-ds-md items-center justify-center rounded-ds-md px-ds-05 text-ds-md font-semibold transition-colors bg-interactive text-text-on-color hover:bg-interactive-hover active:bg-interactive-active shadow-01 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-focus focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-[0.38]",
87
+ e
88
+ ),
89
+ ...t
90
+ }
91
+ ));
92
+ w.displayName = l.displayName;
93
+ const h = i.forwardRef(({ className: e, ...t }, a) => /* @__PURE__ */ o(
94
+ r,
95
+ {
96
+ ref: a,
97
+ className: s(
98
+ "inline-flex h-ds-md items-center justify-center rounded-ds-md px-ds-05 text-ds-md font-semibold transition-colors bg-transparent text-text-secondary border border-border hover:bg-layer-02 hover:text-text-primary focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-focus focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-[0.38]",
99
+ e
100
+ ),
101
+ ...t
102
+ }
103
+ ));
104
+ h.displayName = r.displayName;
105
+ export {
106
+ C as AlertDialog,
107
+ w as AlertDialogAction,
108
+ h as AlertDialogCancel,
109
+ u as AlertDialogContent,
110
+ A as AlertDialogDescription,
111
+ N as AlertDialogFooter,
112
+ v as AlertDialogHeader,
113
+ f as AlertDialogOverlay,
114
+ b as AlertDialogPortal,
115
+ D as AlertDialogTitle,
116
+ z as AlertDialogTrigger
117
+ };
@@ -0,0 +1,47 @@
1
+ import { VariantProps } from 'class-variance-authority';
2
+ import * as React from 'react';
3
+ declare const alertVariants: (props?: ({
4
+ variant?: "error" | "warning" | "success" | "info" | "neutral" | null | undefined;
5
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
6
+ /**
7
+ * Props for Alert — an inline message block with a colored icon, optional title, optional body,
8
+ * and an optional dismiss button. Renders with `role="alert"` for screen reader announcements.
9
+ *
10
+ * **Variants:** `info` (default, blue tones) | `success` | `warning` | `error` | `neutral`
11
+ * The matching icon (info circle, checkmark, triangle, alert circle) is auto-selected by variant.
12
+ *
13
+ * **Alert vs Banner:** Alert is inline (inside page content). Banner is a full-width notification
14
+ * strip rendered at the top of a page/section (see `<Banner>`).
15
+ *
16
+ * **Dismissible:** Provide `onDismiss` to show an × button. Absence of the prop = non-dismissible.
17
+ *
18
+ * @example
19
+ * // Informational tip inside a settings form:
20
+ * <Alert title="Tip" variant="info">
21
+ * Changes take effect after you save and reload the page.
22
+ * </Alert>
23
+ *
24
+ * @example
25
+ * // Error feedback after a failed API call (dismissible):
26
+ * <Alert variant="error" title="Save failed" onDismiss={() => setError(null)}>
27
+ * Your changes could not be saved. Please try again.
28
+ * </Alert>
29
+ *
30
+ * @example
31
+ * // Success confirmation after publishing:
32
+ * <Alert variant="success" title="Published!">
33
+ * Your post is now live and visible to all subscribers.
34
+ * </Alert>
35
+ *
36
+ * @example
37
+ * // Neutral inline note (no colored intent):
38
+ * <Alert variant="neutral">This field is auto-populated from your profile.</Alert>
39
+ * // These are just a few ways — feel free to combine props creatively!
40
+ */
41
+ export interface AlertProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof alertVariants> {
42
+ title?: string;
43
+ onDismiss?: () => void;
44
+ }
45
+ declare const Alert: React.ForwardRefExoticComponent<AlertProps & React.RefAttributes<HTMLDivElement>>;
46
+ export { Alert, alertVariants };
47
+ //# sourceMappingURL=alert.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"alert.d.ts","sourceRoot":"","sources":["../../src/ui/alert.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAA;AAGjE,QAAA,MAAM,aAAa;;8EAmBlB,CAAA;AAUD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,MAAM,WAAW,UACf,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAC1C,YAAY,CAAC,OAAO,aAAa,CAAC;IACpC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,SAAS,CAAC,EAAE,MAAM,IAAI,CAAA;CACvB;AAED,QAAA,MAAM,KAAK,mFAwBV,CAAA;AAGD,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,CAAA"}