@vite-hub/ui 0.7.0 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (134) hide show
  1. package/README.md +68 -52
  2. package/dist/{Chat-BZxkf3Tt.js → Chat-DYQitDw8.js} +1 -1
  3. package/dist/{ChatMessage-Blr5F-zi.js → ChatMessage-DzjHnxMT.js} +1 -1
  4. package/dist/{CodeBlockTitle-DYrYpc1U.js → CodeBlockTitle-DX13mCTi.js} +1 -1
  5. package/dist/{CommentRow-ViZ7r8nr.js → CommentRow-DLW77qch.js} +2 -2
  6. package/dist/CopyButton-D-g6PWc8.js +188 -0
  7. package/dist/{Markdown-_w7feFzl.js → Markdown-3-Tvy5Kl.js} +1 -1
  8. package/dist/{MarkdownCodeBlock-B4j7x0H6.js → MarkdownCodeBlock-CALGW0iw.js} +1 -1
  9. package/dist/{MessageParts-FVyYZNsn.js → MessageParts-BGSctG7Z.js} +1 -1
  10. package/dist/{MorphText-CYTndbyp.js → MorphText-DAHAswWX.js} +1 -1
  11. package/dist/{RollNumber-Bo2tzfAp.js → RollNumber-CkdLiy2i.js} +1 -1
  12. package/dist/{motion-dPwxx3Wk.js → SwapIcon-Bjkk7WlZ.js} +2 -11
  13. package/dist/{agent-session-DhlTKCQG.js → agent-session-D291hyRk.js} +1 -1
  14. package/dist/{avatar-stack-nQErr0qn.js → avatar-stack-Bi4CJPuU.js} +1 -1
  15. package/dist/{chat-session-hjZRL6jY.js → chat-session-Bl-x4c9b.js} +1 -1
  16. package/dist/{comment-composer-BUt6vbnr.js → comment-composer-BtYrIT5W.js} +14 -19
  17. package/dist/{comment-composer-CIsbz-78.d.ts → comment-composer-PmERtNNb.d.ts} +3 -3
  18. package/dist/{comment-layer-BlVNORgj.d.ts → comment-layer-BgQz1ixK.d.ts} +3 -3
  19. package/dist/{comment-layer-Ck2H24oJ.js → comment-layer-T8hN_7bN.js} +11 -12
  20. package/dist/{comment-panel-Djx-KxVa.d.ts → comment-panel-Vo3m6rHB.d.ts} +2 -2
  21. package/dist/{comment-selection-bar-CxPkJxVl.js → comment-selection-bar-BMFTtI3V.js} +2 -4
  22. package/dist/{comment-selection-bar-CbOEI98x.d.ts → comment-selection-bar-B_bchB2O.d.ts} +1 -1
  23. package/dist/{comment-thread-C_Q4UDaV.js → comment-thread-CAexk1r7.js} +78 -38
  24. package/dist/{comment-thread-X6gYMNay.d.ts → comment-thread-Cp9k80uv.d.ts} +50 -2
  25. package/dist/{comments-B1itauwb.d.ts → comments-BBNiQTxK.d.ts} +12 -14
  26. package/dist/{components-CM5mZe0a.js → components-D44u1fsy.js} +22 -47
  27. package/dist/{config-CFwvNt4Y.js → config-7CiYbXk6.js} +9 -6
  28. package/dist/{config-JmsTI7gs.d.ts → config-BYLPA0Ts.d.ts} +8 -6
  29. package/dist/{drop-field-DKpYQ3tO.js → drop-field-BkoJOWR9.js} +1 -1
  30. package/dist/{editor-DJPUs1nt.js → editor-CE_q2Yzb.js} +89 -49
  31. package/dist/{editor-BsOTjnnN.d.ts → editor-DZxaa6vs.d.ts} +8 -7
  32. package/dist/editor.d.ts +2 -2
  33. package/dist/editor.js +2 -2
  34. package/dist/{hold-to-delete-cOPqQ9FJ.js → hold-to-delete-pyrlKzk0.js} +1 -1
  35. package/dist/{hold-to-delete-CcQbfiQx.js → hold-to-delete-sscThmPW.js} +30 -3
  36. package/dist/icon-component-ofUeRW4L.js +4 -0
  37. package/dist/{index-9Z6Gwtnf.d.ts → index-BlQsW8ZZ.d.ts} +1 -1
  38. package/dist/index.d.ts +32 -39
  39. package/dist/index.js +25 -26
  40. package/dist/{markdown-DDyOdYq_.js → markdown-CqVyNG-h.js} +2 -2
  41. package/dist/markdown-editor.d.ts +1 -1
  42. package/dist/markdown-editor.js +4 -4
  43. package/dist/markdown.js +1 -1
  44. package/dist/motion/core.d.ts +1 -1
  45. package/dist/motion/core.js +4 -4
  46. package/dist/{motion-itHFtXwA.js → motion-C8P5yWaA.js} +1 -1
  47. package/dist/{motion-core-BfIefToe.d.ts → motion-core-BEwxN7Il.d.ts} +4 -2
  48. package/dist/{motion-core-BdTfxAhY.js → motion-core-pkL0M4Y1.js} +57 -115
  49. package/dist/{motion-list-BBbz93WT.js → motion-list-DDVUyVYa.js} +1 -1
  50. package/dist/motion.d.ts +1 -1
  51. package/dist/motion.js +5 -5
  52. package/dist/nuxt.d.ts +2 -4
  53. package/dist/nuxt.js +1 -34
  54. package/dist/parts/components/agent-session.js +1 -1
  55. package/dist/parts/components/avatar-stack.js +1 -1
  56. package/dist/parts/components/chat-message.js +1 -1
  57. package/dist/parts/components/chat-session.js +1 -1
  58. package/dist/parts/components/chat.js +1 -1
  59. package/dist/parts/components/code-block.js +1 -1
  60. package/dist/parts/components/comment-composer.d.ts +1 -1
  61. package/dist/parts/components/comment-composer.js +1 -1
  62. package/dist/parts/components/comment-layer.d.ts +1 -1
  63. package/dist/parts/components/comment-layer.js +1 -1
  64. package/dist/parts/components/comment-panel.d.ts +1 -1
  65. package/dist/parts/components/comment-panel.js +6 -7
  66. package/dist/parts/components/comment-selection-bar.d.ts +1 -1
  67. package/dist/parts/components/comment-selection-bar.js +1 -1
  68. package/dist/parts/components/comment-thread.d.ts +1 -1
  69. package/dist/parts/components/comment-thread.js +1 -1
  70. package/dist/parts/components/comments.d.ts +8 -8
  71. package/dist/parts/components/comments.js +5 -6
  72. package/dist/parts/components/copy-button.js +1 -3
  73. package/dist/parts/components/drop-field.js +1 -1
  74. package/dist/parts/components/hold-to-delete.js +1 -1
  75. package/dist/parts/components/markdown.js +1 -1
  76. package/dist/parts/components/message-parts.js +1 -1
  77. package/dist/parts/components/motion-list.d.ts +1 -1
  78. package/dist/parts/components/motion-list.js +1 -1
  79. package/dist/parts/components/motion.d.ts +2 -2
  80. package/dist/parts/components/motion.js +12 -3
  81. package/dist/parts/components/progress.js +1 -1
  82. package/dist/parts/components/prompt-input.d.ts +1 -1
  83. package/dist/parts/components/sync-status.js +1 -1
  84. package/dist/parts/playground/share.js +0 -1
  85. package/dist/parts/workspace/browser-support-notice.d.ts +1 -1
  86. package/dist/parts/workspace/browser-support-notice.js +4 -4
  87. package/dist/parts/workspace/codemirror.js +0 -4
  88. package/dist/parts/workspace/connect-panel.js +2 -3
  89. package/dist/parts/workspace/file-icons.js +0 -8
  90. package/dist/parts/workspace/runners/web-container.js +2 -2
  91. package/dist/parts/workspace/workspace-bar.d.ts +1 -1
  92. package/dist/parts/workspace/workspace-bar.js +2 -3
  93. package/dist/parts/workspace/workspace-boot-status.js +1 -1
  94. package/dist/parts/workspace/workspace-editor-head.js +2 -3
  95. package/dist/parts/workspace/workspace-examples.js +4 -5
  96. package/dist/parts/workspace/workspace-file-tree.d.ts +1 -1
  97. package/dist/parts/workspace/workspace-guide.js +3 -4
  98. package/dist/parts/workspace/workspace-preview.d.ts +1 -1
  99. package/dist/parts/workspace/workspace-preview.js +2 -4
  100. package/dist/parts/workspace/workspace-shell.d.ts +1 -1
  101. package/dist/parts/workspace/workspace-shell.js +2 -7
  102. package/dist/parts/workspace/workspace-sidebar.d.ts +1 -1
  103. package/dist/parts/workspace/workspace-sidebar.js +5 -6
  104. package/dist/parts/workspace/workspace-start.js +2 -3
  105. package/dist/parts/workspace/workspace-steps.js +6 -7
  106. package/dist/parts/workspace/workspace-terminal.js +0 -6
  107. package/dist/parts/workspace/workspace.d.ts +3 -3
  108. package/dist/parts/workspace/workspace.js +15 -18
  109. package/dist/{progress-D_9sG648.js → progress-D7CyDkLW.js} +1 -1
  110. package/dist/{prompt-input-j4OFTF5p.d.ts → prompt-input-DZM3E6WP.d.ts} +2 -2
  111. package/dist/{ring-DoL9jivj.js → ring-C5lNUEAG.js} +1 -1
  112. package/dist/runtime/nuxt-plugin.js +27 -1
  113. package/dist/{stand-ins-CuKM1UH1.js → stand-ins-C2oSoNwV.js} +29 -84
  114. package/dist/styles.css +37 -21
  115. package/dist/{sync-status-BRroyOre.js → sync-status-D27Qt7mk.js} +1 -1
  116. package/dist/theme-focus-ring.css +1 -1
  117. package/dist/{tween-lVMRCUEv.js → tween-DGAmrS3r.js} +4 -2
  118. package/dist/{types-BF_U0tgp.d.ts → types-CMU8Vmew.d.ts} +2 -5
  119. package/dist/{vue-DdYvDVOr.js → vue-D70TZJhJ.js} +1 -1
  120. package/dist/{workspace-boot-status-CyGlJS06.js → workspace-boot-status-BDkpubHd.js} +0 -1
  121. package/dist/{workspace-shell-B4A7CINd.d.ts → workspace-shell-CwEQT_1s.d.ts} +1 -1
  122. package/dist/workspace.d.ts +1 -1
  123. package/dist/workspace.js +1 -1
  124. package/package.json +10 -18
  125. package/dist/CopyButton-Dtg_Oc9_.js +0 -115
  126. package/dist/announce-CJNXaYbT.js +0 -29
  127. package/dist/comment-send.css +0 -267
  128. package/dist/comments-BtD28xEn.js +0 -390
  129. package/dist/nuxt-ui-CPdiTwwD.js +0 -22
  130. package/dist/theme.css +0 -379
  131. package/dist/theme.d.ts +0 -410
  132. package/dist/theme.js +0 -290
  133. package/dist/ui-components-CKQAPI-W.js +0 -7
  134. package/dist/use-copy-DK1SSZkh.js +0 -66
