@aggc/ui 0.4.0 → 0.4.1

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 (71) hide show
  1. package/dist/chunks/UiSkeleton.vue_vue_type_script_setup_true_lang-Lghyrtms.js +1201 -0
  2. package/dist/chunks/pageHeader-CcJrPX_8.js +522 -0
  3. package/dist/components/PageSurface.styles.d.ts +1 -0
  4. package/dist/components/PageSurface.vue.d.ts +13 -0
  5. package/dist/components/ResultPanel.styles.d.ts +64 -0
  6. package/dist/components/ResultPanel.vue.d.ts +16 -0
  7. package/dist/components/SectionCard.styles.d.ts +13 -0
  8. package/dist/components/SectionCard.vue.d.ts +27 -0
  9. package/dist/components/StatusBadge.styles.d.ts +24 -0
  10. package/dist/components/StatusBadge.vue.d.ts +18 -0
  11. package/dist/components/UiButton.styles.d.ts +54 -0
  12. package/dist/components/UiButton.vue.d.ts +28 -0
  13. package/dist/components/UiCheckbox.styles.d.ts +42 -0
  14. package/dist/components/UiCheckbox.vue.d.ts +37 -0
  15. package/dist/components/UiField.styles.d.ts +7 -0
  16. package/dist/components/UiField.vue.d.ts +22 -0
  17. package/dist/components/UiLoadingState.styles.d.ts +4 -0
  18. package/dist/components/UiLoadingState.vue.d.ts +10 -0
  19. package/dist/components/UiSegmentedControl.styles.d.ts +23 -0
  20. package/dist/components/UiSegmentedControl.vue.d.ts +14 -0
  21. package/dist/components/UiSelect.styles.d.ts +104 -0
  22. package/dist/components/UiSelect.vue.d.ts +35 -0
  23. package/dist/components/UiSkeleton.styles.d.ts +67 -0
  24. package/dist/components/UiSkeleton.vue.d.ts +12 -0
  25. package/dist/components/index.d.ts +11 -0
  26. package/dist/components.d.ts +1 -0
  27. package/dist/components.js +14 -0
  28. package/dist/css.d.ts +2 -0
  29. package/dist/css.js +1 -0
  30. package/dist/fonts.css +6 -0
  31. package/dist/index.d.ts +3 -0
  32. package/dist/index.js +65 -0
  33. package/dist/styles/index.d.ts +20 -0
  34. package/dist/styles/layouts/cluster.d.ts +27 -0
  35. package/dist/styles/layouts/page.d.ts +2 -0
  36. package/dist/styles/layouts/split.d.ts +22 -0
  37. package/dist/styles/layouts/stack.d.ts +19 -0
  38. package/dist/styles/patterns/actionToolbar.d.ts +1 -0
  39. package/dist/styles/patterns/emptyState.d.ts +2 -0
  40. package/dist/styles/patterns/infoPanel.d.ts +2 -0
  41. package/dist/styles/patterns/metricGrid.d.ts +22 -0
  42. package/dist/styles/patterns/pageHeader.d.ts +3 -0
  43. package/dist/styles/patterns/resultRegion.d.ts +1 -0
  44. package/dist/styles/patterns/selectableListDetail.d.ts +3 -0
  45. package/dist/styles/primitives/feedback.d.ts +4 -0
  46. package/dist/styles/primitives/fields.d.ts +3 -0
  47. package/dist/styles/primitives/surfaces.d.ts +3 -0
  48. package/dist/styles/primitives/typography.d.ts +6 -0
  49. package/dist/styles/recipes/badge.recipe.d.ts +32 -0
  50. package/dist/styles/recipes/button.recipe.d.ts +51 -0
  51. package/dist/styles/recipes/card.recipe.d.ts +59 -0
  52. package/dist/styles/recipes/dropdown.recipe.d.ts +25 -0
  53. package/dist/styles/recipes/input.recipe.d.ts +32 -0
  54. package/dist/styles.d.ts +1 -0
  55. package/dist/styles.js +429 -0
  56. package/dist/tokens/colors.d.ts +360 -0
  57. package/dist/tokens/core-colors.d.ts +238 -0
  58. package/dist/tokens/desktop-colors.d.ts +132 -0
  59. package/dist/tokens/index.d.ts +7 -0
  60. package/dist/tokens/motion.d.ts +10 -0
  61. package/dist/tokens/radius.d.ts +5 -0
  62. package/dist/tokens/spacing.d.ts +8 -0
  63. package/dist/tokens/typography.d.ts +10 -0
  64. package/dist/tokens-core.d.ts +5 -0
  65. package/dist/tokens-core.js +69 -0
  66. package/dist/tokens-desktop.d.ts +1 -0
  67. package/dist/tokens-desktop.js +30 -0
  68. package/dist/tokens.d.ts +1 -0
  69. package/dist/tokens.js +16 -0
  70. package/dist/ui.css +2026 -0
  71. package/package.json +1 -1
