@mcp-b/react-components 0.11.0 → 0.13.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-B9LD_WF1.d.ts → AgentChat-Br6tKEl8.d.ts} +38 -10
- package/dist/{BrowserLiveView-ZktFZiMD.d.ts → BrowserLiveView-BV5qgFgI.d.ts} +11 -10
- package/dist/{BrowserReplay-6G-mnwcn.d.ts → BrowserReplay-xWvRjRAC.d.ts} +2 -1
- package/dist/{Button-Ct5I6aTu.d.ts → Button-FX_hpqxm.d.ts} +8 -11
- package/dist/{CodeBlock-XNQOupQ3.js → CodeBlock-BUFXG8HW.js} +22 -12
- package/dist/{CodeBlock-CxQXv3C4.d.ts → CodeBlock-DUh9WOGo.d.ts} +13 -7
- package/dist/{Combobox-D9anamNr.d.ts → Combobox-B9Fcd6q-.d.ts} +4 -14
- package/dist/{FileTree-wMyZhhHO.js → FileTree-mpEIcfzA.js} +1 -1
- package/dist/{Menu-B5vDqZe_.d.ts → Menu-Bgu-ufb5.d.ts} +29 -65
- package/dist/{ModelSelector-DXtpcRmT.js → ModelSelector-DVgVBdvw.js} +23 -20
- package/dist/{PromptInput-D6-G24p7.d.ts → PromptInput-p5KmOmt1.d.ts} +313 -89
- package/dist/Select-Dl_vF_Bt.d.ts +213 -0
- package/dist/{Tabs-D9EAq09D.d.ts → Tabs-3Zc4tb9D.d.ts} +9 -6
- package/dist/ThinkChat-7DQ2CogF.js +222 -0
- package/dist/{ThinkChatActivity-B2UD95My.d.ts → ThinkChatActivity-Cuk28Js_.d.ts} +4 -4
- package/dist/ThinkChatContext-C3Eb1Xpi.d.ts +16 -0
- package/dist/{ThinkChatToolParts-DnUiZgCC.d.ts → ThinkChatToolParts-Cv4o7j6F.d.ts} +13 -5
- package/dist/{attachment-preview-ChtC3HiU.js → attachment-preview-DIs50Q0h.js} +3 -3
- package/dist/components/Accordion.d.ts +17 -6
- package/dist/components/Accordion.js +23 -36
- package/dist/components/Activity.d.ts +5 -5
- package/dist/components/Activity.js +9 -9
- package/dist/components/AgentChat.d.ts +1 -1
- package/dist/components/AgentChat.js +354 -132
- package/dist/components/AgentConnection.js +6 -22
- package/dist/components/AlertDialog.d.ts +40 -32
- package/dist/components/AlertDialog.js +46 -39
- package/dist/components/Artifact.d.ts +1 -1
- package/dist/components/Artifact.js +5 -5
- package/dist/components/Autocomplete.js +10 -2
- package/dist/components/Avatar.d.ts +2 -2
- package/dist/components/Avatar.js +3 -3
- package/dist/components/Badge.d.ts +11 -14
- package/dist/components/Badge.js +11 -33
- package/dist/components/BrowserLiveView.d.ts +1 -1
- package/dist/components/BrowserLiveView.js +39 -45
- package/dist/components/BrowserReplay.d.ts +1 -1
- package/dist/components/BrowserReplay.js +4 -4
- package/dist/components/BrowserRunPanel.js +91 -55
- package/dist/components/Button.d.ts +2 -2
- package/dist/components/Button.js +7 -30
- package/dist/components/ChainOfThought.d.ts +5 -5
- package/dist/components/ChainOfThought.js +8 -5
- package/dist/components/ChatGptSignInScreen.js +3 -3
- package/dist/components/Checkbox.d.ts +10 -2
- package/dist/components/Checkbox.js +13 -6
- package/dist/components/CheckboxGroup.d.ts +6 -6
- package/dist/components/CheckboxGroup.js +6 -6
- package/dist/components/CodeBlock.d.ts +1 -1
- package/dist/components/CodeBlock.js +1 -1
- package/dist/components/CodexModelSelector.d.ts +58 -0
- package/dist/components/CodexModelSelector.js +170 -0
- package/dist/components/Collapsible.d.ts +2 -4
- package/dist/components/Collapsible.js +9 -7
- package/dist/components/Combobox.d.ts +2 -2
- package/dist/components/Combobox.js +20 -22
- package/dist/components/Commit.d.ts +6 -6
- package/dist/components/Commit.js +14 -26
- package/dist/components/Context.js +5 -1
- package/dist/components/ContextMenu.d.ts +20 -72
- package/dist/components/ContextMenu.js +46 -56
- package/dist/components/Conversation.d.ts +3 -7
- package/dist/components/Conversation.js +3 -4
- package/dist/components/Dialog.d.ts +38 -30
- package/dist/components/Dialog.js +46 -34
- package/dist/components/EnvironmentVariables.d.ts +2 -7
- package/dist/components/EnvironmentVariables.js +13 -36
- package/dist/components/Field.d.ts +3 -3
- package/dist/components/Field.js +7 -8
- package/dist/components/Fieldset.d.ts +2 -2
- package/dist/components/Fieldset.js +2 -2
- package/dist/components/FileTree.js +1 -1
- package/dist/components/Label.d.ts +1 -1
- package/dist/components/Label.js +1 -1
- package/dist/components/Marker.js +1 -15
- package/dist/components/McpServerPicker.d.ts +31 -6
- package/dist/components/McpServerPicker.js +136 -72
- package/dist/components/Menu.d.ts +2 -2
- package/dist/components/Menu.js +41 -51
- package/dist/components/Menubar.d.ts +16 -52
- package/dist/components/Menubar.js +44 -56
- package/dist/components/Message.d.ts +4 -3
- package/dist/components/Message.js +16 -9
- package/dist/components/MessageScroller.d.ts +1 -1
- package/dist/components/MessageScroller.js +1 -1
- package/dist/components/Meter.js +5 -0
- package/dist/components/ModelSelector.d.ts +12 -9
- package/dist/components/ModelSelector.js +1 -1
- package/dist/components/NavigationMenu.d.ts +3 -14
- package/dist/components/NavigationMenu.js +22 -38
- package/dist/components/NumberField.js +6 -0
- package/dist/components/Popover.d.ts +21 -44
- package/dist/components/Popover.js +33 -23
- package/dist/components/PreviewCard.d.ts +20 -18
- package/dist/components/PreviewCard.js +30 -20
- package/dist/components/PricingPage.js +30 -29
- package/dist/components/Progress.d.ts +7 -3
- package/dist/components/Progress.js +9 -4
- package/dist/components/PromptInput.d.ts +2 -2
- package/dist/components/PromptInput.js +184 -148
- package/dist/components/Queue.d.ts +8 -19
- package/dist/components/Queue.js +6 -6
- package/dist/components/RadioGroup.d.ts +10 -9
- package/dist/components/RadioGroup.js +8 -9
- package/dist/components/Reasoning.d.ts +4 -4
- package/dist/components/Reasoning.js +12 -21
- package/dist/components/ScrollArea.d.ts +2 -9
- package/dist/components/ScrollArea.js +5 -23
- package/dist/components/Select.d.ts +2 -2
- package/dist/components/Select.js +100 -134
- package/dist/components/Slider.d.ts +10 -7
- package/dist/components/Slider.js +12 -11
- package/dist/components/Sources.d.ts +4 -4
- package/dist/components/Sources.js +8 -5
- package/dist/components/Stepper.js +2 -8
- package/dist/components/Switch.d.ts +6 -3
- package/dist/components/Switch.js +7 -4
- package/dist/components/Tabs.d.ts +2 -2
- package/dist/components/Tabs.js +9 -4
- package/dist/components/Task.d.ts +4 -4
- package/dist/components/Task.js +10 -6
- package/dist/components/Terminal.d.ts +2 -2
- package/dist/components/Terminal.js +5 -5
- package/dist/components/TestResults.d.ts +4 -4
- package/dist/components/TestResults.js +5 -5
- package/dist/components/ThinkChat.d.ts +37 -30
- package/dist/components/ThinkChat.js +1 -152
- package/dist/components/ThinkChatActivity.d.ts +2 -2
- package/dist/components/ThinkChatActivity.js +4 -11
- package/dist/components/ThinkChatContext.d.ts +2 -2
- package/dist/components/ThinkChatContext.js +9 -2
- package/dist/components/ThinkChatToolPanels.d.ts +1 -1
- package/dist/components/ThinkChatToolPanels.js +27 -15
- package/dist/components/ThinkChatToolParts.d.ts +1 -1
- package/dist/components/ThinkExecutionWorkbench.d.ts +10 -7
- package/dist/components/ThinkExecutionWorkbench.js +382 -359
- package/dist/components/ThinkFullApp.d.ts +16 -13
- package/dist/components/ThinkFullApp.js +35 -25
- package/dist/components/ThinkThreadPicker.d.ts +1 -31
- package/dist/components/ThinkThreadPicker.js +32 -171
- package/dist/components/ThinkThreadShell.d.ts +35 -0
- package/dist/components/ThinkThreadShell.js +146 -0
- package/dist/components/Toast.js +7 -0
- package/dist/components/ToggleGroup.d.ts +6 -2
- package/dist/components/ToggleGroup.js +6 -2
- package/dist/components/Toolbar.js +6 -0
- package/dist/components/Tooltip.d.ts +36 -27
- package/dist/components/Tooltip.js +45 -29
- package/dist/components/WebPreview.d.ts +1 -1
- package/dist/components/WebPreview.js +3 -3
- package/dist/components/WorkspaceExplorer.d.ts +6 -8
- package/dist/components/WorkspaceExplorer.js +9 -7
- package/dist/components/icons.d.ts +2 -2
- package/dist/components/icons.js +2 -2
- package/dist/{copy-button-C6JSKtFE.js → copy-button-DUMLYdsk.js} +7 -6
- package/dist/{copy-button-BKXqGiNm.d.ts → copy-button-DtPMgN7e.d.ts} +3 -2
- package/dist/icons-Ba9THQKz.js +64 -0
- package/dist/icons-CUCz_Sft.d.ts +210 -0
- package/dist/merge-refs-DF_7w2x_.js +18 -0
- package/dist/styles/accessibility.css +14 -0
- package/dist/styles/accordion.css +21 -61
- package/dist/styles/activity.css +23 -58
- package/dist/styles/agent-chat.css +49 -5
- package/dist/styles/agent-connection.css +8 -10
- package/dist/styles/alert-dialog.css +20 -26
- package/dist/styles/artifact.css +6 -6
- package/dist/styles/attachment-preview.css +1 -1
- package/dist/styles/autocomplete.css +5 -170
- package/dist/styles/avatar.css +8 -8
- package/dist/styles/badge.css +8 -10
- package/dist/styles/base-ui-motion.css +176 -0
- package/dist/styles/base.css +19 -25
- package/dist/styles/browser-live-view.css +7 -7
- package/dist/styles/browser-replay.css +5 -5
- package/dist/styles/browser-run-panel.css +59 -112
- package/dist/styles/button.css +48 -43
- package/dist/styles/card.css +3 -5
- package/dist/styles/chain-of-thought.css +14 -70
- package/dist/styles/chatgpt-sign-in-screen.css +3 -3
- package/dist/styles/checkbox-group.css +1 -1
- package/dist/styles/checkbox.css +3 -7
- package/dist/styles/code-block.css +10 -10
- package/dist/styles/codex-model-selector.css +186 -0
- package/dist/styles/collapsible.css +11 -27
- package/dist/styles/combobox.css +3 -149
- package/dist/styles/commit.css +19 -35
- package/dist/styles/context-menu.css +1 -77
- package/dist/styles/context.css +12 -12
- package/dist/styles/conversation.css +7 -7
- package/dist/styles/dialog.css +34 -55
- package/dist/styles/environment-variables.css +10 -10
- package/dist/styles/field.css +16 -58
- package/dist/styles/fieldset.css +2 -2
- package/dist/styles/file-tree.css +7 -9
- package/dist/styles/index.css +12 -2
- package/dist/styles/input.css +1 -51
- package/dist/styles/label.css +2 -2
- package/dist/styles/marker.css +2 -4
- package/dist/styles/mcp-server-picker.css +66 -19
- package/dist/styles/menu.css +6 -153
- package/dist/styles/menubar.css +6 -105
- package/dist/styles/message-scroller.css +1 -1
- package/dist/styles/message.css +87 -9
- package/dist/styles/meter.css +4 -20
- package/dist/styles/model-selector.css +32 -20
- package/dist/styles/navigation-menu.css +14 -54
- package/dist/styles/number-field.css +8 -23
- package/dist/styles/popover.css +13 -68
- package/dist/styles/preview-card.css +5 -46
- package/dist/styles/pricing-page.css +43 -43
- package/dist/styles/progress.css +7 -16
- package/dist/styles/prompt-input.css +100 -44
- package/dist/styles/queue.css +12 -28
- package/dist/styles/radio.css +4 -8
- package/dist/styles/reasoning.css +3 -62
- package/dist/styles/recipes.css +475 -0
- package/dist/styles/select.css +7 -103
- package/dist/styles/shell.css +3 -3
- package/dist/styles/slider.css +5 -7
- package/dist/styles/sources.css +9 -66
- package/dist/styles/stepper.css +16 -14
- package/dist/styles/streamdown.css +11 -57
- package/dist/styles/switch.css +4 -7
- package/dist/styles/tabs.css +7 -8
- package/dist/styles/task.css +13 -42
- package/dist/styles/terminal.css +7 -7
- package/dist/styles/test-results.css +21 -37
- package/dist/styles/think-execution-workbench.css +337 -0
- package/dist/styles/think-full-app.css +27 -410
- package/dist/styles/think-resize-handle.css +33 -0
- package/dist/styles/think-thread-picker.css +18 -247
- package/dist/styles/think-thread-shell.css +219 -0
- package/dist/styles/toast.css +14 -25
- package/dist/styles/toggle-group.css +16 -14
- package/dist/styles/toggle.css +14 -15
- package/dist/styles/toolbar.css +13 -25
- package/dist/styles/tooltip.css +6 -16
- package/dist/styles/web-preview.css +15 -15
- package/dist/styles/workspace-explorer.css +21 -14
- package/dist/summarize-tool-input-BUJsENSn.js +12 -0
- package/dist/utils/codex-model-catalog.d.ts +142 -0
- package/dist/utils/codex-model-catalog.js +112 -0
- package/dist/utils/structured-code.d.ts +1 -1
- package/package.json +8 -2
- package/dist/Select-CRsKCJ9x.d.ts +0 -200
- package/dist/ThinkChatContext-BLAAb8J5.d.ts +0 -28
- package/dist/components/McpServerConnections.d.ts +0 -41
- package/dist/components/McpServerConnections.js +0 -188
- package/dist/components/useStickToBottom.d.ts +0 -33
- package/dist/components/useStickToBottom.js +0 -107
- package/dist/icons-CbjtbIJK.d.ts +0 -51
- package/dist/icons-D2Q5n5C1.js +0 -291
- package/dist/styles/mcp-server-connections.css +0 -145
|
@@ -1,160 +1,3 @@
|
|
|
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: var(--sigvelo-font-sans);
|
|
23
|
-
transition: grid-template-columns 180ms ease;
|
|
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: 0.125rem;
|
|
63
|
-
padding: 0.125rem;
|
|
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(in srgb, var(--sigvelo-color-primary-bg-subtle) 78%, white);
|
|
92
|
-
color: var(--sigvelo-color-primary-text);
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
.think-thread-shell__panel-toggle button:focus-visible {
|
|
96
|
-
outline: 2px solid var(--sigvelo-color-focus);
|
|
97
|
-
outline-offset: 2px;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
.think-thread-shell__resizer {
|
|
101
|
-
position: absolute;
|
|
102
|
-
z-index: 25;
|
|
103
|
-
inset-block: 0;
|
|
104
|
-
inset-inline-start: var(--think-thread-sidebar-w, 16rem);
|
|
105
|
-
inline-size: 0.625rem;
|
|
106
|
-
margin-inline-start: -0.3125rem;
|
|
107
|
-
padding: 0;
|
|
108
|
-
border: 0;
|
|
109
|
-
background: transparent;
|
|
110
|
-
cursor: col-resize;
|
|
111
|
-
touch-action: pan-y;
|
|
112
|
-
appearance: none;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
.think-thread-shell__resizer::before {
|
|
116
|
-
content: "";
|
|
117
|
-
position: absolute;
|
|
118
|
-
inset-block: 0;
|
|
119
|
-
inset-inline-start: 50%;
|
|
120
|
-
inline-size: 1px;
|
|
121
|
-
transform: translateX(-50%);
|
|
122
|
-
background: transparent;
|
|
123
|
-
transition: background 120ms ease;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
.think-thread-shell__resizer:hover::before,
|
|
127
|
-
.think-thread-shell__resizer:focus-visible::before,
|
|
128
|
-
body.is-resizing-columns .think-thread-shell__resizer::before {
|
|
129
|
-
background: color-mix(in srgb, var(--sigvelo-color-primary-text) 38%, transparent);
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
.think-thread-shell__resizer:focus-visible {
|
|
133
|
-
outline: 2px solid var(--sigvelo-color-focus);
|
|
134
|
-
outline-offset: -2px;
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
body.is-resizing-columns .think-thread-shell__frame {
|
|
138
|
-
transition: none;
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
.think-thread-shell__frame[data-sidebar-open="false"] {
|
|
142
|
-
grid-template-columns: minmax(0, 1fr);
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
.think-thread-shell__frame[data-sidebar-open="false"] .think-thread-shell__sidebar {
|
|
146
|
-
position: absolute;
|
|
147
|
-
inset-block: 0;
|
|
148
|
-
inset-inline-start: 0;
|
|
149
|
-
transform: translateX(-100%);
|
|
150
|
-
visibility: hidden;
|
|
151
|
-
pointer-events: none;
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
.think-thread-shell__frame[data-sidebar-open="false"] .think-thread-shell__main {
|
|
155
|
-
grid-column: 1;
|
|
156
|
-
}
|
|
157
|
-
|
|
158
1
|
.think-thread-picker {
|
|
159
2
|
inline-size: 100%;
|
|
160
3
|
block-size: 100%;
|
|
@@ -175,11 +18,7 @@ body.is-resizing-columns .think-thread-shell__frame {
|
|
|
175
18
|
align-items: center;
|
|
176
19
|
gap: 0.5rem;
|
|
177
20
|
padding-block: 0.5rem;
|
|
178
|
-
padding-inline: calc(0.875rem + env(safe-area-inset-left, 0px))
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
.think-thread-shell__frame[data-sidebar-open="true"] .think-thread-picker__header {
|
|
182
|
-
padding-inline-start: calc(4.25rem + env(safe-area-inset-left, 0px));
|
|
21
|
+
padding-inline: calc(0.875rem + env(safe-area-inset-left, 0px)) var(--sigvelo-spacing-2-5);
|
|
183
22
|
}
|
|
184
23
|
|
|
185
24
|
.think-thread-picker__title {
|
|
@@ -188,7 +27,7 @@ body.is-resizing-columns .think-thread-shell__frame {
|
|
|
188
27
|
flex: 1 1 auto;
|
|
189
28
|
overflow: hidden;
|
|
190
29
|
color: var(--sigvelo-color-text-muted);
|
|
191
|
-
font-size:
|
|
30
|
+
font-size: var(--sigvelo-text-compact);
|
|
192
31
|
font-weight: var(--sigvelo-font-weight-semibold);
|
|
193
32
|
line-height: var(--sigvelo-leading-tight);
|
|
194
33
|
text-overflow: ellipsis;
|
|
@@ -212,7 +51,7 @@ body.is-resizing-columns .think-thread-shell__frame {
|
|
|
212
51
|
.think-thread-picker__viewport {
|
|
213
52
|
--think-thread-picker-fade-size: min(12%, 2.5rem);
|
|
214
53
|
|
|
215
|
-
padding:
|
|
54
|
+
padding: var(--sigvelo-spacing-1-5) 0.5rem var(--sigvelo-spacing-3);
|
|
216
55
|
overscroll-behavior: contain;
|
|
217
56
|
scrollbar-gutter: stable;
|
|
218
57
|
-webkit-mask-image: linear-gradient(
|
|
@@ -273,7 +112,7 @@ body.is-resizing-columns .think-thread-shell__frame {
|
|
|
273
112
|
min-inline-size: 0;
|
|
274
113
|
display: block;
|
|
275
114
|
overflow: hidden;
|
|
276
|
-
font-size:
|
|
115
|
+
font-size: var(--sigvelo-text-compact);
|
|
277
116
|
line-height: var(--sigvelo-leading-snug);
|
|
278
117
|
text-overflow: ellipsis;
|
|
279
118
|
white-space: nowrap;
|
|
@@ -281,7 +120,7 @@ body.is-resizing-columns .think-thread-shell__frame {
|
|
|
281
120
|
|
|
282
121
|
.think-thread-picker__thread-time {
|
|
283
122
|
color: var(--sigvelo-color-text-muted);
|
|
284
|
-
font-size:
|
|
123
|
+
font-size: var(--sigvelo-text-xs);
|
|
285
124
|
line-height: var(--sigvelo-leading-tight);
|
|
286
125
|
}
|
|
287
126
|
|
|
@@ -295,8 +134,8 @@ body.is-resizing-columns .think-thread-shell__frame {
|
|
|
295
134
|
}
|
|
296
135
|
|
|
297
136
|
.think-thread-picker__thread-status svg {
|
|
298
|
-
inline-size:
|
|
299
|
-
block-size:
|
|
137
|
+
inline-size: var(--sigvelo-spacing-3);
|
|
138
|
+
block-size: var(--sigvelo-spacing-3);
|
|
300
139
|
}
|
|
301
140
|
|
|
302
141
|
.think-thread-picker__thread[data-status="pending"] .think-thread-picker__thread-status,
|
|
@@ -330,15 +169,17 @@ body.is-resizing-columns .think-thread-shell__frame {
|
|
|
330
169
|
.think-thread-picker__empty {
|
|
331
170
|
margin: 0.5rem;
|
|
332
171
|
color: var(--sigvelo-color-text-muted);
|
|
333
|
-
font-size:
|
|
172
|
+
font-size: var(--sigvelo-text-compact);
|
|
334
173
|
line-height: var(--sigvelo-leading-snug);
|
|
335
174
|
}
|
|
336
175
|
|
|
337
176
|
.think-thread-picker__footer {
|
|
338
177
|
display: flex;
|
|
339
178
|
justify-content: center;
|
|
340
|
-
padding-block:
|
|
341
|
-
|
|
179
|
+
padding-block: var(--sigvelo-spacing-2-5)
|
|
180
|
+
calc(var(--sigvelo-spacing-3) + env(safe-area-inset-bottom, 0px));
|
|
181
|
+
padding-inline: calc(var(--sigvelo-spacing-3) + env(safe-area-inset-left, 0px))
|
|
182
|
+
var(--sigvelo-spacing-3);
|
|
342
183
|
}
|
|
343
184
|
|
|
344
185
|
.think-thread-picker__create {
|
|
@@ -352,90 +193,20 @@ body.is-resizing-columns .think-thread-shell__frame {
|
|
|
352
193
|
flex: 0 0 auto;
|
|
353
194
|
}
|
|
354
195
|
|
|
355
|
-
@container think-thread-shell (inline-size <= 56rem) {
|
|
356
|
-
.think-thread-shell__frame {
|
|
357
|
-
grid-template-columns: minmax(0, 1fr);
|
|
358
|
-
}
|
|
359
|
-
|
|
360
|
-
.think-thread-shell__sidebar,
|
|
361
|
-
.think-thread-shell__main {
|
|
362
|
-
grid-column: 1;
|
|
363
|
-
grid-row: 1;
|
|
364
|
-
}
|
|
365
|
-
|
|
366
|
-
.think-thread-shell__sidebar {
|
|
367
|
-
z-index: 20;
|
|
368
|
-
inline-size: var(--think-thread-mobile-sidebar-w);
|
|
369
|
-
max-inline-size: calc(100cqi - 4rem);
|
|
370
|
-
transition: transform 180ms ease;
|
|
371
|
-
}
|
|
372
|
-
|
|
373
|
-
.think-thread-shell__resizer {
|
|
374
|
-
display: none;
|
|
375
|
-
}
|
|
376
|
-
|
|
377
|
-
.think-thread-shell__frame[data-sidebar-open="false"] .think-thread-shell__sidebar {
|
|
378
|
-
visibility: hidden;
|
|
379
|
-
}
|
|
380
|
-
|
|
381
|
-
.think-thread-shell__main {
|
|
382
|
-
transition:
|
|
383
|
-
transform 180ms ease,
|
|
384
|
-
filter 180ms ease;
|
|
385
|
-
}
|
|
386
|
-
|
|
387
|
-
.think-thread-shell__frame[data-sidebar-open="true"] .think-thread-shell__main {
|
|
388
|
-
transform: translateX(var(--think-thread-mobile-sidebar-w));
|
|
389
|
-
filter: brightness(0.86) saturate(0.92);
|
|
390
|
-
border-start-start-radius: 1.5rem;
|
|
391
|
-
border-end-start-radius: 1.5rem;
|
|
392
|
-
box-shadow: var(--sigvelo-shadow-lg);
|
|
393
|
-
pointer-events: none;
|
|
394
|
-
}
|
|
395
|
-
|
|
396
|
-
.think-thread-shell__frame[data-sidebar-open="true"] .think-thread-shell__peek {
|
|
397
|
-
position: absolute;
|
|
398
|
-
inset-block: 0;
|
|
399
|
-
inset-inline: var(--think-thread-mobile-sidebar-w) 0;
|
|
400
|
-
z-index: 22;
|
|
401
|
-
display: block;
|
|
402
|
-
padding: 0;
|
|
403
|
-
border: 0;
|
|
404
|
-
background: transparent;
|
|
405
|
-
cursor: pointer;
|
|
406
|
-
appearance: none;
|
|
407
|
-
}
|
|
408
|
-
|
|
409
|
-
.think-thread-shell__peek:focus-visible {
|
|
410
|
-
outline: 2px solid var(--sigvelo-color-focus);
|
|
411
|
-
outline-offset: -0.25rem;
|
|
412
|
-
border-start-start-radius: 1.5rem;
|
|
413
|
-
border-end-start-radius: 1.5rem;
|
|
414
|
-
}
|
|
415
|
-
|
|
416
|
-
.think-thread-shell__frame[data-sidebar-open="false"] .think-thread-shell__sidebar {
|
|
417
|
-
transform: translateX(-100%);
|
|
418
|
-
}
|
|
419
|
-
|
|
420
|
-
.think-thread-picker {
|
|
421
|
-
inline-size: 100%;
|
|
422
|
-
border-inline-end: 0;
|
|
423
|
-
box-shadow: var(--sigvelo-shadow-lg);
|
|
424
|
-
}
|
|
425
|
-
}
|
|
426
|
-
|
|
427
196
|
@keyframes think-thread-picker-spin {
|
|
428
197
|
to {
|
|
429
198
|
transform: rotate(360deg);
|
|
430
199
|
}
|
|
431
200
|
}
|
|
432
201
|
|
|
433
|
-
@media (
|
|
434
|
-
.think-thread-
|
|
435
|
-
|
|
436
|
-
|
|
202
|
+
@media (prefers-reduced-motion: reduce) {
|
|
203
|
+
.think-thread-picker__thread[data-status="submitted"] .think-thread-picker__thread-status svg,
|
|
204
|
+
.think-thread-picker__thread[data-status="recovering"] .think-thread-picker__thread-status svg {
|
|
205
|
+
animation: none;
|
|
437
206
|
}
|
|
207
|
+
}
|
|
438
208
|
|
|
209
|
+
@media (forced-colors: active) {
|
|
439
210
|
.think-thread-picker {
|
|
440
211
|
border-inline-end: 1px solid canvastext;
|
|
441
212
|
background: canvas;
|
|
@@ -0,0 +1,219 @@
|
|
|
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
|
+
}
|
package/dist/styles/toast.css
CHANGED
|
@@ -12,22 +12,15 @@
|
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
.toast {
|
|
15
|
+
--sigvelo-recipe-surface-padding: var(--sigvelo-spacing-4);
|
|
16
|
+
|
|
15
17
|
display: flex;
|
|
16
18
|
flex-direction: column;
|
|
17
19
|
width: 100%;
|
|
18
|
-
padding: 1rem;
|
|
19
|
-
font-family: var(--sigvelo-font-sans);
|
|
20
|
-
background-color: var(--sigvelo-color-canvas);
|
|
21
|
-
border: var(--sigvelo-border-style) var(--sigvelo-border-width)
|
|
22
|
-
var(--sigvelo-color-neutral-border-muted);
|
|
23
|
-
border-radius: var(--sigvelo-radius-md);
|
|
24
|
-
box-shadow:
|
|
25
|
-
0 10px 15px -3px color-mix(in oklab, var(--sigvelo-color-text), transparent 90%),
|
|
26
|
-
0 4px 6px -4px color-mix(in oklab, var(--sigvelo-color-text), transparent 90%);
|
|
27
20
|
pointer-events: auto;
|
|
28
21
|
transition:
|
|
29
|
-
opacity
|
|
30
|
-
transform
|
|
22
|
+
opacity var(--sigvelo-duration-medium) var(--sigvelo-ease-standard),
|
|
23
|
+
transform var(--sigvelo-duration-medium) var(--sigvelo-ease-standard);
|
|
31
24
|
}
|
|
32
25
|
|
|
33
26
|
.toast[data-starting-style],
|
|
@@ -61,7 +54,7 @@
|
|
|
61
54
|
|
|
62
55
|
.toast__title {
|
|
63
56
|
margin: 0;
|
|
64
|
-
font-size:
|
|
57
|
+
font-size: var(--sigvelo-text-sm);
|
|
65
58
|
font-weight: var(--sigvelo-font-weight-bold);
|
|
66
59
|
line-height: 1.25;
|
|
67
60
|
color: var(--sigvelo-color-text);
|
|
@@ -69,7 +62,7 @@
|
|
|
69
62
|
|
|
70
63
|
.toast__description {
|
|
71
64
|
margin: 0;
|
|
72
|
-
font-size:
|
|
65
|
+
font-size: var(--sigvelo-text-sm);
|
|
73
66
|
line-height: 1.5;
|
|
74
67
|
color: var(--sigvelo-color-text-muted);
|
|
75
68
|
}
|
|
@@ -78,11 +71,11 @@
|
|
|
78
71
|
display: inline-flex;
|
|
79
72
|
align-items: center;
|
|
80
73
|
justify-content: center;
|
|
81
|
-
padding-block:
|
|
82
|
-
padding-inline:
|
|
83
|
-
margin-block-start:
|
|
84
|
-
font-family:
|
|
85
|
-
font-size:
|
|
74
|
+
padding-block: var(--sigvelo-spacing-1-5);
|
|
75
|
+
padding-inline: var(--sigvelo-spacing-3);
|
|
76
|
+
margin-block-start: var(--sigvelo-spacing-3);
|
|
77
|
+
font-family: inherit;
|
|
78
|
+
font-size: var(--sigvelo-text-xs);
|
|
86
79
|
font-weight: var(--sigvelo-font-weight-semibold);
|
|
87
80
|
color: var(--sigvelo-color-primary-text-on-bg);
|
|
88
81
|
background-color: var(--sigvelo-color-primary-bg);
|
|
@@ -98,9 +91,7 @@
|
|
|
98
91
|
|
|
99
92
|
.toast__action:focus-visible {
|
|
100
93
|
outline: none;
|
|
101
|
-
box-shadow:
|
|
102
|
-
0 0 0 2px var(--sigvelo-color-canvas),
|
|
103
|
-
0 0 0 4px var(--sigvelo-color-focus);
|
|
94
|
+
box-shadow: var(--sigvelo-recipe-focus-shadow);
|
|
104
95
|
}
|
|
105
96
|
|
|
106
97
|
.toast__close {
|
|
@@ -113,7 +104,7 @@
|
|
|
113
104
|
width: 1.5rem;
|
|
114
105
|
height: 1.5rem;
|
|
115
106
|
padding: 0;
|
|
116
|
-
font-size:
|
|
107
|
+
font-size: var(--sigvelo-text-base);
|
|
117
108
|
color: var(--sigvelo-color-text-muted);
|
|
118
109
|
background-color: transparent;
|
|
119
110
|
border: none;
|
|
@@ -137,7 +128,5 @@
|
|
|
137
128
|
.toast__close:focus-visible {
|
|
138
129
|
opacity: 1;
|
|
139
130
|
outline: none;
|
|
140
|
-
box-shadow:
|
|
141
|
-
0 0 0 2px var(--sigvelo-color-canvas),
|
|
142
|
-
0 0 0 4px var(--sigvelo-color-focus);
|
|
131
|
+
box-shadow: var(--sigvelo-recipe-focus-shadow);
|
|
143
132
|
}
|
|
@@ -4,15 +4,15 @@
|
|
|
4
4
|
background-color: var(--sigvelo-color-neutral-bg-subtle);
|
|
5
5
|
border-radius: var(--sigvelo-radius-md);
|
|
6
6
|
padding: 0.25rem;
|
|
7
|
-
gap: 0
|
|
7
|
+
gap: var(--sigvelo-spacing-0-5);
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
.toggle-group--sm {
|
|
11
|
-
padding: 0
|
|
11
|
+
padding: var(--sigvelo-spacing-0-5);
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
.toggle-group--lg {
|
|
15
|
-
padding:
|
|
15
|
+
padding: var(--sigvelo-spacing-1-5);
|
|
16
16
|
gap: 0.25rem;
|
|
17
17
|
}
|
|
18
18
|
|
|
@@ -20,9 +20,11 @@
|
|
|
20
20
|
display: inline-flex;
|
|
21
21
|
align-items: center;
|
|
22
22
|
justify-content: center;
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
min-block-size: var(--sigvelo-recipe-control-height);
|
|
24
|
+
padding-block: 0;
|
|
25
|
+
padding-inline: var(--sigvelo-recipe-control-padding-inline);
|
|
26
|
+
font-family: inherit;
|
|
27
|
+
font-size: var(--sigvelo-recipe-control-font-size);
|
|
26
28
|
font-weight: var(--sigvelo-font-weight-semibold);
|
|
27
29
|
color: var(--sigvelo-color-text-muted);
|
|
28
30
|
background-color: transparent;
|
|
@@ -36,13 +38,15 @@
|
|
|
36
38
|
}
|
|
37
39
|
|
|
38
40
|
.toggle-group--sm .toggle-group__item {
|
|
39
|
-
|
|
40
|
-
|
|
41
|
+
--sigvelo-recipe-control-height: var(--sigvelo-control-height-sm);
|
|
42
|
+
--sigvelo-recipe-control-padding-inline: var(--sigvelo-spacing-2);
|
|
43
|
+
--sigvelo-recipe-control-font-size: var(--sigvelo-control-text-sm);
|
|
41
44
|
}
|
|
42
45
|
|
|
43
46
|
.toggle-group--lg .toggle-group__item {
|
|
44
|
-
|
|
45
|
-
|
|
47
|
+
--sigvelo-recipe-control-height: var(--sigvelo-control-height-lg);
|
|
48
|
+
--sigvelo-recipe-control-padding-inline: var(--sigvelo-spacing-4);
|
|
49
|
+
--sigvelo-recipe-control-font-size: var(--sigvelo-control-text-lg);
|
|
46
50
|
}
|
|
47
51
|
|
|
48
52
|
.toggle-group__item:hover:not([data-disabled]) {
|
|
@@ -51,9 +55,7 @@
|
|
|
51
55
|
|
|
52
56
|
.toggle-group__item:focus-visible {
|
|
53
57
|
outline: none;
|
|
54
|
-
box-shadow:
|
|
55
|
-
0 0 0 2px var(--sigvelo-color-canvas),
|
|
56
|
-
0 0 0 4px var(--sigvelo-color-focus);
|
|
58
|
+
box-shadow: var(--sigvelo-recipe-focus-shadow);
|
|
57
59
|
z-index: 1;
|
|
58
60
|
}
|
|
59
61
|
|
|
@@ -66,6 +68,6 @@
|
|
|
66
68
|
}
|
|
67
69
|
|
|
68
70
|
.toggle-group__item[data-disabled] {
|
|
69
|
-
opacity:
|
|
71
|
+
opacity: var(--sigvelo-recipe-disabled-opacity);
|
|
70
72
|
cursor: not-allowed;
|
|
71
73
|
}
|