@vibes.diy/base 14.3.324 → 14.3.326

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 (337) hide show
  1. package/LICENSE.md +54 -201
  2. package/README.md +2 -2
  3. package/attachments/attachment-types.js +0 -1
  4. package/attachments/composer-file-drop.js +0 -1
  5. package/attachments/held-attachments.js +0 -1
  6. package/attachments/process-attachment.js +0 -1
  7. package/attachments/use-attachments.d.ts +4 -1
  8. package/attachments/use-attachments.js +25 -2
  9. package/components/AccountSignInView.js +0 -1
  10. package/components/AttachmentRow.js +0 -1
  11. package/components/BrutalistCard.js +0 -1
  12. package/components/BrutalistCard.styles.js +0 -1
  13. package/components/BuildCard.js +0 -1
  14. package/components/ChatMessageRow.js +0 -1
  15. package/components/ControlsBar.js +0 -1
  16. package/components/FaqView.js +0 -1
  17. package/components/FilesPanelView.js +0 -1
  18. package/components/HandleLookupView.js +0 -1
  19. package/components/HandlePickerMenu.js +0 -1
  20. package/components/HiddenMenuWrapper.js +0 -1
  21. package/components/HiddenMenuWrapper.styles.js +0 -1
  22. package/components/HomeBuildChips.js +0 -1
  23. package/components/HomeBuildComposerNotes.js +0 -1
  24. package/components/ImgGen.js +0 -1
  25. package/components/LabelContainer.js +0 -1
  26. package/components/LabelContainer.styles.js +0 -1
  27. package/components/LayoutControls.js +0 -1
  28. package/components/MemberAccessView.js +0 -1
  29. package/components/MemberInvitationView.js +0 -1
  30. package/components/NotificationDetailView.js +0 -1
  31. package/components/OnboardingOverlay.js +0 -1
  32. package/components/OptionButtons.js +0 -1
  33. package/components/PromptBar.js +0 -1
  34. package/components/PublishBanner.js +0 -1
  35. package/components/QrCode.js +0 -1
  36. package/components/ShareLinkView.js +0 -1
  37. package/components/SharePanelView.js +0 -1
  38. package/components/StyleControls.js +0 -1
  39. package/components/SubTabStrip.js +0 -1
  40. package/components/VibesButton.js +0 -1
  41. package/components/VibesButton.styles.js +0 -1
  42. package/components/VibesPanel.js +0 -1
  43. package/components/VibesPanel.styles.js +0 -1
  44. package/components/VibesSwitch.js +0 -1
  45. package/components/VibesSwitch.styles.js +0 -1
  46. package/components/VibesWindowFrame.js +0 -1
  47. package/components/VibesWindowFrame.styles.js +0 -1
  48. package/components/VibesWindowHeader.js +0 -1
  49. package/components/ViewerTagView.js +0 -1
  50. package/components/chip-fast-path.js +0 -1
  51. package/components/editor-tabs.js +0 -1
  52. package/components/handle-known-cache.js +0 -1
  53. package/components/homeBrandFont.js +0 -1
  54. package/components/homeBuildDockCopy.js +0 -1
  55. package/components/icons/ArrowLeftIcon.js +0 -1
  56. package/components/icons/ArrowRightIcon.js +0 -1
  57. package/components/icons/BackIcon.js +0 -1
  58. package/components/icons/CollabIcon.js +0 -1
  59. package/components/icons/FaceIcon1.js +0 -1
  60. package/components/icons/FaceIcon2.js +0 -1
  61. package/components/icons/FaceIcon3.js +0 -1
  62. package/components/icons/FaceIcon4.js +0 -1
  63. package/components/icons/FaceIconBow.js +0 -1
  64. package/components/icons/FaceIconCrown.js +0 -1
  65. package/components/icons/FaceIconFlatTop.js +0 -1
  66. package/components/icons/FaceIconFlick.js +0 -1
  67. package/components/icons/InviteIcon.js +0 -1
  68. package/components/icons/LoginIcon.js +0 -1
  69. package/components/icons/PaperclipIcon.js +0 -1
  70. package/components/icons/PeopleIcon.js +0 -1
  71. package/components/icons/PersonIcon.js +0 -1
  72. package/components/icons/RemixIcon.js +0 -1
  73. package/components/icons/SettingsIcon.js +0 -1
  74. package/components/icons/TexturedPattern.js +0 -1
  75. package/components/icons/index.js +0 -1
  76. package/components/index.js +0 -1
  77. package/components/use-handle-lookup-items.js +0 -1
  78. package/components/vibe-menu/VibeMenu.js +0 -1
  79. package/components/vibe-menu/cards/AccountCard.js +0 -1
  80. package/components/vibe-menu/cards/CodeCard.d.ts +1 -1
  81. package/components/vibe-menu/cards/CodeCard.js +15 -3
  82. package/components/vibe-menu/cards/CodeModeWorkspace.js +0 -1
  83. package/components/vibe-menu/cards/CodeTabRow.js +0 -1
  84. package/components/vibe-menu/cards/ConsentCard.js +0 -1
  85. package/components/vibe-menu/cards/HomeCard.js +0 -1
  86. package/components/vibe-menu/cards/LaunchMoment.js +0 -1
  87. package/components/vibe-menu/cards/ShareAppDrill.js +0 -1
  88. package/components/vibe-menu/cards/ShareCard.js +0 -1
  89. package/components/vibe-menu/cards/ShareDrills.js +0 -1
  90. package/components/vibe-menu/cards/consent-card.styles.js +0 -1
  91. package/components/vibe-menu/cards/invite-message.js +0 -1
  92. package/components/vibe-menu/cards/launch-moment.styles.js +0 -1
  93. package/components/vibe-menu/cards/share-actions.js +0 -1
  94. package/components/vibe-menu/cards/share-card.styles.js +0 -1
  95. package/components/vibe-menu/cards/share-copy.js +0 -1
  96. package/components/vibe-menu/cards/share-parts.js +0 -1
  97. package/components/vibe-menu/code-tabs.js +0 -1
  98. package/components/vibe-menu/copy.js +0 -1
  99. package/components/vibe-menu/fixtures.js +0 -1
  100. package/components/vibe-menu/geometry.js +0 -1
  101. package/components/vibe-menu/index.js +0 -1
  102. package/components/vibe-menu/menu-state.js +0 -1
  103. package/components/vibe-menu/moments.js +0 -1
  104. package/components/vibe-menu/motion.js +0 -1
  105. package/components/vibe-menu/open-resolver.js +0 -1
  106. package/components/vibe-menu/parts/AccessToggle.js +0 -1
  107. package/components/vibe-menu/parts/ActionPill.js +0 -1
  108. package/components/vibe-menu/parts/BackRow.js +0 -1
  109. package/components/vibe-menu/parts/BuildAskLine.js +0 -1
  110. package/components/vibe-menu/parts/CardTabRow.js +0 -1
  111. package/components/vibe-menu/parts/Chip.js +0 -1
  112. package/components/vibe-menu/parts/Composer.d.ts +1 -0
  113. package/components/vibe-menu/parts/Composer.js +7 -2
  114. package/components/vibe-menu/parts/DoneButton.js +0 -1
  115. package/components/vibe-menu/parts/ExpectedTimeBar.js +0 -1
  116. package/components/vibe-menu/parts/Glyph.js +0 -1
  117. package/components/vibe-menu/parts/GrantControls.js +0 -1
  118. package/components/vibe-menu/parts/KeepAppLine.js +0 -1
  119. package/components/vibe-menu/parts/LabeledChoices.js +0 -1
  120. package/components/vibe-menu/parts/MemberRow.js +0 -1
  121. package/components/vibe-menu/parts/MenuCard.js +0 -1
  122. package/components/vibe-menu/parts/MomentLine.js +0 -1
  123. package/components/vibe-menu/parts/PromptRequest.js +0 -1
  124. package/components/vibe-menu/parts/Row.js +0 -1
  125. package/components/vibe-menu/parts/SaveAskLine.js +0 -1
  126. package/components/vibe-menu/parts/ScrollTabRow.js +0 -1
  127. package/components/vibe-menu/parts/SectionStrip.js +0 -1
  128. package/components/vibe-menu/parts/SendCap.js +0 -1
  129. package/components/vibe-menu/parts/StarterChips.js +0 -1
  130. package/components/vibe-menu/parts/StatusChipRow.d.ts +1 -1
  131. package/components/vibe-menu/parts/StatusChipRow.js +1 -2
  132. package/components/vibe-menu/parts/StatusLine.js +0 -1
  133. package/components/vibe-menu/parts/StopIconButton.js +0 -1
  134. package/components/vibe-menu/parts/ThinkingLine.js +0 -1
  135. package/components/vibe-menu/parts/VibesSwitchGlass.js +0 -1
  136. package/components/vibe-menu/parts/agent-log-frame.js +0 -1
  137. package/components/vibe-menu/parts/brief-faces-art.js +0 -1
  138. package/components/vibe-menu/parts/fold-keyboard.js +0 -1
  139. package/components/vibe-menu/parts/radio-keys.js +0 -1
  140. package/components/vibe-menu/parts/refused-send.d.ts +3 -3
  141. package/components/vibe-menu/parts/refused-send.js +7 -6
  142. package/components/vibe-menu/parts/use-composer-draft.d.ts +1 -1
  143. package/components/vibe-menu/parts/use-composer-draft.js +47 -20
  144. package/components/vibe-menu/share-fixtures.js +0 -1
  145. package/components/vibe-menu/share-image.js +0 -1
  146. package/components/vibe-menu/shell/VibeMenuShell.js +0 -1
  147. package/components/vibe-menu/shell/menu-sequence.js +0 -1
  148. package/components/vibe-menu/shell/outline-geometry.js +0 -1
  149. package/components/vibe-menu/shell/shell.styles.js +0 -1
  150. package/components/vibe-menu/shell/useMenuSequencer.js +0 -1
  151. package/components/vibe-menu/sketches/CodeTierAudition.js +0 -1
  152. package/components/vibe-menu/slices.js +0 -1
  153. package/components/vibe-menu/use-remix-hint.js +0 -1
  154. package/components/vibe-menu/vibe-menu.styles.js +0 -1
  155. package/hooks/img-gen/index.js +0 -1
  156. package/hooks/img-gen/local-pictures.js +0 -1
  157. package/hooks/img-gen/picture-bytes.js +0 -1
  158. package/hooks/img-gen/use-img-gen.js +0 -1
  159. package/hooks/img-gen/use-picture-src.js +0 -1
  160. package/hooks/img-gen/utils.js +0 -1
  161. package/hooks/useMobile.js +0 -1
  162. package/index.js +0 -1
  163. package/package.json +6 -6
  164. package/theme/css-vars.js +0 -1
  165. package/theme/global-styles.js +0 -1
  166. package/theme/index.js +0 -1
  167. package/theme/patterns.js +0 -1
  168. package/theme/safe-area.js +0 -1
  169. package/theme/tokens.js +0 -1
  170. package/utils/debug.js +0 -1
  171. package/utils/normalize-avatar-image.js +0 -1
  172. package/utils/style-utils.js +0 -1
  173. package/utils/styles.js +0 -1
  174. package/attachments/attachment-types.js.map +0 -1
  175. package/attachments/composer-file-drop.js.map +0 -1
  176. package/attachments/held-attachments.js.map +0 -1
  177. package/attachments/process-attachment.js.map +0 -1
  178. package/attachments/use-attachments.js.map +0 -1
  179. package/components/AccountSignInView.js.map +0 -1
  180. package/components/AttachmentRow.js.map +0 -1
  181. package/components/BrutalistCard.js.map +0 -1
  182. package/components/BrutalistCard.styles.js.map +0 -1
  183. package/components/BuildCard.js.map +0 -1
  184. package/components/ChatMessageRow.js.map +0 -1
  185. package/components/ControlsBar.js.map +0 -1
  186. package/components/FaqView.js.map +0 -1
  187. package/components/FilesPanelView.js.map +0 -1
  188. package/components/HandleLookupView.js.map +0 -1
  189. package/components/HandlePickerMenu.js.map +0 -1
  190. package/components/HiddenMenuWrapper.js.map +0 -1
  191. package/components/HiddenMenuWrapper.styles.js.map +0 -1
  192. package/components/HomeBuildChips.js.map +0 -1
  193. package/components/HomeBuildComposerNotes.js.map +0 -1
  194. package/components/ImgGen.js.map +0 -1
  195. package/components/LabelContainer.js.map +0 -1
  196. package/components/LabelContainer.styles.js.map +0 -1
  197. package/components/LayoutControls.js.map +0 -1
  198. package/components/MemberAccessView.js.map +0 -1
  199. package/components/MemberInvitationView.js.map +0 -1
  200. package/components/NotificationDetailView.js.map +0 -1
  201. package/components/OnboardingOverlay.js.map +0 -1
  202. package/components/OptionButtons.js.map +0 -1
  203. package/components/PromptBar.js.map +0 -1
  204. package/components/PublishBanner.js.map +0 -1
  205. package/components/QrCode.js.map +0 -1
  206. package/components/ShareLinkView.js.map +0 -1
  207. package/components/SharePanelView.js.map +0 -1
  208. package/components/StyleControls.js.map +0 -1
  209. package/components/SubTabStrip.js.map +0 -1
  210. package/components/VibesButton.js.map +0 -1
  211. package/components/VibesButton.styles.js.map +0 -1
  212. package/components/VibesPanel.js.map +0 -1
  213. package/components/VibesPanel.styles.js.map +0 -1
  214. package/components/VibesSwitch.js.map +0 -1
  215. package/components/VibesSwitch.styles.js.map +0 -1
  216. package/components/VibesWindowFrame.js.map +0 -1
  217. package/components/VibesWindowFrame.styles.js.map +0 -1
  218. package/components/VibesWindowHeader.js.map +0 -1
  219. package/components/ViewerTagView.js.map +0 -1
  220. package/components/chip-fast-path.js.map +0 -1
  221. package/components/editor-tabs.js.map +0 -1
  222. package/components/handle-known-cache.js.map +0 -1
  223. package/components/homeBrandFont.js.map +0 -1
  224. package/components/homeBuildDockCopy.js.map +0 -1
  225. package/components/icons/ArrowLeftIcon.js.map +0 -1
  226. package/components/icons/ArrowRightIcon.js.map +0 -1
  227. package/components/icons/BackIcon.js.map +0 -1
  228. package/components/icons/CollabIcon.js.map +0 -1
  229. package/components/icons/FaceIcon1.js.map +0 -1
  230. package/components/icons/FaceIcon2.js.map +0 -1
  231. package/components/icons/FaceIcon3.js.map +0 -1
  232. package/components/icons/FaceIcon4.js.map +0 -1
  233. package/components/icons/FaceIconBow.js.map +0 -1
  234. package/components/icons/FaceIconCrown.js.map +0 -1
  235. package/components/icons/FaceIconFlatTop.js.map +0 -1
  236. package/components/icons/FaceIconFlick.js.map +0 -1
  237. package/components/icons/InviteIcon.js.map +0 -1
  238. package/components/icons/LoginIcon.js.map +0 -1
  239. package/components/icons/PaperclipIcon.js.map +0 -1
  240. package/components/icons/PeopleIcon.js.map +0 -1
  241. package/components/icons/PersonIcon.js.map +0 -1
  242. package/components/icons/RemixIcon.js.map +0 -1
  243. package/components/icons/SettingsIcon.js.map +0 -1
  244. package/components/icons/TexturedPattern.js.map +0 -1
  245. package/components/icons/index.js.map +0 -1
  246. package/components/index.js.map +0 -1
  247. package/components/use-handle-lookup-items.js.map +0 -1
  248. package/components/vibe-menu/VibeMenu.js.map +0 -1
  249. package/components/vibe-menu/cards/AccountCard.js.map +0 -1
  250. package/components/vibe-menu/cards/CodeCard.js.map +0 -1
  251. package/components/vibe-menu/cards/CodeModeWorkspace.js.map +0 -1
  252. package/components/vibe-menu/cards/CodeTabRow.js.map +0 -1
  253. package/components/vibe-menu/cards/ConsentCard.js.map +0 -1
  254. package/components/vibe-menu/cards/HomeCard.js.map +0 -1
  255. package/components/vibe-menu/cards/LaunchMoment.js.map +0 -1
  256. package/components/vibe-menu/cards/ShareAppDrill.js.map +0 -1
  257. package/components/vibe-menu/cards/ShareCard.js.map +0 -1
  258. package/components/vibe-menu/cards/ShareDrills.js.map +0 -1
  259. package/components/vibe-menu/cards/consent-card.styles.js.map +0 -1
  260. package/components/vibe-menu/cards/invite-message.js.map +0 -1
  261. package/components/vibe-menu/cards/launch-moment.styles.js.map +0 -1
  262. package/components/vibe-menu/cards/share-actions.js.map +0 -1
  263. package/components/vibe-menu/cards/share-card.styles.js.map +0 -1
  264. package/components/vibe-menu/cards/share-copy.js.map +0 -1
  265. package/components/vibe-menu/cards/share-parts.js.map +0 -1
  266. package/components/vibe-menu/code-tabs.js.map +0 -1
  267. package/components/vibe-menu/copy.js.map +0 -1
  268. package/components/vibe-menu/fixtures.js.map +0 -1
  269. package/components/vibe-menu/geometry.js.map +0 -1
  270. package/components/vibe-menu/index.js.map +0 -1
  271. package/components/vibe-menu/menu-state.js.map +0 -1
  272. package/components/vibe-menu/moments.js.map +0 -1
  273. package/components/vibe-menu/motion.js.map +0 -1
  274. package/components/vibe-menu/open-resolver.js.map +0 -1
  275. package/components/vibe-menu/parts/AccessToggle.js.map +0 -1
  276. package/components/vibe-menu/parts/ActionPill.js.map +0 -1
  277. package/components/vibe-menu/parts/BackRow.js.map +0 -1
  278. package/components/vibe-menu/parts/BuildAskLine.js.map +0 -1
  279. package/components/vibe-menu/parts/CardTabRow.js.map +0 -1
  280. package/components/vibe-menu/parts/Chip.js.map +0 -1
  281. package/components/vibe-menu/parts/Composer.js.map +0 -1
  282. package/components/vibe-menu/parts/DoneButton.js.map +0 -1
  283. package/components/vibe-menu/parts/ExpectedTimeBar.js.map +0 -1
  284. package/components/vibe-menu/parts/Glyph.js.map +0 -1
  285. package/components/vibe-menu/parts/GrantControls.js.map +0 -1
  286. package/components/vibe-menu/parts/KeepAppLine.js.map +0 -1
  287. package/components/vibe-menu/parts/LabeledChoices.js.map +0 -1
  288. package/components/vibe-menu/parts/MemberRow.js.map +0 -1
  289. package/components/vibe-menu/parts/MenuCard.js.map +0 -1
  290. package/components/vibe-menu/parts/MomentLine.js.map +0 -1
  291. package/components/vibe-menu/parts/PromptRequest.js.map +0 -1
  292. package/components/vibe-menu/parts/Row.js.map +0 -1
  293. package/components/vibe-menu/parts/SaveAskLine.js.map +0 -1
  294. package/components/vibe-menu/parts/ScrollTabRow.js.map +0 -1
  295. package/components/vibe-menu/parts/SectionStrip.js.map +0 -1
  296. package/components/vibe-menu/parts/SendCap.js.map +0 -1
  297. package/components/vibe-menu/parts/StarterChips.js.map +0 -1
  298. package/components/vibe-menu/parts/StatusChipRow.js.map +0 -1
  299. package/components/vibe-menu/parts/StatusLine.js.map +0 -1
  300. package/components/vibe-menu/parts/StopIconButton.js.map +0 -1
  301. package/components/vibe-menu/parts/ThinkingLine.js.map +0 -1
  302. package/components/vibe-menu/parts/VibesSwitchGlass.js.map +0 -1
  303. package/components/vibe-menu/parts/agent-log-frame.js.map +0 -1
  304. package/components/vibe-menu/parts/brief-faces-art.js.map +0 -1
  305. package/components/vibe-menu/parts/fold-keyboard.js.map +0 -1
  306. package/components/vibe-menu/parts/radio-keys.js.map +0 -1
  307. package/components/vibe-menu/parts/refused-send.js.map +0 -1
  308. package/components/vibe-menu/parts/use-composer-draft.js.map +0 -1
  309. package/components/vibe-menu/share-fixtures.js.map +0 -1
  310. package/components/vibe-menu/share-image.js.map +0 -1
  311. package/components/vibe-menu/shell/VibeMenuShell.js.map +0 -1
  312. package/components/vibe-menu/shell/menu-sequence.js.map +0 -1
  313. package/components/vibe-menu/shell/outline-geometry.js.map +0 -1
  314. package/components/vibe-menu/shell/shell.styles.js.map +0 -1
  315. package/components/vibe-menu/shell/useMenuSequencer.js.map +0 -1
  316. package/components/vibe-menu/sketches/CodeTierAudition.js.map +0 -1
  317. package/components/vibe-menu/slices.js.map +0 -1
  318. package/components/vibe-menu/use-remix-hint.js.map +0 -1
  319. package/components/vibe-menu/vibe-menu.styles.js.map +0 -1
  320. package/hooks/img-gen/index.js.map +0 -1
  321. package/hooks/img-gen/local-pictures.js.map +0 -1
  322. package/hooks/img-gen/picture-bytes.js.map +0 -1
  323. package/hooks/img-gen/use-img-gen.js.map +0 -1
  324. package/hooks/img-gen/use-picture-src.js.map +0 -1
  325. package/hooks/img-gen/utils.js.map +0 -1
  326. package/hooks/useMobile.js.map +0 -1
  327. package/index.js.map +0 -1
  328. package/theme/css-vars.js.map +0 -1
  329. package/theme/global-styles.js.map +0 -1
  330. package/theme/index.js.map +0 -1
  331. package/theme/patterns.js.map +0 -1
  332. package/theme/safe-area.js.map +0 -1
  333. package/theme/tokens.js.map +0 -1
  334. package/utils/debug.js.map +0 -1
  335. package/utils/normalize-avatar-image.js.map +0 -1
  336. package/utils/style-utils.js.map +0 -1
  337. package/utils/styles.js.map +0 -1
