@duyluonganduin/acl-web-components 0.0.64 → 0.0.66

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.
@@ -284,12 +284,12 @@ I1.elementStyles = [], I1.shadowRootOptions = { mode: "open" }, I1[s2("elementPr
284
284
  * Copyright 2017 Google LLC
285
285
  * SPDX-License-Identifier: BSD-3-Clause
286
286
  */
287
- const a2 = globalThis, M4 = (r) => r, z2 = a2.trustedTypes, w4 = z2 ? z2.createPolicy("lit-html", { createHTML: (r) => r }) : void 0, r3 = "$lit$", p1 = `lit$${Math.random().toFixed(9).slice(2)}$`, l3 = "?" + p1, T3 = `<${l3}>`, k1 = document, c2 = () => k1.createComment(""), C2 = (r) => r === null || typeof r != "object" && typeof r != "function", G5 = Array.isArray, N3 = (r) => G5(r) || typeof (r == null ? void 0 : r[Symbol.iterator]) == "function", q2 = `[
287
+ const a2 = globalThis, w4 = (r) => r, z2 = a2.trustedTypes, M4 = z2 ? z2.createPolicy("lit-html", { createHTML: (r) => r }) : void 0, r3 = "$lit$", p1 = `lit$${Math.random().toFixed(9).slice(2)}$`, l3 = "?" + p1, T3 = `<${l3}>`, k1 = document, c2 = () => k1.createComment(""), C2 = (r) => r === null || typeof r != "object" && typeof r != "function", G5 = Array.isArray, N3 = (r) => G5(r) || typeof (r == null ? void 0 : r[Symbol.iterator]) == "function", q2 = `[
288
288
  \f\r]`, e2 = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Z4 = /-->/g, k4 = />/g, V1 = RegExp(`>|${q2}(?:([^\\s"'>=/]+)(${q2}*=${q2}*(?:[^
289
- \f\r"'\`<>=]|("|')|))|$)`, "g"), R4 = /'/g, $4 = /"/g, s3 = /^(?:script|style|textarea|title)$/i, a3 = (r) => (e, ...t) => ({ _$litType$: r, strings: e, values: t }), a = a3(1), u2 = a3(2), R1 = Symbol.for("lit-noChange"), u = Symbol.for("lit-nothing"), E4 = /* @__PURE__ */ new WeakMap(), M1 = k1.createTreeWalker(k1, 129);
289
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), R4 = /'/g, $4 = /"/g, s3 = /^(?:script|style|textarea|title)$/i, a3 = (r) => (e, ...t) => ({ _$litType$: r, strings: e, values: t }), a = a3(1), u2 = a3(2), R1 = Symbol.for("lit-noChange"), u = Symbol.for("lit-nothing"), E4 = /* @__PURE__ */ new WeakMap(), w1 = k1.createTreeWalker(k1, 129);
290
290
  function d3(r, e) {
291
291
  if (!G5(r) || !r.hasOwnProperty("raw")) throw Error("invalid template strings array");
292
- return w4 !== void 0 ? w4.createHTML(e) : e;
292
+ return M4 !== void 0 ? M4.createHTML(e) : e;
293
293
  }
294
294
  const j3 = (r, e) => {
295
295
  const t = r.length - 1, o = [];
@@ -309,11 +309,11 @@ class p2 {
309
309
  this.parts = [];
310
310
  let n = 0, l = 0;
311
311
  const d = e.length - 1, c = this.parts, [C, p] = j3(e, t);
312
- if (this.el = p2.createElement(C, o), M1.currentNode = this.el.content, t === 2 || t === 3) {
312
+ if (this.el = p2.createElement(C, o), w1.currentNode = this.el.content, t === 2 || t === 3) {
313
313
  const f = this.el.content.firstChild;
314
314
  f.replaceWith(...f.childNodes);
315
315
  }
316
- for (; (i = M1.nextNode()) !== null && c.length < d; ) {
316
+ for (; (i = w1.nextNode()) !== null && c.length < d; ) {
317
317
  if (i.nodeType === 1) {
318
318
  if (i.hasAttributes()) for (const f of i.getAttributeNames()) if (f.endsWith(r3)) {
319
319
  const H = p[l++], m = i.getAttribute(f).split(p1), V = /([.?@])?(.*)/.exec(H);
@@ -323,7 +323,7 @@ class p2 {
323
323
  const f = i.textContent.split(p1), H = f.length - 1;
324
324
  if (H > 0) {
325
325
  i.textContent = z2 ? z2.emptyScript : "";
326
- for (let m = 0; m < H; m++) i.append(f[m], c2()), M1.nextNode(), c.push({ type: 2, index: ++n });
326
+ for (let m = 0; m < H; m++) i.append(f[m], c2()), w1.nextNode(), c.push({ type: 2, index: ++n });
327
327
  i.append(f[H], c2());
328
328
  }
329
329
  }
@@ -359,16 +359,16 @@ class U3 {
359
359
  }
360
360
  u(e) {
361
361
  const { el: { content: t }, parts: o } = this._$AD, i = ((e == null ? void 0 : e.creationScope) ?? k1).importNode(t, !0);
362
- M1.currentNode = i;
363
- let n = M1.nextNode(), l = 0, d = 0, c = o[0];
362
+ w1.currentNode = i;
363
+ let n = w1.nextNode(), l = 0, d = 0, c = o[0];
364
364
  for (; c !== void 0; ) {
365
365
  if (l === c.index) {
366
366
  let C;
367
367
  c.type === 2 ? C = new k2(n, n.nextSibling, this, e) : c.type === 1 ? C = new c.ctor(n, c.name, c.strings, this, e) : c.type === 6 && (C = new Y3(n, this, e)), this._$AV.push(C), c = o[++d];
368
368
  }
369
- l !== (c == null ? void 0 : c.index) && (n = M1.nextNode(), l++);
369
+ l !== (c == null ? void 0 : c.index) && (n = w1.nextNode(), l++);
370
370
  }
371
- return M1.currentNode = k1, i;
371
+ return w1.currentNode = k1, i;
372
372
  }
373
373
  p(e) {
374
374
  let t = 0;
@@ -429,8 +429,8 @@ class k2 {
429
429
  _$AR(e = this._$AA.nextSibling, t) {
430
430
  var o;
431
431
  for ((o = this._$AP) == null ? void 0 : o.call(this, !1, !0, t); e !== this._$AB; ) {
432
- const i = M4(e).nextSibling;
433
- M4(e).remove(), e = i;
432
+ const i = w4(e).nextSibling;
433
+ w4(e).remove(), e = i;
434
434
  }
435
435
  }
436
436
  setConnected(e) {
@@ -718,10 +718,10 @@ J5.styles = g`
718
718
  :host { display: inline-block; line-height: 0; }
719
719
 
720
720
  /* ── Colors ─────────────────────────────────────────────────── */
721
- :host([color="primary"]) { color: var(--color-primary); }
721
+ :host([color="primary"]) { color: var(--color-primary-icon); }
722
722
  :host([color="success"]) { color: var(--color-success); }
723
723
  :host([color="warning"]) { color: var(--color-warning-active); }
724
- :host([color="danger"]) { color: var(--color-destructive); }
724
+ :host([color="danger"]) { color: var(--color-destructive-icon); }
725
725
 
726
726
  /* ── Star base ──────────────────────────────────────────────── */
727
727
  .star {
@@ -809,14 +809,14 @@ const u3 = [
809
809
  originY: 39.0175,
810
810
  delay: -0.97
811
811
  }
812
- ], S4 = 20, A4 = 5, nt = 900, rt = 160, D4 = 2, lt = "cubic-bezier(0.22, 0.61, 0.36, 1)", Q2 = 180, o2 = "ai-spinner--loading", n2 = "ai-spinner--settling", w1 = "ai-spinner__segment", st = u3.map(
812
+ ], S4 = 20, A4 = 5, nt = 900, rt = 160, D4 = 2, lt = "cubic-bezier(0.22, 0.61, 0.36, 1)", Q2 = 180, o2 = "ai-spinner--loading", n2 = "ai-spinner--settling", M1 = "ai-spinner__segment", st = u3.map(
813
813
  (r) => `
814
- .${w1}--${r.index} {
814
+ .${M1}--${r.index} {
815
815
  transform-origin: ${r.originX}px ${r.originY}px;
816
816
  }
817
817
 
818
- .${o2} .${w1}--${r.index},
819
- .${n2} .${w1}--${r.index} {
818
+ .${o2} .${M1}--${r.index},
819
+ .${n2} .${M1}--${r.index} {
820
820
  animation-delay: ${r.delay}s;
821
821
  }
822
822
  `
@@ -841,7 +841,7 @@ const u3 = [
841
841
  ${u3.map(
842
842
  (t) => u2`
843
843
  <path
844
- class="${w1} ${w1}--${t.index}"
844
+ class="${M1} ${M1}--${t.index}"
845
845
  fill="currentColor"
846
846
  d=${t.d}
847
847
  />
@@ -894,7 +894,7 @@ const u3 = [
894
894
  */
895
895
  restSegments(e) {
896
896
  this.detachSettleListener(e), this.cancelSegmentRest(e), e.style.removeProperty("transition"), e.style.removeProperty("transform");
897
- const o = Array.from(e.querySelectorAll(`.${w1}`)).map((n) => {
897
+ const o = Array.from(e.querySelectorAll(`.${M1}`)).map((n) => {
898
898
  const l = getComputedStyle(n);
899
899
  return { segment: n, transform: l.transform, opacity: l.opacity };
900
900
  });
@@ -916,7 +916,7 @@ const u3 = [
916
916
  }
917
917
  cancelSegmentRest(e) {
918
918
  this.segmentRestTimer !== void 0 && (clearTimeout(this.segmentRestTimer), this.segmentRestTimer = void 0);
919
- for (const t of e.querySelectorAll(`.${w1}`))
919
+ for (const t of e.querySelectorAll(`.${M1}`))
920
920
  t.style.removeProperty("transition"), t.style.removeProperty("transform"), t.style.removeProperty("opacity");
921
921
  }
922
922
  dropPhaseClasses(e) {
@@ -927,7 +927,9 @@ Q5.styles = g`
927
927
  :host {
928
928
  display: inline-block;
929
929
  line-height: 0;
930
- color: var(--color-ai);
930
+ /* Purple as text, not the fill: purple-600 in light, purple-200 in dark,
931
+ where purple-600 is 2.5:1 on gray-9. anduin.design's spinner does the same. */
932
+ color: var(--color-ai-text);
931
933
  }
932
934
 
933
935
  .ai-spinner {
@@ -1635,7 +1637,7 @@ oe.styles = g`
1635
1637
  .button--outlined.button--danger { border-color: var(--color-destructive-border); color: var(--color-destructive-subtle-foreground); background-color: transparent; }
1636
1638
  .button--outlined.button--danger:hover { background-color: var(--color-destructive-subtle); }
1637
1639
  .button--outlined.button--danger:active { background-color: var(--color-destructive-subtle-active); }
1638
- .button--outlined.button--primary { border-color: var(--color-primary-border); color: var(--color-primary); background-color: transparent; }
1640
+ .button--outlined.button--primary { border-color: var(--color-primary-border); color: var(--color-primary-text); background-color: transparent; }
1639
1641
  .button--outlined.button--primary:hover { background-color: var(--color-primary-subtle); }
1640
1642
  .button--outlined.button--primary:active { background-color: var(--color-primary-subtle-active); }
1641
1643
  .button--outlined.button--success { border-color: var(--color-success-border); color: var(--color-success-subtle-foreground); background-color: transparent; }
@@ -1644,8 +1646,9 @@ oe.styles = g`
1644
1646
  .button--outlined.button--warning { border-color: var(--color-warning-border); color: var(--color-warning-subtle-foreground); background-color: transparent; }
1645
1647
  .button--outlined.button--warning:hover { background-color: var(--color-warning-subtle); }
1646
1648
  .button--outlined.button--warning:active { background-color: var(--color-warning-subtle-active); }
1647
- /* Purple text moves from purple-500 to --color-ai (purple-600): one step darker, better contrast. */
1648
- .button--outlined.button--purple { border-color: var(--color-ai-border); color: var(--color-ai); background-color: transparent; }
1649
+ /* Purple text moved from purple-500 to purple-600 for contrast on white; it now reads --color-ai-text,
1650
+ which is that same purple-600 in light and purple-200 in dark, where purple-600 is 2.5:1 on gray-9. */
1651
+ .button--outlined.button--purple { border-color: var(--color-ai-border); color: var(--color-ai-text); background-color: transparent; }
1649
1652
  .button--outlined.button--purple:hover { background-color: var(--color-ai-subtle); }
1650
1653
  .button--outlined.button--purple:active { background-color: var(--color-ai-subtle-active); }
1651
1654
  .button--plain.button--gray9 { border-color: transparent; color: var(--color-muted-foreground); background-color: transparent; }
@@ -1657,7 +1660,7 @@ oe.styles = g`
1657
1660
  .button--plain.button--danger { border-color: transparent; color: var(--color-destructive-subtle-foreground); background-color: transparent; }
1658
1661
  .button--plain.button--danger:hover { background-color: var(--color-destructive-subtle); }
1659
1662
  .button--plain.button--danger:active { background-color: var(--color-destructive-subtle-active); }
1660
- .button--plain.button--primary { border-color: transparent; color: var(--color-primary); background-color: transparent; }
1663
+ .button--plain.button--primary { border-color: transparent; color: var(--color-primary-text); background-color: transparent; }
1661
1664
  .button--plain.button--primary:hover { background-color: var(--color-primary-subtle); }
1662
1665
  .button--plain.button--primary:active { background-color: var(--color-primary-subtle-active); }
1663
1666
  .button--plain.button--success { border-color: transparent; color: var(--color-success-subtle-foreground); background-color: transparent; }
@@ -1666,7 +1669,7 @@ oe.styles = g`
1666
1669
  .button--plain.button--warning { border-color: transparent; color: var(--color-warning-subtle-foreground); background-color: transparent; }
1667
1670
  .button--plain.button--warning:hover { background-color: var(--color-warning-subtle); }
1668
1671
  .button--plain.button--warning:active { background-color: var(--color-warning-subtle-active); }
1669
- .button--plain.button--purple { border-color: transparent; color: var(--color-ai); background-color: transparent; }
1672
+ .button--plain.button--purple { border-color: transparent; color: var(--color-ai-text); background-color: transparent; }
1670
1673
  .button--plain.button--purple:hover { background-color: var(--color-ai-subtle); }
1671
1674
  .button--plain.button--purple:active { background-color: var(--color-ai-subtle-active); }
1672
1675
  .button--text { border: none; background: none; padding: 0; height: auto; width: auto; display: inline-flex; align-items: center; vertical-align: bottom; }
@@ -1678,7 +1681,7 @@ oe.styles = g`
1678
1681
  .button--text.button--success { color: var(--color-success-subtle-foreground); }
1679
1682
  .button--text.button--danger { color: var(--color-destructive-subtle-foreground); }
1680
1683
  .button--text.button--warning { color: var(--color-warning-subtle-foreground); }
1681
- .button--text.button--purple { color: var(--color-ai); }
1684
+ .button--text.button--purple { color: var(--color-ai-text); }
1682
1685
  .button--selected.button--filled.button--gray0 { background-color: var(--color-accent-strong); }
1683
1686
  .button--selected.button--filled.button--gray9 { background-color: var(--color-neutral-active); }
1684
1687
  .button--selected.button--filled.button--primary { background-color: var(--color-primary-active); }
@@ -1987,7 +1990,7 @@ const de = class de extends h {
1987
1990
  de.styles = g`
1988
1991
  :host { display: block; height: 100%; font-family: var(--font-sans); }
1989
1992
  .loading-state { display: flex; flex-direction: column; justify-content: center; align-items: center; }
1990
- .loading-state__indicator { color: var(--color-primary); }
1993
+ .loading-state__indicator { color: var(--color-primary-icon); }
1991
1994
  .loading-state__content { margin-top: 12px; font-size: 15px; color: var(--color-subtle-foreground); }
1992
1995
  `;
1993
1996
  let P2 = de;
@@ -2089,7 +2092,7 @@ const pe = class pe extends h {
2089
2092
  };
2090
2093
  pe.styles = g`
2091
2094
  :host { display: block; font-family: var(--font-sans); }
2092
- .field-error { color: var(--color-destructive); }
2095
+ .field-error { color: var(--color-destructive-text); }
2093
2096
  `;
2094
2097
  let d5 = pe;
2095
2098
  const he = class he extends h {
@@ -2221,12 +2224,12 @@ R2([
2221
2224
  s()
2222
2225
  ], v1.prototype, "inputid");
2223
2226
  customElements.get("anduin-checkbox") || customElements.define("anduin-checkbox", v1);
2224
- var Mt = Object.defineProperty, Y = (r, e, t, o) => {
2227
+ var wt = Object.defineProperty, Y = (r, e, t, o) => {
2225
2228
  for (var i = void 0, n = r.length - 1, l; n >= 0; n--)
2226
2229
  (l = r[n]) && (i = l(e, t, i) || i);
2227
- return i && Mt(e, t, i), i;
2230
+ return i && wt(e, t, i), i;
2228
2231
  };
2229
- const B4 = "anduin-input:change", wt = "anduin-input:clear", j2 = class j2 extends h {
2232
+ const B4 = "anduin-input:change", Mt = "anduin-input:clear", j2 = class j2 extends h {
2230
2233
  constructor() {
2231
2234
  super(...arguments), this.value = "", this.size = "default", this.disabled = !1, this.readonly = !1, this.placeholder = "", this.inputid = "", this.status = "", this.startIcon = "", this.endIcon = "", this.clearable = !1;
2232
2235
  }
@@ -2280,7 +2283,7 @@ const B4 = "anduin-input:change", wt = "anduin-input:clear", j2 = class j2 exten
2280
2283
  }
2281
2284
  onClear() {
2282
2285
  var e;
2283
- this.value = "", this.inputEl && (this.inputEl.value = ""), this.dispatchEvent(new CustomEvent(B4, { detail: "", bubbles: !0, composed: !0 })), this.dispatchEvent(new CustomEvent(wt, { bubbles: !0, composed: !0 })), (e = this.inputEl) == null || e.focus();
2286
+ this.value = "", this.inputEl && (this.inputEl.value = ""), this.dispatchEvent(new CustomEvent(B4, { detail: "", bubbles: !0, composed: !0 })), this.dispatchEvent(new CustomEvent(Mt, { bubbles: !0, composed: !0 })), (e = this.inputEl) == null || e.focus();
2284
2287
  }
2285
2288
  render() {
2286
2289
  const e = this.size === "small" ? "input--small" : this.size === "large" ? "input--large" : "input--default", t = this.status ? `input--${this.status}` : "", o = !!this.startIcon, i = !!this.endIcon || this.clearable && !!this.value, n = this.clearable && !!this.value && !this.disabled && !this.readonly, l = this.size === "small" ? "12" : this.size === "large" ? "20" : "16", d = this.size === "small" ? "10" : this.size === "large" ? "16" : "14";
@@ -2484,8 +2487,8 @@ function Rt(r, e, t, o = 8) {
2484
2487
  top: Math.round(Math.min(Math.max(C.top, 0), n - c))
2485
2488
  };
2486
2489
  p.sort((m, V) => {
2487
- const y = { left: m.off.left, top: m.off.top, right: m.off.left + d, bottom: m.off.top + c }, v = { left: V.off.left, top: V.off.top, right: V.off.left + d, bottom: V.off.top + c }, x = O4(y, l), M = O4(v, l);
2488
- if (M !== x) return M - x;
2490
+ const y = { left: m.off.left, top: m.off.top, right: m.off.left + d, bottom: m.off.top + c }, v = { left: V.off.left, top: V.off.top, right: V.off.left + d, bottom: V.off.top + c }, x = O4(y, l), w = O4(v, l);
2491
+ if (w !== x) return w - x;
2489
2492
  const D = Math.abs(m.off.left - C.left) + Math.abs(m.off.top - C.top), K = Math.abs(V.off.left - C.left) + Math.abs(V.off.top - C.top);
2490
2493
  return D - K;
2491
2494
  });
@@ -3074,12 +3077,12 @@ var Bt = Object.defineProperty, U = (r, e, t, o) => {
3074
3077
  (l = r[n]) && (i = l(e, t, i) || i);
3075
3078
  return i && Bt(e, t, i), i;
3076
3079
  };
3077
- const M3 = "anduin-tab:trigger-click", W2 = "anduin-tab:value-changed", Ft = "anduin-tab:change", He = class He extends h {
3080
+ const w3 = "anduin-tab:trigger-click", W2 = "anduin-tab:value-changed", Ft = "anduin-tab:change", He = class He extends h {
3078
3081
  constructor() {
3079
3082
  super(...arguments), this.defaultValue = "", this.value = "", this.fill = !1;
3080
3083
  }
3081
3084
  connectedCallback() {
3082
- super.connectedCallback(), this.addEventListener(M3, (e) => {
3085
+ super.connectedCallback(), this.addEventListener(w3, (e) => {
3083
3086
  e.stopPropagation();
3084
3087
  const t = e;
3085
3088
  this.value = t.detail, this.broadcastValueChanged(t.detail), this.dispatchEvent(new CustomEvent(Ft, { detail: t.detail, bubbles: !0, composed: !0 }));
@@ -3198,7 +3201,7 @@ const ye = class ye extends h {
3198
3201
  });
3199
3202
  }
3200
3203
  onClick() {
3201
- this.dispatchEvent(new CustomEvent(M3, { detail: this.value, bubbles: !0, composed: !0 }));
3204
+ this.dispatchEvent(new CustomEvent(w3, { detail: this.value, bubbles: !0, composed: !0 }));
3202
3205
  }
3203
3206
  render() {
3204
3207
  return a`
@@ -3382,10 +3385,10 @@ Ve.styles = g`
3382
3385
  .tag__label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; }
3383
3386
  .tag--disabled { opacity: 0.6; }
3384
3387
  .tag__icon--light-gray { color: var(--color-neutral-subtle-foreground); }
3385
- .tag__icon--light-primary { color: var(--color-primary); }
3388
+ .tag__icon--light-primary { color: var(--color-primary-icon); }
3386
3389
  .tag__icon--light-success { color: var(--color-success); }
3387
3390
  .tag__icon--light-warning { color: var(--color-warning-active); }
3388
- .tag__icon--light-danger { color: var(--color-destructive); }
3391
+ .tag__icon--light-danger { color: var(--color-destructive-icon); }
3389
3392
  .tag__icon--bold-gray { color: var(--color-neutral-foreground); }
3390
3393
  .tag__icon--bold-primary { color: var(--color-primary-foreground); }
3391
3394
  .tag__icon--bold-success { color: var(--color-success-foreground); }
@@ -3462,7 +3465,7 @@ var jt = Object.defineProperty, O = (r, e, t, o) => {
3462
3465
  (l = r[n]) && (i = l(e, t, i) || i);
3463
3466
  return i && jt(e, t, i), i;
3464
3467
  };
3465
- const Ut = "anduin-toggle-group:change", Gt = "anduin-toggle-group-item:change", Kt = "anduin-toggle-group-item:select", Wt = "anduin-toggle-group-item:deselect", g5 = "anduin-toggle-group-item:item-click", Me = class Me extends h {
3468
+ const Ut = "anduin-toggle-group:change", Gt = "anduin-toggle-group-item:change", Kt = "anduin-toggle-group-item:select", Wt = "anduin-toggle-group-item:deselect", g5 = "anduin-toggle-group-item:item-click", we = class we extends h {
3466
3469
  constructor() {
3467
3470
  super(...arguments), this.mode = "single", this.defaultValue = "", this.value = null, this.size = "medium", this.variant = "gray", this.gap = !1, this.internalValue = [], this.userInteracted = !1, this.onItemClick = (e) => {
3468
3471
  var c;
@@ -3515,7 +3518,7 @@ const Ut = "anduin-toggle-group:change", Gt = "anduin-toggle-group-item:change",
3515
3518
  `;
3516
3519
  }
3517
3520
  };
3518
- Me.styles = g`
3521
+ we.styles = g`
3519
3522
  :host { display: inline-flex; font-family: var(--font-sans); }
3520
3523
  .toggle-group { display: inline-flex; align-items: center; }
3521
3524
  .toggle-group--small {
@@ -3549,7 +3552,7 @@ Me.styles = g`
3549
3552
  /* Gapped pills stand alone, so each keeps all four borders. */
3550
3553
  .toggle-group--gap ::slotted(anduin-toggle-group-item) { --toggle-group-item-radius: 4px; --toggle-group-item-border-left: 1px; }
3551
3554
  `;
3552
- let X = Me;
3555
+ let X = we;
3553
3556
  O([
3554
3557
  s()
3555
3558
  ], X.prototype, "mode");
@@ -3571,7 +3574,7 @@ O([
3571
3574
  O([
3572
3575
  b()
3573
3576
  ], X.prototype, "internalValue");
3574
- const we = class we extends h {
3577
+ const Me = class Me extends h {
3575
3578
  constructor() {
3576
3579
  super(...arguments), this.value = "", this.startIcon = "", this.disabled = !1, this.selected = !1, this.groupSize = "medium", this.groupVariant = "gray", this.groupMode = "single";
3577
3580
  }
@@ -3621,7 +3624,7 @@ const we = class we extends h {
3621
3624
  `;
3622
3625
  }
3623
3626
  };
3624
- we.styles = g`
3627
+ Me.styles = g`
3625
3628
  :host { display: inline-block; font-family: var(--font-sans); }
3626
3629
  .toggle-item {
3627
3630
  position: relative; z-index: 0; box-sizing: border-box;
@@ -3655,9 +3658,9 @@ we.styles = g`
3655
3658
  .toggle-item__icon { display: flex; color: var(--color-subtle-foreground); }
3656
3659
  .toggle-item:hover .toggle-item__icon { color: var(--color-muted-foreground); }
3657
3660
  .toggle-item--selected .toggle-item__icon { color: var(--color-muted-foreground); }
3658
- .toggle-item--variant-primary.toggle-item--selected .toggle-item__icon { color: var(--color-primary); }
3661
+ .toggle-item--variant-primary.toggle-item--selected .toggle-item__icon { color: var(--color-primary-icon); }
3659
3662
  `;
3660
- let J = we;
3663
+ let J = Me;
3661
3664
  O([
3662
3665
  s({ reflect: !0 })
3663
3666
  ], J.prototype, "value");
@@ -3768,17 +3771,20 @@ Ze.styles = g`
3768
3771
  .well--warning {
3769
3772
  background-color: var(--color-warning-subtle);
3770
3773
  }
3774
+ /* Same split as the toast's icons: primary and danger read -icon (light
3775
+ unchanged, step 3 in dark); success and warning keep step 4, which already
3776
+ clears 3:1 on their dark tint and which -icon would move in light. */
3771
3777
  .well__icon--gray {
3772
3778
  color: var(--color-muted-foreground);
3773
3779
  }
3774
3780
  .well__icon--primary {
3775
- color: var(--color-primary);
3781
+ color: var(--color-primary-icon);
3776
3782
  }
3777
3783
  .well__icon--success {
3778
3784
  color: var(--color-success);
3779
3785
  }
3780
3786
  .well__icon--danger {
3781
- color: var(--color-destructive);
3787
+ color: var(--color-destructive-icon);
3782
3788
  }
3783
3789
  .well__icon--warning {
3784
3790
  color: var(--color-warning-active);
@@ -3889,7 +3895,7 @@ const v5 = "anduin-popover:close", b5 = "anduin-popover:open-change", Re = class
3889
3895
  t.style.transform = i;
3890
3896
  const l = t.getBoundingClientRect(), d = 4, c = window.innerWidth, C = window.innerHeight, p = 8;
3891
3897
  let f = 0, H = 0, m = "bottom";
3892
- const V = !this.placement.startsWith("top"), y = C - o.bottom - d, v = o.top - d, x = y >= l.height, M = v >= l.height, D = V ? x || y >= v : !M && x;
3898
+ const V = !this.placement.startsWith("top"), y = C - o.bottom - d, v = o.top - d, x = y >= l.height, w = v >= l.height, D = V ? x || y >= v : !w && x;
3893
3899
  m = D ? "bottom" : "top", H = D ? o.bottom + d : o.top - l.height - d;
3894
3900
  const K = this.placement.endsWith("end") ? "end" : this.placement.endsWith("start") ? "start" : "center";
3895
3901
  K === "start" ? f = o.left : K === "end" ? f = o.right - l.width : f = o.left + o.width / 2 - l.width / 2, f = Math.max(p, Math.min(f, c - l.width - p)), H = Math.max(p, Math.min(H, C - l.height - p)), t.style.transform = `translate(${Math.round(f - n.left)}px, ${Math.round(H - n.top)}px)`, t.dataset.side = m;
@@ -4172,7 +4178,7 @@ ze.styles = g`
4172
4178
  .menu-item:disabled { opacity: 0.4; cursor: not-allowed; pointer-events: none; }
4173
4179
  .menu-item__label { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
4174
4180
  anduin-icon { color: var(--color-muted-foreground); }
4175
- .menu-item--danger anduin-icon { color: var(--color-destructive); }
4181
+ .menu-item--danger anduin-icon { color: var(--color-destructive-icon); }
4176
4182
  `;
4177
4183
  let G1 = ze;
4178
4184
  z1([
@@ -4192,12 +4198,12 @@ var e7 = Object.defineProperty, S1 = (r, e, t, o) => {
4192
4198
  return i && e7(e, t, i), i;
4193
4199
  };
4194
4200
  const r2 = "anduin-close", t5 = "anduin-after-close", i5 = 300, o5 = 200, T4 = 250;
4195
- let d2 = 0, w3 = "";
4201
+ let d2 = 0, M3 = "";
4196
4202
  function t7() {
4197
- typeof document > "u" || (d2 === 0 && (w3 = document.body.style.overflow, document.body.style.overflow = "hidden"), d2++);
4203
+ typeof document > "u" || (d2 === 0 && (M3 = document.body.style.overflow, document.body.style.overflow = "hidden"), d2++);
4198
4204
  }
4199
4205
  function N4() {
4200
- typeof document > "u" || d2 !== 0 && (d2--, d2 === 0 && (document.body.style.overflow = w3));
4206
+ typeof document > "u" || d2 !== 0 && (d2--, d2 === 0 && (document.body.style.overflow = M3));
4201
4207
  }
4202
4208
  var g1;
4203
4209
  const L1 = (g1 = class extends h {
@@ -5271,12 +5277,16 @@ Be.styles = g`
5271
5277
  padding: 12px;
5272
5278
  border-radius: 8px;
5273
5279
  }
5280
+ /* Primary and danger read -icon (step 4 in light, as before; step 3 in dark,
5281
+ where step 4 on its own tint was under 3:1). Success and warning keep step 4:
5282
+ -icon would change their light colour, and step 4 already clears 3:1 on
5283
+ gray-9 and on its dark tint (success 3.4:1, warning 4.7:1). */
5274
5284
  .toast__icon--gray {
5275
5285
  color: var(--color-subtle-foreground);
5276
5286
  background: var(--color-secondary);
5277
5287
  }
5278
5288
  .toast__icon--primary {
5279
- color: var(--color-primary);
5289
+ color: var(--color-primary-icon);
5280
5290
  background: var(--color-primary-subtle);
5281
5291
  }
5282
5292
  .toast__icon--success {
@@ -5288,7 +5298,7 @@ Be.styles = g`
5288
5298
  background: var(--color-warning-subtle);
5289
5299
  }
5290
5300
  .toast__icon--danger {
5291
- color: var(--color-destructive);
5301
+ color: var(--color-destructive-icon);
5292
5302
  background: var(--color-destructive-subtle);
5293
5303
  }
5294
5304
 
@@ -5579,14 +5589,14 @@ Ie.styles = g`
5579
5589
  line-height: 20px;
5580
5590
  }
5581
5591
  `;
5582
- let M2 = Ie;
5592
+ let w2 = Ie;
5583
5593
  k3([
5584
5594
  s({ type: Boolean })
5585
- ], M2.prototype, "checked");
5595
+ ], w2.prototype, "checked");
5586
5596
  k3([
5587
5597
  s({ type: Boolean })
5588
- ], M2.prototype, "disabled");
5589
- customElements.get("anduin-switcher") || customElements.define("anduin-switcher", M2);
5598
+ ], w2.prototype, "disabled");
5599
+ customElements.get("anduin-switcher") || customElements.define("anduin-switcher", w2);
5590
5600
  var y7 = Object.defineProperty, E = (r, e, t, o) => {
5591
5601
  for (var i = void 0, n = r.length - 1, l; n >= 0; n--)
5592
5602
  (l = r[n]) && (i = l(e, t, i) || i);
@@ -5807,7 +5817,7 @@ Oe.styles = g`
5807
5817
  .trigger--outlined.trigger--gray0 { border-color: var(--color-gray-7); color: var(--color-gray-4); background-color: transparent; }
5808
5818
  .trigger--outlined.trigger--gray0:hover { background-color: var(--color-gray-7); }
5809
5819
  .trigger--outlined.trigger--gray0:active { background-color: var(--color-gray-3); }
5810
- .trigger--outlined.trigger--primary { border-color: var(--color-primary-border); color: var(--color-primary); background-color: transparent; }
5820
+ .trigger--outlined.trigger--primary { border-color: var(--color-primary-border); color: var(--color-primary-text); background-color: transparent; }
5811
5821
  .trigger--outlined.trigger--primary:hover { background-color: var(--color-primary-subtle); }
5812
5822
  .trigger--outlined.trigger--primary:active { background-color: var(--color-primary-subtle-active); }
5813
5823
  .trigger--outlined.trigger--danger { border-color: var(--color-destructive-border); color: var(--color-destructive-subtle-foreground); background-color: transparent; }
@@ -5827,7 +5837,7 @@ Oe.styles = g`
5827
5837
  .trigger--plain.trigger--gray0 { border-color: transparent; color: var(--color-gray-4); background-color: transparent; }
5828
5838
  .trigger--plain.trigger--gray0:hover { background-color: var(--color-gray-7); }
5829
5839
  .trigger--plain.trigger--gray0:active { background-color: var(--color-gray-8); }
5830
- .trigger--plain.trigger--primary { border-color: transparent; color: var(--color-primary); background-color: transparent; }
5840
+ .trigger--plain.trigger--primary { border-color: transparent; color: var(--color-primary-text); background-color: transparent; }
5831
5841
  .trigger--plain.trigger--primary:hover { background-color: var(--color-primary-subtle); }
5832
5842
  .trigger--plain.trigger--primary:active { background-color: var(--color-primary-subtle-active); }
5833
5843
  .trigger--plain.trigger--danger { border-color: transparent; color: var(--color-destructive-subtle-foreground); background-color: transparent; }
@@ -5998,62 +6008,62 @@ Oe.styles = g`
5998
6008
  text-align: center;
5999
6009
  }
6000
6010
  `;
6001
- let w = Oe;
6011
+ let M = Oe;
6002
6012
  E([
6003
6013
  s()
6004
- ], w.prototype, "value");
6014
+ ], M.prototype, "value");
6005
6015
  E([
6006
6016
  s()
6007
- ], w.prototype, "placeholder");
6017
+ ], M.prototype, "placeholder");
6008
6018
  E([
6009
6019
  s({ attribute: !1 })
6010
- ], w.prototype, "options");
6020
+ ], M.prototype, "options");
6011
6021
  E([
6012
6022
  s()
6013
- ], w.prototype, "icon");
6023
+ ], M.prototype, "icon");
6014
6024
  E([
6015
6025
  s({ type: Boolean })
6016
- ], w.prototype, "searchable");
6026
+ ], M.prototype, "searchable");
6017
6027
  E([
6018
6028
  s({ type: Boolean })
6019
- ], w.prototype, "disabled");
6029
+ ], M.prototype, "disabled");
6020
6030
  E([
6021
6031
  s()
6022
- ], w.prototype, "placement");
6032
+ ], M.prototype, "placement");
6023
6033
  E([
6024
6034
  s()
6025
- ], w.prototype, "appearance");
6035
+ ], M.prototype, "appearance");
6026
6036
  E([
6027
6037
  s()
6028
- ], w.prototype, "variant");
6038
+ ], M.prototype, "variant");
6029
6039
  E([
6030
6040
  s()
6031
- ], w.prototype, "size");
6041
+ ], M.prototype, "size");
6032
6042
  E([
6033
6043
  s({ type: Boolean, attribute: "full-width", reflect: !0 })
6034
- ], w.prototype, "fullWidth");
6044
+ ], M.prototype, "fullWidth");
6035
6045
  E([
6036
6046
  s({ converter: (r) => r !== "false" })
6037
- ], w.prototype, "clearable");
6047
+ ], M.prototype, "clearable");
6038
6048
  E([
6039
6049
  b()
6040
- ], w.prototype, "_open");
6050
+ ], M.prototype, "_open");
6041
6051
  E([
6042
6052
  b()
6043
- ], w.prototype, "_query");
6053
+ ], M.prototype, "_query");
6044
6054
  E([
6045
6055
  b()
6046
- ], w.prototype, "_activeIndex");
6056
+ ], M.prototype, "_activeIndex");
6047
6057
  E([
6048
6058
  k(".trigger")
6049
- ], w.prototype, "_triggerEl");
6059
+ ], M.prototype, "_triggerEl");
6050
6060
  E([
6051
6061
  k(".panel")
6052
- ], w.prototype, "_panelEl");
6062
+ ], M.prototype, "_panelEl");
6053
6063
  E([
6054
6064
  k("anduin-input")
6055
- ], w.prototype, "_searchEl");
6056
- customElements.get("anduin-dropdown") || customElements.define("anduin-dropdown", w);
6065
+ ], M.prototype, "_searchEl");
6066
+ customElements.get("anduin-dropdown") || customElements.define("anduin-dropdown", M);
6057
6067
  var L7 = Object.defineProperty, c1 = (r, e, t, o) => {
6058
6068
  for (var i = void 0, n = r.length - 1, l; n >= 0; n--)
6059
6069
  (l = r[n]) && (i = l(e, t, i) || i);
@@ -6347,7 +6357,7 @@ c1([
6347
6357
  b()
6348
6358
  ], G.prototype, "_width");
6349
6359
  customElements.get("anduin-drawer") || customElements.define("anduin-drawer", G);
6350
- class M7 extends HTMLElement {
6360
+ class w7 extends HTMLElement {
6351
6361
  constructor() {
6352
6362
  super(...arguments), this._onClick = () => {
6353
6363
  this.dispatchEvent(
@@ -6362,11 +6372,11 @@ class M7 extends HTMLElement {
6362
6372
  this.removeEventListener("click", this._onClick);
6363
6373
  }
6364
6374
  }
6365
- customElements.get("anduin-drawer-close") || customElements.define("anduin-drawer-close", M7);
6366
- var w7 = Object.defineProperty, z = (r, e, t, o) => {
6375
+ customElements.get("anduin-drawer-close") || customElements.define("anduin-drawer-close", w7);
6376
+ var M7 = Object.defineProperty, z = (r, e, t, o) => {
6367
6377
  for (var i = void 0, n = r.length - 1, l; n >= 0; n--)
6368
6378
  (l = r[n]) && (i = l(e, t, i) || i);
6369
- return i && w7(e, t, i), i;
6379
+ return i && M7(e, t, i), i;
6370
6380
  };
6371
6381
  const l5 = "anduin-suggestion:change", Z7 = "anduin-suggestion:select", k7 = "anduin-suggestion:clear", Ne = class Ne extends h {
6372
6382
  constructor() {
@@ -6456,8 +6466,8 @@ const l5 = "anduin-suggestion:change", Z7 = "anduin-suggestion:select", k7 = "an
6456
6466
  this.value = "", this._inputEl && (this._inputEl.value = ""), this._activeIndex = -1, this.dispatchEvent(new CustomEvent(l5, { detail: "", bubbles: !0, composed: !0 })), this.dispatchEvent(new CustomEvent(k7, { bubbles: !0, composed: !0 })), (e = this._inputEl) == null || e.focus();
6457
6467
  }
6458
6468
  _updatePosition() {
6459
- var M;
6460
- const e = (M = this.shadowRoot) == null ? void 0 : M.querySelector(".input-wrapper"), t = this._panelEl;
6469
+ var w;
6470
+ const e = (w = this.shadowRoot) == null ? void 0 : w.querySelector(".input-wrapper"), t = this._panelEl;
6461
6471
  if (!e || !t) return;
6462
6472
  const o = e.getBoundingClientRect(), i = t.style.transform;
6463
6473
  t.style.transform = "none";
@@ -7419,16 +7429,16 @@ const qe = class qe extends h {
7419
7429
  qe.styles = g`
7420
7430
  :host { display: inline-flex; }
7421
7431
  `;
7422
- let w2 = qe;
7432
+ let M2 = qe;
7423
7433
  X1([
7424
7434
  s({ type: Boolean })
7425
- ], w2.prototype, "disabled");
7426
- class D7 extends w2 {
7435
+ ], M2.prototype, "disabled");
7436
+ class D7 extends M2 {
7427
7437
  constructor() {
7428
7438
  super(...arguments), this.icon = "chevronVerticalLeft", this.label = "Go to first page", this.target = "first";
7429
7439
  }
7430
7440
  }
7431
- class P7 extends w2 {
7441
+ class P7 extends M2 {
7432
7442
  constructor() {
7433
7443
  super(...arguments), this.icon = "chevronVerticalRight", this.label = "Go to last page", this.target = "last";
7434
7444
  }
@@ -7455,7 +7465,7 @@ Xe.styles = g`
7455
7465
  flex-direction: column;
7456
7466
  }
7457
7467
  `;
7458
- let M5 = Xe;
7468
+ let w5 = Xe;
7459
7469
  const Je = class Je extends h {
7460
7470
  render() {
7461
7471
  return a`
@@ -7556,7 +7566,7 @@ Je.styles = g`
7556
7566
  padding-bottom: 0;
7557
7567
  }
7558
7568
  `;
7559
- let w5 = Je;
7569
+ let M5 = Je;
7560
7570
  const Qe = class Qe extends h {
7561
7571
  render() {
7562
7572
  return a`<div class="date"><slot></slot></div>`;
@@ -7676,8 +7686,8 @@ i4.styles = g`
7676
7686
  }
7677
7687
  `;
7678
7688
  let $5 = i4;
7679
- customElements.get("anduin-timeline") || customElements.define("anduin-timeline", M5);
7680
- customElements.get("anduin-timeline-item") || customElements.define("anduin-timeline-item", w5);
7689
+ customElements.get("anduin-timeline") || customElements.define("anduin-timeline", w5);
7690
+ customElements.get("anduin-timeline-item") || customElements.define("anduin-timeline-item", M5);
7681
7691
  customElements.get("anduin-timeline-date") || customElements.define("anduin-timeline-date", Z5);
7682
7692
  customElements.get("anduin-timeline-title") || customElements.define("anduin-timeline-title", k5);
7683
7693
  customElements.get("anduin-timeline-group") || customElements.define("anduin-timeline-group", R5);
@@ -7933,7 +7943,7 @@ c4.styles = g`
7933
7943
  color: var(--color-primary-subtle-foreground);
7934
7944
  }
7935
7945
  .sidebar-menu-item-wrapper--selected .sidebar-menu-item__icon {
7936
- color: var(--color-primary);
7946
+ color: var(--color-primary-icon);
7937
7947
  }
7938
7948
 
7939
7949
  .sidebar-menu-item {
@@ -8353,7 +8363,7 @@ const h4 = class h4 extends h {
8353
8363
  <tr>
8354
8364
  ${y.map((v) => {
8355
8365
  if (v === null) return a`<td class="calendar__day-cell"></td>`;
8356
- const x = new Date(this._viewYear, this._viewMonth, v), M = x1(x), D = x.getTime(), K = this._isDisabled(x), Q1 = !!o && D === o.getTime(), o1 = !!i && D === i.getTime(), H4 = !!o && !!i && D > o.getTime() && D < i.getTime(), _4 = !n && !!t && D === t.getTime(), E3 = [
8366
+ const x = new Date(this._viewYear, this._viewMonth, v), w = x1(x), D = x.getTime(), K = this._isDisabled(x), Q1 = !!o && D === o.getTime(), o1 = !!i && D === i.getTime(), H4 = !!o && !!i && D > o.getTime() && D < i.getTime(), _4 = !n && !!t && D === t.getTime(), E3 = [
8357
8367
  "calendar__day-cell",
8358
8368
  H4 ? "calendar__day-cell--in-range" : "",
8359
8369
  // Only tint the edge cell when it actually opens a span —
@@ -8362,7 +8372,7 @@ const h4 = class h4 extends h {
8362
8372
  o1 && o ? "calendar__day-cell--range-end" : ""
8363
8373
  ].filter(Boolean).join(" "), z3 = [
8364
8374
  "calendar__day-button",
8365
- M === e ? "calendar__day-button--today" : "",
8375
+ w === e ? "calendar__day-button--today" : "",
8366
8376
  _4 ? "calendar__day-button--selected" : "",
8367
8377
  Q1 ? "calendar__day-button--range-start" : "",
8368
8378
  o1 ? "calendar__day-button--range-end" : "",
@@ -8381,12 +8391,12 @@ const h4 = class h4 extends h {
8381
8391
  part="day"
8382
8392
  aria-disabled="${K}"
8383
8393
  aria-label="${J4[x.getDay()]}, ${X4[x.getMonth()]} ${N7(v)}, ${x.getFullYear()}"
8384
- tabindex="${M === l ? 0 : -1}"
8394
+ tabindex="${w === l ? 0 : -1}"
8385
8395
  @click=${() => {
8386
8396
  K || this._pick(x);
8387
8397
  }}
8388
8398
  @mouseenter=${() => {
8389
- K || this._emitHover(M);
8399
+ K || this._emitHover(w);
8390
8400
  }}
8391
8401
  >${v}</button>
8392
8402
  </td>
@@ -9633,9 +9643,9 @@ const t0 = "anduin-table:sort", i0 = "anduin-table:column-click", o0 = "anduin-t
9633
9643
  ></span>
9634
9644
  ` : u;
9635
9645
  if (n1(e)) {
9636
- const v = this.renderSelectableRows, x = this.renderSelectedKeys, M = v.filter((o1) => x.has(o1.key)).length, D = v.length > 0 && M === v.length, K = M > 0 && !D, Q1 = e.renderHeader ? e.renderHeader({
9646
+ const v = this.renderSelectableRows, x = this.renderSelectedKeys, w = v.filter((o1) => x.has(o1.key)).length, D = v.length > 0 && w === v.length, K = w > 0 && !D, Q1 = e.renderHeader ? e.renderHeader({
9637
9647
  areAllRowsSelected: D,
9638
- hasSelectedRow: M > 0,
9648
+ hasSelectedRow: w > 0,
9639
9649
  onChange: (o1) => this.toggleAllRows(o1)
9640
9650
  }) : a`
9641
9651
  <anduin-checkbox
@@ -9691,13 +9701,13 @@ const t0 = "anduin-table:sort", i0 = "anduin-table:column-click", o0 = "anduin-t
9691
9701
  this.sizingClass(o, i)
9692
9702
  ].filter(Boolean).join(" "), C = this.cellStyle(o, i);
9693
9703
  if (n1(o)) {
9694
- const V = this.renderSelectedKeys.has(e.key), y = this.rowIsDisabled(e.data), v = (M) => this.setRowSelected(e, M), x = o.renderCell ? o.renderCell({ data: e.data, isChecked: V, isDisabled: y, onChange: v }) : a`
9704
+ const V = this.renderSelectedKeys.has(e.key), y = this.rowIsDisabled(e.data), v = (w) => this.setRowSelected(e, w), x = o.renderCell ? o.renderCell({ data: e.data, isChecked: V, isDisabled: y, onChange: v }) : a`
9695
9705
  <anduin-checkbox
9696
9706
  .checked=${V}
9697
9707
  .disabled=${y}
9698
9708
  aria-label="${V ? "Deselect row" : "Select row"}"
9699
- @anduin-checkbox:change=${(M) => {
9700
- M.stopPropagation(), v(!V);
9709
+ @anduin-checkbox:change=${(w) => {
9710
+ w.stopPropagation(), v(!V);
9701
9711
  }}
9702
9712
  ></anduin-checkbox>
9703
9713
  `;
@@ -9707,7 +9717,7 @@ const t0 = "anduin-table:sort", i0 = "anduin-table:column-click", o0 = "anduin-t
9707
9717
  part="cell"
9708
9718
  data-col="${i}"
9709
9719
  style="${C}"
9710
- @click=${(M) => M.stopPropagation()}
9720
+ @click=${(w) => w.stopPropagation()}
9711
9721
  >${x}</td>
9712
9722
  `;
9713
9723
  }
@@ -9945,7 +9955,10 @@ m4.styles = g`
9945
9955
  height: 36px;
9946
9956
  padding: 0 12px;
9947
9957
  border-bottom: 1px solid var(--color-border);
9948
- background-color: var(--color-muted);
9958
+ /* table-header, not muted: both are gray-1 in light, but in dark muted is the
9959
+ sunken canvas (darker than the rows) while anduin.design lifts the header to
9960
+ gray-8, a step lighter than the gray-9 rows. */
9961
+ background-color: var(--color-table-header);
9949
9962
  color: var(--color-muted-foreground);
9950
9963
  font-size: var(--text-12, 12px);
9951
9964
  font-weight: 600;
@@ -9986,7 +9999,7 @@ m4.styles = g`
9986
9999
  color: var(--color-placeholder);
9987
10000
  }
9988
10001
  .table__sort-icon--active {
9989
- color: var(--color-primary);
10002
+ color: var(--color-primary-icon);
9990
10003
  }
9991
10004
 
9992
10005
  /* The divider between headers is the resize affordance: a hairline at rest,
@@ -10169,7 +10182,8 @@ m4.styles = g`
10169
10182
  height: 32px;
10170
10183
  padding: 0;
10171
10184
  border-bottom: 1px solid var(--color-border-subtle);
10172
- background-color: var(--color-muted);
10185
+ /* A group's header row reads as a header: table-header, as above */
10186
+ background-color: var(--color-table-header);
10173
10187
  }
10174
10188
  .table__group-toggle {
10175
10189
  display: flex;
@@ -10365,7 +10379,7 @@ export {
10365
10379
  g2 as a5,
10366
10380
  h2 as a6,
10367
10381
  Z as a7,
10368
- M2 as a8,
10382
+ w2 as a8,
10369
10383
  L2 as a9,
10370
10384
  T5 as aA,
10371
10385
  X7 as aB,
@@ -10380,7 +10394,7 @@ export {
10380
10394
  At as aK,
10381
10395
  zt as aL,
10382
10396
  B4 as aM,
10383
- wt as aN,
10397
+ Mt as aN,
10384
10398
  H5 as aO,
10385
10399
  t5 as aP,
10386
10400
  r2 as aQ,
@@ -10401,10 +10415,10 @@ export {
10401
10415
  U1 as ae,
10402
10416
  h5 as af,
10403
10417
  W as ag,
10404
- M5 as ah,
10418
+ w5 as ah,
10405
10419
  Z5 as ai,
10406
10420
  R5 as aj,
10407
- w5 as ak,
10421
+ M5 as ak,
10408
10422
  $5 as al,
10409
10423
  k5 as am,
10410
10424
  b1 as an,
@@ -10434,7 +10448,7 @@ export {
10434
10448
  n0 as ba,
10435
10449
  t0 as bb,
10436
10450
  Ft as bc,
10437
- M3 as bd,
10451
+ w3 as bd,
10438
10452
  W2 as be,
10439
10453
  Ot as bf,
10440
10454
  Pt as bg,
@@ -10472,8 +10486,8 @@ export {
10472
10486
  b2 as o,
10473
10487
  D2 as p,
10474
10488
  G as q,
10475
- M7 as r,
10476
- w as s,
10489
+ w7 as r,
10490
+ M as s,
10477
10491
  B2 as t,
10478
10492
  a5 as u,
10479
10493
  d5 as v,