@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,169 @@
|
|
|
1
|
+
// ../../node_modules/.pnpm/@pierre+highlights@0.5.2/node_modules/@pierre/highlights/dist/themes/red.js
|
|
2
|
+
var red_default = {
|
|
3
|
+
"name": "Red",
|
|
4
|
+
"appearance": "dark",
|
|
5
|
+
"style": {
|
|
6
|
+
"background": "#390000ff",
|
|
7
|
+
"text": "#f8f8f8ff",
|
|
8
|
+
"editor.background": "#390000ff",
|
|
9
|
+
"editor.foreground": "#f8f8f8ff",
|
|
10
|
+
"editor.active_line.background": "#ff000033",
|
|
11
|
+
"editor.document_highlight.bracket_background": "#f8f8f81a",
|
|
12
|
+
"search.match_background": "#f8f8f833",
|
|
13
|
+
"players": [
|
|
14
|
+
{
|
|
15
|
+
"cursor": "#970000ff",
|
|
16
|
+
"background": "#97000026",
|
|
17
|
+
"selection": "#750000ff"
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"cursor": "#977100ff",
|
|
21
|
+
"background": "#97710026",
|
|
22
|
+
"selection": "#9771004d"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"cursor": "#4c9700ff",
|
|
26
|
+
"background": "#4c970026",
|
|
27
|
+
"selection": "#4c97004d"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"cursor": "#009726ff",
|
|
31
|
+
"background": "#00972626",
|
|
32
|
+
"selection": "#0097264d"
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"cursor": "#009797ff",
|
|
36
|
+
"background": "#00979726",
|
|
37
|
+
"selection": "#0097974d"
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"cursor": "#002697ff",
|
|
41
|
+
"background": "#00269726",
|
|
42
|
+
"selection": "#0026974d"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"cursor": "#4c0097ff",
|
|
46
|
+
"background": "#4c009726",
|
|
47
|
+
"selection": "#4c00974d"
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"cursor": "#970071ff",
|
|
51
|
+
"background": "#97007126",
|
|
52
|
+
"selection": "#9700714d"
|
|
53
|
+
}
|
|
54
|
+
],
|
|
55
|
+
"error": "#f44747ff",
|
|
56
|
+
"warning": "#cca700ff",
|
|
57
|
+
"info": "#3794ffff",
|
|
58
|
+
"hint": "#969696ff",
|
|
59
|
+
"terminal.ansi.black": "#000000ff",
|
|
60
|
+
"terminal.ansi.red": "#cd3131ff",
|
|
61
|
+
"terminal.ansi.green": "#0dbc79ff",
|
|
62
|
+
"terminal.ansi.yellow": "#e5e510ff",
|
|
63
|
+
"terminal.ansi.blue": "#2472c8ff",
|
|
64
|
+
"terminal.ansi.magenta": "#bc3fbcff",
|
|
65
|
+
"terminal.ansi.cyan": "#11a8cdff",
|
|
66
|
+
"terminal.ansi.white": "#e5e5e5ff",
|
|
67
|
+
"terminal.ansi.bright_black": "#666666ff",
|
|
68
|
+
"terminal.ansi.bright_red": "#f14c4cff",
|
|
69
|
+
"terminal.ansi.bright_green": "#23d18bff",
|
|
70
|
+
"terminal.ansi.bright_yellow": "#f5f543ff",
|
|
71
|
+
"terminal.ansi.bright_blue": "#3b8eeaff",
|
|
72
|
+
"terminal.ansi.bright_magenta": "#d670d6ff",
|
|
73
|
+
"terminal.ansi.bright_cyan": "#29b8dbff",
|
|
74
|
+
"terminal.ansi.bright_white": "#e5e5e5ff",
|
|
75
|
+
"syntax": {
|
|
76
|
+
"comment": {
|
|
77
|
+
"color": "#e7c0c0ff",
|
|
78
|
+
"font_style": "italic"
|
|
79
|
+
},
|
|
80
|
+
"comment.doc": {
|
|
81
|
+
"color": "#e7c0c0ff",
|
|
82
|
+
"font_style": "italic"
|
|
83
|
+
},
|
|
84
|
+
"string": { "color": "#cd8d8dff" },
|
|
85
|
+
"string.regex": { "color": "#ffb454ff" },
|
|
86
|
+
"string.escape": { "color": "#ffe862ff" },
|
|
87
|
+
"link_text": { "color": "#cd8d8dff" },
|
|
88
|
+
"number": { "color": "#994646ff" },
|
|
89
|
+
"boolean": { "color": "#994646ff" },
|
|
90
|
+
"constant.builtin": { "color": "#994646ff" },
|
|
91
|
+
"constant": { "color": "#994646ff" },
|
|
92
|
+
"variable": {
|
|
93
|
+
"color": "#fb9a4bff",
|
|
94
|
+
"font_style": "italic"
|
|
95
|
+
},
|
|
96
|
+
"variable.special": {
|
|
97
|
+
"color": "#fb9a4bff",
|
|
98
|
+
"font_style": "italic"
|
|
99
|
+
},
|
|
100
|
+
"variable.parameter": {
|
|
101
|
+
"color": "#fb9a4bff",
|
|
102
|
+
"font_style": "italic"
|
|
103
|
+
},
|
|
104
|
+
"keyword": { "color": "#f12727ff" },
|
|
105
|
+
"operator": { "color": "#f12727ff" },
|
|
106
|
+
"type": { "color": "#fec758ff" },
|
|
107
|
+
"type.builtin": { "color": "#9DF39FFF" },
|
|
108
|
+
"function": { "color": "#fec758ff" },
|
|
109
|
+
"function.builtin": { "color": "#ffb454ff" },
|
|
110
|
+
"tag": { "color": "#fec758ff" },
|
|
111
|
+
"attribute": { "color": "#fec758ff" },
|
|
112
|
+
"punctuation.special": { "color": "#ec0d1eff" },
|
|
113
|
+
"punctuation.delimiter": { "color": "#f8f8f8ff" },
|
|
114
|
+
"punctuation": { "color": "#f8f8f8ff" },
|
|
115
|
+
"preproc": { "color": "#f8f8f8ff" },
|
|
116
|
+
"title": {
|
|
117
|
+
"color": "#fec758ff",
|
|
118
|
+
"font_weight": 700
|
|
119
|
+
},
|
|
120
|
+
"emphasis.strong": { "font_weight": 700 },
|
|
121
|
+
"emphasis": {
|
|
122
|
+
"color": "#FB9A4BFF",
|
|
123
|
+
"font_style": "italic"
|
|
124
|
+
},
|
|
125
|
+
"text.literal": { "color": "#cd8d8dff" },
|
|
126
|
+
"enum": { "color": "#fec758ff" },
|
|
127
|
+
"property": {
|
|
128
|
+
"color": "#fb9a4bff",
|
|
129
|
+
"font_style": "italic"
|
|
130
|
+
},
|
|
131
|
+
"label": { "color": "#fec758ff" },
|
|
132
|
+
"constructor": { "color": "#fec758ff" },
|
|
133
|
+
"namespace": { "color": "#fec758ff" },
|
|
134
|
+
"diff.minus": { "color": "#ec9799ff" },
|
|
135
|
+
"diff.plus": { "color": "#41a83eff" },
|
|
136
|
+
"embedded": { "color": "#f8f8f8ff" },
|
|
137
|
+
"selector": { "color": "#fec758ff" },
|
|
138
|
+
"selector.pseudo": { "color": "#fec758ff" },
|
|
139
|
+
"variant": {
|
|
140
|
+
"color": "#fb9a4bff",
|
|
141
|
+
"font_style": "italic"
|
|
142
|
+
},
|
|
143
|
+
"string.special": { "color": "#cd8d8dff" },
|
|
144
|
+
"string.special.symbol": { "color": "#994646ff" },
|
|
145
|
+
"punctuation.markup": { "color": "#f8f8f8ff" },
|
|
146
|
+
"primary": { "color": "#f8f8f8ff" },
|
|
147
|
+
"link_uri": { "color": "#f8f8f8ff" },
|
|
148
|
+
"hint": { "color": "#f8f8f866" },
|
|
149
|
+
"predictive": { "color": "#f8f8f866" },
|
|
150
|
+
"punctuation.bracket": { "color": "#f8f8f8ff" },
|
|
151
|
+
"punctuation.list_marker": { "color": "#f8f8f8ff" },
|
|
152
|
+
"keyword.declaration": {
|
|
153
|
+
"color": "#FF6262FF",
|
|
154
|
+
"font_weight": 700
|
|
155
|
+
},
|
|
156
|
+
"property.json_key": { "color": "#9DF39FFF" },
|
|
157
|
+
"tag.doctype": { "color": "#EC0D1EFF" },
|
|
158
|
+
"keyword.jsdoc": {
|
|
159
|
+
"color": "#FF6262FF",
|
|
160
|
+
"font_weight": 700
|
|
161
|
+
},
|
|
162
|
+
"tag.component.jsx": { "color": "#9DF39FFF" }
|
|
163
|
+
},
|
|
164
|
+
"created": "#81b88b",
|
|
165
|
+
"deleted": "#c74e39",
|
|
166
|
+
"modified": "#E2C08D"
|
|
167
|
+
}
|
|
168
|
+
};
|
|
169
|
+
export { red_default as default };
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { u as prefersReducedMotion } from "./opt-out-D66l60sg.js";
|
|
2
|
+
// src/motion/registry.ts
|
|
3
|
+
/** The attributes whose change the motion layer reports to the `state` hook of an effect. */
|
|
4
|
+
const motionStateAttributes = [
|
|
5
|
+
"aria-checked",
|
|
6
|
+
"aria-selected",
|
|
7
|
+
"aria-pressed",
|
|
8
|
+
"aria-expanded",
|
|
9
|
+
"aria-valuenow",
|
|
10
|
+
"aria-valuetext",
|
|
11
|
+
"data-state",
|
|
12
|
+
"data-checked",
|
|
13
|
+
"data-open",
|
|
14
|
+
"open",
|
|
15
|
+
"data-leaving"
|
|
16
|
+
];
|
|
17
|
+
const effects = /* @__PURE__ */ new Map();
|
|
18
|
+
const changeListeners = /* @__PURE__ */ new Set();
|
|
19
|
+
const sharedKey = Symbol.for("vite-hub.motion.layer");
|
|
20
|
+
let ownLayer;
|
|
21
|
+
/** The shared layer of another copy of this module, when that copy installed first. */
|
|
22
|
+
function otherMotionLayer() {
|
|
23
|
+
const shared = Reflect.get(globalThis, sharedKey);
|
|
24
|
+
if (!shared || shared === ownLayer || typeof shared !== "object" || !("define" in shared) || !("install" in shared)) return void 0;
|
|
25
|
+
return shared;
|
|
26
|
+
}
|
|
27
|
+
/** Makes this copy the shared layer when no copy is yet. */
|
|
28
|
+
function claimMotionLayer(layer) {
|
|
29
|
+
ownLayer = layer;
|
|
30
|
+
if (!Reflect.get(globalThis, sharedKey)) Reflect.set(globalThis, sharedKey, layer);
|
|
31
|
+
}
|
|
32
|
+
function handOffMotionEffects(shared) {
|
|
33
|
+
const registrations = [...effects.values()];
|
|
34
|
+
effects.clear();
|
|
35
|
+
for (const registration of registrations) registration.removeFromShared = shared.define(registration.effect, registration.isReduced);
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Adds an effect to the motion layer. Every installed layer runs it from the next interaction on. Returns a function
|
|
39
|
+
* that removes it. When another copy of the module is the shared layer, the effect goes to that copy.
|
|
40
|
+
*/
|
|
41
|
+
function defineMotionEffect(effect) {
|
|
42
|
+
const shared = otherMotionLayer();
|
|
43
|
+
if (!shared) return defineOwnEffect(effect);
|
|
44
|
+
handOffMotionEffects(shared);
|
|
45
|
+
return shared.define(effect, prefersReducedMotion);
|
|
46
|
+
}
|
|
47
|
+
function defineOwnEffect(effect, isReduced = prefersReducedMotion) {
|
|
48
|
+
const registration = {
|
|
49
|
+
effect,
|
|
50
|
+
isReduced
|
|
51
|
+
};
|
|
52
|
+
effects.set(effect.name, registration);
|
|
53
|
+
for (const listener of changeListeners) listener();
|
|
54
|
+
return () => {
|
|
55
|
+
if (registration.removeFromShared) return registration.removeFromShared();
|
|
56
|
+
if (effects.get(effect.name) !== registration) return;
|
|
57
|
+
effects.delete(effect.name);
|
|
58
|
+
for (const listener of changeListeners) listener();
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
/** The effects of the motion layer, in the order they were defined. */
|
|
62
|
+
function listMotionEffects() {
|
|
63
|
+
return [...effects.values()].map((registration) => registration.effect);
|
|
64
|
+
}
|
|
65
|
+
function motionEffectRegistrations() {
|
|
66
|
+
return [...effects.values()];
|
|
67
|
+
}
|
|
68
|
+
function onMotionEffectsChange(listener) {
|
|
69
|
+
changeListeners.add(listener);
|
|
70
|
+
return () => changeListeners.delete(listener);
|
|
71
|
+
}
|
|
72
|
+
/** Writes motion properties inline. An empty string or `null` removes the property, so the stylesheet applies again. */
|
|
73
|
+
function writeMotionStyle(element, values) {
|
|
74
|
+
for (const [property, value] of Object.entries(values)) if (value) element.style.setProperty(property, value);
|
|
75
|
+
else element.style.removeProperty(property);
|
|
76
|
+
}
|
|
77
|
+
export { listMotionEffects as a, onMotionEffectsChange as c, handOffMotionEffects as i, otherMotionLayer as l, defineMotionEffect as n, motionEffectRegistrations as o, defineOwnEffect as r, motionStateAttributes as s, claimMotionLayer as t, writeMotionStyle as u };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { t as uiErrorDiagnostics } from "./error-diagnostics-BlgA9rI2.js";
|
|
2
|
+
import { n as useTooltipComponent } from "./nuxt-ui-7ByUrymx.js";
|
|
3
3
|
import { computed, defineComponent, h, inject, onBeforeUnmount, onMounted, provide, ref, shallowRef } from "vue";
|
|
4
|
-
|
|
4
|
+
// src/internal/describe-time.ts
|
|
5
5
|
/**
|
|
6
6
|
* Describes a date or an instant against `now`: "3 days ago" with the full date as its tip while it's closer than
|
|
7
7
|
* `threshold`, and from there on "Oct 12" ("Oct 12, 2025" in another year) with the relative words as its tip. A date
|
|
@@ -141,8 +141,7 @@ function describeTime(at, options = {}) {
|
|
|
141
141
|
}) : when.wall ? words : `${words} · ${format(clock)}`
|
|
142
142
|
};
|
|
143
143
|
}
|
|
144
|
-
|
|
145
|
-
//#region src/internal/relative-now.ts
|
|
144
|
+
// src/internal/relative-now.ts
|
|
146
145
|
/** The clock that `RelativeTime` counts from, given by `provideRelativeNow()`. */
|
|
147
146
|
const relativeNowKey = Symbol("ViteHubRelativeNow");
|
|
148
147
|
/** How often the clock moves. The words change by the minute at most, so twice a minute is enough. */
|
|
@@ -179,8 +178,7 @@ function holdSharedNow() {
|
|
|
179
178
|
function releaseSharedNow() {
|
|
180
179
|
if (--holders === 0) stopShared?.();
|
|
181
180
|
}
|
|
182
|
-
|
|
183
|
-
//#region src/components/relative-time.ts
|
|
181
|
+
// src/components/relative-time.ts
|
|
184
182
|
/**
|
|
185
183
|
* Gives every `RelativeTime` below the clock that it counts from, in milliseconds. The server and the browser must
|
|
186
184
|
* start from the same value, so the first render in the browser matches the HTML. The `vite-hub/ui/nuxt` module gives
|
|
@@ -305,5 +303,4 @@ const RelativeTime = defineComponent({
|
|
|
305
303
|
};
|
|
306
304
|
}
|
|
307
305
|
});
|
|
308
|
-
//#endregion
|
|
309
306
|
export { provideRelativeNow as n, startRelativeClock as r, RelativeTime as t };
|
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
import { r as createSpring, t as isMotionOff, u as prefersReducedMotion } from "./opt-out-D66l60sg.js";
|
|
2
|
+
import { a as tween, r as easeOut } from "./tween-Dv3IIIQG.js";
|
|
3
|
+
// src/motion/helpers/frame.ts
|
|
4
|
+
const ownNodes = /* @__PURE__ */ new WeakSet();
|
|
5
|
+
function own(node) {
|
|
6
|
+
ownNodes.add(node);
|
|
7
|
+
return node;
|
|
8
|
+
}
|
|
9
|
+
function isOwnNode(node) {
|
|
10
|
+
return ownNodes.has(node);
|
|
11
|
+
}
|
|
12
|
+
const glyphRule = "[data-motion-glyph]::before{content:attr(data-motion-glyph)}";
|
|
13
|
+
const glyphStyles = /* @__PURE__ */ new WeakMap();
|
|
14
|
+
function hasGlyphRule(element) {
|
|
15
|
+
const root = element.getRootNode();
|
|
16
|
+
const target = root instanceof ShadowRoot ? root : element.ownerDocument.head;
|
|
17
|
+
if (!target) return false;
|
|
18
|
+
const existing = glyphStyles.get(root);
|
|
19
|
+
if (existing?.parentNode === target) return !!existing.sheet;
|
|
20
|
+
const style = own(element.ownerDocument.createElement("style"));
|
|
21
|
+
style.dataset.motionGlyphs = "";
|
|
22
|
+
style.textContent = glyphRule;
|
|
23
|
+
target.append(style);
|
|
24
|
+
glyphStyles.set(root, style);
|
|
25
|
+
return !!style.sheet;
|
|
26
|
+
}
|
|
27
|
+
/** A span that draws one character, or a run of them, without adding to `textContent`. */
|
|
28
|
+
function glyphNode(text) {
|
|
29
|
+
const node = own(document.createElement("span"));
|
|
30
|
+
node.dataset.motionGlyph = text;
|
|
31
|
+
node.style.whiteSpace = "pre";
|
|
32
|
+
return node;
|
|
33
|
+
}
|
|
34
|
+
/** True when the helpers must set the change at once: no layout, or `data-motion="none"`. */
|
|
35
|
+
function motionSkipped(element) {
|
|
36
|
+
return !element.isConnected || typeof requestAnimationFrame !== "function" || isMotionOff(element);
|
|
37
|
+
}
|
|
38
|
+
function glyphMotionSkipped(element) {
|
|
39
|
+
return motionSkipped(element) || !element.getClientRects().length || !hasGlyphRule(element);
|
|
40
|
+
}
|
|
41
|
+
function reduced() {
|
|
42
|
+
return prefersReducedMotion();
|
|
43
|
+
}
|
|
44
|
+
const widthSpring = {
|
|
45
|
+
stiffness: 380,
|
|
46
|
+
damping: 34
|
|
47
|
+
};
|
|
48
|
+
const framed = [
|
|
49
|
+
"display",
|
|
50
|
+
"position",
|
|
51
|
+
"width",
|
|
52
|
+
"white-space",
|
|
53
|
+
"box-sizing",
|
|
54
|
+
"overflow",
|
|
55
|
+
"justify-content",
|
|
56
|
+
"vertical-align"
|
|
57
|
+
];
|
|
58
|
+
const frames = /* @__PURE__ */ new WeakMap();
|
|
59
|
+
function frameOf(element) {
|
|
60
|
+
return frames.get(element);
|
|
61
|
+
}
|
|
62
|
+
/** Starts a frame on the element. `layout` sets how the letters sit while they move. */
|
|
63
|
+
function openFrame(element, layout, onWidthSettle) {
|
|
64
|
+
const saved = framed.map((property) => [
|
|
65
|
+
property,
|
|
66
|
+
element.style.getPropertyValue(property),
|
|
67
|
+
element.style.getPropertyPriority(property)
|
|
68
|
+
]);
|
|
69
|
+
const computed = getComputedStyle(element);
|
|
70
|
+
if (layout === "end") {
|
|
71
|
+
element.style.display = computed.display.startsWith("inline") || computed.display === "contents" ? "inline-flex" : "flex";
|
|
72
|
+
element.style.justifyContent = "flex-end";
|
|
73
|
+
} else if (computed.display === "inline" || computed.display === "contents") element.style.display = "inline-block";
|
|
74
|
+
if (computed.position === "static") element.style.position = "relative";
|
|
75
|
+
element.style.whiteSpace = "nowrap";
|
|
76
|
+
element.style.boxSizing = "border-box";
|
|
77
|
+
element.style.overflow = "visible";
|
|
78
|
+
const copy = own(document.createElement("span"));
|
|
79
|
+
copy.dataset.motionCopy = "";
|
|
80
|
+
copy.style.cssText = "position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0";
|
|
81
|
+
const holder = own(document.createElement("span"));
|
|
82
|
+
holder.setAttribute("aria-hidden", "true");
|
|
83
|
+
holder.dataset.motionGlyphs = "";
|
|
84
|
+
holder.style.display = "contents";
|
|
85
|
+
element.replaceChildren(copy, holder);
|
|
86
|
+
const width = createSpring(0, (value, velocity) => {
|
|
87
|
+
element.style.width = `${value}px`;
|
|
88
|
+
if (velocity === 0 && value === width.target) onWidthSettle();
|
|
89
|
+
}, widthSpring);
|
|
90
|
+
const frame = {
|
|
91
|
+
element,
|
|
92
|
+
holder,
|
|
93
|
+
width,
|
|
94
|
+
name(text) {
|
|
95
|
+
copy.textContent = text;
|
|
96
|
+
},
|
|
97
|
+
restore() {
|
|
98
|
+
if (holder.parentNode !== element || copy.parentNode !== element) element.replaceChildren(copy, holder);
|
|
99
|
+
},
|
|
100
|
+
natural() {
|
|
101
|
+
const current = element.style.width;
|
|
102
|
+
element.style.width = "max-content";
|
|
103
|
+
const style = getComputedStyle(element);
|
|
104
|
+
const computedWidth = Number.parseFloat(style.width);
|
|
105
|
+
const value = Number.isFinite(computedWidth) ? computedWidth : element.offsetWidth;
|
|
106
|
+
element.style.width = current;
|
|
107
|
+
return value;
|
|
108
|
+
},
|
|
109
|
+
collapse(text) {
|
|
110
|
+
frame.discard();
|
|
111
|
+
element.replaceChildren(own(document.createTextNode(text)));
|
|
112
|
+
},
|
|
113
|
+
discard() {
|
|
114
|
+
width.stop();
|
|
115
|
+
frames.delete(element);
|
|
116
|
+
copy.remove();
|
|
117
|
+
holder.remove();
|
|
118
|
+
for (const [property, value, priority] of saved) if (value) element.style.setProperty(property, value, priority);
|
|
119
|
+
else element.style.removeProperty(property);
|
|
120
|
+
if (!element.getAttribute("style")) element.removeAttribute("style");
|
|
121
|
+
}
|
|
122
|
+
};
|
|
123
|
+
frames.set(element, frame);
|
|
124
|
+
return frame;
|
|
125
|
+
}
|
|
126
|
+
/** Sets the text of an element that has no frame, or ends its frame, at once. */
|
|
127
|
+
function setText(element, text) {
|
|
128
|
+
const frame = frames.get(element);
|
|
129
|
+
if (frame) frame.collapse(text);
|
|
130
|
+
else if (element.textContent !== text) element.replaceChildren(own(document.createTextNode(text)));
|
|
131
|
+
}
|
|
132
|
+
// src/motion/helpers/ring.ts
|
|
133
|
+
const duration = 720;
|
|
134
|
+
const peak = .3;
|
|
135
|
+
const color = "var(--ui-border-accented, currentColor)";
|
|
136
|
+
const rings = /* @__PURE__ */ new WeakMap();
|
|
137
|
+
/**
|
|
138
|
+
* Rings `element` once, as rule 7 of docs/design/motion.md asks for a finished action such as saved, published, or
|
|
139
|
+
* copied: a 5px ring in the border color grows around it and fades. A second call starts the ring again. There is no
|
|
140
|
+
* ring under reduced motion or inside `data-motion="none"`.
|
|
141
|
+
*/
|
|
142
|
+
function ring(element) {
|
|
143
|
+
const running = rings.get(element);
|
|
144
|
+
running?.tween.stop();
|
|
145
|
+
const own = running?.own ?? element.style.boxShadow;
|
|
146
|
+
if (motionSkipped(element) || reduced()) {
|
|
147
|
+
if (running) {
|
|
148
|
+
rings.delete(element);
|
|
149
|
+
element.style.boxShadow = own;
|
|
150
|
+
}
|
|
151
|
+
return;
|
|
152
|
+
}
|
|
153
|
+
const base = running ? void 0 : getComputedStyle(element).boxShadow;
|
|
154
|
+
const under = running?.under ?? (base && base !== "none" ? `, ${base}` : "");
|
|
155
|
+
const handle = tween(0, 1, {
|
|
156
|
+
duration,
|
|
157
|
+
ease: easeOut
|
|
158
|
+
}, (progress) => {
|
|
159
|
+
const spread = progress < peak ? 5 * (progress / peak) : 5 + 2 * ((progress - peak) / .7);
|
|
160
|
+
const alpha = progress < peak ? 1 : 1 - (progress - peak) / .7;
|
|
161
|
+
element.style.boxShadow = `0 0 0 ${spread.toFixed(2)}px color-mix(in oklab, ${color} ${(alpha * 100).toFixed(1)}%, transparent)${under}`;
|
|
162
|
+
}, () => {
|
|
163
|
+
rings.delete(element);
|
|
164
|
+
element.style.boxShadow = own;
|
|
165
|
+
if (!element.getAttribute("style")) element.removeAttribute("style");
|
|
166
|
+
});
|
|
167
|
+
rings.set(element, {
|
|
168
|
+
tween: handle,
|
|
169
|
+
own,
|
|
170
|
+
under
|
|
171
|
+
});
|
|
172
|
+
}
|
|
173
|
+
export { isOwnNode as a, own as c, glyphNode as i, reduced as l, frameOf as n, motionSkipped as o, glyphMotionSkipped as r, openFrame as s, ring as t, setText as u };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "node:module";
|
|
2
|
-
|
|
2
|
+
// \0rolldown/runtime.js
|
|
3
3
|
var __defProp = Object.defineProperty;
|
|
4
4
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
5
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
6
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
-
var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod), cb = null), mod.exports);
|
|
7
|
+
var __commonJSMin = (cb, mod) => () => (mod || (cb((mod = { exports: {} }).exports, mod, mod.exports), cb = null), mod.exports);
|
|
8
8
|
var __exportAll = (all, no_symbols) => {
|
|
9
9
|
let target = {};
|
|
10
10
|
for (var name in all) __defProp(target, name, {
|
|
@@ -25,5 +25,4 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
25
25
|
return to;
|
|
26
26
|
};
|
|
27
27
|
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
28
|
-
//#endregion
|
|
29
28
|
export { __exportAll as n, __reExport as r, __commonJSMin as t };
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
// ../../node_modules/.pnpm/@pierre+highlights@0.5.2/node_modules/@pierre/highlights/dist/themes/rose-pine.js
|
|
2
|
+
var rose_pine_default = {
|
|
3
|
+
"name": "Rosé Pine",
|
|
4
|
+
"appearance": "dark",
|
|
5
|
+
"style": {
|
|
6
|
+
"background": "#191724",
|
|
7
|
+
"text": "#e0def4",
|
|
8
|
+
"editor.background": "#191724",
|
|
9
|
+
"editor.foreground": "#e0def4",
|
|
10
|
+
"editor.active_line.background": "#1f1d2e",
|
|
11
|
+
"search.match_background": "#f6c1774d",
|
|
12
|
+
"players": [
|
|
13
|
+
{
|
|
14
|
+
"cursor": "#e0def4",
|
|
15
|
+
"background": "#e0def4",
|
|
16
|
+
"selection": "#e0def422"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"cursor": "#9ccfd8",
|
|
20
|
+
"background": "#9ccfd8",
|
|
21
|
+
"selection": "#9ccfd844"
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
"cursor": "#c4a7e7",
|
|
25
|
+
"background": "#c4a7e7",
|
|
26
|
+
"selection": "#c4a7e744"
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"cursor": "#31748f",
|
|
30
|
+
"background": "#31748f",
|
|
31
|
+
"selection": "#31748f44"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"cursor": "#eb6f92",
|
|
35
|
+
"background": "#eb6f92",
|
|
36
|
+
"selection": "#eb6f9244"
|
|
37
|
+
}
|
|
38
|
+
],
|
|
39
|
+
"error": "#eb6f92",
|
|
40
|
+
"warning": "#f6c177",
|
|
41
|
+
"info": "#31748f",
|
|
42
|
+
"hint": "#908caa",
|
|
43
|
+
"created": "#9ccfd8",
|
|
44
|
+
"deleted": "#908caa",
|
|
45
|
+
"modified": "#ebbcba",
|
|
46
|
+
"terminal.ansi.black": "#21202e",
|
|
47
|
+
"terminal.ansi.red": "#eb6f92",
|
|
48
|
+
"terminal.ansi.green": "#31748f",
|
|
49
|
+
"terminal.ansi.yellow": "#f6c177",
|
|
50
|
+
"terminal.ansi.blue": "#9ccfd8",
|
|
51
|
+
"terminal.ansi.magenta": "#c4a7e7",
|
|
52
|
+
"terminal.ansi.cyan": "#ebbcba",
|
|
53
|
+
"terminal.ansi.white": "#e0def4",
|
|
54
|
+
"terminal.ansi.bright_black": "#908caa",
|
|
55
|
+
"terminal.ansi.bright_red": "#eb6f92",
|
|
56
|
+
"terminal.ansi.bright_green": "#31748f",
|
|
57
|
+
"terminal.ansi.bright_yellow": "#f6c177",
|
|
58
|
+
"terminal.ansi.bright_blue": "#9ccfd8",
|
|
59
|
+
"terminal.ansi.bright_magenta": "#c4a7e7",
|
|
60
|
+
"terminal.ansi.bright_cyan": "#ebbcba",
|
|
61
|
+
"terminal.ansi.bright_white": "#e0def4",
|
|
62
|
+
"syntax": {
|
|
63
|
+
"attribute": { "color": "#c4a7e7" },
|
|
64
|
+
"boolean": { "color": "#ebbcba" },
|
|
65
|
+
"comment": {
|
|
66
|
+
"color": "#6e6a86",
|
|
67
|
+
"font_style": "italic"
|
|
68
|
+
},
|
|
69
|
+
"comment.doc": { "color": "#908caa" },
|
|
70
|
+
"constant": { "color": "#f6c177" },
|
|
71
|
+
"constructor": { "color": "#9ccfd8" },
|
|
72
|
+
"embedded": { "color": "#e0def4" },
|
|
73
|
+
"emphasis": {
|
|
74
|
+
"color": "#c4a7e7",
|
|
75
|
+
"font_style": "italic"
|
|
76
|
+
},
|
|
77
|
+
"emphasis.strong": {
|
|
78
|
+
"color": "#9ccfd8",
|
|
79
|
+
"font_weight": 700
|
|
80
|
+
},
|
|
81
|
+
"enum": { "color": "#31748f" },
|
|
82
|
+
"function": { "color": "#ebbcba" },
|
|
83
|
+
"hint": { "color": "#c4a7e7" },
|
|
84
|
+
"keyword": { "color": "#31748f" },
|
|
85
|
+
"label": { "color": "#9ccfd8" },
|
|
86
|
+
"link_text": { "color": "#c4a7e7" },
|
|
87
|
+
"link_uri": { "color": "#31748f" },
|
|
88
|
+
"number": { "color": "#f6c177" },
|
|
89
|
+
"operator": { "color": "#908caa" },
|
|
90
|
+
"predictive": { "color": "#908caa" },
|
|
91
|
+
"preproc": { "color": "#f6c177" },
|
|
92
|
+
"primary": { "color": "#c4a7e7" },
|
|
93
|
+
"property": { "color": "#9ccfd8" },
|
|
94
|
+
"punctuation": { "color": "#908caa" },
|
|
95
|
+
"punctuation.bracket": { "color": "#908caa" },
|
|
96
|
+
"punctuation.delimiter": { "color": "#908caa" },
|
|
97
|
+
"punctuation.list_marker": {
|
|
98
|
+
"color": "#908caa",
|
|
99
|
+
"font_weight": 700
|
|
100
|
+
},
|
|
101
|
+
"punctuation.special": { "color": "#908caa" },
|
|
102
|
+
"string": { "color": "#f6c177" },
|
|
103
|
+
"string.escape": { "color": "#31748f" },
|
|
104
|
+
"string.regex": { "color": "#c4a7e7" },
|
|
105
|
+
"string.special": { "color": "#31748f" },
|
|
106
|
+
"string.special.symbol": { "color": "#31748f" },
|
|
107
|
+
"tag": { "color": "#9ccfd8" },
|
|
108
|
+
"text.literal": { "color": "#f6c177" },
|
|
109
|
+
"title": {
|
|
110
|
+
"color": "#eb6f92",
|
|
111
|
+
"font_weight": 700
|
|
112
|
+
},
|
|
113
|
+
"type": { "color": "#9ccfd8" },
|
|
114
|
+
"variable": { "color": "#e0def4" },
|
|
115
|
+
"variable.special": { "color": "#eb6f92" },
|
|
116
|
+
"variant": { "color": "#ebbcba" },
|
|
117
|
+
"namespace": { "color": "#9CCFD8" },
|
|
118
|
+
"selector": { "color": "#9CCFD8" },
|
|
119
|
+
"diff.minus": { "color": "#908caa" },
|
|
120
|
+
"diff.plus": { "color": "#9ccfd8" },
|
|
121
|
+
"selector.class": {
|
|
122
|
+
"color": "#C4A7E7",
|
|
123
|
+
"font_style": "italic"
|
|
124
|
+
},
|
|
125
|
+
"selector.id": {
|
|
126
|
+
"color": "#C4A7E7",
|
|
127
|
+
"font_style": "italic"
|
|
128
|
+
},
|
|
129
|
+
"selector.pseudo": {
|
|
130
|
+
"color": "#C4A7E7",
|
|
131
|
+
"font_style": "italic"
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
};
|
|
136
|
+
export { rose_pine_default as default };
|