@vite-hub/ui 0.5.0 → 0.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (347) hide show
  1. package/dist/andromeeda-DaUPZ4_A.js +147 -0
  2. package/dist/{announce-Cy_Tn9wW.js → announce-B0DLwflT.js} +1 -2
  3. package/dist/{attachments-BzTwqRTU.js → attachments-DgwoQZKY.js} +3 -5
  4. package/dist/aurora-x-B5RPZ9i5.js +162 -0
  5. package/dist/{avatar-stack-DXmCQhxd.d.ts → avatar-stack-C0IKwj6g.d.ts} +0 -2
  6. package/dist/ayu-dark-DXTaGA7I.js +137 -0
  7. package/dist/ayu-light-BCYi80Fe.js +137 -0
  8. package/dist/ayu-mirage-CgbXz-N5.js +137 -0
  9. package/dist/catppuccin-frappe-MV2xzv44.js +266 -0
  10. package/dist/catppuccin-latte-CL6jjlVD.js +266 -0
  11. package/dist/catppuccin-macchiato-Bp6oZJVK.js +266 -0
  12. package/dist/catppuccin-mocha-DOHrQ4dw.js +266 -0
  13. package/dist/{choices-input-ByXJvDn1.d.ts → choices-input-BUf-QqGj.d.ts} +0 -2
  14. package/dist/{code-view-DsU-xzic.js → code-view-Cg4nyTNA.js} +6 -8
  15. package/dist/{colors-BghReA9C-CjF9gnmy.js → colors-BghReA9C-DEq4bhEP.js} +1 -2
  16. package/dist/{comment-attachments-C4yNbcx5.js → comment-attachments-CMpYOJod.js} +1 -2
  17. package/dist/{comment-composer-DvKMTrAi.d.ts → comment-composer-BI6CNJyO.d.ts} +1 -3
  18. package/dist/{comment-composer-D7ZytyER.js → comment-composer-BP-CJx7f.js} +11 -14
  19. package/dist/{comment-layer-GTsLdABl.d.ts → comment-layer-Ba2DV4L7.d.ts} +5 -7
  20. package/dist/{comment-list-BI96empx.d.ts → comment-list-BJdZu0DS.d.ts} +3 -5
  21. package/dist/{comment-panel-CsKWTms_.d.ts → comment-panel-DISGe7yM.d.ts} +2 -4
  22. package/dist/{comment-person-CLPlW_SS.js → comment-person-D_IyIjXo.js} +1 -2
  23. package/dist/{comment-pin-CvwgRSDR.d.ts → comment-pin-C5UeLPTa.d.ts} +0 -2
  24. package/dist/{comment-row-JmTC0uXr.js → comment-row-DPMWI5Z0.js} +3 -4
  25. package/dist/{comment-selection-bar-CyVBNYl9.d.ts → comment-selection-bar-CVuS-FNL.d.ts} +0 -2
  26. package/dist/{comment-send-7bg4NEEM.js → comment-send-CH46zawK.js} +7 -9
  27. package/dist/{comment-send-C45dHC22.d.ts → comment-send-MmxFsOQf.d.ts} +0 -2
  28. package/dist/{comment-thread-B_Sc2QX6.js → comment-thread-5h93DXds.js} +13 -14
  29. package/dist/{comment-thread-C6U-bsK_.d.ts → comment-thread-DSkWODKG.d.ts} +4 -8
  30. package/dist/{comment-visibility-DsVuVndP.d.ts → comment-visibility-CYctacNx.d.ts} +0 -2
  31. package/dist/{comments-D8hulVPy.d.ts → comments-CnG_c-_c.d.ts} +2 -3
  32. package/dist/{comments-B88zg9gC.js → comments-D9dONfs9.js} +12 -15
  33. package/dist/{comments-context-DhbIdYQ1.js → comments-context-CrjhleVA.js} +2 -4
  34. package/dist/{config-B1u7zqMB.js → config-BDvnaVUn.js} +3 -4
  35. package/dist/{config-pHazYdq6.d.ts → config-xL4EBeXw.d.ts} +0 -4
  36. package/dist/dark-plus-CXEBSjk4.js +148 -0
  37. package/dist/dracula-Bvyz6eCo.js +165 -0
  38. package/dist/dracula-soft-a9indxAQ.js +115 -0
  39. package/dist/{draw-DzSmD7uo-Dwz8zoH2.js → draw-DzSmD7uo-Cb7s9kxJ.js} +359 -708
  40. package/dist/{drop-field-3CDRFFRm.js → drop-field-CNZgwFVO.js} +2 -3
  41. package/dist/{editor-BHYGLgty.js → editor-BuByBIkJ.js} +5 -6
  42. package/dist/{effects-Ql6VzCRa.js → effects-DEoFFycD.js} +27 -36
  43. package/dist/{error-diagnostics-SXtnk6bz.js → error-diagnostics-BlgA9rI2.js} +1 -2
  44. package/dist/everforest-dark-9sVAxG7I.js +99 -0
  45. package/dist/everforest-light-BocTn_Hd.js +99 -0
  46. package/dist/{file-tree-C4OYgbV-.js → file-tree-CRFIdtzw.js} +58 -116
  47. package/dist/{file-tree-DlT9RGhu.d.ts → file-tree-DOtkeBaq.d.ts} +0 -14
  48. package/dist/{format-orwcdZL_.js → format-Bc9m7-r0.js} +1 -2
  49. package/dist/{getSingularPatch-Dsb8EgxR.js → getSingularPatch-C7LmmBrW.js} +375 -79
  50. package/dist/github-dark-BO9SXswM.js +142 -0
  51. package/dist/github-dark-default-XB_RHfBI.js +90 -0
  52. package/dist/github-dark-dimmed-BoGxaWUQ.js +137 -0
  53. package/dist/github-dark-high-contrast-B3X6t2fG.js +137 -0
  54. package/dist/github-light-D7VHHlUH.js +142 -0
  55. package/dist/github-light-default-BuDsGtcR.js +137 -0
  56. package/dist/github-light-high-contrast-GodZiAwh.js +137 -0
  57. package/dist/gruvbox-dark-hard-CU4LuKJc.js +140 -0
  58. package/dist/gruvbox-dark-medium-DjAsuXuH.js +140 -0
  59. package/dist/gruvbox-dark-soft-D3Zttj6R.js +140 -0
  60. package/dist/gruvbox-light-hard-4M_9onwE.js +140 -0
  61. package/dist/gruvbox-light-medium-D9QwS4kQ.js +140 -0
  62. package/dist/gruvbox-light-soft-DhYcfQql.js +140 -0
  63. package/dist/{handlers-DMl-Na3x.js → handlers-CnbkvXjX.js} +1 -2
  64. package/dist/headless.d.ts +4 -4
  65. package/dist/headless.js +1 -1
  66. package/dist/highlights-C2AbEdDI.js +2630 -0
  67. package/dist/{hold-to-delete-DjWzRDyY.d.ts → hold-to-delete-BSMrpE-i.d.ts} +0 -2
  68. package/dist/{hold-to-delete-ROLQRZg_.js → hold-to-delete-Cludb56v.js} +6 -7
  69. package/dist/horizon-bright-B9u59onx.js +97 -0
  70. package/dist/horizon-tItY9ATR.js +97 -0
  71. package/dist/houston-BqKrKNQv.js +207 -0
  72. package/dist/{icon-c5Jb_Tl7.d.ts → icon-XZaCUZTG.d.ts} +0 -2
  73. package/dist/{image-preview-BigoAvb3.js → image-preview-EqfPcFZ9.js} +3 -4
  74. package/dist/{index-CNY1uNTh.d.ts → index-B2cbt3py.d.ts} +3945 -2445
  75. package/dist/{index-YUvL2nV8.d.ts → index-B_PSX-5h.d.ts} +0 -4
  76. package/dist/index.d.ts +29 -31
  77. package/dist/index.js +42 -45
  78. package/dist/{install-D5f6msEU.js → install-qNaj4OY4.js} +2 -3
  79. package/dist/kanagawa-dragon-BH1K3aMw.js +159 -0
  80. package/dist/kanagawa-lotus-C-4JB2io.js +159 -0
  81. package/dist/kanagawa-wave-DTQqNe5k.js +159 -0
  82. package/dist/laserwave-BkV0uIaG.js +84 -0
  83. package/dist/light-plus-CxYgEz7U.js +149 -0
  84. package/dist/{list-RCbNZ14q.js → list-DUTAo0uC.js} +5 -6
  85. package/dist/loader-CYMEjzwc.js +79 -0
  86. package/dist/{markdown-editor-Dfl2DgPS.js → markdown-editor-3gY9MLvy.js} +237 -38
  87. package/dist/{markdown-editor-wQF0yD5o.d.ts → markdown-editor-B7gD60tp.d.ts} +0 -6
  88. package/dist/markdown-editor.d.ts +1 -5
  89. package/dist/markdown-editor.js +2 -2
  90. package/dist/markdown-renderer-BgsmNqv7.js +26578 -0
  91. package/dist/material-theme-Xdm37UUJ.js +105 -0
  92. package/dist/material-theme-darker-Blaz0cgN.js +105 -0
  93. package/dist/material-theme-lighter-BddVxBVA.js +105 -0
  94. package/dist/material-theme-ocean-C4qhfFHi.js +105 -0
  95. package/dist/material-theme-palenight-ChHDqoiA.js +105 -0
  96. package/dist/{message-scroller-Bm1YWTeY.d.ts → message-scroller-a6qaYHno.d.ts} +0 -2
  97. package/dist/min-dark-DpGSNjaW.js +125 -0
  98. package/dist/min-light-BMfJUsU2.js +122 -0
  99. package/dist/monokai-DW19E-zg.js +162 -0
  100. package/dist/motion/core.d.ts +3 -3
  101. package/dist/motion/core.js +10 -10
  102. package/dist/{motion-core-lHRF8PZz.d.ts → motion-core-DNl7TR1T.d.ts} +0 -54
  103. package/dist/motion.d.ts +3 -5
  104. package/dist/motion.js +11 -11
  105. package/dist/night-owl-B7Of8ee9.js +188 -0
  106. package/dist/night-owl-light-Vu9tTNpS.js +189 -0
  107. package/dist/nord-CDzJumeN.js +128 -0
  108. package/dist/{nuxt-ui-CgvMzO5v.js → nuxt-ui-7ByUrymx.js} +1 -2
  109. package/dist/nuxt.d.ts +1 -7
  110. package/dist/nuxt.js +4 -8
  111. package/dist/one-dark-pro-hS_sNo5p.js +124 -0
  112. package/dist/one-light-CD4ItzSC.js +153 -0
  113. package/dist/{opt-out-b6bnUjIT.js → opt-out-D66l60sg.js} +3 -6
  114. package/dist/parts/components/agent-session.d.ts +1 -3
  115. package/dist/parts/components/agent-session.js +3 -4
  116. package/dist/parts/components/attachment.d.ts +1 -3
  117. package/dist/parts/components/attachment.js +3 -4
  118. package/dist/parts/components/avatar-stack.d.ts +1 -1
  119. package/dist/parts/components/avatar-stack.js +2 -3
  120. package/dist/parts/components/bubble.d.ts +1 -3
  121. package/dist/parts/components/bubble.js +2 -3
  122. package/dist/parts/components/chat-message.d.ts +1 -3
  123. package/dist/parts/components/chat-message.js +1 -2
  124. package/dist/parts/components/chat-session.d.ts +2 -4
  125. package/dist/parts/components/chat-session.js +1 -2
  126. package/dist/parts/components/chat.d.ts +1 -3
  127. package/dist/parts/components/chat.js +4 -5
  128. package/dist/parts/components/code-block.d.ts +1 -3
  129. package/dist/parts/components/code-block.js +2 -3
  130. package/dist/parts/components/code-view.d.ts +1 -3
  131. package/dist/parts/components/code-view.js +1 -2
  132. package/dist/parts/components/comment-composer.d.ts +1 -1
  133. package/dist/parts/components/comment-composer.js +1 -2
  134. package/dist/parts/components/comment-layer.d.ts +1 -1
  135. package/dist/parts/components/comment-layer.js +11 -15
  136. package/dist/parts/components/comment-list.d.ts +1 -1
  137. package/dist/parts/components/comment-list.js +5 -6
  138. package/dist/parts/components/comment-panel.d.ts +1 -1
  139. package/dist/parts/components/comment-panel.js +9 -10
  140. package/dist/parts/components/comment-pin.d.ts +1 -1
  141. package/dist/parts/components/comment-pin.js +2 -3
  142. package/dist/parts/components/comment-selection-bar.d.ts +1 -1
  143. package/dist/parts/components/comment-selection-bar.js +3 -4
  144. package/dist/parts/components/comment-send.d.ts +1 -1
  145. package/dist/parts/components/comment-send.js +1 -2
  146. package/dist/parts/components/comment-thread.d.ts +1 -1
  147. package/dist/parts/components/comment-thread.js +2 -2
  148. package/dist/parts/components/comments.d.ts +8 -8
  149. package/dist/parts/components/comments.js +6 -6
  150. package/dist/parts/components/connection-status.d.ts +1 -3
  151. package/dist/parts/components/connection-status.js +1 -2
  152. package/dist/parts/components/copy-button.d.ts +1 -3
  153. package/dist/parts/components/copy-button.js +6 -7
  154. package/dist/parts/components/device-frame.d.ts +1 -3
  155. package/dist/parts/components/device-frame.js +1 -2
  156. package/dist/parts/components/drop-field.d.ts +1 -3
  157. package/dist/parts/components/drop-field.js +2 -3
  158. package/dist/parts/components/file-tree.d.ts +1 -1
  159. package/dist/parts/components/file-tree.js +1 -2
  160. package/dist/parts/components/filter-search.d.ts +2 -4
  161. package/dist/parts/components/filter-search.js +2 -3
  162. package/dist/parts/components/hold-to-delete.d.ts +2 -4
  163. package/dist/parts/components/hold-to-delete.js +2 -3
  164. package/dist/parts/components/markdown-editor.d.ts +1 -1
  165. package/dist/parts/components/markdown-editor.js +1 -2
  166. package/dist/parts/components/markdown-renderer.d.ts +1 -3
  167. package/dist/parts/components/markdown-renderer.js +1 -23077
  168. package/dist/parts/components/markdown.d.ts +1 -3
  169. package/dist/parts/components/markdown.js +2 -3
  170. package/dist/parts/components/marker.d.ts +1 -3
  171. package/dist/parts/components/marker.js +2 -3
  172. package/dist/parts/components/message-parts.d.ts +1 -3
  173. package/dist/parts/components/message-parts.js +2 -3
  174. package/dist/parts/components/message.d.ts +1 -3
  175. package/dist/parts/components/message.js +2 -3
  176. package/dist/parts/components/motion-list.d.ts +1 -3
  177. package/dist/parts/components/motion-list.js +2 -3
  178. package/dist/parts/components/motion.d.ts +2 -4
  179. package/dist/parts/components/motion.js +4 -5
  180. package/dist/parts/components/patch-parsers.d.ts +1 -1
  181. package/dist/parts/components/patch-parsers.js +1 -2
  182. package/dist/parts/components/progress.d.ts +1 -3
  183. package/dist/parts/components/progress.js +2 -3
  184. package/dist/parts/components/prompt-input.d.ts +5 -7
  185. package/dist/parts/components/prompt-input.js +5 -6
  186. package/dist/parts/components/relative-time.d.ts +1 -3
  187. package/dist/parts/components/relative-time.js +1 -2
  188. package/dist/parts/components/status.d.ts +1 -3
  189. package/dist/parts/components/status.js +1 -2
  190. package/dist/parts/components/sync-status.d.ts +1 -3
  191. package/dist/parts/components/sync-status.js +1 -2
  192. package/dist/parts/components/tool-list.d.ts +2 -4
  193. package/dist/parts/components/tool-list.js +2 -3
  194. package/dist/parts/components/trace-run.d.ts +2 -4
  195. package/dist/parts/components/trace-run.js +4 -5
  196. package/dist/parts/components/trace.d.ts +1 -3
  197. package/dist/parts/components/trace.js +2 -3
  198. package/dist/parts/composables/attachments.d.ts +1 -3
  199. package/dist/parts/composables/attachments.js +1 -2
  200. package/dist/parts/composables/highlighted-code.d.ts +1 -3
  201. package/dist/parts/composables/highlighted-code.js +1 -2
  202. package/dist/parts/headless/choices-input.d.ts +1 -1
  203. package/dist/parts/headless/choices-input.js +3 -4
  204. package/dist/parts/headless/comment-visibility.d.ts +1 -1
  205. package/dist/parts/headless/comment-visibility.js +1 -2
  206. package/dist/parts/headless/comments.d.ts +1 -1
  207. package/dist/parts/headless/comments.js +1 -2
  208. package/dist/parts/headless/message-scroller.d.ts +1 -1
  209. package/dist/parts/headless/message-scroller.js +2 -3
  210. package/dist/parts/playground/paths.d.ts +1 -3
  211. package/dist/parts/playground/paths.js +1 -2
  212. package/dist/parts/playground/share.d.ts +1 -3
  213. package/dist/parts/playground/share.js +1 -2
  214. package/dist/parts/playground/zip.d.ts +1 -3
  215. package/dist/parts/playground/zip.js +2 -3
  216. package/dist/parts/workspace/browser-support-notice.d.ts +1 -3
  217. package/dist/parts/workspace/browser-support-notice.js +3 -4
  218. package/dist/parts/workspace/codemirror.d.ts +1 -3
  219. package/dist/parts/workspace/codemirror.js +3 -4
  220. package/dist/parts/workspace/connect-panel.d.ts +1 -3
  221. package/dist/parts/workspace/connect-panel.js +2 -3
  222. package/dist/parts/workspace/connect-store.d.ts +1 -3
  223. package/dist/parts/workspace/connect-store.js +1 -2
  224. package/dist/parts/workspace/file-icons.d.ts +1 -3
  225. package/dist/parts/workspace/file-icons.js +1 -2
  226. package/dist/parts/workspace/icons.d.ts +1 -2
  227. package/dist/parts/workspace/icons.js +1 -2
  228. package/dist/parts/workspace/runners/render.d.ts +1 -3
  229. package/dist/parts/workspace/runners/render.js +1 -2
  230. package/dist/parts/workspace/runners/web-container.d.ts +1 -3
  231. package/dist/parts/workspace/runners/web-container.js +1 -2
  232. package/dist/parts/workspace/workspace-bar.d.ts +1 -3
  233. package/dist/parts/workspace/workspace-bar.js +2 -3
  234. package/dist/parts/workspace/workspace-boot-status.d.ts +1 -2
  235. package/dist/parts/workspace/workspace-boot-status.js +2 -3
  236. package/dist/parts/workspace/workspace-editor-head.d.ts +1 -3
  237. package/dist/parts/workspace/workspace-editor-head.js +3 -4
  238. package/dist/parts/workspace/workspace-editor.d.ts +1 -3
  239. package/dist/parts/workspace/workspace-editor.js +1 -2
  240. package/dist/parts/workspace/workspace-examples.d.ts +1 -3
  241. package/dist/parts/workspace/workspace-examples.js +2 -3
  242. package/dist/parts/workspace/workspace-file-link.d.ts +1 -3
  243. package/dist/parts/workspace/workspace-file-link.js +1 -2
  244. package/dist/parts/workspace/workspace-file-tree.d.ts +1 -3
  245. package/dist/parts/workspace/workspace-file-tree.js +2 -3
  246. package/dist/parts/workspace/workspace-guide.d.ts +2 -4
  247. package/dist/parts/workspace/workspace-guide.js +2 -3
  248. package/dist/parts/workspace/workspace-issues.d.ts +1 -3
  249. package/dist/parts/workspace/workspace-issues.js +1 -2
  250. package/dist/parts/workspace/workspace-preview.d.ts +1 -3
  251. package/dist/parts/workspace/workspace-preview.js +2 -3
  252. package/dist/parts/workspace/workspace-shell.d.ts +1 -1
  253. package/dist/parts/workspace/workspace-shell.js +2 -3
  254. package/dist/parts/workspace/workspace-sidebar.d.ts +2 -4
  255. package/dist/parts/workspace/workspace-sidebar.js +3 -4
  256. package/dist/parts/workspace/workspace-start.d.ts +1 -3
  257. package/dist/parts/workspace/workspace-start.js +2 -3
  258. package/dist/parts/workspace/workspace-status.d.ts +1 -3
  259. package/dist/parts/workspace/workspace-status.js +1 -2
  260. package/dist/parts/workspace/workspace-steps.d.ts +1 -1
  261. package/dist/parts/workspace/workspace-steps.js +2 -3
  262. package/dist/parts/workspace/workspace-task.d.ts +1 -3
  263. package/dist/parts/workspace/workspace-task.js +1 -2
  264. package/dist/parts/workspace/workspace-terminal.d.ts +1 -3
  265. package/dist/parts/workspace/workspace-terminal.js +1 -2
  266. package/dist/parts/workspace/workspace.d.ts +4 -6
  267. package/dist/parts/workspace/workspace.js +6 -7
  268. package/dist/{payload-text-sjkYAwvw.js → payload-text-DQNRbJY5.js} +1 -2
  269. package/dist/{pierre-code-view-NE35tkmR.js → pierre-code-view-C49BVDrc.js} +11333 -6718
  270. package/dist/pierre-dark-BtKHt2e4.js +166 -0
  271. package/dist/pierre-dark-CXW3KeKO.js +5 -0
  272. package/dist/pierre-dark-protanopia-deuteranopia-CS0Gs25Q.js +166 -0
  273. package/dist/pierre-dark-protanopia-deuteranopia-DajNv_A3.js +3 -0
  274. package/dist/pierre-dark-soft-BUFoeBEf.js +3 -0
  275. package/dist/pierre-dark-soft-D__0FtYP.js +166 -0
  276. package/dist/pierre-dark-tritanopia-C6fHROmA.js +166 -0
  277. package/dist/pierre-dark-tritanopia-oa3gpgIR.js +3 -0
  278. package/dist/pierre-dark-vibrant-COXpyAHb.js +166 -0
  279. package/dist/pierre-dark-vibrant-CYRHyDoW.js +3 -0
  280. package/dist/pierre-light-BD28C_vh.js +166 -0
  281. package/dist/pierre-light-BN0rL1e5.js +5 -0
  282. package/dist/pierre-light-protanopia-deuteranopia-CYsDHJt0.js +3 -0
  283. package/dist/pierre-light-protanopia-deuteranopia-CwWH1xGL.js +166 -0
  284. package/dist/pierre-light-soft-BkKY4pMj.js +166 -0
  285. package/dist/pierre-light-soft-F2QIpNbb.js +3 -0
  286. package/dist/pierre-light-tritanopia-BbKKIkua.js +3 -0
  287. package/dist/pierre-light-tritanopia-Mpubahl7.js +166 -0
  288. package/dist/pierre-light-vibrant-CdV9Besm.js +3 -0
  289. package/dist/pierre-light-vibrant-x11J3_aO.js +166 -0
  290. package/dist/plastic-BQnXkmvK.js +137 -0
  291. package/dist/playground.d.ts +1 -1
  292. package/dist/poimandres-DEfG-8RI.js +124 -0
  293. package/dist/{progress-C7afI5vq.js → progress-DL9k-ERG.js} +3 -4
  294. package/dist/red-BfKrAjYG.js +169 -0
  295. package/dist/{registry-D3-ysX7l.js → registry-DAIjCjWd.js} +2 -3
  296. package/dist/{relative-time-DgSS3zKN.js → relative-time-DJnw45tr.js} +5 -8
  297. package/dist/{ring-B7Qxu7zd.js → ring-BN4d8vtw.js} +4 -6
  298. package/dist/{rolldown-runtime-C9mWXvCC.js → rolldown-runtime-CahUhzF3.js} +2 -3
  299. package/dist/rose-pine-D0rhGGFg.js +136 -0
  300. package/dist/rose-pine-dawn-7jVaYUiD.js +136 -0
  301. package/dist/rose-pine-moon-CFyS0Mvu.js +136 -0
  302. package/dist/runtime/nuxt-plugin.d.ts +0 -2
  303. package/dist/runtime/nuxt-plugin.js +3 -4
  304. package/dist/{sankey-CAYwt82B-D4uDQoMR.js → sankey-CAYwt82B-BAAk7WkJ.js} +147 -151
  305. package/dist/shiki-CbfEu_Az.js +607 -0
  306. package/dist/slack-dark-Bv-KFSBD.js +87 -0
  307. package/dist/slack-ochin-Dg2BAv1D.js +107 -0
  308. package/dist/{slot-part-Doic71uh.js → slot-part-BWHvQ3mK.js} +1 -2
  309. package/dist/snazzy-light-sYDdR9rx.js +93 -0
  310. package/dist/solarized-dark-COt2tTmN.js +160 -0
  311. package/dist/solarized-light-BJrwFarZ.js +160 -0
  312. package/dist/stream-tokenizer-ByC3l0HQ.js +263 -0
  313. package/dist/styles.css +11 -2
  314. package/dist/synthwave-84-NUDBykTM.js +410 -0
  315. package/dist/{temml-BilSAAws.js → temml-m3ad3bfq.js} +2 -3
  316. package/dist/{text-BCJflBJf.js → text-BWzZFnGY.js} +8 -12
  317. package/dist/theme.d.ts +1 -3
  318. package/dist/theme.js +1 -2
  319. package/dist/themes-DKugPHlg.js +323 -0
  320. package/dist/tokyo-night-DD3B2QcO.js +153 -0
  321. package/dist/{travel-C87xd5Wh.js → travel-CwVhU_GS.js} +6 -8
  322. package/dist/{tween-CO24nMpf.js → tween-Dv3IIIQG.js} +2 -3
  323. package/dist/{types-BX64qHlV.d.ts → types-Ceh7h7NT.d.ts} +1 -3
  324. package/dist/vesper-oVQYrv8Y.js +99 -0
  325. package/dist/{visual-copy-CrVc3z4n.js → visual-copy-CHHBfJ6O.js} +1 -2
  326. package/dist/vite.d.ts +1 -3
  327. package/dist/vite.js +13 -3
  328. package/dist/vitesse-black-D84DQZAP.js +196 -0
  329. package/dist/vitesse-dark-CMZ6olk_.js +196 -0
  330. package/dist/vitesse-light-D9d8hLOY.js +196 -0
  331. package/dist/{vue-DGstVdGn.js → vue-BlknIGIm.js} +43 -34
  332. package/dist/{vue-BDmSCtay.js → vue-Cs_HmYsp.js} +4 -7
  333. package/dist/{workspace-shell-BJGnoF3p.d.ts → workspace-shell-ChCwWPyv.d.ts} +0 -2
  334. package/dist/{workspace-steps-Bgph2rpr.d.ts → workspace-steps-BKByX9DW.d.ts} +0 -2
  335. package/dist/workspace.d.ts +6 -8
  336. package/dist/workspace.js +6 -6
  337. package/package.json +52 -52
  338. package/dist/pierre-dark-CzUmjETS.js +0 -6
  339. package/dist/pierre-dark-protanopia-deuteranopia-C35UMuvO.js +0 -4
  340. package/dist/pierre-dark-soft-Bb-4-biO.js +0 -4
  341. package/dist/pierre-dark-tritanopia-CIJISGWF.js +0 -4
  342. package/dist/pierre-dark-vibrant-8oZzB3gw.js +0 -4
  343. package/dist/pierre-light-Dn6E0sWv.js +0 -6
  344. package/dist/pierre-light-protanopia-deuteranopia-u0U7N4Hn.js +0 -4
  345. package/dist/pierre-light-soft-BCU6fuhO.js +0 -4
  346. package/dist/pierre-light-tritanopia-3c8Yx3co.js +0 -4
  347. package/dist/pierre-light-vibrant-Cwh332o_.js +0 -4
