@vite-hub/ui 0.4.1 → 0.5.1

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 (360) hide show
  1. package/README.md +102 -76
  2. package/dist/andromeeda-DaUPZ4_A.js +147 -0
  3. package/dist/announce-B0DLwflT.js +31 -0
  4. package/dist/{attachments-BzTwqRTU.js → attachments-DgwoQZKY.js} +3 -5
  5. package/dist/aurora-x-B5RPZ9i5.js +162 -0
  6. package/dist/{avatar-stack-DPRFuezh.d.ts → avatar-stack-C0IKwj6g.d.ts} +1 -3
  7. package/dist/ayu-dark-DXTaGA7I.js +137 -0
  8. package/dist/ayu-light-BCYi80Fe.js +137 -0
  9. package/dist/ayu-mirage-CgbXz-N5.js +137 -0
  10. package/dist/catppuccin-frappe-MV2xzv44.js +266 -0
  11. package/dist/catppuccin-latte-CL6jjlVD.js +266 -0
  12. package/dist/catppuccin-macchiato-Bp6oZJVK.js +266 -0
  13. package/dist/catppuccin-mocha-DOHrQ4dw.js +266 -0
  14. package/dist/{choices-input-ByXJvDn1.d.ts → choices-input-BUf-QqGj.d.ts} +0 -2
  15. package/dist/{code-view-DsU-xzic.js → code-view-Cg4nyTNA.js} +6 -8
  16. package/dist/{colors-BghReA9C-CjF9gnmy.js → colors-BghReA9C-DEq4bhEP.js} +1 -2
  17. package/dist/{comment-attachments-C4yNbcx5.js → comment-attachments-CMpYOJod.js} +1 -2
  18. package/dist/{comment-composer-fINL5bxo.d.ts → comment-composer-BI6CNJyO.d.ts} +3 -5
  19. package/dist/{comment-composer-jYv2ULNP.js → comment-composer-CzU7DdfD.js} +260 -16
  20. package/dist/{comment-layer-C_sbPIR5.d.ts → comment-layer-DyVstrs-.d.ts} +5 -7
  21. package/dist/{comment-list-BcSaLngS.d.ts → comment-list-CSK5o-Ua.d.ts} +3 -5
  22. package/dist/comment-marks.css +18 -22
  23. package/dist/{comment-panel-CfvdRUMX.d.ts → comment-panel-CEvOI3gk.d.ts} +3 -5
  24. package/dist/{comment-person-CLPlW_SS.js → comment-person-D_IyIjXo.js} +1 -2
  25. package/dist/{comment-pin-DHOdRvUw.d.ts → comment-pin-C5UeLPTa.d.ts} +1 -3
  26. package/dist/{comment-row-Bn3nr8l5.js → comment-row-DPMWI5Z0.js} +3 -4
  27. package/dist/{comment-selection-bar-CyVBNYl9.d.ts → comment-selection-bar-CVuS-FNL.d.ts} +0 -2
  28. package/dist/comment-send-DPzV9B8S.js +275 -0
  29. package/dist/comment-send-MmxFsOQf.d.ts +23 -0
  30. package/dist/comment-send.css +267 -0
  31. package/dist/comment-thread-CbPtoi8-.js +796 -0
  32. package/dist/{comment-thread-DKJjmWN0.d.ts → comment-thread-DGm1cGJt.d.ts} +4 -8
  33. package/dist/{comment-visibility-DsVuVndP.d.ts → comment-visibility-CYctacNx.d.ts} +0 -2
  34. package/dist/{comments-D0d26ghV.js → comments-C0OdHh_F.js} +5 -8
  35. package/dist/{comments-D8hulVPy.d.ts → comments-DrE9DU-E.d.ts} +1 -3
  36. package/dist/{comments-context-C2lOZyQ5.js → comments-context-CrjhleVA.js} +4 -5
  37. package/dist/{config-Dk67emQt.js → config-DztmAYYn.js} +9 -3
  38. package/dist/{config-DgxBW013.d.ts → config-xL4EBeXw.d.ts} +11 -4
  39. package/dist/dark-plus-CXEBSjk4.js +148 -0
  40. package/dist/dracula-Bvyz6eCo.js +165 -0
  41. package/dist/dracula-soft-a9indxAQ.js +115 -0
  42. package/dist/{draw-DzSmD7uo-Dwz8zoH2.js → draw-DzSmD7uo-Cb7s9kxJ.js} +359 -708
  43. package/dist/drop-field-CNZgwFVO.js +162 -0
  44. package/dist/{editor-C_wt4RRV.js → editor-CGiEVOnB.js} +44 -6
  45. package/dist/effects-g4QucvgO.js +2955 -0
  46. package/dist/{error-diagnostics-SXtnk6bz.js → error-diagnostics-BlgA9rI2.js} +1 -2
  47. package/dist/everforest-dark-9sVAxG7I.js +99 -0
  48. package/dist/everforest-light-BocTn_Hd.js +99 -0
  49. package/dist/{file-tree-C4OYgbV-.js → file-tree-CRFIdtzw.js} +58 -116
  50. package/dist/{file-tree-DlT9RGhu.d.ts → file-tree-DOtkeBaq.d.ts} +0 -14
  51. package/dist/{format-orwcdZL_.js → format-Bc9m7-r0.js} +1 -2
  52. package/dist/{getSingularPatch-Dsb8EgxR.js → getSingularPatch-C7LmmBrW.js} +375 -79
  53. package/dist/github-dark-BO9SXswM.js +142 -0
  54. package/dist/github-dark-default-XB_RHfBI.js +90 -0
  55. package/dist/github-dark-dimmed-BoGxaWUQ.js +137 -0
  56. package/dist/github-dark-high-contrast-B3X6t2fG.js +137 -0
  57. package/dist/github-light-D7VHHlUH.js +142 -0
  58. package/dist/github-light-default-BuDsGtcR.js +137 -0
  59. package/dist/github-light-high-contrast-GodZiAwh.js +137 -0
  60. package/dist/gruvbox-dark-hard-CU4LuKJc.js +140 -0
  61. package/dist/gruvbox-dark-medium-DjAsuXuH.js +140 -0
  62. package/dist/gruvbox-dark-soft-D3Zttj6R.js +140 -0
  63. package/dist/gruvbox-light-hard-4M_9onwE.js +140 -0
  64. package/dist/gruvbox-light-medium-D9QwS4kQ.js +140 -0
  65. package/dist/gruvbox-light-soft-DhYcfQql.js +140 -0
  66. package/dist/{handlers-DMl-Na3x.js → handlers-CnbkvXjX.js} +1 -2
  67. package/dist/headless.d.ts +4 -4
  68. package/dist/headless.js +1 -1
  69. package/dist/highlights-C2AbEdDI.js +2630 -0
  70. package/dist/hold-to-delete-BSMrpE-i.d.ts +49 -0
  71. package/dist/hold-to-delete-Cludb56v.js +433 -0
  72. package/dist/horizon-bright-B9u59onx.js +97 -0
  73. package/dist/horizon-tItY9ATR.js +97 -0
  74. package/dist/houston-BqKrKNQv.js +207 -0
  75. package/dist/icon-XZaCUZTG.d.ts +29 -0
  76. package/dist/{image-preview-C9tdkmEj.js → image-preview-DrLXrHpp.js} +3 -4
  77. package/dist/{index-CNY1uNTh.d.ts → index-B2cbt3py.d.ts} +3945 -2445
  78. package/dist/{index-BYRFQfCd.d.ts → index-B_PSX-5h.d.ts} +5 -11
  79. package/dist/index.d.ts +35 -32
  80. package/dist/index.js +71 -73
  81. package/dist/install-Ba9mkkqI.js +16 -0
  82. package/dist/kanagawa-dragon-BH1K3aMw.js +159 -0
  83. package/dist/kanagawa-lotus-C-4JB2io.js +159 -0
  84. package/dist/kanagawa-wave-DTQqNe5k.js +159 -0
  85. package/dist/laserwave-BkV0uIaG.js +84 -0
  86. package/dist/light-plus-CxYgEz7U.js +149 -0
  87. package/dist/list-DUTAo0uC.js +270 -0
  88. package/dist/loader-CYMEjzwc.js +79 -0
  89. package/dist/{markdown-editor-CMbNZOdN.js → markdown-editor-3gY9MLvy.js} +237 -38
  90. package/dist/{markdown-editor-wQF0yD5o.d.ts → markdown-editor-B7gD60tp.d.ts} +0 -6
  91. package/dist/markdown-editor.d.ts +1 -5
  92. package/dist/markdown-editor.js +2 -2
  93. package/dist/markdown-renderer-DFS1vf1h.js +26578 -0
  94. package/dist/material-theme-Xdm37UUJ.js +105 -0
  95. package/dist/material-theme-darker-Blaz0cgN.js +105 -0
  96. package/dist/material-theme-lighter-BddVxBVA.js +105 -0
  97. package/dist/material-theme-ocean-C4qhfFHi.js +105 -0
  98. package/dist/material-theme-palenight-ChHDqoiA.js +105 -0
  99. package/dist/{message-scroller-jrYN9dG9.d.ts → message-scroller-a6qaYHno.d.ts} +2 -4
  100. package/dist/min-dark-DpGSNjaW.js +125 -0
  101. package/dist/min-light-BMfJUsU2.js +122 -0
  102. package/dist/monokai-DW19E-zg.js +162 -0
  103. package/dist/motion/core.d.ts +4 -0
  104. package/dist/motion/core.js +11 -0
  105. package/dist/motion-core-DNl7TR1T.d.ts +402 -0
  106. package/dist/motion.d.ts +14 -0
  107. package/dist/motion.js +13 -0
  108. package/dist/night-owl-B7Of8ee9.js +188 -0
  109. package/dist/night-owl-light-Vu9tTNpS.js +189 -0
  110. package/dist/nord-CDzJumeN.js +128 -0
  111. package/dist/nuxt-ui-7ByUrymx.js +43 -0
  112. package/dist/nuxt.d.ts +1 -7
  113. package/dist/nuxt.js +16 -11
  114. package/dist/one-dark-pro-hS_sNo5p.js +124 -0
  115. package/dist/one-light-CD4ItzSC.js +153 -0
  116. package/dist/opt-out-D66l60sg.js +205 -0
  117. package/dist/parts/components/agent-session.d.ts +1 -3
  118. package/dist/parts/components/agent-session.js +3 -4
  119. package/dist/parts/components/attachment.d.ts +2 -4
  120. package/dist/parts/components/attachment.js +3 -4
  121. package/dist/parts/components/avatar-stack.d.ts +1 -1
  122. package/dist/parts/components/avatar-stack.js +4 -4
  123. package/dist/parts/components/bubble.d.ts +2 -4
  124. package/dist/parts/components/bubble.js +2 -3
  125. package/dist/parts/components/chat-message.d.ts +1 -3
  126. package/dist/parts/components/chat-message.js +1 -2
  127. package/dist/parts/components/chat-session.d.ts +2 -4
  128. package/dist/parts/components/chat-session.js +1 -2
  129. package/dist/parts/components/chat.d.ts +1 -3
  130. package/dist/parts/components/chat.js +4 -5
  131. package/dist/parts/components/code-block.d.ts +2 -4
  132. package/dist/parts/components/code-block.js +3 -4
  133. package/dist/parts/components/code-view.d.ts +1 -3
  134. package/dist/parts/components/code-view.js +1 -2
  135. package/dist/parts/components/comment-composer.d.ts +1 -1
  136. package/dist/parts/components/comment-composer.js +1 -2
  137. package/dist/parts/components/comment-layer.d.ts +1 -1
  138. package/dist/parts/components/comment-layer.js +28 -11
  139. package/dist/parts/components/comment-list.d.ts +1 -1
  140. package/dist/parts/components/comment-list.js +13 -9
  141. package/dist/parts/components/comment-panel.d.ts +1 -1
  142. package/dist/parts/components/comment-panel.js +27 -14
  143. package/dist/parts/components/comment-pin.d.ts +1 -1
  144. package/dist/parts/components/comment-pin.js +2 -3
  145. package/dist/parts/components/comment-selection-bar.d.ts +1 -1
  146. package/dist/parts/components/comment-selection-bar.js +4 -4
  147. package/dist/parts/components/comment-send.d.ts +2 -0
  148. package/dist/parts/components/comment-send.js +1 -0
  149. package/dist/parts/components/comment-thread.d.ts +1 -1
  150. package/dist/parts/components/comment-thread.js +2 -597
  151. package/dist/parts/components/comments.d.ts +9 -8
  152. package/dist/parts/components/comments.js +7 -6
  153. package/dist/parts/components/connection-status.d.ts +1 -3
  154. package/dist/parts/components/connection-status.js +1 -2
  155. package/dist/parts/components/copy-button.d.ts +14 -6
  156. package/dist/parts/components/copy-button.js +225 -1
  157. package/dist/parts/components/device-frame.d.ts +3 -5
  158. package/dist/parts/components/device-frame.js +1 -2
  159. package/dist/parts/components/drop-field.d.ts +67 -0
  160. package/dist/parts/components/drop-field.js +76 -0
  161. package/dist/parts/components/file-tree.d.ts +1 -1
  162. package/dist/parts/components/file-tree.js +1 -2
  163. package/dist/parts/components/filter-search.d.ts +2 -4
  164. package/dist/parts/components/filter-search.js +2 -3
  165. package/dist/parts/components/hold-to-delete.d.ts +80 -0
  166. package/dist/parts/components/hold-to-delete.js +75 -0
  167. package/dist/parts/components/markdown-editor.d.ts +1 -1
  168. package/dist/parts/components/markdown-editor.js +1 -2
  169. package/dist/parts/components/markdown-renderer.d.ts +1 -3
  170. package/dist/parts/components/markdown-renderer.js +1 -23077
  171. package/dist/parts/components/markdown.d.ts +1 -3
  172. package/dist/parts/components/markdown.js +2 -3
  173. package/dist/parts/components/marker.d.ts +2 -4
  174. package/dist/parts/components/marker.js +2 -3
  175. package/dist/parts/components/message-parts.d.ts +1 -3
  176. package/dist/parts/components/message-parts.js +14 -7
  177. package/dist/parts/components/message.d.ts +1 -3
  178. package/dist/parts/components/message.js +2 -3
  179. package/dist/parts/components/motion-list.d.ts +40 -0
  180. package/dist/parts/components/motion-list.js +41 -0
  181. package/dist/parts/components/motion.d.ts +122 -0
  182. package/dist/parts/components/motion.js +171 -0
  183. package/dist/parts/components/patch-parsers.d.ts +1 -1
  184. package/dist/parts/components/patch-parsers.js +1 -2
  185. package/dist/parts/components/progress.d.ts +39 -0
  186. package/dist/parts/components/progress.js +53 -0
  187. package/dist/parts/components/prompt-input.d.ts +5 -7
  188. package/dist/parts/components/prompt-input.js +5 -6
  189. package/dist/parts/components/relative-time.d.ts +1 -3
  190. package/dist/parts/components/relative-time.js +1 -2
  191. package/dist/parts/components/status.d.ts +1 -3
  192. package/dist/parts/components/status.js +1 -2
  193. package/dist/parts/components/sync-status.d.ts +1 -3
  194. package/dist/parts/components/sync-status.js +3 -3
  195. package/dist/parts/components/tool-list.d.ts +2 -4
  196. package/dist/parts/components/tool-list.js +2 -3
  197. package/dist/parts/components/trace-run.d.ts +2 -4
  198. package/dist/parts/components/trace-run.js +4 -5
  199. package/dist/parts/components/trace.d.ts +2 -4
  200. package/dist/parts/components/trace.js +2 -3
  201. package/dist/parts/composables/attachments.d.ts +1 -3
  202. package/dist/parts/composables/attachments.js +1 -2
  203. package/dist/parts/composables/highlighted-code.d.ts +1 -3
  204. package/dist/parts/composables/highlighted-code.js +1 -2
  205. package/dist/parts/headless/choices-input.d.ts +1 -1
  206. package/dist/parts/headless/choices-input.js +3 -4
  207. package/dist/parts/headless/comment-visibility.d.ts +1 -1
  208. package/dist/parts/headless/comment-visibility.js +1 -2
  209. package/dist/parts/headless/comments.d.ts +1 -1
  210. package/dist/parts/headless/comments.js +1 -2
  211. package/dist/parts/headless/message-scroller.d.ts +1 -1
  212. package/dist/parts/headless/message-scroller.js +2 -3
  213. package/dist/parts/playground/paths.d.ts +1 -3
  214. package/dist/parts/playground/paths.js +1 -2
  215. package/dist/parts/playground/share.d.ts +34 -2
  216. package/dist/parts/playground/share.js +1 -2
  217. package/dist/parts/playground/zip.d.ts +1 -3
  218. package/dist/parts/playground/zip.js +2 -3
  219. package/dist/parts/workspace/browser-support-notice.d.ts +2 -4
  220. package/dist/parts/workspace/browser-support-notice.js +13 -6
  221. package/dist/parts/workspace/codemirror.d.ts +10 -3
  222. package/dist/parts/workspace/codemirror.js +40 -8
  223. package/dist/parts/workspace/connect-panel.d.ts +2 -4
  224. package/dist/parts/workspace/connect-panel.js +2 -3
  225. package/dist/parts/workspace/connect-store.d.ts +1 -3
  226. package/dist/parts/workspace/connect-store.js +1 -2
  227. package/dist/parts/workspace/file-icons.d.ts +14 -0
  228. package/dist/parts/workspace/file-icons.js +81 -0
  229. package/dist/parts/workspace/icons.d.ts +2 -2
  230. package/dist/parts/workspace/icons.js +2 -2
  231. package/dist/parts/workspace/runners/render.d.ts +24 -0
  232. package/dist/parts/workspace/runners/render.js +123 -0
  233. package/dist/parts/workspace/runners/web-container.d.ts +27 -0
  234. package/dist/parts/workspace/runners/web-container.js +185 -0
  235. package/dist/parts/workspace/workspace-bar.d.ts +49 -0
  236. package/dist/parts/workspace/workspace-bar.js +50 -0
  237. package/dist/parts/workspace/workspace-boot-status.d.ts +1 -2
  238. package/dist/parts/workspace/workspace-boot-status.js +2 -3
  239. package/dist/parts/workspace/workspace-editor-head.d.ts +45 -0
  240. package/dist/parts/workspace/workspace-editor-head.js +65 -0
  241. package/dist/parts/workspace/workspace-editor.d.ts +18 -3
  242. package/dist/parts/workspace/workspace-editor.js +30 -5
  243. package/dist/parts/workspace/workspace-examples.d.ts +72 -0
  244. package/dist/parts/workspace/workspace-examples.js +71 -0
  245. package/dist/parts/workspace/workspace-file-link.d.ts +33 -0
  246. package/dist/parts/workspace/workspace-file-link.js +38 -0
  247. package/dist/parts/workspace/workspace-file-tree.d.ts +9 -11
  248. package/dist/parts/workspace/workspace-file-tree.js +28 -22
  249. package/dist/parts/workspace/workspace-guide.d.ts +50 -0
  250. package/dist/parts/workspace/workspace-guide.js +90 -0
  251. package/dist/parts/workspace/workspace-issues.d.ts +44 -0
  252. package/dist/parts/workspace/workspace-issues.js +48 -0
  253. package/dist/parts/workspace/workspace-preview.d.ts +1 -3
  254. package/dist/parts/workspace/workspace-preview.js +2 -3
  255. package/dist/parts/workspace/workspace-shell.d.ts +2 -88
  256. package/dist/parts/workspace/workspace-shell.js +132 -80
  257. package/dist/parts/workspace/workspace-sidebar.d.ts +73 -0
  258. package/dist/parts/workspace/workspace-sidebar.js +131 -0
  259. package/dist/parts/workspace/workspace-start.d.ts +45 -0
  260. package/dist/parts/workspace/workspace-start.js +59 -0
  261. package/dist/parts/workspace/workspace-status.d.ts +67 -0
  262. package/dist/parts/workspace/workspace-status.js +73 -0
  263. package/dist/parts/workspace/workspace-steps.d.ts +2 -0
  264. package/dist/parts/workspace/workspace-steps.js +127 -0
  265. package/dist/parts/workspace/workspace-task.d.ts +18 -0
  266. package/dist/parts/workspace/workspace-task.js +19 -0
  267. package/dist/parts/workspace/workspace-terminal.d.ts +1 -3
  268. package/dist/parts/workspace/workspace-terminal.js +1 -2
  269. package/dist/parts/workspace/workspace.d.ts +249 -0
  270. package/dist/parts/workspace/workspace.js +664 -0
  271. package/dist/{payload-text-sjkYAwvw.js → payload-text-DQNRbJY5.js} +1 -2
  272. package/dist/{pierre-code-view-NE35tkmR.js → pierre-code-view-C49BVDrc.js} +11333 -6718
  273. package/dist/pierre-dark-BtKHt2e4.js +166 -0
  274. package/dist/pierre-dark-CXW3KeKO.js +5 -0
  275. package/dist/pierre-dark-protanopia-deuteranopia-CS0Gs25Q.js +166 -0
  276. package/dist/pierre-dark-protanopia-deuteranopia-DajNv_A3.js +3 -0
  277. package/dist/pierre-dark-soft-BUFoeBEf.js +3 -0
  278. package/dist/pierre-dark-soft-D__0FtYP.js +166 -0
  279. package/dist/pierre-dark-tritanopia-C6fHROmA.js +166 -0
  280. package/dist/pierre-dark-tritanopia-oa3gpgIR.js +3 -0
  281. package/dist/pierre-dark-vibrant-COXpyAHb.js +166 -0
  282. package/dist/pierre-dark-vibrant-CYRHyDoW.js +3 -0
  283. package/dist/pierre-light-BD28C_vh.js +166 -0
  284. package/dist/pierre-light-BN0rL1e5.js +5 -0
  285. package/dist/pierre-light-protanopia-deuteranopia-CYsDHJt0.js +3 -0
  286. package/dist/pierre-light-protanopia-deuteranopia-CwWH1xGL.js +166 -0
  287. package/dist/pierre-light-soft-BkKY4pMj.js +166 -0
  288. package/dist/pierre-light-soft-F2QIpNbb.js +3 -0
  289. package/dist/pierre-light-tritanopia-BbKKIkua.js +3 -0
  290. package/dist/pierre-light-tritanopia-Mpubahl7.js +166 -0
  291. package/dist/pierre-light-vibrant-CdV9Besm.js +3 -0
  292. package/dist/pierre-light-vibrant-x11J3_aO.js +166 -0
  293. package/dist/plastic-BQnXkmvK.js +137 -0
  294. package/dist/playground.d.ts +1 -1
  295. package/dist/poimandres-DEfG-8RI.js +124 -0
  296. package/dist/progress-DL9k-ERG.js +265 -0
  297. package/dist/red-BfKrAjYG.js +169 -0
  298. package/dist/registry-DAIjCjWd.js +77 -0
  299. package/dist/{relative-time-BVmjOsYG.js → relative-time-DJnw45tr.js} +5 -8
  300. package/dist/ring-BN4d8vtw.js +173 -0
  301. package/dist/{rolldown-runtime-C9mWXvCC.js → rolldown-runtime-CahUhzF3.js} +2 -3
  302. package/dist/rose-pine-D0rhGGFg.js +136 -0
  303. package/dist/rose-pine-dawn-7jVaYUiD.js +136 -0
  304. package/dist/rose-pine-moon-CFyS0Mvu.js +136 -0
  305. package/dist/runtime/nuxt-plugin.d.ts +0 -2
  306. package/dist/runtime/nuxt-plugin.js +3 -4
  307. package/dist/{sankey-CAYwt82B-D4uDQoMR.js → sankey-CAYwt82B-BAAk7WkJ.js} +147 -151
  308. package/dist/shiki-CbfEu_Az.js +607 -0
  309. package/dist/slack-dark-Bv-KFSBD.js +87 -0
  310. package/dist/slack-ochin-Dg2BAv1D.js +107 -0
  311. package/dist/{slot-part-Doic71uh.js → slot-part-BWHvQ3mK.js} +1 -2
  312. package/dist/snazzy-light-sYDdR9rx.js +93 -0
  313. package/dist/solarized-dark-COt2tTmN.js +160 -0
  314. package/dist/solarized-light-BJrwFarZ.js +160 -0
  315. package/dist/stream-tokenizer-ByC3l0HQ.js +263 -0
  316. package/dist/styles.css +590 -573
  317. package/dist/synthwave-84-NUDBykTM.js +410 -0
  318. package/dist/{temml-BilSAAws.js → temml-m3ad3bfq.js} +2 -3
  319. package/dist/text-BWzZFnGY.js +822 -0
  320. package/dist/theme.d.ts +44 -3
  321. package/dist/theme.js +23 -9
  322. package/dist/themes-DKugPHlg.js +323 -0
  323. package/dist/tokyo-night-DD3B2QcO.js +153 -0
  324. package/dist/travel-CwVhU_GS.js +180 -0
  325. package/dist/tween-Dv3IIIQG.js +61 -0
  326. package/dist/{types-Dj7vp0lZ.d.ts → types-Ceh7h7NT.d.ts} +1 -3
  327. package/dist/vesper-oVQYrv8Y.js +99 -0
  328. package/dist/visual-copy-CHHBfJ6O.js +14 -0
  329. package/dist/vite.d.ts +1 -3
  330. package/dist/vite.js +13 -3
  331. package/dist/vitesse-black-D84DQZAP.js +196 -0
  332. package/dist/vitesse-dark-CMZ6olk_.js +196 -0
  333. package/dist/vitesse-light-D9d8hLOY.js +196 -0
  334. package/dist/{vue-DGstVdGn.js → vue-BlknIGIm.js} +43 -34
  335. package/dist/{vue-BDmSCtay.js → vue-kCdzBu0N.js} +4 -7
  336. package/dist/workspace-shell-ChCwWPyv.d.ts +110 -0
  337. package/dist/workspace-steps-BKByX9DW.d.ts +70 -0
  338. package/dist/workspace.d.ts +16 -5
  339. package/dist/workspace.js +16 -3
  340. package/package.json +66 -55
  341. package/dist/copy-button-CRN3kmSD.js +0 -253
  342. package/dist/icon-swap.css +0 -69
  343. package/dist/nuxt-ui-DSQFzq3s.js +0 -38
  344. package/dist/parts/playground/highlight.d.ts +0 -5
  345. package/dist/parts/playground/highlight.js +0 -23
  346. package/dist/parts/playground/playground-render.d.ts +0 -126
  347. package/dist/parts/playground/playground-render.js +0 -356
  348. package/dist/parts/workspace/playground-container.d.ts +0 -192
  349. package/dist/parts/workspace/playground-container.js +0 -603
  350. package/dist/pierre-dark-CzUmjETS.js +0 -6
  351. package/dist/pierre-dark-protanopia-deuteranopia-C35UMuvO.js +0 -4
  352. package/dist/pierre-dark-soft-Bb-4-biO.js +0 -4
  353. package/dist/pierre-dark-tritanopia-CIJISGWF.js +0 -4
  354. package/dist/pierre-dark-vibrant-8oZzB3gw.js +0 -4
  355. package/dist/pierre-light-Dn6E0sWv.js +0 -6
  356. package/dist/pierre-light-protanopia-deuteranopia-u0U7N4Hn.js +0 -4
  357. package/dist/pierre-light-soft-BCU6fuhO.js +0 -4
  358. package/dist/pierre-light-tritanopia-3c8Yx3co.js +0 -4
  359. package/dist/pierre-light-vibrant-Cwh332o_.js +0 -4
  360. package/dist/share-DM4eNy4q.d.ts +0 -37