package/dist/styles.js ADDED
@@ -0,0 +1,429 @@
1
+ import { r as e, o as a, q as r, i as t, h as o } from "./chunks/pageHeader-CcJrPX_8.js";
2
+ import { b as F, c as B, d as P, e as V, a as j, m as I, p as L, f as q, g as A, j as D, k as E, s as G, l as O, n as Y } from "./chunks/pageHeader-CcJrPX_8.js";
3
+ const l = e({
4
+ width: "100%",
5
+ minHeight: "48px",
6
+ borderRadius: "xl",
7
+ borderWidth: "1px",
8
+ borderColor: "border.default",
9
+ bg: "bg.input",
10
+ color: "text.primary",
11
+ fontSize: "sm",
12
+ lineHeight: "1.5",
13
+ px: "4",
14
+ py: "3",
15
+ backdropFilter: "blur(22px) saturate(145%)",
16
+ boxShadow: "inset 0 1px 0 rgba(255,255,255,0.24), 0 14px 28px -28px rgba(15,23,42,0.42)",
17
+ transition: "border-color 160ms ease, background 160ms ease, transform 160ms ease",
18
+ _hover: {
19
+ borderColor: "border.strong"
20
+ },
21
+ _placeholder: {
22
+ color: "text.muted"
23
+ },
24
+ _dark: {
25
+ boxShadow: "inset 0 1px 0 rgba(255,255,255,0.03)"
26
+ }
27
+ }), n = e({
28
+ width: "100%",
29
+ minHeight: "40px",
30
+ borderRadius: "lg",
31
+ borderWidth: "1px",
32
+ borderColor: "border.default",
33
+ bg: "bg.input",
34
+ color: "text.primary",
35
+ fontSize: "sm",
36
+ lineHeight: "1.45",
37
+ px: "3",
38
+ py: "2.5",
39
+ backdropFilter: "blur(20px) saturate(145%)",
40
+ boxShadow: "inset 0 1px 0 rgba(255,255,255,0.2)",
41
+ transition: "border-color 160ms ease, background 160ms ease",
42
+ _hover: {
43
+ borderColor: "border.strong"
44
+ },
45
+ _placeholder: {
46
+ color: "text.muted"
47
+ },
48
+ _dark: {
49
+ boxShadow: "inset 0 1px 0 rgba(255,255,255,0.03)"
50
+ }
51
+ }), d = e({
52
+ width: "100%",
53
+ minHeight: "420px",
54
+ borderRadius: "2xl",
55
+ borderWidth: "1px",
56
+ borderColor: "border.default",
57
+ bg: "bg.input",
58
+ color: "text.primary",
59
+ fontFamily: "mono",
60
+ fontSize: "sm",
61
+ lineHeight: "1.6",
62
+ px: "4",
63
+ py: "4",
64
+ backdropFilter: "blur(24px) saturate(145%)",
65
+ boxShadow: "inset 0 1px 0 rgba(255,255,255,0.24), 0 18px 36px -32px rgba(15,23,42,0.42)",
66
+ _hover: {
67
+ borderColor: "border.strong"
68
+ },
69
+ _dark: {
70
+ boxShadow: "inset 0 1px 0 rgba(255,255,255,0.03)"
71
+ }
72
+ }), p = e({
73
+ position: "relative",
74
+ minWidth: "0"
75
+ }), b = e({
76
+ color: "text.error",
77
+ fontSize: "sm",
78
+ fontWeight: "600"
79
+ }), g = e({
80
+ color: "text.muted",
81
+ fontSize: "sm",
82
+ lineHeight: "1.6"
83
+ }), x = e({
84
+ outline: "2px solid var(--colors-text-accent)",
85
+ outlineOffset: "2px"
86
+ }), m = a({
87
+ base: {
88
+ minWidth: "0",
89
+ borderWidth: "1px",
90
+ transition: "all 160ms ease"
91
+ },
92
+ variants: {
93
+ variant: {
94
+ surface: {
95
+ position: "relative",
96
+ overflow: "hidden",
97
+ borderRadius: "3xl",
98
+ borderColor: "border.subtle",
99
+ bg: "bg.card",
100
+ backdropFilter: "blur(28px) saturate(155%)",
101
+ boxShadow: "0 25px 30px -35px rgba(15,23,42,0.42)"
102
+ },
103
+ inset: {
104
+ borderRadius: "2xl",
105
+ borderColor: "border.soft",
106
+ bg: "bg.cardAlt",
107
+ backdropFilter: "blur(24px) saturate(145%)",
108
+ boxShadow: "inset 0 1px 0 rgba(255,255,255,0.22)"
109
+ },
110
+ elevated: {
111
+ borderRadius: "2xl",
112
+ borderColor: "border.default",
113
+ bg: "bg.cardStrong",
114
+ backdropFilter: "blur(24px) saturate(145%)",
115
+ boxShadow: "0 16px 32px -28px rgba(15,23,42,0.42)"
116
+ },
117
+ selectable: {
118
+ borderRadius: "2xl",
119
+ borderColor: "border.default",
120
+ bg: "bg.cardAlt",
121
+ cursor: "pointer",
122
+ _hover: {
123
+ borderColor: "border.strong",
124
+ bg: "bg.card",
125
+ transform: "translateY(-1px)"
126
+ }
127
+ }
128
+ },
129
+ padding: {
130
+ none: {},
131
+ sm: { p: "3" },
132
+ md: { p: "4" },
133
+ lg: { p: "5" },
134
+ xl: { p: "6" }
135
+ },
136
+ selected: {
137
+ true: {
138
+ borderColor: "border.accent",
139
+ bg: "bg.cardStrong"
140
+ }
141
+ }
142
+ },
143
+ defaultVariants: {
144
+ variant: "surface",
145
+ padding: "md"
146
+ }
147
+ }), c = a({
148
+ base: {
149
+ display: "inline-flex",
150
+ alignItems: "center",
151
+ gap: "1.5",
152
+ borderRadius: "full",
153
+ borderWidth: "1px",
154
+ px: "3",
155
+ py: "2",
156
+ fontSize: "sm",
157
+ fontWeight: "600",
158
+ lineHeight: "1",
159
+ whiteSpace: "nowrap",
160
+ backdropFilter: "blur(16px) saturate(140%)",
161
+ boxShadow: "inset 0 1px 0 rgba(255,255,255,0.16)",
162
+ _dark: {
163
+ boxShadow: "inset 0 1px 0 rgba(255,255,255,0.04)"
164
+ }
165
+ },
166
+ variants: {
167
+ tone: {
168
+ neutral: {
169
+ borderColor: "badge.neutralBorder",
170
+ bg: "badge.neutralBg",
171
+ color: "badge.neutralText"
172
+ },
173
+ info: {
174
+ borderColor: "badge.infoBorder",
175
+ bg: "badge.infoBg",
176
+ color: "badge.infoText"
177
+ },
178
+ success: {
179
+ borderColor: "badge.successBorder",
180
+ bg: "badge.successBg",
181
+ color: "badge.successText"
182
+ },
183
+ warning: {
184
+ borderColor: "badge.warningBorder",
185
+ bg: "badge.warningBg",
186
+ color: "badge.warningText"
187
+ }
188
+ },
189
+ size: {
190
+ sm: { px: "2.5", py: "1.5", fontSize: "xs" },
191
+ md: {}
192
+ }
193
+ },
194
+ defaultVariants: {
195
+ tone: "neutral",
196
+ size: "md"
197
+ }
198
+ }), u = a({
199
+ base: {
200
+ width: "100%",
201
+ borderWidth: "1px",
202
+ borderColor: "border.default",
203
+ bg: "bg.input",
204
+ color: "text.primary",
205
+ fontSize: "sm",
206
+ backdropFilter: "blur(22px) saturate(145%)",
207
+ transition: "border-color 160ms ease, background 160ms ease",
208
+ _placeholder: {
209
+ color: "text.muted"
210
+ },
211
+ _hover: {
212
+ borderColor: "border.strong"
213
+ },
214
+ _dark: {
215
+ boxShadow: "inset 0 1px 0 rgba(255,255,255,0.03)"
216
+ }
217
+ },
218
+ variants: {
219
+ size: {
220
+ sm: {
221
+ minHeight: "40px",
222
+ borderRadius: "lg",
223
+ px: "3",
224
+ py: "2.5",
225
+ lineHeight: "1.45",
226
+ boxShadow: "inset 0 1px 0 rgba(255,255,255,0.2)"
227
+ },
228
+ md: {
229
+ minHeight: "48px",
230
+ borderRadius: "xl",
231
+ px: "4",
232
+ py: "3",
233
+ lineHeight: "1.5",
234
+ boxShadow: "inset 0 1px 0 rgba(255,255,255,0.24), 0 14px 28px -28px rgba(15,23,42,0.42)"
235
+ }
236
+ },
237
+ kind: {
238
+ input: {},
239
+ textarea: {
240
+ minHeight: "420px",
241
+ borderRadius: "2xl",
242
+ px: "4",
243
+ py: "4",
244
+ lineHeight: "1.6",
245
+ fontFamily: "mono",
246
+ boxShadow: "inset 0 1px 0 rgba(255,255,255,0.24), 0 18px 36px -32px rgba(15,23,42,0.42)"
247
+ }
248
+ }
249
+ },
250
+ defaultVariants: {
251
+ size: "md",
252
+ kind: "input"
253
+ }
254
+ }), f = a({
255
+ base: {
256
+ display: "grid",
257
+ alignContent: "start",
258
+ minWidth: "0"
259
+ },
260
+ variants: {
261
+ gap: {
262
+ xs: { gap: "1" },
263
+ sm: { gap: "2" },
264
+ md: { gap: "3" },
265
+ lg: { gap: "4" },
266
+ xl: { gap: "5" }
267
+ }
268
+ },
269
+ defaultVariants: {
270
+ gap: "md"
271
+ }
272
+ }), h = a({
273
+ base: {
274
+ display: "flex",
275
+ flexWrap: "wrap",
276
+ alignItems: "center",
277
+ minWidth: "0"
278
+ },
279
+ variants: {
280
+ gap: {
281
+ xs: { gap: "1" },
282
+ sm: { gap: "2" },
283
+ md: { gap: "3" },
284
+ lg: { gap: "4" }
285
+ },
286
+ justify: {
287
+ start: { justifyContent: "flex-start" },
288
+ between: { justifyContent: "space-between" },
289
+ end: { justifyContent: "flex-end" }
290
+ }
291
+ },
292
+ defaultVariants: {
293
+ gap: "sm",
294
+ justify: "start"
295
+ }
296
+ }), C = a({
297
+ base: {
298
+ display: "grid",
299
+ gap: "4",
300
+ alignItems: "start",
301
+ minWidth: "0"
302
+ },
303
+ variants: {
304
+ ratio: {
305
+ equal: {
306
+ gridTemplateColumns: { base: "1fr", xl: "repeat(2, minmax(0, 1fr))" }
307
+ },
308
+ sidebar: {
309
+ gridTemplateColumns: { base: "1fr", xl: "minmax(18rem, 0.9fr) minmax(0, 1.4fr)" }
310
+ },
311
+ detail: {
312
+ gridTemplateColumns: { base: "1fr", xl: "minmax(18rem, 0.85fr) minmax(0, 1.45fr)" }
313
+ }
314
+ }
315
+ },
316
+ defaultVariants: {
317
+ ratio: "equal"
318
+ }
319
+ }), y = a({
320
+ base: {
321
+ display: "grid",
322
+ gap: "4",
323
+ minWidth: "0"
324
+ },
325
+ variants: {
326
+ columns: {
327
+ two: { gridTemplateColumns: { base: "1fr", md: "repeat(2, minmax(0, 1fr))" } },
328
+ three: { gridTemplateColumns: { base: "1fr", lg: "repeat(3, minmax(0, 1fr))" } },
329
+ four: { gridTemplateColumns: { base: "1fr", lg: "repeat(4, minmax(0, 1fr))" } }
330
+ }
331
+ },
332
+ defaultVariants: {
333
+ columns: "two"
334
+ }
335
+ }), w = e({
336
+ display: "flex",
337
+ gap: "3",
338
+ flexWrap: "wrap",
339
+ alignItems: "center"
340
+ }), S = e({
341
+ position: "relative",
342
+ minWidth: "0",
343
+ minHeight: "220px"
344
+ }), R = r(
345
+ t,
346
+ e({
347
+ padding: "4",
348
+ display: "grid",
349
+ gap: "3"
350
+ })
351
+ ), k = r(
352
+ t,
353
+ e({
354
+ minHeight: "220px",
355
+ padding: "4",
356
+ display: "grid",
357
+ gap: "3"
358
+ })
359
+ ), s = r(
360
+ t,
361
+ o,
362
+ e({
363
+ display: "grid",
364
+ gap: "2",
365
+ padding: "4",
366
+ lineHeight: "1.7"
367
+ })
368
+ ), v = r(
369
+ s,
370
+ e({
371
+ alignContent: "center",
372
+ minHeight: "220px"
373
+ })
374
+ ), H = e({
375
+ display: "grid",
376
+ gap: "4",
377
+ gridTemplateColumns: { base: "1fr", xl: "minmax(18rem, 0.9fr) minmax(0, 1.4fr)" },
378
+ alignItems: "start"
379
+ }), W = e({
380
+ display: "grid",
381
+ gap: "2",
382
+ alignContent: "start",
383
+ minWidth: "0"
384
+ }), T = e({
385
+ display: "grid",
386
+ gap: "4",
387
+ minWidth: "0"
388
+ });
389
+ export {
390
+ w as actionToolbarClass,
391
+ c as badgeRecipe,
392
+ F as buttonRecipe,
393
+ m as cardRecipe,
394
+ v as centeredEmptyStatePanelClass,
395
+ h as clusterLayout,
396
+ B as codeBlockClass,
397
+ P as dropdownRecipe,
398
+ V as elevatedPanelClass,
399
+ s as emptyStatePanelClass,
400
+ b as errorTextClass,
401
+ j as eyebrowClass,
402
+ l as fieldControlClass,
403
+ n as fieldControlSmClass,
404
+ d as fieldTextareaClass,
405
+ x as focusRingClass,
406
+ o as helperTextClass,
407
+ R as infoPanelClass,
408
+ u as inputRecipe,
409
+ t as insetPanelClass,
410
+ p as loadingRegionClass,
411
+ y as metricGridPattern,
412
+ I as metricValueClass,
413
+ g as mutedTextClass,
414
+ L as pageHeaderActionsClass,
415
+ q as pageHeaderContentClass,
416
+ A as pageHeaderRootClass,
417
+ D as pageRootClass,
418
+ E as pageScrollRegionClass,
419
+ S as resultRegionClass,
420
+ k as resultSkeletonPanelClass,
421
+ G as sectionDescriptionClass,
422
+ O as sectionTitleClass,
423
+ T as selectableDetailClass,
424
+ W as selectableListClass,
425
+ H as selectableListDetailRootClass,
426
+ C as splitLayout,
427
+ f as stackLayout,
428
+ Y as surfacePanelClass
429
+ };