@@ -225,4 +225,3 @@ export const LABELED_MENU_CSS = `
225
225
  transition: none;
226
226
  }
227
227
  `;
228
- //# sourceMappingURL=LabeledChoices.js.map
@@ -79,4 +79,3 @@ export function InviteField(props) {
79
79
  setFailed(false);
80
80
  }, onSelect: (slug) => void send(slug), onClear: () => setValue(""), placeholder: "Invite by handle or email", className: "vm-invite", inputClassName: "vm-input", invalid: failed, busy: busy, style: { display: "block", minWidth: 0, width: "100%" } }));
81
81
  }
82
- //# sourceMappingURL=MemberRow.js.map
@@ -5,4 +5,3 @@ export function MenuCard(props) {
5
5
  return (React.createElement("section", { ref: props.cardRef, className: "vm-card", "data-section": props.section ?? undefined, "aria-label": props.section === null ? "Vibe menu card" : SECTION_TITLES[props.section], inert: idle ? true : undefined, "aria-hidden": idle ? "true" : undefined },
6
6
  React.createElement("div", { ref: props.bodyRef, className: "vm-card-body" }, props.children)));
7
7
  }
8
- //# sourceMappingURL=MenuCard.js.map
@@ -135,4 +135,3 @@ export function MomentLine(props) {
135
135
  live === null ? null : React.createElement(LiveMoment, { item: live, log: props.log }),
136
136
  live === null && props.log !== null && props.log.lines.length > 0 ? React.createElement(AgentLog, { lines: props.log.lines }) : null));
