@elizaos/ui 2.0.0-alpha.37
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/LICENSE +21 -0
- package/README.md +6 -0
- package/dist/components/ui/badge.d.ts +10 -0
- package/dist/components/ui/badge.d.ts.map +1 -0
- package/dist/components/ui/badge.js +20 -0
- package/dist/components/ui/banner.d.ts +18 -0
- package/dist/components/ui/banner.d.ts.map +1 -0
- package/dist/components/ui/banner.js +27 -0
- package/dist/components/ui/button.d.ts +12 -0
- package/dist/components/ui/button.d.ts.map +1 -0
- package/dist/components/ui/button.js +33 -0
- package/dist/components/ui/card.d.ts +9 -0
- package/dist/components/ui/card.d.ts.map +1 -0
- package/dist/components/ui/card.js +16 -0
- package/dist/components/ui/chat-atoms.d.ts +26 -0
- package/dist/components/ui/chat-atoms.d.ts.map +1 -0
- package/dist/components/ui/chat-atoms.js +17 -0
- package/dist/components/ui/checkbox.d.ts +5 -0
- package/dist/components/ui/checkbox.d.ts.map +1 -0
- package/dist/components/ui/checkbox.js +8 -0
- package/dist/components/ui/confirm-delete.d.ts +12 -0
- package/dist/components/ui/confirm-delete.d.ts.map +1 -0
- package/dist/components/ui/confirm-delete.js +13 -0
- package/dist/components/ui/confirm-dialog.d.ts +24 -0
- package/dist/components/ui/confirm-dialog.d.ts.map +1 -0
- package/dist/components/ui/confirm-dialog.js +55 -0
- package/dist/components/ui/connection-status.d.ts +9 -0
- package/dist/components/ui/connection-status.d.ts.map +1 -0
- package/dist/components/ui/connection-status.js +25 -0
- package/dist/components/ui/copy-button.d.ts +13 -0
- package/dist/components/ui/copy-button.d.ts.map +1 -0
- package/dist/components/ui/copy-button.js +14 -0
- package/dist/components/ui/dialog.d.ts +20 -0
- package/dist/components/ui/dialog.d.ts.map +1 -0
- package/dist/components/ui/dialog.js +22 -0
- package/dist/components/ui/dropdown-menu.d.ts +28 -0
- package/dist/components/ui/dropdown-menu.d.ts.map +1 -0
- package/dist/components/ui/dropdown-menu.js +35 -0
- package/dist/components/ui/empty-state.d.ts +13 -0
- package/dist/components/ui/empty-state.d.ts.map +1 -0
- package/dist/components/ui/empty-state.js +5 -0
- package/dist/components/ui/error-boundary.d.ts +18 -0
- package/dist/components/ui/error-boundary.d.ts.map +1 -0
- package/dist/components/ui/error-boundary.js +27 -0
- package/dist/components/ui/grid.d.ts +11 -0
- package/dist/components/ui/grid.d.ts.map +1 -0
- package/dist/components/ui/grid.js +30 -0
- package/dist/components/ui/input.d.ts +6 -0
- package/dist/components/ui/input.d.ts.map +1 -0
- package/dist/components/ui/input.js +8 -0
- package/dist/components/ui/label.d.ts +6 -0
- package/dist/components/ui/label.d.ts.map +1 -0
- package/dist/components/ui/label.js +9 -0
- package/dist/components/ui/popover.d.ts +7 -0
- package/dist/components/ui/popover.d.ts.map +1 -0
- package/dist/components/ui/popover.js +9 -0
- package/dist/components/ui/save-footer.d.ts +13 -0
- package/dist/components/ui/save-footer.d.ts.map +1 -0
- package/dist/components/ui/save-footer.js +9 -0
- package/dist/components/ui/search-bar.d.ts +17 -0
- package/dist/components/ui/search-bar.d.ts.map +1 -0
- package/dist/components/ui/search-bar.js +19 -0
- package/dist/components/ui/search-input.d.ts +11 -0
- package/dist/components/ui/search-input.d.ts.map +1 -0
- package/dist/components/ui/search-input.js +9 -0
- package/dist/components/ui/section-card.d.ts +15 -0
- package/dist/components/ui/section-card.d.ts.map +1 -0
- package/dist/components/ui/section-card.js +9 -0
- package/dist/components/ui/select.d.ts +14 -0
- package/dist/components/ui/select.d.ts.map +1 -0
- package/dist/components/ui/select.js +26 -0
- package/dist/components/ui/separator.d.ts +5 -0
- package/dist/components/ui/separator.d.ts.map +1 -0
- package/dist/components/ui/separator.js +7 -0
- package/dist/components/ui/skeleton.d.ts +17 -0
- package/dist/components/ui/skeleton.d.ts.map +1 -0
- package/dist/components/ui/skeleton.js +25 -0
- package/dist/components/ui/slider.d.ts +5 -0
- package/dist/components/ui/slider.d.ts.map +1 -0
- package/dist/components/ui/slider.js +7 -0
- package/dist/components/ui/sonner.d.ts +5 -0
- package/dist/components/ui/sonner.d.ts.map +1 -0
- package/dist/components/ui/sonner.js +15 -0
- package/dist/components/ui/spinner.d.ts +6 -0
- package/dist/components/ui/spinner.d.ts.map +1 -0
- package/dist/components/ui/spinner.js +8 -0
- package/dist/components/ui/stack.d.ts +13 -0
- package/dist/components/ui/stack.d.ts.map +1 -0
- package/dist/components/ui/stack.js +39 -0
- package/dist/components/ui/status-badge.d.ts +20 -0
- package/dist/components/ui/status-badge.d.ts.map +1 -0
- package/dist/components/ui/status-badge.js +41 -0
- package/dist/components/ui/switch.d.ts +5 -0
- package/dist/components/ui/switch.d.ts.map +1 -0
- package/dist/components/ui/switch.js +7 -0
- package/dist/components/ui/tabs.d.ts +8 -0
- package/dist/components/ui/tabs.d.ts.map +1 -0
- package/dist/components/ui/tabs.js +12 -0
- package/dist/components/ui/tag-editor.d.ts +24 -0
- package/dist/components/ui/tag-editor.d.ts.map +1 -0
- package/dist/components/ui/tag-editor.js +32 -0
- package/dist/components/ui/tag-input.d.ts +19 -0
- package/dist/components/ui/tag-input.d.ts.map +1 -0
- package/dist/components/ui/tag-input.js +28 -0
- package/dist/components/ui/textarea.d.ts +6 -0
- package/dist/components/ui/textarea.d.ts.map +1 -0
- package/dist/components/ui/textarea.js +8 -0
- package/dist/components/ui/themed-select.d.ts +27 -0
- package/dist/components/ui/themed-select.d.ts.map +1 -0
- package/dist/components/ui/themed-select.js +57 -0
- package/dist/components/ui/tooltip-extended.d.ts +76 -0
- package/dist/components/ui/tooltip-extended.d.ts.map +1 -0
- package/dist/components/ui/tooltip-extended.js +128 -0
- package/dist/components/ui/tooltip.d.ts +8 -0
- package/dist/components/ui/tooltip.d.ts.map +1 -0
- package/dist/components/ui/tooltip.js +10 -0
- package/dist/components/ui/typography.d.ts +17 -0
- package/dist/components/ui/typography.d.ts.map +1 -0
- package/dist/components/ui/typography.js +44 -0
- package/dist/index.d.ts +42 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +43 -0
- package/dist/lib/button-styles.d.ts +12 -0
- package/dist/lib/button-styles.d.ts.map +1 -0
- package/dist/lib/button-styles.js +11 -0
- package/dist/lib/utils.d.ts +6 -0
- package/dist/lib/utils.d.ts.map +1 -0
- package/dist/lib/utils.js +8 -0
- package/dist/package.json +69 -0
- package/dist/styles/theme.css +193 -0
- package/package.json +94 -0
- package/src/styles/theme.css +193 -0
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
@theme default {
|
|
2
|
+
--color-bg: var(--bg);
|
|
3
|
+
--color-bg-accent: var(--bg-accent);
|
|
4
|
+
--color-bg-elevated: var(--bg-elevated);
|
|
5
|
+
--color-bg-hover: var(--bg-hover);
|
|
6
|
+
--color-bg-muted: var(--bg-muted);
|
|
7
|
+
|
|
8
|
+
--color-card: var(--card);
|
|
9
|
+
--color-card-fg: var(--card-foreground);
|
|
10
|
+
--color-surface: var(--surface);
|
|
11
|
+
|
|
12
|
+
--color-txt: var(--text);
|
|
13
|
+
--color-txt-strong: var(--text-strong);
|
|
14
|
+
--color-txt-chat: var(--chat-text);
|
|
15
|
+
--color-muted: var(--muted);
|
|
16
|
+
--color-muted-strong: var(--muted-strong);
|
|
17
|
+
|
|
18
|
+
--color-border: var(--border);
|
|
19
|
+
--color-border-strong: var(--border-strong);
|
|
20
|
+
--color-border-hover: var(--border-hover);
|
|
21
|
+
--color-input: var(--input);
|
|
22
|
+
--color-ring: var(--ring);
|
|
23
|
+
|
|
24
|
+
--color-accent: var(--accent);
|
|
25
|
+
--color-accent-hover: var(--accent-hover);
|
|
26
|
+
--color-accent-muted: var(--accent-muted);
|
|
27
|
+
--color-accent-subtle: var(--accent-subtle);
|
|
28
|
+
--color-accent-fg: var(--accent-foreground);
|
|
29
|
+
--color-primary: var(--primary);
|
|
30
|
+
--color-primary-fg: var(--primary-foreground);
|
|
31
|
+
|
|
32
|
+
--color-ok: var(--ok);
|
|
33
|
+
--color-ok-muted: var(--ok-muted);
|
|
34
|
+
--color-ok-subtle: var(--ok-subtle);
|
|
35
|
+
--color-warn: var(--warn);
|
|
36
|
+
--color-warn-muted: var(--warn-muted);
|
|
37
|
+
--color-warn-subtle: var(--warn-subtle);
|
|
38
|
+
--color-danger: var(--danger);
|
|
39
|
+
--color-destructive: var(--destructive);
|
|
40
|
+
--color-destructive-fg: var(--destructive-foreground);
|
|
41
|
+
--color-destructive-subtle: var(--destructive-subtle);
|
|
42
|
+
|
|
43
|
+
--color-header-bg: var(--header-bar-bg);
|
|
44
|
+
--color-header-fg: var(--header-bar-fg);
|
|
45
|
+
|
|
46
|
+
--font-body: var(--font-body);
|
|
47
|
+
--font-mono: var(--mono);
|
|
48
|
+
--font-display: var(--font-display);
|
|
49
|
+
|
|
50
|
+
--shadow-sm: var(--shadow-sm);
|
|
51
|
+
--shadow-md: var(--shadow-md);
|
|
52
|
+
--shadow-lg: var(--shadow-lg);
|
|
53
|
+
|
|
54
|
+
--radius-sm: var(--radius-sm);
|
|
55
|
+
--radius-md: var(--radius-md);
|
|
56
|
+
--radius-lg: var(--radius-lg);
|
|
57
|
+
--radius-xl: var(--radius-xl);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
@layer base {
|
|
61
|
+
:root {
|
|
62
|
+
--bg: #ffffff;
|
|
63
|
+
--bg-accent: #faf7ec;
|
|
64
|
+
--bg-elevated: #fffdf6;
|
|
65
|
+
--bg-hover: #f8f1d7;
|
|
66
|
+
--bg-muted: #fcf9ef;
|
|
67
|
+
|
|
68
|
+
--card: #fffdf6;
|
|
69
|
+
--card-foreground: #1e2329;
|
|
70
|
+
--surface: #ffffff;
|
|
71
|
+
|
|
72
|
+
--text: #1e2329;
|
|
73
|
+
--text-strong: #11161c;
|
|
74
|
+
--chat-text: #1e2329;
|
|
75
|
+
--muted: #6d737a;
|
|
76
|
+
--muted-strong: #4d535a;
|
|
77
|
+
|
|
78
|
+
--border: #d6d3c6;
|
|
79
|
+
--border-strong: #b8b29f;
|
|
80
|
+
--border-hover: #f0b90b;
|
|
81
|
+
--input: #d6d3c6;
|
|
82
|
+
--ring: #f0b90b;
|
|
83
|
+
|
|
84
|
+
--accent: #f0b90b;
|
|
85
|
+
--accent-hover: #d8a108;
|
|
86
|
+
--accent-muted: #d8a108;
|
|
87
|
+
--accent-subtle: rgba(240, 185, 11, 0.12);
|
|
88
|
+
--accent-foreground: #1a1f26;
|
|
89
|
+
--primary: #f0b90b;
|
|
90
|
+
--primary-foreground: #1a1f26;
|
|
91
|
+
|
|
92
|
+
--ok: #02c076;
|
|
93
|
+
--ok-muted: rgba(2, 192, 118, 0.7);
|
|
94
|
+
--ok-subtle: rgba(2, 192, 118, 0.12);
|
|
95
|
+
--destructive: #f6465d;
|
|
96
|
+
--destructive-foreground: #ffffff;
|
|
97
|
+
--destructive-subtle: rgba(246, 70, 93, 0.12);
|
|
98
|
+
--warn: #f0b90b;
|
|
99
|
+
--warn-muted: rgba(240, 185, 11, 0.7);
|
|
100
|
+
--warn-subtle: rgba(240, 185, 11, 0.12);
|
|
101
|
+
--danger: #f6465d;
|
|
102
|
+
|
|
103
|
+
--focus: rgba(240, 185, 11, 0.18);
|
|
104
|
+
--focus-ring: 0 0 0 2px #f0b90b;
|
|
105
|
+
|
|
106
|
+
--header-bar-bg: #fff8dc;
|
|
107
|
+
--header-bar-fg: #1e2329;
|
|
108
|
+
|
|
109
|
+
--mono: "Courier New", Courier, monospace;
|
|
110
|
+
--font-body:
|
|
111
|
+
"Hiragino Kaku Gothic Pro", Osaka, Meiryo, "MS PGothic", arial, helvetica,
|
|
112
|
+
clean, sans-serif;
|
|
113
|
+
--font-display:
|
|
114
|
+
"Hiragino Kaku Gothic Pro", Osaka, Meiryo, "MS PGothic", arial, helvetica,
|
|
115
|
+
clean, sans-serif;
|
|
116
|
+
|
|
117
|
+
--shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
|
|
118
|
+
--shadow-md:
|
|
119
|
+
0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
|
|
120
|
+
--shadow-lg:
|
|
121
|
+
0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
|
|
122
|
+
|
|
123
|
+
--radius-sm: 0.375rem;
|
|
124
|
+
--radius-md: 0.5rem;
|
|
125
|
+
--radius-lg: 0.75rem;
|
|
126
|
+
--radius-xl: 1rem;
|
|
127
|
+
--radius-full: 9999px;
|
|
128
|
+
--radius: 0.5rem;
|
|
129
|
+
|
|
130
|
+
--duration-fast: 100ms;
|
|
131
|
+
--duration-normal: 150ms;
|
|
132
|
+
--duration-slow: 250ms;
|
|
133
|
+
|
|
134
|
+
color-scheme: light;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
.dark {
|
|
138
|
+
--bg: hsl(220 16% 12%);
|
|
139
|
+
--bg-accent: hsl(220 14% 16%);
|
|
140
|
+
--bg-elevated: hsl(220 14% 10%);
|
|
141
|
+
--bg-hover: hsl(220 12% 20%);
|
|
142
|
+
--bg-muted: hsl(220 12% 20%);
|
|
143
|
+
|
|
144
|
+
--card: hsl(220 14% 14%);
|
|
145
|
+
--card-foreground: hsl(40 10% 94%);
|
|
146
|
+
--surface: hsl(220 14% 14%);
|
|
147
|
+
|
|
148
|
+
--text: hsl(40 10% 84%);
|
|
149
|
+
--text-strong: hsl(40 10% 96%);
|
|
150
|
+
--chat-text: hsl(40 10% 84%);
|
|
151
|
+
--muted: hsl(220 8% 56%);
|
|
152
|
+
--muted-strong: hsl(220 6% 68%);
|
|
153
|
+
|
|
154
|
+
--border: hsl(220 12% 22%);
|
|
155
|
+
--border-strong: hsl(220 10% 30%);
|
|
156
|
+
--border-hover: #f0b90b;
|
|
157
|
+
--input: hsl(220 12% 22%);
|
|
158
|
+
--ring: #f0b90b;
|
|
159
|
+
|
|
160
|
+
--accent: #f0b90b;
|
|
161
|
+
--accent-hover: #d8a108;
|
|
162
|
+
--accent-muted: #d8a108;
|
|
163
|
+
--accent-subtle: rgba(240, 185, 11, 0.12);
|
|
164
|
+
--accent-foreground: #1a1f26;
|
|
165
|
+
--primary: #f0b90b;
|
|
166
|
+
--primary-foreground: #1a1f26;
|
|
167
|
+
|
|
168
|
+
--ok: hsl(142 76% 36%);
|
|
169
|
+
--ok-muted: hsla(142 76% 36% / 0.7);
|
|
170
|
+
--ok-subtle: hsla(142 76% 36% / 0.1);
|
|
171
|
+
--destructive: hsl(0 84.2% 60.2%);
|
|
172
|
+
--destructive-foreground: hsl(0 0% 100%);
|
|
173
|
+
--destructive-subtle: hsla(0 84% 60% / 0.1);
|
|
174
|
+
--warn: #f0b90b;
|
|
175
|
+
--warn-muted: rgba(240, 185, 11, 0.7);
|
|
176
|
+
--warn-subtle: rgba(240, 185, 11, 0.12);
|
|
177
|
+
--danger: hsl(0 84.2% 60.2%);
|
|
178
|
+
|
|
179
|
+
--focus: rgba(240, 185, 11, 0.2);
|
|
180
|
+
--focus-ring: 0 0 0 2px rgba(240, 185, 11, 0.5);
|
|
181
|
+
|
|
182
|
+
--header-bar-bg: hsl(220 16% 12%);
|
|
183
|
+
--header-bar-fg: hsl(40 10% 96%);
|
|
184
|
+
|
|
185
|
+
--mono: "Courier New", Courier, monospace;
|
|
186
|
+
--font-body:
|
|
187
|
+
-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Inter", sans-serif;
|
|
188
|
+
--font-display:
|
|
189
|
+
-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Inter", sans-serif;
|
|
190
|
+
|
|
191
|
+
color-scheme: dark;
|
|
192
|
+
}
|
|
193
|
+
}
|