@devalok/shilp-sutra 0.54.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 (357) hide show
  1. package/MIGRATION.md +28 -0
  2. package/dist/_chunks/badge-group.js +1 -1
  3. package/dist/_chunks/popover.js +38 -37
  4. package/dist/_chunks/popover.js.map +1 -1
  5. package/dist/_chunks/primitives/react-accordion.js +270 -0
  6. package/dist/_chunks/primitives/react-accordion.js.map +1 -0
  7. package/dist/_chunks/primitives/react-alert-dialog.js +857 -0
  8. package/dist/_chunks/primitives/react-alert-dialog.js.map +1 -0
  9. package/dist/_chunks/primitives/react-aspect-ratio.js +32 -0
  10. package/dist/_chunks/primitives/react-aspect-ratio.js.map +1 -0
  11. package/dist/_chunks/primitives/react-avatar.js +69 -0
  12. package/dist/_chunks/primitives/react-avatar.js.map +1 -0
  13. package/dist/_chunks/primitives/react-checkbox.js +151 -0
  14. package/dist/_chunks/primitives/react-checkbox.js.map +1 -0
  15. package/dist/_chunks/primitives/react-context-menu.js +905 -0
  16. package/dist/_chunks/primitives/react-context-menu.js.map +1 -0
  17. package/dist/_chunks/primitives/react-dropdown-menu.js +220 -0
  18. package/dist/_chunks/primitives/react-dropdown-menu.js.map +1 -0
  19. package/dist/_chunks/primitives/react-hover-card.js +153 -0
  20. package/dist/_chunks/primitives/react-hover-card.js.map +1 -0
  21. package/dist/_chunks/primitives/react-label.js +16 -0
  22. package/dist/_chunks/primitives/react-label.js.map +1 -0
  23. package/dist/_chunks/primitives/react-menubar.js +304 -0
  24. package/dist/_chunks/primitives/react-menubar.js.map +1 -0
  25. package/dist/_chunks/primitives/react-navigation-menu.js +560 -0
  26. package/dist/_chunks/primitives/react-navigation-menu.js.map +1 -0
  27. package/dist/_chunks/primitives/react-popover.js +186 -0
  28. package/dist/_chunks/primitives/react-popover.js.map +1 -0
  29. package/dist/_chunks/primitives/react-progress.js +70 -0
  30. package/dist/_chunks/primitives/react-progress.js.map +1 -0
  31. package/dist/_chunks/primitives/react-radio-group.js +170 -0
  32. package/dist/_chunks/primitives/react-radio-group.js.map +1 -0
  33. package/dist/_chunks/primitives/react-select.js +671 -0
  34. package/dist/_chunks/primitives/react-select.js.map +1 -0
  35. package/dist/_chunks/primitives/react-separator.js +24 -0
  36. package/dist/_chunks/primitives/react-separator.js.map +1 -0
  37. package/dist/_chunks/primitives/react-slider.js +349 -0
  38. package/dist/_chunks/primitives/react-slider.js.map +1 -0
  39. package/dist/_chunks/primitives/react-switch.js +92 -0
  40. package/dist/_chunks/primitives/react-switch.js.map +1 -0
  41. package/dist/_chunks/primitives/react-tabs.js +114 -0
  42. package/dist/_chunks/primitives/react-tabs.js.map +1 -0
  43. package/dist/_chunks/primitives/react-toggle-group.js +122 -0
  44. package/dist/_chunks/primitives/react-toggle-group.js.map +1 -0
  45. package/dist/_chunks/primitives/react-toggle.js +28 -0
  46. package/dist/_chunks/primitives/react-toggle.js.map +1 -0
  47. package/dist/_chunks/primitives/react-tooltip.js +341 -0
  48. package/dist/_chunks/primitives/react-tooltip.js.map +1 -0
  49. package/dist/_chunks/primitives-internal.js +2071 -0
  50. package/dist/_chunks/primitives-internal.js.map +1 -0
  51. package/dist/_chunks/shared.js +32 -32
  52. package/dist/_chunks/tiptap.js +1 -1
  53. package/dist/ai/ai-command-provider.d.ts +2 -3
  54. package/dist/ai/block-renderer.d.ts +1 -2
  55. package/dist/ai/blocks/block-shell.d.ts +0 -1
  56. package/dist/ai/blocks/block-table.d.ts +1 -2
  57. package/dist/ai/blocks/confirm.d.ts +1 -2
  58. package/dist/ai/blocks/divider.d.ts +1 -2
  59. package/dist/ai/blocks/error.d.ts +1 -2
  60. package/dist/ai/blocks/index.d.ts +7 -8
  61. package/dist/ai/blocks/info.d.ts +1 -2
  62. package/dist/ai/blocks/loading.d.ts +1 -2
  63. package/dist/ai/blocks/stat-row.d.ts +1 -2
  64. package/dist/ai/blocks/success.d.ts +1 -2
  65. package/dist/ai/blocks/text.d.ts +1 -2
  66. package/dist/ai/command-bar.d.ts +1 -2
  67. package/dist/ai/conversation.d.ts +2 -3
  68. package/dist/ai/devadoot-icon.d.ts +0 -1
  69. package/dist/ai/index.d.ts +16 -17
  70. package/dist/ai/types.js +1 -0
  71. package/dist/composed/activity-feed.d.ts +1 -2
  72. package/dist/composed/avatar-group.d.ts +1 -2
  73. package/dist/composed/bulk-action-bar.d.ts +2 -3
  74. package/dist/composed/command-palette.d.ts +1 -2
  75. package/dist/composed/confirm-dialog.d.ts +0 -1
  76. package/dist/composed/date-picker/calendar-grid.d.ts +0 -1
  77. package/dist/composed/date-picker/date-picker.d.ts +0 -1
  78. package/dist/composed/date-picker/date-range-picker.d.ts +1 -2
  79. package/dist/composed/date-picker/date-time-picker.d.ts +0 -1
  80. package/dist/composed/date-picker/index.d.ts +17 -18
  81. package/dist/composed/date-picker/month-picker.d.ts +0 -1
  82. package/dist/composed/date-picker/presets.d.ts +0 -1
  83. package/dist/composed/date-picker/time-picker.d.ts +0 -1
  84. package/dist/composed/date-picker/use-calendar.d.ts +0 -1
  85. package/dist/composed/date-picker/year-picker.d.ts +0 -1
  86. package/dist/composed/deadline-indicator.d.ts +0 -1
  87. package/dist/composed/diff.d.ts +0 -1
  88. package/dist/composed/emoji-picker.d.ts +0 -1
  89. package/dist/composed/empty-state.d.ts +1 -2
  90. package/dist/composed/error-boundary.d.ts +0 -1
  91. package/dist/composed/extensions/emoji-data.d.ts +0 -1
  92. package/dist/composed/extensions/emoji-node.d.ts +0 -1
  93. package/dist/composed/extensions/emoji-suggestion.d.ts +1 -2
  94. package/dist/composed/extensions/file-attachment.d.ts +0 -1
  95. package/dist/composed/extensions/mention-suggestion.d.ts +1 -2
  96. package/dist/composed/extensions/slash-command.d.ts +0 -1
  97. package/dist/composed/file-preview/audio-preview.d.ts +0 -1
  98. package/dist/composed/file-preview/document-preview.d.ts +0 -1
  99. package/dist/composed/file-preview/embed-preview.d.ts +0 -1
  100. package/dist/composed/file-preview/image-preview.d.ts +0 -1
  101. package/dist/composed/file-preview/shared.d.ts +0 -1
  102. package/dist/composed/file-preview/video-preview.d.ts +0 -1
  103. package/dist/composed/file-preview.d.ts +0 -1
  104. package/dist/composed/filter-bar.d.ts +0 -1
  105. package/dist/composed/form-section.d.ts +0 -1
  106. package/dist/composed/global-loading.d.ts +0 -1
  107. package/dist/composed/index.d.ts +49 -50
  108. package/dist/composed/inline-edit.d.ts +0 -1
  109. package/dist/composed/markdown-viewer.d.ts +0 -1
  110. package/dist/composed/master-detail.d.ts +0 -1
  111. package/dist/composed/member-picker.d.ts +0 -1
  112. package/dist/composed/multi-select-popover.d.ts +0 -1
  113. package/dist/composed/priority-indicator.d.ts +0 -1
  114. package/dist/composed/responsive-modal.d.ts +1 -2
  115. package/dist/composed/responsive-modal.js +47 -47
  116. package/dist/composed/rich-chat-input/attachment-strip.d.ts +0 -1
  117. package/dist/composed/rich-chat-input/audio-player.d.ts +0 -1
  118. package/dist/composed/rich-chat-input/audio-waveform.d.ts +0 -1
  119. package/dist/composed/rich-chat-input/chat-toolbar.d.ts +0 -1
  120. package/dist/composed/rich-chat-input/recording-overlay.d.ts +0 -1
  121. package/dist/composed/rich-chat-input/reply-banner.d.ts +0 -1
  122. package/dist/composed/rich-chat-input/schedule-send.d.ts +0 -1
  123. package/dist/composed/rich-chat-input/use-voice-recorder.d.ts +0 -1
  124. package/dist/composed/rich-chat-input.d.ts +9 -10
  125. package/dist/composed/rich-chat-input.js +1 -1
  126. package/dist/composed/rich-text-editor.d.ts +1 -2
  127. package/dist/composed/schedule-view.d.ts +0 -1
  128. package/dist/composed/simple-tooltip.d.ts +0 -1
  129. package/dist/composed/status-badge.d.ts +1 -2
  130. package/dist/hooks/index.d.ts +6 -7
  131. package/dist/hooks/use-color-mode.d.ts +0 -1
  132. package/dist/hooks/use-mobile.d.ts +0 -1
  133. package/dist/hooks/use-touch-device.d.ts +0 -1
  134. package/dist/hooks/use-viewport-height.d.ts +0 -1
  135. package/dist/motion/check-motion-provider.d.ts +0 -1
  136. package/dist/motion/index.d.ts +2 -3
  137. package/dist/motion/motion-provider.d.ts +1 -2
  138. package/dist/motion/primitives-index.d.ts +1 -2
  139. package/dist/motion/primitives.d.ts +1 -2
  140. package/dist/primitives/_internal/react-arrow.d.ts +1 -1
  141. package/dist/primitives/_internal/react-collection.d.ts +2 -2
  142. package/dist/primitives/_internal/react-dismissable-layer.d.ts +1 -1
  143. package/dist/primitives/_internal/react-focus-scope.d.ts +1 -1
  144. package/dist/primitives/_internal/react-popper.d.ts +4 -4
  145. package/dist/primitives/_internal/react-portal.d.ts +1 -1
  146. package/dist/primitives/_internal/react-use-rect.d.ts +1 -1
  147. package/dist/primitives/react-accordion.d.ts +3 -3
  148. package/dist/primitives/react-alert-dialog.d.ts +2 -2
  149. package/dist/primitives/react-aspect-ratio.d.ts +1 -1
  150. package/dist/primitives/react-avatar.d.ts +2 -2
  151. package/dist/primitives/react-checkbox.d.ts +3 -3
  152. package/dist/primitives/react-collapsible.d.ts +2 -2
  153. package/dist/primitives/react-context-menu.d.ts +3 -3
  154. package/dist/primitives/react-dialog.d.ts +5 -5
  155. package/dist/primitives/react-dropdown-menu.d.ts +3 -3
  156. package/dist/primitives/react-hover-card.d.ts +5 -5
  157. package/dist/primitives/react-label.d.ts +1 -1
  158. package/dist/primitives/react-menu.d.ts +7 -7
  159. package/dist/primitives/react-menubar.d.ts +5 -5
  160. package/dist/primitives/react-navigation-menu.d.ts +5 -5
  161. package/dist/primitives/react-popover.d.ts +6 -6
  162. package/dist/primitives/react-progress.d.ts +2 -2
  163. package/dist/primitives/react-radio-group.d.ts +3 -3
  164. package/dist/primitives/react-roving-focus.d.ts +2 -2
  165. package/dist/primitives/react-select.d.ts +6 -6
  166. package/dist/primitives/react-separator.d.ts +1 -1
  167. package/dist/primitives/react-slider.d.ts +2 -2
  168. package/dist/primitives/react-switch.d.ts +2 -2
  169. package/dist/primitives/react-tabs.d.ts +3 -3
  170. package/dist/primitives/react-toast.d.ts +3 -3
  171. package/dist/primitives/react-toggle-group.d.ts +4 -4
  172. package/dist/primitives/react-toggle.d.ts +1 -1
  173. package/dist/primitives/react-tooltip.d.ts +5 -5
  174. package/dist/primitives/react-visually-hidden.d.ts +1 -1
  175. package/dist/shell/app-command-palette.d.ts +2 -3
  176. package/dist/shell/bottom-navbar.d.ts +1 -2
  177. package/dist/shell/command-registry.d.ts +1 -2
  178. package/dist/shell/index.d.ts +7 -8
  179. package/dist/shell/link-context.d.ts +2 -3
  180. package/dist/shell/notification-center.d.ts +0 -1
  181. package/dist/shell/notification-preferences.d.ts +0 -1
  182. package/dist/shell/top-bar.d.ts +1 -2
  183. package/dist/test-utils/conformance.d.ts +0 -1
  184. package/dist/ui/accordion.d.ts +1 -2
  185. package/dist/ui/accordion.js +1 -1
  186. package/dist/ui/alert-dialog.d.ts +1 -2
  187. package/dist/ui/alert-dialog.js +52 -52
  188. package/dist/ui/alert.d.ts +0 -1
  189. package/dist/ui/aspect-ratio.d.ts +1 -2
  190. package/dist/ui/aspect-ratio.js +4 -4
  191. package/dist/ui/autocomplete.d.ts +1 -2
  192. package/dist/ui/autocomplete.js +1 -1
  193. package/dist/ui/avatar.d.ts +1 -2
  194. package/dist/ui/avatar.js +33 -33
  195. package/dist/ui/badge-group.d.ts +1 -2
  196. package/dist/ui/badge-indicator.d.ts +0 -1
  197. package/dist/ui/badge.d.ts +3 -4
  198. package/dist/ui/banner.d.ts +0 -1
  199. package/dist/ui/breadcrumb.js +1 -1
  200. package/dist/ui/button-group.d.ts +1 -2
  201. package/dist/ui/button-processing.d.ts +0 -1
  202. package/dist/ui/button.d.ts +1 -2
  203. package/dist/ui/button.js +1 -1
  204. package/dist/ui/card.d.ts +0 -1
  205. package/dist/ui/charts/_internal/animation.d.ts +0 -1
  206. package/dist/ui/charts/_internal/axes.d.ts +0 -1
  207. package/dist/ui/charts/_internal/colors.d.ts +1 -2
  208. package/dist/ui/charts/_internal/grid-lines.d.ts +0 -1
  209. package/dist/ui/charts/_internal/legend.d.ts +0 -1
  210. package/dist/ui/charts/_internal/scales.d.ts +0 -1
  211. package/dist/ui/charts/_internal/tooltip.d.ts +0 -1
  212. package/dist/ui/charts/_internal/types.d.ts +0 -1
  213. package/dist/ui/charts/area-chart.d.ts +1 -2
  214. package/dist/ui/charts/bar-chart.d.ts +1 -2
  215. package/dist/ui/charts/chart-container.d.ts +1 -2
  216. package/dist/ui/charts/gauge-chart.d.ts +0 -1
  217. package/dist/ui/charts/index.d.ts +9 -10
  218. package/dist/ui/charts/line-chart.d.ts +1 -2
  219. package/dist/ui/charts/pie-chart.d.ts +0 -1
  220. package/dist/ui/charts/radar-chart.d.ts +0 -1
  221. package/dist/ui/charts/sparkline.d.ts +0 -1
  222. package/dist/ui/chat/date-separator.d.ts +0 -1
  223. package/dist/ui/chat/index.d.ts +7 -8
  224. package/dist/ui/chat/message-input.d.ts +0 -1
  225. package/dist/ui/chat/message-list.d.ts +0 -1
  226. package/dist/ui/chat/message.d.ts +1 -2
  227. package/dist/ui/chat/system-message.d.ts +1 -2
  228. package/dist/ui/chat/typing-indicator.d.ts +0 -1
  229. package/dist/ui/chat/unread-separator.d.ts +0 -1
  230. package/dist/ui/checkbox.d.ts +2 -3
  231. package/dist/ui/checkbox.js +13 -13
  232. package/dist/ui/collapsible.d.ts +1 -2
  233. package/dist/ui/collapsible.js +1 -1
  234. package/dist/ui/color-input.d.ts +0 -1
  235. package/dist/ui/color-swatch.d.ts +0 -1
  236. package/dist/ui/combobox.d.ts +2 -3
  237. package/dist/ui/combobox.js +125 -125
  238. package/dist/ui/combobox.js.map +1 -1
  239. package/dist/ui/context-menu.d.ts +1 -2
  240. package/dist/ui/context-menu.js +58 -58
  241. package/dist/ui/data-table-body.d.ts +0 -1
  242. package/dist/ui/data-table-bulk-actions.d.ts +0 -1
  243. package/dist/ui/data-table-card.d.ts +0 -1
  244. package/dist/ui/data-table-context.d.ts +0 -1
  245. package/dist/ui/data-table-header.d.ts +0 -1
  246. package/dist/ui/data-table-pagination.d.ts +0 -1
  247. package/dist/ui/data-table-toolbar.d.ts +0 -1
  248. package/dist/ui/data-table.d.ts +3 -4
  249. package/dist/ui/devalok-grain.d.ts +0 -1
  250. package/dist/ui/dialog.d.ts +1 -2
  251. package/dist/ui/dialog.js +43 -43
  252. package/dist/ui/dot.d.ts +0 -1
  253. package/dist/ui/dropdown-menu.d.ts +1 -2
  254. package/dist/ui/dropdown-menu.js +69 -69
  255. package/dist/ui/file-upload.d.ts +0 -1
  256. package/dist/ui/form.d.ts +0 -1
  257. package/dist/ui/hover-card.d.ts +1 -2
  258. package/dist/ui/hover-card.js +16 -16
  259. package/dist/ui/icon-button.d.ts +2 -3
  260. package/dist/ui/icon-context.d.ts +0 -1
  261. package/dist/ui/icon-group.d.ts +1 -2
  262. package/dist/ui/icon.d.ts +1 -2
  263. package/dist/ui/index.d.ts +78 -79
  264. package/dist/ui/index.d.ts.map +1 -1
  265. package/dist/ui/index.js.map +1 -1
  266. package/dist/ui/input-otp.d.ts +0 -1
  267. package/dist/ui/input.d.ts +1 -2
  268. package/dist/ui/label.d.ts +1 -2
  269. package/dist/ui/label.js +7 -7
  270. package/dist/ui/lib/bottom-sheet.d.ts +0 -1
  271. package/dist/ui/lib/check-tokens.d.ts +0 -1
  272. package/dist/ui/lib/field-state.d.ts +0 -1
  273. package/dist/ui/lib/icon-input.d.ts +0 -1
  274. package/dist/ui/lib/index.d.ts +6 -7
  275. package/dist/ui/lib/keybinding.d.ts +0 -1
  276. package/dist/ui/lib/link-context.d.ts +0 -1
  277. package/dist/ui/lib/mention.d.ts +0 -1
  278. package/dist/ui/lib/normalize-icon.d.ts +2 -2
  279. package/dist/ui/lib/slot.d.ts +2 -3
  280. package/dist/ui/lib/use-controllable-open.d.ts +0 -1
  281. package/dist/ui/link.d.ts +0 -1
  282. package/dist/ui/link.js +1 -1
  283. package/dist/ui/menubar.d.ts +1 -2
  284. package/dist/ui/menubar.js +64 -64
  285. package/dist/ui/navigation-menu.d.ts +1 -2
  286. package/dist/ui/navigation-menu.js +67 -67
  287. package/dist/ui/number-input.d.ts +1 -2
  288. package/dist/ui/oauth-button/index.d.ts +1 -2
  289. package/dist/ui/oauth-button/oauth-button.d.ts +2 -3
  290. package/dist/ui/pagination.d.ts +0 -1
  291. package/dist/ui/pagination.js +1 -1
  292. package/dist/ui/popover.d.ts +1 -2
  293. package/dist/ui/progress-ring.d.ts +0 -1
  294. package/dist/ui/progress.d.ts +1 -2
  295. package/dist/ui/progress.js +30 -30
  296. package/dist/ui/radio.d.ts +2 -3
  297. package/dist/ui/radio.js +18 -18
  298. package/dist/ui/search-input.d.ts +0 -1
  299. package/dist/ui/segmented-control.d.ts +1 -2
  300. package/dist/ui/select.d.ts +1 -2
  301. package/dist/ui/select.js +55 -55
  302. package/dist/ui/separator.d.ts +1 -2
  303. package/dist/ui/separator.js +5 -5
  304. package/dist/ui/sheet.d.ts +1 -2
  305. package/dist/ui/sheet.js +45 -45
  306. package/dist/ui/sidebar.d.ts +4 -5
  307. package/dist/ui/sidebar.js +1 -1
  308. package/dist/ui/slider.d.ts +1 -2
  309. package/dist/ui/slider.js +14 -14
  310. package/dist/ui/spinner.d.ts +0 -1
  311. package/dist/ui/split-button.d.ts +14 -4
  312. package/dist/ui/split-button.d.ts.map +1 -1
  313. package/dist/ui/split-button.js.map +1 -1
  314. package/dist/ui/stat-card.d.ts +3 -4
  315. package/dist/ui/stat-flash.d.ts +1 -2
  316. package/dist/ui/stepper.d.ts +1 -2
  317. package/dist/ui/surface.js +1 -1
  318. package/dist/ui/switch.d.ts +2 -3
  319. package/dist/ui/switch.js +12 -12
  320. package/dist/ui/table-row-link.d.ts +0 -1
  321. package/dist/ui/tabs.d.ts +1 -2
  322. package/dist/ui/tabs.js +35 -35
  323. package/dist/ui/textarea.d.ts +1 -2
  324. package/dist/ui/toast-registry.d.ts +0 -1
  325. package/dist/ui/toast-types.js +1 -0
  326. package/dist/ui/toast.d.ts +2 -3
  327. package/dist/ui/toaster.d.ts +0 -1
  328. package/dist/ui/toggle-group.d.ts +2 -3
  329. package/dist/ui/toggle-group.js +14 -14
  330. package/dist/ui/toggle.d.ts +1 -2
  331. package/dist/ui/toggle.js +12 -12
  332. package/dist/ui/tooltip.d.ts +1 -2
  333. package/dist/ui/tooltip.js +21 -21
  334. package/dist/ui/tree-view/index.d.ts +3 -4
  335. package/dist/ui/tree-view/tree-item.d.ts +1 -2
  336. package/dist/ui/tree-view/tree-view.d.ts +1 -2
  337. package/dist/ui/tree-view/use-tree.d.ts +1 -2
  338. package/dist/ui/truncated-text.d.ts +0 -1
  339. package/docs/recipes/install-astro.md +2 -0
  340. package/docs/recipes/install-next-app-router.md +2 -0
  341. package/docs/recipes/install-remix.md +2 -0
  342. package/docs/recipes/install-tanstack-start.md +2 -0
  343. package/docs/recipes/install-vite.md +2 -0
  344. package/docs/recipes/troubleshoot.md +80 -0
  345. package/llms.txt +1 -1
  346. package/mcp-manifest.json +9 -1
  347. package/package.json +30 -5
  348. package/skill/SKILL.md +1 -1
  349. package/skill/references/components.md +1 -1
  350. package/skill/references/setup-astro.md +2 -0
  351. package/skill/references/setup-next-app-router.md +2 -0
  352. package/skill/references/setup-remix.md +2 -0
  353. package/skill/references/setup-tanstack-start.md +2 -0
  354. package/skill/references/setup-vite.md +2 -0
  355. package/skill/references/troubleshoot.md +80 -0
  356. package/dist/_chunks/primitives.js +0 -7596
  357. package/dist/_chunks/primitives.js.map +0 -1
