@mcp-b/react-components 0.56.1 → 0.57.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.
- package/dist/{AgentActivity-Cc_oDYum.d.ts → AgentActivity-DSObWhDU.d.ts} +3 -9
- package/dist/{AgentChatQueue-MrHhV901.d.ts → AgentChatQueue-CGR4hd7D.d.ts} +2 -9
- package/dist/{AgentMessageParts-C7L-Mv9U.d.ts → AgentMessageParts-BtWwiE4f.d.ts} +1 -6
- package/dist/{AgentToolRunsContext-DT50htHj.d.ts → AgentToolRunsContext-DniwGn96.d.ts} +1 -5
- package/dist/{AppTopBar-CVkLRdk7.d.ts → AppTopBar-DwzydmXu.d.ts} +8 -43
- package/dist/{Avatar-o2NO1fCG.d.ts → Avatar-t1YRzdwB.d.ts} +7 -30
- package/dist/{Button-DjONW5UW.d.ts → Button-ClRxb8tM.d.ts} +4 -17
- package/dist/{CodeBlock-DJ99TQWy.d.ts → CodeBlock-CPotpyyM.d.ts} +16 -72
- package/dist/{CodeBlock-Bl-q7wMc.js → CodeBlock-Dw1z6jc8.js} +1 -1
- package/dist/{Correspondent-7K6uNLUm.d.ts → Correspondent-ANkZHGEa.d.ts} +1 -5
- package/dist/{Dialog-88GF7_Th.d.ts → Dialog-D5AVE3IN.d.ts} +9 -49
- package/dist/{EmployeeChrome-B7Gt2Hpk.d.ts → EmployeeChrome-CN99SVfF.d.ts} +15 -59
- package/dist/{FileTree-DruTQ-oa.js → FileTree-D61EeWRU.js} +1 -2
- package/dist/{Form-CM7GNTwR.d.ts → Form-DIpgCZ2V.d.ts} +3 -7
- package/dist/{IconButton-CAlFVb2L.d.ts → IconButton-43ggXEuf.d.ts} +4 -14
- package/dist/{ManagerOffice-CMJ7laGe.js → ManagerOffice-D4L_xO4i.js} +5 -5
- package/dist/McpConnectorForm-BPWCo9bU.d.ts +35 -0
- package/dist/{McpPluginCatalog-DNeHDrts.d.ts → McpPluginCatalog-uSh0gGeY.d.ts} +5 -32
- package/dist/{Menu-CgfUZhZd.d.ts → Menu-FA4P6KrA.d.ts} +18 -87
- package/dist/{Message-COsMPZSC.d.ts → Message-CwCqa90H.d.ts} +20 -116
- package/dist/{MessageScrollerVirtual-D4afYwVB.d.ts → MessageScrollerVirtual-DVQeEkNy.d.ts} +2 -16
- package/dist/{Popover-CgHG5DtS.d.ts → Popover-BtAR4Tn8.d.ts} +12 -54
- package/dist/{PromptInput-DGPrCTPl.d.ts → PromptInput-C3adKglc.d.ts} +35 -243
- package/dist/{PromptInputApproval-D2hpn54U.d.ts → PromptInputApproval-C6KvCOMZ.d.ts} +2 -17
- package/dist/{ResponsiveSidebarShell-BUBQa_IV.d.ts → ResponsiveSidebarShell-DoZlSP30.d.ts} +4 -20
- package/dist/{Select-RrceeEIe.d.ts → Select-CEzSA672.d.ts} +16 -86
- package/dist/{Separator-CzhtLYE1.d.ts → Separator-CYWGW1tr.d.ts} +1 -8
- package/dist/{SetupChecklist-BiWQkKEq.js → SetupChecklist-DWyifWWg.js} +2 -2
- package/dist/{Tabs-Ptrbaynh.d.ts → Tabs-BYs-RgJ7.d.ts} +5 -33
- package/dist/{ThinkChatActivity-B6dh3n0-.d.ts → ThinkChatActivity-BkGjTY4r.d.ts} +6 -18
- package/dist/{ThinkChatActivitySummary-BtBQgMg6.d.ts → ThinkChatActivitySummary-DZVy3uQV.d.ts} +2 -3
- package/dist/{ThinkChatContext-COIgzkYp.d.ts → ThinkChatContext-DQ6M2VlJ.d.ts} +0 -1
- package/dist/{ThinkChatToolParts-D4qcnnxt.d.ts → ThinkChatToolParts-BucHi63O.d.ts} +1 -2
- package/dist/{ThinkExecutionRun-k8bpyXqt.d.ts → ThinkExecutionRun-CPeYVneQ.d.ts} +0 -1
- package/dist/{ThinkRoutine-Cb1DdaHa.d.ts → ThinkRoutine-DGlKJbIy.d.ts} +1 -2
- package/dist/{ThinkThreadPicker-DX0lL-P7.d.ts → ThinkThreadPicker-BmIZmpae.d.ts} +4 -19
- package/dist/{Toolbar-CGY004u0.d.ts → Toolbar-Dcn4IszI.d.ts} +8 -34
- package/dist/{Workspace-mzMZSdts.d.ts → Workspace-Cr-aGDfx.d.ts} +3 -19
- package/dist/{WorkspaceFile-19WP0EU1.d.ts → WorkspaceFile-DiwiJEwO.d.ts} +3 -3
- package/dist/{WorkspaceFileView-DXgTljKV.js → WorkspaceFileView-DCvGBsI1.js} +7 -6
- package/dist/{WorkspaceLink-BYZG-V_I.js → WorkspaceLink-BeFAXpbI.js} +14 -13
- package/dist/{WorkspaceLink-Bh9-Jo1r.d.ts → WorkspaceLink-Buo6gKj2.d.ts} +3 -23
- package/dist/{WorkspaceMessageResponse-BApg8KZv.d.ts → WorkspaceMessageResponse-D8FGgIQU.d.ts} +3 -12
- package/dist/{WorkspaceMessageResponse-CUJk9_P5.js → WorkspaceMessageResponse-DnsdpaGU.js} +1 -1
- package/dist/{WorkspaceMountManager-CkLI1B-G.d.ts → WorkspaceMountManager-DM384Cn6.d.ts} +1 -11
- package/dist/{codex-model-catalog-BBN_gWcc.d.ts → codex-model-catalog-CBWDdQl7.d.ts} +4 -2
- package/dist/components/agents-sdk/AgentActivity.d.ts +1 -1
- package/dist/components/agents-sdk/AgentActivity.js +1 -1
- package/dist/components/agents-sdk/AgentChat.d.ts +41 -89
- package/dist/components/agents-sdk/AgentChat.js +11 -10
- package/dist/components/agents-sdk/AgentChatQueue.d.ts +1 -1
- package/dist/components/agents-sdk/AgentEvent.d.ts +5 -13
- package/dist/components/agents-sdk/AgentEvent.js +3 -3
- package/dist/components/agents-sdk/AgentToolRunsContext.d.ts +1 -1
- package/dist/components/agents-sdk/BrowserLiveScreen.d.ts +12 -24
- package/dist/components/agents-sdk/BrowserLiveScreen.js +1 -1
- package/dist/components/agents-sdk/BrowserLiveView.d.ts +9 -8
- package/dist/components/agents-sdk/BrowserLiveView.js +1 -1
- package/dist/components/agents-sdk/BrowserReplay.d.ts +5 -12
- package/dist/components/agents-sdk/BrowserReplay.js +2 -2
- package/dist/components/agents-sdk/BrowserRunPanel.d.ts +4 -6
- package/dist/components/agents-sdk/BrowserRunPanel.js +1 -1
- package/dist/components/agents-sdk/DiscordConnectionDialog.d.ts +3 -11
- package/dist/components/agents-sdk/EmployeeApp.d.ts +9 -30
- package/dist/components/agents-sdk/EmployeeApp.js +2 -2
- package/dist/components/agents-sdk/EmployeeChat.d.ts +9 -39
- package/dist/components/agents-sdk/EmployeeChat.js +5 -5
- package/dist/components/agents-sdk/EmployeeChrome.d.ts +1 -1
- package/dist/components/agents-sdk/EmployeeChrome.js +16 -15
- package/dist/components/agents-sdk/EmployeeSchedules.d.ts +5 -16
- package/dist/components/agents-sdk/EmployeeSchedules.js +5 -4
- package/dist/components/agents-sdk/EmployeeStartScreen.d.ts +9 -17
- package/dist/components/agents-sdk/EmployeeStartScreen.js +4 -4
- package/dist/components/agents-sdk/ManagerAccountActions.d.ts +4 -12
- package/dist/components/agents-sdk/ManagerAccountActions.js +4 -4
- package/dist/components/agents-sdk/ManagerOffice.d.ts +41 -98
- package/dist/components/agents-sdk/ManagerOffice.js +1 -1
- package/dist/components/agents-sdk/ManagerOfficeScreens.d.ts +18 -29
- package/dist/components/agents-sdk/ManagerOfficeScreens.js +2 -2
- package/dist/components/agents-sdk/McpConnectionRequest.d.ts +13 -10
- package/dist/components/agents-sdk/McpConnectionRequest.js +3 -3
- package/dist/components/agents-sdk/McpConnectorForm.d.ts +1 -1
- package/dist/components/agents-sdk/McpConnectorForm.js +1 -1
- package/dist/components/agents-sdk/McpPluginCatalog.d.ts +1 -1
- package/dist/components/agents-sdk/McpPluginCatalog.js +4 -4
- package/dist/components/agents-sdk/McpServerIcon.d.ts +4 -10
- package/dist/components/agents-sdk/McpServerPicker.d.ts +16 -52
- package/dist/components/agents-sdk/McpServerPicker.js +3 -3
- package/dist/components/agents-sdk/ModelEndpointDialog.d.ts +11 -11
- package/dist/components/agents-sdk/ModelEndpointDialog.js +25 -2
- package/dist/components/agents-sdk/ModelSelector.d.ts +46 -134
- package/dist/components/agents-sdk/ModelSelector.js +5 -5
- package/dist/components/agents-sdk/PromptInputApproval.d.ts +1 -1
- package/dist/components/agents-sdk/PromptInputApproval.js +1 -1
- package/dist/components/agents-sdk/PromptInputCommands.d.ts +5 -7
- package/dist/components/agents-sdk/PromptInputCommands.js +1 -1
- package/dist/components/agents-sdk/SlackConnectionDialog.d.ts +3 -10
- package/dist/components/agents-sdk/SubagentRunDetails.d.ts +12 -37
- package/dist/components/agents-sdk/SubagentRunDetails.js +1 -1
- package/dist/components/agents-sdk/SubagentRunIndicator.d.ts +9 -17
- package/dist/components/agents-sdk/SubagentRunIndicator.js +2 -2
- package/dist/components/agents-sdk/SubagentRunList.d.ts +4 -13
- package/dist/components/agents-sdk/SubagentRunPanel.d.ts +7 -19
- package/dist/components/agents-sdk/SubagentRunPanel.js +1 -1
- package/dist/components/agents-sdk/SubagentRunSelector.d.ts +6 -16
- package/dist/components/agents-sdk/SubagentRunSelector.js +1 -1
- package/dist/components/agents-sdk/ThinkChat.d.ts +21 -41
- package/dist/components/agents-sdk/ThinkChat.js +3 -2
- package/dist/components/agents-sdk/ThinkChatActivity.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkChatActivity.js +3 -3
- package/dist/components/agents-sdk/ThinkChatActivitySummary.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkChatActivitySummary.js +4 -3
- package/dist/components/agents-sdk/ThinkChatContext.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkChatToolPanels.d.ts +9 -23
- package/dist/components/agents-sdk/ThinkChatToolPanels.js +11 -8
- package/dist/components/agents-sdk/ThinkChatToolParts.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkExecutionDetail.d.ts +4 -12
- package/dist/components/agents-sdk/ThinkExecutionDetail.js +3 -3
- package/dist/components/agents-sdk/ThinkExecutionRun.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkExecutionRun.js +3 -2
- package/dist/components/agents-sdk/ThinkExecutionStatus.d.ts +8 -20
- package/dist/components/agents-sdk/ThinkExecutionStatus.js +1 -1
- package/dist/components/agents-sdk/ThinkExecutionWorkbench.d.ts +20 -57
- package/dist/components/agents-sdk/ThinkExecutionWorkbench.js +6 -5
- package/dist/components/agents-sdk/ThinkFullApp.d.ts +10 -30
- package/dist/components/agents-sdk/ThinkPendingApproval.d.ts +6 -28
- package/dist/components/agents-sdk/ThinkPendingApproval.js +1 -1
- package/dist/components/agents-sdk/ThinkRecoveryNotice.d.ts +4 -8
- package/dist/components/agents-sdk/ThinkRecoveryNotice.js +1 -1
- package/dist/components/agents-sdk/ThinkRoutine.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkRoutineActions.d.ts +8 -17
- package/dist/components/agents-sdk/ThinkRoutineActions.js +3 -3
- package/dist/components/agents-sdk/ThinkRoutineBrowser.d.ts +5 -17
- package/dist/components/agents-sdk/ThinkRoutineBrowser.js +3 -3
- package/dist/components/agents-sdk/ThinkRoutineDetail.d.ts +4 -15
- package/dist/components/agents-sdk/ThinkRoutineDetail.js +1 -1
- package/dist/components/agents-sdk/ThinkRoutineForm.d.ts +8 -16
- package/dist/components/agents-sdk/ThinkRoutineForm.js +4 -4
- package/dist/components/agents-sdk/ThinkRoutineRuns.d.ts +4 -14
- package/dist/components/agents-sdk/ThinkRoutineRuns.js +1 -1
- package/dist/components/agents-sdk/ThinkThreadPicker.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkThreadPicker.js +4 -4
- package/dist/components/agents-sdk/WorkbenchBack.d.ts +3 -10
- package/dist/components/agents-sdk/WorkbenchBack.js +1 -1
- package/dist/components/agents-sdk/Workspace.d.ts +1 -1
- package/dist/components/agents-sdk/Workspace.js +3 -3
- package/dist/components/agents-sdk/WorkspaceBrowser.d.ts +4 -15
- package/dist/components/agents-sdk/WorkspaceBrowser.js +1 -1
- package/dist/components/agents-sdk/WorkspaceConcept.d.ts +10 -18
- package/dist/components/agents-sdk/WorkspaceCorrespondence.d.ts +12 -27
- package/dist/components/agents-sdk/WorkspaceCorrespondence.js +6 -6
- package/dist/components/agents-sdk/WorkspaceExecution.d.ts +18 -32
- package/dist/components/agents-sdk/WorkspaceExecution.js +7 -7
- package/dist/components/agents-sdk/WorkspaceExplorer.d.ts +8 -11
- package/dist/components/agents-sdk/WorkspaceExplorer.js +4 -4
- package/dist/components/agents-sdk/WorkspaceFile.d.ts +1 -1
- package/dist/components/agents-sdk/WorkspaceFileView.d.ts +4 -16
- package/dist/components/agents-sdk/WorkspaceFileView.js +1 -1
- package/dist/components/agents-sdk/WorkspaceHeader.d.ts +3 -14
- package/dist/components/agents-sdk/WorkspaceHeader.js +1 -1
- package/dist/components/agents-sdk/WorkspaceLink.d.ts +1 -1
- package/dist/components/agents-sdk/WorkspaceLink.js +1 -1
- package/dist/components/agents-sdk/WorkspaceLive.d.ts +8 -19
- package/dist/components/agents-sdk/WorkspaceMessageResponse.d.ts +1 -1
- package/dist/components/agents-sdk/WorkspaceMessageResponse.js +1 -1
- package/dist/components/agents-sdk/WorkspaceMountManager.d.ts +1 -1
- package/dist/components/agents-sdk/WorkspaceMountManager.js +3 -2
- package/dist/components/agents-sdk/WorkspaceNavigationRestoration.d.ts +8 -16
- package/dist/components/agents-sdk/WorkspaceProject.d.ts +22 -38
- package/dist/components/agents-sdk/WorkspaceProject.js +5 -5
- package/dist/components/agents-sdk/WorkspaceUserScript.d.ts +8 -19
- package/dist/components/agents-sdk/WorkspaceUserScript.js +6 -5
- package/dist/components/ai-sdk/Activity.d.ts +21 -90
- package/dist/components/ai-sdk/Activity.js +1 -1
- package/dist/components/ai-sdk/AgentAttention.d.ts +15 -44
- package/dist/components/ai-sdk/AgentChatMessageEditor.d.ts +3 -11
- package/dist/components/ai-sdk/AgentChatStartScreen.d.ts +15 -54
- package/dist/components/ai-sdk/AgentChatStartScreen.js +12 -11
- package/dist/components/ai-sdk/AgentChatTurnError.d.ts +3 -8
- package/dist/components/ai-sdk/AgentMessageParts.d.ts +1 -1
- package/dist/components/ai-sdk/AgentMessageParts.js +4 -2
- package/dist/components/ai-sdk/Approval.d.ts +20 -56
- package/dist/components/ai-sdk/Approval.js +2 -2
- package/dist/components/ai-sdk/Artifact.d.ts +23 -73
- package/dist/components/ai-sdk/Artifact.js +1 -1
- package/dist/components/ai-sdk/ChainOfThought.d.ts +19 -62
- package/dist/components/ai-sdk/ChainOfThought.js +1 -1
- package/dist/components/ai-sdk/Checkpoint.d.ts +13 -40
- package/dist/components/ai-sdk/Checkpoint.js +1 -1
- package/dist/components/ai-sdk/CodeBlock.d.ts +1 -1
- package/dist/components/ai-sdk/CodeBlock.js +1 -1
- package/dist/components/ai-sdk/ComposerLink.d.ts +6 -17
- package/dist/components/ai-sdk/ComposerLink.js +1 -1
- package/dist/components/ai-sdk/ConnectedAppCards.d.ts +20 -60
- package/dist/components/ai-sdk/ConnectedAppCards.js +3 -3
- package/dist/components/ai-sdk/Context.d.ts +27 -65
- package/dist/components/ai-sdk/Context.js +2 -2
- package/dist/components/ai-sdk/Conversation.d.ts +16 -50
- package/dist/components/ai-sdk/Conversation.js +1 -1
- package/dist/components/ai-sdk/Correspondent.d.ts +1 -1
- package/dist/components/ai-sdk/ExpansionState.d.ts +6 -11
- package/dist/components/ai-sdk/Goal.d.ts +20 -61
- package/dist/components/ai-sdk/Goal.js +2 -2
- package/dist/components/ai-sdk/InlineCitation.d.ts +11 -30
- package/dist/components/ai-sdk/InlineCitation.js +8 -7
- package/dist/components/ai-sdk/MediaPreviewCard.d.ts +15 -53
- package/dist/components/ai-sdk/MediaPreviewCard.js +1 -1
- package/dist/components/ai-sdk/Message.d.ts +1 -1
- package/dist/components/ai-sdk/Message.js +3 -3
- package/dist/components/ai-sdk/MessageScroller.d.ts +14 -42
- package/dist/components/ai-sdk/MessageScroller.js +1 -1
- package/dist/components/ai-sdk/MessageScrollerVirtual.d.ts +1 -1
- package/dist/components/ai-sdk/MessageScrollerVirtual.js +1 -1
- package/dist/components/ai-sdk/Plan.d.ts +32 -95
- package/dist/components/ai-sdk/Plan.js +4 -3
- package/dist/components/ai-sdk/PromptInput.d.ts +1 -1
- package/dist/components/ai-sdk/PromptInput.js +7 -7
- package/dist/components/ai-sdk/PromptInputComposerEditor.d.ts +5 -19
- package/dist/components/ai-sdk/PromptInputComposerEditor.js +1 -1
- package/dist/components/ai-sdk/Queue.d.ts +39 -130
- package/dist/components/ai-sdk/Queue.js +1 -1
- package/dist/components/ai-sdk/Reasoning.d.ts +10 -32
- package/dist/components/ai-sdk/Reasoning.js +1 -1
- package/dist/components/ai-sdk/Sources.d.ts +11 -35
- package/dist/components/ai-sdk/Sources.js +1 -1
- package/dist/components/ai-sdk/Task.d.ts +13 -41
- package/dist/components/ai-sdk/Task.js +1 -1
- package/dist/components/ai-sdk/ToolApproval.d.ts +3 -14
- package/dist/components/ai-sdk/ToolInvocation.d.ts +3 -9
- package/dist/components/ai-sdk/ToolInvocation.js +2 -4
- package/dist/components/ai-sdk/ToolPart.d.ts +5 -7
- package/dist/components/extension/ChatGptSignInScreen.d.ts +6 -20
- package/dist/components/extension/ChatGptSignInScreen.js +1 -1
- package/dist/components/extension/CodexModelSelector.d.ts +5 -22
- package/dist/components/extension/CodexModelSelector.js +3 -3
- package/dist/components/extension/ConversationTabPicker.d.ts +5 -10
- package/dist/components/extension/ConversationTabPicker.js +2 -2
- package/dist/components/foundations/Accordion.d.ts +12 -34
- package/dist/components/foundations/AlertDialog.d.ts +24 -72
- package/dist/components/foundations/AlertDialog.js +6 -3
- package/dist/components/foundations/AppIcon.d.ts +15 -37
- package/dist/components/foundations/Autocomplete.d.ts +13 -59
- package/dist/components/foundations/Avatar.d.ts +1 -1
- package/dist/components/foundations/Avatar.js +4 -2
- package/dist/components/foundations/Button.d.ts +1 -1
- package/dist/components/foundations/Card.d.ts +15 -54
- package/dist/components/foundations/Checkbox.d.ts +5 -15
- package/dist/components/foundations/Checkbox.js +1 -1
- package/dist/components/foundations/CheckboxGroup.d.ts +14 -44
- package/dist/components/foundations/CheckboxGroup.js +14 -7
- package/dist/components/foundations/Collapsible.d.ts +10 -26
- package/dist/components/foundations/Collapsible.js +1 -1
- package/dist/components/foundations/Combobox.d.ts +13 -59
- package/dist/components/foundations/ContextMenu.d.ts +31 -93
- package/dist/components/foundations/ContextMenu.js +3 -2
- package/dist/components/foundations/DescriptionList.d.ts +6 -26
- package/dist/components/foundations/Dialog.d.ts +1 -1
- package/dist/components/foundations/Dialog.js +4 -2
- package/dist/components/foundations/EmptyState.d.ts +5 -14
- package/dist/components/foundations/Field.d.ts +29 -84
- package/dist/components/foundations/Fieldset.d.ts +10 -24
- package/dist/components/foundations/Fieldset.js +2 -1
- package/dist/components/foundations/Form.d.ts +1 -1
- package/dist/components/foundations/Form.js +2 -1
- package/dist/components/foundations/FormattedDate.d.ts +3 -7
- package/dist/components/foundations/IconButton.d.ts +1 -1
- package/dist/components/foundations/Input.d.ts +3 -9
- package/dist/components/foundations/Input.js +2 -1
- package/dist/components/foundations/Kbd.d.ts +3 -10
- package/dist/components/foundations/Label.d.ts +5 -12
- package/dist/components/foundations/Label.js +2 -1
- package/dist/components/foundations/LinkButton.d.ts +10 -17
- package/dist/components/foundations/Marker.d.ts +10 -29
- package/dist/components/foundations/Menu.d.ts +1 -1
- package/dist/components/foundations/Menu.js +2 -1
- package/dist/components/foundations/Menubar.d.ts +35 -101
- package/dist/components/foundations/Menubar.js +5 -3
- package/dist/components/foundations/Meter.d.ts +14 -35
- package/dist/components/foundations/NavigationMenu.d.ts +25 -71
- package/dist/components/foundations/NumberField.d.ts +16 -41
- package/dist/components/foundations/Popover.d.ts +1 -1
- package/dist/components/foundations/Popover.js +2 -1
- package/dist/components/foundations/PreviewCard.d.ts +16 -42
- package/dist/components/foundations/Progress.d.ts +9 -24
- package/dist/components/foundations/RadioGroup.d.ts +9 -24
- package/dist/components/foundations/RadioGroup.js +2 -1
- package/dist/components/foundations/ScrollArea.d.ts +16 -42
- package/dist/components/foundations/SearchField.d.ts +10 -23
- package/dist/components/foundations/SearchField.js +1 -1
- package/dist/components/foundations/Select.d.ts +1 -1
- package/dist/components/foundations/Select.js +1 -1
- package/dist/components/foundations/Separator.d.ts +1 -1
- package/dist/components/foundations/Slider.d.ts +16 -46
- package/dist/components/foundations/Stepper.d.ts +31 -91
- package/dist/components/foundations/Stepper.js +1 -1
- package/dist/components/foundations/Switch.d.ts +6 -17
- package/dist/components/foundations/Tabs.d.ts +1 -1
- package/dist/components/foundations/Textarea.d.ts +5 -11
- package/dist/components/foundations/ThemeProvider.d.ts +5 -13
- package/dist/components/foundations/Toast.d.ts +19 -51
- package/dist/components/foundations/Toast.js +1 -1
- package/dist/components/foundations/Toggle.d.ts +7 -18
- package/dist/components/foundations/Toggle.js +5 -4
- package/dist/components/foundations/ToggleGroup.d.ts +12 -27
- package/dist/components/foundations/ToggleGroup.js +1 -1
- package/dist/components/foundations/Toolbar.d.ts +1 -1
- package/dist/components/foundations/Tooltip.d.ts +16 -43
- package/dist/components/foundations/TransitionSurface.d.ts +6 -12
- package/dist/components/foundations/icons.d.ts +1 -1
- package/dist/components/foundations/icons.js +1 -1
- package/dist/components/general-purpose/AccountSignInDialog.d.ts +3 -10
- package/dist/components/general-purpose/AccountSignInDialog.js +1 -1
- package/dist/components/general-purpose/ActionGuide.d.ts +14 -47
- package/dist/components/general-purpose/AppFrame.d.ts +4 -14
- package/dist/components/general-purpose/AppTopBar.d.ts +1 -1
- package/dist/components/general-purpose/BrandLoading.d.ts +3 -7
- package/dist/components/general-purpose/Commit.d.ts +48 -156
- package/dist/components/general-purpose/Commit.js +4 -3
- package/dist/components/general-purpose/EnvironmentVariables.d.ts +27 -93
- package/dist/components/general-purpose/EnvironmentVariables.js +2 -2
- package/dist/components/general-purpose/FileTree.d.ts +15 -62
- package/dist/components/general-purpose/FileTree.js +1 -1
- package/dist/components/general-purpose/NotificationPrompt.d.ts +2 -7
- package/dist/components/general-purpose/Pricing.d.ts +10 -11
- package/dist/components/general-purpose/PricingBillingToggle.d.ts +3 -11
- package/dist/components/general-purpose/PricingBillingToggle.js +1 -1
- package/dist/components/general-purpose/PricingConfirmationDialog.d.ts +3 -13
- package/dist/components/general-purpose/PricingFAQ.d.ts +3 -9
- package/dist/components/general-purpose/PricingPage.d.ts +3 -30
- package/dist/components/general-purpose/PricingPage.js +2 -1
- package/dist/components/general-purpose/PricingPlanCard.d.ts +4 -12
- package/dist/components/general-purpose/PricingPlanCard.js +2 -2
- package/dist/components/general-purpose/PricingUsageCalculator.d.ts +3 -11
- package/dist/components/general-purpose/PricingUsageCalculator.js +2 -2
- package/dist/components/general-purpose/ResizableSidePanel.d.ts +10 -33
- package/dist/components/general-purpose/ResizableSidePanel.js +1 -1
- package/dist/components/general-purpose/ResponsiveSidebarShell.d.ts +1 -1
- package/dist/components/general-purpose/ResponsiveSidebarShell.js +2 -2
- package/dist/components/general-purpose/SettingsFormDialog.d.ts +5 -13
- package/dist/components/general-purpose/SettingsFormDialog.js +2 -2
- package/dist/components/general-purpose/SetupChecklist.d.ts +6 -18
- package/dist/components/general-purpose/SetupChecklist.js +1 -1
- package/dist/components/general-purpose/StatusScreen.d.ts +5 -13
- package/dist/components/general-purpose/Terminal.d.ts +22 -67
- package/dist/components/general-purpose/Terminal.js +2 -2
- package/dist/components/general-purpose/TestResults.d.ts +39 -137
- package/dist/components/general-purpose/TestResults.js +7 -6
- package/dist/components/general-purpose/ThemeModeControl.d.ts +3 -10
- package/dist/components/general-purpose/ThemeModeControl.js +2 -2
- package/dist/components/general-purpose/WebPreview.d.ts +23 -76
- package/dist/components/general-purpose/WebPreview.js +2 -2
- package/dist/components/nanites/AgentConnection.d.ts +11 -35
- package/dist/components/nanites/AgentConnection.js +2 -2
- package/dist/components/nanites/AgentToolDetail.d.ts +8 -27
- package/dist/components/nanites/AgentToolDetail.js +10 -9
- package/dist/components/nanites/GithubMotionMark.d.ts +2 -6
- package/dist/components/nanites/GithubMotionMark.js +2 -1
- package/dist/components/nanites/NaniteScene.d.ts +16 -19
- package/dist/components/nanites/NaniteScene.js +9 -8
- package/dist/{copy-button-CJYYgCIU.d.ts → copy-button-BIfY5M-D.d.ts} +1 -2
- package/dist/{copy-button-CSDuDfdP.js → copy-button-Dk2vRe9j.js} +1 -1
- package/dist/{format-COCyV98Z.js → format-CWaZEp5o.js} +1 -1
- package/dist/icons-CUuD7iEh.d.ts +73 -0
- package/dist/{mcp-server-catalog-D9p4gGeJ.d.ts → mcp-server-catalog-DgA9BnL0.d.ts} +0 -1
- package/dist/{progress-ring-Cgii90dC.js → progress-ring-L2bbF0ji.js} +1 -1
- package/dist/styles/app-top-bar.css +2 -2
- package/dist/styles/recipes.css +19 -19
- package/dist/utils/codex-model-catalog.d.ts +1 -1
- package/dist/utils/composer-link.d.ts +24 -25
- package/dist/utils/favicon.d.ts +3 -4
- package/dist/utils/mcp-server-catalog.d.ts +1 -1
- package/dist/utils/structured-code.d.ts +4 -6
- package/dist/utils/theme.d.ts +11 -12
- package/dist/{workspace-assets-Bg7XhPsk.js → workspace-assets-wW_lQLYK.js} +2 -2
- package/package.json +37 -37
- package/dist/McpConnectorForm--HB0MEGC.d.ts +0 -39
- package/dist/icons-CCZGYUwU.d.ts +0 -299
- package/dist/{icons-cuEtsgj9.js → icons-CeGfXO21.js} +1 -1
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { SourceDocumentUIPart, SourceUrlUIPart } from "ai";
|
|
3
|
-
|
|
4
3
|
//#region src/components/ai-sdk/InlineCitation.d.ts
|
|
5
|
-
interface InlineCitationProps extends React.ComponentPropsWithoutRef<"span"> {
|
|
4
|
+
export interface InlineCitationProps extends React.ComponentPropsWithoutRef<"span"> {
|
|
6
5
|
/** Claim text and citations placed beside it by the consuming application. */
|
|
7
6
|
children?: React.ReactNode;
|
|
8
7
|
}
|
|
@@ -17,32 +16,21 @@ interface InlineCitationProps extends React.ComponentPropsWithoutRef<"span"> {
|
|
|
17
16
|
* `SourceDocumentUIPart`)
|
|
18
17
|
* @see https://elements.ai-sdk.dev/components/inline-citation
|
|
19
18
|
*/
|
|
20
|
-
declare function InlineCitation({
|
|
21
|
-
|
|
22
|
-
ref
|
|
23
|
-
...props
|
|
24
|
-
}: InlineCitationProps & {
|
|
25
|
-
/** Ref forwarded to the component's rendered root element. */ref?: React.Ref<HTMLSpanElement>;
|
|
19
|
+
export declare function InlineCitation({ className, ref, ...props }: InlineCitationProps & {
|
|
20
|
+
/** Ref forwarded to the component's rendered root element. */
|
|
21
|
+
ref?: React.Ref<HTMLSpanElement>;
|
|
26
22
|
}): React.JSX.Element;
|
|
27
|
-
interface InlineCitationTextProps extends React.ComponentPropsWithoutRef<"span"> {}
|
|
23
|
+
export interface InlineCitationTextProps extends React.ComponentPropsWithoutRef<"span"> {}
|
|
28
24
|
/** Claim text whose citation is placed by the consuming app. */
|
|
29
|
-
declare function InlineCitationText({
|
|
30
|
-
className,
|
|
31
|
-
ref,
|
|
32
|
-
...props
|
|
33
|
-
}: InlineCitationTextProps & {
|
|
25
|
+
export declare function InlineCitationText({ className, ref, ...props }: InlineCitationTextProps & {
|
|
34
26
|
ref?: React.Ref<HTMLSpanElement>;
|
|
35
27
|
}): React.JSX.Element;
|
|
36
|
-
interface InlineCitationCardProps extends React.ComponentPropsWithoutRef<"div"> {}
|
|
28
|
+
export interface InlineCitationCardProps extends React.ComponentPropsWithoutRef<"div"> {}
|
|
37
29
|
/** Compact presentation container for citation details inside an existing overlay. */
|
|
38
|
-
declare function InlineCitationCard({
|
|
39
|
-
className,
|
|
40
|
-
ref,
|
|
41
|
-
...props
|
|
42
|
-
}: InlineCitationCardProps & {
|
|
30
|
+
export declare function InlineCitationCard({ className, ref, ...props }: InlineCitationCardProps & {
|
|
43
31
|
ref?: React.Ref<HTMLDivElement>;
|
|
44
32
|
}): React.JSX.Element;
|
|
45
|
-
interface InlineCitationSourceProps extends Omit<React.ComponentPropsWithoutRef<"span">, "children"> {
|
|
33
|
+
export interface InlineCitationSourceProps extends Omit<React.ComponentPropsWithoutRef<"span">, "children"> {
|
|
46
34
|
/** The complete AI SDK source part. It is consumed directly without normalization. */
|
|
47
35
|
source: SourceUrlUIPart | SourceDocumentUIPart;
|
|
48
36
|
/** Optional presentation-owned citation number. It is not part of the source model. */
|
|
@@ -53,14 +41,7 @@ interface InlineCitationSourceProps extends Omit<React.ComponentPropsWithoutRef<
|
|
|
53
41
|
* URL sources use a safe external link and PreviewCard. Document sources have
|
|
54
42
|
* no URL, so they use a Popover button and never fabricate a download target.
|
|
55
43
|
*/
|
|
56
|
-
declare function InlineCitationSource({
|
|
57
|
-
source,
|
|
58
|
-
index,
|
|
59
|
-
className,
|
|
60
|
-
ref,
|
|
61
|
-
...props
|
|
62
|
-
}: InlineCitationSourceProps & {
|
|
44
|
+
export declare function InlineCitationSource({ source, index, className, ref, ...props }: InlineCitationSourceProps & {
|
|
63
45
|
ref?: React.Ref<HTMLSpanElement>;
|
|
64
46
|
}): React.JSX.Element;
|
|
65
|
-
//#endregion
|
|
66
|
-
export { InlineCitation, InlineCitationCard, InlineCitationCardProps, InlineCitationProps, InlineCitationSource, InlineCitationSourceProps, InlineCitationText, InlineCitationTextProps };
|
|
47
|
+
//#endregion
|
|
@@ -102,14 +102,15 @@ function InlineCitationSource({ source, index, className, ref, ...props }) {
|
|
|
102
102
|
}
|
|
103
103
|
function CitationDetails({ source, titlePart }) {
|
|
104
104
|
const title = source.title || defaultLabel(source);
|
|
105
|
+
const titleNode = titlePart ? /* @__PURE__ */ jsx(Popover.Title, {
|
|
106
|
+
className: "inline-citation__title sigvelo-truncate",
|
|
107
|
+
children: title
|
|
108
|
+
}) : /* @__PURE__ */ jsx("strong", {
|
|
109
|
+
className: "inline-citation__title sigvelo-truncate",
|
|
110
|
+
children: title
|
|
111
|
+
});
|
|
105
112
|
return /* @__PURE__ */ jsxs(InlineCitationCard, { children: [
|
|
106
|
-
|
|
107
|
-
className: "inline-citation__title sigvelo-truncate",
|
|
108
|
-
children: title
|
|
109
|
-
}) : /* @__PURE__ */ jsx("strong", {
|
|
110
|
-
className: "inline-citation__title sigvelo-truncate",
|
|
111
|
-
children: title
|
|
112
|
-
}),
|
|
113
|
+
titleNode,
|
|
113
114
|
source.type === "source-url" ? /* @__PURE__ */ jsx("span", {
|
|
114
115
|
className: "inline-citation__location",
|
|
115
116
|
children: source.url
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { CardProps } from "../foundations/Card.js";
|
|
2
2
|
import * as React from "react";
|
|
3
|
-
|
|
4
3
|
//#region src/components/ai-sdk/MediaPreviewCard.d.ts
|
|
5
|
-
interface MediaPreviewCardProps extends Omit<CardProps, "hover"> {}
|
|
4
|
+
export interface MediaPreviewCardProps extends Omit<CardProps, "hover"> {}
|
|
6
5
|
/**
|
|
7
6
|
* A media-led card that plays its decorative preview only while a mouse is
|
|
8
7
|
* hovering the card or keyboard focus is within it. The preview pauses and
|
|
@@ -13,20 +12,12 @@ interface MediaPreviewCardProps extends Omit<CardProps, "hover"> {}
|
|
|
13
12
|
* Card content inside this root so the entire composition keeps native link
|
|
14
13
|
* semantics.
|
|
15
14
|
*/
|
|
16
|
-
declare function MediaPreviewCard({
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
onBlurCapture,
|
|
20
|
-
onFocusCapture,
|
|
21
|
-
onPointerEnter,
|
|
22
|
-
onPointerLeave,
|
|
23
|
-
ref,
|
|
24
|
-
...props
|
|
25
|
-
}: MediaPreviewCardProps & {
|
|
26
|
-
/** Ref forwarded to the component's rendered root element. */ref?: React.Ref<HTMLDivElement>;
|
|
15
|
+
export declare function MediaPreviewCard({ children, className, onBlurCapture, onFocusCapture, onPointerEnter, onPointerLeave, ref, ...props }: MediaPreviewCardProps & {
|
|
16
|
+
/** Ref forwarded to the component's rendered root element. */
|
|
17
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
27
18
|
}): React.JSX.Element;
|
|
28
19
|
type FixedVideoProps = "autoPlay" | "controls" | "loop" | "muted" | "playsInline" | "preload";
|
|
29
|
-
interface MediaPreviewCardVideoProps extends Omit<React.VideoHTMLAttributes<HTMLVideoElement>, FixedVideoProps> {
|
|
20
|
+
export interface MediaPreviewCardVideoProps extends Omit<React.VideoHTMLAttributes<HTMLVideoElement>, FixedVideoProps> {
|
|
30
21
|
/** Lightweight still frame displayed until the user shows intent. */
|
|
31
22
|
poster: string;
|
|
32
23
|
/** Intrinsic media width used to reserve layout space. */
|
|
@@ -39,65 +30,36 @@ interface MediaPreviewCardVideoProps extends Omit<React.VideoHTMLAttributes<HTML
|
|
|
39
30
|
* children allow callers to provide WebM followed by MP4 without the design
|
|
40
31
|
* system owning storage or URLs.
|
|
41
32
|
*/
|
|
42
|
-
declare function MediaPreviewCardVideo({
|
|
43
|
-
children,
|
|
44
|
-
className,
|
|
45
|
-
height,
|
|
46
|
-
onEnded,
|
|
47
|
-
onPause,
|
|
48
|
-
onPlaying,
|
|
49
|
-
poster,
|
|
50
|
-
ref,
|
|
51
|
-
style,
|
|
52
|
-
width,
|
|
53
|
-
...props
|
|
54
|
-
}: MediaPreviewCardVideoProps & {
|
|
33
|
+
export declare function MediaPreviewCardVideo({ children, className, height, onEnded, onPause, onPlaying, poster, ref, style, width, ...props }: MediaPreviewCardVideoProps & {
|
|
55
34
|
ref?: React.Ref<HTMLVideoElement>;
|
|
56
35
|
}): React.JSX.Element;
|
|
57
|
-
interface MediaPreviewCardActionsProps extends React.HTMLAttributes<HTMLDivElement> {}
|
|
36
|
+
export interface MediaPreviewCardActionsProps extends React.HTMLAttributes<HTMLDivElement> {}
|
|
58
37
|
/**
|
|
59
38
|
* Positions sibling controls above the preview without nesting them inside the
|
|
60
39
|
* card's primary link. Use this slot for compact secondary actions such as a
|
|
61
40
|
* menu trigger; the consumer remains responsible for each control's behavior
|
|
62
41
|
* and accessible name.
|
|
63
42
|
*/
|
|
64
|
-
declare function MediaPreviewCardActions({
|
|
65
|
-
className,
|
|
66
|
-
ref,
|
|
67
|
-
...props
|
|
68
|
-
}: MediaPreviewCardActionsProps & {
|
|
43
|
+
export declare function MediaPreviewCardActions({ className, ref, ...props }: MediaPreviewCardActionsProps & {
|
|
69
44
|
ref?: React.Ref<HTMLDivElement>;
|
|
70
45
|
}): React.JSX.Element;
|
|
71
|
-
interface MediaPreviewCardPlaceholderProps extends React.HTMLAttributes<HTMLDivElement> {}
|
|
46
|
+
export interface MediaPreviewCardPlaceholderProps extends React.HTMLAttributes<HTMLDivElement> {}
|
|
72
47
|
/**
|
|
73
48
|
* Reserves the same frame as preview media when a card has no poster or video.
|
|
74
49
|
* Keep any explanatory copy visually hidden so the quiet fallback remains
|
|
75
50
|
* useful without competing with the card title.
|
|
76
51
|
*/
|
|
77
|
-
declare function MediaPreviewCardPlaceholder({
|
|
78
|
-
className,
|
|
79
|
-
ref,
|
|
80
|
-
...props
|
|
81
|
-
}: MediaPreviewCardPlaceholderProps & {
|
|
52
|
+
export declare function MediaPreviewCardPlaceholder({ className, ref, ...props }: MediaPreviewCardPlaceholderProps & {
|
|
82
53
|
ref?: React.Ref<HTMLDivElement>;
|
|
83
54
|
}): React.JSX.Element;
|
|
84
|
-
interface MediaPreviewCardMetaProps extends React.HTMLAttributes<HTMLDivElement> {}
|
|
55
|
+
export interface MediaPreviewCardMetaProps extends React.HTMLAttributes<HTMLDivElement> {}
|
|
85
56
|
/** Compact facts shown immediately below a preview. */
|
|
86
|
-
declare function MediaPreviewCardMeta({
|
|
87
|
-
className,
|
|
88
|
-
ref,
|
|
89
|
-
...props
|
|
90
|
-
}: MediaPreviewCardMetaProps & {
|
|
57
|
+
export declare function MediaPreviewCardMeta({ className, ref, ...props }: MediaPreviewCardMetaProps & {
|
|
91
58
|
ref?: React.Ref<HTMLDivElement>;
|
|
92
59
|
}): React.JSX.Element;
|
|
93
|
-
interface MediaPreviewCardFactProps extends React.HTMLAttributes<HTMLSpanElement> {}
|
|
60
|
+
export interface MediaPreviewCardFactProps extends React.HTMLAttributes<HTMLSpanElement> {}
|
|
94
61
|
/** A single icon-led fact inside MediaPreviewCardMeta. */
|
|
95
|
-
declare function MediaPreviewCardFact({
|
|
96
|
-
className,
|
|
97
|
-
ref,
|
|
98
|
-
...props
|
|
99
|
-
}: MediaPreviewCardFactProps & {
|
|
62
|
+
export declare function MediaPreviewCardFact({ className, ref, ...props }: MediaPreviewCardFactProps & {
|
|
100
63
|
ref?: React.Ref<HTMLSpanElement>;
|
|
101
64
|
}): React.JSX.Element;
|
|
102
|
-
//#endregion
|
|
103
|
-
export { MediaPreviewCard, MediaPreviewCardActions, MediaPreviewCardActionsProps, MediaPreviewCardFact, MediaPreviewCardFactProps, MediaPreviewCardMeta, MediaPreviewCardMetaProps, MediaPreviewCardPlaceholder, MediaPreviewCardPlaceholderProps, MediaPreviewCardProps, MediaPreviewCardVideo, MediaPreviewCardVideoProps };
|
|
65
|
+
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { z as PlayIcon } from "../../icons-
|
|
2
|
+
import { z as PlayIcon } from "../../icons-CeGfXO21.js";
|
|
3
3
|
import { n as mergeRefs } from "../../merge-refs-DF_7w2x_.js";
|
|
4
4
|
import { Card } from "../foundations/Card.js";
|
|
5
5
|
import * as React from "react";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as MessageTimestamp, C as MessageCopyActionProps, D as MessageResponse, E as MessageProps, M as MessageToolbar, N as MessageToolbarProps, O as MessageResponseProps, S as MessageCopyAction, T as MessageMetaProps, _ as MessageBranchProps, a as MessageActionsProps, b as MessageContent, c as MessageBranch, d as MessageBranchNext, f as MessageBranchNextProps, g as MessageBranchPreviousProps, h as MessageBranchPrevious, i as MessageActions, j as MessageTimestampProps, k as MessageRole, l as MessageBranchContent, m as MessageBranchPageProps, n as MessageAction, o as MessageAttachment, p as MessageBranchPage, r as MessageActionProps, s as MessageAttachmentProps, t as Message, u as MessageBranchContentProps, v as MessageBranchSelector, w as MessageMeta, x as MessageContentProps, y as MessageBranchSelectorProps } from "../../Message-
|
|
1
|
+
import { A as MessageTimestamp, C as MessageCopyActionProps, D as MessageResponse, E as MessageProps, M as MessageToolbar, N as MessageToolbarProps, O as MessageResponseProps, S as MessageCopyAction, T as MessageMetaProps, _ as MessageBranchProps, a as MessageActionsProps, b as MessageContent, c as MessageBranch, d as MessageBranchNext, f as MessageBranchNextProps, g as MessageBranchPreviousProps, h as MessageBranchPrevious, i as MessageActions, j as MessageTimestampProps, k as MessageRole, l as MessageBranchContent, m as MessageBranchPageProps, n as MessageAction, o as MessageAttachment, p as MessageBranchPage, r as MessageActionProps, s as MessageAttachmentProps, t as Message, u as MessageBranchContentProps, v as MessageBranchSelector, w as MessageMeta, x as MessageContentProps, y as MessageBranchSelectorProps } from "../../Message-CwCqa90H.js";
|
|
2
2
|
export { Message, MessageAction, MessageActionProps, MessageActions, MessageActionsProps, MessageAttachment, MessageAttachmentProps, MessageBranch, MessageBranchContent, MessageBranchContentProps, MessageBranchNext, MessageBranchNextProps, MessageBranchPage, MessageBranchPageProps, MessageBranchPrevious, MessageBranchPreviousProps, MessageBranchProps, MessageBranchSelector, MessageBranchSelectorProps, MessageContent, MessageContentProps, MessageCopyAction, MessageCopyActionProps, MessageMeta, MessageMetaProps, MessageProps, MessageResponse, MessageResponseProps, MessageRole, MessageTimestamp, MessageTimestampProps, MessageToolbar, MessageToolbarProps };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { parseComposerHref } from "../../utils/composer-link.js";
|
|
2
2
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
3
|
-
import { S as FileIcon, i as ArrowRightIcon, r as ArrowLeftIcon } from "../../icons-
|
|
3
|
+
import { S as FileIcon, i as ArrowRightIcon, r as ArrowLeftIcon } from "../../icons-CeGfXO21.js";
|
|
4
4
|
import { Button } from "../foundations/Button.js";
|
|
5
5
|
import { IconButton } from "../foundations/IconButton.js";
|
|
6
|
-
import { t as CopyButton } from "../../copy-button-CSDuDfdP.js";
|
|
7
6
|
import { t as AttachmentPreview } from "../../attachment-preview-1CXJvrmb.js";
|
|
8
|
-
import { n as clamp } from "../../format-
|
|
7
|
+
import { n as clamp } from "../../format-CWaZEp5o.js";
|
|
9
8
|
import { ComposerLink } from "./ComposerLink.js";
|
|
9
|
+
import { t as CopyButton } from "../../copy-button-Dk2vRe9j.js";
|
|
10
10
|
import * as React from "react";
|
|
11
11
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
12
12
|
import { cjk } from "@streamdown/cjk";
|
|
@@ -1,57 +1,29 @@
|
|
|
1
|
-
import { r as ButtonProps } from "../../Button-
|
|
1
|
+
import { r as ButtonProps } from "../../Button-ClRxb8tM.js";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
import { MessageScroller as MessageScroller$1, useMessageScroller, useMessageScrollerScrollable, useMessageScrollerVisibility } from "@shadcn/react/message-scroller";
|
|
4
|
-
|
|
5
4
|
//#region src/components/ai-sdk/MessageScroller.d.ts
|
|
6
|
-
type MessageScrollerProviderProps = React.ComponentProps<typeof MessageScroller$1.Provider>;
|
|
7
|
-
interface MessageScrollerProps extends React.ComponentProps<typeof MessageScroller$1.Root> {
|
|
5
|
+
export type MessageScrollerProviderProps = React.ComponentProps<typeof MessageScroller$1.Provider>;
|
|
6
|
+
export interface MessageScrollerProps extends React.ComponentProps<typeof MessageScroller$1.Root> {
|
|
8
7
|
/** Extra class names merged onto the scroll container. */
|
|
9
8
|
className?: string;
|
|
10
9
|
}
|
|
11
|
-
type MessageScrollerViewportProps = React.ComponentProps<typeof MessageScroller$1.Viewport>;
|
|
12
|
-
type MessageScrollerContentProps = React.ComponentProps<typeof MessageScroller$1.Content>;
|
|
13
|
-
type MessageScrollerItemProps = React.ComponentProps<typeof MessageScroller$1.Item>;
|
|
14
|
-
declare function MessageScrollerProvider(props: MessageScrollerProviderProps): React.JSX.Element;
|
|
10
|
+
export type MessageScrollerViewportProps = React.ComponentProps<typeof MessageScroller$1.Viewport>;
|
|
11
|
+
export type MessageScrollerContentProps = React.ComponentProps<typeof MessageScroller$1.Content>;
|
|
12
|
+
export type MessageScrollerItemProps = React.ComponentProps<typeof MessageScroller$1.Item>;
|
|
13
|
+
export declare function MessageScrollerProvider(props: MessageScrollerProviderProps): React.JSX.Element;
|
|
15
14
|
/**
|
|
16
15
|
* Scroll container for chat transcripts, wrapping shadcn's message scroller
|
|
17
16
|
* primitive with design-system classes.
|
|
18
17
|
*/
|
|
19
|
-
declare function MessageScroller({
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
}:
|
|
23
|
-
|
|
24
|
-
"aria-label": ariaLabel,
|
|
25
|
-
className,
|
|
26
|
-
role,
|
|
27
|
-
tabIndex,
|
|
28
|
-
...props
|
|
29
|
-
}: MessageScrollerViewportProps): React.JSX.Element;
|
|
30
|
-
declare function MessageScrollerContent({
|
|
31
|
-
"aria-relevant": ariaRelevant,
|
|
32
|
-
className,
|
|
33
|
-
role,
|
|
34
|
-
...props
|
|
35
|
-
}: MessageScrollerContentProps): React.JSX.Element;
|
|
36
|
-
declare function MessageScrollerItem({
|
|
37
|
-
className,
|
|
38
|
-
scrollAnchor,
|
|
39
|
-
...props
|
|
40
|
-
}: MessageScrollerItemProps): React.JSX.Element;
|
|
41
|
-
interface MessageScrollerButtonProps extends Omit<React.ComponentProps<typeof MessageScroller$1.Button>, "children" | "color" | "render">, Pick<ButtonProps, "color" | "size" | "variant"> {
|
|
18
|
+
export declare function MessageScroller({ className, ...props }: MessageScrollerProps): React.JSX.Element;
|
|
19
|
+
export declare function MessageScrollerViewport({ "aria-label": ariaLabel, className, role, tabIndex, ...props }: MessageScrollerViewportProps): React.JSX.Element;
|
|
20
|
+
export declare function MessageScrollerContent({ "aria-relevant": ariaRelevant, className, role, ...props }: MessageScrollerContentProps): React.JSX.Element;
|
|
21
|
+
export declare function MessageScrollerItem({ className, scrollAnchor, ...props }: MessageScrollerItemProps): React.JSX.Element;
|
|
22
|
+
export interface MessageScrollerButtonProps extends Omit<React.ComponentProps<typeof MessageScroller$1.Button>, "children" | "color" | "render">, Pick<ButtonProps, "color" | "size" | "variant"> {
|
|
42
23
|
className?: string;
|
|
43
24
|
children?: React.ReactNode;
|
|
44
25
|
render?: React.ComponentProps<typeof MessageScroller$1.Button>["render"];
|
|
45
26
|
}
|
|
46
|
-
declare function MessageScrollerButton({
|
|
47
|
-
className,
|
|
48
|
-
children,
|
|
49
|
-
color,
|
|
50
|
-
direction,
|
|
51
|
-
render,
|
|
52
|
-
size,
|
|
53
|
-
variant,
|
|
54
|
-
...props
|
|
55
|
-
}: MessageScrollerButtonProps): React.JSX.Element;
|
|
27
|
+
export declare function MessageScrollerButton({ className, children, color, direction, render, size, variant, ...props }: MessageScrollerButtonProps): React.JSX.Element;
|
|
56
28
|
//#endregion
|
|
57
|
-
export {
|
|
29
|
+
export { useMessageScroller, useMessageScrollerScrollable, useMessageScrollerVisibility };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { n as ArrowDownIcon } from "../../icons-
|
|
2
|
+
import { n as ArrowDownIcon } from "../../icons-CeGfXO21.js";
|
|
3
3
|
import { Button } from "../foundations/Button.js";
|
|
4
4
|
import { t as messageScrollerContract } from "../../message-scroller-C8cplcQO.js";
|
|
5
5
|
import "react";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as VirtualMessageScroller, r as VirtualMessageScrollerProps, t as VirtualMessageScrollAnchor } from "../../MessageScrollerVirtual-
|
|
1
|
+
import { n as VirtualMessageScroller, r as VirtualMessageScrollerProps, t as VirtualMessageScrollAnchor } from "../../MessageScrollerVirtual-DVQeEkNy.js";
|
|
2
2
|
export { VirtualMessageScrollAnchor, VirtualMessageScroller, VirtualMessageScrollerProps };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { n as ArrowDownIcon } from "../../icons-
|
|
2
|
+
import { n as ArrowDownIcon } from "../../icons-CeGfXO21.js";
|
|
3
3
|
import { Button } from "../foundations/Button.js";
|
|
4
4
|
import { t as messageScrollerContract } from "../../message-scroller-C8cplcQO.js";
|
|
5
5
|
import * as React from "react";
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { l as PopoverPositionerProps, u as PopoverProps } from "../../Popover-
|
|
1
|
+
import { l as PopoverPositionerProps, u as PopoverProps } from "../../Popover-BtAR4Tn8.js";
|
|
2
2
|
import * as React from "react";
|
|
3
|
-
|
|
4
3
|
//#region src/components/ai-sdk/Plan.d.ts
|
|
5
4
|
/** Presentation state for an application-owned plan step. */
|
|
6
|
-
type PlanStepStatus = "pending" | "active" | "complete";
|
|
7
|
-
interface PlanProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
5
|
+
export type PlanStepStatus = "pending" | "active" | "complete";
|
|
6
|
+
export interface PlanProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
8
7
|
/** Plan header and ordered steps composed from application-owned plan data. */
|
|
9
8
|
children?: React.ReactNode;
|
|
10
9
|
}
|
|
@@ -14,92 +13,53 @@ interface PlanProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
14
13
|
* Think, Agents, and the AI SDK do not export a generic plan model. Map a
|
|
15
14
|
* concrete app or tool result directly into this compositional anatomy.
|
|
16
15
|
*/
|
|
17
|
-
declare function Plan({
|
|
18
|
-
|
|
19
|
-
ref
|
|
20
|
-
...props
|
|
21
|
-
}: PlanProps & {
|
|
22
|
-
/** Ref forwarded to the component's rendered root element. */ref?: React.Ref<HTMLDivElement>;
|
|
16
|
+
export declare function Plan({ className, ref, ...props }: PlanProps & {
|
|
17
|
+
/** Ref forwarded to the component's rendered root element. */
|
|
18
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
23
19
|
}): React.JSX.Element;
|
|
24
|
-
interface PlanHeaderProps extends React.HTMLAttributes<HTMLDivElement> {}
|
|
25
|
-
declare function PlanHeader({
|
|
26
|
-
className,
|
|
27
|
-
ref,
|
|
28
|
-
...props
|
|
29
|
-
}: PlanHeaderProps & {
|
|
20
|
+
export interface PlanHeaderProps extends React.HTMLAttributes<HTMLDivElement> {}
|
|
21
|
+
export declare function PlanHeader({ className, ref, ...props }: PlanHeaderProps & {
|
|
30
22
|
ref?: React.Ref<HTMLDivElement>;
|
|
31
23
|
}): React.JSX.Element;
|
|
32
|
-
interface PlanTitleProps extends React.HTMLAttributes<HTMLHeadingElement> {
|
|
24
|
+
export interface PlanTitleProps extends React.HTMLAttributes<HTMLHeadingElement> {
|
|
33
25
|
/** Choose the level that fits the surrounding document outline. */
|
|
34
26
|
headingLevel?: 2 | 3 | 4 | 5 | 6;
|
|
35
27
|
}
|
|
36
|
-
declare function PlanTitle({
|
|
37
|
-
className,
|
|
38
|
-
headingLevel,
|
|
39
|
-
ref,
|
|
40
|
-
...props
|
|
41
|
-
}: PlanTitleProps & {
|
|
28
|
+
export declare function PlanTitle({ className, headingLevel, ref, ...props }: PlanTitleProps & {
|
|
42
29
|
ref?: React.Ref<HTMLHeadingElement>;
|
|
43
30
|
}): React.JSX.Element;
|
|
44
|
-
interface PlanDescriptionProps extends React.HTMLAttributes<HTMLParagraphElement> {}
|
|
45
|
-
declare function PlanDescription({
|
|
46
|
-
className,
|
|
47
|
-
ref,
|
|
48
|
-
...props
|
|
49
|
-
}: PlanDescriptionProps & {
|
|
31
|
+
export interface PlanDescriptionProps extends React.HTMLAttributes<HTMLParagraphElement> {}
|
|
32
|
+
export declare function PlanDescription({ className, ref, ...props }: PlanDescriptionProps & {
|
|
50
33
|
ref?: React.Ref<HTMLParagraphElement>;
|
|
51
34
|
}): React.JSX.Element;
|
|
52
|
-
interface PlanContentProps extends React.OlHTMLAttributes<HTMLOListElement> {}
|
|
35
|
+
export interface PlanContentProps extends React.OlHTMLAttributes<HTMLOListElement> {}
|
|
53
36
|
/** Ordered sequence of PlanStep children. */
|
|
54
|
-
declare function PlanContent({
|
|
55
|
-
className,
|
|
56
|
-
ref,
|
|
57
|
-
...props
|
|
58
|
-
}: PlanContentProps & {
|
|
37
|
+
export declare function PlanContent({ className, ref, ...props }: PlanContentProps & {
|
|
59
38
|
ref?: React.Ref<HTMLOListElement>;
|
|
60
39
|
}): React.JSX.Element;
|
|
61
|
-
interface PlanStepProps extends React.LiHTMLAttributes<HTMLLIElement> {
|
|
40
|
+
export interface PlanStepProps extends React.LiHTMLAttributes<HTMLLIElement> {
|
|
62
41
|
/** Visual presentation state; this is not a Think or AI SDK execution status. */
|
|
63
42
|
status?: PlanStepStatus;
|
|
64
43
|
}
|
|
65
|
-
declare function PlanStep({
|
|
66
|
-
className,
|
|
67
|
-
status,
|
|
68
|
-
ref,
|
|
69
|
-
...props
|
|
70
|
-
}: PlanStepProps & {
|
|
44
|
+
export declare function PlanStep({ className, status, ref, ...props }: PlanStepProps & {
|
|
71
45
|
ref?: React.Ref<HTMLLIElement>;
|
|
72
46
|
}): React.JSX.Element;
|
|
73
|
-
interface PlanStepIndicatorProps extends React.HTMLAttributes<HTMLSpanElement> {
|
|
47
|
+
export interface PlanStepIndicatorProps extends React.HTMLAttributes<HTMLSpanElement> {
|
|
74
48
|
/** Accessible label for the visual state indicator. */
|
|
75
49
|
label?: string;
|
|
76
50
|
}
|
|
77
|
-
declare function PlanStepIndicator({
|
|
78
|
-
children,
|
|
79
|
-
className,
|
|
80
|
-
label,
|
|
81
|
-
ref,
|
|
82
|
-
...props
|
|
83
|
-
}: PlanStepIndicatorProps & {
|
|
51
|
+
export declare function PlanStepIndicator({ children, className, label, ref, ...props }: PlanStepIndicatorProps & {
|
|
84
52
|
ref?: React.Ref<HTMLSpanElement>;
|
|
85
53
|
}): React.JSX.Element;
|
|
86
|
-
interface PlanStepTitleProps extends React.HTMLAttributes<HTMLDivElement> {}
|
|
87
|
-
declare function PlanStepTitle({
|
|
88
|
-
className,
|
|
89
|
-
ref,
|
|
90
|
-
...props
|
|
91
|
-
}: PlanStepTitleProps & {
|
|
54
|
+
export interface PlanStepTitleProps extends React.HTMLAttributes<HTMLDivElement> {}
|
|
55
|
+
export declare function PlanStepTitle({ className, ref, ...props }: PlanStepTitleProps & {
|
|
92
56
|
ref?: React.Ref<HTMLDivElement>;
|
|
93
57
|
}): React.JSX.Element;
|
|
94
|
-
interface PlanStepDescriptionProps extends React.HTMLAttributes<HTMLParagraphElement> {}
|
|
95
|
-
declare function PlanStepDescription({
|
|
96
|
-
className,
|
|
97
|
-
ref,
|
|
98
|
-
...props
|
|
99
|
-
}: PlanStepDescriptionProps & {
|
|
58
|
+
export interface PlanStepDescriptionProps extends React.HTMLAttributes<HTMLParagraphElement> {}
|
|
59
|
+
export declare function PlanStepDescription({ className, ref, ...props }: PlanStepDescriptionProps & {
|
|
100
60
|
ref?: React.Ref<HTMLParagraphElement>;
|
|
101
61
|
}): React.JSX.Element;
|
|
102
|
-
interface PlanSummaryProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
62
|
+
export interface PlanSummaryProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
103
63
|
/** Steps whose status is complete. */
|
|
104
64
|
completed: number;
|
|
105
65
|
/** Total number of plan steps. */
|
|
@@ -124,56 +84,33 @@ interface PlanSummaryProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
124
84
|
* </PlanSummary>
|
|
125
85
|
* ```
|
|
126
86
|
*/
|
|
127
|
-
declare function PlanSummary({
|
|
128
|
-
className,
|
|
129
|
-
completed,
|
|
130
|
-
total,
|
|
131
|
-
open,
|
|
132
|
-
defaultOpen,
|
|
133
|
-
onOpenChange,
|
|
134
|
-
children,
|
|
135
|
-
ref,
|
|
136
|
-
...props
|
|
137
|
-
}: PlanSummaryProps & {
|
|
87
|
+
export declare function PlanSummary({ className, completed, total, open, defaultOpen, onOpenChange, children, ref, ...props }: PlanSummaryProps & {
|
|
138
88
|
ref?: React.Ref<HTMLDivElement>;
|
|
139
89
|
}): React.JSX.Element;
|
|
140
|
-
interface PlanSummaryTriggerProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {}
|
|
90
|
+
export interface PlanSummaryTriggerProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {}
|
|
141
91
|
/**
|
|
142
92
|
* The progress pill. Default content is a fraction ring plus
|
|
143
93
|
* "Step {current} / {total}" where the current step is the one after the
|
|
144
94
|
* completed ones; children replace the label while keeping the ring.
|
|
145
95
|
*/
|
|
146
|
-
declare function PlanSummaryTrigger({
|
|
147
|
-
|
|
148
|
-
children,
|
|
149
|
-
...props
|
|
150
|
-
}: PlanSummaryTriggerProps): React.JSX.Element;
|
|
151
|
-
interface PlanSummaryContentProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
96
|
+
export declare function PlanSummaryTrigger({ className, children, ...props }: PlanSummaryTriggerProps): React.JSX.Element;
|
|
97
|
+
export interface PlanSummaryContentProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
152
98
|
/** The pill usually sits above a composer, so default "top". */
|
|
153
99
|
side?: PopoverPositionerProps["side"];
|
|
154
100
|
}
|
|
155
|
-
declare function PlanSummaryContent({
|
|
156
|
-
|
|
157
|
-
side,
|
|
158
|
-
children,
|
|
159
|
-
...props
|
|
160
|
-
}: PlanSummaryContentProps): React.JSX.Element;
|
|
161
|
-
interface PlanSummaryStep {
|
|
101
|
+
export declare function PlanSummaryContent({ className, side, children, ...props }: PlanSummaryContentProps): React.JSX.Element;
|
|
102
|
+
export interface PlanSummaryStep {
|
|
162
103
|
/** Stable identity retained when the host replaces or reorders the plan. */
|
|
163
104
|
id: React.Key;
|
|
164
105
|
step: React.ReactNode;
|
|
165
106
|
status: PlanStepStatus;
|
|
166
107
|
}
|
|
167
|
-
interface PlanSummaryListProps {
|
|
108
|
+
export interface PlanSummaryListProps {
|
|
168
109
|
/** Complete normalized plan state from the host. */
|
|
169
110
|
steps: readonly PlanSummaryStep[];
|
|
170
111
|
/** The pill usually sits above a composer, so default "top". */
|
|
171
112
|
side?: PlanSummaryContentProps["side"];
|
|
172
113
|
}
|
|
173
114
|
/** Data-only convenience renderer for hosts that already own normalized plan rows. */
|
|
174
|
-
declare function PlanSummaryList({
|
|
175
|
-
|
|
176
|
-
side
|
|
177
|
-
}: PlanSummaryListProps): React.JSX.Element | null;
|
|
178
|
-
//#endregion
|
|
179
|
-
export { Plan, PlanContent, PlanContentProps, PlanDescription, PlanDescriptionProps, PlanHeader, PlanHeaderProps, PlanProps, PlanStep, PlanStepDescription, PlanStepDescriptionProps, PlanStepIndicator, PlanStepIndicatorProps, PlanStepProps, PlanStepStatus, PlanStepTitle, PlanStepTitleProps, PlanSummary, PlanSummaryContent, PlanSummaryContentProps, PlanSummaryList, PlanSummaryListProps, PlanSummaryProps, PlanSummaryStep, PlanSummaryTrigger, PlanSummaryTriggerProps, PlanTitle, PlanTitleProps };
|
|
115
|
+
export declare function PlanSummaryList({ steps, side }: PlanSummaryListProps): React.JSX.Element | null;
|
|
116
|
+
//#endregion
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { _ as DotIcon, d as CheckIcon, i as ArrowRightIcon } from "../../icons-
|
|
2
|
+
import { _ as DotIcon, d as CheckIcon, i as ArrowRightIcon } from "../../icons-CeGfXO21.js";
|
|
3
3
|
import { Popover } from "../foundations/Popover.js";
|
|
4
|
-
import { t as ProgressRing } from "../../progress-ring-
|
|
4
|
+
import { t as ProgressRing } from "../../progress-ring-L2bbF0ji.js";
|
|
5
5
|
import * as React from "react";
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
//#region src/components/ai-sdk/Plan.tsx
|
|
@@ -30,7 +30,8 @@ function PlanHeader({ className, ref, ...props }) {
|
|
|
30
30
|
});
|
|
31
31
|
}
|
|
32
32
|
function PlanTitle({ className, headingLevel = 3, ref, ...props }) {
|
|
33
|
-
|
|
33
|
+
const Heading = `h${headingLevel}`;
|
|
34
|
+
return /* @__PURE__ */ jsx(Heading, {
|
|
34
35
|
ref,
|
|
35
36
|
"data-slot": "plan-title",
|
|
36
37
|
className: cx("plan__title", className),
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as PromptInputProviderProps, A as PromptInputContextItem, B as PromptInputHeader, C as PromptInputButtonProps, Ct as composerLinksToReferences, D as PromptInputCommandDefinition, E as PromptInputCommandComposerProps, F as PromptInputDictationProps, G as PromptInputHoverCardProps, H as PromptInputHoverCard, I as PromptInputFooter, J as PromptInputMessage, K as PromptInputHoverCardTrigger, L as PromptInputFooterEnd, M as PromptInputContextSelectorProps, N as PromptInputControllerProps, O as PromptInputCommandTrigger, P as PromptInputDictation, Q as PromptInputProvider, R as PromptInputFooterEndProps, S as PromptInputButton, St as TooltipSide, T as PromptInputCommandComposer, Tt as usePromptInputController, U as PromptInputHoverCardContent, V as PromptInputHeaderProps, W as PromptInputHoverCardContentProps, X as PromptInputPermissionSelectorProps, Y as PromptInputPermissionSelector, Z as PromptInputProps, _ as PromptInputAttachmentProps, _t as PromptInputTooltipConfig, a as PromptInputActionAddAttachmentsProps, at as PromptInputTabBodyProps, b as PromptInputBody, bt as PromptInputVoiceInput, c as PromptInputActionMenu, ct as PromptInputTabLabel, d as PromptInputActionMenuItem, dt as PromptInputTabsList, et as PromptInputReference, f as PromptInputActionMenuItemProps, ft as PromptInputTabsListProps, g as PromptInputAttachment, gt as PromptInputToolsProps, h as PromptInputActionMenuTriggerProps, ht as PromptInputTools, i as PromptInputActionAddAttachments, it as PromptInputTabBody, j as PromptInputContextSelector, k as PromptInputContextAction, l as PromptInputActionMenuContent, lt as PromptInputTabLabelProps, m as PromptInputActionMenuTrigger, mt as PromptInputTextareaProps, n as PermissionMode, nt as PromptInputSubmitProps, o as PromptInputActionAddScreenshot, ot as PromptInputTabItem, p as PromptInputActionMenuProps, pt as PromptInputTextarea, q as PromptInputHoverCardTriggerProps, r as PromptInput, rt as PromptInputTab, s as PromptInputActionAddScreenshotProps, st as PromptInputTabItemProps, t as AttachmentsContext, tt as PromptInputSubmit, u as PromptInputActionMenuContentProps, ut as PromptInputTabProps, v as PromptInputAttachments, vt as PromptInputTray, w as PromptInputButtonTooltip, wt as usePromptInputAttachments, x as PromptInputBodyProps, xt as TextInputContext, y as PromptInputAttachmentsProps, yt as PromptInputTrayProps, z as PromptInputFooterProps } from "../../PromptInput-
|
|
1
|
+
import { $ as PromptInputProviderProps, A as PromptInputContextItem, B as PromptInputHeader, C as PromptInputButtonProps, Ct as composerLinksToReferences, D as PromptInputCommandDefinition, E as PromptInputCommandComposerProps, F as PromptInputDictationProps, G as PromptInputHoverCardProps, H as PromptInputHoverCard, I as PromptInputFooter, J as PromptInputMessage, K as PromptInputHoverCardTrigger, L as PromptInputFooterEnd, M as PromptInputContextSelectorProps, N as PromptInputControllerProps, O as PromptInputCommandTrigger, P as PromptInputDictation, Q as PromptInputProvider, R as PromptInputFooterEndProps, S as PromptInputButton, St as TooltipSide, T as PromptInputCommandComposer, Tt as usePromptInputController, U as PromptInputHoverCardContent, V as PromptInputHeaderProps, W as PromptInputHoverCardContentProps, X as PromptInputPermissionSelectorProps, Y as PromptInputPermissionSelector, Z as PromptInputProps, _ as PromptInputAttachmentProps, _t as PromptInputTooltipConfig, a as PromptInputActionAddAttachmentsProps, at as PromptInputTabBodyProps, b as PromptInputBody, bt as PromptInputVoiceInput, c as PromptInputActionMenu, ct as PromptInputTabLabel, d as PromptInputActionMenuItem, dt as PromptInputTabsList, et as PromptInputReference, f as PromptInputActionMenuItemProps, ft as PromptInputTabsListProps, g as PromptInputAttachment, gt as PromptInputToolsProps, h as PromptInputActionMenuTriggerProps, ht as PromptInputTools, i as PromptInputActionAddAttachments, it as PromptInputTabBody, j as PromptInputContextSelector, k as PromptInputContextAction, l as PromptInputActionMenuContent, lt as PromptInputTabLabelProps, m as PromptInputActionMenuTrigger, mt as PromptInputTextareaProps, n as PermissionMode, nt as PromptInputSubmitProps, o as PromptInputActionAddScreenshot, ot as PromptInputTabItem, p as PromptInputActionMenuProps, pt as PromptInputTextarea, q as PromptInputHoverCardTriggerProps, r as PromptInput, rt as PromptInputTab, s as PromptInputActionAddScreenshotProps, st as PromptInputTabItemProps, t as AttachmentsContext, tt as PromptInputSubmit, u as PromptInputActionMenuContentProps, ut as PromptInputTabProps, v as PromptInputAttachments, vt as PromptInputTray, w as PromptInputButtonTooltip, wt as usePromptInputAttachments, x as PromptInputBodyProps, xt as TextInputContext, y as PromptInputAttachmentsProps, yt as PromptInputTrayProps, z as PromptInputFooterProps } from "../../PromptInput-C3adKglc.js";
|
|
2
2
|
export { AttachmentsContext, PermissionMode, PromptInput, PromptInputActionAddAttachments, PromptInputActionAddAttachmentsProps, PromptInputActionAddScreenshot, PromptInputActionAddScreenshotProps, PromptInputActionMenu, PromptInputActionMenuContent, PromptInputActionMenuContentProps, PromptInputActionMenuItem, PromptInputActionMenuItemProps, PromptInputActionMenuProps, PromptInputActionMenuTrigger, PromptInputActionMenuTriggerProps, PromptInputAttachment, PromptInputAttachmentProps, PromptInputAttachments, PromptInputAttachmentsProps, PromptInputBody, PromptInputBodyProps, PromptInputButton, PromptInputButtonProps, PromptInputButtonTooltip, PromptInputCommandComposer, PromptInputCommandComposerProps, PromptInputCommandDefinition, PromptInputCommandTrigger, PromptInputContextAction, PromptInputContextItem, PromptInputContextSelector, PromptInputContextSelectorProps, PromptInputControllerProps, PromptInputDictation, PromptInputDictationProps, PromptInputFooter, PromptInputFooterEnd, PromptInputFooterEndProps, PromptInputFooterProps, PromptInputHeader, PromptInputHeaderProps, PromptInputHoverCard, PromptInputHoverCardContent, PromptInputHoverCardContentProps, PromptInputHoverCardProps, PromptInputHoverCardTrigger, PromptInputHoverCardTriggerProps, PromptInputMessage, PromptInputPermissionSelector, PromptInputPermissionSelectorProps, PromptInputProps, PromptInputProvider, PromptInputProviderProps, PromptInputReference, PromptInputSubmit, PromptInputSubmitProps, PromptInputTab, PromptInputTabBody, PromptInputTabBodyProps, PromptInputTabItem, PromptInputTabItemProps, PromptInputTabLabel, PromptInputTabLabelProps, PromptInputTabProps, PromptInputTabsList, PromptInputTabsListProps, PromptInputTextarea, PromptInputTextareaProps, PromptInputTools, PromptInputToolsProps, PromptInputTooltipConfig, PromptInputTray, PromptInputTrayProps, PromptInputVoiceInput, TextInputContext, TooltipSide, composerLinksToReferences, usePromptInputAttachments, usePromptInputController };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { composerTriggerMatch, parseComposerLinks, replaceComposerTrigger } from "../../utils/composer-link.js";
|
|
2
2
|
import { n as mergeBaseClassName, t as cx } from "../../class-names-BiMDVpUo.js";
|
|
3
|
-
import { B as PlusIcon, C as FolderIcon, I as PaperclipIcon, J as StopIcon, K as SpinnerIcon, M as MicrophoneIcon, P as MonitorIcon, S as FileIcon, a as ArrowUpIcon, d as CheckIcon, et as WarningIcon, f as ChevronDownIcon, nt as XIcon, q as SquareIcon, tt as WrenchIcon } from "../../icons-
|
|
3
|
+
import { B as PlusIcon, C as FolderIcon, I as PaperclipIcon, J as StopIcon, K as SpinnerIcon, M as MicrophoneIcon, P as MonitorIcon, S as FileIcon, a as ArrowUpIcon, d as CheckIcon, et as WarningIcon, f as ChevronDownIcon, nt as XIcon, q as SquareIcon, tt as WrenchIcon } from "../../icons-CeGfXO21.js";
|
|
4
4
|
import { Button } from "../foundations/Button.js";
|
|
5
|
-
import { Tooltip } from "../foundations/Tooltip.js";
|
|
6
|
-
import { IconButton } from "../foundations/IconButton.js";
|
|
7
|
-
import { t as AttachmentPreview } from "../../attachment-preview-1CXJvrmb.js";
|
|
8
|
-
import { a as formatErrorMessage, i as formatClock, n as clamp } from "../../format-COCyV98Z.js";
|
|
9
|
-
import { n as mergeRefs } from "../../merge-refs-DF_7w2x_.js";
|
|
10
|
-
import { ComposerLink } from "./ComposerLink.js";
|
|
11
5
|
import { Autocomplete } from "../foundations/Autocomplete.js";
|
|
12
6
|
import { Kbd } from "../foundations/Kbd.js";
|
|
13
7
|
import { Menu } from "../foundations/Menu.js";
|
|
14
8
|
import { PreviewCard } from "../foundations/PreviewCard.js";
|
|
15
9
|
import { Tabs } from "../foundations/Tabs.js";
|
|
10
|
+
import { Tooltip } from "../foundations/Tooltip.js";
|
|
11
|
+
import { IconButton } from "../foundations/IconButton.js";
|
|
12
|
+
import { t as AttachmentPreview } from "../../attachment-preview-1CXJvrmb.js";
|
|
13
|
+
import { a as formatErrorMessage, i as formatClock, n as clamp } from "../../format-CWaZEp5o.js";
|
|
14
|
+
import { n as mergeRefs } from "../../merge-refs-DF_7w2x_.js";
|
|
15
|
+
import { ComposerLink } from "./ComposerLink.js";
|
|
16
16
|
import { PromptInputComposerEditor } from "./PromptInputComposerEditor.js";
|
|
17
17
|
import * as React from "react";
|
|
18
18
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
|
|
3
2
|
//#region src/components/ai-sdk/PromptInputComposerEditor.d.ts
|
|
4
|
-
declare function writeComposerDom(element: HTMLElement, markdown: string): void;
|
|
5
|
-
declare function readComposerDom(element: HTMLElement): string;
|
|
6
|
-
interface PromptInputComposerEditorProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "onChange" | "value"> {
|
|
3
|
+
export declare function writeComposerDom(element: HTMLElement, markdown: string): void;
|
|
4
|
+
export declare function readComposerDom(element: HTMLElement): string;
|
|
5
|
+
export interface PromptInputComposerEditorProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "onChange" | "value"> {
|
|
7
6
|
/** Markdown draft. Named apart from Autocomplete's `value` so the two cannot collide. */
|
|
8
7
|
draft: string;
|
|
9
8
|
onDraftChange: (value: string) => void;
|
|
@@ -12,20 +11,7 @@ interface PromptInputComposerEditorProps extends Omit<React.HTMLAttributes<HTMLD
|
|
|
12
11
|
maxHeight?: number;
|
|
13
12
|
disabled?: boolean;
|
|
14
13
|
}
|
|
15
|
-
declare function PromptInputComposerEditor({
|
|
16
|
-
className,
|
|
17
|
-
placeholder,
|
|
18
|
-
minHeight,
|
|
19
|
-
maxHeight,
|
|
20
|
-
draft,
|
|
21
|
-
onDraftChange,
|
|
22
|
-
onKeyDown,
|
|
23
|
-
onPaste,
|
|
24
|
-
disabled,
|
|
25
|
-
ref,
|
|
26
|
-
...props
|
|
27
|
-
}: PromptInputComposerEditorProps & {
|
|
14
|
+
export declare function PromptInputComposerEditor({ className, placeholder, minHeight, maxHeight, draft, onDraftChange, onKeyDown, onPaste, disabled, ref, ...props }: PromptInputComposerEditorProps & {
|
|
28
15
|
ref?: React.Ref<HTMLDivElement>;
|
|
29
16
|
}): React.JSX.Element;
|
|
30
|
-
//#endregion
|
|
31
|
-
export { PromptInputComposerEditor, PromptInputComposerEditorProps, readComposerDom, writeComposerDom };
|
|
17
|
+
//#endregion
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { parseComposerHref, sampleImageAccent, splitComposerDraft } from "../../utils/composer-link.js";
|
|
2
2
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
3
|
-
import { n as clamp } from "../../format-
|
|
3
|
+
import { n as clamp } from "../../format-CWaZEp5o.js";
|
|
4
4
|
import { n as mergeRefs } from "../../merge-refs-DF_7w2x_.js";
|
|
5
5
|
import { composerLinkAccent, composerLinkIconSrc, composerLinkUsesCube } from "./ComposerLink.js";
|
|
6
6
|
import * as React from "react";
|