137
137
  }
138
- //# sourceMappingURL=MomentLine.js.map
@@ -13,4 +13,3 @@ export function PromptRequest({ text }) {
13
13
  React.createElement("h2", { id: id, className: clamped ? "vm-prompt-request is-clamped" : "vm-prompt-request" }, text),
14
14
  long ? (React.createElement("button", { type: "button", className: "vm-prompt-more", "aria-expanded": expanded, "aria-controls": id, onClick: () => setExpanded((v) => !v) }, expanded ? "Show less" : "Show all")) : null));
15
15
  }
16
- //# sourceMappingURL=PromptRequest.js.map
@@ -59,4 +59,3 @@ export function Row(props) {
59
59
  export function RowGroup(props) {
60
60
  return React.createElement("div", { className: props.flush === true ? "vm-group is-flush" : "vm-group" }, props.children);
61
61
  }
62
- //# sourceMappingURL=Row.js.map
@@ -7,4 +7,3 @@ export function SaveAskLine(props) {
7
7
  React.createElement("span", { className: "vm-app-name" }, saveAskAppName(props.ask.appName)),
8
8
  copy.after));
9
9
  }
10
- //# sourceMappingURL=SaveAskLine.js.map
@@ -169,4 +169,3 @@ export function ScrollTabRow(props) {
169
169
  ends.next ? (React.createElement("button", { className: "vm-srow-hint", type: "button", "data-dir": "next", tabIndex: -1, "aria-label": `More ${props.label}`, onClick: () => step(1) },
170
170
  React.createElement(Glyph, { name: "chevron-right" }))) : null));
