@agentaily/design-system 0.1.1 → 0.3.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/DESIGN.md +58 -7
- package/README.md +10 -6
- package/dist/components/ai/Confirmation.js +58 -22
- package/dist/components/ai/Confirmation.js.map +1 -1
- package/dist/components/ai/Queue.d.ts +23 -0
- package/dist/components/ai/Queue.js +52 -1
- package/dist/components/ai/Queue.js.map +1 -1
- package/dist/components/ai/ToolCall.js +69 -30
- package/dist/components/ai/ToolCall.js.map +1 -1
- package/dist/components/auth/AccountControl.d.ts +23 -0
- package/dist/components/auth/AccountControl.js +47 -0
- package/dist/components/auth/AccountControl.js.map +1 -0
- package/dist/components/auth/AuthDialog.d.ts +39 -0
- package/dist/components/auth/AuthDialog.js +327 -0
- package/dist/components/auth/AuthDialog.js.map +1 -0
- package/dist/components/auth/SignInPage.d.ts +48 -0
- package/dist/components/auth/SignInPage.js +217 -0
- package/dist/components/auth/SignInPage.js.map +1 -0
- package/dist/components/chat/CodeBlock.js +3 -2
- package/dist/components/chat/CodeBlock.js.map +1 -1
- package/dist/components/chat/ConversationThread.d.ts +67 -0
- package/dist/components/chat/ConversationThread.js +129 -0
- package/dist/components/chat/ConversationThread.js.map +1 -0
- package/dist/components/code/Artifact.js +44 -9
- package/dist/components/code/Artifact.js.map +1 -1
- package/dist/components/code/JSXPreview.js +19 -12
- package/dist/components/code/JSXPreview.js.map +1 -1
- package/dist/components/code/Snippet.js +2 -2
- package/dist/components/code/Snippet.js.map +1 -1
- package/dist/components/code/Terminal.js +24 -10
- package/dist/components/code/Terminal.js.map +1 -1
- package/dist/components/code/WebPreview.js +44 -10
- package/dist/components/code/WebPreview.js.map +1 -1
- package/dist/components/display/Skeleton.js +17 -4
- package/dist/components/display/Skeleton.js.map +1 -1
- package/dist/components/display/StatusPill.d.ts +12 -0
- package/dist/components/display/StatusPill.js +17 -0
- package/dist/components/display/StatusPill.js.map +1 -0
- package/dist/components/inputs/Form.d.ts +164 -0
- package/dist/components/inputs/Form.js +484 -0
- package/dist/components/inputs/Form.js.map +1 -0
- package/dist/components/inputs/Input.d.ts +2 -0
- package/dist/components/inputs/Input.js +14 -10
- package/dist/components/inputs/Input.js.map +1 -1
- package/dist/components/inputs/SecretField.d.ts +21 -0
- package/dist/components/inputs/SecretField.js +70 -0
- package/dist/components/inputs/SecretField.js.map +1 -0
- package/dist/components/layout/AppShell.d.ts +30 -0
- package/dist/components/layout/AppShell.js +117 -0
- package/dist/components/layout/AppShell.js.map +1 -0
- package/dist/components/layout/DesignerShell.d.ts +39 -0
- package/dist/components/layout/DesignerShell.js +146 -0
- package/dist/components/layout/DesignerShell.js.map +1 -0
- package/dist/components/layout/DocsLayout.d.ts +24 -0
- package/dist/components/layout/DocsLayout.js +113 -0
- package/dist/components/layout/DocsLayout.js.map +1 -0
- package/dist/components/layout/SettingsPage.d.ts +31 -0
- package/dist/components/layout/SettingsPage.js +92 -0
- package/dist/components/layout/SettingsPage.js.map +1 -0
- package/dist/components/review/MarkupLayer.d.ts +20 -0
- package/dist/components/review/MarkupLayer.js +237 -0
- package/dist/components/review/MarkupLayer.js.map +1 -0
- package/dist/components/settings/HelpSteps.d.ts +20 -0
- package/dist/components/settings/HelpSteps.js +40 -0
- package/dist/components/settings/HelpSteps.js.map +1 -0
- package/dist/components/settings/IntegrationSettings.d.ts +15 -0
- package/dist/components/settings/IntegrationSettings.js +630 -0
- package/dist/components/settings/IntegrationSettings.js.map +1 -0
- package/dist/components/settings/TestRow.d.ts +21 -0
- package/dist/components/settings/TestRow.js +66 -0
- package/dist/components/settings/TestRow.js.map +1 -0
- package/dist/components/utilities/BrandMark.d.ts +17 -0
- package/dist/components/utilities/BrandMark.js +43 -0
- package/dist/components/utilities/BrandMark.js.map +1 -0
- package/dist/components/utilities/Icon.d.ts +28 -0
- package/dist/components/utilities/Icon.js +196 -0
- package/dist/components/utilities/Icon.js.map +1 -0
- package/dist/index.d.ts +23 -0
- package/dist/index.js +35 -0
- package/dist/index.js.map +1 -1
- package/dist/styles.css +67 -64
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -16,6 +16,11 @@ export * from "./components/ai/Suggestion";
|
|
|
16
16
|
export * from "./components/ai/Task";
|
|
17
17
|
export * from "./components/ai/ToolCall";
|
|
18
18
|
|
|
19
|
+
// auth
|
|
20
|
+
export * from "./components/auth/AccountControl";
|
|
21
|
+
export * from "./components/auth/AuthDialog";
|
|
22
|
+
export * from "./components/auth/SignInPage";
|
|
23
|
+
|
|
19
24
|
// buttons
|
|
20
25
|
export * from "./components/buttons/Button";
|
|
21
26
|
export * from "./components/buttons/ButtonGroup";
|
|
@@ -24,6 +29,7 @@ export * from "./components/buttons/IconButton";
|
|
|
24
29
|
// chat
|
|
25
30
|
export * from "./components/chat/CodeBlock";
|
|
26
31
|
export * from "./components/chat/Composer";
|
|
32
|
+
export * from "./components/chat/ConversationThread";
|
|
27
33
|
export * from "./components/chat/Message";
|
|
28
34
|
|
|
29
35
|
// code
|
|
@@ -59,6 +65,7 @@ export * from "./components/display/Pagination";
|
|
|
59
65
|
export * from "./components/display/Progress";
|
|
60
66
|
export * from "./components/display/Separator";
|
|
61
67
|
export * from "./components/display/Skeleton";
|
|
68
|
+
export * from "./components/display/StatusPill";
|
|
62
69
|
export * from "./components/display/Table";
|
|
63
70
|
export * from "./components/display/Tabs";
|
|
64
71
|
export * from "./components/display/Typography";
|
|
@@ -76,11 +83,13 @@ export * from "./components/inputs/Checkbox";
|
|
|
76
83
|
export * from "./components/inputs/Combobox";
|
|
77
84
|
export * from "./components/inputs/DatePicker";
|
|
78
85
|
export * from "./components/inputs/Field";
|
|
86
|
+
export * from "./components/inputs/Form";
|
|
79
87
|
export * from "./components/inputs/Input";
|
|
80
88
|
export * from "./components/inputs/InputGroup";
|
|
81
89
|
export * from "./components/inputs/InputOTP";
|
|
82
90
|
export * from "./components/inputs/Label";
|
|
83
91
|
export * from "./components/inputs/RadioGroup";
|
|
92
|
+
export * from "./components/inputs/SecretField";
|
|
84
93
|
export * from "./components/inputs/Select";
|
|
85
94
|
export * from "./components/inputs/Slider";
|
|
86
95
|
export * from "./components/inputs/Switch";
|
|
@@ -88,9 +97,13 @@ export * from "./components/inputs/Textarea";
|
|
|
88
97
|
export * from "./components/inputs/Toggle";
|
|
89
98
|
|
|
90
99
|
// layout
|
|
100
|
+
export * from "./components/layout/AppShell";
|
|
91
101
|
export * from "./components/layout/AspectRatio";
|
|
102
|
+
export * from "./components/layout/DesignerShell";
|
|
103
|
+
export * from "./components/layout/DocsLayout";
|
|
92
104
|
export * from "./components/layout/Resizable";
|
|
93
105
|
export * from "./components/layout/ScrollArea";
|
|
106
|
+
export * from "./components/layout/SettingsPage";
|
|
94
107
|
export * from "./components/layout/Sidebar";
|
|
95
108
|
|
|
96
109
|
// overlay
|
|
@@ -104,7 +117,17 @@ export * from "./components/overlay/NavigationMenu";
|
|
|
104
117
|
export * from "./components/overlay/Popover";
|
|
105
118
|
export * from "./components/overlay/Sheet";
|
|
106
119
|
|
|
120
|
+
// review
|
|
121
|
+
export * from "./components/review/MarkupLayer";
|
|
122
|
+
|
|
123
|
+
// settings
|
|
124
|
+
export * from "./components/settings/HelpSteps";
|
|
125
|
+
export * from "./components/settings/IntegrationSettings";
|
|
126
|
+
export * from "./components/settings/TestRow";
|
|
127
|
+
|
|
107
128
|
// utilities
|
|
129
|
+
export * from "./components/utilities/BrandMark";
|
|
130
|
+
export * from "./components/utilities/Icon";
|
|
108
131
|
export * from "./components/utilities/Image";
|
|
109
132
|
export * from "./components/utilities/OpenInChat";
|
|
110
133
|
|
package/dist/index.js
CHANGED
|
@@ -12,11 +12,15 @@ import { Citation, Sources } from "./components/ai/Sources.js";
|
|
|
12
12
|
import { Suggestion, Suggestions } from "./components/ai/Suggestion.js";
|
|
13
13
|
import { Task } from "./components/ai/Task.js";
|
|
14
14
|
import { ToolCall } from "./components/ai/ToolCall.js";
|
|
15
|
+
import { AccountControl } from "./components/auth/AccountControl.js";
|
|
16
|
+
import { AuthDialog } from "./components/auth/AuthDialog.js";
|
|
17
|
+
import { SignInPage } from "./components/auth/SignInPage.js";
|
|
15
18
|
import { Button } from "./components/buttons/Button.js";
|
|
16
19
|
import { ButtonGroup } from "./components/buttons/ButtonGroup.js";
|
|
17
20
|
import { IconButton } from "./components/buttons/IconButton.js";
|
|
18
21
|
import { CodeBlock } from "./components/chat/CodeBlock.js";
|
|
19
22
|
import { Composer } from "./components/chat/Composer.js";
|
|
23
|
+
import { ConversationThread } from "./components/chat/ConversationThread.js";
|
|
20
24
|
import { Message } from "./components/chat/Message.js";
|
|
21
25
|
import { Agent } from "./components/code/Agent.js";
|
|
22
26
|
import { Artifact } from "./components/code/Artifact.js";
|
|
@@ -48,6 +52,7 @@ import { Pagination } from "./components/display/Pagination.js";
|
|
|
48
52
|
import { Progress } from "./components/display/Progress.js";
|
|
49
53
|
import { Separator } from "./components/display/Separator.js";
|
|
50
54
|
import { Skeleton } from "./components/display/Skeleton.js";
|
|
55
|
+
import { StatusPill } from "./components/display/StatusPill.js";
|
|
51
56
|
import { Table } from "./components/display/Table.js";
|
|
52
57
|
import { Tabs } from "./components/display/Tabs.js";
|
|
53
58
|
import { Prose, Text, Typography } from "./components/display/Typography.js";
|
|
@@ -61,19 +66,25 @@ import { Checkbox } from "./components/inputs/Checkbox.js";
|
|
|
61
66
|
import { Combobox } from "./components/inputs/Combobox.js";
|
|
62
67
|
import { DatePicker } from "./components/inputs/DatePicker.js";
|
|
63
68
|
import { Field, FieldGroup } from "./components/inputs/Field.js";
|
|
69
|
+
import { Form, FormActions } from "./components/inputs/Form.js";
|
|
64
70
|
import { Input } from "./components/inputs/Input.js";
|
|
65
71
|
import { InputGroup } from "./components/inputs/InputGroup.js";
|
|
66
72
|
import { InputOTP } from "./components/inputs/InputOTP.js";
|
|
67
73
|
import { Label } from "./components/inputs/Label.js";
|
|
68
74
|
import { RadioGroup } from "./components/inputs/RadioGroup.js";
|
|
75
|
+
import { SecretField } from "./components/inputs/SecretField.js";
|
|
69
76
|
import { Select } from "./components/inputs/Select.js";
|
|
70
77
|
import { Slider } from "./components/inputs/Slider.js";
|
|
71
78
|
import { Switch } from "./components/inputs/Switch.js";
|
|
72
79
|
import { Textarea } from "./components/inputs/Textarea.js";
|
|
73
80
|
import { Toggle, ToggleGroup } from "./components/inputs/Toggle.js";
|
|
81
|
+
import { AppShell } from "./components/layout/AppShell.js";
|
|
74
82
|
import { AspectRatio } from "./components/layout/AspectRatio.js";
|
|
83
|
+
import { DesignerShell } from "./components/layout/DesignerShell.js";
|
|
84
|
+
import { DocsLayout } from "./components/layout/DocsLayout.js";
|
|
75
85
|
import { Resizable } from "./components/layout/Resizable.js";
|
|
76
86
|
import { ScrollArea } from "./components/layout/ScrollArea.js";
|
|
87
|
+
import { SettingsPage } from "./components/layout/SettingsPage.js";
|
|
77
88
|
import { Sidebar } from "./components/layout/Sidebar.js";
|
|
78
89
|
import { AlertDialog } from "./components/overlay/AlertDialog.js";
|
|
79
90
|
import { Command } from "./components/overlay/Command.js";
|
|
@@ -84,6 +95,12 @@ import { Menubar } from "./components/overlay/Menubar.js";
|
|
|
84
95
|
import { NavigationMenu } from "./components/overlay/NavigationMenu.js";
|
|
85
96
|
import { Popover } from "./components/overlay/Popover.js";
|
|
86
97
|
import { Sheet } from "./components/overlay/Sheet.js";
|
|
98
|
+
import { MarkupLayer } from "./components/review/MarkupLayer.js";
|
|
99
|
+
import { HelpSteps } from "./components/settings/HelpSteps.js";
|
|
100
|
+
import { IntegrationSettings } from "./components/settings/IntegrationSettings.js";
|
|
101
|
+
import { TestRow } from "./components/settings/TestRow.js";
|
|
102
|
+
import { BrandMark } from "./components/utilities/BrandMark.js";
|
|
103
|
+
import { Icon } from "./components/utilities/Icon.js";
|
|
87
104
|
import { Image } from "./components/utilities/Image.js";
|
|
88
105
|
import { OpenInChat } from "./components/utilities/OpenInChat.js";
|
|
89
106
|
import { AudioPlayer } from "./components/voice/AudioPlayer.js";
|
|
@@ -95,16 +112,20 @@ import { VoiceSelector } from "./components/voice/VoiceSelector.js";
|
|
|
95
112
|
import { Canvas, Connection, Controls, Edge, Flow, Node, Panel, Toolbar } from "./components/workflow/Flow.js";
|
|
96
113
|
export {
|
|
97
114
|
Accordion,
|
|
115
|
+
AccountControl,
|
|
98
116
|
Agent,
|
|
99
117
|
Alert,
|
|
100
118
|
AlertDialog,
|
|
119
|
+
AppShell,
|
|
101
120
|
Artifact,
|
|
102
121
|
AspectRatio,
|
|
103
122
|
Attachments,
|
|
104
123
|
AudioPlayer,
|
|
124
|
+
AuthDialog,
|
|
105
125
|
Avatar,
|
|
106
126
|
Badge,
|
|
107
127
|
BarChart,
|
|
128
|
+
BrandMark,
|
|
108
129
|
Breadcrumb,
|
|
109
130
|
Button,
|
|
110
131
|
ButtonGroup,
|
|
@@ -128,9 +149,12 @@ export {
|
|
|
128
149
|
ContextMenu,
|
|
129
150
|
Controls,
|
|
130
151
|
Conversation,
|
|
152
|
+
ConversationThread,
|
|
131
153
|
DataTable,
|
|
132
154
|
DatePicker,
|
|
155
|
+
DesignerShell,
|
|
133
156
|
Dialog,
|
|
157
|
+
DocsLayout,
|
|
134
158
|
DropdownMenu,
|
|
135
159
|
Edge,
|
|
136
160
|
Empty,
|
|
@@ -139,17 +163,23 @@ export {
|
|
|
139
163
|
FieldGroup,
|
|
140
164
|
FileTree,
|
|
141
165
|
Flow,
|
|
166
|
+
Form,
|
|
167
|
+
FormActions,
|
|
168
|
+
HelpSteps,
|
|
142
169
|
HoverCard,
|
|
170
|
+
Icon,
|
|
143
171
|
IconButton,
|
|
144
172
|
Image,
|
|
145
173
|
Input,
|
|
146
174
|
InputGroup,
|
|
147
175
|
InputOTP,
|
|
176
|
+
IntegrationSettings,
|
|
148
177
|
Item,
|
|
149
178
|
JSXPreview,
|
|
150
179
|
Kbd,
|
|
151
180
|
Label,
|
|
152
181
|
LineChart,
|
|
182
|
+
MarkupLayer,
|
|
153
183
|
Menubar,
|
|
154
184
|
Message,
|
|
155
185
|
MicSelector,
|
|
@@ -172,11 +202,14 @@ export {
|
|
|
172
202
|
Sandbox,
|
|
173
203
|
SchemaDisplay,
|
|
174
204
|
ScrollArea,
|
|
205
|
+
SecretField,
|
|
175
206
|
Select,
|
|
176
207
|
Separator,
|
|
208
|
+
SettingsPage,
|
|
177
209
|
Sheet,
|
|
178
210
|
Shimmer,
|
|
179
211
|
Sidebar,
|
|
212
|
+
SignInPage,
|
|
180
213
|
Skeleton,
|
|
181
214
|
Slider,
|
|
182
215
|
Snippet,
|
|
@@ -184,6 +217,7 @@ export {
|
|
|
184
217
|
SpeechInput,
|
|
185
218
|
Spinner,
|
|
186
219
|
StackTrace,
|
|
220
|
+
StatusPill,
|
|
187
221
|
Suggestion,
|
|
188
222
|
Suggestions,
|
|
189
223
|
Switch,
|
|
@@ -192,6 +226,7 @@ export {
|
|
|
192
226
|
Task,
|
|
193
227
|
Terminal,
|
|
194
228
|
TestResults,
|
|
229
|
+
TestRow,
|
|
195
230
|
Text,
|
|
196
231
|
Textarea,
|
|
197
232
|
Toast,
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/styles.css
CHANGED
|
@@ -9,33 +9,33 @@
|
|
|
9
9
|
/* src/tokens/colors.css */
|
|
10
10
|
/* ============================================================
|
|
11
11
|
Agentaily — color system
|
|
12
|
-
Monochrome-first.
|
|
13
|
-
|
|
12
|
+
Monochrome-first. Light is the default theme (:root);
|
|
13
|
+
dark theme is scoped under [data-theme="dark"].
|
|
14
14
|
The "accent" is the inverted foreground — no hue, all contrast.
|
|
15
15
|
============================================================ */
|
|
16
16
|
:root {
|
|
17
|
-
/* ---- base scale:
|
|
18
|
-
--bg-0: #
|
|
19
|
-
--bg-1: #
|
|
20
|
-
--bg-2: #
|
|
21
|
-
--bg-3: #
|
|
22
|
-
--bg-overlay: rgba(
|
|
23
|
-
--fg-1: #
|
|
24
|
-
--fg-2: #
|
|
25
|
-
--fg-3: #
|
|
26
|
-
--line-1: rgba(
|
|
27
|
-
--line-2: rgba(
|
|
17
|
+
/* ---- base scale: paper (light theme) ---- */
|
|
18
|
+
--bg-0: #ffffff; /* page canvas */
|
|
19
|
+
--bg-1: #fafafa; /* raised panels, sidebar */
|
|
20
|
+
--bg-2: #f4f4f5; /* cards, composer */
|
|
21
|
+
--bg-3: #e9e9eb; /* hover fills, code blocks */
|
|
22
|
+
--bg-overlay: rgba(250, 250, 250, 0.72);
|
|
23
|
+
--fg-1: #111113; /* primary text */
|
|
24
|
+
--fg-2: #5d5d66; /* secondary text */
|
|
25
|
+
--fg-3: #9c9ca3; /* faint text, placeholders */
|
|
26
|
+
--line-1: rgba(17, 17, 19, 0.09); /* hairline borders */
|
|
27
|
+
--line-2: rgba(17, 17, 19, 0.16); /* strong borders */
|
|
28
28
|
/* ---- accent: pure mono inversion ---- */
|
|
29
|
-
--accent: #
|
|
30
|
-
--accent-fg: #
|
|
31
|
-
--accent-hover: #
|
|
29
|
+
--accent: #111113; /* filled buttons, active states */
|
|
30
|
+
--accent-fg: #fafafa; /* text on accent */
|
|
31
|
+
--accent-hover: #2a2a2e;
|
|
32
32
|
/* ---- semantic (kept desaturated, used sparingly) ---- */
|
|
33
|
-
--ok: #
|
|
34
|
-
--warn: #
|
|
35
|
-
--danger: #
|
|
36
|
-
--ok-dim: rgba(
|
|
37
|
-
--warn-dim: rgba(
|
|
38
|
-
--danger-dim: rgba(
|
|
33
|
+
--ok: #1c9e68;
|
|
34
|
+
--warn: #b07d14;
|
|
35
|
+
--danger: #d33338;
|
|
36
|
+
--ok-dim: rgba(28, 158, 104, 0.1);
|
|
37
|
+
--warn-dim: rgba(176, 125, 20, 0.12);
|
|
38
|
+
--danger-dim: rgba(211, 51, 56, 0.08);
|
|
39
39
|
/* ---- semantic aliases ---- */
|
|
40
40
|
--surface-page: var(--bg-0);
|
|
41
41
|
--surface-panel: var(--bg-1);
|
|
@@ -46,37 +46,37 @@
|
|
|
46
46
|
--text-faint: var(--fg-3);
|
|
47
47
|
--border-default: var(--line-1);
|
|
48
48
|
--border-strong: var(--line-2);
|
|
49
|
-
--focus-ring: rgba(250, 250, 250, 0.55);
|
|
50
|
-
--focus-soft: rgba(250, 250, 250, 0.13); /* @kind other */ /* glow ring on field focus */
|
|
51
|
-
/* dot-grid motif background */
|
|
52
|
-
--dot-grid: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px); /* @kind other */
|
|
53
|
-
color-scheme: dark;
|
|
54
|
-
}
|
|
55
|
-
[data-theme="light"] {
|
|
56
|
-
--bg-0: #FFFFFF;
|
|
57
|
-
--bg-1: #FAFAFA;
|
|
58
|
-
--bg-2: #F4F4F5;
|
|
59
|
-
--bg-3: #E9E9EB;
|
|
60
|
-
--bg-overlay: rgba(250, 250, 250, 0.72);
|
|
61
|
-
--fg-1: #111113;
|
|
62
|
-
--fg-2: #5D5D66;
|
|
63
|
-
--fg-3: #9C9CA3;
|
|
64
|
-
--line-1: rgba(17, 17, 19, 0.09);
|
|
65
|
-
--line-2: rgba(17, 17, 19, 0.16);
|
|
66
|
-
--accent: #111113;
|
|
67
|
-
--accent-fg: #FAFAFA;
|
|
68
|
-
--accent-hover: #2A2A2E;
|
|
69
|
-
--ok: #1C9E68;
|
|
70
|
-
--warn: #B07D14;
|
|
71
|
-
--danger: #D33338;
|
|
72
|
-
--ok-dim: rgba(28, 158, 104, 0.1);
|
|
73
|
-
--warn-dim: rgba(176, 125, 20, 0.12);
|
|
74
|
-
--danger-dim: rgba(211, 51, 56, 0.08);
|
|
75
49
|
--focus-ring: rgba(17, 17, 19, 0.45);
|
|
76
|
-
--focus-soft: rgba(17, 17, 19, 0.
|
|
50
|
+
--focus-soft: rgba(17, 17, 19, 0.1); /* @kind other */ /* glow ring on field focus */
|
|
51
|
+
/* dot-grid motif background */
|
|
77
52
|
--dot-grid: radial-gradient(rgba(17, 17, 19, 0.1) 1px, transparent 1px); /* @kind other */
|
|
78
53
|
color-scheme: light;
|
|
79
54
|
}
|
|
55
|
+
[data-theme="dark"] {
|
|
56
|
+
--bg-0: #0a0a0b;
|
|
57
|
+
--bg-1: #111113;
|
|
58
|
+
--bg-2: #18181b;
|
|
59
|
+
--bg-3: #212124;
|
|
60
|
+
--bg-overlay: rgba(10, 10, 11, 0.72);
|
|
61
|
+
--fg-1: #f4f4f5;
|
|
62
|
+
--fg-2: #a1a1aa;
|
|
63
|
+
--fg-3: #63636b;
|
|
64
|
+
--line-1: rgba(255, 255, 255, 0.08);
|
|
65
|
+
--line-2: rgba(255, 255, 255, 0.14);
|
|
66
|
+
--accent: #fafafa;
|
|
67
|
+
--accent-fg: #0a0a0b;
|
|
68
|
+
--accent-hover: #e4e4e7;
|
|
69
|
+
--ok: #3ecf8e;
|
|
70
|
+
--warn: #e8b339;
|
|
71
|
+
--danger: #e5484d;
|
|
72
|
+
--ok-dim: rgba(62, 207, 142, 0.12);
|
|
73
|
+
--warn-dim: rgba(232, 179, 57, 0.12);
|
|
74
|
+
--danger-dim: rgba(229, 72, 77, 0.12);
|
|
75
|
+
--focus-ring: rgba(250, 250, 250, 0.55);
|
|
76
|
+
--focus-soft: rgba(250, 250, 250, 0.13); /* @kind other */
|
|
77
|
+
--dot-grid: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px); /* @kind other */
|
|
78
|
+
color-scheme: dark;
|
|
79
|
+
}
|
|
80
80
|
/* src/tokens/typography.css */
|
|
81
81
|
/* ============================================================
|
|
82
82
|
Agentaily — typography
|
|
@@ -131,7 +131,9 @@
|
|
|
131
131
|
/* layout */
|
|
132
132
|
--container-max: 1120px;
|
|
133
133
|
--sidebar-w: 272px;
|
|
134
|
-
--thread-max: 760px;
|
|
134
|
+
--thread-max: 760px; /* chat reading column */
|
|
135
|
+
--topbar-h: 52px; /* app top bar (brand / crumb / actions) */
|
|
136
|
+
--bar-h: 48px; /* pane sub-bar (chat header, preview header, toolbars) — keep panes aligned */
|
|
135
137
|
}
|
|
136
138
|
/* src/tokens/effects.css */
|
|
137
139
|
/* ============================================================
|
|
@@ -141,28 +143,29 @@
|
|
|
141
143
|
============================================================ */
|
|
142
144
|
:root {
|
|
143
145
|
/* radii — kept deliberately small */
|
|
144
|
-
--radius-1: 2px;
|
|
145
|
-
--radius-2: 4px;
|
|
146
|
-
--radius-3: 8px;
|
|
146
|
+
--radius-1: 2px; /* chips, kbd, code tags */
|
|
147
|
+
--radius-2: 4px; /* buttons, inputs */
|
|
148
|
+
--radius-3: 8px; /* cards, message bubbles, dialogs */
|
|
147
149
|
--radius-full: 999px;
|
|
148
|
-
/* shadows —
|
|
149
|
-
--shadow-1: 0 1px 2px rgba(
|
|
150
|
-
--shadow-2: 0 4px 16px rgba(
|
|
151
|
-
--shadow-3: 0 16px 48px rgba(
|
|
150
|
+
/* shadows — light theme uses soft ambient shadows */
|
|
151
|
+
--shadow-1: 0 1px 2px rgba(17, 17, 19, 0.06);
|
|
152
|
+
--shadow-2: 0 4px 16px rgba(17, 17, 19, 0.08);
|
|
153
|
+
--shadow-3: 0 16px 48px rgba(17, 17, 19, 0.14);
|
|
152
154
|
/* motion */
|
|
153
155
|
--ease-out: cubic-bezier(0.2, 0, 0, 1); /* @kind other */
|
|
154
|
-
--dur-1: 120ms; /* @kind other */
|
|
155
|
-
--dur-2: 200ms; /* @kind other */
|
|
156
|
-
--dur-3: 320ms; /* @kind other */
|
|
156
|
+
--dur-1: 120ms; /* @kind other */ /* hovers, presses */
|
|
157
|
+
--dur-2: 200ms; /* @kind other */ /* reveals, toggles */
|
|
158
|
+
--dur-3: 320ms; /* @kind other */ /* dialogs, page-level */
|
|
157
159
|
/* focus */
|
|
158
160
|
--ring: 0 0 0 2px var(--surface-page), 0 0 0 4px var(--focus-ring);
|
|
159
161
|
/* blur */
|
|
160
162
|
--blur-overlay: 12px;
|
|
161
163
|
}
|
|
162
|
-
[data-theme="
|
|
163
|
-
|
|
164
|
-
--shadow-
|
|
165
|
-
--shadow-
|
|
164
|
+
[data-theme="dark"] {
|
|
165
|
+
/* dark theme leans on borders, not shadows */
|
|
166
|
+
--shadow-1: 0 1px 2px rgba(0, 0, 0, 0.25);
|
|
167
|
+
--shadow-2: 0 4px 16px rgba(0, 0, 0, 0.35);
|
|
168
|
+
--shadow-3: 0 16px 48px rgba(0, 0, 0, 0.5);
|
|
166
169
|
}
|
|
167
170
|
/* src/tokens/base.css */
|
|
168
171
|
/* ============================================================
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agentaily/design-system",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "Agentaily design system —
|
|
3
|
+
"version": "0.3.0",
|
|
4
|
+
"description": "Agentaily design system — light-first monochrome React component library (112 components) + Storybook.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "UNLICENSED",
|
|
7
7
|
"author": "Agentaily",
|