@aggc/ui 0.5.1 → 0.6.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.
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as p, openBlock as l, createElementBlock as o, normalizeClass as t, unref as a, renderSlot as y, createElementVNode as d, createBlock as ee, resolveDynamicComponent as ae, toDisplayString as c, createVNode as L, withCtx as te, createTextVNode as E, Fragment as z, renderList as V, createCommentVNode as b, withKeys as U, withModifiers as K, ref as $, useId as se, computed as R, watch as N, onMounted as le, onBeforeUnmount as oe, nextTick as T, normalizeStyle as ne } from "vue";
2
- import { j as ie, o as g, q as D, n as G, r as i, g as re, f as de, a as X, l as ce, p as ue, b as be, h as ge, i as fe, d as pe } from "./pageHeader-CcJrPX_8.js";
2
+ import { j as ie, o as g, q as D, n as G, r as i, g as re, f as de, a as X, l as ce, p as ue, b as be, h as ge, i as fe, d as pe } from "./pageHeader-D9KF7WOO.js";
3
3
  import { CheckCircle2 as me, TriangleAlert as he, LoaderCircle as ve, Check as q, ChevronDown as ye } from "lucide-vue-next";
4
4
  const Ce = ie, Ea = /* @__PURE__ */ p({
5
5
  __name: "PageSurface",
@@ -274,7 +274,7 @@ const Ce = ie, Ea = /* @__PURE__ */ p({
274
274
  __name: "SectionCard",
275
275
  props: {
276
276
  title: {},
277
- eyebrow: { default: "Workspace surface" },
277
+ eyebrow: { default: void 0 },
278
278
  description: { default: "" },
279
279
  scrollBody: { type: Boolean, default: !1 },
280
280
  collapseBodyGap: { type: Boolean, default: !1 }
@@ -5,28 +5,28 @@ var V = (r) => typeof r == "object" && r !== null;
5
5
  function T(r) {
6
6
  return Object.fromEntries(Object.entries(r ?? {}).filter(([t, o]) => o !== void 0));
7
7
  }
8
- var F = (r) => r === "base";
9
- function D(r) {
10
- return r.slice().filter((t) => !F(t));
8
+ var D = (r) => r === "base";
9
+ function L(r) {
10
+ return r.slice().filter((t) => !D(t));
11
11
  }
12
- function C(r) {
12
+ function w(r) {
13
13
  return String.fromCharCode(r + (r > 25 ? 39 : 97));
14
14
  }
15
- function L(r) {
15
+ function F(r) {
16
16
  let t = "", o;
17
- for (o = Math.abs(r); o > 52; o = o / 52 | 0) t = C(o % 52) + t;
18
- return C(o % 52) + t;
17
+ for (o = Math.abs(r); o > 52; o = o / 52 | 0) t = w(o % 52) + t;
18
+ return w(o % 52) + t;
19
19
  }
20
- function Y(r, t) {
20
+ function X(r, t) {
21
21
  let o = t.length;
22
22
  for (; o; ) r = r * 33 ^ t.charCodeAt(--o);
23
23
  return r;
24
24
  }
25
- function X(r) {
26
- return L(Y(5381, r) >>> 0);
25
+ function H(r) {
26
+ return F(X(5381, r) >>> 0);
27
27
  }
28
28
  var E = /\s*!(important)?/i;
29
- function H(r) {
29
+ function Y(r) {
30
30
  return typeof r == "string" ? E.test(r) : !1;
31
31
  }
32
32
  function N(r) {
@@ -35,7 +35,7 @@ function N(r) {
35
35
  function P(r) {
36
36
  return typeof r == "string" ? r.replaceAll(" ", "_") : r;
37
37
  }
38
- var y = (r) => {
38
+ var S = (r) => {
39
39
  const t = /* @__PURE__ */ new Map();
40
40
  return (...e) => {
41
41
  const n = JSON.stringify(e);
@@ -45,11 +45,11 @@ var y = (r) => {
45
45
  return t.set(n, i), i;
46
46
  };
47
47
  }, q = /* @__PURE__ */ new Set(["__proto__", "constructor", "prototype"]);
48
- function v(...r) {
48
+ function k(...r) {
49
49
  return r.reduce((t, o) => (o && Object.keys(o).forEach((e) => {
50
50
  if (q.has(e)) return;
51
51
  const n = t[e], i = o[e];
52
- _(n) && _(i) ? t[e] = v(n, i) : t[e] = i;
52
+ _(n) && _(i) ? t[e] = k(n, i) : t[e] = i;
53
53
  }), t), {});
54
54
  }
55
55
  var G = (r) => r != null;
@@ -101,18 +101,18 @@ function U(r) {
101
101
  let d;
102
102
  if (o) {
103
103
  const b = [...e.finalize(a), s];
104
- d = n(t.toHash(b, X));
104
+ d = n(t.toHash(b, H));
105
105
  } else
106
106
  d = [...e.finalize(a), n(s)].join(":");
107
107
  return d;
108
108
  };
109
- return y(({ base: a, ...s } = {}) => {
109
+ return S(({ base: a, ...s } = {}) => {
110
110
  const d = Object.assign(s, a), b = j(d, r), u = /* @__PURE__ */ new Set();
111
111
  return W(b, (p, l) => {
112
112
  if (p == null) return;
113
- const g = H(p), [f, ...m] = e.shift(l), x = D(m), S = t.transform(f, N(Z(p)));
114
- let k = i(x, S.className);
115
- g && (k = `${k}!`), u.add(k);
113
+ const g = Y(p), [m, ...f] = e.shift(l), x = L(f), y = t.transform(m, N(Z(p)));
114
+ let v = i(x, y.className);
115
+ g && (v = `${v}!`), u.add(v);
116
116
  }), Array.from(u).join(" ");
117
117
  });
118
118
  }
@@ -125,14 +125,14 @@ function Q(r) {
125
125
  return i.length === 1 ? i : i.map((a) => j(a, r));
126
126
  }
127
127
  function o(...n) {
128
- return v(...t(n));
128
+ return k(...t(n));
129
129
  }
130
130
  function e(...n) {
131
131
  return Object.assign({}, ...t(n));
132
132
  }
133
- return { mergeCss: y(o), assignCss: e };
133
+ return { mergeCss: S(o), assignCss: e };
134
134
  }
135
- var rr = /([A-Z])/g, tr = /^ms-/, or = y((r) => r.startsWith("--") ? r : r.replace(rr, "-$1").replace(tr, "-ms-").toLowerCase()), er = "cm,mm,Q,in,pc,pt,px,em,ex,ch,rem,lh,rlh,vw,vh,vmin,vmax,vb,vi,svw,svh,lvw,lvh,dvw,dvh,cqw,cqh,cqi,cqb,cqmin,cqmax,%";
135
+ var rr = /([A-Z])/g, tr = /^ms-/, or = S((r) => r.startsWith("--") ? r : r.replace(rr, "-$1").replace(tr, "-ms-").toLowerCase()), er = "cm,mm,Q,in,pc,pt,px,em,ex,ch,rem,lh,rlh,vw,vh,vmin,vmax,vb,vi,svw,svh,lvw,lvh,dvw,dvh,cqw,cqh,cqi,cqb,cqmin,cqmax,%";
136
136
  `${er.split(",").join("|")}`;
137
137
  function nr(r, ...t) {
138
138
  const o = Object.getOwnPropertyDescriptors(r), e = Object.keys(o), n = (a) => {
@@ -188,7 +188,7 @@ const B = (r) => z.get(r) || r, M = {
188
188
  }, pr = U(M), c = (...r) => pr(h(...r));
189
189
  c.raw = (...r) => h(...r);
190
190
  const { mergeCss: h } = Q(M);
191
- function fr() {
191
+ function mr() {
192
192
  let r = "", t = 0, o;
193
193
  for (; t < arguments.length; )
194
194
  (o = arguments[t++]) && typeof o == "string" && (r && (r += " "), r += o);
@@ -201,24 +201,24 @@ const O = (r) => ({
201
201
  compoundVariants: [],
202
202
  ...r
203
203
  });
204
- function w(r) {
204
+ function C(r) {
205
205
  const { base: t, variants: o, defaultVariants: e, compoundVariants: n } = O(r), i = (l) => ({ ...e, ...T(l) });
206
206
  function a(l = {}) {
207
207
  const g = i(l);
208
- let f = { ...t };
209
- for (const [x, S] of Object.entries(g))
210
- o[x]?.[S] && (f = h(f, o[x][S]));
211
- const m = ur(n, g);
212
- return h(f, m);
208
+ let m = { ...t };
209
+ for (const [x, y] of Object.entries(g))
210
+ o[x]?.[y] && (m = h(m, o[x][y]));
211
+ const f = ur(n, g);
212
+ return h(m, f);
213
213
  }
214
214
  function s(l) {
215
- const g = O(l.config), f = ir(l.variantKeys, Object.keys(o));
216
- return w({
215
+ const g = O(l.config), m = ir(l.variantKeys, Object.keys(o));
216
+ return C({
217
217
  base: h(t, g.base),
218
218
  variants: Object.fromEntries(
219
- f.map((m) => [m, h(o[m], g.variants[m])])
219
+ m.map((f) => [f, h(o[f], g.variants[f])])
220
220
  ),
221
- defaultVariants: v(e, g.defaultVariants),
221
+ defaultVariants: k(e, g.defaultVariants),
222
222
  compoundVariants: [...n, ...g.compoundVariants]
223
223
  });
224
224
  }
@@ -230,7 +230,7 @@ function w(r) {
230
230
  return nr(l, b);
231
231
  }
232
232
  const p = Object.fromEntries(Object.entries(o).map(([l, g]) => [l, Object.keys(g)]));
233
- return Object.assign(y(d), {
233
+ return Object.assign(S(d), {
234
234
  __cva__: !0,
235
235
  variantMap: p,
236
236
  variantKeys: b,
@@ -247,62 +247,43 @@ function ur(r, t) {
247
247
  Object.entries(e).every(([i, a]) => i === "css" ? !0 : (Array.isArray(a) ? a : [a]).some((d) => t[i] === d)) && (o = h(o, e.css));
248
248
  }), o;
249
249
  }
250
- const mr = c({
250
+ const fr = c({
251
251
  position: "relative",
252
252
  overflow: "hidden",
253
- borderRadius: "3xl",
253
+ borderRadius: "xl",
254
254
  borderWidth: "1px",
255
255
  borderColor: "border.subtle",
256
256
  bg: "bg.card",
257
- backdropFilter: "blur(28px) saturate(155%)",
258
- boxShadow: "0 25px 30px -35px rgba(15,23,42,0.42)",
259
- _before: {
260
- content: '""',
261
- position: "absolute",
262
- inset: "0",
263
- pointerEvents: "none",
264
- background: "linear-gradient(180deg, rgba(255,255,255,0.28) 0%, rgba(255,255,255,0.04) 18%, rgba(255,255,255,0) 100%)"
265
- },
257
+ boxShadow: "0 1px 3px 0 rgba(15,23,42,0.06)",
266
258
  _dark: {
267
- backdropFilter: "blur(12px) saturate(110%)",
268
- boxShadow: "0 16px 34px -28px rgba(0,0,0,0.92)",
269
- _before: {
270
- background: "none"
271
- }
259
+ boxShadow: "0 1px 3px 0 rgba(0,0,0,0.24)"
272
260
  }
273
261
  }), hr = c({
274
- borderRadius: "2xl",
262
+ borderRadius: "lg",
275
263
  borderWidth: "1px",
276
264
  borderColor: "border.soft",
277
- bg: "bg.cardAlt",
278
- backdropFilter: "blur(24px) saturate(145%)",
279
- boxShadow: "inset 0 1px 0 rgba(255,255,255,0.22)",
280
- _dark: {
281
- backdropFilter: "blur(10px) saturate(105%)",
282
- boxShadow: "inset 0 1px 0 rgba(255,255,255,0.03)"
283
- }
265
+ bg: "bg.cardAlt"
284
266
  }), xr = c({
285
- borderRadius: "2xl",
267
+ borderRadius: "lg",
286
268
  borderWidth: "1px",
287
269
  borderColor: "border.default",
288
270
  bg: "bg.cardStrong",
289
- backdropFilter: "blur(24px) saturate(145%)",
290
- boxShadow: "0 16px 32px -28px rgba(15,23,42,0.42)",
271
+ boxShadow: "0 2px 8px -2px rgba(15,23,42,0.08)",
291
272
  _dark: {
292
- boxShadow: "0 16px 34px -28px rgba(0,0,0,0.92)"
273
+ boxShadow: "0 2px 8px -2px rgba(0,0,0,0.32)"
293
274
  }
294
- }), Sr = c({
275
+ }), yr = c({
295
276
  fontSize: "xs",
296
277
  textTransform: "uppercase",
297
278
  letterSpacing: "0.12em",
298
279
  color: "text.muted",
299
280
  fontWeight: "700"
300
- }), yr = c({
281
+ }), Sr = c({
301
282
  fontFamily: "heading",
302
283
  fontSize: { base: "2xl", md: "3xl" },
303
284
  lineHeight: "1",
304
285
  color: "text.primary"
305
- }), kr = c({
286
+ }), vr = c({
306
287
  color: "text.secondary",
307
288
  lineHeight: "1.65",
308
289
  fontSize: "sm"
@@ -310,67 +291,55 @@ const mr = c({
310
291
  color: "text.secondary",
311
292
  fontSize: "sm",
312
293
  lineHeight: "1.6"
313
- }), vr = c({
294
+ }), kr = c({
314
295
  color: "text.primary",
315
296
  fontWeight: "700",
316
297
  lineHeight: "1.1"
317
- }), wr = c({
298
+ }), Cr = c({
318
299
  whiteSpace: "pre-wrap",
319
300
  fontFamily: "mono",
320
301
  fontSize: "sm",
321
302
  lineHeight: "1.65",
322
303
  color: "text.secondary"
323
- }), Cr = w({
304
+ }), wr = C({
324
305
  base: {
325
306
  position: "relative",
326
307
  display: "inline-flex",
327
308
  alignItems: "center",
328
309
  justifyContent: "center",
329
310
  gap: "2",
330
- borderRadius: "xl",
311
+ borderRadius: "lg",
331
312
  px: "4",
332
- py: "3",
313
+ py: "2.5",
333
314
  fontSize: "sm",
334
- fontWeight: "700",
315
+ fontWeight: "600",
335
316
  letterSpacing: "0.01em",
336
- backdropFilter: "blur(22px) saturate(140%)",
337
- transition: "all 160ms ease",
317
+ transition: "background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease",
338
318
  userSelect: "none",
339
319
  whiteSpace: "nowrap"
340
320
  },
341
321
  variants: {
342
322
  variant: {
343
323
  solid: {
344
- bg: "linear-gradient(135deg, rgba(31,67,182,0.96) 0%, rgba(49,94,255,0.92) 100%)",
324
+ bg: "text.accent",
345
325
  color: "text.inverse",
346
326
  borderWidth: "1px",
347
- borderColor: "rgba(255,255,255,0.18)",
348
- boxShadow: "0 22px 36px -24px rgba(49,94,255,0.78), inset 0 1px 0 rgba(255,255,255,0.24)",
327
+ borderColor: "transparent",
349
328
  _dark: {
350
- color: "#f7f9fd",
351
- borderColor: "rgba(255,255,255,0.06)",
352
- boxShadow: "0 22px 40px -24px rgba(71,121,255,0.55), inset 0 1px 0 rgba(255,255,255,0.18)"
329
+ color: "#f7f9fd"
353
330
  }
354
331
  },
355
332
  outline: {
356
333
  bg: "bg.buttonOutline",
357
334
  color: "text.secondary",
358
335
  borderWidth: "1px",
359
- borderColor: "border.default",
360
- boxShadow: "inset 0 1px 0 rgba(255,255,255,0.18)",
361
- _dark: {
362
- boxShadow: "inset 0 1px 0 rgba(255,255,255,0.04)"
363
- }
336
+ borderColor: "border.default"
364
337
  },
365
338
  subtle: {
366
339
  bg: "bg.accentSoft",
367
340
  color: "text.accent",
368
341
  borderWidth: "1px",
369
- borderColor: "badge.infoBorder",
370
- boxShadow: "inset 0 1px 0 rgba(255,255,255,0.22)",
371
- _dark: {
372
- boxShadow: "inset 0 1px 0 rgba(255,255,255,0.04)"
373
- }
342
+ borderColor: "badge.infoBorder"
374
343
  }
375
344
  },
376
345
  disabled: {
@@ -396,8 +365,8 @@ const mr = c({
396
365
  loading: !1,
397
366
  css: {
398
367
  _hover: {
399
- transform: "translateY(-1px)",
400
- boxShadow: "0 24px 42px -24px rgba(49,94,255,0.82), inset 0 1px 0 rgba(255,255,255,0.28)"
368
+ bg: "text.accent",
369
+ opacity: 0.9
401
370
  }
402
371
  }
403
372
  },
@@ -409,8 +378,7 @@ const mr = c({
409
378
  _hover: {
410
379
  color: "text.primary",
411
380
  borderColor: "border.strong",
412
- bg: "bg.cardStrong",
413
- transform: "translateY(-1px)"
381
+ bg: "bg.cardStrong"
414
382
  }
415
383
  }
416
384
  },
@@ -421,8 +389,7 @@ const mr = c({
421
389
  css: {
422
390
  _hover: {
423
391
  bg: "bg.selected",
424
- borderColor: "border.accent",
425
- transform: "translateY(-1px)"
392
+ borderColor: "border.accent"
426
393
  }
427
394
  }
428
395
  }
@@ -432,7 +399,7 @@ const mr = c({
432
399
  disabled: !1,
433
400
  loading: !1
434
401
  }
435
- }), Rr = w({
402
+ }), Rr = C({
436
403
  base: {
437
404
  borderWidth: "1px",
438
405
  borderColor: "border.subtle",
@@ -500,9 +467,9 @@ const mr = c({
500
467
  flexShrink: "0"
501
468
  });
502
469
  export {
503
- Sr as a,
504
- Cr as b,
505
- wr as c,
470
+ yr as a,
471
+ wr as b,
472
+ Cr as c,
506
473
  Rr as d,
507
474
  xr as e,
508
475
  Er as f,
@@ -511,12 +478,12 @@ export {
511
478
  hr as i,
512
479
  Br as j,
513
480
  Or as k,
514
- yr as l,
515
- vr as m,
516
- mr as n,
517
- w as o,
481
+ Sr as l,
482
+ kr as m,
483
+ fr as n,
484
+ C as o,
518
485
  Pr as p,
519
- fr as q,
486
+ mr as q,
520
487
  c as r,
521
- kr as s
488
+ vr as s
522
489
  };
@@ -1,15 +1,12 @@
1
1
  export declare const uiButtonClass: import("../../styled-system/types").RecipeRuntimeFn<{
2
2
  variant: {
3
3
  solid: {
4
- bg: "linear-gradient(135deg, rgba(31,67,182,0.96) 0%, rgba(49,94,255,0.92) 100%)";
4
+ bg: "text.accent";
5
5
  color: "text.inverse";
6
6
  borderWidth: "1px";
7
- borderColor: "rgba(255,255,255,0.18)";
8
- boxShadow: "0 22px 36px -24px rgba(49,94,255,0.78), inset 0 1px 0 rgba(255,255,255,0.24)";
7
+ borderColor: "transparent";
9
8
  _dark: {
10
9
  color: "#f7f9fd";
11
- borderColor: "rgba(255,255,255,0.06)";
12
- boxShadow: "0 22px 40px -24px rgba(71,121,255,0.55), inset 0 1px 0 rgba(255,255,255,0.18)";
13
10
  };
14
11
  };
15
12
  outline: {
@@ -17,20 +14,12 @@ export declare const uiButtonClass: import("../../styled-system/types").RecipeRu
17
14
  color: "text.secondary";
18
15
  borderWidth: "1px";
19
16
  borderColor: "border.default";
20
- boxShadow: "inset 0 1px 0 rgba(255,255,255,0.18)";
21
- _dark: {
22
- boxShadow: "inset 0 1px 0 rgba(255,255,255,0.04)";
23
- };
24
17
  };
25
18
  subtle: {
26
19
  bg: "bg.accentSoft";
27
20
  color: "text.accent";
28
21
  borderWidth: "1px";
29
22
  borderColor: "badge.infoBorder";
30
- boxShadow: "inset 0 1px 0 rgba(255,255,255,0.22)";
31
- _dark: {
32
- boxShadow: "inset 0 1px 0 rgba(255,255,255,0.04)";
33
- };
34
23
  };
35
24
  };
36
25
  disabled: {
@@ -1,4 +1,4 @@
1
- import { _ as s, a as t, b as i, c as o, d as n, e as S, f as U, g as d, h as l, i as c, j as g } from "./chunks/UiSkeleton.vue_vue_type_script_setup_true_lang-Lghyrtms.js";
1
+ import { _ as s, a as t, b as i, c as o, d as n, e as S, f as U, g as d, h as l, i as c, j as g } from "./chunks/UiSkeleton.vue_vue_type_script_setup_true_lang-B61z8swg.js";
2
2
  export {
3
3
  s as PageSurface,
4
4
  t as ResultPanel,
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
- import { _ as a, a as l, b as o, c as t, d as i, e as n, f as r, g as C, h as c, i as p, j as d } from "./chunks/UiSkeleton.vue_vue_type_script_setup_true_lang-Lghyrtms.js";
1
+ import { _ as a, a as l, b as o, c as t, d as i, e as n, f as r, g as C, h as c, i as p, j as d } from "./chunks/UiSkeleton.vue_vue_type_script_setup_true_lang-B61z8swg.js";
2
2
  import { actionToolbarClass as u, badgeRecipe as f, cardRecipe as m, centeredEmptyStatePanelClass as k, clusterLayout as R, emptyStatePanelClass as T, errorTextClass as S, fieldControlClass as x, fieldControlSmClass as b, fieldTextareaClass as P, focusRingClass as y, infoPanelClass as U, inputRecipe as L, loadingRegionClass as h, metricGridPattern as B, mutedTextClass as D, resultRegionClass as H, resultSkeletonPanelClass as j, selectableDetailClass as w, selectableListClass as v, selectableListDetailRootClass as A, splitLayout as E, stackLayout as F } from "./styles.js";
3
- import { b as V, c as _, d as q, e as z, a as I, h as J, i as K, m as M, p as N, f as O, g as Q, j as W, k as X, s as Y, l as Z, n as $ } from "./chunks/pageHeader-CcJrPX_8.js";
3
+ import { b as V, c as _, d as q, e as z, a as I, h as J, i as K, m as M, p as N, f as O, g as Q, j as W, k as X, s as Y, l as Z, n as $ } from "./chunks/pageHeader-D9KF7WOO.js";
4
4
  import { colorTokens as es } from "./tokens.js";
5
5
  import { coreColorTokens as ls, motionTokens as os, radiusTokens as ts, spacingTokens as is, typographyTokens as ns } from "./tokens-core.js";
6
6
  import { desktopColorTokens as Cs } from "./tokens-desktop.js";
@@ -1,15 +1,12 @@
1
1
  export declare const buttonRecipe: import("../../../styled-system/types").RecipeRuntimeFn<{
2
2
  variant: {
3
3
  solid: {
4
- bg: "linear-gradient(135deg, rgba(31,67,182,0.96) 0%, rgba(49,94,255,0.92) 100%)";
4
+ bg: "text.accent";
5
5
  color: "text.inverse";
6
6
  borderWidth: "1px";
7
- borderColor: "rgba(255,255,255,0.18)";
8
- boxShadow: "0 22px 36px -24px rgba(49,94,255,0.78), inset 0 1px 0 rgba(255,255,255,0.24)";
7
+ borderColor: "transparent";
9
8
  _dark: {
10
9
  color: "#f7f9fd";
11
- borderColor: "rgba(255,255,255,0.06)";
12
- boxShadow: "0 22px 40px -24px rgba(71,121,255,0.55), inset 0 1px 0 rgba(255,255,255,0.18)";
13
10
  };
14
11
  };
15
12
  outline: {
@@ -17,20 +14,12 @@ export declare const buttonRecipe: import("../../../styled-system/types").Recipe
17
14
  color: "text.secondary";
18
15
  borderWidth: "1px";
19
16
  borderColor: "border.default";
20
- boxShadow: "inset 0 1px 0 rgba(255,255,255,0.18)";
21
- _dark: {
22
- boxShadow: "inset 0 1px 0 rgba(255,255,255,0.04)";
23
- };
24
17
  };
25
18
  subtle: {
26
19
  bg: "bg.accentSoft";
27
20
  color: "text.accent";
28
21
  borderWidth: "1px";
29
22
  borderColor: "badge.infoBorder";
30
- boxShadow: "inset 0 1px 0 rgba(255,255,255,0.22)";
31
- _dark: {
32
- boxShadow: "inset 0 1px 0 rgba(255,255,255,0.04)";
33
- };
34
23
  };
35
24
  };
36
25
  disabled: {
package/dist/styles.js CHANGED
@@ -1,5 +1,5 @@
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";
1
+ import { r as e, o as a, q as r, i as t, h as o } from "./chunks/pageHeader-D9KF7WOO.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-D9KF7WOO.js";
3
3
  const l = e({
4
4
  width: "100%",
5
5
  minHeight: "48px",
package/dist/ui.css CHANGED
@@ -1015,10 +1015,6 @@ body {
1015
1015
  background: var(--colors-bg-card-alt);
1016
1016
  }
1017
1017
 
1018
- .bg_linear-gradient\(135deg\,_rgba\(31\,67\,182\,0\.96\)_0\%\,_rgba\(49\,94\,255\,0\.92\)_100\%\) {
1019
- background: linear-gradient(135deg, rgba(31,67,182,0.96) 0%, rgba(49,94,255,0.92) 100%);
1020
- }
1021
-
1022
1018
  .p_3 {
1023
1019
  padding: var(--spacing-3);
1024
1020
  }
@@ -1219,8 +1215,8 @@ body {
1219
1215
  padding-inline: var(--spacing-2\.5);
1220
1216
  }
1221
1217
 
1222
- .bd-c_rgba\(255\,255\,255\,0\.18\) {
1223
- border-color: rgba(255,255,255,0.18);
1218
+ .trs_background-color_160ms_ease\,_border-color_160ms_ease\,_color_160ms_ease\,_box-shadow_160ms_ease {
1219
+ transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease;
1224
1220
  }
1225
1221
 
1226
1222
  .d_flex {
@@ -1611,17 +1607,12 @@ body {
1611
1607
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.24), 0 18px 36px -32px rgba(15,23,42,0.42);
1612
1608
  }
1613
1609
 
1614
- .bkdp_blur\(28px\)_saturate\(155\%\) {
1615
- backdrop-filter: blur(28px) saturate(155%);
1616
- -webkit-backdrop-filter: blur(28px) saturate(155%);
1617
- }
1618
-
1619
- .bx-sh_0_25px_30px_-35px_rgba\(15\,23\,42\,0\.42\) {
1620
- box-shadow: 0 25px 30px -35px rgba(15,23,42,0.42);
1610
+ .bx-sh_0_1px_3px_0_rgba\(15\,23\,42\,0\.06\) {
1611
+ box-shadow: 0 1px 3px 0 rgba(15,23,42,0.06);
1621
1612
  }
1622
1613
 
1623
- .bx-sh_0_16px_32px_-28px_rgba\(15\,23\,42\,0\.42\) {
1624
- box-shadow: 0 16px 32px -28px rgba(15,23,42,0.42);
1614
+ .bx-sh_0_2px_8px_-2px_rgba\(15\,23\,42\,0\.08\) {
1615
+ box-shadow: 0 2px 8px -2px rgba(15,23,42,0.08);
1625
1616
  }
1626
1617
 
1627
1618
  .ls_0\.12em {
@@ -1652,18 +1643,22 @@ body {
1652
1643
  letter-spacing: 0.01em;
1653
1644
  }
1654
1645
 
1655
- .bkdp_blur\(22px\)_saturate\(140\%\) {
1656
- backdrop-filter: blur(22px) saturate(140%);
1657
- -webkit-backdrop-filter: blur(22px) saturate(140%);
1658
- }
1659
-
1660
1646
  .us_none {
1661
1647
  -webkit-user-select: none;
1662
1648
  user-select: none;
1663
1649
  }
1664
1650
 
1665
- .bx-sh_0_22px_36px_-24px_rgba\(49\,94\,255\,0\.78\)\,_inset_0_1px_0_rgba\(255\,255\,255\,0\.24\) {
1666
- box-shadow: 0 22px 36px -24px rgba(49,94,255,0.78), inset 0 1px 0 rgba(255,255,255,0.24);
1651
+ .bkdp_blur\(28px\)_saturate\(155\%\) {
1652
+ backdrop-filter: blur(28px) saturate(155%);
1653
+ -webkit-backdrop-filter: blur(28px) saturate(155%);
1654
+ }
1655
+
1656
+ .bx-sh_0_25px_30px_-35px_rgba\(15\,23\,42\,0\.42\) {
1657
+ box-shadow: 0 25px 30px -35px rgba(15,23,42,0.42);
1658
+ }
1659
+
1660
+ .bx-sh_0_16px_32px_-28px_rgba\(15\,23\,42\,0\.42\) {
1661
+ box-shadow: 0 16px 32px -28px rgba(15,23,42,0.42);
1667
1662
  }
1668
1663
 
1669
1664
  .bkdp_blur\(34px\)_saturate\(165\%\) {
@@ -1867,14 +1862,6 @@ body {
1867
1862
  background: rgba(210, 220, 240, 0.11);
1868
1863
  }
1869
1864
 
1870
- .before\:bg_linear-gradient\(180deg\,_rgba\(255\,255\,255\,0\.28\)_0\%\,_rgba\(255\,255\,255\,0\.04\)_18\%\,_rgba\(255\,255\,255\,0\)_100\%\)::before {
1871
- background: linear-gradient(180deg, rgba(255,255,255,0.28) 0%, rgba(255,255,255,0.04) 18%, rgba(255,255,255,0) 100%);
1872
- }
1873
-
1874
- [data-theme="dark"] .dark\:bd-c_rgba\(255\,255\,255\,0\.06\) {
1875
- border-color: rgba(255,255,255,0.06);
1876
- }
1877
-
1878
1865
  [data-theme="dark"] .dark\:bx-sh_inset_0_1px_0_rgba\(255\,255\,255\,0\.04\) {
1879
1866
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
1880
1867
  }
@@ -1899,32 +1886,18 @@ body {
1899
1886
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
1900
1887
  }
1901
1888
 
1902
- .before\:pointer-events_none::before {
1903
- pointer-events: none;
1904
- }
1905
-
1906
- [data-theme="dark"] .dark\:bkdp_blur\(12px\)_saturate\(110\%\) {
1907
- backdrop-filter: blur(12px) saturate(110%);
1908
- -webkit-backdrop-filter: blur(12px) saturate(110%);
1909
- }
1910
-
1911
- [data-theme="dark"] .dark\:bx-sh_0_16px_34px_-28px_rgba\(0\,0\,0\,0\.92\) {
1912
- box-shadow: 0 16px 34px -28px rgba(0,0,0,0.92);
1889
+ [data-theme="dark"] .dark\:bx-sh_0_1px_3px_0_rgba\(0\,0\,0\,0\.24\) {
1890
+ box-shadow: 0 1px 3px 0 rgba(0,0,0,0.24);
1913
1891
  }
1914
1892
 
1915
- [data-theme="dark"] .dark\:bkdp_blur\(10px\)_saturate\(105\%\) {
1916
- backdrop-filter: blur(10px) saturate(105%);
1917
- -webkit-backdrop-filter: blur(10px) saturate(105%);
1893
+ [data-theme="dark"] .dark\:bx-sh_0_2px_8px_-2px_rgba\(0\,0\,0\,0\.32\) {
1894
+ box-shadow: 0 2px 8px -2px rgba(0,0,0,0.32);
1918
1895
  }
1919
1896
 
1920
1897
  [data-theme="dark"] .dark\:c_\#f7f9fd {
1921
1898
  color: #f7f9fd;
1922
1899
  }
1923
1900
 
1924
- [data-theme="dark"] .dark\:bx-sh_0_22px_40px_-24px_rgba\(71\,121\,255\,0\.55\)\,_inset_0_1px_0_rgba\(255\,255\,255\,0\.18\) {
1925
- box-shadow: 0 22px 40px -24px rgba(71,121,255,0.55), inset 0 1px 0 rgba(255,255,255,0.18);
1926
- }
1927
-
1928
1901
  .focusVisible\:ring_2px_solid:is(:focus-visible, [data-focus-visible]) {
1929
1902
  outline: 2px solid;
1930
1903
  }
@@ -1953,6 +1926,10 @@ body {
1953
1926
  background: var(--colors-bg-selected);
1954
1927
  }
1955
1928
 
1929
+ .hover\:bg_text\.accent:is(:hover, [data-hover]) {
1930
+ background: var(--colors-text-accent);
1931
+ }
1932
+
1956
1933
  .hover\:bg_bg\.card:is(:hover, [data-hover]) {
1957
1934
  background: var(--colors-bg-card);
1958
1935
  }
@@ -1973,18 +1950,14 @@ body {
1973
1950
  color: var(--colors-text-primary);
1974
1951
  }
1975
1952
 
1976
- .hover\:bx-sh_0_24px_42px_-24px_rgba\(49\,94\,255\,0\.82\)\,_inset_0_1px_0_rgba\(255\,255\,255\,0\.28\):is(:hover, [data-hover]) {
1977
- box-shadow: 0 24px 42px -24px rgba(49,94,255,0.82), inset 0 1px 0 rgba(255,255,255,0.28);
1953
+ .hover\:op_0\.9:is(:hover, [data-hover]) {
1954
+ opacity: 0.9;
1978
1955
  }
1979
1956
 
1980
1957
  [data-theme="dark"] .dark\:before\:bg_linear-gradient\(90deg\,_rgba\(255\,255\,255\,0\)_0\%\,_rgba\(186\,204\,236\,0\.22\)_50\%\,_rgba\(255\,255\,255\,0\)_100\%\)::before {
1981
1958
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(186,204,236,0.22) 50%, rgba(255,255,255,0) 100%);
1982
1959
  }
1983
1960
 
1984
- [data-theme="dark"] .dark\:before\:bg_none::before {
1985
- background: none;
1986
- }
1987
-
1988
1961
  @media screen and (min-width: 48rem) {
1989
1962
  .md\:p_5 {
1990
1963
  padding: var(--spacing-5);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aggc/ui",
3
- "version": "0.5.1",
3
+ "version": "0.6.0",
4
4
  "description": "Shared Vue UI primitives, patterns, and tokens for AGGC desktop and web.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -23,7 +23,7 @@ const props = withDefaults(defineProps<{
23
23
  scrollBody?: boolean;
24
24
  collapseBodyGap?: boolean;
25
25
  }>(), {
26
- eyebrow: "Workspace surface",
26
+ eyebrow: undefined,
27
27
  description: "",
28
28
  scrollBody: false,
29
29
  collapseBodyGap: false,
@@ -3,50 +3,30 @@ import { css } from "@styled/css";
3
3
  export const surfacePanelClass = css({
4
4
  position: "relative",
5
5
  overflow: "hidden",
6
- borderRadius: "3xl",
6
+ borderRadius: "xl",
7
7
  borderWidth: "1px",
8
8
  borderColor: "border.subtle",
9
9
  bg: "bg.card",
10
- backdropFilter: "blur(28px) saturate(155%)",
11
- boxShadow: "0 25px 30px -35px rgba(15,23,42,0.42)",
12
- _before: {
13
- content: "\"\"",
14
- position: "absolute",
15
- inset: "0",
16
- pointerEvents: "none",
17
- background:
18
- "linear-gradient(180deg, rgba(255,255,255,0.28) 0%, rgba(255,255,255,0.04) 18%, rgba(255,255,255,0) 100%)",
19
- },
10
+ boxShadow: "0 1px 3px 0 rgba(15,23,42,0.06)",
20
11
  _dark: {
21
- backdropFilter: "blur(12px) saturate(110%)",
22
- boxShadow: "0 16px 34px -28px rgba(0,0,0,0.92)",
23
- _before: {
24
- background: "none",
25
- },
12
+ boxShadow: "0 1px 3px 0 rgba(0,0,0,0.24)",
26
13
  },
27
14
  });
28
15
 
29
16
  export const insetPanelClass = css({
30
- borderRadius: "2xl",
17
+ borderRadius: "lg",
31
18
  borderWidth: "1px",
32
19
  borderColor: "border.soft",
33
20
  bg: "bg.cardAlt",
34
- backdropFilter: "blur(24px) saturate(145%)",
35
- boxShadow: "inset 0 1px 0 rgba(255,255,255,0.22)",
36
- _dark: {
37
- backdropFilter: "blur(10px) saturate(105%)",
38
- boxShadow: "inset 0 1px 0 rgba(255,255,255,0.03)",
39
- },
40
21
  });
41
22
 
42
23
  export const elevatedPanelClass = css({
43
- borderRadius: "2xl",
24
+ borderRadius: "lg",
44
25
  borderWidth: "1px",
45
26
  borderColor: "border.default",
46
27
  bg: "bg.cardStrong",
47
- backdropFilter: "blur(24px) saturate(145%)",
48
- boxShadow: "0 16px 32px -28px rgba(15,23,42,0.42)",
28
+ boxShadow: "0 2px 8px -2px rgba(15,23,42,0.08)",
49
29
  _dark: {
50
- boxShadow: "0 16px 34px -28px rgba(0,0,0,0.92)",
30
+ boxShadow: "0 2px 8px -2px rgba(0,0,0,0.32)",
51
31
  },
52
32
  });
@@ -7,29 +7,25 @@ export const buttonRecipe = cva({
7
7
  alignItems: "center",
8
8
  justifyContent: "center",
9
9
  gap: "2",
10
- borderRadius: "xl",
10
+ borderRadius: "lg",
11
11
  px: "4",
12
- py: "3",
12
+ py: "2.5",
13
13
  fontSize: "sm",
14
- fontWeight: "700",
14
+ fontWeight: "600",
15
15
  letterSpacing: "0.01em",
16
- backdropFilter: "blur(22px) saturate(140%)",
17
- transition: "all 160ms ease",
16
+ transition: "background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease",
18
17
  userSelect: "none",
19
18
  whiteSpace: "nowrap",
20
19
  },
21
20
  variants: {
22
21
  variant: {
23
22
  solid: {
24
- bg: "linear-gradient(135deg, rgba(31,67,182,0.96) 0%, rgba(49,94,255,0.92) 100%)",
23
+ bg: "text.accent",
25
24
  color: "text.inverse",
26
25
  borderWidth: "1px",
27
- borderColor: "rgba(255,255,255,0.18)",
28
- boxShadow: "0 22px 36px -24px rgba(49,94,255,0.78), inset 0 1px 0 rgba(255,255,255,0.24)",
26
+ borderColor: "transparent",
29
27
  _dark: {
30
28
  color: "#f7f9fd",
31
- borderColor: "rgba(255,255,255,0.06)",
32
- boxShadow: "0 22px 40px -24px rgba(71,121,255,0.55), inset 0 1px 0 rgba(255,255,255,0.18)",
33
29
  },
34
30
  },
35
31
  outline: {
@@ -37,20 +33,12 @@ export const buttonRecipe = cva({
37
33
  color: "text.secondary",
38
34
  borderWidth: "1px",
39
35
  borderColor: "border.default",
40
- boxShadow: "inset 0 1px 0 rgba(255,255,255,0.18)",
41
- _dark: {
42
- boxShadow: "inset 0 1px 0 rgba(255,255,255,0.04)",
43
- },
44
36
  },
45
37
  subtle: {
46
38
  bg: "bg.accentSoft",
47
39
  color: "text.accent",
48
40
  borderWidth: "1px",
49
41
  borderColor: "badge.infoBorder",
50
- boxShadow: "inset 0 1px 0 rgba(255,255,255,0.22)",
51
- _dark: {
52
- boxShadow: "inset 0 1px 0 rgba(255,255,255,0.04)",
53
- },
54
42
  },
55
43
  },
56
44
  disabled: {
@@ -76,8 +64,8 @@ export const buttonRecipe = cva({
76
64
  loading: false,
77
65
  css: {
78
66
  _hover: {
79
- transform: "translateY(-1px)",
80
- boxShadow: "0 24px 42px -24px rgba(49,94,255,0.82), inset 0 1px 0 rgba(255,255,255,0.28)",
67
+ bg: "text.accent",
68
+ opacity: 0.9,
81
69
  },
82
70
  },
83
71
  },
@@ -90,7 +78,6 @@ export const buttonRecipe = cva({
90
78
  color: "text.primary",
91
79
  borderColor: "border.strong",
92
80
  bg: "bg.cardStrong",
93
- transform: "translateY(-1px)",
94
81
  },
95
82
  },
96
83
  },
@@ -102,7 +89,6 @@ export const buttonRecipe = cva({
102
89
  _hover: {
103
90
  bg: "bg.selected",
104
91
  borderColor: "border.accent",
105
- transform: "translateY(-1px)",
106
92
  },
107
93
  },
108
94
  },