@mcp-b/react-components 0.40.0 → 0.42.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-CVO7xyLC.d.ts → AgentChat-DVr2giwD.d.ts} +1 -1
- package/dist/{AgentToolRunsContext-BCVqCtJ1.d.ts → AgentToolRunsContext-daY67hFM.d.ts} +12 -0
- package/dist/{CodeBlock-CWk1FVtm.js → CodeBlock-BjELA-_s.js} +1 -1
- package/dist/{FileTree-xqHYBw4g.js → FileTree-DMYRdT6R.js} +1 -1
- package/dist/McpConnectorForm-MRm1r59e.d.ts +39 -0
- package/dist/{Message-DBsHHhcM.d.ts → Message-D_vCVEGB.d.ts} +20 -1
- package/dist/{ThinkChatActivity-D6-_5Phw.d.ts → ThinkChatActivity-CsDql-ER.d.ts} +4 -1
- package/dist/{ThinkExecutionRun-lYYgyeE1.d.ts → ThinkExecutionRun-k8bpyXqt.d.ts} +3 -3
- package/dist/{WorkspaceFileView-Lab3om3F.js → WorkspaceFileView-DwdXiKku.js} +17 -22
- package/dist/{WorkspaceMessageResponse-Cy28WGSz.d.ts → WorkspaceMessageResponse-D66ty4FO.d.ts} +1 -1
- package/dist/components/agents-sdk/AgentActivity.js +4 -3
- package/dist/components/agents-sdk/AgentChat.d.ts +1 -1
- package/dist/components/agents-sdk/AgentChat.js +42 -18
- package/dist/components/agents-sdk/AgentToolRunsContext.d.ts +1 -1
- package/dist/components/agents-sdk/AgentToolRunsContext.js +12 -0
- package/dist/components/agents-sdk/BrowserLiveScreen.d.ts +135 -0
- package/dist/components/agents-sdk/BrowserLiveScreen.js +637 -0
- package/dist/components/agents-sdk/BrowserLiveView.d.ts +2 -2
- package/dist/components/agents-sdk/BrowserLiveView.js +6 -9
- package/dist/components/agents-sdk/BrowserReplay.js +1 -1
- package/dist/components/agents-sdk/BrowserRunPanel.d.ts +1 -1
- package/dist/components/agents-sdk/BrowserRunPanel.js +8 -13
- package/dist/components/agents-sdk/ManagerOffice.d.ts +168 -0
- package/dist/components/agents-sdk/ManagerOffice.js +698 -0
- package/dist/components/agents-sdk/McpConnectionRequest.js +3 -3
- package/dist/components/agents-sdk/McpConnectorForm.d.ts +1 -38
- package/dist/components/agents-sdk/McpPluginCatalog.d.ts +8 -2
- package/dist/components/agents-sdk/McpPluginCatalog.js +82 -62
- package/dist/components/agents-sdk/McpServerPicker.d.ts +1 -1
- package/dist/components/agents-sdk/McpServerPicker.js +2 -2
- package/dist/components/agents-sdk/ModelSelector.js +1 -1
- package/dist/components/agents-sdk/PromptInputCommands.js +1 -1
- package/dist/components/agents-sdk/SubagentRunDetails.d.ts +1 -9
- package/dist/components/agents-sdk/SubagentRunDetails.js +1 -9
- package/dist/components/agents-sdk/SubagentRunIndicator.js +1 -1
- package/dist/components/agents-sdk/SubagentRunSelector.d.ts +4 -2
- package/dist/components/agents-sdk/SubagentRunSelector.js +7 -6
- package/dist/components/agents-sdk/ThinkChat.d.ts +4 -4
- package/dist/components/agents-sdk/ThinkChatActivity.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkChatActivity.js +18 -4
- package/dist/components/agents-sdk/ThinkChatToolPanels.js +7 -3
- package/dist/components/agents-sdk/ThinkExecutionDetail.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkExecutionDetail.js +45 -43
- package/dist/components/agents-sdk/ThinkExecutionRun.d.ts +2 -2
- package/dist/components/agents-sdk/ThinkExecutionRun.js +5 -6
- package/dist/components/agents-sdk/ThinkExecutionStatus.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkExecutionStatus.js +8 -12
- package/dist/components/agents-sdk/ThinkExecutionWorkbench.d.ts +8 -1
- package/dist/components/agents-sdk/ThinkExecutionWorkbench.js +43 -37
- package/dist/components/agents-sdk/ThinkFullApp.d.ts +42 -78
- package/dist/components/agents-sdk/ThinkFullApp.js +121 -202
- package/dist/components/agents-sdk/ThinkFullAppViewSwitch.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkRoutine.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkRoutineBrowser.js +1 -1
- package/dist/components/agents-sdk/ThinkRoutineDetail.js +4 -15
- package/dist/components/agents-sdk/ThinkRoutineForm.js +1 -1
- package/dist/components/agents-sdk/ThinkRoutineLibrary.d.ts +7 -6
- package/dist/components/agents-sdk/ThinkRoutineLibrary.js +112 -140
- package/dist/components/agents-sdk/ThinkRoutineRuns.d.ts +1 -1
- package/dist/components/agents-sdk/ThinkRoutineRuns.js +3 -10
- package/dist/components/agents-sdk/ThinkThreadPicker.js +2 -1
- package/dist/components/agents-sdk/WorkspaceBrowser.js +1 -1
- package/dist/components/agents-sdk/WorkspaceExplorer.js +2 -1
- package/dist/components/agents-sdk/WorkspaceFileView.js +1 -1
- package/dist/components/agents-sdk/WorkspaceHeader.js +2 -1
- package/dist/components/agents-sdk/WorkspaceMessageResponse.d.ts +1 -1
- package/dist/components/agents-sdk/WorkspaceMountManager.js +11 -11
- package/dist/components/ai-sdk/Activity.js +1 -1
- package/dist/components/ai-sdk/AgentAttention.d.ts +1 -1
- package/dist/components/ai-sdk/AgentChatStartScreen.js +1 -1
- package/dist/components/ai-sdk/Approval.js +1 -1
- package/dist/components/ai-sdk/Artifact.js +1 -1
- package/dist/components/ai-sdk/ChainOfThought.d.ts +1 -1
- package/dist/components/ai-sdk/ChainOfThought.js +1 -1
- package/dist/components/ai-sdk/Checkpoint.js +1 -1
- package/dist/components/ai-sdk/CodeBlock.js +1 -1
- package/dist/components/ai-sdk/Conversation.js +1 -1
- package/dist/components/ai-sdk/Goal.js +1 -1
- package/dist/components/ai-sdk/MediaPreviewCard.js +1 -1
- package/dist/components/ai-sdk/Message.d.ts +2 -2
- package/dist/components/ai-sdk/Message.js +25 -3
- package/dist/components/ai-sdk/MessageScroller.js +3 -2
- package/dist/components/ai-sdk/MessageScrollerVirtual.js +2 -1
- package/dist/components/ai-sdk/Plan.js +1 -1
- package/dist/components/ai-sdk/PromptInput.js +21 -15
- package/dist/components/ai-sdk/Queue.d.ts +4 -4
- package/dist/components/ai-sdk/Queue.js +6 -15
- package/dist/components/ai-sdk/Reasoning.js +1 -1
- package/dist/components/ai-sdk/Sources.js +1 -1
- package/dist/components/ai-sdk/Task.d.ts +2 -2
- package/dist/components/ai-sdk/Task.js +2 -2
- package/dist/components/extension/ChatGptSignInScreen.js +2 -1
- package/dist/components/extension/CodexModelSelector.js +1 -1
- package/dist/components/extension/ConversationTabPicker.js +1 -1
- package/dist/components/foundations/Avatar.d.ts +1 -10
- package/dist/components/foundations/Avatar.js +1 -10
- package/dist/components/foundations/Checkbox.js +1 -1
- package/dist/components/foundations/CheckboxGroup.js +1 -0
- package/dist/components/foundations/ContextMenu.js +1 -1
- package/dist/components/foundations/LinkButton.d.ts +12 -10
- package/dist/components/foundations/LinkButton.js +15 -11
- package/dist/components/foundations/Menubar.js +1 -1
- package/dist/components/foundations/SearchField.js +1 -1
- package/dist/components/foundations/Select.js +1 -1
- package/dist/components/foundations/Stepper.js +1 -1
- package/dist/components/foundations/Toast.js +1 -1
- package/dist/components/foundations/ToggleGroup.d.ts +79 -1
- package/dist/components/foundations/icons.d.ts +2 -2
- package/dist/components/foundations/icons.js +2 -2
- package/dist/components/general-purpose/AppFrame.js +1 -0
- package/dist/components/general-purpose/AppTopBar.d.ts +6 -0
- package/dist/components/general-purpose/AppTopBar.js +2 -1
- package/dist/components/general-purpose/Commit.d.ts +2 -2
- package/dist/components/general-purpose/Commit.js +5 -13
- package/dist/components/general-purpose/EnvironmentVariables.d.ts +2 -2
- package/dist/components/general-purpose/EnvironmentVariables.js +4 -7
- package/dist/components/general-purpose/FileTree.js +1 -1
- package/dist/components/general-purpose/PricingBillingToggle.js +4 -9
- package/dist/components/general-purpose/PricingPlanCard.js +15 -14
- package/dist/components/general-purpose/ResizableSidePanel.d.ts +8 -0
- package/dist/components/general-purpose/ResizableSidePanel.js +3 -2
- package/dist/components/general-purpose/ResponsiveSidebarShell.d.ts +105 -2
- package/dist/components/general-purpose/ResponsiveSidebarShell.js +112 -56
- package/dist/components/general-purpose/SetupChecklist.js +1 -1
- package/dist/components/general-purpose/Terminal.d.ts +1 -1
- package/dist/components/general-purpose/Terminal.js +4 -12
- package/dist/components/general-purpose/TestResults.d.ts +1 -1
- package/dist/components/general-purpose/TestResults.js +8 -21
- package/dist/components/general-purpose/ThemeModeControl.js +1 -1
- package/dist/components/general-purpose/WebPreview.d.ts +4 -1
- package/dist/components/general-purpose/WebPreview.js +6 -14
- package/dist/components/nanites/AgentConnection.js +2 -2
- package/dist/components/nanites/AgentToolDetail.d.ts +1 -1
- package/dist/components/nanites/AgentToolDetail.js +6 -5
- package/dist/components/nanites/NaniteScene.js +11 -11
- package/dist/{copy-button-Bc7jsYv_.js → copy-button-lys9N_aI.js} +1 -1
- package/dist/{icons-DwgNir1Q.d.ts → icons-0corjfxR.d.ts} +1 -16
- package/dist/{icons-MmIXciMO.js → icons-CVFSeTJn.js} +2 -5
- package/dist/styles/accordion.css +1 -0
- package/dist/styles/action-guide.css +8 -7
- package/dist/styles/activity-header.css +13 -39
- package/dist/styles/activity.css +40 -55
- package/dist/styles/agent-attention.css +19 -19
- package/dist/styles/agent-chat.css +94 -42
- package/dist/styles/agent-connection.css +10 -4
- package/dist/styles/agent-tool-detail.css +5 -15
- package/dist/styles/alert-dialog.css +4 -4
- package/dist/styles/app-frame.css +1 -3
- package/dist/styles/app-icon.css +12 -18
- package/dist/styles/app-top-bar.css +31 -9
- package/dist/styles/approval.css +1 -0
- package/dist/styles/artifact.css +6 -6
- package/dist/styles/attachment-preview.css +5 -4
- package/dist/styles/avatar.css +6 -22
- package/dist/styles/base.css +2 -8
- package/dist/styles/browser-live-screen.css +38 -0
- package/dist/styles/browser-live-view.css +12 -4
- package/dist/styles/browser-replay.css +6 -6
- package/dist/styles/browser-run-panel.css +21 -18
- package/dist/styles/button.css +15 -6
- package/dist/styles/card.css +5 -5
- package/dist/styles/chatgpt-sign-in-screen.css +6 -6
- package/dist/styles/code-block.css +14 -13
- package/dist/styles/codex-model-selector.css +2 -0
- package/dist/styles/collapsible.css +1 -0
- package/dist/styles/commit.css +30 -7
- package/dist/styles/context.css +9 -9
- package/dist/styles/conversation-tab-picker.css +1 -1
- package/dist/styles/conversation.css +6 -8
- package/dist/styles/dialog.css +4 -4
- package/dist/styles/empty-state.css +3 -3
- package/dist/styles/environment-variables.css +12 -9
- package/dist/styles/field.css +2 -1
- package/dist/styles/fieldset.css +2 -2
- package/dist/styles/index.css +8 -7
- package/dist/styles/manager-office.css +480 -0
- package/dist/styles/mcp-plugin-catalog.css +44 -39
- package/dist/styles/mcp-server-picker.css +4 -4
- package/dist/styles/message-scroller.css +9 -11
- package/dist/styles/message.css +74 -28
- package/dist/styles/nanite-scene.css +9 -9
- package/dist/styles/navigation-menu.css +1 -0
- package/dist/styles/plan.css +13 -12
- package/dist/styles/pricing-page.css +37 -30
- package/dist/styles/prompt-input.css +26 -18
- package/dist/styles/queue.css +1 -0
- package/dist/styles/reasoning.css +1 -9
- package/dist/styles/recipes.css +29 -58
- package/dist/styles/responsive-sidebar-shell.css +107 -29
- package/dist/styles/separator.css +5 -5
- package/dist/styles/sources.css +4 -4
- package/dist/styles/stepper.css +1 -0
- package/dist/styles/streamdown.css +31 -21
- package/dist/styles/subagent-run.css +20 -3
- package/dist/styles/tabs.css +1 -0
- package/dist/styles/task.css +5 -17
- package/dist/styles/terminal.css +29 -10
- package/dist/styles/test-results.css +16 -7
- package/dist/styles/think-execution-status.css +10 -26
- package/dist/styles/think-execution-workbench.css +98 -108
- package/dist/styles/think-full-app.css +75 -225
- package/dist/styles/think-routine-library.css +26 -95
- package/dist/styles/think-thread-picker.css +17 -12
- package/dist/styles/transition-surface.css +7 -8
- package/dist/styles/utilities.css +75 -0
- package/dist/styles/web-preview.css +46 -22
- package/dist/styles/workspace-explorer.css +22 -44
- package/dist/styles/workspace-mount-manager.css +24 -2
- package/dist/utils/favicon.d.ts +6 -1
- package/dist/utils/favicon.js +18 -1
- package/package.json +37 -35
- package/dist/ResponsiveSidebarShell-DWjULskY.d.ts +0 -68
- package/dist/ToggleGroup-_pQMyHGM.d.ts +0 -80
- package/dist/components/agents-sdk/AgentActivityPreview.d.ts +0 -46
- package/dist/components/agents-sdk/AgentActivityPreview.js +0 -93
- package/dist/components/agents-sdk/ThinkThreadShell.d.ts +0 -38
- package/dist/components/agents-sdk/ThinkThreadShell.js +0 -27
- package/dist/components/foundations/Badge.d.ts +0 -62
- package/dist/components/foundations/Badge.js +0 -55
- package/dist/components/foundations/StatusPill.d.ts +0 -43
- package/dist/components/foundations/StatusPill.js +0 -35
- package/dist/components/general-purpose/Shell.d.ts +0 -149
- package/dist/components/general-purpose/Shell.js +0 -116
- package/dist/styles/agent-activity-preview-overlay.css +0 -169
- package/dist/styles/agent-activity-preview.css +0 -209
- package/dist/styles/badge.css +0 -120
- package/dist/styles/shell.css +0 -122
- package/dist/styles/status-pill.css +0 -39
|
@@ -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-CVFSeTJn.js";
|
|
3
3
|
import { Button } from "../foundations/Button.js";
|
|
4
4
|
import { t as messageScrollerContract } from "../../message-scroller-C8cplcQO.js";
|
|
5
5
|
import * as React from "react";
|
|
@@ -77,6 +77,7 @@ function VirtualMessageScroller({ items, getItemKey, renderItem, estimateSize =
|
|
|
77
77
|
"data-slot": messageScrollerContract.root.slot,
|
|
78
78
|
className: cx(messageScrollerContract.root.className, className),
|
|
79
79
|
...props,
|
|
80
|
+
"data-recipe": "fill-host",
|
|
80
81
|
children: [/* @__PURE__ */ jsx("div", {
|
|
81
82
|
ref: viewportRef,
|
|
82
83
|
"aria-label": messageScrollerContract.viewport.ariaLabel,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import {
|
|
2
|
+
import { _ as DotIcon, d as CheckIcon, i as ArrowRightIcon } from "../../icons-CVFSeTJn.js";
|
|
3
3
|
import { Popover } from "../foundations/Popover.js";
|
|
4
4
|
import { t as ProgressRing } from "../../progress-ring-BEocM1e3.js";
|
|
5
5
|
import * as React from "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as mergeBaseClassName, t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import {
|
|
2
|
+
import { $ as WarningIcon, B as PlusIcon, C as FolderIcon, I as PaperclipIcon, J as StopIcon, K as SpinnerIcon, N as MonitorIcon, S as FileIcon, a as ArrowUpIcon, d as CheckIcon, et as WrenchIcon, f as ChevronDownIcon, j as MicrophoneIcon, q as SquareIcon, tt as XIcon } from "../../icons-CVFSeTJn.js";
|
|
3
3
|
import { Button } from "../foundations/Button.js";
|
|
4
4
|
import { Tooltip } from "../foundations/Tooltip.js";
|
|
5
5
|
import { IconButton } from "../foundations/IconButton.js";
|
|
@@ -26,21 +26,17 @@ function useAttachmentStore() {
|
|
|
26
26
|
revokeFileUrls(filesRef.current);
|
|
27
27
|
}, []);
|
|
28
28
|
const add = React.useCallback((incomingFiles) => {
|
|
29
|
-
const incoming = Array.from(incomingFiles);
|
|
30
|
-
setFiles((current) => [...current, ...incoming
|
|
29
|
+
const incoming = Array.from(incomingFiles).map(fileToPart);
|
|
30
|
+
setFiles((current) => [...current, ...incoming]);
|
|
31
31
|
}, []);
|
|
32
32
|
const remove = React.useCallback((id) => {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
return current.filter((file) => file.id !== id);
|
|
37
|
-
});
|
|
33
|
+
const found = filesRef.current.find((file) => file.id === id);
|
|
34
|
+
if (found) revokeFileObjectUrl(found);
|
|
35
|
+
setFiles((current) => current.filter((file) => file.id !== id));
|
|
38
36
|
}, []);
|
|
39
37
|
const clear = React.useCallback(() => {
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
return [];
|
|
43
|
-
});
|
|
38
|
+
revokeFileUrls(filesRef.current);
|
|
39
|
+
setFiles([]);
|
|
44
40
|
}, []);
|
|
45
41
|
return React.useMemo(() => ({
|
|
46
42
|
add,
|
|
@@ -1207,17 +1203,27 @@ function defaultSubmitLabel(status) {
|
|
|
1207
1203
|
default: return "Send message";
|
|
1208
1204
|
}
|
|
1209
1205
|
}
|
|
1206
|
+
const fileObjectUrls = /* @__PURE__ */ new WeakMap();
|
|
1210
1207
|
function fileToPart(file) {
|
|
1211
|
-
|
|
1208
|
+
const objectUrl = URL.createObjectURL(file);
|
|
1209
|
+
const part = {
|
|
1212
1210
|
id: createId(),
|
|
1213
1211
|
type: "file",
|
|
1214
1212
|
filename: file.name,
|
|
1215
1213
|
mediaType: file.type,
|
|
1216
|
-
url:
|
|
1214
|
+
url: objectUrl
|
|
1217
1215
|
};
|
|
1216
|
+
fileObjectUrls.set(part, objectUrl);
|
|
1217
|
+
return part;
|
|
1218
|
+
}
|
|
1219
|
+
function revokeFileObjectUrl(file) {
|
|
1220
|
+
const objectUrl = fileObjectUrls.get(file) ?? (file.url.startsWith("blob:") ? file.url : void 0);
|
|
1221
|
+
if (!objectUrl) return;
|
|
1222
|
+
fileObjectUrls.delete(file);
|
|
1223
|
+
URL.revokeObjectURL(objectUrl);
|
|
1218
1224
|
}
|
|
1219
1225
|
function revokeFileUrls(files) {
|
|
1220
|
-
for (const file of files)
|
|
1226
|
+
for (const file of files) revokeFileObjectUrl(file);
|
|
1221
1227
|
}
|
|
1222
1228
|
async function resolveSubmittedFile(file) {
|
|
1223
1229
|
const { id: _id, ...part } = file;
|
|
@@ -24,9 +24,9 @@ interface QueueProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
24
24
|
* Use for agent work queues, todo groups, and attachment queues. Do not use it
|
|
25
25
|
* for navigation or arbitrary card lists.
|
|
26
26
|
*
|
|
27
|
-
* Sigvelo changes: uses shared Collapsible, ScrollArea,
|
|
28
|
-
*
|
|
29
|
-
*
|
|
27
|
+
* Sigvelo changes: uses shared Collapsible, ScrollArea, and Button components;
|
|
28
|
+
* normalizes Vercel-compatible `completed` status to `complete`; maps all
|
|
29
|
+
* styling to Sigvelo queue CSS tokens/classes.
|
|
30
30
|
*
|
|
31
31
|
* Section triggers inherit Collapsible keyboard behavior. Status indicators
|
|
32
32
|
* are decorative, so visible item text must carry the real meaning. Add new
|
|
@@ -84,7 +84,7 @@ declare function QueueSectionTrigger({
|
|
|
84
84
|
ref?: React.Ref<HTMLButtonElement>;
|
|
85
85
|
}): React.JSX.Element;
|
|
86
86
|
interface QueueSectionLabelProps extends React.HTMLAttributes<HTMLSpanElement> {
|
|
87
|
-
/** Optional
|
|
87
|
+
/** Optional item total shown as ordinary label text. */
|
|
88
88
|
count?: number;
|
|
89
89
|
label?: string;
|
|
90
90
|
icon?: React.ReactNode;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
2
|
import { Collapsible } from "../foundations/Collapsible.js";
|
|
3
|
-
import {
|
|
3
|
+
import { S as FileIcon, _ as DotIcon, d as CheckIcon, p as ChevronRightIcon } from "../../icons-CVFSeTJn.js";
|
|
4
4
|
import { Button } from "../foundations/Button.js";
|
|
5
|
-
import { Badge } from "../foundations/Badge.js";
|
|
6
5
|
import { ScrollArea } from "../foundations/ScrollArea.js";
|
|
7
6
|
import "react";
|
|
8
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -15,9 +14,9 @@ import { jsx, jsxs } from "react/jsx-runtime";
|
|
|
15
14
|
* Use for agent work queues, todo groups, and attachment queues. Do not use it
|
|
16
15
|
* for navigation or arbitrary card lists.
|
|
17
16
|
*
|
|
18
|
-
* Sigvelo changes: uses shared Collapsible, ScrollArea,
|
|
19
|
-
*
|
|
20
|
-
*
|
|
17
|
+
* Sigvelo changes: uses shared Collapsible, ScrollArea, and Button components;
|
|
18
|
+
* normalizes Vercel-compatible `completed` status to `complete`; maps all
|
|
19
|
+
* styling to Sigvelo queue CSS tokens/classes.
|
|
21
20
|
*
|
|
22
21
|
* Section triggers inherit Collapsible keyboard behavior. Status indicators
|
|
23
22
|
* are decorative, so visible item text must carry the real meaning. Add new
|
|
@@ -79,20 +78,12 @@ function QueueSectionTrigger({ className, children, ref, ...props }) {
|
|
|
79
78
|
});
|
|
80
79
|
}
|
|
81
80
|
function QueueSectionLabel({ className, children, count, label, icon, ref, ...props }) {
|
|
82
|
-
const content = children ??
|
|
81
|
+
const content = children ?? label;
|
|
83
82
|
return /* @__PURE__ */ jsxs("span", {
|
|
84
83
|
ref,
|
|
85
84
|
className: cx("queue__section-label", className),
|
|
86
85
|
...props,
|
|
87
|
-
children: [
|
|
88
|
-
icon,
|
|
89
|
-
/* @__PURE__ */ jsx("span", { children: content }),
|
|
90
|
-
children !== void 0 && count !== void 0 ? /* @__PURE__ */ jsx(Badge, {
|
|
91
|
-
color: "neutral",
|
|
92
|
-
size: "sm",
|
|
93
|
-
children: count
|
|
94
|
-
}) : null
|
|
95
|
-
]
|
|
86
|
+
children: [icon, /* @__PURE__ */ jsxs("span", { children: [content, count === void 0 ? null : ` · ${count}`] })]
|
|
96
87
|
});
|
|
97
88
|
}
|
|
98
89
|
function QueueList({ className, children, ref, ...props }) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import {
|
|
2
|
+
import { K as SpinnerIcon } from "../../icons-CVFSeTJn.js";
|
|
3
3
|
import { Activity, ActivityContent, ActivityText, ActivityTrigger } from "./Activity.js";
|
|
4
4
|
import { MessageResponse } from "./Message.js";
|
|
5
5
|
import * as React from "react";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
2
|
import { Collapsible } from "../foundations/Collapsible.js";
|
|
3
|
-
import {
|
|
3
|
+
import { D as LinkIcon, p as ChevronRightIcon } from "../../icons-CVFSeTJn.js";
|
|
4
4
|
import "react";
|
|
5
5
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
//#region src/components/ai-sdk/Sources.tsx
|
|
@@ -76,11 +76,11 @@ declare function TaskItem({
|
|
|
76
76
|
ref?: React.Ref<HTMLLIElement>;
|
|
77
77
|
}): React.JSX.Element;
|
|
78
78
|
interface TaskItemFileProps extends React.HTMLAttributes<HTMLSpanElement> {
|
|
79
|
-
/** The file name or path to display.
|
|
79
|
+
/** The file name or path to display. */
|
|
80
80
|
name?: string;
|
|
81
81
|
}
|
|
82
82
|
/**
|
|
83
|
-
* Inline file reference
|
|
83
|
+
* Inline file reference used inside TaskItem content.
|
|
84
84
|
*/
|
|
85
85
|
declare function TaskItemFile({
|
|
86
86
|
className,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
2
|
import { Collapsible } from "../foundations/Collapsible.js";
|
|
3
|
-
import {
|
|
3
|
+
import { S as FileIcon, U as SearchIcon, p as ChevronRightIcon } from "../../icons-CVFSeTJn.js";
|
|
4
4
|
import "react";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
//#region src/components/ai-sdk/Task.tsx
|
|
@@ -104,7 +104,7 @@ function TaskItem({ className, children, ref, ...props }) {
|
|
|
104
104
|
});
|
|
105
105
|
}
|
|
106
106
|
/**
|
|
107
|
-
* Inline file reference
|
|
107
|
+
* Inline file reference used inside TaskItem content.
|
|
108
108
|
*/
|
|
109
109
|
function TaskItemFile({ className, name, children, ref, ...props }) {
|
|
110
110
|
return /* @__PURE__ */ jsxs("span", {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import {
|
|
2
|
+
import { K as SpinnerIcon } from "../../icons-CVFSeTJn.js";
|
|
3
3
|
import { Button } from "../foundations/Button.js";
|
|
4
4
|
import { t as ProviderLogo } from "../../provider-logos-zjZycgV6.js";
|
|
5
5
|
import "react";
|
|
@@ -23,6 +23,7 @@ function ChatGptSignInScreen({ busy = false, control, error, label = "Sign in wi
|
|
|
23
23
|
onPointerLeave: handlePointerLeave,
|
|
24
24
|
onPointerMove: handlePointerMove,
|
|
25
25
|
...props,
|
|
26
|
+
"data-recipe": "fill-host",
|
|
26
27
|
children: [/* @__PURE__ */ jsxs("div", {
|
|
27
28
|
className: "chatgpt-sign-in__panel",
|
|
28
29
|
children: [
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import {
|
|
2
|
+
import { H as RefreshIcon, d as CheckIcon, f as ChevronDownIcon, l as BrainIcon, p as ChevronRightIcon } from "../../icons-CVFSeTJn.js";
|
|
3
3
|
import { Tooltip } from "../foundations/Tooltip.js";
|
|
4
4
|
import { Menu } from "../foundations/Menu.js";
|
|
5
5
|
import { o as titleCase } from "../../format-DB2mX9DA.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { $ as WarningIcon } from "../../icons-CVFSeTJn.js";
|
|
2
2
|
import { Button } from "../foundations/Button.js";
|
|
3
3
|
import { Menu } from "../foundations/Menu.js";
|
|
4
4
|
import { i as formatErrorMessage } from "../../format-DB2mX9DA.js";
|
|
@@ -21,7 +21,6 @@ interface AvatarImageProps extends React.ComponentPropsWithoutRef<typeof Avatar$
|
|
|
21
21
|
interface AvatarFallbackProps extends React.ComponentPropsWithoutRef<typeof Avatar$1.Fallback> {}
|
|
22
22
|
interface AvatarGroupProps extends React.HTMLAttributes<HTMLDivElement> {}
|
|
23
23
|
interface AvatarGroupCountProps extends React.HTMLAttributes<HTMLDivElement> {}
|
|
24
|
-
interface AvatarBadgeProps extends React.HTMLAttributes<HTMLSpanElement> {}
|
|
25
24
|
/**
|
|
26
25
|
* Container for the avatar. Renders a `<span>` element.
|
|
27
26
|
*
|
|
@@ -80,13 +79,6 @@ declare function AvatarGroupCount({
|
|
|
80
79
|
}: AvatarGroupCountProps & {
|
|
81
80
|
ref?: React.Ref<HTMLDivElement>;
|
|
82
81
|
}): React.JSX.Element;
|
|
83
|
-
declare function AvatarBadge({
|
|
84
|
-
className,
|
|
85
|
-
ref,
|
|
86
|
-
...props
|
|
87
|
-
}: AvatarBadgeProps & {
|
|
88
|
-
ref?: React.Ref<HTMLSpanElement>;
|
|
89
|
-
}): React.JSX.Element;
|
|
90
82
|
/**
|
|
91
83
|
* An avatar component for displaying user profile pictures with fallback support.
|
|
92
84
|
* Shows initials or an icon when the image fails to load or isn't provided.
|
|
@@ -125,7 +117,6 @@ declare const Avatar: {
|
|
|
125
117
|
Fallback: typeof AvatarFallback;
|
|
126
118
|
Group: typeof AvatarGroup;
|
|
127
119
|
GroupCount: typeof AvatarGroupCount;
|
|
128
|
-
Badge: typeof AvatarBadge;
|
|
129
120
|
};
|
|
130
121
|
//#endregion
|
|
131
|
-
export { Avatar,
|
|
122
|
+
export { Avatar, AvatarFallbackProps, AvatarGroupCountProps, AvatarGroupProps, AvatarImageProps, AvatarRootProps };
|
|
@@ -69,14 +69,6 @@ function AvatarGroupCount({ className, ref, ...props }) {
|
|
|
69
69
|
...props
|
|
70
70
|
});
|
|
71
71
|
}
|
|
72
|
-
function AvatarBadge({ className, ref, ...props }) {
|
|
73
|
-
return /* @__PURE__ */ jsx("span", {
|
|
74
|
-
ref,
|
|
75
|
-
"data-slot": "avatar-badge",
|
|
76
|
-
className: mergeBaseClassName("avatar__badge", className),
|
|
77
|
-
...props
|
|
78
|
-
});
|
|
79
|
-
}
|
|
80
72
|
/**
|
|
81
73
|
* An avatar component for displaying user profile pictures with fallback support.
|
|
82
74
|
* Shows initials or an icon when the image fails to load or isn't provided.
|
|
@@ -114,8 +106,7 @@ const Avatar = {
|
|
|
114
106
|
Image: AvatarImage,
|
|
115
107
|
Fallback: AvatarFallback,
|
|
116
108
|
Group: AvatarGroup,
|
|
117
|
-
GroupCount: AvatarGroupCount
|
|
118
|
-
Badge: AvatarBadge
|
|
109
|
+
GroupCount: AvatarGroupCount
|
|
119
110
|
};
|
|
120
111
|
//#endregion
|
|
121
112
|
export { Avatar };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as mergeBaseClassName } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { d as CheckIcon } from "../../icons-
|
|
2
|
+
import { d as CheckIcon } from "../../icons-CVFSeTJn.js";
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
import { Checkbox as Checkbox$1 } from "@base-ui/react/checkbox";
|
|
5
5
|
//#region src/components/foundations/Checkbox.tsx
|
|
@@ -62,6 +62,7 @@ import { CheckboxGroup as CheckboxGroup$1 } from "@base-ui/react/checkbox-group"
|
|
|
62
62
|
function CheckboxGroupRoot({ className, layout = "stack", ref, ...props }) {
|
|
63
63
|
return /* @__PURE__ */ jsx(CheckboxGroup$1, {
|
|
64
64
|
ref,
|
|
65
|
+
"data-slot": "checkbox-group",
|
|
65
66
|
"data-layout": layout,
|
|
66
67
|
className: mergeBaseClassName("checkbox-group", className),
|
|
67
68
|
...props
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as mergeBaseClassName, t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import {
|
|
2
|
+
import { _ as DotIcon, d as CheckIcon } from "../../icons-CVFSeTJn.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,10 +1,8 @@
|
|
|
1
1
|
import { a as ButtonVariant, i as ButtonSize, n as ButtonColor } from "../../Button-CZt3yywF.js";
|
|
2
|
-
import { AnchorHTMLAttributes } from "react";
|
|
2
|
+
import { AnchorHTMLAttributes, ReactElement } from "react";
|
|
3
3
|
|
|
4
4
|
//#region src/components/foundations/LinkButton.d.ts
|
|
5
|
-
interface
|
|
6
|
-
/** Destination of the link. */
|
|
7
|
-
href: string;
|
|
5
|
+
interface LinkButtonStyleProps extends Omit<AnchorHTMLAttributes<HTMLAnchorElement>, "color" | "href"> {
|
|
8
6
|
/**
|
|
9
7
|
* The visual rendering style of the button chrome.
|
|
10
8
|
* @default 'normal'
|
|
@@ -21,22 +19,26 @@ interface LinkButtonProps extends AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
|
21
19
|
*/
|
|
22
20
|
size?: ButtonSize;
|
|
23
21
|
}
|
|
22
|
+
type LinkButtonProps = LinkButtonStyleProps & ({
|
|
23
|
+
/** Destination for a native anchor. */href: string;
|
|
24
|
+
render?: never;
|
|
25
|
+
} | {
|
|
26
|
+
/** App-authored router link whose destination remains type-checked by the app. */render: ReactElement;
|
|
27
|
+
href?: never;
|
|
28
|
+
});
|
|
24
29
|
/**
|
|
25
30
|
* A link that wears Button chrome. Renders a plain anchor composed through the
|
|
26
31
|
* {@link buttonVariants} seam, so the element stays a genuine link.
|
|
27
32
|
*
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
* cannot construct the React element the `render` prop expects (a `.astro` `<a />`
|
|
31
|
-
* is an Astro vnode, not a React element, and `@astrojs/react` rejects it). This
|
|
32
|
-
* component is that wrapper, so Astro can render a button-styled link by passing
|
|
33
|
-
* plain props.
|
|
33
|
+
* Pass `href` for a native anchor or an app-authored router link through
|
|
34
|
+
* `render`. The latter preserves the consuming app's route-tree inference.
|
|
34
35
|
*/
|
|
35
36
|
declare function LinkButton({
|
|
36
37
|
variant,
|
|
37
38
|
color,
|
|
38
39
|
size,
|
|
39
40
|
className,
|
|
41
|
+
render,
|
|
40
42
|
ref,
|
|
41
43
|
...props
|
|
42
44
|
}: LinkButtonProps & {
|
|
@@ -1,27 +1,31 @@
|
|
|
1
1
|
import { buttonVariants } from "./Button.js";
|
|
2
|
+
import { t as NavigationLink } from "../../navigation-link-kqMa81v5.js";
|
|
2
3
|
import { jsx } from "react/jsx-runtime";
|
|
3
4
|
//#region src/components/foundations/LinkButton.tsx
|
|
4
5
|
/**
|
|
5
6
|
* A link that wears Button chrome. Renders a plain anchor composed through the
|
|
6
7
|
* {@link buttonVariants} seam, so the element stays a genuine link.
|
|
7
8
|
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* cannot construct the React element the `render` prop expects (a `.astro` `<a />`
|
|
11
|
-
* is an Astro vnode, not a React element, and `@astrojs/react` rejects it). This
|
|
12
|
-
* component is that wrapper, so Astro can render a button-styled link by passing
|
|
13
|
-
* plain props.
|
|
9
|
+
* Pass `href` for a native anchor or an app-authored router link through
|
|
10
|
+
* `render`. The latter preserves the consuming app's route-tree inference.
|
|
14
11
|
*/
|
|
15
|
-
function LinkButton({ variant, color, size, className, ref, ...props }) {
|
|
16
|
-
|
|
17
|
-
|
|
12
|
+
function LinkButton({ variant, color, size, className, render, ref, ...props }) {
|
|
13
|
+
const linkProps = {
|
|
14
|
+
...props,
|
|
18
15
|
className: buttonVariants({
|
|
19
16
|
variant,
|
|
20
17
|
color,
|
|
21
18
|
size,
|
|
22
19
|
className
|
|
23
|
-
})
|
|
24
|
-
|
|
20
|
+
})
|
|
21
|
+
};
|
|
22
|
+
return render ? /* @__PURE__ */ jsx(NavigationLink, {
|
|
23
|
+
render,
|
|
24
|
+
ref,
|
|
25
|
+
...linkProps
|
|
26
|
+
}) : /* @__PURE__ */ jsx("a", {
|
|
27
|
+
ref,
|
|
28
|
+
...linkProps
|
|
25
29
|
});
|
|
26
30
|
}
|
|
27
31
|
//#endregion
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as mergeBaseClassName, t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import {
|
|
2
|
+
import { _ as DotIcon, d as CheckIcon } from "../../icons-CVFSeTJn.js";
|
|
3
3
|
import { buttonVariants } from "./Button.js";
|
|
4
4
|
import "react";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as mergeBaseClassName } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import {
|
|
2
|
+
import { U as SearchIcon } from "../../icons-CVFSeTJn.js";
|
|
3
3
|
import { Field } from "./Field.js";
|
|
4
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
5
|
//#region src/components/foundations/SearchField.tsx
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as mergeBaseClassName } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import { a as ArrowUpIcon, d as CheckIcon, n as ArrowDownIcon } from "../../icons-
|
|
2
|
+
import { a as ArrowUpIcon, d as CheckIcon, n as ArrowDownIcon } from "../../icons-CVFSeTJn.js";
|
|
3
3
|
import "react";
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
import { Select as Select$1 } from "@base-ui/react/select";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as mergeBaseClassName, t as cx } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import {
|
|
2
|
+
import { K as SpinnerIcon, d as CheckIcon } from "../../icons-CVFSeTJn.js";
|
|
3
3
|
import { Tabs } from "./Tabs.js";
|
|
4
4
|
import * as React from "react";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as mergeBaseClassName } from "../../class-names-BiMDVpUo.js";
|
|
2
|
-
import {
|
|
2
|
+
import { tt as XIcon } from "../../icons-CVFSeTJn.js";
|
|
3
3
|
import { buttonVariants } from "./Button.js";
|
|
4
4
|
import "react";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -1,2 +1,80 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { r as ToggleVariantsOptions } from "../../Toggle-DLrIf5YH.js";
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
import { Toggle } from "@base-ui/react/toggle";
|
|
4
|
+
import { ToggleGroup as ToggleGroup$1 } from "@base-ui/react/toggle-group";
|
|
5
|
+
|
|
6
|
+
//#region src/components/foundations/ToggleGroup.d.ts
|
|
7
|
+
type ToggleGroupSize = ToggleVariantsOptions["size"];
|
|
8
|
+
type ToggleGroupProps<Value extends string = string> = ToggleGroup$1.Props<Value> & {
|
|
9
|
+
variant?: ToggleVariantsOptions["variant"];
|
|
10
|
+
/**
|
|
11
|
+
* The size of the toggle group.
|
|
12
|
+
* @default 'md'
|
|
13
|
+
*/
|
|
14
|
+
size?: ToggleGroupSize;
|
|
15
|
+
spacing?: number;
|
|
16
|
+
/**
|
|
17
|
+
* Draws one shared thumb that slides between segments rather than lighting up
|
|
18
|
+
* each item's own background. This is the permission-mode / view-switch
|
|
19
|
+
* control; it is a presentation of this group, not a separate component.
|
|
20
|
+
*
|
|
21
|
+
* Only meaningful for single selection — a sliding thumb cannot be in two
|
|
22
|
+
* places, so a `multiple` group ignores it.
|
|
23
|
+
*/
|
|
24
|
+
segmented?: boolean;
|
|
25
|
+
};
|
|
26
|
+
interface ToggleGroupItemProps extends React.ComponentPropsWithRef<typeof Toggle>, Omit<ToggleVariantsOptions, "className"> {}
|
|
27
|
+
/**
|
|
28
|
+
* A toggle group component for selecting one or multiple options.
|
|
29
|
+
*
|
|
30
|
+
* @example
|
|
31
|
+
* ```tsx
|
|
32
|
+
* // Single selection (defaultValue is an array)
|
|
33
|
+
* <ToggleGroup.Root defaultValue={["center"]}>
|
|
34
|
+
* <ToggleGroup.Item value="left">Left</ToggleGroup.Item>
|
|
35
|
+
* <ToggleGroup.Item value="center">Center</ToggleGroup.Item>
|
|
36
|
+
* <ToggleGroup.Item value="right">Right</ToggleGroup.Item>
|
|
37
|
+
* </ToggleGroup.Root>
|
|
38
|
+
* ```
|
|
39
|
+
*
|
|
40
|
+
* @example
|
|
41
|
+
* ```tsx
|
|
42
|
+
* // Multiple selection
|
|
43
|
+
* <ToggleGroup.Root multiple defaultValue={["bold", "italic"]}>
|
|
44
|
+
* <ToggleGroup.Item value="bold">Bold</ToggleGroup.Item>
|
|
45
|
+
* <ToggleGroup.Item value="italic">Italic</ToggleGroup.Item>
|
|
46
|
+
* <ToggleGroup.Item value="underline">Underline</ToggleGroup.Item>
|
|
47
|
+
* </ToggleGroup.Root>
|
|
48
|
+
* ```
|
|
49
|
+
*
|
|
50
|
+
* @see {@link https://base-ui.com/react/components/toggle-group | Base UI Toggle Group}
|
|
51
|
+
*/
|
|
52
|
+
declare function ToggleGroupRoot<Value extends string>({
|
|
53
|
+
size,
|
|
54
|
+
spacing,
|
|
55
|
+
segmented,
|
|
56
|
+
variant,
|
|
57
|
+
className,
|
|
58
|
+
children,
|
|
59
|
+
style,
|
|
60
|
+
ref,
|
|
61
|
+
...props
|
|
62
|
+
}: ToggleGroupProps<Value>): React.JSX.Element;
|
|
63
|
+
/**
|
|
64
|
+
* A single toggle item within a ToggleGroup.
|
|
65
|
+
*/
|
|
66
|
+
declare function ToggleGroupItem({
|
|
67
|
+
className,
|
|
68
|
+
variant,
|
|
69
|
+
size,
|
|
70
|
+
ref,
|
|
71
|
+
...props
|
|
72
|
+
}: ToggleGroupItemProps & {
|
|
73
|
+
ref?: React.Ref<HTMLButtonElement>;
|
|
74
|
+
}): React.JSX.Element;
|
|
75
|
+
declare const ToggleGroup: {
|
|
76
|
+
Root: typeof ToggleGroupRoot;
|
|
77
|
+
Item: typeof ToggleGroupItem;
|
|
78
|
+
};
|
|
79
|
+
//#endregion
|
|
2
80
|
export { ToggleGroup, ToggleGroupItemProps, ToggleGroupProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as
|
|
2
|
-
export { ArchiveIcon, ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, ArrowUpRightIcon, BookmarkIcon, BoxIcon, BrainIcon, BrandIconProps, CalendarIcon, CheckIcon, ChevronDownIcon,
|
|
1
|
+
import { $ as TerminalIcon, A as MaximizeIcon, B as PencilIcon, C as FileIcon, D as InfoIcon, E as IconProps, F as MonitorIcon, G as SearchIcon, H as PlusIcon, I as MoonIcon, J as SpinnerIcon, K as SidebarIcon, L as MoveToFrontIcon, M as MessageSquareIcon, N as MicrophoneIcon, O as KeyboardIcon, P as MinusIcon, Q as TargetIcon, R as PaperclipIcon, S as EyeOffIcon, T as FolderOpenIcon, U as QueueIcon, V as PlayIcon, W as RefreshIcon, X as StopIcon, Y as SquareIcon, Z as SunIcon, _ as DiscordIcon, a as ArrowUpIcon, b as EllipsisIcon, c as BoxIcon, d as CalendarIcon, et as TrashIcon, f as CheckIcon, g as CopyIcon, h as CodeIcon, i as ArrowRightIcon, j as McpIcon, k as LinkIcon, l as BrainIcon, m as ChevronRightIcon, n as ArrowDownIcon, nt as WrenchIcon, o as ArrowUpRightIcon, p as ChevronDownIcon, q as SlackIcon, r as ArrowLeftIcon, rt as XIcon, s as BookmarkIcon, t as ArchiveIcon, tt as WarningIcon, u as BrandIconProps, v as DotIcon, w as FolderIcon, x as EyeIcon, y as DownloadIcon, z as PauseIcon } from "../../icons-0corjfxR.js";
|
|
2
|
+
export { ArchiveIcon, ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, ArrowUpRightIcon, BookmarkIcon, BoxIcon, BrainIcon, BrandIconProps, CalendarIcon, CheckIcon, ChevronDownIcon, ChevronRightIcon, CodeIcon, CopyIcon, DiscordIcon, DotIcon, DownloadIcon, EllipsisIcon, EyeIcon, EyeOffIcon, FileIcon, FolderIcon, FolderOpenIcon, IconProps, InfoIcon, KeyboardIcon, LinkIcon, MaximizeIcon, McpIcon, MessageSquareIcon, MicrophoneIcon, MinusIcon, MonitorIcon, MoonIcon, MoveToFrontIcon, PaperclipIcon, PauseIcon, PencilIcon, PlayIcon, PlusIcon, QueueIcon, RefreshIcon, SearchIcon, SidebarIcon, SlackIcon, SpinnerIcon, SquareIcon, StopIcon, SunIcon, TargetIcon, TerminalIcon, TrashIcon, WarningIcon, WrenchIcon, XIcon };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as
|
|
2
|
-
export { ArchiveIcon, ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, ArrowUpRightIcon, BookmarkIcon, BoxIcon, BrainIcon, CalendarIcon, CheckIcon, ChevronDownIcon,
|
|
1
|
+
import { $ as WarningIcon, A as MessageSquareIcon, B as PlusIcon, C as FolderIcon, D as LinkIcon, E as KeyboardIcon, F as MoveToFrontIcon, G as SlackIcon, H as RefreshIcon, I as PaperclipIcon, J as StopIcon, K as SpinnerIcon, L as PauseIcon, M as MinusIcon, N as MonitorIcon, O as MaximizeIcon, P as MoonIcon, Q as TrashIcon, R as PencilIcon, S as FileIcon, T as InfoIcon, U as SearchIcon, V as QueueIcon, W as SidebarIcon, X as TargetIcon, Y as SunIcon, Z as TerminalIcon, _ as DotIcon, a as ArrowUpIcon, b as EyeIcon, c as BoxIcon, d as CheckIcon, et as WrenchIcon, f as ChevronDownIcon, g as DiscordIcon, h as CopyIcon, i as ArrowRightIcon, j as MicrophoneIcon, k as McpIcon, l as BrainIcon, m as CodeIcon, n as ArrowDownIcon, o as ArrowUpRightIcon, p as ChevronRightIcon, q as SquareIcon, r as ArrowLeftIcon, s as BookmarkIcon, t as ArchiveIcon, tt as XIcon, u as CalendarIcon, v as DownloadIcon, w as FolderOpenIcon, x as EyeOffIcon, y as EllipsisIcon, z as PlayIcon } from "../../icons-CVFSeTJn.js";
|
|
2
|
+
export { ArchiveIcon, ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, ArrowUpRightIcon, BookmarkIcon, BoxIcon, BrainIcon, CalendarIcon, CheckIcon, ChevronDownIcon, ChevronRightIcon, CodeIcon, CopyIcon, DiscordIcon, DotIcon, DownloadIcon, EllipsisIcon, EyeIcon, EyeOffIcon, FileIcon, FolderIcon, FolderOpenIcon, InfoIcon, KeyboardIcon, LinkIcon, MaximizeIcon, McpIcon, MessageSquareIcon, MicrophoneIcon, MinusIcon, MonitorIcon, MoonIcon, MoveToFrontIcon, PaperclipIcon, PauseIcon, PencilIcon, PlayIcon, PlusIcon, QueueIcon, RefreshIcon, SearchIcon, SidebarIcon, SlackIcon, SpinnerIcon, SquareIcon, StopIcon, SunIcon, TargetIcon, TerminalIcon, TrashIcon, WarningIcon, WrenchIcon, XIcon };
|
|
@@ -6,6 +6,11 @@ import { useRender } from "@base-ui/react/use-render";
|
|
|
6
6
|
interface AppTopBarRootProps extends React.ComponentPropsWithoutRef<typeof Toolbar.Root> {
|
|
7
7
|
/** Accessible name describing the controls in this application bar. */
|
|
8
8
|
"aria-label": string;
|
|
9
|
+
/**
|
|
10
|
+
* Where the title sits. An application bar centres it between the control
|
|
11
|
+
* groups; a panel header labels its leading edge instead.
|
|
12
|
+
*/
|
|
13
|
+
titleAlign?: "center" | "start";
|
|
9
14
|
}
|
|
10
15
|
interface AppTopBarGroupProps extends ToolbarGroupProps {}
|
|
11
16
|
interface AppTopBarTitleProps extends useRender.ComponentProps<"div"> {}
|
|
@@ -33,6 +38,7 @@ interface AppTopBarControlProps extends ToolbarButtonProps {
|
|
|
33
38
|
declare function AppTopBarRoot({
|
|
34
39
|
children,
|
|
35
40
|
className,
|
|
41
|
+
titleAlign,
|
|
36
42
|
...props
|
|
37
43
|
}: AppTopBarRootProps): React.JSX.Element;
|
|
38
44
|
declare function AppTopBarLeading({
|
|
@@ -10,9 +10,10 @@ import { useRender } from "@base-ui/react/use-render";
|
|
|
10
10
|
* Stable application-level toolbar with composable leading, title, and trailing
|
|
11
11
|
* slots. Descendant buttons share Base UI's roving focus and tooltip provider.
|
|
12
12
|
*/
|
|
13
|
-
function AppTopBarRoot({ children, className, ...props }) {
|
|
13
|
+
function AppTopBarRoot({ children, className, titleAlign = "center", ...props }) {
|
|
14
14
|
return /* @__PURE__ */ jsx(Tooltip.Provider, { children: /* @__PURE__ */ jsx(Toolbar.Root, {
|
|
15
15
|
className: mergeBaseClassName("app-top-bar", className),
|
|
16
|
+
"data-title-align": titleAlign,
|
|
16
17
|
...props,
|
|
17
18
|
children
|
|
18
19
|
}) });
|
|
@@ -13,7 +13,7 @@ interface CommitProps extends Omit<React.ComponentProps<typeof Collapsible.Root>
|
|
|
13
13
|
* summaries with expandable file details. Do not use it as a generic
|
|
14
14
|
* accordion; use Collapsible or Accordion directly.
|
|
15
15
|
*
|
|
16
|
-
* Styling consumes Sigvelo surface, border, spacing, radius,
|
|
16
|
+
* Styling consumes Sigvelo surface, border, spacing, radius, status, and focus
|
|
17
17
|
* tokens. Add shared metadata/file affordances here instead of forking commit
|
|
18
18
|
* cards in apps.
|
|
19
19
|
*
|
|
@@ -190,7 +190,7 @@ declare function CommitFile({
|
|
|
190
190
|
}: CommitFileProps & {
|
|
191
191
|
ref?: React.Ref<HTMLLIElement>;
|
|
192
192
|
}): React.JSX.Element;
|
|
193
|
-
interface CommitFileStatusProps extends
|
|
193
|
+
interface CommitFileStatusProps extends React.HTMLAttributes<HTMLSpanElement> {
|
|
194
194
|
status: CommitFileStatusValue;
|
|
195
195
|
}
|
|
196
196
|
declare function CommitFileStatus({
|