171
171
  }
172
- //# sourceMappingURL=ScrollTabRow.js.map
@@ -35,4 +35,3 @@ export function SectionStrip(props) {
35
35
  badged === false && section === "share" && props.saveAskDot === true ? (React.createElement("span", { className: "vm-badge is-dot", "data-save-ask-dot": "", "aria-hidden": "true" })) : null));
36
36
  })))));
37
37
  }
38
- //# sourceMappingURL=SectionStrip.js.map
@@ -7,4 +7,3 @@ export function SendCap(props) {
7
7
  }
8
8
  return (React.createElement("button", { className: "vm-cap", type: "button", "data-send": "", "data-composer-submit": "vibe", disabled: props.disabled, onClick: props.onPress }, props.label ?? "Send"));
9
9
  }
10
- //# sourceMappingURL=SendCap.js.map
@@ -67,4 +67,3 @@ export function StarterChips({ chips, onPick, disabled = false, dealt = true, ar
67
67
  }
68
68
  } }, chip.label))))));
69
69
  }
70
- //# sourceMappingURL=StarterChips.js.map
@@ -20,7 +20,7 @@ export declare const EXAMPLES_KEPT_LABEL = "Your app has example data to try. Ta
20
20
  export declare const EXAMPLES_CLEARING_TEXT = "Starting fresh\u2026";
21
21
  export declare const EXAMPLES_CLEARING_LABEL = "Starting your app fresh for your own records.";
22
22
  export type ExamplesChipPhase = "idle" | "importing" | "retry" | "keeping" | "kept" | "clearing";
23
- export declare const NEXT_STEP_TEXT_MAX = 34;
23
+ export declare const NEXT_STEP_TEXT_MAX = 26;
24
24
  export declare function nextStepChipText(label: string): string;
25
25
  export declare function nextStepChipLabel(label: string): string;
26
26
  export declare function pendingChipText(n: number): string;
@@ -38,7 +38,7 @@ const EXAMPLES_FACES = Object.freeze({
38
38
  clearing: { text: EXAMPLES_CLEARING_TEXT, label: EXAMPLES_CLEARING_LABEL },
39
39
  });
40
40
  const EXAMPLES_BUSY = new Set(["importing", "keeping", "clearing"]);
41
- export const NEXT_STEP_TEXT_MAX = 34;
41
+ export const NEXT_STEP_TEXT_MAX = 26;
42
42
  export function nextStepChipText(label) {
43
43
  const one = label.trim().replace(/\s+/g, " ");
44
44
  if (one.length <= NEXT_STEP_TEXT_MAX)
@@ -179,4 +179,3 @@ export function StatusChipRow(props) {
179
179
  "+",
180
180
  more)) : null));
181
181
  }
182
- //# sourceMappingURL=StatusChipRow.js.map
@@ -22,4 +22,3 @@ export function StatusLine(props) {
22
22
  spec.elastic === undefined ? null : (React.createElement("span", { className: "vm-status-elastic", "data-part": "elastic" }, spec.elastic)),
23
23
  spec.after === undefined ? null : (React.createElement("span", { className: "vm-status-fixed", "data-part": "after" }, spec.after)))));
24
24
  }
25
- //# sourceMappingURL=StatusLine.js.map
@@ -29,4 +29,3 @@ export function StopIconButton(props) {
29
29
  React.createElement("button", { type: "button", className: "vm-stop-icon vm-ctab-stop", "data-stop": "", "data-stopping": stopping ? "" : undefined, "aria-label": "Stop building", "aria-disabled": blocked ? "true" : undefined, "aria-busy": stopping ? true : undefined, disabled: stopping, onClick: press },
30
30
  React.createElement(Glyph, { name: "stop" }))));
