@adea-ai/ui 0.60.3 → 0.61.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 (862) hide show
  1. package/README.md +108 -34
  2. package/dist/components/composites/account-menu/account-menu.d.ts +48 -0
  3. package/dist/components/composites/account-menu/account-menu.d.ts.map +1 -0
  4. package/dist/components/composites/account-menu/account-menu.js +119 -0
  5. package/dist/components/composites/account-menu/account-menu.js.map +1 -0
  6. package/dist/components/composites/account-menu/index.d.ts +2 -0
  7. package/dist/components/composites/account-menu/index.d.ts.map +1 -0
  8. package/dist/components/composites/list-row/index.d.ts +2 -0
  9. package/dist/components/composites/list-row/index.d.ts.map +1 -0
  10. package/dist/components/composites/list-row/list-row.d.ts +44 -0
  11. package/dist/components/composites/list-row/list-row.d.ts.map +1 -0
  12. package/dist/components/composites/list-row/list-row.js +124 -0
  13. package/dist/components/composites/list-row/list-row.js.map +1 -0
  14. package/dist/components/composites/settings/index.d.ts +2 -0
  15. package/dist/components/composites/settings/index.d.ts.map +1 -0
  16. package/dist/components/composites/settings/settings.d.ts +49 -0
  17. package/dist/components/composites/settings/settings.d.ts.map +1 -0
  18. package/dist/components/composites/settings/settings.js +148 -0
  19. package/dist/components/composites/settings/settings.js.map +1 -0
  20. package/dist/components/composites/stat/index.d.ts +2 -0
  21. package/dist/components/composites/stat/index.d.ts.map +1 -0
  22. package/dist/components/composites/stat/stat.d.ts +48 -0
  23. package/dist/components/composites/stat/stat.d.ts.map +1 -0
  24. package/dist/components/composites/stat/stat.js +148 -0
  25. package/dist/components/composites/stat/stat.js.map +1 -0
  26. package/dist/components/composites/update-dialog/index.d.ts +2 -0
  27. package/dist/components/composites/update-dialog/index.d.ts.map +1 -0
  28. package/dist/components/composites/update-dialog/update-dialog.d.ts +108 -0
  29. package/dist/components/composites/update-dialog/update-dialog.d.ts.map +1 -0
  30. package/dist/components/composites/update-dialog/update-dialog.js +452 -0
  31. package/dist/components/composites/update-dialog/update-dialog.js.map +1 -0
  32. package/dist/components/composites/workspace-mark/index.d.ts +2 -0
  33. package/dist/components/composites/workspace-mark/index.d.ts.map +1 -0
  34. package/dist/components/composites/workspace-mark/workspace-mark.d.ts +24 -0
  35. package/dist/components/composites/workspace-mark/workspace-mark.d.ts.map +1 -0
  36. package/dist/components/composites/workspace-mark/workspace-mark.js +76 -0
  37. package/dist/components/composites/workspace-mark/workspace-mark.js.map +1 -0
  38. package/dist/components/conversation/conversation-avatar.d.ts +21 -0
  39. package/dist/components/conversation/conversation-avatar.d.ts.map +1 -0
  40. package/dist/components/conversation/conversation-avatar.js +52 -0
  41. package/dist/components/conversation/conversation-avatar.js.map +1 -0
  42. package/dist/components/conversation/conversation-surface.d.ts +27 -0
  43. package/dist/components/conversation/conversation-surface.d.ts.map +1 -0
  44. package/dist/components/conversation/conversation-surface.js +118 -0
  45. package/dist/components/conversation/conversation-surface.js.map +1 -0
  46. package/dist/components/conversation/index.d.ts +6 -0
  47. package/dist/components/conversation/index.d.ts.map +1 -0
  48. package/dist/components/conversation/message-composer.d.ts +70 -0
  49. package/dist/components/conversation/message-composer.d.ts.map +1 -0
  50. package/dist/components/conversation/message-composer.js +235 -0
  51. package/dist/components/conversation/message-composer.js.map +1 -0
  52. package/dist/components/conversation/message-row.d.ts +101 -0
  53. package/dist/components/conversation/message-row.d.ts.map +1 -0
  54. package/dist/components/conversation/message-row.js +389 -0
  55. package/dist/components/conversation/message-row.js.map +1 -0
  56. package/dist/components/conversation/thread-panel.d.ts +45 -0
  57. package/dist/components/conversation/thread-panel.d.ts.map +1 -0
  58. package/dist/components/conversation/thread-panel.js +123 -0
  59. package/dist/components/conversation/thread-panel.js.map +1 -0
  60. package/dist/components/layout/app-shell/app-shell.d.ts +45 -0
  61. package/dist/components/layout/app-shell/app-shell.d.ts.map +1 -0
  62. package/dist/components/layout/app-shell/app-shell.js +89 -0
  63. package/dist/components/layout/app-shell/app-shell.js.map +1 -0
  64. package/dist/components/layout/app-shell/index.d.ts +2 -0
  65. package/dist/components/layout/app-shell/index.d.ts.map +1 -0
  66. package/dist/components/layout/page/index.d.ts +2 -0
  67. package/dist/components/layout/page/index.d.ts.map +1 -0
  68. package/dist/components/layout/page/page.d.ts +31 -0
  69. package/dist/components/layout/page/page.d.ts.map +1 -0
  70. package/dist/components/layout/page/page.js +143 -0
  71. package/dist/components/layout/page/page.js.map +1 -0
  72. package/dist/components/layout/panel/index.d.ts +2 -0
  73. package/dist/components/layout/panel/index.d.ts.map +1 -0
  74. package/dist/components/layout/panel/panel.d.ts +44 -0
  75. package/dist/components/layout/panel/panel.d.ts.map +1 -0
  76. package/dist/components/layout/panel/panel.js +151 -0
  77. package/dist/components/layout/panel/panel.js.map +1 -0
  78. package/dist/components/layout/side-rail/index.d.ts +3 -0
  79. package/dist/components/layout/side-rail/index.d.ts.map +1 -0
  80. package/dist/components/layout/side-rail/side-rail-context.d.ts +23 -0
  81. package/dist/components/layout/side-rail/side-rail-context.d.ts.map +1 -0
  82. package/dist/components/layout/side-rail/side-rail-context.js +18 -0
  83. package/dist/components/layout/side-rail/side-rail-context.js.map +1 -0
  84. package/dist/components/layout/side-rail/side-rail.d.ts +101 -0
  85. package/dist/components/layout/side-rail/side-rail.d.ts.map +1 -0
  86. package/dist/components/layout/side-rail/side-rail.js +336 -0
  87. package/dist/components/layout/side-rail/side-rail.js.map +1 -0
  88. package/dist/components/layout/sidebar-nav/index.d.ts +2 -0
  89. package/dist/components/layout/sidebar-nav/index.d.ts.map +1 -0
  90. package/dist/components/layout/sidebar-nav/sidebar-nav.d.ts +62 -0
  91. package/dist/components/layout/sidebar-nav/sidebar-nav.d.ts.map +1 -0
  92. package/dist/components/layout/sidebar-nav/sidebar-nav.js +231 -0
  93. package/dist/components/layout/sidebar-nav/sidebar-nav.js.map +1 -0
  94. package/dist/components/layout/status-bar/index.d.ts +2 -0
  95. package/dist/components/layout/status-bar/index.d.ts.map +1 -0
  96. package/dist/components/layout/status-bar/status-bar.d.ts +23 -0
  97. package/dist/components/layout/status-bar/status-bar.d.ts.map +1 -0
  98. package/dist/components/layout/status-bar/status-bar.js +68 -0
  99. package/dist/components/layout/status-bar/status-bar.js.map +1 -0
  100. package/dist/components/layout/top-bar/index.d.ts +2 -0
  101. package/dist/components/layout/top-bar/index.d.ts.map +1 -0
  102. package/dist/components/layout/top-bar/top-bar.d.ts +59 -0
  103. package/dist/components/layout/top-bar/top-bar.d.ts.map +1 -0
  104. package/dist/components/layout/top-bar/top-bar.js +118 -0
  105. package/dist/components/layout/top-bar/top-bar.js.map +1 -0
  106. package/dist/components/motion/index.d.ts +3 -0
  107. package/dist/components/motion/index.d.ts.map +1 -0
  108. package/dist/components/motion/index.js +3 -0
  109. package/dist/components/motion/presence.d.ts +29 -0
  110. package/dist/components/motion/presence.d.ts.map +1 -0
  111. package/dist/components/motion/presence.js +10 -0
  112. package/dist/components/motion/presence.js.map +1 -0
  113. package/dist/components/theme/appearance-panel.d.ts +25 -0
  114. package/dist/components/theme/appearance-panel.d.ts.map +1 -0
  115. package/dist/components/theme/appearance-panel.js +162 -0
  116. package/dist/components/theme/appearance-panel.js.map +1 -0
  117. package/dist/components/theme/index.d.ts +5 -0
  118. package/dist/components/theme/index.d.ts.map +1 -0
  119. package/dist/components/theme/theme-picker.d.ts +54 -0
  120. package/dist/components/theme/theme-picker.d.ts.map +1 -0
  121. package/dist/components/theme/theme-picker.js +156 -0
  122. package/dist/components/theme/theme-picker.js.map +1 -0
  123. package/dist/components/theme/theme-provider.d.ts +130 -0
  124. package/dist/components/theme/theme-provider.d.ts.map +1 -0
  125. package/dist/components/theme/theme-provider.js +164 -0
  126. package/dist/components/theme/theme-provider.js.map +1 -0
  127. package/dist/components/theme/theme-toggle.d.ts +19 -0
  128. package/dist/components/theme/theme-toggle.d.ts.map +1 -0
  129. package/dist/components/theme/theme-toggle.js +69 -0
  130. package/dist/components/theme/theme-toggle.js.map +1 -0
  131. package/dist/components/ui/accordion/accordion.d.ts +18 -0
  132. package/dist/components/ui/accordion/accordion.d.ts.map +1 -0
  133. package/dist/components/ui/accordion/accordion.js +60 -0
  134. package/dist/components/ui/accordion/accordion.js.map +1 -0
  135. package/dist/components/ui/accordion/index.d.ts +2 -0
  136. package/dist/components/ui/accordion/index.d.ts.map +1 -0
  137. package/dist/components/ui/alert/alert.d.ts +26 -0
  138. package/dist/components/ui/alert/alert.d.ts.map +1 -0
  139. package/dist/components/ui/alert/alert.js +89 -0
  140. package/dist/components/ui/alert/alert.js.map +1 -0
  141. package/dist/components/ui/alert/index.d.ts +2 -0
  142. package/dist/components/ui/alert/index.d.ts.map +1 -0
  143. package/dist/components/ui/alert-dialog/alert-dialog.d.ts +29 -0
  144. package/dist/components/ui/alert-dialog/alert-dialog.d.ts.map +1 -0
  145. package/dist/components/ui/alert-dialog/alert-dialog.js +155 -0
  146. package/dist/components/ui/alert-dialog/alert-dialog.js.map +1 -0
  147. package/dist/components/ui/alert-dialog/index.d.ts +2 -0
  148. package/dist/components/ui/alert-dialog/index.d.ts.map +1 -0
  149. package/dist/components/ui/aspect-ratio/aspect-ratio.d.ts +22 -0
  150. package/dist/components/ui/aspect-ratio/aspect-ratio.d.ts.map +1 -0
  151. package/dist/components/ui/aspect-ratio/aspect-ratio.js +29 -0
  152. package/dist/components/ui/aspect-ratio/aspect-ratio.js.map +1 -0
  153. package/dist/components/ui/aspect-ratio/index.d.ts +2 -0
  154. package/dist/components/ui/aspect-ratio/index.d.ts.map +1 -0
  155. package/dist/components/ui/avatar/avatar.d.ts +41 -0
  156. package/dist/components/ui/avatar/avatar.d.ts.map +1 -0
  157. package/dist/components/ui/avatar/avatar.js +106 -0
  158. package/dist/components/ui/avatar/avatar.js.map +1 -0
  159. package/dist/components/ui/avatar/index.d.ts +2 -0
  160. package/dist/components/ui/avatar/index.d.ts.map +1 -0
  161. package/dist/components/ui/badge/badge.d.ts +22 -0
  162. package/dist/components/ui/badge/badge.d.ts.map +1 -0
  163. package/dist/components/ui/badge/badge.js +58 -0
  164. package/dist/components/ui/badge/badge.js.map +1 -0
  165. package/dist/components/ui/badge/index.d.ts +2 -0
  166. package/dist/components/ui/badge/index.d.ts.map +1 -0
  167. package/dist/components/ui/board/board.d.ts +78 -0
  168. package/dist/components/ui/board/board.d.ts.map +1 -0
  169. package/dist/components/ui/board/board.js +200 -0
  170. package/dist/components/ui/board/board.js.map +1 -0
  171. package/dist/components/ui/board/index.d.ts +2 -0
  172. package/dist/components/ui/board/index.d.ts.map +1 -0
  173. package/dist/components/ui/breadcrumb/breadcrumb.d.ts +24 -0
  174. package/dist/components/ui/breadcrumb/breadcrumb.d.ts.map +1 -0
  175. package/dist/components/ui/breadcrumb/breadcrumb.js +109 -0
  176. package/dist/components/ui/breadcrumb/breadcrumb.js.map +1 -0
  177. package/dist/components/ui/breadcrumb/index.d.ts +2 -0
  178. package/dist/components/ui/breadcrumb/index.d.ts.map +1 -0
  179. package/dist/components/ui/button/button.d.ts +30 -0
  180. package/dist/components/ui/button/button.d.ts.map +1 -0
  181. package/dist/components/ui/button/button.js +80 -0
  182. package/dist/components/ui/button/button.js.map +1 -0
  183. package/dist/components/ui/button/index.d.ts +2 -0
  184. package/dist/components/ui/button/index.d.ts.map +1 -0
  185. package/dist/components/ui/button-group/button-group.d.ts +39 -0
  186. package/dist/components/ui/button-group/button-group.d.ts.map +1 -0
  187. package/dist/components/ui/button-group/button-group.js +63 -0
  188. package/dist/components/ui/button-group/button-group.js.map +1 -0
  189. package/dist/components/ui/button-group/index.d.ts +2 -0
  190. package/dist/components/ui/button-group/index.d.ts.map +1 -0
  191. package/dist/components/ui/calendar/calendar.d.ts +93 -0
  192. package/dist/components/ui/calendar/calendar.d.ts.map +1 -0
  193. package/dist/components/ui/calendar/calendar.js +243 -0
  194. package/dist/components/ui/calendar/calendar.js.map +1 -0
  195. package/dist/components/ui/calendar/index.d.ts +2 -0
  196. package/dist/components/ui/calendar/index.d.ts.map +1 -0
  197. package/dist/components/ui/card/card.d.ts +23 -0
  198. package/dist/components/ui/card/card.d.ts.map +1 -0
  199. package/dist/components/ui/card/card.js +98 -0
  200. package/dist/components/ui/card/card.js.map +1 -0
  201. package/dist/components/ui/card/index.d.ts +2 -0
  202. package/dist/components/ui/card/index.d.ts.map +1 -0
  203. package/dist/components/ui/carousel/carousel.d.ts +66 -0
  204. package/dist/components/ui/carousel/carousel.d.ts.map +1 -0
  205. package/dist/components/ui/carousel/carousel.js +178 -0
  206. package/dist/components/ui/carousel/carousel.js.map +1 -0
  207. package/dist/components/ui/carousel/index.d.ts +2 -0
  208. package/dist/components/ui/carousel/index.d.ts.map +1 -0
  209. package/dist/components/ui/chart/chart.d.ts +154 -0
  210. package/dist/components/ui/chart/chart.d.ts.map +1 -0
  211. package/dist/components/ui/chart/chart.js +373 -0
  212. package/dist/components/ui/chart/chart.js.map +1 -0
  213. package/dist/components/ui/chart/index.d.ts +2 -0
  214. package/dist/components/ui/chart/index.d.ts.map +1 -0
  215. package/dist/components/ui/checkbox/checkbox.d.ts +33 -0
  216. package/dist/components/ui/checkbox/checkbox.d.ts.map +1 -0
  217. package/dist/components/ui/checkbox/checkbox.js +76 -0
  218. package/dist/components/ui/checkbox/checkbox.js.map +1 -0
  219. package/dist/components/ui/checkbox/index.d.ts +2 -0
  220. package/dist/components/ui/checkbox/index.d.ts.map +1 -0
  221. package/dist/components/ui/code-block/code-block.d.ts +75 -0
  222. package/dist/components/ui/code-block/code-block.d.ts.map +1 -0
  223. package/dist/components/ui/code-block/code-block.js +186 -0
  224. package/dist/components/ui/code-block/code-block.js.map +1 -0
  225. package/dist/components/ui/code-block/index.d.ts +2 -0
  226. package/dist/components/ui/code-block/index.d.ts.map +1 -0
  227. package/dist/components/ui/collapsible/collapsible.d.ts +17 -0
  228. package/dist/components/ui/collapsible/collapsible.d.ts.map +1 -0
  229. package/dist/components/ui/collapsible/collapsible.js +38 -0
  230. package/dist/components/ui/collapsible/collapsible.js.map +1 -0
  231. package/dist/components/ui/collapsible/index.d.ts +2 -0
  232. package/dist/components/ui/collapsible/index.d.ts.map +1 -0
  233. package/dist/components/ui/combobox/combobox.d.ts +28 -0
  234. package/dist/components/ui/combobox/combobox.d.ts.map +1 -0
  235. package/dist/components/ui/combobox/combobox.js +102 -0
  236. package/dist/components/ui/combobox/combobox.js.map +1 -0
  237. package/dist/components/ui/combobox/index.d.ts +2 -0
  238. package/dist/components/ui/combobox/index.d.ts.map +1 -0
  239. package/dist/components/ui/command/command.d.ts +53 -0
  240. package/dist/components/ui/command/command.d.ts.map +1 -0
  241. package/dist/components/ui/command/command.js +137 -0
  242. package/dist/components/ui/command/command.js.map +1 -0
  243. package/dist/components/ui/command/index.d.ts +2 -0
  244. package/dist/components/ui/command/index.d.ts.map +1 -0
  245. package/dist/components/ui/context-menu/context-menu.d.ts +32 -0
  246. package/dist/components/ui/context-menu/context-menu.d.ts.map +1 -0
  247. package/dist/components/ui/context-menu/context-menu.js +119 -0
  248. package/dist/components/ui/context-menu/context-menu.js.map +1 -0
  249. package/dist/components/ui/context-menu/index.d.ts +2 -0
  250. package/dist/components/ui/context-menu/index.d.ts.map +1 -0
  251. package/dist/components/ui/detail-panel/detail-panel.d.ts +61 -0
  252. package/dist/components/ui/detail-panel/detail-panel.d.ts.map +1 -0
  253. package/dist/components/ui/detail-panel/detail-panel.js +132 -0
  254. package/dist/components/ui/detail-panel/detail-panel.js.map +1 -0
  255. package/dist/components/ui/detail-panel/index.d.ts +2 -0
  256. package/dist/components/ui/detail-panel/index.d.ts.map +1 -0
  257. package/dist/components/ui/dialog/dialog.d.ts +40 -0
  258. package/dist/components/ui/dialog/dialog.d.ts.map +1 -0
  259. package/dist/components/ui/dialog/dialog.js +125 -0
  260. package/dist/components/ui/dialog/dialog.js.map +1 -0
  261. package/dist/components/ui/dialog/index.d.ts +2 -0
  262. package/dist/components/ui/dialog/index.d.ts.map +1 -0
  263. package/dist/components/ui/diff-block/diff-block.d.ts +95 -0
  264. package/dist/components/ui/diff-block/diff-block.d.ts.map +1 -0
  265. package/dist/components/ui/diff-block/diff-block.js +230 -0
  266. package/dist/components/ui/diff-block/diff-block.js.map +1 -0
  267. package/dist/components/ui/diff-block/diff-block.test.d.ts +2 -0
  268. package/dist/components/ui/diff-block/diff-block.test.d.ts.map +1 -0
  269. package/dist/components/ui/diff-block/index.d.ts +2 -0
  270. package/dist/components/ui/diff-block/index.d.ts.map +1 -0
  271. package/dist/components/ui/drawer/drawer.d.ts +39 -0
  272. package/dist/components/ui/drawer/drawer.d.ts.map +1 -0
  273. package/dist/components/ui/drawer/drawer.js +106 -0
  274. package/dist/components/ui/drawer/drawer.js.map +1 -0
  275. package/dist/components/ui/drawer/index.d.ts +2 -0
  276. package/dist/components/ui/drawer/index.d.ts.map +1 -0
  277. package/dist/components/ui/dropdown-menu/dropdown-menu.d.ts +48 -0
  278. package/dist/components/ui/dropdown-menu/dropdown-menu.d.ts.map +1 -0
  279. package/dist/components/ui/dropdown-menu/dropdown-menu.js +151 -0
  280. package/dist/components/ui/dropdown-menu/dropdown-menu.js.map +1 -0
  281. package/dist/components/ui/dropdown-menu/index.d.ts +2 -0
  282. package/dist/components/ui/dropdown-menu/index.d.ts.map +1 -0
  283. package/dist/components/ui/empty/empty.d.ts +27 -0
  284. package/dist/components/ui/empty/empty.d.ts.map +1 -0
  285. package/dist/components/ui/{empty.js → empty/empty.js} +28 -23
  286. package/dist/components/ui/empty/empty.js.map +1 -0
  287. package/dist/components/ui/empty/index.d.ts +2 -0
  288. package/dist/components/ui/empty/index.d.ts.map +1 -0
  289. package/dist/components/ui/entity-icon/entity-icon.d.ts +59 -0
  290. package/dist/components/ui/entity-icon/entity-icon.d.ts.map +1 -0
  291. package/dist/components/ui/entity-icon/entity-icon.js +145 -0
  292. package/dist/components/ui/entity-icon/entity-icon.js.map +1 -0
  293. package/dist/components/ui/entity-icon/index.d.ts +2 -0
  294. package/dist/components/ui/entity-icon/index.d.ts.map +1 -0
  295. package/dist/components/ui/field/field.d.ts +39 -0
  296. package/dist/components/ui/field/field.d.ts.map +1 -0
  297. package/dist/components/ui/field/field.js +111 -0
  298. package/dist/components/ui/field/field.js.map +1 -0
  299. package/dist/components/ui/field/index.d.ts +2 -0
  300. package/dist/components/ui/field/index.d.ts.map +1 -0
  301. package/dist/components/ui/hover-card/hover-card.d.ts +17 -0
  302. package/dist/components/ui/hover-card/hover-card.d.ts.map +1 -0
  303. package/dist/components/ui/hover-card/hover-card.js +40 -0
  304. package/dist/components/ui/hover-card/hover-card.js.map +1 -0
  305. package/dist/components/ui/hover-card/index.d.ts +2 -0
  306. package/dist/components/ui/hover-card/index.d.ts.map +1 -0
  307. package/dist/components/ui/input/index.d.ts +2 -0
  308. package/dist/components/ui/input/index.d.ts.map +1 -0
  309. package/dist/components/ui/input/input.d.ts +15 -0
  310. package/dist/components/ui/input/input.d.ts.map +1 -0
  311. package/dist/components/ui/input/input.js +36 -0
  312. package/dist/components/ui/input/input.js.map +1 -0
  313. package/dist/components/ui/input-group/index.d.ts +2 -0
  314. package/dist/components/ui/input-group/index.d.ts.map +1 -0
  315. package/dist/components/ui/input-group/input-group.d.ts +34 -0
  316. package/dist/components/ui/input-group/input-group.d.ts.map +1 -0
  317. package/dist/components/ui/input-group/input-group.js +93 -0
  318. package/dist/components/ui/input-group/input-group.js.map +1 -0
  319. package/dist/components/ui/input-otp/index.d.ts +2 -0
  320. package/dist/components/ui/input-otp/index.d.ts.map +1 -0
  321. package/dist/components/ui/input-otp/input-otp.d.ts +37 -0
  322. package/dist/components/ui/input-otp/input-otp.d.ts.map +1 -0
  323. package/dist/components/ui/input-otp/input-otp.js +92 -0
  324. package/dist/components/ui/input-otp/input-otp.js.map +1 -0
  325. package/dist/components/ui/item/index.d.ts +2 -0
  326. package/dist/components/ui/item/index.d.ts.map +1 -0
  327. package/dist/components/ui/item/item.d.ts +49 -0
  328. package/dist/components/ui/item/item.d.ts.map +1 -0
  329. package/dist/components/ui/item/item.js +163 -0
  330. package/dist/components/ui/item/item.js.map +1 -0
  331. package/dist/components/ui/kbd/index.d.ts +2 -0
  332. package/dist/components/ui/kbd/index.d.ts.map +1 -0
  333. package/dist/components/ui/kbd/kbd.d.ts +14 -0
  334. package/dist/components/ui/kbd/kbd.d.ts.map +1 -0
  335. package/dist/components/ui/kbd/kbd.js +40 -0
  336. package/dist/components/ui/kbd/kbd.js.map +1 -0
  337. package/dist/components/ui/label/index.d.ts +2 -0
  338. package/dist/components/ui/label/index.d.ts.map +1 -0
  339. package/dist/components/ui/label/label.d.ts +17 -0
  340. package/dist/components/ui/label/label.d.ts.map +1 -0
  341. package/dist/components/ui/label/label.js +33 -0
  342. package/dist/components/ui/label/label.js.map +1 -0
  343. package/dist/components/ui/menubar/index.d.ts +2 -0
  344. package/dist/components/ui/menubar/index.d.ts.map +1 -0
  345. package/dist/components/ui/menubar/menubar.d.ts +38 -0
  346. package/dist/components/ui/menubar/menubar.d.ts.map +1 -0
  347. package/dist/components/ui/menubar/menubar.js +138 -0
  348. package/dist/components/ui/menubar/menubar.js.map +1 -0
  349. package/dist/components/ui/modal-dialog/index.d.ts +2 -0
  350. package/dist/components/ui/modal-dialog/index.d.ts.map +1 -0
  351. package/dist/components/ui/modal-dialog/modal-dialog.d.ts +35 -0
  352. package/dist/components/ui/modal-dialog/modal-dialog.d.ts.map +1 -0
  353. package/dist/components/ui/modal-dialog/modal-dialog.js +78 -0
  354. package/dist/components/ui/modal-dialog/modal-dialog.js.map +1 -0
  355. package/dist/components/ui/navigation-menu/index.d.ts +2 -0
  356. package/dist/components/ui/navigation-menu/index.d.ts.map +1 -0
  357. package/dist/components/ui/navigation-menu/navigation-menu.d.ts +77 -0
  358. package/dist/components/ui/navigation-menu/navigation-menu.d.ts.map +1 -0
  359. package/dist/components/ui/navigation-menu/navigation-menu.js +116 -0
  360. package/dist/components/ui/navigation-menu/navigation-menu.js.map +1 -0
  361. package/dist/components/ui/pagination/index.d.ts +2 -0
  362. package/dist/components/ui/pagination/index.d.ts.map +1 -0
  363. package/dist/components/ui/pagination/pagination.d.ts +33 -0
  364. package/dist/components/ui/pagination/pagination.d.ts.map +1 -0
  365. package/dist/components/ui/pagination/pagination.js +92 -0
  366. package/dist/components/ui/pagination/pagination.js.map +1 -0
  367. package/dist/components/ui/popover/index.d.ts +2 -0
  368. package/dist/components/ui/popover/index.d.ts.map +1 -0
  369. package/dist/components/ui/popover/popover.d.ts +26 -0
  370. package/dist/components/ui/popover/popover.d.ts.map +1 -0
  371. package/dist/components/ui/popover/popover.js +66 -0
  372. package/dist/components/ui/popover/popover.js.map +1 -0
  373. package/dist/components/ui/progress/index.d.ts +2 -0
  374. package/dist/components/ui/progress/index.d.ts.map +1 -0
  375. package/dist/components/ui/progress/progress.d.ts +29 -0
  376. package/dist/components/ui/progress/progress.d.ts.map +1 -0
  377. package/dist/components/ui/progress/progress.js +53 -0
  378. package/dist/components/ui/progress/progress.js.map +1 -0
  379. package/dist/components/ui/radio-group/index.d.ts +2 -0
  380. package/dist/components/ui/radio-group/index.d.ts.map +1 -0
  381. package/dist/components/ui/radio-group/radio-group.d.ts +26 -0
  382. package/dist/components/ui/radio-group/radio-group.d.ts.map +1 -0
  383. package/dist/components/ui/radio-group/radio-group.js +77 -0
  384. package/dist/components/ui/radio-group/radio-group.js.map +1 -0
  385. package/dist/components/ui/resizable/index.d.ts +2 -0
  386. package/dist/components/ui/resizable/index.d.ts.map +1 -0
  387. package/dist/components/ui/resizable/resizable.d.ts +33 -0
  388. package/dist/components/ui/resizable/resizable.d.ts.map +1 -0
  389. package/dist/components/ui/resizable/resizable.js +57 -0
  390. package/dist/components/ui/resizable/resizable.js.map +1 -0
  391. package/dist/components/ui/scroll-area/index.d.ts +2 -0
  392. package/dist/components/ui/scroll-area/index.d.ts.map +1 -0
  393. package/dist/components/ui/scroll-area/scroll-area.d.ts +26 -0
  394. package/dist/components/ui/scroll-area/scroll-area.d.ts.map +1 -0
  395. package/dist/components/ui/scroll-area/scroll-area.js +36 -0
  396. package/dist/components/ui/scroll-area/scroll-area.js.map +1 -0
  397. package/dist/components/ui/select/index.d.ts +2 -0
  398. package/dist/components/ui/select/index.d.ts.map +1 -0
  399. package/dist/components/ui/select/select.d.ts +63 -0
  400. package/dist/components/ui/select/select.d.ts.map +1 -0
  401. package/dist/components/ui/select/select.js +142 -0
  402. package/dist/components/ui/select/select.js.map +1 -0
  403. package/dist/components/ui/separator/index.d.ts +2 -0
  404. package/dist/components/ui/separator/index.d.ts.map +1 -0
  405. package/dist/components/ui/separator/separator.d.ts +17 -0
  406. package/dist/components/ui/separator/separator.d.ts.map +1 -0
  407. package/dist/components/ui/separator/separator.js +24 -0
  408. package/dist/components/ui/separator/separator.js.map +1 -0
  409. package/dist/components/ui/sheet/index.d.ts +2 -0
  410. package/dist/components/ui/sheet/index.d.ts.map +1 -0
  411. package/dist/components/ui/sheet/sheet.d.ts +32 -0
  412. package/dist/components/ui/sheet/sheet.d.ts.map +1 -0
  413. package/dist/components/ui/sheet/sheet.js +118 -0
  414. package/dist/components/ui/sheet/sheet.js.map +1 -0
  415. package/dist/components/ui/skeleton/index.d.ts +2 -0
  416. package/dist/components/ui/skeleton/index.d.ts.map +1 -0
  417. package/dist/components/ui/skeleton/skeleton.d.ts +15 -0
  418. package/dist/components/ui/skeleton/skeleton.d.ts.map +1 -0
  419. package/dist/components/ui/skeleton/skeleton.js +31 -0
  420. package/dist/components/ui/skeleton/skeleton.js.map +1 -0
  421. package/dist/components/ui/slider/index.d.ts +2 -0
  422. package/dist/components/ui/slider/index.d.ts.map +1 -0
  423. package/dist/components/ui/slider/slider.d.ts +22 -0
  424. package/dist/components/ui/slider/slider.d.ts.map +1 -0
  425. package/dist/components/ui/slider/slider.js +59 -0
  426. package/dist/components/ui/slider/slider.js.map +1 -0
  427. package/dist/components/ui/spinner/index.d.ts +2 -0
  428. package/dist/components/ui/spinner/index.d.ts.map +1 -0
  429. package/dist/components/ui/spinner/spinner.d.ts +25 -0
  430. package/dist/components/ui/spinner/spinner.d.ts.map +1 -0
  431. package/dist/components/ui/spinner/spinner.js +57 -0
  432. package/dist/components/ui/spinner/spinner.js.map +1 -0
  433. package/dist/components/ui/status-chip/index.d.ts +2 -0
  434. package/dist/components/ui/status-chip/index.d.ts.map +1 -0
  435. package/dist/components/ui/status-chip/status-chip.d.ts +70 -0
  436. package/dist/components/ui/status-chip/status-chip.d.ts.map +1 -0
  437. package/dist/components/ui/status-chip/status-chip.js +140 -0
  438. package/dist/components/ui/status-chip/status-chip.js.map +1 -0
  439. package/dist/components/ui/switch/index.d.ts +2 -0
  440. package/dist/components/ui/switch/index.d.ts.map +1 -0
  441. package/dist/components/ui/switch/switch.d.ts +36 -0
  442. package/dist/components/ui/switch/switch.d.ts.map +1 -0
  443. package/dist/components/ui/switch/switch.js +74 -0
  444. package/dist/components/ui/switch/switch.js.map +1 -0
  445. package/dist/components/ui/table/index.d.ts +2 -0
  446. package/dist/components/ui/table/index.d.ts.map +1 -0
  447. package/dist/components/ui/table/table.d.ts +29 -0
  448. package/dist/components/ui/table/table.d.ts.map +1 -0
  449. package/dist/components/ui/table/table.js +129 -0
  450. package/dist/components/ui/table/table.js.map +1 -0
  451. package/dist/components/ui/tabs/index.d.ts +2 -0
  452. package/dist/components/ui/tabs/index.d.ts.map +1 -0
  453. package/dist/components/ui/tabs/tabs.d.ts +23 -0
  454. package/dist/components/ui/tabs/tabs.d.ts.map +1 -0
  455. package/dist/components/ui/tabs/tabs.js +43 -0
  456. package/dist/components/ui/tabs/tabs.js.map +1 -0
  457. package/dist/components/ui/textarea/index.d.ts +2 -0
  458. package/dist/components/ui/textarea/index.d.ts.map +1 -0
  459. package/dist/components/ui/textarea/textarea.d.ts +14 -0
  460. package/dist/components/ui/textarea/textarea.d.ts.map +1 -0
  461. package/dist/components/ui/textarea/textarea.js +30 -0
  462. package/dist/components/ui/textarea/textarea.js.map +1 -0
  463. package/dist/components/ui/toast/index.d.ts +2 -0
  464. package/dist/components/ui/toast/index.d.ts.map +1 -0
  465. package/dist/components/ui/toast/toast.d.ts +68 -0
  466. package/dist/components/ui/toast/toast.d.ts.map +1 -0
  467. package/dist/components/ui/toast/toast.js +186 -0
  468. package/dist/components/ui/toast/toast.js.map +1 -0
  469. package/dist/components/ui/toggle/index.d.ts +2 -0
  470. package/dist/components/ui/toggle/index.d.ts.map +1 -0
  471. package/dist/components/ui/toggle/toggle.d.ts +22 -0
  472. package/dist/components/ui/toggle/toggle.d.ts.map +1 -0
  473. package/dist/components/ui/toggle/toggle.js +64 -0
  474. package/dist/components/ui/toggle/toggle.js.map +1 -0
  475. package/dist/components/ui/toggle-group/index.d.ts +2 -0
  476. package/dist/components/ui/toggle-group/index.d.ts.map +1 -0
  477. package/dist/components/ui/toggle-group/toggle-group.d.ts +35 -0
  478. package/dist/components/ui/toggle-group/toggle-group.d.ts.map +1 -0
  479. package/dist/components/ui/toggle-group/toggle-group.js +38 -0
  480. package/dist/components/ui/toggle-group/toggle-group.js.map +1 -0
  481. package/dist/components/ui/tooltip/index.d.ts +2 -0
  482. package/dist/components/ui/tooltip/index.d.ts.map +1 -0
  483. package/dist/components/ui/tooltip/tooltip.d.ts +18 -0
  484. package/dist/components/ui/tooltip/tooltip.d.ts.map +1 -0
  485. package/dist/components/ui/tooltip/tooltip.js +67 -0
  486. package/dist/components/ui/tooltip/tooltip.js.map +1 -0
  487. package/dist/index.d.ts +96 -19
  488. package/dist/index.d.ts.map +1 -0
  489. package/dist/index.js +90 -20
  490. package/dist/lib/keyed-rows.d.ts +36 -0
  491. package/dist/lib/keyed-rows.d.ts.map +1 -0
  492. package/dist/lib/keyed-rows.js +53 -0
  493. package/dist/lib/keyed-rows.js.map +1 -0
  494. package/dist/lib/keyed-rows.test.d.ts +2 -0
  495. package/dist/lib/keyed-rows.test.d.ts.map +1 -0
  496. package/dist/lib/overlay.d.ts +44 -0
  497. package/dist/lib/overlay.d.ts.map +1 -0
  498. package/dist/lib/overlay.js +57 -0
  499. package/dist/lib/overlay.js.map +1 -0
  500. package/dist/lib/themes.d.ts +197 -0
  501. package/dist/lib/themes.d.ts.map +1 -0
  502. package/dist/lib/themes.js +303 -0
  503. package/dist/lib/themes.js.map +1 -0
  504. package/dist/lib/tokens.d.ts +103 -0
  505. package/dist/lib/tokens.d.ts.map +1 -0
  506. package/dist/lib/tokens.js +805 -0
  507. package/dist/lib/tokens.js.map +1 -0
  508. package/dist/lib/utils.d.ts +27 -0
  509. package/dist/lib/utils.d.ts.map +1 -0
  510. package/dist/lib/utils.js +61 -3
  511. package/dist/lib/utils.js.map +1 -0
  512. package/dist/lib/variants.d.ts +57 -0
  513. package/dist/lib/variants.d.ts.map +1 -0
  514. package/dist/lib/variants.js +49 -0
  515. package/dist/lib/variants.js.map +1 -0
  516. package/dist/lib/version-notes.d.ts +24 -0
  517. package/dist/lib/version-notes.d.ts.map +1 -0
  518. package/dist/lib/version-notes.js +41 -1
  519. package/dist/lib/version-notes.js.map +1 -0
  520. package/dist/r/accordion.json +23 -0
  521. package/dist/r/account-menu.json +25 -0
  522. package/dist/r/alert-dialog.json +22 -0
  523. package/dist/r/alert.json +22 -0
  524. package/dist/r/app-shell.json +20 -0
  525. package/dist/r/aspect-ratio.json +20 -0
  526. package/dist/r/avatar.json +20 -0
  527. package/dist/r/badge.json +22 -0
  528. package/dist/r/board.json +20 -0
  529. package/dist/r/breadcrumb.json +22 -0
  530. package/dist/r/button-group.json +22 -0
  531. package/dist/r/button.json +22 -0
  532. package/dist/r/calendar.json +25 -0
  533. package/dist/r/card.json +20 -0
  534. package/dist/r/carousel.json +26 -0
  535. package/dist/r/chart.json +23 -0
  536. package/dist/r/checkbox.json +23 -0
  537. package/dist/r/code-block.json +24 -0
  538. package/dist/r/collapsible.json +22 -0
  539. package/dist/r/combobox.json +23 -0
  540. package/dist/r/command.json +23 -0
  541. package/dist/r/context-menu.json +23 -0
  542. package/dist/r/conversation.json +48 -0
  543. package/dist/r/detail-panel.json +24 -0
  544. package/dist/r/dialog.json +23 -0
  545. package/dist/r/diff-block.json +20 -0
  546. package/dist/r/drawer.json +22 -0
  547. package/dist/r/dropdown-menu.json +23 -0
  548. package/dist/r/empty.json +20 -0
  549. package/dist/r/entity-icon.json +20 -0
  550. package/dist/r/field.json +22 -0
  551. package/dist/r/hover-card.json +22 -0
  552. package/dist/r/input-group.json +20 -0
  553. package/dist/r/input-otp.json +22 -0
  554. package/dist/r/input.json +20 -0
  555. package/dist/r/item.json +20 -0
  556. package/dist/r/kbd.json +20 -0
  557. package/dist/r/label.json +20 -0
  558. package/dist/r/list-row.json +22 -0
  559. package/dist/r/menubar.json +23 -0
  560. package/dist/r/modal-dialog.json +22 -0
  561. package/dist/r/navigation-menu.json +23 -0
  562. package/dist/r/page.json +20 -0
  563. package/dist/r/pagination.json +23 -0
  564. package/dist/r/panel.json +20 -0
  565. package/dist/r/popover.json +22 -0
  566. package/dist/r/progress.json +22 -0
  567. package/dist/r/radio-group.json +23 -0
  568. package/dist/r/registry.json +1676 -0
  569. package/dist/r/resizable.json +23 -0
  570. package/dist/r/scroll-area.json +20 -0
  571. package/dist/r/select.json +23 -0
  572. package/dist/r/separator.json +22 -0
  573. package/dist/r/settings.json +20 -0
  574. package/dist/r/sheet.json +25 -0
  575. package/dist/r/side-rail.json +27 -0
  576. package/dist/r/sidebar-nav.json +23 -0
  577. package/dist/r/skeleton.json +20 -0
  578. package/dist/r/slider.json +22 -0
  579. package/dist/r/spinner.json +22 -0
  580. package/dist/r/stat.json +22 -0
  581. package/dist/r/status-bar.json +20 -0
  582. package/dist/r/status-chip.json +22 -0
  583. package/dist/r/switch.json +22 -0
  584. package/dist/r/table.json +20 -0
  585. package/dist/r/tabs.json +22 -0
  586. package/dist/r/textarea.json +20 -0
  587. package/dist/r/theme.json +36 -0
  588. package/dist/r/toast.json +23 -0
  589. package/dist/r/toggle-group.json +24 -0
  590. package/dist/r/toggle.json +22 -0
  591. package/dist/r/tooltip.json +22 -0
  592. package/dist/r/top-bar.json +20 -0
  593. package/dist/r/update-dialog.json +27 -0
  594. package/dist/r/workspace-mark.json +22 -0
  595. package/package.json +75 -21
  596. package/registry.json +1676 -0
  597. package/src/components/composites/account-menu/account-menu.tsx +150 -0
  598. package/src/components/composites/account-menu/index.ts +1 -0
  599. package/src/components/composites/list-row/index.ts +1 -0
  600. package/src/components/composites/list-row/list-row.tsx +116 -0
  601. package/src/components/composites/settings/index.ts +1 -0
  602. package/src/components/composites/settings/settings.tsx +142 -0
  603. package/src/components/composites/stat/index.ts +9 -0
  604. package/src/components/composites/stat/stat.tsx +155 -0
  605. package/src/components/composites/update-dialog/index.ts +7 -0
  606. package/src/components/composites/update-dialog/update-dialog.tsx +529 -0
  607. package/src/components/composites/workspace-mark/index.ts +1 -0
  608. package/src/components/composites/workspace-mark/workspace-mark.tsx +72 -0
  609. package/src/components/conversation/conversation-avatar.tsx +60 -0
  610. package/src/components/conversation/conversation-surface.tsx +107 -0
  611. package/src/components/conversation/index.ts +25 -0
  612. package/src/components/conversation/message-composer.tsx +239 -0
  613. package/src/components/conversation/message-row.tsx +387 -0
  614. package/src/components/conversation/thread-panel.tsx +141 -0
  615. package/src/components/layout/app-shell/app-shell.tsx +92 -0
  616. package/src/components/layout/app-shell/index.ts +1 -0
  617. package/src/components/layout/page/index.ts +9 -0
  618. package/src/components/layout/page/page.tsx +122 -0
  619. package/src/components/layout/panel/index.ts +12 -0
  620. package/src/components/layout/panel/panel.tsx +166 -0
  621. package/src/components/layout/side-rail/index.ts +12 -0
  622. package/src/components/layout/side-rail/side-rail-context.ts +42 -0
  623. package/src/components/layout/side-rail/side-rail.tsx +405 -0
  624. package/src/components/layout/sidebar-nav/index.ts +14 -0
  625. package/src/components/layout/sidebar-nav/sidebar-nav.tsx +244 -0
  626. package/src/components/layout/status-bar/index.ts +1 -0
  627. package/src/components/layout/status-bar/status-bar.tsx +73 -0
  628. package/src/components/layout/top-bar/index.ts +10 -0
  629. package/src/components/layout/top-bar/top-bar.tsx +166 -0
  630. package/src/components/motion/index.ts +2 -0
  631. package/src/components/motion/presence.tsx +32 -0
  632. package/src/components/theme/appearance-panel.tsx +179 -0
  633. package/src/components/theme/index.ts +22 -0
  634. package/src/components/theme/theme-picker.tsx +174 -0
  635. package/src/components/theme/theme-provider.tsx +309 -0
  636. package/src/components/theme/theme-toggle.tsx +64 -0
  637. package/src/components/ui/accordion/accordion.tsx +66 -0
  638. package/src/components/ui/accordion/index.ts +1 -0
  639. package/src/components/ui/alert/alert.tsx +95 -0
  640. package/src/components/ui/alert/index.ts +1 -0
  641. package/src/components/ui/alert-dialog/alert-dialog.tsx +176 -0
  642. package/src/components/ui/alert-dialog/index.ts +13 -0
  643. package/src/components/ui/aspect-ratio/aspect-ratio.tsx +38 -0
  644. package/src/components/ui/aspect-ratio/index.ts +1 -0
  645. package/src/components/ui/avatar/avatar.tsx +114 -0
  646. package/src/components/ui/avatar/index.ts +9 -0
  647. package/src/components/ui/badge/badge.tsx +59 -0
  648. package/src/components/ui/badge/index.ts +1 -0
  649. package/src/components/ui/board/board.tsx +254 -0
  650. package/src/components/ui/board/index.ts +10 -0
  651. package/src/components/ui/breadcrumb/breadcrumb.tsx +117 -0
  652. package/src/components/ui/breadcrumb/index.ts +9 -0
  653. package/src/components/ui/button/button.tsx +89 -0
  654. package/src/components/ui/button/index.ts +1 -0
  655. package/src/components/ui/button-group/button-group.tsx +92 -0
  656. package/src/components/ui/button-group/index.ts +6 -0
  657. package/src/components/ui/calendar/calendar.tsx +277 -0
  658. package/src/components/ui/calendar/index.ts +1 -0
  659. package/src/components/ui/card/card.tsx +82 -0
  660. package/src/components/ui/card/index.ts +10 -0
  661. package/src/components/ui/carousel/carousel.tsx +209 -0
  662. package/src/components/ui/carousel/index.ts +1 -0
  663. package/src/components/ui/chart/chart.tsx +413 -0
  664. package/src/components/ui/chart/index.ts +17 -0
  665. package/src/components/ui/checkbox/checkbox.tsx +99 -0
  666. package/src/components/ui/checkbox/index.ts +1 -0
  667. package/src/components/ui/code-block/code-block.tsx +238 -0
  668. package/src/components/ui/code-block/index.ts +1 -0
  669. package/src/components/ui/collapsible/collapsible.tsx +54 -0
  670. package/src/components/ui/collapsible/index.ts +1 -0
  671. package/src/components/ui/combobox/combobox.tsx +142 -0
  672. package/src/components/ui/combobox/index.ts +10 -0
  673. package/src/components/ui/command/command.tsx +214 -0
  674. package/src/components/ui/command/index.ts +12 -0
  675. package/src/components/ui/context-menu/context-menu.tsx +163 -0
  676. package/src/components/ui/context-menu/index.ts +15 -0
  677. package/src/components/ui/detail-panel/detail-panel.tsx +161 -0
  678. package/src/components/ui/detail-panel/index.ts +9 -0
  679. package/src/components/ui/dialog/dialog.tsx +138 -0
  680. package/src/components/ui/dialog/index.ts +14 -0
  681. package/src/components/ui/diff-block/diff-block.tsx +286 -0
  682. package/src/components/ui/diff-block/index.ts +11 -0
  683. package/src/components/ui/drawer/drawer.tsx +144 -0
  684. package/src/components/ui/drawer/index.ts +13 -0
  685. package/src/components/ui/dropdown-menu/dropdown-menu.tsx +203 -0
  686. package/src/components/ui/dropdown-menu/index.ts +18 -0
  687. package/src/components/ui/empty/empty.tsx +104 -0
  688. package/src/components/ui/empty/index.ts +10 -0
  689. package/src/components/ui/entity-icon/entity-icon.tsx +154 -0
  690. package/src/components/ui/entity-icon/index.ts +1 -0
  691. package/src/components/ui/field/field.tsx +131 -0
  692. package/src/components/ui/field/index.ts +11 -0
  693. package/src/components/ui/hover-card/hover-card.tsx +48 -0
  694. package/src/components/ui/hover-card/index.ts +1 -0
  695. package/src/components/ui/input/index.ts +1 -0
  696. package/src/components/ui/input/input.tsx +41 -0
  697. package/src/components/ui/input-group/index.ts +8 -0
  698. package/src/components/ui/input-group/input-group.tsx +111 -0
  699. package/src/components/ui/input-otp/index.ts +1 -0
  700. package/src/components/ui/input-otp/input-otp.tsx +108 -0
  701. package/src/components/ui/item/index.ts +10 -0
  702. package/src/components/ui/item/item.tsx +146 -0
  703. package/src/components/ui/kbd/index.ts +1 -0
  704. package/src/components/ui/kbd/kbd.tsx +42 -0
  705. package/src/components/ui/label/index.ts +1 -0
  706. package/src/components/ui/label/label.tsx +36 -0
  707. package/src/components/ui/menubar/index.ts +16 -0
  708. package/src/components/ui/menubar/menubar.tsx +190 -0
  709. package/src/components/ui/modal-dialog/index.ts +1 -0
  710. package/src/components/ui/modal-dialog/modal-dialog.tsx +95 -0
  711. package/src/components/ui/navigation-menu/index.ts +13 -0
  712. package/src/components/ui/navigation-menu/navigation-menu.tsx +229 -0
  713. package/src/components/ui/pagination/index.ts +8 -0
  714. package/src/components/ui/pagination/pagination.tsx +144 -0
  715. package/src/components/ui/popover/index.ts +10 -0
  716. package/src/components/ui/popover/popover.tsx +81 -0
  717. package/src/components/ui/progress/index.ts +1 -0
  718. package/src/components/ui/progress/progress.tsx +67 -0
  719. package/src/components/ui/radio-group/index.ts +1 -0
  720. package/src/components/ui/radio-group/radio-group.tsx +78 -0
  721. package/src/components/ui/resizable/index.ts +6 -0
  722. package/src/components/ui/resizable/resizable.tsx +74 -0
  723. package/src/components/ui/scroll-area/index.ts +1 -0
  724. package/src/components/ui/scroll-area/scroll-area.tsx +66 -0
  725. package/src/components/ui/select/index.ts +11 -0
  726. package/src/components/ui/select/select.tsx +188 -0
  727. package/src/components/ui/separator/index.ts +1 -0
  728. package/src/components/ui/separator/separator.tsx +40 -0
  729. package/src/components/ui/sheet/index.ts +13 -0
  730. package/src/components/ui/sheet/sheet.tsx +132 -0
  731. package/src/components/ui/skeleton/index.ts +1 -0
  732. package/src/components/ui/skeleton/skeleton.tsx +28 -0
  733. package/src/components/ui/slider/index.ts +1 -0
  734. package/src/components/ui/slider/slider.tsx +81 -0
  735. package/src/components/ui/spinner/index.ts +1 -0
  736. package/src/components/ui/spinner/spinner.tsx +58 -0
  737. package/src/components/ui/status-chip/index.ts +8 -0
  738. package/src/components/ui/status-chip/status-chip.tsx +142 -0
  739. package/src/components/ui/switch/index.ts +1 -0
  740. package/src/components/ui/switch/switch.tsx +100 -0
  741. package/src/components/ui/table/index.ts +11 -0
  742. package/src/components/ui/table/table.tsx +125 -0
  743. package/src/components/ui/tabs/index.ts +8 -0
  744. package/src/components/ui/tabs/tabs.tsx +77 -0
  745. package/src/components/ui/textarea/index.ts +1 -0
  746. package/src/components/ui/textarea/textarea.tsx +36 -0
  747. package/src/components/ui/toast/index.ts +1 -0
  748. package/src/components/ui/toast/toast.tsx +220 -0
  749. package/src/components/ui/toggle/index.ts +1 -0
  750. package/src/components/ui/toggle/toggle.tsx +60 -0
  751. package/src/components/ui/toggle-group/index.ts +6 -0
  752. package/src/components/ui/toggle-group/toggle-group.tsx +66 -0
  753. package/src/components/ui/tooltip/index.ts +9 -0
  754. package/src/components/ui/tooltip/tooltip.tsx +102 -0
  755. package/src/index.ts +154 -0
  756. package/src/lib/keyed-rows.ts +68 -0
  757. package/src/lib/overlay.ts +70 -0
  758. package/src/lib/themes.ts +490 -0
  759. package/src/lib/tokens.ts +688 -0
  760. package/src/lib/utils.ts +74 -4
  761. package/src/lib/variants.ts +62 -0
  762. package/src/lib/version-notes.ts +35 -0
  763. package/src/styles/base.css +489 -484
  764. package/src/styles/fonts.css +26 -0
  765. package/src/styles/globals.css +14 -3
  766. package/src/styles/theme.css +838 -229
  767. package/LICENSE +0 -201
  768. package/dist/components/account-drawer.d.ts +0 -11
  769. package/dist/components/account-drawer.js +0 -120
  770. package/dist/components/appearance.d.ts +0 -261
  771. package/dist/components/appearance.js +0 -802
  772. package/dist/components/on-screen-controls.d.ts +0 -8
  773. package/dist/components/on-screen-controls.js +0 -162
  774. package/dist/components/scene-settings.d.ts +0 -33
  775. package/dist/components/scene-settings.js +0 -253
  776. package/dist/components/theme-preview.d.ts +0 -40
  777. package/dist/components/theme-preview.js +0 -210
  778. package/dist/components/theme-provider.d.ts +0 -52
  779. package/dist/components/theme-provider.js +0 -128
  780. package/dist/components/theme-swatch.d.ts +0 -12
  781. package/dist/components/theme-swatch.js +0 -66
  782. package/dist/components/theme-toggle.d.ts +0 -7
  783. package/dist/components/theme-toggle.js +0 -64
  784. package/dist/components/ui/badge.d.ts +0 -8
  785. package/dist/components/ui/badge.js +0 -34
  786. package/dist/components/ui/button.d.ts +0 -9
  787. package/dist/components/ui/button.js +0 -52
  788. package/dist/components/ui/card.d.ts +0 -4
  789. package/dist/components/ui/card.js +0 -28
  790. package/dist/components/ui/dialog.d.ts +0 -15
  791. package/dist/components/ui/dialog.js +0 -104
  792. package/dist/components/ui/drawer.d.ts +0 -24
  793. package/dist/components/ui/drawer.js +0 -120
  794. package/dist/components/ui/dropdown-menu.d.ts +0 -35
  795. package/dist/components/ui/dropdown-menu.js +0 -180
  796. package/dist/components/ui/empty.d.ts +0 -12
  797. package/dist/components/ui/field.d.ts +0 -25
  798. package/dist/components/ui/field.js +0 -188
  799. package/dist/components/ui/input.d.ts +0 -3
  800. package/dist/components/ui/input.js +0 -22
  801. package/dist/components/ui/label.d.ts +0 -3
  802. package/dist/components/ui/label.js +0 -17
  803. package/dist/components/ui/radio-group.d.ts +0 -5
  804. package/dist/components/ui/radio-group.js +0 -39
  805. package/dist/components/ui/separator.d.ts +0 -7
  806. package/dist/components/ui/separator.js +0 -20
  807. package/dist/components/ui/skeleton.d.ts +0 -3
  808. package/dist/components/ui/skeleton.js +0 -17
  809. package/dist/components/ui/spinner.d.ts +0 -5
  810. package/dist/components/ui/spinner.js +0 -17
  811. package/dist/components/ui/switch.d.ts +0 -8
  812. package/dist/components/ui/switch.js +0 -59
  813. package/dist/components/ui/tabs.d.ts +0 -11
  814. package/dist/components/ui/tabs.js +0 -57
  815. package/dist/components/ui/toggle-group.d.ts +0 -13
  816. package/dist/components/ui/toggle-group.js +0 -95
  817. package/dist/components/ui/toggle.d.ts +0 -10
  818. package/dist/components/ui/toggle.js +0 -41
  819. package/dist/components/ui/tooltip.d.ts +0 -15
  820. package/dist/components/ui/tooltip.js +0 -55
  821. package/dist/components/version-dialog.d.ts +0 -25
  822. package/dist/components/version-dialog.js +0 -330
  823. package/dist/components/workspace-brand.d.ts +0 -5
  824. package/dist/components/workspace-brand.js +0 -13
  825. package/dist/components/workspace-logo.d.ts +0 -3
  826. package/dist/components/workspace-logo.js +0 -17
  827. package/src/components/account-drawer.tsx +0 -114
  828. package/src/components/appearance.ts +0 -1112
  829. package/src/components/on-screen-controls.tsx +0 -149
  830. package/src/components/scene-settings.tsx +0 -199
  831. package/src/components/theme-preview.tsx +0 -170
  832. package/src/components/theme-provider.tsx +0 -214
  833. package/src/components/theme-swatch.tsx +0 -49
  834. package/src/components/theme-toggle.tsx +0 -48
  835. package/src/components/ui/badge.tsx +0 -40
  836. package/src/components/ui/button.tsx +0 -58
  837. package/src/components/ui/card.tsx +0 -21
  838. package/src/components/ui/dialog.tsx +0 -132
  839. package/src/components/ui/drawer.tsx +0 -168
  840. package/src/components/ui/dropdown-menu.tsx +0 -235
  841. package/src/components/ui/empty.tsx +0 -97
  842. package/src/components/ui/field.tsx +0 -220
  843. package/src/components/ui/input.tsx +0 -20
  844. package/src/components/ui/label.tsx +0 -19
  845. package/src/components/ui/radio-group.tsx +0 -41
  846. package/src/components/ui/separator.tsx +0 -28
  847. package/src/components/ui/skeleton.tsx +0 -16
  848. package/src/components/ui/spinner.tsx +0 -20
  849. package/src/components/ui/switch.tsx +0 -59
  850. package/src/components/ui/tabs.tsx +0 -76
  851. package/src/components/ui/toggle-group.tsx +0 -98
  852. package/src/components/ui/toggle.tsx +0 -42
  853. package/src/components/ui/tooltip.tsx +0 -61
  854. package/src/components/version-dialog.tsx +0 -368
  855. package/src/components/workspace-brand.tsx +0 -18
  856. package/src/components/workspace-logo.tsx +0 -21
  857. package/src/index.tsx +0 -53
  858. package/src/styles/auth-shell.css +0 -167
  859. package/src/styles/conventional-workspace.css +0 -2858
  860. package/src/styles/dev-view.css +0 -899
  861. package/src/styles/workspace-shell.css +0 -82
  862. package/tsconfig.json +0 -11
