@duyluonganduin/acl-web-components 0.0.20 → 0.0.22

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
- import { A as c, a as r, b as i, c as l, d as e, e as t, f as p, g as d, h as g, i as u, j as x, k as A, l as h, m as k, n as E, o as m, p as T, q as C, r as _, s as O, t as y, u as I, v as L, w as N, x as S, y as G, z as D, B as w, C as R, D as P, E as b, F as f, G as U, H, I as B, J as F, K as M, L as z, M as v, N as V, O as W, P as K, Q as X, R as Y, S as j, T as q, U as J, V as Q, W as Z, X as $, Y as aa, Z as oa, _ as na, $ as sa, a0 as ca, a1 as ra, a2 as ia, a3 as la, a4 as ea, a5 as ta, a6 as pa, a7 as da, a8 as ga, a9 as ua, aa as xa, ab as Aa, ac as ha, ad as ka, ae as Ea, af as ma, ag as Ta, ah as Ca, ai as _a, aj as Oa, ak as ya, al as Ia, am as La, an as Na, ao as Sa, ap as Ga, aq as Da, ar as wa } from "./anduin-suggestion-CQiYXOwe.js";
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-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-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)}';
1
+ import { A as c, a as r, b as i, c as l, d as e, e as t, f as p, g as d, h as g, i as u, j as x, k as A, l as h, m as k, n as E, o as m, p as T, q as C, r as _, s as O, t as y, u as I, v as L, w as N, x as S, y as G, z as D, B as w, C as R, D as P, E as b, F as f, G as U, H, I as B, J as F, K as M, L as z, M as v, N as V, O as W, P as K, Q as X, R as Y, S as j, T as q, U as J, V as Q, W as Z, X as $, Y as aa, Z as oa, _ as na, $ as sa, a0 as ca, a1 as ra, a2 as ia, a3 as la, a4 as ea, a5 as ta, a6 as pa, a7 as da, a8 as ga, a9 as ua, aa as xa, ab as Aa, ac as ha, ad as ka, ae as Ea, af as ma, ag as Ta, ah as Ca, ai as _a, aj as Oa, ak as ya, al as Ia, am as La, an as Na, ao as Sa, ap as Ga, aq as Da, ar as wa } from "./anduin-suggestion-CQz20-Zh.js";
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-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");
5
5
  a.id = "acl-tokens", a.textContent = o, document.head.appendChild(a);
@@ -3281,12 +3281,22 @@ const G = (j = class extends h {
3281
3281
  const t = this.maxWidth, i = j._PRESETS.has(t) ? `${t}px` : t;
3282
3282
  this.style.setProperty("--_modal-width", i);
3283
3283
  }
3284
- e.has("open") && (this.open ? (this._leaving = !1, this.classList.add("is-shown")) : this.classList.contains("is-shown") && (this._leaving = !0, setTimeout(() => {
3285
- this._leaving = !1, this.classList.remove("is-shown"), this.dispatchEvent(new CustomEvent(h3, { bubbles: !0, composed: !0 }));
3286
- }, Math.max(t2, A5))));
3284
+ e.has("open") && (this.open ? (this._leaving = !1, this.classList.add("is-shown")) : this.classList.contains("is-shown") && (this._leaving = !0, setTimeout(
3285
+ () => {
3286
+ this._leaving = !1, this.classList.remove("is-shown"), this.dispatchEvent(
3287
+ new CustomEvent(h3, {
3288
+ bubbles: !0,
3289
+ composed: !0
3290
+ })
3291
+ );
3292
+ },
3293
+ Math.max(t2, A5)
3294
+ )));
3287
3295
  }
3288
3296
  dispatch(e) {
3289
- this.dispatchEvent(new CustomEvent(e, { bubbles: !0, composed: !0 }));
3297
+ this.dispatchEvent(
3298
+ new CustomEvent(e, { bubbles: !0, composed: !0 })
3299
+ );
3290
3300
  }