@@ -1,9 +1,9 @@
1
1
  "use client";
2
- import { Range as e, Root$3 as t, Thumb$1 as n, Track as r } from "./primitives.js";
3
- import { tweens as i } from "../ui/lib/motion.js";
4
- import { cn as a } from "../ui/lib/utils.js";
5
- import { Icon as o } from "../ui/icon.js";
6
- import { Button as s } from "../ui/button.js";
2
+ import { tweens as e } from "../ui/lib/motion.js";
3
+ import { cn as t } from "../ui/lib/utils.js";
4
+ import { Icon as n } from "../ui/icon.js";
5
+ import { Button as r } from "../ui/button.js";
6
+ import { Range as i, Root as a, Thumb as o, Track as s } from "./primitives/react-slider.js";
7
7
  import "react";
8
8
  import { jsx as c, jsxs as l } from "react/jsx-runtime";
9
9
  import { IconAlertTriangle as u, IconDownload as d, IconVolume as f, IconVolumeOff as p } from "@tabler/icons-react";
@@ -13,7 +13,7 @@ function h({ message: e, url: t }) {
13
13
  return /* @__PURE__ */ l("div", {
14
14
  className: "flex flex-col items-center justify-center gap-ds-04 rounded-control border border-surface-border bg-surface-sunken p-ds-08 text-center",
15
15
  children: [
16
- /* @__PURE__ */ c(o, {
16
+ /* @__PURE__ */ c(n, {
17
17
  icon: u,
18
18
  size: "2xl",
19
19
  className: "text-warning-9"
@@ -25,10 +25,10 @@ function h({ message: e, url: t }) {
25
25
  className: "text-body-sm text-surface-fg-muted mt-ds-01",
26
26
  children: e
27
27
  })] }),
28
- /* @__PURE__ */ c(s, {
28
+ /* @__PURE__ */ c(r, {
29
29
  variant: "outline",
30
30
  size: "xs",
31
- startIcon: /* @__PURE__ */ c(o, { icon: d }),
31
+ startIcon: /* @__PURE__ */ c(n, { icon: d }),
32
32
  asChild: !0,
33
33
  children: /* @__PURE__ */ c("a", {
34
34
  href: t,
@@ -41,7 +41,7 @@ function h({ message: e, url: t }) {
41
41
  ]
42
42
  });
43
43
  }
44
- function g({ children: e, className: t }) {
44
+ function g({ children: n, className: r }) {
45
45
  return /* @__PURE__ */ c(m.div, {
46
46
  initial: {
47
47
  opacity: 0,
@@ -51,43 +51,43 @@ function g({ children: e, className: t }) {
51
51
  opacity: 1,
52
52
  y: 0
53
53
  },
54
- transition: i.fade,
55
- className: a("flex items-center gap-ds-01 rounded-control bg-surface-overlay/95 px-ds-02 py-ds-01 shadow-floating backdrop-blur-xs", t),
56
- children: e
54
+ transition: e.fade,
55
+ className: t("flex items-center gap-ds-01 rounded-control bg-surface-overlay/95 px-ds-02 py-ds-01 shadow-floating backdrop-blur-xs", r),
56
+ children: n
57
57
  });
58
58
  }
59
59
  function _() {
60
60
  return /* @__PURE__ */ c("div", { className: "mx-ds-01 h-4 w-px bg-surface-border-subtle" });
61
61
  }
62
- function v({ value: i, max: o = 100, step: s = 1, onValueChange: u, tone: d = "light", ariaLabel: f, disabled: p, className: m }) {
62
+ function v({ value: e, max: n = 100, step: r = 1, onValueChange: u, tone: d = "light", ariaLabel: f, disabled: p, className: m }) {
63
63
  let h = d === "dark";
64
- return /* @__PURE__ */ l(t, {
65
- className: a("group/ms relative flex h-3 w-full cursor-pointer touch-none select-none items-center", m),
66
- value: [i],
67
- max: o,
68
- step: s,
64
+ return /* @__PURE__ */ l(a, {
65
+ className: t("group/ms relative flex h-3 w-full cursor-pointer touch-none select-none items-center", m),
66
+ value: [e],
67
+ max: n,
68
+ step: r,
69
69
  disabled: p,
70
70
  onValueChange: (e) => u(e[0] ?? 0),
71
71
  "aria-label": f,
72
- children: [/* @__PURE__ */ c(r, {
73
- className: a("relative h-1 w-full grow overflow-hidden rounded-pill", h ? "bg-white/30" : "bg-surface-sunken"),
74
- children: /* @__PURE__ */ c(e, { className: a("absolute h-full rounded-pill", h ? "bg-white" : "bg-accent-9") })
75
- }), /* @__PURE__ */ c(n, { className: a("block h-3 w-3 rounded-pill shadow-raised outline-hidden transition-[opacity,transform] duration-fast-02", "opacity-0 group-hover/ms:opacity-100 focus:opacity-100 active:scale-110", "focus-visible:opacity-100 focus-visible:ring-2 focus-visible:ring-offset-1", h ? "bg-white focus-visible:ring-white" : "bg-accent-9 focus-visible:ring-accent-9") })]
72
+ children: [/* @__PURE__ */ c(s, {
73
+ className: t("relative h-1 w-full grow overflow-hidden rounded-pill", h ? "bg-white/30" : "bg-surface-sunken"),
74
+ children: /* @__PURE__ */ c(i, { className: t("absolute h-full rounded-pill", h ? "bg-white" : "bg-accent-9") })
75
+ }), /* @__PURE__ */ c(o, { className: t("block h-3 w-3 rounded-pill shadow-raised outline-hidden transition-[opacity,transform] duration-fast-02", "opacity-0 group-hover/ms:opacity-100 focus:opacity-100 active:scale-110", "focus-visible:opacity-100 focus-visible:ring-2 focus-visible:ring-offset-1", h ? "bg-white focus-visible:ring-white" : "bg-accent-9 focus-visible:ring-accent-9") })]
76
76
  });
77
77
  }
78
- function y({ volume: e, muted: t, onVolumeChange: n, onMuteToggle: r, variant: i = "light" }) {
79
- let s = t ? 0 : e;
78
+ function y({ volume: e, muted: r, onVolumeChange: i, onMuteToggle: a, variant: o = "light" }) {
79
+ let s = r ? 0 : e;
80
80
  return /* @__PURE__ */ l("div", {
81
81
  className: "flex items-center gap-ds-02 shrink-0 group/vol",
82
82
  children: [/* @__PURE__ */ c("button", {
83
- onClick: r,
84
- className: a("transition-colors", i === "dark" ? "text-white hover:text-white/80" : "text-surface-fg-muted hover:text-surface-fg"),
85
- "aria-label": t ? "Unmute (M)" : "Mute (M)",
86
- title: t ? "Unmute" : "Mute",
87
- children: t || e === 0 ? /* @__PURE__ */ c(o, {
83
+ onClick: a,
84
+ className: t("transition-colors", o === "dark" ? "text-white hover:text-white/80" : "text-surface-fg-muted hover:text-surface-fg"),
85
+ "aria-label": r ? "Unmute (M)" : "Mute (M)",
86
+ title: r ? "Unmute" : "Mute",
87
+ children: r || e === 0 ? /* @__PURE__ */ c(n, {
88
88
  icon: p,
89
89
  size: "sm"
90
- }) : /* @__PURE__ */ c(o, {
90
+ }) : /* @__PURE__ */ c(n, {
91
91
  icon: f,
92
92
  size: "sm"
93
93
  })
@@ -97,8 +97,8 @@ function y({ volume: e, muted: t, onVolumeChange: n, onMuteToggle: r, variant: i
97
97
  value: s,
98
98
  max: 1,
99
99
  step: .01,
100
- onValueChange: n,
101
- tone: i,
100
+ onValueChange: i,
101
+ tone: o,
102
102
  ariaLabel: "Volume"
103
103
  })
104
104
  })]
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { arrow as e, autoPlacement as t, autoUpdate as n, computePosition as r, flip$1 as i, hide as a, inline as o, offset$1 as s, shift$1 as c, size$1 as l } from "./primitives.js";
2
+ import { arrow as e, autoPlacement as t, autoUpdate as n, computePosition as r, flip$1 as i, hide as a, inline as o, offset$1 as s, shift$1 as c, size$1 as l } from "./primitives-internal.js";
3
3
  import u, { createContext as d, createElement as f, createRef as p, forwardRef as m, memo as h, useContext as g, useDebugValue as _, useEffect as v, useLayoutEffect as y, useMemo as b, useRef as x, useState as S, version as C } from "react";
4
4
  import { Fragment as w, jsx as ee, jsxs as te } from "react/jsx-runtime";
5
5
  import ne, { createPortal as re, flushSync as ie } from "react-dom";
@@ -1,6 +1,5 @@
1
- "use client";
2
- import { IconInput } from '../ui/lib/icon-input';
3
- import { BlockComponentProps } from './types';
1
+ import { IconInput } from '../ui/lib/icon-input.js';
2
+ import { BlockComponentProps } from './types.js';
4
3
  import * as React from 'react';
5
4
  export interface AICommandContext {
6
5
  customBlocks: Record<string, React.ComponentType<BlockComponentProps<any>>>;
@@ -1,5 +1,4 @@
1
- "use client";
2
- import { Block, BlockComponentProps } from './types';
1
+ import { Block, BlockComponentProps } from './types.js';
3
2
  import * as React from 'react';
4
3
  export interface BlockRendererProps {
5
4
  blocks: Block[];
@@ -1,4 +1,3 @@
1
- "use client";
2
1
  import * as React from 'react';
3
2
  export interface BlockShellProps {
4
3
  confidence?: 'high' | 'medium' | 'low';
@@ -1,5 +1,4 @@
1
- "use client";
2
- import { BlockComponentProps, BlockTableData } from '../types';
1
+ import { BlockComponentProps, BlockTableData } from '../types.js';
3
2
  import * as React from 'react';
4
3
  declare const BlockTable: React.MemoExoticComponent<({ data, confidence, }: BlockComponentProps<BlockTableData>) => React.JSX.Element>;
5
4
  export { BlockTable };
@@ -1,5 +1,4 @@
1
- "use client";
2
- import { BlockComponentProps, ConfirmBlockData } from '../types';
1
+ import { BlockComponentProps, ConfirmBlockData } from '../types.js';
3
2
  import * as React from 'react';
4
3
  declare const ConfirmBlock: React.MemoExoticComponent<({ data, confidence, onAction, }: BlockComponentProps<ConfirmBlockData>) => React.JSX.Element>;
5
4
  export { ConfirmBlock };
@@ -1,5 +1,4 @@
1
- "use client";
2
- import { BlockComponentProps } from '../types';
1
+ import { BlockComponentProps } from '../types.js';
3
2
  import * as React from 'react';
4
3
  declare const DividerBlock: React.MemoExoticComponent<(_props: BlockComponentProps<Record<string, never>>) => React.JSX.Element>;
5
4
  export { DividerBlock };
@@ -1,5 +1,4 @@
1
- "use client";
2
- import { BlockComponentProps, ErrorBlockData } from '../types';
1
+ import { BlockComponentProps, ErrorBlockData } from '../types.js';
3
2
  import * as React from 'react';
4
3
  declare const ErrorBlock: React.MemoExoticComponent<({ data, confidence, }: BlockComponentProps<ErrorBlockData>) => React.JSX.Element>;
5
4
  export { ErrorBlock };
@@ -1,9 +1,8 @@
1
- "use client";
2
- export { BlockTable } from './block-table';
3
- export { ConfirmBlock } from './confirm';
4
- export { DividerBlock } from './divider';
5
- export { InfoBlock } from './info';
6
- export { LoadingBlock } from './loading';
7
- export { StatRowBlock } from './stat-row';
8
- export { SuccessBlock } from './success';
1
+ export { BlockTable } from './block-table.js';
2
+ export { ConfirmBlock } from './confirm.js';
3
+ export { DividerBlock } from './divider.js';
4
+ export { InfoBlock } from './info.js';
5
+ export { LoadingBlock } from './loading.js';
6
+ export { StatRowBlock } from './stat-row.js';
7
+ export { SuccessBlock } from './success.js';
9
8
  //# sourceMappingURL=index.d.ts.map
@@ -1,5 +1,4 @@
1
- "use client";
2
- import { BlockComponentProps } from '../types';
1
+ import { BlockComponentProps } from '../types.js';
3
2
  import * as React from 'react';
4
3
  declare const InfoBlock: React.MemoExoticComponent<({ data, }: BlockComponentProps<{
5
4
  message: string;
@@ -1,5 +1,4 @@
1
- "use client";
2
- import { BlockComponentProps, LoadingBlockData } from '../types';
1
+ import { BlockComponentProps, LoadingBlockData } from '../types.js';
3
2
  import * as React from 'react';
4
3
  declare const LoadingBlock: React.MemoExoticComponent<({ data, }: BlockComponentProps<LoadingBlockData>) => React.JSX.Element>;
5
4
  export { LoadingBlock };
@@ -1,5 +1,4 @@
1
- "use client";
2
- import { BlockComponentProps, StatRowBlockData } from '../types';
1
+ import { BlockComponentProps, StatRowBlockData } from '../types.js';
3
2
  import * as React from 'react';
4
3
  declare const StatRowBlock: React.MemoExoticComponent<({ data, }: BlockComponentProps<StatRowBlockData>) => React.JSX.Element | null>;
5
4
  export { StatRowBlock };
@@ -1,5 +1,4 @@
1
- "use client";
2
- import { BlockComponentProps, SuccessBlockData } from '../types';
1
+ import { BlockComponentProps, SuccessBlockData } from '../types.js';
3
2
  import * as React from 'react';
4
3
  declare const SuccessBlock: React.MemoExoticComponent<({ data, blockId, confidence, onAction, }: BlockComponentProps<SuccessBlockData>) => React.JSX.Element>;
5
4
  export { SuccessBlock };
@@ -1,5 +1,4 @@
1
- "use client";
2
- import { BlockComponentProps } from '../types';
1
+ import { BlockComponentProps } from '../types.js';
3
2
  import * as React from 'react';
4
3
  declare const TextBlock: React.MemoExoticComponent<({ data, confidence, }: BlockComponentProps<{
5
4
  content: string;
@@ -1,5 +1,4 @@
1
- "use client";
2
- import { CommandGroup, CommandItem } from '../composed/command-palette';
1
+ import { CommandGroup, CommandItem } from '../composed/command-palette.js';
3
2
  import * as React from 'react';
4
3
  /**
5
4
  * Unified AI command interface with three visual variants:
@@ -1,6 +1,5 @@
1
- "use client";
2
- import { IconInput } from '../ui/lib/icon-input';
3
- import { BlockComponentProps, ConversationMessage, ProcessingStep } from './types';
1
+ import { IconInput } from '../ui/lib/icon-input.js';
2
+ import { BlockComponentProps, ConversationMessage, ProcessingStep } from './types.js';
4
3
  import * as React from 'react';
5
4
  /**
6
5
  * Renders a scrollable AI conversation thread with support for streaming
@@ -1,4 +1,3 @@
1
- "use client";
2
1
  import * as React from 'react';
3
2
  export type DevadootState = 'idle' | 'processing' | 'responded' | 'error';
4
3
  export interface DevadootIconProps {
@@ -1,18 +1,17 @@
1
- "use client";
2
- export type { AICommandContext, AICommandProviderProps } from './ai-command-provider';
3
- export { AICommandProvider, useAICommand } from './ai-command-provider';
4
- export type { CommandBarProps } from './command-bar';
5
- export { CommandBar } from './command-bar';
6
- export type { AIConversationProps } from './conversation';
7
- export { AIConversation } from './conversation';
8
- export type { DevadootIconProps, DevadootState } from './devadoot-icon';
9
- export { DevadootIcon } from './devadoot-icon';
10
- export { BlockTable } from './blocks/block-table';
11
- export { ConfirmBlock } from './blocks/confirm';
12
- export { DividerBlock } from './blocks/divider';
13
- export { InfoBlock } from './blocks/info';
14
- export { LoadingBlock } from './blocks/loading';
15
- export { StatRowBlock } from './blocks/stat-row';
16
- export { SuccessBlock } from './blocks/success';
17
- export type { AIResponse, Block, BlockComponentProps, BlockTableColumn, BlockTableData, ConfirmBlockData, ConversationMessage, ErrorBlockData, LoadingBlockData, ProcessingStep, StatRowBlockData, StatRowStat, SuccessBlockData, } from './types';
1
+ export type { AICommandContext, AICommandProviderProps } from './ai-command-provider.js';
2
+ export { AICommandProvider, useAICommand } from './ai-command-provider.js';
3
+ export type { CommandBarProps } from './command-bar.js';
4
+ export { CommandBar } from './command-bar.js';
5
+ export type { AIConversationProps } from './conversation.js';
6
+ export { AIConversation } from './conversation.js';
7
+ export type { DevadootIconProps, DevadootState } from './devadoot-icon.js';
8
+ export { DevadootIcon } from './devadoot-icon.js';
9
+ export { BlockTable } from './blocks/block-table.js';
10
+ export { ConfirmBlock } from './blocks/confirm.js';
11
+ export { DividerBlock } from './blocks/divider.js';
12
+ export { InfoBlock } from './blocks/info.js';
13
+ export { LoadingBlock } from './blocks/loading.js';
14
+ export { StatRowBlock } from './blocks/stat-row.js';
15
+ export { SuccessBlock } from './blocks/success.js';
16
+ export type { AIResponse, Block, BlockComponentProps, BlockTableColumn, BlockTableData, ConfirmBlockData, ConversationMessage, ErrorBlockData, LoadingBlockData, ProcessingStep, StatRowBlockData, StatRowStat, SuccessBlockData, } from './types.js';
18
17
  //# sourceMappingURL=index.d.ts.map
package/dist/ai/types.js CHANGED
@@ -0,0 +1 @@
1
+ export {};
@@ -1,5 +1,4 @@
1
- "use client";
2
- import { IconInput } from '../ui/lib/icon-input';
1
+ import { IconInput } from '../ui/lib/icon-input.js';
3
2
  import * as React from 'react';
4
3
  export interface ActivityItem {
5
4
  id: string;
@@ -1,6 +1,5 @@
1
- "use client";
2
1
  import { VariantProps } from 'class-variance-authority';
3
- import { avatarVariants, AvatarRing } from '../ui/avatar';
2
+ import { avatarVariants, AvatarRing } from '../ui/avatar.js';
4
3
  import * as React from 'react';
5
4
  type Size = NonNullable<VariantProps<typeof avatarVariants>['size']>;
6
5
  export interface AvatarUser {
@@ -1,6 +1,5 @@
1
- "use client";
2
- import { Button } from '../ui/button';
3
- import { IconInput } from '../ui/lib/icon-input';
1
+ import { Button } from '../ui/button.js';
2
+ import { IconInput } from '../ui/lib/icon-input.js';
4
3
  import * as React from 'react';
5
4
  type ButtonColor = React.ComponentProps<typeof Button>['color'];
6
5
  export interface BulkActionBarAction {
@@ -1,5 +1,4 @@
1
- "use client";
2
- import { IconInput } from '../ui/lib/icon-input';
1
+ import { IconInput } from '../ui/lib/icon-input.js';
3
2
  import * as React from 'react';
4
3
  export interface CommandItem {
5
4
  id: string;
@@ -1,4 +1,3 @@
1
- "use client";
2
1
  import * as React from 'react';
3
2
  export interface ConfirmDialogProps extends Omit<React.ComponentPropsWithoutRef<'div'>, 'color'> {
4
3
  /** Whether the dialog is open */
@@ -1,4 +1,3 @@
1
- "use client";
2
1
  import * as React from 'react';
3
2
  export interface CalendarEvent {
4
3
  date: Date;
@@ -1,4 +1,3 @@
1
- "use client";
2
1
  import * as React from 'react';
3
2
  /**
4
3
  * A popover-based date picker with day/month/year drill-down views.
@@ -1,5 +1,4 @@
1
- "use client";
2
- import { PresetKey } from './presets';
1
+ import { PresetKey } from './presets.js';
3
2
  import * as React from 'react';
4
3
  export interface DateRangePickerProps extends Omit<React.ComponentPropsWithoutRef<'button'>, 'onChange'> {
5
4
  startDate?: Date | null;
@@ -1,4 +1,3 @@
1
- "use client";
2
1
  import * as React from 'react';
3
2
  export interface DateTimePickerProps extends Omit<React.ComponentPropsWithoutRef<'button'>, 'onChange' | 'value'> {
4
3
  /** The currently selected date and time. */
@@ -1,19 +1,18 @@
1
- "use client";
2
- export type { CalendarEvent, CalendarGridProps } from './calendar-grid';
3
- export { CalendarGrid } from './calendar-grid';
4
- export type { DatePickerProps } from './date-picker';
5
- export { DatePicker } from './date-picker';
6
- export type { DateRangePickerProps } from './date-range-picker';
7
- export { DateRangePicker } from './date-range-picker';
8
- export type { DateTimePickerProps } from './date-time-picker';
9
- export { DateTimePicker } from './date-time-picker';
10
- export type { MonthPickerProps } from './month-picker';
11
- export { MonthPicker } from './month-picker';
12
- export type { PresetKey, PresetsProps } from './presets';
13
- export { Presets } from './presets';
14
- export type { TimePickerProps } from './time-picker';
15
- export { TimePicker } from './time-picker';
16
- export { useCalendar } from './use-calendar';
17
- export type { YearPickerProps } from './year-picker';
18
- export { YearPicker } from './year-picker';
1
+ export type { CalendarEvent, CalendarGridProps } from './calendar-grid.js';
2
+ export { CalendarGrid } from './calendar-grid.js';
3
+ export type { DatePickerProps } from './date-picker.js';
4
+ export { DatePicker } from './date-picker.js';
5
+ export type { DateRangePickerProps } from './date-range-picker.js';
6
+ export { DateRangePicker } from './date-range-picker.js';
7
+ export type { DateTimePickerProps } from './date-time-picker.js';
8
+ export { DateTimePicker } from './date-time-picker.js';
9
+ export type { MonthPickerProps } from './month-picker.js';
10
+ export { MonthPicker } from './month-picker.js';
11
+ export type { PresetKey, PresetsProps } from './presets.js';
12
+ export { Presets } from './presets.js';
13
+ export type { TimePickerProps } from './time-picker.js';
14
+ export { TimePicker } from './time-picker.js';
15
+ export { useCalendar } from './use-calendar.js';
16
+ export type { YearPickerProps } from './year-picker.js';
17
+ export { YearPicker } from './year-picker.js';
19
18
  //# sourceMappingURL=index.d.ts.map
@@ -1,4 +1,3 @@
1
- "use client";
2
1
  import * as React from 'react';
3
2
  export interface MonthPickerProps extends React.ComponentPropsWithoutRef<'div'> {
4
3
  currentYear: number;
@@ -1,4 +1,3 @@
1
- "use client";
2
1
  import * as React from 'react';
3
2
  export type PresetKey = 'today' | 'yesterday' | 'last7days' | 'last30days' | 'thisMonth' | 'lastMonth' | 'thisYear';
4
3
  export interface PresetsProps extends Omit<React.ComponentPropsWithoutRef<'div'>, 'onSelect'> {
@@ -1,4 +1,3 @@
1
- "use client";
2
1
  import * as React from 'react';
3
2
  export interface TimePickerProps extends Omit<React.ComponentPropsWithoutRef<'button'>, 'onChange' | 'value'> {
4
3
  /** The currently selected time (as a Date object). */
@@ -1,4 +1,3 @@
1
- "use client";
2
1
  export declare function useCalendar(initialMonth?: Date): {
3
2
  currentMonth: Date;
4
3
  setCurrentMonth: import('react').Dispatch<import('react').SetStateAction<Date>>;
@@ -1,4 +1,3 @@
1
- "use client";
2
1
  import * as React from 'react';
3
2
  export interface YearPickerProps extends React.ComponentPropsWithoutRef<'div'> {
4
3
  currentYear: number;
@@ -1,4 +1,3 @@
1
- "use client";
2
1
  import * as React from 'react';
3
2
  export interface DeadlineIndicatorProps extends React.HTMLAttributes<HTMLSpanElement> {
4
3
  deadline: Date | string;
@@ -1,4 +1,3 @@
1
- "use client";
2
1
  import * as React from 'react';
3
2
  export type DiffMode = 'inline' | 'split' | 'fields';
4
3
  export type DiffGranularity = 'line' | 'word';
@@ -1,4 +1,3 @@
1
- "use client";
2
1
  import * as React from 'react';
3
2
  export interface EmojiData {
4
3
  id: string;
@@ -1,5 +1,4 @@
1
- "use client";
2
- import { IconInput } from '../ui/lib/icon-input';
1
+ import { IconInput } from '../ui/lib/icon-input.js';
3
2
  import * as React from 'react';
4
3
  export interface EmptyStateProps extends React.HTMLAttributes<HTMLDivElement> {
5
4
  /** Icon. Accepts any `IconInput`. Falls back to the Devalok chakra glyph. */
@@ -1,4 +1,3 @@
1
- "use client";
2
1
  import * as React from 'react';
3
2
  export interface ErrorDisplayProps extends React.ComponentPropsWithoutRef<'div'> {
4
3
  error: unknown;
@@ -1,4 +1,3 @@
1
- "use client";
2
1
  interface EmojiSkin {
3
2
  native: string;
4
3
  }
@@ -1,4 +1,3 @@
1
- "use client";
2
1
  import { Node } from '@tiptap/core';
3
2
  export interface EmojiNodeAttrs {
4
3
  id: string;
@@ -1,6 +1,5 @@
1
- "use client";
2
1
  import { Extension } from '@tiptap/core';
3
- import { ResolvedEmoji } from './emoji-data';
2
+ import { ResolvedEmoji } from './emoji-data.js';
4
3
  export type { ResolvedEmoji as EmojiSuggestionItem };
5
4
  /** Factory: returns the configured `:shortcode:` emoji suggestion extension. */
6
5
  export declare function createEmojiSuggestion(): Extension<any, any>;
@@ -1,4 +1,3 @@
1
- "use client";
2
1
  import { Node } from '@tiptap/core';
3
2
  export declare const FileAttachment: Node<any, any>;
4
3
  //# sourceMappingURL=file-attachment.d.ts.map
@@ -1,6 +1,5 @@
1
- "use client";
2
1
  import { SuggestionKeyDownProps, SuggestionProps } from '@tiptap/suggestion';
3
- import { MentionItem } from '../rich-text-editor';
2
+ import { MentionItem } from '../rich-text-editor.js';
4
3
  export declare function createSuggestionRenderer(onMentionSelect?: (item: MentionItem) => void): () => {
5
4
  onStart: (props: SuggestionProps<MentionItem>) => void;
6
5
  onUpdate: (props: SuggestionProps<MentionItem>) => void;
@@ -1,4 +1,3 @@
1
- "use client";
2
1
  import { Editor, Extension } from '@tiptap/core';
3
2
  import * as React from 'react';
4
3
  export interface SlashCommand {
@@ -1,4 +1,3 @@
1
- "use client";
2
1
  import * as React from 'react';
3
2
  export default function AudioPreview({ url, fileName, onError }: {
4
3
  url: string;
@@ -1,4 +1,3 @@
1
- "use client";
2
1
  import * as React from 'react';
3
2
  export default function DocumentPreview({ url, initialPage, onError }: {
4
3
  url: string;
@@ -1,4 +1,3 @@
1
- "use client";
2
1
  import * as React from 'react';
3
2
  export default function EmbedPreview({ url, embedUrl, onError }: {
4
3
  url: string;
@@ -1,4 +1,3 @@
1
- "use client";
2
1
  import * as React from 'react';
3
2
  export default function ImagePreview({ url, alt, onError }: {
4
3
  url: string;
@@ -1,4 +1,3 @@
1
- "use client";
2
1
  import * as React from 'react';
3
2
  export declare function ErrorFallback({ message, url }: {
4
3
  message: string;
@@ -1,4 +1,3 @@
1
- "use client";
2
1
  import * as React from 'react';
3
2
  export default function VideoPreview({ url, onError }: {
4
3
  url: string;
@@ -1,4 +1,3 @@
1
- "use client";
2
1
  import * as React from 'react';
3
2
  type FileType = 'image' | 'pdf' | 'video' | 'audio' | 'embed';
4
3
  export interface FilePreviewProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'onError'> {
@@ -1,4 +1,3 @@
1
- "use client";
2
1
  import * as React from 'react';
3
2
  type FilterBarSize = 'xs' | 'sm' | 'md';
4
3
  /**
@@ -1,4 +1,3 @@
1
- "use client";
2
1
  import * as React from 'react';
3
2
  export interface FormSectionProps extends React.HTMLAttributes<HTMLDivElement> {
4
3
  title: string;
@@ -1,4 +1,3 @@
1
- "use client";
2
1
  import * as React from 'react';
3
2
  export interface GlobalLoadingProps extends React.ComponentPropsWithoutRef<'div'> {
4
3
  isLoading: boolean;