@@ -1,2 +1,2 @@
1
- import { a as CommentComposerSubmit, c as CommentMentionItemScope, i as CommentComposerSlots, n as CommentComposerFrame, o as CommentComposerVariant, r as CommentComposerSize, s as CommentMentionEmptyScope, t as CommentComposer } from "../../comment-composer-CIsbz-78.js";
1
+ import { a as CommentComposerSubmit, c as CommentMentionItemScope, i as CommentComposerSlots, n as CommentComposerFrame, o as CommentComposerVariant, r as CommentComposerSize, s as CommentMentionEmptyScope, t as CommentComposer } from "../../comment-composer-PmERtNNb.js";
2
2
  export { CommentComposer, CommentComposerFrame, CommentComposerSize, CommentComposerSlots, CommentComposerSubmit, CommentComposerVariant, CommentMentionEmptyScope, CommentMentionItemScope };
@@ -1 +1 @@
1
- export { t as CommentComposer } from "../../comment-composer-BUt6vbnr.js";
1
+ export { t as CommentComposer } from "../../comment-composer-BtYrIT5W.js";
@@ -1,2 +1,2 @@
1
- import { n as CommentPlacement, t as CommentLayer } from "../../comment-layer-BlVNORgj.js";
1
+ import { n as CommentPlacement, t as CommentLayer } from "../../comment-layer-BgQz1ixK.js";
2
2
  export { CommentLayer, CommentPlacement };
@@ -1 +1 @@
1
- export { t as CommentLayer } from "../../comment-layer-Ck2H24oJ.js";
1
+ export { t as CommentLayer } from "../../comment-layer-T8hN_7bN.js";
@@ -1,2 +1,2 @@
1
- import { a as CommentPanelVariant, i as CommentPanelSlots, n as CommentGroupSlotScope, o as CommentUpload, r as CommentPanel, t as CommentGroup } from "../../comment-panel-Djx-KxVa.js";
1
+ import { a as CommentPanelVariant, i as CommentPanelSlots, n as CommentGroupSlotScope, o as CommentUpload, r as CommentPanel, t as CommentGroup } from "../../comment-panel-Vo3m6rHB.js";
2
2
  export { CommentGroup, CommentGroupSlotScope, CommentPanel, CommentPanelSlots, CommentPanelVariant, CommentUpload };
