@mcp-b/react-components 0.18.0 → 0.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{AgentChat-ClxViuUM.d.ts → AgentChat-CaQaT0LF.d.ts} +1 -1
- package/dist/{Button-DLGzHsjc.d.ts → Button-yRInko9u.d.ts} +0 -1
- package/dist/{CodeBlock-Bfp5PAg3.js → CodeBlock-Bb-IPBc_.js} +1 -1
- package/dist/{CodeBlock-gV4kZeCI.d.ts → CodeBlock-Bbls1CnA.d.ts} +1 -1
- package/dist/{Combobox-CYc37s5l.d.ts → Combobox-xEEF6fUb.d.ts} +0 -1
- package/dist/{FileTree-3zYtrddG.js → FileTree-CUlXfnmc.js} +1 -1
- package/dist/{Message-BXtmfc9Q.js → Message-rZEaaD8Q.js} +1 -1
- package/dist/{ModelSelector-Cqw_qrUG.js → ModelSelector-4GsCWcZV.js} +1 -1
- package/dist/{PromptInput-Bdh9pqlo.d.ts → PromptInput-Cq-8RoXD.d.ts} +6 -4
- package/dist/{Tabs-ColWK-XA.d.ts → Tabs-C49J5m0Q.d.ts} +16 -2
- package/dist/{ThinkChatActivity-Bzot45kX.d.ts → ThinkChatActivity-CnIJPvV5.d.ts} +1 -1
- package/dist/{Workspace-Jez8ffUj.d.ts → Workspace-CWtust-2.d.ts} +1 -1
- package/dist/{WorkspaceExplorer-B9dQWNVK.d.ts → WorkspaceExplorer-DGigwsgH.d.ts} +1 -1
- package/dist/{WorkspaceFile-CzyHnESE.d.ts → WorkspaceFile-D8Un_xge.d.ts} +1 -1
- package/dist/{WorkspaceFileView-C68Ub8S8.js → WorkspaceFileView-CEdArlOT.js} +3 -3
- package/dist/components/Activity.js +1 -1
- package/dist/components/AgentActivity.js +1 -1
- package/dist/components/AgentActivityPreview.js +1 -1
- package/dist/components/AgentAttention.d.ts +1 -1
- package/dist/components/AgentChat.d.ts +1 -1
- package/dist/components/AgentChat.js +3 -3
- package/dist/components/AgentChatMessageEditor.js +1 -0
- package/dist/components/AgentConnection.js +16 -13
- package/dist/components/AgentMessageParts.js +1 -1
- package/dist/components/AgentToolDetail.js +1 -1
- package/dist/components/AlertDialog.d.ts +24 -5
- package/dist/components/AlertDialog.js +15 -4
- package/dist/components/AppTopBar.js +1 -0
- package/dist/components/Approval.js +1 -1
- package/dist/components/Artifact.d.ts +1 -1
- package/dist/components/Artifact.js +1 -1
- package/dist/components/Badge.d.ts +7 -10
- package/dist/components/Badge.js +14 -48
- package/dist/components/BrowserLiveView.js +1 -1
- package/dist/components/BrowserReplay.js +1 -1
- package/dist/components/BrowserRunPanel.js +1 -1
- package/dist/components/Button.d.ts +1 -1
- package/dist/components/Button.js +1 -3
- package/dist/components/ChainOfThought.d.ts +1 -1
- package/dist/components/ChainOfThought.js +1 -1
- package/dist/components/ChatGptSignInScreen.js +2 -2
- package/dist/components/Checkbox.d.ts +2 -5
- package/dist/components/Checkbox.js +1 -2
- package/dist/components/Checkpoint.js +1 -1
- package/dist/components/CodeBlock.d.ts +1 -1
- package/dist/components/CodeBlock.js +1 -1
- package/dist/components/CodexModelSelector.js +34 -14
- package/dist/components/Combobox.d.ts +1 -1
- package/dist/components/Combobox.js +1 -2
- package/dist/components/Commit.d.ts +1 -1
- package/dist/components/Commit.js +2 -2
- package/dist/components/Context.js +8 -1
- package/dist/components/ContextMenu.js +1 -1
- package/dist/components/Conversation.d.ts +1 -1
- package/dist/components/Conversation.js +1 -1
- package/dist/components/Dialog.d.ts +1 -0
- package/dist/components/Dialog.js +14 -3
- package/dist/components/EnvironmentVariables.d.ts +1 -1
- package/dist/components/EnvironmentVariables.js +2 -2
- package/dist/components/FileTree.js +1 -1
- package/dist/components/IconButton.d.ts +1 -1
- package/dist/components/InlineCitation.js +1 -0
- package/dist/components/Marker.d.ts +3 -11
- package/dist/components/Marker.js +15 -43
- package/dist/components/McpConnectionRequest.js +1 -1
- package/dist/components/McpServerPicker.js +1 -1
- package/dist/components/MediaPreviewCard.js +2 -2
- package/dist/components/Menubar.d.ts +5 -1
- package/dist/components/Menubar.js +10 -3
- package/dist/components/Message.d.ts +1 -1
- package/dist/components/Message.js +1 -1
- package/dist/components/MessageScroller.d.ts +1 -1
- package/dist/components/MessageScroller.js +1 -1
- package/dist/components/ModelSelector.d.ts +1 -1
- package/dist/components/ModelSelector.js +1 -1
- package/dist/components/NavigationMenu.d.ts +2 -6
- package/dist/components/Plan.js +1 -1
- package/dist/components/Popover.d.ts +6 -1
- package/dist/components/Popover.js +12 -4
- package/dist/components/PricingPlanCard.js +1 -1
- package/dist/components/PromptInput.d.ts +1 -1
- package/dist/components/PromptInput.js +8 -8
- package/dist/components/Queue.d.ts +1 -1
- package/dist/components/Queue.js +1 -1
- package/dist/components/RadioGroup.d.ts +1 -3
- package/dist/components/Reasoning.js +2 -2
- package/dist/components/ResponsiveSidebarShell.js +2 -2
- package/dist/components/ScrollArea.d.ts +19 -8
- package/dist/components/ScrollArea.js +17 -8
- package/dist/components/SearchField.js +1 -1
- package/dist/components/Select.js +3 -3
- package/dist/components/Slider.d.ts +1 -3
- package/dist/components/Sources.js +1 -1
- package/dist/components/Stepper.d.ts +6 -20
- package/dist/components/Stepper.js +32 -130
- package/dist/components/SubagentRunDetails.js +1 -0
- package/dist/components/SubagentRunIndicator.js +1 -1
- package/dist/components/Tabs.d.ts +1 -1
- package/dist/components/Tabs.js +8 -8
- package/dist/components/Task.js +1 -1
- package/dist/components/Terminal.d.ts +2 -2
- package/dist/components/Terminal.js +2 -2
- package/dist/components/TestResults.js +1 -1
- package/dist/components/ThemeModeControl.js +1 -1
- package/dist/components/ThinkChat.d.ts +5 -5
- package/dist/components/ThinkChatActivity.d.ts +1 -1
- package/dist/components/ThinkChatToolPanels.js +1 -1
- package/dist/components/ThinkExecutionDetail.js +1 -1
- package/dist/components/ThinkExecutionStatus.js +1 -1
- package/dist/components/ThinkExecutionWorkbench.js +1 -1
- package/dist/components/ThinkFullApp.d.ts +2 -2
- package/dist/components/ThinkFullApp.js +2 -2
- package/dist/components/ThinkRoutineBrowser.js +1 -1
- package/dist/components/ThinkRoutineForm.js +1 -1
- package/dist/components/ThinkRoutineLibrary.js +2 -2
- package/dist/components/ThinkThreadPicker.js +1 -1
- package/dist/components/Toast.d.ts +1 -0
- package/dist/components/Toast.js +9 -2
- package/dist/components/Toggle.js +7 -7
- package/dist/components/Toolbar.d.ts +10 -2
- package/dist/components/Toolbar.js +17 -4
- package/dist/components/WebPreview.d.ts +1 -1
- package/dist/components/WebPreview.js +1 -1
- package/dist/components/Workspace.d.ts +1 -1
- package/dist/components/WorkspaceBrowser.d.ts +1 -1
- package/dist/components/WorkspaceBrowser.js +1 -1
- package/dist/components/WorkspaceExplorer.d.ts +3 -3
- package/dist/components/WorkspaceExplorer.js +2 -2
- package/dist/components/WorkspaceFile.d.ts +1 -1
- package/dist/components/WorkspaceFileView.d.ts +1 -1
- package/dist/components/WorkspaceFileView.js +1 -1
- package/dist/components/WorkspaceHeader.js +1 -1
- package/dist/components/icons.d.ts +2 -2
- package/dist/components/icons.js +2 -2
- package/dist/{copy-button-D7aAYA-2.d.ts → copy-button-BrvQ7z4W.d.ts} +1 -1
- package/dist/{copy-button-DeK6KXEV.js → copy-button-BtRwhRks.js} +1 -1
- package/dist/{icons-CQJ-aMnI.js → icons-DKXiSepE.js} +3 -2
- package/dist/{icons-CYXmvKlJ.d.ts → icons-DkRtZmvT.d.ts} +6 -1
- package/dist/{merge-refs-DF_7w2x_.js → merge-refs-KlanQB7A.js} +1 -1
- package/dist/styles/accordion.css +3 -3
- package/dist/styles/activity.css +4 -4
- package/dist/styles/agent-chat.css +1 -1
- package/dist/styles/agent-connection.css +3 -3
- package/dist/styles/agent-tool-detail.css +1 -1
- package/dist/styles/alert-dialog.css +1 -107
- package/dist/styles/approval.css +1 -1
- package/dist/styles/artifact.css +1 -6
- package/dist/styles/badge.css +2 -2
- package/dist/styles/base-ui-motion.css +26 -13
- package/dist/styles/base.css +1 -1
- package/dist/styles/browser-run-panel.css +2 -2
- package/dist/styles/button.css +2 -2
- package/dist/styles/chain-of-thought.css +1 -1
- package/dist/styles/chatgpt-sign-in-screen.css +1 -1
- package/dist/styles/checkbox.css +2 -2
- package/dist/styles/codex-model-selector.css +46 -4
- package/dist/styles/collapsible.css +1 -1
- package/dist/styles/context.css +1 -1
- package/dist/styles/dialog.css +1 -54
- package/dist/styles/field.css +6 -6
- package/dist/styles/inline-citation.css +2 -2
- package/dist/styles/label.css +3 -6
- package/dist/styles/marker.css +1 -1
- package/dist/styles/mcp-server-picker.css +1 -1
- package/dist/styles/media-preview-card.css +1 -1
- package/dist/styles/menubar.css +2 -41
- package/dist/styles/message.css +0 -7
- package/dist/styles/motion-reduction.css +2 -4
- package/dist/styles/navigation-menu.css +6 -1
- package/dist/styles/number-field.css +8 -8
- package/dist/styles/plan.css +2 -2
- package/dist/styles/popover.css +2 -38
- package/dist/styles/pricing-page.css +1 -1
- package/dist/styles/progress.css +4 -4
- package/dist/styles/prompt-input.css +28 -11
- package/dist/styles/radio.css +2 -2
- package/dist/styles/recipes.css +93 -18
- package/dist/styles/scroll-area.css +0 -18
- package/dist/styles/select.css +5 -8
- package/dist/styles/slider.css +0 -1
- package/dist/styles/stepper.css +4 -4
- package/dist/styles/streamdown.css +1 -1
- package/dist/styles/subagent-run.css +2 -9
- package/dist/styles/switch.css +2 -2
- package/dist/styles/tabs.css +59 -4
- package/dist/styles/task.css +1 -1
- package/dist/styles/terminal.css +1 -5
- package/dist/styles/theme-mode-control.css +1 -1
- package/dist/styles/think-thread-picker.css +1 -1
- package/dist/styles/toast.css +1 -30
- package/dist/styles/toggle.css +5 -19
- package/dist/styles/toolbar.css +17 -74
- package/dist/styles/tooltip.css +1 -1
- package/dist/styles/workspace-explorer.css +0 -9
- package/dist/utils/codex-model-catalog.d.ts +2 -8
- package/dist/utils/codex-model-catalog.js +2 -16
- package/dist/utils/mcp-server-catalog.d.ts +7 -0
- package/dist/utils/mcp-server-catalog.js +8 -0
- package/dist/utils/structured-code.d.ts +1 -1
- package/package.json +2 -2
|
@@ -9,7 +9,10 @@ interface PopoverProps extends React.ComponentPropsWithoutRef<typeof Popover$1.R
|
|
|
9
9
|
/**
|
|
10
10
|
* Props for the Popover.Trigger component.
|
|
11
11
|
*/
|
|
12
|
-
interface PopoverTriggerProps extends React.ComponentPropsWithoutRef<typeof Popover$1.Trigger> {
|
|
12
|
+
interface PopoverTriggerProps extends React.ComponentPropsWithoutRef<typeof Popover$1.Trigger> {
|
|
13
|
+
/** Keep Base UI trigger behavior without the default popover trigger chrome. */
|
|
14
|
+
unstyled?: boolean;
|
|
15
|
+
}
|
|
13
16
|
interface PopoverAnchorProps extends React.HTMLAttributes<HTMLDivElement> {}
|
|
14
17
|
/**
|
|
15
18
|
* Props for the Popover.Portal component.
|
|
@@ -62,6 +65,7 @@ declare function PopoverAnchor({
|
|
|
62
65
|
*/
|
|
63
66
|
declare function PopoverTrigger({
|
|
64
67
|
className,
|
|
68
|
+
unstyled,
|
|
65
69
|
ref,
|
|
66
70
|
...props
|
|
67
71
|
}: PopoverTriggerProps & {
|
|
@@ -161,6 +165,7 @@ declare function PopoverDescription({
|
|
|
161
165
|
* Button that closes the popover.
|
|
162
166
|
*/
|
|
163
167
|
declare function PopoverClose({
|
|
168
|
+
render,
|
|
164
169
|
className,
|
|
165
170
|
ref,
|
|
166
171
|
...props
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { n as mergeBaseClassName } from "../class-names-BiMDVpUo.js";
|
|
2
|
+
import { buttonVariants } from "./Button.js";
|
|
2
3
|
import * as React from "react";
|
|
3
4
|
import { jsx } from "react/jsx-runtime";
|
|
4
5
|
import { Popover as Popover$1 } from "@base-ui/react/popover";
|
|
@@ -51,11 +52,12 @@ function PopoverAnchor({ className, ref, ...props }) {
|
|
|
51
52
|
* Button that toggles the popover visibility.
|
|
52
53
|
* Renders a `<button>` element.
|
|
53
54
|
*/
|
|
54
|
-
function PopoverTrigger({ className, ref, ...props }) {
|
|
55
|
-
const classes = mergeBaseClassName(
|
|
55
|
+
function PopoverTrigger({ className, unstyled = false, ref, ...props }) {
|
|
56
|
+
const classes = mergeBaseClassName(unstyled ? "" : "popover__trigger", className);
|
|
56
57
|
return /* @__PURE__ */ jsx(Popover$1.Trigger, {
|
|
57
58
|
ref,
|
|
58
59
|
"data-slot": "popover-trigger",
|
|
60
|
+
"data-unstyled": unstyled ? "" : void 0,
|
|
59
61
|
className: classes,
|
|
60
62
|
...props
|
|
61
63
|
});
|
|
@@ -174,11 +176,17 @@ function PopoverDescription({ className, ref, ...props }) {
|
|
|
174
176
|
/**
|
|
175
177
|
* Button that closes the popover.
|
|
176
178
|
*/
|
|
177
|
-
function PopoverClose({ className, ref, ...props }) {
|
|
178
|
-
const classes = mergeBaseClassName(
|
|
179
|
+
function PopoverClose({ render, className, ref, ...props }) {
|
|
180
|
+
const classes = mergeBaseClassName(render == null ? buttonVariants({
|
|
181
|
+
variant: "outline",
|
|
182
|
+
color: "neutral",
|
|
183
|
+
size: "xs",
|
|
184
|
+
className: "popover__close popover__close--default"
|
|
185
|
+
}) : "popover__close", className);
|
|
179
186
|
return /* @__PURE__ */ jsx(Popover$1.Close, {
|
|
180
187
|
ref,
|
|
181
188
|
"data-slot": "popover-close",
|
|
189
|
+
render,
|
|
182
190
|
className: classes,
|
|
183
191
|
...props
|
|
184
192
|
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as cx } from "../class-names-BiMDVpUo.js";
|
|
2
|
-
import {
|
|
2
|
+
import { D as InfoIcon, N as MinusIcon, u as CheckIcon } from "../icons-DKXiSepE.js";
|
|
3
3
|
import { Button } from "./Button.js";
|
|
4
4
|
import { Tooltip } from "./Tooltip.js";
|
|
5
5
|
import { Separator } from "./Separator.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as PromptInputDictationProps, A as PromptInputCommandDefinition, At as PromptInputTabProps, B as PromptInputCommandItemProps, Bt as getApprovalRequestId, C as PromptInputBodyProps, Ct as PromptInputTab, D as PromptInputCommand, Dt as PromptInputTabItemProps, E as PromptInputButtonTooltip, Et as PromptInputTabItem, F as PromptInputCommandGroupLabelProps, Ft as PromptInputTools, G as PromptInputCommandSeparatorProps, Gt as useProviderAttachments, H as PromptInputCommandListProps, Ht as getPendingToolApprovals, I as PromptInputCommandGroupProps, It as PromptInputToolsProps, J as PromptInputContextItem, K as PromptInputCommandTrigger, L as PromptInputCommandInput, Lt as PromptInputTooltipConfig, M as PromptInputCommandEmptyProps, Mt as PromptInputTabsListProps, N as PromptInputCommandGroup, Nt as PromptInputTextarea, O as PromptInputCommandComposer, Ot as PromptInputTabLabel, P as PromptInputCommandGroupLabel, Pt as PromptInputTextareaProps, Q as PromptInputDictation, R as PromptInputCommandInputProps, Rt as TextInputContext, S as PromptInputBody, St as PromptInputSubmitProps, T as PromptInputButtonProps, Tt as PromptInputTabBodyProps, U as PromptInputCommandProps, Ut as usePromptInputAttachments, V as PromptInputCommandList, Vt as getApprovalStateKey, W as PromptInputCommandSeparator, Wt as usePromptInputController, X as PromptInputContextSelectorProps, Y as PromptInputContextSelector, Z as PromptInputControllerProps, _ as PromptInputApprovalProps, _t as PromptInputReferences, a as PromptInputActionAddAttachmentsProps, at as PromptInputHoverCardContent, b as PromptInputAttachments, bt as PromptInputSelectProps, c as PromptInputActionMenu, ct as PromptInputHoverCardTrigger, d as PromptInputActionMenuItem, dt as PromptInputPermissionSelector, et as PromptInputFooter, f as PromptInputActionMenuItemProps, ft as PromptInputPermissionSelectorProps, g as PromptInputApproval, gt as PromptInputReference, h as PromptInputActionMenuTriggerProps, ht as PromptInputProviderProps, i as PromptInputActionAddAttachments, it as PromptInputHoverCard, j as PromptInputCommandEmpty, jt as PromptInputTabsList, k as PromptInputCommandComposerProps, kt as PromptInputTabLabelProps, l as PromptInputActionMenuContent, lt as PromptInputHoverCardTriggerProps, m as PromptInputActionMenuTrigger, mt as PromptInputProvider, n as PermissionMode, nt as PromptInputHeader, o as PromptInputActionAddScreenshot, ot as PromptInputHoverCardContentProps, p as PromptInputActionMenuProps, pt as PromptInputProps, q as PromptInputContextAction, r as PromptInput, rt as PromptInputHeaderProps, s as PromptInputActionAddScreenshotProps, st as PromptInputHoverCardProps, t as AttachmentsContext, tt as PromptInputFooterProps, u as PromptInputActionMenuContentProps, ut as PromptInputMessage, v as PromptInputAttachment, vt as PromptInputReferencesProps, w as PromptInputButton, wt as PromptInputTabBody, x as PromptInputAttachmentsProps, xt as PromptInputSubmit, y as PromptInputAttachmentProps, yt as PromptInputSelect, z as PromptInputCommandItem, zt as TooltipSide } from "../PromptInput-
|
|
1
|
+
import { $ as PromptInputDictationProps, A as PromptInputCommandDefinition, At as PromptInputTabProps, B as PromptInputCommandItemProps, Bt as getApprovalRequestId, C as PromptInputBodyProps, Ct as PromptInputTab, D as PromptInputCommand, Dt as PromptInputTabItemProps, E as PromptInputButtonTooltip, Et as PromptInputTabItem, F as PromptInputCommandGroupLabelProps, Ft as PromptInputTools, G as PromptInputCommandSeparatorProps, Gt as useProviderAttachments, H as PromptInputCommandListProps, Ht as getPendingToolApprovals, I as PromptInputCommandGroupProps, It as PromptInputToolsProps, J as PromptInputContextItem, K as PromptInputCommandTrigger, L as PromptInputCommandInput, Lt as PromptInputTooltipConfig, M as PromptInputCommandEmptyProps, Mt as PromptInputTabsListProps, N as PromptInputCommandGroup, Nt as PromptInputTextarea, O as PromptInputCommandComposer, Ot as PromptInputTabLabel, P as PromptInputCommandGroupLabel, Pt as PromptInputTextareaProps, Q as PromptInputDictation, R as PromptInputCommandInputProps, Rt as TextInputContext, S as PromptInputBody, St as PromptInputSubmitProps, T as PromptInputButtonProps, Tt as PromptInputTabBodyProps, U as PromptInputCommandProps, Ut as usePromptInputAttachments, V as PromptInputCommandList, Vt as getApprovalStateKey, W as PromptInputCommandSeparator, Wt as usePromptInputController, X as PromptInputContextSelectorProps, Y as PromptInputContextSelector, Z as PromptInputControllerProps, _ as PromptInputApprovalProps, _t as PromptInputReferences, a as PromptInputActionAddAttachmentsProps, at as PromptInputHoverCardContent, b as PromptInputAttachments, bt as PromptInputSelectProps, c as PromptInputActionMenu, ct as PromptInputHoverCardTrigger, d as PromptInputActionMenuItem, dt as PromptInputPermissionSelector, et as PromptInputFooter, f as PromptInputActionMenuItemProps, ft as PromptInputPermissionSelectorProps, g as PromptInputApproval, gt as PromptInputReference, h as PromptInputActionMenuTriggerProps, ht as PromptInputProviderProps, i as PromptInputActionAddAttachments, it as PromptInputHoverCard, j as PromptInputCommandEmpty, jt as PromptInputTabsList, k as PromptInputCommandComposerProps, kt as PromptInputTabLabelProps, l as PromptInputActionMenuContent, lt as PromptInputHoverCardTriggerProps, m as PromptInputActionMenuTrigger, mt as PromptInputProvider, n as PermissionMode, nt as PromptInputHeader, o as PromptInputActionAddScreenshot, ot as PromptInputHoverCardContentProps, p as PromptInputActionMenuProps, pt as PromptInputProps, q as PromptInputContextAction, r as PromptInput, rt as PromptInputHeaderProps, s as PromptInputActionAddScreenshotProps, st as PromptInputHoverCardProps, t as AttachmentsContext, tt as PromptInputFooterProps, u as PromptInputActionMenuContentProps, ut as PromptInputMessage, v as PromptInputAttachment, vt as PromptInputReferencesProps, w as PromptInputButton, wt as PromptInputTabBody, x as PromptInputAttachmentsProps, xt as PromptInputSubmit, y as PromptInputAttachmentProps, yt as PromptInputSelect, z as PromptInputCommandItem, zt as TooltipSide } from "../PromptInput-Cq-8RoXD.js";
|
|
2
2
|
export { AttachmentsContext, PermissionMode, PromptInput, PromptInputActionAddAttachments, PromptInputActionAddAttachmentsProps, PromptInputActionAddScreenshot, PromptInputActionAddScreenshotProps, PromptInputActionMenu, PromptInputActionMenuContent, PromptInputActionMenuContentProps, PromptInputActionMenuItem, PromptInputActionMenuItemProps, PromptInputActionMenuProps, PromptInputActionMenuTrigger, PromptInputActionMenuTriggerProps, PromptInputApproval, PromptInputApprovalProps, PromptInputAttachment, PromptInputAttachmentProps, PromptInputAttachments, PromptInputAttachmentsProps, PromptInputBody, PromptInputBodyProps, PromptInputButton, PromptInputButtonProps, PromptInputButtonTooltip, PromptInputCommand, PromptInputCommandComposer, PromptInputCommandComposerProps, PromptInputCommandDefinition, PromptInputCommandEmpty, PromptInputCommandEmptyProps, PromptInputCommandGroup, PromptInputCommandGroupLabel, PromptInputCommandGroupLabelProps, PromptInputCommandGroupProps, PromptInputCommandInput, PromptInputCommandInputProps, PromptInputCommandItem, PromptInputCommandItemProps, PromptInputCommandList, PromptInputCommandListProps, PromptInputCommandProps, PromptInputCommandSeparator, PromptInputCommandSeparatorProps, PromptInputCommandTrigger, PromptInputContextAction, PromptInputContextItem, PromptInputContextSelector, PromptInputContextSelectorProps, PromptInputControllerProps, PromptInputDictation, PromptInputDictationProps, PromptInputFooter, PromptInputFooterProps, PromptInputHeader, PromptInputHeaderProps, PromptInputHoverCard, PromptInputHoverCardContent, PromptInputHoverCardContentProps, PromptInputHoverCardProps, PromptInputHoverCardTrigger, PromptInputHoverCardTriggerProps, PromptInputMessage, PromptInputPermissionSelector, PromptInputPermissionSelectorProps, PromptInputProps, PromptInputProvider, PromptInputProviderProps, PromptInputReference, PromptInputReferences, PromptInputReferencesProps, PromptInputSelect, PromptInputSelectProps, PromptInputSubmit, PromptInputSubmitProps, PromptInputTab, PromptInputTabBody, PromptInputTabBodyProps, PromptInputTabItem, PromptInputTabItemProps, PromptInputTabLabel, PromptInputTabLabelProps, PromptInputTabProps, PromptInputTabsList, PromptInputTabsListProps, PromptInputTextarea, PromptInputTextareaProps, PromptInputTools, PromptInputToolsProps, PromptInputTooltipConfig, TextInputContext, TooltipSide, getApprovalRequestId, getApprovalStateKey, getPendingToolApprovals, usePromptInputAttachments, usePromptInputController, useProviderAttachments };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as mergeBaseClassName, t as cx } from "../class-names-BiMDVpUo.js";
|
|
2
|
-
import { $ as
|
|
2
|
+
import { $ as WrenchIcon, C as FolderIcon, J as StopIcon, K as SpinnerIcon, L as PaperclipIcon, M as MicrophoneIcon, P as MonitorIcon, Q as WarningIcon, S as FileIcon, V as PlusIcon, a as ArrowUpIcon, d as ChevronDownIcon, et as XIcon, q as SquareIcon, u as CheckIcon } from "../icons-DKXiSepE.js";
|
|
3
3
|
import { Button } from "./Button.js";
|
|
4
4
|
import { Tooltip } from "./Tooltip.js";
|
|
5
5
|
import { t as AttachmentPreview } from "../attachment-preview-DIs50Q0h.js";
|
|
@@ -455,7 +455,7 @@ function PromptInputTextarea({ className, placeholder = "How can I help?", rows
|
|
|
455
455
|
}
|
|
456
456
|
function PromptInputButton({ className, tooltip, variant = "ghost", color = "neutral", size, iconOnly, children, "aria-label": ariaLabel, ref, ...props }) {
|
|
457
457
|
const childCount = React.Children.count(children);
|
|
458
|
-
const resolvedSize = size ?? "
|
|
458
|
+
const resolvedSize = size ?? "xs";
|
|
459
459
|
const resolvedIconOnly = iconOnly ?? childCount <= 1;
|
|
460
460
|
const tooltipConfig = typeof tooltip === "string" ? { content: tooltip } : tooltip;
|
|
461
461
|
const fallbackLabel = ariaLabel ?? (typeof tooltipConfig?.content === "string" ? tooltipConfig.content : void 0);
|
|
@@ -601,7 +601,7 @@ function PromptInputDictation({ voice, beforeStart, className, disabled, ref, ..
|
|
|
601
601
|
type: "button",
|
|
602
602
|
variant: "normal",
|
|
603
603
|
color: "neutral",
|
|
604
|
-
size: "
|
|
604
|
+
size: "xs",
|
|
605
605
|
iconOnly: true,
|
|
606
606
|
"aria-label": "Stop dictation",
|
|
607
607
|
onClick: () => voice.stop(),
|
|
@@ -611,7 +611,7 @@ function PromptInputDictation({ voice, beforeStart, className, disabled, ref, ..
|
|
|
611
611
|
className: "prompt-input__recording-button",
|
|
612
612
|
type: "button",
|
|
613
613
|
color: "primary",
|
|
614
|
-
size: "
|
|
614
|
+
size: "xs",
|
|
615
615
|
iconOnly: true,
|
|
616
616
|
"aria-label": "Stop dictation and send",
|
|
617
617
|
onClick: () => {
|
|
@@ -804,7 +804,7 @@ function PromptInputPermissionSelector({ value, onValueChange, question = "How s
|
|
|
804
804
|
const trigger = /* @__PURE__ */ jsx(Menu.Trigger, {
|
|
805
805
|
unstyled: true,
|
|
806
806
|
render: /* @__PURE__ */ jsxs(PromptInputButton, {
|
|
807
|
-
size: "
|
|
807
|
+
size: "xs",
|
|
808
808
|
className: "prompt-input__permissions-trigger",
|
|
809
809
|
"data-mode": value,
|
|
810
810
|
"aria-label": selected.label,
|
|
@@ -855,7 +855,7 @@ function PromptInputPermissionSelector({ value, onValueChange, question = "How s
|
|
|
855
855
|
})
|
|
856
856
|
}) }) })] });
|
|
857
857
|
}
|
|
858
|
-
function PromptInputSubmit({ className, status = "ready", onStop, variant = "normal", color = "primary", size = "
|
|
858
|
+
function PromptInputSubmit({ className, status = "ready", onStop, variant = "normal", color = "primary", size = "xs", onClick, children, label, hasContent = false, ref, ...props }) {
|
|
859
859
|
const isBusy = status === "submitted" || status === "streaming";
|
|
860
860
|
const isQueueing = isBusy && hasContent;
|
|
861
861
|
const isStopping = isBusy && !isQueueing;
|
|
@@ -1153,7 +1153,7 @@ function PromptInputReferences({ references, onRemove, className, ref, ...props
|
|
|
1153
1153
|
type: "button",
|
|
1154
1154
|
variant: "ghost",
|
|
1155
1155
|
color: "primary",
|
|
1156
|
-
size: "
|
|
1156
|
+
size: "xs",
|
|
1157
1157
|
className: "prompt-input__reference",
|
|
1158
1158
|
"aria-label": `Remove ${reference.label}`,
|
|
1159
1159
|
onClick: () => onRemove(reference),
|
|
@@ -1182,7 +1182,7 @@ function PromptInputContextSelector({ items, value, onValueChange, categoryLabel
|
|
|
1182
1182
|
const trigger = /* @__PURE__ */ jsx(Menu.Trigger, {
|
|
1183
1183
|
unstyled: true,
|
|
1184
1184
|
render: /* @__PURE__ */ jsxs(PromptInputButton, {
|
|
1185
|
-
size: "
|
|
1185
|
+
size: "xs",
|
|
1186
1186
|
className: "prompt-input__context-trigger",
|
|
1187
1187
|
"aria-label": `${categoryLabel}: ${fullLabel}`,
|
|
1188
1188
|
"data-unavailable": !selected || selected.unavailable || void 0,
|
package/dist/components/Queue.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as cx } from "../class-names-BiMDVpUo.js";
|
|
2
2
|
import { Collapsible } from "./Collapsible.js";
|
|
3
|
-
import {
|
|
3
|
+
import { S as FileIcon, _ as DotIcon, p as ChevronRightIcon, u as CheckIcon } from "../icons-DKXiSepE.js";
|
|
4
4
|
import { Button } from "./Button.js";
|
|
5
5
|
import { Badge } from "./Badge.js";
|
|
6
6
|
import { ScrollArea } from "./ScrollArea.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as cx } from "../class-names-BiMDVpUo.js";
|
|
2
2
|
import { Collapsible } from "./Collapsible.js";
|
|
3
|
-
import {
|
|
3
|
+
import { K as SpinnerIcon } from "../icons-DKXiSepE.js";
|
|
4
4
|
import { ActivityContent, ActivityText, ActivityTrigger } from "./Activity.js";
|
|
5
|
-
import { f as MessageResponse } from "../Message-
|
|
5
|
+
import { f as MessageResponse } from "../Message-rZEaaD8Q.js";
|
|
6
6
|
import * as React from "react";
|
|
7
7
|
import { jsx } from "react/jsx-runtime";
|
|
8
8
|
//#region src/components/Reasoning.tsx
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { t as cx } from "../class-names-BiMDVpUo.js";
|
|
2
|
-
import {
|
|
2
|
+
import { G as SidebarIcon } from "../icons-DKXiSepE.js";
|
|
3
3
|
import { Button } from "./Button.js";
|
|
4
|
-
import { n as mergeRefs } from "../merge-refs-DF_7w2x_.js";
|
|
5
4
|
import { AppTopBar } from "./AppTopBar.js";
|
|
5
|
+
import { t as mergeRefs } from "../merge-refs-KlanQB7A.js";
|
|
6
6
|
import { ResizableSidePanel } from "./ResizableSidePanel.js";
|
|
7
7
|
import * as React from "react";
|
|
8
8
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -10,6 +10,10 @@ interface ScrollAreaRootProps extends React.ComponentPropsWithoutRef<typeof Scro
|
|
|
10
10
|
* Props for the ScrollArea.Viewport component.
|
|
11
11
|
*/
|
|
12
12
|
interface ScrollAreaViewportProps extends React.ComponentPropsWithoutRef<typeof ScrollArea$1.Viewport> {}
|
|
13
|
+
/**
|
|
14
|
+
* Props for the ScrollArea.Content component.
|
|
15
|
+
*/
|
|
16
|
+
interface ScrollAreaContentProps extends React.ComponentPropsWithoutRef<typeof ScrollArea$1.Content> {}
|
|
13
17
|
/**
|
|
14
18
|
* Props for the ScrollArea.Scrollbar component.
|
|
15
19
|
*/
|
|
@@ -29,7 +33,7 @@ interface ScrollAreaCornerProps extends React.ComponentPropsWithoutRef<typeof Sc
|
|
|
29
33
|
* ```tsx
|
|
30
34
|
* <ScrollArea.Root>
|
|
31
35
|
* <ScrollArea.Viewport>
|
|
32
|
-
* <
|
|
36
|
+
* <ScrollArea.Content>Scrollable content...</ScrollArea.Content>
|
|
33
37
|
* </ScrollArea.Viewport>
|
|
34
38
|
* <ScrollArea.Scrollbar>
|
|
35
39
|
* <ScrollArea.Thumb />
|
|
@@ -51,15 +55,21 @@ declare function ScrollAreaRoot({
|
|
|
51
55
|
*/
|
|
52
56
|
declare function ScrollAreaViewport({
|
|
53
57
|
className,
|
|
54
|
-
tabIndex,
|
|
55
|
-
role,
|
|
56
|
-
"aria-label": ariaLabel,
|
|
57
|
-
"aria-labelledby": ariaLabelledBy,
|
|
58
58
|
ref,
|
|
59
59
|
...props
|
|
60
60
|
}: ScrollAreaViewportProps & {
|
|
61
61
|
ref?: React.Ref<HTMLDivElement>;
|
|
62
62
|
}): React.JSX.Element;
|
|
63
|
+
/**
|
|
64
|
+
* Content wrapper that keeps Base UI's overflow measurements in sync.
|
|
65
|
+
*/
|
|
66
|
+
declare function ScrollAreaContent({
|
|
67
|
+
className,
|
|
68
|
+
ref,
|
|
69
|
+
...props
|
|
70
|
+
}: ScrollAreaContentProps & {
|
|
71
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
72
|
+
}): React.JSX.Element;
|
|
63
73
|
/**
|
|
64
74
|
* The scrollbar track, either vertical or horizontal.
|
|
65
75
|
*/
|
|
@@ -100,7 +110,7 @@ declare function ScrollAreaCorner({
|
|
|
100
110
|
* // Vertical scroll
|
|
101
111
|
* <ScrollArea.Root style={{ height: 200 }}>
|
|
102
112
|
* <ScrollArea.Viewport>
|
|
103
|
-
* <
|
|
113
|
+
* <ScrollArea.Content>Long content...</ScrollArea.Content>
|
|
104
114
|
* </ScrollArea.Viewport>
|
|
105
115
|
* <ScrollArea.Scrollbar>
|
|
106
116
|
* <ScrollArea.Thumb />
|
|
@@ -113,7 +123,7 @@ declare function ScrollAreaCorner({
|
|
|
113
123
|
* // Both scrollbars
|
|
114
124
|
* <ScrollArea.Root style={{ height: 200, width: 300 }}>
|
|
115
125
|
* <ScrollArea.Viewport>
|
|
116
|
-
* <
|
|
126
|
+
* <ScrollArea.Content style={{ width: 600 }}>Wide and tall content...</ScrollArea.Content>
|
|
117
127
|
* </ScrollArea.Viewport>
|
|
118
128
|
* <ScrollArea.Scrollbar orientation="vertical">
|
|
119
129
|
* <ScrollArea.Thumb />
|
|
@@ -130,9 +140,10 @@ declare function ScrollAreaCorner({
|
|
|
130
140
|
declare const ScrollArea: {
|
|
131
141
|
Root: typeof ScrollAreaRoot;
|
|
132
142
|
Viewport: typeof ScrollAreaViewport;
|
|
143
|
+
Content: typeof ScrollAreaContent;
|
|
133
144
|
Scrollbar: typeof ScrollAreaScrollbar;
|
|
134
145
|
Thumb: typeof ScrollAreaThumb;
|
|
135
146
|
Corner: typeof ScrollAreaCorner;
|
|
136
147
|
};
|
|
137
148
|
//#endregion
|
|
138
|
-
export { ScrollArea, ScrollAreaCornerProps, ScrollAreaRootProps, ScrollAreaScrollbarProps, ScrollAreaThumbProps, ScrollAreaViewportProps };
|
|
149
|
+
export { ScrollArea, ScrollAreaContentProps, ScrollAreaCornerProps, ScrollAreaRootProps, ScrollAreaScrollbarProps, ScrollAreaThumbProps, ScrollAreaViewportProps };
|
|
@@ -10,7 +10,7 @@ import { ScrollArea as ScrollArea$1 } from "@base-ui/react/scroll-area";
|
|
|
10
10
|
* ```tsx
|
|
11
11
|
* <ScrollArea.Root>
|
|
12
12
|
* <ScrollArea.Viewport>
|
|
13
|
-
* <
|
|
13
|
+
* <ScrollArea.Content>Scrollable content...</ScrollArea.Content>
|
|
14
14
|
* </ScrollArea.Viewport>
|
|
15
15
|
* <ScrollArea.Scrollbar>
|
|
16
16
|
* <ScrollArea.Thumb />
|
|
@@ -32,15 +32,23 @@ function ScrollAreaRoot({ className, ref, ...props }) {
|
|
|
32
32
|
/**
|
|
33
33
|
* The scrollable viewport container.
|
|
34
34
|
*/
|
|
35
|
-
function ScrollAreaViewport({ className,
|
|
35
|
+
function ScrollAreaViewport({ className, ref, ...props }) {
|
|
36
36
|
const classes = mergeBaseClassName(["scroll-area__viewport"].filter(Boolean).join(" "), className);
|
|
37
37
|
return /* @__PURE__ */ jsx(ScrollArea$1.Viewport, {
|
|
38
38
|
ref,
|
|
39
39
|
"data-slot": "scroll-area-viewport",
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
40
|
+
className: classes,
|
|
41
|
+
...props
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Content wrapper that keeps Base UI's overflow measurements in sync.
|
|
46
|
+
*/
|
|
47
|
+
function ScrollAreaContent({ className, ref, ...props }) {
|
|
48
|
+
const classes = mergeBaseClassName(["scroll-area__content"].filter(Boolean).join(" "), className);
|
|
49
|
+
return /* @__PURE__ */ jsx(ScrollArea$1.Content, {
|
|
50
|
+
ref,
|
|
51
|
+
"data-slot": "scroll-area-content",
|
|
44
52
|
className: classes,
|
|
45
53
|
...props
|
|
46
54
|
});
|
|
@@ -91,7 +99,7 @@ function ScrollAreaCorner({ className, ref, ...props }) {
|
|
|
91
99
|
* // Vertical scroll
|
|
92
100
|
* <ScrollArea.Root style={{ height: 200 }}>
|
|
93
101
|
* <ScrollArea.Viewport>
|
|
94
|
-
* <
|
|
102
|
+
* <ScrollArea.Content>Long content...</ScrollArea.Content>
|
|
95
103
|
* </ScrollArea.Viewport>
|
|
96
104
|
* <ScrollArea.Scrollbar>
|
|
97
105
|
* <ScrollArea.Thumb />
|
|
@@ -104,7 +112,7 @@ function ScrollAreaCorner({ className, ref, ...props }) {
|
|
|
104
112
|
* // Both scrollbars
|
|
105
113
|
* <ScrollArea.Root style={{ height: 200, width: 300 }}>
|
|
106
114
|
* <ScrollArea.Viewport>
|
|
107
|
-
* <
|
|
115
|
+
* <ScrollArea.Content style={{ width: 600 }}>Wide and tall content...</ScrollArea.Content>
|
|
108
116
|
* </ScrollArea.Viewport>
|
|
109
117
|
* <ScrollArea.Scrollbar orientation="vertical">
|
|
110
118
|
* <ScrollArea.Thumb />
|
|
@@ -121,6 +129,7 @@ function ScrollAreaCorner({ className, ref, ...props }) {
|
|
|
121
129
|
const ScrollArea = {
|
|
122
130
|
Root: ScrollAreaRoot,
|
|
123
131
|
Viewport: ScrollAreaViewport,
|
|
132
|
+
Content: ScrollAreaContent,
|
|
124
133
|
Scrollbar: ScrollAreaScrollbar,
|
|
125
134
|
Thumb: ScrollAreaThumb,
|
|
126
135
|
Corner: ScrollAreaCorner
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as mergeBaseClassName } from "../class-names-BiMDVpUo.js";
|
|
2
|
-
import {
|
|
2
|
+
import { W as SearchIcon } from "../icons-DKXiSepE.js";
|
|
3
3
|
import { Field } from "./Field.js";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
//#region src/components/SearchField.tsx
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as mergeBaseClassName } from "../class-names-BiMDVpUo.js";
|
|
2
|
-
import { a as ArrowUpIcon,
|
|
2
|
+
import { a as ArrowUpIcon, n as ArrowDownIcon, u as CheckIcon } from "../icons-DKXiSepE.js";
|
|
3
3
|
import "react";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
import { Select as Select$1 } from "@base-ui/react/select";
|
|
@@ -39,13 +39,13 @@ function SelectLabel({ className, ref, ...props }) {
|
|
|
39
39
|
const classes = mergeBaseClassName(["select__label"].filter(Boolean).join(" "), className);
|
|
40
40
|
return /* @__PURE__ */ jsx(Select$1.Label, {
|
|
41
41
|
ref,
|
|
42
|
-
"data-slot": "select-label",
|
|
42
|
+
"data-slot": "select-field-label",
|
|
43
43
|
className: classes,
|
|
44
44
|
...props
|
|
45
45
|
});
|
|
46
46
|
}
|
|
47
47
|
function SelectTrigger({ size = "sm", className, ref, ...props }) {
|
|
48
|
-
const classes = mergeBaseClassName(
|
|
48
|
+
const classes = mergeBaseClassName("select__trigger", className);
|
|
49
49
|
return /* @__PURE__ */ jsx(Select$1.Trigger, {
|
|
50
50
|
ref,
|
|
51
51
|
"data-slot": "select-trigger",
|
|
@@ -106,9 +106,7 @@ declare function SliderLabel({
|
|
|
106
106
|
className,
|
|
107
107
|
ref,
|
|
108
108
|
...props
|
|
109
|
-
}: SliderLabelProps
|
|
110
|
-
ref?: React.Ref<HTMLSpanElement>;
|
|
111
|
-
}): React.JSX.Element;
|
|
109
|
+
}: SliderLabelProps): React.JSX.Element;
|
|
112
110
|
declare const Slider: {
|
|
113
111
|
Root: typeof SliderRoot;
|
|
114
112
|
Label: typeof SliderLabel;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as cx } from "../class-names-BiMDVpUo.js";
|
|
2
2
|
import { Collapsible } from "./Collapsible.js";
|
|
3
|
-
import {
|
|
3
|
+
import { O as LinkIcon, p as ChevronRightIcon } from "../icons-DKXiSepE.js";
|
|
4
4
|
import "react";
|
|
5
5
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
//#region src/components/Sources.tsx
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { r as Tabs } from "../Tabs-C49J5m0Q.js";
|
|
1
2
|
import * as React from "react";
|
|
2
3
|
|
|
3
4
|
//#region src/components/Stepper.d.ts
|
|
@@ -12,15 +13,8 @@ type StepIndicators = {
|
|
|
12
13
|
interface StepperContextValue {
|
|
13
14
|
activeStep: number;
|
|
14
15
|
setActiveStep: (step: number) => void;
|
|
15
|
-
stepsCount: number;
|
|
16
16
|
orientation: StepperOrientation;
|
|
17
17
|
indicators: StepIndicators;
|
|
18
|
-
idPrefix: string;
|
|
19
|
-
registerTrigger: (step: number, node: HTMLButtonElement | null) => void;
|
|
20
|
-
focusNext: (step: number) => void;
|
|
21
|
-
focusPrev: (step: number) => void;
|
|
22
|
-
focusFirst: () => void;
|
|
23
|
-
focusLast: () => void;
|
|
24
18
|
}
|
|
25
19
|
interface StepItemContextValue {
|
|
26
20
|
step: number;
|
|
@@ -87,14 +81,13 @@ declare function Stepper({
|
|
|
87
81
|
}: StepperProps & {
|
|
88
82
|
ref?: React.Ref<HTMLDivElement>;
|
|
89
83
|
}): React.JSX.Element;
|
|
90
|
-
interface StepperNavProps extends React.ComponentPropsWithoutRef<"
|
|
84
|
+
interface StepperNavProps extends Omit<React.ComponentPropsWithoutRef<typeof Tabs.List>, "unstyled"> {}
|
|
91
85
|
declare function StepperNav({
|
|
92
86
|
className,
|
|
93
87
|
ref,
|
|
94
|
-
role,
|
|
95
88
|
...props
|
|
96
89
|
}: StepperNavProps & {
|
|
97
|
-
ref?: React.Ref<
|
|
90
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
98
91
|
}): React.JSX.Element;
|
|
99
92
|
interface StepperItemProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
100
93
|
step: number;
|
|
@@ -113,17 +106,12 @@ declare function StepperItem({
|
|
|
113
106
|
}: StepperItemProps & {
|
|
114
107
|
ref?: React.Ref<HTMLDivElement>;
|
|
115
108
|
}): React.JSX.Element;
|
|
116
|
-
interface StepperTriggerProps extends React.
|
|
109
|
+
interface StepperTriggerProps extends Omit<React.ComponentPropsWithoutRef<typeof Tabs.Tab>, "unstyled" | "value"> {}
|
|
117
110
|
declare function StepperTrigger({
|
|
118
111
|
className,
|
|
119
112
|
children,
|
|
120
113
|
disabled,
|
|
121
|
-
id,
|
|
122
114
|
type,
|
|
123
|
-
"aria-controls": ariaControls,
|
|
124
|
-
tabIndex,
|
|
125
|
-
onClick,
|
|
126
|
-
onKeyDown,
|
|
127
115
|
ref,
|
|
128
116
|
...props
|
|
129
117
|
}: StepperTriggerProps & {
|
|
@@ -171,7 +159,7 @@ declare function StepperPanel({
|
|
|
171
159
|
}: StepperPanelProps & {
|
|
172
160
|
ref?: React.Ref<HTMLDivElement>;
|
|
173
161
|
}): React.JSX.Element;
|
|
174
|
-
interface StepperContentProps extends React.ComponentPropsWithoutRef<"
|
|
162
|
+
interface StepperContentProps extends Omit<React.ComponentPropsWithoutRef<typeof Tabs.Panel>, "keepMounted" | "unstyled" | "value"> {
|
|
175
163
|
value: number;
|
|
176
164
|
forceMount?: boolean;
|
|
177
165
|
/** Optional vertical rhythm for direct content children. */
|
|
@@ -183,12 +171,10 @@ declare function StepperContent({
|
|
|
183
171
|
spacing,
|
|
184
172
|
className,
|
|
185
173
|
children,
|
|
186
|
-
id,
|
|
187
|
-
"aria-labelledby": ariaLabelledBy,
|
|
188
174
|
ref,
|
|
189
175
|
...props
|
|
190
176
|
}: StepperContentProps & {
|
|
191
177
|
ref?: React.Ref<HTMLDivElement>;
|
|
192
|
-
}): React.JSX.Element
|
|
178
|
+
}): React.JSX.Element;
|
|
193
179
|
//#endregion
|
|
194
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 };
|