31
31
  }
32
- //# sourceMappingURL=StopIconButton.js.map
@@ -77,4 +77,3 @@ export function ThinkingLine({ verb, elapsed, complete = false, wrapping = false
77
77
  word,
78
78
  complete === false && wrapping === false ? "…" : ""))));
79
79
  }
80
- //# sourceMappingURL=ThinkingLine.js.map
@@ -237,4 +237,3 @@ export function VibesSwitchGlass(props) {
237
237
  React.createElement("div", { className: "vm-beside" },
238
238
  React.createElement(ClosedStatusLine, { content: props.closedStatus }))));
239
239
  }
240
- //# sourceMappingURL=VibesSwitchGlass.js.map
@@ -7,4 +7,3 @@ export function AgentLogFallback() {
7
7
  const frame = useAgentLogFrame();
8
8
  return frame.fallback === undefined ? null : React.createElement(React.Fragment, null, frame.fallback);
9
9
  }
10
- //# sourceMappingURL=agent-log-frame.js.map
@@ -537,4 +537,3 @@ export const BRIEF_FACES = [
537
537
  ],
538
538
  },
539
539
  ];
540
- //# sourceMappingURL=brief-faces-art.js.map
@@ -16,4 +16,3 @@ export function foldKeyboardAfterSend({ boxes, coarsePointer = isCoarsePointerNo
16
16
  }
17
17
  }
18
18
  }
19
- //# sourceMappingURL=fold-keyboard.js.map
@@ -10,4 +10,3 @@ export function nextRadioIndex(args) {
10
10
  return undefined;
11
11
  }
12
12
  }