3291
3301
  onOverlayClick() {
3292
3302
  this.dispatch(f1);
@@ -3303,26 +3313,35 @@ const G = (j = class extends h {
3303
3313
  render() {
3304
3314
  const e = this._leaving, t = this.fullscreen;
3305
3315
  return s`
3306
- <div class=${`overlay${e ? " is-leaving" : ""}`} @click=${this.onOverlayClick}></div>
3316
+ <div
3317
+ class=${`overlay${e ? " is-leaving" : ""}`}
3318
+ @click=${this.onOverlayClick}
3319
+ ></div>
3307
3320
  <div class=${`modal-wrapper${t ? " modal-wrapper--fullscreen" : ""}`}>
3308
- <div class=${`modal${t ? " modal--fullscreen" : ""}${e ? " is-leaving" : ""}`} role="dialog" aria-modal="true" aria-labelledby="modal-title">
3309
- ${this.hideHeader ? c : s`
3310
- <div class="header">
3311
- <div class="header-slot">
3312
- <slot name="header">
3313
- ${this.heading ? s`<span id="modal-title" class="title">${this.heading}</span>` : c}
3314
- </slot>
3315
- </div>
3316
- <span class="header-sep"></span>
3317
- <anduin-button
3318
- appearance="plain"
3319
- variant="gray9"
3320
- size="medium"
3321
- label="Close"
3322
- start-icon="cross"
3323
- @click=${this.onClose}
3324
- ></anduin-button>
3325
- </div>`}
3321
+ <div
3322
+ class=${`modal${t ? " modal--fullscreen" : ""}${e ? " is-leaving" : ""}`}
3323
+ role="dialog"
3324
+ aria-modal="true"
3325
+ aria-labelledby="modal-title"
3326
+ >
3327
+ ${this.hideHeader ? c : s` <div class="header">
3328
+ <div class="header-slot">
3329
+ <slot name="header">
3330
+ ${this.heading ? s`<span id="modal-title" class="title"
3331
+ >${this.heading}</span
3332
+ >` : c}
3333
+ </slot>
3334
+ </div>
3335
+ <span class="header-sep"></span>
3336
+ <anduin-button
3337
+ appearance="plain"
3338
+ variant="gray9"
3339
+ size="medium"
3340
+ label="Close"
3341
+ start-icon="cross"
3342
+ @click=${this.onClose}
3343
+ ></anduin-button>
3344
+ </div>`}
3326
3345
  <div class="body">
3327
3346
  <slot></slot>
3328
3347
  </div>
@@ -3343,38 +3362,72 @@ const G = (j = class extends h {
3343
3362
  z-index: var(--z-modal, 1000);
3344
3363
  }
3345
3364
  @keyframes overlayIn {
3346
- from { opacity: 0; }
3347
- to { opacity: 1; }
3365
+ from {
3366
+ opacity: 0;
3367
+ }
3368
+ to {
3369
+ opacity: 1;
3370
+ }
3348
3371
  }
3349
3372
  @keyframes overlayOut {
3350
- from { opacity: 1; }
3351
- to { opacity: 0; }
3373
+ from {
3374
+ opacity: 1;
3375
+ }
3376
+ to {
3377
+ opacity: 0;
3378
+ }
3352
3379
  }
3353
3380
  @keyframes modalIn {
3354
- from { opacity: 0; transform: translateY(12px); }
3355
- to { opacity: 1; transform: translateY(0); }
3381
+ from {
3382
+ opacity: 0;
3383
+ transform: translateY(12px);
3384
+ }
3385
+ to {
3386
+ opacity: 1;
3387
+ transform: translateY(0);
3388
+ }
3356
3389
  }
3357
3390
  @keyframes modalOut {
3358
- from { opacity: 1; transform: translateY(0); }
3359
- to { opacity: 0; transform: translateY(12px); }
3391
+ from {
3392
+ opacity: 1;
3393
+ transform: translateY(0);
3394
+ }
3395
+ to {
3396
+ opacity: 0;
3397
+ transform: translateY(12px);
3398
+ }
3360
3399
  }
3361
3400
  @keyframes modalFullscreenIn {
3362
- from { opacity: 0; transform: translateY(24px); }
3363
- to { opacity: 1; transform: translateY(0); }
3401
+ from {
3402
+ opacity: 0;
3403
+ transform: translateY(24px);
3404
+ }
3405
+ to {
3406
+ opacity: 1;
3407
+ transform: translateY(0);
3408
+ }
3364
3409
  }
3365
3410
  @keyframes modalFullscreenOut {
3366
- from { opacity: 1; transform: translateY(0); }
3367
- to { opacity: 0; transform: translateY(24px); }
3411
+ from {
3412
+ opacity: 1;
3413
+ transform: translateY(0);
3414
+ }
3415
+ to {
3416
+ opacity: 0;
3417
+ transform: translateY(24px);
3418
+ }
3368
3419
  }
3369
3420
  .overlay {
3370
3421
  position: absolute;
3371
3422
  inset: 0;
3372
3423
  background: rgba(50, 60, 77, 0.6);
3373
3424
  cursor: default;
3374
- animation: overlayIn ${e2}ms cubic-bezier(0.2, 0, 0, 1) forwards;
3425
+ animation: overlayIn ${e2}ms cubic-bezier(0.2, 0, 0, 1)
3426
+ forwards;
3375
3427
  }
3376
3428
  .overlay.is-leaving {
3377
- animation: overlayOut ${A5}ms cubic-bezier(0.3, 0, 0.8, 0.15) forwards;
3429
+ animation: overlayOut ${A5}ms
3430
+ cubic-bezier(0.3, 0, 0.8, 0.15) forwards;
3378
3431
  }
3379
3432
  .modal-wrapper {
3380
3433
  position: absolute;
@@ -3395,12 +3448,16 @@ const G = (j = class extends h {
3395
3448
  display: flex;
3396
3449
  flex-direction: column;
3397
3450
  max-height: calc(100vh - 64px);
3398
- box-shadow: 0 8px 24px 0 rgba(29, 41, 57, 0.12), 0 2px 8px 0 rgba(29, 41, 57, 0.08);
3451
+ box-shadow:
3452
+ 0 8px 24px 0 rgba(29, 41, 57, 0.12),
3453
+ 0 2px 8px 0 rgba(29, 41, 57, 0.08);
3399
3454
  flex-shrink: 0;
3400
- animation: modalIn ${e2}ms cubic-bezier(0.05, 0.7, 0.1, 1) forwards;
3455
+ animation: modalIn ${e2}ms cubic-bezier(0.05, 0.7, 0.1, 1)
3456
+ forwards;
3401
3457
  }
3402
3458
  .modal.is-leaving {
3403
- animation: modalOut ${t2}ms cubic-bezier(0.3, 0, 0.8, 0.15) forwards;
3459
+ animation: modalOut ${t2}ms
3460
+ cubic-bezier(0.3, 0, 0.8, 0.15) forwards;
3404
3461
  }
3405
3462
  .modal-wrapper--fullscreen {
3406
3463
  padding: 0;
@@ -3429,10 +3486,12 @@ const G = (j = class extends h {
3429
3486
  max-height: 100%;
3430
3487
  height: 100%;
3431
3488
  box-shadow: none;
3432
- animation: modalFullscreenIn ${e2}ms cubic-bezier(0.05, 0.7, 0.1, 1) forwards;
3489
+ animation: modalFullscreenIn ${e2}ms
3490
+ cubic-bezier(0.05, 0.7, 0.1, 1) forwards;
3433
3491
  }
3434
3492
  .modal--fullscreen.is-leaving {
3435
- animation: modalFullscreenOut ${t2}ms cubic-bezier(0.3, 0, 0.8, 0.15) forwards;
3493
+ animation: modalFullscreenOut ${t2}ms
3494
+ cubic-bezier(0.3, 0, 0.8, 0.15) forwards;
3436
3495
  }
3437
3496
  .header {
3438
3497
  flex-shrink: 0;
@@ -3440,15 +3499,19 @@ const G = (j = class extends h {
3440
3499
  align-items: flex-start;
3441
3500
  padding: 20px 28px;
3442
3501
  }
3443
- .header-slot { flex: 1; min-width: 0; }
3444
- .header-sep { display: none; }
3502
+ .header-slot {
3503
+ flex: 1;
3504
+ min-width: 0;
3505
+ }
3506
+ .header-sep {
3507
+ display: none;
3508
+ }
3445
3509
  .title {
3446
3510
  flex: 1;
3447
3511
  font-size: 20px;
3448
- font-weight: 590;
3512
+ font-weight: 600;
3449
3513
  line-height: 32px;
3450
- color: #323c4d;
3451
- letter-spacing: -0.46px;
3514
+ color: var(--color-gray-8, #323c4d);
3452
3515
  font-family: var(--font-sans);
3453
3516
  margin: 0;
3454
3517
  }
@@ -3473,7 +3536,13 @@ const G = (j = class extends h {
3473
3536
  padding: 16px 24px;
3474
3537
  border-top: 1px solid var(--color-gray-3, #e4e7ec);
3475
3538
  }
3476
- `, j._PRESETS = /* @__PURE__ */ new Set(["480", "600", "720", "960", "1160"]), j);
3539
+ `, j._PRESETS = /* @__PURE__ */ new Set([
3540
+ "480",
3541
+ "600",
3542
+ "720",
3543
+ "960",
3544
+ "1160"
3545
+ ]), j);
3477
3546
  r1([
3478
3547
  C({ type: Boolean, reflect: !0 })
3479
3548
  ], G.prototype, "open");
@@ -3500,7 +3569,9 @@ customElements.get("anduin-modal") || customElements.define("anduin-modal", v3);
3500
3569
  class g3 extends HTMLElement {
3501
3570
  constructor() {
3502
3571
  super(...arguments), this._onClick = () => {
3503
- this.dispatchEvent(new CustomEvent(f1, { bubbles: !0, composed: !0 }));
3572
+ this.dispatchEvent(
3573
+ new CustomEvent(f1, { bubbles: !0, composed: !0 })
3574
+ );
3504
3575
  };
3505
3576
  }
3506
3577
  connectedCallback() {
@@ -4208,7 +4279,7 @@ const z5 = {
4208
4279
  aria-label="Dismiss"
4209
4280
  @click=${this._onClose}
4210
4281
  >
4211
- <anduin-icon name="cross" size="14"></anduin-icon>
4282
+ <anduin-icon name="crossSmall" size="16"></anduin-icon>
4212
4283
  </button>
4213
4284
  </div>
4214
4285
  `;
@@ -4235,9 +4306,9 @@ c5.styles = g`
4235
4306
  .toast {
4236
4307
  display: flex;
4237
4308
  align-items: flex-start;
4238
- gap: 10px;
4239
- padding: 12px;
4240
- border-radius: 8px;
4309
+ gap: 8px;
4310
+ padding: 4px;
4311
+ border-radius: 12px;
4241
4312
  box-shadow: var(
4242
4313
  --shadow-4,
4243
4314
  0px 4px 8px rgba(29, 41, 57, 0.08),
@@ -4259,10 +4330,9 @@ c5.styles = g`
4259
4330
  transform: translateX(-12px) scale(0.97);
4260
4331
  }
4261
4332
 
4262
- /* Dark gray9 background for all variants */
4333
+ /* Light surface for all variants */
4263
4334
  .toast {
4264
- background: var(--color-gray-9, #101828);
4265
- border: 1px solid var(--color-gray-8, #1d2939);
4335
+ background: var(--color-gray-0, #ffffff);
4266
4336
  }
4267
4337
 
4268
4338
  .toast__icon {
@@ -4270,22 +4340,29 @@ c5.styles = g`
4270
4340
  display: flex;
4271
4341
  align-items: center;
4272
4342
  justify-content: center;
4273
- margin-top: 2px;
4343
+ align-self: stretch;
4344
+ padding: 12px;
4345
+ border-radius: 8px;
4274
4346
  }
4275
4347
  .toast__icon--gray {
4276
- color: var(--color-gray-4, #98a2b3);
4348
+ color: var(--color-gray-6, #475467);
4349
+ background: var(--color-gray-2, #eaecf0);
4277
4350
  }
4278
4351
  .toast__icon--primary {
4279
- color: var(--color-primary-3, #8098f9);
4352
+ color: var(--color-primary-4, #444ce7);
4353
+ background: var(--color-primary-1, #eef4ff);
4280
4354
  }
4281
4355
  .toast__icon--success {
4282
- color: var(--color-success-3, #47cd89);
4356
+ color: var(--color-success-4, #17b26a);
4357
+ background: var(--color-success-1, #dcfae6);
4283
4358
  }
4284
4359
  .toast__icon--warning {
4285
- color: var(--color-warning-3, #fdb022);
4360
+ color: var(--color-warning-4, #dc6803);
4361
+ background: var(--color-warning-1, #fef0c7);
4286
4362
  }
4287
4363
  .toast__icon--danger {
4288
- color: var(--color-danger-3, #f97066);
4364
+ color: var(--color-danger-4, #d92d20);
4365
+ background: var(--color-danger-1, #fee4e2);
4289
4366
  }
4290
4367
 
4291
4368
  .toast__body {
@@ -4293,20 +4370,23 @@ c5.styles = g`
4293
4370
  min-width: 0;
4294
4371
  display: flex;
4295
4372
  flex-direction: column;
4296
- gap: 2px;
4373
+ padding-top: 2px;
4374
+ padding-bottom: 2px;
4375
+ align-self: stretch;
4376
+ justify-content: center;
4297
4377
  }
4298
4378
 
4299
4379
  .toast__title {
4300
4380
  font-size: var(--text-13, 13px);
4301
4381
  font-weight: 500;
4302
- color: var(--color-gray-0, #ffffff);
4382
+ color: var(--color-gray-9, #101828);
4303
4383
  line-height: 20px;
4304
4384
  }
4305
4385
 
4306
4386
  .toast__description {
4307
- font-size: var(--text-13, 13px);
4387
+ font-size: var(--text-12, 12px);
4308
4388
  font-weight: 400;
4309
- color: var(--color-gray-4, #98a2b3);
4389
+ color: var(--color-gray-7, #344054);
4310
4390
  line-height: 20px;
4311
4391
  }
4312
4392
 
@@ -4320,17 +4400,17 @@ c5.styles = g`
4320
4400
  background: none;
4321
4401
  border: none;
4322
4402
  cursor: pointer;
4323
- border-radius: 4px;
4403
+ border-radius: 8px;
4324
4404
  padding: 0;
4325
- color: var(--color-gray-5, #667085);
4326
- margin-top: -2px;
4405
+ color: var(--color-gray-6, #475467);
4327
4406
  }
4407
+
4328
4408
  .toast__close:hover {
4329
- background: var(--color-gray-8, #1d2939);
4330
- color: var(--color-gray-2, #eaecf0);
4409
+ background: var(--color-gray-2, #eaecf0);
4410
+ color: var(--color-gray-9, #101828);
4331
4411
  }
4332
4412
  .toast__close:active {
4333
- background: var(--color-gray-7, #344054);
4413
+ background: var(--color-gray-3, #d0d5dd);
4334
4414
  }
4335
4415
  `;
4336
4416
  let q = c5;
@@ -4957,7 +5037,10 @@ const V2 = "anduin-close", F3 = "anduin-after-close", P3 = 300, F5 = 250, O3 = /
4957
5037
  }, this._onResizeMove = (e) => {
4958
5038
  var r;
4959
5039
  if (!this._resizing) return;
4960
- const t = this._startX - e.clientX, i = Math.max(200, Math.min(window.innerWidth * 0.9, this._startWidth + t));
5040
+ const t = this._startX - e.clientX, i = Math.max(
5041
+ 200,
5042
+ Math.min(window.innerWidth * 0.9, this._startWidth + t)
5043
+ );
4961
5044
  this._width = Math.round(i);
4962
5045
  const o = (r = this.shadowRoot) == null ? void 0 : r.querySelector(".drawer");
4963
5046
  o && (o.style.width = `${this._width}px`);
@@ -4970,11 +5053,18 @@ const V2 = "anduin-close", F3 = "anduin-after-close", P3 = 300, F5 = 250, O3 = /
4970
5053
  }
4971
5054
  updated(e) {
4972
5055
  e.has("open") && (this.open ? (this._leaving = !1, this.classList.add("is-shown")) : this.classList.contains("is-shown") && (this._leaving = !0, setTimeout(() => {
4973
- this._leaving = !1, this.classList.remove("is-shown"), this.dispatchEvent(new CustomEvent(F3, { bubbles: !0, composed: !0 }));
5056
+ this._leaving = !1, this.classList.remove("is-shown"), this.dispatchEvent(
5057
+ new CustomEvent(F3, {
5058
+ bubbles: !0,
5059
+ composed: !0
5060
+ })
5061
+ );
4974
5062
  }, F5)));
4975
5063
  }
4976
5064
  _dispatch(e) {
4977
- this.dispatchEvent(new CustomEvent(e, { bubbles: !0, composed: !0 }));
5065
+ this.dispatchEvent(
5066
+ new CustomEvent(e, { bubbles: !0, composed: !0 })
5067
+ );
4978
5068
  }
4979
5069
  _onClose() {
4980
5070
  this._dispatch(V2);
@@ -5000,20 +5090,21 @@ const V2 = "anduin-close", F3 = "anduin-after-close", P3 = 300, F5 = 250, O3 = /
5000
5090
  @pointerup=${this._onResizeEnd}
5001
5091
  @pointercancel=${this._onResizeEnd}
5002
5092
  ></div>
5003
- ${this.hideHeader ? c : s`
5004
- <div class="header">
5005
- <slot name="header">
5006
- ${this.heading ? s`<span id="drawer-title" class="title">${this.heading}</span>` : c}
5007
- </slot>
5008
- <anduin-button
5009
- appearance="plain"
5010
- variant="gray9"
5011
- size="medium"
5012
- label="Close"
5013
- start-icon="cross"
5014
- @click=${this._onClose}
5015
- ></anduin-button>
5016
- </div>`}
5093
+ ${this.hideHeader ? c : s` <div class="header">
5094
+ <slot name="header">
5095
+ ${this.heading ? s`<span id="drawer-title" class="title"
5096
+ >${this.heading}</span
5097
+ >` : c}
5098
+ </slot>
5099
+ <anduin-button
5100
+ appearance="plain"
5101
+ variant="gray9"
5102
+ size="medium"
5103
+ label="Close"
5104
+ start-icon="cross"
5105
+ @click=${this._onClose}
5106
+ ></anduin-button>
5107
+ </div>`}
5017
5108
  <div class="body">
5018
5109
  <slot></slot>
5019
5110
  </div>
@@ -5036,12 +5127,20 @@ v5.styles = g`
5036
5127
  pointer-events: none;
5037
5128
  }
5038
5129
  @keyframes drawerIn {
5039
- from { transform: translateX(100%); }
5040
- to { transform: translateX(0); }
5130
+ from {
5131
+ transform: translateX(100%);
5132
+ }
5133
+ to {
5134
+ transform: translateX(0);
5135
+ }
5041
5136
  }
5042
5137
  @keyframes drawerOut {
5043
- from { transform: translateX(0); }
5044
- to { transform: translateX(100%); }
5138
+ from {
5139
+ transform: translateX(0);
5140
+ }
5141
+ to {
5142
+ transform: translateX(100%);
5143
+ }
5045
5144
  }
5046
5145
  /* Transparent backdrop — only rendered when dismiss-on-outside-click is set */
5047
5146
  .backdrop {
@@ -5058,14 +5157,18 @@ v5.styles = g`
5058
5157
  display: flex;
5059
5158
  flex-direction: column;
5060
5159
  background: #fff;
5061
- box-shadow: -8px 0 24px 0 rgba(29, 41, 57, 0.12), -2px 0 8px 0 rgba(29, 41, 57, 0.08);
5062
- animation: drawerIn ${P3}ms cubic-bezier(0.05, 0.7, 0.1, 1) forwards;
5160
+ box-shadow:
5161
+ -8px 0 24px 0 rgba(29, 41, 57, 0.12),
5162
+ -2px 0 8px 0 rgba(29, 41, 57, 0.08);
5163
+ animation: drawerIn ${P3}ms cubic-bezier(0.05, 0.7, 0.1, 1)
5164
+ forwards;
5063
5165
  min-width: 200px;
5064
5166
  max-width: 90vw;
5065
5167
  pointer-events: auto;
5066
5168
  }
5067
5169
  .drawer.is-leaving {
5068
- animation: drawerOut ${F5}ms cubic-bezier(0.3, 0, 0.8, 0.15) forwards;
5170
+ animation: drawerOut ${F5}ms
5171
+ cubic-bezier(0.3, 0, 0.8, 0.15) forwards;
5069
5172
  }
5070
5173
  @media (max-width: 640px) {
5071
5174
  .drawer {
@@ -5077,7 +5180,9 @@ v5.styles = g`
5077
5180
  max-width: 100%;
5078
5181
  min-width: unset;
5079
5182
  }
5080
- .resize-handle { display: none; }
5183
+ .resize-handle {
5184
+ display: none;
5185
+ }
5081
5186
  }
5082
5187
  .resize-handle {
5083
5188
  position: absolute;
@@ -5103,10 +5208,9 @@ v5.styles = g`
5103
5208
  .title {
5104
5209
  flex: 1;
5105
5210
  font-size: 16px;
5106
- font-weight: 590;
5211
+ font-weight: 600;
5107
5212
  line-height: 24px;
5108
- color: #323c4d;
5109
- letter-spacing: -0.2px;
5213
+ color: var(--color-gray-8, #323c4d);
5110
5214
  font-family: var(--font-sans);
5111
5215
  margin: 0;
5112
5216
  }
@@ -5114,7 +5218,8 @@ v5.styles = g`
5114
5218
  flex: 1;
5115
5219
  overflow-y: auto;
5116
5220
  min-height: 0;
5117
- padding: 16px;
5221
+
5222
+ color: var(--color-gray-8, #323c4d);
5118
5223
  }
5119
5224
  .footer {
5120
5225
  flex-shrink: 0;
@@ -5155,7 +5260,9 @@ customElements.get("anduin-drawer") || customElements.define("anduin-drawer", E)
5155
5260
  class D3 extends HTMLElement {
5156
5261
  constructor() {
5157
5262
  super(...arguments), this._onClick = () => {
5158
- this.dispatchEvent(new CustomEvent(V2, { bubbles: !0, composed: !0 }));
5263
+ this.dispatchEvent(
5264
+ new CustomEvent(V2, { bubbles: !0, composed: !0 })
5265
+ );
5159
5266
  };
5160
5267
  }
5161
5268
  connectedCallback() {