@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
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as CommentPlacement, t as CommentLayer } from "../../comment-layer-
|
|
1
|
+
import { n as CommentPlacement, t as CommentLayer } from "../../comment-layer-DyVstrs-.js";
|
|
2
2
|
export { CommentLayer, CommentPlacement };
|
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
1
|
+
import { i as useComments, n as draftPositionKey, o as commentTitle, r as provideComments, s as deliveryAttributes, u as commentThreadKey } from "../../comments-C0OdHh_F.js";
|
|
2
|
+
import { t as uiErrorDiagnostics } from "../../error-diagnostics-BlgA9rI2.js";
|
|
3
|
+
import { t as useCommentAttachments } from "../../comment-attachments-CMpYOJod.js";
|
|
4
|
+
import { i as consumedPointerEvents } from "../../comments-context-CrjhleVA.js";
|
|
5
|
+
import { n as excerpt } from "../../comment-person-D_IyIjXo.js";
|
|
6
|
+
import { n as threadRow } from "../../comment-row-DPMWI5Z0.js";
|
|
7
|
+
import { t as createMotionList } from "../../list-DUTAo0uC.js";
|
|
8
|
+
import { t as CommentComposer } from "../../comment-composer-CzU7DdfD.js";
|
|
8
9
|
import { CommentList, CommentToolbar } from "./comment-list.js";
|
|
9
10
|
import { CommentPin } from "./comment-pin.js";
|
|
10
|
-
import { CommentThread } from "
|
|
11
|
+
import { n as CommentThread } from "../../comment-thread-CbPtoi8-.js";
|
|
11
12
|
import { computed, defineComponent, h, nextTick, onBeforeUnmount, onMounted, onUpdated, reactive, ref, shallowRef, watch } from "vue";
|
|
12
|
-
|
|
13
|
+
// src/components/comment-layer.ts
|
|
13
14
|
const popoverWidth = 360;
|
|
14
15
|
const popoverHeight = 420;
|
|
15
16
|
function placeDraft(point, page, width, viewport) {
|
|
@@ -292,8 +293,24 @@ const CommentLayer = defineComponent({
|
|
|
292
293
|
window.addEventListener("resize", readSidesSoon, { passive: true });
|
|
293
294
|
window.visualViewport?.addEventListener("resize", readSidesSoon, { passive: true });
|
|
294
295
|
});
|
|
295
|
-
|
|
296
|
+
let marginList;
|
|
297
|
+
const moveMargin = () => {
|
|
298
|
+
const element = layer.value;
|
|
299
|
+
if (!element) return;
|
|
300
|
+
if (marginList) marginList.play();
|
|
301
|
+
else marginList = createMotionList(element, {
|
|
302
|
+
items: (root) => [...root.querySelectorAll("[data-margin-key]")],
|
|
303
|
+
movesOnly: true
|
|
304
|
+
});
|
|
305
|
+
marginList.measure();
|
|
306
|
+
};
|
|
307
|
+
onMounted(moveMargin);
|
|
308
|
+
onUpdated(() => {
|
|
309
|
+
readSides();
|
|
310
|
+
moveMargin();
|
|
311
|
+
});
|
|
296
312
|
onBeforeUnmount(() => {
|
|
313
|
+
marginList?.destroy();
|
|
297
314
|
cardSizes?.disconnect();
|
|
298
315
|
cancelAnimationFrame(sideFrame);
|
|
299
316
|
window.removeEventListener("resize", readSidesSoon);
|
|
@@ -569,6 +586,7 @@ const CommentLayer = defineComponent({
|
|
|
569
586
|
draft: true
|
|
570
587
|
}), h("div", {
|
|
571
588
|
...draftColumn,
|
|
589
|
+
"data-motion-appear": draftColumn ? void 0 : "[data-slot=comment-pin]",
|
|
572
590
|
"data-slot": "comment-layer-popover",
|
|
573
591
|
style: draftColumn?.style ?? {
|
|
574
592
|
left: `${placement.left}px`,
|
|
@@ -627,5 +645,4 @@ const CommentLayer = defineComponent({
|
|
|
627
645
|
};
|
|
628
646
|
}
|
|
629
647
|
});
|
|
630
|
-
//#endregion
|
|
631
648
|
export { CommentLayer };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as CommentList, r as CommentToolbar, t as CommentFilters } from "../../comment-list-
|
|
1
|
+
import { n as CommentList, r as CommentToolbar, t as CommentFilters } from "../../comment-list-CSK5o-Ua.js";
|
|
2
2
|
export { CommentFilters, CommentList, CommentToolbar };
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as
|
|
1
|
+
import { RollNumber } from "./motion.js";
|
|
2
|
+
import { a as useCommentsContext, s as deliveryAttributes } from "../../comments-C0OdHh_F.js";
|
|
3
|
+
import { n as threadRow, t as rowSlotScope } from "../../comment-row-DPMWI5Z0.js";
|
|
3
4
|
import { AvatarStack } from "./avatar-stack.js";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
5
|
+
import { MotionList } from "./motion-list.js";
|
|
6
|
+
import { r as useUIComponent } from "../../nuxt-ui-7ByUrymx.js";
|
|
7
|
+
import { a as useViteHubUIIcons } from "../../config-DztmAYYn.js";
|
|
6
8
|
import { defineComponent, h } from "vue";
|
|
7
|
-
|
|
9
|
+
// src/components/comment-list.ts
|
|
8
10
|
const commentsProp = { type: Object };
|
|
9
11
|
const CommentFilters = defineComponent({
|
|
10
12
|
name: "CommentFilters",
|
|
@@ -19,11 +21,11 @@ const CommentFilters = defineComponent({
|
|
|
19
21
|
"data-slot": "comment-filter",
|
|
20
22
|
"data-state": comments.filters[key] ? "on" : "off",
|
|
21
23
|
key,
|
|
22
|
-
label: count === void 0 ? label :
|
|
24
|
+
label: count === void 0 ? label : void 0,
|
|
23
25
|
onClick: () => comments.filters[key] = !comments.filters[key],
|
|
24
26
|
size: "xs",
|
|
25
27
|
variant: comments.filters[key] ? "soft" : "ghost"
|
|
26
|
-
});
|
|
28
|
+
}, count === void 0 ? void 0 : { default: () => [`${label} `, h(RollNumber, { value: count })] });
|
|
27
29
|
return h("div", {
|
|
28
30
|
"aria-label": "Filter comments",
|
|
29
31
|
"data-slot": "comment-filters",
|
|
@@ -77,7 +79,10 @@ const CommentList = defineComponent({
|
|
|
77
79
|
}, [scopeButton("page", "This page"), scopeButton("site", "All pages")]), h(CommentFilters, { comments })]), rows.length === 0 ? h("p", {
|
|
78
80
|
"data-slot": "comment-list-empty",
|
|
79
81
|
role: "status"
|
|
80
|
-
}, comments.status.value === "loading" && comments.threads.value.length === 0 ? "Loading comments." : comments.status.value === "error" ? "The comments could not load." : "No comments here.") : h(
|
|
82
|
+
}, comments.status.value === "loading" && comments.threads.value.length === 0 ? "Loading comments." : comments.status.value === "error" ? "The comments could not load." : "No comments here.") : h(MotionList, {
|
|
83
|
+
"data-slot": "comment-list-items",
|
|
84
|
+
tag: "ol"
|
|
85
|
+
}, () => rows.map((thread) => {
|
|
81
86
|
const detached = comments.positions.value.get(thread.id)?.detached === true;
|
|
82
87
|
return h("li", { key: thread.id }, [h("a", {
|
|
83
88
|
"aria-current": comments.openId.value === thread.id ? "true" : void 0,
|
|
@@ -164,5 +169,4 @@ const CommentToolbar = defineComponent({
|
|
|
164
169
|
};
|
|
165
170
|
}
|
|
166
171
|
});
|
|
167
|
-
//#endregion
|
|
168
172
|
export { CommentFilters, CommentList, CommentToolbar };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as CommentPanelVariant, c as CommentUpload, i as CommentPanelSlots, n as CommentGroupSlotScope, o as CommentRowSlotScope, r as CommentPanel, s as CommentRowSlots, t as CommentGroup } from "../../comment-panel-
|
|
1
|
+
import { a as CommentPanelVariant, c as CommentUpload, i as CommentPanelSlots, n as CommentGroupSlotScope, o as CommentRowSlotScope, r as CommentPanel, s as CommentRowSlots, t as CommentGroup } from "../../comment-panel-CEvOI3gk.js";
|
|
2
2
|
export { CommentGroup, CommentGroupSlotScope, CommentPanel, CommentPanelSlots, CommentPanelVariant, CommentRowSlotScope, CommentRowSlots, CommentUpload };
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { t as
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { CommentThread } from "
|
|
1
|
+
import { RollNumber } from "./motion.js";
|
|
2
|
+
import { a as useCommentsContext, d as useSelectedComment, i as useComments, l as repliedSinceResolved, o as commentTitle, r as provideComments, s as deliveryAttributes, u as commentThreadKey } from "../../comments-C0OdHh_F.js";
|
|
3
|
+
import { t as uiErrorDiagnostics } from "../../error-diagnostics-BlgA9rI2.js";
|
|
4
|
+
import { t as useCommentAttachments } from "../../comment-attachments-CMpYOJod.js";
|
|
5
|
+
import { n as threadRow, t as rowSlotScope } from "../../comment-row-DPMWI5Z0.js";
|
|
6
|
+
import { n as injectComments } from "../../comments-context-CrjhleVA.js";
|
|
7
|
+
import { t as CommentComposer } from "../../comment-composer-CzU7DdfD.js";
|
|
8
|
+
import { n as CommentThread } from "../../comment-thread-CbPtoi8-.js";
|
|
9
|
+
import { r as useUIComponent } from "../../nuxt-ui-7ByUrymx.js";
|
|
9
10
|
import { computed, defineComponent, h, nextTick, ref, watch } from "vue";
|
|
10
|
-
|
|
11
|
+
// src/components/comment-panel.ts
|
|
11
12
|
const listSlots = /* @__PURE__ */ new Set([
|
|
12
13
|
"row",
|
|
13
14
|
"preview",
|
|
@@ -222,15 +223,28 @@ const CommentPanel = defineComponent({
|
|
|
222
223
|
const list = () => {
|
|
223
224
|
const counts = state.counts.value;
|
|
224
225
|
const filter = (value, label, count) => h(UButton, {
|
|
225
|
-
"aria-
|
|
226
|
+
"aria-checked": String(status.value === value),
|
|
226
227
|
color: "neutral",
|
|
227
228
|
"data-slot": "comment-panel-filter",
|
|
228
229
|
"data-state": status.value === value ? "on" : "off",
|
|
229
|
-
label: `${label} ${count}`,
|
|
230
230
|
onClick: () => setStatus(value),
|
|
231
|
+
onKeydown: (event) => {
|
|
232
|
+
if (![
|
|
233
|
+
"ArrowLeft",
|
|
234
|
+
"ArrowRight",
|
|
235
|
+
"ArrowUp",
|
|
236
|
+
"ArrowDown"
|
|
237
|
+
].includes(event.key)) return;
|
|
238
|
+
event.preventDefault();
|
|
239
|
+
const group = event.currentTarget.closest("[role=radiogroup]");
|
|
240
|
+
setStatus(value === "open" ? "resolved" : "open");
|
|
241
|
+
nextTick(() => group?.querySelector("[role=radio][aria-checked=true]")?.focus());
|
|
242
|
+
},
|
|
243
|
+
role: "radio",
|
|
231
244
|
size: "xs",
|
|
245
|
+
tabindex: status.value === value ? 0 : -1,
|
|
232
246
|
variant: status.value === value ? "soft" : "ghost"
|
|
233
|
-
});
|
|
247
|
+
}, { default: () => [`${label} `, h(RollNumber, { value: count })] });
|
|
234
248
|
const empty = state.status.value === "loading" && state.threads.value.length === 0 ? "Loading comments." : state.status.value === "error" ? "The comments could not load." : status.value === "open" ? "No open comments." : "No resolved comments.";
|
|
235
249
|
return [
|
|
236
250
|
h("header", { "data-slot": "comment-panel-header" }, [
|
|
@@ -238,7 +252,7 @@ const CommentPanel = defineComponent({
|
|
|
238
252
|
h("div", {
|
|
239
253
|
"aria-label": "Filter comments",
|
|
240
254
|
"data-slot": "comment-panel-filters",
|
|
241
|
-
role: "
|
|
255
|
+
role: "radiogroup"
|
|
242
256
|
}, [filter("open", "Open", counts.open), filter("resolved", "Resolved", counts.resolved)]),
|
|
243
257
|
slots["list-actions"] ? h("div", { "data-slot": "comment-panel-actions" }, slots["list-actions"]()) : null
|
|
244
258
|
]),
|
|
@@ -307,5 +321,4 @@ const CommentPanel = defineComponent({
|
|
|
307
321
|
}, opened.value ? threadView(opened.value) : list());
|
|
308
322
|
}
|
|
309
323
|
});
|
|
310
|
-
//#endregion
|
|
311
324
|
export { CommentPanel };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as CommentPin } from "../../comment-pin-
|
|
1
|
+
import { t as CommentPin } from "../../comment-pin-C5UeLPTa.js";
|
|
2
2
|
export { CommentPin };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { i as toPerson, t as displayName } from "../../comment-person-D_IyIjXo.js";
|
|
1
2
|
import { AvatarStack } from "./avatar-stack.js";
|
|
2
|
-
import { i as toPerson, t as displayName } from "../../comment-person-CLPlW_SS.js";
|
|
3
3
|
import { defineComponent, h } from "vue";
|
|
4
|
-
|
|
4
|
+
// src/components/comment-pin.ts
|
|
5
5
|
const CommentPin = defineComponent({
|
|
6
6
|
name: "CommentPin",
|
|
7
7
|
props: {
|
|
@@ -71,5 +71,4 @@ const CommentPin = defineComponent({
|
|
|
71
71
|
}) : null, props.draft || props.n === void 0 ? null : h("span", { "data-slot": "comment-pin-number" }, String(props.n))]);
|
|
72
72
|
}
|
|
73
73
|
});
|
|
74
|
-
//#endregion
|
|
75
74
|
export { CommentPin };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as CommentSelectionBarSide, t as CommentSelectionBar } from "../../comment-selection-bar-
|
|
1
|
+
import { n as CommentSelectionBarSide, t as CommentSelectionBar } from "../../comment-selection-bar-CVuS-FNL.js";
|
|
2
2
|
export { CommentSelectionBar, CommentSelectionBarSide };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { a as useViteHubUIIcons } from "../../config-DztmAYYn.js";
|
|
2
|
+
import { n as useTooltipComponent, r as useUIComponent } from "../../nuxt-ui-7ByUrymx.js";
|
|
3
3
|
import { defineComponent, h, onErrorCaptured, onMounted, ref } from "vue";
|
|
4
|
-
|
|
4
|
+
// src/components/comment-selection-bar.ts
|
|
5
5
|
const TooltipOrTitle = defineComponent({
|
|
6
6
|
name: "CommentSelectionBarTooltip",
|
|
7
7
|
props: {
|
|
@@ -94,6 +94,7 @@ const CommentSelectionBar = defineComponent({
|
|
|
94
94
|
}), action.label]);
|
|
95
95
|
return () => h("div", {
|
|
96
96
|
"aria-label": "Selected text",
|
|
97
|
+
"data-motion-appear": "",
|
|
97
98
|
"data-side": props.side,
|
|
98
99
|
"data-slot": "comment-selection-bar",
|
|
99
100
|
onMousedown: (event) => event.preventDefault(),
|
|
@@ -112,5 +113,4 @@ const CommentSelectionBar = defineComponent({
|
|
|
112
113
|
}));
|
|
113
114
|
}
|
|
114
115
|
});
|
|
115
|
-
//#endregion
|
|
116
116
|
export { CommentSelectionBar };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { t as CommentSend } from "../../comment-send-DPzV9B8S.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as CommentReplySlots, c as CommentThreadSlotScope, d as repliedSinceResolved, i as CommentReplySlotScope, l as CommentThreadSlots, n as CommentAttachmentUrl, o as CommentStatusSlotScope, r as CommentReply, s as CommentThread, t as CommentAttachmentLink, u as messagesSinceResolved } from "../../comment-thread-
|
|
1
|
+
import { a as CommentReplySlots, c as CommentThreadSlotScope, d as repliedSinceResolved, i as CommentReplySlotScope, l as CommentThreadSlots, n as CommentAttachmentUrl, o as CommentStatusSlotScope, r as CommentReply, s as CommentThread, t as CommentAttachmentLink, u as messagesSinceResolved } from "../../comment-thread-DGm1cGJt.js";
|
|
2
2
|
export { CommentAttachmentLink, CommentAttachmentUrl, CommentReply, CommentReplySlotScope, CommentReplySlots, CommentStatusSlotScope, CommentThread, CommentThreadSlotScope, CommentThreadSlots, messagesSinceResolved, repliedSinceResolved };
|