@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.
- package/README.md +102 -76
- package/dist/andromeeda-DaUPZ4_A.js +147 -0
- package/dist/announce-B0DLwflT.js +31 -0
- package/dist/{attachments-BzTwqRTU.js → attachments-DgwoQZKY.js} +3 -5
- package/dist/aurora-x-B5RPZ9i5.js +162 -0
- package/dist/{avatar-stack-DPRFuezh.d.ts → avatar-stack-C0IKwj6g.d.ts} +1 -3
- package/dist/ayu-dark-DXTaGA7I.js +137 -0
- package/dist/ayu-light-BCYi80Fe.js +137 -0
- package/dist/ayu-mirage-CgbXz-N5.js +137 -0
- package/dist/catppuccin-frappe-MV2xzv44.js +266 -0
- package/dist/catppuccin-latte-CL6jjlVD.js +266 -0
- package/dist/catppuccin-macchiato-Bp6oZJVK.js +266 -0
- package/dist/catppuccin-mocha-DOHrQ4dw.js +266 -0
- package/dist/{choices-input-ByXJvDn1.d.ts → choices-input-BUf-QqGj.d.ts} +0 -2
- package/dist/{code-view-DsU-xzic.js → code-view-Cg4nyTNA.js} +6 -8
- package/dist/{colors-BghReA9C-CjF9gnmy.js → colors-BghReA9C-DEq4bhEP.js} +1 -2
- package/dist/{comment-attachments-C4yNbcx5.js → comment-attachments-CMpYOJod.js} +1 -2
- package/dist/{comment-composer-fINL5bxo.d.ts → comment-composer-BI6CNJyO.d.ts} +3 -5
- package/dist/{comment-composer-jYv2ULNP.js → comment-composer-CzU7DdfD.js} +260 -16
- package/dist/{comment-layer-C_sbPIR5.d.ts → comment-layer-DyVstrs-.d.ts} +5 -7
- package/dist/{comment-list-BcSaLngS.d.ts → comment-list-CSK5o-Ua.d.ts} +3 -5
- package/dist/comment-marks.css +18 -22
- package/dist/{comment-panel-CfvdRUMX.d.ts → comment-panel-CEvOI3gk.d.ts} +3 -5
- package/dist/{comment-person-CLPlW_SS.js → comment-person-D_IyIjXo.js} +1 -2
- package/dist/{comment-pin-DHOdRvUw.d.ts → comment-pin-C5UeLPTa.d.ts} +1 -3
- package/dist/{comment-row-Bn3nr8l5.js → comment-row-DPMWI5Z0.js} +3 -4
- package/dist/{comment-selection-bar-CyVBNYl9.d.ts → comment-selection-bar-CVuS-FNL.d.ts} +0 -2
- package/dist/comment-send-DPzV9B8S.js +275 -0
- package/dist/comment-send-MmxFsOQf.d.ts +23 -0
- package/dist/comment-send.css +267 -0
- package/dist/comment-thread-CbPtoi8-.js +796 -0
- package/dist/{comment-thread-DKJjmWN0.d.ts → comment-thread-DGm1cGJt.d.ts} +4 -8
- package/dist/{comment-visibility-DsVuVndP.d.ts → comment-visibility-CYctacNx.d.ts} +0 -2
- package/dist/{comments-D0d26ghV.js → comments-C0OdHh_F.js} +5 -8
- package/dist/{comments-D8hulVPy.d.ts → comments-DrE9DU-E.d.ts} +1 -3
- package/dist/{comments-context-C2lOZyQ5.js → comments-context-CrjhleVA.js} +4 -5
- package/dist/{config-Dk67emQt.js → config-DztmAYYn.js} +9 -3
- package/dist/{config-DgxBW013.d.ts → config-xL4EBeXw.d.ts} +11 -4
- package/dist/dark-plus-CXEBSjk4.js +148 -0
- package/dist/dracula-Bvyz6eCo.js +165 -0
- package/dist/dracula-soft-a9indxAQ.js +115 -0
- package/dist/{draw-DzSmD7uo-Dwz8zoH2.js → draw-DzSmD7uo-Cb7s9kxJ.js} +359 -708
- package/dist/drop-field-CNZgwFVO.js +162 -0
- package/dist/{editor-C_wt4RRV.js → editor-CGiEVOnB.js} +44 -6
- package/dist/effects-g4QucvgO.js +2955 -0
- package/dist/{error-diagnostics-SXtnk6bz.js → error-diagnostics-BlgA9rI2.js} +1 -2
- package/dist/everforest-dark-9sVAxG7I.js +99 -0
- package/dist/everforest-light-BocTn_Hd.js +99 -0
- package/dist/{file-tree-C4OYgbV-.js → file-tree-CRFIdtzw.js} +58 -116
- package/dist/{file-tree-DlT9RGhu.d.ts → file-tree-DOtkeBaq.d.ts} +0 -14
- package/dist/{format-orwcdZL_.js → format-Bc9m7-r0.js} +1 -2
- package/dist/{getSingularPatch-Dsb8EgxR.js → getSingularPatch-C7LmmBrW.js} +375 -79
- package/dist/github-dark-BO9SXswM.js +142 -0
- package/dist/github-dark-default-XB_RHfBI.js +90 -0
- package/dist/github-dark-dimmed-BoGxaWUQ.js +137 -0
- package/dist/github-dark-high-contrast-B3X6t2fG.js +137 -0
- package/dist/github-light-D7VHHlUH.js +142 -0
- package/dist/github-light-default-BuDsGtcR.js +137 -0
- package/dist/github-light-high-contrast-GodZiAwh.js +137 -0
- package/dist/gruvbox-dark-hard-CU4LuKJc.js +140 -0
- package/dist/gruvbox-dark-medium-DjAsuXuH.js +140 -0
- package/dist/gruvbox-dark-soft-D3Zttj6R.js +140 -0
- package/dist/gruvbox-light-hard-4M_9onwE.js +140 -0
- package/dist/gruvbox-light-medium-D9QwS4kQ.js +140 -0
- package/dist/gruvbox-light-soft-DhYcfQql.js +140 -0
- package/dist/{handlers-DMl-Na3x.js → handlers-CnbkvXjX.js} +1 -2
- package/dist/headless.d.ts +4 -4
- package/dist/headless.js +1 -1
- package/dist/highlights-C2AbEdDI.js +2630 -0
- package/dist/hold-to-delete-BSMrpE-i.d.ts +49 -0
- package/dist/hold-to-delete-Cludb56v.js +433 -0
- package/dist/horizon-bright-B9u59onx.js +97 -0
- package/dist/horizon-tItY9ATR.js +97 -0
- package/dist/houston-BqKrKNQv.js +207 -0
- package/dist/icon-XZaCUZTG.d.ts +29 -0
- package/dist/{image-preview-C9tdkmEj.js → image-preview-DrLXrHpp.js} +3 -4
- package/dist/{index-CNY1uNTh.d.ts → index-B2cbt3py.d.ts} +3945 -2445
- package/dist/{index-BYRFQfCd.d.ts → index-B_PSX-5h.d.ts} +5 -11
- package/dist/index.d.ts +35 -32
- package/dist/index.js +71 -73
- package/dist/install-Ba9mkkqI.js +16 -0
- package/dist/kanagawa-dragon-BH1K3aMw.js +159 -0
- package/dist/kanagawa-lotus-C-4JB2io.js +159 -0
- package/dist/kanagawa-wave-DTQqNe5k.js +159 -0
- package/dist/laserwave-BkV0uIaG.js +84 -0
- package/dist/light-plus-CxYgEz7U.js +149 -0
- package/dist/list-DUTAo0uC.js +270 -0
- package/dist/loader-CYMEjzwc.js +79 -0
- package/dist/{markdown-editor-CMbNZOdN.js → markdown-editor-3gY9MLvy.js} +237 -38
- package/dist/{markdown-editor-wQF0yD5o.d.ts → markdown-editor-B7gD60tp.d.ts} +0 -6
- package/dist/markdown-editor.d.ts +1 -5
- package/dist/markdown-editor.js +2 -2
- package/dist/markdown-renderer-DFS1vf1h.js +26578 -0
- package/dist/material-theme-Xdm37UUJ.js +105 -0
- package/dist/material-theme-darker-Blaz0cgN.js +105 -0
- package/dist/material-theme-lighter-BddVxBVA.js +105 -0
- package/dist/material-theme-ocean-C4qhfFHi.js +105 -0
- package/dist/material-theme-palenight-ChHDqoiA.js +105 -0
- package/dist/{message-scroller-jrYN9dG9.d.ts → message-scroller-a6qaYHno.d.ts} +2 -4
- package/dist/min-dark-DpGSNjaW.js +125 -0
- package/dist/min-light-BMfJUsU2.js +122 -0
- package/dist/monokai-DW19E-zg.js +162 -0
- package/dist/motion/core.d.ts +4 -0
- package/dist/motion/core.js +11 -0
- package/dist/motion-core-DNl7TR1T.d.ts +402 -0
- package/dist/motion.d.ts +14 -0
- package/dist/motion.js +13 -0
- package/dist/night-owl-B7Of8ee9.js +188 -0
- package/dist/night-owl-light-Vu9tTNpS.js +189 -0
- package/dist/nord-CDzJumeN.js +128 -0
- package/dist/nuxt-ui-7ByUrymx.js +43 -0
- package/dist/nuxt.d.ts +1 -7
- package/dist/nuxt.js +16 -11
- package/dist/one-dark-pro-hS_sNo5p.js +124 -0
- package/dist/one-light-CD4ItzSC.js +153 -0
- package/dist/opt-out-D66l60sg.js +205 -0
- package/dist/parts/components/agent-session.d.ts +1 -3
- package/dist/parts/components/agent-session.js +3 -4
- package/dist/parts/components/attachment.d.ts +2 -4
- package/dist/parts/components/attachment.js +3 -4
- package/dist/parts/components/avatar-stack.d.ts +1 -1
- package/dist/parts/components/avatar-stack.js +4 -4
- package/dist/parts/components/bubble.d.ts +2 -4
- package/dist/parts/components/bubble.js +2 -3
- package/dist/parts/components/chat-message.d.ts +1 -3
- package/dist/parts/components/chat-message.js +1 -2
- package/dist/parts/components/chat-session.d.ts +2 -4
- package/dist/parts/components/chat-session.js +1 -2
- package/dist/parts/components/chat.d.ts +1 -3
- package/dist/parts/components/chat.js +4 -5
- package/dist/parts/components/code-block.d.ts +2 -4
- package/dist/parts/components/code-block.js +3 -4
- package/dist/parts/components/code-view.d.ts +1 -3
- package/dist/parts/components/code-view.js +1 -2
- package/dist/parts/components/comment-composer.d.ts +1 -1
- package/dist/parts/components/comment-composer.js +1 -2
- package/dist/parts/components/comment-layer.d.ts +1 -1
- package/dist/parts/components/comment-layer.js +28 -11
- package/dist/parts/components/comment-list.d.ts +1 -1
- package/dist/parts/components/comment-list.js +13 -9
- package/dist/parts/components/comment-panel.d.ts +1 -1
- package/dist/parts/components/comment-panel.js +27 -14
- package/dist/parts/components/comment-pin.d.ts +1 -1
- package/dist/parts/components/comment-pin.js +2 -3
- package/dist/parts/components/comment-selection-bar.d.ts +1 -1
- package/dist/parts/components/comment-selection-bar.js +4 -4
- package/dist/parts/components/comment-send.d.ts +2 -0
- package/dist/parts/components/comment-send.js +1 -0
- package/dist/parts/components/comment-thread.d.ts +1 -1
- package/dist/parts/components/comment-thread.js +2 -597
- package/dist/parts/components/comments.d.ts +9 -8
- package/dist/parts/components/comments.js +7 -6
- package/dist/parts/components/connection-status.d.ts +1 -3
- package/dist/parts/components/connection-status.js +1 -2
- package/dist/parts/components/copy-button.d.ts +14 -6
- package/dist/parts/components/copy-button.js +225 -1
- package/dist/parts/components/device-frame.d.ts +3 -5
- package/dist/parts/components/device-frame.js +1 -2
- package/dist/parts/components/drop-field.d.ts +67 -0
- package/dist/parts/components/drop-field.js +76 -0
- package/dist/parts/components/file-tree.d.ts +1 -1
- package/dist/parts/components/file-tree.js +1 -2
- package/dist/parts/components/filter-search.d.ts +2 -4
- package/dist/parts/components/filter-search.js +2 -3
- package/dist/parts/components/hold-to-delete.d.ts +80 -0
- package/dist/parts/components/hold-to-delete.js +75 -0
- package/dist/parts/components/markdown-editor.d.ts +1 -1
- package/dist/parts/components/markdown-editor.js +1 -2
- package/dist/parts/components/markdown-renderer.d.ts +1 -3
- package/dist/parts/components/markdown-renderer.js +1 -23077
- package/dist/parts/components/markdown.d.ts +1 -3
- package/dist/parts/components/markdown.js +2 -3
- package/dist/parts/components/marker.d.ts +2 -4
- package/dist/parts/components/marker.js +2 -3
- package/dist/parts/components/message-parts.d.ts +1 -3
- package/dist/parts/components/message-parts.js +14 -7
- package/dist/parts/components/message.d.ts +1 -3
- package/dist/parts/components/message.js +2 -3
- package/dist/parts/components/motion-list.d.ts +40 -0
- package/dist/parts/components/motion-list.js +41 -0
- package/dist/parts/components/motion.d.ts +122 -0
- package/dist/parts/components/motion.js +171 -0
- package/dist/parts/components/patch-parsers.d.ts +1 -1
- package/dist/parts/components/patch-parsers.js +1 -2
- package/dist/parts/components/progress.d.ts +39 -0
- package/dist/parts/components/progress.js +53 -0
- package/dist/parts/components/prompt-input.d.ts +5 -7
- package/dist/parts/components/prompt-input.js +5 -6
- package/dist/parts/components/relative-time.d.ts +1 -3
- package/dist/parts/components/relative-time.js +1 -2
- package/dist/parts/components/status.d.ts +1 -3
- package/dist/parts/components/status.js +1 -2
- package/dist/parts/components/sync-status.d.ts +1 -3
- package/dist/parts/components/sync-status.js +3 -3
- package/dist/parts/components/tool-list.d.ts +2 -4
- package/dist/parts/components/tool-list.js +2 -3
- package/dist/parts/components/trace-run.d.ts +2 -4
- package/dist/parts/components/trace-run.js +4 -5
- package/dist/parts/components/trace.d.ts +2 -4
- package/dist/parts/components/trace.js +2 -3
- package/dist/parts/composables/attachments.d.ts +1 -3
- package/dist/parts/composables/attachments.js +1 -2
- package/dist/parts/composables/highlighted-code.d.ts +1 -3
- package/dist/parts/composables/highlighted-code.js +1 -2
- package/dist/parts/headless/choices-input.d.ts +1 -1
- package/dist/parts/headless/choices-input.js +3 -4
- package/dist/parts/headless/comment-visibility.d.ts +1 -1
- package/dist/parts/headless/comment-visibility.js +1 -2
- package/dist/parts/headless/comments.d.ts +1 -1
- package/dist/parts/headless/comments.js +1 -2
- package/dist/parts/headless/message-scroller.d.ts +1 -1
- package/dist/parts/headless/message-scroller.js +2 -3
- package/dist/parts/playground/paths.d.ts +1 -3
- package/dist/parts/playground/paths.js +1 -2
- package/dist/parts/playground/share.d.ts +34 -2
- package/dist/parts/playground/share.js +1 -2
- package/dist/parts/playground/zip.d.ts +1 -3
- package/dist/parts/playground/zip.js +2 -3
- package/dist/parts/workspace/browser-support-notice.d.ts +2 -4
- package/dist/parts/workspace/browser-support-notice.js +13 -6
- package/dist/parts/workspace/codemirror.d.ts +10 -3
- package/dist/parts/workspace/codemirror.js +40 -8
- package/dist/parts/workspace/connect-panel.d.ts +2 -4
- package/dist/parts/workspace/connect-panel.js +2 -3
- package/dist/parts/workspace/connect-store.d.ts +1 -3
- package/dist/parts/workspace/connect-store.js +1 -2
- package/dist/parts/workspace/file-icons.d.ts +14 -0
- package/dist/parts/workspace/file-icons.js +81 -0
- package/dist/parts/workspace/icons.d.ts +2 -2
- package/dist/parts/workspace/icons.js +2 -2
- package/dist/parts/workspace/runners/render.d.ts +24 -0
- package/dist/parts/workspace/runners/render.js +123 -0
- package/dist/parts/workspace/runners/web-container.d.ts +27 -0
- package/dist/parts/workspace/runners/web-container.js +185 -0
- package/dist/parts/workspace/workspace-bar.d.ts +49 -0
- package/dist/parts/workspace/workspace-bar.js +50 -0
- package/dist/parts/workspace/workspace-boot-status.d.ts +1 -2
- package/dist/parts/workspace/workspace-boot-status.js +2 -3
- package/dist/parts/workspace/workspace-editor-head.d.ts +45 -0
- package/dist/parts/workspace/workspace-editor-head.js +65 -0
- package/dist/parts/workspace/workspace-editor.d.ts +18 -3
- package/dist/parts/workspace/workspace-editor.js +30 -5
- package/dist/parts/workspace/workspace-examples.d.ts +72 -0
- package/dist/parts/workspace/workspace-examples.js +71 -0
- package/dist/parts/workspace/workspace-file-link.d.ts +33 -0
- package/dist/parts/workspace/workspace-file-link.js +38 -0
- package/dist/parts/workspace/workspace-file-tree.d.ts +9 -11
- package/dist/parts/workspace/workspace-file-tree.js +28 -22
- package/dist/parts/workspace/workspace-guide.d.ts +50 -0
- package/dist/parts/workspace/workspace-guide.js +90 -0
- package/dist/parts/workspace/workspace-issues.d.ts +44 -0
- package/dist/parts/workspace/workspace-issues.js +48 -0
- package/dist/parts/workspace/workspace-preview.d.ts +1 -3
- package/dist/parts/workspace/workspace-preview.js +2 -3
- package/dist/parts/workspace/workspace-shell.d.ts +2 -88
- package/dist/parts/workspace/workspace-shell.js +132 -80
- package/dist/parts/workspace/workspace-sidebar.d.ts +73 -0
- package/dist/parts/workspace/workspace-sidebar.js +131 -0
- package/dist/parts/workspace/workspace-start.d.ts +45 -0
- package/dist/parts/workspace/workspace-start.js +59 -0
- package/dist/parts/workspace/workspace-status.d.ts +67 -0
- package/dist/parts/workspace/workspace-status.js +73 -0
- package/dist/parts/workspace/workspace-steps.d.ts +2 -0
- package/dist/parts/workspace/workspace-steps.js +127 -0
- package/dist/parts/workspace/workspace-task.d.ts +18 -0
- package/dist/parts/workspace/workspace-task.js +19 -0
- package/dist/parts/workspace/workspace-terminal.d.ts +1 -3
- package/dist/parts/workspace/workspace-terminal.js +1 -2
- package/dist/parts/workspace/workspace.d.ts +249 -0
- package/dist/parts/workspace/workspace.js +664 -0
- package/dist/{payload-text-sjkYAwvw.js → payload-text-DQNRbJY5.js} +1 -2
- package/dist/{pierre-code-view-NE35tkmR.js → pierre-code-view-C49BVDrc.js} +11333 -6718
- package/dist/pierre-dark-BtKHt2e4.js +166 -0
- package/dist/pierre-dark-CXW3KeKO.js +5 -0
- package/dist/pierre-dark-protanopia-deuteranopia-CS0Gs25Q.js +166 -0
- package/dist/pierre-dark-protanopia-deuteranopia-DajNv_A3.js +3 -0
- package/dist/pierre-dark-soft-BUFoeBEf.js +3 -0
- package/dist/pierre-dark-soft-D__0FtYP.js +166 -0
- package/dist/pierre-dark-tritanopia-C6fHROmA.js +166 -0
- package/dist/pierre-dark-tritanopia-oa3gpgIR.js +3 -0
- package/dist/pierre-dark-vibrant-COXpyAHb.js +166 -0
- package/dist/pierre-dark-vibrant-CYRHyDoW.js +3 -0
- package/dist/pierre-light-BD28C_vh.js +166 -0
- package/dist/pierre-light-BN0rL1e5.js +5 -0
- package/dist/pierre-light-protanopia-deuteranopia-CYsDHJt0.js +3 -0
- package/dist/pierre-light-protanopia-deuteranopia-CwWH1xGL.js +166 -0
- package/dist/pierre-light-soft-BkKY4pMj.js +166 -0
- package/dist/pierre-light-soft-F2QIpNbb.js +3 -0
- package/dist/pierre-light-tritanopia-BbKKIkua.js +3 -0
- package/dist/pierre-light-tritanopia-Mpubahl7.js +166 -0
- package/dist/pierre-light-vibrant-CdV9Besm.js +3 -0
- package/dist/pierre-light-vibrant-x11J3_aO.js +166 -0
- package/dist/plastic-BQnXkmvK.js +137 -0
- package/dist/playground.d.ts +1 -1
- package/dist/poimandres-DEfG-8RI.js +124 -0
- package/dist/progress-DL9k-ERG.js +265 -0
- package/dist/red-BfKrAjYG.js +169 -0
- package/dist/registry-DAIjCjWd.js +77 -0
- package/dist/{relative-time-BVmjOsYG.js → relative-time-DJnw45tr.js} +5 -8
- package/dist/ring-BN4d8vtw.js +173 -0
- package/dist/{rolldown-runtime-C9mWXvCC.js → rolldown-runtime-CahUhzF3.js} +2 -3
- package/dist/rose-pine-D0rhGGFg.js +136 -0
- package/dist/rose-pine-dawn-7jVaYUiD.js +136 -0
- package/dist/rose-pine-moon-CFyS0Mvu.js +136 -0
- package/dist/runtime/nuxt-plugin.d.ts +0 -2
- package/dist/runtime/nuxt-plugin.js +3 -4
- package/dist/{sankey-CAYwt82B-D4uDQoMR.js → sankey-CAYwt82B-BAAk7WkJ.js} +147 -151
- package/dist/shiki-CbfEu_Az.js +607 -0
- package/dist/slack-dark-Bv-KFSBD.js +87 -0
- package/dist/slack-ochin-Dg2BAv1D.js +107 -0
- package/dist/{slot-part-Doic71uh.js → slot-part-BWHvQ3mK.js} +1 -2
- package/dist/snazzy-light-sYDdR9rx.js +93 -0
- package/dist/solarized-dark-COt2tTmN.js +160 -0
- package/dist/solarized-light-BJrwFarZ.js +160 -0
- package/dist/stream-tokenizer-ByC3l0HQ.js +263 -0
- package/dist/styles.css +590 -573
- package/dist/synthwave-84-NUDBykTM.js +410 -0
- package/dist/{temml-BilSAAws.js → temml-m3ad3bfq.js} +2 -3
- package/dist/text-BWzZFnGY.js +822 -0
- package/dist/theme.d.ts +44 -3
- package/dist/theme.js +23 -9
- package/dist/themes-DKugPHlg.js +323 -0
- package/dist/tokyo-night-DD3B2QcO.js +153 -0
- package/dist/travel-CwVhU_GS.js +180 -0
- package/dist/tween-Dv3IIIQG.js +61 -0
- package/dist/{types-Dj7vp0lZ.d.ts → types-Ceh7h7NT.d.ts} +1 -3
- package/dist/vesper-oVQYrv8Y.js +99 -0
- package/dist/visual-copy-CHHBfJ6O.js +14 -0
- package/dist/vite.d.ts +1 -3
- package/dist/vite.js +13 -3
- package/dist/vitesse-black-D84DQZAP.js +196 -0
- package/dist/vitesse-dark-CMZ6olk_.js +196 -0
- package/dist/vitesse-light-D9d8hLOY.js +196 -0
- package/dist/{vue-DGstVdGn.js → vue-BlknIGIm.js} +43 -34
- package/dist/{vue-BDmSCtay.js → vue-kCdzBu0N.js} +4 -7
- package/dist/workspace-shell-ChCwWPyv.d.ts +110 -0
- package/dist/workspace-steps-BKByX9DW.d.ts +70 -0
- package/dist/workspace.d.ts +16 -5
- package/dist/workspace.js +16 -3
- package/package.json +66 -55
- package/dist/copy-button-CRN3kmSD.js +0 -253
- package/dist/icon-swap.css +0 -69
- package/dist/nuxt-ui-DSQFzq3s.js +0 -38
- package/dist/parts/playground/highlight.d.ts +0 -5
- package/dist/parts/playground/highlight.js +0 -23
- package/dist/parts/playground/playground-render.d.ts +0 -126
- package/dist/parts/playground/playground-render.js +0 -356
- package/dist/parts/workspace/playground-container.d.ts +0 -192
- package/dist/parts/workspace/playground-container.js +0 -603
- package/dist/pierre-dark-CzUmjETS.js +0 -6
- package/dist/pierre-dark-protanopia-deuteranopia-C35UMuvO.js +0 -4
- package/dist/pierre-dark-soft-Bb-4-biO.js +0 -4
- package/dist/pierre-dark-tritanopia-CIJISGWF.js +0 -4
- package/dist/pierre-dark-vibrant-8oZzB3gw.js +0 -4
- package/dist/pierre-light-Dn6E0sWv.js +0 -6
- package/dist/pierre-light-protanopia-deuteranopia-u0U7N4Hn.js +0 -4
- package/dist/pierre-light-soft-BCU6fuhO.js +0 -4
- package/dist/pierre-light-tritanopia-3c8Yx3co.js +0 -4
- package/dist/pierre-light-vibrant-Cwh332o_.js +0 -4
- package/dist/share-DM4eNy4q.d.ts +0 -37
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
import { l as onReducedMotionChange, r as createSpring, s as springs } from "./opt-out-D66l60sg.js";
|
|
2
|
+
import { u as writeMotionStyle } from "./registry-DAIjCjWd.js";
|
|
3
|
+
import { l as reduced, o as motionSkipped } from "./ring-BN4d8vtw.js";
|
|
4
|
+
import { i as playTween, t as cubicBezier } from "./tween-Dv3IIIQG.js";
|
|
5
|
+
// src/motion/helpers/shake.ts
|
|
6
|
+
const duration = .4;
|
|
7
|
+
const step = cubicBezier(.36, .07, .19, .97);
|
|
8
|
+
const frames = [
|
|
9
|
+
[0, 0],
|
|
10
|
+
[.1, -1],
|
|
11
|
+
[.2, 3],
|
|
12
|
+
[.3, -5],
|
|
13
|
+
[.4, 5],
|
|
14
|
+
[.5, -5],
|
|
15
|
+
[.6, 5],
|
|
16
|
+
[.7, -5],
|
|
17
|
+
[.8, 3],
|
|
18
|
+
[.9, -1],
|
|
19
|
+
[1, 0]
|
|
20
|
+
];
|
|
21
|
+
const shaking = /* @__PURE__ */ new WeakMap();
|
|
22
|
+
/** The offset in pixels at `progress` of the shake: each step between two frames runs on the curve. */
|
|
23
|
+
function shakeOffset(progress) {
|
|
24
|
+
const index = Math.max(0, frames.findIndex(([at]) => at >= progress) - 1);
|
|
25
|
+
const [fromAt, from] = frames[index];
|
|
26
|
+
const [toAt, to] = frames[index + 1] ?? frames[index];
|
|
27
|
+
const local = toAt > fromAt ? (progress - fromAt) / (toAt - fromAt) : 1;
|
|
28
|
+
return from + (to - from) * step(Math.min(1, Math.max(0, local)));
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Shakes `element` from side to side once, when it refuses an action but keeps what the person wrote, such as a comment
|
|
32
|
+
* box that Esc did not close. A second call starts the shake again. Under reduced motion and inside
|
|
33
|
+
* `data-motion="none"` it does nothing: show the refusal with a color instead.
|
|
34
|
+
*/
|
|
35
|
+
function shake(element) {
|
|
36
|
+
shaking.get(element)?.();
|
|
37
|
+
if (motionSkipped(element) || reduced()) return;
|
|
38
|
+
const timeline = playTween(duration, (progress) => writeMotionStyle(element, { translate: progress >= 1 ? null : `${shakeOffset(progress).toFixed(2)}px 0` }));
|
|
39
|
+
const stop = () => {
|
|
40
|
+
timeline.stop();
|
|
41
|
+
shaking.delete(element);
|
|
42
|
+
writeMotionStyle(element, { translate: null });
|
|
43
|
+
};
|
|
44
|
+
shaking.set(element, stop);
|
|
45
|
+
timeline.done.then((completed) => completed && stop());
|
|
46
|
+
}
|
|
47
|
+
// src/motion/helpers/travel.ts
|
|
48
|
+
/**
|
|
49
|
+
* The offset that draws a box `rest` as the box `box`, when the scale turns around the point `origin` of the screen.
|
|
50
|
+
* The layer writes the separate `translate` and `scale` properties, which apply around the same point as the element's
|
|
51
|
+
* own transform, so the element can keep a transform of its own.
|
|
52
|
+
*/
|
|
53
|
+
function travelOffset(rest, origin, box) {
|
|
54
|
+
const scaleX = rest.width ? box.width / rest.width : 1;
|
|
55
|
+
const scaleY = rest.height ? box.height / rest.height : 1;
|
|
56
|
+
return {
|
|
57
|
+
x: box.left - origin.x - scaleX * (rest.left - origin.x),
|
|
58
|
+
y: box.top - origin.y - scaleY * (rest.top - origin.y),
|
|
59
|
+
scaleX,
|
|
60
|
+
scaleY
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
const running = /* @__PURE__ */ new WeakMap();
|
|
64
|
+
const keys = [
|
|
65
|
+
"left",
|
|
66
|
+
"top",
|
|
67
|
+
"width",
|
|
68
|
+
"height"
|
|
69
|
+
];
|
|
70
|
+
/** The element's box with nothing of the travel written, and the point of the screen that its scale turns around. */
|
|
71
|
+
function measure(element) {
|
|
72
|
+
const { translate, scale } = element.style;
|
|
73
|
+
writeMotionStyle(element, {
|
|
74
|
+
translate: null,
|
|
75
|
+
scale: null
|
|
76
|
+
});
|
|
77
|
+
const box = element.getBoundingClientRect();
|
|
78
|
+
writeMotionStyle(element, { scale: "0.5" });
|
|
79
|
+
const half = element.getBoundingClientRect();
|
|
80
|
+
writeMotionStyle(element, { translate: "100px 100px" });
|
|
81
|
+
const shifted = element.getBoundingClientRect();
|
|
82
|
+
writeMotionStyle(element, {
|
|
83
|
+
translate,
|
|
84
|
+
scale
|
|
85
|
+
});
|
|
86
|
+
return {
|
|
87
|
+
box,
|
|
88
|
+
origin: {
|
|
89
|
+
x: 2 * half.left - box.left,
|
|
90
|
+
y: 2 * half.top - box.top
|
|
91
|
+
},
|
|
92
|
+
pixels: {
|
|
93
|
+
x: (shifted.left - half.left) / 100 || 1,
|
|
94
|
+
y: (shifted.top - half.top) / 100 || 1
|
|
95
|
+
}
|
|
96
|
+
};
|
|
97
|
+
}
|
|
98
|
+
/**
|
|
99
|
+
* Rule 8 for a thing that moves to a new place: a picture that opens larger from where it is in the page, and goes back
|
|
100
|
+
* there when it closes. The element travels from `from` to its own place, or from where it is to `to`, on a spring for
|
|
101
|
+
* each of its position and its size, and keeps its speed when a new travel starts in the middle of one.
|
|
102
|
+
*
|
|
103
|
+
* The page lays the element out at its new place first; the travel only draws it on the way there, with `translate`
|
|
104
|
+
* and `scale`. Under reduced motion and inside `data-motion="none"` a new travel leaves the element at its own place,
|
|
105
|
+
* and `done` is false. If reduced motion turns on during a travel, it lands at once.
|
|
106
|
+
*/
|
|
107
|
+
function travel(element, options) {
|
|
108
|
+
const previous = running.get(element);
|
|
109
|
+
if (motionSkipped(element) || reduced()) {
|
|
110
|
+
previous?.stop();
|
|
111
|
+
return {
|
|
112
|
+
done: Promise.resolve(false),
|
|
113
|
+
stop() {}
|
|
114
|
+
};
|
|
115
|
+
}
|
|
116
|
+
const { box, origin, pixels } = measure(element);
|
|
117
|
+
const target = options.to ?? box;
|
|
118
|
+
const preset = options.preset ?? springs.snappy;
|
|
119
|
+
let finish;
|
|
120
|
+
const done = new Promise((resolve) => {
|
|
121
|
+
finish = resolve;
|
|
122
|
+
});
|
|
123
|
+
const draw = () => {
|
|
124
|
+
if (running.get(element) !== motion) return;
|
|
125
|
+
const offset = travelOffset(box, origin, {
|
|
126
|
+
left: parts.left.value,
|
|
127
|
+
top: parts.top.value,
|
|
128
|
+
width: parts.width.value,
|
|
129
|
+
height: parts.height.value
|
|
130
|
+
});
|
|
131
|
+
writeMotionStyle(element, {
|
|
132
|
+
translate: `${offset.x / pixels.x}px ${offset.y / pixels.y}px`,
|
|
133
|
+
scale: `${offset.scaleX} ${offset.scaleY}`
|
|
134
|
+
});
|
|
135
|
+
if (keys.some((key) => parts[key].active)) return;
|
|
136
|
+
unwatch();
|
|
137
|
+
if (!options.to) {
|
|
138
|
+
running.delete(element);
|
|
139
|
+
writeMotionStyle(element, {
|
|
140
|
+
translate: null,
|
|
141
|
+
scale: null
|
|
142
|
+
});
|
|
143
|
+
}
|
|
144
|
+
finish(true);
|
|
145
|
+
};
|
|
146
|
+
const spring = (key) => createSpring(options.from?.[key] ?? previous?.parts[key].value ?? box[key], draw, preset);
|
|
147
|
+
const parts = {
|
|
148
|
+
left: spring("left"),
|
|
149
|
+
top: spring("top"),
|
|
150
|
+
width: spring("width"),
|
|
151
|
+
height: spring("height")
|
|
152
|
+
};
|
|
153
|
+
const velocity = keys.map((key) => previous?.parts[key].velocity ?? 0);
|
|
154
|
+
const unwatch = onReducedMotionChange((isReduced) => {
|
|
155
|
+
if (isReduced) for (const key of keys) parts[key].set(target[key]);
|
|
156
|
+
});
|
|
157
|
+
const motion = {
|
|
158
|
+
parts,
|
|
159
|
+
stop() {
|
|
160
|
+
if (running.get(element) !== motion) return;
|
|
161
|
+
unwatch();
|
|
162
|
+
for (const key of keys) parts[key].stop();
|
|
163
|
+
running.delete(element);
|
|
164
|
+
writeMotionStyle(element, {
|
|
165
|
+
translate: null,
|
|
166
|
+
scale: null
|
|
167
|
+
});
|
|
168
|
+
finish(false);
|
|
169
|
+
}
|
|
170
|
+
};
|
|
171
|
+
previous?.stop();
|
|
172
|
+
running.set(element, motion);
|
|
173
|
+
keys.forEach((key, index) => parts[key].to(target[key], { velocity: velocity[index] }));
|
|
174
|
+
draw();
|
|
175
|
+
return {
|
|
176
|
+
done,
|
|
177
|
+
stop: motion.stop
|
|
178
|
+
};
|
|
179
|
+
}
|
|
180
|
+
export { shake as n, travel as t };
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { a as onEachFrame, u as prefersReducedMotion } from "./opt-out-D66l60sg.js";
|
|
2
|
+
// src/motion/helpers/tween.ts
|
|
3
|
+
/** The CSS `cubic-bezier()` curve, so a helper uses the same curves as the prototype. */
|
|
4
|
+
function cubicBezier(x1, y1, x2, y2) {
|
|
5
|
+
const at = (t, a, b) => 3 * a * t * (1 - t) ** 2 + 3 * b * t ** 2 * (1 - t) + t ** 3;
|
|
6
|
+
return (x) => {
|
|
7
|
+
if (x <= 0 || x >= 1) return x <= 0 ? 0 : 1;
|
|
8
|
+
let low = 0;
|
|
9
|
+
let high = 1;
|
|
10
|
+
let t = x;
|
|
11
|
+
for (let step = 0; step < 24; step++) {
|
|
12
|
+
if (at(t, x1, x2) < x) low = t;
|
|
13
|
+
else high = t;
|
|
14
|
+
t = (low + high) / 2;
|
|
15
|
+
}
|
|
16
|
+
return at(t, y1, y2);
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
const linear = (progress) => progress;
|
|
20
|
+
const easeIn = cubicBezier(.42, 0, 1, 1);
|
|
21
|
+
const easeOut = cubicBezier(0, 0, .58, 1);
|
|
22
|
+
/**
|
|
23
|
+
* Moves a value from `from` to `to` on the shared frame loop of the motion layer, so ¼× slows it. `onFrame` gets the
|
|
24
|
+
* value on each frame, also `from` while the delay runs, and `onDone` runs once at the end.
|
|
25
|
+
*/
|
|
26
|
+
function tween(from, to, options, onFrame, onDone) {
|
|
27
|
+
const delay = (options.delay ?? 0) / 1e3;
|
|
28
|
+
const duration = options.duration / 1e3;
|
|
29
|
+
const ease = options.ease ?? linear;
|
|
30
|
+
const reducedAtStart = prefersReducedMotion();
|
|
31
|
+
let elapsed = 0;
|
|
32
|
+
return { stop: onEachFrame((seconds) => {
|
|
33
|
+
elapsed += seconds;
|
|
34
|
+
const progress = !reducedAtStart && prefersReducedMotion() || elapsed >= delay + duration ? 1 : duration > 0 ? Math.max(0, (elapsed - delay) / duration) : 0;
|
|
35
|
+
onFrame(from + (to - from) * ease(progress));
|
|
36
|
+
if (progress < 1) return true;
|
|
37
|
+
onDone?.();
|
|
38
|
+
return false;
|
|
39
|
+
}) };
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* Plays a timeline of `duration` seconds after `delay` seconds. `draw` gets the progress from 0 to 1 after `ease`. `done`
|
|
43
|
+
* resolves with `true` when it ends, or with `false` when `stop()` ended it first.
|
|
44
|
+
*/
|
|
45
|
+
function playTween(duration, draw, ease = linear, delay = 0) {
|
|
46
|
+
let finish = () => {};
|
|
47
|
+
const done = new Promise((resolve) => finish = resolve);
|
|
48
|
+
const timeline = tween(0, 1, {
|
|
49
|
+
duration: duration * 1e3,
|
|
50
|
+
delay: delay * 1e3,
|
|
51
|
+
ease
|
|
52
|
+
}, draw, () => finish(true));
|
|
53
|
+
return {
|
|
54
|
+
done,
|
|
55
|
+
stop: () => {
|
|
56
|
+
timeline.stop();
|
|
57
|
+
finish(false);
|
|
58
|
+
}
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
export { tween as a, playTween as i, easeIn as n, easeOut as r, cubicBezier as t };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import "./index-
|
|
1
|
+
import "./index-B_PSX-5h.js";
|
|
2
2
|
import { UIDataTypes, UIMessage, UITools } from "ai";
|
|
3
|
-
//#region src/types.d.ts
|
|
4
3
|
type ViteHubUIMessage<Metadata = unknown, DataParts extends UIDataTypes = UIDataTypes, Tools extends UITools = UITools> = UIMessage<Metadata, DataParts, Tools>;
|
|
5
4
|
interface ViteHubUISession<Message extends UIMessage = UIMessage> {
|
|
6
5
|
createdAt?: Date | string;
|
|
@@ -29,5 +28,4 @@ interface AgentToolInspection {
|
|
|
29
28
|
};
|
|
30
29
|
outputSchema?: AgentInspectionValue;
|
|
31
30
|
}
|
|
32
|
-
//#endregion
|
|
33
31
|
export { ViteHubUISession as i, AgentToolInspection as n, ViteHubUIMessage as r, AgentInspectionValue as t };
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
// ../../node_modules/.pnpm/@pierre+highlights@0.5.2/node_modules/@pierre/highlights/dist/themes/vesper.js
|
|
2
|
+
var vesper_default = {
|
|
3
|
+
"name": "Vesper",
|
|
4
|
+
"appearance": "dark",
|
|
5
|
+
"style": {
|
|
6
|
+
"background": "#101010",
|
|
7
|
+
"text": "#FFFFFF",
|
|
8
|
+
"editor.background": "#101010",
|
|
9
|
+
"editor.foreground": "#FFFFFF",
|
|
10
|
+
"editor.active_line.background": "#101010",
|
|
11
|
+
"search.match_background": "#575757",
|
|
12
|
+
"players": [{
|
|
13
|
+
"cursor": "#FFC799ff",
|
|
14
|
+
"background": "#FFC799ff",
|
|
15
|
+
"selection": "#FFC7993d"
|
|
16
|
+
}, {
|
|
17
|
+
"cursor": "#99FFE4ff",
|
|
18
|
+
"background": "#99FFE4ff",
|
|
19
|
+
"selection": "#99FFE43d"
|
|
20
|
+
}],
|
|
21
|
+
"error": "#FF8080ff",
|
|
22
|
+
"warning": "#FFC799ff",
|
|
23
|
+
"info": "#7E7E7Eff",
|
|
24
|
+
"hint": "#A0A0A0",
|
|
25
|
+
"terminal.ansi.black": "#101010",
|
|
26
|
+
"terminal.ansi.red": "#f5a191",
|
|
27
|
+
"terminal.ansi.green": "#90b99f",
|
|
28
|
+
"terminal.ansi.yellow": "#e6b99d",
|
|
29
|
+
"terminal.ansi.blue": "#aca1cf",
|
|
30
|
+
"terminal.ansi.magenta": "#e29eca",
|
|
31
|
+
"terminal.ansi.cyan": "#ea83a5",
|
|
32
|
+
"terminal.ansi.white": "#A0A0A0",
|
|
33
|
+
"terminal.ansi.bright_black": "#7E7E7E",
|
|
34
|
+
"terminal.ansi.bright_red": "#ff8080",
|
|
35
|
+
"terminal.ansi.bright_green": "#99FFE4",
|
|
36
|
+
"terminal.ansi.bright_yellow": "#FFC799",
|
|
37
|
+
"terminal.ansi.bright_blue": "#b9aeda",
|
|
38
|
+
"terminal.ansi.bright_magenta": "#ecaad6",
|
|
39
|
+
"terminal.ansi.bright_cyan": "#f591b2",
|
|
40
|
+
"terminal.ansi.bright_white": "#ffffff",
|
|
41
|
+
"syntax": {
|
|
42
|
+
"attribute": { "color": "#A0A0A0" },
|
|
43
|
+
"comment": { "color": "#8b8b8b94" },
|
|
44
|
+
"comment.doc": { "color": "#8b8b8b94" },
|
|
45
|
+
"constant": { "color": "#FFC799" },
|
|
46
|
+
"constructor": { "color": "#FFC799" },
|
|
47
|
+
"emphasis": {
|
|
48
|
+
"color": "#FFFFFF",
|
|
49
|
+
"font_style": "italic"
|
|
50
|
+
},
|
|
51
|
+
"emphasis.strong": {
|
|
52
|
+
"color": "#FFFFFF",
|
|
53
|
+
"font_weight": 700
|
|
54
|
+
},
|
|
55
|
+
"function": { "color": "#FFC799" },
|
|
56
|
+
"keyword": { "color": "#A0A0A0" },
|
|
57
|
+
"label": { "color": "#FFC799" },
|
|
58
|
+
"link_text": { "color": "#FFFFFF" },
|
|
59
|
+
"link_uri": { "color": "#FFFFFF" },
|
|
60
|
+
"number": { "color": "#FFC799" },
|
|
61
|
+
"operator": { "color": "#A0A0A0" },
|
|
62
|
+
"punctuation": { "color": "#A0A0A0" },
|
|
63
|
+
"punctuation.bracket": { "color": "#A0A0A0" },
|
|
64
|
+
"punctuation.delimiter": { "color": "#A0A0A0" },
|
|
65
|
+
"punctuation.list_marker": { "color": "#A0A0A0" },
|
|
66
|
+
"punctuation.special": { "color": "#A0A0A0" },
|
|
67
|
+
"string": { "color": "#99FFE4" },
|
|
68
|
+
"string.escape": { "color": "#FFC799" },
|
|
69
|
+
"string.regex": { "color": "#99FFE4" },
|
|
70
|
+
"string.special": { "color": "#99FFE4" },
|
|
71
|
+
"string.special.symbol": { "color": "#99FFE4" },
|
|
72
|
+
"tag": { "color": "#FFC799" },
|
|
73
|
+
"text.literal": { "color": "#99FFE4" },
|
|
74
|
+
"title": { "color": "#FFC799" },
|
|
75
|
+
"type": { "color": "#FFC799" },
|
|
76
|
+
"variable": { "color": "#FFFFFF" },
|
|
77
|
+
"variable.special": { "color": "#A0A0A0" },
|
|
78
|
+
"boolean": { "color": "#FFC799" },
|
|
79
|
+
"embedded": { "color": "#FFFFFF" },
|
|
80
|
+
"namespace": { "color": "#FFC799" },
|
|
81
|
+
"predictive": { "color": "#8b8b8b94" },
|
|
82
|
+
"preproc": { "color": "#A0A0A0" },
|
|
83
|
+
"primary": { "color": "#FFFFFF" },
|
|
84
|
+
"property": { "color": "#FFF" },
|
|
85
|
+
"selector": { "color": "#FFC799" },
|
|
86
|
+
"enum": { "color": "#FFC799" },
|
|
87
|
+
"hint": { "color": "#A0A0A0" },
|
|
88
|
+
"variant": { "color": "#FFF" },
|
|
89
|
+
"diff.minus": { "color": "#FF8080" },
|
|
90
|
+
"diff.plus": { "color": "#99FFE4" },
|
|
91
|
+
"property.json_key": { "color": "#FFC799" },
|
|
92
|
+
"selector.pseudo": { "color": "#A0A0A0" }
|
|
93
|
+
},
|
|
94
|
+
"created": "#81b88b",
|
|
95
|
+
"deleted": "#c74e39",
|
|
96
|
+
"modified": "#E2C08D"
|
|
97
|
+
}
|
|
98
|
+
};
|
|
99
|
+
export { vesper_default as default };
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// src/motion/helpers/visual-copy.ts
|
|
2
|
+
function visualCopy(element) {
|
|
3
|
+
const copy = element.cloneNode(true);
|
|
4
|
+
copy.inert = true;
|
|
5
|
+
copy.setAttribute("aria-hidden", "true");
|
|
6
|
+
for (const node of [copy, ...copy.querySelectorAll("[id], [name], [form], input, button, select, textarea, fieldset")]) {
|
|
7
|
+
node.removeAttribute("id");
|
|
8
|
+
node.removeAttribute("name");
|
|
9
|
+
node.removeAttribute("form");
|
|
10
|
+
if (node.matches("input, button, select, textarea, fieldset")) node.setAttribute("disabled", "");
|
|
11
|
+
}
|
|
12
|
+
return copy;
|
|
13
|
+
}
|
|
14
|
+
export { visualCopy as t };
|
package/dist/vite.d.ts
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
import { PluginOption } from "vite";
|
|
2
|
-
//#region src/vite.d.ts
|
|
3
2
|
export interface ViteHubUIViteOptions {
|
|
4
3
|
comark?: false | {
|
|
5
4
|
prose?: boolean;
|
|
6
5
|
};
|
|
7
6
|
nuxtUI?: Record<string, unknown>;
|
|
8
7
|
}
|
|
9
|
-
export default function viteHubUI(options?: ViteHubUIViteOptions): PluginOption[];
|
|
10
|
-
//#endregion
|
|
8
|
+
export default function viteHubUI(options?: ViteHubUIViteOptions): PluginOption[];
|
package/dist/vite.js
CHANGED
|
@@ -1,12 +1,22 @@
|
|
|
1
1
|
import comark from "@comark/vue/vite";
|
|
2
2
|
import nuxtUi from "@nuxt/ui/vite";
|
|
3
|
-
|
|
3
|
+
// src/vite.ts
|
|
4
4
|
function asPluginOption(plugin) {
|
|
5
5
|
return plugin;
|
|
6
6
|
}
|
|
7
7
|
function viteHubUI(options = {}) {
|
|
8
8
|
const nuxtUIOptions = options.nuxtUI;
|
|
9
|
-
return [
|
|
9
|
+
return [
|
|
10
|
+
{
|
|
11
|
+
name: "vite-hub:ui:lazy-barrel",
|
|
12
|
+
apply: "build",
|
|
13
|
+
config(config) {
|
|
14
|
+
if (config.build?.rolldownOptions?.experimental?.lazyBarrel !== void 0) return;
|
|
15
|
+
return { build: { rolldownOptions: { experimental: { lazyBarrel: true } } } };
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
asPluginOption(nuxtUi(nuxtUIOptions)),
|
|
19
|
+
options.comark === false ? void 0 : asPluginOption(comark(options.comark))
|
|
20
|
+
].filter((plugin) => plugin !== void 0);
|
|
10
21
|
}
|
|
11
|
-
//#endregion
|
|
12
22
|
export { viteHubUI as default };
|
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
// ../../node_modules/.pnpm/@pierre+highlights@0.5.2/node_modules/@pierre/highlights/dist/themes/vitesse-black.js
|
|
2
|
+
var vitesse_black_default = {
|
|
3
|
+
"name": "Vitesse Black",
|
|
4
|
+
"appearance": "dark",
|
|
5
|
+
"style": {
|
|
6
|
+
"background": "#000000",
|
|
7
|
+
"text": "#dbd7cacc",
|
|
8
|
+
"editor.background": "#000000",
|
|
9
|
+
"editor.foreground": "#dbd7cacc",
|
|
10
|
+
"editor.active_line.background": "#121212",
|
|
11
|
+
"editor.document_highlight.bracket_background": "#eeeeee18",
|
|
12
|
+
"search.match_background": "#121212",
|
|
13
|
+
"players": [
|
|
14
|
+
{
|
|
15
|
+
"cursor": "#dbd7cacc",
|
|
16
|
+
"background": "#dbd7cacc",
|
|
17
|
+
"selection": "#363636"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"cursor": "#d4976c",
|
|
21
|
+
"background": "#d4976c",
|
|
22
|
+
"selection": "#d4976c4D"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"cursor": "#e6cc77",
|
|
26
|
+
"background": "#e6cc77",
|
|
27
|
+
"selection": "#e6cc774D"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"cursor": "#4d9375",
|
|
31
|
+
"background": "#4d9375",
|
|
32
|
+
"selection": "#4d93754D"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"cursor": "#5eaab5",
|
|
36
|
+
"background": "#5eaab5",
|
|
37
|
+
"selection": "#5eaab54D"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"cursor": "#6394bf",
|
|
41
|
+
"background": "#6394bf",
|
|
42
|
+
"selection": "#6394bf4D"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"cursor": "#d9739f",
|
|
46
|
+
"background": "#d9739f",
|
|
47
|
+
"selection": "#d9739f4D"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"cursor": "#cb7676",
|
|
51
|
+
"background": "#cb7676",
|
|
52
|
+
"selection": "#cb76764D"
|
|
53
|
+
}
|
|
54
|
+
],
|
|
55
|
+
"error": "#cb7676",
|
|
56
|
+
"warning": "#d4976c",
|
|
57
|
+
"info": "#6394bf",
|
|
58
|
+
"hint": "#444444",
|
|
59
|
+
"created": "#4d9375",
|
|
60
|
+
"deleted": "#cb7676",
|
|
61
|
+
"modified": "#6394bf",
|
|
62
|
+
"terminal.ansi.black": "#dbd7cacc",
|
|
63
|
+
"terminal.ansi.red": "#cb7676",
|
|
64
|
+
"terminal.ansi.green": "#4d9375",
|
|
65
|
+
"terminal.ansi.yellow": "#e6cc77",
|
|
66
|
+
"terminal.ansi.blue": "#6394bf",
|
|
67
|
+
"terminal.ansi.magenta": "#d9739f",
|
|
68
|
+
"terminal.ansi.cyan": "#5eaab5",
|
|
69
|
+
"terminal.ansi.white": "#dbd7ca",
|
|
70
|
+
"terminal.ansi.bright_black": "#777777",
|
|
71
|
+
"terminal.ansi.bright_red": "#cb7676",
|
|
72
|
+
"terminal.ansi.bright_green": "#4d9375",
|
|
73
|
+
"terminal.ansi.bright_yellow": "#e6cc77",
|
|
74
|
+
"terminal.ansi.bright_blue": "#6394bf",
|
|
75
|
+
"terminal.ansi.bright_magenta": "#d9739f",
|
|
76
|
+
"terminal.ansi.bright_cyan": "#5eaab5",
|
|
77
|
+
"terminal.ansi.bright_white": "#dbd7ca",
|
|
78
|
+
"syntax": {
|
|
79
|
+
"attribute": { "color": "#bd976a" },
|
|
80
|
+
"boolean": { "color": "#4d9375" },
|
|
81
|
+
"character": { "color": "#dbd7cacc" },
|
|
82
|
+
"character.special": { "color": "#dbd7cacc" },
|
|
83
|
+
"comment": { "color": "#758575dd" },
|
|
84
|
+
"comment.doc": { "color": "#758575dd" },
|
|
85
|
+
"concept": { "color": "#dbd7cacc" },
|
|
86
|
+
"constant": { "color": "#bd976a" },
|
|
87
|
+
"constant.builtin": { "color": "#cb7676" },
|
|
88
|
+
"constant.macro": { "color": "#c99076" },
|
|
89
|
+
"constructor": { "color": "#4d9375" },
|
|
90
|
+
"diff": { "color": "#dbd7cacc" },
|
|
91
|
+
"diff.minus": { "color": "#dbd7cacc" },
|
|
92
|
+
"diff.plus": { "color": "#dbd7cacc" },
|
|
93
|
+
"embedded": { "color": "#dbd7cacc" },
|
|
94
|
+
"emphasis": {
|
|
95
|
+
"color": "#dbd7cacc",
|
|
96
|
+
"font_style": "italic"
|
|
97
|
+
},
|
|
98
|
+
"emphasis.strong": {
|
|
99
|
+
"color": "#dbd7cacc",
|
|
100
|
+
"font_weight": 700
|
|
101
|
+
},
|
|
102
|
+
"enum": { "color": "#dbd7cacc" },
|
|
103
|
+
"field": { "color": "#dbd7cacc" },
|
|
104
|
+
"float": { "color": "#dbd7cacc" },
|
|
105
|
+
"function": { "color": "#80a665" },
|
|
106
|
+
"function.builtin": { "color": "#80a665" },
|
|
107
|
+
"function.call": { "color": "#80a665" },
|
|
108
|
+
"function.decorator": { "color": "#80a665" },
|
|
109
|
+
"function.macro": { "color": "#80a665" },
|
|
110
|
+
"function.method": { "color": "#80a665" },
|
|
111
|
+
"function.method.call": { "color": "#80a665" },
|
|
112
|
+
"hint": { "color": "#dbd7cacc" },
|
|
113
|
+
"keyword": { "color": "#cb7676" },
|
|
114
|
+
"keyword.conditional": { "color": "#4d9375" },
|
|
115
|
+
"keyword.conditional.ternary": { "color": "#4d9375" },
|
|
116
|
+
"keyword.coroutine": { "color": "#4d9375" },
|
|
117
|
+
"keyword.debug": { "color": "#4d9375" },
|
|
118
|
+
"keyword.directive": { "color": "#4d9375" },
|
|
119
|
+
"keyword.directive.define": { "color": "#4d9375" },
|
|
120
|
+
"keyword.exception": { "color": "#4d9375" },
|
|
121
|
+
"keyword.export": { "color": "#4d9375" },
|
|
122
|
+
"keyword.function": { "color": "#4d9375" },
|
|
123
|
+
"keyword.import": { "color": "#4d9375" },
|
|
124
|
+
"keyword.modifier": { "color": "#4d9375" },
|
|
125
|
+
"keyword.operator": { "color": "#4d9375" },
|
|
126
|
+
"keyword.repeat": { "color": "#4d9375" },
|
|
127
|
+
"keyword.return": { "color": "#4d9375" },
|
|
128
|
+
"keyword.type": { "color": "#5DA994" },
|
|
129
|
+
"label": { "color": "#80a665" },
|
|
130
|
+
"link_text": { "color": "#c98a7d" },
|
|
131
|
+
"link_uri": { "color": "#758575dd" },
|
|
132
|
+
"module": { "color": "#dbd7cacc" },
|
|
133
|
+
"namespace": { "color": "#5d99a9" },
|
|
134
|
+
"number": { "color": "#4C9A91" },
|
|
135
|
+
"number.float": { "color": "#dbd7cacc" },
|
|
136
|
+
"operator": { "color": "#cb7676" },
|
|
137
|
+
"parameter": { "color": "#bd976a" },
|
|
138
|
+
"parent": { "color": "#dbd7cacc" },
|
|
139
|
+
"predictive": { "color": "#dbd7cacc" },
|
|
140
|
+
"predoc": { "color": "#dbd7cacc" },
|
|
141
|
+
"preproc": { "color": "#dbd7cacc" },
|
|
142
|
+
"primary": { "color": "#4d9375" },
|
|
143
|
+
"property": { "color": "#b8a965" },
|
|
144
|
+
"property.json_key": { "color": "#b8a965" },
|
|
145
|
+
"punctuation": { "color": "#444444" },
|
|
146
|
+
"punctuation.bracket": { "color": "#444444" },
|
|
147
|
+
"punctuation.delimiter": { "color": "#444444" },
|
|
148
|
+
"punctuation.delimiter.jsx": { "color": "#444444" },
|
|
149
|
+
"punctuation.list_marker": { "color": "#444444" },
|
|
150
|
+
"punctuation.special": { "color": "#444444" },
|
|
151
|
+
"punctuation.special.symbol": { "color": "#444444" },
|
|
152
|
+
"selector": { "color": "#bd976a" },
|
|
153
|
+
"selector.pseudo": { "color": "#80a665" },
|
|
154
|
+
"string": { "color": "#c98a7d" },
|
|
155
|
+
"string.doc": { "color": "#c98a7d" },
|
|
156
|
+
"string.documentation": { "color": "#c98a7d" },
|
|
157
|
+
"string.escape": { "color": "#6872ab" },
|
|
158
|
+
"punctuation.markup": { "color": "#444444" },
|
|
159
|
+
"string.regex": { "color": "#c4704f" },
|
|
160
|
+
"string.regexp": { "color": "#c4704f" },
|
|
161
|
+
"string.special": { "color": "#c98a7d" },
|
|
162
|
+
"string.special.path": { "color": "#c98a7d" },
|
|
163
|
+
"string.special.symbol": { "color": "#c98a7d" },
|
|
164
|
+
"string.special.url": { "color": "#c98a7d" },
|
|
165
|
+
"symbol": { "color": "#c98a7d" },
|
|
166
|
+
"tag": { "color": "#4d9375" },
|
|
167
|
+
"tag.attribute": { "color": "#4d9375" },
|
|
168
|
+
"tag.delimiter": { "color": "#4d9375" },
|
|
169
|
+
"tag.doctype": { "color": "#4d9375" },
|
|
170
|
+
"text": { "color": "#dbd7cacc" },
|
|
171
|
+
"text.literal": { "color": "#dedcd590" },
|
|
172
|
+
"title": {
|
|
173
|
+
"color": "#4d9375",
|
|
174
|
+
"font_weight": 700
|
|
175
|
+
},
|
|
176
|
+
"type": { "color": "#5d99a9" },
|
|
177
|
+
"type.builtin": { "color": "#5DA994" },
|
|
178
|
+
"type.builtin.class": { "color": "#6872ab" },
|
|
179
|
+
"type.class.definition": { "color": "#5DA994" },
|
|
180
|
+
"type.definition": { "color": "#5DA994" },
|
|
181
|
+
"type.interface": { "color": "#5DA994" },
|
|
182
|
+
"type.super": { "color": "#5DA994" },
|
|
183
|
+
"variable": { "color": "#bd976a" },
|
|
184
|
+
"variable.builtin": { "color": "#bd976a" },
|
|
185
|
+
"variable.member": { "color": "#bd976a" },
|
|
186
|
+
"variable.parameter": { "color": "#bd976a" },
|
|
187
|
+
"variable.special": { "color": "#c99076" },
|
|
188
|
+
"variant": { "color": "#bd976a" },
|
|
189
|
+
"constant.comment.todo": { "color": "#5eaab5" },
|
|
190
|
+
"string.comment.info": { "color": "#6394bf" },
|
|
191
|
+
"keyword.comment.warn": { "color": "#d4976c" },
|
|
192
|
+
"property.comment.error": { "color": "#cb7676" }
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
};
|
|
196
|
+
export { vitesse_black_default as default };
|