@duyluonganduin/acl-web-components 0.0.38 → 0.0.40

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,4 +1,4 @@
1
- import { A as c, a as l, b as r, c as i, d as e, e as p, f as t, g as d, h as u, i as g, j as A, k as x, l as E, m as h, n as k, o as T, p as _, q as C, r as m, s as O, t as I, u as G, v as L, w as y, x as N, y as S, z as R, B as P, C as D, D as w, E as b, F as U, G as H, H as f, I as M, J as z, K as B, L as F, M as v, N as V, O as K, P as W, Q as X, R as Y, S as j, T as q, U as Z, V as J, W as Q, X as $, Y as aa, Z as oa, _ as na, $ as sa, a0 as ca, a1 as la, a2 as ra, a3 as ia, a4 as ea, a5 as pa, a6 as ta, a7 as da, a8 as ua, a9 as ga, aa as Aa, ab as xa, ac as Ea, ad as ha, ae as ka, af as Ta, ag as _a, ah as Ca, ai as ma, aj as Oa, ak as Ia, al as Ga, am as La, an as ya, ao as Na, ap as Sa, aq as Ra, ar as Pa, as as Da, at as wa, au as ba, av as Ua, aw as Ha, ax as fa, ay as Ma, az as za, aA as Ba, aB as Fa, aC as va, aD as Va, aE as Ka, aF as Wa, aG as Xa, aH as Ya } from "./anduin-resizable-Griur1k4.js";
1
+ import { A as c, a as l, b as r, c as i, d as e, e as p, f as t, g as d, h as u, i as g, j as A, k as x, l as E, m as h, n as k, o as T, p as _, q as C, r as m, s as O, t as I, u as G, v as L, w as y, x as N, y as S, z as R, B as P, C as D, D as w, E as b, F as U, G as H, H as f, I as M, J as z, K as B, L as F, M as v, N as V, O as K, P as W, Q as X, R as Y, S as j, T as q, U as Z, V as J, W as Q, X as $, Y as aa, Z as oa, _ as na, $ as sa, a0 as ca, a1 as la, a2 as ra, a3 as ia, a4 as ea, a5 as pa, a6 as ta, a7 as da, a8 as ua, a9 as ga, aa as Aa, ab as xa, ac as Ea, ad as ha, ae as ka, af as Ta, ag as _a, ah as Ca, ai as ma, aj as Oa, ak as Ia, al as Ga, am as La, an as ya, ao as Na, ap as Sa, aq as Ra, ar as Pa, as as Da, at as wa, au as ba, av as Ua, aw as Ha, ax as fa, ay as Ma, az as za, aA as Ba, aB as Fa, aC as va, aD as Va, aE as Ka, aF as Wa, aG as Xa, aH as Ya } from "./anduin-resizable-2JzM-nGd.js";
2
2
  const o = ':root{--color-gray-0: oklch(1 0 0);--color-gray-1: oklch(.9846 .0017 247.84);--color-gray-2: oklch(.9515 .0046 258.32);--color-gray-3: oklch(.9336 .0058 264.53);--color-gray-4: oklch(.8618 .0141 258.35);--color-gray-5: oklch(.7073 .0268 263.28);--color-gray-6: oklch(.6528 .0316 266.24);--color-gray-7: oklch(.5371 .0337 264.24);--color-gray-8: oklch(.3544 .0326 260.94);--color-gray-9: oklch(.2776 .0341 255.81);--color-danger-1: oklch(.9437 .0174 17.47);--color-danger-2: oklch(.8643 .0573 18.32);--color-danger-3: oklch(.712 .1517 21.64);--color-danger-4: oklch(.5948 .2165 26.91);--color-danger-5: oklch(.531 .2147 28.91);--color-primary-1: oklch(.9474 .0256 221.57);--color-primary-2: oklch(.8652 .066 236.86);--color-primary-3: oklch(.7219 .1335 240.15);--color-primary-4: oklch(.5679 .1784 254.76);--color-primary-5: oklch(.4682 .1548 255.23);--color-success-1: oklch(.9276 .0541 150.91);--color-success-2: oklch(.8592 .1078 149.75);--color-success-3: oklch(.6953 .1711 149.14);--color-success-4: oklch(.6149 .1634 148.21);--color-success-5: oklch(.5075 .136 146.46);--color-warning-1: oklch(.9549 .0496 88.08);--color-warning-2: oklch(.912 .0811 83.56);--color-warning-3: oklch(.8282 .1628 78.73);--color-warning-4: oklch(.7325 .1512 75.97);--color-warning-5: oklch(.5329 .1098 82);--color-semantic-gray-0: oklch(1 0 0);--color-semantic-gray-1: oklch(.9846 .0017 247.84);--color-semantic-gray-2: oklch(.9515 .0046 258.32);--color-semantic-gray-3: oklch(.9336 .0058 264.53);--color-semantic-gray-4: oklch(.8618 .0141 258.35);--color-semantic-gray-5: oklch(.7073 .0268 263.28);--color-semantic-gray-6: oklch(.6528 .0316 266.24);--color-semantic-gray-7: oklch(.5371 .0337 264.24);--color-semantic-gray-8: oklch(.3544 .0326 260.94);--color-semantic-gray-9: oklch(.2776 .0341 255.81);--color-semantic-danger-1: oklch(.9437 .0174 17.47);--color-semantic-danger-2: oklch(.8643 .0573 18.32);--color-semantic-danger-3: oklch(.712 .1517 21.64);--color-semantic-danger-4: oklch(.5948 .2165 26.91);--color-semantic-danger-5: oklch(.531 .2147 28.91);--color-semantic-primary-1: oklch(.9474 .0256 221.57);--color-semantic-primary-2: oklch(.8652 .066 236.86);--color-semantic-primary-3: oklch(.7219 .1335 240.15);--color-semantic-primary-4: oklch(.5679 .1784 254.76);--color-semantic-primary-5: oklch(.4682 .1548 255.23);--color-semantic-success-1: oklch(.9276 .0541 150.91);--color-semantic-success-2: oklch(.8592 .1078 149.75);--color-semantic-success-3: oklch(.6953 .1711 149.14);--color-semantic-success-4: oklch(.6149 .1634 148.21);--color-semantic-success-5: oklch(.5075 .136 146.46);--color-semantic-warning-1: oklch(.9549 .0496 88.08);--color-semantic-warning-2: oklch(.912 .0811 83.56);--color-semantic-warning-3: oklch(.8282 .1628 78.73);--color-semantic-warning-4: oklch(.7325 .1512 75.97);--color-semantic-warning-5: oklch(.5329 .1098 82);--color-purple-50: oklch(.9676 .016 286.1);--color-purple-100: oklch(.9434 .0255 288.32);--color-purple-200: oklch(.8927 .0519 287.71);--color-purple-300: oklch(.81 .0925 287.61);--color-purple-400: oklch(.7048 .1478 287.77);--color-purple-500: oklch(.5961 .2043 286.53);--color-purple-600: oklch(.5316 .2303 286.64);--color-purple-700: oklch(.471 .2307 285.3);--color-purple-800: oklch(.4148 .2014 285.43);--color-purple-900: oklch(.3654 .17 286.37);--color-purple-950: oklch(.2734 .1288 284.42);--color-white: var(--color-gray-0);--font-sans: system-ui, -apple-system, Roboto, Oxygen, Cantarell, Ubuntu, "Segoe UI", sans-serif;--font-mono: monospace;--text-9: 9px;--text-10: 10px;--text-11: 11px;--text-12: 12px;--text-13: 13px;--text-15: 15px;--text-17: 17px;--text-20: 20px;--text-23: 23px;--text-26: 26px;--text-30: 30px;--text-35: 35px;--font-weight-normal: 400;--font-weight-medium: 500;--font-weight-semibold: 600;--font-weight-bold: 700;--leading-16: 16px;--leading-20: 20px;--leading-24: 24px;--leading-28: 28px;--leading-32: 32px;--leading-40: 40px;--leading-44: 44px;--leading-r1p5: 1.5;--radius-0: 0;--radius-2: 2px;--radius-3: 3px;--radius-4: 4px;--radius-6: 6px;--radius-8: 8px;--radius-12: 12px;--radius-16: 16px;--radius-20: 20px;--radius-24: 24px;--radius-full: 9999px;--shadow-1: 0px 1px 2px rgba(29, 41, 57, .07);--shadow-2: 0px 1px 2px rgba(29, 41, 57, .04), 0px 2px 8px rgba(29, 41, 57, .08);--shadow-3: 0px 2px 8px rgba(29, 41, 57, .08), 0px 8px 24px rgba(29, 41, 57, .12);--shadow-4: 0px 4px 8px rgba(29, 41, 57, .08), 0px 16px 48px rgba(29, 41, 57, .16);--spacing-px: 1px;--spacing-0: 0;--spacing-2: 2px;--spacing-4: 4px;--spacing-6: 6px;--spacing-8: 8px;--spacing-12: 12px;--spacing-16: 16px;--spacing-20: 20px;--spacing-24: 24px;--spacing-28: 28px;--spacing-32: 32px;--spacing-40: 40px;--spacing-48: 48px;--spacing-56: 56px;--spacing-64: 64px;--spacing-128: 128px;--spacing-256: 256px;--z-0: 0;--z-1: 1;--z-2: 2;--z-3: 3;--z-4: 4;--z-5: 5;--z-999: 999;--z-9999: 9999}body{font-family:var(--font-sans);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-size:var(--text-13)}';
