@mcp-b/react-components 0.14.1 → 0.16.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/AgentActivity-BNUNrP9O.d.ts +36 -0
- package/dist/{AgentChat-Cgb1xuT7.d.ts → AgentChat-CrlpbvQJ.d.ts} +62 -8
- package/dist/{CodeBlock-DUh9WOGo.d.ts → CodeBlock-BRajW4QU.d.ts} +1 -1
- package/dist/{CodeBlock-BUFXG8HW.js → CodeBlock-BmB4Xaqq.js} +15 -4
- package/dist/{FileTree-mpEIcfzA.js → FileTree-CkVbIMWV.js} +82 -89
- package/dist/Message-BkMdE3bS.js +375 -0
- package/dist/{ModelSelector-DVgVBdvw.js → ModelSelector-SlJNgwKY.js} +17 -8
- package/dist/{PromptInput-ClNqBiIw.d.ts → PromptInput-BWTuXMOD.d.ts} +123 -5
- package/dist/ResponsiveSidebarShell-Dd9DCcBT.d.ts +67 -0
- package/dist/{Select-Dl_vF_Bt.d.ts → Select-BeEsefzh.d.ts} +12 -2
- package/dist/{ThinkChat-7DQ2CogF.js → ThinkChat-CzC-zNGA.js} +27 -37
- package/dist/{ThinkChatActivity-m9orbdeI.d.ts → ThinkChatActivity-BFQnb2ct.d.ts} +3 -10
- package/dist/ThinkChatActivitySummary-BPmu9a-c.d.ts +39 -0
- package/dist/{ThinkChatToolParts-Cv4o7j6F.d.ts → ThinkChatToolParts-CSzVwMXf.d.ts} +62 -3
- package/dist/ThinkExecutionRun-ChhWhOoU.d.ts +30 -0
- package/dist/Toggle-CAAlNl-M.d.ts +69 -0
- package/dist/ToggleGroup-8hPv-b69.d.ts +73 -0
- package/dist/Workspace-D39LxGvP.d.ts +62 -0
- package/dist/WorkspaceFile-DOZkPwzu.d.ts +106 -0
- package/dist/WorkspaceFileView-rSN_yT0L.js +744 -0
- package/dist/WorkspaceLink-DIPbXrUM.js +337 -0
- package/dist/WorkspaceLink-DK1DWMHe.d.ts +89 -0
- package/dist/components/Activity.d.ts +27 -1
- package/dist/components/Activity.js +33 -15
- package/dist/components/AgentActivity.d.ts +2 -0
- package/dist/components/AgentActivity.js +45 -0
- package/dist/components/AgentActivityPreview.d.ts +46 -0
- package/dist/components/AgentActivityPreview.js +94 -0
- package/dist/components/AgentAttention.d.ts +73 -0
- package/dist/components/AgentAttention.js +85 -0
- package/dist/components/AgentChat.d.ts +2 -2
- package/dist/components/AgentChat.js +231 -205
- package/dist/components/AgentChatMessageEditor.d.ts +29 -0
- package/dist/components/AgentChatMessageEditor.js +92 -0
- package/dist/components/AgentChatTurnError.d.ts +17 -0
- package/dist/components/AgentChatTurnError.js +40 -0
- package/dist/components/AgentConnection.d.ts +12 -17
- package/dist/components/AgentConnection.js +99 -91
- package/dist/components/AppFrame.d.ts +24 -0
- package/dist/components/AppFrame.js +25 -0
- package/dist/components/AppTopBar.d.ts +71 -0
- package/dist/components/AppTopBar.js +82 -0
- package/dist/components/Artifact.js +1 -1
- package/dist/components/BrowserLiveView.js +1 -1
- package/dist/components/BrowserReplay.js +1 -1
- package/dist/components/BrowserRunPanel.js +1 -1
- package/dist/components/Card.d.ts +3 -0
- package/dist/components/Card.js +2 -1
- 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.js +5 -13
- package/dist/components/CheckboxGroup.d.ts +58 -2
- package/dist/components/CheckboxGroup.js +59 -1
- package/dist/components/CodeBlock.d.ts +1 -1
- package/dist/components/CodeBlock.js +1 -1
- package/dist/components/CodexModelSelector.js +1 -1
- package/dist/components/Commit.js +2 -2
- package/dist/components/ContextMenu.js +1 -1
- package/dist/components/Conversation.js +1 -1
- package/dist/components/DescriptionList.d.ts +12 -0
- package/dist/components/DescriptionList.js +11 -0
- package/dist/components/DescriptionListParts.d.ts +37 -0
- package/dist/components/DescriptionListParts.js +35 -0
- package/dist/components/EnvironmentVariables.js +2 -2
- package/dist/components/Fieldset.d.ts +13 -1
- package/dist/components/Fieldset.js +11 -2
- package/dist/components/FileTree.js +1 -1
- package/dist/components/IconButton.d.ts +33 -0
- package/dist/components/IconButton.js +27 -0
- package/dist/components/McpConnectionRequest.d.ts +44 -0
- package/dist/components/McpConnectionRequest.js +122 -0
- package/dist/components/McpServerPicker.d.ts +48 -23
- package/dist/components/McpServerPicker.js +238 -189
- package/dist/components/Menubar.js +1 -1
- package/dist/components/Message.d.ts +1 -0
- package/dist/components/Message.js +1 -285
- package/dist/components/MessageScroller.js +1 -1
- package/dist/components/ModelSelector.d.ts +15 -3
- package/dist/components/ModelSelector.js +1 -1
- package/dist/components/NaniteScene.d.ts +10 -1
- package/dist/components/NaniteScene.js +36 -1
- package/dist/components/Pricing.d.ts +37 -0
- package/dist/components/Pricing.js +17 -0
- package/dist/components/PricingBillingToggle.d.ts +23 -0
- package/dist/components/PricingBillingToggle.js +86 -0
- package/dist/components/PricingConfirmationDialog.d.ts +25 -0
- package/dist/components/PricingConfirmationDialog.js +57 -0
- package/dist/components/PricingFAQ.d.ts +18 -0
- package/dist/components/PricingFAQ.js +27 -0
- package/dist/components/PricingPage.d.ts +2 -38
- package/dist/components/PricingPage.js +39 -359
- package/dist/components/PricingPlanCard.d.ts +22 -0
- package/dist/components/PricingPlanCard.js +109 -0
- package/dist/components/PricingUsageCalculator.d.ts +22 -0
- package/dist/components/PricingUsageCalculator.js +96 -0
- package/dist/components/PromptInput.d.ts +2 -2
- package/dist/components/PromptInput.js +210 -15
- package/dist/components/Queue.js +1 -1
- package/dist/components/Reasoning.d.ts +2 -1
- package/dist/components/Reasoning.js +14 -29
- package/dist/components/ResizableSidePanel.d.ts +57 -0
- package/dist/components/ResizableSidePanel.js +151 -0
- package/dist/components/ResponsiveSidebarShell.d.ts +2 -0
- package/dist/components/ResponsiveSidebarShell.js +129 -0
- package/dist/components/Select.d.ts +2 -2
- package/dist/components/Select.js +11 -2
- package/dist/components/Slider.d.ts +13 -1
- package/dist/components/Slider.js +11 -0
- package/dist/components/Sources.js +1 -1
- package/dist/components/Stepper.d.ts +4 -0
- package/dist/components/Stepper.js +5 -3
- package/dist/components/SubagentRun.d.ts +86 -0
- package/dist/components/SubagentRun.js +108 -0
- package/dist/components/SubagentRunDetails.d.ts +44 -0
- package/dist/components/SubagentRunDetails.js +48 -0
- package/dist/components/SubagentRunIndicator.d.ts +22 -0
- package/dist/components/SubagentRunIndicator.js +33 -0
- package/dist/components/SubagentRunList.d.ts +25 -0
- package/dist/components/SubagentRunList.js +26 -0
- package/dist/components/SubagentRunSelector.d.ts +47 -0
- package/dist/components/SubagentRunSelector.js +55 -0
- package/dist/components/Task.js +1 -1
- package/dist/components/Terminal.js +2 -2
- package/dist/components/TestResults.js +1 -1
- package/dist/components/Textarea.d.ts +21 -0
- package/dist/components/Textarea.js +19 -0
- package/dist/components/ThemeModeControl.d.ts +24 -0
- package/dist/components/ThemeModeControl.js +52 -0
- package/dist/components/ThemeProvider.d.ts +38 -0
- package/dist/components/ThemeProvider.js +80 -0
- package/dist/components/ThinkChat.d.ts +34 -7
- package/dist/components/ThinkChat.js +7 -4
- package/dist/components/ThinkChatActivity.d.ts +3 -2
- package/dist/components/ThinkChatActivity.js +18 -297
- package/dist/components/ThinkChatActivitySummary.d.ts +2 -0
- package/dist/components/ThinkChatActivitySummary.js +421 -0
- package/dist/components/ThinkChatToolPanels.d.ts +15 -5
- package/dist/components/ThinkChatToolPanels.js +116 -9
- package/dist/components/ThinkChatToolParts.d.ts +2 -2
- package/dist/components/ThinkChatToolParts.js +51 -9
- package/dist/components/ThinkExecutionDetail.d.ts +20 -0
- package/dist/components/ThinkExecutionDetail.js +80 -0
- package/dist/components/ThinkExecutionRun.d.ts +2 -0
- package/dist/components/ThinkExecutionRun.js +72 -0
- package/dist/components/ThinkExecutionStatus.d.ts +22 -0
- package/dist/components/ThinkExecutionStatus.js +36 -0
- package/dist/components/ThinkExecutionWorkbench.d.ts +7 -0
- package/dist/components/ThinkExecutionWorkbench.js +69 -225
- package/dist/components/ThinkFullApp.d.ts +58 -14
- package/dist/components/ThinkFullApp.js +129 -160
- package/dist/components/ThinkFullAppViewSwitch.d.ts +31 -0
- package/dist/components/ThinkFullAppViewSwitch.js +34 -0
- package/dist/components/ThinkRoutine.d.ts +36 -0
- package/dist/components/ThinkRoutine.js +15 -0
- package/dist/components/ThinkRoutineBrowser.d.ts +25 -0
- package/dist/components/ThinkRoutineBrowser.js +156 -0
- package/dist/components/ThinkRoutineDetail.d.ts +24 -0
- package/dist/components/ThinkRoutineDetail.js +102 -0
- package/dist/components/ThinkRoutineForm.d.ts +32 -0
- package/dist/components/ThinkRoutineForm.js +151 -0
- package/dist/components/ThinkRoutineLibrary.d.ts +74 -0
- package/dist/components/ThinkRoutineLibrary.js +178 -0
- package/dist/components/ThinkRoutineRuns.d.ts +24 -0
- package/dist/components/ThinkRoutineRuns.js +68 -0
- package/dist/components/ThinkThreadPicker.d.ts +18 -1
- package/dist/components/ThinkThreadPicker.js +51 -5
- package/dist/components/ThinkThreadShell.d.ts +12 -9
- package/dist/components/ThinkThreadShell.js +17 -137
- package/dist/components/Toggle.d.ts +1 -68
- package/dist/components/ToggleGroup.d.ts +1 -72
- package/dist/components/Tooltip.d.ts +3 -1
- package/dist/components/Tooltip.js +4 -2
- package/dist/components/WebPreview.js +1 -1
- package/dist/components/Workspace.d.ts +2 -0
- package/dist/components/Workspace.js +424 -0
- package/dist/components/WorkspaceBrowser.d.ts +32 -0
- package/dist/components/WorkspaceBrowser.js +103 -0
- package/dist/components/WorkspaceExplorer.d.ts +12 -79
- package/dist/components/WorkspaceExplorer.js +116 -330
- package/dist/components/WorkspaceFile.d.ts +2 -0
- package/dist/components/WorkspaceFile.js +195 -0
- package/dist/components/WorkspaceFileView.d.ts +26 -0
- package/dist/components/WorkspaceFileView.js +2 -0
- package/dist/components/WorkspaceHeader.d.ts +35 -0
- package/dist/components/WorkspaceHeader.js +51 -0
- package/dist/components/WorkspaceLink.d.ts +2 -0
- package/dist/components/WorkspaceLink.js +2 -0
- package/dist/components/icons.d.ts +2 -2
- package/dist/components/icons.js +2 -2
- package/dist/{copy-button-DUMLYdsk.js → copy-button-Dejn5heL.js} +1 -1
- package/dist/icons-CpfUer49.js +85 -0
- package/dist/{icons-CUCz_Sft.d.ts → icons-GQd1xF4e.d.ts} +51 -1
- package/dist/styles/activity-header.css +75 -0
- package/dist/styles/activity.css +49 -63
- package/dist/styles/agent-activity-preview-overlay.css +80 -0
- package/dist/styles/agent-activity-preview.css +235 -0
- package/dist/styles/agent-attention.css +122 -0
- package/dist/styles/agent-chat.css +141 -4
- package/dist/styles/app-frame.css +15 -0
- package/dist/styles/app-top-bar.css +100 -0
- package/dist/styles/avatar.css +0 -1
- package/dist/styles/browser-control-overlay.css +184 -0
- package/dist/styles/card.css +21 -0
- package/dist/styles/checkbox-group.css +69 -0
- package/dist/styles/description-list.css +50 -0
- package/dist/styles/fieldset.css +11 -0
- package/dist/styles/index.css +15 -2
- package/dist/styles/mcp-connection-request.css +60 -0
- package/dist/styles/mcp-server-picker.css +95 -68
- package/dist/styles/message.css +4 -43
- package/dist/styles/nanite-scene.css +16 -0
- package/dist/styles/pricing-page.css +21 -27
- package/dist/styles/prompt-input.css +225 -32
- package/dist/styles/reasoning.css +1 -55
- package/dist/styles/recipes.css +23 -15
- package/dist/styles/resizable-side-panel.css +66 -0
- package/dist/styles/responsive-sidebar-shell.css +169 -0
- package/dist/styles/select.css +10 -0
- package/dist/styles/stepper.css +13 -0
- package/dist/styles/streamdown.css +0 -4
- package/dist/styles/subagent-run.css +205 -0
- package/dist/styles/textarea.css +20 -0
- package/dist/styles/theme-mode-control.css +72 -0
- package/dist/styles/think-execution-status.css +49 -0
- package/dist/styles/think-execution-workbench.css +8 -72
- package/dist/styles/think-full-app.css +106 -131
- package/dist/styles/think-routine-library.css +491 -0
- package/dist/styles/think-thread-picker.css +47 -3
- package/dist/styles/toggle-group.css +7 -0
- package/dist/styles/workspace-explorer.css +511 -64
- package/dist/utils/codex-model-catalog.d.ts +4 -4
- package/dist/utils/mcp-server-catalog.d.ts +82 -78
- package/dist/utils/mcp-server-catalog.js +64 -41
- package/dist/utils/structured-code.d.ts +1 -1
- package/dist/utils/theme.d.ts +22 -0
- package/dist/utils/theme.js +55 -0
- package/package.json +34 -28
- package/dist/icons-Ba9THQKz.js +0 -64
- package/dist/styles/think-resize-handle.css +0 -33
- package/dist/styles/think-thread-shell.css +0 -219
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mcp-b/react-components",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.16.0",
|
|
4
4
|
"description": "MCP-B React components built on Base UI and shared design tokens, including Cloudflare Think chat primitives.",
|
|
5
5
|
"homepage": "https://design-system.sigvelo.com",
|
|
6
6
|
"bugs": {
|
|
@@ -40,54 +40,60 @@
|
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"@base-ui/react": "~1.6.0",
|
|
43
|
-
"@cloudflare/codemode": "^0.4.
|
|
44
|
-
"@cloudflare/workers-types": "^
|
|
43
|
+
"@cloudflare/codemode": "^0.4.3",
|
|
44
|
+
"@cloudflare/workers-types": "^5.20260715.1",
|
|
45
45
|
"@rrweb/replay": "^2.1.0",
|
|
46
|
-
"@shadcn/react": "^0.2.
|
|
46
|
+
"@shadcn/react": "^0.2.1",
|
|
47
47
|
"@streamdown/cjk": "^1.0.3",
|
|
48
48
|
"@streamdown/code": "^1.1.1",
|
|
49
49
|
"@streamdown/math": "^1.0.2",
|
|
50
50
|
"@streamdown/mermaid": "^1.0.2",
|
|
51
|
+
"agent-skills-ts-sdk": "^2.4.1",
|
|
51
52
|
"anser": "^2.3.5",
|
|
52
|
-
"cloudflare": "^
|
|
53
|
-
"lucide-react": "^1.
|
|
54
|
-
"
|
|
53
|
+
"cloudflare": "^7.0.0",
|
|
54
|
+
"lucide-react": "^1.24.0",
|
|
55
|
+
"react-icons": "^5.7.0",
|
|
56
|
+
"rehype-slug": "^6.0.0",
|
|
57
|
+
"shiki": "^4.3.1",
|
|
55
58
|
"streamdown": "^2.5.0",
|
|
56
|
-
"
|
|
59
|
+
"unist-util-visit": "^5.1.0",
|
|
60
|
+
"yet-another-react-lightbox": "^3.32.1",
|
|
61
|
+
"@mcp-b/design-tokens": "0.16.0"
|
|
57
62
|
},
|
|
58
63
|
"devDependencies": {
|
|
59
64
|
"@ai-sdk/react": "^3.0.222",
|
|
60
65
|
"@cloudflare/shell": "^0.4.1",
|
|
61
|
-
"@cloudflare/think": "^0.
|
|
62
|
-
"@cloudflare/voice": "^0.3.
|
|
63
|
-
"@storybook/addon-a11y": "^10.
|
|
64
|
-
"@storybook/addon-docs": "^10.
|
|
65
|
-
"@storybook/addon-vitest": "^10.
|
|
66
|
-
"@storybook/react-vite": "^10.
|
|
67
|
-
"@tanstack/react-form": "^1.33.
|
|
68
|
-
"@types/
|
|
66
|
+
"@cloudflare/think": "^0.13.0",
|
|
67
|
+
"@cloudflare/voice": "^0.3.4",
|
|
68
|
+
"@storybook/addon-a11y": "^10.5.0",
|
|
69
|
+
"@storybook/addon-docs": "^10.5.0",
|
|
70
|
+
"@storybook/addon-vitest": "^10.5.0",
|
|
71
|
+
"@storybook/react-vite": "^10.5.0",
|
|
72
|
+
"@tanstack/react-form": "^1.33.2",
|
|
73
|
+
"@types/hast": "^3.0.4",
|
|
74
|
+
"@types/node": "^26",
|
|
69
75
|
"@types/react": "^19.2.17",
|
|
70
76
|
"@types/react-dom": "^19.2.3",
|
|
71
|
-
"@vitest/browser-playwright": "^4.1.
|
|
72
|
-
"@vitest/coverage-v8": "^4.1.
|
|
73
|
-
"@vitest/mocker": "^4.1.
|
|
74
|
-
"agents": "^0.17.
|
|
77
|
+
"@vitest/browser-playwright": "^4.1.10",
|
|
78
|
+
"@vitest/coverage-v8": "^4.1.10",
|
|
79
|
+
"@vitest/mocker": "^4.1.10",
|
|
80
|
+
"agents": "^0.17.4",
|
|
75
81
|
"ai": "^6.0.220",
|
|
76
82
|
"playwright": "^1.61.0",
|
|
77
83
|
"react": "^19.2.7",
|
|
78
84
|
"react-dom": "^19.2.7",
|
|
79
|
-
"storybook": "^10.
|
|
85
|
+
"storybook": "^10.5.0",
|
|
80
86
|
"typescript": "^6.0.3",
|
|
81
|
-
"vite": "npm:@voidzero-dev/vite-plus-core@0.2.
|
|
82
|
-
"vite-plus": "0.2.
|
|
83
|
-
"vitest": "^4.1.
|
|
87
|
+
"vite": "npm:@voidzero-dev/vite-plus-core@0.2.4",
|
|
88
|
+
"vite-plus": "0.2.4",
|
|
89
|
+
"vitest": "^4.1.10"
|
|
84
90
|
},
|
|
85
91
|
"peerDependencies": {
|
|
86
|
-
"@ai-sdk/react": "^3.0.
|
|
92
|
+
"@ai-sdk/react": "^3.0.204",
|
|
87
93
|
"@cloudflare/shell": "^0.4.1",
|
|
88
|
-
"@cloudflare/think": "^0.
|
|
89
|
-
"@cloudflare/voice": "^0.3.
|
|
90
|
-
"agents": "^0.17.
|
|
94
|
+
"@cloudflare/think": "^0.13.0",
|
|
95
|
+
"@cloudflare/voice": "^0.3.4",
|
|
96
|
+
"agents": "^0.17.4",
|
|
91
97
|
"ai": "^6.0.182",
|
|
92
98
|
"react": "^19.0.0",
|
|
93
99
|
"react-dom": "^19.0.0"
|
package/dist/icons-Ba9THQKz.js
DELETED
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
import { jsx } from "react/jsx-runtime";
|
|
2
|
-
import { ArrowDown, ArrowLeft, ArrowRight, ArrowUp, Check, ChevronDown, ChevronLeft, ChevronRight, CircleStop, Copy, Dot, Download, Ellipsis, Eye, EyeOff, File, Folder, FolderOpen, Image, Info, Link2, LoaderCircle, Maximize2, Mic, Minus, Monitor, PanelLeft, Paperclip, Pause, Pencil, Play, Plus, RefreshCw, Search, Square, Terminal, TriangleAlert, Wrench, X } from "lucide-react";
|
|
3
|
-
//#region src/components/_internal/icons.tsx
|
|
4
|
-
function icon(Component) {
|
|
5
|
-
return function DesignSystemIcon({ size = 16, strokeWidth = 1.75, ...props }) {
|
|
6
|
-
return /* @__PURE__ */ jsx(Component, {
|
|
7
|
-
size,
|
|
8
|
-
strokeWidth,
|
|
9
|
-
"aria-hidden": "true",
|
|
10
|
-
focusable: "false",
|
|
11
|
-
...props
|
|
12
|
-
});
|
|
13
|
-
};
|
|
14
|
-
}
|
|
15
|
-
const ChevronRightIcon = icon(ChevronRight);
|
|
16
|
-
const ChevronDownIcon = icon(ChevronDown);
|
|
17
|
-
const ChevronLeftIcon = icon(ChevronLeft);
|
|
18
|
-
const CheckIcon = icon(Check);
|
|
19
|
-
const XIcon = icon(X);
|
|
20
|
-
const PencilIcon = icon(Pencil);
|
|
21
|
-
const CopyIcon = icon(Copy);
|
|
22
|
-
const EyeIcon = icon(Eye);
|
|
23
|
-
const EyeOffIcon = icon(EyeOff);
|
|
24
|
-
const FolderIcon = icon(Folder);
|
|
25
|
-
const FolderOpenIcon = icon(FolderOpen);
|
|
26
|
-
const FileIcon = icon(File);
|
|
27
|
-
const PaperclipIcon = icon(Paperclip);
|
|
28
|
-
const MicrophoneIcon = icon(Mic);
|
|
29
|
-
const StopIcon = icon(CircleStop);
|
|
30
|
-
const PlusIcon = icon(Plus);
|
|
31
|
-
const MinusIcon = icon(Minus);
|
|
32
|
-
const PlayIcon = icon(Play);
|
|
33
|
-
const PauseIcon = icon(Pause);
|
|
34
|
-
const SquareIcon = icon(Square);
|
|
35
|
-
const ArrowLeftIcon = icon(ArrowLeft);
|
|
36
|
-
const ArrowRightIcon = icon(ArrowRight);
|
|
37
|
-
const ArrowDownIcon = icon(ArrowDown);
|
|
38
|
-
const ArrowUpIcon = icon(ArrowUp);
|
|
39
|
-
const DownloadIcon = icon(Download);
|
|
40
|
-
const RefreshIcon = icon(RefreshCw);
|
|
41
|
-
const DotIcon = icon(Dot);
|
|
42
|
-
const EllipsisIcon = icon(Ellipsis);
|
|
43
|
-
function SpinnerIcon({ className, size = 16, strokeWidth = 1.75, ...props }) {
|
|
44
|
-
return /* @__PURE__ */ jsx(LoaderCircle, {
|
|
45
|
-
size,
|
|
46
|
-
strokeWidth,
|
|
47
|
-
"aria-hidden": "true",
|
|
48
|
-
focusable: "false",
|
|
49
|
-
className: ["sigvelo-icon--spinner", className].filter(Boolean).join(" "),
|
|
50
|
-
...props
|
|
51
|
-
});
|
|
52
|
-
}
|
|
53
|
-
const SearchIcon = icon(Search);
|
|
54
|
-
const SidebarIcon = icon(PanelLeft);
|
|
55
|
-
const TerminalIcon = icon(Terminal);
|
|
56
|
-
const LinkIcon = icon(Link2);
|
|
57
|
-
const WarningIcon = icon(TriangleAlert);
|
|
58
|
-
const WrenchIcon = icon(Wrench);
|
|
59
|
-
const InfoIcon = icon(Info);
|
|
60
|
-
const ImageIcon = icon(Image);
|
|
61
|
-
const MonitorIcon = icon(Monitor);
|
|
62
|
-
const MaximizeIcon = icon(Maximize2);
|
|
63
|
-
//#endregion
|
|
64
|
-
export { RefreshIcon as A, MinusIcon as C, PencilIcon as D, PauseIcon as E, StopIcon as F, TerminalIcon as I, WarningIcon as L, SidebarIcon as M, SpinnerIcon as N, PlayIcon as O, SquareIcon as P, WrenchIcon as R, MicrophoneIcon as S, PaperclipIcon as T, FolderOpenIcon as _, CheckIcon as a, LinkIcon as b, ChevronRightIcon as c, DownloadIcon as d, EllipsisIcon as f, FolderIcon as g, FileIcon as h, ArrowUpIcon as i, SearchIcon as j, PlusIcon as k, CopyIcon as l, EyeOffIcon as m, ArrowLeftIcon as n, ChevronDownIcon as o, EyeIcon as p, ArrowRightIcon as r, ChevronLeftIcon as s, ArrowDownIcon as t, DotIcon as u, ImageIcon as v, MonitorIcon as w, MaximizeIcon as x, InfoIcon as y, XIcon as z };
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/* Shared implementation detail for the resizable Think shell separators. */
|
|
2
|
-
.think-resize-handle {
|
|
3
|
-
position: absolute;
|
|
4
|
-
inset-block: 0;
|
|
5
|
-
inline-size: var(--sigvelo-spacing-2-5);
|
|
6
|
-
padding: 0;
|
|
7
|
-
border: 0;
|
|
8
|
-
background: transparent;
|
|
9
|
-
cursor: col-resize;
|
|
10
|
-
touch-action: pan-y;
|
|
11
|
-
appearance: none;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.think-resize-handle::before {
|
|
15
|
-
content: "";
|
|
16
|
-
position: absolute;
|
|
17
|
-
inset-block: 0;
|
|
18
|
-
inset-inline-start: 50%;
|
|
19
|
-
inline-size: 1px;
|
|
20
|
-
transform: translateX(-50%);
|
|
21
|
-
background: transparent;
|
|
22
|
-
transition: background-color var(--sigvelo-duration-fast) var(--sigvelo-ease-standard);
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.think-resize-handle:hover::before,
|
|
26
|
-
.think-resize-handle:focus-visible::before {
|
|
27
|
-
background: color-mix(in srgb, var(--sigvelo-color-primary-text) 38%, transparent);
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.think-resize-handle:focus-visible {
|
|
31
|
-
outline: 2px solid var(--sigvelo-color-focus);
|
|
32
|
-
outline-offset: -2px;
|
|
33
|
-
}
|
|
@@ -1,219 +0,0 @@
|
|
|
1
|
-
.think-thread-shell {
|
|
2
|
-
container: think-thread-shell / inline-size;
|
|
3
|
-
block-size: 100%;
|
|
4
|
-
min-inline-size: 0;
|
|
5
|
-
min-block-size: 0;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
.think-thread-shell__frame {
|
|
9
|
-
--think-thread-mobile-sidebar-w: min(80cqi, 22rem);
|
|
10
|
-
|
|
11
|
-
position: relative;
|
|
12
|
-
isolation: isolate;
|
|
13
|
-
block-size: 100%;
|
|
14
|
-
min-inline-size: 0;
|
|
15
|
-
min-block-size: 0;
|
|
16
|
-
display: grid;
|
|
17
|
-
grid-template-columns: var(--think-thread-sidebar-w, 16rem) minmax(0, 1fr);
|
|
18
|
-
grid-template-rows: minmax(0, 1fr);
|
|
19
|
-
overflow: hidden;
|
|
20
|
-
background: var(--sigvelo-color-canvas);
|
|
21
|
-
color: var(--sigvelo-color-text);
|
|
22
|
-
font-family: inherit;
|
|
23
|
-
transition: grid-template-columns var(--sigvelo-duration-medium) var(--sigvelo-ease-standard);
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.think-thread-shell__sidebar,
|
|
27
|
-
.think-thread-shell__main {
|
|
28
|
-
min-inline-size: 0;
|
|
29
|
-
min-block-size: 0;
|
|
30
|
-
overflow: hidden;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.think-thread-shell__sidebar {
|
|
34
|
-
grid-column: 1;
|
|
35
|
-
grid-row: 1;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.think-thread-shell__main {
|
|
39
|
-
grid-column: 2;
|
|
40
|
-
grid-row: 1;
|
|
41
|
-
display: grid;
|
|
42
|
-
grid-template-rows: minmax(0, 1fr);
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.think-thread-shell__peek {
|
|
46
|
-
display: none;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
.think-thread-shell__toolbar {
|
|
50
|
-
position: absolute;
|
|
51
|
-
inset-block-start: calc(0.4375rem + env(safe-area-inset-top, 0px));
|
|
52
|
-
inset-inline-start: calc(0.5rem + env(safe-area-inset-left, 0px));
|
|
53
|
-
z-index: 30;
|
|
54
|
-
display: flex;
|
|
55
|
-
align-items: center;
|
|
56
|
-
pointer-events: none;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
.think-thread-shell__panel-toggle {
|
|
60
|
-
display: inline-flex;
|
|
61
|
-
align-items: center;
|
|
62
|
-
gap: var(--sigvelo-spacing-0-5);
|
|
63
|
-
padding: var(--sigvelo-spacing-0-5);
|
|
64
|
-
border: var(--sigvelo-border-style) var(--sigvelo-border-width)
|
|
65
|
-
color-mix(in srgb, var(--sigvelo-color-neutral-border-subtle) 58%, transparent);
|
|
66
|
-
border-radius: 0.625rem;
|
|
67
|
-
background: color-mix(
|
|
68
|
-
in srgb,
|
|
69
|
-
color-mix(in oklab, var(--sigvelo-color-canvas), var(--sigvelo-color-primary-bg-subtle) 18%) 72%,
|
|
70
|
-
var(--sigvelo-color-surface)
|
|
71
|
-
);
|
|
72
|
-
pointer-events: auto;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
.think-thread-shell__panel-toggle button {
|
|
76
|
-
min-block-size: 1.5rem;
|
|
77
|
-
min-inline-size: 1.625rem;
|
|
78
|
-
padding: 0.1875rem;
|
|
79
|
-
border: 0;
|
|
80
|
-
border-radius: 0.5rem;
|
|
81
|
-
background: transparent;
|
|
82
|
-
color: var(--sigvelo-color-text-muted);
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
.think-thread-shell__panel-toggle button svg {
|
|
86
|
-
display: block;
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
.think-thread-shell__panel-toggle button:hover,
|
|
90
|
-
.think-thread-shell__panel-toggle button[data-selected="true"] {
|
|
91
|
-
background: color-mix(
|
|
92
|
-
in srgb,
|
|
93
|
-
var(--sigvelo-color-primary-bg-subtle) 78%,
|
|
94
|
-
var(--sigvelo-color-surface)
|
|
95
|
-
);
|
|
96
|
-
color: var(--sigvelo-color-primary-text);
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
.think-thread-shell__panel-toggle button:focus-visible {
|
|
100
|
-
outline: 2px solid var(--sigvelo-color-focus);
|
|
101
|
-
outline-offset: 2px;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
.think-thread-shell__resizer {
|
|
105
|
-
z-index: 25;
|
|
106
|
-
inset-inline-start: var(--think-thread-sidebar-w, 16rem);
|
|
107
|
-
margin-inline-start: -0.3125rem;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
body.is-resizing-think-thread-shell .think-thread-shell__resizer::before {
|
|
111
|
-
background: color-mix(in srgb, var(--sigvelo-color-primary-text) 38%, transparent);
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
body.is-resizing-think-thread-shell {
|
|
115
|
-
cursor: col-resize;
|
|
116
|
-
user-select: none;
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
body.is-resizing-think-thread-shell .think-thread-shell__frame {
|
|
120
|
-
transition: none;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
.think-thread-shell__frame[data-sidebar-open="false"] {
|
|
124
|
-
grid-template-columns: minmax(0, 1fr);
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
.think-thread-shell__frame[data-sidebar-open="false"] .think-thread-shell__sidebar {
|
|
128
|
-
position: absolute;
|
|
129
|
-
inset-block: 0;
|
|
130
|
-
inset-inline-start: 0;
|
|
131
|
-
transform: translateX(-100%);
|
|
132
|
-
visibility: hidden;
|
|
133
|
-
pointer-events: none;
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
.think-thread-shell__frame[data-sidebar-open="false"] .think-thread-shell__main {
|
|
137
|
-
grid-column: 1;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
.think-thread-shell__frame[data-sidebar-open="true"] .think-thread-picker__header {
|
|
141
|
-
padding-inline-start: calc(4.25rem + env(safe-area-inset-left, 0px));
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
@container think-thread-shell (inline-size <= 56rem) {
|
|
145
|
-
.think-thread-shell__frame {
|
|
146
|
-
grid-template-columns: minmax(0, 1fr);
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
.think-thread-shell__sidebar,
|
|
150
|
-
.think-thread-shell__main {
|
|
151
|
-
grid-column: 1;
|
|
152
|
-
grid-row: 1;
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
.think-thread-shell__sidebar {
|
|
156
|
-
z-index: 20;
|
|
157
|
-
inline-size: var(--think-thread-mobile-sidebar-w);
|
|
158
|
-
max-inline-size: calc(100cqi - 4rem);
|
|
159
|
-
transition: transform var(--sigvelo-duration-medium) var(--sigvelo-ease-standard);
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
.think-thread-shell__resizer {
|
|
163
|
-
display: none;
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
.think-thread-shell__frame[data-sidebar-open="false"] .think-thread-shell__sidebar {
|
|
167
|
-
visibility: hidden;
|
|
168
|
-
transform: translateX(-100%);
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
.think-thread-shell__main {
|
|
172
|
-
transition:
|
|
173
|
-
transform var(--sigvelo-duration-medium) var(--sigvelo-ease-standard),
|
|
174
|
-
filter var(--sigvelo-duration-medium) var(--sigvelo-ease-standard);
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
.think-thread-shell__frame[data-sidebar-open="true"] .think-thread-shell__main {
|
|
178
|
-
transform: translateX(var(--think-thread-mobile-sidebar-w));
|
|
179
|
-
filter: brightness(0.86) saturate(0.92);
|
|
180
|
-
border-start-start-radius: 1.5rem;
|
|
181
|
-
border-end-start-radius: 1.5rem;
|
|
182
|
-
box-shadow: var(--sigvelo-shadow-lg);
|
|
183
|
-
pointer-events: none;
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
.think-thread-shell__frame[data-sidebar-open="true"] .think-thread-shell__peek {
|
|
187
|
-
position: absolute;
|
|
188
|
-
inset-block: 0;
|
|
189
|
-
inset-inline: var(--think-thread-mobile-sidebar-w) 0;
|
|
190
|
-
z-index: 22;
|
|
191
|
-
display: block;
|
|
192
|
-
padding: 0;
|
|
193
|
-
background: transparent;
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
.think-thread-shell__peek:hover {
|
|
197
|
-
background: transparent;
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
.think-thread-shell__peek:focus-visible {
|
|
201
|
-
outline: 2px solid var(--sigvelo-color-focus);
|
|
202
|
-
outline-offset: -0.25rem;
|
|
203
|
-
border-start-start-radius: 1.5rem;
|
|
204
|
-
border-end-start-radius: 1.5rem;
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
.think-thread-picker {
|
|
208
|
-
inline-size: 100%;
|
|
209
|
-
border-inline-end: 0;
|
|
210
|
-
box-shadow: var(--sigvelo-shadow-lg);
|
|
211
|
-
}
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
@media (forced-colors: active) {
|
|
215
|
-
.think-thread-shell__panel-toggle {
|
|
216
|
-
border-color: canvastext;
|
|
217
|
-
background: canvas;
|
|
218
|
-
}
|
|
219
|
-
}
|