@vite-hub/ui 0.8.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 (130) hide show
  1. package/README.md +66 -50
  2. package/dist/{Chat-CuSthJVg.js → Chat-DYQitDw8.js} +1 -1
  3. package/dist/{ChatMessage-CFQs0v4N.js → ChatMessage-DzjHnxMT.js} +1 -1
  4. package/dist/{CodeBlockTitle-DIu8Ef3V.js → CodeBlockTitle-DX13mCTi.js} +1 -1
  5. package/dist/{CommentRow-XY3FNp30.js → CommentRow-DLW77qch.js} +2 -2
  6. package/dist/{CopyButton-Bs6DT-Z8.js → CopyButton-D-g6PWc8.js} +3 -3
  7. package/dist/{Markdown-Da5t-931.js → Markdown-3-Tvy5Kl.js} +1 -1
  8. package/dist/{MarkdownCodeBlock-BWDLOWPO.js → MarkdownCodeBlock-CALGW0iw.js} +1 -1
  9. package/dist/{MessageParts-CyJLG34y.js → MessageParts-BGSctG7Z.js} +1 -1
  10. package/dist/{MorphText-B6MWdeIv.js → MorphText-DAHAswWX.js} +1 -1
  11. package/dist/{RollNumber-CnF52zJM.js → RollNumber-CkdLiy2i.js} +1 -1
  12. package/dist/{SwapIcon-CUIq1TU5.js → SwapIcon-Bjkk7WlZ.js} +1 -1
  13. package/dist/{agent-session-2j2gbGpp.js → agent-session-D291hyRk.js} +1 -1
  14. package/dist/{avatar-stack-CoLlsmwJ.js → avatar-stack-Bi4CJPuU.js} +1 -1
  15. package/dist/{chat-session-cxUzvwdj.js → chat-session-Bl-x4c9b.js} +1 -1
  16. package/dist/{code-block-BqOEVWPh.d.ts → code-block-Bp8y-XJp.d.ts} +1 -1
  17. package/dist/{comment-composer-D_mcH3Ts.js → comment-composer-BtYrIT5W.js} +14 -19
  18. package/dist/{comment-composer-CsVOvG9j.d.ts → comment-composer-PmERtNNb.d.ts} +6 -6
  19. package/dist/{comment-layer-C3xmg-0_.d.ts → comment-layer-BgQz1ixK.d.ts} +6 -6
  20. package/dist/{comment-layer-Ci6ipGi2.js → comment-layer-T8hN_7bN.js} +11 -12
  21. package/dist/{comment-panel-DxN21VoY.d.ts → comment-panel-Vo3m6rHB.d.ts} +8 -8
  22. package/dist/{comment-selection-bar-DZAtiRZ9.js → comment-selection-bar-BMFTtI3V.js} +2 -3
  23. package/dist/{comment-thread-BzOZVqF2.js → comment-thread-CAexk1r7.js} +78 -38
  24. package/dist/{comment-thread-BmsqcjVQ.d.ts → comment-thread-Cp9k80uv.d.ts} +53 -5
  25. package/dist/{comments-BU8cTt5o.d.ts → comments-BBNiQTxK.d.ts} +4 -4
  26. package/dist/{components-B_2Q0dJ3.js → components-D44u1fsy.js} +22 -47
  27. package/dist/{config-BDQYUjjp.js → config-7CiYbXk6.js} +8 -5
  28. package/dist/{config-JmsTI7gs.d.ts → config-BYLPA0Ts.d.ts} +8 -6
  29. package/dist/{drop-field-DeIvKoJs.js → drop-field-BkoJOWR9.js} +1 -1
  30. package/dist/{editor-hXea1i46.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-DazElJT2.js → hold-to-delete-pyrlKzk0.js} +1 -1
  35. package/dist/{hold-to-delete-D1Vy40w5.js → hold-to-delete-sscThmPW.js} +1 -1
  36. package/dist/icon-component-ofUeRW4L.js +4 -0
  37. package/dist/{index-CffOzibW.d.ts → index-BlQsW8ZZ.d.ts} +1 -1
  38. package/dist/index.d.ts +11 -18
  39. package/dist/index.js +23 -24
  40. package/dist/{markdown-_0HhbsOo.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-BhARaNBB.js → motion-C8P5yWaA.js} +1 -1
  47. package/dist/{motion-core-gfsTPLbh.d.ts → motion-core-BEwxN7Il.d.ts} +0 -2
  48. package/dist/{motion-core-JZZiPKEk.js → motion-core-pkL0M4Y1.js} +3 -46
  49. package/dist/{motion-list-9vD1hSS0.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 -33
  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.d.ts +1 -1
  60. package/dist/parts/components/code-block.js +1 -1
  61. package/dist/parts/components/comment-composer.d.ts +1 -1
  62. package/dist/parts/components/comment-composer.js +1 -1
  63. package/dist/parts/components/comment-layer.d.ts +1 -1
  64. package/dist/parts/components/comment-layer.js +1 -1
  65. package/dist/parts/components/comment-panel.d.ts +1 -1
  66. package/dist/parts/components/comment-panel.js +6 -7
  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 +5 -5
  71. package/dist/parts/components/comments.js +4 -4
  72. package/dist/parts/components/copy-button.js +1 -1
  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 +4 -4
  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 +2 -2
  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.d.ts +1 -1
  98. package/dist/parts/workspace/workspace-guide.js +3 -4
  99. package/dist/parts/workspace/workspace-preview.d.ts +1 -1
  100. package/dist/parts/workspace/workspace-preview.js +2 -4
  101. package/dist/parts/workspace/workspace-shell.d.ts +1 -1
  102. package/dist/parts/workspace/workspace-shell.js +2 -7
  103. package/dist/parts/workspace/workspace-sidebar.d.ts +3 -3
  104. package/dist/parts/workspace/workspace-sidebar.js +5 -6
  105. package/dist/parts/workspace/workspace-start.d.ts +1 -1
  106. package/dist/parts/workspace/workspace-start.js +2 -3
  107. package/dist/parts/workspace/workspace-steps.js +6 -7
  108. package/dist/parts/workspace/workspace-terminal.js +0 -6
  109. package/dist/parts/workspace/workspace.d.ts +5 -5
  110. package/dist/parts/workspace/workspace.js +15 -18
  111. package/dist/{progress-8P8RLYMy.js → progress-D7CyDkLW.js} +1 -1
  112. package/dist/{prompt-input-j4OFTF5p.d.ts → prompt-input-DZM3E6WP.d.ts} +2 -2
  113. package/dist/{ring-B0nZBnU0.js → ring-C5lNUEAG.js} +1 -1
  114. package/dist/runtime/nuxt-plugin.js +27 -1
  115. package/dist/{stand-ins-CuKM1UH1.js → stand-ins-C2oSoNwV.js} +29 -84
  116. package/dist/styles.css +27 -9
  117. package/dist/{sync-status-B29eG_n-.js → sync-status-D27Qt7mk.js} +1 -1
  118. package/dist/theme-focus-ring.css +1 -1
  119. package/dist/{tween-1W-LlKk9.js → tween-DGAmrS3r.js} +0 -2
  120. package/dist/{vue-BdA18K5-.js → vue-D70TZJhJ.js} +1 -1
  121. package/dist/{workspace-boot-status-CyGlJS06.js → workspace-boot-status-BDkpubHd.js} +0 -1
  122. package/dist/{workspace-shell-B4A7CINd.d.ts → workspace-shell-CwEQT_1s.d.ts} +1 -1
  123. package/dist/workspace.d.ts +1 -1
  124. package/dist/workspace.js +1 -1
  125. package/package.json +10 -15
  126. package/dist/nuxt-ui-D3Qda35W.js +0 -22
  127. package/dist/theme.css +0 -379
  128. package/dist/theme.d.ts +0 -410
  129. package/dist/theme.js +0 -290
  130. package/dist/ui-components-CKQAPI-W.js +0 -7
package/dist/index.d.ts CHANGED
@@ -8,22 +8,22 @@ import { n as ChatMessageSlots, t as ChatMessageProps } from "./types-D0a3i4Fw.j
8
8
  import { t as _default$21 } from "./chat-message-QLHnX_ED.js";
9
9
  import { i as MessageScrollerContext, l as useMessageScroller, n as MessageScrollPosition, s as calculatePrependScrollTop, t as MessageScrollBehavior } from "./message-scroller-D7AvM31v.js";
10
10
  import { a as MessageScrollerContentProps, c as MessageScrollerProps, i as MessageScrollerButtonSlots, l as MessageScrollerScope, n as ChatSlots, o as MessageScrollerItemProps, r as MessageScrollerButtonProps, s as MessageScrollerPartSlots, t as ChatProps, u as MessageScrollerSlots } from "./types-D_BWab7g.js";
11
- import { _ as PromptInputTextareaProps, a as _default$71, c as PromptInputAttachSlots, d as PromptInputProps, f as PromptInputSlotScope, g as PromptInputSubmitSlots, h as PromptInputSubmitProps, i as _default$72, l as PromptInputAttachmentsProps, m as PromptInputSubmitEvent, n as _default$74, o as _default$70, p as PromptInputSlots, r as _default$73, s as PromptInputAttachProps, t as _default$75, u as PromptInputEmits, v as PromptInputToolbarProps, y as PromptInputToolbarSlots } from "./prompt-input-j4OFTF5p.js";
11
+ import { _ as PromptInputTextareaProps, a as _default$71, c as PromptInputAttachSlots, d as PromptInputProps, f as PromptInputSlotScope, g as PromptInputSubmitSlots, h as PromptInputSubmitProps, i as _default$72, l as PromptInputAttachmentsProps, m as PromptInputSubmitEvent, n as _default$74, o as _default$70, p as PromptInputSlots, r as _default$73, s as PromptInputAttachProps, t as _default$75, u as PromptInputEmits, v as PromptInputToolbarProps, y as PromptInputToolbarSlots } from "./prompt-input-DZM3E6WP.js";
12
12
  import { a as _default$43, c as FileDiffProps, d as PatchDiffProps, f as UnresolvedFileProps, i as _default$45, l as FileViewProps, n as _default$68, o as _default$31, r as _default$67, s as CodeViewProps, t as _default$95, u as MultiFileDiffProps } from "./code-view-D8yYdFUc.js";
13
13
  import { a as CopyButtonVariant, c as UseCopyReturn, i as CopyButtonSlots, l as useCopy, n as CopyButtonProps, o as CopyValue, r as CopyButtonSize, s as UseCopyOptions, t as CopyButtonEmits } from "./types-DTecvcsZ.js";
14
14
  import "./parts/components/patch-parsers.js";
15
15
  import { a as CodeViewLineSelection, c as DiffLineAnnotation, d as LineAnnotation, h as FileOptions, i as UnresolvedFileOptions, l as FileContents, m as FileDiffOptions, n as parseDiffFromFile, o as CodeViewOptions, p as SelectedLineRange, r as getSingularPatch, s as CodeViewItem, t as parsePatchFiles, u as FileDiffMetadata } from "./index-D3-uYBqH.js";
16
16
  import { i as FileTreeProps, n as FileTreeEmits, r as FileTreeExposed, t as _default$44 } from "./file-tree-DDSIafDn.js";
17
- 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-CsVOvG9j.js";
17
+ 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";
18
18
  import { a as createCommentVisibility, i as commentLeaveMs, n as CommentVisibilityModel, r as CommentVisibilityOptions, t as CommentVisibility } from "./comment-visibility-CYctacNx.js";
19
19
  import { a as CommentThreadAction, c as UseCommentsOptions, d as provideComments, f as useComments, i as CommentScope, l as defaultCommentCan, n as CommentDraft, o as CommentsOutboxState, p as useCommentsContext, r as CommentFilterState, s as CommentsState, t as CommentCan, u as draftPositionKey } from "./comments-ZfV6IZs8.js";
20
20
  import { i as MarkdownProps, n as MarkdownCodeBlockProps, r as MarkdownImageProps, t as _default$48 } from "./markdown-BLALLOc0.js";
21
21
  import { a as ChoicesInputRenderScope, c as ChoicesInputStatus, i as ChoicesInputField, n as ChoicesInputClear, o as ChoicesInputSource, r as ChoicesInputError, s as ChoicesInputState, t as ChoicesInput } from "./choices-input-DqgXl5a-.js";
22
22
  import { a as provideRelativeNow, i as RelativeTimeValue, n as RelativeTimeOptions, o as useRelativeTime, r as RelativeTimeState, t as RelativeTimeFormat } from "./relative-time-BuP-Gvzn.js";
23
23
  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";
24
- 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-BmsqcjVQ.js";
25
- import { a as CommentPanelVariant, i as CommentPanelSlots, n as CommentGroupSlotScope, o as CommentUpload, r as CommentPanel, t as CommentGroup } from "./comment-panel-DxN21VoY.js";
26
- import { n as CommentPlacement, t as CommentLayer } from "./comment-layer-C3xmg-0_.js";
24
+ 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";
25
+ import { a as CommentPanelVariant, i as CommentPanelSlots, n as CommentGroupSlotScope, o as CommentUpload, r as CommentPanel, t as CommentGroup } from "./comment-panel-Vo3m6rHB.js";
26
+ import { n as CommentPlacement, t as CommentLayer } from "./comment-layer-BgQz1ixK.js";
27
27
  import { t as CommentSelectionBar } from "./comment-selection-bar-B_bchB2O.js";
28
28
  import { t as _default$59 } from "./message-parts-CG3gNWn8.js";
29
29
  import { a as ConnectionStatusProps, c as ConnectionStatusValue, i as ConnectionStatusLabelSlots, n as _default$37, o as ConnectionStatusSlots, r as _default$36, s as ConnectionStatusState, t as _default$38 } from "./connection-status-g62BTn44.js";
@@ -32,16 +32,16 @@ import { a as DeviceFrameBreakpoint, c as DeviceFrameKind, d as DeviceFrameSize,
32
32
  import { i as ChatSessionValue, n as ChatSessionProps, r as ChatSessionSlots, t as _default$22 } from "./chat-session-BOj5L3Ey.js";
33
33
  import { n as FileTreeOptions, o as useFileTree, s as useFileTreeSelection, t as FileTreeModel } from "./file-tree-BdnKA6UA.js";
34
34
  import { a as TraceRunStep, i as TraceRunSlots, n as TraceRunData, r as TraceRunProps, t as _default$93 } from "./trace-run-Dk962P5a.js";
35
- import { _ as CodeBlockSize, a as _default$26, c as _default$23, d as CodeBlockCopyButtonProps, f as CodeBlockCopyButtonSlots, g as CodeBlockProps, h as CodeBlockLineSlots, i as _default$27, l as CodeBlockContentProps, m as CodeBlockLineProps, n as _default$29, o as _default$25, p as CodeBlockLineKind, r as _default$28, s as _default$24, t as _default$30, u as CodeBlockContentSlots, v as CodeBlockSlots, y as CodeBlockTone } from "./code-block-BqOEVWPh.js";
36
- import { i as _default$32, n as _default$34, r as _default$33, t as _default$35 } from "./comments-BU8cTt5o.js";
35
+ import { _ as CodeBlockSize, a as _default$26, c as _default$23, d as CodeBlockCopyButtonProps, f as CodeBlockCopyButtonSlots, g as CodeBlockProps, h as CodeBlockLineSlots, i as _default$27, l as CodeBlockContentProps, m as CodeBlockLineProps, n as _default$29, o as _default$25, p as CodeBlockLineKind, r as _default$28, s as _default$24, t as _default$30, u as CodeBlockContentSlots, v as CodeBlockSlots, y as CodeBlockTone } from "./code-block-Bp8y-XJp.js";
36
+ import { i as _default$32, n as _default$34, r as _default$33, t as _default$35 } from "./comments-BBNiQTxK.js";
37
37
  import { a as MarkdownValue, n as MarkdownOptions, r as MarkdownPlugins } from "./markdown-DkDxdpMU.js";
38
38
  import { t as _default$39 } from "./copy-button-CRiXUFsl.js";
39
39
  import { i as DropFieldSlots, n as DropFieldEmits, r as DropFieldProps, t as _default$42 } from "./drop-field-C0bXv1J-.js";
40
40
  import { i as FilterSearchSlots, n as FilterSearchProps, r as FilterSearchSize, t as _default$46 } from "./filter-search-C9e6sGij.js";
41
41
  import { a as _default$54, c as MessageProps, i as _default$55, l as MessageSlots, n as _default$57, o as _default$53, r as _default$56, s as MessageAlign, t as _default$58 } from "./message-DEq4K5cQ.js";
42
- import { b as IconEnter, x as IconExit } from "./motion-core-gfsTPLbh.js";
42
+ import { b as IconEnter, x as IconExit } from "./motion-core-BEwxN7Il.js";
43
43
  import { t as MotionPressMode } from "./press-BuEC-XvZ.js";
44
- import { a as MorphTextProps, c as MotionListSlots, d as RollNumberSlots, f as SwapIconProps, i as _default$65, l as MotionRenderProps, n as _default$77, o as MorphTextSlots, p as SwapIconSlots, r as _default$66, s as MotionListProps, t as _default$81, u as RollNumberProps } from "./index-CffOzibW.js";
44
+ import { a as MorphTextProps, c as MotionListSlots, d as RollNumberSlots, f as SwapIconProps, i as _default$65, l as MotionRenderProps, n as _default$77, o as MorphTextSlots, p as SwapIconSlots, r as _default$66, s as MotionListProps, t as _default$81, u as RollNumberProps } from "./index-BlQsW8ZZ.js";
45
45
  import { a as HoldToDeleteSlots, i as HoldToDeleteProps, n as HoldToDeleteEmits, o as HoldToDeleteStatus, r as HoldToDeleteExposed, t as _default$47 } from "./hold-to-delete-ksBE7wxc.js";
46
46
  import { a as MarkerContentSlots, c as MarkerSeparatorProps, d as MarkerVariant, i as _default$49, l as MarkerSeparatorSlots, n as _default$51, o as MarkerIconSlots, r as _default$50, s as MarkerProps, t as _default$52, u as MarkerSlots } from "./marker-CvcWZ3Zp.js";
47
47
  import "./parts/components/motion-list.js";
@@ -55,9 +55,8 @@ import { PlaygroundFiles } from "./parts/playground/share.js";
55
55
  import { _ as TraceLineSlots, a as _default$89, b as TraceTitleSlots, c as _default$86, d as TraceCollapsibleProps, f as TraceCollapsibleSlots, g as TraceLineProps, h as TraceIconSlots, i as _default$90, l as TraceCollapsibleContentSlots, m as TraceDescriptionSlots, n as _default$92, o as _default$88, p as TraceCollapsibleTriggerSlots, r as _default$91, s as _default$87, t as _default$94, u as TraceCollapsibleEmits, v as TraceLineStatus, y as TraceSlots } from "./trace-KCBvOsw_.js";
56
56
  import { AgentAttachments, PendingAttachment, UseAgentAttachmentsOptions, fileToDataUrl, fileToUIPart, useAgentAttachments } from "./parts/composables/attachments.js";
57
57
  import { useHighlightedCode } from "./parts/composables/highlighted-code.js";
58
- import { a as useViteHubUIIcons, c as ViteHubUIComponents, i as createViteHubUI, n as ViteHubUIMotionOptions, o as useViteHubUIMotionEnabled, r as ViteHubUIOptions, s as ViteHubUIComponentName, t as ViteHubUIIconOptions } from "./config-JmsTI7gs.js";
58
+ import { a as useViteHubUIIconComponent, i as createViteHubUI, n as ViteHubUIMotionOptions, o as useViteHubUIIcons, r as ViteHubUIOptions, s as useViteHubUIMotionEnabled, t as ViteHubUIIconOptions } from "./config-BYLPA0Ts.js";
59
59
  import { a as _default$60, i as _default$61, n as _default$63, r as _default$62, t as _default$64 } from "./headless-2IcUWHMq.js";
60
- import { Component } from "vue";
61
60
  import "nostics";
62
61
  import { UIDataTypes, UIMessage, UITools } from "ai";
63
62
  interface AgentPromptInput {
@@ -68,12 +67,6 @@ export declare const agentPromptMaxLength = 320;
68
67
  export declare const agentPromptDocsBase = "https://vitehub.dev/docs/";
69
68
  export declare function agentPrompt({ task, docs }: AgentPromptInput): string;
70
69
  export declare function agentPromptProblems(text: string): string[];
71
- /**
72
- * The components that the parts render by default, on ui-sdk. Load the kit style family for their look. `UIcon` draws
73
- * the icons that the parts use; to show other icons, such as your own in `createViteHubUI({ icons })`, pass your own
74
- * `UIcon` to `createViteHubUI({ components })`.
75
- */
76
- export declare const uiSdkComponents: Record<Exclude<ViteHubUIComponentName, `UEditor${string}`>, Component>;
77
70
  declare global {
78
71
  namespace ViteHub {
79
72
  interface AuthRegistry {}
@@ -169,4 +162,4 @@ interface AgentToolInspection {
169
162
  };
170
163
  outputSchema?: AgentInspectionValue;
171
164
  }
172
- export { AgentAttachments, type AgentInspectionValue, type AgentPromptInput, _default as AgentSession, _default$1 as AgentSessionDetailsRow, type AgentSessionDetailsRowProps, type AgentSessionDetailsRowSlots, type AgentSessionDetailsRowTone, _default$2 as AgentSessionDetailsSection, type AgentSessionDetailsSectionProps, type AgentSessionDetailsSectionSlots, type AgentSessionEmits, type AgentSessionExposed, type AgentSessionItem, type AgentSessionProps, type AgentSessionSlots, type AgentSessionSurface, _default$3 as AgentSessionTimeline, type AgentSessionTimelineProps, type AgentSessionTimelineSlots, _default$4 as AgentSessionTitle, type AgentSessionTitleProps, type AgentSessionTitleSlots, type AgentSessionWorkDetailScope, type AgentSessionWorkEntry, _default$5 as AgentSessionWorkGroup, type AgentSessionWorkGroupProps, type AgentSessionWorkGroupSlots, type AgentSessionWorkKind, type AgentToolInspection, _default$6 as Attachment, _default$7 as AttachmentAction, type AttachmentActionProps, type AttachmentActionSlots, _default$8 as AttachmentActions, _default$9 as AttachmentContent, _default$10 as AttachmentDescription, _default$11 as AttachmentGroup, _default$12 as AttachmentMedia, type AttachmentMediaKind, type AttachmentMediaProps, type AttachmentMediaSlots, type AttachmentOrientation, type AttachmentProps, type AttachmentSize, type AttachmentSlots, type AttachmentStatus, _default$13 as AttachmentTitle, _default$14 as AttachmentTrigger, type AttachmentTriggerSlots, _default$15 as AvatarStack, type AvatarStackPerson, type AvatarStackProps, type AvatarStackSize, type AvatarStackVariant, _default$16 as Bubble, type BubbleAlign, _default$17 as BubbleContent, type BubbleContentSlots, _default$18 as BubbleGroup, type BubbleProps, _default$19 as BubbleReactions, type BubbleReactionsProps, type BubbleReactionsSlots, type BubbleSlots, type BubbleTone, type BubbleVariant, _default$20 as Chat, _default$21 as ChatMessage, type ChatMessageProps, type ChatMessageSlots, type ChatProps, _default$22 as ChatSession, type ChatSessionProps, type ChatSessionSlots, type ChatSessionValue, type ChatSlots, ChoicesInput, ChoicesInputClear, ChoicesInputError, ChoicesInputField, ChoicesInputRenderScope, ChoicesInputSource, ChoicesInputState, ChoicesInputStatus, _default$23 as CodeBlock, _default$24 as CodeBlockActions, _default$25 as CodeBlockContent, type CodeBlockContentProps, type CodeBlockContentSlots, _default$26 as CodeBlockCopyButton, type CodeBlockCopyButtonProps, type CodeBlockCopyButtonSlots, _default$27 as CodeBlockFooter, _default$28 as CodeBlockHeader, _default$29 as CodeBlockLine, type CodeBlockLineKind, type CodeBlockLineProps, type CodeBlockLineSlots, type CodeBlockProps, type CodeBlockSize, type CodeBlockSlots, _default$30 as CodeBlockTitle, type CodeBlockTone, _default$31 as CodeView, type CodeViewItem, type CodeViewLineSelection, type CodeViewOptions, type CodeViewProps, CommentAttachmentLink, CommentAttachmentUrl, CommentCan, CommentComposer, CommentComposerFrame, CommentComposerSize, CommentComposerSlots, CommentComposerSubmit, CommentComposerVariant, CommentDraft, CommentFilterState, _default$32 as CommentFilters, type CommentFiltersProps, CommentGroup, CommentGroupSlotScope, CommentLayer, _default$33 as CommentList, type CommentListEmits, type CommentListProps, type CommentListSlots, CommentMentionEmptyScope, CommentMentionItemScope, CommentPanel, CommentPanelSlots, CommentPanelVariant, _default$34 as CommentPin, type CommentPinEmits, type CommentPinProps, CommentPlacement, CommentReply, CommentReplySlotScope, CommentReplySlots, type CommentRowPartSlots, type CommentRowProps, type CommentRowSlotScope, type CommentRowSlots, CommentScope, CommentSelectionBar, type CommentSelectionBarEmits, type CommentSelectionBarProps, type CommentSelectionBarSide, type CommentSelectionBarSlots, CommentStatusSlotScope, CommentThread, CommentThreadAction, CommentThreadSlotScope, CommentThreadSlots, _default$35 as CommentToolbar, type CommentToolbarProps, type CommentToolbarSlots, CommentUpload, CommentVisibility, CommentVisibilityModel, CommentVisibilityOptions, CommentsOutboxState, CommentsState, _default$36 as ConnectionStatus, _default$37 as ConnectionStatusIndicator, _default$38 as ConnectionStatusLabel, type ConnectionStatusLabelSlots, type ConnectionStatusProps, type ConnectionStatusSlots, type ConnectionStatusState, type ConnectionStatusValue, _default$39 as CopyButton, type CopyButtonEmits, type CopyButtonProps, type CopyButtonSize, type CopyButtonSlots, type CopyButtonVariant, type CopyValue, DEVICE_FRAME_BREAKPOINTS, DEVICE_FRAME_PRESETS, _default$40 as DeviceFrame, type DeviceFrameBreakpoint, type DeviceFrameEmits, type DeviceFrameExposed, type DeviceFrameKind, type DeviceFramePreset, type DeviceFrameProps, type DeviceFrameSize, type DeviceFrameSlots, _default$41 as DeviceFrameToolbar, type DeviceFrameToolbarProps, type DeviceFrameToolbarSlots, type DiffLineAnnotation, _default$42 as DropField, type DropFieldEmits, type DropFieldProps, type DropFieldSlots, type FileContents, _default$43 as FileDiff, type FileDiffMetadata, type FileDiffOptions, type FileDiffProps, type FileOptions, _default$44 as FileTree, type FileTreeEmits, type FileTreeExposed, type FileTreeModel, type FileTreeOptions, type FileTreeProps, _default$45 as FileView, type FileViewProps, _default$46 as FilterSearch, type FilterSearchProps, type FilterSearchSize, type FilterSearchSlots, _default$47 as HoldToDelete, type HoldToDeleteEmits, type HoldToDeleteExposed, type HoldToDeleteProps, type HoldToDeleteSlots, type HoldToDeleteStatus, type IconEnter, type IconExit, type LineAnnotation, _default$48 as Markdown, type MarkdownCodeBlockProps, type MarkdownImageProps, type MarkdownOptions, type MarkdownPlugins, type MarkdownProps, type MarkdownValue, _default$49 as Marker, _default$50 as MarkerContent, type MarkerContentSlots, _default$51 as MarkerIcon, type MarkerIconSlots, type MarkerProps, _default$52 as MarkerSeparator, type MarkerSeparatorProps, type MarkerSeparatorSlots, type MarkerSlots, type MarkerVariant, _default$53 as Message, type MessageAlign, _default$54 as MessageAvatar, _default$55 as MessageContent, _default$56 as MessageFooter, _default$57 as MessageGroup, _default$58 as MessageHeader, _default$59 as MessageParts, type MessagePartsProps, type MessagePartsSlots, type MessageProps, type MessageScrollBehavior, type MessageScrollPosition, _default$60 as MessageScroller, _default$61 as MessageScrollerButton, type MessageScrollerButtonProps, type MessageScrollerButtonSlots, _default$62 as MessageScrollerContent, type MessageScrollerContentProps, type MessageScrollerContext, _default$63 as MessageScrollerItem, type MessageScrollerItemProps, type MessageScrollerPartSlots, type MessageScrollerProps, type MessageScrollerScope, type MessageScrollerSlots, _default$64 as MessageScrollerViewport, type MessageSlots, _default$65 as MorphText, type MorphTextProps, type MorphTextSlots, _default$66 as MotionList, type MotionListProps, type MotionListSlots, type MotionPressMode, type MotionRenderProps, _default$67 as MultiFileDiff, type MultiFileDiffProps, _default$68 as PatchDiff, type PatchDiffProps, PendingAttachment, type PlaygroundFiles, _default$69 as Progress, type ProgressProps, _default$70 as PromptInput, _default$71 as PromptInputAttach, type PromptInputAttachProps, type PromptInputAttachSlots, _default$72 as PromptInputAttachments, type PromptInputAttachmentsProps, type PromptInputEmits, type PromptInputProps, type PromptInputSlotScope, type PromptInputSlots, _default$73 as PromptInputSubmit, type PromptInputSubmitEvent, type PromptInputSubmitProps, type PromptInputSubmitSlots, _default$74 as PromptInputTextarea, type PromptInputTextareaProps, _default$75 as PromptInputToolbar, type PromptInputToolbarProps, type PromptInputToolbarSlots, _default$76 as RelativeTime, RelativeTimeFormat, RelativeTimeOptions, type RelativeTimeProps, RelativeTimeState, RelativeTimeValue, _default$77 as RollNumber, type RollNumberProps, type RollNumberSlots, type SelectedLineRange, _default$78 as Status, _default$79 as StatusIndicator, _default$80 as StatusLabel, type StatusProps, type StatusSize, type StatusSlots, type StatusTone, _default$81 as SwapIcon, type SwapIconProps, type SwapIconSlots, _default$82 as SyncStatus, _default$83 as SyncStatusIndicator, _default$84 as SyncStatusLabel, type SyncStatusLabelSlots, type SyncStatusProps, type SyncStatusSlots, type SyncStatusValue, _default$85 as ToolList, type ToolListEmits, type ToolListProps, type ToolListSchemaProps, type ToolListSlots, type ToolListTool, _default$86 as Trace, _default$87 as TraceCollapsible, _default$88 as TraceCollapsibleContent, type TraceCollapsibleContentSlots, type TraceCollapsibleEmits, type TraceCollapsibleProps, type TraceCollapsibleSlots, _default$89 as TraceCollapsibleTrigger, type TraceCollapsibleTriggerSlots, _default$90 as TraceDescription, type TraceDescriptionSlots, type TraceEventLogEntry, _default$91 as TraceIcon, type TraceIconSlots, _default$92 as TraceLine, type TraceLineProps, type TraceLineSlots, type TraceLineStatus, _default$93 as TraceRun, type TraceRunData, type TraceRunProps, type TraceRunSlots, type TraceRunStep, type TraceRunView, type TraceSlots, type TraceStepView, _default$94 as TraceTitle, type TraceTitleSlots, _default$95 as UnresolvedFile, type UnresolvedFileOptions, type UnresolvedFileProps, UseAgentAttachmentsOptions, UseCommentsOptions, type UseCopyOptions, type UseCopyReturn, type ViteHubUIComponentName, type ViteHubUIComponents, ViteHubUIIconOptions, type ViteHubUIMessage, ViteHubUIMotionOptions, ViteHubUIOptions, type ViteHubUISession, agentSessionProviderLabel, calculatePrependScrollTop, chatActivity, commentLeaveMs, createCommentVisibility, createViteHubUI, defaultCommentCan, draftPositionKey, fileToDataUrl, fileToUIPart, getSingularPatch, messagesSinceResolved, parseDiffFromFile, parsePatchFiles, provideComments, provideRelativeNow, repliedSinceResolved, useAgentAttachments, useComments, useCommentsContext, useCopy, useFileTree, useFileTreeSelection, useHighlightedCode, useMessageScroller, useRelativeTime, useViteHubUIIcons, useViteHubUIMotionEnabled, vRing };
165
+ export { AgentAttachments, type AgentInspectionValue, type AgentPromptInput, _default as AgentSession, _default$1 as AgentSessionDetailsRow, type AgentSessionDetailsRowProps, type AgentSessionDetailsRowSlots, type AgentSessionDetailsRowTone, _default$2 as AgentSessionDetailsSection, type AgentSessionDetailsSectionProps, type AgentSessionDetailsSectionSlots, type AgentSessionEmits, type AgentSessionExposed, type AgentSessionItem, type AgentSessionProps, type AgentSessionSlots, type AgentSessionSurface, _default$3 as AgentSessionTimeline, type AgentSessionTimelineProps, type AgentSessionTimelineSlots, _default$4 as AgentSessionTitle, type AgentSessionTitleProps, type AgentSessionTitleSlots, type AgentSessionWorkDetailScope, type AgentSessionWorkEntry, _default$5 as AgentSessionWorkGroup, type AgentSessionWorkGroupProps, type AgentSessionWorkGroupSlots, type AgentSessionWorkKind, type AgentToolInspection, _default$6 as Attachment, _default$7 as AttachmentAction, type AttachmentActionProps, type AttachmentActionSlots, _default$8 as AttachmentActions, _default$9 as AttachmentContent, _default$10 as AttachmentDescription, _default$11 as AttachmentGroup, _default$12 as AttachmentMedia, type AttachmentMediaKind, type AttachmentMediaProps, type AttachmentMediaSlots, type AttachmentOrientation, type AttachmentProps, type AttachmentSize, type AttachmentSlots, type AttachmentStatus, _default$13 as AttachmentTitle, _default$14 as AttachmentTrigger, type AttachmentTriggerSlots, _default$15 as AvatarStack, type AvatarStackPerson, type AvatarStackProps, type AvatarStackSize, type AvatarStackVariant, _default$16 as Bubble, type BubbleAlign, _default$17 as BubbleContent, type BubbleContentSlots, _default$18 as BubbleGroup, type BubbleProps, _default$19 as BubbleReactions, type BubbleReactionsProps, type BubbleReactionsSlots, type BubbleSlots, type BubbleTone, type BubbleVariant, _default$20 as Chat, _default$21 as ChatMessage, type ChatMessageProps, type ChatMessageSlots, type ChatProps, _default$22 as ChatSession, type ChatSessionProps, type ChatSessionSlots, type ChatSessionValue, type ChatSlots, ChoicesInput, ChoicesInputClear, ChoicesInputError, ChoicesInputField, ChoicesInputRenderScope, ChoicesInputSource, ChoicesInputState, ChoicesInputStatus, _default$23 as CodeBlock, _default$24 as CodeBlockActions, _default$25 as CodeBlockContent, type CodeBlockContentProps, type CodeBlockContentSlots, _default$26 as CodeBlockCopyButton, type CodeBlockCopyButtonProps, type CodeBlockCopyButtonSlots, _default$27 as CodeBlockFooter, _default$28 as CodeBlockHeader, _default$29 as CodeBlockLine, type CodeBlockLineKind, type CodeBlockLineProps, type CodeBlockLineSlots, type CodeBlockProps, type CodeBlockSize, type CodeBlockSlots, _default$30 as CodeBlockTitle, type CodeBlockTone, _default$31 as CodeView, type CodeViewItem, type CodeViewLineSelection, type CodeViewOptions, type CodeViewProps, CommentAttachmentLink, CommentAttachmentUrl, CommentCan, CommentComposer, CommentComposerFrame, CommentComposerSize, CommentComposerSlots, CommentComposerSubmit, CommentComposerVariant, CommentDraft, CommentFilterState, _default$32 as CommentFilters, type CommentFiltersProps, CommentGroup, CommentGroupSlotScope, CommentLayer, _default$33 as CommentList, type CommentListEmits, type CommentListProps, type CommentListSlots, CommentMentionEmptyScope, CommentMentionItemScope, CommentPanel, CommentPanelSlots, CommentPanelVariant, _default$34 as CommentPin, type CommentPinEmits, type CommentPinProps, CommentPlacement, CommentReply, CommentReplySlotScope, CommentReplySlots, type CommentRowPartSlots, type CommentRowProps, type CommentRowSlotScope, type CommentRowSlots, CommentScope, CommentSelectionBar, type CommentSelectionBarEmits, type CommentSelectionBarProps, type CommentSelectionBarSide, type CommentSelectionBarSlots, CommentStatusSlotScope, CommentThread, CommentThreadAction, CommentThreadSlotScope, CommentThreadSlots, _default$35 as CommentToolbar, type CommentToolbarProps, type CommentToolbarSlots, CommentUpload, CommentVisibility, CommentVisibilityModel, CommentVisibilityOptions, CommentsOutboxState, CommentsState, _default$36 as ConnectionStatus, _default$37 as ConnectionStatusIndicator, _default$38 as ConnectionStatusLabel, type ConnectionStatusLabelSlots, type ConnectionStatusProps, type ConnectionStatusSlots, type ConnectionStatusState, type ConnectionStatusValue, _default$39 as CopyButton, type CopyButtonEmits, type CopyButtonProps, type CopyButtonSize, type CopyButtonSlots, type CopyButtonVariant, type CopyValue, DEVICE_FRAME_BREAKPOINTS, DEVICE_FRAME_PRESETS, _default$40 as DeviceFrame, type DeviceFrameBreakpoint, type DeviceFrameEmits, type DeviceFrameExposed, type DeviceFrameKind, type DeviceFramePreset, type DeviceFrameProps, type DeviceFrameSize, type DeviceFrameSlots, _default$41 as DeviceFrameToolbar, type DeviceFrameToolbarProps, type DeviceFrameToolbarSlots, type DiffLineAnnotation, _default$42 as DropField, type DropFieldEmits, type DropFieldProps, type DropFieldSlots, type FileContents, _default$43 as FileDiff, type FileDiffMetadata, type FileDiffOptions, type FileDiffProps, type FileOptions, _default$44 as FileTree, type FileTreeEmits, type FileTreeExposed, type FileTreeModel, type FileTreeOptions, type FileTreeProps, _default$45 as FileView, type FileViewProps, _default$46 as FilterSearch, type FilterSearchProps, type FilterSearchSize, type FilterSearchSlots, _default$47 as HoldToDelete, type HoldToDeleteEmits, type HoldToDeleteExposed, type HoldToDeleteProps, type HoldToDeleteSlots, type HoldToDeleteStatus, type IconEnter, type IconExit, type LineAnnotation, _default$48 as Markdown, type MarkdownCodeBlockProps, type MarkdownImageProps, type MarkdownOptions, type MarkdownPlugins, type MarkdownProps, type MarkdownValue, _default$49 as Marker, _default$50 as MarkerContent, type MarkerContentSlots, _default$51 as MarkerIcon, type MarkerIconSlots, type MarkerProps, _default$52 as MarkerSeparator, type MarkerSeparatorProps, type MarkerSeparatorSlots, type MarkerSlots, type MarkerVariant, _default$53 as Message, type MessageAlign, _default$54 as MessageAvatar, _default$55 as MessageContent, _default$56 as MessageFooter, _default$57 as MessageGroup, _default$58 as MessageHeader, _default$59 as MessageParts, type MessagePartsProps, type MessagePartsSlots, type MessageProps, type MessageScrollBehavior, type MessageScrollPosition, _default$60 as MessageScroller, _default$61 as MessageScrollerButton, type MessageScrollerButtonProps, type MessageScrollerButtonSlots, _default$62 as MessageScrollerContent, type MessageScrollerContentProps, type MessageScrollerContext, _default$63 as MessageScrollerItem, type MessageScrollerItemProps, type MessageScrollerPartSlots, type MessageScrollerProps, type MessageScrollerScope, type MessageScrollerSlots, _default$64 as MessageScrollerViewport, type MessageSlots, _default$65 as MorphText, type MorphTextProps, type MorphTextSlots, _default$66 as MotionList, type MotionListProps, type MotionListSlots, type MotionPressMode, type MotionRenderProps, _default$67 as MultiFileDiff, type MultiFileDiffProps, _default$68 as PatchDiff, type PatchDiffProps, PendingAttachment, type PlaygroundFiles, _default$69 as Progress, type ProgressProps, _default$70 as PromptInput, _default$71 as PromptInputAttach, type PromptInputAttachProps, type PromptInputAttachSlots, _default$72 as PromptInputAttachments, type PromptInputAttachmentsProps, type PromptInputEmits, type PromptInputProps, type PromptInputSlotScope, type PromptInputSlots, _default$73 as PromptInputSubmit, type PromptInputSubmitEvent, type PromptInputSubmitProps, type PromptInputSubmitSlots, _default$74 as PromptInputTextarea, type PromptInputTextareaProps, _default$75 as PromptInputToolbar, type PromptInputToolbarProps, type PromptInputToolbarSlots, _default$76 as RelativeTime, RelativeTimeFormat, RelativeTimeOptions, type RelativeTimeProps, RelativeTimeState, RelativeTimeValue, _default$77 as RollNumber, type RollNumberProps, type RollNumberSlots, type SelectedLineRange, _default$78 as Status, _default$79 as StatusIndicator, _default$80 as StatusLabel, type StatusProps, type StatusSize, type StatusSlots, type StatusTone, _default$81 as SwapIcon, type SwapIconProps, type SwapIconSlots, _default$82 as SyncStatus, _default$83 as SyncStatusIndicator, _default$84 as SyncStatusLabel, type SyncStatusLabelSlots, type SyncStatusProps, type SyncStatusSlots, type SyncStatusValue, _default$85 as ToolList, type ToolListEmits, type ToolListProps, type ToolListSchemaProps, type ToolListSlots, type ToolListTool, _default$86 as Trace, _default$87 as TraceCollapsible, _default$88 as TraceCollapsibleContent, type TraceCollapsibleContentSlots, type TraceCollapsibleEmits, type TraceCollapsibleProps, type TraceCollapsibleSlots, _default$89 as TraceCollapsibleTrigger, type TraceCollapsibleTriggerSlots, _default$90 as TraceDescription, type TraceDescriptionSlots, type TraceEventLogEntry, _default$91 as TraceIcon, type TraceIconSlots, _default$92 as TraceLine, type TraceLineProps, type TraceLineSlots, type TraceLineStatus, _default$93 as TraceRun, type TraceRunData, type TraceRunProps, type TraceRunSlots, type TraceRunStep, type TraceRunView, type TraceSlots, type TraceStepView, _default$94 as TraceTitle, type TraceTitleSlots, _default$95 as UnresolvedFile, type UnresolvedFileOptions, type UnresolvedFileProps, UseAgentAttachmentsOptions, UseCommentsOptions, type UseCopyOptions, type UseCopyReturn, ViteHubUIIconOptions, type ViteHubUIMessage, ViteHubUIMotionOptions, ViteHubUIOptions, type ViteHubUISession, agentSessionProviderLabel, calculatePrependScrollTop, chatActivity, commentLeaveMs, createCommentVisibility, createViteHubUI, defaultCommentCan, draftPositionKey, fileToDataUrl, fileToUIPart, getSingularPatch, messagesSinceResolved, parseDiffFromFile, parsePatchFiles, provideComments, provideRelativeNow, repliedSinceResolved, useAgentAttachments, useComments, useCommentsContext, useCopy, useFileTree, useFileTreeSelection, useHighlightedCode, useMessageScroller, useRelativeTime, useViteHubUIIconComponent, useViteHubUIIcons, useViteHubUIMotionEnabled, vRing };
package/dist/index.js CHANGED
@@ -1,41 +1,41 @@
1
- import { a as AgentSession_default, i as AgentSessionDetailsRow_default, n as AgentSessionWorkGroup_default, o as agentSessionProviderLabel, r as AgentSessionDetailsSection_default, s as AgentSessionTitle_default, t as AgentSessionTimeline_default } from "./agent-session-2j2gbGpp.js";
2
- import { t as Markdown_default } from "./Markdown-Da5t-931.js";
1
+ import { a as AgentSession_default, i as AgentSessionDetailsRow_default, n as AgentSessionWorkGroup_default, o as agentSessionProviderLabel, r as AgentSessionDetailsSection_default, s as AgentSessionTitle_default, t as AgentSessionTimeline_default } from "./agent-session-D291hyRk.js";
2
+ import { t as Markdown_default } from "./Markdown-3-Tvy5Kl.js";
3
3
  import { n as CodeBlockLine_default, r as CodeBlock_default, t as CodeBlockContent_default } from "./CodeBlockContent-BjXJm8lO.js";
4
- import { i as CodeBlockActions_default, n as CodeBlockHeader_default, r as CodeBlockCopyButton_default, t as CodeBlockTitle_default } from "./CodeBlockTitle-DIu8Ef3V.js";
5
- import { t as MorphText_default } from "./MorphText-B6MWdeIv.js";
6
- import { t as DropField_default } from "./drop-field-DeIvKoJs.js";
7
- import { t as RollNumber_default } from "./RollNumber-CnF52zJM.js";
8
- import { t as SwapIcon_default } from "./SwapIcon-CUIq1TU5.js";
9
- import { n as useCopy, t as CopyButton_default } from "./CopyButton-Bs6DT-Z8.js";
4
+ import { i as CodeBlockActions_default, n as CodeBlockHeader_default, r as CodeBlockCopyButton_default, t as CodeBlockTitle_default } from "./CodeBlockTitle-DX13mCTi.js";
5
+ import { t as MorphText_default } from "./MorphText-DAHAswWX.js";
6
+ import { t as DropField_default } from "./drop-field-BkoJOWR9.js";
7
+ import { t as RollNumber_default } from "./RollNumber-CkdLiy2i.js";
8
+ import { t as SwapIcon_default } from "./SwapIcon-Bjkk7WlZ.js";
9
+ import { n as useCopy, t as CopyButton_default } from "./CopyButton-D-g6PWc8.js";
10
10
  import { t as CodeBlockFooter_default } from "./code-block-CMERLfew.js";
11
11
  import { a as AttachmentActions_default, i as AttachmentContent_default, n as AttachmentMedia_default, o as AttachmentAction_default, r as AttachmentGroup_default, s as Attachment_default, t as AttachmentTitle_default } from "./AttachmentTitle-BWw0ck0T.js";
12
12
  import { n as AttachmentDescription_default, t as AttachmentTrigger_default } from "./attachment-DQMJNfj0.js";
13
- import { t as AvatarStack_default } from "./avatar-stack-CoLlsmwJ.js";
13
+ import { t as AvatarStack_default } from "./avatar-stack-Bi4CJPuU.js";
14
14
  import { n as Bubble_default, t as BubbleContent_default } from "./BubbleContent-B1a4e3vE.js";
15
15
  import { n as BubbleGroup_default, t as BubbleReactions_default } from "./bubble-D3M2_InY.js";
16
16
  import { a as Message_default, i as MessageAvatar_default, n as MessageFooter_default, r as MessageContent_default, t as MessageHeader_default } from "./MessageHeader-CJ9eBHSS.js";
17
17
  import { t as MessageGroup_default } from "./message-BwivYIEl.js";
18
- import { t as MessageParts_default } from "./MessageParts-CyJLG34y.js";
19
- import { t as ChatMessage_default } from "./ChatMessage-CFQs0v4N.js";
18
+ import { t as MessageParts_default } from "./MessageParts-BGSctG7Z.js";
19
+ import { t as ChatMessage_default } from "./ChatMessage-DzjHnxMT.js";
20
20
  import "./parts/components/chat-message.js";
21
- import { n as chatActivity, t as Chat_default } from "./Chat-CuSthJVg.js";
21
+ import { n as chatActivity, t as Chat_default } from "./Chat-DYQitDw8.js";
22
22
  import { calculatePrependScrollTop, useMessageScroller } from "./parts/headless/message-scroller.js";
23
23
  import { a as MessageScroller_default, i as MessageScrollerButton_default, n as MessageScrollerItem_default, r as MessageScrollerContent_default, t as MessageScrollerViewport_default } from "./MessageScrollerViewport-BaTlWLki.js";
24
- import { t as ChatSession_default } from "./chat-session-cxUzvwdj.js";
24
+ import { t as ChatSession_default } from "./chat-session-Bl-x4c9b.js";
25
25
  import "./parts/components/chat.js";
26
26
  import { a as FileDiff_default, i as FileView_default, n as PatchDiff_default, o as CodeView_default, r as MultiFileDiff_default, t as UnresolvedFile_default } from "./code-view-26RY6dX8.js";
27
- import { t as CommentComposer } from "./comment-composer-D_mcH3Ts.js";
28
- import { t as HoldToDelete_default } from "./hold-to-delete-DazElJT2.js";
29
- import { t as MotionList_default } from "./motion-list-9vD1hSS0.js";
27
+ import { t as CommentComposer } from "./comment-composer-BtYrIT5W.js";
28
+ import { t as HoldToDelete_default } from "./hold-to-delete-pyrlKzk0.js";
29
+ import { t as MotionList_default } from "./motion-list-DDVUyVYa.js";
30
30
  import { a as PromptInputAttachments_default, i as PromptInputSubmit_default, n as PromptInputToolbar_default, o as PromptInputAttach_default, r as PromptInputTextarea_default, t as PromptInput_default } from "./prompt-input-CRXEJBAK.js";
31
31
  import { commentLeaveMs, createCommentVisibility } from "./parts/headless/comment-visibility.js";
32
32
  import { a as useCommentsContext, i as useComments, n as draftPositionKey, r as provideComments, t as defaultCommentCan } from "./comments-BaSrroRV.js";
33
33
  import { n as useRelativeTime, t as provideRelativeNow } from "./relative-time-Dz2DR4eb.js";
34
34
  import { t as RelativeTime_default } from "./relative-time-BnJfjeEm.js";
35
- import { a as CommentFilters_default, i as CommentList_default, n as CommentToolbar_default, r as CommentPin_default, t as CommentLayer } from "./comment-layer-Ci6ipGi2.js";
36
- import { a as messagesSinceResolved, n as CommentThread, o as repliedSinceResolved, t as CommentReply } from "./comment-thread-BzOZVqF2.js";
35
+ 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";
36
+ import { a as messagesSinceResolved, n as CommentThread, o as repliedSinceResolved, t as CommentReply } from "./comment-thread-CAexk1r7.js";
37
37
  import { ChoicesInput, ChoicesInputClear, ChoicesInputError, ChoicesInputField, ChoicesInputStatus } from "./parts/headless/choices-input.js";
38
- import { t as CommentSelectionBar } from "./comment-selection-bar-DZAtiRZ9.js";
38
+ import { t as CommentSelectionBar } from "./comment-selection-bar-BMFTtI3V.js";
39
39
  import { i as Marker_default, n as MarkerIcon_default, r as MarkerContent_default, t as MarkerSeparator_default } from "./marker-DNL6QR3L.js";
40
40
  import { CommentPanel } from "./parts/components/comment-panel.js";
41
41
  import "./parts/components/comments.js";
@@ -45,20 +45,19 @@ import { vRing } from "./parts/components/motion.js";
45
45
  import { n as useFileTree, r as useFileTreeSelection } from "./file-tree-B4JKbp4r.js";
46
46
  import { t as FileTree_default } from "./file-tree-DS5shGSL.js";
47
47
  import { t as FilterSearch_default } from "./filter-search-COZsoRiR.js";
48
- import { t as Progress_default } from "./progress-8P8RLYMy.js";
48
+ import { t as Progress_default } from "./progress-D7CyDkLW.js";
49
49
  import "./parts/components/message-parts.js";
50
50
  import { a as parsePatchFiles, n as parseDiffFromFile, t as getSingularPatch } from "./getSingularPatch-C7LmmBrW.js";
51
51
  import "./parts/components/patch-parsers.js";
52
52
  import { fileToDataUrl, fileToUIPart, useAgentAttachments } from "./parts/composables/attachments.js";
53
53
  import { n as StatusLabel_default, r as StatusIndicator_default, t as Status_default } from "./status-B2Yhrwv8.js";
54
- import { n as SyncStatusLabel_default, r as SyncStatusIndicator_default, t as SyncStatus_default } from "./sync-status-B29eG_n-.js";
54
+ import { n as SyncStatusLabel_default, r as SyncStatusIndicator_default, t as SyncStatus_default } from "./sync-status-D27Qt7mk.js";
55
55
  import { t as ToolList_default } from "./tool-list-DDaCqpR6.js";
56
56
  import { a as TraceCollapsibleTrigger_default, c as Trace_default, i as TraceDescription_default, n as TraceLine_default, o as TraceCollapsibleContent_default, r as TraceIcon_default, s as TraceCollapsible_default, t as TraceTitle_default } from "./TraceTitle-Cp0y7RRD.js";
57
57
  import { t as TraceRun_default } from "./trace-run-nh6FIsl6.js";
58
58
  import "./parts/components/trace.js";
59
59
  import { useHighlightedCode } from "./parts/composables/highlighted-code.js";
60
- import { n as useViteHubUIIcons, r as useViteHubUIMotionEnabled, t as createViteHubUI } from "./config-BDQYUjjp.js";
61
- import { n as uiSdkComponents } from "./components-B_2Q0dJ3.js";
60
+ import { i as useViteHubUIMotionEnabled, n as useViteHubUIIconComponent, r as useViteHubUIIcons, t as createViteHubUI } from "./config-7CiYbXk6.js";
62
61
  // src/agent-prompt.ts
63
62
  const agentPromptMaxLength = 320;
64
63
  const agentPromptDocsBase = "https://vitehub.dev/docs/";
@@ -132,4 +131,4 @@ function agentPromptProblems(text) {
132
131
  if (hasSecret(urls.reduce((rest, link) => rest.replace(link, ""), prompt))) problems.push("Remove the value that looks like a secret. Tell the agent where to read it.");
133
132
  return problems;
134
133
  }
135
- export { AgentSession_default as AgentSession, AgentSessionDetailsRow_default as AgentSessionDetailsRow, AgentSessionDetailsSection_default as AgentSessionDetailsSection, AgentSessionTimeline_default as AgentSessionTimeline, AgentSessionTitle_default as AgentSessionTitle, AgentSessionWorkGroup_default as AgentSessionWorkGroup, Attachment_default as Attachment, AttachmentAction_default as AttachmentAction, AttachmentActions_default as AttachmentActions, AttachmentContent_default as AttachmentContent, AttachmentDescription_default as AttachmentDescription, AttachmentGroup_default as AttachmentGroup, AttachmentMedia_default as AttachmentMedia, AttachmentTitle_default as AttachmentTitle, AttachmentTrigger_default as AttachmentTrigger, AvatarStack_default as AvatarStack, Bubble_default as Bubble, BubbleContent_default as BubbleContent, BubbleGroup_default as BubbleGroup, BubbleReactions_default as BubbleReactions, Chat_default as Chat, ChatMessage_default as ChatMessage, ChatSession_default as ChatSession, ChoicesInput, ChoicesInputClear, ChoicesInputError, ChoicesInputField, ChoicesInputStatus, CodeBlock_default as CodeBlock, CodeBlockActions_default as CodeBlockActions, CodeBlockContent_default as CodeBlockContent, CodeBlockCopyButton_default as CodeBlockCopyButton, CodeBlockFooter_default as CodeBlockFooter, CodeBlockHeader_default as CodeBlockHeader, CodeBlockLine_default as CodeBlockLine, CodeBlockTitle_default as CodeBlockTitle, CodeView_default as CodeView, CommentComposer, CommentFilters_default as CommentFilters, CommentLayer, CommentList_default as CommentList, CommentPanel, CommentPin_default as CommentPin, CommentReply, CommentSelectionBar, CommentThread, CommentToolbar_default as CommentToolbar, ConnectionStatus_default as ConnectionStatus, ConnectionStatusIndicator_default as ConnectionStatusIndicator, ConnectionStatusLabel_default as ConnectionStatusLabel, CopyButton_default as CopyButton, DEVICE_FRAME_BREAKPOINTS, DEVICE_FRAME_PRESETS, DeviceFrame_default as DeviceFrame, DeviceFrameToolbar_default as DeviceFrameToolbar, DropField_default as DropField, FileDiff_default as FileDiff, FileTree_default as FileTree, FileView_default as FileView, FilterSearch_default as FilterSearch, HoldToDelete_default as HoldToDelete, Markdown_default as Markdown, Marker_default as Marker, MarkerContent_default as MarkerContent, MarkerIcon_default as MarkerIcon, MarkerSeparator_default as MarkerSeparator, Message_default as Message, MessageAvatar_default as MessageAvatar, MessageContent_default as MessageContent, MessageFooter_default as MessageFooter, MessageGroup_default as MessageGroup, MessageHeader_default as MessageHeader, MessageParts_default as MessageParts, MessageScroller_default as MessageScroller, MessageScrollerButton_default as MessageScrollerButton, MessageScrollerContent_default as MessageScrollerContent, MessageScrollerItem_default as MessageScrollerItem, MessageScrollerViewport_default as MessageScrollerViewport, MorphText_default as MorphText, MotionList_default as MotionList, MultiFileDiff_default as MultiFileDiff, PatchDiff_default as PatchDiff, Progress_default as Progress, PromptInput_default as PromptInput, PromptInputAttach_default as PromptInputAttach, PromptInputAttachments_default as PromptInputAttachments, PromptInputSubmit_default as PromptInputSubmit, PromptInputTextarea_default as PromptInputTextarea, PromptInputToolbar_default as PromptInputToolbar, RelativeTime_default as RelativeTime, RollNumber_default as RollNumber, Status_default as Status, StatusIndicator_default as StatusIndicator, StatusLabel_default as StatusLabel, SwapIcon_default as SwapIcon, SyncStatus_default as SyncStatus, SyncStatusIndicator_default as SyncStatusIndicator, SyncStatusLabel_default as SyncStatusLabel, ToolList_default as ToolList, Trace_default as Trace, TraceCollapsible_default as TraceCollapsible, TraceCollapsibleContent_default as TraceCollapsibleContent, TraceCollapsibleTrigger_default as TraceCollapsibleTrigger, TraceDescription_default as TraceDescription, TraceIcon_default as TraceIcon, TraceLine_default as TraceLine, TraceRun_default as TraceRun, TraceTitle_default as TraceTitle, UnresolvedFile_default as UnresolvedFile, agentPrompt, agentPromptDocsBase, agentPromptMaxLength, agentPromptProblems, agentSessionProviderLabel, calculatePrependScrollTop, chatActivity, commentLeaveMs, createCommentVisibility, createViteHubUI, defaultCommentCan, draftPositionKey, fileToDataUrl, fileToUIPart, getSingularPatch, messagesSinceResolved, parseDiffFromFile, parsePatchFiles, provideComments, provideRelativeNow, repliedSinceResolved, uiSdkComponents, useAgentAttachments, useComments, useCommentsContext, useCopy, useFileTree, useFileTreeSelection, useHighlightedCode, useMessageScroller, useRelativeTime, useViteHubUIIcons, useViteHubUIMotionEnabled, vRing };
134
+ export { AgentSession_default as AgentSession, AgentSessionDetailsRow_default as AgentSessionDetailsRow, AgentSessionDetailsSection_default as AgentSessionDetailsSection, AgentSessionTimeline_default as AgentSessionTimeline, AgentSessionTitle_default as AgentSessionTitle, AgentSessionWorkGroup_default as AgentSessionWorkGroup, Attachment_default as Attachment, AttachmentAction_default as AttachmentAction, AttachmentActions_default as AttachmentActions, AttachmentContent_default as AttachmentContent, AttachmentDescription_default as AttachmentDescription, AttachmentGroup_default as AttachmentGroup, AttachmentMedia_default as AttachmentMedia, AttachmentTitle_default as AttachmentTitle, AttachmentTrigger_default as AttachmentTrigger, AvatarStack_default as AvatarStack, Bubble_default as Bubble, BubbleContent_default as BubbleContent, BubbleGroup_default as BubbleGroup, BubbleReactions_default as BubbleReactions, Chat_default as Chat, ChatMessage_default as ChatMessage, ChatSession_default as ChatSession, ChoicesInput, ChoicesInputClear, ChoicesInputError, ChoicesInputField, ChoicesInputStatus, CodeBlock_default as CodeBlock, CodeBlockActions_default as CodeBlockActions, CodeBlockContent_default as CodeBlockContent, CodeBlockCopyButton_default as CodeBlockCopyButton, CodeBlockFooter_default as CodeBlockFooter, CodeBlockHeader_default as CodeBlockHeader, CodeBlockLine_default as CodeBlockLine, CodeBlockTitle_default as CodeBlockTitle, CodeView_default as CodeView, CommentComposer, CommentFilters_default as CommentFilters, CommentLayer, CommentList_default as CommentList, CommentPanel, CommentPin_default as CommentPin, CommentReply, CommentSelectionBar, CommentThread, CommentToolbar_default as CommentToolbar, ConnectionStatus_default as ConnectionStatus, ConnectionStatusIndicator_default as ConnectionStatusIndicator, ConnectionStatusLabel_default as ConnectionStatusLabel, CopyButton_default as CopyButton, DEVICE_FRAME_BREAKPOINTS, DEVICE_FRAME_PRESETS, DeviceFrame_default as DeviceFrame, DeviceFrameToolbar_default as DeviceFrameToolbar, DropField_default as DropField, FileDiff_default as FileDiff, FileTree_default as FileTree, FileView_default as FileView, FilterSearch_default as FilterSearch, HoldToDelete_default as HoldToDelete, Markdown_default as Markdown, Marker_default as Marker, MarkerContent_default as MarkerContent, MarkerIcon_default as MarkerIcon, MarkerSeparator_default as MarkerSeparator, Message_default as Message, MessageAvatar_default as MessageAvatar, MessageContent_default as MessageContent, MessageFooter_default as MessageFooter, MessageGroup_default as MessageGroup, MessageHeader_default as MessageHeader, MessageParts_default as MessageParts, MessageScroller_default as MessageScroller, MessageScrollerButton_default as MessageScrollerButton, MessageScrollerContent_default as MessageScrollerContent, MessageScrollerItem_default as MessageScrollerItem, MessageScrollerViewport_default as MessageScrollerViewport, MorphText_default as MorphText, MotionList_default as MotionList, MultiFileDiff_default as MultiFileDiff, PatchDiff_default as PatchDiff, Progress_default as Progress, PromptInput_default as PromptInput, PromptInputAttach_default as PromptInputAttach, PromptInputAttachments_default as PromptInputAttachments, PromptInputSubmit_default as PromptInputSubmit, PromptInputTextarea_default as PromptInputTextarea, PromptInputToolbar_default as PromptInputToolbar, RelativeTime_default as RelativeTime, RollNumber_default as RollNumber, Status_default as Status, StatusIndicator_default as StatusIndicator, StatusLabel_default as StatusLabel, SwapIcon_default as SwapIcon, SyncStatus_default as SyncStatus, SyncStatusIndicator_default as SyncStatusIndicator, SyncStatusLabel_default as SyncStatusLabel, ToolList_default as ToolList, Trace_default as Trace, TraceCollapsible_default as TraceCollapsible, TraceCollapsibleContent_default as TraceCollapsibleContent, TraceCollapsibleTrigger_default as TraceCollapsibleTrigger, TraceDescription_default as TraceDescription, TraceIcon_default as TraceIcon, TraceLine_default as TraceLine, TraceRun_default as TraceRun, TraceTitle_default as TraceTitle, UnresolvedFile_default as UnresolvedFile, agentPrompt, agentPromptDocsBase, agentPromptMaxLength, agentPromptProblems, agentSessionProviderLabel, calculatePrependScrollTop, chatActivity, commentLeaveMs, createCommentVisibility, createViteHubUI, defaultCommentCan, draftPositionKey, fileToDataUrl, fileToUIPart, getSingularPatch, messagesSinceResolved, parseDiffFromFile, parsePatchFiles, provideComments, provideRelativeNow, repliedSinceResolved, useAgentAttachments, useComments, useCommentsContext, useCopy, useFileTree, useFileTreeSelection, useHighlightedCode, useMessageScroller, useRelativeTime, useViteHubUIIconComponent, useViteHubUIIcons, useViteHubUIMotionEnabled, vRing };
@@ -2,7 +2,7 @@ import { n as __exportAll } from "./rolldown-runtime-CahUhzF3.js";
2
2
  import { S as theme$29, T as isElement$35, _ as rawText$4, a as vue_exports$34, b as TABLE_WIDTHS, d as src_default$41, f as src_default$39, h as src_default$38, i as components$36, l as describeTime, m as src_default$40, n as start$13, o as css$31, p as css$32, s as start$12, u as addStyles$23, w as childrenOf$31, x as typesetCss, y as FOLD_WIDTHS } from "./client-BG-oCUtv-5i4sRwXP.js";
3
3
  import { n as SERIES, t as INK } from "./colors-BghReA9C-A4M9YE0s.js";
4
4
  import { t as uiErrorDiagnostics } from "./error-diagnostics-BlgA9rI2.js";
5
- import { r as useViteHubUIMotionEnabled } from "./config-BDQYUjjp.js";
5
+ import { i as useViteHubUIMotionEnabled } from "./config-7CiYbXk6.js";
6
6
  import { defineAsyncComponent, defineComponent, h, inject, onBeforeUnmount, onMounted, provide, shallowRef, useId, watch, watchEffect } from "vue";
7
7
  import { Markdown, MarkdownDocument } from "@comark/vue";
8
8
  import { defineComarkPlugin } from "comark";
@@ -4204,7 +4204,7 @@ function startMermaid() {
4204
4204
  return start$11();
4205
4205
  }
4206
4206
  // ../../node_modules/.pnpm/comark-ui@0.14.3_@comark+html@0.9.2_katex@0.19.1_shiki@4.6.0__@tiptap+core@3.35.0_@tipt_12c0f6863a75018f6c283382c6d06ad0/node_modules/comark-ui/dist/vue-mermaid-BKeezR-B.mjs
4207
- const Pele = defineAsyncComponent(() => import("./vue-BdA18K5-.js").then(({ createPeleComponent }) => createPeleComponent({
4207
+ const Pele = defineAsyncComponent(() => import("./vue-D70TZJhJ.js").then(({ createPeleComponent }) => createPeleComponent({
4208
4208
  onRender: addMermaidStyles,
4209
4209
  onError: addMermaidStyles
4210
4210
  })));
@@ -1,4 +1,4 @@
1
- import { S as mapEditorItems, _ as EditorItem, a as blobUpload, b as createEditorHandlers, c as EditorSuggestionMenuItem, d as EditorToolbarTooltip, g as EditorHandlers, h as EditorHandler, l as EditorToolbarItem, n as MarkdownEditorUpload, r as UseMarkdownEditorOptions, s as EditorDragHandleNode, t as MarkdownEditorError, u as EditorToolbarMenuEntry, v as EditorMenuEntry, x as editorHandlersKey, y as MappedEditorMenuEntry } from "./editor-BsOTjnnN.js";
1
+ import { S as mapEditorItems, _ as EditorItem, a as blobUpload, b as createEditorHandlers, c as EditorDragHandleNode, f as EditorToolbarItem, g as EditorHandlers, h as EditorHandler, m as EditorToolbarTooltip, n as MarkdownEditorUpload, p as EditorToolbarMenuEntry, r as UseMarkdownEditorOptions, t as MarkdownEditorError, u as EditorSuggestionMenuItem, v as EditorMenuEntry, x as editorHandlersKey, y as MappedEditorMenuEntry } from "./editor-DZxaa6vs.js";
2
2
  import { PropType } from "vue";
3
3
  import { AnyExtension } from "@tiptap/core";
4
4
  import { Editor as Editor$1 } from "@tiptap/vue-3";
@@ -1,4 +1,4 @@
1
- import { a as useMarkdownEditor, c as mapEditorItems, i as blobUpload, n as UEditorSuggestionMenu, o as createEditorHandlers, r as UEditorToolbar, s as editorHandlersKey, t as UEditorDragHandle } from "./editor-hXea1i46.js";
1
+ import { a as useMarkdownEditor, c as mapEditorItems, i as blobUpload, n as EditorSuggestionMenu, o as createEditorHandlers, r as EditorToolbar, s as editorHandlersKey, t as EditorDragHandle } from "./editor-CE_q2Yzb.js";
2
2
  import { x as typesetCss } from "./client-BG-oCUtv-5i4sRwXP.js";
3
3
  import { createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, mergeModels, mergeProps, openBlock, ref, renderSlot, resolveDynamicComponent, toRef, unref, useModel, watch } from "vue";
4
4
  import { EditorContent } from "@tiptap/vue-3";
@@ -52,16 +52,16 @@ var MarkdownEditor_default = /* @__PURE__ */ defineComponent({
52
52
  "data-comark-typeset": "",
53
53
  innerHTML: unref(typesetCss)
54
54
  }, null, 8, ["innerHTML"])), createVNode(unref(EditorContent), { editor: unref(editor) }, null, 8, ["editor"])]),
55
- createVNode(unref(UEditorToolbar), {
55
+ createVNode(unref(EditorToolbar), {
56
56
  editor: unref(editor),
57
57
  items: unref(toolbarItems),
58
58
  layout: "bubble"
59
59
  }, null, 8, ["editor", "items"]),
60
- createVNode(unref(UEditorSuggestionMenu), {
60
+ createVNode(unref(EditorSuggestionMenu), {
61
61
  editor: unref(editor),
62
62
  items: unref(menuItems)
63
63
  }, null, 8, ["editor", "items"]),
64
- createVNode(unref(UEditorDragHandle), { editor: unref(editor) }, null, 8, ["editor"]),
64
+ createVNode(unref(EditorDragHandle), { editor: unref(editor) }, null, 8, ["editor"]),
65
65
  renderSlot(_ctx.$slots, "default", { editor: unref(editor) })
66
66
  ], 16)) : createCommentVNode("v-if", true);
67
67
  };
package/dist/markdown.js CHANGED
@@ -1 +1 @@
1
- export { t as MarkdownRenderer } from "./markdown-_0HhbsOo.js";
1
+ export { t as MarkdownRenderer } from "./markdown-CqVyNG-h.js";
@@ -1,4 +1,4 @@
1
1
  import { i as createHoldToDelete, n as HoldToDeleteOptions, r as HoldToDeleteState, t as HoldToDelete } from "../hold-to-delete-CQc1JaG_.js";
2
- import { $ as prefersReducedMotion, A as getMotionSlowFactor, B as leave, C as swapIcon, D as SpringPreset, E as SpringFrame, F as toast, G as disclosure, H as label, I as switchKnob, J as InstallMotionOptions, K as check, L as slider, M as springs, N as appear, O as SpringTarget, P as tooltip, Q as onReducedMotionChange, R as select, S as SwapIconOptions, T as Spring, U as jelly, V as buttonIcon, W as divider, X as isMotionOff, Y as installMotion, Z as forceReducedMotion, _ as shake, a as ProgressOptions, b as IconEnter, c as MotionList, d as MotionListPlay, f as createMotionList, g as travel, h as TravelOptions, i as Progress, j as setMotionSlowFactor, k as createSpring, l as MotionListOptions, m as TravelBox, n as DropFieldOptions, o as ProgressPhase, p as Travel, q as motionEffects, r as createDropField, s as createProgress, t as DropField, u as MotionListOrigin, v as ring, w as morphText, x as IconExit, y as rollNumber, z as panel } from "../motion-core-gfsTPLbh.js";
2
+ import { $ as prefersReducedMotion, A as getMotionSlowFactor, B as leave, C as swapIcon, D as SpringPreset, E as SpringFrame, F as toast, G as disclosure, H as label, I as switchKnob, J as InstallMotionOptions, K as check, L as slider, M as springs, N as appear, O as SpringTarget, P as tooltip, Q as onReducedMotionChange, R as select, S as SwapIconOptions, T as Spring, U as jelly, V as buttonIcon, W as divider, X as isMotionOff, Y as installMotion, Z as forceReducedMotion, _ as shake, a as ProgressOptions, b as IconEnter, c as MotionList, d as MotionListPlay, f as createMotionList, g as travel, h as TravelOptions, i as Progress, j as setMotionSlowFactor, k as createSpring, l as MotionListOptions, m as TravelBox, n as DropFieldOptions, o as ProgressPhase, p as Travel, q as motionEffects, r as createDropField, s as createProgress, t as DropField, u as MotionListOrigin, v as ring, w as morphText, x as IconExit, y as rollNumber, z as panel } from "../motion-core-BEwxN7Il.js";
3
3
  import { a as MotionEffect, c as MotionStateAttribute, d as defineMotionEffect, f as listMotionEffects, i as MotionContentChange, l as MotionStateChange, m as writeMotionStyle, n as press, o as MotionPress, p as motionStateAttributes, r as setMotionPressMode, s as MotionRoot, t as MotionPressMode, u as MotionStyleProperty } from "../press-BuEC-XvZ.js";
4
4
  export { type DropField, type DropFieldOptions, type HoldToDelete, type HoldToDeleteOptions, type HoldToDeleteState, type IconEnter, type IconExit, type InstallMotionOptions, type MotionContentChange, type MotionEffect, type MotionList, type MotionListOptions, type MotionListOrigin, type MotionListPlay, type MotionPress, type MotionPressMode, type MotionRoot, type MotionStateAttribute, type MotionStateChange, type MotionStyleProperty, type Progress, type ProgressOptions, type ProgressPhase, type Spring, type SpringFrame, type SpringPreset, type SpringTarget, type SwapIconOptions, type Travel, type TravelBox, type TravelOptions, appear as appearEffect, buttonIcon as buttonIconEffect, check as checkEffect, createDropField, createHoldToDelete, createMotionList, createProgress, createSpring, defineMotionEffect, disclosure as disclosureEffect, divider as dividerEffect, forceReducedMotion, getMotionSlowFactor, installMotion, isMotionOff, jelly as jellyEffect, label as labelEffect, leave as leaveEffect, listMotionEffects, morphText, motionEffects, motionStateAttributes, onReducedMotionChange, panel as panelEffect, prefersReducedMotion, press as pressEffect, ring, rollNumber, select as selectEffect, setMotionPressMode, setMotionSlowFactor, shake, slider as sliderEffect, springs, swapIcon, switchKnob as switchEffect, toast as toastEffect, tooltip as tooltipEffect, travel, writeMotionStyle };
@@ -1,5 +1,5 @@
1
- import { f as writeMotionStyle, i as defineMotionEffect, l as motionStateAttributes, s as listMotionEffects, t as createHoldToDelete } from "../hold-to-delete-D1Vy40w5.js";
2
- import { c as createSpring, d as setMotionSlowFactor, f as springs, h as prefersReducedMotion, l as getMotionSlowFactor, m as onReducedMotionChange, o as isMotionOff, p as forceReducedMotion } from "../tween-1W-LlKk9.js";
3
- import { C as disclosure, E as divider, S as jelly, T as installMotion, _ as leave, a as shake, b as morphText, c as appear, d as switchKnob, f as slider, g as panel, h as setMotionPressMode, i as travel, l as tooltip, m as press, n as createProgress, o as rollNumber, p as select, r as createMotionList, s as motionEffects, t as createDropField, u as toast, v as buttonIcon, w as check, x as swapIcon, y as label } from "../motion-core-JZZiPKEk.js";
4
- import { t as ring } from "../ring-B0nZBnU0.js";
1
+ import { f as writeMotionStyle, i as defineMotionEffect, l as motionStateAttributes, s as listMotionEffects, t as createHoldToDelete } from "../hold-to-delete-sscThmPW.js";
2
+ import { c as createSpring, d as setMotionSlowFactor, f as springs, h as prefersReducedMotion, l as getMotionSlowFactor, m as onReducedMotionChange, o as isMotionOff, p as forceReducedMotion } from "../tween-DGAmrS3r.js";
3
+ import { C as disclosure, E as divider, S as jelly, T as installMotion, _ as leave, a as shake, b as morphText, c as appear, d as switchKnob, f as slider, g as panel, h as setMotionPressMode, i as travel, l as tooltip, m as press, n as createProgress, o as rollNumber, p as select, r as createMotionList, s as motionEffects, t as createDropField, u as toast, v as buttonIcon, w as check, x as swapIcon, y as label } from "../motion-core-pkL0M4Y1.js";
4
+ import { t as ring } from "../ring-C5lNUEAG.js";
5
5
  export { appear as appearEffect, buttonIcon as buttonIconEffect, check as checkEffect, createDropField, createHoldToDelete, createMotionList, createProgress, createSpring, defineMotionEffect, disclosure as disclosureEffect, divider as dividerEffect, forceReducedMotion, getMotionSlowFactor, installMotion, isMotionOff, jelly as jellyEffect, label as labelEffect, leave as leaveEffect, listMotionEffects, morphText, motionEffects, motionStateAttributes, onReducedMotionChange, panel as panelEffect, prefersReducedMotion, press as pressEffect, ring, rollNumber, select as selectEffect, setMotionPressMode, setMotionSlowFactor, shake, slider as sliderEffect, springs, swapIcon, switchKnob as switchEffect, toast as toastEffect, tooltip as tooltipEffect, travel, writeMotionStyle };
@@ -1,4 +1,4 @@
1
- import { T as installMotion$1, s as motionEffects } from "./motion-core-JZZiPKEk.js";
1
+ import { T as installMotion$1, s as motionEffects } from "./motion-core-pkL0M4Y1.js";
2
2
  // src/motion/install.ts
3
3
  /**
4
4
  * Starts the motion layer with every built-in effect: press, toggle, select, drag, and appear motion for every element
@@ -115,7 +115,6 @@ interface SpringPreset {
115
115
  }
116
116
  /** The named springs of docs/design/motion.md. Use them, not numbers of your own. */
117
117
  declare const springs: {
118
- /** Moves and resizes: a toast, a list row, a width that follows its label. `glide` moves a selection with no overshoot. */
119
118
  readonly snappy: {
120
119
  readonly stiffness: 520;
121
120
  readonly damping: 34;
@@ -124,7 +123,6 @@ declare const springs: {
124
123
  readonly stiffness: 800;
125
124
  readonly damping: 57;
126
125
  };
127
- /** Wobbles and settles: a toggled icon, a knob that lands. */
128
126
  readonly soft: {
129
127
  readonly stiffness: 380;
130
128
  readonly damping: 20;
@@ -1,6 +1,6 @@
1
- import { a as tween, c as createSpring, f as springs, h as prefersReducedMotion, i as playTween, l as getMotionSlowFactor, m as onReducedMotionChange, n as easeIn, o as isMotionOff, r as easeOut, t as cubicBezier, u as onEachFrame } from "./tween-1W-LlKk9.js";
2
- import { a as defineOwnEffect, c as motionEffectRegistrations, d as otherMotionLayer, f as writeMotionStyle, l as motionStateAttributes, n as visualCopy, o as handOffMotionEffects, r as claimMotionLayer, s as listMotionEffects, u as onMotionEffectsChange } from "./hold-to-delete-D1Vy40w5.js";
3
- import { a as isOwnNode, c as own, i as glyphNode, l as reduced, n as frameOf$2, o as motionSkipped, r as glyphMotionSkipped, s as openFrame, u as setText } from "./ring-B0nZBnU0.js";
1
+ import { a as tween, c as createSpring, f as springs, h as prefersReducedMotion, i as playTween, l as getMotionSlowFactor, m as onReducedMotionChange, n as easeIn, o as isMotionOff, r as easeOut, t as cubicBezier, u as onEachFrame } from "./tween-DGAmrS3r.js";
2
+ import { a as defineOwnEffect, c as motionEffectRegistrations, d as otherMotionLayer, f as writeMotionStyle, l as motionStateAttributes, n as visualCopy, o as handOffMotionEffects, r as claimMotionLayer, s as listMotionEffects, u as onMotionEffectsChange } from "./hold-to-delete-sscThmPW.js";
3
+ import { a as isOwnNode, c as own, i as glyphNode, l as reduced, n as frameOf$2, o as motionSkipped, r as glyphMotionSkipped, s as openFrame, u as setText } from "./ring-C5lNUEAG.js";
4
4
  // src/motion/effects/divider.ts
5
5
  const springBack = {
6
6
  stiffness: 500,
@@ -164,7 +164,6 @@ const eventPresses = (event) => {
164
164
  return effects;
165
165
  };
166
166
  const unreadable = /* @__PURE__ */ new Set();
167
- /** `element.matches(selector)`, false for a selector that this browser cannot read. */
168
167
  function matches(element, selector) {
169
168
  if (unreadable.has(selector)) return false;
170
169
  try {
@@ -174,11 +173,6 @@ function matches(element, selector) {
174
173
  return false;
175
174
  }
176
175
  }
177
- /**
178
- * True when an install covers the element: an installed element contains it, or its root is installed, also through the
179
- * shadow hosts around it. An app that installs the document covers the shadow roots in it, and the page pill, which
180
- * installs only its own host and shadow roots, does not move the buttons of the page that it is on.
181
- */
182
176
  function covered(element) {
183
177
  let node = element;
184
178
  for (;;) {
@@ -189,7 +183,6 @@ function covered(element) {
189
183
  node = root.host;
190
184
  }
191
185
  }
192
- /** The innermost element on the event path that matches `selector`, that an install covers, and that is not inside `[data-motion="none"]`. */
193
186
  function find(path, selector) {
194
187
  let lastOff = -1;
195
188
  path.forEach((node, index) => {
@@ -719,7 +712,6 @@ function isOn$1(value) {
719
712
  function styleable(node) {
720
713
  return node instanceof HTMLElement || node instanceof SVGElement ? node : void 0;
721
714
  }
722
- /** The child of `element` that holds `node`. */
723
715
  function childOf(element, node) {
724
716
  let child = node;
725
717
  while (child.parentElement && child.parentElement !== element) child = child.parentElement;
@@ -775,7 +767,6 @@ function checkOf(element, wasOn) {
775
767
  checks.set(element, check);
776
768
  return check;
777
769
  }
778
- /** Points the spring at the mark of `icon`, and puts back the mark that it drew before. */
779
770
  function bind(check, icon, fade) {
780
771
  check.icon?.restore();
781
772
  if (check.fade && check.fade !== fade) writeMotionStyle(check.fade, { opacity: null });
@@ -820,7 +811,6 @@ const iconSelector$1 = "[data-motion-chevron], svg, img, .iconify, [data-slot=ic
820
811
  const quarter = 90;
821
812
  const turns = /* @__PURE__ */ new WeakMap();
822
813
  const pending$1 = /* @__PURE__ */ new WeakMap();
823
- /** The element that holds the chevron: the `<summary>` of a `<details>`, or the trigger itself. */
824
814
  function triggerOf(element) {
825
815
  return element instanceof HTMLDetailsElement ? element.querySelector(":scope > summary") : element;
826
816
  }
@@ -836,14 +826,12 @@ function degrees(value) {
836
826
  if (angle.endsWith("rad")) return number * 180 / Math.PI;
837
827
  return Number.isFinite(number) ? number : 0;
838
828
  }
839
- /** The Z angle of a computed transform matrix. */
840
829
  function matrixDegrees(value) {
841
830
  const match = /^matrix(?:3d)?\(([^)]+)\)$/.exec(value);
842
831
  if (!match) return 0;
843
832
  const [a = 1, b = 0] = match[1].split(",").map(Number);
844
833
  return Math.atan2(b, a) * 180 / Math.PI;
845
834
  }
846
- /** The angle that the stylesheet draws the icon at now, without what the effect wrote, split into its two sources. */
847
835
  function measure$3(icon) {
848
836
  const written = icon.style.getPropertyValue("rotate");
849
837
  if (written) icon.style.removeProperty("rotate");
@@ -856,10 +844,6 @@ function measure$3(icon) {
856
844
  base
857
845
  };
858
846
  }
859
- /**
860
- * True when the icon still turns with a CSS transition of its own, as Nuxt UI's accordion chevron does. The transition
861
- * would smear each frame of the spring, so that icon keeps its own motion.
862
- */
863
847
  function transitionsTurn(icon) {
864
848
  const style = getComputedStyle(icon);
865
849
  const durations = style.transitionDuration.split(",");
@@ -943,7 +927,6 @@ const waveEnd = 1.5;
943
927
  const waveSeconds = .56 * waveEnd;
944
928
  const points = 120;
945
929
  const waves = /* @__PURE__ */ new WeakMap();
946
- /** The outline of the path at `wave`, as a closed polyline. The formula is the prototype's, for any path size. */
947
930
  function deform({ outline, box }, wave) {
948
931
  const amount = wave <= 1 ? .5 * Math.sin(Math.PI * wave) : -.12 * Math.sin(Math.PI * (wave - 1) / .5);
949
932
  const crest = -.15 + 1.35 * Math.min(1, Math.max(0, wave));
@@ -1815,7 +1798,6 @@ function pressMode() {
1815
1798
  return mode === "opt-in" || mode === "all" ? mode : "buttons";
1816
1799
  }
1817
1800
  const pressed = /* @__PURE__ */ new WeakMap();
1818
- /** How much a control of this height squashes: 3% from 40px high, 4% from 32px, and 5% below. */
1819
1801
  const amountFor = (height) => height >= 40 ? .03 : height >= 32 ? .04 : .05;
1820
1802
  const wholeAmount = (element) => Math.min(amountFor(element.offsetHeight), 6 / Math.max(element.offsetWidth, element.offsetHeight));
1821
1803
  function pressChoice(element, event) {
@@ -1831,12 +1813,6 @@ function squashesByDefault(element) {
1831
1813
  if (mode !== "buttons") return mode === "all";
1832
1814
  return element.matches(nativeButton) && element.offsetHeight < 48 && element.offsetWidth <= 4 * element.offsetHeight;
1833
1815
  }
1834
- /**
1835
- * How much a press squashes, from the prototype: an icon-only control squashes its icon by 15%, and a control squashes
1836
- * by its height. A control that another element draws, such as the mark of the folded page pill, names that element
1837
- * with `data-motion-press-target`, a selector that `closest()` finds from the control. Then that element squashes.
1838
- * `data-motion-press="icon"` squashes the first icon in the element. Nothing squashes when the press does not apply.
1839
- */
1840
1816
  function squash(element, choice) {
1841
1817
  if (choice === "none") return void 0;
1842
1818
  if (choice === "icon") {
@@ -1862,11 +1838,6 @@ function squash(element, choice) {
1862
1838
  amount: wholeAmount(element)
1863
1839
  };
1864
1840
  }
1865
- /**
1866
- * True when the element still animates `scale` with a CSS transition of its own, as a hand-written press on the
1867
- * allowlist of `test/design-rules.test.ts` does. The transition would smear each frame of the spring, so that element
1868
- * keeps its own press until its wave moves it onto the layer. Tailwind's plain `transition` class also animates `scale`.
1869
- */
1870
1841
  function transitionsScale(style) {
1871
1842
  const durations = style.transitionDuration.split(",");
1872
1843
  return style.transitionProperty.split(",").some((property, index) => /^\s*(?:scale|all)\s*$/.test(property) && Number.parseFloat(durations[index % durations.length]) > 0);
@@ -2640,7 +2611,6 @@ function findKnob(element) {
2640
2611
  function isOn(value) {
2641
2612
  return value === "true";
2642
2613
  }
2643
- /** Reads where the stylesheet puts the knob in the current state, without what the effect wrote. */
2644
2614
  function measure$1(element, knob) {
2645
2615
  writeMotionStyle(knob, {
2646
2616
  translate: null,
@@ -2699,10 +2669,6 @@ function draw$1(element, state) {
2699
2669
  scale: `${(width / now.width).toFixed(4)} ${(height / now.height).toFixed(4)}`
2700
2670
  });
2701
2671
  }
2702
- /**
2703
- * True when the knob still moves with a CSS transition of its own, as Nuxt UI's thumb does without the ViteHub theme.
2704
- * The transition would smear each frame of the springs, so that knob keeps its own motion.
2705
- */
2706
2672
  function transitionsKnob(knob) {
2707
2673
  const style = getComputedStyle(knob);
2708
2674
  const durations = style.transitionDuration.split(",");
@@ -2737,7 +2703,6 @@ function knobOf(element, wasOn) {
2737
2703
  knobs.set(element, state);
2738
2704
  return state;
2739
2705
  }
2740
- /** Measures the state that the stylesheet draws now and keeps it as the rest of that state. */
2741
2706
  function remeasure(element, state, on) {
2742
2707
  const { rest, translate, width, height } = measure$1(element, state.knob);
2743
2708
  state.rest[on ? 1 : 0] = rest;
@@ -3028,7 +2993,6 @@ function visuallyHidden(element) {
3028
2993
  function roleElement(box) {
3029
2994
  return box.matches("[role=tooltip]") ? box : box.querySelector(":scope > [role=tooltip]");
3030
2995
  }
3031
- /** An element that is not a tooltip but appears next to its trigger in the same way, such as a comment's draft bubble. */
3032
2996
  const appearSelector = "[data-motion-appear]";
3033
2997
  function visualBox(element) {
3034
2998
  if (element.matches(appearSelector)) return element;
@@ -3041,11 +3005,6 @@ function isOpen(box) {
3041
3005
  if (state !== null) return state !== "closed";
3042
3006
  return !box.hidden && !box.hasAttribute("data-closed");
3043
3007
  }
3044
- /**
3045
- * The trigger of a tooltip: the element that `aria-describedby` points at it. The trigger of a `data-motion-appear`
3046
- * element is the nearest element around it that its value selects, else a sibling that it selects, or none for an
3047
- * empty value.
3048
- */
3049
3008
  function findTrigger(box) {
3050
3009
  const anchor = box.getAttribute("data-motion-appear");
3051
3010
  if (anchor !== null) {
@@ -3583,7 +3542,6 @@ function stopWatchingMoves() {
3583
3542
  document.removeEventListener("pointerover", onMove, { capture: true });
3584
3543
  document.removeEventListener("focusin", onMove, { capture: true });
3585
3544
  }
3586
- /** The hooks of a tooltip and of an element with `data-motion-appear`: both appear the same way. */
3587
3545
  const appearHooks = {
3588
3546
  enter(element) {
3589
3547
  if (visualBox(element) !== element || !isOpen(element)) return;
@@ -3871,7 +3829,6 @@ const keys = [
3871
3829
  "width",
3872
3830
  "height"
3873
3831
  ];
3874
- /** The element's box with nothing of the travel written, and the point of the screen that its scale turns around. */
3875
3832
  function measure(element) {
3876
3833
  const { translate, scale } = element.style;
3877
3834
  writeMotionStyle(element, {
@@ -1,4 +1,4 @@
1
- import { r as createMotionList } from "./motion-core-JZZiPKEk.js";
1
+ import { r as createMotionList } from "./motion-core-pkL0M4Y1.js";
2
2
  import { t as elementOf } from "./element-BpjNQvZ0.js";
3
3
  import { Fragment, createElementVNode, defineComponent, h, mergeProps, onBeforeUnmount, onBeforeUpdate, onUpdated, renderSlot, useSlots } from "vue";
4
4
  // registry/motion/MotionList.vue
package/dist/motion.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { i as createHoldToDelete, n as HoldToDeleteOptions, r as HoldToDeleteState, t as HoldToDelete } from "./hold-to-delete-CQc1JaG_.js";
2
- import { $ as prefersReducedMotion, A as getMotionSlowFactor, B as leave, C as swapIcon, D as SpringPreset, E as SpringFrame, F as toast, G as disclosure, H as label, I as switchKnob, J as InstallMotionOptions, K as check, L as slider, M as springs, N as appear, O as SpringTarget, P as tooltip, Q as onReducedMotionChange, R as select, S as SwapIconOptions, T as Spring, U as jelly, V as buttonIcon, W as divider, X as isMotionOff, Z as forceReducedMotion, _ as shake, a as ProgressOptions, b as IconEnter, c as MotionList, d as MotionListPlay, f as createMotionList, g as travel, h as TravelOptions, i as Progress, j as setMotionSlowFactor, k as createSpring, l as MotionListOptions, m as TravelBox, n as DropFieldOptions, o as ProgressPhase, p as Travel, q as motionEffects, r as createDropField, s as createProgress, t as DropField, u as MotionListOrigin, v as ring, w as morphText, x as IconExit, y as rollNumber, z as panel } from "./motion-core-gfsTPLbh.js";
2
+ import { $ as prefersReducedMotion, A as getMotionSlowFactor, B as leave, C as swapIcon, D as SpringPreset, E as SpringFrame, F as toast, G as disclosure, H as label, I as switchKnob, J as InstallMotionOptions, K as check, L as slider, M as springs, N as appear, O as SpringTarget, P as tooltip, Q as onReducedMotionChange, R as select, S as SwapIconOptions, T as Spring, U as jelly, V as buttonIcon, W as divider, X as isMotionOff, Z as forceReducedMotion, _ as shake, a as ProgressOptions, b as IconEnter, c as MotionList, d as MotionListPlay, f as createMotionList, g as travel, h as TravelOptions, i as Progress, j as setMotionSlowFactor, k as createSpring, l as MotionListOptions, m as TravelBox, n as DropFieldOptions, o as ProgressPhase, p as Travel, q as motionEffects, r as createDropField, s as createProgress, t as DropField, u as MotionListOrigin, v as ring, w as morphText, x as IconExit, y as rollNumber, z as panel } from "./motion-core-BEwxN7Il.js";
3
3
  import { a as MotionEffect, c as MotionStateAttribute, d as defineMotionEffect, f as listMotionEffects, i as MotionContentChange, l as MotionStateChange, m as writeMotionStyle, n as press, o as MotionPress, p as motionStateAttributes, r as setMotionPressMode, s as MotionRoot, t as MotionPressMode, u as MotionStyleProperty } from "./press-BuEC-XvZ.js";
4
4
  import { t as installMotion } from "./motion-BH6ShUam.js";
5
5
  export { type DropField, type DropFieldOptions, type HoldToDelete, type HoldToDeleteOptions, type HoldToDeleteState, type IconEnter, type IconExit, type InstallMotionOptions, type MotionContentChange, type MotionEffect, type MotionList, type MotionListOptions, type MotionListOrigin, type MotionListPlay, type MotionPress, type MotionPressMode, type MotionRoot, type MotionStateAttribute, type MotionStateChange, type MotionStyleProperty, type Progress, type ProgressOptions, type ProgressPhase, type Spring, type SpringFrame, type SpringPreset, type SpringTarget, type SwapIconOptions, type Travel, type TravelBox, type TravelOptions, appear as appearEffect, buttonIcon as buttonIconEffect, check as checkEffect, createDropField, createHoldToDelete, createMotionList, createProgress, createSpring, defineMotionEffect, disclosure as disclosureEffect, divider as dividerEffect, forceReducedMotion, getMotionSlowFactor, installMotion, isMotionOff, jelly as jellyEffect, label as labelEffect, leave as leaveEffect, listMotionEffects, morphText, motionEffects, motionStateAttributes, onReducedMotionChange, panel as panelEffect, prefersReducedMotion, press as pressEffect, ring, rollNumber, select as selectEffect, setMotionPressMode, setMotionSlowFactor, shake, slider as sliderEffect, springs, swapIcon, switchKnob as switchEffect, toast as toastEffect, tooltip as tooltipEffect, travel, writeMotionStyle };
package/dist/motion.js CHANGED
@@ -1,6 +1,6 @@
1
- import { f as writeMotionStyle, i as defineMotionEffect, l as motionStateAttributes, s as listMotionEffects, t as createHoldToDelete } from "./hold-to-delete-D1Vy40w5.js";
2
- import { c as createSpring, d as setMotionSlowFactor, f as springs, h as prefersReducedMotion, l as getMotionSlowFactor, m as onReducedMotionChange, o as isMotionOff, p as forceReducedMotion } from "./tween-1W-LlKk9.js";
3
- import { C as disclosure, E as divider, S as jelly, _ as leave, a as shake, b as morphText, c as appear, d as switchKnob, f as slider, g as panel, h as setMotionPressMode, i as travel, l as tooltip, m as press, n as createProgress, o as rollNumber, p as select, r as createMotionList, s as motionEffects, t as createDropField, u as toast, v as buttonIcon, w as check, x as swapIcon, y as label } from "./motion-core-JZZiPKEk.js";
4
- import { t as ring } from "./ring-B0nZBnU0.js";
5
- import { t as installMotion } from "./motion-BhARaNBB.js";
1
+ import { f as writeMotionStyle, i as defineMotionEffect, l as motionStateAttributes, s as listMotionEffects, t as createHoldToDelete } from "./hold-to-delete-sscThmPW.js";
2
+ import { c as createSpring, d as setMotionSlowFactor, f as springs, h as prefersReducedMotion, l as getMotionSlowFactor, m as onReducedMotionChange, o as isMotionOff, p as forceReducedMotion } from "./tween-DGAmrS3r.js";
3
+ import { C as disclosure, E as divider, S as jelly, _ as leave, a as shake, b as morphText, c as appear, d as switchKnob, f as slider, g as panel, h as setMotionPressMode, i as travel, l as tooltip, m as press, n as createProgress, o as rollNumber, p as select, r as createMotionList, s as motionEffects, t as createDropField, u as toast, v as buttonIcon, w as check, x as swapIcon, y as label } from "./motion-core-pkL0M4Y1.js";
4
+ import { t as ring } from "./ring-C5lNUEAG.js";
5
+ import { t as installMotion } from "./motion-C8P5yWaA.js";
6
6
  export { appear as appearEffect, buttonIcon as buttonIconEffect, check as checkEffect, createDropField, createHoldToDelete, createMotionList, createProgress, createSpring, defineMotionEffect, disclosure as disclosureEffect, divider as dividerEffect, forceReducedMotion, getMotionSlowFactor, installMotion, isMotionOff, jelly as jellyEffect, label as labelEffect, leave as leaveEffect, listMotionEffects, morphText, motionEffects, motionStateAttributes, onReducedMotionChange, panel as panelEffect, prefersReducedMotion, press as pressEffect, ring, rollNumber, select as selectEffect, setMotionPressMode, setMotionSlowFactor, shake, slider as sliderEffect, springs, swapIcon, switchKnob as switchEffect, toast as toastEffect, tooltip as tooltipEffect, travel, writeMotionStyle };