@mcp-b/react-components 0.14.2 → 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-DQkqt82e.d.ts → AgentChat-CrlpbvQJ.d.ts} +58 -6
- 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-CPCpFAUt.js → ModelSelector-SlJNgwKY.js} +2 -2
- 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-BPcehdbP.js → ThinkChat-CzC-zNGA.js} +24 -36
- package/dist/{ThinkChatActivity-BmwuIigx.d.ts → ThinkChatActivity-BFQnb2ct.d.ts} +3 -10
- package/dist/ThinkChatActivitySummary-BPmu9a-c.d.ts +39 -0
- package/dist/{ThinkChatToolParts-CDEjqS6A.d.ts → ThinkChatToolParts-CSzVwMXf.d.ts} +13 -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 +224 -200
- 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.js +1 -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 +18 -19
- package/dist/components/SubagentRun.js +25 -18
- 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 +29 -6
- package/dist/components/ThinkChat.js +7 -4
- package/dist/components/ThinkChatActivity.d.ts +3 -2
- package/dist/components/ThinkChatActivity.js +12 -318
- package/dist/components/ThinkChatActivitySummary.d.ts +2 -0
- package/dist/components/ThinkChatActivitySummary.js +421 -0
- package/dist/components/ThinkChatToolPanels.d.ts +7 -5
- package/dist/components/ThinkChatToolPanels.js +70 -8
- package/dist/components/ThinkChatToolParts.d.ts +2 -2
- package/dist/components/ThinkChatToolParts.js +36 -10
- 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 +133 -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 +14 -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/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 +55 -38
- 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 +104 -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/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
|
@@ -0,0 +1,491 @@
|
|
|
1
|
+
.think-routine-library {
|
|
2
|
+
position: relative;
|
|
3
|
+
min-inline-size: 0;
|
|
4
|
+
min-block-size: 38rem;
|
|
5
|
+
block-size: 100%;
|
|
6
|
+
display: grid;
|
|
7
|
+
grid-template-rows: auto minmax(0, 1fr);
|
|
8
|
+
overflow: hidden;
|
|
9
|
+
color: var(--sigvelo-color-text);
|
|
10
|
+
background: var(--sigvelo-color-canvas);
|
|
11
|
+
container-type: inline-size;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.think-routine-detail,
|
|
15
|
+
.think-routine-form {
|
|
16
|
+
container-type: inline-size;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.think-routine-browser {
|
|
20
|
+
block-size: 100%;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.think-routine-library__error {
|
|
24
|
+
position: absolute;
|
|
25
|
+
z-index: 2;
|
|
26
|
+
inset-block-start: var(--sigvelo-spacing-3);
|
|
27
|
+
inset-inline: 50% auto;
|
|
28
|
+
max-inline-size: min(32rem, calc(100% - 2rem));
|
|
29
|
+
padding: var(--sigvelo-spacing-2) var(--sigvelo-spacing-3);
|
|
30
|
+
border: var(--sigvelo-border-style) var(--sigvelo-border-width)
|
|
31
|
+
var(--sigvelo-color-danger-border-subtle);
|
|
32
|
+
border-radius: var(--sigvelo-radius-sm);
|
|
33
|
+
translate: -50% 0;
|
|
34
|
+
display: flex;
|
|
35
|
+
align-items: center;
|
|
36
|
+
gap: var(--sigvelo-spacing-2);
|
|
37
|
+
color: var(--sigvelo-color-danger-text);
|
|
38
|
+
background: var(--sigvelo-color-danger-bg-subtle);
|
|
39
|
+
font-size: var(--sigvelo-text-compact);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.think-routine-library__detail-header h1,
|
|
43
|
+
.think-routine-library__create-header h1 {
|
|
44
|
+
margin: 0;
|
|
45
|
+
font-weight: 600;
|
|
46
|
+
letter-spacing: -0.025em;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.think-routine-library__eyebrow {
|
|
50
|
+
margin: 0 0 var(--sigvelo-spacing-0-5);
|
|
51
|
+
color: var(--sigvelo-color-text-muted);
|
|
52
|
+
font-size: var(--sigvelo-text-xs);
|
|
53
|
+
font-weight: var(--sigvelo-font-weight-semibold);
|
|
54
|
+
letter-spacing: 0.06em;
|
|
55
|
+
text-transform: uppercase;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.think-routine-library__status,
|
|
59
|
+
.think-routine-library__title {
|
|
60
|
+
position: absolute;
|
|
61
|
+
inline-size: 1px;
|
|
62
|
+
block-size: 1px;
|
|
63
|
+
margin: -1px;
|
|
64
|
+
padding: 0;
|
|
65
|
+
overflow: hidden;
|
|
66
|
+
border: 0;
|
|
67
|
+
clip-path: inset(50%);
|
|
68
|
+
white-space: nowrap;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.think-routine-library__layout {
|
|
72
|
+
grid-row: 1 / -1;
|
|
73
|
+
min-block-size: 0;
|
|
74
|
+
block-size: 100%;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.think-routine-library__browser {
|
|
78
|
+
min-inline-size: 0;
|
|
79
|
+
min-block-size: 0;
|
|
80
|
+
overflow: auto;
|
|
81
|
+
padding: var(--sigvelo-spacing-4) var(--sigvelo-spacing-3);
|
|
82
|
+
border-inline-end: var(--sigvelo-border-style) var(--sigvelo-border-width)
|
|
83
|
+
var(--sigvelo-color-neutral-border-subtle);
|
|
84
|
+
background: color-mix(
|
|
85
|
+
in oklab,
|
|
86
|
+
var(--sigvelo-color-canvas),
|
|
87
|
+
var(--sigvelo-color-neutral-bg-subtle) 22%
|
|
88
|
+
);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.think-routine-library__browser-toolbar {
|
|
92
|
+
display: flex;
|
|
93
|
+
align-items: center;
|
|
94
|
+
justify-content: space-between;
|
|
95
|
+
gap: var(--sigvelo-spacing-2);
|
|
96
|
+
margin-block-end: var(--sigvelo-spacing-4);
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.think-routine-library__layout
|
|
100
|
+
.responsive-sidebar-shell__frame[data-sidebar-open="true"]
|
|
101
|
+
.think-routine-library__browser-toolbar {
|
|
102
|
+
padding-inline-start: var(--sigvelo-spacing-12);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.think-routine-library__layout
|
|
106
|
+
.responsive-sidebar-shell__frame[data-sidebar-open="false"]
|
|
107
|
+
.think-routine-library__detail {
|
|
108
|
+
padding-block-start: clamp(3.75rem, 6vw, 4.5rem);
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.think-routine-library__filters {
|
|
112
|
+
inline-size: fit-content;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.think-routine-library__search {
|
|
116
|
+
display: grid;
|
|
117
|
+
gap: var(--sigvelo-spacing-1-5);
|
|
118
|
+
margin-block-end: var(--sigvelo-spacing-4);
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
.think-routine-library__search > div {
|
|
122
|
+
position: relative;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.think-routine-library__search svg {
|
|
126
|
+
position: absolute;
|
|
127
|
+
z-index: 1;
|
|
128
|
+
inset-block-start: 50%;
|
|
129
|
+
inset-inline-start: var(--sigvelo-spacing-2-5);
|
|
130
|
+
translate: 0 -50%;
|
|
131
|
+
color: var(--sigvelo-color-text-muted);
|
|
132
|
+
pointer-events: none;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.think-routine-browser__search-control {
|
|
136
|
+
inline-size: 100%;
|
|
137
|
+
padding-inline-start: 2.125rem;
|
|
138
|
+
border-radius: var(--sigvelo-radius-full);
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.think-routine-library__routine-list {
|
|
142
|
+
display: grid;
|
|
143
|
+
gap: var(--sigvelo-spacing-1);
|
|
144
|
+
margin: 0;
|
|
145
|
+
padding: 0;
|
|
146
|
+
list-style: none;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
.think-routine-library__routine-list li {
|
|
150
|
+
border-radius: var(--sigvelo-radius-md);
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.think-routine-library__routine-list li[data-selected="true"] {
|
|
154
|
+
background: var(--sigvelo-color-neutral-bg-subtle);
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.think-routine-browser__routine {
|
|
158
|
+
inline-size: 100%;
|
|
159
|
+
min-block-size: 5.75rem;
|
|
160
|
+
display: grid;
|
|
161
|
+
grid-template-columns: auto minmax(0, 1fr);
|
|
162
|
+
align-items: center;
|
|
163
|
+
gap: var(--sigvelo-spacing-2-5);
|
|
164
|
+
padding: var(--sigvelo-spacing-3);
|
|
165
|
+
border-radius: inherit;
|
|
166
|
+
text-align: start;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.think-routine-library__routine-status {
|
|
170
|
+
inline-size: 0.5rem;
|
|
171
|
+
block-size: 0.5rem;
|
|
172
|
+
border: var(--sigvelo-border-style) 1.5px var(--sigvelo-color-neutral-border);
|
|
173
|
+
border-radius: var(--sigvelo-radius-full);
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
.think-routine-library__routine-status[data-enabled="true"] {
|
|
177
|
+
border-color: var(--sigvelo-color-success-border);
|
|
178
|
+
background: var(--sigvelo-color-success-bg);
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
.think-routine-library__routine-copy {
|
|
182
|
+
min-inline-size: 0;
|
|
183
|
+
display: grid;
|
|
184
|
+
gap: var(--sigvelo-spacing-0-5);
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
.think-routine-library__routine-copy strong,
|
|
188
|
+
.think-routine-library__routine-copy span,
|
|
189
|
+
.think-routine-library__routine-copy small {
|
|
190
|
+
overflow: hidden;
|
|
191
|
+
text-overflow: ellipsis;
|
|
192
|
+
white-space: nowrap;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.think-routine-library__routine-copy strong {
|
|
196
|
+
font-size: var(--sigvelo-text-compact);
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
.think-routine-library__routine-copy span,
|
|
200
|
+
.think-routine-library__routine-copy small {
|
|
201
|
+
color: var(--sigvelo-color-text-muted);
|
|
202
|
+
font-size: var(--sigvelo-text-xs);
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.think-routine-library__main {
|
|
206
|
+
min-inline-size: 0;
|
|
207
|
+
min-block-size: 0;
|
|
208
|
+
overflow: auto;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
.think-routine-library__detail {
|
|
212
|
+
inline-size: min(100%, 64rem);
|
|
213
|
+
margin-inline: auto;
|
|
214
|
+
padding: clamp(1.5rem, 4vw, 3.5rem);
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
.think-routine-library__detail-header,
|
|
218
|
+
.think-routine-library__create-header {
|
|
219
|
+
display: flex;
|
|
220
|
+
align-items: flex-start;
|
|
221
|
+
gap: var(--sigvelo-spacing-4);
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
.think-routine-library__detail-header {
|
|
225
|
+
justify-content: space-between;
|
|
226
|
+
padding-block-end: clamp(2rem, 5vw, 4rem);
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
.think-routine-library__detail-heading {
|
|
230
|
+
min-inline-size: 0;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
.think-routine-library__state {
|
|
234
|
+
margin-block-end: var(--sigvelo-spacing-2);
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
.think-routine-library__detail-header h1,
|
|
238
|
+
.think-routine-library__create-header h1 {
|
|
239
|
+
font-size: clamp(1.5rem, 3vw, 2.125rem);
|
|
240
|
+
line-height: 1.12;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
.think-routine-library__detail-heading > p:last-child,
|
|
244
|
+
.think-routine-library__create-header > div > p:last-child {
|
|
245
|
+
max-inline-size: 42rem;
|
|
246
|
+
margin: var(--sigvelo-spacing-2) 0 0;
|
|
247
|
+
color: var(--sigvelo-color-text-muted);
|
|
248
|
+
line-height: var(--sigvelo-leading-relaxed);
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
.think-routine-library__detail-grid {
|
|
252
|
+
display: grid;
|
|
253
|
+
grid-template-columns: minmax(0, 1.35fr) minmax(15rem, 0.65fr);
|
|
254
|
+
gap: clamp(2rem, 6vw, 5rem);
|
|
255
|
+
padding-block-end: clamp(2.5rem, 6vw, 5rem);
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
.think-routine-library__section-heading {
|
|
259
|
+
min-block-size: 2rem;
|
|
260
|
+
display: flex;
|
|
261
|
+
align-items: flex-start;
|
|
262
|
+
justify-content: space-between;
|
|
263
|
+
gap: var(--sigvelo-spacing-3);
|
|
264
|
+
margin-block-end: var(--sigvelo-spacing-3);
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
.think-routine-library__section-heading h2 {
|
|
268
|
+
margin: 0;
|
|
269
|
+
font-size: var(--sigvelo-text-sm);
|
|
270
|
+
font-weight: var(--sigvelo-font-weight-semibold);
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
.think-routine-library__instructions {
|
|
274
|
+
margin: 0;
|
|
275
|
+
color: var(--sigvelo-color-text);
|
|
276
|
+
font-size: var(--sigvelo-text-sm);
|
|
277
|
+
line-height: 1.7;
|
|
278
|
+
white-space: pre-wrap;
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
.think-routine-library__facts {
|
|
282
|
+
margin: 0;
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
.think-routine-library__facts > div {
|
|
286
|
+
display: grid;
|
|
287
|
+
grid-template-columns: 5.5rem minmax(0, 1fr);
|
|
288
|
+
gap: var(--sigvelo-spacing-3);
|
|
289
|
+
padding-block: var(--sigvelo-spacing-2-5);
|
|
290
|
+
border-block-end: var(--sigvelo-border-style) var(--sigvelo-border-width)
|
|
291
|
+
var(--sigvelo-color-neutral-border-subtle);
|
|
292
|
+
font-size: var(--sigvelo-text-compact);
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
.think-routine-library__facts dt {
|
|
296
|
+
color: var(--sigvelo-color-text-muted);
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
.think-routine-library__facts dd {
|
|
300
|
+
margin: 0;
|
|
301
|
+
overflow-wrap: anywhere;
|
|
302
|
+
text-align: end;
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
.think-routine-library__status-control {
|
|
306
|
+
display: flex;
|
|
307
|
+
align-items: center;
|
|
308
|
+
justify-content: space-between;
|
|
309
|
+
gap: var(--sigvelo-spacing-4);
|
|
310
|
+
padding-block-start: var(--sigvelo-spacing-4);
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
.think-routine-library__status-control > div {
|
|
314
|
+
display: grid;
|
|
315
|
+
gap: var(--sigvelo-spacing-0-5);
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
.think-routine-library__status-control strong {
|
|
319
|
+
font-size: var(--sigvelo-text-compact);
|
|
320
|
+
}
|
|
321
|
+
|
|
322
|
+
.think-routine-library__runs {
|
|
323
|
+
padding-block-end: clamp(2.5rem, 6vw, 5rem);
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
.think-routine-library__run-list {
|
|
327
|
+
display: grid;
|
|
328
|
+
gap: var(--sigvelo-spacing-0-5);
|
|
329
|
+
margin: 0;
|
|
330
|
+
padding: 0;
|
|
331
|
+
list-style: none;
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
.think-routine-library__run-list li {
|
|
335
|
+
min-inline-size: 0;
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
.think-routine-library__run {
|
|
339
|
+
inline-size: 100%;
|
|
340
|
+
justify-content: flex-start;
|
|
341
|
+
text-align: start;
|
|
342
|
+
}
|
|
343
|
+
|
|
344
|
+
.think-routine-library__run-marker {
|
|
345
|
+
inline-size: 1rem;
|
|
346
|
+
block-size: 1rem;
|
|
347
|
+
flex: 0 0 auto;
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
.think-routine-library__run-marker svg {
|
|
351
|
+
display: block;
|
|
352
|
+
inline-size: 1rem;
|
|
353
|
+
block-size: 1rem;
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
.think-routine-library__run > span {
|
|
357
|
+
min-inline-size: 0;
|
|
358
|
+
flex: 1;
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
.think-routine-library__run-list strong {
|
|
362
|
+
display: block;
|
|
363
|
+
overflow: hidden;
|
|
364
|
+
text-overflow: ellipsis;
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
.think-routine-library__empty-runs {
|
|
368
|
+
color: var(--sigvelo-color-text-muted);
|
|
369
|
+
font-size: var(--sigvelo-text-xs);
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
.think-routine-library__run-kind {
|
|
373
|
+
text-transform: capitalize;
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
.think-routine-library__empty-runs {
|
|
377
|
+
margin: 0;
|
|
378
|
+
padding-block: var(--sigvelo-spacing-4);
|
|
379
|
+
border-block: var(--sigvelo-border-style) var(--sigvelo-border-width)
|
|
380
|
+
var(--sigvelo-color-neutral-border-subtle);
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
.think-routine-library__empty-list,
|
|
384
|
+
.think-routine-library__empty-detail {
|
|
385
|
+
color: var(--sigvelo-color-text-muted);
|
|
386
|
+
text-align: center;
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
.think-routine-library__empty-list {
|
|
390
|
+
padding: var(--sigvelo-spacing-6) var(--sigvelo-spacing-3);
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
.think-routine-library__empty-list p,
|
|
394
|
+
.think-routine-library__empty-detail p {
|
|
395
|
+
margin: var(--sigvelo-spacing-1) 0 0;
|
|
396
|
+
font-size: var(--sigvelo-text-compact);
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
.think-routine-library__empty-detail {
|
|
400
|
+
min-block-size: 100%;
|
|
401
|
+
display: grid;
|
|
402
|
+
place-content: center;
|
|
403
|
+
padding: var(--sigvelo-spacing-6);
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
.think-routine-library__empty-detail h1 {
|
|
407
|
+
margin: 0;
|
|
408
|
+
color: var(--sigvelo-color-text);
|
|
409
|
+
font-size: var(--sigvelo-text-xl);
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
.think-routine-library__create {
|
|
413
|
+
min-block-size: 0;
|
|
414
|
+
overflow: auto;
|
|
415
|
+
padding: clamp(1.5rem, 5vw, 4rem);
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
.think-routine-library__create-header,
|
|
419
|
+
.think-routine-library__form {
|
|
420
|
+
inline-size: min(100%, 46rem);
|
|
421
|
+
margin-inline: auto;
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
.think-routine-library__create-header {
|
|
425
|
+
margin-block-end: clamp(2rem, 5vw, 3.5rem);
|
|
426
|
+
}
|
|
427
|
+
|
|
428
|
+
.think-routine-library__create-header > div {
|
|
429
|
+
min-inline-size: 0;
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
.think-routine-library__form {
|
|
433
|
+
display: grid;
|
|
434
|
+
gap: var(--sigvelo-spacing-6);
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
.think-routine-library__form-row {
|
|
438
|
+
display: grid;
|
|
439
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
440
|
+
gap: var(--sigvelo-spacing-4);
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
.think-routine-library__select-field {
|
|
444
|
+
min-inline-size: 0;
|
|
445
|
+
display: grid;
|
|
446
|
+
gap: var(--sigvelo-spacing-3);
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
.think-routine-library__form-actions {
|
|
450
|
+
display: flex;
|
|
451
|
+
justify-content: flex-end;
|
|
452
|
+
gap: var(--sigvelo-spacing-2);
|
|
453
|
+
padding-block-start: var(--sigvelo-spacing-4);
|
|
454
|
+
border-block-start: var(--sigvelo-border-style) var(--sigvelo-border-width)
|
|
455
|
+
var(--sigvelo-color-neutral-border-subtle);
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
@container (width < 52rem) {
|
|
459
|
+
.think-routine-library__detail-grid {
|
|
460
|
+
grid-template-columns: minmax(0, 1fr);
|
|
461
|
+
}
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
@container (width < 40rem) {
|
|
465
|
+
.think-routine-library__detail-header,
|
|
466
|
+
.think-routine-library__create-header {
|
|
467
|
+
flex-wrap: wrap;
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
.think-routine-library__form-row {
|
|
471
|
+
grid-template-columns: minmax(0, 1fr);
|
|
472
|
+
}
|
|
473
|
+
}
|
|
474
|
+
|
|
475
|
+
@container responsive-sidebar-shell (inline-size <= 56rem) {
|
|
476
|
+
.think-routine-library__browser {
|
|
477
|
+
inline-size: 100%;
|
|
478
|
+
border-inline-end: 0;
|
|
479
|
+
box-shadow: var(--sigvelo-shadow-lg);
|
|
480
|
+
}
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
@media (forced-colors: active) {
|
|
484
|
+
.think-routine-library__routine-list li[data-selected="true"] {
|
|
485
|
+
outline: 2px solid highlight;
|
|
486
|
+
}
|
|
487
|
+
|
|
488
|
+
.think-routine-library__routine-status[data-enabled="true"] {
|
|
489
|
+
background: highlight;
|
|
490
|
+
}
|
|
491
|
+
}
|
|
@@ -5,9 +5,8 @@
|
|
|
5
5
|
display: grid;
|
|
6
6
|
grid-template-rows: auto minmax(0, 1fr) auto;
|
|
7
7
|
overflow: hidden;
|
|
8
|
-
border-inline-end:
|
|
9
|
-
|
|
10
|
-
background: color-mix(in oklab, var(--sigvelo-color-canvas), var(--sigvelo-color-surface) 55%);
|
|
8
|
+
border-inline-end: 0;
|
|
9
|
+
background: var(--sigvelo-color-surface);
|
|
11
10
|
color: var(--sigvelo-color-text);
|
|
12
11
|
}
|
|
13
12
|
|
|
@@ -34,6 +33,46 @@
|
|
|
34
33
|
white-space: nowrap;
|
|
35
34
|
}
|
|
36
35
|
|
|
36
|
+
.think-thread-status-indicators {
|
|
37
|
+
min-inline-size: 0;
|
|
38
|
+
display: inline-flex;
|
|
39
|
+
align-items: center;
|
|
40
|
+
gap: var(--sigvelo-spacing-1);
|
|
41
|
+
color: var(--sigvelo-color-text-muted);
|
|
42
|
+
font-size: var(--sigvelo-text-xs);
|
|
43
|
+
font-variant-numeric: tabular-nums;
|
|
44
|
+
font-weight: var(--sigvelo-font-weight-normal);
|
|
45
|
+
line-height: 1;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.think-thread-status-indicators__item {
|
|
49
|
+
display: inline-flex;
|
|
50
|
+
align-items: center;
|
|
51
|
+
gap: var(--sigvelo-spacing-0-5);
|
|
52
|
+
min-inline-size: 1rem;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.think-thread-status-indicators__item svg {
|
|
56
|
+
inline-size: 0.75rem;
|
|
57
|
+
block-size: 0.75rem;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.think-thread-status-indicators__item[data-status="running"] {
|
|
61
|
+
color: var(--sigvelo-color-primary-text);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.think-thread-status-indicators__item[data-status="running"] svg {
|
|
65
|
+
animation: think-thread-picker-spin 900ms linear infinite;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.think-thread-status-indicators__item[data-status="attention"] {
|
|
69
|
+
color: var(--sigvelo-color-warning-text);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.think-thread-status-indicators__item[data-status="failed"] {
|
|
73
|
+
color: var(--sigvelo-color-danger-text);
|
|
74
|
+
}
|
|
75
|
+
|
|
37
76
|
.think-thread-picker__nav {
|
|
38
77
|
min-inline-size: 0;
|
|
39
78
|
min-block-size: 0;
|
|
@@ -200,6 +239,11 @@
|
|
|
200
239
|
}
|
|
201
240
|
|
|
202
241
|
@media (prefers-reduced-motion: reduce) {
|
|
242
|
+
.think-thread-status-indicators__item[data-status="running"] svg,
|
|
243
|
+
.think-thread-picker__thread[data-status="pending"] .think-thread-picker__thread-status svg,
|
|
244
|
+
.think-thread-picker__thread[data-status="running"] .think-thread-picker__thread-status svg,
|
|
245
|
+
.think-thread-picker__thread[data-status="starting"] .think-thread-picker__thread-status svg,
|
|
246
|
+
.think-thread-picker__thread[data-status="streaming"] .think-thread-picker__thread-status svg,
|
|
203
247
|
.think-thread-picker__thread[data-status="submitted"] .think-thread-picker__thread-status svg,
|
|
204
248
|
.think-thread-picker__thread[data-status="recovering"] .think-thread-picker__thread-status svg {
|
|
205
249
|
animation: none;
|