@mcp-b/react-components 0.56.0 → 0.56.2
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/{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-okaLnS5j.js → FileTree-D61EeWRU.js} +0 -1
- 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/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/{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-DQDWUpAH.js → WorkspaceFileView-DCvGBsI1.js} +5 -4
- 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/AgentChat.d.ts +41 -89
- package/dist/components/agents-sdk/AgentChat.js +12 -15
- 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/BrowserLiveView.d.ts +9 -8
- package/dist/components/agents-sdk/BrowserReplay.d.ts +5 -12
- package/dist/components/agents-sdk/BrowserReplay.js +1 -1
- package/dist/components/agents-sdk/BrowserRunPanel.d.ts +4 -6
- 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 +1 -1
- package/dist/components/agents-sdk/EmployeeChat.d.ts +9 -39
- package/dist/components/agents-sdk/EmployeeChat.js +2 -2
- package/dist/components/agents-sdk/EmployeeChrome.d.ts +1 -1
- package/dist/components/agents-sdk/EmployeeChrome.js +12 -11
- package/dist/components/agents-sdk/EmployeeSchedules.d.ts +5 -16
- package/dist/components/agents-sdk/EmployeeSchedules.js +4 -3
- package/dist/components/agents-sdk/EmployeeStartScreen.d.ts +9 -17
- package/dist/components/agents-sdk/EmployeeStartScreen.js +2 -2
- package/dist/components/agents-sdk/ManagerAccountActions.d.ts +4 -12
- package/dist/components/agents-sdk/ManagerAccountActions.js +2 -2
- 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 +1 -1
- package/dist/components/agents-sdk/McpConnectionRequest.d.ts +13 -10
- package/dist/components/agents-sdk/McpConnectionRequest.js +1 -1
- 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 +2 -2
- 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 +1 -1
- package/dist/components/agents-sdk/ModelEndpointDialog.d.ts +3 -11
- package/dist/components/agents-sdk/ModelEndpointDialog.js +1 -1
- package/dist/components/agents-sdk/ModelSelector.d.ts +46 -134
- package/dist/components/agents-sdk/ModelSelector.js +1 -1
- package/dist/components/agents-sdk/PromptInputApproval.d.ts +1 -1
- package/dist/components/agents-sdk/PromptInputCommands.d.ts +5 -7
- 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 +1 -1
- 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/SubagentRunSelector.d.ts +6 -16
- 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 +2 -2
- 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 +10 -7
- 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 +1 -1
- 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/ThinkExecutionWorkbench.d.ts +20 -57
- package/dist/components/agents-sdk/ThinkExecutionWorkbench.js +3 -2
- package/dist/components/agents-sdk/ThinkFullApp.d.ts +10 -30
- package/dist/components/agents-sdk/ThinkFullApp.js +1 -4
- 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/ThinkRoutine.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkRoutineActions.d.ts +8 -17
- package/dist/components/agents-sdk/ThinkRoutineActions.js +2 -2
- package/dist/components/agents-sdk/ThinkRoutineBrowser.d.ts +5 -17
- package/dist/components/agents-sdk/ThinkRoutineBrowser.js +1 -1
- 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 +3 -3
- package/dist/components/agents-sdk/ThinkRoutineRuns.d.ts +4 -14
- package/dist/components/agents-sdk/ThinkThreadPicker.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkThreadPicker.js +12 -9
- package/dist/components/agents-sdk/WorkbenchBack.d.ts +3 -10
- 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 +2 -2
- package/dist/components/agents-sdk/WorkspaceExecution.d.ts +18 -32
- package/dist/components/agents-sdk/WorkspaceExecution.js +3 -3
- package/dist/components/agents-sdk/WorkspaceExplorer.d.ts +8 -11
- package/dist/components/agents-sdk/WorkspaceExplorer.js +3 -3
- 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/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 +2 -1
- 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 +2 -2
- package/dist/components/agents-sdk/WorkspaceUserScript.d.ts +8 -19
- package/dist/components/agents-sdk/WorkspaceUserScript.js +3 -2
- package/dist/components/ai-sdk/Activity.d.ts +21 -90
- 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 +11 -10
- 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 +1 -1
- package/dist/components/ai-sdk/Artifact.d.ts +23 -73
- package/dist/components/ai-sdk/ChainOfThought.d.ts +19 -62
- package/dist/components/ai-sdk/Checkpoint.d.ts +13 -40
- package/dist/components/ai-sdk/CodeBlock.d.ts +1 -1
- package/dist/components/ai-sdk/ComposerLink.d.ts +6 -17
- package/dist/components/ai-sdk/ConnectedAppCards.d.ts +20 -60
- package/dist/components/ai-sdk/Context.d.ts +27 -65
- package/dist/components/ai-sdk/Context.js +1 -1
- package/dist/components/ai-sdk/Conversation.d.ts +16 -50
- 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 +1 -1
- 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/Message.d.ts +1 -1
- package/dist/components/ai-sdk/Message.js +1 -1
- package/dist/components/ai-sdk/MessageScroller.d.ts +14 -42
- package/dist/components/ai-sdk/MessageScrollerVirtual.d.ts +1 -1
- package/dist/components/ai-sdk/Plan.d.ts +32 -95
- package/dist/components/ai-sdk/Plan.js +3 -2
- package/dist/components/ai-sdk/PromptInput.d.ts +1 -1
- package/dist/components/ai-sdk/PromptInput.js +1 -1
- 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/Reasoning.d.ts +10 -32
- package/dist/components/ai-sdk/Sources.d.ts +11 -35
- package/dist/components/ai-sdk/Task.d.ts +13 -41
- 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/CodexModelSelector.d.ts +5 -22
- package/dist/components/extension/CodexModelSelector.js +1 -1
- package/dist/components/extension/ConversationTabPicker.d.ts +5 -10
- package/dist/components/extension/ConversationTabPicker.js +1 -1
- 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/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/Combobox.d.ts +13 -59
- package/dist/components/foundations/ContextMenu.d.ts +31 -93
- package/dist/components/foundations/ContextMenu.js +2 -1
- 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 +4 -2
- 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/Select.d.ts +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/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/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/general-purpose/AccountSignInDialog.d.ts +3 -10
- 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 +2 -1
- package/dist/components/general-purpose/EnvironmentVariables.d.ts +27 -93
- 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/PricingUsageCalculator.d.ts +3 -11
- package/dist/components/general-purpose/PricingUsageCalculator.js +1 -1
- 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 +1 -1
- package/dist/components/general-purpose/SettingsFormDialog.d.ts +5 -13
- package/dist/components/general-purpose/SettingsFormDialog.js +1 -1
- package/dist/components/general-purpose/SetupChecklist.d.ts +6 -18
- 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/TestResults.d.ts +39 -137
- package/dist/components/general-purpose/TestResults.js +6 -5
- package/dist/components/general-purpose/ThemeModeControl.d.ts +3 -10
- package/dist/components/general-purpose/ThemeModeControl.js +1 -1
- package/dist/components/general-purpose/WebPreview.d.ts +23 -76
- package/dist/components/nanites/AgentConnection.d.ts +11 -35
- package/dist/components/nanites/AgentToolDetail.d.ts +8 -27
- package/dist/components/nanites/AgentToolDetail.js +9 -8
- 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/{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/agent-chat.css +30 -35
- package/dist/styles/app-icon.css +1 -2
- package/dist/styles/app-top-bar.css +2 -2
- package/dist/styles/base.css +19 -10
- package/dist/styles/brand-loading.css +14 -0
- package/dist/styles/brand.test.ts +21 -0
- package/dist/styles/browser-replay.css +2 -2
- package/dist/styles/button.css +0 -2
- package/dist/styles/checkbox.css +1 -1
- package/dist/styles/composition-motion.css +13 -3
- package/dist/styles/github-motion-mark.css +2 -2
- package/dist/styles/recipes.css +19 -19
- package/dist/styles/responsive-sidebar-shell.css +11 -1
- package/dist/styles/search-field.css +1 -1
- package/dist/styles/tabs.css +1 -1
- package/dist/styles/think-routine.css +0 -2
- package/dist/styles/think-thread-picker.css +18 -5
- package/dist/styles/toggle-group.css +2 -2
- 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/package.json +41 -41
- package/dist/McpConnectorForm--HB0MEGC.d.ts +0 -39
- package/dist/icons-CCZGYUwU.d.ts +0 -299
- package/dist/{ManagerOffice-D4L_xO4i.js → ManagerOffice-CJwBAEMv.js} +2 -2
- package/dist/{workspace-assets-wW_lQLYK.js → workspace-assets-C3QT6UlQ.js} +1 -1
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { Slider as Slider$1 } from "@base-ui/react/slider";
|
|
3
|
-
|
|
4
3
|
//#region src/components/foundations/Slider.d.ts
|
|
5
|
-
type SliderRootProps<Value extends number | readonly number[] = number | readonly number[]> = Slider$1.Root.Props<Value> & React.RefAttributes<HTMLDivElement>;
|
|
6
|
-
interface SliderControlProps extends React.ComponentPropsWithRef<typeof Slider$1.Control> {}
|
|
7
|
-
interface SliderTrackProps extends React.ComponentPropsWithRef<typeof Slider$1.Track> {}
|
|
8
|
-
interface SliderIndicatorProps extends React.ComponentPropsWithRef<typeof Slider$1.Indicator> {}
|
|
9
|
-
interface SliderThumbProps extends React.ComponentPropsWithRef<typeof Slider$1.Thumb> {}
|
|
10
|
-
interface SliderValueProps extends React.ComponentPropsWithRef<typeof Slider$1.Value> {}
|
|
11
|
-
interface SliderLabelProps extends React.ComponentPropsWithRef<typeof Slider$1.Label> {}
|
|
4
|
+
export type SliderRootProps<Value extends number | readonly number[] = number | readonly number[]> = Slider$1.Root.Props<Value> & React.RefAttributes<HTMLDivElement>;
|
|
5
|
+
export interface SliderControlProps extends React.ComponentPropsWithRef<typeof Slider$1.Control> {}
|
|
6
|
+
export interface SliderTrackProps extends React.ComponentPropsWithRef<typeof Slider$1.Track> {}
|
|
7
|
+
export interface SliderIndicatorProps extends React.ComponentPropsWithRef<typeof Slider$1.Indicator> {}
|
|
8
|
+
export interface SliderThumbProps extends React.ComponentPropsWithRef<typeof Slider$1.Thumb> {}
|
|
9
|
+
export interface SliderValueProps extends React.ComponentPropsWithRef<typeof Slider$1.Value> {}
|
|
10
|
+
export interface SliderLabelProps extends React.ComponentPropsWithRef<typeof Slider$1.Label> {}
|
|
12
11
|
/**
|
|
13
12
|
* A slider component for selecting values from a range.
|
|
14
13
|
*
|
|
@@ -42,59 +41,31 @@ interface SliderLabelProps extends React.ComponentPropsWithRef<typeof Slider$1.L
|
|
|
42
41
|
*
|
|
43
42
|
* @see {@link https://base-ui.com/react/components/slider | Base UI Slider}
|
|
44
43
|
*/
|
|
45
|
-
declare function SliderRoot<Value extends number | readonly number[]>({
|
|
46
|
-
className,
|
|
47
|
-
ref,
|
|
48
|
-
...props
|
|
49
|
-
}: SliderRootProps<Value>): React.JSX.Element;
|
|
44
|
+
declare function SliderRoot<Value extends number | readonly number[]>({ className, ref, ...props }: SliderRootProps<Value>): React.JSX.Element;
|
|
50
45
|
/**
|
|
51
46
|
* The control area for the Slider (handles interactions).
|
|
52
47
|
*/
|
|
53
|
-
declare function SliderControl({
|
|
54
|
-
className,
|
|
55
|
-
ref,
|
|
56
|
-
...props
|
|
57
|
-
}: SliderControlProps): React.JSX.Element;
|
|
48
|
+
declare function SliderControl({ className, ref, ...props }: SliderControlProps): React.JSX.Element;
|
|
58
49
|
/**
|
|
59
50
|
* The track container for the Slider.
|
|
60
51
|
*/
|
|
61
|
-
declare function SliderTrack({
|
|
62
|
-
className,
|
|
63
|
-
ref,
|
|
64
|
-
...props
|
|
65
|
-
}: SliderTrackProps): React.JSX.Element;
|
|
52
|
+
declare function SliderTrack({ className, ref, ...props }: SliderTrackProps): React.JSX.Element;
|
|
66
53
|
/**
|
|
67
54
|
* The filled indicator showing current value position.
|
|
68
55
|
*/
|
|
69
|
-
declare function SliderIndicator({
|
|
70
|
-
className,
|
|
71
|
-
ref,
|
|
72
|
-
...props
|
|
73
|
-
}: SliderIndicatorProps): React.JSX.Element;
|
|
56
|
+
declare function SliderIndicator({ className, ref, ...props }: SliderIndicatorProps): React.JSX.Element;
|
|
74
57
|
/**
|
|
75
58
|
* The draggable thumb for the Slider.
|
|
76
59
|
*/
|
|
77
|
-
declare function SliderThumb({
|
|
78
|
-
className,
|
|
79
|
-
ref,
|
|
80
|
-
...props
|
|
81
|
-
}: SliderThumbProps): React.JSX.Element;
|
|
60
|
+
declare function SliderThumb({ className, ref, ...props }: SliderThumbProps): React.JSX.Element;
|
|
82
61
|
/**
|
|
83
62
|
* Displays the current value of the Slider.
|
|
84
63
|
* Note: This must be used inside a Slider component to access the value context.
|
|
85
64
|
*/
|
|
86
|
-
declare function SliderValue({
|
|
87
|
-
className,
|
|
88
|
-
ref,
|
|
89
|
-
...props
|
|
90
|
-
}: SliderValueProps): React.JSX.Element;
|
|
65
|
+
declare function SliderValue({ className, ref, ...props }: SliderValueProps): React.JSX.Element;
|
|
91
66
|
/** Visible label that participates in Base UI's slider naming relationship. */
|
|
92
|
-
declare function SliderLabel({
|
|
93
|
-
|
|
94
|
-
ref,
|
|
95
|
-
...props
|
|
96
|
-
}: SliderLabelProps): React.JSX.Element;
|
|
97
|
-
declare const Slider: {
|
|
67
|
+
declare function SliderLabel({ className, ref, ...props }: SliderLabelProps): React.JSX.Element;
|
|
68
|
+
export declare const Slider: {
|
|
98
69
|
Root: typeof SliderRoot;
|
|
99
70
|
Label: typeof SliderLabel;
|
|
100
71
|
Value: typeof SliderValue;
|
|
@@ -103,5 +74,4 @@ declare const Slider: {
|
|
|
103
74
|
Indicator: typeof SliderIndicator;
|
|
104
75
|
Thumb: typeof SliderThumb;
|
|
105
76
|
};
|
|
106
|
-
//#endregion
|
|
107
|
-
export { Slider, SliderControlProps, SliderIndicatorProps, SliderLabelProps, SliderRootProps, SliderThumbProps, SliderTrackProps, SliderValueProps };
|
|
77
|
+
//#endregion
|
|
@@ -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,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,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
|
}
|