@devalok/shilp-sutra 0.53.0 → 0.55.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 (429) hide show
  1. package/AGENTS.md +7 -1
  2. package/BREAKING.json +29 -0
  3. package/MIGRATION.md +83 -0
  4. package/dist/_chunks/badge-group.js +1 -1
  5. package/dist/_chunks/popover.js +38 -37
  6. package/dist/_chunks/popover.js.map +1 -1
  7. package/dist/_chunks/primitives/react-accordion.js +270 -0
  8. package/dist/_chunks/primitives/react-accordion.js.map +1 -0
  9. package/dist/_chunks/primitives/react-alert-dialog.js +857 -0
  10. package/dist/_chunks/primitives/react-alert-dialog.js.map +1 -0
  11. package/dist/_chunks/primitives/react-aspect-ratio.js +32 -0
  12. package/dist/_chunks/primitives/react-aspect-ratio.js.map +1 -0
  13. package/dist/_chunks/primitives/react-avatar.js +69 -0
  14. package/dist/_chunks/primitives/react-avatar.js.map +1 -0
  15. package/dist/_chunks/primitives/react-checkbox.js +151 -0
  16. package/dist/_chunks/primitives/react-checkbox.js.map +1 -0
  17. package/dist/_chunks/primitives/react-context-menu.js +905 -0
  18. package/dist/_chunks/primitives/react-context-menu.js.map +1 -0
  19. package/dist/_chunks/primitives/react-dropdown-menu.js +220 -0
  20. package/dist/_chunks/primitives/react-dropdown-menu.js.map +1 -0
  21. package/dist/_chunks/primitives/react-hover-card.js +153 -0
  22. package/dist/_chunks/primitives/react-hover-card.js.map +1 -0
  23. package/dist/_chunks/primitives/react-label.js +16 -0
  24. package/dist/_chunks/primitives/react-label.js.map +1 -0
  25. package/dist/_chunks/primitives/react-menubar.js +304 -0
  26. package/dist/_chunks/primitives/react-menubar.js.map +1 -0
  27. package/dist/_chunks/primitives/react-navigation-menu.js +560 -0
  28. package/dist/_chunks/primitives/react-navigation-menu.js.map +1 -0
  29. package/dist/_chunks/primitives/react-popover.js +186 -0
  30. package/dist/_chunks/primitives/react-popover.js.map +1 -0
  31. package/dist/_chunks/primitives/react-progress.js +70 -0
  32. package/dist/_chunks/primitives/react-progress.js.map +1 -0
  33. package/dist/_chunks/primitives/react-radio-group.js +170 -0
  34. package/dist/_chunks/primitives/react-radio-group.js.map +1 -0
  35. package/dist/_chunks/primitives/react-select.js +671 -0
  36. package/dist/_chunks/primitives/react-select.js.map +1 -0
  37. package/dist/_chunks/primitives/react-separator.js +24 -0
  38. package/dist/_chunks/primitives/react-separator.js.map +1 -0
  39. package/dist/_chunks/primitives/react-slider.js +349 -0
  40. package/dist/_chunks/primitives/react-slider.js.map +1 -0
  41. package/dist/_chunks/primitives/react-switch.js +92 -0
  42. package/dist/_chunks/primitives/react-switch.js.map +1 -0
  43. package/dist/_chunks/primitives/react-tabs.js +114 -0
  44. package/dist/_chunks/primitives/react-tabs.js.map +1 -0
  45. package/dist/_chunks/primitives/react-toggle-group.js +122 -0
  46. package/dist/_chunks/primitives/react-toggle-group.js.map +1 -0
  47. package/dist/_chunks/primitives/react-toggle.js +28 -0
  48. package/dist/_chunks/primitives/react-toggle.js.map +1 -0
  49. package/dist/_chunks/primitives/react-tooltip.js +341 -0
  50. package/dist/_chunks/primitives/react-tooltip.js.map +1 -0
  51. package/dist/_chunks/primitives-internal.js +2071 -0
  52. package/dist/_chunks/primitives-internal.js.map +1 -0
  53. package/dist/_chunks/shared.js +32 -32
  54. package/dist/_chunks/tiptap.js +1 -1
  55. package/dist/ai/ai-command-provider.d.ts +2 -3
  56. package/dist/ai/block-renderer.d.ts +1 -2
  57. package/dist/ai/blocks/block-shell.d.ts +0 -1
  58. package/dist/ai/blocks/block-table.d.ts +1 -2
  59. package/dist/ai/blocks/confirm.d.ts +1 -2
  60. package/dist/ai/blocks/divider.d.ts +1 -2
  61. package/dist/ai/blocks/error.d.ts +1 -2
  62. package/dist/ai/blocks/index.d.ts +7 -8
  63. package/dist/ai/blocks/info.d.ts +1 -2
  64. package/dist/ai/blocks/loading.d.ts +1 -2
  65. package/dist/ai/blocks/stat-row.d.ts +1 -2
  66. package/dist/ai/blocks/success.d.ts +1 -2
  67. package/dist/ai/blocks/text.d.ts +1 -2
  68. package/dist/ai/command-bar.d.ts +1 -2
  69. package/dist/ai/conversation.d.ts +2 -3
  70. package/dist/ai/devadoot-icon.d.ts +0 -1
  71. package/dist/ai/index.d.ts +16 -17
  72. package/dist/ai/types.js +1 -0
  73. package/dist/composed/activity-feed.d.ts +1 -2
  74. package/dist/composed/avatar-group.d.ts +11 -10
  75. package/dist/composed/avatar-group.d.ts.map +1 -1
  76. package/dist/composed/avatar-group.js +108 -140
  77. package/dist/composed/avatar-group.js.map +1 -1
  78. package/dist/composed/bulk-action-bar.d.ts +20 -13
  79. package/dist/composed/bulk-action-bar.d.ts.map +1 -1
  80. package/dist/composed/bulk-action-bar.js +81 -110
  81. package/dist/composed/bulk-action-bar.js.map +1 -1
  82. package/dist/composed/command-palette.d.ts +1 -2
  83. package/dist/composed/confirm-dialog.d.ts +0 -1
  84. package/dist/composed/date-picker/calendar-grid.d.ts +0 -1
  85. package/dist/composed/date-picker/date-picker.d.ts +0 -1
  86. package/dist/composed/date-picker/date-range-picker.d.ts +1 -2
  87. package/dist/composed/date-picker/date-time-picker.d.ts +0 -1
  88. package/dist/composed/date-picker/index.d.ts +17 -18
  89. package/dist/composed/date-picker/month-picker.d.ts +0 -1
  90. package/dist/composed/date-picker/presets.d.ts +0 -1
  91. package/dist/composed/date-picker/time-picker.d.ts +0 -1
  92. package/dist/composed/date-picker/use-calendar.d.ts +0 -1
  93. package/dist/composed/date-picker/year-picker.d.ts +0 -1
  94. package/dist/composed/deadline-indicator.d.ts +0 -1
  95. package/dist/composed/diff.d.ts +0 -1
  96. package/dist/composed/emoji-picker.d.ts +0 -1
  97. package/dist/composed/empty-state.d.ts +1 -2
  98. package/dist/composed/error-boundary.d.ts +15 -4
  99. package/dist/composed/error-boundary.d.ts.map +1 -1
  100. package/dist/composed/error-boundary.js +43 -26
  101. package/dist/composed/error-boundary.js.map +1 -1
  102. package/dist/composed/extensions/emoji-data.d.ts +0 -1
  103. package/dist/composed/extensions/emoji-node.d.ts +0 -1
  104. package/dist/composed/extensions/emoji-suggestion.d.ts +1 -2
  105. package/dist/composed/extensions/file-attachment.d.ts +0 -1
  106. package/dist/composed/extensions/mention-suggestion.d.ts +1 -2
  107. package/dist/composed/extensions/slash-command.d.ts +0 -1
  108. package/dist/composed/file-preview/audio-preview.d.ts +0 -1
  109. package/dist/composed/file-preview/document-preview.d.ts +0 -1
  110. package/dist/composed/file-preview/embed-preview.d.ts +0 -1
  111. package/dist/composed/file-preview/image-preview.d.ts +0 -1
  112. package/dist/composed/file-preview/shared.d.ts +0 -1
  113. package/dist/composed/file-preview/video-preview.d.ts +0 -1
  114. package/dist/composed/file-preview.d.ts +0 -1
  115. package/dist/composed/filter-bar.d.ts +0 -1
  116. package/dist/composed/form-section.d.ts +0 -1
  117. package/dist/composed/global-loading.d.ts +0 -1
  118. package/dist/composed/index.d.ts +49 -50
  119. package/dist/composed/inline-edit.d.ts +0 -1
  120. package/dist/composed/loading-skeleton.d.ts +2 -0
  121. package/dist/composed/loading-skeleton.d.ts.map +1 -1
  122. package/dist/composed/loading-skeleton.js +79 -56
  123. package/dist/composed/loading-skeleton.js.map +1 -1
  124. package/dist/composed/markdown-viewer.d.ts +0 -1
  125. package/dist/composed/master-detail.d.ts +21 -9
  126. package/dist/composed/master-detail.d.ts.map +1 -1
  127. package/dist/composed/master-detail.js +91 -77
  128. package/dist/composed/master-detail.js.map +1 -1
  129. package/dist/composed/member-picker.d.ts +0 -1
  130. package/dist/composed/multi-select-popover.d.ts +0 -1
  131. package/dist/composed/page-skeletons.d.ts +6 -0
  132. package/dist/composed/page-skeletons.d.ts.map +1 -1
  133. package/dist/composed/page-skeletons.js +93 -71
  134. package/dist/composed/page-skeletons.js.map +1 -1
  135. package/dist/composed/priority-indicator.d.ts +0 -1
  136. package/dist/composed/responsive-modal.d.ts +1 -2
  137. package/dist/composed/responsive-modal.js +47 -47
  138. package/dist/composed/rich-chat-input/attachment-strip.d.ts +0 -1
  139. package/dist/composed/rich-chat-input/audio-player.d.ts +0 -1
  140. package/dist/composed/rich-chat-input/audio-waveform.d.ts +0 -1
  141. package/dist/composed/rich-chat-input/chat-toolbar.d.ts +0 -1
  142. package/dist/composed/rich-chat-input/recording-overlay.d.ts +0 -1
  143. package/dist/composed/rich-chat-input/reply-banner.d.ts +0 -1
  144. package/dist/composed/rich-chat-input/schedule-send.d.ts +0 -1
  145. package/dist/composed/rich-chat-input/use-voice-recorder.d.ts +0 -1
  146. package/dist/composed/rich-chat-input.d.ts +9 -10
  147. package/dist/composed/rich-chat-input.js +1 -1
  148. package/dist/composed/rich-text-editor.d.ts +1 -2
  149. package/dist/composed/schedule-view.d.ts +0 -1
  150. package/dist/composed/simple-tooltip.d.ts +0 -1
  151. package/dist/composed/status-badge.d.ts +1 -2
  152. package/dist/hooks/index.d.ts +6 -7
  153. package/dist/hooks/use-color-mode.d.ts +0 -1
  154. package/dist/hooks/use-mobile.d.ts +0 -1
  155. package/dist/hooks/use-touch-device.d.ts +0 -1
  156. package/dist/hooks/use-viewport-height.d.ts +0 -1
  157. package/dist/motion/check-motion-provider.d.ts +0 -1
  158. package/dist/motion/index.d.ts +2 -3
  159. package/dist/motion/motion-provider.d.ts +1 -2
  160. package/dist/motion/primitives-index.d.ts +1 -2
  161. package/dist/motion/primitives.d.ts +1 -2
  162. package/dist/primitives/_internal/react-arrow.d.ts +1 -1
  163. package/dist/primitives/_internal/react-collection.d.ts +2 -2
  164. package/dist/primitives/_internal/react-dismissable-layer.d.ts +1 -1
  165. package/dist/primitives/_internal/react-focus-scope.d.ts +1 -1
  166. package/dist/primitives/_internal/react-popper.d.ts +4 -4
  167. package/dist/primitives/_internal/react-portal.d.ts +1 -1
  168. package/dist/primitives/_internal/react-use-rect.d.ts +1 -1
  169. package/dist/primitives/react-accordion.d.ts +3 -3
  170. package/dist/primitives/react-alert-dialog.d.ts +2 -2
  171. package/dist/primitives/react-aspect-ratio.d.ts +1 -1
  172. package/dist/primitives/react-avatar.d.ts +2 -2
  173. package/dist/primitives/react-checkbox.d.ts +3 -3
  174. package/dist/primitives/react-collapsible.d.ts +2 -2
  175. package/dist/primitives/react-context-menu.d.ts +3 -3
  176. package/dist/primitives/react-dialog.d.ts +5 -5
  177. package/dist/primitives/react-dropdown-menu.d.ts +3 -3
  178. package/dist/primitives/react-hover-card.d.ts +5 -5
  179. package/dist/primitives/react-label.d.ts +1 -1
  180. package/dist/primitives/react-menu.d.ts +7 -7
  181. package/dist/primitives/react-menubar.d.ts +5 -5
  182. package/dist/primitives/react-navigation-menu.d.ts +5 -5
  183. package/dist/primitives/react-popover.d.ts +6 -6
  184. package/dist/primitives/react-progress.d.ts +2 -2
  185. package/dist/primitives/react-radio-group.d.ts +3 -3
  186. package/dist/primitives/react-roving-focus.d.ts +2 -2
  187. package/dist/primitives/react-select.d.ts +6 -6
  188. package/dist/primitives/react-separator.d.ts +1 -1
  189. package/dist/primitives/react-slider.d.ts +2 -2
  190. package/dist/primitives/react-switch.d.ts +2 -2
  191. package/dist/primitives/react-tabs.d.ts +3 -3
  192. package/dist/primitives/react-toast.d.ts +3 -3
  193. package/dist/primitives/react-toggle-group.d.ts +4 -4
  194. package/dist/primitives/react-toggle.d.ts +1 -1
  195. package/dist/primitives/react-tooltip.d.ts +5 -5
  196. package/dist/primitives/react-visually-hidden.d.ts +1 -1
  197. package/dist/shell/app-command-palette.d.ts +2 -3
  198. package/dist/shell/bottom-navbar.d.ts +1 -2
  199. package/dist/shell/command-registry.d.ts +1 -2
  200. package/dist/shell/index.d.ts +12 -11
  201. package/dist/shell/index.d.ts.map +1 -1
  202. package/dist/shell/index.js +2 -3
  203. package/dist/shell/link-context.d.ts +2 -3
  204. package/dist/shell/notification-center.d.ts +0 -1
  205. package/dist/shell/notification-preferences.d.ts +0 -1
  206. package/dist/shell/notification-preferences.d.ts.map +1 -1
  207. package/dist/shell/notification-preferences.js +2 -0
  208. package/dist/shell/notification-preferences.js.map +1 -1
  209. package/dist/shell/top-bar.d.ts +1 -2
  210. package/dist/test-utils/conformance.d.ts +0 -1
  211. package/dist/ui/accordion.d.ts +1 -2
  212. package/dist/ui/accordion.js +1 -1
  213. package/dist/ui/alert-dialog.d.ts +1 -2
  214. package/dist/ui/alert-dialog.js +52 -52
  215. package/dist/ui/alert.d.ts +0 -1
  216. package/dist/ui/aspect-ratio.d.ts +1 -2
  217. package/dist/ui/aspect-ratio.js +4 -4
  218. package/dist/ui/autocomplete.d.ts +1 -2
  219. package/dist/ui/autocomplete.js +1 -1
  220. package/dist/ui/avatar.d.ts +1 -2
  221. package/dist/ui/avatar.js +33 -33
  222. package/dist/ui/badge-group.d.ts +1 -2
  223. package/dist/ui/badge-indicator.d.ts +0 -1
  224. package/dist/ui/badge.d.ts +3 -4
  225. package/dist/ui/banner.d.ts +0 -1
  226. package/dist/ui/breadcrumb.js +1 -1
  227. package/dist/ui/button-group.d.ts +1 -2
  228. package/dist/ui/button-processing.d.ts +0 -1
  229. package/dist/ui/button.d.ts +1 -2
  230. package/dist/ui/button.js +1 -1
  231. package/dist/ui/card.d.ts +0 -1
  232. package/dist/ui/charts/_internal/animation.d.ts +0 -1
  233. package/dist/ui/charts/_internal/axes.d.ts +0 -1
  234. package/dist/ui/charts/_internal/colors.d.ts +1 -2
  235. package/dist/ui/charts/_internal/grid-lines.d.ts +0 -1
  236. package/dist/ui/charts/_internal/legend.d.ts +0 -1
  237. package/dist/ui/charts/_internal/scales.d.ts +0 -1
  238. package/dist/ui/charts/_internal/tooltip.d.ts +0 -1
  239. package/dist/ui/charts/_internal/types.d.ts +0 -1
  240. package/dist/ui/charts/area-chart.d.ts +1 -2
  241. package/dist/ui/charts/bar-chart.d.ts +1 -2
  242. package/dist/ui/charts/chart-container.d.ts +1 -2
  243. package/dist/ui/charts/gauge-chart.d.ts +0 -1
  244. package/dist/ui/charts/index.d.ts +9 -10
  245. package/dist/ui/charts/line-chart.d.ts +1 -2
  246. package/dist/ui/charts/pie-chart.d.ts +0 -1
  247. package/dist/ui/charts/radar-chart.d.ts +0 -1
  248. package/dist/ui/charts/sparkline.d.ts +0 -1
  249. package/dist/ui/chat/date-separator.d.ts +0 -1
  250. package/dist/ui/chat/index.d.ts +7 -8
  251. package/dist/ui/chat/message-input.d.ts +0 -1
  252. package/dist/ui/chat/message-list.d.ts +0 -1
  253. package/dist/ui/chat/message.d.ts +1 -2
  254. package/dist/ui/chat/system-message.d.ts +1 -2
  255. package/dist/ui/chat/typing-indicator.d.ts +0 -1
  256. package/dist/ui/chat/unread-separator.d.ts +0 -1
  257. package/dist/ui/checkbox.d.ts +2 -3
  258. package/dist/ui/checkbox.js +13 -13
  259. package/dist/ui/collapsible.d.ts +1 -2
  260. package/dist/ui/collapsible.js +1 -1
  261. package/dist/ui/color-input.d.ts +0 -1
  262. package/dist/ui/color-swatch.d.ts +0 -1
  263. package/dist/ui/combobox.d.ts +3 -4
  264. package/dist/ui/combobox.d.ts.map +1 -1
  265. package/dist/ui/combobox.js +146 -141
  266. package/dist/ui/combobox.js.map +1 -1
  267. package/dist/ui/context-menu.d.ts +1 -2
  268. package/dist/ui/context-menu.js +58 -58
  269. package/dist/ui/data-table-body.d.ts +0 -1
  270. package/dist/ui/data-table-bulk-actions.d.ts +0 -1
  271. package/dist/ui/data-table-card.d.ts +0 -1
  272. package/dist/ui/data-table-context.d.ts +0 -1
  273. package/dist/ui/data-table-header.d.ts +0 -1
  274. package/dist/ui/data-table-pagination.d.ts +0 -1
  275. package/dist/ui/data-table-toolbar.d.ts +0 -1
  276. package/dist/ui/data-table.d.ts +3 -4
  277. package/dist/ui/devalok-grain.d.ts +0 -1
  278. package/dist/ui/dialog.d.ts +1 -2
  279. package/dist/ui/dialog.js +43 -43
  280. package/dist/ui/dot.d.ts +0 -1
  281. package/dist/ui/dropdown-menu.d.ts +1 -2
  282. package/dist/ui/dropdown-menu.js +69 -69
  283. package/dist/ui/file-upload.d.ts +0 -1
  284. package/dist/ui/file-upload.d.ts.map +1 -1
  285. package/dist/ui/file-upload.js +124 -138
  286. package/dist/ui/file-upload.js.map +1 -1
  287. package/dist/ui/form.d.ts +7 -1
  288. package/dist/ui/form.d.ts.map +1 -1
  289. package/dist/ui/form.js +4 -2
  290. package/dist/ui/form.js.map +1 -1
  291. package/dist/ui/hover-card.d.ts +1 -2
  292. package/dist/ui/hover-card.js +16 -16
  293. package/dist/ui/icon-button.d.ts +4 -4
  294. package/dist/ui/icon-button.d.ts.map +1 -1
  295. package/dist/ui/icon-button.js +1 -1
  296. package/dist/ui/icon-button.js.map +1 -1
  297. package/dist/ui/icon-context.d.ts +0 -1
  298. package/dist/ui/icon-group.d.ts +1 -2
  299. package/dist/ui/icon.d.ts +1 -2
  300. package/dist/ui/index.d.ts +78 -79
  301. package/dist/ui/index.d.ts.map +1 -1
  302. package/dist/ui/index.js.map +1 -1
  303. package/dist/ui/input-otp.d.ts +0 -1
  304. package/dist/ui/input.d.ts +1 -2
  305. package/dist/ui/label.d.ts +1 -2
  306. package/dist/ui/label.d.ts.map +1 -1
  307. package/dist/ui/label.js +13 -12
  308. package/dist/ui/label.js.map +1 -1
  309. package/dist/ui/lib/bottom-sheet.d.ts +0 -1
  310. package/dist/ui/lib/check-tokens.d.ts +0 -1
  311. package/dist/ui/lib/field-state.d.ts +0 -1
  312. package/dist/ui/lib/icon-input.d.ts +0 -1
  313. package/dist/ui/lib/index.d.ts +6 -7
  314. package/dist/ui/lib/keybinding.d.ts +0 -1
  315. package/dist/ui/lib/link-context.d.ts +0 -1
  316. package/dist/ui/lib/mention.d.ts +0 -1
  317. package/dist/ui/lib/normalize-icon.d.ts +2 -2
  318. package/dist/ui/lib/slot.d.ts +2 -3
  319. package/dist/ui/lib/use-controllable-open.d.ts +0 -1
  320. package/dist/ui/link.d.ts +0 -1
  321. package/dist/ui/link.js +1 -1
  322. package/dist/ui/menubar.d.ts +1 -2
  323. package/dist/ui/menubar.js +64 -64
  324. package/dist/ui/navigation-menu.d.ts +1 -2
  325. package/dist/ui/navigation-menu.js +67 -67
  326. package/dist/ui/number-input.d.ts +1 -2
  327. package/dist/ui/oauth-button/index.d.ts +1 -2
  328. package/dist/ui/oauth-button/oauth-button.d.ts +2 -3
  329. package/dist/ui/pagination.d.ts +0 -1
  330. package/dist/ui/pagination.js +1 -1
  331. package/dist/ui/popover.d.ts +1 -2
  332. package/dist/ui/progress-ring.d.ts +0 -1
  333. package/dist/ui/progress.d.ts +1 -2
  334. package/dist/ui/progress.js +30 -30
  335. package/dist/ui/radio.d.ts +2 -3
  336. package/dist/ui/radio.js +18 -18
  337. package/dist/ui/search-input.d.ts +0 -1
  338. package/dist/ui/segmented-control.d.ts +1 -2
  339. package/dist/ui/select.d.ts +1 -2
  340. package/dist/ui/select.js +55 -55
  341. package/dist/ui/separator.d.ts +1 -2
  342. package/dist/ui/separator.js +5 -5
  343. package/dist/ui/sheet.d.ts +1 -2
  344. package/dist/ui/sheet.js +45 -45
  345. package/dist/ui/sidebar.d.ts +4 -5
  346. package/dist/ui/sidebar.js +1 -1
  347. package/dist/ui/slider.d.ts +1 -2
  348. package/dist/ui/slider.js +14 -14
  349. package/dist/ui/spinner.d.ts +0 -1
  350. package/dist/ui/spinner.d.ts.map +1 -1
  351. package/dist/ui/spinner.js +50 -44
  352. package/dist/ui/spinner.js.map +1 -1
  353. package/dist/ui/split-button.d.ts +14 -4
  354. package/dist/ui/split-button.d.ts.map +1 -1
  355. package/dist/ui/split-button.js.map +1 -1
  356. package/dist/ui/stat-card.d.ts +3 -4
  357. package/dist/ui/stat-flash.d.ts +1 -2
  358. package/dist/ui/stepper.d.ts +1 -2
  359. package/dist/ui/surface.js +1 -1
  360. package/dist/ui/switch.d.ts +2 -3
  361. package/dist/ui/switch.d.ts.map +1 -1
  362. package/dist/ui/switch.js +31 -31
  363. package/dist/ui/switch.js.map +1 -1
  364. package/dist/ui/table-row-link.d.ts +0 -1
  365. package/dist/ui/table.js +1 -1
  366. package/dist/ui/table.js.map +1 -1
  367. package/dist/ui/tabs.d.ts +1 -2
  368. package/dist/ui/tabs.js +35 -35
  369. package/dist/ui/textarea.d.ts +1 -2
  370. package/dist/ui/toast-registry.d.ts +0 -1
  371. package/dist/ui/toast-types.js +1 -0
  372. package/dist/ui/toast.d.ts +2 -3
  373. package/dist/ui/toaster.d.ts +0 -1
  374. package/dist/ui/toggle-group.d.ts +2 -3
  375. package/dist/ui/toggle-group.js +14 -14
  376. package/dist/ui/toggle.d.ts +1 -2
  377. package/dist/ui/toggle.js +12 -12
  378. package/dist/ui/tooltip.d.ts +1 -2
  379. package/dist/ui/tooltip.js +21 -21
  380. package/dist/ui/tree-view/index.d.ts +3 -4
  381. package/dist/ui/tree-view/tree-item.d.ts +1 -2
  382. package/dist/ui/tree-view/tree-view.d.ts +1 -2
  383. package/dist/ui/tree-view/use-tree.d.ts +1 -2
  384. package/dist/ui/truncated-text.d.ts +0 -1
  385. package/docs/components/composed/bulk-action-bar.md +9 -3
  386. package/docs/components/composed/error-boundary.md +18 -2
  387. package/docs/components/composed/master-detail.md +12 -2
  388. package/docs/components/composed/page-skeletons.md +2 -2
  389. package/docs/components/composed/rich-chat-input.md +18 -6
  390. package/docs/components/composed/simple-tooltip.md +1 -1
  391. package/docs/components/shell/app-command-palette.md +2 -1
  392. package/docs/components/shell/bottom-navbar.md +4 -4
  393. package/docs/components/shell/command-registry.md +2 -2
  394. package/docs/components/shell/link-context.md +2 -2
  395. package/docs/components/shell/top-bar.md +1 -1
  396. package/docs/components/ui/search-input.md +2 -2
  397. package/docs/components/ui/slider.md +2 -2
  398. package/docs/components/ui/split-button.md +3 -3
  399. package/docs/recipes/install-astro.md +2 -0
  400. package/docs/recipes/install-next-app-router.md +2 -0
  401. package/docs/recipes/install-remix.md +2 -0
  402. package/docs/recipes/install-tanstack-start.md +2 -0
  403. package/docs/recipes/install-vite.md +2 -0
  404. package/docs/recipes/troubleshoot.md +80 -0
  405. package/llms.txt +2 -2
  406. package/make-kit/Guidelines.md +1 -1
  407. package/make-kit/components/overview.md +2 -2
  408. package/make-kit/foundations/surfaces.md +1 -1
  409. package/mcp-manifest.json +411 -147
  410. package/package.json +30 -10
  411. package/skill/SKILL.md +1 -1
  412. package/skill/chat-skill/README.md +18 -0
  413. package/skill/chat-skill/SKILL.md +78 -0
  414. package/skill/chat-skill/chatgpt-instructions.md +26 -0
  415. package/skill/chat-skill/gemini-instructions.md +25 -0
  416. package/skill/references/components.md +2 -2
  417. package/skill/references/setup-astro.md +2 -0
  418. package/skill/references/setup-next-app-router.md +2 -0
  419. package/skill/references/setup-remix.md +2 -0
  420. package/skill/references/setup-tanstack-start.md +2 -0
  421. package/skill/references/setup-vite.md +2 -0
  422. package/skill/references/troubleshoot.md +80 -0
  423. package/dist/_chunks/primitives.js +0 -7596
  424. package/dist/_chunks/primitives.js.map +0 -1
  425. package/dist/shell/sidebar.d.ts +0 -113
  426. package/dist/shell/sidebar.d.ts.map +0 -1
  427. package/dist/shell/sidebar.js +0 -293
  428. package/dist/shell/sidebar.js.map +0 -1
  429. package/docs/components/shell/sidebar.md +0 -103
