@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,30 +1,29 @@
|
|
|
1
|
-
import { o as TabsProps, r as Tabs } from "../../Tabs-
|
|
1
|
+
import { o as TabsProps, r as Tabs } from "../../Tabs-BYs-RgJ7.js";
|
|
2
2
|
import * as React from "react";
|
|
3
|
-
|
|
4
3
|
//#region src/components/foundations/Stepper.d.ts
|
|
5
|
-
type StepperOrientation = "horizontal" | "vertical";
|
|
6
|
-
type StepperState = "active" | "completed" | "inactive" | "loading";
|
|
4
|
+
export type StepperOrientation = "horizontal" | "vertical";
|
|
5
|
+
export type StepperState = "active" | "completed" | "inactive" | "loading";
|
|
7
6
|
type StepperChangeEventDetails = Parameters<NonNullable<TabsProps["onValueChange"]>>[1];
|
|
8
|
-
type StepIndicators = {
|
|
7
|
+
export type StepIndicators = {
|
|
9
8
|
active?: React.ReactNode;
|
|
10
9
|
completed?: React.ReactNode;
|
|
11
10
|
inactive?: React.ReactNode;
|
|
12
11
|
loading?: React.ReactNode;
|
|
13
12
|
};
|
|
14
|
-
interface StepperContextValue {
|
|
13
|
+
export interface StepperContextValue {
|
|
15
14
|
activeStep: number;
|
|
16
15
|
orientation: StepperOrientation;
|
|
17
16
|
indicators: StepIndicators;
|
|
18
17
|
}
|
|
19
|
-
interface StepItemContextValue {
|
|
18
|
+
export interface StepItemContextValue {
|
|
20
19
|
step: number;
|
|
21
20
|
state: StepperState;
|
|
22
21
|
isDisabled: boolean;
|
|
23
22
|
isLoading: boolean;
|
|
24
23
|
}
|
|
25
|
-
declare function useStepper(): StepperContextValue;
|
|
26
|
-
declare function useStepItem(): StepItemContextValue;
|
|
27
|
-
interface StepperProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
24
|
+
export declare function useStepper(): StepperContextValue;
|
|
25
|
+
export declare function useStepItem(): StepItemContextValue;
|
|
26
|
+
export interface StepperProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
28
27
|
/**
|
|
29
28
|
* The first active step for uncontrolled steppers.
|
|
30
29
|
* @default 1
|
|
@@ -68,113 +67,54 @@ interface StepperProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
68
67
|
*
|
|
69
68
|
* @see {@link https://reui.io/docs/components/base/stepper | ReUI Stepper}
|
|
70
69
|
*/
|
|
71
|
-
declare function Stepper({
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
onValueChange,
|
|
75
|
-
orientation,
|
|
76
|
-
indicators,
|
|
77
|
-
className,
|
|
78
|
-
children,
|
|
79
|
-
ref,
|
|
80
|
-
...props
|
|
81
|
-
}: StepperProps & {
|
|
82
|
-
/** Ref forwarded to the component's rendered root element. */ref?: React.Ref<HTMLDivElement>;
|
|
70
|
+
export declare function Stepper({ defaultValue, value, onValueChange, orientation, indicators, className, children, ref, ...props }: StepperProps & {
|
|
71
|
+
/** Ref forwarded to the component's rendered root element. */
|
|
72
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
83
73
|
}): React.JSX.Element;
|
|
84
|
-
interface StepperNavProps extends Omit<React.ComponentPropsWithoutRef<typeof Tabs.List>, "unstyled"> {}
|
|
85
|
-
declare function StepperNav({
|
|
86
|
-
className,
|
|
87
|
-
ref,
|
|
88
|
-
...props
|
|
89
|
-
}: StepperNavProps & {
|
|
74
|
+
export interface StepperNavProps extends Omit<React.ComponentPropsWithoutRef<typeof Tabs.List>, "unstyled"> {}
|
|
75
|
+
export declare function StepperNav({ className, ref, ...props }: StepperNavProps & {
|
|
90
76
|
ref?: React.Ref<HTMLDivElement>;
|
|
91
77
|
}): React.JSX.Element;
|
|
92
|
-
interface StepperItemProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
78
|
+
export interface StepperItemProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
93
79
|
step: number;
|
|
94
80
|
completed?: boolean;
|
|
95
81
|
disabled?: boolean;
|
|
96
82
|
loading?: boolean;
|
|
97
83
|
}
|
|
98
|
-
declare function StepperItem({
|
|
99
|
-
step,
|
|
100
|
-
completed,
|
|
101
|
-
disabled,
|
|
102
|
-
loading,
|
|
103
|
-
className,
|
|
104
|
-
ref,
|
|
105
|
-
...props
|
|
106
|
-
}: StepperItemProps & {
|
|
84
|
+
export declare function StepperItem({ step, completed, disabled, loading, className, ref, ...props }: StepperItemProps & {
|
|
107
85
|
ref?: React.Ref<HTMLDivElement>;
|
|
108
86
|
}): React.JSX.Element;
|
|
109
|
-
interface StepperTriggerProps extends Omit<React.ComponentPropsWithoutRef<typeof Tabs.Tab>, "unstyled" | "value"> {}
|
|
110
|
-
declare function StepperTrigger({
|
|
111
|
-
className,
|
|
112
|
-
children,
|
|
113
|
-
disabled,
|
|
114
|
-
type,
|
|
115
|
-
ref,
|
|
116
|
-
...props
|
|
117
|
-
}: StepperTriggerProps & {
|
|
87
|
+
export interface StepperTriggerProps extends Omit<React.ComponentPropsWithoutRef<typeof Tabs.Tab>, "unstyled" | "value"> {}
|
|
88
|
+
export declare function StepperTrigger({ className, children, disabled, type, ref, ...props }: StepperTriggerProps & {
|
|
118
89
|
ref?: React.Ref<HTMLButtonElement>;
|
|
119
90
|
}): React.JSX.Element;
|
|
120
|
-
interface StepperIndicatorProps extends React.ComponentPropsWithoutRef<"span"> {}
|
|
121
|
-
declare function StepperIndicator({
|
|
122
|
-
className,
|
|
123
|
-
children,
|
|
124
|
-
ref,
|
|
125
|
-
...props
|
|
126
|
-
}: StepperIndicatorProps & {
|
|
91
|
+
export interface StepperIndicatorProps extends React.ComponentPropsWithoutRef<"span"> {}
|
|
92
|
+
export declare function StepperIndicator({ className, children, ref, ...props }: StepperIndicatorProps & {
|
|
127
93
|
ref?: React.Ref<HTMLSpanElement>;
|
|
128
94
|
}): React.JSX.Element;
|
|
129
|
-
interface StepperSeparatorProps extends React.ComponentPropsWithoutRef<"span"> {}
|
|
130
|
-
declare function StepperSeparator({
|
|
131
|
-
className,
|
|
132
|
-
ref,
|
|
133
|
-
...props
|
|
134
|
-
}: StepperSeparatorProps & {
|
|
95
|
+
export interface StepperSeparatorProps extends React.ComponentPropsWithoutRef<"span"> {}
|
|
96
|
+
export declare function StepperSeparator({ className, ref, ...props }: StepperSeparatorProps & {
|
|
135
97
|
ref?: React.Ref<HTMLSpanElement>;
|
|
136
98
|
}): React.JSX.Element;
|
|
137
|
-
interface StepperTitleProps extends React.ComponentPropsWithoutRef<"h3"> {}
|
|
138
|
-
declare function StepperTitle({
|
|
139
|
-
className,
|
|
140
|
-
children,
|
|
141
|
-
ref,
|
|
142
|
-
...props
|
|
143
|
-
}: StepperTitleProps & {
|
|
99
|
+
export interface StepperTitleProps extends React.ComponentPropsWithoutRef<"h3"> {}
|
|
100
|
+
export declare function StepperTitle({ className, children, ref, ...props }: StepperTitleProps & {
|
|
144
101
|
ref?: React.Ref<HTMLHeadingElement>;
|
|
145
102
|
}): React.JSX.Element;
|
|
146
|
-
interface StepperDescriptionProps extends React.ComponentPropsWithoutRef<"div"> {}
|
|
147
|
-
declare function StepperDescription({
|
|
148
|
-
className,
|
|
149
|
-
ref,
|
|
150
|
-
...props
|
|
151
|
-
}: StepperDescriptionProps & {
|
|
103
|
+
export interface StepperDescriptionProps extends React.ComponentPropsWithoutRef<"div"> {}
|
|
104
|
+
export declare function StepperDescription({ className, ref, ...props }: StepperDescriptionProps & {
|
|
152
105
|
ref?: React.Ref<HTMLDivElement>;
|
|
153
106
|
}): React.JSX.Element;
|
|
154
|
-
interface StepperPanelProps extends React.ComponentPropsWithoutRef<"div"> {}
|
|
155
|
-
declare function StepperPanel({
|
|
156
|
-
className,
|
|
157
|
-
ref,
|
|
158
|
-
...props
|
|
159
|
-
}: StepperPanelProps & {
|
|
107
|
+
export interface StepperPanelProps extends React.ComponentPropsWithoutRef<"div"> {}
|
|
108
|
+
export declare function StepperPanel({ className, ref, ...props }: StepperPanelProps & {
|
|
160
109
|
ref?: React.Ref<HTMLDivElement>;
|
|
161
110
|
}): React.JSX.Element;
|
|
162
|
-
interface StepperContentProps extends Omit<React.ComponentPropsWithoutRef<typeof Tabs.Panel>, "keepMounted" | "unstyled" | "value"> {
|
|
111
|
+
export interface StepperContentProps extends Omit<React.ComponentPropsWithoutRef<typeof Tabs.Panel>, "keepMounted" | "unstyled" | "value"> {
|
|
163
112
|
value: number;
|
|
164
113
|
forceMount?: boolean;
|
|
165
114
|
/** Optional vertical rhythm for direct content children. */
|
|
166
115
|
spacing?: "none" | "compact" | "default";
|
|
167
116
|
}
|
|
168
|
-
declare function StepperContent({
|
|
169
|
-
value,
|
|
170
|
-
forceMount,
|
|
171
|
-
spacing,
|
|
172
|
-
className,
|
|
173
|
-
children,
|
|
174
|
-
ref,
|
|
175
|
-
...props
|
|
176
|
-
}: StepperContentProps & {
|
|
117
|
+
export declare function StepperContent({ value, forceMount, spacing, className, children, ref, ...props }: StepperContentProps & {
|
|
177
118
|
ref?: React.Ref<HTMLDivElement>;
|
|
178
119
|
}): React.JSX.Element;
|
|
179
|
-
//#endregion
|
|
180
|
-
export { StepIndicators, StepItemContextValue, Stepper, StepperContent, StepperContentProps, StepperContextValue, StepperDescription, StepperDescriptionProps, StepperIndicator, StepperIndicatorProps, StepperItem, StepperItemProps, StepperNav, StepperNavProps, StepperOrientation, StepperPanel, StepperPanelProps, StepperProps, StepperSeparator, StepperSeparatorProps, StepperState, StepperTitle, StepperTitleProps, StepperTrigger, StepperTriggerProps, useStepItem, useStepper };
|
|
120
|
+
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as mergeBaseClassName, t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { K as SpinnerIcon, d as CheckIcon } from "../../icons-
|
|
2
|
+
import { K as SpinnerIcon, d as CheckIcon } from "../../icons-CeGfXO21.js";
|
|
3
3
|
import { Tabs } from "./Tabs.js";
|
|
4
4
|
import * as React from "react";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { Switch as Switch$1 } from "@base-ui/react/switch";
|
|
3
|
-
|
|
4
3
|
//#region src/components/foundations/Switch.d.ts
|
|
5
|
-
interface SwitchProps extends React.ComponentPropsWithRef<typeof Switch$1.Root> {
|
|
4
|
+
export interface SwitchProps extends React.ComponentPropsWithRef<typeof Switch$1.Root> {
|
|
6
5
|
/**
|
|
7
6
|
* The size of the switch.
|
|
8
7
|
* @default 'md'
|
|
9
8
|
*/
|
|
10
9
|
size?: "sm" | "md" | "lg";
|
|
11
10
|
}
|
|
12
|
-
interface SwitchThumbProps extends React.ComponentPropsWithRef<typeof Switch$1.Thumb> {}
|
|
11
|
+
export interface SwitchThumbProps extends React.ComponentPropsWithRef<typeof Switch$1.Thumb> {}
|
|
13
12
|
/**
|
|
14
13
|
* A toggle switch component for binary choices.
|
|
15
14
|
*
|
|
@@ -31,27 +30,17 @@ interface SwitchThumbProps extends React.ComponentPropsWithRef<typeof Switch$1.T
|
|
|
31
30
|
*
|
|
32
31
|
* @see {@link https://base-ui.com/react/components/switch | Base UI Switch}
|
|
33
32
|
*/
|
|
34
|
-
declare function SwitchRoot({
|
|
35
|
-
size,
|
|
36
|
-
className,
|
|
37
|
-
ref,
|
|
38
|
-
...props
|
|
39
|
-
}: SwitchProps & {
|
|
33
|
+
declare function SwitchRoot({ size, className, ref, ...props }: SwitchProps & {
|
|
40
34
|
ref?: React.Ref<HTMLButtonElement>;
|
|
41
35
|
}): React.JSX.Element;
|
|
42
36
|
/**
|
|
43
37
|
* The thumb indicator for the Switch component.
|
|
44
38
|
*/
|
|
45
|
-
declare function SwitchThumb({
|
|
46
|
-
className,
|
|
47
|
-
ref,
|
|
48
|
-
...props
|
|
49
|
-
}: SwitchThumbProps & {
|
|
39
|
+
declare function SwitchThumb({ className, ref, ...props }: SwitchThumbProps & {
|
|
50
40
|
ref?: React.Ref<HTMLSpanElement>;
|
|
51
41
|
}): React.JSX.Element;
|
|
52
|
-
declare const Switch: {
|
|
42
|
+
export declare const Switch: {
|
|
53
43
|
Root: typeof SwitchRoot;
|
|
54
44
|
Thumb: typeof SwitchThumb;
|
|
55
45
|
};
|
|
56
|
-
//#endregion
|
|
57
|
-
export { Switch, SwitchProps, SwitchThumbProps };
|
|
46
|
+
//#endregion
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as TabsListProps, i as TabsIndicatorProps, n as TabProps, o as TabsProps, r as Tabs, t as TabPanelProps } from "../../Tabs-
|
|
1
|
+
import { a as TabsListProps, i as TabsIndicatorProps, n as TabProps, o as TabsProps, r as Tabs, t as TabPanelProps } from "../../Tabs-BYs-RgJ7.js";
|
|
2
2
|
export { TabPanelProps, TabProps, Tabs, TabsIndicatorProps, TabsListProps, TabsProps };
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
|
|
3
2
|
//#region src/components/foundations/Textarea.d.ts
|
|
4
|
-
interface TextareaProps extends React.TextareaHTMLAttributes<HTMLTextAreaElement> {
|
|
3
|
+
export interface TextareaProps extends React.TextareaHTMLAttributes<HTMLTextAreaElement> {
|
|
5
4
|
/** Allow the user to resize the control along the block axis. */
|
|
6
5
|
resize?: "none" | "vertical";
|
|
7
6
|
}
|
|
@@ -9,13 +8,8 @@ interface TextareaProps extends React.TextareaHTMLAttributes<HTMLTextAreaElement
|
|
|
9
8
|
* Multiline text control that shares the design system's field recipe.
|
|
10
9
|
* Compose it through `Field.Control` when labeling or validation is needed.
|
|
11
10
|
*/
|
|
12
|
-
declare function Textarea({
|
|
13
|
-
|
|
14
|
-
ref
|
|
15
|
-
resize,
|
|
16
|
-
...props
|
|
17
|
-
}: TextareaProps & {
|
|
18
|
-
/** Ref forwarded to the component's rendered root element. */ref?: React.Ref<HTMLTextAreaElement>;
|
|
11
|
+
export declare function Textarea({ className, ref, resize, ...props }: TextareaProps & {
|
|
12
|
+
/** Ref forwarded to the component's rendered root element. */
|
|
13
|
+
ref?: React.Ref<HTMLTextAreaElement>;
|
|
19
14
|
}): React.JSX.Element;
|
|
20
|
-
//#endregion
|
|
21
|
-
export { Textarea, TextareaProps };
|
|
15
|
+
//#endregion
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { ResolvedTheme, ThemePreference } from "../../utils/theme.js";
|
|
2
2
|
import * as React from "react";
|
|
3
|
-
|
|
4
3
|
//#region src/components/foundations/ThemeProvider.d.ts
|
|
5
|
-
interface ThemeProviderProps {
|
|
4
|
+
export interface ThemeProviderProps {
|
|
6
5
|
children: React.ReactNode;
|
|
7
6
|
/** Controlled theme preference. */
|
|
8
7
|
value?: ThemePreference;
|
|
@@ -13,7 +12,7 @@ interface ThemeProviderProps {
|
|
|
13
12
|
/** localStorage key. Pass `null` when the application owns persistence. */
|
|
14
13
|
storageKey?: string | null;
|
|
15
14
|
}
|
|
16
|
-
interface ThemeContextValue {
|
|
15
|
+
export interface ThemeContextValue {
|
|
17
16
|
preference: ThemePreference;
|
|
18
17
|
resolvedTheme: ResolvedTheme;
|
|
19
18
|
setPreference: (preference: ThemePreference) => void;
|
|
@@ -26,13 +25,6 @@ interface ThemeContextValue {
|
|
|
26
25
|
* `getThemeInitializationScript()` in the document head to avoid a flash when
|
|
27
26
|
* a saved override differs from the operating-system preference.
|
|
28
27
|
*/
|
|
29
|
-
declare function ThemeProvider({
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
defaultValue,
|
|
33
|
-
onValueChange,
|
|
34
|
-
storageKey
|
|
35
|
-
}: ThemeProviderProps): React.JSX.Element;
|
|
36
|
-
declare function useTheme(): ThemeContextValue;
|
|
37
|
-
//#endregion
|
|
38
|
-
export { ThemeContextValue, ThemeProvider, ThemeProviderProps, useTheme };
|
|
28
|
+
export declare function ThemeProvider({ children, value, defaultValue, onValueChange, storageKey }: ThemeProviderProps): React.JSX.Element;
|
|
29
|
+
export declare function useTheme(): ThemeContextValue;
|
|
30
|
+
//#endregion
|
|
@@ -1,44 +1,43 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { Toast as Toast$1 } from "@base-ui/react/toast";
|
|
3
|
-
|
|
4
3
|
//#region src/components/foundations/Toast.d.ts
|
|
5
4
|
/**
|
|
6
5
|
* Props for the Toast.Provider component.
|
|
7
6
|
*/
|
|
8
7
|
type BaseToastProviderProps = React.ComponentPropsWithoutRef<typeof Toast$1.Provider>;
|
|
9
|
-
interface ToastProviderProps extends Omit<BaseToastProviderProps, "children"> {
|
|
8
|
+
export interface ToastProviderProps extends Omit<BaseToastProviderProps, "children"> {
|
|
10
9
|
/** Application subtree whose toast state is managed by this provider. */
|
|
11
10
|
children?: BaseToastProviderProps["children"];
|
|
12
11
|
}
|
|
13
12
|
/**
|
|
14
13
|
* Props for the Toast.Viewport component.
|
|
15
14
|
*/
|
|
16
|
-
interface ToastViewportProps extends React.ComponentPropsWithoutRef<typeof Toast$1.Viewport> {}
|
|
15
|
+
export interface ToastViewportProps extends React.ComponentPropsWithoutRef<typeof Toast$1.Viewport> {}
|
|
17
16
|
/**
|
|
18
17
|
* Props for the Toast.Root component.
|
|
19
18
|
*/
|
|
20
|
-
interface ToastRootProps extends React.ComponentPropsWithoutRef<typeof Toast$1.Root> {}
|
|
19
|
+
export interface ToastRootProps extends React.ComponentPropsWithoutRef<typeof Toast$1.Root> {}
|
|
21
20
|
/**
|
|
22
21
|
* Props for the Toast.Content component.
|
|
23
22
|
*/
|
|
24
|
-
interface ToastContentProps extends React.ComponentPropsWithoutRef<typeof Toast$1.Content> {}
|
|
23
|
+
export interface ToastContentProps extends React.ComponentPropsWithoutRef<typeof Toast$1.Content> {}
|
|
25
24
|
/**
|
|
26
25
|
* Props for the Toast.Title component.
|
|
27
26
|
*/
|
|
28
|
-
interface ToastTitleProps extends React.ComponentPropsWithoutRef<typeof Toast$1.Title> {}
|
|
27
|
+
export interface ToastTitleProps extends React.ComponentPropsWithoutRef<typeof Toast$1.Title> {}
|
|
29
28
|
/**
|
|
30
29
|
* Props for the Toast.Description component.
|
|
31
30
|
*/
|
|
32
|
-
interface ToastDescriptionProps extends React.ComponentPropsWithoutRef<typeof Toast$1.Description> {}
|
|
31
|
+
export interface ToastDescriptionProps extends React.ComponentPropsWithoutRef<typeof Toast$1.Description> {}
|
|
33
32
|
/**
|
|
34
33
|
* Props for the Toast.Action component.
|
|
35
34
|
*/
|
|
36
|
-
interface ToastActionProps extends React.ComponentPropsWithoutRef<typeof Toast$1.Action> {}
|
|
35
|
+
export interface ToastActionProps extends React.ComponentPropsWithoutRef<typeof Toast$1.Action> {}
|
|
37
36
|
/**
|
|
38
37
|
* Props for the Toast.Close component.
|
|
39
38
|
*/
|
|
40
39
|
type BaseToastCloseProps = React.ComponentPropsWithoutRef<typeof Toast$1.Close>;
|
|
41
|
-
interface ToastCloseProps extends Omit<BaseToastCloseProps, "aria-label" | "children" | "className" | "nativeButton" | "render"> {
|
|
40
|
+
export interface ToastCloseProps extends Omit<BaseToastCloseProps, "aria-label" | "children" | "className" | "nativeButton" | "render"> {
|
|
42
41
|
/** Additional class names for close-button layout. */
|
|
43
42
|
className?: string;
|
|
44
43
|
/** Accessible name for the icon-only close button. */
|
|
@@ -49,74 +48,43 @@ interface ToastCloseProps extends Omit<BaseToastCloseProps, "aria-label" | "chil
|
|
|
49
48
|
/**
|
|
50
49
|
* Container for displaying toasts.
|
|
51
50
|
*/
|
|
52
|
-
declare function ToastViewport({
|
|
53
|
-
className,
|
|
54
|
-
ref,
|
|
55
|
-
...props
|
|
56
|
-
}: ToastViewportProps & {
|
|
51
|
+
declare function ToastViewport({ className, ref, ...props }: ToastViewportProps & {
|
|
57
52
|
ref?: React.Ref<HTMLDivElement>;
|
|
58
53
|
}): React.JSX.Element;
|
|
59
54
|
/**
|
|
60
55
|
* Individual toast wrapper.
|
|
61
56
|
*/
|
|
62
|
-
declare function ToastRoot({
|
|
63
|
-
className,
|
|
64
|
-
ref,
|
|
65
|
-
...props
|
|
66
|
-
}: ToastRootProps & {
|
|
57
|
+
declare function ToastRoot({ className, ref, ...props }: ToastRootProps & {
|
|
67
58
|
ref?: React.Ref<HTMLDivElement>;
|
|
68
59
|
}): React.JSX.Element;
|
|
69
60
|
/**
|
|
70
61
|
* Container for the contents of a toast.
|
|
71
62
|
*/
|
|
72
|
-
declare function ToastContent({
|
|
73
|
-
className,
|
|
74
|
-
ref,
|
|
75
|
-
...props
|
|
76
|
-
}: ToastContentProps & {
|
|
63
|
+
declare function ToastContent({ className, ref, ...props }: ToastContentProps & {
|
|
77
64
|
ref?: React.Ref<HTMLDivElement>;
|
|
78
65
|
}): React.JSX.Element;
|
|
79
66
|
/**
|
|
80
67
|
* Title that labels the toast. Renders an `<h2>` element.
|
|
81
68
|
*/
|
|
82
|
-
declare function ToastTitle({
|
|
83
|
-
className,
|
|
84
|
-
ref,
|
|
85
|
-
...props
|
|
86
|
-
}: ToastTitleProps & {
|
|
69
|
+
declare function ToastTitle({ className, ref, ...props }: ToastTitleProps & {
|
|
87
70
|
ref?: React.Ref<HTMLHeadingElement>;
|
|
88
71
|
}): React.JSX.Element;
|
|
89
72
|
/**
|
|
90
73
|
* Description text for the toast. Renders a `<p>` element.
|
|
91
74
|
*/
|
|
92
|
-
declare function ToastDescription({
|
|
93
|
-
className,
|
|
94
|
-
ref,
|
|
95
|
-
...props
|
|
96
|
-
}: ToastDescriptionProps & {
|
|
75
|
+
declare function ToastDescription({ className, ref, ...props }: ToastDescriptionProps & {
|
|
97
76
|
ref?: React.Ref<HTMLParagraphElement>;
|
|
98
77
|
}): React.JSX.Element;
|
|
99
78
|
/**
|
|
100
79
|
* Action button within the toast.
|
|
101
80
|
*/
|
|
102
|
-
declare function ToastAction({
|
|
103
|
-
render,
|
|
104
|
-
className,
|
|
105
|
-
ref,
|
|
106
|
-
...props
|
|
107
|
-
}: ToastActionProps & {
|
|
81
|
+
declare function ToastAction({ render, className, ref, ...props }: ToastActionProps & {
|
|
108
82
|
ref?: React.Ref<HTMLButtonElement>;
|
|
109
83
|
}): React.JSX.Element;
|
|
110
84
|
/**
|
|
111
85
|
* Close button that dismisses the toast.
|
|
112
86
|
*/
|
|
113
|
-
declare function ToastClose({
|
|
114
|
-
className,
|
|
115
|
-
label,
|
|
116
|
-
children,
|
|
117
|
-
ref,
|
|
118
|
-
...props
|
|
119
|
-
}: ToastCloseProps & {
|
|
87
|
+
declare function ToastClose({ className, label, children, ref, ...props }: ToastCloseProps & {
|
|
120
88
|
ref?: React.Ref<HTMLButtonElement>;
|
|
121
89
|
}): React.JSX.Element;
|
|
122
90
|
/**
|
|
@@ -171,7 +139,7 @@ declare function ToastClose({
|
|
|
171
139
|
*
|
|
172
140
|
* @see {@link https://base-ui.com/react/components/toast | Base UI Toast}
|
|
173
141
|
*/
|
|
174
|
-
declare const Toast: {
|
|
142
|
+
export declare const Toast: {
|
|
175
143
|
Provider: (props: ToastProviderProps) => React.JSX.Element;
|
|
176
144
|
Viewport: typeof ToastViewport;
|
|
177
145
|
Root: typeof ToastRoot;
|
|
@@ -179,8 +147,8 @@ declare const Toast: {
|
|
|
179
147
|
Title: typeof ToastTitle;
|
|
180
148
|
Description: typeof ToastDescription;
|
|
181
149
|
Action: typeof ToastAction;
|
|
182
|
-
Close: typeof ToastClose;
|
|
150
|
+
Close: typeof ToastClose;
|
|
151
|
+
/** Hook to access the toast manager for adding/removing toasts */
|
|
183
152
|
useToastManager: typeof Toast$1.useToastManager;
|
|
184
153
|
};
|
|
185
|
-
//#endregion
|
|
186
|
-
export { Toast, ToastActionProps, ToastCloseProps, ToastContentProps, ToastDescriptionProps, ToastProviderProps, ToastRootProps, ToastTitleProps, ToastViewportProps };
|
|
154
|
+
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as mergeBaseClassName } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { nt as XIcon } from "../../icons-
|
|
2
|
+
import { nt as XIcon } from "../../icons-CeGfXO21.js";
|
|
3
3
|
import { buttonVariants } from "./Button.js";
|
|
4
4
|
import "react";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { Toggle as Toggle$1 } from "@base-ui/react/toggle";
|
|
3
|
-
|
|
4
3
|
//#region src/components/foundations/Toggle.d.ts
|
|
5
|
-
interface ToggleVariantsOptions {
|
|
4
|
+
export interface ToggleVariantsOptions {
|
|
6
5
|
/** Visual treatment; `outline` adds a bordered control surface. */
|
|
7
6
|
variant?: "default" | "outline" | null;
|
|
8
7
|
/** Control height and inline spacing. */
|
|
@@ -12,12 +11,8 @@ interface ToggleVariantsOptions {
|
|
|
12
11
|
/**
|
|
13
12
|
* Props for the Toggle component.
|
|
14
13
|
*/
|
|
15
|
-
interface ToggleProps extends React.ComponentPropsWithoutRef<typeof Toggle$1>, Omit<ToggleVariantsOptions, "className"> {}
|
|
16
|
-
declare function toggleVariants({
|
|
17
|
-
variant,
|
|
18
|
-
size,
|
|
19
|
-
className
|
|
20
|
-
}?: ToggleVariantsOptions): string;
|
|
14
|
+
export interface ToggleProps extends React.ComponentPropsWithoutRef<typeof Toggle$1>, Omit<ToggleVariantsOptions, "className"> {}
|
|
15
|
+
export declare function toggleVariants({ variant, size, className }?: ToggleVariantsOptions): string;
|
|
21
16
|
/**
|
|
22
17
|
* A two-state button that can be on (pressed) or off.
|
|
23
18
|
* Useful for toggling a setting or mode.
|
|
@@ -58,14 +53,8 @@ declare function toggleVariants({
|
|
|
58
53
|
*
|
|
59
54
|
* @see {@link https://base-ui.com/react/components/toggle | Base UI Toggle}
|
|
60
55
|
*/
|
|
61
|
-
declare function Toggle({
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
size,
|
|
65
|
-
ref,
|
|
66
|
-
...props
|
|
67
|
-
}: ToggleProps & {
|
|
68
|
-
/** Ref forwarded to the component's rendered root element. */ref?: React.Ref<HTMLButtonElement>;
|
|
56
|
+
export declare function Toggle({ className, variant, size, ref, ...props }: ToggleProps & {
|
|
57
|
+
/** Ref forwarded to the component's rendered root element. */
|
|
58
|
+
ref?: React.Ref<HTMLButtonElement>;
|
|
69
59
|
}): React.JSX.Element;
|
|
70
|
-
//#endregion
|
|
71
|
-
export { Toggle, ToggleProps, ToggleVariantsOptions, toggleVariants };
|
|
60
|
+
//#endregion
|
|
@@ -53,14 +53,15 @@ function toggleVariants({ variant = "default", size = "md", className } = {}) {
|
|
|
53
53
|
*/
|
|
54
54
|
function Toggle({ className, variant, size, ref, ...props }) {
|
|
55
55
|
const resolvedSize = size ?? "md";
|
|
56
|
+
const classes = mergeBaseClassName(toggleVariants({
|
|
57
|
+
variant,
|
|
58
|
+
size: resolvedSize
|
|
59
|
+
}), className);
|
|
56
60
|
return /* @__PURE__ */ jsx(Toggle$1, {
|
|
57
61
|
ref,
|
|
58
62
|
"data-slot": "toggle",
|
|
59
63
|
"data-size": resolvedSize,
|
|
60
|
-
className:
|
|
61
|
-
variant,
|
|
62
|
-
size: resolvedSize
|
|
63
|
-
}), className),
|
|
64
|
+
className: classes,
|
|
64
65
|
...props
|
|
65
66
|
});
|
|
66
67
|
}
|
|
@@ -1,18 +1,20 @@
|
|
|
1
1
|
import { ToggleVariantsOptions } from "./Toggle.js";
|
|
2
2
|
import * as React from "react";
|
|
3
|
-
import { ToggleGroup as ToggleGroup$1 } from "@base-ui/react/toggle-group";
|
|
4
3
|
import { Toggle } from "@base-ui/react/toggle";
|
|
5
|
-
|
|
4
|
+
import { ToggleGroup as ToggleGroup$1 } from "@base-ui/react/toggle-group";
|
|
6
5
|
//#region src/components/foundations/ToggleGroup.d.ts
|
|
7
6
|
type ToggleGroupSize = ToggleVariantsOptions["size"];
|
|
8
|
-
type ToggleGroupProps<Value extends string = string> = ToggleGroup$1.Props<Value> & {
|
|
9
|
-
/** Axis used for roving focus and group layout. */
|
|
7
|
+
export type ToggleGroupProps<Value extends string = string> = ToggleGroup$1.Props<Value> & {
|
|
8
|
+
/** Axis used for roving focus and group layout. */
|
|
9
|
+
orientation?: ToggleGroup$1.Props<Value>["orientation"];
|
|
10
|
+
/** Visual treatment inherited by every item in the group. */
|
|
10
11
|
variant?: ToggleVariantsOptions["variant"];
|
|
11
12
|
/**
|
|
12
13
|
* The size of the toggle group.
|
|
13
14
|
* @default 'md'
|
|
14
15
|
*/
|
|
15
|
-
size?: ToggleGroupSize;
|
|
16
|
+
size?: ToggleGroupSize;
|
|
17
|
+
/** Gap between items in CSS pixels; use `0` for a connected segmented control. */
|
|
16
18
|
spacing?: number;
|
|
17
19
|
/**
|
|
18
20
|
* Draws one shared thumb that slides between segments rather than lighting up
|
|
@@ -24,7 +26,7 @@ type ToggleGroupProps<Value extends string = string> = ToggleGroup$1.Props<Value
|
|
|
24
26
|
*/
|
|
25
27
|
segmented?: boolean;
|
|
26
28
|
};
|
|
27
|
-
interface ToggleGroupItemProps extends React.ComponentPropsWithRef<typeof Toggle>, Omit<ToggleVariantsOptions, "className"> {}
|
|
29
|
+
export interface ToggleGroupItemProps extends React.ComponentPropsWithRef<typeof Toggle>, Omit<ToggleVariantsOptions, "className"> {}
|
|
28
30
|
/**
|
|
29
31
|
* A toggle group component for selecting one or multiple options.
|
|
30
32
|
*
|
|
@@ -50,32 +52,15 @@ interface ToggleGroupItemProps extends React.ComponentPropsWithRef<typeof Toggle
|
|
|
50
52
|
*
|
|
51
53
|
* @see {@link https://base-ui.com/react/components/toggle-group | Base UI Toggle Group}
|
|
52
54
|
*/
|
|
53
|
-
declare function ToggleGroupRoot<Value extends string>({
|
|
54
|
-
size,
|
|
55
|
-
spacing,
|
|
56
|
-
segmented,
|
|
57
|
-
variant,
|
|
58
|
-
className,
|
|
59
|
-
children,
|
|
60
|
-
style,
|
|
61
|
-
ref,
|
|
62
|
-
...props
|
|
63
|
-
}: ToggleGroupProps<Value>): React.JSX.Element;
|
|
55
|
+
declare function ToggleGroupRoot<Value extends string>({ size, spacing, segmented, variant, className, children, style, ref, ...props }: ToggleGroupProps<Value>): React.JSX.Element;
|
|
64
56
|
/**
|
|
65
57
|
* A single toggle item within a ToggleGroup.
|
|
66
58
|
*/
|
|
67
|
-
declare function ToggleGroupItem({
|
|
68
|
-
className,
|
|
69
|
-
variant,
|
|
70
|
-
size,
|
|
71
|
-
ref,
|
|
72
|
-
...props
|
|
73
|
-
}: ToggleGroupItemProps & {
|
|
59
|
+
declare function ToggleGroupItem({ className, variant, size, ref, ...props }: ToggleGroupItemProps & {
|
|
74
60
|
ref?: React.Ref<HTMLButtonElement>;
|
|
75
61
|
}): React.JSX.Element;
|
|
76
|
-
declare const ToggleGroup: {
|
|
62
|
+
export declare const ToggleGroup: {
|
|
77
63
|
Root: typeof ToggleGroupRoot;
|
|
78
64
|
Item: typeof ToggleGroupItem;
|
|
79
65
|
};
|
|
80
|
-
//#endregion
|
|
81
|
-
export { ToggleGroup, ToggleGroupItemProps, ToggleGroupProps };
|
|
66
|
+
//#endregion
|
|
@@ -3,8 +3,8 @@ import { n as mergeRefs } from "../../merge-refs-DF_7w2x_.js";
|
|
|
3
3
|
import { toggleVariants } from "./Toggle.js";
|
|
4
4
|
import * as React from "react";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
-
import { ToggleGroup as ToggleGroup$1 } from "@base-ui/react/toggle-group";
|
|
7
6
|
import { Toggle } from "@base-ui/react/toggle";
|
|
7
|
+
import { ToggleGroup as ToggleGroup$1 } from "@base-ui/react/toggle-group";
|
|
8
8
|
//#region src/components/foundations/ToggleGroup.tsx
|
|
9
9
|
/**
|
|
10
10
|
* Tracks the pressed item's box so the segmented thumb can slide to it instead
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as ToolbarLinkProps, i as ToolbarInputProps, n as ToolbarButtonProps, o as ToolbarRootProps, r as ToolbarGroupProps, s as ToolbarSeparatorProps, t as Toolbar } from "../../Toolbar-
|
|
1
|
+
import { a as ToolbarLinkProps, i as ToolbarInputProps, n as ToolbarButtonProps, o as ToolbarRootProps, r as ToolbarGroupProps, s as ToolbarSeparatorProps, t as Toolbar } from "../../Toolbar-Dcn4IszI.js";
|
|
2
2
|
export { Toolbar, ToolbarButtonProps, ToolbarGroupProps, ToolbarInputProps, ToolbarLinkProps, ToolbarRootProps, ToolbarSeparatorProps };
|