@@ -1,11 +1,11 @@
1
- import { t as RollNumber_default } from "../../RollNumber-Bo2tzfAp.js";
1
+ import { t as RollNumber_default } from "../../RollNumber-CkdLiy2i.js";
2
2
  import { a as useCommentsContext, i as useComments, o as commentThreadKey, r as provideComments, s as useSelectedComment } from "../../comments-BaSrroRV.js";
3
3
  import { t as uiErrorDiagnostics } from "../../error-diagnostics-BlgA9rI2.js";
4
- import { n as rowSlotScope, r as useCommentAttachments, t as CommentRow_default } from "../../CommentRow-ViZ7r8nr.js";
5
- import { i as deliveryAttributes, n as CommentThread, r as commentTitle } from "../../comment-thread-C_Q4UDaV.js";
4
+ import { n as rowSlotScope, r as useCommentAttachments, t as CommentRow_default } from "../../CommentRow-DLW77qch.js";
5
+ import { i as deliveryAttributes, n as CommentThread, r as commentTitle } from "../../comment-thread-CAexk1r7.js";
6
6
  import { n as injectComments } from "../../comments-context-3js2YFl2.js";
7
- import { t as CommentComposer } from "../../comment-composer-BUt6vbnr.js";
8
- import { t as useUIComponent } from "../../nuxt-ui-CPdiTwwD.js";
7
+ import { t as CommentComposer } from "../../comment-composer-BtYrIT5W.js";
8
+ import { n as ViteHubButton } from "../../stand-ins-C2oSoNwV.js";
9
9
  import { computed, defineComponent, h, nextTick, ref, watch } from "vue";
10
10
  // src/components/comment-panel.ts
