@heyramzi/ui 1.54.0 → 1.54.2

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 (310) hide show
  1. package/package.json +3 -2
  2. package/scripts/sync-shadcn.mjs +2 -2
  3. package/src/ai/ai-button/AiButton.svelte +1 -1
  4. package/src/ai/confirmation/Confirmation.svelte +1 -1
  5. package/src/ai/confirmation/ConfirmationAction.svelte +1 -1
  6. package/src/ai/confirmation/ConfirmationActions.svelte +1 -1
  7. package/src/ai/confirmation/ConfirmationTitle.svelte +1 -1
  8. package/src/ai/generation-progress/GenerationProgress.svelte +1 -1
  9. package/src/ai/loading-state/PixelLoader.svelte +1 -1
  10. package/src/ai/prompt-input/PromptInput.svelte +1 -1
  11. package/src/ai/prompt-input/PromptInputBody.svelte +1 -1
  12. package/src/ai/prompt-input/PromptInputSubmit.svelte +1 -1
  13. package/src/ai/prompt-input/PromptInputTextarea.svelte +1 -1
  14. package/src/ai/prompt-input/PromptInputToolbar.svelte +1 -1
  15. package/src/ai/reasoning/Reasoning.svelte +1 -1
  16. package/src/ai/reasoning/ReasoningContent.svelte +1 -1
  17. package/src/ai/reasoning/ReasoningTrigger.svelte +1 -1
  18. package/src/ai/response/Response.svelte +1 -1
  19. package/src/ai/suggestion/Suggestion.svelte +1 -1
  20. package/src/ai/suggestion/Suggestions.svelte +1 -1
  21. package/src/ai/thinking-dots/ThinkingDots.svelte +1 -1
  22. package/src/ai/typing-dots/TypingDots.svelte +1 -1
  23. package/src/ai/voice-waveform/VoiceWaveform.svelte +1 -1
  24. package/src/components/copy/clipboard.ts +13 -9
  25. package/src/components/copy/copy-button.svelte +1 -1
  26. package/src/components/data-table/row-arrow.svelte +1 -1
  27. package/src/components/data-table/sortable-head.svelte +1 -1
  28. package/src/components/field-row/field-row.svelte +4 -2
  29. package/src/components/hold-to-confirm/hold-to-confirm.svelte +1 -1
  30. package/src/components/language-flag/language-flag.svelte +1 -1
  31. package/src/components/list-page/detail-empty.svelte +1 -1
  32. package/src/components/list-page/detail-header.svelte +1 -1
  33. package/src/components/list-page/detail-panel.svelte +1 -1
  34. package/src/components/list-page/detail-row.svelte +1 -1
  35. package/src/components/list-page/detail-stack.svelte +1 -1
  36. package/src/components/list-page/filter-item.svelte +1 -1
  37. package/src/components/list-page/filter-popover.svelte +1 -1
  38. package/src/components/list-page/filter-section.ts +1 -1
  39. package/src/components/list-page/grouped-list.svelte +1 -1
  40. package/src/components/list-page/list-page-shell.svelte +1 -1
  41. package/src/components/list-page/list-table.ts +1 -1
  42. package/src/components/list-page/master-detail.svelte +1 -1
  43. package/src/components/list-page/notice-bar.svelte +1 -1
  44. package/src/components/list-page/prev-next.svelte +1 -1
  45. package/src/components/list-page/rail-body.svelte +1 -1
  46. package/src/components/list-page/rail-empty.svelte +1 -1
  47. package/src/components/list-page/rail-head.svelte +1 -1
  48. package/src/components/list-page/rail-row.svelte +1 -1
  49. package/src/components/list-page/section-label.svelte +1 -1
  50. package/src/components/list-page/toolbar-search.svelte +1 -1
  51. package/src/components/list-page/toolbar-trigger.ts +1 -1
  52. package/src/components/mark/mark.svelte +1 -1
  53. package/src/components/open-in/open-in.svelte +1 -1
  54. package/src/components/picker/mark-picker.svelte +1 -1
  55. package/src/components/picker/picker.svelte +1 -1
  56. package/src/components/section-card/section-card.svelte +1 -1
  57. package/src/components/segmented/animated-tabs.svelte +1 -1
  58. package/src/components/segmented/section-runs.svelte +1 -1
  59. package/src/components/segmented/segment.svelte +1 -1
  60. package/src/components/segmented/segmented-filter.svelte +1 -1
  61. package/src/components/segmented/segmented-nav.svelte +1 -1
  62. package/src/components/segmented/segmented-overflow.svelte +1 -1
  63. package/src/components/segmented/segmented-track.svelte +1 -1
  64. package/src/components/star-rating-input/star-rating-input.svelte +1 -1
  65. package/src/components/table-view/table-view.svelte +1 -1
  66. package/src/effects/animated-beam/AnimatedBeam.svelte +1 -1
  67. package/src/effects/border-beam/register-properties.ts +4 -2
  68. package/src/effects/image-comparison/ImageComparison.svelte +1 -1
  69. package/src/effects/image-reveal/ImageReveal.svelte +1 -1
  70. package/src/effects/magic-card/MagicCard.svelte +1 -1
  71. package/src/effects/marquee/Marquee.svelte +1 -1
  72. package/src/effects/progressive-blur/ProgressiveBlur.svelte +1 -1
  73. package/src/effects/reveal/AnimatedGroup.svelte +1 -1
  74. package/src/effects/reveal/InView.svelte +1 -1
  75. package/src/effects/reveal/TextEffect.svelte +1 -1
  76. package/src/effects/shader-gradient/ShaderGradient.svelte +1 -1
  77. package/src/effects/spotlight/Spotlight.svelte +1 -1
  78. package/src/effects/theme-toggle/ThemeToggle.svelte +4 -4
  79. package/src/lib/utils.ts +18 -0
  80. package/src/shadcn/accordion/accordion-content.svelte +1 -1
  81. package/src/shadcn/accordion/accordion-item.svelte +1 -1
  82. package/src/shadcn/accordion/accordion-trigger.svelte +1 -1
  83. package/src/shadcn/accordion/accordion.svelte +1 -1
  84. package/src/shadcn/alert/alert-description.svelte +1 -1
  85. package/src/shadcn/alert/alert-title.svelte +1 -1
  86. package/src/shadcn/alert/alert.svelte +1 -1
  87. package/src/shadcn/alert-dialog/alert-dialog-action.svelte +1 -1
  88. package/src/shadcn/alert-dialog/alert-dialog-cancel.svelte +1 -1
  89. package/src/shadcn/alert-dialog/alert-dialog-content.svelte +1 -1
  90. package/src/shadcn/alert-dialog/alert-dialog-description.svelte +1 -1
  91. package/src/shadcn/alert-dialog/alert-dialog-footer.svelte +1 -1
  92. package/src/shadcn/alert-dialog/alert-dialog-header.svelte +1 -1
  93. package/src/shadcn/alert-dialog/alert-dialog-overlay.svelte +1 -1
  94. package/src/shadcn/alert-dialog/alert-dialog-title.svelte +1 -1
  95. package/src/shadcn/attachment/attachment-action.svelte +1 -1
  96. package/src/shadcn/attachment/attachment-actions.svelte +1 -1
  97. package/src/shadcn/attachment/attachment-content.svelte +1 -1
  98. package/src/shadcn/attachment/attachment-description.svelte +1 -1
  99. package/src/shadcn/attachment/attachment-group.svelte +1 -1
  100. package/src/shadcn/attachment/attachment-media.svelte +1 -1
  101. package/src/shadcn/attachment/attachment-title.svelte +1 -1
  102. package/src/shadcn/attachment/attachment-trigger.svelte +1 -1
  103. package/src/shadcn/attachment/attachment.svelte +1 -1
  104. package/src/shadcn/avatar/avatar-badge.svelte +1 -1
  105. package/src/shadcn/avatar/avatar-fallback.svelte +1 -1
  106. package/src/shadcn/avatar/avatar-group-count.svelte +1 -1
  107. package/src/shadcn/avatar/avatar-group.svelte +1 -1
  108. package/src/shadcn/avatar/avatar-image.svelte +1 -1
  109. package/src/shadcn/avatar/avatar.svelte +1 -1
  110. package/src/shadcn/badge/badge.svelte +1 -1
  111. package/src/shadcn/breadcrumb/breadcrumb-ellipsis.svelte +1 -1
  112. package/src/shadcn/breadcrumb/breadcrumb-item.svelte +1 -1
  113. package/src/shadcn/breadcrumb/breadcrumb-link.svelte +1 -1
  114. package/src/shadcn/breadcrumb/breadcrumb-list.svelte +1 -1
  115. package/src/shadcn/breadcrumb/breadcrumb-page.svelte +1 -1
  116. package/src/shadcn/breadcrumb/breadcrumb-separator.svelte +1 -1
  117. package/src/shadcn/breadcrumb/breadcrumb.svelte +1 -1
  118. package/src/shadcn/bubble/bubble-content.svelte +1 -1
  119. package/src/shadcn/bubble/bubble-group.svelte +1 -1
  120. package/src/shadcn/bubble/bubble-reactions.svelte +1 -1
  121. package/src/shadcn/bubble/bubble.svelte +1 -1
  122. package/src/shadcn/button/button.svelte +1 -1
  123. package/src/shadcn/calendar/calendar-cell.svelte +1 -1
  124. package/src/shadcn/calendar/calendar-day.svelte +1 -1
  125. package/src/shadcn/calendar/calendar-grid-body.svelte +1 -1
  126. package/src/shadcn/calendar/calendar-grid-head.svelte +1 -1
  127. package/src/shadcn/calendar/calendar-grid-row.svelte +1 -1
  128. package/src/shadcn/calendar/calendar-grid.svelte +1 -1
  129. package/src/shadcn/calendar/calendar-head-cell.svelte +1 -1
  130. package/src/shadcn/calendar/calendar-header.svelte +1 -1
  131. package/src/shadcn/calendar/calendar-heading.svelte +1 -1
  132. package/src/shadcn/calendar/calendar-month-select.svelte +1 -1
  133. package/src/shadcn/calendar/calendar-month.svelte +1 -1
  134. package/src/shadcn/calendar/calendar-months.svelte +1 -1
  135. package/src/shadcn/calendar/calendar-nav.svelte +1 -1
  136. package/src/shadcn/calendar/calendar-next-button.svelte +1 -1
  137. package/src/shadcn/calendar/calendar-prev-button.svelte +1 -1
  138. package/src/shadcn/calendar/calendar-year-select.svelte +1 -1
  139. package/src/shadcn/calendar/calendar.svelte +1 -1
  140. package/src/shadcn/card/card-action.svelte +1 -1
  141. package/src/shadcn/card/card-content.svelte +1 -1
  142. package/src/shadcn/card/card-description.svelte +1 -1
  143. package/src/shadcn/card/card-footer.svelte +1 -1
  144. package/src/shadcn/card/card-header.svelte +1 -1
  145. package/src/shadcn/card/card-title.svelte +1 -1
  146. package/src/shadcn/card/card.svelte +1 -1
  147. package/src/shadcn/checkbox/checkbox.svelte +1 -1
  148. package/src/shadcn/code-block/code-block-actions.svelte +1 -1
  149. package/src/shadcn/code-block/code-block-content.svelte +1 -1
  150. package/src/shadcn/code-block/code-block-footer.svelte +1 -1
  151. package/src/shadcn/code-block/code-block-header.svelte +1 -1
  152. package/src/shadcn/code-block/code-block-line.svelte +1 -1
  153. package/src/shadcn/code-block/code-block-title.svelte +1 -1
  154. package/src/shadcn/code-block/code-block.svelte +1 -1
  155. package/src/shadcn/command/command-dialog.svelte +1 -1
  156. package/src/shadcn/command/command-empty.svelte +1 -1
  157. package/src/shadcn/command/command-group.svelte +1 -1
  158. package/src/shadcn/command/command-input.svelte +1 -1
  159. package/src/shadcn/command/command-item.svelte +1 -1
  160. package/src/shadcn/command/command-link-item.svelte +1 -1
  161. package/src/shadcn/command/command-list.svelte +1 -1
  162. package/src/shadcn/command/command-separator.svelte +1 -1
  163. package/src/shadcn/command/command-shortcut.svelte +1 -1
  164. package/src/shadcn/command/command.svelte +1 -1
  165. package/src/shadcn/context-menu/context-menu-checkbox-item.svelte +1 -1
  166. package/src/shadcn/context-menu/context-menu-content.svelte +2 -2
  167. package/src/shadcn/context-menu/context-menu-group-heading.svelte +1 -1
  168. package/src/shadcn/context-menu/context-menu-item.svelte +1 -1
  169. package/src/shadcn/context-menu/context-menu-label.svelte +1 -1
  170. package/src/shadcn/context-menu/context-menu-radio-item.svelte +1 -1
  171. package/src/shadcn/context-menu/context-menu-separator.svelte +1 -1
  172. package/src/shadcn/context-menu/context-menu-shortcut.svelte +1 -1
  173. package/src/shadcn/context-menu/context-menu-sub-content.svelte +1 -1
  174. package/src/shadcn/context-menu/context-menu-sub-trigger.svelte +1 -1
  175. package/src/shadcn/context-menu/context-menu-trigger.svelte +1 -1
  176. package/src/shadcn/dialog/dialog-content.svelte +1 -1
  177. package/src/shadcn/dialog/dialog-description.svelte +1 -1
  178. package/src/shadcn/dialog/dialog-footer.svelte +1 -1
  179. package/src/shadcn/dialog/dialog-header.svelte +1 -1
  180. package/src/shadcn/dialog/dialog-overlay.svelte +1 -1
  181. package/src/shadcn/dialog/dialog-title.svelte +1 -1
  182. package/src/shadcn/dropdown-menu/dropdown-menu-checkbox-item.svelte +1 -1
  183. package/src/shadcn/dropdown-menu/dropdown-menu-content.svelte +1 -1
  184. package/src/shadcn/dropdown-menu/dropdown-menu-group-heading.svelte +1 -1
  185. package/src/shadcn/dropdown-menu/dropdown-menu-item.svelte +1 -1
  186. package/src/shadcn/dropdown-menu/dropdown-menu-label.svelte +1 -1
  187. package/src/shadcn/dropdown-menu/dropdown-menu-radio-item.svelte +1 -1
  188. package/src/shadcn/dropdown-menu/dropdown-menu-separator.svelte +1 -1
  189. package/src/shadcn/dropdown-menu/dropdown-menu-shortcut.svelte +1 -1
  190. package/src/shadcn/dropdown-menu/dropdown-menu-sub-content.svelte +1 -1
  191. package/src/shadcn/dropdown-menu/dropdown-menu-sub-trigger.svelte +1 -1
  192. package/src/shadcn/empty/empty-content.svelte +1 -1
  193. package/src/shadcn/empty/empty-description.svelte +1 -1
  194. package/src/shadcn/empty/empty-header.svelte +1 -1
  195. package/src/shadcn/empty/empty-media.svelte +1 -1
  196. package/src/shadcn/empty/empty-title.svelte +1 -1
  197. package/src/shadcn/empty/empty.svelte +1 -1
  198. package/src/shadcn/field/field-content.svelte +1 -1
  199. package/src/shadcn/field/field-description.svelte +1 -1
  200. package/src/shadcn/field/field-error.svelte +1 -1
  201. package/src/shadcn/field/field-group.svelte +1 -1
  202. package/src/shadcn/field/field-label.svelte +1 -1
  203. package/src/shadcn/field/field-legend.svelte +1 -1
  204. package/src/shadcn/field/field-separator.svelte +1 -1
  205. package/src/shadcn/field/field-set.svelte +1 -1
  206. package/src/shadcn/field/field-title.svelte +1 -1
  207. package/src/shadcn/field/field.svelte +1 -1
  208. package/src/shadcn/field/simple-field.svelte +1 -1
  209. package/src/shadcn/hover-card/hover-card-content.svelte +1 -1
  210. package/src/shadcn/input/input.svelte +1 -1
  211. package/src/shadcn/input/secret-input.svelte +1 -1
  212. package/src/shadcn/input-otp/input-otp-group.svelte +1 -1
  213. package/src/shadcn/input-otp/input-otp-separator.svelte +1 -1
  214. package/src/shadcn/input-otp/input-otp-slot.svelte +1 -1
  215. package/src/shadcn/input-otp/input-otp.svelte +1 -1
  216. package/src/shadcn/kbd/kbd-group.svelte +1 -1
  217. package/src/shadcn/kbd/kbd.svelte +1 -1
  218. package/src/shadcn/label/label.svelte +1 -1
  219. package/src/shadcn/marker/marker-content.svelte +1 -1
  220. package/src/shadcn/marker/marker-icon.svelte +1 -1
  221. package/src/shadcn/marker/marker.svelte +1 -1
  222. package/src/shadcn/message/message-avatar.svelte +1 -1
  223. package/src/shadcn/message/message-content.svelte +1 -1
  224. package/src/shadcn/message/message-footer.svelte +1 -1
  225. package/src/shadcn/message/message-group.svelte +1 -1
  226. package/src/shadcn/message/message-header.svelte +1 -1
  227. package/src/shadcn/message/message.svelte +1 -1
  228. package/src/shadcn/message-scroller/message-scroller-button.svelte +1 -1
  229. package/src/shadcn/message-scroller/message-scroller-content.svelte +1 -1
  230. package/src/shadcn/message-scroller/message-scroller-item.svelte +1 -1
  231. package/src/shadcn/message-scroller/message-scroller-viewport.svelte +1 -1
  232. package/src/shadcn/message-scroller/message-scroller.svelte +1 -1
  233. package/src/shadcn/popover/popover-content.svelte +1 -1
  234. package/src/shadcn/popover/popover-description.svelte +1 -1
  235. package/src/shadcn/popover/popover-header.svelte +1 -1
  236. package/src/shadcn/popover/popover-title.svelte +1 -1
  237. package/src/shadcn/popover/popover-trigger.svelte +1 -1
  238. package/src/shadcn/progress/progress.svelte +1 -1
  239. package/src/shadcn/radio-group/radio-group-item.svelte +1 -1
  240. package/src/shadcn/radio-group/radio-group.svelte +1 -1
  241. package/src/shadcn/scroll-area/scroll-area-scrollbar.svelte +1 -1
  242. package/src/shadcn/scroll-area/scroll-area.svelte +1 -1
  243. package/src/shadcn/select/select-content.svelte +2 -2
  244. package/src/shadcn/select/select-group-heading.svelte +1 -1
  245. package/src/shadcn/select/select-group.svelte +1 -1
  246. package/src/shadcn/select/select-item.svelte +1 -1
  247. package/src/shadcn/select/select-label.svelte +1 -1
  248. package/src/shadcn/select/select-scroll-down-button.svelte +1 -1
  249. package/src/shadcn/select/select-scroll-up-button.svelte +1 -1
  250. package/src/shadcn/select/select-separator.svelte +1 -1
  251. package/src/shadcn/select/select-trigger.svelte +1 -1
  252. package/src/shadcn/separator/separator.svelte +1 -1
  253. package/src/shadcn/sheet/sheet-content.svelte +1 -1
  254. package/src/shadcn/sheet/sheet-description.svelte +1 -1
  255. package/src/shadcn/sheet/sheet-footer.svelte +1 -1
  256. package/src/shadcn/sheet/sheet-header.svelte +1 -1
  257. package/src/shadcn/sheet/sheet-overlay.svelte +1 -1
  258. package/src/shadcn/sheet/sheet-title.svelte +1 -1
  259. package/src/shadcn/sidebar/sidebar-content.svelte +1 -1
  260. package/src/shadcn/sidebar/sidebar-footer.svelte +1 -1
  261. package/src/shadcn/sidebar/sidebar-group-action.svelte +1 -1
  262. package/src/shadcn/sidebar/sidebar-group-content.svelte +1 -1
  263. package/src/shadcn/sidebar/sidebar-group-label.svelte +1 -1
  264. package/src/shadcn/sidebar/sidebar-group.svelte +1 -1
  265. package/src/shadcn/sidebar/sidebar-header.svelte +1 -1
  266. package/src/shadcn/sidebar/sidebar-input.svelte +1 -1
  267. package/src/shadcn/sidebar/sidebar-inset.svelte +1 -1
  268. package/src/shadcn/sidebar/sidebar-menu-action.svelte +1 -1
  269. package/src/shadcn/sidebar/sidebar-menu-badge.svelte +1 -1
  270. package/src/shadcn/sidebar/sidebar-menu-button.svelte +1 -1
  271. package/src/shadcn/sidebar/sidebar-menu-item.svelte +1 -1
  272. package/src/shadcn/sidebar/sidebar-menu-skeleton.svelte +1 -1
  273. package/src/shadcn/sidebar/sidebar-menu-sub-button.svelte +1 -1
  274. package/src/shadcn/sidebar/sidebar-menu-sub-item.svelte +1 -1
  275. package/src/shadcn/sidebar/sidebar-menu-sub.svelte +1 -1
  276. package/src/shadcn/sidebar/sidebar-menu.svelte +1 -1
  277. package/src/shadcn/sidebar/sidebar-provider.svelte +1 -1
  278. package/src/shadcn/sidebar/sidebar-rail.svelte +1 -1
  279. package/src/shadcn/sidebar/sidebar-separator.svelte +1 -1
  280. package/src/shadcn/sidebar/sidebar-trigger.svelte +1 -1
  281. package/src/shadcn/sidebar/sidebar.svelte +1 -1
  282. package/src/shadcn/skeleton/skeleton.svelte +1 -1
  283. package/src/shadcn/slider/slider.svelte +1 -1
  284. package/src/shadcn/spinner/spinner.svelte +1 -1
  285. package/src/shadcn/switch/switch.svelte +1 -1
  286. package/src/shadcn/table/table-body.svelte +1 -1
  287. package/src/shadcn/table/table-caption.svelte +1 -1
  288. package/src/shadcn/table/table-cell.svelte +1 -1
  289. package/src/shadcn/table/table-footer.svelte +1 -1
  290. package/src/shadcn/table/table-head.svelte +1 -1
  291. package/src/shadcn/table/table-header.svelte +1 -1
  292. package/src/shadcn/table/table-row.svelte +1 -1
  293. package/src/shadcn/table/table.svelte +1 -1
  294. package/src/shadcn/tabs/tabs-content.svelte +1 -1
  295. package/src/shadcn/tabs/tabs-list.svelte +1 -1
  296. package/src/shadcn/tabs/tabs-trigger.svelte +1 -1
  297. package/src/shadcn/tabs/tabs.svelte +1 -1
  298. package/src/shadcn/textarea/textarea.svelte +1 -1
  299. package/src/shadcn/toggle/toggle.svelte +1 -1
  300. package/src/shadcn/toggle-group/toggle-group-item.svelte +1 -1
  301. package/src/shadcn/toggle-group/toggle-group.svelte +1 -1
  302. package/src/shadcn/tooltip/tooltip-content.svelte +2 -2
  303. package/src/shadcn/trace/trace-collapsible-content.svelte +1 -1
  304. package/src/shadcn/trace/trace-collapsible-trigger.svelte +1 -1
  305. package/src/shadcn/trace/trace-collapsible.svelte +1 -1
  306. package/src/shadcn/trace/trace-description.svelte +1 -1
  307. package/src/shadcn/trace/trace-icon.svelte +1 -1
  308. package/src/shadcn/trace/trace-line.svelte +1 -1
  309. package/src/shadcn/trace/trace-title.svelte +1 -1
  310. package/src/shadcn/trace/trace.svelte +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@heyramzi/ui",