3
3
  if (typeof document < "u" && !document.getElementById("acl-tokens")) {
4
4
  const a = document.createElement("style");
@@ -774,6 +774,14 @@ const K5 = {
774
774
  alignmentRight: [{ d: "M13.5 1.75C13.5 1.33579 13.8358 1 14.25 1C14.6642 1 15 1.33579 15 1.75V14.25C15 14.6642 14.6642 15 14.25 15C13.8358 15 13.5 14.6642 13.5 14.25V1.75ZM1 5C1 4.44772 1.44772 4 2 4H11C11.5523 4 12 4.44772 12 5V6C12 6.55228 11.5523 7 11 7H2C1.44771 7 1 6.55228 1 6V5ZM6 9C5.44772 9 5 9.44771 5 10V11C5 11.5523 5.44772 12 6 12H11C11.5523 12 12 11.5523 12 11V10C12 9.44772 11.5523 9 11 9H6Z", fillRule: "evenodd", clipRule: "evenodd" }],
775
775
  alignmentTop: [{ d: "M1 1.75C1 1.33579 1.33579 1 1.75 1H14.25C14.6642 1 15 1.33579 15 1.75C15 2.16421 14.6642 2.5 14.25 2.5H1.75C1.33579 2.5 1 2.16421 1 1.75ZM9 5C9 4.44772 9.44772 4 10 4H11C11.5523 4 12 4.44772 12 5V14C12 14.5523 11.5523 15 11 15H10C9.44771 15 9 14.5523 9 14V5ZM5 4C4.44772 4 4 4.44772 4 5V9C4 9.55228 4.44772 10 5 10H6C6.55228 10 7 9.55228 7 9V5C7 4.44772 6.55228 4 6 4H5Z", fillRule: "evenodd", clipRule: "evenodd" }],
776
776
  anduin: [{ d: "M1 13.2L8 2L15 13.2H12.2L10.8 10.96L9.4 13.2H6.6L5.2 10.96L3.8 13.2H1ZM8 6.41L6.67 8.65L8 10.82L9.33 8.65L8 6.41Z", fillRule: "evenodd", clipRule: "evenodd" }],
777
+ anduinIntelligence: [
778
+ { d: "M8.84961 15.4883L7.96973 16L7.0918 15.4932L7.08887 12.7217L4.55664 14.0293L2.74902 12.9854L8.84277 9.83789L8.84961 15.4883Z", fillRule: "", clipRule: "" },
779
+ { d: "M14.9102 11.0088L14.9131 12.0264L14.0352 12.5332L11.6328 11.1494L11.5 13.9971L9.69238 15.041L10.0127 8.18945L14.9102 11.0088Z", fillRule: "", clipRule: "" },
780
+ { d: "M6.83008 9.64844L1.93945 12.4805L1.05664 11.9736V10.96L3.45605 9.57129L1.05664 8.0332V5.94531L6.83008 9.64844Z", fillRule: "", clipRule: "" },
781
+ { d: "M14.9434 4.02637V5.04004L12.5439 6.42871L14.9434 7.9668V10.0547L9.16992 6.35156L14.0605 3.51953L14.9434 4.02637Z", fillRule: "", clipRule: "" },
782
+ { d: "M5.9873 7.81055L1.08984 4.99121L1.08691 3.97363L1.96484 3.4668L4.36719 4.85059L4.5 2.00293L6.30762 0.958984L5.9873 7.81055Z", fillRule: "", clipRule: "" },
783
+ { d: "M8.9082 0.506836L8.91113 3.27832L11.4434 1.9707L13.251 3.01465L7.15723 6.16211L7.15039 0.511719L8.03027 0L8.9082 0.506836Z", fillRule: "", clipRule: "" }
784
+ ],
777
785
  archive: [{ d: "M1 3C1 2.44772 1.44772 2 2 2H14C14.5523 2 15 2.44772 15 3V4C15 4.55228 14.5523 5 14 5H2C1.44772 5 1 4.55228 1 4V3ZM2 6H14V12C14 13.1046 13.1046 14 12 14H4C2.89543 14 2 13.1046 2 12V6ZM6.75 8C6.33579 8 6 8.33579 6 8.75C6 9.16421 6.33579 9.5 6.75 9.5H9.25C9.66421 9.5 10 9.16421 10 8.75C10 8.33579 9.66421 8 9.25 8H6.75Z", fillRule: "evenodd", clipRule: "evenodd" }],
778
786
  arrowDown: [{ d: "M8.54795 14.765C8.40626 14.915 8.20903 15 8.00269 15C7.79634 15 7.59911 14.915 7.45743 14.765L3.20743 10.265C2.92302 9.96383 2.93658 9.48915 3.23772 9.20474C3.53886 8.92033 4.01354 8.93389 4.29795 9.23503L7.25 12.3607V1.75C7.25 1.33579 7.58579 1 8 1C8.41422 1 8.75 1.33579 8.75 1.75V12.3664L11.7074 9.23503C11.9918 8.93389 12.4665 8.92033 12.7677 9.20474C13.0688 9.48915 13.0824 9.96383 12.7979 10.265L8.54795 14.765Z", fillRule: "", clipRule: "" }],
779
787
  arrowDownLeft: [{ d: "M9.24792 14.0021C9.66214 14.0021 9.99792 13.6663 9.99792 13.2521C9.99792 12.8379 9.66214 12.5021 9.24792 12.5021H4.55859L13.7803 3.28033C14.0732 2.98744 14.0732 2.51256 13.7803 2.21967C13.4874 1.92678 13.0126 1.92678 12.7197 2.21967L3.49792 11.4414V6.75206C3.49792 6.33785 3.16214 6.00206 2.74792 6.00206C2.33371 6.00206 1.99792 6.33785 1.99792 6.75206V13.2521C1.99792 13.6663 2.33371 14.0021 2.74792 14.0021H9.24792Z", fillRule: "", clipRule: "" }],
@@ -1216,7 +1224,7 @@ a3([
1216
1224
  a()
1217
1225
  ], Q1.prototype, "variant");
1218
1226
  customElements.get("anduin-badge") || customElements.define("anduin-badge", Q1);
1219
- var s3 = Object.defineProperty, b4 = (r, e, t, i) => {
1227
+ var s3 = Object.defineProperty, L4 = (r, e, t, i) => {
1220
1228
  for (var o = void 0, l = r.length - 1, n; l >= 0; l--)
1221
1229
  (n = r[l]) && (o = n(e, t, o) || o);
1222
1230
  return o && s3(e, t, o), o;
@@ -1240,10 +1248,10 @@ const U2 = class U2 extends u {
1240
1248
  };
1241
1249
  U2.styles = [V4];
1242
1250
  let B1 = U2;
1243
- b4([
1251
+ L4([
1244
1252
  a()
1245
1253
  ], B1.prototype, "variant");
1246
- b4([
1254
+ L4([
1247
1255
  a({ type: Number })
1248
1256
  ], B1.prototype, "count");
1249
1257
  customElements.get("anduin-badge-count") || customElements.define("anduin-badge-count", B1);
@@ -1429,53 +1437,53 @@ G2.styles = g`
1429
1437
  .button--icon-only.button--medium { width: 32px; min-width: 32px; padding-left: 0; padding-right: 0; }
1430
1438
  .button--icon-only.button--large { width: 40px; min-width: 40px; padding-left: 0; padding-right: 0; }
1431
1439
  `;
1432
- let L = G2;
1440
+ let b = G2;
1433
1441
  _([
1434
1442
  m()
1435
- ], L.prototype, "iconOnly");
1443
+ ], b.prototype, "iconOnly");
1436
1444
  _([
1437
1445
  a({ converter: (r) => r || "filled" })
1438
- ], L.prototype, "appearance");
1446
+ ], b.prototype, "appearance");
1439
1447
  _([
1440
1448
  a()
1441
- ], L.prototype, "variant");
1449
+ ], b.prototype, "variant");
1442
1450
  _([
1443
1451
  a()
1444
- ], L.prototype, "size");
1452
+ ], b.prototype, "size");
1445
1453
  _([
1446
1454
  a({ type: Boolean })
1447
- ], L.prototype, "disabled");
1455
+ ], b.prototype, "disabled");
1448
1456
  _([
1449
1457
  a({ type: Boolean })
1450
- ], L.prototype, "loading");
1458
+ ], b.prototype, "loading");
1451
1459
  _([
1452
1460
  a({ type: Boolean, attribute: "full-width", reflect: !0 })
1453
- ], L.prototype, "fullWidth");
1461
+ ], b.prototype, "fullWidth");
1454
1462
  _([
1455
1463
  a({ type: Boolean })
1456
- ], L.prototype, "pill");
1464
+ ], b.prototype, "pill");
1457
1465
  _([
1458
1466
  a({ type: Boolean })
1459
- ], L.prototype, "selected");
1467
+ ], b.prototype, "selected");
1460
1468
  _([
1461
1469
  a()
1462
- ], L.prototype, "href");
1470
+ ], b.prototype, "href");
1463
1471
  _([
1464
1472
  a({ type: Boolean, attribute: "open-new-tab" })
1465
- ], L.prototype, "openNewTab");
1473
+ ], b.prototype, "openNewTab");
1466
1474
  _([
1467
1475
  a()
1468
- ], L.prototype, "download");
1476
+ ], b.prototype, "download");
1469
1477
  _([
1470
1478
  a({ attribute: "start-icon" })
1471
- ], L.prototype, "startIcon");
1479
+ ], b.prototype, "startIcon");
1472
1480
  _([
1473
1481
  a({ attribute: "end-icon" })
1474
- ], L.prototype, "endIcon");
1482
+ ], b.prototype, "endIcon");
1475
1483
  _([
1476
1484
  a()
1477
- ], L.prototype, "label");
1478
- customElements.get("anduin-button") || customElements.define("anduin-button", L);
1485
+ ], b.prototype, "label");
1486
+ customElements.get("anduin-button") || customElements.define("anduin-button", b);
1479
1487
  var c3 = Object.defineProperty, p3 = (r, e, t, i) => {
1480
1488
  for (var o = void 0, l = r.length - 1, n; l >= 0; l--)
1481
1489
  (n = r[l]) && (o = n(e, t, o) || o);
@@ -1511,7 +1519,7 @@ p3([
1511
1519
  a()
1512
1520
  ], e2.prototype, "variant");
1513
1521
  customElements.get("anduin-callout") || customElements.define("anduin-callout", e2);
1514
- var u3 = Object.defineProperty, L4 = (r, e, t, i) => {
1522
+ var u3 = Object.defineProperty, b4 = (r, e, t, i) => {
1515
1523
  for (var o = void 0, l = r.length - 1, n; l >= 0; l--)
1516
1524
  (n = r[l]) && (o = n(e, t, o) || o);
1517
1525
  return o && u3(e, t, o), o;
@@ -1558,10 +1566,10 @@ W2.styles = g`
1558
1566
  .divider__line--vertical { border-left: 1px solid var(--color-gray-3); justify-self: center; }
1559
1567
  `;
1560
1568
  let P1 = W2;
1561
- L4([
1569
+ b4([
1562
1570
  a({ reflect: !0 })
1563
1571
  ], P1.prototype, "direction");
1564
- L4([
1572
+ b4([
1565
1573
  m()
1566
1574
  ], P1.prototype, "hasContent");
1567
1575
  customElements.get("anduin-divider") || customElements.define("anduin-divider", P1);
@@ -1843,12 +1851,12 @@ customElements.get("anduin-field-label") || customElements.define("anduin-field-
1843
1851
  customElements.get("anduin-field-description") || customElements.define("anduin-field-description", f2);
1844
1852
  customElements.get("anduin-field-error") || customElements.define("anduin-field-error", H2);
1845
1853
  customElements.get("anduin-field-group") || customElements.define("anduin-field-group", V2);
1846
- var b3 = Object.defineProperty, G1 = (r, e, t, i) => {
1854
+ var L3 = Object.defineProperty, G1 = (r, e, t, i) => {
1847
1855
  for (var o = void 0, l = r.length - 1, n; l >= 0; l--)
1848
1856
  (n = r[l]) && (o = n(e, t, o) || o);
1849
- return o && b3(e, t, o), o;
1857
+ return o && L3(e, t, o), o;
1850
1858
  };
1851
- const L3 = "anduin-checkbox:change", l5 = class l5 extends u {
1859
+ const b3 = "anduin-checkbox:change", l5 = class l5 extends u {
1852
1860
  constructor() {
1853
1861
  super(...arguments), this.checked = !1, this.disabled = !1, this.indeterminate = !1, this.readonly = !1, this.inputid = "";
1854
1862
  }
@@ -1861,7 +1869,7 @@ const L3 = "anduin-checkbox:change", l5 = class l5 extends u {
1861
1869
  });
1862
1870
  }
1863
1871
  toggle() {
1864
- this.checked = !this.checked, this.dispatchEvent(new CustomEvent(L3, {
1872
+ this.checked = !this.checked, this.dispatchEvent(new CustomEvent(b3, {
1865
1873
  detail: this.checked,
1866
1874
  bubbles: !0,
1867
1875
  composed: !0
@@ -2597,7 +2605,7 @@ var z3 = Object.defineProperty, R = (r, e, t, i) => {
2597
2605
  (n = r[l]) && (o = n(e, t, o) || o);
2598
2606
  return o && z3(e, t, o), o;
2599
2607
  };
2600
- const A3 = "anduin-toggle-group:change", B3 = "anduin-toggle-group-item:change", P3 = "anduin-toggle-group-item:select", S3 = "anduin-toggle-group-item:deselect", b2 = "anduin-toggle-group-item:item-click", u5 = class u5 extends u {
2608
+ const A3 = "anduin-toggle-group:change", B3 = "anduin-toggle-group-item:change", P3 = "anduin-toggle-group-item:select", S3 = "anduin-toggle-group-item:deselect", L2 = "anduin-toggle-group-item:item-click", u5 = class u5 extends u {
2601
2609
  constructor() {
2602
2610
  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) => {
2603
2611
  var d;
@@ -2623,13 +2631,13 @@ const A3 = "anduin-toggle-group:change", B3 = "anduin-toggle-group-item:change",
2623
2631
  return this.isControlled ? p2(this.value) : this.internalValue;
2624
2632
  }
2625
2633
  connectedCallback() {
2626
- super.connectedCallback(), this.hasUpdated || (this.internalValue = p2(this.defaultValue)), this.addEventListener(b2, this.onItemClick);
2634
+ super.connectedCallback(), this.hasUpdated || (this.internalValue = p2(this.defaultValue)), this.addEventListener(L2, this.onItemClick);
2627
2635
  }
2628
2636
  willUpdate(e) {
2629
2637
  e.has("defaultValue") && !this.isControlled && !this.userInteracted && (this.internalValue = p2(this.defaultValue));
2630
2638
  }
2631
2639
  disconnectedCallback() {
2632
- super.disconnectedCallback(), this.removeEventListener(b2, this.onItemClick);
2640
+ super.disconnectedCallback(), this.removeEventListener(L2, this.onItemClick);
2633
2641
  }
2634
2642
  updated() {
2635
2643
  this.syncItems();
@@ -2673,12 +2681,16 @@ u5.styles = g`
2673
2681
  --toggle-group-item-padding: 0; --toggle-group-item-line-height: inherit;
2674
2682
  --toggle-group-item-icon-gap: 8px;
2675
2683
  }
2676
- ::slotted(anduin-toggle-group-item) { --toggle-group-item-radius: 0; margin-left: -1px; }
2677
- ::slotted(anduin-toggle-group-item:first-child) { --toggle-group-item-radius: 4px 0 0 4px; margin-left: 0; }
2684
+ /* Each item draws its own left border only when it's the first in the row;
2685
+ every other item omits its left border so the divider between two items
2686
+ is a single 1px line (item N's right border), never a doubled one. */
2687
+ ::slotted(anduin-toggle-group-item) { --toggle-group-item-radius: 0; --toggle-group-item-border-left: 0; }
2688
+ ::slotted(anduin-toggle-group-item:first-child) { --toggle-group-item-radius: 4px 0 0 4px; --toggle-group-item-border-left: 1px; }
2678
2689
  ::slotted(anduin-toggle-group-item:last-child) { --toggle-group-item-radius: 0 4px 4px 0; }
2679
2690
  ::slotted(anduin-toggle-group-item:only-child) { --toggle-group-item-radius: 4px; }
2680
2691
  .toggle-group--gap { flex-wrap: wrap; gap: 8px; }
2681
- .toggle-group--gap ::slotted(anduin-toggle-group-item) { --toggle-group-item-radius: 4px; margin-left: 0; }
2692
+ /* Gapped pills stand alone, so each keeps all four borders. */
2693
+ .toggle-group--gap ::slotted(anduin-toggle-group-item) { --toggle-group-item-radius: 4px; --toggle-group-item-border-left: 1px; }
2682
2694
  `;
2683
2695
  let P = u5;
2684
2696
  R([
@@ -2722,7 +2734,7 @@ const h5 = class h5 extends u {
2722
2734
  (e.has("selected") || e.has("groupMode")) && (this.groupMode === "single" ? (this.setAttribute("role", "radio"), this.setAttribute("aria-checked", String(this.selected))) : (this.removeAttribute("role"), this.removeAttribute("aria-checked")));
2723
2735
  }
2724
2736
  onClick() {
2725
- this.dispatchEvent(new CustomEvent(b2, {
2737
+ this.dispatchEvent(new CustomEvent(L2, {
2726
2738
  detail: this.value,
2727
2739
  bubbles: !0,
2728
2740
  composed: !0
@@ -2758,6 +2770,8 @@ h5.styles = g`
2758
2770
  position: relative; z-index: 0; box-sizing: border-box;
2759
2771
  display: flex; align-items: center; justify-content: center;
2760
2772
  background: none; border: 1px solid var(--color-gray-4);
2773
+ /* Group omits the left border on all but the first item so dividers never double. */
2774
+ border-left-width: var(--toggle-group-item-border-left, 1px);
2761
2775
  border-radius: var(--toggle-group-item-radius, 4px);
2762
2776
  color: var(--color-gray-7); cursor: pointer; font-family: inherit;
2763
2777
  font-size: var(--toggle-group-item-font-size, 13px); font-weight: 500;
@@ -2895,7 +2909,7 @@ function D3(r, e, t, i = 8) {
2895
2909
  top: Math.round(Math.min(Math.max(H.top, 0), l - d))
2896
2910
  };
2897
2911
  }
2898
- function L2(r) {
2912
+ function b2(r) {
2899
2913
  return r.split("-")[0] || "top";
2900
2914
  }
2901
2915
  function I3(r, e, t) {
@@ -2954,7 +2968,7 @@ const g5 = class g5 extends u {
2954
2968
  if (n) {
2955
2969
  const s = e;
2956
2970
  s.style.transform = `translate(${n.left - this.containingBlockLeft}px, ${n.top - this.containingBlockTop}px)`;
2957
- const d = L2(n.placement), p = L2(i);
2971
+ const d = b2(n.placement), p = b2(i);
2958
2972
  if (d !== p) {
2959
2973
  const h = e.querySelector(".tooltip-arrow");
2960
2974
  h && (h.classList.remove(`tooltip-arrow--${p}`), h.classList.add(`tooltip-arrow--${d}`));
@@ -3040,7 +3054,7 @@ const f5 = class f5 extends u {
3040
3054
  }
3041
3055
  showPopup(e) {
3042
3056
  this.hidePopup();
3043
- const t = L2(e), i = document.createElement("div");
3057
+ const t = b2(e), i = document.createElement("div");
3044
3058
  i.className = "tooltip-popup", i.setAttribute("role", "tooltip");
3045
3059
  const o = document.createElement("div");
3046
3060
  o.className = `tooltip-arrow tooltip-arrow--${t}`;
@@ -3375,7 +3389,7 @@ C1([
3375
3389
  k(".popover__panel")
3376
3390
  ], F.prototype, "_panelEl");
3377
3391
  customElements.get("anduin-popover") || customElements.define("anduin-popover", F);
3378
- const b5 = class b5 extends u {
3392
+ const L5 = class L5 extends u {
3379
3393
  _onClick() {
3380
3394
  this.dispatchEvent(new CustomEvent(_2, { bubbles: !0, composed: !0 }));
3381
3395
  }
@@ -3383,15 +3397,15 @@ const b5 = class b5 extends u {
3383
3397
  return C`<span @click=${this._onClick}><slot></slot></span>`;
3384
3398
  }
3385
3399
  };
3386
- b5.styles = g`:host { display: contents; }`;
3387
- let x2 = b5;
3400
+ L5.styles = g`:host { display: contents; }`;
3401
+ let x2 = L5;
3388
3402
  customElements.get("anduin-popover-close") || customElements.define("anduin-popover-close", x2);
3389
3403
  var G3 = Object.defineProperty, d1 = (r, e, t, i) => {
3390
3404
  for (var o = void 0, l = r.length - 1, n; l >= 0; l--)
3391
3405
  (n = r[l]) && (o = n(e, t, o) || o);
3392
3406
  return o && G3(e, t, o), o;
3393
3407
  };
3394
- const w2 = "anduin-menu-item:click", L5 = class L5 extends u {
3408
+ const w2 = "anduin-menu-item:click", b5 = class b5 extends u {
3395
3409
  constructor() {
3396
3410
  super(...arguments), this.open = !1, this.placement = "bottom-start", this._onOutsideClick = (e) => {
3397
3411
  var t;
@@ -3458,7 +3472,7 @@ const w2 = "anduin-menu-item:click", L5 = class L5 extends u {
3458
3472
  `;
3459
3473
  }
3460
3474
  };
3461
- L5.styles = g`
3475
+ b5.styles = g`
3462
3476
  :host { display: inline-block; font-family: var(--font-sans); }
3463
3477
 
3464
3478
  .menu__trigger { display: inline-block; }
@@ -3501,7 +3515,7 @@ L5.styles = g`
3501
3515
  transform: scale(1) translateY(0);
3502
3516
  }
3503
3517
  `;
3504
- let s1 = L5;
3518
+ let s1 = b5;
3505
3519
  d1([
3506
3520
  a({ type: Boolean, reflect: !0 })
3507
3521
  ], s1.prototype, "open");
@@ -5285,56 +5299,56 @@ $5.styles = g`
5285
5299
  text-align: center;
5286
5300
  }
5287
5301
  `;
5288
- let b = $5;
5302
+ let L = $5;
5289
5303
  M([
5290
5304
  a()
5291
- ], b.prototype, "value");
5305
+ ], L.prototype, "value");
5292
5306
  M([
5293
5307
  a()
5294
- ], b.prototype, "placeholder");
5308
+ ], L.prototype, "placeholder");
5295
5309
  M([
5296
5310
  a({ attribute: !1 })
5297
- ], b.prototype, "options");
5311
+ ], L.prototype, "options");
5298
5312
  M([
5299
5313
  a()
5300
- ], b.prototype, "icon");
5314
+ ], L.prototype, "icon");
5301
5315
  M([
5302
5316
  a({ type: Boolean })
5303
- ], b.prototype, "searchable");
5317
+ ], L.prototype, "searchable");
5304
5318
  M([
5305
5319
  a({ type: Boolean })
5306
- ], b.prototype, "disabled");
5320
+ ], L.prototype, "disabled");
5307
5321
  M([
5308
5322
  a()
5309
- ], b.prototype, "placement");
5323
+ ], L.prototype, "placement");
5310
5324
  M([
5311
5325
  a()
5312
- ], b.prototype, "appearance");
5326
+ ], L.prototype, "appearance");
5313
5327
  M([
5314
5328
  a()
5315
- ], b.prototype, "variant");
5329
+ ], L.prototype, "variant");
5316
5330
  M([
5317
5331
  a()
5318
- ], b.prototype, "size");
5332
+ ], L.prototype, "size");
5319
5333
  M([
5320
5334
  a({ type: Boolean, attribute: "full-width", reflect: !0 })
5321
- ], b.prototype, "fullWidth");
5335
+ ], L.prototype, "fullWidth");
5322
5336
  M([
5323
5337
  m()
5324
- ], b.prototype, "_open");
5338
+ ], L.prototype, "_open");
5325
5339
  M([
5326
5340
  m()
5327
- ], b.prototype, "_query");
5341
+ ], L.prototype, "_query");
5328
5342
  M([
5329
5343
  k(".trigger")
5330
- ], b.prototype, "_triggerEl");
5344
+ ], L.prototype, "_triggerEl");
5331
5345
  M([
5332
5346
  k(".panel")
5333
- ], b.prototype, "_panelEl");
5347
+ ], L.prototype, "_panelEl");
5334
5348
  M([
5335
5349
  k("anduin-input")
5336
- ], b.prototype, "_searchEl");
5337
- customElements.get("anduin-dropdown") || customElements.define("anduin-dropdown", b);
5350
+ ], L.prototype, "_searchEl");
5351
+ customElements.get("anduin-dropdown") || customElements.define("anduin-dropdown", L);
5338
5352
  var v7 = Object.defineProperty, t1 = (r, e, t, i) => {
5339
5353
  for (var o = void 0, l = r.length - 1, n; l >= 0; l--)
5340
5354
  (n = r[l]) && (o = n(e, t, o) || o);
@@ -5588,12 +5602,12 @@ class m7 extends HTMLElement {
5588
5602
  }
5589
5603
  }
