@mcp-b/react-components 0.19.0 → 0.20.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-ClxViuUM.d.ts → AgentChat-CaQaT0LF.d.ts} +1 -1
- package/dist/{Button-DLGzHsjc.d.ts → Button-yRInko9u.d.ts} +0 -1
- package/dist/{CodeBlock-gV4kZeCI.d.ts → CodeBlock-Bbls1CnA.d.ts} +1 -1
- package/dist/{Combobox-CYc37s5l.d.ts → Combobox-xEEF6fUb.d.ts} +0 -1
- package/dist/{PromptInput-Bdh9pqlo.d.ts → PromptInput-Cq-8RoXD.d.ts} +6 -4
- package/dist/{Tabs-ColWK-XA.d.ts → Tabs-C49J5m0Q.d.ts} +16 -2
- package/dist/{ThinkChatActivity-Bzot45kX.d.ts → ThinkChatActivity-CnIJPvV5.d.ts} +1 -1
- package/dist/{Workspace-Jez8ffUj.d.ts → Workspace-CWtust-2.d.ts} +1 -1
- package/dist/{WorkspaceExplorer-B9dQWNVK.d.ts → WorkspaceExplorer-DGigwsgH.d.ts} +1 -1
- package/dist/{WorkspaceFile-CzyHnESE.d.ts → WorkspaceFile-D8Un_xge.d.ts} +1 -1
- package/dist/components/AgentAttention.d.ts +1 -1
- package/dist/components/AgentChat.d.ts +1 -1
- package/dist/components/AgentChatMessageEditor.js +1 -0
- package/dist/components/AgentConnection.js +14 -11
- package/dist/components/AlertDialog.d.ts +24 -5
- package/dist/components/AlertDialog.js +15 -4
- package/dist/components/AppTopBar.js +1 -0
- package/dist/components/Artifact.d.ts +1 -1
- package/dist/components/Badge.d.ts +7 -10
- package/dist/components/Badge.js +14 -48
- package/dist/components/Button.d.ts +1 -1
- package/dist/components/Button.js +1 -3
- package/dist/components/Checkbox.d.ts +2 -5
- package/dist/components/Checkbox.js +0 -1
- package/dist/components/CodeBlock.d.ts +1 -1
- package/dist/components/Combobox.d.ts +1 -1
- package/dist/components/Combobox.js +1 -2
- package/dist/components/Commit.d.ts +1 -1
- package/dist/components/Context.js +8 -1
- package/dist/components/Conversation.d.ts +1 -1
- package/dist/components/Dialog.d.ts +1 -0
- package/dist/components/Dialog.js +14 -3
- package/dist/components/EnvironmentVariables.d.ts +1 -1
- package/dist/components/IconButton.d.ts +1 -1
- package/dist/components/InlineCitation.js +1 -0
- package/dist/components/Marker.d.ts +3 -11
- package/dist/components/Marker.js +15 -43
- package/dist/components/MediaPreviewCard.js +1 -1
- package/dist/components/Menubar.d.ts +5 -1
- package/dist/components/Menubar.js +9 -2
- package/dist/components/Message.d.ts +1 -1
- package/dist/components/MessageScroller.d.ts +1 -1
- package/dist/components/ModelSelector.d.ts +1 -1
- package/dist/components/NavigationMenu.d.ts +2 -6
- package/dist/components/Popover.d.ts +6 -1
- package/dist/components/Popover.js +12 -4
- package/dist/components/PromptInput.d.ts +1 -1
- package/dist/components/Queue.d.ts +1 -1
- package/dist/components/RadioGroup.d.ts +1 -3
- package/dist/components/ResponsiveSidebarShell.js +1 -1
- package/dist/components/ScrollArea.d.ts +19 -8
- package/dist/components/ScrollArea.js +17 -8
- package/dist/components/Select.js +2 -2
- package/dist/components/Slider.d.ts +1 -3
- package/dist/components/Stepper.d.ts +6 -20
- package/dist/components/Stepper.js +31 -129
- package/dist/components/SubagentRunDetails.js +1 -0
- package/dist/components/Tabs.d.ts +1 -1
- package/dist/components/Tabs.js +8 -8
- package/dist/components/Terminal.d.ts +2 -2
- package/dist/components/ThinkChat.d.ts +5 -5
- package/dist/components/ThinkChatActivity.d.ts +1 -1
- package/dist/components/ThinkFullApp.d.ts +2 -2
- package/dist/components/ThinkFullApp.js +1 -1
- package/dist/components/ThinkRoutineLibrary.js +1 -1
- package/dist/components/Toast.d.ts +1 -0
- package/dist/components/Toast.js +9 -2
- package/dist/components/Toggle.js +7 -7
- package/dist/components/Toolbar.d.ts +10 -2
- package/dist/components/Toolbar.js +17 -4
- package/dist/components/WebPreview.d.ts +1 -1
- package/dist/components/Workspace.d.ts +1 -1
- package/dist/components/WorkspaceBrowser.d.ts +1 -1
- package/dist/components/WorkspaceExplorer.d.ts +3 -3
- package/dist/components/WorkspaceExplorer.js +1 -1
- package/dist/components/WorkspaceFile.d.ts +1 -1
- package/dist/components/WorkspaceFileView.d.ts +1 -1
- package/dist/{copy-button-D7aAYA-2.d.ts → copy-button-BrvQ7z4W.d.ts} +1 -1
- package/dist/{merge-refs-DF_7w2x_.js → merge-refs-KlanQB7A.js} +1 -1
- package/dist/styles/accordion.css +3 -3
- package/dist/styles/activity.css +4 -4
- package/dist/styles/agent-chat.css +1 -1
- package/dist/styles/agent-connection.css +3 -3
- package/dist/styles/agent-tool-detail.css +1 -1
- package/dist/styles/alert-dialog.css +1 -107
- package/dist/styles/approval.css +1 -1
- package/dist/styles/artifact.css +1 -6
- package/dist/styles/badge.css +2 -2
- package/dist/styles/base-ui-motion.css +26 -13
- package/dist/styles/base.css +1 -1
- package/dist/styles/browser-run-panel.css +2 -2
- package/dist/styles/button.css +2 -2
- package/dist/styles/chain-of-thought.css +1 -1
- package/dist/styles/chatgpt-sign-in-screen.css +1 -1
- package/dist/styles/checkbox.css +2 -2
- package/dist/styles/codex-model-selector.css +3 -3
- package/dist/styles/collapsible.css +1 -1
- package/dist/styles/context.css +1 -1
- package/dist/styles/dialog.css +1 -54
- package/dist/styles/field.css +6 -6
- package/dist/styles/inline-citation.css +2 -2
- package/dist/styles/label.css +3 -6
- package/dist/styles/marker.css +1 -1
- package/dist/styles/mcp-server-picker.css +1 -1
- package/dist/styles/media-preview-card.css +1 -1
- package/dist/styles/menubar.css +2 -41
- package/dist/styles/message.css +0 -7
- package/dist/styles/motion-reduction.css +2 -4
- package/dist/styles/navigation-menu.css +6 -1
- package/dist/styles/number-field.css +8 -8
- package/dist/styles/plan.css +2 -2
- package/dist/styles/popover.css +2 -38
- package/dist/styles/pricing-page.css +1 -1
- package/dist/styles/progress.css +4 -4
- package/dist/styles/prompt-input.css +1 -1
- package/dist/styles/radio.css +2 -2
- package/dist/styles/recipes.css +93 -18
- package/dist/styles/scroll-area.css +0 -18
- package/dist/styles/select.css +5 -8
- package/dist/styles/slider.css +0 -1
- package/dist/styles/stepper.css +4 -4
- package/dist/styles/streamdown.css +1 -1
- package/dist/styles/subagent-run.css +2 -9
- package/dist/styles/switch.css +2 -2
- package/dist/styles/tabs.css +59 -4
- package/dist/styles/task.css +1 -1
- package/dist/styles/terminal.css +1 -5
- package/dist/styles/theme-mode-control.css +1 -1
- package/dist/styles/think-thread-picker.css +1 -1
- package/dist/styles/toast.css +1 -30
- package/dist/styles/toggle.css +5 -19
- package/dist/styles/toolbar.css +17 -74
- package/dist/styles/tooltip.css +1 -1
- package/dist/styles/workspace-explorer.css +0 -9
- package/dist/utils/structured-code.d.ts +1 -1
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as cx } from "../class-names-BiMDVpUo.js";
|
|
1
|
+
import { n as mergeBaseClassName, t as cx } from "../class-names-BiMDVpUo.js";
|
|
2
2
|
import { K as SpinnerIcon, u as CheckIcon } from "../icons-DKXiSepE.js";
|
|
3
|
-
import {
|
|
3
|
+
import { Tabs } from "./Tabs.js";
|
|
4
4
|
import * as React from "react";
|
|
5
5
|
import { jsx } from "react/jsx-runtime";
|
|
6
6
|
//#region src/components/Stepper.tsx
|
|
@@ -38,97 +38,47 @@ function useStepItem() {
|
|
|
38
38
|
* @see {@link https://reui.io/docs/components/base/stepper | ReUI Stepper}
|
|
39
39
|
*/
|
|
40
40
|
function Stepper({ defaultValue = 1, value, onValueChange, orientation = "horizontal", indicators = EMPTY_STEP_INDICATORS, className, children, ref, ...props }) {
|
|
41
|
-
const idPrefix = `stepper-${React.useId()}`;
|
|
42
41
|
const [uncontrolledValue, setUncontrolledValue] = React.useState(defaultValue);
|
|
43
|
-
const triggerNodes = React.useRef(/* @__PURE__ */ new Map());
|
|
44
|
-
const [triggerSteps, setTriggerSteps] = React.useState([]);
|
|
45
42
|
const activeStep = value ?? uncontrolledValue;
|
|
46
43
|
const setActiveStep = React.useCallback((step) => {
|
|
47
44
|
if (value === void 0) setUncontrolledValue(step);
|
|
48
45
|
onValueChange?.(step);
|
|
49
46
|
}, [onValueChange, value]);
|
|
50
|
-
const registerTrigger = React.useCallback((step, node) => {
|
|
51
|
-
if (node) {
|
|
52
|
-
triggerNodes.current.set(step, node);
|
|
53
|
-
setTriggerSteps((steps) => steps.includes(step) ? steps : [...steps, step]);
|
|
54
|
-
return;
|
|
55
|
-
}
|
|
56
|
-
triggerNodes.current.delete(step);
|
|
57
|
-
setTriggerSteps((steps) => steps.filter((currentStep) => currentStep !== step));
|
|
58
|
-
}, []);
|
|
59
|
-
const focusStep = React.useCallback((step) => {
|
|
60
|
-
triggerNodes.current.get(step)?.focus();
|
|
61
|
-
}, []);
|
|
62
|
-
const getEnabledSteps = React.useCallback(() => triggerSteps.filter((step) => {
|
|
63
|
-
const node = triggerNodes.current.get(step);
|
|
64
|
-
return node && !node.disabled;
|
|
65
|
-
}), [triggerSteps]);
|
|
66
|
-
const focusNext = React.useCallback((step) => {
|
|
67
|
-
const enabledSteps = getEnabledSteps();
|
|
68
|
-
const currentIndex = enabledSteps.indexOf(step);
|
|
69
|
-
if (currentIndex === -1 || enabledSteps.length === 0) return;
|
|
70
|
-
focusStep(enabledSteps[(currentIndex + 1) % enabledSteps.length]);
|
|
71
|
-
}, [focusStep, getEnabledSteps]);
|
|
72
|
-
const focusPrev = React.useCallback((step) => {
|
|
73
|
-
const enabledSteps = getEnabledSteps();
|
|
74
|
-
const currentIndex = enabledSteps.indexOf(step);
|
|
75
|
-
if (currentIndex === -1 || enabledSteps.length === 0) return;
|
|
76
|
-
focusStep(enabledSteps[(currentIndex - 1 + enabledSteps.length) % enabledSteps.length]);
|
|
77
|
-
}, [focusStep, getEnabledSteps]);
|
|
78
|
-
const focusFirst = React.useCallback(() => {
|
|
79
|
-
const [firstStep] = getEnabledSteps();
|
|
80
|
-
if (firstStep !== void 0) focusStep(firstStep);
|
|
81
|
-
}, [focusStep, getEnabledSteps]);
|
|
82
|
-
const focusLast = React.useCallback(() => {
|
|
83
|
-
const enabledSteps = getEnabledSteps();
|
|
84
|
-
const lastStep = enabledSteps[enabledSteps.length - 1];
|
|
85
|
-
if (lastStep !== void 0) focusStep(lastStep);
|
|
86
|
-
}, [focusStep, getEnabledSteps]);
|
|
87
47
|
const contextValue = React.useMemo(() => ({
|
|
88
48
|
activeStep,
|
|
89
49
|
setActiveStep,
|
|
90
|
-
stepsCount: triggerSteps.length,
|
|
91
50
|
orientation,
|
|
92
|
-
indicators
|
|
93
|
-
idPrefix,
|
|
94
|
-
registerTrigger,
|
|
95
|
-
focusNext,
|
|
96
|
-
focusPrev,
|
|
97
|
-
focusFirst,
|
|
98
|
-
focusLast
|
|
51
|
+
indicators
|
|
99
52
|
}), [
|
|
100
53
|
activeStep,
|
|
101
|
-
focusFirst,
|
|
102
|
-
focusLast,
|
|
103
|
-
focusNext,
|
|
104
|
-
focusPrev,
|
|
105
|
-
idPrefix,
|
|
106
54
|
indicators,
|
|
107
55
|
orientation,
|
|
108
|
-
|
|
109
|
-
setActiveStep,
|
|
110
|
-
triggerSteps.length
|
|
56
|
+
setActiveStep
|
|
111
57
|
]);
|
|
112
58
|
return /* @__PURE__ */ jsx(StepperContext.Provider, {
|
|
113
59
|
value: contextValue,
|
|
114
|
-
children: /* @__PURE__ */ jsx(
|
|
60
|
+
children: /* @__PURE__ */ jsx(Tabs.Root, {
|
|
115
61
|
ref,
|
|
116
|
-
|
|
117
|
-
|
|
62
|
+
value: activeStep,
|
|
63
|
+
onValueChange: setActiveStep,
|
|
64
|
+
orientation,
|
|
65
|
+
className: mergeBaseClassName("stepper", className),
|
|
66
|
+
"data-slot": "stepper",
|
|
67
|
+
unstyled: true,
|
|
118
68
|
...props,
|
|
119
69
|
children
|
|
120
70
|
})
|
|
121
71
|
});
|
|
122
72
|
}
|
|
123
|
-
function StepperNav({ className, ref,
|
|
73
|
+
function StepperNav({ className, ref, ...props }) {
|
|
124
74
|
const { activeStep, orientation } = useStepper();
|
|
125
|
-
return /* @__PURE__ */ jsx(
|
|
75
|
+
return /* @__PURE__ */ jsx(Tabs.List, {
|
|
126
76
|
ref,
|
|
127
|
-
|
|
128
|
-
"aria-orientation": orientation,
|
|
129
|
-
className: cx("stepper__nav", className),
|
|
77
|
+
className: mergeBaseClassName("stepper__nav", className),
|
|
130
78
|
"data-active-step": activeStep,
|
|
79
|
+
"data-slot": "stepper-list",
|
|
131
80
|
"data-orientation": orientation,
|
|
81
|
+
unstyled: true,
|
|
132
82
|
...props
|
|
133
83
|
});
|
|
134
84
|
}
|
|
@@ -160,67 +110,21 @@ function StepperItem({ step, completed = false, disabled = false, loading = fals
|
|
|
160
110
|
})
|
|
161
111
|
});
|
|
162
112
|
}
|
|
163
|
-
function StepperTrigger({ className, children, disabled,
|
|
164
|
-
const { activeStep
|
|
113
|
+
function StepperTrigger({ className, children, disabled, type = "button", ref, ...props }) {
|
|
114
|
+
const { activeStep } = useStepper();
|
|
165
115
|
const { isDisabled, isLoading, state, step } = useStepItem();
|
|
166
116
|
const isSelected = activeStep === step;
|
|
167
|
-
|
|
168
|
-
const setTriggerRef = React.useCallback((node) => {
|
|
169
|
-
registerTrigger(step, node);
|
|
170
|
-
assignRef(ref, node);
|
|
171
|
-
}, [
|
|
117
|
+
return /* @__PURE__ */ jsx(Tabs.Tab, {
|
|
172
118
|
ref,
|
|
173
|
-
|
|
174
|
-
step
|
|
175
|
-
]);
|
|
176
|
-
const handleClick = (event) => {
|
|
177
|
-
onClick?.(event);
|
|
178
|
-
if (!event.defaultPrevented) setActiveStep(step);
|
|
179
|
-
};
|
|
180
|
-
const handleKeyDown = (event) => {
|
|
181
|
-
onKeyDown?.(event);
|
|
182
|
-
if (event.defaultPrevented) return;
|
|
183
|
-
switch (event.key) {
|
|
184
|
-
case "ArrowDown":
|
|
185
|
-
case "ArrowRight":
|
|
186
|
-
event.preventDefault();
|
|
187
|
-
focusNext(step);
|
|
188
|
-
break;
|
|
189
|
-
case "ArrowLeft":
|
|
190
|
-
case "ArrowUp":
|
|
191
|
-
event.preventDefault();
|
|
192
|
-
focusPrev(step);
|
|
193
|
-
break;
|
|
194
|
-
case "End":
|
|
195
|
-
event.preventDefault();
|
|
196
|
-
focusLast();
|
|
197
|
-
break;
|
|
198
|
-
case "Home":
|
|
199
|
-
event.preventDefault();
|
|
200
|
-
focusFirst();
|
|
201
|
-
break;
|
|
202
|
-
case " ":
|
|
203
|
-
case "Enter":
|
|
204
|
-
event.preventDefault();
|
|
205
|
-
setActiveStep(step);
|
|
206
|
-
break;
|
|
207
|
-
}
|
|
208
|
-
};
|
|
209
|
-
return /* @__PURE__ */ jsx("button", {
|
|
210
|
-
ref: setTriggerRef,
|
|
211
|
-
role: "tab",
|
|
212
|
-
id: triggerId,
|
|
213
|
-
"aria-controls": ariaControls,
|
|
119
|
+
value: step,
|
|
214
120
|
"aria-current": isSelected ? "step" : void 0,
|
|
215
|
-
"
|
|
216
|
-
className: cx("stepper__trigger", className),
|
|
121
|
+
className: mergeBaseClassName("stepper__trigger", className),
|
|
217
122
|
"data-loading": isLoading ? "" : void 0,
|
|
123
|
+
"data-slot": "stepper-trigger",
|
|
218
124
|
"data-state": state,
|
|
219
125
|
disabled: disabled ?? isDisabled,
|
|
220
|
-
onClick: handleClick,
|
|
221
|
-
onKeyDown: handleKeyDown,
|
|
222
|
-
tabIndex: typeof tabIndex === "number" ? tabIndex : isSelected ? 0 : -1,
|
|
223
126
|
type,
|
|
127
|
+
unstyled: true,
|
|
224
128
|
...props,
|
|
225
129
|
children
|
|
226
130
|
});
|
|
@@ -286,20 +190,18 @@ function StepperPanel({ className, ref, ...props }) {
|
|
|
286
190
|
...props
|
|
287
191
|
});
|
|
288
192
|
}
|
|
289
|
-
function StepperContent({ value, forceMount = false, spacing = "none", className, children,
|
|
290
|
-
const { activeStep
|
|
193
|
+
function StepperContent({ value, forceMount = false, spacing = "none", className, children, ref, ...props }) {
|
|
194
|
+
const { activeStep } = useStepper();
|
|
291
195
|
const isActive = activeStep === value;
|
|
292
|
-
|
|
293
|
-
return /* @__PURE__ */ jsx("div", {
|
|
196
|
+
return /* @__PURE__ */ jsx(Tabs.Panel, {
|
|
294
197
|
ref,
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
"
|
|
298
|
-
className: cx("stepper__content", !isActive && "stepper__content--hidden", className),
|
|
198
|
+
value,
|
|
199
|
+
keepMounted: forceMount,
|
|
200
|
+
className: mergeBaseClassName("stepper__content", className),
|
|
299
201
|
"data-spacing": spacing,
|
|
202
|
+
"data-slot": "stepper-content",
|
|
300
203
|
"data-state": isActive ? "active" : "inactive",
|
|
301
|
-
|
|
302
|
-
tabIndex: 0,
|
|
204
|
+
unstyled: true,
|
|
303
205
|
...props,
|
|
304
206
|
children
|
|
305
207
|
});
|
|
@@ -24,6 +24,7 @@ function SubagentRunProgress({ className, label, value, ref, ...props }) {
|
|
|
24
24
|
function SubagentRunActions({ className, ref, ...props }) {
|
|
25
25
|
return /* @__PURE__ */ jsx("div", {
|
|
26
26
|
ref,
|
|
27
|
+
"data-slot": "subagent-run-actions",
|
|
27
28
|
className: cx("subagent-run__actions", className),
|
|
28
29
|
...props
|
|
29
30
|
});
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as TabsListProps, i as TabsIndicatorProps, n as TabProps, o as TabsProps, r as Tabs, t as TabPanelProps } from "../Tabs-
|
|
1
|
+
import { a as TabsListProps, i as TabsIndicatorProps, n as TabProps, o as TabsProps, r as Tabs, t as TabPanelProps } from "../Tabs-C49J5m0Q.js";
|
|
2
2
|
export { TabPanelProps, TabProps, Tabs, TabsIndicatorProps, TabsListProps, TabsProps };
|
package/dist/components/Tabs.js
CHANGED
|
@@ -27,8 +27,8 @@ function tabsListVariants({ variant = "default", className } = {}) {
|
|
|
27
27
|
*
|
|
28
28
|
* @see {@link https://base-ui.com/react/components/tabs | Base UI Tabs}
|
|
29
29
|
*/
|
|
30
|
-
function TabsRoot({ orientation = "horizontal", variant = "default", className, ref, ...props }) {
|
|
31
|
-
const classes = mergeBaseClassName(["tabs", variant !== "default" && `tabs--${variant}`].filter(Boolean).join(" "), className);
|
|
30
|
+
function TabsRoot({ orientation = "horizontal", variant = "default", className, unstyled = false, ref, ...props }) {
|
|
31
|
+
const classes = unstyled ? className : mergeBaseClassName(["tabs", variant !== "default" && `tabs--${variant}`].filter(Boolean).join(" "), className);
|
|
32
32
|
return /* @__PURE__ */ jsx(Tabs$1.Root, {
|
|
33
33
|
ref,
|
|
34
34
|
"data-slot": "tabs",
|
|
@@ -38,8 +38,8 @@ function TabsRoot({ orientation = "horizontal", variant = "default", className,
|
|
|
38
38
|
...props
|
|
39
39
|
});
|
|
40
40
|
}
|
|
41
|
-
function TabsList({ className, variant = "default", ref, ...props }) {
|
|
42
|
-
const classes = mergeBaseClassName(tabsListVariants({ variant }), className);
|
|
41
|
+
function TabsList({ className, variant = "default", unstyled = false, ref, ...props }) {
|
|
42
|
+
const classes = unstyled ? className : mergeBaseClassName(tabsListVariants({ variant }), className);
|
|
43
43
|
return /* @__PURE__ */ jsx(Tabs$1.List, {
|
|
44
44
|
ref,
|
|
45
45
|
"data-slot": "tabs-list",
|
|
@@ -48,8 +48,8 @@ function TabsList({ className, variant = "default", ref, ...props }) {
|
|
|
48
48
|
...props
|
|
49
49
|
});
|
|
50
50
|
}
|
|
51
|
-
function Tab({ className, ref, ...props }) {
|
|
52
|
-
const classes = mergeBaseClassName("tabs__tab", className);
|
|
51
|
+
function Tab({ className, unstyled = false, ref, ...props }) {
|
|
52
|
+
const classes = unstyled ? className : mergeBaseClassName("tabs__tab", className);
|
|
53
53
|
return /* @__PURE__ */ jsx(Tabs$1.Tab, {
|
|
54
54
|
ref,
|
|
55
55
|
"data-slot": "tabs-trigger",
|
|
@@ -66,8 +66,8 @@ function TabsIndicator({ className, ref, ...props }) {
|
|
|
66
66
|
...props
|
|
67
67
|
});
|
|
68
68
|
}
|
|
69
|
-
function TabPanel({ className, ref, ...props }) {
|
|
70
|
-
const classes = mergeBaseClassName("tabs__panel", className);
|
|
69
|
+
function TabPanel({ className, unstyled = false, ref, ...props }) {
|
|
70
|
+
const classes = unstyled ? className : mergeBaseClassName("tabs__panel", className);
|
|
71
71
|
return /* @__PURE__ */ jsx(Tabs$1.Panel, {
|
|
72
72
|
ref,
|
|
73
73
|
"data-slot": "tabs-content",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as ButtonProps } from "../Button-
|
|
2
|
-
import { t as CopyButtonProps } from "../copy-button-
|
|
1
|
+
import { r as ButtonProps } from "../Button-yRInko9u.js";
|
|
2
|
+
import { t as CopyButtonProps } from "../copy-button-BrvQ7z4W.js";
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
|
|
5
5
|
//#region src/components/Terminal.d.ts
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { i as AgentMessageRenderPartContext } from "../AgentMessageParts-CyD2UB3V.js";
|
|
2
|
-
import { r as AgentChatProps } from "../AgentChat-
|
|
2
|
+
import { r as AgentChatProps } from "../AgentChat-CaQaT0LF.js";
|
|
3
3
|
import { i as useOptionalAgentToolRuns, n as AgentToolRunsProvider, r as AgentToolRunsProviderProps, t as AgentToolEventsValue } from "../AgentToolRunsContext-BVe4stgw.js";
|
|
4
4
|
import { S as isThinkChatActivityPart } from "../ThinkChatToolParts-CSzVwMXf.js";
|
|
5
5
|
import { l as describeThinkChatActivityPart } from "../ThinkChatActivitySummary-D1xOrNrq.js";
|
|
6
|
-
import { a as ThinkChatToolRenderers, i as ThinkChatToolRenderer, n as ThinkChatActivityProps, o as createThinkChatActivityRenderer, r as ThinkChatActivityRendererOptions, s as renderThinkChatActivityPart, t as ThinkChatActivity } from "../ThinkChatActivity-
|
|
6
|
+
import { a as ThinkChatToolRenderers, i as ThinkChatToolRenderer, n as ThinkChatActivityProps, o as createThinkChatActivityRenderer, r as ThinkChatActivityRendererOptions, s as renderThinkChatActivityPart, t as ThinkChatActivity } from "../ThinkChatActivity-CnIJPvV5.js";
|
|
7
7
|
import { n as ThinkChatValue } from "../ThinkChatContext-DrsZqdaO.js";
|
|
8
8
|
import { n as ThinkRecoveryNoticeProps, t as ThinkRecoveryNotice } from "../ThinkRecoveryNotice-DFIcG9UX.js";
|
|
9
9
|
import { n as BrowserLiveViewProps, t as BrowserLiveView } from "../BrowserLiveView-BV5qgFgI.js";
|
|
10
10
|
import { n as BrowserReplayProps, t as BrowserReplay } from "../BrowserReplay-xWvRjRAC.js";
|
|
11
|
-
import { d as inferWorkspaceLanguage, i as WorkspaceFileState } from "../WorkspaceFile-
|
|
12
|
-
import { a as WorkspaceSource, c as workspaceBinaryFileQueryOptions, d as workspaceFileStatQueryOptions, f as workspaceInfoQueryOptions, i as WorkspaceQueryKey, l as workspaceDirectoryQueryOptions, m as workspaceTextFileQueryOptions, n as WorkspaceFileReadTarget, o as WorkspaceState, p as workspaceQueryKey, r as WorkspaceInfo, s as useWorkspace, t as UseWorkspaceOptions, u as workspaceFileAssetQueryOptions } from "../Workspace-
|
|
13
|
-
import { n as WorkspaceExplorerProps, t as WorkspaceExplorer } from "../WorkspaceExplorer-
|
|
11
|
+
import { d as inferWorkspaceLanguage, i as WorkspaceFileState } from "../WorkspaceFile-D8Un_xge.js";
|
|
12
|
+
import { a as WorkspaceSource, c as workspaceBinaryFileQueryOptions, d as workspaceFileStatQueryOptions, f as workspaceInfoQueryOptions, i as WorkspaceQueryKey, l as workspaceDirectoryQueryOptions, m as workspaceTextFileQueryOptions, n as WorkspaceFileReadTarget, o as WorkspaceState, p as workspaceQueryKey, r as WorkspaceInfo, s as useWorkspace, t as UseWorkspaceOptions, u as workspaceFileAssetQueryOptions } from "../Workspace-CWtust-2.js";
|
|
13
|
+
import { n as WorkspaceExplorerProps, t as WorkspaceExplorer } from "../WorkspaceExplorer-DGigwsgH.js";
|
|
14
14
|
import * as React from "react";
|
|
15
15
|
import { UIMessage } from "ai";
|
|
16
16
|
import { UseAgentOptions } from "agents/react";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { S as isThinkChatActivityPart } from "../ThinkChatToolParts-CSzVwMXf.js";
|
|
2
2
|
import { l as describeThinkChatActivityPart } from "../ThinkChatActivitySummary-D1xOrNrq.js";
|
|
3
|
-
import { a as ThinkChatToolRenderers, i as ThinkChatToolRenderer, n as ThinkChatActivityProps, o as createThinkChatActivityRenderer, r as ThinkChatActivityRendererOptions, s as renderThinkChatActivityPart, t as ThinkChatActivity } from "../ThinkChatActivity-
|
|
3
|
+
import { a as ThinkChatToolRenderers, i as ThinkChatToolRenderer, n as ThinkChatActivityProps, o as createThinkChatActivityRenderer, r as ThinkChatActivityRendererOptions, s as renderThinkChatActivityPart, t as ThinkChatActivity } from "../ThinkChatActivity-CnIJPvV5.js";
|
|
4
4
|
export { ThinkChatActivity, ThinkChatActivityProps, ThinkChatActivityRendererOptions, ThinkChatToolRenderer, ThinkChatToolRenderers, createThinkChatActivityRenderer, describeThinkChatActivityPart, isThinkChatActivityPart, renderThinkChatActivityPart };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { l as WorkspaceNavigationAdapter } from "../WorkspaceLink-O-EBKUJ8.js";
|
|
2
|
-
import { r as WorkspaceFileAssetResolver } from "../WorkspaceFile-
|
|
3
|
-
import { a as WorkspaceSource } from "../Workspace-
|
|
2
|
+
import { r as WorkspaceFileAssetResolver } from "../WorkspaceFile-D8Un_xge.js";
|
|
3
|
+
import { a as WorkspaceSource } from "../Workspace-CWtust-2.js";
|
|
4
4
|
import { ThinkChatMessagesProps } from "./ThinkChat.js";
|
|
5
5
|
import { t as ThinkAgent } from "../think-agent-Cip5KAPj.js";
|
|
6
6
|
import { t as ThinkExecutionRun } from "../ThinkExecutionRun-ChhWhOoU.js";
|
|
@@ -2,9 +2,9 @@ import { t as cx } from "../class-names-BiMDVpUo.js";
|
|
|
2
2
|
import { S as FileIcon, X as TerminalIcon, d as ChevronDownIcon } from "../icons-DKXiSepE.js";
|
|
3
3
|
import { Button } from "./Button.js";
|
|
4
4
|
import { a as WorkspaceNavigationRestorationBoundary, i as WorkspaceNavigationFocusRestorer, n as WorkspaceNavigationProvider } from "../WorkspaceLink-BYYeTQLf.js";
|
|
5
|
-
import { n as mergeRefs } from "../merge-refs-DF_7w2x_.js";
|
|
6
5
|
import { AppTopBar } from "./AppTopBar.js";
|
|
7
6
|
import { c as resolveThinkApprovalProps, s as useThinkPendingExecutionApprovals, t as ThinkChat } from "../ThinkChat-15EhfvYJ.js";
|
|
7
|
+
import { t as mergeRefs } from "../merge-refs-KlanQB7A.js";
|
|
8
8
|
import { useWorkspace } from "./Workspace.js";
|
|
9
9
|
import { WorkspaceExplorer } from "./WorkspaceExplorer.js";
|
|
10
10
|
import { ResizableSidePanel } from "./ResizableSidePanel.js";
|
|
@@ -65,7 +65,7 @@ function RoutineTopBarActions({ busy, onDelete, editLink, onRun, routineName })
|
|
|
65
65
|
disabled: busy,
|
|
66
66
|
children: "Cancel"
|
|
67
67
|
}), /* @__PURE__ */ jsx(AlertDialog.Close, {
|
|
68
|
-
|
|
68
|
+
color: "destructive",
|
|
69
69
|
disabled: busy,
|
|
70
70
|
onClick: onDelete,
|
|
71
71
|
children: "Delete schedule"
|
package/dist/components/Toast.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { n as mergeBaseClassName } from "../class-names-BiMDVpUo.js";
|
|
2
|
+
import { buttonVariants } from "./Button.js";
|
|
2
3
|
import "react";
|
|
3
4
|
import { jsx } from "react/jsx-runtime";
|
|
4
5
|
import { Toast as Toast$1 } from "@base-ui/react/toast";
|
|
@@ -82,11 +83,17 @@ function ToastDescription({ className, ref, ...props }) {
|
|
|
82
83
|
/**
|
|
83
84
|
* Action button within the toast.
|
|
84
85
|
*/
|
|
85
|
-
function ToastAction({ className, ref, ...props }) {
|
|
86
|
-
const classes = mergeBaseClassName(
|
|
86
|
+
function ToastAction({ render, className, ref, ...props }) {
|
|
87
|
+
const classes = mergeBaseClassName(render == null ? buttonVariants({
|
|
88
|
+
variant: "normal",
|
|
89
|
+
color: "primary",
|
|
90
|
+
size: "xs",
|
|
91
|
+
className: "toast__action"
|
|
92
|
+
}) : "toast__action", className);
|
|
87
93
|
return /* @__PURE__ */ jsx(Toast$1.Action, {
|
|
88
94
|
ref,
|
|
89
95
|
"data-slot": "toast-action",
|
|
96
|
+
render,
|
|
90
97
|
className: classes,
|
|
91
98
|
...props
|
|
92
99
|
});
|
|
@@ -7,7 +7,7 @@ function toggleVariants({ variant = "default", size = "md", className } = {}) {
|
|
|
7
7
|
return [
|
|
8
8
|
"toggle",
|
|
9
9
|
variant === "outline" && "toggle--outline",
|
|
10
|
-
size
|
|
10
|
+
`toggle--${size ?? "md"}`,
|
|
11
11
|
className
|
|
12
12
|
].filter(Boolean).join(" ");
|
|
13
13
|
}
|
|
@@ -52,15 +52,15 @@ function toggleVariants({ variant = "default", size = "md", className } = {}) {
|
|
|
52
52
|
* @see {@link https://base-ui.com/react/components/toggle | Base UI Toggle}
|
|
53
53
|
*/
|
|
54
54
|
function Toggle({ className, variant, size, ref, ...props }) {
|
|
55
|
-
const
|
|
56
|
-
variant,
|
|
57
|
-
size
|
|
58
|
-
}), className);
|
|
55
|
+
const resolvedSize = size ?? "md";
|
|
59
56
|
return /* @__PURE__ */ jsx(Toggle$1, {
|
|
60
57
|
ref,
|
|
61
58
|
"data-slot": "toggle",
|
|
62
|
-
"data-size":
|
|
63
|
-
className:
|
|
59
|
+
"data-size": resolvedSize,
|
|
60
|
+
className: mergeBaseClassName(toggleVariants({
|
|
61
|
+
variant,
|
|
62
|
+
size: resolvedSize
|
|
63
|
+
}), className),
|
|
64
64
|
...props
|
|
65
65
|
});
|
|
66
66
|
}
|
|
@@ -9,11 +9,17 @@ interface ToolbarRootProps extends React.ComponentPropsWithoutRef<typeof Toolbar
|
|
|
9
9
|
/**
|
|
10
10
|
* Props for the Toolbar.Button component.
|
|
11
11
|
*/
|
|
12
|
-
interface ToolbarButtonProps extends React.ComponentPropsWithoutRef<typeof Toolbar$1.Button> {
|
|
12
|
+
interface ToolbarButtonProps extends React.ComponentPropsWithoutRef<typeof Toolbar$1.Button> {
|
|
13
|
+
/** Skip the default Button chrome when a composed control owns its visuals. */
|
|
14
|
+
unstyled?: boolean;
|
|
15
|
+
}
|
|
13
16
|
/**
|
|
14
17
|
* Props for the Toolbar.Link component.
|
|
15
18
|
*/
|
|
16
|
-
interface ToolbarLinkProps extends React.ComponentPropsWithoutRef<typeof Toolbar$1.Link> {
|
|
19
|
+
interface ToolbarLinkProps extends React.ComponentPropsWithoutRef<typeof Toolbar$1.Link> {
|
|
20
|
+
/** Skip the default Button chrome when a composed link owns its visuals. */
|
|
21
|
+
unstyled?: boolean;
|
|
22
|
+
}
|
|
17
23
|
/**
|
|
18
24
|
* Props for the Toolbar.Group component.
|
|
19
25
|
*/
|
|
@@ -52,6 +58,7 @@ declare function ToolbarRoot({
|
|
|
52
58
|
* A clickable button within the toolbar.
|
|
53
59
|
*/
|
|
54
60
|
declare function ToolbarButton({
|
|
61
|
+
unstyled,
|
|
55
62
|
className,
|
|
56
63
|
ref,
|
|
57
64
|
...props
|
|
@@ -62,6 +69,7 @@ declare function ToolbarButton({
|
|
|
62
69
|
* A link element within the toolbar.
|
|
63
70
|
*/
|
|
64
71
|
declare function ToolbarLink({
|
|
72
|
+
unstyled,
|
|
65
73
|
className,
|
|
66
74
|
ref,
|
|
67
75
|
...props
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { n as mergeBaseClassName } from "../class-names-BiMDVpUo.js";
|
|
2
|
+
import { buttonVariants } from "./Button.js";
|
|
2
3
|
import "react";
|
|
3
4
|
import { jsx } from "react/jsx-runtime";
|
|
4
5
|
import { Toolbar as Toolbar$1 } from "@base-ui/react/toolbar";
|
|
@@ -30,11 +31,17 @@ function ToolbarRoot({ className, ref, ...props }) {
|
|
|
30
31
|
/**
|
|
31
32
|
* A clickable button within the toolbar.
|
|
32
33
|
*/
|
|
33
|
-
function ToolbarButton({ className, ref, ...props }) {
|
|
34
|
-
const classes = mergeBaseClassName("toolbar__button"
|
|
34
|
+
function ToolbarButton({ unstyled = false, className, ref, ...props }) {
|
|
35
|
+
const classes = mergeBaseClassName(unstyled ? "toolbar__button" : buttonVariants({
|
|
36
|
+
variant: "ghost",
|
|
37
|
+
color: "neutral",
|
|
38
|
+
size: "sm",
|
|
39
|
+
className: "toolbar__button"
|
|
40
|
+
}), className);
|
|
35
41
|
return /* @__PURE__ */ jsx(Toolbar$1.Button, {
|
|
36
42
|
ref,
|
|
37
43
|
"data-slot": "toolbar-button",
|
|
44
|
+
"data-unstyled": unstyled ? "" : void 0,
|
|
38
45
|
className: classes,
|
|
39
46
|
...props
|
|
40
47
|
});
|
|
@@ -42,11 +49,17 @@ function ToolbarButton({ className, ref, ...props }) {
|
|
|
42
49
|
/**
|
|
43
50
|
* A link element within the toolbar.
|
|
44
51
|
*/
|
|
45
|
-
function ToolbarLink({ className, ref, ...props }) {
|
|
46
|
-
const classes = mergeBaseClassName("toolbar__link"
|
|
52
|
+
function ToolbarLink({ unstyled = false, className, ref, ...props }) {
|
|
53
|
+
const classes = mergeBaseClassName(unstyled ? "toolbar__link" : buttonVariants({
|
|
54
|
+
variant: "ghost",
|
|
55
|
+
color: "neutral",
|
|
56
|
+
size: "sm",
|
|
57
|
+
className: "toolbar__link"
|
|
58
|
+
}), className);
|
|
47
59
|
return /* @__PURE__ */ jsx(Toolbar$1.Link, {
|
|
48
60
|
ref,
|
|
49
61
|
"data-slot": "toolbar-link",
|
|
62
|
+
"data-unstyled": unstyled ? "" : void 0,
|
|
50
63
|
className: classes,
|
|
51
64
|
...props
|
|
52
65
|
});
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as WorkspaceSource, c as workspaceBinaryFileQueryOptions, d as workspaceFileStatQueryOptions, f as workspaceInfoQueryOptions, i as WorkspaceQueryKey, l as workspaceDirectoryQueryOptions, m as workspaceTextFileQueryOptions, n as WorkspaceFileReadTarget, o as WorkspaceState, p as workspaceQueryKey, r as WorkspaceInfo, s as useWorkspace, t as UseWorkspaceOptions, u as workspaceFileAssetQueryOptions } from "../Workspace-
|
|
1
|
+
import { a as WorkspaceSource, c as workspaceBinaryFileQueryOptions, d as workspaceFileStatQueryOptions, f as workspaceInfoQueryOptions, i as WorkspaceQueryKey, l as workspaceDirectoryQueryOptions, m as workspaceTextFileQueryOptions, n as WorkspaceFileReadTarget, o as WorkspaceState, p as workspaceQueryKey, r as WorkspaceInfo, s as useWorkspace, t as UseWorkspaceOptions, u as workspaceFileAssetQueryOptions } from "../Workspace-CWtust-2.js";
|
|
2
2
|
export { UseWorkspaceOptions, WorkspaceFileReadTarget, WorkspaceInfo, WorkspaceQueryKey, WorkspaceSource, WorkspaceState, useWorkspace, workspaceBinaryFileQueryOptions, workspaceDirectoryQueryOptions, workspaceFileAssetQueryOptions, workspaceFileStatQueryOptions, workspaceInfoQueryOptions, workspaceQueryKey, workspaceTextFileQueryOptions };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as WorkspaceFileLinkProps, c as WorkspaceLinkResolution, d as WorkspaceNavigationProvider, f as WorkspaceNavigationProviderProps, i as WorkspaceFileLink, l as WorkspaceNavigationAdapter, n as WorkspaceDestination, o as WorkspaceInvalidDestination, p as resolveWorkspaceLink, r as WorkspaceExternalDestination, s as WorkspaceLinkBase, t as ResolveWorkspaceLinkOptions, u as WorkspaceNavigationEntry } from "../WorkspaceLink-O-EBKUJ8.js";
|
|
2
|
-
import { a as WorkspaceMediaInfo, c as WorkspaceMediaTrackKind, d as inferWorkspaceLanguage, f as inferWorkspaceMedia, g as parseWorkspaceSkill, h as isWorkspaceSkillPath, i as WorkspaceFileState, l as WorkspaceSkillDocument, m as isWorkspaceMediaPath, n as WorkspaceFileAssetRequest, o as WorkspaceMediaKind, p as isWorkspaceMarkdownPath, r as WorkspaceFileAssetResolver, s as WorkspaceMediaTrack, t as WorkspaceFileAsset } from "../WorkspaceFile-
|
|
3
|
-
import { a as WorkspaceSource, c as workspaceBinaryFileQueryOptions, d as workspaceFileStatQueryOptions, f as workspaceInfoQueryOptions, i as WorkspaceQueryKey, l as workspaceDirectoryQueryOptions, m as workspaceTextFileQueryOptions, n as WorkspaceFileReadTarget, o as WorkspaceState, p as workspaceQueryKey, r as WorkspaceInfo, s as useWorkspace, t as UseWorkspaceOptions, u as workspaceFileAssetQueryOptions } from "../Workspace-
|
|
4
|
-
import { n as WorkspaceExplorerProps, t as WorkspaceExplorer } from "../WorkspaceExplorer-
|
|
2
|
+
import { a as WorkspaceMediaInfo, c as WorkspaceMediaTrackKind, d as inferWorkspaceLanguage, f as inferWorkspaceMedia, g as parseWorkspaceSkill, h as isWorkspaceSkillPath, i as WorkspaceFileState, l as WorkspaceSkillDocument, m as isWorkspaceMediaPath, n as WorkspaceFileAssetRequest, o as WorkspaceMediaKind, p as isWorkspaceMarkdownPath, r as WorkspaceFileAssetResolver, s as WorkspaceMediaTrack, t as WorkspaceFileAsset } from "../WorkspaceFile-D8Un_xge.js";
|
|
3
|
+
import { a as WorkspaceSource, c as workspaceBinaryFileQueryOptions, d as workspaceFileStatQueryOptions, f as workspaceInfoQueryOptions, i as WorkspaceQueryKey, l as workspaceDirectoryQueryOptions, m as workspaceTextFileQueryOptions, n as WorkspaceFileReadTarget, o as WorkspaceState, p as workspaceQueryKey, r as WorkspaceInfo, s as useWorkspace, t as UseWorkspaceOptions, u as workspaceFileAssetQueryOptions } from "../Workspace-CWtust-2.js";
|
|
4
|
+
import { n as WorkspaceExplorerProps, t as WorkspaceExplorer } from "../WorkspaceExplorer-DGigwsgH.js";
|
|
5
5
|
export { type ResolveWorkspaceLinkOptions, type UseWorkspaceOptions, type WorkspaceDestination, WorkspaceExplorer, WorkspaceExplorerProps, type WorkspaceExternalDestination, type WorkspaceFileAsset, type WorkspaceFileAssetRequest, type WorkspaceFileAssetResolver, WorkspaceFileLink, type WorkspaceFileLinkProps, type WorkspaceFileReadTarget, type WorkspaceFileState, type WorkspaceInfo, type WorkspaceInvalidDestination, type WorkspaceLinkBase, type WorkspaceLinkResolution, type WorkspaceMediaInfo, type WorkspaceMediaKind, type WorkspaceMediaTrack, type WorkspaceMediaTrackKind, type WorkspaceNavigationAdapter, type WorkspaceNavigationEntry, WorkspaceNavigationProvider, type WorkspaceNavigationProviderProps, type WorkspaceQueryKey, type WorkspaceSkillDocument, type WorkspaceSource, type WorkspaceState, inferWorkspaceLanguage, inferWorkspaceMedia, isWorkspaceMarkdownPath, isWorkspaceMediaPath, isWorkspaceSkillPath, parseWorkspaceSkill, resolveWorkspaceLink, useWorkspace, workspaceBinaryFileQueryOptions, workspaceDirectoryQueryOptions, workspaceFileAssetQueryOptions, workspaceFileStatQueryOptions, workspaceInfoQueryOptions, workspaceQueryKey, workspaceTextFileQueryOptions };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as cx } from "../class-names-BiMDVpUo.js";
|
|
2
2
|
import { a as WorkspaceNavigationRestorationBoundary, n as WorkspaceNavigationProvider, o as useRequiredWorkspaceNavigationRestoration, r as resolveWorkspaceLink, t as WorkspaceFileLink } from "../WorkspaceLink-BYYeTQLf.js";
|
|
3
|
-
import { n as mergeRefs } from "../merge-refs-DF_7w2x_.js";
|
|
4
3
|
import { inferWorkspaceLanguage, inferWorkspaceMedia, isWorkspaceMarkdownPath, isWorkspaceMediaPath, isWorkspaceSkillPath, parseWorkspaceSkill } from "./WorkspaceFile.js";
|
|
5
4
|
import { WorkspaceBrowser } from "./WorkspaceBrowser.js";
|
|
6
5
|
import { t as WorkspaceFileView } from "../WorkspaceFileView-CEdArlOT.js";
|
|
6
|
+
import { t as mergeRefs } from "../merge-refs-KlanQB7A.js";
|
|
7
7
|
import { useWorkspace, workspaceBinaryFileQueryOptions, workspaceDirectoryQueryOptions, workspaceFileAssetQueryOptions, workspaceFileStatQueryOptions, workspaceInfoQueryOptions, workspaceQueryKey, workspaceTextFileQueryOptions } from "./Workspace.js";
|
|
8
8
|
import * as React from "react";
|
|
9
9
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as WorkspaceMediaInfo, c as WorkspaceMediaTrackKind, d as inferWorkspaceLanguage, f as inferWorkspaceMedia, g as parseWorkspaceSkill, h as isWorkspaceSkillPath, i as WorkspaceFileState, l as WorkspaceSkillDocument, m as isWorkspaceMediaPath, n as WorkspaceFileAssetRequest, o as WorkspaceMediaKind, p as isWorkspaceMarkdownPath, r as WorkspaceFileAssetResolver, s as WorkspaceMediaTrack, t as WorkspaceFileAsset, u as getWorkspaceBasename } from "../WorkspaceFile-
|
|
1
|
+
import { a as WorkspaceMediaInfo, c as WorkspaceMediaTrackKind, d as inferWorkspaceLanguage, f as inferWorkspaceMedia, g as parseWorkspaceSkill, h as isWorkspaceSkillPath, i as WorkspaceFileState, l as WorkspaceSkillDocument, m as isWorkspaceMediaPath, n as WorkspaceFileAssetRequest, o as WorkspaceMediaKind, p as isWorkspaceMarkdownPath, r as WorkspaceFileAssetResolver, s as WorkspaceMediaTrack, t as WorkspaceFileAsset, u as getWorkspaceBasename } from "../WorkspaceFile-D8Un_xge.js";
|
|
2
2
|
export { WorkspaceFileAsset, WorkspaceFileAssetRequest, WorkspaceFileAssetResolver, WorkspaceFileState, WorkspaceMediaInfo, WorkspaceMediaKind, WorkspaceMediaTrack, WorkspaceMediaTrackKind, WorkspaceSkillDocument, getWorkspaceBasename, inferWorkspaceLanguage, inferWorkspaceMedia, isWorkspaceMarkdownPath, isWorkspaceMediaPath, isWorkspaceSkillPath, parseWorkspaceSkill };
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
color var(--sigvelo-motion-duration-interaction) var(--sigvelo-motion-ease-change);
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
.accordion__trigger:hover:not(
|
|
40
|
+
.accordion__trigger:hover:not([data-disabled]) {
|
|
41
41
|
background-color: var(--sigvelo-color-neutral-bg-subtle);
|
|
42
42
|
}
|
|
43
43
|
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
box-shadow: var(--sigvelo-recipe-focus-shadow);
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
.accordion__trigger
|
|
49
|
+
.accordion__trigger[data-disabled] {
|
|
50
50
|
color: var(--sigvelo-color-text-muted);
|
|
51
51
|
cursor: not-allowed;
|
|
52
52
|
}
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
|
|
57
57
|
font-family: inherit;
|
|
58
58
|
font-size: var(--sigvelo-text-sm);
|
|
59
|
-
line-height:
|
|
59
|
+
line-height: var(--sigvelo-leading-relaxed);
|
|
60
60
|
color: var(--sigvelo-color-text-muted);
|
|
61
61
|
}
|
|
62
62
|
|
package/dist/styles/activity.css
CHANGED
|
@@ -91,7 +91,7 @@
|
|
|
91
91
|
gap: var(--sigvelo-spacing-1-5);
|
|
92
92
|
font-size: var(--sigvelo-text-compact);
|
|
93
93
|
color: var(--sigvelo-color-text);
|
|
94
|
-
line-height:
|
|
94
|
+
line-height: var(--sigvelo-leading-body);
|
|
95
95
|
}
|
|
96
96
|
|
|
97
97
|
/* Second collapse level: the trigger reads as a plain item row; the panel is
|
|
@@ -118,7 +118,7 @@
|
|
|
118
118
|
font-size: var(--sigvelo-text-compact);
|
|
119
119
|
font-weight: inherit;
|
|
120
120
|
color: var(--sigvelo-color-text);
|
|
121
|
-
line-height:
|
|
121
|
+
line-height: var(--sigvelo-leading-body);
|
|
122
122
|
text-align: start;
|
|
123
123
|
cursor: pointer;
|
|
124
124
|
transition: background-color var(--sigvelo-motion-duration-interaction)
|
|
@@ -164,7 +164,7 @@
|
|
|
164
164
|
.activity__group-text {
|
|
165
165
|
margin: 0;
|
|
166
166
|
font-size: var(--sigvelo-text-compact);
|
|
167
|
-
line-height:
|
|
167
|
+
line-height: var(--sigvelo-leading-body);
|
|
168
168
|
color: var(--sigvelo-color-text-muted);
|
|
169
169
|
white-space: pre-wrap;
|
|
170
170
|
overflow-wrap: anywhere;
|
|
@@ -200,7 +200,7 @@
|
|
|
200
200
|
margin: 0;
|
|
201
201
|
font-family: var(--sigvelo-font-mono);
|
|
202
202
|
font-size: var(--sigvelo-text-xs);
|
|
203
|
-
line-height:
|
|
203
|
+
line-height: var(--sigvelo-leading-body);
|
|
204
204
|
color: var(--sigvelo-color-text);
|
|
205
205
|
white-space: pre-wrap;
|
|
206
206
|
overflow-wrap: anywhere;
|