11
11
  const listSlots = /* @__PURE__ */ new Set([
@@ -75,7 +75,6 @@ const CommentPanel = defineComponent({
75
75
  ],
76
76
  slots: Object,
77
77
  setup(props, { emit, slots }) {
78
- const UButton = useUIComponent("UButton");
79
78
  const inherited = props.comments ?? injectComments();
80
79
  if (!inherited && !props.subject) throw uiErrorDiagnostics.UI_R0002({ message: "CommentPanel needs a comments state: put it inside CommentLayer, pass `comments`, or pass a `subject`." });
81
80
  const state = useCommentsContext(inherited ?? useComments({
@@ -231,7 +230,7 @@ const CommentPanel = defineComponent({
231
230
  }) ?? label), items(threads, label)]));
232
231
  const list = () => {
233
232
  const counts = state.counts.value;
234
- const filter = (value, label, count) => h(UButton, {
233
+ const filter = (value, label, count) => h(ViteHubButton, {
235
234
  "aria-checked": String(status.value === value),
236
235
  color: "neutral",
237
236
  "data-slot": "comment-panel-filter",
@@ -1,2 +1,2 @@
1
- import { t as CommentSelectionBar } from "../../comment-selection-bar-CbOEI98x.js";
1
+ import { t as CommentSelectionBar } from "../../comment-selection-bar-B_bchB2O.js";
2
2
  export { CommentSelectionBar };
@@ -1 +1 @@
1
- export { t as CommentSelectionBar } from "../../comment-selection-bar-CxPkJxVl.js";
1
+ export { t as CommentSelectionBar } from "../../comment-selection-bar-BMFTtI3V.js";
@@ -1,2 +1,2 @@
1
- import { a as CommentReplySlots, c as CommentThreadSlotScope, 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-X6gYMNay.js";
1
+ import { a as CommentReplySlots, c as CommentThreadSlotScope, 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-Cp9k80uv.js";
2
2
  export { CommentAttachmentLink, CommentAttachmentUrl, CommentReply, CommentReplySlotScope, CommentReplySlots, CommentStatusSlotScope, CommentThread, CommentThreadSlotScope, CommentThreadSlots, messagesSinceResolved };
@@ -1 +1 @@
1
- export { t as CommentReply, n as CommentThread, a as messagesSinceResolved } from "../../comment-thread-C_Q4UDaV.js";
1
+ export { t as CommentReply, n as CommentThread, a as messagesSinceResolved } from "../../comment-thread-CAexk1r7.js";
@@ -1,8 +1,8 @@
1
- import { a as CommentComposerSubmit, c as CommentMentionItemScope, i as CommentComposerSlots, n as CommentComposerFrame, o as CommentComposerVariant, r as CommentComposerSize, s as CommentMentionEmptyScope, t as CommentComposer } from "../../comment-composer-CIsbz-78.js";
2
- import { _ as CommentToolbarSlots, a as CommentPinEmits, c as CommentRowProps, d as CommentSelectionBarEmits, f as CommentSelectionBarProps, g as CommentToolbarProps, h as CommentSendProps, i as CommentListSlots, l as CommentRowSlotScope, m as CommentSelectionBarSlots, n as CommentListEmits, o as CommentPinProps, p as CommentSelectionBarSide, r as CommentListProps, s as CommentRowPartSlots, t as CommentFiltersProps, u as CommentRowSlots } from "../../types-BF_U0tgp.js";
3
- 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-X6gYMNay.js";
4
- import { a as CommentPanelVariant, i as CommentPanelSlots, n as CommentGroupSlotScope, o as CommentUpload, r as CommentPanel, t as CommentGroup } from "../../comment-panel-Djx-KxVa.js";
5
- import { n as CommentPlacement, t as CommentLayer } from "../../comment-layer-BlVNORgj.js";
6
- import { t as CommentSelectionBar } from "../../comment-selection-bar-CbOEI98x.js";
7
- import { a as _default, i as _default$1, n as _default$3, r as _default$2, t as _default$4 } from "../../comments-B1itauwb.js";
8
- export { CommentAttachmentLink, CommentAttachmentUrl, CommentComposer, CommentComposerFrame, CommentComposerSize, CommentComposerSlots, CommentComposerSubmit, CommentComposerVariant, _default as CommentFilters, type CommentFiltersProps, CommentGroup, CommentGroupSlotScope, CommentLayer, _default$1 as CommentList, type CommentListEmits, type CommentListProps, type CommentListSlots, CommentMentionEmptyScope, CommentMentionItemScope, CommentPanel, CommentPanelSlots, CommentPanelVariant, _default$2 as CommentPin, type CommentPinEmits, type CommentPinProps, CommentPlacement, CommentReply, CommentReplySlotScope, CommentReplySlots, type CommentRowPartSlots, type CommentRowProps, type CommentRowSlotScope, type CommentRowSlots, CommentSelectionBar, type CommentSelectionBarEmits, type CommentSelectionBarProps, type CommentSelectionBarSide, type CommentSelectionBarSlots, _default$3 as CommentSend, type CommentSendProps, CommentStatusSlotScope, CommentThread, CommentThreadSlotScope, CommentThreadSlots, _default$4 as CommentToolbar, type CommentToolbarProps, type CommentToolbarSlots, CommentUpload, messagesSinceResolved, repliedSinceResolved };
1
+ import { a as CommentComposerSubmit, c as CommentMentionItemScope, i as CommentComposerSlots, n as CommentComposerFrame, o as CommentComposerVariant, r as CommentComposerSize, s as CommentMentionEmptyScope, t as CommentComposer } from "../../comment-composer-PmERtNNb.js";
2
+ import { a as CommentPinEmits, c as CommentRowProps, d as CommentSelectionBarEmits, f as CommentSelectionBarProps, g as CommentToolbarSlots, h as CommentToolbarProps, i as CommentListSlots, l as CommentRowSlotScope, m as CommentSelectionBarSlots, n as CommentListEmits, o as CommentPinProps, p as CommentSelectionBarSide, r as CommentListProps, s as CommentRowPartSlots, t as CommentFiltersProps, u as CommentRowSlots } from "../../types-CMU8Vmew.js";
3
+ 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-Cp9k80uv.js";
4
+ import { a as CommentPanelVariant, i as CommentPanelSlots, n as CommentGroupSlotScope, o as CommentUpload, r as CommentPanel, t as CommentGroup } from "../../comment-panel-Vo3m6rHB.js";
5
+ import { n as CommentPlacement, t as CommentLayer } from "../../comment-layer-BgQz1ixK.js";
6
+ import { t as CommentSelectionBar } from "../../comment-selection-bar-B_bchB2O.js";
7
+ import { i as _default, n as _default$2, r as _default$1, t as _default$3 } from "../../comments-BBNiQTxK.js";
8
+ export { CommentAttachmentLink, CommentAttachmentUrl, CommentComposer, CommentComposerFrame, CommentComposerSize, CommentComposerSlots, CommentComposerSubmit, CommentComposerVariant, _default as CommentFilters, type CommentFiltersProps, CommentGroup, CommentGroupSlotScope, CommentLayer, _default$1 as CommentList, type CommentListEmits, type CommentListProps, type CommentListSlots, CommentMentionEmptyScope, CommentMentionItemScope, CommentPanel, CommentPanelSlots, CommentPanelVariant, _default$2 as CommentPin, type CommentPinEmits, type CommentPinProps, CommentPlacement, CommentReply, CommentReplySlotScope, CommentReplySlots, type CommentRowPartSlots, type CommentRowProps, type CommentRowSlotScope, type CommentRowSlots, CommentSelectionBar, type CommentSelectionBarEmits, type CommentSelectionBarProps, type CommentSelectionBarSide, type CommentSelectionBarSlots, CommentStatusSlotScope, CommentThread, CommentThreadSlotScope, CommentThreadSlots, _default$3 as CommentToolbar, type CommentToolbarProps, type CommentToolbarSlots, CommentUpload, messagesSinceResolved, repliedSinceResolved };
@@ -1,7 +1,6 @@
1
- import { t as CommentComposer } from "../../comment-composer-BUt6vbnr.js";
2
- import { a as CommentFilters_default, i as CommentList_default, n as CommentToolbar_default, r as CommentPin_default, t as CommentLayer } from "../../comment-layer-Ck2H24oJ.js";
3
- import { a as messagesSinceResolved, n as CommentThread, o as repliedSinceResolved, t as CommentReply } from "../../comment-thread-C_Q4UDaV.js";
4
- import { t as CommentSelectionBar } from "../../comment-selection-bar-CxPkJxVl.js";
5
- import { t as CommentSend_default } from "../../comments-BtD28xEn.js";
1
+ import { t as CommentComposer } from "../../comment-composer-BtYrIT5W.js";
2
+ import { a as CommentFilters_default, i as CommentList_default, n as CommentToolbar_default, r as CommentPin_default, t as CommentLayer } from "../../comment-layer-T8hN_7bN.js";
6
3
  import { CommentPanel } from "./comment-panel.js";
7
- export { CommentComposer, CommentFilters_default as CommentFilters, CommentLayer, CommentList_default as CommentList, CommentPanel, CommentPin_default as CommentPin, CommentReply, CommentSelectionBar, CommentSend_default as CommentSend, CommentThread, CommentToolbar_default as CommentToolbar, messagesSinceResolved, repliedSinceResolved };
4
+ import { a as messagesSinceResolved, n as CommentThread, o as repliedSinceResolved, t as CommentReply } from "../../comment-thread-CAexk1r7.js";
5
+ import { t as CommentSelectionBar } from "../../comment-selection-bar-BMFTtI3V.js";
6
+ export { CommentComposer, CommentFilters_default as CommentFilters, CommentLayer, CommentList_default as CommentList, CommentPanel, CommentPin_default as CommentPin, CommentReply, CommentSelectionBar, CommentThread, CommentToolbar_default as CommentToolbar, messagesSinceResolved, repliedSinceResolved };
@@ -1,3 +1 @@
1
- import { t as useCopy } from "../../use-copy-DK1SSZkh.js";
2
- import { t as CopyButton_default } from "../../CopyButton-Dtg_Oc9_.js";
3
- export { CopyButton_default as CopyButton, useCopy };
1
+ export { t as CopyButton, n as useCopy } from "../../CopyButton-D-g6PWc8.js";
@@ -1 +1 @@
1
- export { t as DropField } from "../../drop-field-DKpYQ3tO.js";
1
+ export { t as DropField } from "../../drop-field-BkoJOWR9.js";
@@ -1 +1 @@
1
- export { t as HoldToDelete } from "../../hold-to-delete-cOPqQ9FJ.js";
1
+ export { t as HoldToDelete } from "../../hold-to-delete-pyrlKzk0.js";
@@ -1 +1 @@
1
- export { t as Markdown } from "../../Markdown-_w7feFzl.js";
1
+ export { t as Markdown } from "../../Markdown-3-Tvy5Kl.js";
@@ -1 +1 @@
1
- export { t as MessageParts } from "../../MessageParts-FVyYZNsn.js";
1
+ export { t as MessageParts } from "../../MessageParts-BGSctG7Z.js";
@@ -1,2 +1,2 @@
1
- import { c as MotionListSlots, r as _default, s as MotionListProps } from "../../index-9Z6Gwtnf.js";
1
+ import { c as MotionListSlots, r as _default, s as MotionListProps } from "../../index-BlQsW8ZZ.js";
2
2
  export { _default as MotionList, type MotionListProps, type MotionListSlots };
@@ -1 +1 @@
1
- export { t as MotionList } from "../../motion-list-BBbz93WT.js";
1
+ export { t as MotionList } from "../../motion-list-DDVUyVYa.js";
@@ -1,5 +1,5 @@
1
- import { b as IconEnter, x as IconExit } from "../../motion-core-BfIefToe.js";
2
- import { a as MorphTextProps, d as RollNumberSlots, f as SwapIconProps, i as _default, l as MotionRenderProps, n as _default$1, o as MorphTextSlots, p as SwapIconSlots, t as _default$2, u as RollNumberProps } from "../../index-9Z6Gwtnf.js";
1
+ import { b as IconEnter, x as IconExit } from "../../motion-core-BEwxN7Il.js";
2
+ import { a as MorphTextProps, d as RollNumberSlots, f as SwapIconProps, i as _default, l as MotionRenderProps, n as _default$1, o as MorphTextSlots, p as SwapIconSlots, t as _default$2, u as RollNumberProps } from "../../index-BlQsW8ZZ.js";
3
3
  import { Directive } from "vue";
4
4
  /**
5
5
  * `v-ring="done"` rings the element once each time `done` becomes true, for a finished action such as saved or copied.
@@ -1,4 +1,13 @@
1
- import { t as MorphText_default } from "../../MorphText-CYTndbyp.js";
2
- import { t as RollNumber_default } from "../../RollNumber-Bo2tzfAp.js";
3
- import { n as SwapIcon_default, t as vRing } from "../../motion-dPwxx3Wk.js";
1
+ import { t as ring } from "../../ring-C5lNUEAG.js";
2
+ import { t as MorphText_default } from "../../MorphText-DAHAswWX.js";
3
+ import { t as RollNumber_default } from "../../RollNumber-CkdLiy2i.js";
4
+ import { t as SwapIcon_default } from "../../SwapIcon-Bjkk7WlZ.js";
5
+ // src/components/motion.ts
6
+ /**
7
+ * `v-ring="done"` rings the element once each time `done` becomes true, for a finished action such as saved or copied.
8
+ * `createViteHubUI()` registers it as `v-ring`.
9
+ */
10
+ const vRing = { updated(element, binding) {
11
+ if (binding.value && !binding.oldValue) ring(element);
12
+ } };
4
13
  export { MorphText_default as MorphText, RollNumber_default as RollNumber, SwapIcon_default as SwapIcon, vRing };
@@ -1 +1 @@
1
- export { t as Progress } from "../../progress-D_9sG648.js";
1
+ export { t as Progress } from "../../progress-D7CyDkLW.js";
@@ -1,2 +1,2 @@
1
- import { _ as PromptInputTextareaProps, a as _default$1, c as PromptInputAttachSlots, d as PromptInputProps, f as PromptInputSlotScope, g as PromptInputSubmitSlots, h as PromptInputSubmitProps, i as _default$2, l as PromptInputAttachmentsProps, m as PromptInputSubmitEvent, n as _default$4, o as _default, p as PromptInputSlots, r as _default$3, s as PromptInputAttachProps, t as _default$5, u as PromptInputEmits, v as PromptInputToolbarProps, y as PromptInputToolbarSlots } from "../../prompt-input-j4OFTF5p.js";
1
+ import { _ as PromptInputTextareaProps, a as _default$1, c as PromptInputAttachSlots, d as PromptInputProps, f as PromptInputSlotScope, g as PromptInputSubmitSlots, h as PromptInputSubmitProps, i as _default$2, l as PromptInputAttachmentsProps, m as PromptInputSubmitEvent, n as _default$4, o as _default, p as PromptInputSlots, r as _default$3, s as PromptInputAttachProps, t as _default$5, u as PromptInputEmits, v as PromptInputToolbarProps, y as PromptInputToolbarSlots } from "../../prompt-input-DZM3E6WP.js";
2
2
  export { _default as PromptInput, _default$1 as PromptInputAttach, type PromptInputAttachProps, type PromptInputAttachSlots, _default$2 as PromptInputAttachments, type PromptInputAttachmentsProps, type PromptInputEmits, type PromptInputProps, type PromptInputSlotScope, type PromptInputSlots, _default$3 as PromptInputSubmit, type PromptInputSubmitEvent, type PromptInputSubmitProps, type PromptInputSubmitSlots, _default$4 as PromptInputTextarea, type PromptInputTextareaProps, _default$5 as PromptInputToolbar, type PromptInputToolbarProps, type PromptInputToolbarSlots };
@@ -1 +1 @@
1
- export { t as SyncStatus, r as SyncStatusIndicator, n as SyncStatusLabel } from "../../sync-status-BRroyOre.js";
1
+ export { t as SyncStatus, r as SyncStatusIndicator, n as SyncStatusLabel } from "../../sync-status-D27Qt7mk.js";
@@ -21,7 +21,6 @@ async function deflate(text) {
21
21
  const stream = new Blob([new TextEncoder().encode(text)]).stream().pipeThrough(new CompressionStream("deflate-raw"));
22
22
  return new Uint8Array(await new Response(stream).arrayBuffer());
23
23
  }
24
- /** Inflates at most `inflatedLimit` bytes, so a crafted link cannot fill the memory of the tab. Undefined above it. */
25
24
  async function inflate(bytes) {
26
25
  const reader = new Blob([bytes]).stream().pipeThrough(new DecompressionStream("deflate-raw")).getReader();
27
26
  const decoder = new TextDecoder();
@@ -66,9 +66,9 @@ export declare const BrowserSupportNotice: import("vue").DefineComponent<import(
66
66
  }>> & Readonly<{
67
67
  onCopied?: ((url: string) => any) | undefined;
68
68
  }>, {
69
+ description: string;
69
70
  url: string;
70
71
  supported: boolean | undefined;
71
72
  reason: string;
72
73
  browser: UnsupportedBrowser;
73
- description: string;
74
74
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,7 +1,7 @@
1
- import { t as useCopy } from "../../use-copy-DK1SSZkh.js";
2
- import { t as MorphText_default } from "../../MorphText-CYTndbyp.js";
3
- import { n as SwapIcon_default } from "../../motion-dPwxx3Wk.js";
4
- import { t as ring } from "../../ring-DoL9jivj.js";
1
+ import { n as useCopy } from "../../CopyButton-D-g6PWc8.js";
2
+ import { t as MorphText_default } from "../../MorphText-DAHAswWX.js";
3
+ import { t as SwapIcon_default } from "../../SwapIcon-Bjkk7WlZ.js";
4
+ import { t as ring } from "../../ring-C5lNUEAG.js";
5
5
  import { icon } from "./icons.js";
6
6
  import { defineComponent, h, onBeforeUnmount, onMounted, ref, useId } from "vue";
7
7
  // src/workspace/browser-support-notice.ts
@@ -17,7 +17,6 @@ const syntaxScopes = {
17
17
  type: "entity.name.type",
18
18
  variable: "variable"
19
19
  };
20
- /** The `--vh-ws-code-*` syntax colors of one Pierre theme, the same ones that `FileView` paints. */
21
20
  function syntaxColors(theme) {
22
21
  const colors = {};
23
22
  for (const [name, scope] of Object.entries(syntaxScopes)) {
@@ -169,9 +168,6 @@ async function languageFor(path) {
169
168
  default: return;
170
169
  }
171
170
  }
172
- /**
173
- * Match the layout's Z key or the US Mac Option+Z chord (`Ω` on `KeyZ`). A physical `KeyZ` alone can be a typing key.
174
- */
175
171
  function isToggleWrap(event) {
176
172
  if (!event.altKey || event.ctrlKey || event.metaKey || event.shiftKey) return false;
177
173
  return event.key.toLowerCase() === "z" || event.key === "Ω" && event.code === "KeyZ";
@@ -1,5 +1,5 @@
1
- import { t as useUIComponent } from "../../nuxt-ui-CPdiTwwD.js";
2
1
  import { icon, providerLogo } from "./icons.js";
2
+ import { n as ViteHubInput } from "../../components-D44u1fsy.js";
3
3
  import { computed, defineComponent, h, ref, useId } from "vue";
4
4
  // src/workspace/connect-panel.ts
5
5
  const providerInfo = {
@@ -83,7 +83,6 @@ const ConnectProviderRow = defineComponent({
83
83
  const open = ref(false);
84
84
  const token = ref("");
85
85
  const inputId = useId();
86
- const UInput = useUIComponent("UInput");
87
86
  const state = computed(() => props.state ?? defaultState(props.provider));
88
87
  const label = computed(() => connectProviderLabel(props.provider.name));
89
88
  function startEdit() {
@@ -172,7 +171,7 @@ const ConnectProviderRow = defineComponent({
172
171
  for: inputId
173
172
  }, `${label.value} token`),
174
173
  h("div", { class: "vh-ws-token-row" }, [
175
- h(UInput, {
174
+ h(ViteHubInput, {
176
175
  autocapitalize: "off",
177
176
  autocomplete: "off",
178
177
  autofocus: true,
@@ -1,10 +1,5 @@
1
1
  import { h } from "vue";
2
2
  // src/workspace/file-icons.ts
3
- /**
4
- * The colors of the file types: the brand colors of the languages, as in the Seti theme of VS Code, for light and dark
5
- * pages. They are data, like brand logos, so they live here and not in the theme. A `--vh-ws-file-<type>` token on the
6
- * page replaces one.
7
- */
8
3
  const colors = {
9
4
  astro: ["#7c3aed", "#a78bfa"],
10
5
  js: ["#a16207", "#eab308"],
@@ -20,7 +15,6 @@ function color(type) {
20
15
  const [light, dark] = colors[type];
21
16
  return `var(--vh-ws-file-${type}, light-dark(${light}, ${dark}))`;
22
17
  }
23
- /** The glyph and its color, by file extension. */
24
18
  const glyphs = {
25
19
  astro: ["A", "astro"],
26
20
  cjs: ["JS", "js"],
@@ -46,7 +40,6 @@ function extension(path) {
46
40
  const dot = name.lastIndexOf(".");
47
41
  return dot > 0 ? name.slice(dot + 1).toLowerCase() : "";
48
42
  }
49
- /** The inner SVG of the icon of `path`, in a 16x16 box. */
50
43
  function iconBody(path) {
51
44
  const type = extension(path);
52
45
  if (type === "vue") return vueLogo;
@@ -58,7 +51,6 @@ const symbolIds = {
58
51
  vue: "vh-ws-file-vue",
59
52
  ...Object.fromEntries(Object.keys(glyphs).map((type) => [type, `vh-ws-file-${type}`]))
60
53
  };
61
- /** The symbols that `fileTreeIcons` names, for the `spriteSheet` of a Pierre tree. */
62
54
  const spriteSheet = `<svg xmlns="http://www.w3.org/2000/svg" style="display: none">${Object.entries(symbolIds).map(([type, id]) => `<symbol id="${id}" viewBox="0 0 16 16">${iconBody(type === "other" ? "" : `file.${type}`)}</symbol>`).join("")}</svg>`;
63
55
  /** The `icons` option of a Pierre tree that draws these icons. A file of another type gets a muted dot. */
64
56
  const fileTreeIcons = {
@@ -1,7 +1,7 @@
1
- import { t as useCopy } from "../../../use-copy-DK1SSZkh.js";
1
+ import { n as useCopy } from "../../../CopyButton-D-g6PWc8.js";
2
2
  import { ConnectPanel } from "../connect-panel.js";
3
3
  import { useConnectStore } from "../connect-store.js";
4
- import { t as WorkspaceBootStatus } from "../../../workspace-boot-status-CyGlJS06.js";
4
+ import { t as WorkspaceBootStatus } from "../../../workspace-boot-status-BDkpubHd.js";
5
5
  import { WorkspacePreview, workspacePreviewScript } from "../workspace-preview.js";
6
6
  import { WorkspaceTerminal } from "../workspace-terminal.js";
7
7
  import { computed, getCurrentInstance, h, onMounted, onScopeDispose, ref, shallowRef, watch } from "vue";
@@ -38,9 +38,9 @@ export declare const WorkspaceBar: import("vue").DefineComponent<import("vue").E
38
38
  }>> & Readonly<{
39
39
  "onUpdate:sidebar"?: ((open: boolean) => any) | undefined;
40
40
  }>, {
41
+ step: string;
41
42
  sidebar: boolean;
42
43
  sidebarId: string;
43
- step: string;
44
44
  }, SlotsType<{
45
45
  lead?: () => VNode[];
46
46
  examples?: () => VNode[];
@@ -1,4 +1,4 @@
1
- import { t as useUIComponent } from "../../nuxt-ui-CPdiTwwD.js";
1
+ import { n as ViteHubButton } from "../../stand-ins-C2oSoNwV.js";
2
2
  import { defineComponent, h } from "vue";
3
3
  // src/workspace/workspace-bar.ts
4
4
  /**
@@ -26,9 +26,8 @@ const WorkspaceBar = defineComponent({
26
26
  emits: { "update:sidebar": (open) => typeof open === "boolean" },
27
27
  slots: Object,
28
28
  setup(props, { emit, slots }) {
29
- const UButton = useUIComponent("UButton");
30
29
  return () => h("header", { class: "vh-ws-topbar" }, [
31
- props.sidebar === void 0 ? void 0 : h(UButton, {
30
+ props.sidebar === void 0 ? void 0 : h(ViteHubButton, {
32
31
  "aria-controls": props.sidebarId,
33
32
  "aria-expanded": String(props.sidebar),
34
33
  "aria-label": props.sidebar ? "Close the sidebar" : "Open the sidebar",
@@ -1 +1 @@
1
- export { t as WorkspaceBootStatus, n as bootChecklist } from "../../workspace-boot-status-CyGlJS06.js";
1
+ export { t as WorkspaceBootStatus, n as bootChecklist } from "../../workspace-boot-status-BDkpubHd.js";
@@ -1,6 +1,6 @@
1
- import { t as useUIComponent } from "../../nuxt-ui-CPdiTwwD.js";
2
1
  import { fileIcon } from "./file-icons.js";
3
2
  import { icon } from "./icons.js";
3
+ import { n as ViteHubButton } from "../../stand-ins-C2oSoNwV.js";
4
4
  import { defineComponent, h } from "vue";
5
5
  // src/workspace/workspace-editor-head.ts
6
6
  /**
@@ -28,7 +28,6 @@ const WorkspaceEditorHead = defineComponent({
28
28
  },
29
29
  emits: { "update:wrap": (wrap) => typeof wrap === "boolean" },
30
30
  setup(props, { emit, slots }) {
31
- const UButton = useUIComponent("UButton");
32
31
  return () => {
33
32
  const folders = props.path.split("/").filter(Boolean);
34
33
  const name = folders.pop() ?? props.path;
@@ -45,7 +44,7 @@ const WorkspaceEditorHead = defineComponent({
45
44
  props.readonly ? h("span", { class: "vh-ws-readonly" }, [icon("lock", "vh-ws-readonly-icon"), "Read-only"]) : void 0,
46
45
  h("span", { class: "vh-ws-file-head-spacer" }),
47
46
  slots.default?.(),
48
- h(UButton, {
47
+ h(ViteHubButton, {
49
48
  "aria-keyshortcuts": "Alt+Z",
50
49
  "aria-label": "Wrap lines",
51
50
  "aria-pressed": props.wrap ? "true" : "false",
@@ -1,4 +1,5 @@
1
- import { t as useUIComponent } from "../../nuxt-ui-CPdiTwwD.js";
1
+ import { n as ViteHubButton } from "../../stand-ins-C2oSoNwV.js";
2
+ import { t as ViteHubDropdownMenu } from "../../components-D44u1fsy.js";
2
3
  import { computed, defineComponent, h } from "vue";
3
4
  // src/workspace/workspace-examples.ts
4
5
  /** The examples by group, in the order of their first example. Examples without a group come first. */
@@ -37,8 +38,6 @@ const WorkspaceExamples = defineComponent({
37
38
  },
38
39
  emits: { "update:modelValue": (id) => typeof id === "string" },
39
40
  setup(props, { emit }) {
40
- const UButton = useUIComponent("UButton");
41
- const UDropdownMenu = useUIComponent("UDropdownMenu");
42
41
  const current = computed(() => props.modelValue === null ? void 0 : props.examples.find((example) => example.id === props.modelValue) ?? props.examples[0]);
43
42
  const items = computed(() => groupExamples(props.examples).map(({ examples, group }) => [...group ? [{
44
43
  label: group,
@@ -52,14 +51,14 @@ const WorkspaceExamples = defineComponent({
52
51
  },
53
52
  type: "checkbox"
54
53
  }))]));
55
- return () => h(UDropdownMenu, {
54
+ return () => h(ViteHubDropdownMenu, {
56
55
  content: {
57
56
  align: "start",
58
57
  sideOffset: 6
59
58
  },
60
59
  items: items.value,
61
60
  ui: { content: "vh-ws-examples-menu" }
62
- }, () => h(UButton, {
61
+ }, () => h(ViteHubButton, {
63
62
  "aria-label": props.modelValue === null ? `Choose ${props.label.toLowerCase()}` : `${props.label}: ${current.value?.label ?? "none"}`,
64
63
  class: "vh-ws-bar-button vh-ws-examples-button",
65
64
  color: "neutral",
@@ -46,6 +46,6 @@ export declare const WorkspaceFileTree: import("vue").DefineComponent<import("vu
46
46
  "onUpdate:selected"?: ((path: string) => any) | undefined;
47
47
  }>, {
48
48
  label: string;
49
- edited: ReadonlySet<string> | readonly string[];
49
+ edited: readonly string[] | ReadonlySet<string>;
50
50
  selected: string;
51
51
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,5 +1,5 @@
1
- import { t as useUIComponent } from "../../nuxt-ui-CPdiTwwD.js";
2
1
  import { keepFocus, useStepModel } from "./workspace-steps.js";
2
+ import { n as ViteHubButton } from "../../stand-ins-C2oSoNwV.js";
3
3
  import { defineComponent, h, ref, watch } from "vue";
4
4
  // src/workspace/workspace-guide.ts
5
5
  /**
@@ -29,7 +29,6 @@ const WorkspaceGuide = defineComponent({
29
29
  emits: { "update:step": (step) => Number.isInteger(step) },
30
30
  setup(props, { emit, slots }) {
31
31
  const { current, go } = useStepModel(props, emit);
32
- const UButton = useUIComponent("UButton");
33
32
  const body = ref(null);
34
33
  const nav = ref(null);
35
34
  function move(index) {
@@ -50,7 +49,7 @@ const WorkspaceGuide = defineComponent({
50
49
  step: index,
51
50
  total
52
51
  };
53
- const content = slots.footer?.(slotProps) ?? (total > 1 ? [previous ? h(UButton, {
52
+ const content = slots.footer?.(slotProps) ?? (total > 1 ? [previous ? h(ViteHubButton, {
54
53
  "aria-label": `Back to step ${index}: ${previous.title}`,
55
54
  class: "vh-ws-guide-back",
56
55
  color: "neutral",
@@ -59,7 +58,7 @@ const WorkspaceGuide = defineComponent({
59
58
  size: "sm",
60
59
  variant: "ghost",
61
60
  onClick: () => move(index - 1)
62
- }) : h("span"), next ? h(UButton, {
61
+ }) : h("span"), next ? h(ViteHubButton, {
63
62
  class: "vh-ws-guide-next",
64
63
  color: "neutral",
65
64
  label: `Next: ${next.title}`,
@@ -64,7 +64,7 @@ export declare const WorkspacePreview: import("vue").DefineComponent<import("vue
64
64
  "onUpdate:device"?: ((device: WorkspacePreviewDevice) => any) | undefined;
65
65
  }>, {
66
66
  title: string;
67
- url: string;
68
67
  path: string;
68
+ url: string;
69
69
  device: WorkspacePreviewDevice;
70
70
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
@@ -1,6 +1,6 @@
1
1
  import { t as DeviceFrame_default } from "../../device-frame-DDWoyB-G.js";
2
- import { t as useUIComponent } from "../../nuxt-ui-CPdiTwwD.js";
3
2
  import { icon } from "./icons.js";
3
+ import { n as ViteHubInput } from "../../components-D44u1fsy.js";
4
4
  import { computed, defineComponent, h, onBeforeUnmount, onMounted, ref, shallowRef, useId, watch } from "vue";
5
5
  // src/workspace/workspace-preview.ts
6
6
  function join(base, path) {
@@ -54,7 +54,6 @@ function readLocation(data) {
54
54
  forward: forward === true
55
55
  };
56
56
  }
57
- /** Whether `source` is `frame` or a frame inside it. The preview origin wraps the app in frames of its own. */
58
57
  function isInside(source, frame) {
59
58
  let current = source;
60
59
  for (let depth = 0; frame && current && typeof current === "object" && depth < 8; depth++) {
@@ -150,7 +149,6 @@ const WorkspacePreview = defineComponent({
150
149
  },
151
150
  setup(props, { emit, expose, slots }) {
152
151
  const inputId = useId();
153
- const UInput = useUIComponent("UInput");
154
152
  const reloads = ref(0);
155
153
  const src = computed(() => props.url ? join(props.url, props.path) : void 0);
156
154
  const live = shallowRef();
@@ -249,7 +247,7 @@ const WorkspacePreview = defineComponent({
249
247
  class: "vh-ws-sr-only",
250
248
  for: inputId
251
249
  }, "Preview path"),
252
- h(UInput, {
250
+ h(ViteHubInput, {
253
251
  autocapitalize: "off",
254
252
  autocomplete: "off",
255
253
  class: "vh-ws-preview-path",
@@ -1,2 +1,2 @@
1
- import { a as WorkspaceTabItem, i as WorkspaceTab, n as WorkspaceShell, r as WorkspaceSplits, t as WorkspaceLayout } from "../../workspace-shell-B4A7CINd.js";
1
+ import { a as WorkspaceTabItem, i as WorkspaceTab, n as WorkspaceShell, r as WorkspaceSplits, t as WorkspaceLayout } from "../../workspace-shell-CwEQT_1s.js";
2
2
  export { WorkspaceLayout, WorkspaceShell, WorkspaceSplits, WorkspaceTab, WorkspaceTabItem };
@@ -1,4 +1,4 @@
1
- import { t as useUIComponent } from "../../nuxt-ui-CPdiTwwD.js";
1
+ import { i as ViteHubTabs } from "../../components-D44u1fsy.js";
2
2
  import { computed, defineComponent, h, onMounted, ref, watch } from "vue";
3
3
  // src/workspace/workspace-shell.ts
4
4
  const defaultSplits = {
@@ -77,10 +77,6 @@ function readSplits(key, layout) {
77
77
  } catch {}
78
78
  return fallback;
79
79
  }
80
- /**
81
- * A resize handle. It uses pointer capture so a drag over the preview iframe keeps working,
82
- * and it moves by a step with the arrow keys.
83
- */
84
80
  function separator(options) {
85
81
  const { name, orientation, splits } = options;
86
82
  const [defaultMin, defaultMax, step] = limits[name];
@@ -220,7 +216,6 @@ const WorkspaceShell = defineComponent({
220
216
  tab: active.value,
221
217
  showTab: select
222
218
  });
223
- const UTabs = useUIComponent("UTabs");
224
219
  function panelContent(name) {
225
220
  const custom = slots[`tab-${name}`];
226
221
  if (custom) return custom(slotProps());
@@ -236,7 +231,7 @@ const WorkspaceShell = defineComponent({
236
231
  key: name,
237
232
  role: "tabpanel"
238
233
  }, panelContent(name)));
239
- return h("div", { class: "vh-ws-pane vh-ws-pane--output" }, [h(UTabs, {
234
+ return h("div", { class: "vh-ws-pane vh-ws-pane--output" }, [h(ViteHubTabs, {
240
235
  "aria-label": "Workspace panels",
241
236
  class: "vh-ws-tab-list",
242
237
  content: false,
@@ -58,9 +58,9 @@ export declare const WorkspaceSidebar: import("vue").DefineComponent<import("vue
58
58
  };
59
59
  }>> & Readonly<{
60
60
  onReset?: (() => any) | undefined;
61
+ "onUpdate:open"?: ((open: boolean) => any) | undefined;
61
62
  onDownload?: (() => any) | undefined;
62
63
  "onCopy-link"?: (() => any) | undefined;
63
- "onUpdate:open"?: ((open: boolean) => any) | undefined;
64
64
  }>, {
65
65
  open: boolean;
66
66
  label: string;
@@ -1,5 +1,5 @@
1
- import { t as useUIComponent } from "../../nuxt-ui-CPdiTwwD.js";
2
- import { t as ring } from "../../ring-DoL9jivj.js";
1
+ import { t as ring } from "../../ring-C5lNUEAG.js";
2
+ import { n as ViteHubButton } from "../../stand-ins-C2oSoNwV.js";
3
3
  import { defineComponent, h, nextTick, onBeforeUnmount, onMounted, ref, useId, watch } from "vue";
4
4
  // src/workspace/workspace-sidebar.ts
5
5
  const tabbable = "a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex='-1'])";
@@ -45,7 +45,6 @@ const WorkspaceSidebar = defineComponent({
45
45
  },
46
46
  slots: Object,
47
47
  setup(props, { emit, slots }) {
48
- const UButton = useUIComponent("UButton");
49
48
  const fallbackId = useId();
50
49
  const id = () => props.id ?? fallbackId;
51
50
  const panel = ref();
@@ -89,19 +88,19 @@ const WorkspaceSidebar = defineComponent({
89
88
  key: action,
90
89
  variant: "ghost"
91
90
  };
92
- if (action === "reset") return h(UButton, {
91
+ if (action === "reset") return h(ViteHubButton, {
93
92
  ...shared,
94
93
  icon: "i-lucide-rotate-ccw",
95
94
  label: "Reset",
96
95
  onClick: () => emit("reset")
97
96
  });
98
- if (action === "download") return h(UButton, {
97
+ if (action === "download") return h(ViteHubButton, {
99
98
  ...shared,
100
99
  icon: "i-lucide-download",
101
100
  label: "Download",
102
101
  onClick: () => emit("download")
103
102
  });
104
- return h(UButton, {
103
+ return h(ViteHubButton, {
105
104
  ...shared,
106
105
  icon: props.copied ? "i-lucide-check" : "i-lucide-link",
107
106
  label: props.copied ? "Link copied" : "Copy link",