3
- "version": "1.54.0",
3
+ "version": "1.54.2",
4
4
  "description": "Svelte 5 UI primitives: effects, animations, and shared component CSS.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -169,11 +169,12 @@
169
169
  "./agents/demo.svelte": "./src/agents/demo.svelte"
170
170
  },
171
171
  "dependencies": {
172
- "@heyramzi/utils": "^1.8.1",
173
172
  "@shadcn-svelte/primitives": "^0.0.1",
173
+ "clsx": "^2.1.1",
174
174
  "marked": "^18.1.0",
175
175
  "phosphor-svelte": "^3.1.0",
176
176
  "shiki": "^4.5.0",
177
+ "tailwind-merge": "^3.7.0",
177
178
  "tailwind-variants": "^3.3.1"
178
179
  },
179
180
  "devDependencies": {
@@ -39,7 +39,7 @@ const LOCAL_ONLY = new Set(["hooks"]);
39
39
  /* The registry's aliases, resolved to what this package imports. Absolute
40
40
  * `#src/` form, so a nested target resolves without counting `../`. */
41
41
  const ALIASES = [
42
- ["$UTILS$.js", "@heyramzi/utils"],
42
+ ["$UTILS$.js", "../src/lib/utils.js"],
43
43
  ["$UI$/", "../src/shadcn"],
44
44
  ["$HOOKS$/", "../src/shadcn/hooks"],
45
45
  ["$LIB$/", "../src/shadcn/hooks"],
@@ -91,7 +91,7 @@ const NOT_SHIPPED = new Set([
91
91
  "resizable",
92
92
  // Its `pascalToKebab` has no importer, in the registry or here.
93
93
  "casing",
94
- // `cn` ships from @heyramzi/utils in vibe-kit, so a copy here would be a stray.
94
+ // The registry's `utils` is ours: src/lib/utils.ts, so a sync never overwrites it.
95
95
  "utils",
96
96
  "questionnaire",
97
97
  ]);
@@ -20,7 +20,7 @@
20
20
  // =========================
21
21
  // IMPORTS
22
22
  // =========================
23
- import { cn } from "@heyramzi/utils";
23
+ import { cn } from "../../lib/utils.js";
24
24
  import { Sparkle } from "phosphor-svelte";
25
25
  import { Spinner } from "../../shadcn/spinner/index.js";
26
26
  import { Button } from "../../shadcn/button/index.js";
@@ -12,7 +12,7 @@
12
12
  </script>
13
13
 
14
14
  <script lang="ts">
15
- import { cn } from "@heyramzi/utils";
15
+ import { cn } from "../../lib/utils.js";
16
16
  import { setConfirmationContext } from "./confirmation-context.svelte.js";
17
17
 
18
18
  let {
@@ -8,7 +8,7 @@
8
8
  </script>
9
9
 
10
10
  <script lang="ts">
11
- import { cn } from "@heyramzi/utils";
11
+ import { cn } from "../../lib/utils.js";
12
12
  import { Button } from "../../shadcn/button/index.js";
13
13
  import { getConfirmationContext } from "./confirmation-context.svelte.js";
14
14
 
@@ -9,7 +9,7 @@
9
9
  </script>
10
10
 
11
11
  <script lang="ts">
12
- import { cn } from "@heyramzi/utils";
12
+ import { cn } from "../../lib/utils.js";
13
13
  import { getConfirmationContext } from "./confirmation-context.svelte.js";
14
14
 
15
15
  let { class: className, children, ...rest }: ConfirmationActionsProps = $props();
@@ -9,7 +9,7 @@
9
9
  </script>
10
10
 
11
11
  <script lang="ts">
12
- import { cn } from "@heyramzi/utils";
12
+ import { cn } from "../../lib/utils.js";
13
13
 
14
14
  let { class: className, children, ...rest }: ConfirmationTitleProps = $props();
15
15
  </script>
@@ -19,7 +19,7 @@
19
19
  // =========================
20
20
  // IMPORTS
21
21
  // =========================
22
- import { cn } from "@heyramzi/utils";
22
+ import { cn } from "../../lib/utils.js";
23
23
 
24
24
  // =========================
25
25
  // PROPS
@@ -14,7 +14,7 @@
14
14
 
15
15
  <script lang="ts">
16
16
  import { untrack } from "svelte";
17
- import { cn } from "@heyramzi/utils";
17
+ import { cn } from "../../lib/utils.js";
18
18
 
19
19
  let {
20
20
  label = "Working",
@@ -14,7 +14,7 @@
14
14
  </script>
15
15
 
16
16
  <script lang="ts">
17
- import { cn } from "@heyramzi/utils";
17
+ import { cn } from "../../lib/utils.js";
18
18
  import { fade } from "svelte/transition";
19
19
 
20
20
  let {
@@ -9,7 +9,7 @@
9
9
  </script>
10
10
 
11
11
  <script lang="ts">
12
- import { cn } from "@heyramzi/utils";
12
+ import { cn } from "../../lib/utils.js";
13
13
 
14
14
  let { class: className, children, ...rest }: PromptInputBodyProps = $props();
15
15
  </script>
@@ -20,7 +20,7 @@
20
20
  </script>
21
21
 
22
22
  <script lang="ts">
23
- import { cn } from "@heyramzi/utils";
23
+ import { cn } from "../../lib/utils.js";
24
24
  import { Button } from "../../shadcn/button/index.js";
25
25
  import { Spinner } from "../../shadcn/spinner/index.js";
26
26
  import SendIcon from "phosphor-svelte/lib/PaperPlaneRight";
@@ -15,7 +15,7 @@
15
15
  </script>
16
16
 
17
17
  <script lang="ts">
18
- import { cn } from "@heyramzi/utils";
18
+ import { cn } from "../../lib/utils.js";
19
19
 
20
20
  let {
21
21
  class: className,
@@ -9,7 +9,7 @@
9
9
  </script>
10
10
 
11
11
  <script lang="ts">
12
- import { cn } from "@heyramzi/utils";
12
+ import { cn } from "../../lib/utils.js";
13
13
 
14
14
  let { class: className, children, ...rest }: PromptInputToolbarProps = $props();
15
15
  </script>
@@ -11,7 +11,7 @@
11
11
 
12
12
  <script lang="ts">
13
13
  import { untrack } from "svelte";
14
- import { cn } from "@heyramzi/utils";
14
+ import { cn } from "../../lib/utils.js";
15
15
  import { Collapsible } from "../../shadcn/collapsible/index.js";
16
16
  import { setReasoningContext } from "./reasoning-context.svelte.js";
17
17
 
@@ -8,7 +8,7 @@
8
8
  </script>
9
9
 
10
10
  <script lang="ts">
11
- import { cn } from "@heyramzi/utils";
11
+ import { cn } from "../../lib/utils.js";
12
12
  import { CollapsibleContent } from "../../shadcn/collapsible/index.js";
13
13
 
14
14
  let { class: className, children, ...rest }: ReasoningContentProps = $props();
@@ -8,7 +8,7 @@
8
8
  </script>
9
9
 
10
10
  <script lang="ts">
11
- import { cn } from "@heyramzi/utils";
11
+ import { cn } from "../../lib/utils.js";
12
12
  import BrainIcon from "phosphor-svelte/lib/Brain";
13
13
  import ChevronDownIcon from "phosphor-svelte/lib/CaretDown";
14
14
  import { CollapsibleTrigger } from "../../shadcn/collapsible/index.js";
@@ -81,7 +81,7 @@
81
81
  // =========================
82
82
 
83
83
  import "./Response.css";
84
- import { cn } from "@heyramzi/utils";
84
+ import { cn } from "../../lib/utils.js";
85
85
 
86
86
  // =========================
87
87
  // PROPS
@@ -10,7 +10,7 @@
10
10
  </script>
11
11
 
12
12
  <script lang="ts">
13
- import { cn } from "@heyramzi/utils";
13
+ import { cn } from "../../lib/utils.js";
14
14
 
15
15
  let {
16
16
  suggestion,
@@ -1,5 +1,5 @@
1
1
  <script lang="ts">
2
- import { cn } from "@heyramzi/utils";
2
+ import { cn } from "../../lib/utils.js";
3
3
  import type { Snippet } from "svelte";
4
4
  import type { HTMLAttributes } from "svelte/elements";
5
5
 
@@ -3,7 +3,7 @@
3
3
  // IMPORTS
4
4
  // =========================
5
5
 
6
- import { cn } from "@heyramzi/utils";
6
+ import { cn } from "../../lib/utils.js";
7
7
  import type { HTMLAttributes } from "svelte/elements";
8
8
  import TypingDots from "../typing-dots/TypingDots.svelte";
9
9
 
@@ -10,7 +10,7 @@
10
10
 
11
11
  <script lang="ts">
12
12
  import "./TypingDots.css";
13
- import { cn } from "@heyramzi/utils";
13
+ import { cn } from "../../lib/utils.js";
14
14
 
15
15
  let { size = 4, class: className, ...rest }: TypingDotsProps = $props();
16
16
  </script>
@@ -4,7 +4,7 @@
4
4
  // =========================
5
5
 
6
6
  import "./VoiceWaveform.css";
7
- import { cn } from "@heyramzi/utils";
7
+ import { cn } from "../../lib/utils.js";
8
8
  import type { HTMLAttributes } from "svelte/elements";
9
9
 
10
10
  // =========================
@@ -1,5 +1,3 @@
1
- import { tryCatchAsync } from "@heyramzi/utils";
2
-
3
1
  /**
4
2
  * The one write to the clipboard. A rejected permission, a missing gesture and
5
3
  * an insecure origin get one answer: false. The caller decides what to show.
@@ -7,8 +5,12 @@ import { tryCatchAsync } from "@heyramzi/utils";
7
5
 
8
6
  /** Plain text. Returns false when the browser refused the write. */
9
7
  export async function copyText(value: string): Promise<boolean> {
10
- const result = await tryCatchAsync(() => navigator.clipboard.writeText(value));
11
- return result.ok;
8
+ try {
9
+ await navigator.clipboard.writeText(value);
10
+ return true;
11
+ } catch {
12
+ return false;
13
+ }
12
14
  }
13
15
 
14
16
  /**
@@ -17,15 +19,17 @@ export async function copyText(value: string): Promise<boolean> {
17
19
  */
18
20
  export async function copyRichText(html: string, plainText?: string): Promise<boolean> {
19
21
  const text = plainText ?? htmlToPlainText(html);
20
- const result = await tryCatchAsync(() =>
21
- navigator.clipboard.write([
22
+ try {
23
+ await navigator.clipboard.write([
22
24
  new ClipboardItem({
23
25
  "text/html": new Blob([html], { type: "text/html" }),
24
26
  "text/plain": new Blob([text], { type: "text/plain" }),
25
27
  }),
26
- ]),
27
- );
28
- return result.ok ? true : copyText(text);
28
+ ]);
29
+ return true;
30
+ } catch {
31
+ return copyText(text);
32
+ }
29
33
  }
30
34
 
31
35
  /** The plain-text twin of an HTML fragment. */
@@ -8,7 +8,7 @@
8
8
  // IMPORTS
9
9
  // =========================
10
10
  import { Check, Copy, StarFour } from "phosphor-svelte";
11
- import { cn } from "@heyramzi/utils";
11
+ import { cn } from "../../lib/utils.js";
12
12
  import { buttonVariants } from "../../shadcn/button/index.js";
13
13
  import type { HTMLButtonAttributes } from "svelte/elements";
14
14
  import { copyText } from "./clipboard.js";
@@ -3,7 +3,7 @@
3
3
  // IMPORTS
4
4
  // =========================
5
5
  import { CaretRight } from "phosphor-svelte";
6
- import { cn } from "@heyramzi/utils";
6
+ import { cn } from "../../lib/utils.js";
7
7
 
8
8
  // =========================
9
9
  // TYPES
@@ -1,7 +1,7 @@
1
1
  <script lang="ts" generics="T">
2
2
  import type { Snippet } from "svelte";
3
3
  import { CaretDown, CaretUp, CaretUpDown } from "phosphor-svelte";
4
- import { cn } from "@heyramzi/utils";
4
+ import { cn } from "../../lib/utils.js";
5
5
  import type { SortDirection, SortState } from "./data-table.js";
6
6
 
7
7
  // ========================= TYPES
@@ -3,7 +3,7 @@
3
3
  // IMPORTS
4
4
  // =========================
5
5
  import type { Snippet } from "svelte";
6
- import { cn } from "@heyramzi/utils";
6
+ import { cn } from "../../lib/utils.js";
7
7
  import * as Field from "../../shadcn/field/index.js";
8
8
 
9
9
  // =========================
@@ -32,6 +32,8 @@
32
32
  <!-- MARKUP -->
33
33
  <!-- WHY a measure of its own: a settings card fills the page, but a text field
34
34
  stretched over 1200px is hard to read and to aim at. 36rem, left aligned. -->
35
+ <!-- WHY the coarse-pointer height: Button grows to 44px on touch and Input
36
+ does not, so a row built from the two drew a 12px step. -->
35
37
  <!-- =========================== -->
36
38
  <Field.Simple
37
39
  {label}
@@ -41,7 +43,7 @@
41
43
  class={cn("max-w-xl", className)}
42
44
  >
43
45
  <div
44
- class="flex items-start gap-2"
46
+ class="flex items-start gap-2 any-pointer-coarse:[&_[data-slot=input]]:h-11"
45
47
  data-slot="field-row"
46
48
  >
47
49
  <div class="min-w-0 flex-1">{@render children()}</div>
@@ -1,6 +1,6 @@
1
1
  <script lang="ts">
2
2
  // ========================= IMPORTS
3
- import { cn } from "@heyramzi/utils";
3
+ import { cn } from "../../lib/utils.js";
4
4
  import { buttonVariants, type ButtonSize, type ButtonVariant } from "../../shadcn/button/index.js";
5
5
  import type { Snippet } from "svelte";
6
6
  import type { HTMLButtonAttributes } from "svelte/elements";
@@ -2,7 +2,7 @@
2
2
  // =========================
3
3
  // IMPORTS
4
4
  // =========================
5
- import { cn } from "@heyramzi/utils";
5
+ import { cn } from "../../lib/utils.js";
6
6
 
7
7
  // =========================
8
8
  // CONSTANTS
@@ -3,7 +3,7 @@
3
3
  // IMPORTS
4
4
  // =========================
5
5
  import EmptyState from "./empty-state.svelte";
6
- import { cn } from "@heyramzi/utils";
6
+ import { cn } from "../../lib/utils.js";
7
7
  import type { PhosphorIcon, IconWeight } from "../../lib/icon-types.js";
8
8
 
9
9
  // =========================
@@ -3,7 +3,7 @@
3
3
  // IMPORTS
4
4
  // =========================
5
5
  import type { Snippet } from "svelte";
6
- import { cn } from "@heyramzi/utils";
6
+ import { cn } from "../../lib/utils.js";
7
7
 
8
8
  // =========================
9
9
  // TYPES
@@ -4,7 +4,7 @@
4
4
  // =========================
5
5
  import type { Snippet } from "svelte";
6
6
  import SectionLabel from "./section-label.svelte";
7
- import { cn } from "@heyramzi/utils";
7
+ import { cn } from "../../lib/utils.js";
8
8
  import { panelHeaderClass, panelShellClass } from "../../lib/panel.js";
9
9
  import type { PhosphorIcon } from "../../lib/icon-types.js";
10
10
 
@@ -3,7 +3,7 @@
3
3
  // IMPORTS
4
4
  // =========================
5
5
  import type { Snippet } from "svelte";
6
- import { cn } from "@heyramzi/utils";
6
+ import { cn } from "../../lib/utils.js";
7
7
 
8
8
  // =========================
9
9
  // TYPES
@@ -3,7 +3,7 @@
3
3
  // IMPORTS
4
4
  // =========================
5
5
  import type { Snippet } from "svelte";
6
- import { cn } from "@heyramzi/utils";
6
+ import { cn } from "../../lib/utils.js";
7
7
 
8
8
  // =========================
9
9
  // TYPES
@@ -5,7 +5,7 @@
5
5
  import type { Snippet } from "svelte";
6
6
  import { Checkbox } from "../../shadcn/checkbox/index.js";
7
7
  import { Check } from "phosphor-svelte";
8
- import { cn } from "@heyramzi/utils";
8
+ import { cn } from "../../lib/utils.js";
9
9
 
10
10
  // =========================
11
11
  // TYPES
@@ -5,7 +5,7 @@
5
5
  import type { Snippet } from "svelte";
6
6
  import * as Popover from "../../shadcn/popover/index.js";
7
7
  import { Funnel as FunnelIcon } from "phosphor-svelte";
8
- import { cn } from "@heyramzi/utils";
8
+ import { cn } from "../../lib/utils.js";
9
9
  import { Button } from "../../shadcn/button/index.js";
10
10
  import { toolbarTriggerClass } from "./toolbar-trigger.js";
11
11
  import type { PhosphorIcon } from "../../lib/icon-types.js";
@@ -1,4 +1,4 @@
1
- import { cn } from "@heyramzi/utils";
1
+ import { cn } from "../../lib/utils.js";
2
2
 
3
3
  // The header for each control group in a toolbar popover, in one place so
4
4
  // sections can't drift in size or weight.
@@ -5,7 +5,7 @@
5
5
  import { untrack, type Snippet } from "svelte";
6
6
  import { SvelteSet } from "svelte/reactivity";
7
7
  import { CaretDown } from "phosphor-svelte";
8
- import { cn } from "@heyramzi/utils";
8
+ import { cn } from "../../lib/utils.js";
9
9
 
10
10
  // =========================
11
11
  // TYPES
@@ -4,7 +4,7 @@
4
4
  // =========================
5
5
  import type { Snippet } from "svelte";
6
6
  import EmptyState from "./empty-state.svelte";
7
- import { cn } from "@heyramzi/utils";
7
+ import { cn } from "../../lib/utils.js";
8
8
  import { pageGutterClass } from "../../lib/layout.js";
9
9
  import { getSectionHost } from "./section-host.js";
10
10
  import SectionRuns from "../segmented/section-runs.svelte";
@@ -1,4 +1,4 @@
1
- import { cn } from "@heyramzi/utils";
1
+ import { cn } from "../../lib/utils.js";
2
2
 
3
3
  /**
4
4
  * The list-page table rhythm, Attio's: one 40px row, a hairline under each, a flat hover.
@@ -5,7 +5,7 @@
5
5
  import type { Snippet } from "svelte";
6
6
  import { setContext } from "svelte";
7
7
  import { CaretLeft } from "phosphor-svelte";
8
- import { cn } from "@heyramzi/utils";
8
+ import { cn } from "../../lib/utils.js";
9
9
  import { Button } from "../../shadcn/button/index.js";
10
10
  import { MASTER_DETAIL_PANE, type MasterDetailPane } from "./queue-rail.js";
11
11
 
@@ -4,7 +4,7 @@
4
4
  // =========================
5
5
  import type { Snippet } from "svelte";
6
6
  import { Warning, Info, CheckCircle, WarningCircle } from "phosphor-svelte";
7
- import { cn } from "@heyramzi/utils";
7
+ import { cn } from "../../lib/utils.js";
8
8
  import { Alert } from "../../shadcn/alert/index.js";
9
9
  import { TONE_CLASS, type Tone as SeverityTone } from "../../lib/tone.js";
10
10
  import type { PhosphorIcon } from "../../lib/icon-types.js";
@@ -3,7 +3,7 @@
3
3
  // IMPORTS
4
4
  // =========================
5
5
  import { CaretLeft, CaretRight } from "phosphor-svelte";
6
- import { cn } from "@heyramzi/utils";
6
+ import { cn } from "../../lib/utils.js";
7
7
  import { Button } from "../../shadcn/button/index.js";
8
8
  import { stepTo } from "./step.js";
9
9
 
@@ -3,7 +3,7 @@
3
3
  // IMPORTS
4
4
  // =========================
5
5
  import type { Snippet } from "svelte";
6
- import { cn } from "@heyramzi/utils";
6
+ import { cn } from "../../lib/utils.js";
7
7
 
8
8
  // =========================
9
9
  // TYPES
@@ -2,7 +2,7 @@
2
2
  // =========================
3
3
  // IMPORTS
4
4
  // =========================
5
- import { cn } from "@heyramzi/utils";
5
+ import { cn } from "../../lib/utils.js";
6
6
  import * as Empty from "../../shadcn/empty/index.js";
7
7
  import type { PhosphorIcon, IconWeight } from "../../lib/icon-types.js";
8
8
 
@@ -4,7 +4,7 @@
4
4
  // =========================
5
5
  import type { Snippet } from "svelte";
6
6
  import SectionLabel from "./section-label.svelte";
7
- import { cn } from "@heyramzi/utils";
7
+ import { cn } from "../../lib/utils.js";
8
8
 
9
9
  // =========================
10
10
  // TYPES
@@ -4,7 +4,7 @@
4
4
  // =========================
5
5
  import type { Snippet } from "svelte";
6
6
  import { getContext } from "svelte";
7
- import { cn } from "@heyramzi/utils";
7
+ import { cn } from "../../lib/utils.js";
8
8
  import { MASTER_DETAIL_PANE, type MasterDetailPane } from "./queue-rail.js";
9
9
 
10
10
  // =========================
@@ -3,7 +3,7 @@
3
3
  // IMPORTS
4
4
  // =========================
5
5
  import type { Snippet } from "svelte";
6
- import { cn } from "@heyramzi/utils";
6
+ import { cn } from "../../lib/utils.js";
7
7
  import type { PhosphorIcon } from "../../lib/icon-types.js";
8
8
 
9
9
  // =========================
@@ -4,7 +4,7 @@
4
4
  // =========================
5
5
  import { Input } from "../../shadcn/input/index.js";
6
6
  import { MagnifyingGlass } from "phosphor-svelte";
7
- import { cn } from "@heyramzi/utils";
7
+ import { cn } from "../../lib/utils.js";
8
8
 
9
9
  // =========================
10
10
  // TYPES
@@ -1,4 +1,4 @@
1
- import { cn } from "@heyramzi/utils";
1
+ import { cn } from "../../lib/utils.js";
2
2
 
3
3
  type ToolbarTriggerOpts = {
4
4
  active?: boolean;
@@ -2,7 +2,7 @@
2
2
  // =========================
3
3
  // IMPORTS
4
4
  // =========================
5
- import { cn } from "@heyramzi/utils";
5
+ import { cn } from "../../lib/utils.js";
6
6
 
7
7
  // =========================
8
8
  // TYPES
@@ -24,7 +24,7 @@
24
24
  // IMPORTS
25
25
  // =========================
26
26
  import { ArrowSquareOut } from "phosphor-svelte";
27
- import { cn } from "@heyramzi/utils";
27
+ import { cn } from "../../lib/utils.js";
28
28
  import { buttonVariants } from "../../shadcn/button/index.js";
29
29
 
30
30
  // =========================
@@ -4,7 +4,7 @@
4
4
  // =========================
5
5
  import { CaretDown } from "phosphor-svelte";
6
6
  import { Mark } from "../mark/index.js";
7
- import { cn } from "@heyramzi/utils";
7
+ import { cn } from "../../lib/utils.js";
8
8
  import Picker from "./picker.svelte";
9
9
  import { pickerTriggerClass } from "./trigger.js";
10
10
  import type { PickerOption } from "./types.js";
@@ -2,7 +2,7 @@
2
2
  import type { Snippet } from "svelte";
3
3
  import * as Command from "../../shadcn/command/index.js";
4
4
  import * as Popover from "../../shadcn/popover/index.js";
5
- import { cn } from "@heyramzi/utils";
5
+ import { cn } from "../../lib/utils.js";
6
6
  import type { PickerGroup, PickerOption } from "./types.js";
7
7
 
8
8
  /**