@sero-ai/ui 0.4.1 → 0.4.2
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/.turbo/turbo-build.log +628 -615
- package/.turbo/turbo-test.log +18 -0
- package/.turbo/turbo-typecheck.log +1 -1
- package/dist/components/ai-elements/agent.cjs +6 -6
- package/dist/components/ai-elements/agent.js +6 -6
- package/dist/components/ai-elements/artifact.cjs +2 -2
- package/dist/components/ai-elements/artifact.js +2 -2
- package/dist/components/ai-elements/attachments.cjs +2 -2
- package/dist/components/ai-elements/attachments.js +2 -2
- package/dist/components/ai-elements/chain-of-thought.cjs +2 -2
- package/dist/components/ai-elements/chain-of-thought.js +2 -2
- package/dist/components/ai-elements/code-block.cjs +7 -5
- package/dist/components/ai-elements/code-block.d.cts +2 -1
- package/dist/components/ai-elements/code-block.d.ts +2 -1
- package/dist/components/ai-elements/code-block.js +7 -5
- package/dist/components/ai-elements/commit.cjs +2 -2
- package/dist/components/ai-elements/commit.js +2 -2
- package/dist/components/ai-elements/confirmation.cjs +1 -1
- package/dist/components/ai-elements/confirmation.js +1 -1
- package/dist/components/ai-elements/conversation.cjs +2 -2
- package/dist/components/ai-elements/conversation.js +2 -2
- package/dist/components/ai-elements/environment-variables.cjs +3 -3
- package/dist/components/ai-elements/environment-variables.js +3 -3
- package/dist/components/ai-elements/file-tree.cjs +1 -1
- package/dist/components/ai-elements/file-tree.js +1 -1
- package/dist/components/ai-elements/inline-citation.cjs +3 -3
- package/dist/components/ai-elements/inline-citation.js +3 -3
- package/dist/components/ai-elements/jsx-preview.cjs +1 -1
- package/dist/components/ai-elements/jsx-preview.js +1 -1
- package/dist/components/ai-elements/message.cjs +1 -1
- package/dist/components/ai-elements/message.js +1 -1
- package/dist/components/ai-elements/package-info.cjs +4 -4
- package/dist/components/ai-elements/package-info.js +4 -4
- package/dist/components/ai-elements/prompt-input-context.cjs +2 -3
- package/dist/components/ai-elements/prompt-input-context.js +2 -3
- package/dist/components/ai-elements/queue.cjs +2 -2
- package/dist/components/ai-elements/queue.js +2 -2
- package/dist/components/ai-elements/reasoning.cjs +2 -2
- package/dist/components/ai-elements/reasoning.js +2 -2
- package/dist/components/ai-elements/sandbox.cjs +3 -3
- package/dist/components/ai-elements/sandbox.js +3 -3
- package/dist/components/ai-elements/schema-display.cjs +12 -12
- package/dist/components/ai-elements/schema-display.js +12 -12
- package/dist/components/ai-elements/speech-input.cjs +18 -2
- package/dist/components/ai-elements/speech-input.js +16 -0
- package/dist/components/ai-elements/stack-trace.cjs +1 -1
- package/dist/components/ai-elements/stack-trace.js +1 -1
- package/dist/components/ai-elements/task.cjs +3 -3
- package/dist/components/ai-elements/task.js +3 -3
- package/dist/components/ai-elements/terminal.cjs +2 -2
- package/dist/components/ai-elements/terminal.js +2 -2
- package/dist/components/ai-elements/test-results.cjs +4 -4
- package/dist/components/ai-elements/test-results.js +4 -4
- package/dist/components/ai-elements/tool.cjs +4 -4
- package/dist/components/ai-elements/tool.js +4 -4
- package/dist/components/ai-elements/transcription.cjs +1 -1
- package/dist/components/ai-elements/transcription.js +1 -1
- package/dist/components/ai-elements/web-preview.cjs +2 -2
- package/dist/components/ai-elements/web-preview.js +2 -2
- package/dist/components/context-editor/CapabilitySection.cjs +2 -2
- package/dist/components/context-editor/CapabilitySection.js +2 -2
- package/dist/components/context-editor/ContextEditor.cjs +2 -2
- package/dist/components/context-editor/ContextEditor.js +2 -2
- package/dist/components/context-editor/PresetBar.cjs +3 -3
- package/dist/components/context-editor/PresetBar.js +3 -3
- package/dist/components/context-editor/SystemPromptSection.cjs +4 -4
- package/dist/components/context-editor/SystemPromptSection.js +4 -4
- package/dist/components/context-editor/parts.cjs +6 -6
- package/dist/components/context-editor/parts.js +6 -6
- package/dist/components/dashboard/activity-list.cjs +2 -2
- package/dist/components/dashboard/activity-list.js +2 -2
- package/dist/components/dashboard/empty-state.cjs +1 -1
- package/dist/components/dashboard/empty-state.js +1 -1
- package/dist/components/dashboard/item-list.cjs +2 -2
- package/dist/components/dashboard/item-list.js +2 -2
- package/dist/components/dashboard/layout.cjs +1 -1
- package/dist/components/dashboard/layout.js +1 -1
- package/dist/components/dashboard/metric.cjs +1 -1
- package/dist/components/dashboard/metric.js +1 -1
- package/dist/components/dashboard/stale-indicator.cjs +1 -1
- package/dist/components/dashboard/stale-indicator.js +1 -1
- package/dist/components/dashboard/typography.cjs +4 -4
- package/dist/components/dashboard/typography.d.cts +1 -1
- package/dist/components/dashboard/typography.d.ts +1 -1
- package/dist/components/dashboard/typography.js +4 -4
- package/dist/components/model-selection/available-model-picker.cjs +6 -6
- package/dist/components/model-selection/available-model-picker.js +6 -6
- package/dist/components/model-selection/thinking-level-picker.cjs +1 -1
- package/dist/components/model-selection/thinking-level-picker.js +1 -1
- package/dist/components/model-selection/thinking-picker.cjs +70 -0
- package/dist/components/model-selection/thinking-picker.d.cts +12 -0
- package/dist/components/model-selection/thinking-picker.d.ts +12 -0
- package/dist/components/model-selection/thinking-picker.js +70 -0
- package/dist/components/ui/accordion.cjs +2 -2
- package/dist/components/ui/accordion.js +2 -2
- package/dist/components/ui/alert-dialog.cjs +4 -2
- package/dist/components/ui/alert-dialog.js +4 -2
- package/dist/components/ui/alert.cjs +2 -2
- package/dist/components/ui/alert.js +2 -2
- package/dist/components/ui/avatar.cjs +2 -2
- package/dist/components/ui/avatar.js +2 -2
- package/dist/components/ui/breadcrumb.cjs +1 -1
- package/dist/components/ui/breadcrumb.js +1 -1
- package/dist/components/ui/button-group.cjs +1 -1
- package/dist/components/ui/button-group.js +1 -1
- package/dist/components/ui/button.cjs +1 -1
- package/dist/components/ui/button.js +1 -1
- package/dist/components/ui/calendar.cjs +2 -2
- package/dist/components/ui/calendar.js +2 -2
- package/dist/components/ui/card.cjs +1 -1
- package/dist/components/ui/card.js +1 -1
- package/dist/components/ui/carousel.cjs +3 -2
- package/dist/components/ui/carousel.js +2 -1
- package/dist/components/ui/chart.cjs +36 -27
- package/dist/components/ui/chart.d.cts +21 -17
- package/dist/components/ui/chart.d.ts +21 -17
- package/dist/components/ui/chart.js +30 -21
- package/dist/components/ui/combobox.cjs +7 -5
- package/dist/components/ui/combobox.js +7 -5
- package/dist/components/ui/command.cjs +3 -3
- package/dist/components/ui/command.js +3 -3
- package/dist/components/ui/context-menu.cjs +10 -7
- package/dist/components/ui/context-menu.js +10 -7
- package/dist/components/ui/dialog.cjs +4 -2
- package/dist/components/ui/dialog.js +4 -2
- package/dist/components/ui/drawer.cjs +4 -2
- package/dist/components/ui/drawer.js +4 -2
- package/dist/components/ui/dropdown-menu.cjs +10 -7
- package/dist/components/ui/dropdown-menu.js +10 -7
- package/dist/components/ui/empty.cjs +2 -2
- package/dist/components/ui/empty.js +2 -2
- package/dist/components/ui/field.cjs +5 -5
- package/dist/components/ui/field.js +5 -5
- package/dist/components/ui/form.cjs +2 -2
- package/dist/components/ui/form.js +2 -2
- package/dist/components/ui/hover-card.cjs +3 -1
- package/dist/components/ui/hover-card.js +3 -1
- package/dist/components/ui/input-group.cjs +3 -3
- package/dist/components/ui/input-group.js +3 -3
- package/dist/components/ui/input-otp.cjs +1 -1
- package/dist/components/ui/input-otp.js +1 -1
- package/dist/components/ui/input.cjs +1 -1
- package/dist/components/ui/input.js +1 -1
- package/dist/components/ui/item.cjs +3 -3
- package/dist/components/ui/item.js +3 -3
- package/dist/components/ui/label.cjs +1 -1
- package/dist/components/ui/label.js +1 -1
- package/dist/components/ui/menubar.cjs +9 -7
- package/dist/components/ui/menubar.js +9 -7
- package/dist/components/ui/native-select.cjs +1 -1
- package/dist/components/ui/native-select.js +1 -1
- package/dist/components/ui/navigation-menu.cjs +2 -2
- package/dist/components/ui/navigation-menu.js +2 -2
- package/dist/components/ui/plugin-safety-disclaimer.cjs +1 -1
- package/dist/components/ui/plugin-safety-disclaimer.js +1 -1
- package/dist/components/ui/popover.cjs +4 -2
- package/dist/components/ui/popover.js +4 -2
- package/dist/components/ui/select.cjs +5 -3
- package/dist/components/ui/select.js +5 -3
- package/dist/components/ui/sheet.cjs +4 -2
- package/dist/components/ui/sheet.js +4 -2
- package/dist/components/ui/sidebar.cjs +5 -5
- package/dist/components/ui/sidebar.js +5 -5
- package/dist/components/ui/table.cjs +2 -2
- package/dist/components/ui/table.js +2 -2
- package/dist/components/ui/tabs.cjs +1 -1
- package/dist/components/ui/tabs.js +1 -1
- package/dist/components/ui/textarea.cjs +1 -1
- package/dist/components/ui/textarea.js +1 -1
- package/dist/components/ui/toggle.cjs +1 -1
- package/dist/components/ui/toggle.js +1 -1
- package/dist/components/ui/tooltip.cjs +3 -1
- package/dist/components/ui/tooltip.js +3 -1
- package/dist/index.cjs +5 -1
- package/dist/index.d.cts +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +5 -1
- package/dist/plugin-style-scope-context.cjs +10 -0
- package/dist/plugin-style-scope-context.d.cts +13 -0
- package/dist/plugin-style-scope-context.d.ts +13 -0
- package/dist/plugin-style-scope-context.js +10 -0
- package/dist/plugin-style-scope.cjs +25 -0
- package/dist/plugin-style-scope.d.cts +11 -0
- package/dist/plugin-style-scope.d.ts +11 -0
- package/dist/plugin-style-scope.js +25 -0
- package/dist/reference.cjs +15 -15
- package/dist/reference.js +15 -15
- package/dist/styles/globals.css +22 -3
- package/dist/styles/plugin-theme.css +80 -0
- package/dist/styles/plugin.css +14 -2
- package/package.json +2 -2
- package/src/components/ai-elements/agent.tsx +6 -6
- package/src/components/ai-elements/artifact.tsx +2 -2
- package/src/components/ai-elements/attachments.tsx +2 -2
- package/src/components/ai-elements/chain-of-thought.tsx +2 -2
- package/src/components/ai-elements/code-block.tsx +6 -3
- package/src/components/ai-elements/commit.tsx +2 -2
- package/src/components/ai-elements/confirmation.tsx +1 -1
- package/src/components/ai-elements/conversation.tsx +2 -2
- package/src/components/ai-elements/environment-variables.tsx +3 -3
- package/src/components/ai-elements/file-tree.tsx +1 -1
- package/src/components/ai-elements/inline-citation.tsx +3 -3
- package/src/components/ai-elements/jsx-preview.tsx +1 -1
- package/src/components/ai-elements/message.tsx +1 -1
- package/src/components/ai-elements/package-info.tsx +4 -4
- package/src/components/ai-elements/prompt-input-context.tsx +3 -2
- package/src/components/ai-elements/queue.tsx +2 -2
- package/src/components/ai-elements/reasoning.tsx +2 -2
- package/src/components/ai-elements/sandbox.tsx +3 -3
- package/src/components/ai-elements/schema-display.tsx +12 -12
- package/src/components/ai-elements/speech-input.tsx +17 -0
- package/src/components/ai-elements/stack-trace.tsx +1 -1
- package/src/components/ai-elements/task.tsx +3 -3
- package/src/components/ai-elements/terminal.tsx +2 -2
- package/src/components/ai-elements/test-results.tsx +4 -4
- package/src/components/ai-elements/tool.tsx +4 -4
- package/src/components/ai-elements/transcription.tsx +1 -1
- package/src/components/ai-elements/web-preview.tsx +2 -2
- package/src/components/context-editor/CapabilitySection.tsx +2 -2
- package/src/components/context-editor/ContextEditor.tsx +2 -2
- package/src/components/context-editor/PresetBar.tsx +3 -3
- package/src/components/context-editor/SystemPromptSection.tsx +4 -4
- package/src/components/context-editor/parts.tsx +6 -6
- package/src/components/dashboard/activity-list.tsx +2 -2
- package/src/components/dashboard/empty-state.tsx +1 -1
- package/src/components/dashboard/item-list.tsx +2 -2
- package/src/components/dashboard/layout.tsx +1 -1
- package/src/components/dashboard/metric.tsx +1 -1
- package/src/components/dashboard/stale-indicator.tsx +1 -1
- package/src/components/dashboard/typography.tsx +5 -5
- package/src/components/model-selection/available-model-picker.tsx +7 -7
- package/src/components/model-selection/thinking-level-picker.tsx +1 -1
- package/src/components/model-selection/thinking-picker.tsx +90 -0
- package/src/components/ui/accordion.tsx +2 -2
- package/src/components/ui/alert-dialog.tsx +4 -2
- package/src/components/ui/alert.tsx +2 -2
- package/src/components/ui/avatar.tsx +2 -2
- package/src/components/ui/breadcrumb.tsx +1 -1
- package/src/components/ui/button-group.tsx +1 -1
- package/src/components/ui/button.tsx +1 -1
- package/src/components/ui/calendar.tsx +3 -3
- package/src/components/ui/card.tsx +1 -1
- package/src/components/ui/carousel.tsx +2 -1
- package/src/components/ui/chart.tsx +54 -36
- package/src/components/ui/combobox.tsx +7 -5
- package/src/components/ui/command.tsx +3 -3
- package/src/components/ui/context-menu.tsx +10 -7
- package/src/components/ui/dialog.tsx +4 -2
- package/src/components/ui/drawer.tsx +4 -2
- package/src/components/ui/dropdown-menu.tsx +10 -7
- package/src/components/ui/empty.tsx +2 -2
- package/src/components/ui/field.tsx +5 -5
- package/src/components/ui/form.tsx +2 -2
- package/src/components/ui/hover-card.tsx +3 -1
- package/src/components/ui/input-group.tsx +3 -3
- package/src/components/ui/input-otp.tsx +1 -1
- package/src/components/ui/input.tsx +1 -1
- package/src/components/ui/item.tsx +3 -3
- package/src/components/ui/label.tsx +1 -1
- package/src/components/ui/menubar.tsx +9 -7
- package/src/components/ui/native-select.tsx +1 -1
- package/src/components/ui/navigation-menu.tsx +2 -2
- package/src/components/ui/plugin-safety-disclaimer.tsx +1 -1
- package/src/components/ui/popover.tsx +4 -2
- package/src/components/ui/select.tsx +5 -3
- package/src/components/ui/sheet.tsx +4 -2
- package/src/components/ui/sidebar.tsx +5 -5
- package/src/components/ui/table.tsx +2 -2
- package/src/components/ui/tabs.tsx +1 -1
- package/src/components/ui/textarea.tsx +1 -1
- package/src/components/ui/toggle.tsx +1 -1
- package/src/components/ui/tooltip.tsx +3 -1
- package/src/index.ts +2 -0
- package/src/plugin-style-scope-context.ts +21 -0
- package/src/plugin-style-scope.test.tsx +38 -0
- package/src/plugin-style-scope.tsx +35 -0
- package/src/styles/globals.css +22 -3
- package/src/styles/plugin-theme.css +80 -0
- package/src/styles/plugin.css +14 -2
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
|
|
2
|
+
> @sero-ai/ui@0.4.1 test /Users/danielcarter/Documents/Dev/projects/sero/sero/packages/ui
|
|
3
|
+
> vitest run
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
RUN v4.1.7 /Users/danielcarter/Documents/Dev/projects/sero/sero/packages/ui
|
|
7
|
+
|
|
8
|
+
✓ src/plugin-style-scope.test.tsx (1 test) 57ms
|
|
9
|
+
✓ src/components/dashboard/__tests__/catalog.test.ts (5 tests) 4ms
|
|
10
|
+
✓ src/components/dashboard/__tests__/state.test.tsx (14 tests) 30ms
|
|
11
|
+
✓ src/components/dashboard/__tests__/glass.test.tsx (4 tests) 14ms
|
|
12
|
+
✓ src/components/dashboard/__tests__/variants.test.tsx (13 tests) 64ms
|
|
13
|
+
|
|
14
|
+
Test Files 5 passed (5)
|
|
15
|
+
Tests 37 passed (37)
|
|
16
|
+
Start at 15:46:29
|
|
17
|
+
Duration 4.51s (transform 1.63s, setup 0ms, import 7.49s, tests 169ms, environment 7.99s)
|
|
18
|
+
|
|
@@ -29,7 +29,7 @@ const AgentHeader = _react.memo.call(void 0,
|
|
|
29
29
|
...props,
|
|
30
30
|
children: /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "flex items-center gap-2", children: [
|
|
31
31
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.BotIcon, { className: "size-4 text-muted-foreground" }),
|
|
32
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "font-medium text-
|
|
32
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "font-medium text-base", children: name }),
|
|
33
33
|
model && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _badge.Badge, { className: "font-mono text-xs", variant: "secondary", children: model })
|
|
34
34
|
] })
|
|
35
35
|
}
|
|
@@ -40,12 +40,12 @@ const AgentContent = _react.memo.call(void 0,
|
|
|
40
40
|
);
|
|
41
41
|
const AgentInstructions = _react.memo.call(void 0,
|
|
42
42
|
({ className, children, ...props }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _utils.cn.call(void 0, "space-y-2", className), ...props, children: [
|
|
43
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "font-medium text-muted-foreground text-
|
|
44
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rounded-md bg-muted/50 p-3 text-muted-foreground text-
|
|
43
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "font-medium text-muted-foreground text-base", children: "Instructions" }),
|
|
44
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rounded-md bg-muted/50 p-3 text-muted-foreground text-base", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { children }) })
|
|
45
45
|
] })
|
|
46
46
|
);
|
|
47
47
|
const AgentTools = _react.memo.call(void 0, ({ className, ...props }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _utils.cn.call(void 0, "space-y-2", className), children: [
|
|
48
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "font-medium text-muted-foreground text-
|
|
48
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "font-medium text-muted-foreground text-base", children: "Tools" }),
|
|
49
49
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _accordion.Accordion, { className: "rounded-md border", ...props })
|
|
50
50
|
] }));
|
|
51
51
|
const AgentTool = _react.memo.call(void 0,
|
|
@@ -58,7 +58,7 @@ const AgentTool = _react.memo.call(void 0,
|
|
|
58
58
|
value,
|
|
59
59
|
...props,
|
|
60
60
|
children: [
|
|
61
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _accordion.AccordionTrigger, { className: "px-3 py-2 text-
|
|
61
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _accordion.AccordionTrigger, { className: "px-3 py-2 text-base hover:no-underline", children: _nullishCoalesce(tool.description, () => ( "No description")) }),
|
|
62
62
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _accordion.AccordionContent, { className: "px-3 pb-3", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rounded-md bg-muted/50", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _codeblock.CodeBlock, { code: JSON.stringify(schema, null, 2), language: "json" }) }) })
|
|
63
63
|
]
|
|
64
64
|
}
|
|
@@ -67,7 +67,7 @@ const AgentTool = _react.memo.call(void 0,
|
|
|
67
67
|
);
|
|
68
68
|
const AgentOutput = _react.memo.call(void 0,
|
|
69
69
|
({ className, schema, ...props }) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _utils.cn.call(void 0, "space-y-2", className), ...props, children: [
|
|
70
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "font-medium text-muted-foreground text-
|
|
70
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "font-medium text-muted-foreground text-base", children: "Output Schema" }),
|
|
71
71
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "rounded-md bg-muted/50", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _codeblock.CodeBlock, { code: schema, language: "typescript" }) })
|
|
72
72
|
] })
|
|
73
73
|
);
|
|
@@ -29,7 +29,7 @@ const AgentHeader = memo(
|
|
|
29
29
|
...props,
|
|
30
30
|
children: /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
|
|
31
31
|
/* @__PURE__ */ jsx(BotIcon, { className: "size-4 text-muted-foreground" }),
|
|
32
|
-
/* @__PURE__ */ jsx("span", { className: "font-medium text-
|
|
32
|
+
/* @__PURE__ */ jsx("span", { className: "font-medium text-base", children: name }),
|
|
33
33
|
model && /* @__PURE__ */ jsx(Badge, { className: "font-mono text-xs", variant: "secondary", children: model })
|
|
34
34
|
] })
|
|
35
35
|
}
|
|
@@ -40,12 +40,12 @@ const AgentContent = memo(
|
|
|
40
40
|
);
|
|
41
41
|
const AgentInstructions = memo(
|
|
42
42
|
({ className, children, ...props }) => /* @__PURE__ */ jsxs("div", { className: cn("space-y-2", className), ...props, children: [
|
|
43
|
-
/* @__PURE__ */ jsx("span", { className: "font-medium text-muted-foreground text-
|
|
44
|
-
/* @__PURE__ */ jsx("div", { className: "rounded-md bg-muted/50 p-3 text-muted-foreground text-
|
|
43
|
+
/* @__PURE__ */ jsx("span", { className: "font-medium text-muted-foreground text-base", children: "Instructions" }),
|
|
44
|
+
/* @__PURE__ */ jsx("div", { className: "rounded-md bg-muted/50 p-3 text-muted-foreground text-base", children: /* @__PURE__ */ jsx("p", { children }) })
|
|
45
45
|
] })
|
|
46
46
|
);
|
|
47
47
|
const AgentTools = memo(({ className, ...props }) => /* @__PURE__ */ jsxs("div", { className: cn("space-y-2", className), children: [
|
|
48
|
-
/* @__PURE__ */ jsx("span", { className: "font-medium text-muted-foreground text-
|
|
48
|
+
/* @__PURE__ */ jsx("span", { className: "font-medium text-muted-foreground text-base", children: "Tools" }),
|
|
49
49
|
/* @__PURE__ */ jsx(Accordion, { className: "rounded-md border", ...props })
|
|
50
50
|
] }));
|
|
51
51
|
const AgentTool = memo(
|
|
@@ -58,7 +58,7 @@ const AgentTool = memo(
|
|
|
58
58
|
value,
|
|
59
59
|
...props,
|
|
60
60
|
children: [
|
|
61
|
-
/* @__PURE__ */ jsx(AccordionTrigger, { className: "px-3 py-2 text-
|
|
61
|
+
/* @__PURE__ */ jsx(AccordionTrigger, { className: "px-3 py-2 text-base hover:no-underline", children: tool.description ?? "No description" }),
|
|
62
62
|
/* @__PURE__ */ jsx(AccordionContent, { className: "px-3 pb-3", children: /* @__PURE__ */ jsx("div", { className: "rounded-md bg-muted/50", children: /* @__PURE__ */ jsx(CodeBlock, { code: JSON.stringify(schema, null, 2), language: "json" }) }) })
|
|
63
63
|
]
|
|
64
64
|
}
|
|
@@ -67,7 +67,7 @@ const AgentTool = memo(
|
|
|
67
67
|
);
|
|
68
68
|
const AgentOutput = memo(
|
|
69
69
|
({ className, schema, ...props }) => /* @__PURE__ */ jsxs("div", { className: cn("space-y-2", className), ...props, children: [
|
|
70
|
-
/* @__PURE__ */ jsx("span", { className: "font-medium text-muted-foreground text-
|
|
70
|
+
/* @__PURE__ */ jsx("span", { className: "font-medium text-muted-foreground text-base", children: "Output Schema" }),
|
|
71
71
|
/* @__PURE__ */ jsx("div", { className: "rounded-md bg-muted/50", children: /* @__PURE__ */ jsx(CodeBlock, { code: schema, language: "typescript" }) })
|
|
72
72
|
] })
|
|
73
73
|
);
|
|
@@ -58,14 +58,14 @@ const ArtifactClose = ({
|
|
|
58
58
|
const ArtifactTitle = ({ className, ...props }) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
59
59
|
"p",
|
|
60
60
|
{
|
|
61
|
-
className: _utils.cn.call(void 0, "font-medium text-foreground text-
|
|
61
|
+
className: _utils.cn.call(void 0, "font-medium text-foreground text-base", className),
|
|
62
62
|
...props
|
|
63
63
|
}
|
|
64
64
|
);
|
|
65
65
|
const ArtifactDescription = ({
|
|
66
66
|
className,
|
|
67
67
|
...props
|
|
68
|
-
}) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: _utils.cn.call(void 0, "text-muted-foreground text-
|
|
68
|
+
}) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: _utils.cn.call(void 0, "text-muted-foreground text-base", className), ...props });
|
|
69
69
|
const ArtifactActions = ({
|
|
70
70
|
className,
|
|
71
71
|
...props
|
|
@@ -58,14 +58,14 @@ const ArtifactClose = ({
|
|
|
58
58
|
const ArtifactTitle = ({ className, ...props }) => /* @__PURE__ */ jsx(
|
|
59
59
|
"p",
|
|
60
60
|
{
|
|
61
|
-
className: cn("font-medium text-foreground text-
|
|
61
|
+
className: cn("font-medium text-foreground text-base", className),
|
|
62
62
|
...props
|
|
63
63
|
}
|
|
64
64
|
);
|
|
65
65
|
const ArtifactDescription = ({
|
|
66
66
|
className,
|
|
67
67
|
...props
|
|
68
|
-
}) => /* @__PURE__ */ jsx("p", { className: cn("text-muted-foreground text-
|
|
68
|
+
}) => /* @__PURE__ */ jsx("p", { className: cn("text-muted-foreground text-base", className), ...props });
|
|
69
69
|
const ArtifactActions = ({
|
|
70
70
|
className,
|
|
71
71
|
...props
|
|
@@ -123,7 +123,7 @@ const Attachment = ({
|
|
|
123
123
|
variant === "inline" && [
|
|
124
124
|
"flex h-8 cursor-pointer select-none items-center gap-1.5",
|
|
125
125
|
"rounded-md border border-border px-1.5",
|
|
126
|
-
"font-medium text-
|
|
126
|
+
"font-medium text-base transition-all",
|
|
127
127
|
"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50"
|
|
128
128
|
],
|
|
129
129
|
variant === "list" && [
|
|
@@ -259,7 +259,7 @@ const AttachmentEmpty = ({
|
|
|
259
259
|
"div",
|
|
260
260
|
{
|
|
261
261
|
className: _utils.cn.call(void 0,
|
|
262
|
-
"flex items-center justify-center p-4 text-muted-foreground text-
|
|
262
|
+
"flex items-center justify-center p-4 text-muted-foreground text-base",
|
|
263
263
|
className
|
|
264
264
|
),
|
|
265
265
|
...props,
|
|
@@ -123,7 +123,7 @@ const Attachment = ({
|
|
|
123
123
|
variant === "inline" && [
|
|
124
124
|
"flex h-8 cursor-pointer select-none items-center gap-1.5",
|
|
125
125
|
"rounded-md border border-border px-1.5",
|
|
126
|
-
"font-medium text-
|
|
126
|
+
"font-medium text-base transition-all",
|
|
127
127
|
"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50"
|
|
128
128
|
],
|
|
129
129
|
variant === "list" && [
|
|
@@ -259,7 +259,7 @@ const AttachmentEmpty = ({
|
|
|
259
259
|
"div",
|
|
260
260
|
{
|
|
261
261
|
className: cn(
|
|
262
|
-
"flex items-center justify-center p-4 text-muted-foreground text-
|
|
262
|
+
"flex items-center justify-center p-4 text-muted-foreground text-base",
|
|
263
263
|
className
|
|
264
264
|
),
|
|
265
265
|
...props,
|
|
@@ -50,7 +50,7 @@ const ChainOfThoughtHeader = _react.memo.call(void 0,
|
|
|
50
50
|
_collapsible.CollapsibleTrigger,
|
|
51
51
|
{
|
|
52
52
|
className: _utils.cn.call(void 0,
|
|
53
|
-
"flex w-full items-center gap-2 text-muted-foreground text-
|
|
53
|
+
"flex w-full items-center gap-2 text-muted-foreground text-base transition-colors hover:text-foreground",
|
|
54
54
|
className
|
|
55
55
|
),
|
|
56
56
|
...props,
|
|
@@ -89,7 +89,7 @@ const ChainOfThoughtStep = _react.memo.call(void 0,
|
|
|
89
89
|
"div",
|
|
90
90
|
{
|
|
91
91
|
className: _utils.cn.call(void 0,
|
|
92
|
-
"flex gap-2 text-
|
|
92
|
+
"flex gap-2 text-base",
|
|
93
93
|
stepStatusStyles[status],
|
|
94
94
|
"fade-in-0 slide-in-from-top-2 animate-in",
|
|
95
95
|
className
|
|
@@ -50,7 +50,7 @@ const ChainOfThoughtHeader = memo(
|
|
|
50
50
|
CollapsibleTrigger,
|
|
51
51
|
{
|
|
52
52
|
className: cn(
|
|
53
|
-
"flex w-full items-center gap-2 text-muted-foreground text-
|
|
53
|
+
"flex w-full items-center gap-2 text-muted-foreground text-base transition-colors hover:text-foreground",
|
|
54
54
|
className
|
|
55
55
|
),
|
|
56
56
|
...props,
|
|
@@ -89,7 +89,7 @@ const ChainOfThoughtStep = memo(
|
|
|
89
89
|
"div",
|
|
90
90
|
{
|
|
91
91
|
className: cn(
|
|
92
|
-
"flex gap-2 text-
|
|
92
|
+
"flex gap-2 text-base",
|
|
93
93
|
stepStatusStyles[status],
|
|
94
94
|
"fade-in-0 slide-in-from-top-2 animate-in",
|
|
95
95
|
className
|
|
@@ -163,7 +163,7 @@ const CodeBlockBody = _react.memo.call(void 0,
|
|
|
163
163
|
"pre",
|
|
164
164
|
{
|
|
165
165
|
className: _utils.cn.call(void 0,
|
|
166
|
-
"dark:!bg-[var(--shiki-dark-bg)] dark:!text-[var(--shiki-dark)] m-0 p-4 text-
|
|
166
|
+
"dark:!bg-[var(--shiki-dark-bg)] dark:!text-[var(--shiki-dark)] m-0 p-4 text-base",
|
|
167
167
|
className
|
|
168
168
|
),
|
|
169
169
|
style: preStyle,
|
|
@@ -171,7 +171,7 @@ const CodeBlockBody = _react.memo.call(void 0,
|
|
|
171
171
|
"code",
|
|
172
172
|
{
|
|
173
173
|
className: _utils.cn.call(void 0,
|
|
174
|
-
"font-mono
|
|
174
|
+
"font-mono",
|
|
175
175
|
showLineNumbers && "[counter-increment:line_0] [counter-reset:line]"
|
|
176
176
|
),
|
|
177
177
|
children: keyedLines.map((keyedLine) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
@@ -251,7 +251,8 @@ const CodeBlockActions = ({
|
|
|
251
251
|
const CodeBlockContent = ({
|
|
252
252
|
code,
|
|
253
253
|
language,
|
|
254
|
-
showLineNumbers = false
|
|
254
|
+
showLineNumbers = false,
|
|
255
|
+
className
|
|
255
256
|
}) => {
|
|
256
257
|
const rawTokens = _react.useMemo.call(void 0, () => createRawTokens(code), [code]);
|
|
257
258
|
const [tokenized, setTokenized] = _react.useState.call(void 0,
|
|
@@ -269,7 +270,7 @@ const CodeBlockContent = ({
|
|
|
269
270
|
cancelled = true;
|
|
270
271
|
};
|
|
271
272
|
}, [code, language, rawTokens]);
|
|
272
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "relative overflow-auto", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CodeBlockBody, { showLineNumbers, tokenized }) });
|
|
273
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "relative overflow-auto", children: /* @__PURE__ */ _jsxruntime.jsx.call(void 0, CodeBlockBody, { showLineNumbers, tokenized, className }) });
|
|
273
274
|
};
|
|
274
275
|
const CodeBlock = ({
|
|
275
276
|
code,
|
|
@@ -287,7 +288,8 @@ const CodeBlock = ({
|
|
|
287
288
|
{
|
|
288
289
|
code,
|
|
289
290
|
language,
|
|
290
|
-
showLineNumbers
|
|
291
|
+
showLineNumbers,
|
|
292
|
+
className
|
|
291
293
|
}
|
|
292
294
|
)
|
|
293
295
|
] }) });
|
|
@@ -25,10 +25,11 @@ declare const CodeBlockHeader: ({ children, className, ...props }: HTMLAttribute
|
|
|
25
25
|
declare const CodeBlockTitle: ({ children, className, ...props }: HTMLAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
26
26
|
declare const CodeBlockFilename: ({ children, className, ...props }: HTMLAttributes<HTMLSpanElement>) => react_jsx_runtime.JSX.Element;
|
|
27
27
|
declare const CodeBlockActions: ({ children, className, ...props }: HTMLAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
28
|
-
declare const CodeBlockContent: ({ code, language, showLineNumbers, }: {
|
|
28
|
+
declare const CodeBlockContent: ({ code, language, showLineNumbers, className }: {
|
|
29
29
|
code: string;
|
|
30
30
|
language: BundledLanguage;
|
|
31
31
|
showLineNumbers?: boolean;
|
|
32
|
+
className?: string;
|
|
32
33
|
}) => react_jsx_runtime.JSX.Element;
|
|
33
34
|
declare const CodeBlock: ({ code, language, showLineNumbers, className, children, ...props }: CodeBlockProps) => react_jsx_runtime.JSX.Element;
|
|
34
35
|
type CodeBlockCopyButtonProps = ComponentProps<typeof Button> & {
|
|
@@ -25,10 +25,11 @@ declare const CodeBlockHeader: ({ children, className, ...props }: HTMLAttribute
|
|
|
25
25
|
declare const CodeBlockTitle: ({ children, className, ...props }: HTMLAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
26
26
|
declare const CodeBlockFilename: ({ children, className, ...props }: HTMLAttributes<HTMLSpanElement>) => react_jsx_runtime.JSX.Element;
|
|
27
27
|
declare const CodeBlockActions: ({ children, className, ...props }: HTMLAttributes<HTMLDivElement>) => react_jsx_runtime.JSX.Element;
|
|
28
|
-
declare const CodeBlockContent: ({ code, language, showLineNumbers, }: {
|
|
28
|
+
declare const CodeBlockContent: ({ code, language, showLineNumbers, className }: {
|
|
29
29
|
code: string;
|
|
30
30
|
language: BundledLanguage;
|
|
31
31
|
showLineNumbers?: boolean;
|
|
32
|
+
className?: string;
|
|
32
33
|
}) => react_jsx_runtime.JSX.Element;
|
|
33
34
|
declare const CodeBlock: ({ code, language, showLineNumbers, className, children, ...props }: CodeBlockProps) => react_jsx_runtime.JSX.Element;
|
|
34
35
|
type CodeBlockCopyButtonProps = ComponentProps<typeof Button> & {
|
|
@@ -163,7 +163,7 @@ const CodeBlockBody = memo(
|
|
|
163
163
|
"pre",
|
|
164
164
|
{
|
|
165
165
|
className: cn(
|
|
166
|
-
"dark:!bg-[var(--shiki-dark-bg)] dark:!text-[var(--shiki-dark)] m-0 p-4 text-
|
|
166
|
+
"dark:!bg-[var(--shiki-dark-bg)] dark:!text-[var(--shiki-dark)] m-0 p-4 text-base",
|
|
167
167
|
className
|
|
168
168
|
),
|
|
169
169
|
style: preStyle,
|
|
@@ -171,7 +171,7 @@ const CodeBlockBody = memo(
|
|
|
171
171
|
"code",
|
|
172
172
|
{
|
|
173
173
|
className: cn(
|
|
174
|
-
"font-mono
|
|
174
|
+
"font-mono",
|
|
175
175
|
showLineNumbers && "[counter-increment:line_0] [counter-reset:line]"
|
|
176
176
|
),
|
|
177
177
|
children: keyedLines.map((keyedLine) => /* @__PURE__ */ jsx(
|
|
@@ -251,7 +251,8 @@ const CodeBlockActions = ({
|
|
|
251
251
|
const CodeBlockContent = ({
|
|
252
252
|
code,
|
|
253
253
|
language,
|
|
254
|
-
showLineNumbers = false
|
|
254
|
+
showLineNumbers = false,
|
|
255
|
+
className
|
|
255
256
|
}) => {
|
|
256
257
|
const rawTokens = useMemo(() => createRawTokens(code), [code]);
|
|
257
258
|
const [tokenized, setTokenized] = useState(
|
|
@@ -269,7 +270,7 @@ const CodeBlockContent = ({
|
|
|
269
270
|
cancelled = true;
|
|
270
271
|
};
|
|
271
272
|
}, [code, language, rawTokens]);
|
|
272
|
-
return /* @__PURE__ */ jsx("div", { className: "relative overflow-auto", children: /* @__PURE__ */ jsx(CodeBlockBody, { showLineNumbers, tokenized }) });
|
|
273
|
+
return /* @__PURE__ */ jsx("div", { className: "relative overflow-auto", children: /* @__PURE__ */ jsx(CodeBlockBody, { showLineNumbers, tokenized, className }) });
|
|
273
274
|
};
|
|
274
275
|
const CodeBlock = ({
|
|
275
276
|
code,
|
|
@@ -287,7 +288,8 @@ const CodeBlock = ({
|
|
|
287
288
|
{
|
|
288
289
|
code,
|
|
289
290
|
language,
|
|
290
|
-
showLineNumbers
|
|
291
|
+
showLineNumbers,
|
|
292
|
+
className
|
|
291
293
|
}
|
|
292
294
|
)
|
|
293
295
|
] }) });
|
|
@@ -51,7 +51,7 @@ const CommitMessage = ({
|
|
|
51
51
|
className,
|
|
52
52
|
children,
|
|
53
53
|
...props
|
|
54
|
-
}) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _utils.cn.call(void 0, "font-medium text-
|
|
54
|
+
}) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _utils.cn.call(void 0, "font-medium text-base", className), ...props, children });
|
|
55
55
|
const CommitMetadata = ({
|
|
56
56
|
className,
|
|
57
57
|
children,
|
|
@@ -198,7 +198,7 @@ const CommitFile = ({
|
|
|
198
198
|
"div",
|
|
199
199
|
{
|
|
200
200
|
className: _utils.cn.call(void 0,
|
|
201
|
-
"flex items-center justify-between gap-2 rounded px-2 py-1 text-
|
|
201
|
+
"flex items-center justify-between gap-2 rounded px-2 py-1 text-base hover:bg-muted/50",
|
|
202
202
|
className
|
|
203
203
|
),
|
|
204
204
|
...props,
|
|
@@ -51,7 +51,7 @@ const CommitMessage = ({
|
|
|
51
51
|
className,
|
|
52
52
|
children,
|
|
53
53
|
...props
|
|
54
|
-
}) => /* @__PURE__ */ jsx("span", { className: cn("font-medium text-
|
|
54
|
+
}) => /* @__PURE__ */ jsx("span", { className: cn("font-medium text-base", className), ...props, children });
|
|
55
55
|
const CommitMetadata = ({
|
|
56
56
|
className,
|
|
57
57
|
children,
|
|
@@ -198,7 +198,7 @@ const CommitFile = ({
|
|
|
198
198
|
"div",
|
|
199
199
|
{
|
|
200
200
|
className: cn(
|
|
201
|
-
"flex items-center justify-between gap-2 rounded px-2 py-1 text-
|
|
201
|
+
"flex items-center justify-between gap-2 rounded px-2 py-1 text-base hover:bg-muted/50",
|
|
202
202
|
className
|
|
203
203
|
),
|
|
204
204
|
...props,
|
|
@@ -70,7 +70,7 @@ const ConfirmationActions = ({
|
|
|
70
70
|
}
|
|
71
71
|
);
|
|
72
72
|
};
|
|
73
|
-
const ConfirmationAction = (props) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _button.Button, { className: "h-8 px-3 text-
|
|
73
|
+
const ConfirmationAction = (props) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _button.Button, { className: "h-8 px-3 text-base", type: "button", ...props });
|
|
74
74
|
|
|
75
75
|
|
|
76
76
|
|
|
@@ -70,7 +70,7 @@ const ConfirmationActions = ({
|
|
|
70
70
|
}
|
|
71
71
|
);
|
|
72
72
|
};
|
|
73
|
-
const ConfirmationAction = (props) => /* @__PURE__ */ jsx(Button, { className: "h-8 px-3 text-
|
|
73
|
+
const ConfirmationAction = (props) => /* @__PURE__ */ jsx(Button, { className: "h-8 px-3 text-base", type: "button", ...props });
|
|
74
74
|
export {
|
|
75
75
|
Confirmation,
|
|
76
76
|
ConfirmationAccepted,
|
|
@@ -43,8 +43,8 @@ const ConversationEmptyState = ({
|
|
|
43
43
|
children: _nullishCoalesce(children, () => ( /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
44
44
|
icon && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "div", { className: "text-muted-foreground", children: icon }),
|
|
45
45
|
/* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: "space-y-1", children: [
|
|
46
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "font-medium text-
|
|
47
|
-
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-muted-foreground text-
|
|
46
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: "font-medium text-base", children: title }),
|
|
47
|
+
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "text-muted-foreground text-base", children: description })
|
|
48
48
|
] })
|
|
49
49
|
] })))
|
|
50
50
|
}
|
|
@@ -43,8 +43,8 @@ const ConversationEmptyState = ({
|
|
|
43
43
|
children: children ?? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
44
44
|
icon && /* @__PURE__ */ jsx("div", { className: "text-muted-foreground", children: icon }),
|
|
45
45
|
/* @__PURE__ */ jsxs("div", { className: "space-y-1", children: [
|
|
46
|
-
/* @__PURE__ */ jsx("h3", { className: "font-medium text-
|
|
47
|
-
description && /* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-
|
|
46
|
+
/* @__PURE__ */ jsx("h3", { className: "font-medium text-base", children: title }),
|
|
47
|
+
description && /* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-base", children: description })
|
|
48
48
|
] })
|
|
49
49
|
] })
|
|
50
50
|
}
|
|
@@ -69,7 +69,7 @@ const EnvironmentVariablesTitle = ({
|
|
|
69
69
|
className,
|
|
70
70
|
children,
|
|
71
71
|
...props
|
|
72
|
-
}) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: _utils.cn.call(void 0, "font-medium text-
|
|
72
|
+
}) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h3", { className: _utils.cn.call(void 0, "font-medium text-base", className), ...props, children: _nullishCoalesce(children, () => ( "Environment Variables")) });
|
|
73
73
|
const EnvironmentVariablesToggle = ({
|
|
74
74
|
className,
|
|
75
75
|
...props
|
|
@@ -131,7 +131,7 @@ const EnvironmentVariableName = ({
|
|
|
131
131
|
...props
|
|
132
132
|
}) => {
|
|
133
133
|
const { name } = _react.use.call(void 0, EnvironmentVariableContext);
|
|
134
|
-
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _utils.cn.call(void 0, "font-mono text-
|
|
134
|
+
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: _utils.cn.call(void 0, "font-mono text-base", className), ...props, children: _nullishCoalesce(children, () => ( name)) });
|
|
135
135
|
};
|
|
136
136
|
const EnvironmentVariableValue = ({
|
|
137
137
|
className,
|
|
@@ -145,7 +145,7 @@ const EnvironmentVariableValue = ({
|
|
|
145
145
|
"span",
|
|
146
146
|
{
|
|
147
147
|
className: _utils.cn.call(void 0,
|
|
148
|
-
"font-mono text-muted-foreground text-
|
|
148
|
+
"font-mono text-muted-foreground text-base",
|
|
149
149
|
!showValues && "select-none",
|
|
150
150
|
className
|
|
151
151
|
),
|
|
@@ -69,7 +69,7 @@ const EnvironmentVariablesTitle = ({
|
|
|
69
69
|
className,
|
|
70
70
|
children,
|
|
71
71
|
...props
|
|
72
|
-
}) => /* @__PURE__ */ jsx("h3", { className: cn("font-medium text-
|
|
72
|
+
}) => /* @__PURE__ */ jsx("h3", { className: cn("font-medium text-base", className), ...props, children: children ?? "Environment Variables" });
|
|
73
73
|
const EnvironmentVariablesToggle = ({
|
|
74
74
|
className,
|
|
75
75
|
...props
|
|
@@ -131,7 +131,7 @@ const EnvironmentVariableName = ({
|
|
|
131
131
|
...props
|
|
132
132
|
}) => {
|
|
133
133
|
const { name } = use(EnvironmentVariableContext);
|
|
134
|
-
return /* @__PURE__ */ jsx("span", { className: cn("font-mono text-
|
|
134
|
+
return /* @__PURE__ */ jsx("span", { className: cn("font-mono text-base", className), ...props, children: children ?? name });
|
|
135
135
|
};
|
|
136
136
|
const EnvironmentVariableValue = ({
|
|
137
137
|
className,
|
|
@@ -145,7 +145,7 @@ const EnvironmentVariableValue = ({
|
|
|
145
145
|
"span",
|
|
146
146
|
{
|
|
147
147
|
className: cn(
|
|
148
|
-
"font-mono text-muted-foreground text-
|
|
148
|
+
"font-mono text-muted-foreground text-base",
|
|
149
149
|
!showValues && "select-none",
|
|
150
150
|
className
|
|
151
151
|
),
|
|
@@ -185,9 +185,9 @@ const InlineCitationSource = ({
|
|
|
185
185
|
children,
|
|
186
186
|
...props
|
|
187
187
|
}) => /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _utils.cn.call(void 0, "space-y-1", className), ...props, children: [
|
|
188
|
-
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h4", { className: "truncate font-medium text-
|
|
188
|
+
title && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "h4", { className: "truncate font-medium text-base leading-tight", children: title }),
|
|
189
189
|
url && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "truncate break-all text-muted-foreground text-xs", children: url }),
|
|
190
|
-
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "line-clamp-3 text-muted-foreground text-
|
|
190
|
+
description && /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: "line-clamp-3 text-muted-foreground text-base leading-relaxed", children: description }),
|
|
191
191
|
children
|
|
192
192
|
] });
|
|
193
193
|
const InlineCitationQuote = ({
|
|
@@ -198,7 +198,7 @@ const InlineCitationQuote = ({
|
|
|
198
198
|
"blockquote",
|
|
199
199
|
{
|
|
200
200
|
className: _utils.cn.call(void 0,
|
|
201
|
-
"border-muted border-l-2 pl-3 text-muted-foreground text-
|
|
201
|
+
"border-muted border-l-2 pl-3 text-muted-foreground text-base italic",
|
|
202
202
|
className
|
|
203
203
|
),
|
|
204
204
|
...props,
|
|
@@ -185,9 +185,9 @@ const InlineCitationSource = ({
|
|
|
185
185
|
children,
|
|
186
186
|
...props
|
|
187
187
|
}) => /* @__PURE__ */ jsxs("div", { className: cn("space-y-1", className), ...props, children: [
|
|
188
|
-
title && /* @__PURE__ */ jsx("h4", { className: "truncate font-medium text-
|
|
188
|
+
title && /* @__PURE__ */ jsx("h4", { className: "truncate font-medium text-base leading-tight", children: title }),
|
|
189
189
|
url && /* @__PURE__ */ jsx("p", { className: "truncate break-all text-muted-foreground text-xs", children: url }),
|
|
190
|
-
description && /* @__PURE__ */ jsx("p", { className: "line-clamp-3 text-muted-foreground text-
|
|
190
|
+
description && /* @__PURE__ */ jsx("p", { className: "line-clamp-3 text-muted-foreground text-base leading-relaxed", children: description }),
|
|
191
191
|
children
|
|
192
192
|
] });
|
|
193
193
|
const InlineCitationQuote = ({
|
|
@@ -198,7 +198,7 @@ const InlineCitationQuote = ({
|
|
|
198
198
|
"blockquote",
|
|
199
199
|
{
|
|
200
200
|
className: cn(
|
|
201
|
-
"border-muted border-l-2 pl-3 text-muted-foreground text-
|
|
201
|
+
"border-muted border-l-2 pl-3 text-muted-foreground text-base italic",
|
|
202
202
|
className
|
|
203
203
|
),
|
|
204
204
|
...props,
|
|
@@ -155,7 +155,7 @@ const JSXPreviewError = _react.memo.call(void 0,
|
|
|
155
155
|
"div",
|
|
156
156
|
{
|
|
157
157
|
className: _utils.cn.call(void 0,
|
|
158
|
-
"flex items-center gap-2 rounded-md border border-destructive/50 bg-destructive/10 p-3 text-destructive text-
|
|
158
|
+
"flex items-center gap-2 rounded-md border border-destructive/50 bg-destructive/10 p-3 text-destructive text-base",
|
|
159
159
|
className
|
|
160
160
|
),
|
|
161
161
|
...props,
|
|
@@ -155,7 +155,7 @@ const JSXPreviewError = memo(
|
|
|
155
155
|
"div",
|
|
156
156
|
{
|
|
157
157
|
className: cn(
|
|
158
|
-
"flex items-center gap-2 rounded-md border border-destructive/50 bg-destructive/10 p-3 text-destructive text-
|
|
158
|
+
"flex items-center gap-2 rounded-md border border-destructive/50 bg-destructive/10 p-3 text-destructive text-base",
|
|
159
159
|
className
|
|
160
160
|
),
|
|
161
161
|
...props,
|
|
@@ -46,7 +46,7 @@ const MessageContent = ({
|
|
|
46
46
|
"div",
|
|
47
47
|
{
|
|
48
48
|
className: _utils.cn.call(void 0,
|
|
49
|
-
"is-user:dark flex w-fit min-w-0 max-w-full flex-col gap-2 overflow-hidden text-
|
|
49
|
+
"is-user:dark flex w-fit min-w-0 max-w-full flex-col gap-2 overflow-hidden text-base",
|
|
50
50
|
"group-[.is-user]:ml-auto group-[.is-user]:rounded-lg group-[.is-user]:bg-secondary group-[.is-user]:px-4 group-[.is-user]:py-3 group-[.is-user]:text-foreground",
|
|
51
51
|
"group-[.is-assistant]:text-foreground",
|
|
52
52
|
className
|
|
@@ -46,7 +46,7 @@ const MessageContent = ({
|
|
|
46
46
|
"div",
|
|
47
47
|
{
|
|
48
48
|
className: cn(
|
|
49
|
-
"is-user:dark flex w-fit min-w-0 max-w-full flex-col gap-2 overflow-hidden text-
|
|
49
|
+
"is-user:dark flex w-fit min-w-0 max-w-full flex-col gap-2 overflow-hidden text-base",
|
|
50
50
|
"group-[.is-user]:ml-auto group-[.is-user]:rounded-lg group-[.is-user]:bg-secondary group-[.is-user]:px-4 group-[.is-user]:py-3 group-[.is-user]:text-foreground",
|
|
51
51
|
"group-[.is-assistant]:text-foreground",
|
|
52
52
|
className
|
|
@@ -55,7 +55,7 @@ const PackageInfoName = ({
|
|
|
55
55
|
const { name } = _react.use.call(void 0, PackageInfoContext);
|
|
56
56
|
return /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, "div", { className: _utils.cn.call(void 0, "flex items-center gap-2", className), ...props, children: [
|
|
57
57
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, _lucidereact.PackageIcon, { className: "size-4 text-muted-foreground" }),
|
|
58
|
-
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "font-medium font-mono text-
|
|
58
|
+
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "font-medium font-mono text-base", children: _nullishCoalesce(children, () => ( name)) })
|
|
59
59
|
] });
|
|
60
60
|
};
|
|
61
61
|
const changeTypeStyles = {
|
|
@@ -111,7 +111,7 @@ const PackageInfoVersion = ({
|
|
|
111
111
|
"div",
|
|
112
112
|
{
|
|
113
113
|
className: _utils.cn.call(void 0,
|
|
114
|
-
"mt-2 flex items-center gap-2 font-mono text-muted-foreground text-
|
|
114
|
+
"mt-2 flex items-center gap-2 font-mono text-muted-foreground text-base",
|
|
115
115
|
className
|
|
116
116
|
),
|
|
117
117
|
...props,
|
|
@@ -127,7 +127,7 @@ const PackageInfoDescription = ({
|
|
|
127
127
|
className,
|
|
128
128
|
children,
|
|
129
129
|
...props
|
|
130
|
-
}) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: _utils.cn.call(void 0, "mt-2 text-muted-foreground text-
|
|
130
|
+
}) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, "p", { className: _utils.cn.call(void 0, "mt-2 text-muted-foreground text-base", className), ...props, children });
|
|
131
131
|
const PackageInfoContent = ({
|
|
132
132
|
className,
|
|
133
133
|
children,
|
|
@@ -150,7 +150,7 @@ const PackageInfoDependency = ({
|
|
|
150
150
|
}) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
151
151
|
"div",
|
|
152
152
|
{
|
|
153
|
-
className: _utils.cn.call(void 0, "flex items-center justify-between text-
|
|
153
|
+
className: _utils.cn.call(void 0, "flex items-center justify-between text-base", className),
|
|
154
154
|
...props,
|
|
155
155
|
children: _nullishCoalesce(children, () => ( /* @__PURE__ */ _jsxruntime.jsxs.call(void 0, _jsxruntime.Fragment, { children: [
|
|
156
156
|
/* @__PURE__ */ _jsxruntime.jsx.call(void 0, "span", { className: "font-mono text-muted-foreground", children: name }),
|