5590
5604
  customElements.get("anduin-drawer-close") || customElements.define("anduin-drawer-close", m7);
5591
- var b7 = Object.defineProperty, y = (r, e, t, i) => {
5605
+ var L7 = Object.defineProperty, y = (r, e, t, i) => {
5592
5606
  for (var o = void 0, l = r.length - 1, n; l >= 0; l--)
5593
5607
  (n = r[l]) && (o = n(e, t, o) || o);
5594
- return o && b7(e, t, o), o;
5608
+ return o && L7(e, t, o), o;
5595
5609
  };
5596
- const v2 = "anduin-suggestion:change", L7 = "anduin-suggestion:select", y7 = "anduin-suggestion:clear", z5 = class z5 extends u {
5610
+ const v2 = "anduin-suggestion:change", b7 = "anduin-suggestion:select", y7 = "anduin-suggestion:clear", z5 = class z5 extends u {
5597
5611
  constructor() {
5598
5612
  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, this.suggestions = [], this.filter = !1, this.hideWhenEmpty = !1, this.emptyText = "No suggestions", this._open = !1, this._activeIndex = -1, this._onDocumentMouseDown = (e) => {
5599
5613
  var t;
@@ -5670,7 +5684,7 @@ const v2 = "anduin-suggestion:change", L7 = "anduin-suggestion:select", y7 = "an
5670
5684
  detail: this.value,
5671
5685
  bubbles: !0,
5672
5686
  composed: !0
5673
- })), this.dispatchEvent(new CustomEvent(L7, {
5687
+ })), this.dispatchEvent(new CustomEvent(b7, {
5674
5688
  detail: e,
5675
5689
  bubbles: !0,
5676
5690
  composed: !0
@@ -6256,16 +6270,16 @@ S5.styles = g`
6256
6270
  :host { display: block; flex: 1 1 0; min-width: 0; min-height: 0; overflow: hidden; font-family: var(--font-sans); }
6257
6271
  .panel { width: 100%; height: 100%; overflow: hidden; }
6258
6272
  `;
6259
- let b1 = S5;
6273
+ let L1 = S5;
6260
6274
  h1([
6261
6275
  a({ attribute: "default-size" })
6262
- ], b1.prototype, "defaultSize");
6276
+ ], L1.prototype, "defaultSize");
6263
6277
  h1([
6264
6278
  a({ attribute: "min-size" })
6265
- ], b1.prototype, "minSize");
6279
+ ], L1.prototype, "minSize");
6266
6280
  h1([
6267
6281
  a({ attribute: "max-size" })
6268
- ], b1.prototype, "maxSize");
6282
+ ], L1.prototype, "maxSize");
6269
6283
  const F5 = class F5 extends u {
6270
6284
  constructor() {
6271
6285
  super(...arguments), this.withHandle = !1, this.groupVertical = !1, this.dragging = !1, this.group = null, this.startPos = 0, this.startPrevPx = 0, this.combinedPx = 0, this.combinedGrow = 0, this.activePointerId = null, this.onPointerDown = (e) => {
@@ -6383,19 +6397,19 @@ F5.styles = g`
6383
6397
  .handle:hover .handle__grip, .handle--dragging .handle__grip, :host(:focus-visible) .handle__grip { opacity: 1; }
6384
6398
  .handle--vertical .handle__grip { transform: rotate(90deg); }
6385
6399
  `;
6386
- let L1 = F5;
6400
+ let b1 = F5;
6387
6401
  h1([
6388
6402
  a({ type: Boolean, attribute: "with-handle" })
6389
- ], L1.prototype, "withHandle");
6403
+ ], b1.prototype, "withHandle");
6390
6404
  h1([
6391
6405
  m()
6392
- ], L1.prototype, "groupVertical");
6406
+ ], b1.prototype, "groupVertical");
6393
6407
  h1([
6394
6408
  m()
6395
- ], L1.prototype, "dragging");
6409
+ ], b1.prototype, "dragging");
6396
6410
  customElements.get("anduin-resizable-panel-group") || customElements.define("anduin-resizable-panel-group", r2);
