@mcp-b/react-components 0.16.1 → 0.17.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-CrlpbvQJ.d.ts → AgentChat-CRuMi1Pb.d.ts} +4 -10
- package/dist/AgentMessageParts-CyD2UB3V.d.ts +46 -0
- package/dist/AgentToolRunsContext-BVe4stgw.d.ts +21 -0
- package/dist/{CodeBlock-BmB4Xaqq.js → CodeBlock-Co1noLbC.js} +2 -2
- package/dist/{CodeBlock-BRajW4QU.d.ts → CodeBlock-Dnpr88ZQ.d.ts} +2 -2
- package/dist/Collapsible-N64ASIQr.d.ts +119 -0
- package/dist/{Combobox-B9Fcd6q-.d.ts → Combobox-CYc37s5l.d.ts} +11 -33
- package/dist/{FileTree-CkVbIMWV.js → FileTree-B7bBsUyU.js} +7 -7
- package/dist/{Menu-Bgu-ufb5.d.ts → Menu-L6MZm-7N.d.ts} +15 -56
- package/dist/{Message-BkMdE3bS.js → Message-C4eYRogZ.js} +3 -3
- package/dist/{ModelSelector-SlJNgwKY.js → ModelSelector-BNrZlY_Y.js} +5 -5
- package/dist/{PromptInput-BWTuXMOD.d.ts → PromptInput-OLfXPuHM.d.ts} +39 -67
- package/dist/{ResponsiveSidebarShell-Dd9DCcBT.d.ts → ResponsiveSidebarShell-CsAh4NyL.d.ts} +1 -0
- package/dist/{Select-BeEsefzh.d.ts → Select-CwSqP07Y.d.ts} +14 -42
- package/dist/{Tabs-3Zc4tb9D.d.ts → Tabs-9zddXDQo.d.ts} +5 -19
- package/dist/{ThinkChat-CzC-zNGA.js → ThinkChat-DInElus-.js} +53 -26
- package/dist/{ThinkChatActivity-BFQnb2ct.d.ts → ThinkChatActivity-BgesTfZ4.d.ts} +12 -4
- package/dist/{ThinkChatContext-C3Eb1Xpi.d.ts → ThinkChatContext-DrsZqdaO.d.ts} +1 -1
- package/dist/ThinkRecoveryNotice-DFIcG9UX.d.ts +19 -0
- package/dist/{Toggle-CAAlNl-M.d.ts → Toggle-DaXpe1Lc.d.ts} +1 -1
- package/dist/{ToggleGroup-8hPv-b69.d.ts → ToggleGroup-yseEWkOC.d.ts} +3 -4
- package/dist/{Workspace-D39LxGvP.d.ts → Workspace-C9RFoxcu.d.ts} +1 -1
- package/dist/WorkspaceExplorer-sZewzT2O.d.ts +32 -0
- package/dist/{WorkspaceFile-DOZkPwzu.d.ts → WorkspaceFile-C8UzuSH4.d.ts} +1 -1
- package/dist/{WorkspaceFileView-rSN_yT0L.js → WorkspaceFileView-DNdGAEiX.js} +5 -5
- package/dist/{WorkspaceLink-DIPbXrUM.js → WorkspaceLink-B1ykV1dS.js} +15 -29
- package/dist/class-names-Bk-QLWWI.js +11 -0
- package/dist/components/Accordion.d.ts +5 -15
- package/dist/components/Accordion.js +11 -10
- package/dist/components/Activity.d.ts +5 -10
- package/dist/components/Activity.js +2 -2
- package/dist/components/AgentActivity.js +1 -1
- package/dist/components/AgentActivityPreview.js +2 -2
- package/dist/components/AgentAttention.d.ts +1 -1
- package/dist/components/AgentAttention.js +1 -1
- package/dist/components/AgentChat.d.ts +2 -2
- package/dist/components/AgentChat.js +27 -164
- package/dist/components/AgentChatMessageEditor.js +1 -1
- package/dist/components/AgentConnection.js +4 -4
- package/dist/components/AgentMessageParts.d.ts +2 -0
- package/dist/components/AgentMessageParts.js +119 -0
- package/dist/components/AgentToolDetail.d.ts +55 -0
- package/dist/components/AgentToolDetail.js +98 -0
- package/dist/components/AgentToolRunsContext.d.ts +2 -0
- package/dist/components/AgentToolRunsContext.js +16 -0
- package/dist/components/AlertDialog.d.ts +7 -19
- package/dist/components/AlertDialog.js +21 -32
- package/dist/components/AppTopBar.d.ts +4 -1
- package/dist/components/AppTopBar.js +5 -5
- package/dist/components/Approval.d.ts +102 -0
- package/dist/components/Approval.js +227 -0
- package/dist/components/Artifact.d.ts +2 -4
- package/dist/components/Artifact.js +3 -3
- package/dist/components/Autocomplete.d.ts +11 -33
- package/dist/components/Autocomplete.js +23 -30
- package/dist/components/Avatar.d.ts +3 -11
- package/dist/components/Avatar.js +13 -12
- package/dist/components/BrowserLiveView.js +2 -2
- package/dist/components/BrowserReplay.js +2 -2
- package/dist/components/BrowserRunPanel.js +58 -78
- package/dist/components/Button.js +4 -9
- package/dist/components/ChainOfThought.d.ts +5 -11
- package/dist/components/ChainOfThought.js +3 -2
- package/dist/components/ChatGptSignInScreen.js +3 -3
- package/dist/components/Checkbox.d.ts +2 -4
- package/dist/components/Checkbox.js +6 -5
- package/dist/components/CheckboxGroup.d.ts +1 -3
- package/dist/components/CheckboxGroup.js +15 -14
- package/dist/components/Checkpoint.d.ts +64 -0
- package/dist/components/Checkpoint.js +63 -0
- package/dist/components/CodeBlock.d.ts +1 -1
- package/dist/components/CodeBlock.js +1 -1
- package/dist/components/CodexModelSelector.d.ts +1 -1
- package/dist/components/CodexModelSelector.js +2 -2
- package/dist/components/Collapsible.d.ts +1 -124
- package/dist/components/Collapsible.js +7 -10
- package/dist/components/Combobox.d.ts +1 -1
- package/dist/components/Combobox.js +23 -30
- package/dist/components/Commit.d.ts +5 -11
- package/dist/components/Commit.js +6 -5
- package/dist/components/Context.js +1 -1
- package/dist/components/ContextMenu.d.ts +21 -37
- package/dist/components/ContextMenu.js +34 -51
- package/dist/components/Conversation.d.ts +2 -4
- package/dist/components/Conversation.js +2 -2
- package/dist/components/DescriptionListParts.js +1 -1
- package/dist/components/Dialog.d.ts +6 -17
- package/dist/components/Dialog.js +17 -24
- package/dist/components/EnvironmentVariables.d.ts +1 -1
- package/dist/components/EnvironmentVariables.js +4 -3
- package/dist/components/Field.d.ts +17 -20
- package/dist/components/Field.js +16 -16
- package/dist/components/Fieldset.d.ts +2 -7
- package/dist/components/Fieldset.js +7 -6
- package/dist/components/FileTree.js +1 -1
- package/dist/components/Form.d.ts +1 -4
- package/dist/components/Form.js +3 -2
- package/dist/components/GithubMotionMark.js +1 -1
- package/dist/components/InlineCitation.d.ts +66 -0
- package/dist/components/InlineCitation.js +142 -0
- package/dist/components/Input.d.ts +1 -4
- package/dist/components/Input.js +3 -2
- package/dist/components/Marker.js +1 -1
- package/dist/components/McpConnectionRequest.js +2 -2
- package/dist/components/McpServerPicker.d.ts +1 -1
- package/dist/components/McpServerPicker.js +6 -5
- package/dist/components/Menu.d.ts +1 -1
- package/dist/components/Menu.js +33 -52
- package/dist/components/Menubar.d.ts +22 -43
- package/dist/components/Menubar.js +36 -53
- package/dist/components/Message.d.ts +3 -6
- package/dist/components/Message.js +1 -1
- package/dist/components/MessageScroller.d.ts +1 -1
- package/dist/components/MessageScroller.js +3 -3
- package/dist/components/Meter.d.ts +5 -20
- package/dist/components/Meter.js +11 -10
- package/dist/components/ModelSelector.d.ts +2 -6
- package/dist/components/ModelSelector.js +1 -1
- package/dist/components/NavigationMenu.d.ts +11 -33
- package/dist/components/NavigationMenu.js +23 -30
- package/dist/components/NumberField.d.ts +6 -24
- package/dist/components/NumberField.js +13 -12
- package/dist/components/Plan.d.ts +103 -0
- package/dist/components/Plan.js +113 -0
- package/dist/components/Popover.d.ts +9 -36
- package/dist/components/Popover.js +23 -34
- package/dist/components/PreviewCard.d.ts +6 -24
- package/dist/components/PreviewCard.js +13 -24
- package/dist/components/PricingBillingToggle.js +1 -1
- package/dist/components/PricingFAQ.js +1 -1
- package/dist/components/PricingPlanCard.js +3 -3
- package/dist/components/PricingUsageCalculator.js +2 -2
- package/dist/components/Progress.d.ts +3 -8
- package/dist/components/Progress.js +7 -10
- package/dist/components/PromptInput.d.ts +2 -2
- package/dist/components/PromptInput.js +52 -200
- package/dist/components/Queue.d.ts +6 -16
- package/dist/components/Queue.js +2 -2
- package/dist/components/RadioGroup.d.ts +3 -8
- package/dist/components/RadioGroup.js +7 -10
- package/dist/components/Reasoning.d.ts +4 -8
- package/dist/components/Reasoning.js +3 -3
- package/dist/components/ResizableSidePanel.js +2 -2
- package/dist/components/ResponsiveSidebarShell.d.ts +1 -1
- package/dist/components/ResponsiveSidebarShell.js +4 -3
- package/dist/components/ScrollArea.d.ts +5 -20
- package/dist/components/ScrollArea.js +11 -10
- package/dist/components/Select.d.ts +1 -1
- package/dist/components/Select.js +32 -55
- package/dist/components/Separator.d.ts +1 -5
- package/dist/components/Separator.js +3 -6
- package/dist/components/Slider.d.ts +6 -19
- package/dist/components/Slider.js +15 -14
- package/dist/components/Sources.d.ts +4 -9
- package/dist/components/Sources.js +3 -2
- package/dist/components/Stepper.js +2 -2
- package/dist/components/SubagentRunDetails.js +1 -1
- package/dist/components/SubagentRunIndicator.js +2 -2
- package/dist/components/SubagentRunList.js +1 -2
- package/dist/components/SubagentRunSelector.d.ts +2 -11
- package/dist/components/SubagentRunSelector.js +16 -15
- package/dist/components/Switch.d.ts +2 -5
- package/dist/components/Switch.js +5 -8
- package/dist/components/Tabs.d.ts +2 -2
- package/dist/components/Tabs.js +10 -16
- package/dist/components/Task.d.ts +4 -9
- package/dist/components/Task.js +4 -3
- package/dist/components/Terminal.d.ts +2 -3
- package/dist/components/Terminal.js +3 -3
- package/dist/components/TestResults.d.ts +4 -9
- package/dist/components/TestResults.js +3 -2
- package/dist/components/Textarea.js +1 -1
- package/dist/components/ThemeModeControl.js +1 -1
- package/dist/components/ThinkChat.d.ts +21 -11
- package/dist/components/ThinkChat.js +5 -3
- package/dist/components/ThinkChatActivity.d.ts +1 -1
- package/dist/components/ThinkChatActivity.js +26 -7
- package/dist/components/ThinkChatContext.d.ts +1 -1
- package/dist/components/ThinkChatToolPanels.js +2 -2
- package/dist/components/ThinkExecutionDetail.js +2 -2
- package/dist/components/ThinkExecutionStatus.js +2 -2
- package/dist/components/ThinkExecutionWorkbench.js +2 -2
- package/dist/components/ThinkFullApp.d.ts +33 -9
- package/dist/components/ThinkFullApp.js +98 -69
- package/dist/components/ThinkFullAppViewSwitch.d.ts +1 -1
- package/dist/components/ThinkFullAppViewSwitch.js +2 -2
- package/dist/components/ThinkPendingApproval.d.ts +60 -0
- package/dist/components/ThinkPendingApproval.js +99 -0
- package/dist/components/ThinkRecoveryNotice.d.ts +2 -0
- package/dist/components/ThinkRecoveryNotice.js +40 -0
- package/dist/components/ThinkRoutine.js +1 -0
- package/dist/components/ThinkRoutineBrowser.js +6 -6
- package/dist/components/ThinkRoutineDetail.js +1 -1
- package/dist/components/ThinkRoutineForm.js +2 -2
- package/dist/components/ThinkRoutineLibrary.d.ts +9 -0
- package/dist/components/ThinkRoutineLibrary.js +67 -20
- package/dist/components/ThinkRoutineRuns.js +1 -1
- package/dist/components/ThinkThreadPicker.js +2 -2
- package/dist/components/ThinkThreadShell.d.ts +1 -1
- package/dist/components/Toast.d.ts +7 -28
- package/dist/components/Toast.js +15 -14
- package/dist/components/Toggle.d.ts +1 -1
- package/dist/components/Toggle.js +5 -5
- package/dist/components/ToggleGroup.d.ts +1 -1
- package/dist/components/ToggleGroup.js +8 -15
- package/dist/components/ToolApproval.d.ts +28 -0
- package/dist/components/ToolApproval.js +35 -0
- package/dist/components/ToolInvocation.d.ts +26 -0
- package/dist/components/ToolInvocation.js +72 -0
- package/dist/components/Toolbar.d.ts +6 -24
- package/dist/components/Toolbar.js +13 -12
- package/dist/components/Tooltip.d.ts +3 -9
- package/dist/components/Tooltip.js +7 -10
- package/dist/components/WebPreview.d.ts +1 -2
- package/dist/components/WebPreview.js +4 -3
- package/dist/components/Workspace.d.ts +1 -1
- package/dist/components/Workspace.js +5 -20
- package/dist/components/WorkspaceBrowser.d.ts +1 -1
- package/dist/components/WorkspaceBrowser.js +3 -3
- package/dist/components/WorkspaceExplorer.d.ts +3 -31
- package/dist/components/WorkspaceExplorer.js +3 -3
- 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/WorkspaceLink.js +1 -1
- package/dist/components/icons.d.ts +2 -2
- package/dist/components/icons.js +2 -2
- package/dist/{copy-button-DtPMgN7e.d.ts → copy-button-CQx3LQAC.d.ts} +1 -2
- package/dist/{copy-button-Dejn5heL.js → copy-button-cYsJBauI.js} +1 -1
- package/dist/{icons-CpfUer49.js → icons--FqCZEc3.js} +3 -2
- package/dist/{icons-GQd1xF4e.d.ts → icons-DpUqY8Mp.d.ts} +6 -1
- package/dist/styles/agent-activity-preview.css +4 -0
- package/dist/styles/agent-chat.css +0 -41
- package/dist/styles/agent-connection.css +0 -12
- package/dist/styles/agent-tool-detail.css +54 -0
- package/dist/styles/approval.css +172 -0
- package/dist/styles/artifact.css +0 -12
- package/dist/styles/browser-run-panel.css +5 -2
- package/dist/styles/chain-of-thought.css +0 -8
- package/dist/styles/checkpoint.css +58 -0
- package/dist/styles/combobox.css +1 -1
- package/dist/styles/commit.css +0 -21
- package/dist/styles/context-menu.css +0 -8
- package/dist/styles/environment-variables.css +0 -13
- package/dist/styles/file-tree.css +0 -16
- package/dist/styles/index.css +8 -4
- package/dist/styles/inline-citation.css +107 -0
- package/dist/styles/mcp-server-picker.css +0 -30
- package/dist/styles/menu.css +0 -29
- package/dist/styles/menubar.css +0 -8
- package/dist/styles/message-scroller.css +0 -12
- package/dist/styles/message.css +0 -12
- package/dist/styles/model-selector.css +0 -20
- package/dist/styles/plan.css +127 -0
- package/dist/styles/popover.css +0 -36
- package/dist/styles/prompt-input.css +2 -195
- package/dist/styles/recipes.css +114 -5
- package/dist/styles/responsive-sidebar-shell.css +16 -19
- package/dist/styles/sources.css +0 -8
- package/dist/styles/subagent-run.css +12 -70
- package/dist/styles/task.css +0 -16
- package/dist/styles/test-results.css +0 -13
- package/dist/styles/think-full-app.css +12 -38
- package/dist/styles/think-routine-library.css +12 -20
- package/dist/styles/think-thread-picker.css +15 -0
- package/dist/styles/toast.css +0 -7
- package/dist/styles/utilities.css +31 -0
- package/dist/styles/web-preview.css +0 -21
- package/dist/styles/workspace-explorer.css +5 -55
- package/dist/think-agent-Cip5KAPj.d.ts +7 -0
- package/dist/utils/codex-model-catalog.d.ts +4 -4
- package/dist/utils/structured-code.d.ts +1 -1
- package/dist/workspace-path-L_KmjRjq.js +26 -0
- package/package.json +3 -4
- package/dist/class-names-9UtZwb0J.js +0 -12
- package/dist/components/AppFrame.d.ts +0 -24
- package/dist/components/AppFrame.js +0 -25
- package/dist/components/Shell.d.ts +0 -163
- package/dist/components/Shell.js +0 -137
- package/dist/components/SubagentRun.d.ts +0 -86
- package/dist/components/SubagentRun.js +0 -108
- package/dist/styles/app-frame.css +0 -15
- package/dist/styles/shell.css +0 -122
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { t as cx } from "../class-names-
|
|
2
|
-
import {
|
|
1
|
+
import { t as cx } from "../class-names-Bk-QLWWI.js";
|
|
2
|
+
import { V as SpinnerIcon, X as XIcon } from "../icons--FqCZEc3.js";
|
|
3
3
|
import { Button } from "./Button.js";
|
|
4
|
+
import { Tabs } from "./Tabs.js";
|
|
4
5
|
import { BrowserLiveView } from "./BrowserLiveView.js";
|
|
5
6
|
import { WebPreview, WebPreviewNavigation, WebPreviewNavigationButton, WebPreviewUrl } from "./WebPreview.js";
|
|
6
7
|
import * as React from "react";
|
|
@@ -35,76 +36,68 @@ function BrowserRunPanelState({ children, role, tone = "neutral" }) {
|
|
|
35
36
|
* data and calls app-provided refresh/close callbacks.
|
|
36
37
|
*/
|
|
37
38
|
function BrowserRunPanel({ liveView, onRefresh, onCloseSession, loading, error, label = "Browser", empty = "No live browser session", fallback, className, ref, ...props }) {
|
|
38
|
-
const [
|
|
39
|
+
const [requestedTargetId, setRequestedTargetId] = React.useState();
|
|
39
40
|
const [receivedAt, setReceivedAt] = React.useState(() => Date.now());
|
|
40
|
-
const tabRefs = React.useRef(/* @__PURE__ */ new Map());
|
|
41
|
-
const tabListId = React.useId();
|
|
42
41
|
React.useEffect(() => {
|
|
43
42
|
if (liveView) setReceivedAt(Date.now());
|
|
44
43
|
}, [liveView]);
|
|
45
44
|
const targets = liveView?.targets ?? [];
|
|
46
|
-
const target = pickTarget(targets,
|
|
45
|
+
const target = pickTarget(targets, requestedTargetId);
|
|
47
46
|
const pageUrl = target?.pageUrl ?? "";
|
|
48
|
-
const
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
47
|
+
const body = target && liveView ? /* @__PURE__ */ jsx(BrowserLiveView, {
|
|
48
|
+
source: {
|
|
49
|
+
url: target.url,
|
|
50
|
+
targetId: target.targetId,
|
|
51
|
+
expiresInMs: liveView.expiresInMs
|
|
52
|
+
},
|
|
53
|
+
receivedAt,
|
|
54
|
+
pageTitle: target.title ?? target.pageUrl,
|
|
55
|
+
fallback,
|
|
56
|
+
className: "browser-run-panel__live-view"
|
|
57
|
+
}) : loading ? /* @__PURE__ */ jsxs(BrowserRunPanelState, {
|
|
58
|
+
role: "status",
|
|
59
|
+
children: [/* @__PURE__ */ jsx(SpinnerIcon, { className: "browser-run-panel__spinner" }), "Loading browser session"]
|
|
60
|
+
}) : /* @__PURE__ */ jsx(BrowserRunPanelState, { children: empty });
|
|
61
|
+
const bodyProps = {
|
|
62
|
+
className: "web-preview__body browser-run-panel__body",
|
|
63
|
+
"aria-busy": loading || void 0
|
|
65
64
|
};
|
|
66
|
-
return /* @__PURE__ */ jsxs(
|
|
67
|
-
ref,
|
|
65
|
+
return /* @__PURE__ */ jsxs(Tabs.Root, {
|
|
68
66
|
className: cx("browser-run-panel", className),
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
67
|
+
value: target?.targetId ?? null,
|
|
68
|
+
onValueChange: (value) => {
|
|
69
|
+
if (typeof value === "string") setRequestedTargetId(value);
|
|
70
|
+
},
|
|
71
|
+
render: /* @__PURE__ */ jsx(WebPreview, {
|
|
72
|
+
ref,
|
|
73
|
+
url: pageUrl,
|
|
74
|
+
role: "region",
|
|
75
|
+
"aria-label": typeof label === "string" ? label : "Browser",
|
|
76
|
+
...props
|
|
77
|
+
}),
|
|
73
78
|
children: [
|
|
74
|
-
targets.length > 1 ? /* @__PURE__ */ jsx(WebPreviewNavigation, { children: /* @__PURE__ */ jsx(
|
|
75
|
-
id: tabListId,
|
|
79
|
+
targets.length > 1 ? /* @__PURE__ */ jsx(WebPreviewNavigation, { children: /* @__PURE__ */ jsx(Tabs.List, {
|
|
76
80
|
className: "browser-run-panel__tabs",
|
|
77
|
-
role: "tablist",
|
|
78
81
|
"aria-label": "Open browser pages",
|
|
79
|
-
|
|
80
|
-
children: targets.map((candidate) => {
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
if (node) tabRefs.current.set(candidate.targetId, node);
|
|
85
|
-
else tabRefs.current.delete(candidate.targetId);
|
|
86
|
-
},
|
|
82
|
+
activateOnFocus: true,
|
|
83
|
+
children: targets.map((candidate) => /* @__PURE__ */ jsxs(Tabs.Tab, {
|
|
84
|
+
value: candidate.targetId,
|
|
85
|
+
className: "browser-run-panel__tab",
|
|
86
|
+
render: /* @__PURE__ */ jsx(Button, {
|
|
87
87
|
type: "button",
|
|
88
88
|
variant: "ghost",
|
|
89
89
|
color: "neutral",
|
|
90
|
-
size: "sm"
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
"aria-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
children:
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
children: targetGlyph(candidate)
|
|
102
|
-
}), /* @__PURE__ */ jsx("span", {
|
|
103
|
-
className: "browser-run-panel__tab-title",
|
|
104
|
-
children: targetLabel(candidate)
|
|
105
|
-
})]
|
|
106
|
-
}, candidate.targetId);
|
|
107
|
-
})
|
|
90
|
+
size: "sm"
|
|
91
|
+
}),
|
|
92
|
+
children: [/* @__PURE__ */ jsx("span", {
|
|
93
|
+
className: "browser-run-panel__tab-glyph",
|
|
94
|
+
"aria-hidden": "true",
|
|
95
|
+
children: targetGlyph(candidate)
|
|
96
|
+
}), /* @__PURE__ */ jsx("span", {
|
|
97
|
+
className: "browser-run-panel__tab-title",
|
|
98
|
+
children: targetLabel(candidate)
|
|
99
|
+
})]
|
|
100
|
+
}, candidate.targetId))
|
|
108
101
|
}) }) : null,
|
|
109
102
|
/* @__PURE__ */ jsxs(WebPreviewNavigation, {
|
|
110
103
|
className: "browser-run-panel__address-bar",
|
|
@@ -131,26 +124,13 @@ function BrowserRunPanel({ liveView, onRefresh, onCloseSession, loading, error,
|
|
|
131
124
|
tone: "danger",
|
|
132
125
|
children: error
|
|
133
126
|
}) : null,
|
|
134
|
-
/* @__PURE__ */ jsx(
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
children:
|
|
141
|
-
source: {
|
|
142
|
-
url: target.url,
|
|
143
|
-
targetId: target.targetId,
|
|
144
|
-
expiresInMs: liveView.expiresInMs
|
|
145
|
-
},
|
|
146
|
-
receivedAt,
|
|
147
|
-
pageTitle: target.title ?? target.pageUrl,
|
|
148
|
-
fallback,
|
|
149
|
-
className: "browser-run-panel__live-view"
|
|
150
|
-
}) : loading ? /* @__PURE__ */ jsxs(BrowserRunPanelState, {
|
|
151
|
-
role: "status",
|
|
152
|
-
children: [/* @__PURE__ */ jsx(SpinnerIcon, { className: "browser-run-panel__spinner" }), "Loading browser session"]
|
|
153
|
-
}) : /* @__PURE__ */ jsx(BrowserRunPanelState, { children: empty })
|
|
127
|
+
targets.length > 1 && target ? /* @__PURE__ */ jsx(Tabs.Panel, {
|
|
128
|
+
...bodyProps,
|
|
129
|
+
value: target.targetId,
|
|
130
|
+
children: body
|
|
131
|
+
}) : /* @__PURE__ */ jsx("div", {
|
|
132
|
+
...bodyProps,
|
|
133
|
+
children: body
|
|
154
134
|
})
|
|
155
135
|
]
|
|
156
136
|
});
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { n as mergeBaseClassName } from "../class-names-Bk-QLWWI.js";
|
|
1
2
|
import { jsx } from "react/jsx-runtime";
|
|
2
3
|
import { Button as Button$1 } from "@base-ui/react/button";
|
|
3
4
|
//#region src/components/Button.tsx
|
|
@@ -32,17 +33,11 @@ function Button({ variant = "normal", color = "primary", size = "md", className,
|
|
|
32
33
|
return /* @__PURE__ */ jsx(Button$1, {
|
|
33
34
|
ref,
|
|
34
35
|
"data-slot": "button",
|
|
35
|
-
className:
|
|
36
|
+
className: mergeBaseClassName(buttonVariants({
|
|
36
37
|
variant,
|
|
37
38
|
color,
|
|
38
|
-
size
|
|
39
|
-
|
|
40
|
-
}) : buttonVariants({
|
|
41
|
-
variant,
|
|
42
|
-
color,
|
|
43
|
-
size,
|
|
44
|
-
className
|
|
45
|
-
}),
|
|
39
|
+
size
|
|
40
|
+
}), className),
|
|
46
41
|
nativeButton: nativeButton ?? props.render == null,
|
|
47
42
|
...props
|
|
48
43
|
});
|
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
import { Collapsible } from "
|
|
2
|
-
import {
|
|
1
|
+
import { t as Collapsible } from "../Collapsible-N64ASIQr.js";
|
|
2
|
+
import { C as IconProps } from "../icons-DpUqY8Mp.js";
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/ChainOfThought.d.ts
|
|
6
|
-
interface ChainOfThoughtProps extends Omit<React.ComponentProps<typeof Collapsible.Root>, "
|
|
7
|
-
className?: string;
|
|
8
|
-
}
|
|
6
|
+
interface ChainOfThoughtProps extends Omit<React.ComponentProps<typeof Collapsible.Root>, "unstyled"> {}
|
|
9
7
|
/**
|
|
10
8
|
* A collapsible display of an AI's step-by-step reasoning trace. Compose
|
|
11
9
|
* ChainOfThoughtHeader with ChainOfThoughtContent, then nest
|
|
@@ -38,9 +36,7 @@ declare function ChainOfThought({
|
|
|
38
36
|
}: ChainOfThoughtProps & {
|
|
39
37
|
ref?: React.Ref<HTMLDivElement>;
|
|
40
38
|
}): React.JSX.Element;
|
|
41
|
-
interface ChainOfThoughtHeaderProps extends Omit<React.ComponentProps<typeof Collapsible.Trigger>, "
|
|
42
|
-
className?: string;
|
|
43
|
-
}
|
|
39
|
+
interface ChainOfThoughtHeaderProps extends Omit<React.ComponentProps<typeof Collapsible.Trigger>, "unstyled"> {}
|
|
44
40
|
/**
|
|
45
41
|
* Clickable header row that toggles the reasoning trace.
|
|
46
42
|
*/
|
|
@@ -52,9 +48,7 @@ declare function ChainOfThoughtHeader({
|
|
|
52
48
|
}: ChainOfThoughtHeaderProps & {
|
|
53
49
|
ref?: React.Ref<HTMLButtonElement>;
|
|
54
50
|
}): React.JSX.Element;
|
|
55
|
-
interface ChainOfThoughtContentProps extends Omit<React.ComponentProps<typeof Collapsible.Panel>, "
|
|
56
|
-
className?: string;
|
|
57
|
-
}
|
|
51
|
+
interface ChainOfThoughtContentProps extends Omit<React.ComponentProps<typeof Collapsible.Panel>, "unstyled"> {}
|
|
58
52
|
/**
|
|
59
53
|
* Collapsible panel containing step rows.
|
|
60
54
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
+
import { t as cx } from "../class-names-Bk-QLWWI.js";
|
|
1
2
|
import { Collapsible } from "./Collapsible.js";
|
|
2
|
-
import {
|
|
3
|
-
import { B as SpinnerIcon, l as ChevronRightIcon, o as CheckIcon, p as DotIcon } from "../icons-CpfUer49.js";
|
|
3
|
+
import { V as SpinnerIcon, m as DotIcon, s as CheckIcon, u as ChevronRightIcon } from "../icons--FqCZEc3.js";
|
|
4
4
|
import "react";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
//#region src/components/ChainOfThought.tsx
|
|
@@ -34,6 +34,7 @@ function ChainOfThought({ className, ref, ...props }) {
|
|
|
34
34
|
ref,
|
|
35
35
|
className: cx("chain-of-thought", className),
|
|
36
36
|
...props,
|
|
37
|
+
"data-recipe": "disclosure-stack",
|
|
37
38
|
unstyled: true
|
|
38
39
|
});
|
|
39
40
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as cx } from "../class-names-
|
|
2
|
-
import {
|
|
1
|
+
import { t as cx } from "../class-names-Bk-QLWWI.js";
|
|
2
|
+
import { V as SpinnerIcon } from "../icons--FqCZEc3.js";
|
|
3
3
|
import { Button } from "./Button.js";
|
|
4
|
-
import { u as ModelSelectorLogo } from "../ModelSelector-
|
|
4
|
+
import { u as ModelSelectorLogo } from "../ModelSelector-BNrZlY_Y.js";
|
|
5
5
|
import "react";
|
|
6
6
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
7
7
|
//#region src/components/ChatGptSignInScreen.tsx
|
|
@@ -5,10 +5,7 @@ import { Checkbox as Checkbox$1, CheckboxRootProps } from "@base-ui/react/checkb
|
|
|
5
5
|
/**
|
|
6
6
|
* Props for the Checkbox component.
|
|
7
7
|
*/
|
|
8
|
-
interface CheckboxProps extends
|
|
9
|
-
/** Additional CSS class names */
|
|
10
|
-
className?: string;
|
|
11
|
-
}
|
|
8
|
+
interface CheckboxProps extends CheckboxRootProps {}
|
|
12
9
|
/**
|
|
13
10
|
* An accessible checkbox component with custom styling.
|
|
14
11
|
*
|
|
@@ -33,6 +30,7 @@ declare function CheckboxRoot({
|
|
|
33
30
|
}): React.JSX.Element;
|
|
34
31
|
declare function CheckboxIndicator({
|
|
35
32
|
children,
|
|
33
|
+
className,
|
|
36
34
|
...props
|
|
37
35
|
}: Checkbox$1.Indicator.Props): React.JSX.Element;
|
|
38
36
|
declare const Checkbox: {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { n as mergeBaseClassName } from "../class-names-Bk-QLWWI.js";
|
|
2
|
+
import { s as CheckIcon } from "../icons--FqCZEc3.js";
|
|
2
3
|
import "react";
|
|
3
4
|
import { jsx } from "react/jsx-runtime";
|
|
4
5
|
import { Checkbox as Checkbox$1 } from "@base-ui/react/checkbox";
|
|
@@ -18,8 +19,8 @@ import { Checkbox as Checkbox$1 } from "@base-ui/react/checkbox";
|
|
|
18
19
|
*
|
|
19
20
|
* @see {@link https://base-ui.com/react/components/checkbox | Base UI Checkbox}
|
|
20
21
|
*/
|
|
21
|
-
function CheckboxRoot({ className
|
|
22
|
-
const classes = ["checkbox"
|
|
22
|
+
function CheckboxRoot({ className, ref, ...props }) {
|
|
23
|
+
const classes = mergeBaseClassName(["checkbox"].filter(Boolean).join(" "), className);
|
|
23
24
|
return /* @__PURE__ */ jsx(Checkbox$1.Root, {
|
|
24
25
|
ref,
|
|
25
26
|
"data-slot": "checkbox",
|
|
@@ -27,10 +28,10 @@ function CheckboxRoot({ className = "", ref, ...props }) {
|
|
|
27
28
|
...props
|
|
28
29
|
});
|
|
29
30
|
}
|
|
30
|
-
function CheckboxIndicator({ children, ...props }) {
|
|
31
|
+
function CheckboxIndicator({ children, className, ...props }) {
|
|
31
32
|
return /* @__PURE__ */ jsx(Checkbox$1.Indicator, {
|
|
32
33
|
"data-slot": "checkbox-indicator",
|
|
33
|
-
className: "checkbox__indicator",
|
|
34
|
+
className: mergeBaseClassName("checkbox__indicator", className),
|
|
34
35
|
...props,
|
|
35
36
|
children: children ?? /* @__PURE__ */ jsx(CheckIcon, {
|
|
36
37
|
size: 12,
|
|
@@ -5,9 +5,7 @@ import { CheckboxGroup as CheckboxGroup$1 } from "@base-ui/react/checkbox-group"
|
|
|
5
5
|
/**
|
|
6
6
|
* Props for the CheckboxGroup component.
|
|
7
7
|
*/
|
|
8
|
-
interface CheckboxGroupProps extends
|
|
9
|
-
/** Additional CSS class names */
|
|
10
|
-
className?: string;
|
|
8
|
+
interface CheckboxGroupProps extends React.ComponentPropsWithoutRef<typeof CheckboxGroup$1> {
|
|
11
9
|
/** Layout for the choices in this group. */
|
|
12
10
|
layout?: "stack" | "grid";
|
|
13
11
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { n as mergeBaseClassName } from "../class-names-Bk-QLWWI.js";
|
|
1
2
|
import "react";
|
|
2
3
|
import { jsx } from "react/jsx-runtime";
|
|
3
4
|
import { CheckboxGroup as CheckboxGroup$1 } from "@base-ui/react/checkbox-group";
|
|
@@ -58,59 +59,59 @@ import { CheckboxGroup as CheckboxGroup$1 } from "@base-ui/react/checkbox-group"
|
|
|
58
59
|
*
|
|
59
60
|
* @see {@link https://base-ui.com/react/components/checkbox-group | Base UI CheckboxGroup}
|
|
60
61
|
*/
|
|
61
|
-
function CheckboxGroupRoot({ className
|
|
62
|
+
function CheckboxGroupRoot({ className, layout = "stack", ref, ...props }) {
|
|
62
63
|
return /* @__PURE__ */ jsx(CheckboxGroup$1, {
|
|
63
64
|
ref,
|
|
64
65
|
"data-layout": layout,
|
|
65
|
-
className: ["checkbox-group"
|
|
66
|
+
className: mergeBaseClassName(["checkbox-group"].filter(Boolean).join(" "), className),
|
|
66
67
|
...props
|
|
67
68
|
});
|
|
68
69
|
}
|
|
69
|
-
function CheckboxGroupItem({ className
|
|
70
|
+
function CheckboxGroupItem({ className, ref, ...props }) {
|
|
70
71
|
return /* @__PURE__ */ jsx("label", {
|
|
71
72
|
ref,
|
|
72
73
|
"data-slot": "checkbox-group-item",
|
|
73
|
-
className: ["checkbox-group__item"
|
|
74
|
+
className: mergeBaseClassName(["checkbox-group__item"].filter(Boolean).join(" "), className),
|
|
74
75
|
...props
|
|
75
76
|
});
|
|
76
77
|
}
|
|
77
|
-
function CheckboxGroupIcon({ className
|
|
78
|
+
function CheckboxGroupIcon({ className, ref, ...props }) {
|
|
78
79
|
return /* @__PURE__ */ jsx("span", {
|
|
79
80
|
ref,
|
|
80
81
|
"data-slot": "checkbox-group-icon",
|
|
81
|
-
className: ["checkbox-group__icon"
|
|
82
|
+
className: mergeBaseClassName(["checkbox-group__icon"].filter(Boolean).join(" "), className),
|
|
82
83
|
...props
|
|
83
84
|
});
|
|
84
85
|
}
|
|
85
|
-
function CheckboxGroupContent({ className
|
|
86
|
+
function CheckboxGroupContent({ className, ref, ...props }) {
|
|
86
87
|
return /* @__PURE__ */ jsx("span", {
|
|
87
88
|
ref,
|
|
88
89
|
"data-slot": "checkbox-group-content",
|
|
89
|
-
className: ["checkbox-group__content"
|
|
90
|
+
className: mergeBaseClassName(["checkbox-group__content"].filter(Boolean).join(" "), className),
|
|
90
91
|
...props
|
|
91
92
|
});
|
|
92
93
|
}
|
|
93
|
-
function CheckboxGroupTitle({ className
|
|
94
|
+
function CheckboxGroupTitle({ className, ref, ...props }) {
|
|
94
95
|
return /* @__PURE__ */ jsx("span", {
|
|
95
96
|
ref,
|
|
96
97
|
"data-slot": "checkbox-group-title",
|
|
97
|
-
className: ["checkbox-group__title"
|
|
98
|
+
className: mergeBaseClassName(["checkbox-group__title"].filter(Boolean).join(" "), className),
|
|
98
99
|
...props
|
|
99
100
|
});
|
|
100
101
|
}
|
|
101
|
-
function CheckboxGroupDescription({ className
|
|
102
|
+
function CheckboxGroupDescription({ className, ref, ...props }) {
|
|
102
103
|
return /* @__PURE__ */ jsx("span", {
|
|
103
104
|
ref,
|
|
104
105
|
"data-slot": "checkbox-group-description",
|
|
105
|
-
className: ["checkbox-group__description"
|
|
106
|
+
className: mergeBaseClassName(["checkbox-group__description"].filter(Boolean).join(" "), className),
|
|
106
107
|
...props
|
|
107
108
|
});
|
|
108
109
|
}
|
|
109
|
-
function CheckboxGroupTrailing({ className
|
|
110
|
+
function CheckboxGroupTrailing({ className, ref, ...props }) {
|
|
110
111
|
return /* @__PURE__ */ jsx("span", {
|
|
111
112
|
ref,
|
|
112
113
|
"data-slot": "checkbox-group-trailing",
|
|
113
|
-
className: ["checkbox-group__trailing"
|
|
114
|
+
className: mergeBaseClassName(["checkbox-group__trailing"].filter(Boolean).join(" "), className),
|
|
114
115
|
...props
|
|
115
116
|
});
|
|
116
117
|
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { MarkerProps } from "./Marker.js";
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
|
|
4
|
+
//#region src/components/Checkpoint.d.ts
|
|
5
|
+
interface CheckpointProps extends Omit<MarkerProps, "render" | "variant"> {
|
|
6
|
+
/** Checkpoint icon, metadata, and optional application-owned actions. */
|
|
7
|
+
children?: React.ReactNode;
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* Presentation-only durable-boundary marker.
|
|
11
|
+
*
|
|
12
|
+
* Actions are ordinary composed buttons or links; this primitive does not
|
|
13
|
+
* save, restore, resume, or otherwise call an agent transport.
|
|
14
|
+
*/
|
|
15
|
+
declare function Checkpoint({
|
|
16
|
+
className,
|
|
17
|
+
ref,
|
|
18
|
+
...props
|
|
19
|
+
}: CheckpointProps & {
|
|
20
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
21
|
+
}): React.JSX.Element;
|
|
22
|
+
interface CheckpointIconProps extends React.HTMLAttributes<HTMLSpanElement> {}
|
|
23
|
+
declare function CheckpointIcon({
|
|
24
|
+
children,
|
|
25
|
+
className,
|
|
26
|
+
ref,
|
|
27
|
+
...props
|
|
28
|
+
}: CheckpointIconProps & {
|
|
29
|
+
ref?: React.Ref<HTMLSpanElement>;
|
|
30
|
+
}): React.JSX.Element;
|
|
31
|
+
interface CheckpointContentProps extends React.HTMLAttributes<HTMLDivElement> {}
|
|
32
|
+
declare function CheckpointContent({
|
|
33
|
+
className,
|
|
34
|
+
ref,
|
|
35
|
+
...props
|
|
36
|
+
}: CheckpointContentProps & {
|
|
37
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
38
|
+
}): React.JSX.Element;
|
|
39
|
+
interface CheckpointTitleProps extends React.HTMLAttributes<HTMLSpanElement> {}
|
|
40
|
+
declare function CheckpointTitle({
|
|
41
|
+
className,
|
|
42
|
+
ref,
|
|
43
|
+
...props
|
|
44
|
+
}: CheckpointTitleProps & {
|
|
45
|
+
ref?: React.Ref<HTMLSpanElement>;
|
|
46
|
+
}): React.JSX.Element;
|
|
47
|
+
interface CheckpointDescriptionProps extends React.HTMLAttributes<HTMLSpanElement> {}
|
|
48
|
+
declare function CheckpointDescription({
|
|
49
|
+
className,
|
|
50
|
+
ref,
|
|
51
|
+
...props
|
|
52
|
+
}: CheckpointDescriptionProps & {
|
|
53
|
+
ref?: React.Ref<HTMLSpanElement>;
|
|
54
|
+
}): React.JSX.Element;
|
|
55
|
+
interface CheckpointActionsProps extends React.HTMLAttributes<HTMLDivElement> {}
|
|
56
|
+
declare function CheckpointActions({
|
|
57
|
+
className,
|
|
58
|
+
ref,
|
|
59
|
+
...props
|
|
60
|
+
}: CheckpointActionsProps & {
|
|
61
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
62
|
+
}): React.JSX.Element;
|
|
63
|
+
//#endregion
|
|
64
|
+
export { Checkpoint, CheckpointActions, CheckpointActionsProps, CheckpointContent, CheckpointContentProps, CheckpointDescription, CheckpointDescriptionProps, CheckpointIcon, CheckpointIconProps, CheckpointProps, CheckpointTitle, CheckpointTitleProps };
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
import { t as cx } from "../class-names-Bk-QLWWI.js";
|
|
2
|
+
import { a as BookmarkIcon } from "../icons--FqCZEc3.js";
|
|
3
|
+
import { Marker, MarkerIcon } from "./Marker.js";
|
|
4
|
+
import "react";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
//#region src/components/Checkpoint.tsx
|
|
7
|
+
/**
|
|
8
|
+
* Presentation-only durable-boundary marker.
|
|
9
|
+
*
|
|
10
|
+
* Actions are ordinary composed buttons or links; this primitive does not
|
|
11
|
+
* save, restore, resume, or otherwise call an agent transport.
|
|
12
|
+
*/
|
|
13
|
+
function Checkpoint({ className, ref, ...props }) {
|
|
14
|
+
return /* @__PURE__ */ jsx(Marker, {
|
|
15
|
+
ref,
|
|
16
|
+
"data-slot": "checkpoint",
|
|
17
|
+
className: cx("checkpoint", className),
|
|
18
|
+
variant: "separator",
|
|
19
|
+
...props
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
function CheckpointIcon({ children, className, ref, ...props }) {
|
|
23
|
+
return /* @__PURE__ */ jsx(MarkerIcon, {
|
|
24
|
+
ref,
|
|
25
|
+
className: cx("checkpoint__icon", className),
|
|
26
|
+
...props,
|
|
27
|
+
children: children ?? /* @__PURE__ */ jsx(BookmarkIcon, {})
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
function CheckpointContent({ className, ref, ...props }) {
|
|
31
|
+
return /* @__PURE__ */ jsx("div", {
|
|
32
|
+
ref,
|
|
33
|
+
"data-slot": "checkpoint-content",
|
|
34
|
+
className: cx("checkpoint__content", className),
|
|
35
|
+
...props
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
function CheckpointTitle({ className, ref, ...props }) {
|
|
39
|
+
return /* @__PURE__ */ jsx("span", {
|
|
40
|
+
ref,
|
|
41
|
+
"data-slot": "checkpoint-title",
|
|
42
|
+
className: cx("checkpoint__title", className),
|
|
43
|
+
...props
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
function CheckpointDescription({ className, ref, ...props }) {
|
|
47
|
+
return /* @__PURE__ */ jsx("span", {
|
|
48
|
+
ref,
|
|
49
|
+
"data-slot": "checkpoint-description",
|
|
50
|
+
className: cx("checkpoint__description", className),
|
|
51
|
+
...props
|
|
52
|
+
});
|
|
53
|
+
}
|
|
54
|
+
function CheckpointActions({ className, ref, ...props }) {
|
|
55
|
+
return /* @__PURE__ */ jsx("div", {
|
|
56
|
+
ref,
|
|
57
|
+
"data-slot": "checkpoint-actions",
|
|
58
|
+
className: cx("checkpoint__actions", className),
|
|
59
|
+
...props
|
|
60
|
+
});
|
|
61
|
+
}
|
|
62
|
+
//#endregion
|
|
63
|
+
export { Checkpoint, CheckpointActions, CheckpointContent, CheckpointDescription, CheckpointIcon, CheckpointTitle };
|
|
@@ -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-Dnpr88ZQ.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-Co1noLbC.js";
|
|
2
2
|
export { CODE_BLOCK_LANGUAGES, CodeBlock, CodeBlockActions, CodeBlockContainer, CodeBlockContent, CodeBlockCopyButton, CodeBlockFilename, CodeBlockHeader, CodeBlockLanguageSelector, CodeBlockLanguageSelectorContent, CodeBlockLanguageSelectorItem, CodeBlockLanguageSelectorTrigger, CodeBlockLanguageSelectorValue, CodeBlockTitle, highlightCode };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as cx } from "../class-names-
|
|
2
|
-
import {
|
|
1
|
+
import { t as cx } from "../class-names-Bk-QLWWI.js";
|
|
2
|
+
import { R as RefreshIcon, c as ChevronDownIcon, s as CheckIcon, u as ChevronRightIcon } from "../icons--FqCZEc3.js";
|
|
3
3
|
import { Menu } from "./Menu.js";
|
|
4
4
|
import "react";
|
|
5
5
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|