@ac-design/design-system 2.4.3 → 2.4.4

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.
@@ -3711,6 +3711,12 @@ button:is([data-ac-ds], [data-ac-ds] *), input:where([type="button"], [type="res
3711
3711
  --tw-ring-color: color-mix(in oklab, var(--color-info) 40%, transparent) !important;
3712
3712
  }
3713
3713
  }
3714
+ .ring-muted\/70:where([data-ac-ds], [data-ac-ds] *) {
3715
+ --tw-ring-color: color-mix(in srgb, #5c5c5c 70%, transparent) !important;
3716
+ @supports (color: color-mix(in lab, red, red)) {
3717
+ --tw-ring-color: color-mix(in oklab, var(--color-muted) 70%, transparent) !important;
3718
+ }
3719
+ }
3714
3720
  .ring-pending\/20:where([data-ac-ds], [data-ac-ds] *) {
3715
3721
  --tw-ring-color: color-mix(in srgb, #8b5cf6 20%, transparent) !important;
3716
3722
  @supports (color: color-mix(in lab, red, red)) {
@@ -6,7 +6,7 @@ var E = { class: "flex flex-col gap-3" }, D = ["for"], O = [
6
6
  "name",
7
7
  "value",
8
8
  "disabled"
9
- ], k = { class: "flex min-w-0 flex-col gap-1" }, A = { class: "font-medium" }, j = {
9
+ ], k = { class: "flex min-w-0 flex-col gap-1" }, A = { class: "font-normal" }, j = {
10
10
  key: 0,
11
11
  class: "text-xs text-muted"
12
12
  }, M = {
@@ -101,9 +101,9 @@ var w = {
101
101
  src: e.logo,
102
102
  alt: "",
103
103
  class: "size-8 shrink-0 rounded-10 border border-border bg-surface object-contain p-1"
104
- }, null, 8, D)) : i("", !0), o("span", O, [e.badge ? (d(), a("span", k, [o("span", { class: u(c.cards ? "font-semibold" : "font-medium") }, h(e.label), 3), o("span", { class: u(["rounded-full px-2 py-0.5 text-xs font-medium", P[e.badgeColor ?? "primary"]]) }, h(e.badge), 3)])) : (d(), a("span", {
104
+ }, null, 8, D)) : i("", !0), o("span", O, [e.badge ? (d(), a("span", k, [o("span", { class: u(c.cards ? "font-semibold" : "font-normal") }, h(e.label), 3), o("span", { class: u(["rounded-full px-2 py-0.5 text-xs font-medium", P[e.badgeColor ?? "primary"]]) }, h(e.badge), 3)])) : (d(), a("span", {
105
105
  key: 1,
106
- class: u(c.cards ? "font-semibold" : "font-medium")
106
+ class: u(c.cards ? "font-semibold" : "font-normal")
107
107
  }, h(e.label), 3)), c.cards && e.description ? (d(), a("span", A, h(e.description), 1)) : i("", !0)])])]),
108
108
  _: 2
109
109
  }, 1032, ["for", "class"])),
@@ -10,7 +10,7 @@ var m = {
10
10
  "aria-hidden": "true"
11
11
  }, _ = {
12
12
  key: 1,
13
- class: "mt-0.5 text-xs text-muted"
13
+ class: "mt-0.5 text-base text-muted"
14
14
  }, ae = {
15
15
  key: 0,
16
16
  class: "shrink-0 text-base font-medium text-heading tabular-nums",
@@ -68,7 +68,7 @@ var h = { class: "flex items-center gap-2" }, g = ["for"], _ = [
68
68
  "aria-busy": i.loading || void 0,
69
69
  "aria-disabled": i.loading && !i.disabled || void 0,
70
70
  disabled: i.disabled,
71
- class: ["relative h-6 w-11 shrink-0 rounded-full transition-colors duration-200 focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-surface focus-visible:outline-none motion-reduce:transition-none", [b.value ? "bg-primary" : "bg-slate-80", i.disabled ? "cursor-not-allowed opacity-50" : i.loading ? "cursor-wait animate-pulse motion-reduce:animate-none" : "cursor-pointer"]],
71
+ class: ["relative h-6 w-11 shrink-0 rounded-full transition-colors duration-200 focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-surface focus-visible:outline-none motion-reduce:transition-none", [b.value ? "bg-primary" : "bg-slate-80 ring-1 ring-muted/70 ring-inset", i.disabled ? "cursor-not-allowed opacity-50" : i.loading ? "cursor-wait animate-pulse motion-reduce:animate-none" : "cursor-pointer"]],
72
72
  onClick: D
73
73
  }), [r("span", { class: s(["pointer-events-none absolute top-0.5 left-0.5 size-5 rounded-full border bg-white transition-transform duration-200 ease-out motion-reduce:transition-none", b.value ? "translate-x-5 border-white" : "translate-x-0 border-slate-70"]) }, null, 2)], 16, _),
74
74
  u(e.$slots, "right")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ac-design/design-system",
3
- "version": "2.4.3",
3
+ "version": "2.4.4",
4
4
  "description": "AppsCode design system: Tailwind CSS v4 theme and Vue 3 components.",
5
5
  "repository": {
6
6
  "type": "git",