@@ -1,36 +1,36 @@
1
1
  "use client";
2
- import { Action as e, Cancel as t, Content2$7 as n, Description2 as r, Overlay2 as i, Portal2$3 as a, Root2$9 as o, Title2 as s, Trigger2 as c } from "../_chunks/primitives.js";
3
- import { springs as l, tweens as u } from "./lib/motion.js";
4
- import { cn as d } from "./lib/utils.js";
2
+ import { springs as e, tweens as t } from "./lib/motion.js";
3
+ import { cn as n } from "./lib/utils.js";
4
+ import { Action as r, Cancel as i, Content2 as a, Description2 as o, Overlay2 as s, Portal2 as c, Root2 as l, Title2 as u, Trigger2 as d } from "../_chunks/primitives/react-alert-dialog.js";
5
5
  import { useIsMobile as f } from "../hooks/use-mobile.js";
6
6
  import * as p from "react";
7
7
  import { jsx as m, jsxs as h } from "react/jsx-runtime";
8
8
  import { AnimatePresence as g, motion as _ } from "framer-motion";
9
9
  //#region src/ui/alert-dialog.tsx
10
10
  var v = p.createContext({ open: !1 }), y = () => p.useContext(v), b = ({ open: e, defaultOpen: t, onOpenChange: n, ...r }) => {
11
- let [i, a] = p.useState(t ?? !1), s = e !== void 0, c = s ? e : i, l = p.useCallback((e) => {
12
- s || a(e), n?.(e);
13
- }, [s, n]), u = p.useMemo(() => ({ open: c }), [c]);
11
+ let [i, a] = p.useState(t ?? !1), o = e !== void 0, s = o ? e : i, c = p.useCallback((e) => {
12
+ o || a(e), n?.(e);
13
+ }, [o, n]), u = p.useMemo(() => ({ open: s }), [s]);
14
14
  return /* @__PURE__ */ m(v.Provider, {
15
15
  value: u,
16
- children: /* @__PURE__ */ m(o, {
17
- open: c,
18
- onOpenChange: l,
16
+ children: /* @__PURE__ */ m(l, {
17
+ open: s,
18
+ onOpenChange: c,
19
19
  ...r
20
20
  })
21
21
  });
22
22
  };
23
23
  b.displayName = "AlertDialog";
24
- var x = c, S = a, C = p.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ m(i, {
25
- ref: n,
24
+ var x = d, S = c, C = p.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ m(s, {
25
+ ref: r,
26
26
  forceMount: !0,
27
- className: d("fixed inset-0 z-modal bg-overlay", e),
27
+ className: n("fixed inset-0 z-modal bg-overlay", e),
28
28
  ...t
29
29
  }));
30
- C.displayName = i.displayName;
31
- var w = p.forwardRef(({ className: e, children: t, responsive: r, ...i }, a) => {
32
- let { open: o } = y(), s = f(), c = r !== !1 && s;
33
- return /* @__PURE__ */ m(g, { children: o && /* @__PURE__ */ h(S, {
30
+ C.displayName = s.displayName;
31
+ var w = p.forwardRef(({ className: r, children: i, responsive: o, ...s }, c) => {
32
+ let { open: l } = y(), u = f(), d = o !== !1 && u;
33
+ return /* @__PURE__ */ m(g, { children: l && /* @__PURE__ */ h(S, {
34
34
  forceMount: !0,
35
35
  children: [/* @__PURE__ */ m(C, {
36
36
  asChild: !0,
@@ -38,78 +38,78 @@ var w = p.forwardRef(({ className: e, children: t, responsive: r, ...i }, a) =>
38
38
  initial: { opacity: 0 },
39
39
  animate: { opacity: 1 },
40
40
  exit: { opacity: 0 },
41
- transition: u.fade
41
+ transition: t.fade
42
42
  })
43
- }), /* @__PURE__ */ m(n, {
44
- ref: a,
43
+ }), /* @__PURE__ */ m(a, {
44
+ ref: c,
45
45
  forceMount: !0,
46
46
  asChild: !0,
47
- ...i,
47
+ ...s,
48
48
  children: /* @__PURE__ */ m(_.div, {
49
- initial: c ? { y: "100%" } : {
49
+ initial: d ? { y: "100%" } : {
50
50
  opacity: 0,
51
51
  scale: .95,
52
52
  x: "-50%",
53
53
  y: "-50%"
54
54
  },
55
- animate: c ? { y: 0 } : {
55
+ animate: d ? { y: 0 } : {
56
56
  opacity: 1,
57
57
  scale: 1,
58
58
  x: "-50%",
59
59
  y: "-50%"
60
60
  },
61
- exit: c ? { y: "100%" } : {
61
+ exit: d ? { y: "100%" } : {
62
62
  opacity: 0,
63
63
  scale: .95,
64
64
  x: "-50%",
65
65
  y: "-50%"
66
66
  },
67
- transition: c ? l.smooth : {
68
- ...l.smooth,
69
- opacity: u.fade
67
+ transition: d ? e.smooth : {
68
+ ...e.smooth,
69
+ opacity: t.fade
70
70
  },
71
- className: d("fixed z-modal grid w-full gap-ds-05 bg-surface-overlay p-ds-06", r === !1 ? "left-[50%] top-[50%] max-w-lg rounded-overlay-lg shadow-overlay" : "inset-0 md:inset-auto md:left-[50%] md:top-[50%] md:max-w-lg md:rounded-overlay-lg md:shadow-overlay", e),
72
- children: t
71
+ className: n("fixed z-modal grid w-full gap-ds-05 bg-surface-overlay p-ds-06", o === !1 ? "left-[50%] top-[50%] max-w-lg rounded-overlay-lg shadow-overlay" : "inset-0 md:inset-auto md:left-[50%] md:top-[50%] md:max-w-lg md:rounded-overlay-lg md:shadow-overlay", r),
72
+ children: i
73
73
  })
74
74
  })]
75
75
  }) });
76
76
  });
77
- w.displayName = n.displayName;
78
- var T = p.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ m("div", {
79
- ref: n,
80
- className: d("flex flex-col space-y-ds-02b text-center sm:text-left", e),
77
+ w.displayName = a.displayName;
78
+ var T = p.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ m("div", {
79
+ ref: r,
80
+ className: n("flex flex-col space-y-ds-02b text-center sm:text-left", e),
81
81
  ...t
82
82
  }));
83
83
  T.displayName = "AlertDialogHeader";
84
- var E = p.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ m("div", {
85
- ref: n,
86
- className: d("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-ds-03", e),
84
+ var E = p.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ m("div", {
85
+ ref: r,
86
+ className: n("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-ds-03", e),
87
87
  ...t
88
88
  }));
89
89
  E.displayName = "AlertDialogFooter";
90
- var D = p.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ m(s, {
91
- ref: n,
92
- className: d("text-heading-xs font-semibold", e),
90
+ var D = p.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ m(u, {
91
+ ref: r,
92
+ className: n("text-heading-xs font-semibold", e),
93
93
  ...t
94
94
  }));
95
- D.displayName = s.displayName;
96
- var O = p.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ m(r, {
97
- ref: n,
98
- className: d("text-body-md text-surface-fg-muted", e),
95
+ D.displayName = u.displayName;
96
+ var O = p.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ m(o, {
97
+ ref: r,
98
+ className: n("text-body-md text-surface-fg-muted", e),
99
99
  ...t
100
100
  }));
101
- O.displayName = r.displayName;
102
- var k = p.forwardRef(({ className: t, ...n }, r) => /* @__PURE__ */ m(e, {
103
- ref: r,
104
- className: d("inline-flex h-ds-md items-center justify-center rounded-control px-ds-05 text-body-md font-semibold transition-colors bg-accent-9 text-accent-fg hover:bg-accent-10 active:bg-accent-10 shadow-raised focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-accent-9 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-action-disabled", t),
105
- ...n
101
+ O.displayName = o.displayName;
102
+ var k = p.forwardRef(({ className: e, ...t }, i) => /* @__PURE__ */ m(r, {
103
+ ref: i,
104
+ className: n("inline-flex h-ds-md items-center justify-center rounded-control px-ds-05 text-body-md font-semibold transition-colors bg-accent-9 text-accent-fg hover:bg-accent-10 active:bg-accent-10 shadow-raised focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-accent-9 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-action-disabled", e),
105
+ ...t
106
106
  }));
107
- k.displayName = e.displayName;
108
- var A = p.forwardRef(({ className: e, ...n }, r) => /* @__PURE__ */ m(t, {
107
+ k.displayName = r.displayName;
108
+ var A = p.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ m(i, {
109
109
  ref: r,
110
- className: d("inline-flex h-ds-md items-center justify-center rounded-control px-ds-05 text-body-md font-semibold transition-colors bg-transparent text-surface-fg-muted border border-surface-border-strong hover:bg-surface-raised hover:text-surface-fg focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-accent-9 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-action-disabled", e),
111
- ...n
110
+ className: n("inline-flex h-ds-md items-center justify-center rounded-control px-ds-05 text-body-md font-semibold transition-colors bg-transparent text-surface-fg-muted border border-surface-border-strong hover:bg-surface-raised hover:text-surface-fg focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-accent-9 focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-action-disabled", e),
111
+ ...t
112
112
  }));
113
- A.displayName = t.displayName;
113
+ A.displayName = i.displayName;
114
114
  //#endregion
115
115
  export { b as AlertDialog, k as AlertDialogAction, A as AlertDialogCancel, w as AlertDialogContent, O as AlertDialogDescription, E as AlertDialogFooter, T as AlertDialogHeader, C as AlertDialogOverlay, S as AlertDialogPortal, D as AlertDialogTitle, x as AlertDialogTrigger };
@@ -1,4 +1,3 @@
1
- "use client";
2
1
  import { VariantProps } from 'class-variance-authority';
3
2
  import * as React from 'react';
4
3
  declare const alertVariants: (props?: ({
@@ -1,5 +1,4 @@
1
- "use client";
2
- import * as AspectRatioPrimitive from '../primitives/react-aspect-ratio';
1
+ import * as AspectRatioPrimitive from '../primitives/react-aspect-ratio.js';
3
2
  import * as React from 'react';
4
3
  declare const AspectRatio: React.ForwardRefExoticComponent<Omit<AspectRatioPrimitive.AspectRatioProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
5
4
  export { AspectRatio };
@@ -1,12 +1,12 @@
1
1
  "use client";
2
- import { Root$7 as e } from "../_chunks/primitives.js";
3
- import { cn as t } from "./lib/utils.js";
2
+ import { cn as e } from "./lib/utils.js";
3
+ import { Root as t } from "../_chunks/primitives/react-aspect-ratio.js";
4
4
  import * as n from "react";
5
5
  import { jsx as r } from "react/jsx-runtime";
6
6
  //#region src/ui/aspect-ratio.tsx
7
- var i = n.forwardRef(({ className: n, ...i }, a) => /* @__PURE__ */ r(e, {
7
+ var i = n.forwardRef(({ className: n, ...i }, a) => /* @__PURE__ */ r(t, {
8
8
  ref: a,
9
- className: t(n),
9
+ className: e(n),
10
10
  ...i
11
11
  }));
12
12
  i.displayName = "AspectRatio";
@@ -1,5 +1,4 @@
1
- "use client";
2
- import { InputProps } from './input';
1
+ import { InputProps } from './input.js';
3
2
  import * as React from 'react';
4
3
  export type AutocompleteOption = {
5
4
  label: string;
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { autoUpdate as e, flip as t, offset as n, shift as r, size as i, useFloating as a } from "../_chunks/primitives.js";
2
+ import { autoUpdate as e, flip as t, offset as n, shift as r, size as i, useFloating as a } from "../_chunks/primitives-internal.js";
3
3
  import { tweens as o } from "./lib/motion.js";
4
4
  import { cn as s } from "./lib/utils.js";
5
5
  import { Spinner as c } from "./spinner.js";
@@ -1,6 +1,5 @@
1
- "use client";
2
1
  import { VariantProps } from 'class-variance-authority';
3
- import * as AvatarPrimitive from '../primitives/react-avatar';
2
+ import * as AvatarPrimitive from '../primitives/react-avatar.js';
4
3
  import * as React from "react";
5
4
  export declare const avatarVariants: (props?: ({
6
5
  size?: "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
package/dist/ui/avatar.js CHANGED
@@ -1,15 +1,15 @@
1
1
  "use client";
2
- import { Fallback as e, Image as t, Root$6 as n } from "../_chunks/primitives.js";
3
- import { springs as r } from "./lib/motion.js";
4
- import { cva as i } from "../_chunks/vendor-utils.js";
5
- import { cn as a } from "./lib/utils.js";
2
+ import { springs as e } from "./lib/motion.js";
3
+ import { cva as t } from "../_chunks/vendor-utils.js";
4
+ import { cn as n } from "./lib/utils.js";
5
+ import { Fallback as r, Image as i, Root as a } from "../_chunks/primitives/react-avatar.js";
6
6
  import { Dot as o } from "./dot.js";
7
7
  import { Skeleton as s } from "./skeleton.js";
8
8
  import * as c from "react";
9
9
  import { jsx as l, jsxs as u } from "react/jsx-runtime";
10
10
  import { motion as d } from "framer-motion";
11
11
  //#region src/ui/avatar.tsx
12
- var f = c.createContext("circle"), p = c.createContext("md"), m = i("relative flex shrink-0 overflow-hidden", {
12
+ var f = c.createContext("circle"), p = c.createContext("md"), m = t("relative flex shrink-0 overflow-hidden", {
13
13
  variants: {
14
14
  size: {
15
15
  xs: "h-ds-xs w-ds-xs",
@@ -97,14 +97,14 @@ function S(e) {
97
97
  for (let n = 0; n < e.length; n++) t = (t << 5) + t + e.charCodeAt(n) | 0;
98
98
  return x[Math.abs(t) % x.length];
99
99
  }
100
- var C = c.forwardRef(({ className: e, size: t, shape: i, status: c, ring: b, badge: x, loading: S, children: C, ...w }, T) => {
101
- let E = i ?? "circle", D = b && b !== "none" ? a("ring-2 ring-offset-2 ring-offset-surface-raised", v[b], y[E]) : void 0;
100
+ var C = c.forwardRef(({ className: t, size: r, shape: i, status: c, ring: b, badge: x, loading: S, children: C, ...w }, T) => {
101
+ let E = i ?? "circle", D = b && b !== "none" ? n("ring-2 ring-offset-2 ring-offset-surface-raised", v[b], y[E]) : void 0;
102
102
  if (S) return /* @__PURE__ */ l("span", {
103
103
  ref: T,
104
- className: a("relative inline-flex shrink-0", D),
104
+ className: n("relative inline-flex shrink-0", D),
105
105
  children: /* @__PURE__ */ l(s, {
106
- className: a(m({
107
- size: t,
106
+ className: n(m({
107
+ size: r,
108
108
  shape: i
109
109
  })),
110
110
  "data-slot": "avatar-skeleton"
@@ -114,16 +114,16 @@ var C = c.forwardRef(({ className: e, size: t, shape: i, status: c, ring: b, bad
114
114
  return /* @__PURE__ */ l(f.Provider, {
115
115
  value: E,
116
116
  children: /* @__PURE__ */ l(p.Provider, {
117
- value: t ?? "md",
117
+ value: r ?? "md",
118
118
  children: /* @__PURE__ */ u("span", {
119
- className: a("relative inline-flex shrink-0", D),
119
+ className: n("relative inline-flex shrink-0", D),
120
120
  children: [
121
- /* @__PURE__ */ l(n, {
121
+ /* @__PURE__ */ l(a, {
122
122
  ref: T,
123
- className: a(m({
124
- size: t,
123
+ className: n(m({
124
+ size: r,
125
125
  shape: i
126
- }), e),
126
+ }), t),
127
127
  ...w,
128
128
  children: C
129
129
  }),
@@ -133,7 +133,7 @@ var C = c.forwardRef(({ className: e, size: t, shape: i, status: c, ring: b, bad
133
133
  "aria-label": g[c],
134
134
  children: /* @__PURE__ */ l(o, {
135
135
  color: h[c],
136
- size: _[t ?? "md"],
136
+ size: _[r ?? "md"],
137
137
  withBorder: !0,
138
138
  "aria-hidden": !0
139
139
  })
@@ -145,7 +145,7 @@ var C = c.forwardRef(({ className: e, size: t, shape: i, status: c, ring: b, bad
145
145
  }) : typeof x == "number" ? /* @__PURE__ */ l(d.span, {
146
146
  initial: { scale: 0 },
147
147
  animate: { scale: 1 },
148
- transition: r.smooth,
148
+ transition: e.smooth,
149
149
  className: "absolute -right-1 -top-1 flex min-w-ds-05 items-center justify-center rounded-pill bg-error-9 px-1 text-[10px] font-bold leading-[16px] text-error-fg ring-2 ring-surface-raised",
150
150
  "data-slot": "avatar-badge",
151
151
  role: "status",
@@ -161,32 +161,32 @@ var C = c.forwardRef(({ className: e, size: t, shape: i, status: c, ring: b, bad
161
161
  })
162
162
  });
163
163
  });
164
- C.displayName = n.displayName;
165
- var w = c.forwardRef(({ className: e, ...n }, i) => /* @__PURE__ */ l(d.span, {
164
+ C.displayName = a.displayName;
165
+ var w = c.forwardRef(({ className: t, ...r }, a) => /* @__PURE__ */ l(d.span, {
166
166
  initial: { scale: .96 },
167
167
  animate: {
168
168
  opacity: 1,
169
169
  scale: 1
170
170
  },
171
- transition: r.smooth,
171
+ transition: e.smooth,
172
172
  className: "absolute inset-0 h-full w-full",
173
- children: /* @__PURE__ */ l(t, {
174
- ref: i,
175
- className: a("aspect-square h-full w-full", e),
176
- ...n
173
+ children: /* @__PURE__ */ l(i, {
174
+ ref: a,
175
+ className: n("aspect-square h-full w-full", t),
176
+ ...r
177
177
  })
178
178
  }));
179
- w.displayName = t.displayName;
180
- var T = c.forwardRef(({ className: t, colorSeed: n, children: r, ...i }, o) => {
181
- let s = typeof r == "string" ? r : "", u = S(n ?? s), d = c.useContext(f), m = c.useContext(p), h = d === "square" ? "rounded-none" : d === "rounded" ? "rounded-control" : "rounded-pill", g = s.length === 1 ? "tracking-wide" : "tracking-normal";
182
- return /* @__PURE__ */ l(e, {
179
+ w.displayName = i.displayName;
180
+ var T = c.forwardRef(({ className: e, colorSeed: t, children: i, ...a }, o) => {
181
+ let s = typeof i == "string" ? i : "", u = S(t ?? s), d = c.useContext(f), m = c.useContext(p), h = d === "square" ? "rounded-none" : d === "rounded" ? "rounded-control" : "rounded-pill", g = s.length === 1 ? "tracking-wide" : "tracking-normal";
182
+ return /* @__PURE__ */ l(r, {
183
183
  ref: o,
184
184
  "data-slot": "avatar-fallback",
185
- className: a("flex h-full w-full items-center justify-center font-semibold", h, b[m], u.bg, u.text, g, t),
186
- ...i,
187
- children: r
185
+ className: n("flex h-full w-full items-center justify-center font-semibold", h, b[m], u.bg, u.text, g, e),
186
+ ...a,
187
+ children: i
188
188
  });
189
189
  });
190
- T.displayName = e.displayName;
190
+ T.displayName = r.displayName;
191
191
  //#endregion
192
192
  export { C as Avatar, T as AvatarFallback, w as AvatarImage, m as avatarVariants };
@@ -1,5 +1,4 @@
1
- "use client";
2
- import { BadgeProps } from './badge';
1
+ import { BadgeProps } from './badge.js';
3
2
  import * as React from 'react';
4
3
  declare const GAP_CLASSES: {
5
4
  readonly tight: "gap-1";
@@ -1,4 +1,3 @@
1
- "use client";
2
1
  import * as React from 'react';
3
2
  declare const PLACEMENT_CLASSES: {
4
3
  readonly 'top-right': "-top-1 -right-1";
@@ -1,6 +1,5 @@
1
- "use client";
2
1
  import { VariantProps } from 'class-variance-authority';
3
- import { IconInput } from './lib/icon-input';
2
+ import { IconInput } from './lib/icon-input.js';
4
3
  import * as React from 'react';
5
4
  declare const colorMap: {
6
5
  readonly default: {
@@ -152,8 +151,8 @@ interface BadgeProps extends Omit<React.HTMLAttributes<HTMLElement>, 'color'>, V
152
151
  circle?: boolean;
153
152
  }
154
153
  declare const BadgeCompound: React.ForwardRefExoticComponent<BadgeProps & React.RefAttributes<HTMLElement>> & {
155
- Indicator: React.ForwardRefExoticComponent<import('./badge-indicator').BadgeIndicatorProps & React.RefAttributes<HTMLSpanElement>>;
156
- Group: React.ForwardRefExoticComponent<import('./badge-group').BadgeGroupProps & React.RefAttributes<HTMLDivElement>>;
154
+ Indicator: React.ForwardRefExoticComponent<import('./badge-indicator.js').BadgeIndicatorProps & React.RefAttributes<HTMLSpanElement>>;
155
+ Group: React.ForwardRefExoticComponent<import('./badge-group.js').BadgeGroupProps & React.RefAttributes<HTMLDivElement>>;
157
156
  };
158
157
  export { BadgeCompound as Badge, type BadgeColor, type BadgeProps, badgeVariants };
159
158
  //# sourceMappingURL=badge.d.ts.map
@@ -1,4 +1,3 @@
1
- "use client";
2
1
  import { VariantProps } from 'class-variance-authority';
3
2
  import * as React from 'react';
4
3
  declare const bannerVariants: (props?: ({
@@ -1,4 +1,4 @@
1
- import { Slot as e } from "../_chunks/primitives.js";
1
+ import { Slot as e } from "../_chunks/primitives-internal.js";
2
2
  import { cn as t } from "./lib/utils.js";
3
3
  import * as n from "react";
4
4
  import { jsx as r, jsxs as i } from "react/jsx-runtime";
@@ -1,5 +1,4 @@
1
- "use client";
2
- import { ButtonProps } from './button';
1
+ import { ButtonProps } from './button.js';
3
2
  import * as React from 'react';
4
3
  export type ButtonGroupPosition = 'first' | 'middle' | 'last' | 'only';
5
4
  interface ButtonGroupContextValue {
@@ -1,4 +1,3 @@
1
- "use client";
2
1
  import * as React from 'react';
3
2
  export type ProcessingSpeed = 'ambient' | 'working' | 'urgent';
4
3
  interface ProcessingOverlayProps {
@@ -1,6 +1,5 @@
1
- "use client";
2
1
  import { VariantProps } from 'class-variance-authority';
3
- import { IconInput } from './lib/icon-input';
2
+ import { IconInput } from './lib/icon-input.js';
4
3
  import * as React from 'react';
5
4
  export declare const buttonVariants: (props?: ({
6
5
  variant?: "link" | "outline" | "solid" | "soft" | "ghost" | null | undefined;
package/dist/ui/button.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { Slot as e, Slottable as t } from "../_chunks/primitives.js";
2
+ import { Slot as e, Slottable as t } from "../_chunks/primitives-internal.js";
3
3
  import { IconProvider as n } from "./icon-context.js";
4
4
  import { motionProps as ee } from "./lib/motion.js";
5
5
  import { cva as r } from "../_chunks/vendor-utils.js";
package/dist/ui/card.d.ts CHANGED
@@ -1,4 +1,3 @@
1
- "use client";
2
1
  import { VariantProps } from 'class-variance-authority';
3
2
  import * as React from 'react';
4
3
  type CardSize = 'sm' | 'md' | 'lg';
@@ -1,4 +1,3 @@
1
- "use client";
2
1
  /** Hook to detect reduced-motion preference via MotionProvider context */
3
2
  export declare function useReducedMotion(): boolean;
4
3
  /** Get transition duration respecting reduced motion preference */
@@ -1,4 +1,3 @@
1
- "use client";
2
1
  import { ScaleBand, ScaleLinear, ScalePoint, ScaleTime } from 'd3-scale';
3
2
  import * as React from 'react';
4
3
  export type AnyScale = ScaleLinear<number, number> | ScaleBand<string> | ScalePoint<string> | ScaleTime<number, number>;
@@ -1,5 +1,4 @@
1
- "use client";
2
- import { ChartColor } from './types';
1
+ import { ChartColor } from './types.js';
3
2
  /** Get CSS variable reference for a chart color token */
4
3
  export declare function getChartColor(color: ChartColor): string;
5
4
  /** Get an array of chart color CSS variable references, cycling if needed */
@@ -1,4 +1,3 @@
1
- "use client";
2
1
  import { ScaleLinear, ScaleTime } from 'd3-scale';
3
2
  import * as React from 'react';
4
3
  type TickableScale = ScaleLinear<number, number> | ScaleTime<number, number>;
@@ -1,4 +1,3 @@
1
- "use client";
2
1
  import * as React from 'react';
3
2
  interface LegendItem {
4
3
  label: string;
@@ -1,4 +1,3 @@
1
- "use client";
2
1
  export declare function createLinearScale(domain: [number, number], range: [number, number]): import('d3-scale').ScaleLinear<number, number, never>;
3
2
  export declare function createBandScale(domain: string[], range: [number, number], padding?: number): import('d3-scale').ScaleBand<string>;
4
3
  export declare function createTimeScale(domain: [Date, Date], range: [number, number]): import('d3-scale').ScaleTime<number, number, never>;
@@ -1,4 +1,3 @@
1
- "use client";
2
1
  import * as React from 'react';
3
2
  interface TooltipState {
4
3
  visible: boolean;
@@ -1,4 +1,3 @@
1
- "use client";
2
1
  export interface ChartMargin {
3
2
  top: number;
4
3
  right: number;
@@ -1,5 +1,4 @@
1
- "use client";
2
- import { DataPoint, Series } from './_internal/types';
1
+ import { DataPoint, Series } from './_internal/types.js';
3
2
  import * as React from 'react';
4
3
  export interface AreaChartProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'children'> {
5
4
  /** Data array */
@@ -1,5 +1,4 @@
1
- "use client";
2
- import { ChartColor, DataPoint } from './_internal/types';
1
+ import { ChartColor, DataPoint } from './_internal/types.js';
3
2
  import * as React from 'react';
4
3
  export interface BarChartProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'children' | 'color'> {
5
4
  /** Data array */
@@ -1,5 +1,4 @@
1
- "use client";
2
- import { ChartMargin } from './_internal/types';
1
+ import { ChartMargin } from './_internal/types.js';
3
2
  import * as React from 'react';
4
3
  export interface ChartContainerProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'children'> {
5
4
  /** Fixed height in pixels */
@@ -1,4 +1,3 @@
1
- "use client";
2
1
  import * as React from 'react';
3
2
  export interface GaugeChartProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'children' | 'color'> {
4
3
  /** Current value */
@@ -1,11 +1,10 @@
1
- "use client";
2
- export { Legend, type LegendItem, type LegendProps } from './_internal/legend';
3
- export { AreaChart, type AreaChartProps } from './area-chart';
4
- export { BarChart, type BarChartProps } from './bar-chart';
5
- export { ChartContainer, type ChartContainerProps } from './chart-container';
6
- export { GaugeChart, type GaugeChartProps } from './gauge-chart';
7
- export { LineChart, type LineChartProps } from './line-chart';
8
- export { PieChart, type PieChartProps } from './pie-chart';
9
- export { RadarChart, type RadarChartProps } from './radar-chart';
10
- export { Sparkline, type SparklineProps } from './sparkline';
1
+ export { Legend, type LegendItem, type LegendProps } from './_internal/legend.js';
2
+ export { AreaChart, type AreaChartProps } from './area-chart.js';
3
+ export { BarChart, type BarChartProps } from './bar-chart.js';
4
+ export { ChartContainer, type ChartContainerProps } from './chart-container.js';
5
+ export { GaugeChart, type GaugeChartProps } from './gauge-chart.js';
6
+ export { LineChart, type LineChartProps } from './line-chart.js';
7
+ export { PieChart, type PieChartProps } from './pie-chart.js';
8
+ export { RadarChart, type RadarChartProps } from './radar-chart.js';
9
+ export { Sparkline, type SparklineProps } from './sparkline.js';
11
10
  //# sourceMappingURL=index.d.ts.map
@@ -1,5 +1,4 @@
1
- "use client";
2
- import { DataPoint, Series } from './_internal/types';
1
+ import { DataPoint, Series } from './_internal/types.js';
3
2
  import * as React from 'react';
4
3
  export interface LineChartProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'children'> {
5
4
  /** Data array */
@@ -1,4 +1,3 @@
1
- "use client";
2
1
  import * as React from 'react';
3
2
  interface PieSlice {
4
3
  label: string;
@@ -1,4 +1,3 @@
1
- "use client";
2
1
  import * as React from 'react';
3
2
  export interface RadarChartProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'children'> {
4
3
  /** Data array (one entry per data point / axis) */
@@ -1,4 +1,3 @@
1
- "use client";
2
1
  import * as React from 'react';
3
2
  export interface SparklineProps extends Omit<React.SVGAttributes<SVGSVGElement>, 'children'> {
4
3
  /** Numeric data points */
@@ -1,4 +1,3 @@
1
- "use client";
2
1
  import * as React from 'react';
3
2
  export interface DateSeparatorProps {
4
3
  date: Date | string;
@@ -1,9 +1,8 @@
1
- "use client";
2
- export { DateSeparator, type DateSeparatorProps } from './date-separator';
3
- export { Message, type MessageActionProps, type MessageActionsProps, type MessageAuthorProps, type MessageAvatarProps, type MessageBodyProps, type MessageContentProps, type MessageContextValue, type MessageEditableBodyProps, type MessageProps, type MessageReactionsProps, useMessageContext, } from './message';
4
- export { MessageInput, type MessageInputProps } from './message-input';
5
- export { MessageList, type MessageListProps } from './message-list';
6
- export { SystemMessage, type SystemMessageProps } from './system-message';
7
- export { TypingIndicator, type TypingIndicatorProps } from './typing-indicator';
8
- export { UnreadSeparator, type UnreadSeparatorProps } from './unread-separator';
1
+ export { DateSeparator, type DateSeparatorProps } from './date-separator.js';
2
+ export { Message, type MessageActionProps, type MessageActionsProps, type MessageAuthorProps, type MessageAvatarProps, type MessageBodyProps, type MessageContentProps, type MessageContextValue, type MessageEditableBodyProps, type MessageProps, type MessageReactionsProps, useMessageContext, } from './message.js';
3
+ export { MessageInput, type MessageInputProps } from './message-input.js';
4
+ export { MessageList, type MessageListProps } from './message-list.js';
5
+ export { SystemMessage, type SystemMessageProps } from './system-message.js';
6
+ export { TypingIndicator, type TypingIndicatorProps } from './typing-indicator.js';
7
+ export { UnreadSeparator, type UnreadSeparatorProps } from './unread-separator.js';
9
8
  //# sourceMappingURL=index.d.ts.map
@@ -1,4 +1,3 @@
1
- "use client";
2
1
  import * as React from 'react';
3
2
  export interface MessageInputProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'onSubmit'> {
4
3
  onSubmit: (text: string) => void;
@@ -1,4 +1,3 @@
1
- "use client";
2
1
  import * as React from 'react';
3
2
  export interface MessageListProps extends React.HTMLAttributes<HTMLDivElement> {
4
3
  children: React.ReactNode;
@@ -1,5 +1,4 @@
1
- "use client";
2
- import { IconInput } from '../lib/icon-input';
1
+ import { IconInput } from '../lib/icon-input.js';
3
2
  import * as React from 'react';
4
3
  interface MessageContextValue {
5
4
  variant: 'flat' | 'bubble';