13
- //# sourceMappingURL=radio-keys.js.map
@@ -1,9 +1,9 @@
1
- export type RefusedSendKind = "empty" | "files_wait" | "files_processing" | "credits";
1
+ export type RefusedSendKind = "empty" | "files_processing" | "files_full" | "credits";
2
2
  export declare const REFUSED_SEND_COPY: Readonly<{
3
3
  readonly changeEmpty: "Type a change first, like “make it pink”.";
4
4
  readonly ideasLead: "Try:";
5
- readonly filesWait: "Send your pictures when this build finishes.";
6
5
  readonly filesProcessing: "Your files are almost ready to send.";
6
+ readonly filesFull: "Your queued change carries up to 4 files. Send these once this build finishes.";
7
7
  readonly homeEmpty: "Describe your app in a few words, then Send.";
8
8
  readonly homeStarter: "Finish the sentence with your idea, then Send.";
9
9
  readonly creditsLead: "Keep building:";
@@ -16,8 +16,8 @@ export declare function refusedSendKind(i: {
16
16
  readonly text: string;
17
17
  readonly readyCount: number;
18
18
  readonly attachmentsBusy: boolean;
19
- readonly waitsForBuild: boolean;
20
19
  readonly held?: boolean;
20
+ readonly queuedFiles?: number;
21
21
  }): RefusedSendKind | null;
22
22
  export declare function changeRefusedSendLine(kind: RefusedSendKind): string;
23
23
  export declare function homeRefusedSendLine(i: {
@@ -1,8 +1,9 @@
1
+ import { MAX_ATTACHMENTS } from "../../../attachments/attachment-types.js";
1
2
  export const REFUSED_SEND_COPY = Object.freeze({
2
3
  changeEmpty: "Type a change first, like “make it pink”.",
3
4
  ideasLead: "Try:",
4
- filesWait: "Send your pictures when this build finishes.",
5
5
  filesProcessing: "Your files are almost ready to send.",
6
+ filesFull: `Your queued change carries up to ${MAX_ATTACHMENTS} files. Send these once this build finishes.`,
6
7
  homeEmpty: "Describe your app in a few words, then Send.",
7
8
  homeStarter: "Finish the sentence with your idea, then Send.",
8
9
  creditsLead: "Keep building:",
@@ -18,16 +19,17 @@ export function refusedSendKind(i) {
18
19
  return "files_processing";
19
20
  if (i.text.trim() === "" && i.readyCount === 0)
20
21
  return "empty";
21
- if (i.waitsForBuild === true && i.readyCount > 0)
22
- return "files_wait";
22
+ const queuedFiles = i.queuedFiles ?? 0;
23
+ if (queuedFiles > 0 && i.readyCount > 0 && queuedFiles + i.readyCount > MAX_ATTACHMENTS)
24
+ return "files_full";
23
25
  return null;
24
26
  }
25
27
  export function changeRefusedSendLine(kind) {
26
28
  switch (kind) {
27
29
  case "files_processing":
28
30
  return REFUSED_SEND_COPY.filesProcessing;
29
- case "files_wait":
30
- return REFUSED_SEND_COPY.filesWait;
31
+ case "files_full":
32
+ return REFUSED_SEND_COPY.filesFull;
31
33
  case "empty":
32
34
  return REFUSED_SEND_COPY.changeEmpty;
33
35
  case "credits":
@@ -38,4 +40,3 @@ export function homeRefusedSendLine(i) {
38
40
  const untouchedStarter = i.chipStarter !== null && i.text.trim() !== "" && i.text === i.chipStarter;
39
41
  return untouchedStarter ? REFUSED_SEND_COPY.homeStarter : REFUSED_SEND_COPY.homeEmpty;
40
42
  }
41
- //# sourceMappingURL=refused-send.js.map
@@ -10,7 +10,7 @@ export interface UseComposerDraftInput {
10
10
  readonly resetKey: string | null;
11
11
  readonly persistKey?: string | null;
12
12
  }
13
- export declare function draftYouLines(draft: Pick<ComposerDraft, "queued" | "handingOff">, log: readonly {
13
+ export declare function draftYouLines(draft: Pick<ComposerDraft, "queued" | "handingOff" | "queuedFiles">, log: readonly {
14
14
  readonly who: string;
15
15
  readonly text: string;
16
16
  }[]): readonly string[];
@@ -2,6 +2,7 @@ import * as React from "react";
2
2
  import { exception2Result } from "@adviser/cement";
3
3
  import { useAttachments } from "../../../attachments/use-attachments.js";
4
4
  import { heldAttachmentStore } from "../../../attachments/held-attachments.js";
5
+ import { MAX_ATTACHMENTS } from "../../../attachments/attachment-types.js";
5
6
  export const QUEUE_FLUSH_RETRY_MS = 400;
6
7
  export const QUEUE_FLUSH_MAX_ATTEMPTS = 25;
7
8
  export const QUEUE_STALE_BUILD_MS = 120_000;
@@ -30,13 +31,24 @@ function takeChange(prefix, appKey) {
30
31
  }
31
32
  const ONE_FILE_TEXT = "Use the attached file.";
32
33
  const MANY_FILES_TEXT = "Use the attached files.";
34
+ const NO_FILES = [];
35
+ function queuedFilesOf(entries) {
36
+ return entries.some((e) => e.files.length > 0) ? entries.flatMap((e) => e.files) : NO_FILES;
37
+ }
38
+ function ridesAlong(text, files) {
39
+ if (files === 0 || text === ONE_FILE_TEXT || text === MANY_FILES_TEXT)
40
+ return text;
41
+ return `${text} · with your ${files === 1 ? "file" : `${files} files`}`;
42
+ }
33
43
  export function draftYouLines(draft, log) {
44
+ const counts = draft.queuedFiles;
45
+ const queued = counts === undefined ? draft.queued : draft.queued.map((t, i) => ridesAlong(t, counts[i] ?? 0));
34
46
  const off = draft.handingOff;
35
47
  if (off === undefined)
36
- return draft.queued;
48
+ return queued;
37
49
  const last = log[log.length - 1];
38
50
  const shown = last !== undefined && last.who === "you" && last.text === off;
39
- return shown ? draft.queued : [...draft.queued, off];
51
+ return shown ? queued : [...queued, off];
40
52
  }
41
53
  export function useComposerDraft(input) {
42
54
  const { composer, resetKey } = input;
@@ -47,7 +59,10 @@ export function useComposerDraft(input) {
47
59
  const writingRewrite = composer.rewrite !== undefined;
48
60
  const [suggestion, setSuggestion] = React.useState(undefined);
49
61
  const queuedSuggestion = React.useRef(false);
50
- const [queued, setQueued] = React.useState([]);
62
+ const [queuedSends, setQueuedSends] = React.useState([]);
63
+ const queued = React.useMemo(() => queuedSends.map((e) => e.text), [queuedSends]);
64
+ const queuedFiles = React.useMemo(() => queuedFilesOf(queuedSends), [queuedSends]);
65
+ const queuedFileCounts = React.useMemo(() => queuedSends.map((e) => e.files.length), [queuedSends]);
51
66
  const [flushAttempt, setFlushAttempt] = React.useState(0);
52
67
  const [handingOff, setHandingOff] = React.useState(undefined);
53
68
  const attachments = useAttachments();
@@ -67,7 +82,7 @@ export function useComposerDraft(input) {
67
82
  setRewriteText("");
68
83
  setSuggestion(undefined);
69
84
  queuedSuggestion.current = false;
70
- setQueued([]);
85
+ setQueuedSends([]);
71
86
  setFlushAttempt(0);
72
87
  setHandingOff(undefined);
73
88
  attachments.clear();
@@ -177,16 +192,17 @@ export function useComposerDraft(input) {
177
192
  React.useEffect(() => {
178
193
  if (persistKey === null)
179
194
  return;
180
- if (holding && readyFiles.length > 0) {
195
+ const keep = holding && readyFiles.length > 0 ? [...queuedFiles, ...readyFiles] : queuedFiles;
196
+ if (keep.length > 0) {
181
197
  keptFilesFor.current = persistKey;
182
- void heldAttachmentStore().put(persistKey, readyFiles);
198
+ void heldAttachmentStore().put(persistKey, keep);
183
199
  return;
184
200
  }
185
201
  if (keptFilesFor.current !== persistKey)
186
202
  return;
187
203
  keptFilesFor.current = undefined;
188
204
  void heldAttachmentStore().drop(persistKey);
189
- }, [holding, readyFiles, persistKey]);
205
+ }, [holding, readyFiles, queuedFiles, persistKey]);
190
206
  const restore = composer.restore;
191
207
  const stage = attachments.stage;
192
208
  const restoreSeq = React.useRef(undefined);
@@ -227,42 +243,48 @@ export function useComposerDraft(input) {
227
243
  if (flushable === false || queued.length === 0)
228
244
  return;
229
245
  const batch = queued.join("\n\n");
230
- const answer = queuedSuggestion.current ? onSubmitRef.current(batch, [], "suggestion") : onSubmitRef.current(batch, []);
246
+ const files = queuedFiles;
247
+ const answer = queuedSuggestion.current ? onSubmitRef.current(batch, files, "suggestion") : onSubmitRef.current(batch, files);
231
248
  if (answer !== false) {
232
249
  onQueueFlushedRef.current?.(queued.length);
233
250
  queuedSuggestion.current = false;
234
- setQueued([]);
251
+ setQueuedSends([]);
235
252
  setFlushAttempt(0);
236
253
  return;
237
254
  }
238
255
  if (flushAttempt >= QUEUE_FLUSH_MAX_ATTEMPTS) {
239
- handBackQueue("gave_up", queued);
256
+ handBackQueue("gave_up", queued, files);
240
257
  return;
241
258
  }
242
259
  const timer = setTimeout(() => setFlushAttempt((n) => n + 1), QUEUE_FLUSH_RETRY_MS);
243
260
  return () => clearTimeout(timer);
244
- }, [building, sendsNow, held, queued, flushAttempt]);
261
+ }, [building, sendsNow, held, queued, queuedFiles, flushAttempt]);
245
262
  const waitingOnBuild = building === true && queued.length > 0;
246
263
  const turnMark = composer.turnMark;
264
+ const queuedFilesRef = React.useRef(queuedFiles);
265
+ React.useEffect(() => {
266
+ queuedFilesRef.current = queuedFiles;
267
+ }, [queuedFiles]);
247
268
  React.useEffect(() => {
248
269
  if (waitingOnBuild === false)
249
270
  return;
250
271
  const timer = setTimeout(() => {
251
272
  const pending = queuedRef.current;
252
273
  if (pending.length > 0)
253
- handBackQueue("stale_build", pending);
274
+ handBackQueue("stale_build", pending, queuedFilesRef.current);
254
275
  }, QUEUE_STALE_BUILD_MS);
255
276
  return () => clearTimeout(timer);
256
277
  }, [waitingOnBuild, turnMark]);
257
- function handBackQueue(cause, pending) {
278
+ function handBackQueue(cause, pending, files) {
258
279
  const batch = pending.join("\n\n");
259
280
  onQueueDroppedRef.current?.({ cause, messages: pending.length, kept: "field" });
260
281
  setSuggestion(queuedSuggestion.current ? batch : undefined);
261
282
  queuedSuggestion.current = false;
262
283
  queuedRef.current = [];
263
- setQueued([]);
284
+ setQueuedSends([]);
264
285
  setFlushAttempt(0);
265
286
  setText((d) => (d === "" ? batch : `${d}\n${batch}`));
287
+ attachments.stage(files, { first: true });
266
288
  }
267
289
  const restoringFiles = restoringFilesFor !== null && restoringFilesFor === persistKey;
268
290
  const draftAttachments = React.useMemo(() => (restoringFiles ? { ...attachments, busy: true } : attachments), [attachments, restoringFiles]);
@@ -287,14 +309,17 @@ export function useComposerDraft(input) {
287
309
  }
288
310
  const sendNow = composer.sendsNow === true && queued.length === 0 && ready.length === 0;
289
311
  if ((building === true && sendNow === false) || queued.length > 0) {
290
- if (ready.length > 0) {
312
+ if (queuedFiles.length + ready.length > MAX_ATTACHMENTS) {
291
313
  composer.onSendBlocked?.("busy");
292
314
  return false;
293
315
  }
294
316
  submittedRender.current = true;
295
- queuedSuggestion.current = queued.length === 0 && suggestion === text;
317
+ queuedSuggestion.current = queued.length === 0 && suggestion === text && ready.length === 0;
296
318
  setSuggestion(undefined);
297
- setQueued([...queued, trimmed]);
319
+ const words = trimmed !== "" ? trimmed : ready.length === 1 ? ONE_FILE_TEXT : MANY_FILES_TEXT;
320
+ setQueuedSends([...queuedSends, { text: words, files: ready }]);
321
+ if (ready.length > 0)
322
+ attachments.clear();
298
323
  setText("");
299
324
  composer.onSendQueued?.(queued.length + 1);
300
325
  return true;
@@ -331,7 +356,8 @@ export function useComposerDraft(input) {
331
356
  setSuggestion(queuedSuggestion.current ? batch : undefined);
332
357
  queuedSuggestion.current = false;
333
358
  setText((d) => (d === "" ? batch : `${d}\n${batch}`));
334
- setQueued([]);
359
+ attachments.stage(queuedFiles, { first: true });
360
+ setQueuedSends([]);
335
361
  }
336
362
  composer.onStop();
337
363
  }
@@ -346,7 +372,8 @@ export function useComposerDraft(input) {
346
372
  setRewriteText((current) => (value === "" && current !== rewriteText ? current : value));
347
373
  }
348
374
  else {
349
- setSuggestion(undefined);
375
+ if (suggestion !== undefined)
376
+ setSuggestion(undefined);
350
377
  setText(value);
351
378
  }
352
379
  },
@@ -358,9 +385,9 @@ export function useComposerDraft(input) {
358
385
  },
359
386
  attachments: draftAttachments,
360
387
  queued,
388
+ queuedFiles: queuedFileCounts,
361
389
  handingOff,
362
390
  submit,
363
391
  stop,
364
392
  };
365
393
  }
366
- //# sourceMappingURL=use-composer-draft.js.map
@@ -87,4 +87,3 @@ export function makeShareViewer(role, over = {}) {
87
87
  ...over,
88
88
  };
89
89
  }
90
- //# sourceMappingURL=share-fixtures.js.map
@@ -266,4 +266,3 @@ export function renderShareImage(input, deps = {}) {
266
266
  return renderPass({ input, font, screenshot: undefined, encode });
267
267
  });
268
268
  }
269
- //# sourceMappingURL=share-image.js.map
@@ -231,4 +231,3 @@ export function VibeMenuShell(props) {
231
231
  } }),
232
232
  labeled === null ? null : (React.createElement(LabeledChoices, { variant: labeled, choicesRef: choicesRef, open: choicesOpen, pendingRequests: props.badges.pendingRequests, saveAskDot: props.badges.saveAsk === true, onChoose: (section) => dispatch({ type: "ITEM_TAP", section }) })))));
