@mcp-b/react-components 0.48.0 → 0.49.1
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/AgentChatQueue-v5890eA1.d.ts +48 -0
- package/dist/AgentToolRunsContext-GMe_hSnD.d.ts +35 -0
- package/dist/Avatar-o2NO1fCG.d.ts +124 -0
- package/dist/{Button-CZt3yywF.d.ts → Button-DjONW5UW.d.ts} +1 -1
- package/dist/{CodeBlock-C380GD5t.d.ts → CodeBlock--r6GS8YV.d.ts} +8 -2
- package/dist/{CodeBlock-BSJl682D.js → CodeBlock-g8sADidM.js} +8 -8
- package/dist/{FileTree-DvE0hNZu.js → FileTree-DruTQ-oa.js} +38 -36
- package/dist/{IconButton-BAUFhUk8.d.ts → IconButton-ByiyjkYE.d.ts} +2 -2
- package/dist/{Menu-yb6QXWA3.d.ts → Menu-CgfUZhZd.d.ts} +1 -1
- package/dist/{Message-D_vCVEGB.d.ts → Message-DyaTBiV7.d.ts} +17 -4
- package/dist/MessageScrollerVirtual-D4afYwVB.d.ts +84 -0
- package/dist/{PromptInput-DtJHyp0S.d.ts → PromptInput-4kCz3T9P.d.ts} +45 -32
- package/dist/PromptInputApproval-D2hpn54U.d.ts +44 -0
- package/dist/Separator-CzhtLYE1.d.ts +41 -0
- package/dist/Toolbar-CGY004u0.d.ts +155 -0
- package/dist/{Workspace-LIoU30n7.d.ts → Workspace-HzGrWDX3.d.ts} +1 -1
- package/dist/{WorkspaceFile-Dq-GC0_T.d.ts → WorkspaceFile-Bouauobc.d.ts} +1 -1
- package/dist/{WorkspaceFileView-C_WnYm-a.js → WorkspaceFileView-DYPtRVpM.js} +5 -4
- package/dist/{WorkspaceLink-B1d2GIGl.js → WorkspaceLink-BYZG-V_I.js} +8 -91
- package/dist/{WorkspaceMessageResponse-BqOezptB.js → WorkspaceMessageResponse-CUJk9_P5.js} +2 -2
- package/dist/components/agents-sdk/AgentActivity.js +1 -1
- package/dist/components/agents-sdk/AgentChat.d.ts +198 -2
- package/dist/components/agents-sdk/AgentChat.js +527 -672
- package/dist/components/agents-sdk/AgentChatQueue.d.ts +2 -0
- package/dist/components/agents-sdk/AgentChatQueue.js +206 -0
- package/dist/components/agents-sdk/AgentEvent.js +2 -2
- package/dist/components/agents-sdk/AgentToolRunsContext.d.ts +2 -2
- package/dist/components/agents-sdk/AgentToolRunsContext.js +1 -36
- package/dist/components/agents-sdk/BrowserLiveScreen.js +22 -14
- package/dist/components/agents-sdk/BrowserLiveView.js +1 -1
- package/dist/components/agents-sdk/BrowserReplay.d.ts +1 -1
- package/dist/components/agents-sdk/BrowserReplay.js +1 -1
- package/dist/components/agents-sdk/BrowserRunPanel.d.ts +3 -0
- package/dist/components/agents-sdk/BrowserRunPanel.js +32 -31
- package/dist/components/agents-sdk/EmployeeChrome.d.ts +212 -0
- package/dist/components/agents-sdk/EmployeeChrome.js +555 -0
- package/dist/components/agents-sdk/ManagerOffice.d.ts +79 -40
- package/dist/components/agents-sdk/ManagerOffice.js +291 -281
- package/dist/components/agents-sdk/McpConnectionRequest.d.ts +4 -4
- package/dist/components/agents-sdk/McpConnectionRequest.js +4 -3
- package/dist/components/agents-sdk/McpConnectorForm.d.ts +38 -1
- package/dist/components/agents-sdk/McpConnectorForm.js +1 -1
- package/dist/components/agents-sdk/McpPluginCatalog.d.ts +93 -1
- package/dist/components/agents-sdk/McpPluginCatalog.js +5 -4
- package/dist/components/agents-sdk/McpServerIcon.d.ts +17 -0
- package/dist/components/agents-sdk/McpServerIcon.js +25 -0
- package/dist/components/agents-sdk/McpServerPicker.d.ts +5 -4
- package/dist/components/agents-sdk/McpServerPicker.js +4 -3
- package/dist/components/agents-sdk/ModelSelector.d.ts +4 -4
- package/dist/components/agents-sdk/ModelSelector.js +4 -4
- package/dist/components/agents-sdk/PromptInputApproval.d.ts +1 -43
- package/dist/components/agents-sdk/PromptInputApproval.js +1 -1
- package/dist/components/agents-sdk/PromptInputCommands.d.ts +1 -1
- package/dist/components/agents-sdk/PromptInputCommands.js +2 -3
- package/dist/components/agents-sdk/SessionCompaction.d.ts +88 -1
- package/dist/components/agents-sdk/SessionCompaction.js +2 -2
- package/dist/components/agents-sdk/SubagentRunDetails.d.ts +30 -1
- package/dist/components/agents-sdk/SubagentRunDetails.js +57 -1
- package/dist/components/agents-sdk/SubagentRunIndicator.d.ts +9 -9
- package/dist/components/agents-sdk/SubagentRunIndicator.js +19 -24
- package/dist/components/agents-sdk/SubagentRunList.d.ts +6 -3
- package/dist/components/agents-sdk/SubagentRunList.js +4 -2
- package/dist/components/agents-sdk/SubagentRunPanel.d.ts +60 -0
- package/dist/components/agents-sdk/SubagentRunPanel.js +255 -0
- package/dist/components/agents-sdk/SubagentRunSelector.d.ts +8 -4
- package/dist/components/agents-sdk/SubagentRunSelector.js +5 -3
- package/dist/components/agents-sdk/ThinkChat.d.ts +102 -2
- package/dist/components/agents-sdk/ThinkChat.js +233 -2
- package/dist/components/agents-sdk/ThinkChatActivity.d.ts +76 -1
- package/dist/components/agents-sdk/ThinkChatActivity.js +18 -10
- package/dist/components/agents-sdk/ThinkChatContext.d.ts +27 -1
- package/dist/components/agents-sdk/ThinkChatContext.js +1 -1
- package/dist/components/agents-sdk/ThinkChatToolPanels.js +24 -19
- package/dist/components/agents-sdk/ThinkExecutionDetail.js +2 -2
- package/dist/components/agents-sdk/ThinkExecutionStatus.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkExecutionStatus.js +1 -1
- package/dist/components/agents-sdk/ThinkExecutionWorkbench.d.ts +85 -28
- package/dist/components/agents-sdk/ThinkExecutionWorkbench.js +159 -102
- package/dist/components/agents-sdk/ThinkFullApp.d.ts +40 -158
- package/dist/components/agents-sdk/ThinkFullApp.js +71 -290
- package/dist/components/agents-sdk/ThinkRecoveryNotice.d.ts +18 -1
- package/dist/components/agents-sdk/ThinkRecoveryNotice.js +1 -1
- package/dist/components/agents-sdk/ThinkRoutineActions.d.ts +51 -0
- package/dist/components/agents-sdk/ThinkRoutineActions.js +201 -0
- package/dist/components/agents-sdk/ThinkRoutineBrowser.d.ts +4 -1
- package/dist/components/agents-sdk/ThinkRoutineBrowser.js +17 -15
- package/dist/components/agents-sdk/ThinkRoutineDetail.js +11 -11
- package/dist/components/agents-sdk/ThinkRoutineForm.d.ts +2 -1
- package/dist/components/agents-sdk/ThinkRoutineForm.js +14 -14
- package/dist/components/agents-sdk/ThinkRoutineRuns.js +7 -7
- package/dist/components/agents-sdk/ThinkThreadPicker.d.ts +90 -1
- package/dist/components/agents-sdk/ThinkThreadPicker.js +3 -3
- package/dist/components/agents-sdk/Workspace.d.ts +1 -1
- package/dist/components/agents-sdk/Workspace.js +7 -13
- package/dist/components/agents-sdk/WorkspaceBrowser.d.ts +1 -1
- package/dist/components/agents-sdk/WorkspaceBrowser.js +1 -1
- package/dist/components/agents-sdk/WorkspaceConcept.d.ts +1 -1
- package/dist/components/agents-sdk/WorkspaceCorrespondence.d.ts +10 -1
- package/dist/components/agents-sdk/WorkspaceCorrespondence.js +10 -7
- package/dist/components/agents-sdk/WorkspaceExecution.d.ts +5 -14
- package/dist/components/agents-sdk/WorkspaceExecution.js +24 -38
- package/dist/components/agents-sdk/WorkspaceExplorer.d.ts +5 -2
- package/dist/components/agents-sdk/WorkspaceExplorer.js +3 -2
- package/dist/components/agents-sdk/WorkspaceFile.d.ts +1 -1
- package/dist/components/agents-sdk/WorkspaceFileView.d.ts +1 -1
- package/dist/components/agents-sdk/WorkspaceFileView.js +1 -1
- package/dist/components/agents-sdk/WorkspaceHeader.js +1 -1
- package/dist/components/agents-sdk/WorkspaceLink.js +1 -1
- package/dist/components/agents-sdk/WorkspaceLive.d.ts +60 -1
- package/dist/components/agents-sdk/WorkspaceMessageResponse.d.ts +47 -1
- package/dist/components/agents-sdk/WorkspaceMessageResponse.js +1 -1
- package/dist/components/agents-sdk/WorkspaceMountManager.d.ts +3 -2
- package/dist/components/agents-sdk/WorkspaceMountManager.js +6 -9
- package/dist/components/agents-sdk/WorkspaceNavigationRestoration.d.ts +38 -0
- package/dist/components/agents-sdk/WorkspaceNavigationRestoration.js +86 -0
- package/dist/components/agents-sdk/WorkspaceProject.d.ts +5 -14
- package/dist/components/agents-sdk/WorkspaceProject.js +21 -35
- package/dist/components/agents-sdk/WorkspaceUserScript.d.ts +1 -1
- package/dist/components/agents-sdk/WorkspaceUserScript.js +8 -5
- package/dist/components/ai-sdk/Activity.d.ts +1 -1
- package/dist/components/ai-sdk/Activity.js +1 -1
- package/dist/components/ai-sdk/AgentAttention.d.ts +2 -2
- package/dist/components/ai-sdk/AgentChatMessageEditor.js +5 -1
- package/dist/components/ai-sdk/AgentChatStartScreen.d.ts +89 -2
- package/dist/components/ai-sdk/AgentChatStartScreen.js +64 -43
- package/dist/components/ai-sdk/AgentMessageParts.d.ts +45 -1
- package/dist/components/ai-sdk/Approval.d.ts +1 -1
- package/dist/components/ai-sdk/Approval.js +2 -2
- package/dist/components/ai-sdk/Artifact.d.ts +2 -2
- package/dist/components/ai-sdk/Artifact.js +1 -1
- package/dist/components/ai-sdk/ChainOfThought.d.ts +1 -1
- package/dist/components/ai-sdk/ChainOfThought.js +1 -1
- 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.js +2 -3
- package/dist/components/ai-sdk/ConnectedAppCards.d.ts +9 -1
- package/dist/components/ai-sdk/ConnectedAppCards.js +28 -21
- package/dist/components/ai-sdk/Context.d.ts +7 -3
- package/dist/components/ai-sdk/Context.js +7 -17
- package/dist/components/ai-sdk/Conversation.d.ts +2 -2
- package/dist/components/ai-sdk/Conversation.js +1 -1
- package/dist/components/ai-sdk/Goal.d.ts +3 -3
- package/dist/components/ai-sdk/Goal.js +3 -3
- package/dist/components/ai-sdk/InlineCitation.d.ts +1 -1
- package/dist/components/ai-sdk/MediaPreviewCard.d.ts +1 -1
- package/dist/components/ai-sdk/MediaPreviewCard.js +1 -1
- package/dist/components/ai-sdk/Message.d.ts +2 -2
- package/dist/components/ai-sdk/Message.js +12 -3
- package/dist/components/ai-sdk/MessageScroller.d.ts +1 -1
- package/dist/components/ai-sdk/MessageScroller.js +1 -1
- package/dist/components/ai-sdk/MessageScrollerVirtual.d.ts +2 -76
- package/dist/components/ai-sdk/MessageScrollerVirtual.js +40 -5
- package/dist/components/ai-sdk/Plan.d.ts +1 -1
- package/dist/components/ai-sdk/Plan.js +1 -1
- package/dist/components/ai-sdk/PromptInput.d.ts +2 -2
- package/dist/components/ai-sdk/PromptInput.js +175 -231
- package/dist/components/ai-sdk/PromptInputComposerEditor.js +32 -9
- package/dist/components/ai-sdk/Queue.d.ts +28 -5
- package/dist/components/ai-sdk/Queue.js +20 -5
- package/dist/components/ai-sdk/Reasoning.d.ts +1 -1
- package/dist/components/ai-sdk/Reasoning.js +5 -5
- package/dist/components/ai-sdk/Sources.d.ts +1 -1
- package/dist/components/ai-sdk/Sources.js +1 -1
- package/dist/components/ai-sdk/Task.d.ts +1 -1
- package/dist/components/ai-sdk/Task.js +1 -1
- package/dist/components/extension/ChatGptSignInScreen.d.ts +1 -1
- package/dist/components/extension/ChatGptSignInScreen.js +1 -1
- package/dist/components/extension/CodexModelSelector.d.ts +6 -1
- package/dist/components/extension/CodexModelSelector.js +3 -3
- package/dist/components/extension/ConversationTabPicker.d.ts +1 -0
- package/dist/components/extension/ConversationTabPicker.js +2 -2
- package/dist/components/foundations/AlertDialog.d.ts +1 -1
- package/dist/components/foundations/AppIcon.d.ts +3 -2
- package/dist/components/foundations/Autocomplete.js +6 -1
- package/dist/components/foundations/Avatar.d.ts +1 -121
- package/dist/components/foundations/Button.d.ts +1 -1
- package/dist/components/foundations/Card.d.ts +22 -27
- package/dist/components/foundations/Card.js +51 -32
- package/dist/components/foundations/Checkbox.js +1 -1
- package/dist/components/foundations/CheckboxGroup.d.ts +1 -1
- package/dist/components/foundations/Collapsible.d.ts +1 -1
- package/dist/components/foundations/Collapsible.js +1 -1
- package/dist/components/foundations/Combobox.js +6 -1
- package/dist/components/foundations/ContextMenu.d.ts +10 -23
- package/dist/components/foundations/ContextMenu.js +3 -2
- package/dist/components/foundations/Dialog.d.ts +106 -1
- package/dist/components/foundations/EmptyState.d.ts +1 -1
- package/dist/components/foundations/Field.d.ts +2 -1
- package/dist/components/foundations/Fieldset.d.ts +1 -1
- package/dist/components/foundations/Form.d.ts +4 -4
- package/dist/components/foundations/IconButton.d.ts +1 -1
- package/dist/components/foundations/Label.d.ts +1 -1
- package/dist/components/foundations/LinkButton.d.ts +2 -2
- package/dist/components/foundations/Menu.d.ts +1 -1
- package/dist/components/foundations/Menubar.d.ts +1 -1
- package/dist/components/foundations/Menubar.js +1 -1
- package/dist/components/foundations/Meter.d.ts +1 -1
- package/dist/components/foundations/NumberField.d.ts +1 -1
- package/dist/components/foundations/PreviewCard.d.ts +1 -1
- package/dist/components/foundations/ScrollArea.d.ts +1 -1
- package/dist/components/foundations/SearchField.d.ts +1 -1
- package/dist/components/foundations/SearchField.js +1 -1
- package/dist/components/foundations/Select.js +7 -2
- package/dist/components/foundations/Separator.d.ts +1 -40
- package/dist/components/foundations/Stepper.d.ts +1 -1
- package/dist/components/foundations/Stepper.js +1 -1
- package/dist/components/foundations/Textarea.d.ts +1 -1
- package/dist/components/foundations/Toast.d.ts +5 -1
- package/dist/components/foundations/Toast.js +1 -1
- package/dist/components/foundations/Toggle.d.ts +70 -1
- package/dist/components/foundations/ToggleGroup.d.ts +4 -3
- package/dist/components/foundations/ToggleGroup.js +1 -1
- package/dist/components/foundations/Toolbar.d.ts +1 -151
- package/dist/components/foundations/Tooltip.d.ts +1 -1
- package/dist/components/foundations/TransitionSurface.d.ts +1 -1
- package/dist/components/foundations/icons.js +1 -1
- package/dist/components/general-purpose/ActionGuide.d.ts +10 -26
- package/dist/components/general-purpose/ActionGuide.js +4 -18
- package/dist/components/general-purpose/AppTopBar.d.ts +4 -2
- package/dist/components/general-purpose/Commit.d.ts +2 -2
- package/dist/components/general-purpose/Commit.js +2 -2
- package/dist/components/general-purpose/EnvironmentVariables.d.ts +2 -2
- package/dist/components/general-purpose/EnvironmentVariables.js +2 -2
- package/dist/components/general-purpose/FileTree.d.ts +1 -7
- package/dist/components/general-purpose/FileTree.js +1 -1
- package/dist/components/general-purpose/PricingPlanCard.d.ts +4 -0
- package/dist/components/general-purpose/PricingPlanCard.js +2 -2
- package/dist/components/general-purpose/PricingUsageCalculator.js +2 -2
- package/dist/components/general-purpose/ResizableSidePanel.d.ts +2 -2
- package/dist/components/general-purpose/ResponsiveSidebarShell.d.ts +128 -2
- package/dist/components/general-purpose/ResponsiveSidebarShell.js +120 -102
- package/dist/components/general-purpose/SettingsFormDialog.d.ts +14 -27
- package/dist/components/general-purpose/SettingsFormDialog.js +42 -72
- package/dist/components/general-purpose/SetupChecklist.d.ts +1 -0
- package/dist/components/general-purpose/SetupChecklist.js +76 -1
- package/dist/components/general-purpose/Terminal.d.ts +3 -3
- package/dist/components/general-purpose/Terminal.js +11 -6
- package/dist/components/general-purpose/TestResults.d.ts +23 -11
- package/dist/components/general-purpose/TestResults.js +49 -51
- package/dist/components/general-purpose/ThemeModeControl.d.ts +2 -0
- package/dist/components/general-purpose/ThemeModeControl.js +2 -2
- package/dist/components/general-purpose/WebPreview.d.ts +29 -4
- package/dist/components/general-purpose/WebPreview.js +39 -14
- package/dist/components/nanites/AgentConnection.js +2 -2
- package/dist/components/nanites/AgentToolDetail.d.ts +13 -11
- package/dist/components/nanites/AgentToolDetail.js +21 -42
- package/dist/{copy-button-Dk2vRe9j.js → copy-button-CSDuDfdP.js} +1 -1
- package/dist/{copy-button-C0JyjClr.d.ts → copy-button-OUwOdgEm.d.ts} +1 -1
- package/dist/mcp-server-mAErsxHU.js +27 -0
- package/dist/styles/accessibility.css +20 -0
- package/dist/styles/activity.css +1 -96
- package/dist/styles/agent-chat.css +75 -102
- package/dist/styles/agent-tool-detail.css +0 -16
- package/dist/styles/base.css +1 -9
- package/dist/styles/browser-run-panel.css +1 -15
- package/dist/styles/button.css +7 -1
- package/dist/styles/code-block.css +12 -0
- package/dist/styles/codex-model-selector.css +4 -0
- package/dist/styles/color-contrast.test.ts +212 -0
- package/dist/styles/composition-motion.css +0 -2
- package/dist/styles/employee-chrome.css +43 -0
- package/dist/styles/file-tree.css +10 -1
- package/dist/styles/index.css +4 -2
- package/dist/styles/manager-office.css +5 -5
- package/dist/styles/message.css +2 -10
- package/dist/styles/queue.css +71 -0
- package/dist/styles/responsive-sidebar-shell.css +1 -1
- package/dist/styles/subagent-run.css +122 -6
- package/dist/styles/test-results.css +2 -5
- package/dist/styles/think-chat-activity.css +13 -0
- package/dist/styles/think-chat-tool-panels.css +81 -0
- package/dist/styles/think-execution-workbench.css +2 -8
- package/dist/styles/think-full-app.css +42 -251
- package/dist/styles/{think-routine-library.css → think-routine.css} +64 -80
- package/dist/styles/web-preview.css +15 -1
- package/dist/utils/codex-model-catalog.d.ts +25 -6
- package/dist/utils/codex-model-catalog.js +22 -5
- package/dist/utils/mcp-server-catalog.d.ts +1112 -2
- package/dist/utils/mcp-server-catalog.js +28 -9
- package/dist/utils/structured-code.d.ts +1 -1
- package/dist/{workspace-assets-GqsCYxqT.js → workspace-assets-Bg7XhPsk.js} +2 -2
- package/package.json +8 -4
- package/dist/AgentChat-BLmQghkt.d.ts +0 -327
- package/dist/AgentChatStartScreen-Bkv7Avni.d.ts +0 -84
- package/dist/AgentMessageParts-C7L-Mv9U.d.ts +0 -46
- package/dist/AgentToolRunsContext-jtmveaRE.d.ts +0 -57
- package/dist/Dialog-B_FhRWaz.d.ts +0 -107
- package/dist/McpConnectorForm-CeYNY0MI.d.ts +0 -39
- package/dist/McpPluginCatalog-3qWu8oK1.d.ts +0 -92
- package/dist/ResponsiveSidebarShell-BTVPxLJK.d.ts +0 -123
- package/dist/SessionCompaction-CmTJFpzj.d.ts +0 -89
- package/dist/SetupChecklist-DeTU9YpW.js +0 -77
- package/dist/ThinkChat-CwMdEum8.d.ts +0 -185
- package/dist/ThinkChat-DiI6hhDP.js +0 -332
- package/dist/ThinkChatActivity-B3lGVS-6.d.ts +0 -77
- package/dist/ThinkChatContext-COIgzkYp.d.ts +0 -28
- package/dist/ThinkRecoveryNotice-DGWr94rk.d.ts +0 -19
- package/dist/ThinkThreadPicker-yFz4vvIf.d.ts +0 -91
- package/dist/Toggle-DLrIf5YH.d.ts +0 -69
- package/dist/WorkspaceLive-DfjH1Ypm.d.ts +0 -61
- package/dist/WorkspaceMessageResponse-kJYU8Onj.d.ts +0 -48
- package/dist/components/agents-sdk/ThinkFullAppViewSwitch.d.ts +0 -31
- package/dist/components/agents-sdk/ThinkFullAppViewSwitch.js +0 -34
- package/dist/components/agents-sdk/ThinkRoutineLibrary.d.ts +0 -80
- package/dist/components/agents-sdk/ThinkRoutineLibrary.js +0 -159
- package/dist/components/agents-sdk/ThinkSidepanel.d.ts +0 -200
- package/dist/components/agents-sdk/ThinkSidepanel.js +0 -775
- package/dist/mcp-server-7NR24ASj.js +0 -69
- package/dist/mcp-server-catalog-C_g7C-9o.d.ts +0 -1108
- package/dist/styles/think-sidepanel.css +0 -78
- package/dist/think-agent-Cip5KAPj.d.ts +0 -7
- package/dist/{icons-CeGfXO21.js → icons-cuEtsgj9.js} +1 -1
|
@@ -5,7 +5,11 @@ import { Toast as Toast$1 } from "@base-ui/react/toast";
|
|
|
5
5
|
/**
|
|
6
6
|
* Props for the Toast.Provider component.
|
|
7
7
|
*/
|
|
8
|
-
|
|
8
|
+
type BaseToastProviderProps = React.ComponentPropsWithoutRef<typeof Toast$1.Provider>;
|
|
9
|
+
interface ToastProviderProps extends Omit<BaseToastProviderProps, "children"> {
|
|
10
|
+
/** Application subtree whose toast state is managed by this provider. */
|
|
11
|
+
children?: BaseToastProviderProps["children"];
|
|
12
|
+
}
|
|
9
13
|
/**
|
|
10
14
|
* Props for the Toast.Viewport component.
|
|
11
15
|
*/
|
|
@@ -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-cuEtsgj9.js";
|
|
3
3
|
import { buttonVariants } from "./Button.js";
|
|
4
4
|
import "react";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -1,2 +1,71 @@
|
|
|
1
|
-
import
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { Toggle as Toggle$1 } from "@base-ui/react/toggle";
|
|
3
|
+
|
|
4
|
+
//#region src/components/foundations/Toggle.d.ts
|
|
5
|
+
interface ToggleVariantsOptions {
|
|
6
|
+
/** Visual treatment; `outline` adds a bordered control surface. */
|
|
7
|
+
variant?: "default" | "outline" | null;
|
|
8
|
+
/** Control height and inline spacing. */
|
|
9
|
+
size?: "sm" | "md" | "lg" | null;
|
|
10
|
+
className?: string;
|
|
11
|
+
}
|
|
12
|
+
/**
|
|
13
|
+
* Props for the Toggle component.
|
|
14
|
+
*/
|
|
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;
|
|
21
|
+
/**
|
|
22
|
+
* A two-state button that can be on (pressed) or off.
|
|
23
|
+
* Useful for toggling a setting or mode.
|
|
24
|
+
*
|
|
25
|
+
* @example
|
|
26
|
+
* ```tsx
|
|
27
|
+
* // Basic toggle
|
|
28
|
+
* <Toggle>
|
|
29
|
+
* Bold
|
|
30
|
+
* </Toggle>
|
|
31
|
+
* ```
|
|
32
|
+
*
|
|
33
|
+
* @example
|
|
34
|
+
* ```tsx
|
|
35
|
+
* // Controlled toggle
|
|
36
|
+
* const [pressed, setPressed] = useState(false);
|
|
37
|
+
*
|
|
38
|
+
* <Toggle pressed={pressed} onPressedChange={setPressed}>
|
|
39
|
+
* {pressed ? 'On' : 'Off'}
|
|
40
|
+
* </Toggle>
|
|
41
|
+
* ```
|
|
42
|
+
*
|
|
43
|
+
* @example
|
|
44
|
+
* ```tsx
|
|
45
|
+
* // With icons
|
|
46
|
+
* <Toggle>
|
|
47
|
+
* {({ pressed }) => pressed ? <BoldIcon filled /> : <BoldIcon />}
|
|
48
|
+
* </Toggle>
|
|
49
|
+
* ```
|
|
50
|
+
*
|
|
51
|
+
* @example
|
|
52
|
+
* ```tsx
|
|
53
|
+
* // Default pressed state
|
|
54
|
+
* <Toggle defaultPressed>
|
|
55
|
+
* Enabled
|
|
56
|
+
* </Toggle>
|
|
57
|
+
* ```
|
|
58
|
+
*
|
|
59
|
+
* @see {@link https://base-ui.com/react/components/toggle | Base UI Toggle}
|
|
60
|
+
*/
|
|
61
|
+
declare function Toggle({
|
|
62
|
+
className,
|
|
63
|
+
variant,
|
|
64
|
+
size,
|
|
65
|
+
ref,
|
|
66
|
+
...props
|
|
67
|
+
}: ToggleProps & {
|
|
68
|
+
/** Ref forwarded to the component's rendered root element. */ref?: React.Ref<HTMLButtonElement>;
|
|
69
|
+
}): React.JSX.Element;
|
|
70
|
+
//#endregion
|
|
2
71
|
export { Toggle, ToggleProps, ToggleVariantsOptions, toggleVariants };
|
|
@@ -1,17 +1,18 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ToggleVariantsOptions } from "./Toggle.js";
|
|
2
2
|
import * as React from "react";
|
|
3
|
-
import { Toggle } from "@base-ui/react/toggle";
|
|
4
3
|
import { ToggleGroup as ToggleGroup$1 } from "@base-ui/react/toggle-group";
|
|
4
|
+
import { Toggle } from "@base-ui/react/toggle";
|
|
5
5
|
|
|
6
6
|
//#region src/components/foundations/ToggleGroup.d.ts
|
|
7
7
|
type ToggleGroupSize = ToggleVariantsOptions["size"];
|
|
8
8
|
type ToggleGroupProps<Value extends string = string> = ToggleGroup$1.Props<Value> & {
|
|
9
|
+
/** Axis used for roving focus and group layout. */orientation?: ToggleGroup$1.Props<Value>["orientation"]; /** Visual treatment inherited by every item in the group. */
|
|
9
10
|
variant?: ToggleVariantsOptions["variant"];
|
|
10
11
|
/**
|
|
11
12
|
* The size of the toggle group.
|
|
12
13
|
* @default 'md'
|
|
13
14
|
*/
|
|
14
|
-
size?: ToggleGroupSize;
|
|
15
|
+
size?: ToggleGroupSize; /** Gap between items in CSS pixels; use `0` for a connected segmented control. */
|
|
15
16
|
spacing?: number;
|
|
16
17
|
/**
|
|
17
18
|
* Draws one shared thumb that slides between segments rather than lighting up
|
|
@@ -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 { Toggle } from "@base-ui/react/toggle";
|
|
7
6
|
import { ToggleGroup as ToggleGroup$1 } from "@base-ui/react/toggle-group";
|
|
7
|
+
import { Toggle } from "@base-ui/react/toggle";
|
|
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,152 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { Toolbar as Toolbar$1 } from "@base-ui/react/toolbar";
|
|
3
|
-
|
|
4
|
-
//#region src/components/foundations/Toolbar.d.ts
|
|
5
|
-
/**
|
|
6
|
-
* Props for the Toolbar.Root component.
|
|
7
|
-
*/
|
|
8
|
-
interface ToolbarRootProps extends React.ComponentPropsWithoutRef<typeof Toolbar$1.Root> {}
|
|
9
|
-
/**
|
|
10
|
-
* Props for the Toolbar.Button component.
|
|
11
|
-
*/
|
|
12
|
-
interface ToolbarButtonProps extends React.ComponentPropsWithoutRef<typeof Toolbar$1.Button> {
|
|
13
|
-
/** Skip the default Button chrome when a composed control owns its visuals. */
|
|
14
|
-
unstyled?: boolean;
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* Props for the Toolbar.Link component.
|
|
18
|
-
*/
|
|
19
|
-
interface ToolbarLinkProps extends React.ComponentPropsWithoutRef<typeof Toolbar$1.Link> {
|
|
20
|
-
/** Skip the default Button chrome when a composed link owns its visuals. */
|
|
21
|
-
unstyled?: boolean;
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* Props for the Toolbar.Group component.
|
|
25
|
-
*/
|
|
26
|
-
interface ToolbarGroupProps extends React.ComponentPropsWithoutRef<typeof Toolbar$1.Group> {}
|
|
27
|
-
/**
|
|
28
|
-
* Props for the Toolbar.Separator component.
|
|
29
|
-
*/
|
|
30
|
-
interface ToolbarSeparatorProps extends React.ComponentPropsWithoutRef<typeof Toolbar$1.Separator> {}
|
|
31
|
-
/**
|
|
32
|
-
* Props for the Toolbar.Input component.
|
|
33
|
-
*/
|
|
34
|
-
interface ToolbarInputProps extends React.ComponentPropsWithoutRef<typeof Toolbar$1.Input> {}
|
|
35
|
-
/**
|
|
36
|
-
* Container for grouping toolbar buttons and controls.
|
|
37
|
-
*
|
|
38
|
-
* @example
|
|
39
|
-
* ```tsx
|
|
40
|
-
* <Toolbar.Root>
|
|
41
|
-
* <Toolbar.Button>Bold</Toolbar.Button>
|
|
42
|
-
* <Toolbar.Button>Italic</Toolbar.Button>
|
|
43
|
-
* <Toolbar.Separator />
|
|
44
|
-
* <Toolbar.Button>Align Left</Toolbar.Button>
|
|
45
|
-
* </Toolbar.Root>
|
|
46
|
-
* ```
|
|
47
|
-
*
|
|
48
|
-
* @see {@link https://base-ui.com/react/components/toolbar | Base UI Toolbar}
|
|
49
|
-
*/
|
|
50
|
-
declare function ToolbarRoot({
|
|
51
|
-
className,
|
|
52
|
-
ref,
|
|
53
|
-
...props
|
|
54
|
-
}: ToolbarRootProps & {
|
|
55
|
-
ref?: React.Ref<HTMLDivElement>;
|
|
56
|
-
}): React.JSX.Element;
|
|
57
|
-
/**
|
|
58
|
-
* A clickable button within the toolbar.
|
|
59
|
-
*/
|
|
60
|
-
declare function ToolbarButton({
|
|
61
|
-
unstyled,
|
|
62
|
-
className,
|
|
63
|
-
ref,
|
|
64
|
-
...props
|
|
65
|
-
}: ToolbarButtonProps & {
|
|
66
|
-
ref?: React.Ref<HTMLButtonElement>;
|
|
67
|
-
}): React.JSX.Element;
|
|
68
|
-
/**
|
|
69
|
-
* A link element within the toolbar.
|
|
70
|
-
*/
|
|
71
|
-
declare function ToolbarLink({
|
|
72
|
-
unstyled,
|
|
73
|
-
className,
|
|
74
|
-
ref,
|
|
75
|
-
...props
|
|
76
|
-
}: ToolbarLinkProps & {
|
|
77
|
-
ref?: React.Ref<HTMLAnchorElement>;
|
|
78
|
-
}): React.JSX.Element;
|
|
79
|
-
/**
|
|
80
|
-
* Groups toolbar items together.
|
|
81
|
-
*/
|
|
82
|
-
declare function ToolbarGroup({
|
|
83
|
-
className,
|
|
84
|
-
ref,
|
|
85
|
-
...props
|
|
86
|
-
}: ToolbarGroupProps & {
|
|
87
|
-
ref?: React.Ref<HTMLDivElement>;
|
|
88
|
-
}): React.JSX.Element;
|
|
89
|
-
/**
|
|
90
|
-
* Visual separator between toolbar sections.
|
|
91
|
-
*/
|
|
92
|
-
declare function ToolbarSeparator({
|
|
93
|
-
className,
|
|
94
|
-
ref,
|
|
95
|
-
...props
|
|
96
|
-
}: ToolbarSeparatorProps & {
|
|
97
|
-
ref?: React.Ref<HTMLDivElement>;
|
|
98
|
-
}): React.JSX.Element;
|
|
99
|
-
/**
|
|
100
|
-
* Input element within the toolbar.
|
|
101
|
-
*/
|
|
102
|
-
declare function ToolbarInput({
|
|
103
|
-
className,
|
|
104
|
-
ref,
|
|
105
|
-
...props
|
|
106
|
-
}: ToolbarInputProps & {
|
|
107
|
-
ref?: React.Ref<HTMLInputElement>;
|
|
108
|
-
}): React.JSX.Element;
|
|
109
|
-
/**
|
|
110
|
-
* A container for grouping buttons and controls.
|
|
111
|
-
* Provides keyboard navigation between items.
|
|
112
|
-
*
|
|
113
|
-
* @example
|
|
114
|
-
* ```tsx
|
|
115
|
-
* // Text formatting toolbar
|
|
116
|
-
* <Toolbar.Root>
|
|
117
|
-
* <Toolbar.Group>
|
|
118
|
-
* <Toolbar.Button>Bold</Toolbar.Button>
|
|
119
|
-
* <Toolbar.Button>Italic</Toolbar.Button>
|
|
120
|
-
* <Toolbar.Button>Underline</Toolbar.Button>
|
|
121
|
-
* </Toolbar.Group>
|
|
122
|
-
* <Toolbar.Separator />
|
|
123
|
-
* <Toolbar.Group>
|
|
124
|
-
* <Toolbar.Button>Left</Toolbar.Button>
|
|
125
|
-
* <Toolbar.Button>Center</Toolbar.Button>
|
|
126
|
-
* <Toolbar.Button>Right</Toolbar.Button>
|
|
127
|
-
* </Toolbar.Group>
|
|
128
|
-
* </Toolbar.Root>
|
|
129
|
-
* ```
|
|
130
|
-
*
|
|
131
|
-
* @example
|
|
132
|
-
* ```tsx
|
|
133
|
-
* // Vertical toolbar
|
|
134
|
-
* <Toolbar.Root orientation="vertical">
|
|
135
|
-
* <Toolbar.Button>Item 1</Toolbar.Button>
|
|
136
|
-
* <Toolbar.Button>Item 2</Toolbar.Button>
|
|
137
|
-
* <Toolbar.Button>Item 3</Toolbar.Button>
|
|
138
|
-
* </Toolbar.Root>
|
|
139
|
-
* ```
|
|
140
|
-
*
|
|
141
|
-
* @see {@link https://base-ui.com/react/components/toolbar | Base UI Toolbar}
|
|
142
|
-
*/
|
|
143
|
-
declare const Toolbar: {
|
|
144
|
-
Root: typeof ToolbarRoot;
|
|
145
|
-
Button: typeof ToolbarButton;
|
|
146
|
-
Link: typeof ToolbarLink;
|
|
147
|
-
Group: typeof ToolbarGroup;
|
|
148
|
-
Separator: typeof ToolbarSeparator;
|
|
149
|
-
Input: typeof ToolbarInput;
|
|
150
|
-
};
|
|
151
|
-
//#endregion
|
|
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-CGY004u0.js";
|
|
152
2
|
export { Toolbar, ToolbarButtonProps, ToolbarGroupProps, ToolbarInputProps, ToolbarLinkProps, ToolbarRootProps, ToolbarSeparatorProps };
|
|
@@ -80,7 +80,7 @@ declare function TooltipArrow({
|
|
|
80
80
|
*/
|
|
81
81
|
declare const Tooltip: {
|
|
82
82
|
createHandle: typeof Tooltip$1.createHandle;
|
|
83
|
-
Root: <Payload>(props: Tooltip$1.Root.Props<Payload>) =>
|
|
83
|
+
Root: <Payload>(props: Tooltip$1.Root.Props<Payload>) => React.JSX.Element;
|
|
84
84
|
Provider: typeof TooltipProvider;
|
|
85
85
|
Trigger: typeof TooltipTrigger;
|
|
86
86
|
Portal: React.ForwardRefExoticComponent<Omit<import("@base-ui/react").TooltipPortalProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -21,7 +21,7 @@ declare function TransitionSurface({
|
|
|
21
21
|
ref,
|
|
22
22
|
...props
|
|
23
23
|
}: TransitionSurfaceProps & {
|
|
24
|
-
ref?: React.Ref<HTMLDivElement>;
|
|
24
|
+
/** Ref forwarded to the component's rendered root element. */ref?: React.Ref<HTMLDivElement>;
|
|
25
25
|
}): React.JSX.Element;
|
|
26
26
|
//#endregion
|
|
27
27
|
export { TransitionSurface, TransitionSurfaceProps, TransitionSurfaceVariant };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as UserIcon, A as McpIcon, B as PlusIcon, C as FolderIcon, D as LinkIcon, E as KeyboardIcon, F as MoonIcon, G as SlackIcon, H as RefreshIcon, I as PaperclipIcon, J as StopIcon, K as SpinnerIcon, L as PauseIcon, M as MicrophoneIcon, N as MinusIcon, O as MailIcon, P as MonitorIcon, Q as TrashIcon, R as PencilIcon, S as FileIcon, T as InfoIcon, U as SearchIcon, V as QueueIcon, W as SidebarIcon, X as TargetIcon, Y as SunIcon, Z as TerminalIcon, _ as DotIcon, a as ArrowUpIcon, b as EyeIcon, c as BoxIcon, d as CheckIcon, et as WarningIcon, f as ChevronDownIcon, g as DiscordIcon, h as CopyIcon, i as ArrowRightIcon, j as MessageSquareIcon, k as MaximizeIcon, l as BrainIcon, m as CodeIcon, n as ArrowDownIcon, nt as XIcon, o as ArrowUpRightIcon, p as ChevronRightIcon, q as SquareIcon, r as ArrowLeftIcon, s as BookmarkIcon, t as ArchiveIcon, tt as WrenchIcon, u as CalendarIcon, v as DownloadIcon, w as FolderOpenIcon, x as EyeOffIcon, y as EllipsisIcon, z as PlayIcon } from "../../icons-
|
|
1
|
+
import { $ as UserIcon, A as McpIcon, B as PlusIcon, C as FolderIcon, D as LinkIcon, E as KeyboardIcon, F as MoonIcon, G as SlackIcon, H as RefreshIcon, I as PaperclipIcon, J as StopIcon, K as SpinnerIcon, L as PauseIcon, M as MicrophoneIcon, N as MinusIcon, O as MailIcon, P as MonitorIcon, Q as TrashIcon, R as PencilIcon, S as FileIcon, T as InfoIcon, U as SearchIcon, V as QueueIcon, W as SidebarIcon, X as TargetIcon, Y as SunIcon, Z as TerminalIcon, _ as DotIcon, a as ArrowUpIcon, b as EyeIcon, c as BoxIcon, d as CheckIcon, et as WarningIcon, f as ChevronDownIcon, g as DiscordIcon, h as CopyIcon, i as ArrowRightIcon, j as MessageSquareIcon, k as MaximizeIcon, l as BrainIcon, m as CodeIcon, n as ArrowDownIcon, nt as XIcon, o as ArrowUpRightIcon, p as ChevronRightIcon, q as SquareIcon, r as ArrowLeftIcon, s as BookmarkIcon, t as ArchiveIcon, tt as WrenchIcon, u as CalendarIcon, v as DownloadIcon, w as FolderOpenIcon, x as EyeOffIcon, y as EllipsisIcon, z as PlayIcon } from "../../icons-cuEtsgj9.js";
|
|
2
2
|
export { ArchiveIcon, ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, ArrowUpRightIcon, BookmarkIcon, BoxIcon, BrainIcon, CalendarIcon, CheckIcon, ChevronDownIcon, ChevronRightIcon, CodeIcon, CopyIcon, DiscordIcon, DotIcon, DownloadIcon, EllipsisIcon, EyeIcon, EyeOffIcon, FileIcon, FolderIcon, FolderOpenIcon, InfoIcon, KeyboardIcon, LinkIcon, MailIcon, MaximizeIcon, McpIcon, MessageSquareIcon, MicrophoneIcon, MinusIcon, MonitorIcon, MoonIcon, PaperclipIcon, PauseIcon, PencilIcon, PlayIcon, PlusIcon, QueueIcon, RefreshIcon, SearchIcon, SidebarIcon, SlackIcon, SpinnerIcon, SquareIcon, StopIcon, SunIcon, TargetIcon, TerminalIcon, TrashIcon, UserIcon, WarningIcon, WrenchIcon, XIcon };
|
|
@@ -1,36 +1,21 @@
|
|
|
1
|
-
import { r as ButtonProps } from "../../Button-
|
|
1
|
+
import { r as ButtonProps } from "../../Button-DjONW5UW.js";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/general-purpose/ActionGuide.d.ts
|
|
5
5
|
type ActionGuideHeadingLevel = 2 | 3 | 4 | 5 | 6;
|
|
6
6
|
type ActionGuideListLayout = "compact" | "cards" | "list";
|
|
7
|
-
interface
|
|
8
|
-
id: string;
|
|
9
|
-
label: React.ReactNode;
|
|
10
|
-
icon?: React.ReactNode;
|
|
11
|
-
variant?: "surface" | "ghost";
|
|
12
|
-
disabled?: boolean;
|
|
13
|
-
}
|
|
14
|
-
interface ActionGuideSectionItem {
|
|
15
|
-
id: string;
|
|
16
|
-
title: React.ReactNode;
|
|
17
|
-
layout?: ActionGuideListLayout;
|
|
18
|
-
actions: readonly ActionGuideActionItem[];
|
|
19
|
-
}
|
|
20
|
-
interface ActionGuideProps extends Omit<React.ComponentPropsWithoutRef<"article">, "children" | "title"> {
|
|
7
|
+
interface ActionGuideProps extends Omit<React.ComponentPropsWithoutRef<"article">, "title"> {
|
|
21
8
|
/** Short, task-oriented introduction to the guide. */
|
|
22
9
|
title: React.ReactNode;
|
|
23
10
|
/** Optional sentence that explains what the guide helps the user do. */
|
|
24
11
|
description?: React.ReactNode;
|
|
25
12
|
/** Semantic heading level for the guide title. */
|
|
26
13
|
headingLevel?: ActionGuideHeadingLevel;
|
|
27
|
-
/**
|
|
28
|
-
|
|
29
|
-
/** Central action policy for data-driven sections. */
|
|
30
|
-
onAction: (action: ActionGuideActionItem) => void;
|
|
14
|
+
/** Compose sections, lists, and actions explicitly; the host owns each action. */
|
|
15
|
+
children?: React.ReactNode;
|
|
31
16
|
}
|
|
32
17
|
/**
|
|
33
|
-
* App-agnostic
|
|
18
|
+
* App-agnostic article composed from product-owned sections and actions.
|
|
34
19
|
*
|
|
35
20
|
* Product code owns the copy, icons, availability, and click behavior. This
|
|
36
21
|
* component owns only the shared article rhythm and responsive layout.
|
|
@@ -39,15 +24,14 @@ declare function ActionGuide({
|
|
|
39
24
|
title,
|
|
40
25
|
description,
|
|
41
26
|
headingLevel,
|
|
42
|
-
|
|
43
|
-
onAction,
|
|
27
|
+
children,
|
|
44
28
|
className,
|
|
45
29
|
"aria-label": ariaLabel,
|
|
46
30
|
"aria-labelledby": ariaLabelledBy,
|
|
47
31
|
ref,
|
|
48
32
|
...props
|
|
49
33
|
}: ActionGuideProps & {
|
|
50
|
-
ref?: React.Ref<HTMLElement>;
|
|
34
|
+
/** Ref forwarded to the component's rendered root element. */ref?: React.Ref<HTMLElement>;
|
|
51
35
|
}): React.JSX.Element;
|
|
52
36
|
interface ActionGuideSectionProps extends Omit<React.ComponentPropsWithoutRef<"section">, "title"> {
|
|
53
37
|
/** Label for this group of related actions. */
|
|
@@ -81,13 +65,13 @@ declare function ActionGuideList({
|
|
|
81
65
|
}: ActionGuideListProps & {
|
|
82
66
|
ref?: React.Ref<HTMLUListElement>;
|
|
83
67
|
}): React.JSX.Element;
|
|
84
|
-
interface ActionGuideActionProps extends Omit<ButtonProps, "color" | "iconOnly" | "
|
|
68
|
+
interface ActionGuideActionProps extends Omit<ButtonProps, "color" | "iconOnly" | "size" | "variant"> {
|
|
85
69
|
/** Decorative leading glyph or app mark. */
|
|
86
70
|
icon?: React.ReactNode;
|
|
87
71
|
/** Raised actions are prominent; ghost actions form a quieter task list. */
|
|
88
72
|
variant?: "surface" | "ghost";
|
|
89
73
|
}
|
|
90
|
-
/** One
|
|
74
|
+
/** One Button action, supporting Base UI render composition, inside an {@link ActionGuideList}. */
|
|
91
75
|
declare function ActionGuideAction({
|
|
92
76
|
icon,
|
|
93
77
|
variant,
|
|
@@ -100,4 +84,4 @@ declare function ActionGuideAction({
|
|
|
100
84
|
ref?: React.Ref<HTMLButtonElement>;
|
|
101
85
|
}): React.JSX.Element;
|
|
102
86
|
//#endregion
|
|
103
|
-
export { ActionGuide, ActionGuideAction,
|
|
87
|
+
export { ActionGuide, ActionGuideAction, ActionGuideActionProps, ActionGuideHeadingLevel, ActionGuideList, ActionGuideListLayout, ActionGuideListProps, ActionGuideProps, ActionGuideSection, ActionGuideSectionProps };
|
|
@@ -4,15 +4,14 @@ import * as React from "react";
|
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
//#region src/components/general-purpose/ActionGuide.tsx
|
|
6
6
|
/**
|
|
7
|
-
* App-agnostic
|
|
7
|
+
* App-agnostic article composed from product-owned sections and actions.
|
|
8
8
|
*
|
|
9
9
|
* Product code owns the copy, icons, availability, and click behavior. This
|
|
10
10
|
* component owns only the shared article rhythm and responsive layout.
|
|
11
11
|
*/
|
|
12
|
-
function ActionGuide({ title, description, headingLevel = 2,
|
|
12
|
+
function ActionGuide({ title, description, headingLevel = 2, children, className, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, ref, ...props }) {
|
|
13
13
|
const titleId = React.useId();
|
|
14
14
|
const Title = `h${headingLevel}`;
|
|
15
|
-
const sectionHeadingLevel = Math.min(headingLevel + 1, 6);
|
|
16
15
|
return /* @__PURE__ */ jsxs("article", {
|
|
17
16
|
ref,
|
|
18
17
|
"data-slot": "action-guide",
|
|
@@ -34,20 +33,7 @@ function ActionGuide({ title, description, headingLevel = 2, sections, onAction,
|
|
|
34
33
|
className: "action-guide__description",
|
|
35
34
|
children: description
|
|
36
35
|
}) : null]
|
|
37
|
-
}),
|
|
38
|
-
title: section.title,
|
|
39
|
-
headingLevel: sectionHeadingLevel,
|
|
40
|
-
children: /* @__PURE__ */ jsx(ActionGuideList, {
|
|
41
|
-
layout: section.layout,
|
|
42
|
-
children: section.actions.map((action) => /* @__PURE__ */ jsx(ActionGuideAction, {
|
|
43
|
-
icon: action.icon,
|
|
44
|
-
variant: action.variant,
|
|
45
|
-
disabled: action.disabled,
|
|
46
|
-
onClick: () => onAction(action),
|
|
47
|
-
children: action.label
|
|
48
|
-
}, action.id))
|
|
49
|
-
})
|
|
50
|
-
}, section.id))]
|
|
36
|
+
}), children]
|
|
51
37
|
});
|
|
52
38
|
}
|
|
53
39
|
/** A labelled action group for custom guide compositions. */
|
|
@@ -79,7 +65,7 @@ function ActionGuideList({ layout = "compact", className, ref, ...props }) {
|
|
|
79
65
|
...props
|
|
80
66
|
});
|
|
81
67
|
}
|
|
82
|
-
/** One
|
|
68
|
+
/** One Button action, supporting Base UI render composition, inside an {@link ActionGuideList}. */
|
|
83
69
|
function ActionGuideAction({ icon, variant = "surface", children, className, type = "button", ref, ...props }) {
|
|
84
70
|
return /* @__PURE__ */ jsx("li", {
|
|
85
71
|
"data-slot": "action-guide-item",
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as ToolbarLinkProps, n as ToolbarButtonProps, r as ToolbarGroupProps, t as Toolbar } from "../../Toolbar-CGY004u0.js";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
import { useRender } from "@base-ui/react/use-render";
|
|
4
4
|
|
|
5
5
|
//#region src/components/general-purpose/AppTopBar.d.ts
|
|
6
|
-
interface AppTopBarRootProps extends React.ComponentPropsWithoutRef<typeof Toolbar.Root> {
|
|
6
|
+
interface AppTopBarRootProps extends Omit<React.ComponentPropsWithoutRef<typeof Toolbar.Root>, "disabled"> {
|
|
7
7
|
/** Accessible name describing the controls in this application bar. */
|
|
8
8
|
"aria-label": string;
|
|
9
|
+
/** Disables every interactive control managed by the application bar. */
|
|
10
|
+
disabled?: React.ComponentPropsWithoutRef<typeof Toolbar.Root>["disabled"];
|
|
9
11
|
/**
|
|
10
12
|
* Where the title sits. An application bar centres it between the control
|
|
11
13
|
* groups; a panel header labels its leading edge instead.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as CopyButtonProps } from "../../copy-button-
|
|
1
|
+
import { t as CopyButtonProps } from "../../copy-button-OUwOdgEm.js";
|
|
2
2
|
import { Collapsible } from "../foundations/Collapsible.js";
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
|
|
@@ -46,7 +46,7 @@ declare function Commit({
|
|
|
46
46
|
ref,
|
|
47
47
|
...props
|
|
48
48
|
}: CommitProps & {
|
|
49
|
-
ref?: React.Ref<HTMLDivElement>;
|
|
49
|
+
/** Ref forwarded to the component's rendered root element. */ref?: React.Ref<HTMLDivElement>;
|
|
50
50
|
}): React.JSX.Element;
|
|
51
51
|
interface CommitHeaderProps extends Omit<React.ComponentProps<typeof Collapsible.Trigger>, "unstyled"> {}
|
|
52
52
|
declare function CommitHeader({
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
+
import { S as FileIcon, p as ChevronRightIcon } from "../../icons-cuEtsgj9.js";
|
|
2
3
|
import { Collapsible } from "../foundations/Collapsible.js";
|
|
3
|
-
import {
|
|
4
|
+
import { t as CopyButton } from "../../copy-button-CSDuDfdP.js";
|
|
4
5
|
import { Avatar } from "../foundations/Avatar.js";
|
|
5
|
-
import { t as CopyButton } from "../../copy-button-Dk2vRe9j.js";
|
|
6
6
|
import "react";
|
|
7
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
8
|
//#region src/components/general-purpose/Commit.tsx
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as CopyButtonProps } from "../../copy-button-
|
|
1
|
+
import { t as CopyButtonProps } from "../../copy-button-OUwOdgEm.js";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/general-purpose/EnvironmentVariables.d.ts
|
|
@@ -56,7 +56,7 @@ declare function EnvironmentVariables({
|
|
|
56
56
|
ref,
|
|
57
57
|
...props
|
|
58
58
|
}: EnvironmentVariablesProps & {
|
|
59
|
-
ref?: React.Ref<HTMLDivElement>;
|
|
59
|
+
/** Ref forwarded to the component's rendered root element. */ref?: React.Ref<HTMLDivElement>;
|
|
60
60
|
}): React.JSX.Element;
|
|
61
61
|
interface EnvironmentVariablesHeaderProps extends React.HTMLAttributes<HTMLDivElement> {}
|
|
62
62
|
declare function EnvironmentVariablesHeader({
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { b as EyeIcon, x as EyeOffIcon } from "../../icons-
|
|
3
|
-
import { t as CopyButton } from "../../copy-button-
|
|
2
|
+
import { b as EyeIcon, x as EyeOffIcon } from "../../icons-cuEtsgj9.js";
|
|
3
|
+
import { t as CopyButton } from "../../copy-button-CSDuDfdP.js";
|
|
4
4
|
import { Switch } from "../foundations/Switch.js";
|
|
5
5
|
import * as React from "react";
|
|
6
6
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -47,7 +47,7 @@ declare function FileTree({
|
|
|
47
47
|
ref,
|
|
48
48
|
...props
|
|
49
49
|
}: FileTreeProps & {
|
|
50
|
-
ref?: React.Ref<HTMLDivElement>;
|
|
50
|
+
/** Ref forwarded to the component's rendered root element. */ref?: React.Ref<HTMLDivElement>;
|
|
51
51
|
}): React.JSX.Element;
|
|
52
52
|
interface FileTreeFolderProps extends React.HTMLAttributes<HTMLLIElement> {
|
|
53
53
|
/** Unique path identifier for this folder. */
|
|
@@ -58,8 +58,6 @@ interface FileTreeFolderProps extends React.HTMLAttributes<HTMLLIElement> {
|
|
|
58
58
|
icon?: React.ReactNode;
|
|
59
59
|
/** Interactive controls rendered beside the folder selection button. */
|
|
60
60
|
actions?: React.ReactNode;
|
|
61
|
-
/** Depth level (0 for top-level). Auto-incremented by nested folders. */
|
|
62
|
-
level?: number;
|
|
63
61
|
}
|
|
64
62
|
declare function FileTreeFolder({
|
|
65
63
|
className,
|
|
@@ -67,7 +65,6 @@ declare function FileTreeFolder({
|
|
|
67
65
|
name,
|
|
68
66
|
icon,
|
|
69
67
|
actions,
|
|
70
|
-
level,
|
|
71
68
|
children,
|
|
72
69
|
ref,
|
|
73
70
|
...props
|
|
@@ -83,8 +80,6 @@ interface FileTreeFileProps extends React.HTMLAttributes<HTMLLIElement> {
|
|
|
83
80
|
actions?: React.ReactNode;
|
|
84
81
|
/** App-owned anchor or router Link when selecting the file navigates. */
|
|
85
82
|
render?: React.ReactElement;
|
|
86
|
-
/** Depth level, auto-set by parent folder. */
|
|
87
|
-
level?: number;
|
|
88
83
|
}
|
|
89
84
|
declare function FileTreeFile({
|
|
90
85
|
className,
|
|
@@ -93,7 +88,6 @@ declare function FileTreeFile({
|
|
|
93
88
|
icon,
|
|
94
89
|
actions,
|
|
95
90
|
render,
|
|
96
|
-
level,
|
|
97
91
|
ref,
|
|
98
92
|
...props
|
|
99
93
|
}: FileTreeFileProps & {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as FileTreeIcon, i as FileTreeFolder, n as FileTreeActions, o as FileTreeName, r as FileTreeFile, t as FileTree } from "../../FileTree-
|
|
1
|
+
import { a as FileTreeIcon, i as FileTreeFolder, n as FileTreeActions, o as FileTreeName, r as FileTreeFile, t as FileTree } from "../../FileTree-DruTQ-oa.js";
|
|
2
2
|
export { FileTree, FileTreeActions, FileTreeFile, FileTreeFolder, FileTreeIcon, FileTreeName };
|
|
@@ -3,9 +3,13 @@ import { Plan, PricingBillingPeriod } from "./Pricing.js";
|
|
|
3
3
|
//#region src/components/general-purpose/PricingPlanCard.d.ts
|
|
4
4
|
type PricingPlanAction = "current" | "upgrade" | "downgrade" | "switch" | "select";
|
|
5
5
|
interface PricingPlanCardProps {
|
|
6
|
+
/** Plan content, pricing, included features, and call-to-action copy to display. */
|
|
6
7
|
plan: Plan;
|
|
8
|
+
/** Billing cadence used to calculate the displayed monthly price and savings. */
|
|
7
9
|
billingPeriod: PricingBillingPeriod;
|
|
10
|
+
/** Relationship to the current plan, used to label and disable the call to action. */
|
|
8
11
|
action?: PricingPlanAction;
|
|
12
|
+
/** Receives the displayed plan when its call to action is selected. */
|
|
9
13
|
onSelect?: (plan: Plan) => void;
|
|
10
14
|
/** Additional class name for placement in a consuming layout. */
|
|
11
15
|
className?: string;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { N as MinusIcon, T as InfoIcon, d as CheckIcon } from "../../icons-
|
|
2
|
+
import { N as MinusIcon, T as InfoIcon, d as CheckIcon } from "../../icons-cuEtsgj9.js";
|
|
3
3
|
import { Button } from "../foundations/Button.js";
|
|
4
4
|
import { IconButton } from "../foundations/IconButton.js";
|
|
5
|
-
import { Card } from "../foundations/Card.js";
|
|
6
5
|
import { Separator } from "../foundations/Separator.js";
|
|
6
|
+
import { Card } from "../foundations/Card.js";
|
|
7
7
|
import { getPlanPrice, getPlanYearlySavings } from "./Pricing.js";
|
|
8
8
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
9
9
|
//#region src/components/general-purpose/PricingPlanCard.tsx
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import {
|
|
2
|
+
import { Slider } from "../foundations/Slider.js";
|
|
3
3
|
import { Separator } from "../foundations/Separator.js";
|
|
4
4
|
import { Progress } from "../foundations/Progress.js";
|
|
5
|
-
import {
|
|
5
|
+
import { Card } from "../foundations/Card.js";
|
|
6
6
|
import { formatPricingUsage, getUsagePrice } from "./Pricing.js";
|
|
7
7
|
import * as React from "react";
|
|
8
8
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SeparatorProps } from "
|
|
1
|
+
import { n as SeparatorProps } from "../../Separator-CzhtLYE1.js";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/general-purpose/ResizableSidePanel.d.ts
|
|
@@ -52,7 +52,7 @@ declare function ResizableSidePanelRoot({
|
|
|
52
52
|
style,
|
|
53
53
|
...props
|
|
54
54
|
}: ResizableSidePanelRootProps & {
|
|
55
|
-
ref?: React.Ref<HTMLDivElement>;
|
|
55
|
+
/** Ref forwarded to the component's rendered root element. */ref?: React.Ref<HTMLDivElement>;
|
|
56
56
|
}): React.JSX.Element;
|
|
57
57
|
declare function ResizableSidePanelHandle({
|
|
58
58
|
className,
|