@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
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as cx } from "../class-names-BiMDVpUo.js";
|
|
2
|
-
import {
|
|
2
|
+
import { K as SpinnerIcon, et as XIcon } from "../icons-DKXiSepE.js";
|
|
3
3
|
import { Button } from "./Button.js";
|
|
4
4
|
import { Tabs } from "./Tabs.js";
|
|
5
5
|
import { BrowserLiveView } from "./BrowserLiveView.js";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as ButtonVariant, i as ButtonSize, n as ButtonColor, o as ButtonVariantsOptions, r as ButtonProps, s as buttonVariants, t as Button } from "../Button-
|
|
1
|
+
import { a as ButtonVariant, i as ButtonSize, n as ButtonColor, o as ButtonVariantsOptions, r as ButtonProps, s as buttonVariants, t as Button } from "../Button-yRInko9u.js";
|
|
2
2
|
export { Button, ButtonColor, ButtonProps, ButtonSize, ButtonVariant, ButtonVariantsOptions, buttonVariants };
|
|
@@ -29,19 +29,17 @@ function buttonVariants({ variant = "normal", color = "primary", size = "sm", cl
|
|
|
29
29
|
*
|
|
30
30
|
* @see {@link https://base-ui.com/react/components/button | Base UI Button}
|
|
31
31
|
*/
|
|
32
|
-
function Button({ variant = "normal", color = "primary", size = "sm", iconOnly = false, className,
|
|
32
|
+
function Button({ variant = "normal", color = "primary", size = "sm", iconOnly = false, className, ref, ...props }) {
|
|
33
33
|
const classes = mergeBaseClassName(buttonVariants({
|
|
34
34
|
variant,
|
|
35
35
|
color,
|
|
36
36
|
size
|
|
37
37
|
}), className);
|
|
38
|
-
const resolvedNativeButton = nativeButton ?? props.render == null;
|
|
39
38
|
return /* @__PURE__ */ jsx(Button$1, {
|
|
40
39
|
ref,
|
|
41
40
|
"data-slot": "button",
|
|
42
41
|
"data-icon-only": iconOnly ? "" : void 0,
|
|
43
42
|
className: classes,
|
|
44
|
-
nativeButton: resolvedNativeButton,
|
|
45
43
|
...props
|
|
46
44
|
});
|
|
47
45
|
}
|
|
@@ -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 { K as SpinnerIcon, _ as DotIcon, p as ChevronRightIcon, u as CheckIcon } from "../icons-DKXiSepE.js";
|
|
4
4
|
import "react";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
//#region src/components/ChainOfThought.tsx
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as cx } from "../class-names-BiMDVpUo.js";
|
|
2
|
-
import {
|
|
2
|
+
import { K as SpinnerIcon } from "../icons-DKXiSepE.js";
|
|
3
3
|
import { Button } from "./Button.js";
|
|
4
|
-
import { u as ModelSelectorLogo } from "../ModelSelector-
|
|
4
|
+
import { u as ModelSelectorLogo } from "../ModelSelector-4GsCWcZV.js";
|
|
5
5
|
import "react";
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
//#region src/components/ChatGptSignInScreen.tsx
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
1
|
import { Checkbox as Checkbox$1, CheckboxRootProps } from "@base-ui/react/checkbox";
|
|
3
2
|
|
|
4
3
|
//#region src/components/Checkbox.d.ts
|
|
@@ -25,14 +24,12 @@ declare function CheckboxRoot({
|
|
|
25
24
|
className,
|
|
26
25
|
ref,
|
|
27
26
|
...props
|
|
28
|
-
}: CheckboxProps
|
|
29
|
-
ref?: React.Ref<HTMLButtonElement>;
|
|
30
|
-
}): React.JSX.Element;
|
|
27
|
+
}: CheckboxProps): import("react").JSX.Element;
|
|
31
28
|
declare function CheckboxIndicator({
|
|
32
29
|
children,
|
|
33
30
|
className,
|
|
34
31
|
...props
|
|
35
|
-
}: Checkbox$1.Indicator.Props):
|
|
32
|
+
}: Checkbox$1.Indicator.Props): import("react").JSX.Element;
|
|
36
33
|
declare const Checkbox: {
|
|
37
34
|
Root: typeof CheckboxRoot;
|
|
38
35
|
Indicator: typeof CheckboxIndicator;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { n as mergeBaseClassName } from "../class-names-BiMDVpUo.js";
|
|
2
|
-
import {
|
|
3
|
-
import "react";
|
|
2
|
+
import { u as CheckIcon } from "../icons-DKXiSepE.js";
|
|
4
3
|
import { jsx } from "react/jsx-runtime";
|
|
5
4
|
import { Checkbox as Checkbox$1 } from "@base-ui/react/checkbox";
|
|
6
5
|
//#region src/components/Checkbox.tsx
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as cx } from "../class-names-BiMDVpUo.js";
|
|
2
|
-
import { o as BookmarkIcon } from "../icons-
|
|
2
|
+
import { o as BookmarkIcon } from "../icons-DKXiSepE.js";
|
|
3
3
|
import { Marker, MarkerIcon } from "./Marker.js";
|
|
4
4
|
import "react";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as CodeBlockLanguage, C as CodeBlockLanguageSelectorValueProps, D as TokenizedCode, E as CodeBlockTitleProps, O as highlightCode, S as CodeBlockLanguageSelectorValue, T as CodeBlockTitle, _ as CodeBlockLanguageSelectorItem, a as CodeBlockContainerProps, b as CodeBlockLanguageSelectorTrigger, c as CodeBlockCopyButton, d as CodeBlockFilenameProps, f as CodeBlockHeader, g as CodeBlockLanguageSelectorContentProps, h as CodeBlockLanguageSelectorContent, i as CodeBlockContainer, k as CODE_BLOCK_LANGUAGES, l as CodeBlockCopyButtonProps, m as CodeBlockLanguageSelector, n as CodeBlockActions, o as CodeBlockContent, p as CodeBlockHeaderProps, r as CodeBlockActionsProps, s as CodeBlockContentProps, t as CodeBlock, u as CodeBlockFilename, v as CodeBlockLanguageSelectorItemProps, w as CodeBlockProps, x as CodeBlockLanguageSelectorTriggerProps, y as CodeBlockLanguageSelectorProps } from "../CodeBlock-
|
|
1
|
+
import { A as CodeBlockLanguage, C as CodeBlockLanguageSelectorValueProps, D as TokenizedCode, E as CodeBlockTitleProps, O as highlightCode, S as CodeBlockLanguageSelectorValue, T as CodeBlockTitle, _ as CodeBlockLanguageSelectorItem, a as CodeBlockContainerProps, b as CodeBlockLanguageSelectorTrigger, c as CodeBlockCopyButton, d as CodeBlockFilenameProps, f as CodeBlockHeader, g as CodeBlockLanguageSelectorContentProps, h as CodeBlockLanguageSelectorContent, i as CodeBlockContainer, k as CODE_BLOCK_LANGUAGES, l as CodeBlockCopyButtonProps, m as CodeBlockLanguageSelector, n as CodeBlockActions, o as CodeBlockContent, p as CodeBlockHeaderProps, r as CodeBlockActionsProps, s as CodeBlockContentProps, t as CodeBlock, u as CodeBlockFilename, v as CodeBlockLanguageSelectorItemProps, w as CodeBlockProps, x as CodeBlockLanguageSelectorTriggerProps, y as CodeBlockLanguageSelectorProps } from "../CodeBlock-Bbls1CnA.js";
|
|
2
2
|
export { CODE_BLOCK_LANGUAGES, CodeBlock, CodeBlockActions, CodeBlockActionsProps, CodeBlockContainer, CodeBlockContainerProps, CodeBlockContent, CodeBlockContentProps, CodeBlockCopyButton, CodeBlockCopyButtonProps, CodeBlockFilename, CodeBlockFilenameProps, CodeBlockHeader, CodeBlockHeaderProps, type CodeBlockLanguage, CodeBlockLanguageSelector, CodeBlockLanguageSelectorContent, CodeBlockLanguageSelectorContentProps, CodeBlockLanguageSelectorItem, CodeBlockLanguageSelectorItemProps, CodeBlockLanguageSelectorProps, CodeBlockLanguageSelectorTrigger, CodeBlockLanguageSelectorTriggerProps, CodeBlockLanguageSelectorValue, CodeBlockLanguageSelectorValueProps, CodeBlockProps, CodeBlockTitle, CodeBlockTitleProps, TokenizedCode, highlightCode };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as CodeBlockCopyButton, c as CodeBlockLanguageSelector, d as CodeBlockLanguageSelectorTrigger, f as CodeBlockLanguageSelectorValue, h as CODE_BLOCK_LANGUAGES, i as CodeBlockContent, l as CodeBlockLanguageSelectorContent, m as highlightCode, n as CodeBlockActions, o as CodeBlockFilename, p as CodeBlockTitle, r as CodeBlockContainer, s as CodeBlockHeader, t as CodeBlock, u as CodeBlockLanguageSelectorItem } from "../CodeBlock-
|
|
1
|
+
import { a as CodeBlockCopyButton, c as CodeBlockLanguageSelector, d as CodeBlockLanguageSelectorTrigger, f as CodeBlockLanguageSelectorValue, h as CODE_BLOCK_LANGUAGES, i as CodeBlockContent, l as CodeBlockLanguageSelectorContent, m as highlightCode, n as CodeBlockActions, o as CodeBlockFilename, p as CodeBlockTitle, r as CodeBlockContainer, s as CodeBlockHeader, t as CodeBlock, u as CodeBlockLanguageSelectorItem } from "../CodeBlock-Bb-IPBc_.js";
|
|
2
2
|
export { CODE_BLOCK_LANGUAGES, CodeBlock, CodeBlockActions, CodeBlockContainer, CodeBlockContent, CodeBlockCopyButton, CodeBlockFilename, CodeBlockHeader, CodeBlockLanguageSelector, CodeBlockLanguageSelectorContent, CodeBlockLanguageSelectorItem, CodeBlockLanguageSelectorTrigger, CodeBlockLanguageSelectorValue, CodeBlockTitle, highlightCode };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { t as cx } from "../class-names-BiMDVpUo.js";
|
|
2
|
-
import {
|
|
2
|
+
import { U as RefreshIcon, c as BrainIcon, d as ChevronDownIcon, p as ChevronRightIcon, u as CheckIcon } from "../icons-DKXiSepE.js";
|
|
3
|
+
import { Tooltip } from "./Tooltip.js";
|
|
3
4
|
import { Menu } from "./Menu.js";
|
|
4
5
|
import "react";
|
|
5
6
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -19,6 +20,10 @@ function CodexModelSelector({ models, selectedModelId = null, onSelectModel, sel
|
|
|
19
20
|
const speedOptions = getServiceTiers(selectedModel);
|
|
20
21
|
const selectedEffort = effortOptions.find((option) => option.reasoningEffort === selectedEffortId);
|
|
21
22
|
const selectedSpeed = speedOptions.find((option) => option.id === selectedSpeedId);
|
|
23
|
+
const selectedModelLabel = selectedModel?.displayName ?? "Select model";
|
|
24
|
+
const compactModelLabel = selectedModelLabel.replace(/^GPT-([^-]+).*$/i, "$1");
|
|
25
|
+
const selectedEffortLabel = selectedEffort ? formatSettingLabel(selectedEffort.reasoningEffort) : void 0;
|
|
26
|
+
const selectedSettingsLabel = selectedEffortLabel ? `${selectedModelLabel} · ${selectedEffortLabel}` : selectedModelLabel;
|
|
22
27
|
function handleSelectModel(modelId) {
|
|
23
28
|
const model = visibleModels.find((option) => option.id === modelId);
|
|
24
29
|
if (!model) return;
|
|
@@ -41,23 +46,38 @@ function CodexModelSelector({ models, selectedModelId = null, onSelectModel, sel
|
|
|
41
46
|
function handleReset() {
|
|
42
47
|
onReset?.();
|
|
43
48
|
}
|
|
49
|
+
const trigger = /* @__PURE__ */ jsxs(Menu.Trigger, {
|
|
50
|
+
unstyled: true,
|
|
51
|
+
className: cx("codex-model-selector__trigger", className),
|
|
52
|
+
disabled,
|
|
53
|
+
"aria-label": ariaLabel,
|
|
54
|
+
children: [
|
|
55
|
+
/* @__PURE__ */ jsxs("span", {
|
|
56
|
+
className: "codex-model-selector__compact",
|
|
57
|
+
children: [/* @__PURE__ */ jsx(BrainIcon, { className: "codex-model-selector__compact-icon" }), /* @__PURE__ */ jsx("span", {
|
|
58
|
+
className: "codex-model-selector__compact-label",
|
|
59
|
+
children: compactModelLabel
|
|
60
|
+
})]
|
|
61
|
+
}),
|
|
62
|
+
/* @__PURE__ */ jsxs("span", {
|
|
63
|
+
className: "codex-model-selector__summary",
|
|
64
|
+
children: [/* @__PURE__ */ jsx("span", { children: selectedModelLabel }), selectedEffort ? /* @__PURE__ */ jsx("span", {
|
|
65
|
+
className: cx("codex-model-selector__summary-effort", selectedEffort.reasoningEffort === "ultra" && "codex-model-selector__summary-effort--ultra"),
|
|
66
|
+
children: selectedEffortLabel
|
|
67
|
+
}) : null]
|
|
68
|
+
}),
|
|
69
|
+
/* @__PURE__ */ jsx(ChevronDownIcon, { className: "codex-model-selector__trigger-icon" })
|
|
70
|
+
]
|
|
71
|
+
});
|
|
44
72
|
return /* @__PURE__ */ jsxs(Menu.Root, {
|
|
45
73
|
open,
|
|
46
74
|
defaultOpen,
|
|
47
75
|
onOpenChange,
|
|
48
|
-
children: [/* @__PURE__ */ jsxs(
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
children: [/* @__PURE__ */ jsxs("span", {
|
|
54
|
-
className: "codex-model-selector__summary",
|
|
55
|
-
children: [/* @__PURE__ */ jsx("span", { children: selectedModel?.displayName ?? "Select model" }), selectedEffort ? /* @__PURE__ */ jsx("span", {
|
|
56
|
-
className: cx("codex-model-selector__summary-effort", selectedEffort.reasoningEffort === "ultra" && "codex-model-selector__summary-effort--ultra"),
|
|
57
|
-
children: formatSettingLabel(selectedEffort.reasoningEffort)
|
|
58
|
-
}) : null]
|
|
59
|
-
}), /* @__PURE__ */ jsx(ChevronDownIcon, { className: "codex-model-selector__trigger-icon" })]
|
|
60
|
-
}), /* @__PURE__ */ jsx(Menu.Portal, { children: /* @__PURE__ */ jsx(Menu.Positioner, {
|
|
76
|
+
children: [/* @__PURE__ */ jsxs(Tooltip.Root, { children: [/* @__PURE__ */ jsx(Tooltip.Trigger, { render: trigger }), /* @__PURE__ */ jsx(Tooltip.Portal, { children: /* @__PURE__ */ jsx(Tooltip.Positioner, {
|
|
77
|
+
side: "top",
|
|
78
|
+
sideOffset: 6,
|
|
79
|
+
children: /* @__PURE__ */ jsxs(Tooltip.Popup, { children: ["Response settings: ", selectedSettingsLabel] })
|
|
80
|
+
}) })] }), /* @__PURE__ */ jsx(Menu.Portal, { children: /* @__PURE__ */ jsx(Menu.Positioner, {
|
|
61
81
|
side: "top",
|
|
62
82
|
align: "end",
|
|
63
83
|
children: /* @__PURE__ */ jsxs(Menu.Popup, {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as useComboboxAnchor, t as Combobox } from "../Combobox-
|
|
1
|
+
import { n as useComboboxAnchor, t as Combobox } from "../Combobox-xEEF6fUb.js";
|
|
2
2
|
export { Combobox, useComboboxAnchor };
|
|
@@ -39,12 +39,11 @@ function ComboboxPositioner({ className, ref, ...props }) {
|
|
|
39
39
|
...props
|
|
40
40
|
});
|
|
41
41
|
}
|
|
42
|
-
function ComboboxPopup({ className,
|
|
42
|
+
function ComboboxPopup({ className, ref, ...props }) {
|
|
43
43
|
const classes = mergeBaseClassName(["combobox__popup", "base-ui-popup"].filter(Boolean).join(" "), className);
|
|
44
44
|
return /* @__PURE__ */ jsx(Combobox$1.Popup, {
|
|
45
45
|
ref,
|
|
46
46
|
"data-slot": "combobox-content",
|
|
47
|
-
tabIndex,
|
|
48
47
|
className: classes,
|
|
49
48
|
...props
|
|
50
49
|
});
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as Collapsible } from "../Collapsible-N64ASIQr.js";
|
|
2
|
-
import { t as CopyButtonProps } from "../copy-button-
|
|
2
|
+
import { t as CopyButtonProps } from "../copy-button-BrvQ7z4W.js";
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/Commit.d.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as cx } from "../class-names-BiMDVpUo.js";
|
|
2
2
|
import { Collapsible } from "./Collapsible.js";
|
|
3
|
-
import {
|
|
4
|
-
import { t as CopyButton } from "../copy-button-
|
|
3
|
+
import { S as FileIcon, p as ChevronRightIcon } from "../icons-DKXiSepE.js";
|
|
4
|
+
import { t as CopyButton } from "../copy-button-BtRwhRks.js";
|
|
5
5
|
import { Badge } from "./Badge.js";
|
|
6
6
|
import { Avatar } from "./Avatar.js";
|
|
7
7
|
import "react";
|
|
@@ -68,12 +68,19 @@ function ContextTrigger({ className, children, ...props }) {
|
|
|
68
68
|
const { usedTokens, maxTokens } = useContextContext();
|
|
69
69
|
const percent = maxTokens > 0 ? usedTokens / maxTokens * 100 : 0;
|
|
70
70
|
if (React.isValidElement(children)) return /* @__PURE__ */ jsx(Popover.Trigger, {
|
|
71
|
+
unstyled: true,
|
|
71
72
|
className: cx("context__trigger", className),
|
|
72
73
|
...props,
|
|
73
74
|
render: children
|
|
74
75
|
});
|
|
75
|
-
if (children) return /* @__PURE__ */ jsx(Popover.Trigger, {
|
|
76
|
+
if (children) return /* @__PURE__ */ jsx(Popover.Trigger, {
|
|
77
|
+
unstyled: true,
|
|
78
|
+
className: cx("context__trigger", className),
|
|
79
|
+
...props,
|
|
80
|
+
children
|
|
81
|
+
});
|
|
76
82
|
return /* @__PURE__ */ jsx(Popover.Trigger, {
|
|
83
|
+
unstyled: true,
|
|
77
84
|
className: cx("context__trigger", className),
|
|
78
85
|
"aria-label": `Context usage: ${percent.toFixed(0)}%`,
|
|
79
86
|
...props,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as mergeBaseClassName } from "../class-names-BiMDVpUo.js";
|
|
2
|
-
import {
|
|
2
|
+
import { _ as DotIcon, u as CheckIcon } from "../icons-DKXiSepE.js";
|
|
3
3
|
import "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
import { ContextMenu as ContextMenu$1 } from "@base-ui/react/context-menu";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as cx } from "../class-names-BiMDVpUo.js";
|
|
2
|
-
import {
|
|
2
|
+
import { n as ArrowDownIcon, v as DownloadIcon } from "../icons-DKXiSepE.js";
|
|
3
3
|
import { Button } from "./Button.js";
|
|
4
4
|
import { MessageScroller, MessageScrollerButton, MessageScrollerContent, MessageScrollerItem, MessageScrollerProvider, MessageScrollerViewport } from "./MessageScroller.js";
|
|
5
5
|
import * as React from "react";
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { n as mergeBaseClassName } from "../class-names-BiMDVpUo.js";
|
|
2
|
+
import { buttonVariants } from "./Button.js";
|
|
2
3
|
import "react";
|
|
3
4
|
import { jsx } from "react/jsx-runtime";
|
|
4
5
|
import { Dialog as Dialog$1 } from "@base-ui/react/dialog";
|
|
@@ -50,7 +51,11 @@ function DialogViewport({ className, ref, ...props }) {
|
|
|
50
51
|
});
|
|
51
52
|
}
|
|
52
53
|
function DialogPopup({ size = "md", className, ref, ...props }) {
|
|
53
|
-
const classes = mergeBaseClassName([
|
|
54
|
+
const classes = mergeBaseClassName([
|
|
55
|
+
"dialog__popup",
|
|
56
|
+
"base-ui-modal-popup",
|
|
57
|
+
size !== "md" && `dialog__popup--${size}`
|
|
58
|
+
].filter(Boolean).join(" "), className);
|
|
54
59
|
return /* @__PURE__ */ jsx(Dialog$1.Popup, {
|
|
55
60
|
ref,
|
|
56
61
|
"data-slot": "dialog-content",
|
|
@@ -92,11 +97,17 @@ function DialogDescription({ className, ref, ...props }) {
|
|
|
92
97
|
...props
|
|
93
98
|
});
|
|
94
99
|
}
|
|
95
|
-
function DialogClose({ className, ref, ...props }) {
|
|
96
|
-
const classes = mergeBaseClassName(
|
|
100
|
+
function DialogClose({ render, className, ref, ...props }) {
|
|
101
|
+
const classes = mergeBaseClassName(render == null ? buttonVariants({
|
|
102
|
+
variant: "normal",
|
|
103
|
+
color: "neutral",
|
|
104
|
+
size: "sm",
|
|
105
|
+
className: "dialog__close"
|
|
106
|
+
}) : "dialog__close", className);
|
|
97
107
|
return /* @__PURE__ */ jsx(Dialog$1.Close, {
|
|
98
108
|
ref,
|
|
99
109
|
"data-slot": "dialog-close",
|
|
110
|
+
render,
|
|
100
111
|
className: classes,
|
|
101
112
|
...props
|
|
102
113
|
});
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as cx } from "../class-names-BiMDVpUo.js";
|
|
2
|
-
import { b as
|
|
3
|
-
import { t as CopyButton } from "../copy-button-
|
|
2
|
+
import { b as EyeIcon, x as EyeOffIcon } from "../icons-DKXiSepE.js";
|
|
3
|
+
import { t as CopyButton } from "../copy-button-BtRwhRks.js";
|
|
4
4
|
import { Badge } from "./Badge.js";
|
|
5
5
|
import { Switch } from "./Switch.js";
|
|
6
6
|
import * as React from "react";
|
|
@@ -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-CUlXfnmc.js";
|
|
2
2
|
export { FileTree, FileTreeActions, FileTreeFile, FileTreeFolder, FileTreeIcon, FileTreeName };
|
|
@@ -84,6 +84,7 @@ function InlineCitationSource({ source, index, className, ref, ...props }) {
|
|
|
84
84
|
"data-source-id": source.sourceId,
|
|
85
85
|
"data-source-type": source.type,
|
|
86
86
|
children: /* @__PURE__ */ jsxs(Popover.Root, { children: [/* @__PURE__ */ jsx(Popover.Trigger, {
|
|
87
|
+
unstyled: true,
|
|
87
88
|
className: "inline-citation__trigger",
|
|
88
89
|
"aria-label": accessibleName,
|
|
89
90
|
children: visibleLabel
|
|
@@ -1,20 +1,14 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
+
import { useRender } from "@base-ui/react/use-render";
|
|
2
3
|
|
|
3
4
|
//#region src/components/Marker.d.ts
|
|
4
5
|
type MarkerVariant = "default" | "separator" | "border";
|
|
5
|
-
type MarkerRenderProps = React.HTMLAttributes<HTMLElement> & {
|
|
6
|
-
ref?: React.Ref<HTMLElement>;
|
|
7
|
-
};
|
|
8
6
|
type MarkerRenderState = {
|
|
9
7
|
variant: MarkerVariant;
|
|
10
8
|
};
|
|
11
|
-
|
|
12
|
-
type MarkerRender = React.ReactElement<React.HTMLAttributes<HTMLElement>> | MarkerRenderFunction;
|
|
13
|
-
interface MarkerProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
9
|
+
interface MarkerProps extends useRender.ComponentProps<"div", MarkerRenderState> {
|
|
14
10
|
/** Visual treatment for status, separator, or bordered marker rows. */
|
|
15
11
|
variant?: MarkerVariant;
|
|
16
|
-
/** Replace the root element while keeping marker classes, refs, and handlers merged. */
|
|
17
|
-
render?: MarkerRender;
|
|
18
12
|
}
|
|
19
13
|
interface MarkerVariantsOptions {
|
|
20
14
|
variant?: MarkerVariant | null;
|
|
@@ -34,9 +28,7 @@ declare function Marker({
|
|
|
34
28
|
render,
|
|
35
29
|
ref,
|
|
36
30
|
...props
|
|
37
|
-
}: MarkerProps
|
|
38
|
-
ref?: React.Ref<HTMLDivElement>;
|
|
39
|
-
}): React.JSX.Element | null;
|
|
31
|
+
}: MarkerProps): React.ReactElement<unknown, string | React.JSXElementConstructor<any>>;
|
|
40
32
|
interface MarkerIconProps extends React.HTMLAttributes<HTMLSpanElement> {}
|
|
41
33
|
declare function MarkerIcon({
|
|
42
34
|
className,
|
|
@@ -1,58 +1,30 @@
|
|
|
1
1
|
import { t as cx } from "../class-names-BiMDVpUo.js";
|
|
2
|
-
import
|
|
3
|
-
import * as React from "react";
|
|
2
|
+
import "react";
|
|
4
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
|
+
import { useRender } from "@base-ui/react/use-render";
|
|
5
5
|
//#region src/components/Marker.tsx
|
|
6
6
|
function markerVariants({ variant = "default", className } = {}) {
|
|
7
7
|
return cx("marker", `marker--${variant ?? "default"}`, className);
|
|
8
8
|
}
|
|
9
|
-
function isEventHandler(propName, value) {
|
|
10
|
-
return /^on[A-Z]/.test(propName) && typeof value === "function";
|
|
11
|
-
}
|
|
12
|
-
function mergeRenderedMarkerProps(renderProps, markerProps) {
|
|
13
|
-
const mergedProps = {
|
|
14
|
-
...renderProps,
|
|
15
|
-
...markerProps
|
|
16
|
-
};
|
|
17
|
-
const markerPropsRecord = markerProps;
|
|
18
|
-
for (const propName of Object.keys(renderProps)) {
|
|
19
|
-
const renderValue = renderProps[propName];
|
|
20
|
-
const markerValue = markerPropsRecord[propName];
|
|
21
|
-
if (isEventHandler(propName, renderValue) && isEventHandler(propName, markerValue)) mergedProps[propName] = (...args) => {
|
|
22
|
-
renderValue(...args);
|
|
23
|
-
markerValue(...args);
|
|
24
|
-
};
|
|
25
|
-
}
|
|
26
|
-
mergedProps.className = cx(renderProps.className, markerProps.className);
|
|
27
|
-
mergedProps.style = renderProps.style || markerProps.style ? {
|
|
28
|
-
...renderProps.style,
|
|
29
|
-
...markerProps.style
|
|
30
|
-
} : void 0;
|
|
31
|
-
mergedProps.ref = mergeRefs(renderProps.ref, markerProps.ref);
|
|
32
|
-
return mergedProps;
|
|
33
|
-
}
|
|
34
9
|
/**
|
|
35
10
|
* Compact status or separator row for transcript events like compaction,
|
|
36
11
|
* checkpoints, and progress markers.
|
|
37
12
|
*/
|
|
38
13
|
function Marker({ className, variant = "default", render, ref, ...props }) {
|
|
39
|
-
|
|
14
|
+
return useRender({
|
|
15
|
+
defaultTagName: "div",
|
|
16
|
+
render,
|
|
40
17
|
ref,
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
ref
|
|
52
|
-
};
|
|
53
|
-
if (typeof render === "function") return render(markerProps, { variant });
|
|
54
|
-
if (React.isValidElement(render)) return React.cloneElement(render, mergeRenderedMarkerProps(render.props, markerProps));
|
|
55
|
-
return /* @__PURE__ */ jsx("div", { ...rootProps });
|
|
18
|
+
props: {
|
|
19
|
+
"data-slot": "marker",
|
|
20
|
+
...props,
|
|
21
|
+
className: markerVariants({
|
|
22
|
+
variant,
|
|
23
|
+
className
|
|
24
|
+
})
|
|
25
|
+
},
|
|
26
|
+
state: { variant }
|
|
27
|
+
});
|
|
56
28
|
}
|
|
57
29
|
function MarkerIcon({ className, ref, ...props }) {
|
|
58
30
|
return /* @__PURE__ */ jsx("span", {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as cx } from "../class-names-BiMDVpUo.js";
|
|
2
|
-
import {
|
|
2
|
+
import { A as McpIcon, K as SpinnerIcon, Q as WarningIcon, u as CheckIcon } from "../icons-DKXiSepE.js";
|
|
3
3
|
import { Button } from "./Button.js";
|
|
4
4
|
import { AgentAttention, AgentAttentionActions, AgentAttentionBody, AgentAttentionHeader } from "./AgentAttention.js";
|
|
5
5
|
import { getMcpServerEntry, getMcpServerRuntimeState } from "../utils/mcp-server-catalog.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as mergeBaseClassName } from "../class-names-BiMDVpUo.js";
|
|
2
|
-
import {
|
|
2
|
+
import { K as SpinnerIcon, N as MinusIcon, Q as WarningIcon, u as CheckIcon } from "../icons-DKXiSepE.js";
|
|
3
3
|
import { buttonVariants } from "./Button.js";
|
|
4
4
|
import { Dialog } from "./Dialog.js";
|
|
5
5
|
import { Menu } from "./Menu.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as cx } from "../class-names-BiMDVpUo.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { B as PlayIcon } from "../icons-DKXiSepE.js";
|
|
3
|
+
import { t as mergeRefs } from "../merge-refs-KlanQB7A.js";
|
|
4
4
|
import { Card } from "./Card.js";
|
|
5
5
|
import * as React from "react";
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -14,7 +14,10 @@ interface MenubarMenuProps extends React.ComponentPropsWithoutRef<typeof Menu.Ro
|
|
|
14
14
|
/**
|
|
15
15
|
* Props for the Menubar.Trigger component.
|
|
16
16
|
*/
|
|
17
|
-
interface MenubarTriggerProps extends React.ComponentPropsWithoutRef<typeof Menu.Trigger> {
|
|
17
|
+
interface MenubarTriggerProps extends React.ComponentPropsWithoutRef<typeof Menu.Trigger> {
|
|
18
|
+
/** Skip the default Button chrome when a composed control owns its visuals. */
|
|
19
|
+
unstyled?: boolean;
|
|
20
|
+
}
|
|
18
21
|
/**
|
|
19
22
|
* Props for the Menubar.Portal component.
|
|
20
23
|
*/
|
|
@@ -90,6 +93,7 @@ declare function MenubarRoot({
|
|
|
90
93
|
* Button that opens the menu.
|
|
91
94
|
*/
|
|
92
95
|
declare function MenubarTrigger({
|
|
96
|
+
unstyled,
|
|
93
97
|
className,
|
|
94
98
|
ref,
|
|
95
99
|
...props
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { n as mergeBaseClassName } from "../class-names-BiMDVpUo.js";
|
|
2
|
-
import {
|
|
2
|
+
import { _ as DotIcon, u as CheckIcon } from "../icons-DKXiSepE.js";
|
|
3
|
+
import { buttonVariants } from "./Button.js";
|
|
3
4
|
import "react";
|
|
4
5
|
import { jsx } from "react/jsx-runtime";
|
|
5
6
|
import { Menu } from "@base-ui/react/menu";
|
|
@@ -45,11 +46,17 @@ const MenubarMenu = (props) => {
|
|
|
45
46
|
/**
|
|
46
47
|
* Button that opens the menu.
|
|
47
48
|
*/
|
|
48
|
-
function MenubarTrigger({ className, ref, ...props }) {
|
|
49
|
-
const classes = mergeBaseClassName(
|
|
49
|
+
function MenubarTrigger({ unstyled = false, className, ref, ...props }) {
|
|
50
|
+
const classes = mergeBaseClassName(unstyled ? "menubar__trigger" : buttonVariants({
|
|
51
|
+
variant: "ghost",
|
|
52
|
+
color: "neutral",
|
|
53
|
+
size: "sm",
|
|
54
|
+
className: "menubar__trigger"
|
|
55
|
+
}), className);
|
|
50
56
|
return /* @__PURE__ */ jsx(Menu.Trigger, {
|
|
51
57
|
ref,
|
|
52
58
|
"data-slot": "menubar-trigger",
|
|
59
|
+
"data-unstyled": unstyled ? "" : void 0,
|
|
53
60
|
className: classes,
|
|
54
61
|
...props
|
|
55
62
|
});
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as MessageBranch, c as MessageBranchPage, d as MessageContent, f as MessageResponse, i as MessageAttachment, l as MessageBranchPrevious, n as MessageAction, o as MessageBranchContent, p as MessageToolbar, r as MessageActions, s as MessageBranchNext, t as Message, u as MessageBranchSelector } from "../Message-
|
|
1
|
+
import { a as MessageBranch, c as MessageBranchPage, d as MessageContent, f as MessageResponse, i as MessageAttachment, l as MessageBranchPrevious, n as MessageAction, o as MessageBranchContent, p as MessageToolbar, r as MessageActions, s as MessageBranchNext, t as Message, u as MessageBranchSelector } from "../Message-rZEaaD8Q.js";
|
|
2
2
|
export { Message, MessageAction, MessageActions, MessageAttachment, MessageBranch, MessageBranchContent, MessageBranchNext, MessageBranchPage, MessageBranchPrevious, MessageBranchSelector, MessageContent, MessageResponse, MessageToolbar };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as ButtonProps } from "../Button-
|
|
1
|
+
import { r as ButtonProps } from "../Button-yRInko9u.js";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
import { MessageScroller as MessageScroller$1, useMessageScroller, useMessageScrollerScrollable, useMessageScrollerVisibility } from "@shadcn/react/message-scroller";
|
|
4
4
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as cx } from "../class-names-BiMDVpUo.js";
|
|
2
|
-
import { n as ArrowDownIcon } from "../icons-
|
|
2
|
+
import { n as ArrowDownIcon } from "../icons-DKXiSepE.js";
|
|
3
3
|
import { Button } from "./Button.js";
|
|
4
4
|
import "react";
|
|
5
5
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _ as getCloudflareModelProvider, a as ModelSelectorEmpty, b as normalizeCloudflareModelSelectorModels, c as ModelSelectorItem, d as ModelSelectorLogoGroup, f as ModelSelectorName, g as formatCloudflareModelProvider, h as ModelSelectorTrigger, i as ModelSelectorDialog, l as ModelSelectorList, m as ModelSelectorShortcut, n as ModelSelector, o as ModelSelectorGroup, p as ModelSelectorSeparator, r as ModelSelectorContent, s as ModelSelectorInput, t as CloudflareModelSelector, u as ModelSelectorLogo, v as isCloudflareRunnableModelId, x as readCloudflareModelId, y as listCloudflareModelSelectorOptions } from "../ModelSelector-
|
|
1
|
+
import { _ as getCloudflareModelProvider, a as ModelSelectorEmpty, b as normalizeCloudflareModelSelectorModels, c as ModelSelectorItem, d as ModelSelectorLogoGroup, f as ModelSelectorName, g as formatCloudflareModelProvider, h as ModelSelectorTrigger, i as ModelSelectorDialog, l as ModelSelectorList, m as ModelSelectorShortcut, n as ModelSelector, o as ModelSelectorGroup, p as ModelSelectorSeparator, r as ModelSelectorContent, s as ModelSelectorInput, t as CloudflareModelSelector, u as ModelSelectorLogo, v as isCloudflareRunnableModelId, x as readCloudflareModelId, y as listCloudflareModelSelectorOptions } from "../ModelSelector-4GsCWcZV.js";
|
|
2
2
|
export { CloudflareModelSelector, ModelSelector, ModelSelectorContent, ModelSelectorDialog, ModelSelectorEmpty, ModelSelectorGroup, ModelSelectorInput, ModelSelectorItem, ModelSelectorList, ModelSelectorLogo, ModelSelectorLogoGroup, ModelSelectorName, ModelSelectorSeparator, ModelSelectorShortcut, ModelSelectorTrigger, formatCloudflareModelProvider, getCloudflareModelProvider, isCloudflareRunnableModelId, listCloudflareModelSelectorOptions, normalizeCloudflareModelSelectorModels, readCloudflareModelId };
|
|
@@ -117,9 +117,7 @@ declare function NavigationMenuIcon({
|
|
|
117
117
|
className,
|
|
118
118
|
ref,
|
|
119
119
|
...props
|
|
120
|
-
}: NavigationMenuIconProps
|
|
121
|
-
ref?: React.Ref<HTMLDivElement>;
|
|
122
|
-
}): React.JSX.Element;
|
|
120
|
+
}: NavigationMenuIconProps): React.JSX.Element;
|
|
123
121
|
declare function NavigationMenuContent({
|
|
124
122
|
className,
|
|
125
123
|
ref,
|
|
@@ -146,9 +144,7 @@ declare function NavigationMenuPopup({
|
|
|
146
144
|
className,
|
|
147
145
|
ref,
|
|
148
146
|
...props
|
|
149
|
-
}: NavigationMenuPopupProps
|
|
150
|
-
ref?: React.Ref<HTMLDivElement>;
|
|
151
|
-
}): React.JSX.Element;
|
|
147
|
+
}: NavigationMenuPopupProps): React.JSX.Element;
|
|
152
148
|
declare function NavigationMenuViewport({
|
|
153
149
|
className,
|
|
154
150
|
ref,
|
package/dist/components/Plan.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as cx } from "../class-names-BiMDVpUo.js";
|
|
2
|
-
import {
|
|
2
|
+
import { _ as DotIcon, i as ArrowRightIcon, u as CheckIcon } from "../icons-DKXiSepE.js";
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
//#region src/components/Plan.tsx
|