@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.
Files changed (132) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +6 -0
  3. package/dist/components/ui/badge.d.ts +10 -0
  4. package/dist/components/ui/badge.d.ts.map +1 -0
  5. package/dist/components/ui/badge.js +20 -0
  6. package/dist/components/ui/banner.d.ts +18 -0
  7. package/dist/components/ui/banner.d.ts.map +1 -0
  8. package/dist/components/ui/banner.js +27 -0
  9. package/dist/components/ui/button.d.ts +12 -0
  10. package/dist/components/ui/button.d.ts.map +1 -0
  11. package/dist/components/ui/button.js +33 -0
  12. package/dist/components/ui/card.d.ts +9 -0
  13. package/dist/components/ui/card.d.ts.map +1 -0
  14. package/dist/components/ui/card.js +16 -0
  15. package/dist/components/ui/chat-atoms.d.ts +26 -0
  16. package/dist/components/ui/chat-atoms.d.ts.map +1 -0
  17. package/dist/components/ui/chat-atoms.js +17 -0
  18. package/dist/components/ui/checkbox.d.ts +5 -0
  19. package/dist/components/ui/checkbox.d.ts.map +1 -0
  20. package/dist/components/ui/checkbox.js +8 -0
  21. package/dist/components/ui/confirm-delete.d.ts +12 -0
  22. package/dist/components/ui/confirm-delete.d.ts.map +1 -0
  23. package/dist/components/ui/confirm-delete.js +13 -0
  24. package/dist/components/ui/confirm-dialog.d.ts +24 -0
  25. package/dist/components/ui/confirm-dialog.d.ts.map +1 -0
  26. package/dist/components/ui/confirm-dialog.js +55 -0
  27. package/dist/components/ui/connection-status.d.ts +9 -0
  28. package/dist/components/ui/connection-status.d.ts.map +1 -0
  29. package/dist/components/ui/connection-status.js +25 -0
  30. package/dist/components/ui/copy-button.d.ts +13 -0
  31. package/dist/components/ui/copy-button.d.ts.map +1 -0
  32. package/dist/components/ui/copy-button.js +14 -0
  33. package/dist/components/ui/dialog.d.ts +20 -0
  34. package/dist/components/ui/dialog.d.ts.map +1 -0
  35. package/dist/components/ui/dialog.js +22 -0
  36. package/dist/components/ui/dropdown-menu.d.ts +28 -0
  37. package/dist/components/ui/dropdown-menu.d.ts.map +1 -0
  38. package/dist/components/ui/dropdown-menu.js +35 -0
  39. package/dist/components/ui/empty-state.d.ts +13 -0
  40. package/dist/components/ui/empty-state.d.ts.map +1 -0
  41. package/dist/components/ui/empty-state.js +5 -0
  42. package/dist/components/ui/error-boundary.d.ts +18 -0
  43. package/dist/components/ui/error-boundary.d.ts.map +1 -0
  44. package/dist/components/ui/error-boundary.js +27 -0
  45. package/dist/components/ui/grid.d.ts +11 -0
  46. package/dist/components/ui/grid.d.ts.map +1 -0
  47. package/dist/components/ui/grid.js +30 -0
  48. package/dist/components/ui/input.d.ts +6 -0
  49. package/dist/components/ui/input.d.ts.map +1 -0
  50. package/dist/components/ui/input.js +8 -0
  51. package/dist/components/ui/label.d.ts +6 -0
  52. package/dist/components/ui/label.d.ts.map +1 -0
  53. package/dist/components/ui/label.js +9 -0
  54. package/dist/components/ui/popover.d.ts +7 -0
  55. package/dist/components/ui/popover.d.ts.map +1 -0
  56. package/dist/components/ui/popover.js +9 -0
  57. package/dist/components/ui/save-footer.d.ts +13 -0
  58. package/dist/components/ui/save-footer.d.ts.map +1 -0
  59. package/dist/components/ui/save-footer.js +9 -0
  60. package/dist/components/ui/search-bar.d.ts +17 -0
  61. package/dist/components/ui/search-bar.d.ts.map +1 -0
  62. package/dist/components/ui/search-bar.js +19 -0
  63. package/dist/components/ui/search-input.d.ts +11 -0
  64. package/dist/components/ui/search-input.d.ts.map +1 -0
  65. package/dist/components/ui/search-input.js +9 -0
  66. package/dist/components/ui/section-card.d.ts +15 -0
  67. package/dist/components/ui/section-card.d.ts.map +1 -0
  68. package/dist/components/ui/section-card.js +9 -0
  69. package/dist/components/ui/select.d.ts +14 -0
  70. package/dist/components/ui/select.d.ts.map +1 -0
  71. package/dist/components/ui/select.js +26 -0
  72. package/dist/components/ui/separator.d.ts +5 -0
  73. package/dist/components/ui/separator.d.ts.map +1 -0
  74. package/dist/components/ui/separator.js +7 -0
  75. package/dist/components/ui/skeleton.d.ts +17 -0
  76. package/dist/components/ui/skeleton.d.ts.map +1 -0
  77. package/dist/components/ui/skeleton.js +25 -0
  78. package/dist/components/ui/slider.d.ts +5 -0
  79. package/dist/components/ui/slider.d.ts.map +1 -0
  80. package/dist/components/ui/slider.js +7 -0
  81. package/dist/components/ui/sonner.d.ts +5 -0
  82. package/dist/components/ui/sonner.d.ts.map +1 -0
  83. package/dist/components/ui/sonner.js +15 -0
  84. package/dist/components/ui/spinner.d.ts +6 -0
  85. package/dist/components/ui/spinner.d.ts.map +1 -0
  86. package/dist/components/ui/spinner.js +8 -0
  87. package/dist/components/ui/stack.d.ts +13 -0
  88. package/dist/components/ui/stack.d.ts.map +1 -0
  89. package/dist/components/ui/stack.js +39 -0
  90. package/dist/components/ui/status-badge.d.ts +20 -0
  91. package/dist/components/ui/status-badge.d.ts.map +1 -0
  92. package/dist/components/ui/status-badge.js +41 -0
  93. package/dist/components/ui/switch.d.ts +5 -0
  94. package/dist/components/ui/switch.d.ts.map +1 -0
  95. package/dist/components/ui/switch.js +7 -0
  96. package/dist/components/ui/tabs.d.ts +8 -0
  97. package/dist/components/ui/tabs.d.ts.map +1 -0
  98. package/dist/components/ui/tabs.js +12 -0
  99. package/dist/components/ui/tag-editor.d.ts +24 -0
  100. package/dist/components/ui/tag-editor.d.ts.map +1 -0
  101. package/dist/components/ui/tag-editor.js +32 -0
  102. package/dist/components/ui/tag-input.d.ts +19 -0
  103. package/dist/components/ui/tag-input.d.ts.map +1 -0
  104. package/dist/components/ui/tag-input.js +28 -0
  105. package/dist/components/ui/textarea.d.ts +6 -0
  106. package/dist/components/ui/textarea.d.ts.map +1 -0
  107. package/dist/components/ui/textarea.js +8 -0
  108. package/dist/components/ui/themed-select.d.ts +27 -0
  109. package/dist/components/ui/themed-select.d.ts.map +1 -0
  110. package/dist/components/ui/themed-select.js +57 -0
  111. package/dist/components/ui/tooltip-extended.d.ts +76 -0
  112. package/dist/components/ui/tooltip-extended.d.ts.map +1 -0
  113. package/dist/components/ui/tooltip-extended.js +128 -0
  114. package/dist/components/ui/tooltip.d.ts +8 -0
  115. package/dist/components/ui/tooltip.d.ts.map +1 -0
  116. package/dist/components/ui/tooltip.js +10 -0
  117. package/dist/components/ui/typography.d.ts +17 -0
  118. package/dist/components/ui/typography.d.ts.map +1 -0
  119. package/dist/components/ui/typography.js +44 -0
  120. package/dist/index.d.ts +42 -0
  121. package/dist/index.d.ts.map +1 -0
  122. package/dist/index.js +43 -0
  123. package/dist/lib/button-styles.d.ts +12 -0
  124. package/dist/lib/button-styles.d.ts.map +1 -0
  125. package/dist/lib/button-styles.js +11 -0
  126. package/dist/lib/utils.d.ts +6 -0
  127. package/dist/lib/utils.d.ts.map +1 -0
  128. package/dist/lib/utils.js +8 -0
  129. package/dist/package.json +69 -0
  130. package/dist/styles/theme.css +193 -0
  131. package/package.json +94 -0
  132. 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
+ }