@aggc/ui 0.7.0 → 0.7.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.
@@ -1,5 +1,5 @@
1
1
  import { defineComponent as m, 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 R, withCtx as te, createTextVNode as O, Fragment as $, renderList as V, createCommentVNode as b, withKeys as U, withModifiers as K, ref as B, useId as se, computed as L, watch as N, onMounted as le, onBeforeUnmount as oe, nextTick as T, normalizeStyle as ie } from "vue";
2
- import { j as re, o as f, q as H, n as Y, r, g as ne, f as de, a as X, l as ce, p as ue, b as be, h as fe, i as ge, d as me } from "./pageHeader-DhPY_hNA.js";
2
+ import { j as re, o as f, q as H, n as Y, r, g as ne, f as de, a as X, l as ce, p as ue, b as be, h as fe, i as ge, d as me } from "./pageHeader-YZ3BV9dQ.js";
3
3
  import { CheckCircle2 as pe, TriangleAlert as ve, LoaderCircle as he, Check as q, ChevronDown as ye } from "lucide-vue-next";
4
4
  const Ce = re, Oa = /* @__PURE__ */ m({
5
5
  __name: "PageSurface",
@@ -377,10 +377,7 @@ const fr = c({
377
377
  bg: "text.error",
378
378
  color: "text.inverse",
379
379
  borderWidth: "1px",
380
- borderColor: "transparent",
381
- _dark: {
382
- color: "text.inverse"
383
- }
380
+ borderColor: "transparent"
384
381
  }
385
382
  },
386
383
  disabled: {
@@ -439,10 +436,16 @@ const fr = c({
439
436
  color: "text.error",
440
437
  borderColor: "border.danger",
441
438
  bg: "transparent",
439
+ _dark: {
440
+ color: "text.error"
441
+ },
442
442
  _hover: {
443
443
  bg: "badge.dangerBg",
444
444
  borderColor: "text.error",
445
- color: "text.error"
445
+ color: "text.error",
446
+ _dark: {
447
+ color: "text.error"
448
+ }
446
449
  }
447
450
  }
448
451
  },
@@ -47,9 +47,6 @@ export declare const uiButtonClass: import("../../styled-system/types").RecipeRu
47
47
  color: "text.inverse";
48
48
  borderWidth: "1px";
49
49
  borderColor: "transparent";
50
- _dark: {
51
- color: "text.inverse";
52
- };
53
50
  };
54
51
  };
55
52
  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-Dg-HzSqj.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-DUse1KRc.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-Dg-HzSqj.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-DUse1KRc.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-DhPY_hNA.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-YZ3BV9dQ.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";
@@ -47,9 +47,6 @@ export declare const buttonRecipe: import("../../../styled-system/types").Recipe
47
47
  color: "text.inverse";
48
48
  borderWidth: "1px";
49
49
  borderColor: "transparent";
50
- _dark: {
51
- color: "text.inverse";
52
- };
53
50
  };
54
51
  };
55
52
  disabled: {
package/dist/styles.js CHANGED
@@ -1,5 +1,5 @@
1
- import { r as e, o as r, q as o, i as a, h as t } from "./chunks/pageHeader-DhPY_hNA.js";
2
- import { b as V, c as B, d as P, e as j, a as I, m as L, p as q, f as A, g as D, j as F, k as E, s as G, l as O, n as J } from "./chunks/pageHeader-DhPY_hNA.js";
1
+ import { r as e, o as r, q as o, i as a, h as t } from "./chunks/pageHeader-YZ3BV9dQ.js";
2
+ import { b as V, c as B, d as P, e as j, a as I, m as L, p as q, f as A, g as D, j as F, k as E, s as G, l as O, n as J } from "./chunks/pageHeader-YZ3BV9dQ.js";
3
3
  const d = e({
4
4
  width: "100%",
5
5
  minHeight: "48px",
package/dist/ui.css CHANGED
@@ -1935,6 +1935,10 @@ body {
1935
1935
  color: var(--colors-text-inverse);
1936
1936
  }
1937
1937
 
1938
+ [data-theme="dark"] .dark\:c_text\.error {
1939
+ color: var(--colors-text-error);
1940
+ }
1941
+
1938
1942
  [data-theme="dark"] .dark\:bx-sh_0_4px_16px_-4px_rgba\(0\,0\,0\,0\.32\)\,_0_8px_24px_-8px_rgba\(0\,0\,0\,0\.24\)\,_0_1px_2px_0_rgba\(0\,0\,0\,0\.16\) {
1939
1943
  box-shadow: 0 4px 16px -4px rgba(0,0,0,0.32), 0 8px 24px -8px rgba(0,0,0,0.24), 0 1px 2px 0 rgba(0,0,0,0.16);
1940
1944
  }
@@ -2063,6 +2067,10 @@ body {
2063
2067
  box-shadow: 0 2px 8px -2px rgba(255, 142, 127, 0.3);
2064
2068
  }
2065
2069
 
2070
+ [data-theme="dark"] .hover\:dark\:c_text\.error:is(:hover, [data-hover]) {
2071
+ color: var(--colors-text-error);
2072
+ }
2073
+
2066
2074
  @media screen and (min-width: 48rem) {
2067
2075
  .md\:p_5 {
2068
2076
  padding: var(--spacing-5);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aggc/ui",
3
- "version": "0.7.0",
3
+ "version": "0.7.1",
4
4
  "description": "Shared Vue UI primitives, patterns, and tokens for AGGC desktop and web.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -11,7 +11,8 @@ export const buttonRecipe = cva({
11
11
  fontSize: "sm",
12
12
  fontWeight: "600",
13
13
  letterSpacing: "0.005em",
14
- transition: "background-color 160ms cubic-bezier(0.25, 0.1, 0.25, 1), border-color 160ms cubic-bezier(0.25, 0.1, 0.25, 1), color 160ms cubic-bezier(0.25, 0.1, 0.25, 1), box-shadow 160ms cubic-bezier(0.25, 0.1, 0.25, 1), opacity 160ms cubic-bezier(0.25, 0.1, 0.25, 1), transform 160ms cubic-bezier(0.25, 0.1, 0.25, 1)",
14
+ transition:
15
+ "background-color 160ms cubic-bezier(0.25, 0.1, 0.25, 1), border-color 160ms cubic-bezier(0.25, 0.1, 0.25, 1), color 160ms cubic-bezier(0.25, 0.1, 0.25, 1), box-shadow 160ms cubic-bezier(0.25, 0.1, 0.25, 1), opacity 160ms cubic-bezier(0.25, 0.1, 0.25, 1), transform 160ms cubic-bezier(0.25, 0.1, 0.25, 1)",
15
16
  userSelect: "none",
16
17
  whiteSpace: "nowrap",
17
18
  _focusVisible: {
@@ -69,9 +70,6 @@ export const buttonRecipe = cva({
69
70
  color: "text.inverse",
70
71
  borderWidth: "1px",
71
72
  borderColor: "transparent",
72
- _dark: {
73
- color: "text.inverse",
74
- },
75
73
  },
76
74
  },
77
75
  disabled: {
@@ -130,10 +128,16 @@ export const buttonRecipe = cva({
130
128
  color: "text.error",
131
129
  borderColor: "border.danger",
132
130
  bg: "transparent",
131
+ _dark: {
132
+ color: "text.error",
133
+ },
133
134
  _hover: {
134
135
  bg: "badge.dangerBg",
135
136
  borderColor: "text.error",
136
137
  color: "text.error",
138
+ _dark: {
139
+ color: "text.error",
140
+ },
137
141
  },
138
142
  },
139
143
  },