6397
- customElements.get("anduin-resizable-panel") || customElements.define("anduin-resizable-panel", b1);
6398
- customElements.get("anduin-resizable-handle") || customElements.define("anduin-resizable-handle", L1);
6411
+ customElements.get("anduin-resizable-panel") || customElements.define("anduin-resizable-panel", L1);
6412
+ customElements.get("anduin-resizable-handle") || customElements.define("anduin-resizable-handle", b1);
6399
6413
  export {
6400
6414
  l2 as $,
6401
6415
  O as A,
@@ -6403,8 +6417,8 @@ export {
6403
6417
  S1 as C,
6404
6418
  N as D,
6405
6419
  m1 as E,
6406
- L1 as F,
6407
- b1 as G,
6420
+ b1 as F,
6421
+ L1 as G,
6408
6422
  r2 as H,
6409
6423
  I,
6410
6424
  z1 as J,
@@ -6428,7 +6442,7 @@ export {
6428
6442
  Q1 as a,
6429
6443
  Z2 as a0,
6430
6444
  V4 as a1,
6431
- L3 as a2,
6445
+ b3 as a2,
6432
6446
  f7 as a3,
6433
6447
  E2 as a4,
6434
6448
  r4 as a5,
@@ -6456,7 +6470,7 @@ export {
6456
6470
  x7 as aj,
6457
6471
  v2 as ak,
6458
6472
  y7 as al,
6459
- L7 as am,
6473
+ b7 as am,
6460
6474
  h7 as an,
6461
6475
  w3 as ao,
6462
6476
  Z4 as ap,
@@ -6465,20 +6479,20 @@ export {
6465
6479
  _3 as as,
6466
6480
  A3 as at,
6467
6481
  B3 as au,
6468
- b2 as av,
6482
+ L2 as av,
6469
6483
  S3 as aw,
6470
6484
  P3 as ax,
6471
6485
  R4 as ay,
6472
6486
  k4 as az,
6473
6487
  B1 as b,
6474
- L as c,
6488
+ b as c,
6475
6489
  e2 as d,
6476
6490
  X as e,
6477
6491
  P1 as f,
6478
6492
  t2 as g,
6479
6493
  z as h,
6480
6494
  m7 as i,
6481
- b as j,
6495
+ L as j,
6482
6496
  i2 as k,
6483
6497
  f2 as l,
6484
6498
  H2 as m,