@@ -1,4 +1,3 @@
1
- //#region src/playground/share.d.ts
2
1
  /** Files by project-relative path. */
3
2
  export type PlaygroundFiles = Record<string, string>;
4
3
  /** What a share link holds: the template the files start from, and the files. */
@@ -32,5 +31,4 @@ export declare function decodePlaygroundLink(code: string, templates?: readonly
32
31
  /** The share code in a URL hash such as `#code=…`, or `undefined`. */
33
32
  export declare function readPlaygroundHash(hash: string): string | undefined;
34
33
  /** The link to `path` that opens `code`, such as `/play#code=…`. */
35
- export declare function playgroundUrl(path: string, code: string): string;
36
- //#endregion
34
+ export declare function playgroundUrl(path: string, code: string): string;
@@ -1,5 +1,5 @@
1
1
  import { isProjectPath } from "./paths.js";
2
- //#region src/playground/share.ts
2
+ // src/playground/share.ts
3
3
  /**
4
4
  * The longest share link, in characters. Chat apps and issue trackers cut longer URLs, and a link this long already
5
5
  * holds about 60 KB of code. A bigger playground goes out as a zip.
@@ -88,5 +88,4 @@ function readPlaygroundHash(hash) {
88
88
  function playgroundUrl(path, code) {
89
89
  return `${path}#${playgroundHashKey}=${code}`;
90
90
  }
91
- //#endregion
92
91
  export { decodePlaygroundLink, encodePlaygroundLink, playgroundHashKey, playgroundLinkLimit, playgroundUrl, readPlaygroundHash };
@@ -1,6 +1,4 @@
1
- //#region src/playground/zip.d.ts
2
1
  /** A stored `.zip` of text files under `folder/`, with the same bytes for the same files. */
3
2
  export declare function zipFiles(files: Record<string, string>, folder: string): Uint8Array<ArrayBuffer>;
4
3
  /** Saves `files` as `<folder>.zip`. */
5
- export declare function downloadZip(files: Record<string, string>, folder: string): void;
6
- //#endregion
4
+ export declare function downloadZip(files: Record<string, string>, folder: string): void;
@@ -1,6 +1,6 @@
1
- import { t as uiErrorDiagnostics } from "../../error-diagnostics-SXtnk6bz.js";
1
+ import { t as uiErrorDiagnostics } from "../../error-diagnostics-BlgA9rI2.js";
2
2
  import { isProjectPath } from "./paths.js";
3
- //#region src/playground/zip.ts
3
+ // src/playground/zip.ts
4
4
  const crcTable = Array.from({ length: 256 }, (_, index) => {
5
5
  let value = index;
6
6
  for (let bit = 0; bit < 8; bit++) value = value & 1 ? 3988292384 ^ value >>> 1 : value >>> 1;
@@ -72,5 +72,4 @@ function downloadZip(files, folder) {
72
72
  link.click();
73
73
  setTimeout(() => URL.revokeObjectURL(url), 1e3);
74
74
  }
75
- //#endregion
76
75
  export { downloadZip, zipFiles };
@@ -1,5 +1,4 @@
1
1
  import { PropType } from "vue";
2
- //#region src/workspace/browser-support-notice.d.ts
3
2
  export type UnsupportedBrowser = "safari" | "unknown";
4
3
  /** Safari, including every browser on iOS, which all use WebKit. */
5
4
  export declare function detectUnsupportedBrowser(userAgent: string): UnsupportedBrowser;
@@ -72,5 +71,4 @@ export declare const BrowserSupportNotice: import("vue").DefineComponent<import(
72
71
  supported: boolean | undefined;
73
72
  reason: string;
74
73
  browser: UnsupportedBrowser;
75
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
76
- //#endregion
74
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,9 +1,9 @@
1
- import { t as ring } from "../../ring-B7Qxu7zd.js";
2
- import { MorphText, SwapIcon } from "../components/motion.js";
3
1
  import { useCopy } from "../components/copy-button.js";
2
+ import { MorphText, SwapIcon } from "../components/motion.js";
3
+ import { t as ring } from "../../ring-BN4d8vtw.js";
4
4
  import { icon } from "./icons.js";
5
5
  import { defineComponent, h, onBeforeUnmount, onMounted, ref, useId } from "vue";
6
- //#region src/workspace/browser-support-notice.ts
6
+ // src/workspace/browser-support-notice.ts
7
7
  /** Safari, including every browser on iOS, which all use WebKit. */
8
8
  function detectUnsupportedBrowser(userAgent) {
9
9
  const webkitOnly = /Safari\//.test(userAgent) && !/(Chrome|Chromium|Edg|OPR|Firefox)\//.test(userAgent);
@@ -109,5 +109,4 @@ const BrowserSupportNotice = defineComponent({
109
109
  };
110
110
  }
111
111
  });
112
- //#endregion
113
112
  export { BrowserSupportNotice, detectUnsupportedBrowser };
@@ -1,4 +1,3 @@
1
- //#region src/workspace/codemirror.d.ts
2
1
  export interface CodeEditorOptions {
3
2
  parent: HTMLElement;
4
3
  doc: string;
@@ -21,5 +20,4 @@ export interface CodeEditor {
21
20
  focus: () => void;
22
21
  destroy: () => void;
23
22
  }
24
- export declare function createCodeEditor(options: CodeEditorOptions): CodeEditor;
25
- //#endregion
23
+ export declare function createCodeEditor(options: CodeEditorOptions): CodeEditor;
@@ -1,12 +1,12 @@
1
- import { t as pierre_dark_default } from "../../pierre-dark-CzUmjETS.js";
2
- import { t as pierre_light_default } from "../../pierre-light-Dn6E0sWv.js";
1
+ import { t as pierre_dark_default } from "../../pierre-dark-CXW3KeKO.js";
2
+ import { t as pierre_light_default } from "../../pierre-light-BN0rL1e5.js";
3
3
  import { closeBrackets, closeBracketsKeymap } from "@codemirror/autocomplete";
4
4
  import { defaultKeymap, history, historyKeymap, indentWithTab } from "@codemirror/commands";
5
5
  import { HighlightStyle, bracketMatching, indentOnInput, syntaxHighlighting } from "@codemirror/language";
6
6
  import { Compartment, EditorState } from "@codemirror/state";
7
7
  import { EditorView, drawSelection, highlightActiveLine, highlightActiveLineGutter, keymap, lineNumbers } from "@codemirror/view";
8
8
  import { tags } from "@lezer/highlight";
9
- //#region src/workspace/codemirror.ts
9
+ // src/workspace/codemirror.ts
10
10
  const syntaxScopes = {
11
11
  attribute: "entity.other.attribute-name",
12
12
  function: "entity.name.function",
@@ -272,5 +272,4 @@ function createCodeEditor(options) {
272
272
  destroy: () => view.destroy()
273
273
  };
274
274
  }
275
- //#endregion
276
275
  export { createCodeEditor };
@@ -1,6 +1,5 @@
1
1
  import { PropType, VNode } from "vue";
2
2
  import { Connect, ConnectProvider, ConnectProviderName } from "@vite-hub/web-container/connect";
3
- //#region src/workspace/connect-panel.d.ts
4
3
  /**
5
4
  * - `idle`: no token yet.
6
5
  * - `connecting`: the app checks the token.
@@ -125,5 +124,4 @@ export declare const ConnectPanel: import("vue").DefineComponent<import("vue").E
125
124
  empty: string;
126
125
  relayUrl: string;
127
126
  states: Partial<Record<ConnectProviderName, ConnectProviderState>>;
128
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
129
- //#endregion
127
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,7 +1,7 @@
1
- import { r as useUIComponent } from "../../nuxt-ui-CgvMzO5v.js";
1
+ import { r as useUIComponent } from "../../nuxt-ui-7ByUrymx.js";
2
2
  import { icon, providerLogo } from "./icons.js";
3
3
  import { computed, defineComponent, h, ref, useId } from "vue";
4
- //#region src/workspace/connect-panel.ts
4
+ // src/workspace/connect-panel.ts
5
5
  const providerInfo = {
6
6
  anthropic: {
7
7
  label: "Anthropic",
@@ -281,5 +281,4 @@ const ConnectPanel = defineComponent({
281
281
  ])]);
282
282
  }
283
283
  });
284
- //#endregion
285
284
  export { ConnectPanel, ConnectProviderRow, connectProviderLabel };
@@ -1,6 +1,5 @@
1
1
  import { ComputedRef, Ref } from "vue";
2
2
  import { Connect, ConnectCredentials, ConnectProviderName } from "@vite-hub/web-container/connect";
3
- //#region src/workspace/connect-store.d.ts
4
3
  export interface UseConnectStoreOptions {
5
4
  /**
6
5
  * Where tokens are kept. `session` forgets them when the tab closes. `memory` forgets them on reload.
@@ -22,5 +21,4 @@ export interface ConnectStore {
22
21
  * A small token store for `ConnectPanel`. Tokens stay in this browser and never go to a server. Called in a component,
23
22
  * it loads the stored tokens when the component mounts.
24
23
  */
25
- export declare function useConnectStore(options?: UseConnectStoreOptions): ConnectStore;
26
- //#endregion
24
+ export declare function useConnectStore(options?: UseConnectStoreOptions): ConnectStore;
@@ -1,6 +1,6 @@
1
1
  import { computed, getCurrentInstance, onMounted, readonly, ref } from "vue";
2
2
  import { connectEnv } from "@vite-hub/web-container/connect";
3
- //#region src/workspace/connect-store.ts
3
+ // src/workspace/connect-store.ts
4
4
  function browserStorage(kind) {
5
5
  if (kind === "memory" || typeof window === "undefined") return void 0;
6
6
  try {
@@ -55,5 +55,4 @@ function useConnectStore(options = {}) {
55
55
  env: (connect) => computed(() => connectEnv(connect, credentials.value))
56
56
  };
57
57
  }
58
- //#endregion
59
58
  export { useConnectStore };
@@ -1,5 +1,4 @@
1
1
  import { VNode } from "vue";
2
- //#region src/workspace/file-icons.d.ts
3
2
  /** The `icons` option of a Pierre tree that draws these icons. A file of another type gets a muted dot. */
4
3
  export declare const fileTreeIcons: {
5
4
  readonly byFileExtension: {
@@ -12,5 +11,4 @@ export declare const fileTreeIcons: {
12
11
  readonly spriteSheet: string;
13
12
  };
14
13
  /** The icon of `path` as an inline SVG, the same one that `WorkspaceFileTree` draws. */
15
- export declare function fileIcon(path: string, className?: string): VNode;
16
- //#endregion
14
+ export declare function fileIcon(path: string, className?: string): VNode;
@@ -1,5 +1,5 @@
1
1
  import { h } from "vue";
2
- //#region src/workspace/file-icons.ts
2
+ // src/workspace/file-icons.ts
3
3
  /**
4
4
  * The colors of the file types: the brand colors of the languages, as in the Seti theme of VS Code, for light and dark
5
5
  * pages. They are data, like brand logos, so they live here and not in the theme. A `--vh-ws-file-<type>` token on the
@@ -78,5 +78,4 @@ function fileIcon(path, className = "vh-ws-file-icon") {
78
78
  xmlns: "http://www.w3.org/2000/svg"
79
79
  });
80
80
  }
81
- //#endregion
82
81
  export { fileIcon, fileTreeIcons };
@@ -1,5 +1,4 @@
1
1
  import { VNode } from "vue";
2
- //#region src/workspace/icons.d.ts
3
2
  declare const icons: {
4
3
  readonly lock: "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><rect width=\"18\" height=\"11\" x=\"3\" y=\"11\" rx=\"2\" ry=\"2\"/><path d=\"M7 11V7a5 5 0 0 1 10 0v4\"/></g>";
5
4
  readonly "chevron-right": "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m9 18l6-6l-6-6\"/>";
@@ -32,4 +31,4 @@ export type WorkspaceIconName = keyof typeof icons;
32
31
  export type ProviderLogoName = keyof typeof logos;
33
32
  export declare function icon(name: WorkspaceIconName, className?: string): VNode;
34
33
  export declare function providerLogo(name: ProviderLogoName, className?: string): VNode;
35
- //#endregion
34
+ export {};
@@ -1,5 +1,5 @@
1
1
  import { h } from "vue";
2
- //#region src/workspace/icons.ts
2
+ // src/workspace/icons.ts
3
3
  const icons = {
4
4
  "lock": "<g fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\"><rect width=\"18\" height=\"11\" x=\"3\" y=\"11\" rx=\"2\" ry=\"2\"/><path d=\"M7 11V7a5 5 0 0 1 10 0v4\"/></g>",
5
5
  "chevron-right": "<path fill=\"none\" stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"m9 18l6-6l-6-6\"/>",
@@ -43,5 +43,4 @@ function icon(name, className = "vh-ws-icon") {
43
43
  function providerLogo(name, className = "vh-ws-logo") {
44
44
  return svg(logos[name], className);
45
45
  }
46
- //#endregion
47
46
  export { icon, providerLogo };
@@ -1,7 +1,6 @@
1
1
  import { WorkspaceIssue } from "../workspace-issues.js";
2
2
  import { WorkspaceExample } from "../workspace-examples.js";
3
3
  import { WorkspaceFiles, WorkspaceRunner } from "../workspace.js";
4
- //#region src/workspace/runners/render.d.ts
5
4
  /** What `render()` gets back from its function: the HTML of the output, and the problems that it found. */
6
5
  export interface WorkspaceRenderResult {
7
6
  html: string;
@@ -22,5 +21,4 @@ export interface RenderRunnerOptions {
22
21
  * files never replaces a newer one, and a thrown error becomes an issue. The file of an issue opens in the editor on a
23
22
  * click. Every device can run it.
24
23
  */
25
- export declare function render(fn: (files: WorkspaceFiles, context: WorkspaceRenderContext) => Promise<WorkspaceRenderResult>, options?: RenderRunnerOptions): WorkspaceRunner;
26
- //#endregion
24
+ export declare function render(fn: (files: WorkspaceFiles, context: WorkspaceRenderContext) => Promise<WorkspaceRenderResult>, options?: RenderRunnerOptions): WorkspaceRunner;
@@ -1,6 +1,6 @@
1
1
  import { WorkspaceIssues } from "../workspace-issues.js";
2
2
  import { computed, h, onScopeDispose, ref, shallowRef } from "vue";
3
- //#region src/workspace/runners/render.ts
3
+ // src/workspace/runners/render.ts
4
4
  const debounce = 200;
5
5
  function plainDocument(html) {
6
6
  return `<!doctype html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><style>:root{color-scheme:light}body{margin:0;padding:1.5rem;font:1rem/1.6 system-ui,sans-serif}</style></head><body>${html}</body></html>`;
@@ -120,5 +120,4 @@ function render(fn, options = {}) {
120
120
  }
121
121
  return { start };
122
122
  }
123
- //#endregion
124
123
  export { render };
@@ -3,7 +3,6 @@ import { WorkspaceRunner } from "../workspace.js";
3
3
  import { ShallowRef } from "vue";
4
4
  import { Connect } from "@vite-hub/web-container/connect";
5
5
  import { UseWebContainerReturn } from "@vite-hub/web-container/vue";
6
- //#region src/workspace/runners/web-container.d.ts
7
6
  /** Loads a `node_modules` snapshot, such as `() => fetchSnapshot(parts)`. */
8
7
  export type WorkspaceSnapshot = () => Promise<Uint8Array | ArrayBuffer>;
9
8
  export interface WebContainerRunnerOptions {
@@ -25,5 +24,4 @@ export interface WebContainerRunner extends WorkspaceRunner {
25
24
  * Runs the files of a `Workspace` as an app in a WebContainer, with a dev server, a Preview tab, a Terminal tab, and a
26
25
  * Connect tab for `connect`. Only desktops start it on their own.
27
26
  */
28
- export declare function webContainer(options?: WebContainerRunnerOptions): WebContainerRunner;
29
- //#endregion
27
+ export declare function webContainer(options?: WebContainerRunnerOptions): WebContainerRunner;
@@ -7,7 +7,7 @@ import { WorkspaceTerminal } from "../workspace-terminal.js";
7
7
  import { computed, getCurrentInstance, h, onMounted, onScopeDispose, ref, shallowRef, watch } from "vue";
8
8
  import { checkWebContainerSupport } from "@vite-hub/web-container";
9
9
  import { useWebContainer } from "@vite-hub/web-container/vue";
10
- //#region src/workspace/runners/web-container.ts
10
+ // src/workspace/runners/web-container.ts
11
11
  const stageLabels = {
12
12
  checking: "Checking the browser",
13
13
  booting: "Starting WebContainer",
@@ -182,5 +182,4 @@ function webContainer(options = {}) {
182
182
  workspace: current
183
183
  };
184
184
  }
185
- //#endregion
186
185
  export { webContainer };
@@ -1,5 +1,4 @@
1
1
  import { SlotsType, VNode } from "vue";
2
- //#region src/workspace/workspace-bar.d.ts
3
2
  /**
4
3
  * The 44px bar over a workspace. From the start: the sidebar button (when `sidebar` is set), the `lead` slot (such as a
5
4
  * logo and a title), the `examples` slot (a `WorkspaceExamples`), the step label, the default slot (such as the run
@@ -47,5 +46,4 @@ export declare const WorkspaceBar: import("vue").DefineComponent<import("vue").E
47
46
  examples?: () => VNode[];
48
47
  default?: () => VNode[];
49
48
  actions?: () => VNode[];
50
- }>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
51
- //#endregion
49
+ }>, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,6 +1,6 @@
1
- import { r as useUIComponent } from "../../nuxt-ui-CgvMzO5v.js";
1
+ import { r as useUIComponent } from "../../nuxt-ui-7ByUrymx.js";
2
2
  import { defineComponent, h } from "vue";
3
- //#region src/workspace/workspace-bar.ts
3
+ // src/workspace/workspace-bar.ts
4
4
  /**
5
5
  * The 44px bar over a workspace. From the start: the sidebar button (when `sidebar` is set), the `lead` slot (such as a
6
6
  * logo and a title), the `examples` slot (a `WorkspaceExamples`), the step label, the default slot (such as the run
@@ -47,5 +47,4 @@ const WorkspaceBar = defineComponent({
47
47
  ]);
48
48
  }
49
49
  });
50
- //#endregion
51
50
  export { WorkspaceBar };
@@ -1,7 +1,6 @@
1
1
  import { PropType } from "vue";
2
2
  import { WebContainerStage, WebContainerStep } from "@vite-hub/web-container";
3
3
  import { UseWebContainerStatus, WebContainerFailure } from "@vite-hub/web-container/vue";
4
- //#region src/workspace/workspace-boot-status.d.ts
5
4
  type ChecklistStage = Extract<WebContainerStage, "checking" | "booting" | "mounting" | "installing" | "starting">;
6
5
  export type BootStepState = "pending" | "running" | "done" | "failed" | "skipped";
7
6
  export interface BootStepView {
@@ -72,4 +71,4 @@ export declare const WorkspaceBootStatus: import("vue").DefineComponent<import("
72
71
  failure: WebContainerFailure;
73
72
  online: boolean;
74
73
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
75
- //#endregion
74
+ export {};
@@ -1,7 +1,7 @@
1
- import { t as formatDuration } from "../../format-orwcdZL_.js";
1
+ import { t as formatDuration } from "../../format-Bc9m7-r0.js";
2
2
  import { icon } from "./icons.js";
3
3
  import { computed, defineComponent, h, onBeforeUnmount, ref, watch } from "vue";
4
- //#region src/workspace/workspace-boot-status.ts
4
+ // src/workspace/workspace-boot-status.ts
5
5
  const checklist = [
6
6
  {
7
7
  label: "Check browser support",
@@ -203,5 +203,4 @@ const WorkspaceBootStatus = defineComponent({
203
203
  };
204
204
  }
205
205
  });
206
- //#endregion
207
206
  export { WorkspaceBootStatus, bootChecklist };
@@ -1,4 +1,3 @@
1
- //#region src/workspace/workspace-editor-head.d.ts
2
1
  /**
3
2
  * The row over the editor: the path of the open file as a breadcrumb, a "Read-only" mark for a file that the reader
4
3
  * cannot edit, and a button that wraps long lines. Put it in the `editor-head` slot of `WorkspaceShell`, which makes the
@@ -43,5 +42,4 @@ export declare const WorkspaceEditorHead: import("vue").DefineComponent<import("
43
42
  }>, {
44
43
  wrap: boolean;
45
44
  readonly: boolean;
46
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
47
- //#endregion
45
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,8 +1,8 @@
1
- import { r as useUIComponent } from "../../nuxt-ui-CgvMzO5v.js";
2
- import { icon } from "./icons.js";
1
+ import { r as useUIComponent } from "../../nuxt-ui-7ByUrymx.js";
3
2
  import { fileIcon } from "./file-icons.js";
3
+ import { icon } from "./icons.js";
4
4
  import { defineComponent, h } from "vue";
5
- //#region src/workspace/workspace-editor-head.ts
5
+ // src/workspace/workspace-editor-head.ts
6
6
  /**
7
7
  * The row over the editor: the path of the open file as a breadcrumb, a "Read-only" mark for a file that the reader
8
8
  * cannot edit, and a button that wraps long lines. Put it in the `editor-head` slot of `WorkspaceShell`, which makes the
@@ -62,5 +62,4 @@ const WorkspaceEditorHead = defineComponent({
62
62
  };
63
63
  }
64
64
  });
65
- //#endregion
66
65
  export { WorkspaceEditorHead };
@@ -1,5 +1,4 @@
1
1
  import { WorkspaceCursor } from "./workspace-status.js";
2
- //#region src/workspace/workspace-editor.d.ts
3
2
  /** A CodeMirror 6 editor for one file. CodeMirror loads when the editor mounts, so it stays out of pages that do not show code. */
4
3
  export declare const WorkspaceEditor: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
5
4
  /** The file path. It picks the language. */
@@ -56,5 +55,4 @@ export declare const WorkspaceEditor: import("vue").DefineComponent<import("vue"
56
55
  wrap: boolean;
57
56
  modelValue: string;
58
57
  readonly: boolean;
59
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
60
- //#endregion
58
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, h, onBeforeUnmount, onMounted, ref, watch } from "vue";
2
- //#region src/workspace/workspace-editor.ts
2
+ // src/workspace/workspace-editor.ts
3
3
  /** A CodeMirror 6 editor for one file. CodeMirror loads when the editor mounts, so it stays out of pages that do not show code. */
4
4
  const WorkspaceEditor = defineComponent({
5
5
  name: "WorkspaceEditor",
@@ -76,5 +76,4 @@ const WorkspaceEditor = defineComponent({
76
76
  }, [h("pre", { class: "vh-ws-editor-fallback" }, props.modelValue)]);
77
77
  }
78
78
  });
79
- //#endregion
80
79
  export { WorkspaceEditor };
@@ -1,5 +1,4 @@
1
1
  import { PropType } from "vue";
2
- //#region src/workspace/workspace-examples.d.ts
3
2
  /** One example of a workspace: an app that the reader can open. */
4
3
  export interface WorkspaceExample {
5
4
  /** The id in share links, where the key stays `template` so older links open. */
@@ -70,5 +69,4 @@ export declare const WorkspaceExamples: import("vue").DefineComponent<import("vu
70
69
  }>, {
71
70
  label: string;
72
71
  modelValue: string | null;
73
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
74
- //#endregion
72
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,6 +1,6 @@
1
- import { r as useUIComponent } from "../../nuxt-ui-CgvMzO5v.js";
1
+ import { r as useUIComponent } from "../../nuxt-ui-7ByUrymx.js";
2
2
  import { computed, defineComponent, h } from "vue";
3
- //#region src/workspace/workspace-examples.ts
3
+ // src/workspace/workspace-examples.ts
4
4
  /** The examples by group, in the order of their first example. Examples without a group come first. */
5
5
  function groupExamples(examples) {
6
6
  const groups = /* @__PURE__ */ new Map([[void 0, []]]);
@@ -68,5 +68,4 @@ const WorkspaceExamples = defineComponent({
68
68
  }, () => [h("span", { class: "vh-ws-muted" }, props.label), h("span", { class: "vh-ws-examples-current" }, current.value?.label)]));
69
69
  }
70
70
  });
71
- //#endregion
72
71
  export { WorkspaceExamples, groupExamples };
@@ -1,4 +1,3 @@
1
- //#region src/workspace/workspace-file-link.d.ts
2
1
  /** What a file link asks of the workspace that holds it. */
3
2
  export interface WorkspaceFileOpener {
4
3
  /** Opens `path` in the editor. A path that does not exist yet can open as a new, empty file. */
@@ -31,5 +30,4 @@ export declare const WorkspaceFileLink: import("vue").DefineComponent<import("vu
31
30
  };
32
31
  }>> & Readonly<{
33
32
  onOpen?: ((path: string) => any) | undefined;
34
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
35
- //#endregion
33
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, h, inject, provide } from "vue";
2
- //#region src/workspace/workspace-file-link.ts
2
+ // src/workspace/workspace-file-link.ts
3
3
  const fileOpenerKey = Symbol("WorkspaceFileOpener");
4
4
  /**
5
5
  * Lets the file links under this component open files. A workspace calls it with its own `show`. A page that puts the
@@ -35,5 +35,4 @@ path: {
35
35
  }, slots.default?.() ?? props.path.split("/").pop());
36
36
  }
37
37
  });
38
- //#endregion
39
38
  export { WorkspaceFileLink, provideWorkspaceFileOpener };
@@ -1,5 +1,4 @@
1
1
  import { PropType } from "vue";
2
- //#region src/workspace/workspace-file-tree.d.ts
3
2
  /** The file list of a workspace, with an icon per file type and a dot on each edited file. */
4
3
  export declare const WorkspaceFileTree: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
5
4
  paths: {
@@ -49,5 +48,4 @@ export declare const WorkspaceFileTree: import("vue").DefineComponent<import("vu
49
48
  label: string;
50
49
  selected: string;
51
50
  edited: readonly string[] | ReadonlySet<string>;
52
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
53
- //#endregion
51
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,7 +1,7 @@
1
- import { n as useFileTree, t as FileTree } from "../../file-tree-C4OYgbV-.js";
1
+ import { n as useFileTree, t as FileTree } from "../../file-tree-CRFIdtzw.js";
2
2
  import { fileTreeIcons } from "./file-icons.js";
3
3
  import { computed, defineComponent, h, onBeforeUnmount, watch } from "vue";
4
- //#region src/workspace/workspace-file-tree.ts
4
+ // src/workspace/workspace-file-tree.ts
5
5
  const treeCSS = `
6
6
  [data-type="item"][data-item-selected="true"] { box-shadow: inset 1px 0 0 var(--vh-ws-accent); }
7
7
  [data-type="item"][data-item-type="folder"] > [data-item-section="content"] { color: var(--vh-highlighted); }
@@ -71,5 +71,4 @@ const WorkspaceFileTree = defineComponent({
71
71
  });
72
72
  }
73
73
  });
74
- //#endregion
75
74
  export { WorkspaceFileTree };
@@ -1,6 +1,5 @@
1
- import { t as WorkspaceStep } from "../../workspace-steps-Bgph2rpr.js";
1
+ import { t as WorkspaceStep } from "../../workspace-steps-BKByX9DW.js";
2
2
  import { PropType } from "vue";
3
- //#region src/workspace/workspace-guide.d.ts
4
3
  /**
5
4
  * The guide of a lesson: the step's position and title, the page's text in the default slot, and Back and Next at the
6
5
  * bottom of the column. It never parses Markdown: render the step's text into the slot. Put it in the `guide` slot of
@@ -48,5 +47,4 @@ export declare const WorkspaceGuide: import("vue").DefineComponent<import("vue")
48
47
  title: string;
49
48
  step: number;
50
49
  steps: readonly WorkspaceStep[];
51
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
52
- //#endregion
50
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,7 +1,7 @@
1
- import { r as useUIComponent } from "../../nuxt-ui-CgvMzO5v.js";
1
+ import { r as useUIComponent } from "../../nuxt-ui-7ByUrymx.js";
2
2
  import { keepFocus, useStepModel } from "./workspace-steps.js";
3
3
  import { defineComponent, h, ref, watch } from "vue";
4
- //#region src/workspace/workspace-guide.ts
4
+ // src/workspace/workspace-guide.ts
5
5
  /**
6
6
  * The guide of a lesson: the step's position and title, the page's text in the default slot, and Back and Next at the
7
7
  * bottom of the column. It never parses Markdown: render the step's text into the slot. Put it in the `guide` slot of
@@ -87,5 +87,4 @@ const WorkspaceGuide = defineComponent({
87
87
  };
88
88
  }
89
89
  });
90
- //#endregion
91
90
  export { WorkspaceGuide };
@@ -1,5 +1,4 @@
1
1
  import { PropType } from "vue";
2
- //#region src/workspace/workspace-issues.d.ts
3
2
  /**
4
3
  * A problem in the files, such as a parse error. `file` is the path of the file that it is in, and `line` the line of
5
4
  * that file, from 1.
@@ -42,5 +41,4 @@ export declare const WorkspaceIssues: import("vue").DefineComponent<import("vue"
42
41
  onShow?: ((path: string) => any) | undefined;
43
42
  }>, {
44
43
  empty: string;
45
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
46
- //#endregion
44
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,5 +1,5 @@
1
1
  import { defineComponent, h } from "vue";
2
- //#region src/workspace/workspace-issues.ts
2
+ // src/workspace/workspace-issues.ts
3
3
  function where(issue) {
4
4
  if (issue.file === void 0) return issue.line === void 0 ? void 0 : `Line ${issue.line}`;
5
5
  return issue.line === void 0 ? issue.file : `${issue.file}:${issue.line}`;
@@ -45,5 +45,4 @@ const WorkspaceIssues = defineComponent({
45
45
  };
46
46
  }
47
47
  });
48
- //#endregion
49
48
  export { WorkspaceIssues };
@@ -1,5 +1,4 @@
1
1
  import { PropType } from "vue";
2
- //#region src/workspace/workspace-preview.d.ts
3
2
  /**
4
3
  * Runs first in every HTML page of the preview: pass it to `useWebContainer({ previewScript })`. The preview is
5
4
  * cross-origin, so the page around it cannot read its address or its history. This script sends the page address to
@@ -68,5 +67,4 @@ export declare const WorkspacePreview: import("vue").DefineComponent<import("vue
68
67
  path: string;
69
68
  url: string;
70
69
  device: WorkspacePreviewDevice;
71
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
72
- //#endregion
70
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,8 +1,8 @@
1
- import { r as useUIComponent } from "../../nuxt-ui-CgvMzO5v.js";
2
1
  import { DeviceFrame } from "../components/device-frame.js";
2
+ import { r as useUIComponent } from "../../nuxt-ui-7ByUrymx.js";
3
3
  import { icon } from "./icons.js";
4
4
  import { computed, defineComponent, h, onBeforeUnmount, onMounted, ref, shallowRef, useId, watch } from "vue";
5
- //#region src/workspace/workspace-preview.ts
5
+ // src/workspace/workspace-preview.ts
6
6
  function join(base, path) {
7
7
  try {
8
8
  return new URL(path || "/", base).href;
@@ -303,5 +303,4 @@ const WorkspacePreview = defineComponent({
303
303
  };
304
304
  }
305
305
  });
306
- //#endregion
307
306
  export { WorkspacePreview, workspacePreviewScript };
@@ -1,2 +1,2 @@
1
- import { a as WorkspaceTabItem, i as WorkspaceTab, n as WorkspaceShell, r as WorkspaceSplits, t as WorkspaceLayout } from "../../workspace-shell-BJGnoF3p.js";
1
+ import { a as WorkspaceTabItem, i as WorkspaceTab, n as WorkspaceShell, r as WorkspaceSplits, t as WorkspaceLayout } from "../../workspace-shell-ChCwWPyv.js";
2
2
  export { WorkspaceLayout, WorkspaceShell, WorkspaceSplits, WorkspaceTab, WorkspaceTabItem };
@@ -1,6 +1,6 @@
1
- import { r as useUIComponent } from "../../nuxt-ui-CgvMzO5v.js";
1
+ import { r as useUIComponent } from "../../nuxt-ui-7ByUrymx.js";
2
2
  import { computed, defineComponent, h, onMounted, ref, watch } from "vue";
3
- //#region src/workspace/workspace-shell.ts
3
+ // src/workspace/workspace-shell.ts
4
4
  const defaultSplits = {
5
5
  "side": {
6
6
  files: 199,
@@ -340,5 +340,4 @@ const WorkspaceShell = defineComponent({
340
340
  function renderSlot(slots, name, props) {
341
341
  return slots[name]?.(props);
342
342
  }
343
- //#endregion
344
343
  export { WorkspaceShell };