233
233
  }
234
- //# sourceMappingURL=VibeMenuShell.js.map
@@ -29,4 +29,3 @@ export function planPresentation(input) {
29
29
  steps.push("rise");
30
30
  return steps;
31
31
  }
32
- //# sourceMappingURL=menu-sequence.js.map
@@ -80,4 +80,3 @@ export function outlineFrame(input) {
80
80
  const rise = 1 - clamp01(ch / CORNER_RISE_PX);
81
81
  return { clipPath, band, cover, edgeD, barTopLeft: BAR_CORNER * Math.max(reach, rise), gap: [gl, gr] };
82
82
  }
83
- //# sourceMappingURL=outline-geometry.js.map
@@ -872,4 +872,3 @@ export const VIBE_MENU_SHELL_CSS = `
872
872
  animation: none !important;
873
873
  }
874
874
  `;
875
- //# sourceMappingURL=shell.styles.js.map
@@ -494,4 +494,3 @@ export function useMenuSequencer(input) {
494
494
  useEffect(() => () => driver.stop(), [driver]);
495
495
  return { shown, refs };
496
496
  }
497
- //# sourceMappingURL=useMenuSequencer.js.map
@@ -138,4 +138,3 @@ export function codeTierShell(state) {
138
138
  key: `${state.open ?? ""}|${state.tab}`,
139
139
  };
140
140
  }
141
- //# sourceMappingURL=CodeTierAudition.js.map
@@ -2,4 +2,3 @@ export const APPROVE_DATA_ONLY = Object.freeze({
2
2
  codeFailed: "Data access granted. Code access didn't go through.",
3
3
  codeNeedsHandle: "Data access granted. Code access needs their handle.",
4
4
  });
5
- //# sourceMappingURL=slices.js.map
@@ -18,4 +18,3 @@ export function useRemixHint(input) {
18
18
  return hint;
19
19
  return input.hints[0] ?? "";
20
20
  }
21
- //# sourceMappingURL=use-remix-hint.js.map
@@ -1890,4 +1890,3 @@ export function DetachedVibeMenuStyles() {
1890
1890
  const shellOnPage = React.useSyncExternalStore(subscribeLiveShells, () => liveShells > 0, () => false);
1891
1891
  return shellOnPage ? null : React.createElement(VibeMenuStyles);
1892
1892
  }
1893
- //# sourceMappingURL=vibe-menu.styles.js.map
@@ -1,3 +1,2 @@
1
1
  export { useImgGen } from "./use-img-gen.js";
2
2
  export { addNewVersion, generateVersionId, nextFreeVersionId, generatePromptKey, sanitizeFiles, buildImgGenDocUpdate, } from "./utils.js";
3
- //# sourceMappingURL=index.js.map
@@ -28,4 +28,3 @@ export function registeredPictureStore() {
28
28
  }
29
29
  return storeFor.store;
30
30
  }
31
- //# sourceMappingURL=local-pictures.js.map
@@ -310,4 +310,3 @@ export function idbPictureBytes(opts = {}) {
310
310
  }
311
311
  return { get, put };
312
312
  }
313
- //# sourceMappingURL=picture-bytes.js.map
@@ -1058,4 +1058,3 @@ export function useImgGen(opts) {
1058
1058
  reportUnavailable,
1059
1059
  };
1060
1060
  }
1061
- //# sourceMappingURL=use-img-gen.js.map
@@ -91,4 +91,3 @@ export function usePictureSrc(args) {
91
91
  return { src: url, unavailable: false };
92
92
  return { src: undefined, unavailable: false };
93
93
  }
94
- //# sourceMappingURL=use-picture-src.js.map
@@ -1,2 +1 @@
1
1
  export { generateVersionId, nextFreeVersionId, generatePromptKey, getVersionsFromDocument, getPromptsFromDocument, sanitizeFiles, addNewVersion, buildImgGenDocUpdate, shouldAppendVersion, } from "@vibes.diy/vibe-types";
2
- //# sourceMappingURL=utils.js.map
@@ -17,4 +17,3 @@ export function useMobile() {
17
17
  }, []);
18
18
  return isMobile;
19
19
  }
20
- //# sourceMappingURL=useMobile.js.map
package/index.js CHANGED
@@ -15,4 +15,3 @@ export * from "./attachments/use-attachments.js";
15
15
  export * from "./attachments/composer-file-drop.js";
16
16
  export * from "./attachments/held-attachments.js";
17
17
  export { resolveBuilderOrigin, resolveBuilderOriginFrom, VIBES_DIY_BUILDER_URL } from "@vibes.diy/vibe-runtime";
18
- //# sourceMappingURL=index.js.map
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vibes.diy/base",
3
- "version": "14.3.324",
4
- "license": "Apache-2.0",
3
+ "version": "14.3.326",
4
+ "license": "SEE LICENSE IN LICENSE.md",
5
5
  "type": "module",