@@ -0,0 +1,275 @@
1
+ import { n as prepareAnnouncer, t as announce } from "./announce-B0DLwflT.js";
2
+ import { r as useUIComponent } from "./nuxt-ui-7ByUrymx.js";
3
+ import { o as motionSkipped } from "./ring-BN4d8vtw.js";
4
+ import { r as createSpring } from "./opt-out-D66l60sg.js";
5
+ import { useCopy } from "./parts/components/copy-button.js";
6
+ import { defineComponent, h, nextTick, onBeforeUnmount, onBeforeUpdate, onMounted, onUpdated, ref, shallowRef, watch } from "vue";
7
+ // src/internal/agent-logos.ts
8
+ const agentLogos = {
9
+ t3: {
10
+ viewBox: "15.5309 37 94.3941 56.96",
11
+ path: "M33.4509 93V47.56H15.5309V37H64.3309V47.56H46.4109V93H33.4509ZM86.7253 93.96C82.832 93.96 78.9653 93.4533 75.1253 92.44C71.2853 91.3733 68.032 89.88 65.3653 87.96L70.4053 78.04C72.5386 79.5867 75.0186 80.8133 77.8453 81.72C80.672 82.6267 83.5253 83.08 86.4053 83.08C89.6586 83.08 92.2186 82.44 94.0853 81.16C95.952 79.88 96.8853 78.12 96.8853 75.88C96.8853 73.7467 96.0586 72.0667 94.4053 70.84C92.752 69.6133 90.0853 69 86.4053 69H80.4853V60.44L96.0853 42.76L97.5253 47.4H68.1653V37H107.365V45.4L91.8453 63.08L85.2853 59.32H89.0453C95.9253 59.32 101.125 60.8667 104.645 63.96C108.165 67.0533 109.925 71.0267 109.925 75.88C109.925 79.0267 109.099 81.9867 107.445 84.76C105.792 87.48 103.259 89.6933 99.8453 91.4C96.432 93.1067 92.0586 93.96 86.7253 93.96Z",
12
+ thread: "T3 thread"
13
+ },
14
+ claude: {
15
+ viewBox: "0 0 24 24",
16
+ path: "m4.714 15.956l4.718-2.648l.079-.23l-.08-.128h-.23l-.79-.048l-2.695-.073l-2.337-.097l-2.265-.122l-.57-.121l-.535-.704l.055-.353l.48-.321l.685.06l1.518.104l2.277.157l1.651.098l2.447.255h.389l.054-.158l-.133-.097l-.103-.098l-2.356-1.596l-2.55-1.688l-1.336-.972l-.722-.491L2 6.223l-.158-1.008l.656-.722l.88.06l.224.061l.893.686l1.906 1.476l2.49 1.833l.364.304l.146-.104l.018-.072l-.164-.274l-1.354-2.446l-1.445-2.49l-.644-1.032l-.17-.619a3 3 0 0 1-.103-.729L6.287.133L6.7 0l.995.134l.42.364l.619 1.415L9.735 4.14l1.555 3.03l.455.898l.243.832l.09.255h.159V9.01l.127-1.706l.237-2.095l.23-2.695l.08-.76l.376-.91l.747-.492l.583.28l.48.685l-.067.444l-.286 1.851l-.558 2.903l-.365 1.942h.213l.243-.242l.983-1.306l1.652-2.064l.728-.82l.85-.904l.547-.431h1.032l.759 1.129l-.34 1.166l-1.063 1.347l-.88 1.142l-1.263 1.7l-.79 1.36l.074.11l.188-.02l2.853-.606l1.542-.28l1.84-.315l.832.388l.09.395l-.327.807l-1.967.486l-2.307.462l-3.436.813l-.043.03l.049.061l1.548.146l.662.036h1.62l3.018.225l.79.522l.473.638l-.08.485l-1.213.62l-1.64-.389l-3.825-.91l-1.31-.329h-.183v.11l1.093 1.068l2.003 1.81l2.508 2.33l.127.578l-.321.455l-.34-.049l-2.204-1.657l-.85-.747l-1.925-1.62h-.127v.17l.443.649l2.343 3.521l.122 1.08l-.17.353l-.607.213l-.668-.122l-1.372-1.924l-1.415-2.168l-1.141-1.943l-.14.08l-.674 7.254l-.316.37l-.728.28l-.607-.461l-.322-.747l.322-1.476l.388-1.924l.316-1.53l.285-1.9l.17-.632l-.012-.042l-.14.018l-1.432 1.967l-2.18 2.945l-1.724 1.845l-.413.164l-.716-.37l.066-.662l.401-.589l2.386-3.036l1.439-1.882l.929-1.086l-.006-.158h-.055L4.138 18.56l-1.13.146l-.485-.456l.06-.746l.231-.243l1.907-1.312Z",
17
+ thread: "Claude Code session"
18
+ },
19
+ codex: {
20
+ viewBox: "0 0 24 24",
21
+ path: "M22.282 9.821a6 6 0 0 0-.516-4.91a6.05 6.05 0 0 0-6.51-2.9A6.065 6.065 0 0 0 4.981 4.18a6 6 0 0 0-3.998 2.9a6.05 6.05 0 0 0 .743 7.097a5.98 5.98 0 0 0 .51 4.911a6.05 6.05 0 0 0 6.515 2.9A6 6 0 0 0 13.26 24a6.06 6.06 0 0 0 5.772-4.206a6 6 0 0 0 3.997-2.9a6.06 6.06 0 0 0-.747-7.073M13.26 22.43a4.48 4.48 0 0 1-2.876-1.04l.141-.081l4.779-2.758a.8.8 0 0 0 .392-.681v-6.737l2.02 1.168a.07.07 0 0 1 .038.052v5.583a4.504 4.504 0 0 1-4.494 4.494M3.6 18.304a4.47 4.47 0 0 1-.535-3.014l.142.085l4.783 2.759a.77.77 0 0 0 .78 0l5.843-3.369v2.332a.08.08 0 0 1-.033.062L9.74 19.95a4.5 4.5 0 0 1-6.14-1.646M2.34 7.896a4.5 4.5 0 0 1 2.366-1.973V11.6a.77.77 0 0 0 .388.677l5.815 3.354l-2.02 1.168a.08.08 0 0 1-.071 0l-4.83-2.786A4.504 4.504 0 0 1 2.34 7.872zm16.597 3.855l-5.833-3.387L15.119 7.2a.08.08 0 0 1 .071 0l4.83 2.791a4.494 4.494 0 0 1-.676 8.105v-5.678a.79.79 0 0 0-.407-.667m2.01-3.023l-.141-.085l-4.774-2.782a.78.78 0 0 0-.785 0L9.409 9.23V6.897a.07.07 0 0 1 .028-.061l4.83-2.787a4.5 4.5 0 0 1 6.68 4.66zm-12.64 4.135l-2.02-1.164a.08.08 0 0 1-.038-.057V6.075a4.5 4.5 0 0 1 7.375-3.453l-.142.08L8.704 5.46a.8.8 0 0 0-.393.681zm1.097-2.365l2.602-1.5l2.607 1.5v2.999l-2.597 1.5l-2.607-1.5Z",
22
+ thread: "Codex thread"
23
+ }
24
+ };
25
+ // src/components/comment-send.ts
26
+ const time = new Intl.DateTimeFormat(void 0, {
27
+ hour: "2-digit",
28
+ minute: "2-digit",
29
+ hourCycle: "h23"
30
+ });
31
+ const comments = (count) => `${count} ${count === 1 ? "comment" : "comments"}`;
32
+ function message(state) {
33
+ switch (state.status) {
34
+ case "pairing":
35
+ if (state.reason === "expired") return "Setup code expired.";
36
+ if (state.reason === "refused") return `That URL isn't ${state.agent.host}.`;
37
+ return `Setup prompt copied. Paste it in the ${agentLogos[state.agent.logo].thread} that should get your comments.`;
38
+ case "confirm": return `${state.agent.name} at ${state.agent.host} wants your comments from this site.`;
39
+ case "sent": return state.inbox ? "In inbox." : "Sent.";
40
+ case "working": return "Working.";
41
+ case "failed": return "Not delivered.";
42
+ case "limited": return `Limit reached, try at ${time.format(state.retryAt)}.`;
43
+ default: return;
44
+ }
45
+ }
46
+ /**
47
+ * The Send segment of a comment pill: **Send N** hands the member's waiting comments to their agent, and its state
48
+ * takes the place of the button: Sending, Sent, Working with **Open thread**, or Not delivered with **Retry**. Without
49
+ * an agent, Send copies a setup prompt and pairs one in place, and asks once: **Allow and send N**. It renders
50
+ * `createCommentSend()` of `vite-hub/comments/client`, starts it on mount, and stops it on unmount. It draws one row,
51
+ * so it fits in the ViteHub pill and in Drop's.
52
+ */
53
+ const CommentSend = defineComponent({
54
+ name: "CommentSend",
55
+ props: { client: {
56
+ required: true,
57
+ type: Object
58
+ } },
59
+ setup(props) {
60
+ const UIcon = useUIComponent("UIcon");
61
+ const { copy } = useCopy();
62
+ const copyPrompt = (prompt) => copy(() => prompt);
63
+ const state = shallowRef(props.client.state);
64
+ const root = ref();
65
+ let stop;
66
+ let unsubscribe;
67
+ const follow = (client) => {
68
+ unsubscribe?.();
69
+ stop?.();
70
+ state.value = client.state;
71
+ unsubscribe = client.onChange(() => state.value = client.state);
72
+ stop = client.start();
73
+ };
74
+ onMounted(() => {
75
+ prepareAnnouncer(root.value);
76
+ follow(props.client);
77
+ });
78
+ watch(() => props.client, follow);
79
+ onBeforeUnmount(() => {
80
+ unsubscribe?.();
81
+ stop?.();
82
+ });
83
+ watch(() => state.value.status === "pairing" ? `${state.value.status}:${state.value.reason ?? ""}` : state.value.status, () => {
84
+ const text = message(state.value);
85
+ if (text) announce(root.value, text);
86
+ });
87
+ const onKeydown = (event) => {
88
+ if (event.key !== "Escape" || event.defaultPrevented) return;
89
+ if (state.value.status !== "pairing" && state.value.status !== "confirm") return;
90
+ event.preventDefault();
91
+ props.client.cancel();
92
+ };
93
+ watch(() => state.value.status === "pairing" || state.value.status === "confirm", (listening) => {
94
+ if (listening) document.addEventListener("keydown", onKeydown);
95
+ else document.removeEventListener("keydown", onKeydown);
96
+ });
97
+ onBeforeUnmount(() => document.removeEventListener("keydown", onKeydown));
98
+ let before = 0;
99
+ let focused = false;
100
+ const clearWidth = (element) => {
101
+ element.style.removeProperty("width");
102
+ element.style.removeProperty("overflow");
103
+ element.style.removeProperty("box-sizing");
104
+ };
105
+ const renderWidth = (value) => {
106
+ const element = root.value;
107
+ if (!element) return;
108
+ if (!width.active) return clearWidth(element);
109
+ element.style.boxSizing = "border-box";
110
+ element.style.overflow = "hidden";
111
+ element.style.width = `${value}px`;
112
+ };
113
+ const width = createSpring(0, renderWidth);
114
+ onBeforeUnmount(() => width.stop());
115
+ const activeElement = () => (root.value?.getRootNode())?.activeElement ?? null;
116
+ onBeforeUpdate(() => {
117
+ before = root.value?.offsetWidth ?? 0;
118
+ const active = activeElement();
119
+ focused ||= Boolean(active && root.value?.contains(active));
120
+ });
121
+ onUpdated(() => {
122
+ const element = root.value;
123
+ if (!element) return;
124
+ clearWidth(element);
125
+ const after = element.offsetWidth;
126
+ if (before && after && before !== after && !motionSkipped(element)) {
127
+ if (!width.active) width.set(before);
128
+ width.to(after);
129
+ if (width.active) renderWidth(width.value);
130
+ } else width.stop();
131
+ const active = activeElement();
132
+ if (!focused || active && active !== element.ownerDocument.body && !element.contains(active)) return void (focused = false);
133
+ if (active && element.contains(active)) return;
134
+ const next = element.querySelector("button, a");
135
+ if (!next) return;
136
+ focused = false;
137
+ nextTick(() => next.focus({ preventScroll: true }));
138
+ });
139
+ const icon = (name, spin = false) => h(UIcon, {
140
+ "aria-hidden": "true",
141
+ class: spin ? "vh-comment-send-icon vh-comment-send-spin" : "vh-comment-send-icon",
142
+ name
143
+ });
144
+ const logo = (agent) => {
145
+ const drawn = agentLogos[agent.logo];
146
+ return h("span", {
147
+ "aria-hidden": "true",
148
+ "data-logo": agent.logo,
149
+ "data-slot": "comment-send-logo"
150
+ }, h("svg", {
151
+ fill: "currentColor",
152
+ viewBox: drawn.viewBox,
153
+ xmlns: "http://www.w3.org/2000/svg"
154
+ }, h("path", { d: drawn.path })));
155
+ };
156
+ const status = (tone, children, attrs = {}) => h("span", {
157
+ ...attrs,
158
+ "data-slot": "comment-send-status",
159
+ "data-tone": tone
160
+ }, children);
161
+ const action = (name, children, attrs = {}) => h("button", {
162
+ ...attrs,
163
+ "data-action": name,
164
+ "data-slot": "comment-send-action",
165
+ type: "button"
166
+ }, children);
167
+ const close = (label) => action("cancel", [icon("i-lucide-x")], {
168
+ "aria-label": label,
169
+ "data-icon": "",
170
+ onClick: () => props.client.cancel(),
171
+ title: `${label} (Esc)`
172
+ });
173
+ const copyAgain = () => action("copy-again", [icon("i-lucide-copy"), "Copy again"], { onClick: () => void props.client.copyAgain(copyPrompt) });
174
+ const sendContent = (count, inbox) => [
175
+ icon(inbox ? "i-lucide-inbox" : "i-lucide-send"),
176
+ inbox ? "To inbox" : "Send",
177
+ h("span", { "data-slot": "comment-send-count" }, String(count))
178
+ ];
179
+ let lastInbox = false;
180
+ const sendButton = (count, toInbox) => {
181
+ lastInbox = toInbox;
182
+ return action("send", sendContent(count, toInbox), {
183
+ "aria-label": `${toInbox ? "Send to inbox" : "Send"}: ${comments(count)}`,
184
+ onClick: () => void props.client.send(copyPrompt),
185
+ title: `Send ${comments(count)} that wait for an answer to your agent`
186
+ });
187
+ };
188
+ const parts = (current) => {
189
+ switch (current.status) {
190
+ case "idle": return current.count > 0 ? [sendButton(current.count, current.inbox), ...current.canPairAnother ? [action("pair-another", [icon("i-lucide-link"), "Pair another agent"], { onClick: () => void props.client.pairAnother(copyPrompt) })] : []] : [];
191
+ case "pairing":
192
+ if (current.reason === "expired") return [
193
+ status("warning", [icon("i-lucide-circle-alert"), "Setup code expired"]),
194
+ copyAgain(),
195
+ close("Cancel connect")
196
+ ];
197
+ if (current.reason === "refused") return [
198
+ status("error", [icon("i-lucide-circle-alert"), `That URL isn't ${current.agent.host}`]),
199
+ copyAgain(),
200
+ close("Cancel connect")
201
+ ];
202
+ return [
203
+ status(void 0, [logo(current.agent), h("span", { "data-slot": "comment-send-message" }, [
204
+ h("span", { "data-wide": "" }, "Setup prompt copied. "),
205
+ h("b", `Paste it in the ${agentLogos[current.agent.logo].thread}`),
206
+ h("span", { "data-wide": "" }, " that should get your comments")
207
+ ])]),
208
+ status(void 0, [icon("i-lucide-loader-circle", true)], {
209
+ "aria-label": "Waiting for the agent",
210
+ "data-icon": "",
211
+ role: "img"
212
+ }),
213
+ close("Cancel connect")
214
+ ];
215
+ case "confirm": return [
216
+ status(void 0, [logo(current.agent), h("span", {
217
+ "data-slot": "comment-send-message",
218
+ title: current.agent.host
219
+ }, [
220
+ h("b", current.agent.name),
221
+ current.agent.host ? ` · ${current.agent.host}` : null,
222
+ h("span", { "data-wide": "" }, " wants your comments from this site")
223
+ ])]),
224
+ action("allow", [icon("i-lucide-check"), `Allow and send ${current.count}`], {
225
+ "data-variant": "on",
226
+ onClick: () => void props.client.allow()
227
+ }),
228
+ close("Don't allow")
229
+ ];
230
+ case "sending": return [h("span", { "data-slot": "comment-send-hold" }, [status(void 0, [icon("i-lucide-loader-circle", true), "Sending"]), h("span", {
231
+ "aria-hidden": "true",
232
+ "data-slot": "comment-send-hold-copy"
233
+ }, sendContent(current.count, lastInbox))])];
234
+ case "sent": return [status(void 0, [icon("i-lucide-check"), current.inbox ? "In inbox" : "Sent"])];
235
+ case "working": return [
236
+ status(void 0, [h("span", {
237
+ "aria-hidden": "true",
238
+ "data-slot": "comment-send-dot"
239
+ }), "Working"]),
240
+ current.thread ? h("a", {
241
+ "aria-label": `Open the ${current.agent?.name ?? "agent"} thread`,
242
+ "data-action": "open",
243
+ "data-slot": "comment-send-action",
244
+ href: current.thread,
245
+ rel: "noopener",
246
+ target: "_blank"
247
+ }, ["Open thread", icon("i-lucide-arrow-up-right")]) : null,
248
+ current.count > 0 ? sendButton(current.count, Boolean(current.agent && !current.agent.host)) : null
249
+ ].filter((part) => part !== null);
250
+ case "failed": return [status("error", [icon("i-lucide-circle-alert"), "Not delivered"], { title: current.reason }), action("retry", [icon("i-lucide-rotate-ccw"), "Retry"], {
251
+ "aria-label": `Retry: send ${comments(current.count)} again`,
252
+ onClick: () => void props.client.send(copyPrompt)
253
+ })];
254
+ case "limited": return [status("warning", [icon("i-lucide-circle-alert"), `Limit reached, try at ${time.format(current.retryAt)}`])];
255
+ }
256
+ };
257
+ return () => {
258
+ const current = state.value;
259
+ const children = parts(current);
260
+ return h("div", {
261
+ "aria-label": "Send comments to your agent",
262
+ "data-slot": "comment-send",
263
+ "data-state": current.status,
264
+ "data-reason": current.status === "pairing" ? current.reason : void 0,
265
+ hidden: children.length === 0 || void 0,
266
+ ref: root,
267
+ role: "group"
268
+ }, h("span", {
269
+ key: current.status === "pairing" ? `pairing-${current.reason ?? ""}` : current.status,
270
+ "data-slot": "comment-send-content"
271
+ }, children));
272
+ };
273
+ }
274
+ });
275
+ export { CommentSend as t };
@@ -0,0 +1,23 @@
1
+ import { PropType, VNode } from "vue";
2
+ import { CommentSendClient } from "@vite-hub/comments/client";
3
+ /**
4
+ * The Send segment of a comment pill: **Send N** hands the member's waiting comments to their agent, and its state
5
+ * takes the place of the button: Sending, Sent, Working with **Open thread**, or Not delivered with **Retry**. Without
6
+ * an agent, Send copies a setup prompt and pairs one in place, and asks once: **Allow and send N**. It renders
7
+ * `createCommentSend()` of `vite-hub/comments/client`, starts it on mount, and stops it on unmount. It draws one row,
8
+ * so it fits in the ViteHub pill and in Drop's.
9
+ */
10
+ declare const CommentSend: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
11
+ client: {
12
+ required: true;
13
+ type: PropType<CommentSendClient>;
14
+ };
15
+ }>, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
16
+ [key: string]: any;
17
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
18
+ client: {
19
+ required: true;
20
+ type: PropType<CommentSendClient>;
21
+ };
22
+ }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
23
+ export { CommentSend as t };
@@ -0,0 +1,267 @@
1
+ /*
2
+ * CommentSend: the Send segment of a comment pill. The ViteHub pill loads this file in its toolbar's shadow root, and
3
+ * styles.css imports it for Vue apps, such as Drop's pill. It reads the pill's `--vitehub-pill-*` colors, and else the
4
+ * Nuxt UI tokens of the surface around it, so it is dark in a dark pill and light in a light toolbar. Sizes are px: a
5
+ * pill has a fixed 28px row on any page.
6
+ */
7
+ [data-slot="comment-send"] {
8
+ --vh-comment-send-text: var(--vitehub-pill-text, var(--ui-text-toned, currentColor));
9
+ --vh-comment-send-strong: var(--vitehub-pill-strong, var(--ui-text-highlighted, currentColor));
10
+ --vh-comment-send-muted: var(--vitehub-pill-muted, var(--ui-text-muted, currentColor));
11
+ --vh-comment-send-hover: var(--vitehub-pill-hover, color-mix(in oklab, currentColor 8%, transparent));
12
+ --vh-comment-send-on: var(--vitehub-pill-on, var(--ui-bg-inverted, currentColor));
13
+ --vh-comment-send-on-text: var(--vitehub-pill-on-text, var(--ui-text-inverted, Canvas));
14
+ --vh-comment-send-error: var(--vitehub-pill-error, var(--ui-error, currentColor));
15
+ --vh-comment-send-warning: var(--vitehub-pill-warning, var(--ui-warning, currentColor));
16
+ --vh-comment-send-success: var(--vitehub-pill-success, var(--ui-success, currentColor));
17
+ align-items: center;
18
+ color: var(--vh-comment-send-text);
19
+ display: flex;
20
+ flex: none;
21
+ font-variant-numeric: tabular-nums;
22
+ white-space: nowrap;
23
+ }
24
+
25
+ [data-slot="comment-send"][hidden] {
26
+ display: none;
27
+ }
28
+
29
+ [data-slot="comment-send-content"] {
30
+ align-items: center;
31
+ animation: vh-comment-send-in 180ms cubic-bezier(0.23, 1, 0.32, 1);
32
+ display: flex;
33
+ gap: 2px;
34
+ }
35
+
36
+ /* A button of the segment, as a button of the pill: a 28px row, 8px corners, and a light hover. */
37
+ [data-slot="comment-send-action"] {
38
+ align-items: center;
39
+ appearance: none;
40
+ background: transparent;
41
+ border: 0;
42
+ border-radius: 8px;
43
+ box-sizing: border-box;
44
+ color: inherit;
45
+ cursor: pointer;
46
+ display: inline-flex;
47
+ flex: none;
48
+ font: inherit;
49
+ gap: 4px;
50
+ height: 28px;
51
+ justify-content: center;
52
+ margin: 0;
53
+ min-width: 28px;
54
+ padding: 0 8px;
55
+ text-decoration: none;
56
+ touch-action: manipulation;
57
+ transition-duration: 150ms;
58
+ transition-property: background-color, color, scale;
59
+ transition-timing-function: cubic-bezier(0.23, 1, 0.32, 1);
60
+ -webkit-tap-highlight-color: transparent;
61
+ }
62
+
63
+ [data-slot="comment-send-action"][data-icon] {
64
+ padding: 0;
65
+ width: 28px;
66
+ }
67
+
68
+ @media (hover: hover) {
69
+ [data-slot="comment-send-action"]:hover {
70
+ background: var(--vh-comment-send-hover);
71
+ color: var(--vh-comment-send-strong);
72
+ }
73
+ }
74
+
75
+ [data-slot="comment-send-action"]:active {
76
+ scale: 0.96;
77
+ }
78
+
79
+ /* Allow and send N is the one action that the pill inverts, as the pill's own Done. */
80
+ [data-slot="comment-send-action"][data-variant="on"],
81
+ [data-slot="comment-send-action"][data-variant="on"]:hover {
82
+ background: var(--vh-comment-send-on);
83
+ color: var(--vh-comment-send-on-text);
84
+ }
85
+
86
+ @media (any-pointer: coarse) {
87
+ [data-slot="comment-send-action"] {
88
+ height: 44px;
89
+ min-width: 44px;
90
+ }
91
+ }
92
+
93
+ [data-slot="comment-send-status"] {
94
+ align-items: center;
95
+ box-sizing: border-box;
96
+ cursor: default;
97
+ display: inline-flex;
98
+ flex: none;
99
+ gap: 4px;
100
+ height: 28px;
101
+ justify-content: center;
102
+ padding: 0 8px;
103
+ }
104
+
105
+ [data-slot="comment-send-status"][data-icon] {
106
+ padding: 0;
107
+ width: 28px;
108
+ }
109
+
110
+ [data-slot="comment-send-status"][data-tone="error"] {
111
+ color: var(--vh-comment-send-error);
112
+ }
113
+
114
+ [data-slot="comment-send-status"][data-tone="warning"] {
115
+ color: var(--vh-comment-send-warning);
116
+ }
117
+
118
+ /* Sending and a hidden copy of Send N share one cell, so Sending is as wide as the button it replaces. */
119
+ [data-slot="comment-send-hold"] {
120
+ display: inline-grid;
121
+ flex: none;
122
+ }
123
+
124
+ [data-slot="comment-send-hold"] > * {
125
+ grid-area: 1 / 1;
126
+ }
127
+
128
+ [data-slot="comment-send-hold-copy"] {
129
+ align-items: center;
130
+ box-sizing: border-box;
131
+ display: inline-flex;
132
+ gap: 4px;
133
+ height: 28px;
134
+ padding: 0 8px;
135
+ visibility: hidden;
136
+ }
137
+
138
+ [data-slot="comment-send-message"] {
139
+ color: var(--vh-comment-send-muted);
140
+ font-weight: 400;
141
+ }
142
+
143
+ [data-slot="comment-send-message"] b {
144
+ color: var(--vh-comment-send-strong);
145
+ font-weight: 500;
146
+ }
147
+
148
+ @media (max-width: 600px) {
149
+ [data-slot="comment-send"]:is([data-state="pairing"], [data-state="confirm"]) {
150
+ flex-shrink: 1;
151
+ max-inline-size: calc(100vw - 64px);
152
+ }
153
+
154
+ [data-slot="comment-send"]:is([data-state="pairing"], [data-state="confirm"]) [data-slot="comment-send-content"],
155
+ [data-slot="comment-send-status"]:has([data-slot="comment-send-message"]) {
156
+ flex: 0 1 auto;
157
+ min-inline-size: 0;
158
+ }
159
+
160
+ [data-slot="comment-send-message"] {
161
+ overflow: hidden;
162
+ text-overflow: ellipsis;
163
+ }
164
+
165
+ [data-slot="comment-send-message"] > [data-wide] {
166
+ display: none;
167
+ }
168
+ }
169
+
170
+ [data-slot="comment-send"] .vh-comment-send-icon {
171
+ flex: none;
172
+ height: 14px;
173
+ width: 14px;
174
+ }
175
+
176
+ [data-slot="comment-send-count"] {
177
+ background: var(--vh-comment-send-hover);
178
+ border-radius: 4px;
179
+ box-sizing: border-box;
180
+ font-size: 10px;
181
+ line-height: 17px;
182
+ min-width: 16px;
183
+ padding: 0 4px;
184
+ text-align: center;
185
+ }
186
+
187
+ [data-slot="comment-send-dot"] {
188
+ animation: vh-comment-send-pulse 1.4s ease-in-out infinite;
189
+ background: var(--vh-comment-send-success);
190
+ border-radius: 9999px;
191
+ flex: none;
192
+ height: 6px;
193
+ width: 6px;
194
+ }
195
+
196
+ [data-slot="comment-send"] .vh-comment-send-spin {
197
+ animation: vh-comment-send-spin 0.8s linear infinite;
198
+ }
199
+
200
+ /* Agent logos. Their colors are brand data: T3 Code's black tile, and Claude's orange. Codex takes the text color. */
201
+ [data-slot="comment-send-logo"] {
202
+ display: inline-grid;
203
+ flex: none;
204
+ height: 14px;
205
+ place-items: center;
206
+ width: 14px;
207
+ }
208
+
209
+ [data-slot="comment-send-logo"] svg {
210
+ display: block;
211
+ height: 14px;
212
+ width: 14px;
213
+ }
214
+
215
+ [data-slot="comment-send-logo"][data-logo="t3"] {
216
+ background: #0a0a0a;
217
+ border-radius: 4px;
218
+ box-shadow: 0 0 0 1px rgb(255 255 255 / 22%);
219
+ color: #fff;
220
+ height: 16px;
221
+ width: 16px;
222
+ }
223
+
224
+ [data-slot="comment-send-logo"][data-logo="t3"] svg {
225
+ height: auto;
226
+ width: 64%;
227
+ }
228
+
229
+ [data-slot="comment-send-logo"][data-logo="claude"] {
230
+ color: #d97757;
231
+ }
232
+
233
+ @keyframes vh-comment-send-in {
234
+ from {
235
+ opacity: 0;
236
+ transform: translateY(2px) scale(0.97);
237
+ }
238
+ }
239
+
240
+ @keyframes vh-comment-send-spin {
241
+ to {
242
+ rotate: 360deg;
243
+ }
244
+ }
245
+
246
+ @keyframes vh-comment-send-pulse {
247
+ 50% {
248
+ opacity: 0.4;
249
+ scale: 0.8;
250
+ }
251
+ }
252
+
253
+ @media (prefers-reduced-motion: reduce) {
254
+ [data-slot="comment-send-content"],
255
+ [data-slot="comment-send-dot"],
256
+ [data-slot="comment-send"] .vh-comment-send-spin {
257
+ animation: none;
258
+ }
259
+
260
+ [data-slot="comment-send-action"] {
261
+ transition-property: background-color, color;
262
+ }
263
+
264
+ [data-slot="comment-send-action"]:active {
265
+ scale: none;
266
+ }
267
+ }