@@ -0,0 +1,63 @@
1
+ import { cn } from "../../../lib/utils.js";
2
+ import { Separator } from "../separator/separator.js";
3
+ import { createComponent, insert, mergeProps, spread, template } from "solid-js/web";
4
+ import { splitProps } from "solid-js";
5
+ //#region src/components/ui/button-group/button-group.tsx
6
+ var _tmpl$ = /*#__PURE__*/ template(`<div data-slot=button-group role=group>`);
7
+ var _tmpl$2 = /*#__PURE__*/ template(`<div data-slot=button-group-text>`);
8
+ function ButtonGroup(props) {
9
+ const [local, rest] = splitProps(props, [
10
+ "class",
11
+ "label",
12
+ "orientation",
13
+ "children"
14
+ ]);
15
+ const horizontal = () => local.orientation !== "vertical";
16
+ return (() => {
17
+ var _el$ = _tmpl$();
18
+ spread(_el$, mergeProps({
19
+ get ["aria-label"]() {
20
+ return local.label;
21
+ },
22
+ get ["class"]() {
23
+ return cn("flex w-fit items-stretch", horizontal() ? "flex-row" : "flex-col", horizontal() ? "[&>*:first-child]:rounded-e-none [&>*:last-child]:rounded-s-none [&>*:not(:first-child):not(:last-child)]:rounded-none [&>*:not(:first-child)]:-ms-px" : "[&>*:first-child]:rounded-b-none [&>*:last-child]:rounded-t-none [&>*:not(:first-child):not(:last-child)]:rounded-none [&>*:not(:first-child)]:-mt-px", local.class);
24
+ }
25
+ }, rest), false, true);
26
+ insert(_el$, () => local.children);
27
+ return _el$;
28
+ })();
29
+ }
30
+ /**
31
+ * A separator inside a group. `orientation` follows the group: a vertical rule in a
32
+ * horizontal group, and the reverse.
33
+ */
34
+ function ButtonGroupSeparator(props) {
35
+ const [local, rest] = splitProps(props, ["class", "orientation"]);
36
+ return createComponent(Separator, mergeProps({
37
+ get orientation() {
38
+ return local.orientation ?? "vertical";
39
+ },
40
+ get ["class"]() {
41
+ return cn("self-stretch", local.class);
42
+ }
43
+ }, rest));
44
+ }
45
+ /**
46
+ * Static text in a group — a unit, a label, a readout that is not a control. It
47
+ * takes the group's border and height so it sits in the row as a peer, but it is
48
+ * not focusable and does not pretend to be.
49
+ */
50
+ function ButtonGroupText(props) {
51
+ const [local, rest] = splitProps(props, ["class"]);
52
+ return (() => {
53
+ var _el$2 = _tmpl$2();
54
+ spread(_el$2, mergeProps({ get ["class"]() {
55
+ return cn("bg-muted text-muted-foreground flex items-center gap-2 rounded-md border border-border px-control-sm text-sm", local.class);
56
+ } }, rest), false, false);
57
+ return _el$2;
58
+ })();
59
+ }
60
+ //#endregion
61
+ export { ButtonGroup, ButtonGroupSeparator, ButtonGroupText };
62
+
63
+ //# sourceMappingURL=button-group.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"button-group.js","names":["ComponentProps","splitProps","cn","Separator","ButtonGroupProps","label","orientation","ButtonGroup","props","local","rest","horizontal","_el$","_tmpl$","_$spread","_$mergeProps","aria-label","class","_$insert","children","ButtonGroupSeparator","_$createComponent","ButtonGroupText","_el$2","_tmpl$2","_$mergeProps","_$createComponent"],"sources":["../../../../src/components/ui/button-group/button-group.tsx"],"sourcesContent":["import type { ComponentProps } from 'solid-js'\nimport { splitProps } from 'solid-js'\nimport { cn } from '#lib/utils'\nimport { Separator } from '../separator/separator'\n\n/**\n * ButtonGroup.\n *\n * Several controls acting as one. The point is the *join*: the items share a\n * border, collapse the seam between them, and round only at the ends, so a row of\n * buttons reads as a single object with segments rather than as buttons that happen\n * to be adjacent.\n *\n * The joining lives on the group, through child selectors, so an item never has to\n * know whether it sits at an end — which is also where the border collapse belongs.\n * A caller composing a group out of `Button`, `Select` and `InputGroup` therefore\n * gets the same treatment without those components knowing about it.\n *\n * The group is a `role=\"group\"` with a label, because a screen reader announcing\n * four unrelated buttons where the sighted user sees one control is the failure\n * this prevents.\n */\nexport type ButtonGroupProps = ComponentProps<'div'> & {\n /** The group's accessible name. Required: a group with no name is announced as loose buttons. */\n label: string\n orientation?: 'horizontal' | 'vertical'\n}\n\nexport function ButtonGroup(props: ButtonGroupProps) {\n const [local, rest] = splitProps(props, ['class', 'label', 'orientation', 'children'])\n\n const horizontal = () => local.orientation !== 'vertical'\n\n return (\n <div\n data-slot=\"button-group\"\n role=\"group\"\n aria-label={local.label}\n class={cn(\n 'flex w-fit items-stretch',\n horizontal() ? 'flex-row' : 'flex-col',\n /* Ends keep their outer radius; everything between them is squared, and the\n seam is collapsed by pulling each item back over its neighbour's border. */\n horizontal()\n ? '[&>*:first-child]:rounded-e-none [&>*:last-child]:rounded-s-none [&>*:not(:first-child):not(:last-child)]:rounded-none [&>*:not(:first-child)]:-ms-px'\n : '[&>*:first-child]:rounded-b-none [&>*:last-child]:rounded-t-none [&>*:not(:first-child):not(:last-child)]:rounded-none [&>*:not(:first-child)]:-mt-px',\n local.class\n )}\n {...rest}\n >\n {local.children}\n </div>\n )\n}\n\n/**\n * A separator inside a group. `orientation` follows the group: a vertical rule in a\n * horizontal group, and the reverse.\n */\nexport function ButtonGroupSeparator(\n props: ComponentProps<typeof Separator> & { orientation?: 'horizontal' | 'vertical' }\n) {\n const [local, rest] = splitProps(props, ['class', 'orientation'])\n\n return (\n <Separator\n orientation={local.orientation ?? 'vertical'}\n class={cn('self-stretch', local.class)}\n {...rest}\n />\n )\n}\n\n/**\n * Static text in a group — a unit, a label, a readout that is not a control. It\n * takes the group's border and height so it sits in the row as a peer, but it is\n * not focusable and does not pretend to be.\n */\nexport function ButtonGroupText(props: ComponentProps<'div'>) {\n const [local, rest] = splitProps(props, ['class'])\n\n return (\n <div\n data-slot=\"button-group-text\"\n class={cn(\n 'bg-muted text-muted-foreground flex items-center gap-2 rounded-md border border-border px-control-sm text-sm',\n local.class\n )}\n {...rest}\n />\n )\n}\n"],"mappings":";;;;;;;AA4BA,SAAgBO,YAAYC,OAAyB;CACnD,MAAM,CAACC,OAAOC,QAAQT,WAAWO,OAAO;EAAC;EAAS;EAAS;EAAe;CAAU,CAAC;CAErF,MAAMG,mBAAmBF,MAAMH,gBAAgB;CAE/C,cAAA;EAAA,IAAAM,OAAAC,OAAA;EAAAC,OAAAF,MAAAG,WAAA;GAAA,KAAA,gBAAA;IAAA,OAIgBN,MAAMJ;GAAK;GAAA,KAAA,WAAA;IAAA,OAChBH,GACL,4BACAS,WAAW,IAAI,aAAa,YAG5BA,WAAW,IACP,0JACA,yJACJF,MAAMQ,KACR;GAAC;EAAA,GACGP,IAAI,GAAA,OAAA,IAAA;EAAAQ,OAAAN,YAEPH,MAAMU,QAAQ;EAAA,OAAAP;CAAA,EAAA,CAAA;AAGrB;;;;;AAMA,SAAgBQ,qBACdZ,OACA;CACA,MAAM,CAACC,OAAOC,QAAQT,WAAWO,OAAO,CAAC,SAAS,aAAa,CAAC;CAEhE,OAAAa,gBACGlB,WAASY,WAAA;EAAA,IACRT,cAAW;GAAA,OAAEG,MAAMH,eAAe;EAAU;EAAA,KAAA,WAAA;GAAA,OACrCJ,GAAG,gBAAgBO,MAAMQ,KAAK;EAAC;CAAA,GAClCP,IAAI,CAAA;AAGd;;;;;;AAOA,SAAgBY,gBAAgBd,OAA8B;CAC5D,MAAM,CAACC,OAAOC,QAAQT,WAAWO,OAAO,CAAC,OAAO,CAAC;CAEjD,cAAA;EAAA,IAAAe,QAAAC,QAAA;EAAAV,OAAAS,OAAAR,WAAA,EAAA,KAAA,WAAA;GAAA,OAGWb,GACL,gHACAO,MAAMQ,KACR;EAAC,EAAA,GACGP,IAAI,GAAA,OAAA,KAAA;EAAA,OAAAa;CAAA,EAAA,CAAA;AAGd"}
@@ -0,0 +1,2 @@
1
+ export { ButtonGroup, ButtonGroupSeparator, ButtonGroupText, type ButtonGroupProps, } from './button-group';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/button-group/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EACX,oBAAoB,EACpB,eAAe,EACf,KAAK,gBAAgB,GACtB,MAAM,gBAAgB,CAAA"}
@@ -0,0 +1,93 @@
1
+ import { type ComponentProps, type JSX } from 'solid-js';
2
+ import Calendar, { type RootProps as CorvuCalendarProps, type RootSingleProps } from '@corvu/calendar';
3
+ /** The three modes corvu's calendar is a union over. */
4
+ export type CalendarMode = 'single' | 'multiple' | 'range';
5
+ /**
6
+ * Calendar.
7
+ *
8
+ * A month grid, over `@corvu/calendar`. The primitive owns the hard part — the
9
+ * roving `tabindex` that makes a grid of days one tab stop rather than 42, the
10
+ * arrow-key navigation, the `aria-selected`/`aria-disabled` bookkeeping, and the
11
+ * `data-*` attributes that carry the states.
12
+ *
13
+ * What this component owns is the *presentation* of those states, and it is worth
14
+ * saying why they are styled from `data-*` rather than from props: a day is today,
15
+ * selected, in range, at a range end, and disabled independently, and a range
16
+ * start that is also today has to read as both. Boolean props cannot express that
17
+ * without a combinatorial explosion; the data attributes can.
18
+ *
19
+ * `mode` is the primitive's discriminated union — `single`, `multiple`, `range` —
20
+ * so `value` and `onValueChange` change type with it. That is why this forwards
21
+ * the props rather than normalising them: a normalised `Date[]` would lose what a
22
+ * range needs to know which end moved.
23
+ *
24
+ * Three things the primitive leaves open, and this closes:
25
+ *
26
+ * 1. **The month caption is a heading**, wired to the grid's `aria-labelledby`, so
27
+ * the grid has a name and a screen reader user can hear which month they are in.
28
+ * 2. **The nav buttons have accessible names.** A bare chevron is not a name.
29
+ * 3. **Today is a ring, not a fill.** A fill would be indistinguishable from
30
+ * selected, and today is often also selected.
31
+ *
32
+ * The sub-components come off the default export as statics (`Calendar.Cell`,
33
+ * `Calendar.CellTrigger`, …) — corvu's shape, and the reason this file does not
34
+ * import seven names.
35
+ */
36
+ /**
37
+ * The props this wrapper adds on top of the primitive's own. They are separate so
38
+ * `splitProps` has a fixed list to pull out, and so the mode-specific props stay
39
+ * the primitive's to define.
40
+ */
41
+ type CalendarExtras = {
42
+ /** Weekday header labels, Sunday first. Defaults to the locale's short names. */
43
+ weekdayLabels?: readonly string[];
44
+ /** Accessible names for the month navigation. Override for a non-English app. */
45
+ previousLabel?: string;
46
+ nextLabel?: string;
47
+ /** Format a month for the caption. Defaults to `Intl.DateTimeFormat`. */
48
+ formatMonth?: (month: Date) => string;
49
+ class?: string;
50
+ };
51
+ /**
52
+ * `Omit` distributes over a union, which would collapse the three modes into one
53
+ * shape and lose the discriminant. This keeps them apart. `children` is dropped
54
+ * because the surface supplies the grid itself — the caller's job is the value,
55
+ * not the layout.
56
+ */
57
+ type DistributiveOmit<T, K extends PropertyKey> = T extends unknown ? Omit<T, K> : never;
58
+ /** The props of any of the three modes. `mode` decides the shape of `value`. */
59
+ export type CalendarProps = DistributiveOmit<CorvuCalendarProps, 'children'> & CalendarExtras;
60
+ /**
61
+ * Generic over the mode on purpose. `splitProps` cannot carry a discriminant
62
+ * through destructuring — the rest object widens to `mode: 'single' | 'multiple' |
63
+ * 'range'`, which is assignable to no single member of the primitive's union. A
64
+ * type parameter keeps `mode` a literal, so `Extract` resolves the right member
65
+ * and the forwarding stays checked rather than cast.
66
+ */
67
+ export declare function CalendarSurface<M extends CalendarMode>(props: CalendarProps & {
68
+ mode: M;
69
+ }): JSX.Element;
70
+ /**
71
+ * Built from the primitive's *single* props rather than from `CalendarProps` with
72
+ * `mode` omitted. Omitting a discriminant leaves the other members of the union
73
+ * behind — `value` stays `Date | Date[] | {from,to}` — and the picker would then
74
+ * have to cast to prove what its own name already says.
75
+ */
76
+ export type DatePickerProps = Omit<RootSingleProps, 'mode' | 'children'> & CalendarExtras & {
77
+ /** A labelled heading above the grid. */
78
+ label?: string;
79
+ /** A footer slot: the confirm and cancel row a picker usually has. */
80
+ footer?: JSX.Element;
81
+ };
82
+ /**
83
+ * A single-day picker: the calendar with a name and a footer. Split from
84
+ * `CalendarSurface` because a bare calendar is a control inside a form the caller
85
+ * already owns, while a picker is a thing the caller drops in — and the two want
86
+ * different surroundings.
87
+ */
88
+ export declare function DatePicker(props: DatePickerProps): JSX.Element;
89
+ /** Re-exported so a caller can type a value it holds. */
90
+ export type { CalendarProps as CorvuCalendarProps };
91
+ export { Calendar as CalendarRoot };
92
+ export type CalendarElementProps = ComponentProps<'div'>;
93
+ //# sourceMappingURL=calendar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"calendar.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/calendar/calendar.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAyB,KAAK,cAAc,EAAE,KAAK,GAAG,EAAE,MAAM,UAAU,CAAA;AAC/E,OAAO,QAAQ,EAAE,EACf,KAAK,SAAS,IAAI,kBAAkB,EACpC,KAAK,eAAe,EACrB,MAAM,iBAAiB,CAAA;AAExB,wDAAwD;AACxD,MAAM,MAAM,YAAY,GAAG,QAAQ,GAAG,UAAU,GAAG,OAAO,CAAA;AAK1D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AAEH;;;;GAIG;AACH,KAAK,cAAc,GAAG;IACpB,iFAAiF;IACjF,aAAa,CAAC,EAAE,SAAS,MAAM,EAAE,CAAA;IACjC,iFAAiF;IACjF,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,yEAAyE;IACzE,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,IAAI,KAAK,MAAM,CAAA;IACrC,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAA;AAED;;;;;GAKG;AACH,KAAK,gBAAgB,CAAC,CAAC,EAAE,CAAC,SAAS,WAAW,IAAI,CAAC,SAAS,OAAO,GAAG,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,KAAK,CAAA;AAExF,gFAAgF;AAChF,MAAM,MAAM,aAAa,GAAG,gBAAgB,CAAC,kBAAkB,EAAE,UAAU,CAAC,GAAG,cAAc,CAAA;AA2I7F;;;;;;GAMG;AACH,wBAAgB,eAAe,CAAC,CAAC,SAAS,YAAY,EAAE,KAAK,EAAE,aAAa,GAAG;IAAE,IAAI,EAAE,CAAC,CAAA;CAAE,eAezF;AAED;;;;;GAKG;AACH,MAAM,MAAM,eAAe,GAAG,IAAI,CAAC,eAAe,EAAE,MAAM,GAAG,UAAU,CAAC,GACtE,cAAc,GAAG;IACf,yCAAyC;IACzC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,sEAAsE;IACtE,MAAM,CAAC,EAAE,GAAG,CAAC,OAAO,CAAA;CACrB,CAAA;AAEH;;;;;GAKG;AACH,wBAAgB,UAAU,CAAC,KAAK,EAAE,eAAe,eAmBhD;AAED,yDAAyD;AACzD,YAAY,EAAE,aAAa,IAAI,kBAAkB,EAAE,CAAA;AACnD,OAAO,EAAE,QAAQ,IAAI,YAAY,EAAE,CAAA;AACnC,MAAM,MAAM,oBAAoB,GAAG,cAAc,CAAC,KAAK,CAAC,CAAA"}
@@ -0,0 +1,243 @@
1
+ import { cn } from "../../../lib/utils.js";
2
+ import { Button } from "../button/button.js";
3
+ import { className, createComponent, effect, insert, mergeProps, template } from "solid-js/web";
4
+ import { ChevronLeft, ChevronRight } from "lucide-solid";
5
+ import { For, Show, splitProps } from "solid-js";
6
+ import Calendar from "@corvu/calendar";
7
+ //#region src/components/ui/calendar/calendar.tsx
8
+ var _tmpl$ = /*#__PURE__*/ template(`<thead><tr>`);
9
+ var _tmpl$2 = /*#__PURE__*/ template(`<tbody>`);
10
+ var _tmpl$3 = /*#__PURE__*/ template(`<div class="flex flex-col gap-2"><div class="flex items-center justify-between gap-2">`);
11
+ var _tmpl$4 = /*#__PURE__*/ template(`<tr>`);
12
+ var _tmpl$5 = /*#__PURE__*/ template(`<span aria-hidden=true>`);
13
+ var _tmpl$6 = /*#__PURE__*/ template(`<span class=visually-hidden>`);
14
+ var _tmpl$7 = /*#__PURE__*/ template(`<div>`);
15
+ var _tmpl$8 = /*#__PURE__*/ template(`<p class="text-xs font-semibold text-foreground">`);
16
+ var _tmpl$9 = /*#__PURE__*/ template(`<div class="flex justify-end gap-2">`);
17
+ var EXTRAS = [
18
+ "weekdayLabels",
19
+ "previousLabel",
20
+ "nextLabel",
21
+ "formatMonth",
22
+ "class"
23
+ ];
24
+ var MONTH_FORMAT = {
25
+ month: "long",
26
+ year: "numeric"
27
+ };
28
+ function monthLabel(month, format) {
29
+ return format ? format(month) : new Intl.DateTimeFormat(void 0, MONTH_FORMAT).format(month);
30
+ }
31
+ /**
32
+ * A day's accessible name: the full date, because the visible number is only
33
+ * meaningful next to its column heading.
34
+ */
35
+ function dayLabel(day) {
36
+ return new Intl.DateTimeFormat(void 0, {
37
+ day: "numeric",
38
+ month: "long",
39
+ year: "numeric"
40
+ }).format(day);
41
+ }
42
+ /** The locale's short weekday names, Sunday first — which is the order corvu's `weeks` use. */
43
+ function defaultWeekdays() {
44
+ const format = new Intl.DateTimeFormat(void 0, { weekday: "short" });
45
+ return Array.from({ length: 7 }, (_, index) => format.format(new Date(2024, 0, 7 + index)));
46
+ }
47
+ /**
48
+ * The grid, inside the root's context. A separate component because
49
+ * `Calendar.useContext` is only available to a descendant, and reading `months()`
50
+ * in the same component that provides it renders one month behind.
51
+ */
52
+ function CalendarGrid(props) {
53
+ const context = Calendar.useContext();
54
+ const weekdays = () => props.weekdayLabels ?? defaultWeekdays();
55
+ return createComponent(For, {
56
+ get each() {
57
+ return context.months();
58
+ },
59
+ children: (month, index) => (() => {
60
+ var _el$ = _tmpl$3(), _el$2 = _el$.firstChild;
61
+ insert(_el$2, createComponent(Calendar.Nav, {
62
+ action: "prev-month",
63
+ as: Button,
64
+ variant: "ghost",
65
+ size: "icon-sm",
66
+ get ["aria-label"]() {
67
+ return props.previousLabel;
68
+ },
69
+ get children() {
70
+ return createComponent(ChevronLeft, { "aria-hidden": "true" });
71
+ }
72
+ }), null);
73
+ insert(_el$2, createComponent(Calendar.Label, {
74
+ get index() {
75
+ return index();
76
+ },
77
+ "class": "text-sm font-semibold text-foreground",
78
+ get children() {
79
+ return monthLabel(month.month, props.formatMonth);
80
+ }
81
+ }), null);
82
+ insert(_el$2, createComponent(Calendar.Nav, {
83
+ action: "next-month",
84
+ as: Button,
85
+ variant: "ghost",
86
+ size: "icon-sm",
87
+ get ["aria-label"]() {
88
+ return props.nextLabel;
89
+ },
90
+ get children() {
91
+ return createComponent(ChevronRight, { "aria-hidden": "true" });
92
+ }
93
+ }), null);
94
+ insert(_el$, createComponent(Calendar.Table, {
95
+ "class": "w-full border-collapse",
96
+ get children() {
97
+ return [(() => {
98
+ var _el$3 = _tmpl$(), _el$4 = _el$3.firstChild;
99
+ insert(_el$4, createComponent(For, {
100
+ get each() {
101
+ return weekdays();
102
+ },
103
+ children: (label) => createComponent(Calendar.HeadCell, {
104
+ as: "th",
105
+ scope: "col",
106
+ "class": "pb-1 text-2xs font-medium text-muted-foreground",
107
+ children: label
108
+ })
109
+ }));
110
+ return _el$3;
111
+ })(), (() => {
112
+ var _el$5 = _tmpl$2();
113
+ insert(_el$5, createComponent(For, {
114
+ get each() {
115
+ return month.weeks;
116
+ },
117
+ children: (week) => (() => {
118
+ var _el$6 = _tmpl$4();
119
+ insert(_el$6, createComponent(For, {
120
+ each: week,
121
+ children: (day) => createComponent(Calendar.Cell, {
122
+ as: "td",
123
+ "class": "p-0.5 text-center",
124
+ get children() {
125
+ return createComponent(Calendar.CellTrigger, {
126
+ as: "button",
127
+ day,
128
+ get month() {
129
+ return month.month;
130
+ },
131
+ get ["class"]() {
132
+ return cn("w-full rounded-md text-xs text-foreground transition-colors", "min-h-control-xs", "hover:bg-muted focus-visible:ring-2 focus-visible:ring-ring focus-visible:outline-none", "data-selected:bg-primary data-selected:text-primary-foreground", "data-in-range:bg-primary-subtle", "data-range-start:rounded-r-none data-range-end:rounded-l-none", "data-today:ring-1 data-today:ring-ring", "data-disabled:text-muted-foreground data-disabled:line-through", "data-disabled:hover:bg-transparent");
133
+ },
134
+ get children() {
135
+ return [(() => {
136
+ var _el$7 = _tmpl$5();
137
+ insert(_el$7, () => day.getDate());
138
+ return _el$7;
139
+ })(), (() => {
140
+ var _el$8 = _tmpl$6();
141
+ insert(_el$8, () => dayLabel(day));
142
+ return _el$8;
143
+ })()];
144
+ }
145
+ });
146
+ }
147
+ })
148
+ }));
149
+ return _el$6;
150
+ })()
151
+ }));
152
+ return _el$5;
153
+ })()];
154
+ }
155
+ }), null);
156
+ return _el$;
157
+ })()
158
+ });
159
+ }
160
+ /**
161
+ * Generic over the mode on purpose. `splitProps` cannot carry a discriminant
162
+ * through destructuring — the rest object widens to `mode: 'single' | 'multiple' |
163
+ * 'range'`, which is assignable to no single member of the primitive's union. A
164
+ * type parameter keeps `mode` a literal, so `Extract` resolves the right member
165
+ * and the forwarding stays checked rather than cast.
166
+ */
167
+ function CalendarSurface(props) {
168
+ const [local, rest] = splitProps(props, [...EXTRAS]);
169
+ return (() => {
170
+ var _el$9 = _tmpl$7();
171
+ insert(_el$9, createComponent(Calendar, mergeProps(rest, { get children() {
172
+ return createComponent(CalendarGrid, {
173
+ get weekdayLabels() {
174
+ return local.weekdayLabels;
175
+ },
176
+ get previousLabel() {
177
+ return local.previousLabel ?? "Previous month";
178
+ },
179
+ get nextLabel() {
180
+ return local.nextLabel ?? "Next month";
181
+ },
182
+ get formatMonth() {
183
+ return local.formatMonth;
184
+ }
185
+ });
186
+ } })));
187
+ effect(() => className(_el$9, cn("w-fit rounded-lg border border-border bg-card p-3", local.class)));
188
+ return _el$9;
189
+ })();
190
+ }
191
+ /**
192
+ * A single-day picker: the calendar with a name and a footer. Split from
193
+ * `CalendarSurface` because a bare calendar is a control inside a form the caller
194
+ * already owns, while a picker is a thing the caller drops in — and the two want
195
+ * different surroundings.
196
+ */
197
+ function DatePicker(props) {
198
+ const [local, rest] = splitProps(props, [
199
+ "value",
200
+ "onValueChange",
201
+ "label",
202
+ "footer",
203
+ "class"
204
+ ]);
205
+ return (() => {
206
+ var _el$0 = _tmpl$7();
207
+ insert(_el$0, createComponent(Show, {
208
+ get when() {
209
+ return local.label;
210
+ },
211
+ get children() {
212
+ var _el$1 = _tmpl$8();
213
+ insert(_el$1, () => local.label);
214
+ return _el$1;
215
+ }
216
+ }), null);
217
+ insert(_el$0, createComponent(CalendarSurface, mergeProps(rest, {
218
+ mode: "single",
219
+ get value() {
220
+ return local.value;
221
+ },
222
+ get onValueChange() {
223
+ return local.onValueChange;
224
+ }
225
+ })), null);
226
+ insert(_el$0, createComponent(Show, {
227
+ get when() {
228
+ return local.footer;
229
+ },
230
+ get children() {
231
+ var _el$10 = _tmpl$9();
232
+ insert(_el$10, () => local.footer);
233
+ return _el$10;
234
+ }
235
+ }), null);
236
+ effect(() => className(_el$0, cn("grid w-fit gap-2", local.class)));
237
+ return _el$0;
238
+ })();
239
+ }
240
+ //#endregion
241
+ export { Calendar as CalendarRoot, CalendarSurface, DatePicker };
242
+
243
+ //# sourceMappingURL=calendar.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"calendar.js","names":["For","Show","splitProps","ComponentProps","JSX","Calendar","RootProps","CorvuCalendarProps","RootSingleProps","CalendarMode","ChevronLeft","ChevronRight","cn","Button","CalendarExtras","weekdayLabels","previousLabel","nextLabel","formatMonth","month","Date","class","DistributiveOmit","PropertyKey","T","Omit","K","CalendarProps","EXTRAS","const","MONTH_FORMAT","Intl","DateTimeFormatOptions","year","monthLabel","format","DateTimeFormat","undefined","dayLabel","day","defaultWeekdays","weekday","Array","from","length","_","index","CalendarGrid","props","context","useContext","weekdays","_$createComponent","each","months","children","_el$","_tmpl$3","_el$2","firstChild","_$insert","Nav","action","as","variant","size","aria-label","Label","Table","_el$3","_tmpl$","_el$4","label","HeadCell","scope","_el$5","_tmpl$2","weeks","week","_el$6","_tmpl$4","Cell","CellTrigger","_el$7","_tmpl$5","getDate","_el$8","_tmpl$6","CalendarSurface","mode","M","local","rest","_el$9","_tmpl$7","_$mergeProps","Extract","_$effect","_$className","DatePickerProps","footer","Element","DatePicker","_el$0","when","_el$1","_tmpl$8","value","onValueChange","_el$10","_tmpl$9","CalendarRoot","CalendarElementProps","_$createComponent","_$mergeProps","_$className"],"sources":["../../../../src/components/ui/calendar/calendar.tsx"],"sourcesContent":["import { For, Show, splitProps, type ComponentProps, type JSX } from 'solid-js'\nimport Calendar, {\n type RootProps as CorvuCalendarProps,\n type RootSingleProps,\n} from '@corvu/calendar'\n\n/** The three modes corvu's calendar is a union over. */\nexport type CalendarMode = 'single' | 'multiple' | 'range'\nimport { ChevronLeft, ChevronRight } from 'lucide-solid'\nimport { cn } from '#lib/utils'\nimport { Button } from '../button'\n\n/**\n * Calendar.\n *\n * A month grid, over `@corvu/calendar`. The primitive owns the hard part — the\n * roving `tabindex` that makes a grid of days one tab stop rather than 42, the\n * arrow-key navigation, the `aria-selected`/`aria-disabled` bookkeeping, and the\n * `data-*` attributes that carry the states.\n *\n * What this component owns is the *presentation* of those states, and it is worth\n * saying why they are styled from `data-*` rather than from props: a day is today,\n * selected, in range, at a range end, and disabled independently, and a range\n * start that is also today has to read as both. Boolean props cannot express that\n * without a combinatorial explosion; the data attributes can.\n *\n * `mode` is the primitive's discriminated union — `single`, `multiple`, `range` —\n * so `value` and `onValueChange` change type with it. That is why this forwards\n * the props rather than normalising them: a normalised `Date[]` would lose what a\n * range needs to know which end moved.\n *\n * Three things the primitive leaves open, and this closes:\n *\n * 1. **The month caption is a heading**, wired to the grid's `aria-labelledby`, so\n * the grid has a name and a screen reader user can hear which month they are in.\n * 2. **The nav buttons have accessible names.** A bare chevron is not a name.\n * 3. **Today is a ring, not a fill.** A fill would be indistinguishable from\n * selected, and today is often also selected.\n *\n * The sub-components come off the default export as statics (`Calendar.Cell`,\n * `Calendar.CellTrigger`, …) — corvu's shape, and the reason this file does not\n * import seven names.\n */\n\n/**\n * The props this wrapper adds on top of the primitive's own. They are separate so\n * `splitProps` has a fixed list to pull out, and so the mode-specific props stay\n * the primitive's to define.\n */\ntype CalendarExtras = {\n /** Weekday header labels, Sunday first. Defaults to the locale's short names. */\n weekdayLabels?: readonly string[]\n /** Accessible names for the month navigation. Override for a non-English app. */\n previousLabel?: string\n nextLabel?: string\n /** Format a month for the caption. Defaults to `Intl.DateTimeFormat`. */\n formatMonth?: (month: Date) => string\n class?: string\n}\n\n/**\n * `Omit` distributes over a union, which would collapse the three modes into one\n * shape and lose the discriminant. This keeps them apart. `children` is dropped\n * because the surface supplies the grid itself — the caller's job is the value,\n * not the layout.\n */\ntype DistributiveOmit<T, K extends PropertyKey> = T extends unknown ? Omit<T, K> : never\n\n/** The props of any of the three modes. `mode` decides the shape of `value`. */\nexport type CalendarProps = DistributiveOmit<CorvuCalendarProps, 'children'> & CalendarExtras\n\nconst EXTRAS = ['weekdayLabels', 'previousLabel', 'nextLabel', 'formatMonth', 'class'] as const\n\nconst MONTH_FORMAT: Intl.DateTimeFormatOptions = { month: 'long', year: 'numeric' }\n\nfunction monthLabel(month: Date, format?: (month: Date) => string): string {\n return format ? format(month) : new Intl.DateTimeFormat(undefined, MONTH_FORMAT).format(month)\n}\n\n/**\n * A day's accessible name: the full date, because the visible number is only\n * meaningful next to its column heading.\n */\nfunction dayLabel(day: Date): string {\n return new Intl.DateTimeFormat(undefined, {\n day: 'numeric',\n month: 'long',\n year: 'numeric',\n }).format(day)\n}\n\n/** The locale's short weekday names, Sunday first — which is the order corvu's `weeks` use. */\nfunction defaultWeekdays(): string[] {\n const format = new Intl.DateTimeFormat(undefined, { weekday: 'short' })\n // 2024-01-07 is a Sunday, so index 0 is Sunday without arithmetic.\n return Array.from({ length: 7 }, (_, index) => format.format(new Date(2024, 0, 7 + index)))\n}\n\n/**\n * The grid, inside the root's context. A separate component because\n * `Calendar.useContext` is only available to a descendant, and reading `months()`\n * in the same component that provides it renders one month behind.\n */\nfunction CalendarGrid(props: {\n weekdayLabels?: readonly string[]\n previousLabel: string\n nextLabel: string\n formatMonth?: (month: Date) => string\n}) {\n const context = Calendar.useContext()\n const weekdays = () => props.weekdayLabels ?? defaultWeekdays()\n\n return (\n <For each={context.months()}>\n {(month, index) => (\n <div class=\"flex flex-col gap-2\">\n <div class=\"flex items-center justify-between gap-2\">\n <Calendar.Nav\n action=\"prev-month\"\n as={Button}\n variant=\"ghost\"\n size=\"icon-sm\"\n aria-label={props.previousLabel}\n >\n <ChevronLeft aria-hidden=\"true\" />\n </Calendar.Nav>\n <Calendar.Label index={index()} class=\"text-sm font-semibold text-foreground\">\n {monthLabel(month.month, props.formatMonth)}\n </Calendar.Label>\n <Calendar.Nav\n action=\"next-month\"\n as={Button}\n variant=\"ghost\"\n size=\"icon-sm\"\n aria-label={props.nextLabel}\n >\n <ChevronRight aria-hidden=\"true\" />\n </Calendar.Nav>\n </div>\n <Calendar.Table class=\"w-full border-collapse\">\n <thead>\n <tr>\n <For each={weekdays()}>\n {(label) => (\n <Calendar.HeadCell\n as=\"th\"\n scope=\"col\"\n class=\"pb-1 text-2xs font-medium text-muted-foreground\"\n >\n {label}\n </Calendar.HeadCell>\n )}\n </For>\n </tr>\n </thead>\n <tbody>\n <For each={month.weeks}>\n {(week) => (\n <tr>\n <For each={week}>\n {(day) => (\n <Calendar.Cell as=\"td\" class=\"p-0.5 text-center\">\n <Calendar.CellTrigger\n as=\"button\"\n day={day}\n month={month.month}\n class={cn(\n 'w-full rounded-md text-xs text-foreground transition-colors',\n 'min-h-control-xs',\n 'hover:bg-muted focus-visible:ring-2 focus-visible:ring-ring focus-visible:outline-none',\n // Styled from data states, so a day can be a range\n // end and today at once without a prop per pair.\n 'data-selected:bg-primary data-selected:text-primary-foreground',\n 'data-in-range:bg-primary-subtle',\n 'data-range-start:rounded-r-none data-range-end:rounded-l-none',\n 'data-today:ring-1 data-today:ring-ring',\n 'data-disabled:text-muted-foreground data-disabled:line-through',\n 'data-disabled:hover:bg-transparent'\n )}\n >\n {/*\n The trigger renders no children of its own, so the\n day number is the caller's — without it every cell\n is an unnamed button (`button-name`).\n\n The number is what a sighted reader needs and the\n full date is what a screen reader user needs: \"25\"\n alone is meaningless out of context. So the number\n is hidden from the accessibility tree and the date\n supplies the name.\n */}\n <span aria-hidden=\"true\">{day.getDate()}</span>\n <span class=\"visually-hidden\">{dayLabel(day)}</span>\n </Calendar.CellTrigger>\n </Calendar.Cell>\n )}\n </For>\n </tr>\n )}\n </For>\n </tbody>\n </Calendar.Table>\n </div>\n )}\n </For>\n )\n}\n\n/**\n * Generic over the mode on purpose. `splitProps` cannot carry a discriminant\n * through destructuring — the rest object widens to `mode: 'single' | 'multiple' |\n * 'range'`, which is assignable to no single member of the primitive's union. A\n * type parameter keeps `mode` a literal, so `Extract` resolves the right member\n * and the forwarding stays checked rather than cast.\n */\nexport function CalendarSurface<M extends CalendarMode>(props: CalendarProps & { mode: M }) {\n const [local, rest] = splitProps(props as CalendarProps, [...EXTRAS])\n\n return (\n <div class={cn('w-fit rounded-lg border border-border bg-card p-3', local.class)}>\n <Calendar {...(rest as Extract<CorvuCalendarProps, { mode: M }>)}>\n <CalendarGrid\n weekdayLabels={local.weekdayLabels}\n previousLabel={local.previousLabel ?? 'Previous month'}\n nextLabel={local.nextLabel ?? 'Next month'}\n formatMonth={local.formatMonth}\n />\n </Calendar>\n </div>\n )\n}\n\n/**\n * Built from the primitive's *single* props rather than from `CalendarProps` with\n * `mode` omitted. Omitting a discriminant leaves the other members of the union\n * behind — `value` stays `Date | Date[] | {from,to}` — and the picker would then\n * have to cast to prove what its own name already says.\n */\nexport type DatePickerProps = Omit<RootSingleProps, 'mode' | 'children'> &\n CalendarExtras & {\n /** A labelled heading above the grid. */\n label?: string\n /** A footer slot: the confirm and cancel row a picker usually has. */\n footer?: JSX.Element\n }\n\n/**\n * A single-day picker: the calendar with a name and a footer. Split from\n * `CalendarSurface` because a bare calendar is a control inside a form the caller\n * already owns, while a picker is a thing the caller drops in — and the two want\n * different surroundings.\n */\nexport function DatePicker(props: DatePickerProps) {\n const [local, rest] = splitProps(props, ['value', 'onValueChange', 'label', 'footer', 'class'])\n\n return (\n <div class={cn('grid w-fit gap-2', local.class)}>\n <Show when={local.label}>\n <p class=\"text-xs font-semibold text-foreground\">{local.label}</p>\n </Show>\n <CalendarSurface\n {...rest}\n mode=\"single\"\n value={local.value}\n onValueChange={local.onValueChange}\n />\n <Show when={local.footer}>\n <div class=\"flex justify-end gap-2\">{local.footer}</div>\n </Show>\n </div>\n )\n}\n\n/** Re-exported so a caller can type a value it holds. */\nexport type { CalendarProps as CorvuCalendarProps }\nexport { Calendar as CalendarRoot }\nexport type CalendarElementProps = ComponentProps<'div'>\n"],"mappings":";;;;;;;;;;;;;;;;AAuEA,IAAM4B,SAAS;CAAC;CAAiB;CAAiB;CAAa;CAAe;AAAO;AAErF,IAAME,eAA2C;CAAEX,OAAO;CAAQc,MAAM;AAAU;AAElF,SAASC,WAAWf,OAAagB,QAA0C;CACzE,OAAOA,SAASA,OAAOhB,KAAK,IAAI,IAAIY,KAAKK,eAAeC,KAAAA,GAAWP,YAAY,CAAC,CAACK,OAAOhB,KAAK;AAC/F;;;;;AAMA,SAASmB,SAASC,KAAmB;CACnC,OAAO,IAAIR,KAAKK,eAAeC,KAAAA,GAAW;EACxCE,KAAK;EACLpB,OAAO;EACPc,MAAM;CACR,CAAC,CAAC,CAACE,OAAOI,GAAG;AACf;;AAGA,SAASC,kBAA4B;CACnC,MAAML,SAAS,IAAIJ,KAAKK,eAAeC,KAAAA,GAAW,EAAEI,SAAS,QAAQ,CAAC;CAEtE,OAAOC,MAAMC,KAAK,EAAEC,QAAQ,EAAE,IAAIC,GAAGC,UAAUX,OAAOA,OAAO,IAAIf,KAAK,MAAM,GAAG,IAAI0B,KAAK,CAAC,CAAC;AAC5F;;;;;;AAOA,SAASC,aAAaC,OAKnB;CACD,MAAMC,UAAU5C,SAAS6C,WAAW;CACpC,MAAMC,iBAAiBH,MAAMjC,iBAAiByB,gBAAgB;CAE9D,OAAAY,gBACGpD,KAAG;EAAA,IAACqD,OAAI;GAAA,OAAEJ,QAAQK,OAAO;EAAC;EAAAC,WACvBpC,OAAO2B,iBAAK;GAAA,IAAAU,OAAAC,QAAA,GAAAC,QAAAF,KAAAG;GAAAC,OAAAF,OAAAN,gBAGP/C,SAASwD,KAAG;IACXC,QAAM;IACNC,IAAIlD;IACJmD,SAAO;IACPC,MAAI;IAAA,KAAA,gBAAA;KAAA,OACQjB,MAAMhC;IAAa;IAAA,IAAAuC,WAAA;KAAA,OAAAH,gBAE9B1C,aAAW,EAAA,eAAA,OAAA,CAAA;IAAA;GAAA,CAAA,GAAA,IAAA;GAAAkD,OAAAF,OAAAN,gBAEb/C,SAAS8D,OAAK;IAAA,IAACrB,QAAK;KAAA,OAAEA,MAAM;IAAC;IAAA,SAAA;IAAA,IAAAS,WAAA;KAAA,OAC3BrB,WAAWf,MAAMA,OAAO6B,MAAM9B,WAAW;IAAC;GAAA,CAAA,GAAA,IAAA;GAAA0C,OAAAF,OAAAN,gBAE5C/C,SAASwD,KAAG;IACXC,QAAM;IACNC,IAAIlD;IACJmD,SAAO;IACPC,MAAI;IAAA,KAAA,gBAAA;KAAA,OACQjB,MAAM/B;IAAS;IAAA,IAAAsC,WAAA;KAAA,OAAAH,gBAE1BzC,cAAY,EAAA,eAAA,OAAA,CAAA;IAAA;GAAA,CAAA,GAAA,IAAA;GAAAiD,OAAAJ,MAAAJ,gBAGhB/C,SAAS+D,OAAK;IAAA,SAAA;IAAA,IAAAb,WAAA;KAAA,OAAA,QAAA;MAAA,IAAAc,QAAAC,OAAA,GAAAC,QAAAF,MAAAV;MAAAC,OAAAW,OAAAnB,gBAGRpD,KAAG;OAAA,IAACqD,OAAI;QAAA,OAAEF,SAAS;OAAC;OAAAI,WACjBiB,UAAKpB,gBACJ/C,SAASoE,UAAQ;QAChBV,IAAE;QACFW,OAAK;QAAA,SAAA;QAAAnB,UAGJiB;OAAK,CAAA;MAET,CAAA,CAAA;MAAA,OAAAH;KAAA,EAAA,CAAA,UAAA;MAAA,IAAAM,QAAAC,QAAA;MAAAhB,OAAAe,OAAAvB,gBAKJpD,KAAG;OAAA,IAACqD,OAAI;QAAA,OAAElC,MAAM0D;OAAK;OAAAtB,WAClBuB,gBAAI;QAAA,IAAAC,QAAAC,QAAA;QAAApB,OAAAmB,OAAA3B,gBAEDpD,KAAG;SAACqD,MAAMyB;SAAIvB,WACXhB,QAAGa,gBACF/C,SAAS4E,MAAI;UAAClB,IAAE;UAAA,SAAA;UAAA,IAAAR,WAAA;WAAA,OAAAH,gBACd/C,SAAS6E,aAAW;YACnBnB,IAAE;YACGxB;YAAG,IACRpB,QAAK;aAAA,OAAEA,MAAMA;YAAK;YAAA,KAAA,WAAA;aAAA,OACXP,GACL,+DACA,oBACA,0FAGA,kEACA,mCACA,iEACA,0CACA,kEACA,oCACF;YAAC;YAAA,IAAA2C,WAAA;aAAA,OAAA,QAAA;cAAA,IAAA4B,QAAAC,QAAA;cAAAxB,OAAAuB,aAayB5C,IAAI8C,QAAQ,CAAC;cAAA,OAAAF;aAAA,EAAA,CAAA,UAAA;cAAA,IAAAG,QAAAC,QAAA;cAAA3B,OAAA0B,aACRhD,SAASC,GAAG,CAAC;cAAA,OAAA+C;aAAA,EAAA,CAAA,CAAA;YAAA;WAAA,CAAA;UAAA;SAAA,CAAA;QAGjD,CAAA,CAAA;QAAA,OAAAP;OAAA,EAAA,CAAA;MAGN,CAAA,CAAA;MAAA,OAAAJ;KAAA,EAAA,CAAA,CAAA;IAAA;GAAA,CAAA,GAAA,IAAA;GAAA,OAAAnB;EAAA,EAAA,CAAA;CAKV,CAAA;AAGP;;;;;;;;AASA,SAAgBgC,gBAAwCxC,OAAoC;CAC1F,MAAM,CAAC2C,OAAOC,QAAQ1F,WAAW8C,OAAwB,CAAC,GAAGpB,MAAM,CAAC;CAEpE,cAAA;EAAA,IAAAiE,QAAAC,QAAA;EAAAlC,OAAAiC,OAAAzC,gBAEK/C,UAAQ0F,WAAMH,MAAgD,EAAA,IAAArC,WAAA;GAAA,OAAAH,gBAC5DL,cAAY;IAAA,IACXhC,gBAAa;KAAA,OAAE4E,MAAM5E;IAAa;IAAA,IAClCC,gBAAa;KAAA,OAAE2E,MAAM3E,iBAAiB;IAAgB;IAAA,IACtDC,YAAS;KAAA,OAAE0E,MAAM1E,aAAa;IAAY;IAAA,IAC1CC,cAAW;KAAA,OAAEyE,MAAMzE;IAAW;GAAA,CAAA;EAAA,EAAA,CAAA,CAAA,CAAA;EAAA+E,aAAAC,UAAAL,OANxBjF,GAAG,qDAAqD+E,MAAMtE,KAAK,CAAC,CAAA;EAAA,OAAAwE;CAAA,EAAA,CAAA;AAWpF;;;;;;;AAsBA,SAAgBS,WAAWtD,OAAwB;CACjD,MAAM,CAAC2C,OAAOC,QAAQ1F,WAAW8C,OAAO;EAAC;EAAS;EAAiB;EAAS;EAAU;CAAO,CAAC;CAE9F,cAAA;EAAA,IAAAuD,QAAAT,QAAA;EAAAlC,OAAA2C,OAAAnD,gBAEKnD,MAAI;GAAA,IAACuG,OAAI;IAAA,OAAEb,MAAMnB;GAAK;GAAA,IAAAjB,WAAA;IAAA,IAAAkD,QAAAC,QAAA;IAAA9C,OAAA6C,aAC6Bd,MAAMnB,KAAK;IAAA,OAAAiC;GAAA;EAAA,CAAA,GAAA,IAAA;EAAA7C,OAAA2C,OAAAnD,gBAE9DoC,iBAAeO,WACVH,MAAI;GACRH,MAAI;GAAA,IACJkB,QAAK;IAAA,OAAEhB,MAAMgB;GAAK;GAAA,IAClBC,gBAAa;IAAA,OAAEjB,MAAMiB;GAAa;EAAA,CAAA,CAAA,GAAA,IAAA;EAAAhD,OAAA2C,OAAAnD,gBAEnCnD,MAAI;GAAA,IAACuG,OAAI;IAAA,OAAEb,MAAMS;GAAM;GAAA,IAAA7C,WAAA;IAAA,IAAAsD,SAAAC,QAAA;IAAAlD,OAAAiD,cACelB,MAAMS,MAAM;IAAA,OAAAS;GAAA;EAAA,CAAA,GAAA,IAAA;EAAAZ,aAAAC,UAAAK,OAXzC3F,GAAG,oBAAoB+E,MAAMtE,KAAK,CAAC,CAAA;EAAA,OAAAkF;CAAA,EAAA,CAAA;AAenD"}
@@ -0,0 +1,2 @@
1
+ export { CalendarSurface, DatePicker, type CalendarProps, type DatePickerProps } from './calendar';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/calendar/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,UAAU,EAAE,KAAK,aAAa,EAAE,KAAK,eAAe,EAAE,MAAM,YAAY,CAAA"}
@@ -0,0 +1,23 @@
1
+ import type { ComponentProps, JSX } from 'solid-js';
2
+ /**
3
+ * Card.
4
+ *
5
+ * A surface that sits on the canvas. Every card carries its own edge — a
6
+ * border — because in the light theme `--card` and `--background` are both
7
+ * white, and a borderless card there is invisible. Making the border
8
+ * structural rather than optional is what stops one app's cards from reading
9
+ * as floating panels and another's as nothing at all.
10
+ *
11
+ * The parts are separate components rather than a template because a card's
12
+ * header, content and footer have different padding on purpose: the header and
13
+ * footer are tight, the content breathes.
14
+ */
15
+ export declare function Card(props: ComponentProps<'div'>): JSX.Element;
16
+ export declare function CardHeader(props: ComponentProps<'div'>): JSX.Element;
17
+ export declare function CardTitle(props: ComponentProps<'div'>): JSX.Element;
18
+ export declare function CardDescription(props: ComponentProps<'div'>): JSX.Element;
19
+ export declare function CardAction(props: ComponentProps<'div'>): JSX.Element;
20
+ export declare function CardContent(props: ComponentProps<'div'>): JSX.Element;
21
+ export declare function CardFooter(props: ComponentProps<'div'>): JSX.Element;
22
+ export type CardProps = ComponentProps<'div'> & JSX.HTMLAttributes<HTMLDivElement>;
23
+ //# sourceMappingURL=card.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"card.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/card/card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,GAAG,EAAE,MAAM,UAAU,CAAA;AAInD;;;;;;;;;;;;GAYG;AACH,wBAAgB,IAAI,CAAC,KAAK,EAAE,cAAc,CAAC,KAAK,CAAC,eAYhD;AAED,wBAAgB,UAAU,CAAC,KAAK,EAAE,cAAc,CAAC,KAAK,CAAC,eAKtD;AAED,wBAAgB,SAAS,CAAC,KAAK,EAAE,cAAc,CAAC,KAAK,CAAC,eASrD;AAED,wBAAgB,eAAe,CAAC,KAAK,EAAE,cAAc,CAAC,KAAK,CAAC,eAS3D;AAED,wBAAgB,UAAU,CAAC,KAAK,EAAE,cAAc,CAAC,KAAK,CAAC,eAStD;AAED,wBAAgB,WAAW,CAAC,KAAK,EAAE,cAAc,CAAC,KAAK,CAAC,eAGvD;AAED,wBAAgB,UAAU,CAAC,KAAK,EAAE,cAAc,CAAC,KAAK,CAAC,eAGtD;AAED,MAAM,MAAM,SAAS,GAAG,cAAc,CAAC,KAAK,CAAC,GAAG,GAAG,CAAC,cAAc,CAAC,cAAc,CAAC,CAAA"}
@@ -0,0 +1,98 @@
1
+ import { cn } from "../../../lib/utils.js";
2
+ import { mergeProps, spread, template } from "solid-js/web";
3
+ import { splitProps } from "solid-js";
4
+ //#region src/components/ui/card/card.tsx
5
+ var _tmpl$ = /*#__PURE__*/ template(`<div data-slot=card>`);
6
+ var _tmpl$2 = /*#__PURE__*/ template(`<div data-slot=card-header>`);
7
+ var _tmpl$3 = /*#__PURE__*/ template(`<div data-slot=card-title>`);
8
+ var _tmpl$4 = /*#__PURE__*/ template(`<div data-slot=card-description>`);
9
+ var _tmpl$5 = /*#__PURE__*/ template(`<div data-slot=card-action>`);
10
+ var _tmpl$6 = /*#__PURE__*/ template(`<div data-slot=card-content>`);
11
+ var _tmpl$7 = /*#__PURE__*/ template(`<div data-slot=card-footer>`);
12
+ /**
13
+ * Card.
14
+ *
15
+ * A surface that sits on the canvas. Every card carries its own edge — a
16
+ * border — because in the light theme `--card` and `--background` are both
17
+ * white, and a borderless card there is invisible. Making the border
18
+ * structural rather than optional is what stops one app's cards from reading
19
+ * as floating panels and another's as nothing at all.
20
+ *
21
+ * The parts are separate components rather than a template because a card's
22
+ * header, content and footer have different padding on purpose: the header and
23
+ * footer are tight, the content breathes.
24
+ */
25
+ function Card(props) {
26
+ const [local, rest] = splitProps(props, ["class"]);
27
+ return (() => {
28
+ var _el$ = _tmpl$();
29
+ spread(_el$, mergeProps({ get ["class"]() {
30
+ return cn("bg-card text-card-foreground flex flex-col gap-4 rounded-xl border border-border py-4 shadow-xs", local.class);
31
+ } }, rest), false, false);
32
+ return _el$;
33
+ })();
34
+ }
35
+ function CardHeader(props) {
36
+ const [local, rest] = splitProps(props, ["class"]);
37
+ return (() => {
38
+ var _el$2 = _tmpl$2();
39
+ spread(_el$2, mergeProps({ get ["class"]() {
40
+ return cn("flex flex-col gap-1 px-4", local.class);
41
+ } }, rest), false, false);
42
+ return _el$2;
43
+ })();
44
+ }
45
+ function CardTitle(props) {
46
+ const [local, rest] = splitProps(props, ["class"]);
47
+ return (() => {
48
+ var _el$3 = _tmpl$3();
49
+ spread(_el$3, mergeProps({ get ["class"]() {
50
+ return cn("text-base leading-none font-semibold tracking-tight", local.class);
51
+ } }, rest), false, false);
52
+ return _el$3;
53
+ })();
54
+ }
55
+ function CardDescription(props) {
56
+ const [local, rest] = splitProps(props, ["class"]);
57
+ return (() => {
58
+ var _el$4 = _tmpl$4();
59
+ spread(_el$4, mergeProps({ get ["class"]() {
60
+ return cn("text-muted-foreground text-sm", local.class);
61
+ } }, rest), false, false);
62
+ return _el$4;
63
+ })();
64
+ }
65
+ function CardAction(props) {
66
+ const [local, rest] = splitProps(props, ["class"]);
67
+ return (() => {
68
+ var _el$5 = _tmpl$5();
69
+ spread(_el$5, mergeProps({ get ["class"]() {
70
+ return cn("col-start-2 row-span-2 row-start-1 self-start justify-self-end", local.class);
71
+ } }, rest), false, false);
72
+ return _el$5;
73
+ })();
74
+ }
75
+ function CardContent(props) {
76
+ const [local, rest] = splitProps(props, ["class"]);
77
+ return (() => {
78
+ var _el$6 = _tmpl$6();
79
+ spread(_el$6, mergeProps({ get ["class"]() {
80
+ return cn("px-4", local.class);
81
+ } }, rest), false, false);
82
+ return _el$6;
83
+ })();
84
+ }
85
+ function CardFooter(props) {
86
+ const [local, rest] = splitProps(props, ["class"]);
87
+ return (() => {
88
+ var _el$7 = _tmpl$7();
89
+ spread(_el$7, mergeProps({ get ["class"]() {
90
+ return cn("flex items-center px-4", local.class);
91
+ } }, rest), false, false);
92
+ return _el$7;
93
+ })();
94
+ }
95
+ //#endregion
96
+ export { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle };
97
+
98
+ //# sourceMappingURL=card.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"card.js","names":["ComponentProps","JSX","splitProps","cn","Card","props","local","rest","_el$","_tmpl$","_$spread","_$mergeProps","class","CardHeader","_el$2","_tmpl$2","CardTitle","_el$3","_tmpl$3","CardDescription","_el$4","_tmpl$4","CardAction","_el$5","_tmpl$5","CardContent","_el$6","_tmpl$6","CardFooter","_el$7","_tmpl$7","CardProps","HTMLAttributes","HTMLDivElement","_$mergeProps"],"sources":["../../../../src/components/ui/card/card.tsx"],"sourcesContent":["import type { ComponentProps, JSX } from 'solid-js'\nimport { splitProps } from 'solid-js'\nimport { cn } from '#lib/utils'\n\n/**\n * Card.\n *\n * A surface that sits on the canvas. Every card carries its own edge — a\n * border — because in the light theme `--card` and `--background` are both\n * white, and a borderless card there is invisible. Making the border\n * structural rather than optional is what stops one app's cards from reading\n * as floating panels and another's as nothing at all.\n *\n * The parts are separate components rather than a template because a card's\n * header, content and footer have different padding on purpose: the header and\n * footer are tight, the content breathes.\n */\nexport function Card(props: ComponentProps<'div'>) {\n const [local, rest] = splitProps(props, ['class'])\n return (\n <div\n data-slot=\"card\"\n class={cn(\n 'bg-card text-card-foreground flex flex-col gap-4 rounded-xl border border-border py-4 shadow-xs',\n local.class\n )}\n {...rest}\n />\n )\n}\n\nexport function CardHeader(props: ComponentProps<'div'>) {\n const [local, rest] = splitProps(props, ['class'])\n return (\n <div data-slot=\"card-header\" class={cn('flex flex-col gap-1 px-4', local.class)} {...rest} />\n )\n}\n\nexport function CardTitle(props: ComponentProps<'div'>) {\n const [local, rest] = splitProps(props, ['class'])\n return (\n <div\n data-slot=\"card-title\"\n class={cn('text-base leading-none font-semibold tracking-tight', local.class)}\n {...rest}\n />\n )\n}\n\nexport function CardDescription(props: ComponentProps<'div'>) {\n const [local, rest] = splitProps(props, ['class'])\n return (\n <div\n data-slot=\"card-description\"\n class={cn('text-muted-foreground text-sm', local.class)}\n {...rest}\n />\n )\n}\n\nexport function CardAction(props: ComponentProps<'div'>) {\n const [local, rest] = splitProps(props, ['class'])\n return (\n <div\n data-slot=\"card-action\"\n class={cn('col-start-2 row-span-2 row-start-1 self-start justify-self-end', local.class)}\n {...rest}\n />\n )\n}\n\nexport function CardContent(props: ComponentProps<'div'>) {\n const [local, rest] = splitProps(props, ['class'])\n return <div data-slot=\"card-content\" class={cn('px-4', local.class)} {...rest} />\n}\n\nexport function CardFooter(props: ComponentProps<'div'>) {\n const [local, rest] = splitProps(props, ['class'])\n return <div data-slot=\"card-footer\" class={cn('flex items-center px-4', local.class)} {...rest} />\n}\n\nexport type CardProps = ComponentProps<'div'> & JSX.HTMLAttributes<HTMLDivElement>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAiBA,SAAgBI,KAAKC,OAA8B;CACjD,MAAM,CAACC,OAAOC,QAAQL,WAAWG,OAAO,CAAC,OAAO,CAAC;CACjD,cAAA;EAAA,IAAAG,OAAAC,OAAA;EAAAC,OAAAF,MAAAG,WAAA,EAAA,KAAA,WAAA;GAAA,OAGWR,GACL,mGACAG,MAAMM,KACR;EAAC,EAAA,GACGL,IAAI,GAAA,OAAA,KAAA;EAAA,OAAAC;CAAA,EAAA,CAAA;AAGd;AAEA,SAAgBK,WAAWR,OAA8B;CACvD,MAAM,CAACC,OAAOC,QAAQL,WAAWG,OAAO,CAAC,OAAO,CAAC;CACjD,cAAA;EAAA,IAAAS,QAAAC,QAAA;EAAAL,OAAAI,OAAAH,WAAA,EAAA,KAAA,WAAA;GAAA,OACsCR,GAAG,4BAA4BG,MAAMM,KAAK;EAAC,EAAA,GAAML,IAAI,GAAA,OAAA,KAAA;EAAA,OAAAO;CAAA,EAAA,CAAA;AAE7F;AAEA,SAAgBE,UAAUX,OAA8B;CACtD,MAAM,CAACC,OAAOC,QAAQL,WAAWG,OAAO,CAAC,OAAO,CAAC;CACjD,cAAA;EAAA,IAAAY,QAAAC,QAAA;EAAAR,OAAAO,OAAAN,WAAA,EAAA,KAAA,WAAA;GAAA,OAGWR,GAAG,uDAAuDG,MAAMM,KAAK;EAAC,EAAA,GACzEL,IAAI,GAAA,OAAA,KAAA;EAAA,OAAAU;CAAA,EAAA,CAAA;AAGd;AAEA,SAAgBE,gBAAgBd,OAA8B;CAC5D,MAAM,CAACC,OAAOC,QAAQL,WAAWG,OAAO,CAAC,OAAO,CAAC;CACjD,cAAA;EAAA,IAAAe,QAAAC,QAAA;EAAAX,OAAAU,OAAAT,WAAA,EAAA,KAAA,WAAA;GAAA,OAGWR,GAAG,iCAAiCG,MAAMM,KAAK;EAAC,EAAA,GACnDL,IAAI,GAAA,OAAA,KAAA;EAAA,OAAAa;CAAA,EAAA,CAAA;AAGd;AAEA,SAAgBE,WAAWjB,OAA8B;CACvD,MAAM,CAACC,OAAOC,QAAQL,WAAWG,OAAO,CAAC,OAAO,CAAC;CACjD,cAAA;EAAA,IAAAkB,QAAAC,QAAA;EAAAd,OAAAa,OAAAZ,WAAA,EAAA,KAAA,WAAA;GAAA,OAGWR,GAAG,kEAAkEG,MAAMM,KAAK;EAAC,EAAA,GACpFL,IAAI,GAAA,OAAA,KAAA;EAAA,OAAAgB;CAAA,EAAA,CAAA;AAGd;AAEA,SAAgBE,YAAYpB,OAA8B;CACxD,MAAM,CAACC,OAAOC,QAAQL,WAAWG,OAAO,CAAC,OAAO,CAAC;CACjD,cAAA;EAAA,IAAAqB,QAAAC,QAAA;EAAAjB,OAAAgB,OAAAf,WAAA,EAAA,KAAA,WAAA;GAAA,OAA4CR,GAAG,QAAQG,MAAMM,KAAK;EAAC,EAAA,GAAML,IAAI,GAAA,OAAA,KAAA;EAAA,OAAAmB;CAAA,EAAA,CAAA;AAC/E;AAEA,SAAgBE,WAAWvB,OAA8B;CACvD,MAAM,CAACC,OAAOC,QAAQL,WAAWG,OAAO,CAAC,OAAO,CAAC;CACjD,cAAA;EAAA,IAAAwB,QAAAC,QAAA;EAAApB,OAAAmB,OAAAlB,WAAA,EAAA,KAAA,WAAA;GAAA,OAA2CR,GAAG,0BAA0BG,MAAMM,KAAK;EAAC,EAAA,GAAML,IAAI,GAAA,OAAA,KAAA;EAAA,OAAAsB;CAAA,EAAA,CAAA;AAChG"}
@@ -0,0 +1,2 @@
1
+ export { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, type CardProps, } from './card';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/ui/card/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,IAAI,EACJ,UAAU,EACV,WAAW,EACX,eAAe,EACf,UAAU,EACV,UAAU,EACV,SAAS,EACT,KAAK,SAAS,GACf,MAAM,QAAQ,CAAA"}