6
6
  "main": "./index.js",
7
7
  "scripts": {
@@ -10,10 +10,10 @@
10
10
  "dependencies": {
11
11
  "@adviser/cement": "~0.5.37",
12
12
  "@emotion/css": "~11.13.5",
13
- "@vibes.diy/api-types": "14.3.324",
14
- "@vibes.diy/use-vibes-types": "14.3.324",
15
- "@vibes.diy/vibe-runtime": "14.3.324",
16
- "@vibes.diy/vibe-types": "14.3.324",
13
+ "@vibes.diy/api-types": "14.3.326",
14
+ "@vibes.diy/use-vibes-types": "14.3.326",
15
+ "@vibes.diy/vibe-runtime": "14.3.326",
16
+ "@vibes.diy/vibe-types": "14.3.326",
17
17
  "arktype": "~2.2.9",
18
18
  "officeparser": "~8.7.1",
19
19
  "qrcode-generator": "~2.0.4",
package/theme/css-vars.js CHANGED
@@ -31,4 +31,3 @@ export function generateCSSVariables() {
31
31
  ].join("\n");
32
32
  return `${lightRoot}\n\n${darkOverrides}`;
33
33
  }
34
- //# sourceMappingURL=css-vars.js.map
@@ -231,4 +231,3 @@ export function buildGlobalCSS() {
231
231
  backgroundPatterns,
232
232
  ].join("\n\n");
233
233
  }
234
- //# sourceMappingURL=global-styles.js.map
package/theme/index.js CHANGED
@@ -8,4 +8,3 @@ const cachedCSS = Lazy(() => buildGlobalCSS());
8
8
  export function getVibesGlobalCSS() {
9
9
  return cachedCSS();
10
10
  }
11
- //# sourceMappingURL=index.js.map
package/theme/patterns.js CHANGED
@@ -48,4 +48,3 @@ export const gridBackground = css `
48
48
  linear-gradient(rgba(0, 0, 0, 0.275) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 0, 0, 0.275) 1px, transparent 1px);
49
49
  }
50
50
  `;
51
- //# sourceMappingURL=patterns.js.map
@@ -8,4 +8,3 @@ export const SAFE_AREA_TOP = "var(--vibes-safe-top, env(safe-area-inset-top, 0px
8
8
  export const SAFE_AREA_RIGHT = "var(--vibes-safe-right, env(safe-area-inset-right, 0px))";
9
9
  export const SAFE_AREA_BOTTOM = "var(--vibes-safe-bottom, env(safe-area-inset-bottom, 0px))";
10
10
  export const SAFE_AREA_LEFT = "var(--vibes-safe-left, env(safe-area-inset-left, 0px))";
11
- //# sourceMappingURL=safe-area.js.map
package/theme/tokens.js CHANGED
@@ -167,4 +167,3 @@ export const semantic = {
167
167
  hoverTint: "rgba(255, 255, 255, 0.015)",
168
168
  },
169
169
  };
170
- //# sourceMappingURL=tokens.js.map
package/utils/debug.js CHANGED
@@ -5,4 +5,3 @@ export function logDebug(...args) {
5
5
  console.log(...args);
6
6
  }
7
7
  }
8
- //# sourceMappingURL=debug.js.map
@@ -59,4 +59,3 @@ export async function normalizeAvatarImage(file, maxDim = AVATAR_MAX_DIMENSION)
59
59
  bitmap.close();
60
60
  }
61
61
  }
62
- //# sourceMappingURL=normalize-avatar-image.js.map
@@ -12,4 +12,3 @@ export function combineClasses(...classes) {
12
12
  return allClasses.join(" ");
13
13
  }
14
14
  export const defaultClasses = {};
15
- //# sourceMappingURL=style-utils.js.map
package/utils/styles.js CHANGED
@@ -308,4 +308,3 @@ export const imgVibesStyles = {
308
308
  textOverflow: "ellipsis",
309
309
  },
310
310
  };
311
- //# sourceMappingURL=styles.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"attachment-types.js","sourceRoot":"","sources":["../../jsr/attachments/attachment-types.ts"],"names":[],"mappings":"AAMA,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,CAAC;AAEjC,MAAM,CAAC,MAAM,cAAc,GAAG,EAAE,GAAG,IAAI,GAAG,IAAI,CAAC;AAE/C,MAAM,CAAC,MAAM,cAAc,GAAG,MAAM,CAAC;AAErC,MAAM,CAAC,MAAM,mBAAmB,GAAG,IAAI,CAAC;AAExC,MAAM,CAAC,MAAM,kBAAkB,GAAG,GAAG,CAAC;AAGtC,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,WAAW,EAAE,YAAY,EAAE,YAAY,EAAE,WAAW,CAAU,CAAC;AAChG,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,CAAU,CAAC;AAG3H,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,GAAG,gBAAgB,EAAE,GAAG,iBAAiB,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE,QAAQ,EAAE,kBAAkB,CAAC,CAAC,IAAI,CACjI,GAAG,CACJ,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"composer-file-drop.js","sourceRoot":"","sources":["../../jsr/attachments/composer-file-drop.ts"],"names":[],"mappings":"AAKA,MAAM,UAAU,UAAU,CAAC,KAA2D;IACpF,IAAI,KAAK,KAAK,IAAI,IAAI,KAAK,KAAK,SAAS;QAAE,OAAO,KAAK,CAAC;IACxD,OAAO,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC;AAC7C,CAAC;AAID,MAAM,UAAU,aAAa,CAAC,YAA6C;IACzE,IAAI,YAAY,KAAK,IAAI,IAAI,YAAY,KAAK,SAAS;QAAE,OAAO,EAAE,CAAC;IACnE,OAAO,KAAK,CAAC,IAAI,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC;AACxC,CAAC;AAUD,MAAM,UAAU,gBAAgB,CAAC,OAUhC;IAIC,OAAO;QACL,UAAU,CAAC,KAAK;YAGd,IAAI,UAAU,CAAC,KAAK,CAAC,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC;gBAC1C,KAAK,CAAC,cAAc,EAAE,CAAC;gBACvB,KAAK,CAAC,YAAY,CAAC,UAAU,GAAG,OAAO,CAAC,aAAa,EAAE,EAAE,KAAK,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC;YACxF,CAAC;QACH,CAAC;QACD,MAAM,CAAC,KAAK;YACV,MAAM,KAAK,GAAG,aAAa,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC;YAEhD,IAAI,UAAU,CAAC,KAAK,CAAC,YAAY,EAAE,KAAK,CAAC,KAAK,KAAK,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC;gBAAE,OAAO;YAClF,KAAK,CAAC,cAAc,EAAE,CAAC;YACvB,KAAK,CAAC,eAAe,EAAE,CAAC;YACxB,IAAI,OAAO,CAAC,aAAa,EAAE,EAAE,KAAK,KAAK;gBAAE,OAAO;YAChD,IAAI,OAAO,CAAC,YAAY,EAAE,EAAE,KAAK,KAAK;gBAAE,OAAO;YAC/C,IAAI,KAAK,CAAC,MAAM,KAAK,CAAC;gBAAE,OAAO;YAC/B,OAAO,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;QACzB,CAAC;KACF,CAAC;AACJ,CAAC"}