@kernel4632/kima 0.9.10 → 0.9.12

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.
@@ -0,0 +1 @@
1
+ @keyframes kima-ripple-glow-2f39bef8{0%{opacity:.14}55%{opacity:.1}to{opacity:0}}.kima-notification-enter-active[data-v-2f39bef8]{transition:opacity var(--kima-duration-medium) var(--kima-curve-emphasized), transform var(--kima-duration-medium) var(--kima-curve-emphasized)}.kima-notification-leave-active[data-v-2f39bef8]{pointer-events:none;transition:opacity var(--kima-duration-fast) var(--kima-curve-standard), transform var(--kima-duration-fast) var(--kima-curve-standard)}.kima-notification-enter-from[data-v-2f39bef8],.kima-notification-leave-to[data-v-2f39bef8]{opacity:0}.kima-notification--top-right.kima-notification-enter-from[data-v-2f39bef8],.kima-notification--top-right.kima-notification-leave-to[data-v-2f39bef8],.kima-notification--bottom-right.kima-notification-enter-from[data-v-2f39bef8],.kima-notification--bottom-right.kima-notification-leave-to[data-v-2f39bef8]{transform:translate(calc(100% + 24px))}.kima-notification--top-left.kima-notification-enter-from[data-v-2f39bef8],.kima-notification--top-left.kima-notification-leave-to[data-v-2f39bef8],.kima-notification--bottom-left.kima-notification-enter-from[data-v-2f39bef8],.kima-notification--bottom-left.kima-notification-leave-to[data-v-2f39bef8]{transform:translate(calc(-100% - 24px))}.kima-notification--slide-right.kima-notification-enter-from[data-v-2f39bef8],.kima-notification--slide-right.kima-notification-leave-to[data-v-2f39bef8]{transform:translate(calc(100% + 24px))}.kima-notification--slide-left.kima-notification-enter-from[data-v-2f39bef8],.kima-notification--slide-left.kima-notification-leave-to[data-v-2f39bef8]{transform:translate(calc(-100% - 24px))}.kima-notification--slide-up.kima-notification-enter-from[data-v-2f39bef8],.kima-notification--slide-up.kima-notification-leave-to[data-v-2f39bef8]{transform:translateY(calc(-100% - 24px))}.kima-notification--slide-down.kima-notification-enter-from[data-v-2f39bef8],.kima-notification--slide-down.kima-notification-leave-to[data-v-2f39bef8]{transform:translateY(calc(100% + 24px))}.kima-notification--top.kima-notification-enter-from[data-v-2f39bef8],.kima-notification--top-center.kima-notification-enter-from[data-v-2f39bef8],.kima-notification--top.kima-notification-leave-to[data-v-2f39bef8],.kima-notification--top-center.kima-notification-leave-to[data-v-2f39bef8]{transform:translate(-50%)translateY(calc(-100% - 24px))}.kima-notification--bottom.kima-notification-enter-from[data-v-2f39bef8],.kima-notification--bottom-center.kima-notification-enter-from[data-v-2f39bef8],.kima-notification--bottom.kima-notification-leave-to[data-v-2f39bef8],.kima-notification--bottom-center.kima-notification-leave-to[data-v-2f39bef8]{transform:translate(-50%)translateY(calc(100% + 24px))}.kima-notification[data-v-2f39bef8]{box-sizing:border-box;z-index:1100;align-items:flex-start;gap:var(--kima-space-3);width:min(420px,100vw - 32px);max-height:calc(100dvh - 32px);padding:var(--kima-space-4);border-radius:var(--kima-radius-l);color:var(--kima-color-on-surface);background:var(--kima-color-popup);box-shadow:var(--kima-elevation-4);font-family:var(--kima-font-family);border:0;display:flex;position:fixed;overflow:auto}.kima-notification--stacked[data-v-2f39bef8]{pointer-events:auto;width:100%;position:relative;inset:auto}.kima-notification__icon[data-v-2f39bef8]{width:24px;height:calc(var(--kima-font-size-md) * 1.3);opacity:.9;flex:none;justify-content:center;align-items:center;display:inline-flex}.kima-notification--top[data-v-2f39bef8],.kima-notification--top-center[data-v-2f39bef8],.kima-notification--top-left[data-v-2f39bef8],.kima-notification--top-right[data-v-2f39bef8]{top:var(--kima-space-4)}.kima-notification--bottom[data-v-2f39bef8],.kima-notification--bottom-center[data-v-2f39bef8],.kima-notification--bottom-left[data-v-2f39bef8],.kima-notification--bottom-right[data-v-2f39bef8]{bottom:var(--kima-space-4)}.kima-notification--top[data-v-2f39bef8],.kima-notification--bottom[data-v-2f39bef8],.kima-notification--top-center[data-v-2f39bef8],.kima-notification--bottom-center[data-v-2f39bef8]{left:50%;transform:translate(-50%)}.kima-notification--top-left[data-v-2f39bef8],.kima-notification--bottom-left[data-v-2f39bef8]{left:var(--kima-space-4)}.kima-notification--top-right[data-v-2f39bef8],.kima-notification--bottom-right[data-v-2f39bef8]{right:var(--kima-space-4)}.kima-notification--info[data-v-2f39bef8]{color:var(--kima-color-on-primary-container);background:var(--kima-color-primary-container)}.kima-notification--warning[data-v-2f39bef8]{color:var(--kima-color-on-warning);background:var(--kima-color-warning)}.kima-notification--success[data-v-2f39bef8]{color:var(--kima-color-on-success);background:var(--kima-color-success)}.kima-notification--danger[data-v-2f39bef8]{color:var(--kima-color-on-danger);background:var(--kima-color-danger)}.kima-notification__copy[data-v-2f39bef8]{gap:var(--kima-space-1);overflow-wrap:anywhere;flex-direction:column;flex:auto;min-width:0;display:flex}.kima-notification__title[data-v-2f39bef8]{font-size:var(--kima-font-size-md);font-weight:var(--kima-font-weight-bold);line-height:1.3}.kima-notification__message[data-v-2f39bef8]{font-size:var(--kima-font-size-sm);line-height:1.45}.kima-notification__action[data-v-2f39bef8]{margin-top:var(--kima-space-2);gap:var(--kima-space-2);flex-wrap:wrap;display:flex}.kima-notification__action[data-v-2f39bef8]:empty{display:none}.kima-notification__close[data-v-2f39bef8]{width:32px;height:32px;margin:calc((var(--kima-font-size-md) * 1.3 - 32px) / 2) calc(var(--kima-space-1) * -1) 0 0;border-radius:var(--kima-radius-full);color:inherit;background:var(--kima-color-transparent);cursor:pointer;border:0;flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex;position:relative}.kima-notification__close[data-v-2f39bef8]:after{content:"";z-index:1;border-radius:inherit;opacity:0;pointer-events:none;transition:opacity var(--kima-duration-effects) var(--kima-curve-standard);background:currentColor;position:absolute;inset:0}.kima-notification__close[data-v-2f39bef8]>*{z-index:2;position:relative}.kima-notification__close[data-v-2f39bef8]:hover:not(:disabled):not([aria-disabled=true]):after{opacity:var(--kima-state-hover)}.kima-notification__close[data-v-2f39bef8]:focus-visible:after{opacity:var(--kima-state-focus)}.kima-notification__close[data-v-2f39bef8]:active:not(:disabled):not([aria-disabled=true]):after{opacity:var(--kima-state-pressed)}.kima-notification__close[data-v-2f39bef8]:focus-visible{outline:var(--kima-focus-ring-width) solid var(--kima-color-primary);outline-offset:var(--kima-focus-ring-offset)}.kima-notification__close[data-v-2f39bef8]{position:relative;overflow:hidden}.kima-notification__close[data-v-2f39bef8] .kima-ripple{z-index:2;pointer-events:none;animation:kima-ripple-glow-2f39bef8 var(--kima-duration-slower) linear forwards;background:currentColor;position:absolute;inset:0}.kima-notification__close[data-v-2f39bef8]{transition:background-color var(--kima-duration-effects) var(--kima-curve-standard)}.kima-notification__close[data-v-2f39bef8]:hover{background:color-mix(in srgb, currentColor 12%, var(--kima-color-transparent))}@media (prefers-reduced-motion:reduce){.kima-notification__close[data-v-2f39bef8]{transition:none}.kima-notification-enter-active[data-v-2f39bef8],.kima-notification-leave-active[data-v-2f39bef8]{transition-duration:1ms}.kima-notification-enter-from[data-v-2f39bef8],.kima-notification-leave-to[data-v-2f39bef8]{transform:none}.kima-notification--top[data-v-2f39bef8],.kima-notification--top-center[data-v-2f39bef8],.kima-notification--bottom[data-v-2f39bef8],.kima-notification--bottom-center[data-v-2f39bef8]{transform:translate(-50%)}}@media (width<=600px){.kima-notification--top[data-v-2f39bef8],.kima-notification--top-left[data-v-2f39bef8],.kima-notification--top-center[data-v-2f39bef8],.kima-notification--top-right[data-v-2f39bef8]{top:var(--kima-space-3)}.kima-notification--bottom[data-v-2f39bef8],.kima-notification--bottom-left[data-v-2f39bef8],.kima-notification--bottom-center[data-v-2f39bef8],.kima-notification--bottom-right[data-v-2f39bef8]{bottom:var(--kima-space-3)}.kima-notification--top-left[data-v-2f39bef8],.kima-notification--bottom-left[data-v-2f39bef8]{left:var(--kima-space-3)}.kima-notification--top-right[data-v-2f39bef8],.kima-notification--bottom-right[data-v-2f39bef8]{right:var(--kima-space-3)}}
@@ -8958,13 +8958,13 @@ function Cm(e, t, { opacity: n = !0, collection: r = !1 } = {}) {
8958
8958
  c = 0;
8959
8959
  return;
8960
8960
  }
8961
- let r = t.ownerDocument.defaultView, o = t.getBoundingClientRect();
8962
- c = o.height > 0 ? o.height : 0, l = n ? Number(r.getComputedStyle(t).opacity) : 1, a && (d ??= {
8961
+ let o = t.ownerDocument.defaultView, s = t.getBoundingClientRect();
8962
+ c = s.height > 0 ? s.height : 0, l = n ? Number(o.getComputedStyle(t).opacity) : 1, a?.cancel(), a = void 0, (r || c > 0) && !hd(t) && t.animate && (d ??= {
8963
8963
  height: t.style.height,
8964
8964
  overflow: t.style.overflow,
8965
8965
  boxSizing: t.style.boxSizing,
8966
8966
  opacity: t.style.opacity
8967
- }, a.cancel(), a = void 0, t.style.height = `${c}px`, t.style.boxSizing = "border-box", t.style.overflow = i, n && (t.style.opacity = `${l}`), u = !0);
8967
+ }, t.style.height = `${c}px`, t.style.boxSizing = "border-box", t.style.overflow = i, n && (t.style.opacity = `${l}`), u = !0);
8968
8968
  }, {
8969
8969
  flush: "pre",
8970
8970
  deep: !0
@@ -50324,7 +50324,7 @@ var pW = "@keyframes kima-ripple-glow-597751c9{0%{opacity:.14}55%{opacity:.1}to{
50324
50324
  _: 3
50325
50325
  }, 8, ["open"])], 16));
50326
50326
  }
50327
- }), [["styles", [pW]], ["__scopeId", "data-v-597751c9"]]), yW = "@keyframes kima-ripple-glow-1c6f5605{0%{opacity:.14}55%{opacity:.1}to{opacity:0}}.kima-notification-enter-active[data-v-1c6f5605]{transition:opacity var(--kima-duration-medium) var(--kima-curve-emphasized), transform var(--kima-duration-medium) var(--kima-curve-emphasized)}.kima-notification-leave-active[data-v-1c6f5605]{pointer-events:none;transition:opacity var(--kima-duration-fast) var(--kima-curve-standard), transform var(--kima-duration-fast) var(--kima-curve-standard)}.kima-notification-enter-from[data-v-1c6f5605],.kima-notification-leave-to[data-v-1c6f5605]{opacity:0}.kima-notification--top-right.kima-notification-enter-from[data-v-1c6f5605],.kima-notification--top-right.kima-notification-leave-to[data-v-1c6f5605],.kima-notification--bottom-right.kima-notification-enter-from[data-v-1c6f5605],.kima-notification--bottom-right.kima-notification-leave-to[data-v-1c6f5605]{transform:translate(calc(100% + 24px))}.kima-notification--top-left.kima-notification-enter-from[data-v-1c6f5605],.kima-notification--top-left.kima-notification-leave-to[data-v-1c6f5605],.kima-notification--bottom-left.kima-notification-enter-from[data-v-1c6f5605],.kima-notification--bottom-left.kima-notification-leave-to[data-v-1c6f5605]{transform:translate(calc(-100% - 24px))}.kima-notification--slide-right.kima-notification-enter-from[data-v-1c6f5605],.kima-notification--slide-right.kima-notification-leave-to[data-v-1c6f5605]{transform:translate(calc(100% + 24px))}.kima-notification--slide-left.kima-notification-enter-from[data-v-1c6f5605],.kima-notification--slide-left.kima-notification-leave-to[data-v-1c6f5605]{transform:translate(calc(-100% - 24px))}.kima-notification--slide-up.kima-notification-enter-from[data-v-1c6f5605],.kima-notification--slide-up.kima-notification-leave-to[data-v-1c6f5605]{transform:translateY(calc(-100% - 24px))}.kima-notification--slide-down.kima-notification-enter-from[data-v-1c6f5605],.kima-notification--slide-down.kima-notification-leave-to[data-v-1c6f5605]{transform:translateY(calc(100% + 24px))}.kima-notification--top.kima-notification-enter-from[data-v-1c6f5605],.kima-notification--top-center.kima-notification-enter-from[data-v-1c6f5605],.kima-notification--top.kima-notification-leave-to[data-v-1c6f5605],.kima-notification--top-center.kima-notification-leave-to[data-v-1c6f5605]{transform:translate(-50%)translateY(calc(-100% - 24px))}.kima-notification--bottom.kima-notification-enter-from[data-v-1c6f5605],.kima-notification--bottom-center.kima-notification-enter-from[data-v-1c6f5605],.kima-notification--bottom.kima-notification-leave-to[data-v-1c6f5605],.kima-notification--bottom-center.kima-notification-leave-to[data-v-1c6f5605]{transform:translate(-50%)translateY(calc(100% + 24px))}.kima-notification[data-v-1c6f5605]{box-sizing:border-box;z-index:1100;align-items:flex-start;gap:var(--kima-space-3);width:min(420px,100vw - 32px);max-height:calc(100dvh - 32px);padding:var(--kima-space-4);border-radius:var(--kima-radius-l);color:var(--kima-color-on-surface);background:var(--kima-color-popup);box-shadow:var(--kima-elevation-4);font-family:var(--kima-font-family);border:0;display:flex;position:fixed;overflow:auto}.kima-notification--stacked[data-v-1c6f5605]{pointer-events:auto;width:100%;position:relative;inset:auto}.kima-notification__icon[data-v-1c6f5605]{width:24px;height:calc(var(--kima-font-size-md) * 1.3);opacity:.9;flex:none;justify-content:center;align-items:center;display:inline-flex}.kima-notification--top[data-v-1c6f5605],.kima-notification--top-center[data-v-1c6f5605],.kima-notification--top-left[data-v-1c6f5605],.kima-notification--top-right[data-v-1c6f5605]{top:var(--kima-space-4)}.kima-notification--bottom[data-v-1c6f5605],.kima-notification--bottom-center[data-v-1c6f5605],.kima-notification--bottom-left[data-v-1c6f5605],.kima-notification--bottom-right[data-v-1c6f5605]{bottom:var(--kima-space-4)}.kima-notification--top[data-v-1c6f5605],.kima-notification--bottom[data-v-1c6f5605],.kima-notification--top-center[data-v-1c6f5605],.kima-notification--bottom-center[data-v-1c6f5605]{left:50%;transform:translate(-50%)}.kima-notification--top-left[data-v-1c6f5605],.kima-notification--bottom-left[data-v-1c6f5605]{left:var(--kima-space-4)}.kima-notification--top-right[data-v-1c6f5605],.kima-notification--bottom-right[data-v-1c6f5605]{right:var(--kima-space-4)}.kima-notification--info[data-v-1c6f5605]{color:var(--kima-color-on-primary-container);background:var(--kima-color-primary-container)}.kima-notification--warning[data-v-1c6f5605]{color:var(--kima-color-on-warning);background:var(--kima-color-warning)}.kima-notification--success[data-v-1c6f5605]{color:var(--kima-color-on-success);background:var(--kima-color-success)}.kima-notification--danger[data-v-1c6f5605]{color:var(--kima-color-on-danger);background:var(--kima-color-danger)}.kima-notification__copy[data-v-1c6f5605]{gap:var(--kima-space-1);overflow-wrap:anywhere;flex-direction:column;flex:auto;min-width:0;display:flex}.kima-notification__title[data-v-1c6f5605]{font-size:var(--kima-font-size-md);font-weight:var(--kima-font-weight-bold);line-height:1.3}.kima-notification__message[data-v-1c6f5605]{font-size:var(--kima-font-size-sm);line-height:1.45}.kima-notification__action[data-v-1c6f5605]{margin-top:var(--kima-space-2);gap:var(--kima-space-2);flex-wrap:wrap;display:flex}.kima-notification__action[data-v-1c6f5605]:empty{display:none}.kima-notification__close[data-v-1c6f5605]{width:32px;height:32px;margin:calc((var(--kima-font-size-md) * 1.3 - 32px) / 2) calc(var(--kima-space-1) * -1) 0 0;border-radius:var(--kima-radius-full);color:inherit;background:var(--kima-color-transparent);cursor:pointer;border:0;flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex;position:relative}.kima-notification__close[data-v-1c6f5605]:after{content:\"\";z-index:1;border-radius:inherit;opacity:0;pointer-events:none;transition:opacity var(--kima-duration-effects) var(--kima-curve-standard);background:currentColor;position:absolute;inset:0}.kima-notification__close[data-v-1c6f5605]>*{z-index:2;position:relative}.kima-notification__close[data-v-1c6f5605]:hover:not(:disabled):not([aria-disabled=true]):after{opacity:var(--kima-state-hover)}.kima-notification__close[data-v-1c6f5605]:focus-visible:after{opacity:var(--kima-state-focus)}.kima-notification__close[data-v-1c6f5605]:active:not(:disabled):not([aria-disabled=true]):after{opacity:var(--kima-state-pressed)}.kima-notification__close[data-v-1c6f5605]:focus-visible{outline:var(--kima-focus-ring-width) solid var(--kima-color-primary);outline-offset:var(--kima-focus-ring-offset)}.kima-notification__close[data-v-1c6f5605]{position:relative;overflow:hidden}.kima-notification__close[data-v-1c6f5605] .kima-ripple{z-index:2;pointer-events:none;animation:kima-ripple-glow-1c6f5605 var(--kima-duration-slower) linear forwards;background:currentColor;position:absolute;inset:0}.kima-notification__close[data-v-1c6f5605]{transition:background-color var(--kima-duration-effects) var(--kima-curve-standard)}.kima-notification__close[data-v-1c6f5605]:hover{background:color-mix(in srgb, currentColor 12%, var(--kima-color-transparent))}@media (prefers-reduced-motion:reduce){.kima-notification__close[data-v-1c6f5605]{transition:none}.kima-notification-enter-active[data-v-1c6f5605],.kima-notification-leave-active[data-v-1c6f5605]{transition-duration:1ms}.kima-notification-enter-from[data-v-1c6f5605],.kima-notification-leave-to[data-v-1c6f5605]{transform:none}.kima-notification--top[data-v-1c6f5605],.kima-notification--top-center[data-v-1c6f5605],.kima-notification--bottom[data-v-1c6f5605],.kima-notification--bottom-center[data-v-1c6f5605]{transform:translate(-50%)}}@media (width<=600px){.kima-notification--top[data-v-1c6f5605],.kima-notification--top-left[data-v-1c6f5605],.kima-notification--top-center[data-v-1c6f5605],.kima-notification--top-right[data-v-1c6f5605]{top:var(--kima-space-3)}.kima-notification--bottom[data-v-1c6f5605],.kima-notification--bottom-left[data-v-1c6f5605],.kima-notification--bottom-center[data-v-1c6f5605],.kima-notification--bottom-right[data-v-1c6f5605]{bottom:var(--kima-space-3)}.kima-notification--top-left[data-v-1c6f5605],.kima-notification--bottom-left[data-v-1c6f5605]{left:var(--kima-space-3)}.kima-notification--top-right[data-v-1c6f5605],.kima-notification--bottom-right[data-v-1c6f5605]{right:var(--kima-space-3)}}", bW = [
50327
+ }), [["styles", [pW]], ["__scopeId", "data-v-597751c9"]]), yW = "@keyframes kima-ripple-glow-2f39bef8{0%{opacity:.14}55%{opacity:.1}to{opacity:0}}.kima-notification-enter-active[data-v-2f39bef8]{transition:opacity var(--kima-duration-medium) var(--kima-curve-emphasized), transform var(--kima-duration-medium) var(--kima-curve-emphasized)}.kima-notification-leave-active[data-v-2f39bef8]{pointer-events:none;transition:opacity var(--kima-duration-fast) var(--kima-curve-standard), transform var(--kima-duration-fast) var(--kima-curve-standard)}.kima-notification-enter-from[data-v-2f39bef8],.kima-notification-leave-to[data-v-2f39bef8]{opacity:0}.kima-notification--top-right.kima-notification-enter-from[data-v-2f39bef8],.kima-notification--top-right.kima-notification-leave-to[data-v-2f39bef8],.kima-notification--bottom-right.kima-notification-enter-from[data-v-2f39bef8],.kima-notification--bottom-right.kima-notification-leave-to[data-v-2f39bef8]{transform:translate(calc(100% + 24px))}.kima-notification--top-left.kima-notification-enter-from[data-v-2f39bef8],.kima-notification--top-left.kima-notification-leave-to[data-v-2f39bef8],.kima-notification--bottom-left.kima-notification-enter-from[data-v-2f39bef8],.kima-notification--bottom-left.kima-notification-leave-to[data-v-2f39bef8]{transform:translate(calc(-100% - 24px))}.kima-notification--slide-right.kima-notification-enter-from[data-v-2f39bef8],.kima-notification--slide-right.kima-notification-leave-to[data-v-2f39bef8]{transform:translate(calc(100% + 24px))}.kima-notification--slide-left.kima-notification-enter-from[data-v-2f39bef8],.kima-notification--slide-left.kima-notification-leave-to[data-v-2f39bef8]{transform:translate(calc(-100% - 24px))}.kima-notification--slide-up.kima-notification-enter-from[data-v-2f39bef8],.kima-notification--slide-up.kima-notification-leave-to[data-v-2f39bef8]{transform:translateY(calc(-100% - 24px))}.kima-notification--slide-down.kima-notification-enter-from[data-v-2f39bef8],.kima-notification--slide-down.kima-notification-leave-to[data-v-2f39bef8]{transform:translateY(calc(100% + 24px))}.kima-notification--top.kima-notification-enter-from[data-v-2f39bef8],.kima-notification--top-center.kima-notification-enter-from[data-v-2f39bef8],.kima-notification--top.kima-notification-leave-to[data-v-2f39bef8],.kima-notification--top-center.kima-notification-leave-to[data-v-2f39bef8]{transform:translate(-50%)translateY(calc(-100% - 24px))}.kima-notification--bottom.kima-notification-enter-from[data-v-2f39bef8],.kima-notification--bottom-center.kima-notification-enter-from[data-v-2f39bef8],.kima-notification--bottom.kima-notification-leave-to[data-v-2f39bef8],.kima-notification--bottom-center.kima-notification-leave-to[data-v-2f39bef8]{transform:translate(-50%)translateY(calc(100% + 24px))}.kima-notification[data-v-2f39bef8]{box-sizing:border-box;z-index:1100;align-items:flex-start;gap:var(--kima-space-3);width:min(420px,100vw - 32px);max-height:calc(100dvh - 32px);padding:var(--kima-space-4);border-radius:var(--kima-radius-l);color:var(--kima-color-on-surface);background:var(--kima-color-popup);box-shadow:var(--kima-elevation-4);font-family:var(--kima-font-family);border:0;display:flex;position:fixed;overflow:auto}.kima-notification--stacked[data-v-2f39bef8]{pointer-events:auto;width:100%;position:relative;inset:auto}.kima-notification__icon[data-v-2f39bef8]{width:24px;height:calc(var(--kima-font-size-md) * 1.3);opacity:.9;flex:none;justify-content:center;align-items:center;display:inline-flex}.kima-notification--top[data-v-2f39bef8],.kima-notification--top-center[data-v-2f39bef8],.kima-notification--top-left[data-v-2f39bef8],.kima-notification--top-right[data-v-2f39bef8]{top:var(--kima-space-4)}.kima-notification--bottom[data-v-2f39bef8],.kima-notification--bottom-center[data-v-2f39bef8],.kima-notification--bottom-left[data-v-2f39bef8],.kima-notification--bottom-right[data-v-2f39bef8]{bottom:var(--kima-space-4)}.kima-notification--top[data-v-2f39bef8],.kima-notification--bottom[data-v-2f39bef8],.kima-notification--top-center[data-v-2f39bef8],.kima-notification--bottom-center[data-v-2f39bef8]{left:50%;transform:translate(-50%)}.kima-notification--top-left[data-v-2f39bef8],.kima-notification--bottom-left[data-v-2f39bef8]{left:var(--kima-space-4)}.kima-notification--top-right[data-v-2f39bef8],.kima-notification--bottom-right[data-v-2f39bef8]{right:var(--kima-space-4)}.kima-notification--info[data-v-2f39bef8]{color:var(--kima-color-on-primary-container);background:var(--kima-color-primary-container)}.kima-notification--warning[data-v-2f39bef8]{color:var(--kima-color-on-warning);background:var(--kima-color-warning)}.kima-notification--success[data-v-2f39bef8]{color:var(--kima-color-on-success);background:var(--kima-color-success)}.kima-notification--danger[data-v-2f39bef8]{color:var(--kima-color-on-danger);background:var(--kima-color-danger)}.kima-notification__copy[data-v-2f39bef8]{gap:var(--kima-space-1);overflow-wrap:anywhere;flex-direction:column;flex:auto;min-width:0;display:flex}.kima-notification__title[data-v-2f39bef8]{font-size:var(--kima-font-size-md);font-weight:var(--kima-font-weight-bold);line-height:1.3}.kima-notification__message[data-v-2f39bef8]{font-size:var(--kima-font-size-sm);line-height:1.45}.kima-notification__action[data-v-2f39bef8]{margin-top:var(--kima-space-2);gap:var(--kima-space-2);flex-wrap:wrap;display:flex}.kima-notification__action[data-v-2f39bef8]:empty{display:none}.kima-notification__close[data-v-2f39bef8]{width:32px;height:32px;margin:calc((var(--kima-font-size-md) * 1.3 - 32px) / 2) calc(var(--kima-space-1) * -1) 0 0;border-radius:var(--kima-radius-full);color:inherit;background:var(--kima-color-transparent);cursor:pointer;border:0;flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex;position:relative}.kima-notification__close[data-v-2f39bef8]:after{content:\"\";z-index:1;border-radius:inherit;opacity:0;pointer-events:none;transition:opacity var(--kima-duration-effects) var(--kima-curve-standard);background:currentColor;position:absolute;inset:0}.kima-notification__close[data-v-2f39bef8]>*{z-index:2;position:relative}.kima-notification__close[data-v-2f39bef8]:hover:not(:disabled):not([aria-disabled=true]):after{opacity:var(--kima-state-hover)}.kima-notification__close[data-v-2f39bef8]:focus-visible:after{opacity:var(--kima-state-focus)}.kima-notification__close[data-v-2f39bef8]:active:not(:disabled):not([aria-disabled=true]):after{opacity:var(--kima-state-pressed)}.kima-notification__close[data-v-2f39bef8]:focus-visible{outline:var(--kima-focus-ring-width) solid var(--kima-color-primary);outline-offset:var(--kima-focus-ring-offset)}.kima-notification__close[data-v-2f39bef8]{position:relative;overflow:hidden}.kima-notification__close[data-v-2f39bef8] .kima-ripple{z-index:2;pointer-events:none;animation:kima-ripple-glow-2f39bef8 var(--kima-duration-slower) linear forwards;background:currentColor;position:absolute;inset:0}.kima-notification__close[data-v-2f39bef8]{transition:background-color var(--kima-duration-effects) var(--kima-curve-standard)}.kima-notification__close[data-v-2f39bef8]:hover{background:color-mix(in srgb, currentColor 12%, var(--kima-color-transparent))}@media (prefers-reduced-motion:reduce){.kima-notification__close[data-v-2f39bef8]{transition:none}.kima-notification-enter-active[data-v-2f39bef8],.kima-notification-leave-active[data-v-2f39bef8]{transition-duration:1ms}.kima-notification-enter-from[data-v-2f39bef8],.kima-notification-leave-to[data-v-2f39bef8]{transform:none}.kima-notification--top[data-v-2f39bef8],.kima-notification--top-center[data-v-2f39bef8],.kima-notification--bottom[data-v-2f39bef8],.kima-notification--bottom-center[data-v-2f39bef8]{transform:translate(-50%)}}@media (width<=600px){.kima-notification--top[data-v-2f39bef8],.kima-notification--top-left[data-v-2f39bef8],.kima-notification--top-center[data-v-2f39bef8],.kima-notification--top-right[data-v-2f39bef8]{top:var(--kima-space-3)}.kima-notification--bottom[data-v-2f39bef8],.kima-notification--bottom-left[data-v-2f39bef8],.kima-notification--bottom-center[data-v-2f39bef8],.kima-notification--bottom-right[data-v-2f39bef8]{bottom:var(--kima-space-3)}.kima-notification--top-left[data-v-2f39bef8],.kima-notification--bottom-left[data-v-2f39bef8]{left:var(--kima-space-3)}.kima-notification--top-right[data-v-2f39bef8],.kima-notification--bottom-right[data-v-2f39bef8]{right:var(--kima-space-3)}}", bW = [
50328
50328
  "role",
50329
50329
  "aria-live",
50330
50330
  "aria-labelledby",
@@ -50382,13 +50382,19 @@ var pW = "@keyframes kima-ripple-glow-597751c9{0%{opacity:.14}55%{opacity:.1}to{
50382
50382
  },
50383
50383
  emits: ["update:open", "close"],
50384
50384
  setup(e, { emit: t }) {
50385
- let n = e, r = t, i = Oa(), a = js().ce ? Sl() : null, o = /* @__PURE__ */ F(n.open), s = ni(), c = `kima-notification-${s}-title`, l = `kima-notification-${s}-message`, u = null, d = !1, f = 0, p = 0, m = !1, h = !1, g = X(() => [
50385
+ let n = e, r = t, i = Oa(), a = js().ce ? Sl() : null, o = /* @__PURE__ */ F(n.open), s = ni(), c = `kima-notification-${s}-title`, l = `kima-notification-${s}-message`, u = null, d = /* @__PURE__ */ F(null);
50386
+ Cm(d, () => [
50387
+ n.heading,
50388
+ n.message,
50389
+ n.variant
50390
+ ], { opacity: !1 });
50391
+ let f = !1, p = 0, m = 0, h = !1, g = !1, _ = X(() => [
50386
50392
  "neutral",
50387
50393
  "info",
50388
50394
  "success",
50389
50395
  "warning",
50390
50396
  "danger"
50391
- ].includes(n.variant) ? n.variant : "neutral"), _ = X(() => [
50397
+ ].includes(n.variant) ? n.variant : "neutral"), v = X(() => [
50392
50398
  "top",
50393
50399
  "top-left",
50394
50400
  "top-center",
@@ -50397,71 +50403,75 @@ var pW = "@keyframes kima-ripple-glow-597751c9{0%{opacity:.14}55%{opacity:.1}to{
50397
50403
  "bottom-left",
50398
50404
  "bottom-center",
50399
50405
  "bottom-right"
50400
- ].includes(n.position) ? n.position : "top-right"), v = X(() => ["warning", "danger"].includes(g.value) ? "alert" : "status"), y = X(() => v.value === "alert" ? "assertive" : "polite"), b = X(() => Number.isFinite(n.duration) ? Math.max(0, n.duration) : 0), x = {
50406
+ ].includes(n.position) ? n.position : "top-right"), y = X(() => ["warning", "danger"].includes(_.value) ? "alert" : "status"), b = X(() => y.value === "alert" ? "assertive" : "polite"), x = X(() => Number.isFinite(n.duration) ? Math.max(0, n.duration) : 0), S = {
50401
50407
  info: Iu,
50402
50408
  success: Pu,
50403
50409
  warning: Tu,
50404
50410
  danger: Eu
50405
- }, S = X(() => n.icon ?? x[g.value] ?? null), C = X(() => [
50411
+ }, C = X(() => n.icon ?? S[_.value] ?? null), w = X(() => [
50406
50412
  "right",
50407
50413
  "left",
50408
50414
  "up",
50409
50415
  "down"
50410
- ].includes(n.slide) ? n.slide : _.value.includes("right") ? "right" : _.value.includes("left") ? "left" : _.value.startsWith("bottom") ? "down" : "up");
50411
- function w() {
50416
+ ].includes(n.slide) ? n.slide : v.value.includes("right") ? "right" : v.value.includes("left") ? "left" : v.value.startsWith("bottom") ? "down" : "up");
50417
+ function T() {
50412
50418
  u !== null && (clearTimeout(u), u = null);
50413
50419
  }
50414
- function T(e = "close") {
50415
- o.value && (w(), o.value = !1, r("update:open", !1), r("close", e));
50416
- }
50417
- function E() {
50418
- w(), d && o.value && b.value !== 0 && !m && !h && (p = Date.now(), u = setTimeout(() => {
50419
- u = null, T("timeout");
50420
- }, f));
50420
+ function E(e = "close") {
50421
+ o.value && (T(), o.value = !1, r("update:open", !1), r("close", e));
50421
50422
  }
50422
50423
  function D() {
50423
- u !== null && (f = Math.max(0, f - (Date.now() - p)), w());
50424
+ T(), f && o.value && x.value !== 0 && !h && !g && (m = Date.now(), u = setTimeout(() => {
50425
+ u = null, E("timeout");
50426
+ }, p));
50424
50427
  }
50425
- function O(e) {
50426
- m = e, e ? D() : E();
50428
+ function O() {
50429
+ u !== null && (p = Math.max(0, p - (Date.now() - m)), T());
50427
50430
  }
50428
50431
  function k(e) {
50429
- h = e.type === "focusin" || e.currentTarget.contains(e.relatedTarget), h ? D() : E();
50432
+ h = e, e ? O() : D();
50433
+ }
50434
+ function ee(e) {
50435
+ g = e.type === "focusin" || e.currentTarget.contains(e.relatedTarget), g ? O() : D();
50430
50436
  }
50431
50437
  return z(() => n.open, (e) => {
50432
50438
  o.value = e;
50433
- }), z([o, b], ([e]) => {
50434
- f = b.value, e ? E() : (w(), m = !1, h = !1);
50439
+ }), z([o, x], ([e]) => {
50440
+ p = x.value, e ? D() : (T(), h = !1, g = !1);
50435
50441
  }, { immediate: !0 }), Ji(() => {
50436
- d = !0, f = b.value, E();
50442
+ f = !0, p = x.value, D();
50437
50443
  }), Zi(() => {
50438
- d = !1, w();
50444
+ f = !1, T();
50439
50445
  }), (t, n) => (H(), W(bc, Y({
50440
50446
  name: "kima-notification",
50441
50447
  css: !e.stacked
50442
50448
  }, I(yd)), {
50443
- default: R(() => [e.stacked || o.value ? (H(), U("div", Y({ key: 0 }, {
50449
+ default: R(() => [e.stacked || o.value ? (H(), U("div", Y({
50450
+ key: 0,
50451
+ ref_key: "notificationRoot",
50452
+ ref: d
50453
+ }, {
50444
50454
  ...I(i),
50445
50455
  id: I(a) ? void 0 : I(i).id,
50446
50456
  title: void 0
50447
50457
  }, {
50448
50458
  class: ["kima-notification", [
50449
- `kima-notification--${g.value}`,
50459
+ `kima-notification--${_.value}`,
50450
50460
  { "kima-notification--stacked": e.stacked },
50451
- e.stacked ? `kima-notification--slide-${C.value}` : `kima-notification--${_.value}`
50461
+ e.stacked ? `kima-notification--slide-${w.value}` : `kima-notification--${v.value}`
50452
50462
  ]],
50453
- role: v.value,
50454
- "aria-live": y.value,
50463
+ role: y.value,
50464
+ "aria-live": b.value,
50455
50465
  "aria-atomic": "true",
50456
50466
  "aria-labelledby": e.heading || I(i).title ? c : void 0,
50457
50467
  "aria-describedby": e.message ? l : void 0,
50458
- onMouseenter: n[1] ||= (e) => O(!0),
50459
- onMouseleave: n[2] ||= (e) => O(!1),
50460
- onFocusin: k,
50461
- onFocusout: k
50468
+ onMouseenter: n[1] ||= (e) => k(!0),
50469
+ onMouseleave: n[2] ||= (e) => k(!1),
50470
+ onFocusin: ee,
50471
+ onFocusout: ee
50462
50472
  }), [
50463
- S.value ? (H(), U("span", xW, [K(td, {
50464
- icon: S.value,
50473
+ C.value ? (H(), U("span", xW, [K(td, {
50474
+ icon: C.value,
50465
50475
  size: 22
50466
50476
  }, null, 8, ["icon"])])) : J("", !0),
50467
50477
  G("div", SW, [
@@ -50483,7 +50493,7 @@ var pW = "@keyframes kima-ripple-glow-597751c9{0%{opacity:.14}55%{opacity:.1}to{
50483
50493
  type: "button",
50484
50494
  "aria-label": "关闭通知",
50485
50495
  title: "关闭通知",
50486
- onClick: n[0] ||= (e) => T("button")
50496
+ onClick: n[0] ||= (e) => E("button")
50487
50497
  }, [K(td, {
50488
50498
  icon: I(Nu),
50489
50499
  size: 18,
@@ -50493,7 +50503,7 @@ var pW = "@keyframes kima-ripple-glow-597751c9{0%{opacity:.14}55%{opacity:.1}to{
50493
50503
  _: 3
50494
50504
  }, 16, ["css"]));
50495
50505
  }
50496
- }), [["styles", [yW]], ["__scopeId", "data-v-1c6f5605"]]), TW = "@keyframes kima-ripple-glow-9eb508b4{0%{opacity:.14}55%{opacity:.1}to{opacity:0}}.kima-number-field[data-v-9eb508b4]{box-sizing:border-box;color:var(--kima-color-on-surface);font-family:var(--kima-font-family);font-size:var(--kima-font-size-body-large);font-weight:var(--kima-font-weight-semi-bold)}.kima-number-field[aria-disabled=true][data-v-9eb508b4]{opacity:var(--kima-opacity-disabled)}.kima-number-field[data-v-9eb508b4]{background:var(--kima-color-layer-2);border:0;position:relative}.kima-number-field[data-v-9eb508b4]:after{content:\"\";z-index:1;border-radius:inherit;opacity:0;pointer-events:none;transition:opacity var(--kima-duration-effects) var(--kima-curve-standard);background:currentColor;position:absolute;inset:0}.kima-number-field[data-v-9eb508b4]>*{z-index:2;position:relative}.kima-number-field[data-v-9eb508b4]:hover:not(:disabled):not([aria-disabled=true]):after{opacity:var(--kima-state-hover)}.kima-number-field[data-v-9eb508b4]:focus-visible:after{opacity:var(--kima-state-focus)}.kima-number-field[data-v-9eb508b4]:active:not(:disabled):not([aria-disabled=true]):after{opacity:var(--kima-state-pressed)}.kima-number-field[data-v-9eb508b4]{position:relative;overflow:hidden}.kima-number-field[data-v-9eb508b4] .kima-ripple{z-index:2;pointer-events:none;animation:kima-ripple-glow-9eb508b4 var(--kima-duration-slower) linear forwards;background:currentColor;position:absolute;inset:0}.kima-number-field[data-v-9eb508b4]{border-radius:var(--kima-radius-m);transition:background-color var(--kima-duration-effects) var(--kima-curve-standard), box-shadow var(--kima-duration-effects) var(--kima-curve-standard)}.kima-number-field[data-v-9eb508b4]:focus-within{background:var(--kima-color-layer-3);box-shadow:inset 0 0 0 var(--kima-outline-width-focused) var(--kima-color-primary)}.kima-number-field[data-v-9eb508b4]{transition:color var(--kima-duration-effects) var(--kima-curve-standard), background-color var(--kima-duration-effects) var(--kima-curve-standard), border-color var(--kima-duration-effects) var(--kima-curve-standard), box-shadow var(--kima-duration-effects) var(--kima-curve-standard), opacity var(--kima-duration-effects) var(--kima-curve-standard);align-items:center;gap:var(--kima-space-1);padding:0 var(--kima-space-1);display:flex}.kima-number-field input[data-v-9eb508b4]{box-sizing:border-box;min-width:0;min-height:var(--kima-field-height);padding:var(--kima-space-3) var(--kima-field-padding);border-radius:inherit;color:inherit;background:var(--kima-color-transparent);font:inherit;border:0;outline:0}.kima-number-field input[data-v-9eb508b4]::placeholder{color:var(--kima-color-on-surface-variant)}.kima-number-field input[data-v-9eb508b4]:disabled{cursor:not-allowed}.kima-number-field input[data-v-9eb508b4]{text-align:center;appearance:textfield;flex:1;width:100%}.kima-number-field input[data-v-9eb508b4]::-webkit-inner-spin-button{appearance:none}", EW = ["aria-disabled"], DW = [
50506
+ }), [["styles", [yW]], ["__scopeId", "data-v-2f39bef8"]]), TW = "@keyframes kima-ripple-glow-9eb508b4{0%{opacity:.14}55%{opacity:.1}to{opacity:0}}.kima-number-field[data-v-9eb508b4]{box-sizing:border-box;color:var(--kima-color-on-surface);font-family:var(--kima-font-family);font-size:var(--kima-font-size-body-large);font-weight:var(--kima-font-weight-semi-bold)}.kima-number-field[aria-disabled=true][data-v-9eb508b4]{opacity:var(--kima-opacity-disabled)}.kima-number-field[data-v-9eb508b4]{background:var(--kima-color-layer-2);border:0;position:relative}.kima-number-field[data-v-9eb508b4]:after{content:\"\";z-index:1;border-radius:inherit;opacity:0;pointer-events:none;transition:opacity var(--kima-duration-effects) var(--kima-curve-standard);background:currentColor;position:absolute;inset:0}.kima-number-field[data-v-9eb508b4]>*{z-index:2;position:relative}.kima-number-field[data-v-9eb508b4]:hover:not(:disabled):not([aria-disabled=true]):after{opacity:var(--kima-state-hover)}.kima-number-field[data-v-9eb508b4]:focus-visible:after{opacity:var(--kima-state-focus)}.kima-number-field[data-v-9eb508b4]:active:not(:disabled):not([aria-disabled=true]):after{opacity:var(--kima-state-pressed)}.kima-number-field[data-v-9eb508b4]{position:relative;overflow:hidden}.kima-number-field[data-v-9eb508b4] .kima-ripple{z-index:2;pointer-events:none;animation:kima-ripple-glow-9eb508b4 var(--kima-duration-slower) linear forwards;background:currentColor;position:absolute;inset:0}.kima-number-field[data-v-9eb508b4]{border-radius:var(--kima-radius-m);transition:background-color var(--kima-duration-effects) var(--kima-curve-standard), box-shadow var(--kima-duration-effects) var(--kima-curve-standard)}.kima-number-field[data-v-9eb508b4]:focus-within{background:var(--kima-color-layer-3);box-shadow:inset 0 0 0 var(--kima-outline-width-focused) var(--kima-color-primary)}.kima-number-field[data-v-9eb508b4]{transition:color var(--kima-duration-effects) var(--kima-curve-standard), background-color var(--kima-duration-effects) var(--kima-curve-standard), border-color var(--kima-duration-effects) var(--kima-curve-standard), box-shadow var(--kima-duration-effects) var(--kima-curve-standard), opacity var(--kima-duration-effects) var(--kima-curve-standard);align-items:center;gap:var(--kima-space-1);padding:0 var(--kima-space-1);display:flex}.kima-number-field input[data-v-9eb508b4]{box-sizing:border-box;min-width:0;min-height:var(--kima-field-height);padding:var(--kima-space-3) var(--kima-field-padding);border-radius:inherit;color:inherit;background:var(--kima-color-transparent);font:inherit;border:0;outline:0}.kima-number-field input[data-v-9eb508b4]::placeholder{color:var(--kima-color-on-surface-variant)}.kima-number-field input[data-v-9eb508b4]:disabled{cursor:not-allowed}.kima-number-field input[data-v-9eb508b4]{text-align:center;appearance:textfield;flex:1;width:100%}.kima-number-field input[data-v-9eb508b4]::-webkit-inner-spin-button{appearance:none}", EW = ["aria-disabled"], DW = [
50497
50507
  "aria-label",
50498
50508
  "name",
50499
50509
  "value",
@@ -5164,13 +5164,13 @@ function pl(e, t, { opacity: n = !0, collection: r = !1 } = {}) {
5164
5164
  c = 0;
5165
5165
  return;
5166
5166
  }
5167
- let r = t.ownerDocument.defaultView, o = t.getBoundingClientRect();
5168
- c = o.height > 0 ? o.height : 0, l = n ? Number(r.getComputedStyle(t).opacity) : 1, a && (d ??= {
5167
+ let o = t.ownerDocument.defaultView, s = t.getBoundingClientRect();
5168
+ c = s.height > 0 ? s.height : 0, l = n ? Number(o.getComputedStyle(t).opacity) : 1, a?.cancel(), a = void 0, (r || c > 0) && !$c(t) && t.animate && (d ??= {
5169
5169
  height: t.style.height,
5170
5170
  overflow: t.style.overflow,
5171
5171
  boxSizing: t.style.boxSizing,
5172
5172
  opacity: t.style.opacity
5173
- }, a.cancel(), a = void 0, t.style.height = `${c}px`, t.style.boxSizing = "border-box", t.style.overflow = i, n && (t.style.opacity = `${l}`), u = !0);
5173
+ }, t.style.height = `${c}px`, t.style.boxSizing = "border-box", t.style.overflow = i, n && (t.style.opacity = `${l}`), u = !0);
5174
5174
  }, {
5175
5175
  flush: "pre",
5176
5176
  deep: !0
@@ -111083,7 +111083,7 @@ var qje = "@keyframes kima-ripple-glow-597751c9{0%{opacity:.14}55%{opacity:.1}to
111083
111083
  _: 3
111084
111084
  }, 8, ["open"])], 16));
111085
111085
  }
111086
- }), [["styles", [qje]], ["__scopeId", "data-v-597751c9"]]), $je = "@keyframes kima-ripple-glow-1c6f5605{0%{opacity:.14}55%{opacity:.1}to{opacity:0}}.kima-notification-enter-active[data-v-1c6f5605]{transition:opacity var(--kima-duration-medium) var(--kima-curve-emphasized), transform var(--kima-duration-medium) var(--kima-curve-emphasized)}.kima-notification-leave-active[data-v-1c6f5605]{pointer-events:none;transition:opacity var(--kima-duration-fast) var(--kima-curve-standard), transform var(--kima-duration-fast) var(--kima-curve-standard)}.kima-notification-enter-from[data-v-1c6f5605],.kima-notification-leave-to[data-v-1c6f5605]{opacity:0}.kima-notification--top-right.kima-notification-enter-from[data-v-1c6f5605],.kima-notification--top-right.kima-notification-leave-to[data-v-1c6f5605],.kima-notification--bottom-right.kima-notification-enter-from[data-v-1c6f5605],.kima-notification--bottom-right.kima-notification-leave-to[data-v-1c6f5605]{transform:translate(calc(100% + 24px))}.kima-notification--top-left.kima-notification-enter-from[data-v-1c6f5605],.kima-notification--top-left.kima-notification-leave-to[data-v-1c6f5605],.kima-notification--bottom-left.kima-notification-enter-from[data-v-1c6f5605],.kima-notification--bottom-left.kima-notification-leave-to[data-v-1c6f5605]{transform:translate(calc(-100% - 24px))}.kima-notification--slide-right.kima-notification-enter-from[data-v-1c6f5605],.kima-notification--slide-right.kima-notification-leave-to[data-v-1c6f5605]{transform:translate(calc(100% + 24px))}.kima-notification--slide-left.kima-notification-enter-from[data-v-1c6f5605],.kima-notification--slide-left.kima-notification-leave-to[data-v-1c6f5605]{transform:translate(calc(-100% - 24px))}.kima-notification--slide-up.kima-notification-enter-from[data-v-1c6f5605],.kima-notification--slide-up.kima-notification-leave-to[data-v-1c6f5605]{transform:translateY(calc(-100% - 24px))}.kima-notification--slide-down.kima-notification-enter-from[data-v-1c6f5605],.kima-notification--slide-down.kima-notification-leave-to[data-v-1c6f5605]{transform:translateY(calc(100% + 24px))}.kima-notification--top.kima-notification-enter-from[data-v-1c6f5605],.kima-notification--top-center.kima-notification-enter-from[data-v-1c6f5605],.kima-notification--top.kima-notification-leave-to[data-v-1c6f5605],.kima-notification--top-center.kima-notification-leave-to[data-v-1c6f5605]{transform:translate(-50%)translateY(calc(-100% - 24px))}.kima-notification--bottom.kima-notification-enter-from[data-v-1c6f5605],.kima-notification--bottom-center.kima-notification-enter-from[data-v-1c6f5605],.kima-notification--bottom.kima-notification-leave-to[data-v-1c6f5605],.kima-notification--bottom-center.kima-notification-leave-to[data-v-1c6f5605]{transform:translate(-50%)translateY(calc(100% + 24px))}.kima-notification[data-v-1c6f5605]{box-sizing:border-box;z-index:1100;align-items:flex-start;gap:var(--kima-space-3);width:min(420px,100vw - 32px);max-height:calc(100dvh - 32px);padding:var(--kima-space-4);border-radius:var(--kima-radius-l);color:var(--kima-color-on-surface);background:var(--kima-color-popup);box-shadow:var(--kima-elevation-4);font-family:var(--kima-font-family);border:0;display:flex;position:fixed;overflow:auto}.kima-notification--stacked[data-v-1c6f5605]{pointer-events:auto;width:100%;position:relative;inset:auto}.kima-notification__icon[data-v-1c6f5605]{width:24px;height:calc(var(--kima-font-size-md) * 1.3);opacity:.9;flex:none;justify-content:center;align-items:center;display:inline-flex}.kima-notification--top[data-v-1c6f5605],.kima-notification--top-center[data-v-1c6f5605],.kima-notification--top-left[data-v-1c6f5605],.kima-notification--top-right[data-v-1c6f5605]{top:var(--kima-space-4)}.kima-notification--bottom[data-v-1c6f5605],.kima-notification--bottom-center[data-v-1c6f5605],.kima-notification--bottom-left[data-v-1c6f5605],.kima-notification--bottom-right[data-v-1c6f5605]{bottom:var(--kima-space-4)}.kima-notification--top[data-v-1c6f5605],.kima-notification--bottom[data-v-1c6f5605],.kima-notification--top-center[data-v-1c6f5605],.kima-notification--bottom-center[data-v-1c6f5605]{left:50%;transform:translate(-50%)}.kima-notification--top-left[data-v-1c6f5605],.kima-notification--bottom-left[data-v-1c6f5605]{left:var(--kima-space-4)}.kima-notification--top-right[data-v-1c6f5605],.kima-notification--bottom-right[data-v-1c6f5605]{right:var(--kima-space-4)}.kima-notification--info[data-v-1c6f5605]{color:var(--kima-color-on-primary-container);background:var(--kima-color-primary-container)}.kima-notification--warning[data-v-1c6f5605]{color:var(--kima-color-on-warning);background:var(--kima-color-warning)}.kima-notification--success[data-v-1c6f5605]{color:var(--kima-color-on-success);background:var(--kima-color-success)}.kima-notification--danger[data-v-1c6f5605]{color:var(--kima-color-on-danger);background:var(--kima-color-danger)}.kima-notification__copy[data-v-1c6f5605]{gap:var(--kima-space-1);overflow-wrap:anywhere;flex-direction:column;flex:auto;min-width:0;display:flex}.kima-notification__title[data-v-1c6f5605]{font-size:var(--kima-font-size-md);font-weight:var(--kima-font-weight-bold);line-height:1.3}.kima-notification__message[data-v-1c6f5605]{font-size:var(--kima-font-size-sm);line-height:1.45}.kima-notification__action[data-v-1c6f5605]{margin-top:var(--kima-space-2);gap:var(--kima-space-2);flex-wrap:wrap;display:flex}.kima-notification__action[data-v-1c6f5605]:empty{display:none}.kima-notification__close[data-v-1c6f5605]{width:32px;height:32px;margin:calc((var(--kima-font-size-md) * 1.3 - 32px) / 2) calc(var(--kima-space-1) * -1) 0 0;border-radius:var(--kima-radius-full);color:inherit;background:var(--kima-color-transparent);cursor:pointer;border:0;flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex;position:relative}.kima-notification__close[data-v-1c6f5605]:after{content:\"\";z-index:1;border-radius:inherit;opacity:0;pointer-events:none;transition:opacity var(--kima-duration-effects) var(--kima-curve-standard);background:currentColor;position:absolute;inset:0}.kima-notification__close[data-v-1c6f5605]>*{z-index:2;position:relative}.kima-notification__close[data-v-1c6f5605]:hover:not(:disabled):not([aria-disabled=true]):after{opacity:var(--kima-state-hover)}.kima-notification__close[data-v-1c6f5605]:focus-visible:after{opacity:var(--kima-state-focus)}.kima-notification__close[data-v-1c6f5605]:active:not(:disabled):not([aria-disabled=true]):after{opacity:var(--kima-state-pressed)}.kima-notification__close[data-v-1c6f5605]:focus-visible{outline:var(--kima-focus-ring-width) solid var(--kima-color-primary);outline-offset:var(--kima-focus-ring-offset)}.kima-notification__close[data-v-1c6f5605]{position:relative;overflow:hidden}.kima-notification__close[data-v-1c6f5605] .kima-ripple{z-index:2;pointer-events:none;animation:kima-ripple-glow-1c6f5605 var(--kima-duration-slower) linear forwards;background:currentColor;position:absolute;inset:0}.kima-notification__close[data-v-1c6f5605]{transition:background-color var(--kima-duration-effects) var(--kima-curve-standard)}.kima-notification__close[data-v-1c6f5605]:hover{background:color-mix(in srgb, currentColor 12%, var(--kima-color-transparent))}@media (prefers-reduced-motion:reduce){.kima-notification__close[data-v-1c6f5605]{transition:none}.kima-notification-enter-active[data-v-1c6f5605],.kima-notification-leave-active[data-v-1c6f5605]{transition-duration:1ms}.kima-notification-enter-from[data-v-1c6f5605],.kima-notification-leave-to[data-v-1c6f5605]{transform:none}.kima-notification--top[data-v-1c6f5605],.kima-notification--top-center[data-v-1c6f5605],.kima-notification--bottom[data-v-1c6f5605],.kima-notification--bottom-center[data-v-1c6f5605]{transform:translate(-50%)}}@media (width<=600px){.kima-notification--top[data-v-1c6f5605],.kima-notification--top-left[data-v-1c6f5605],.kima-notification--top-center[data-v-1c6f5605],.kima-notification--top-right[data-v-1c6f5605]{top:var(--kima-space-3)}.kima-notification--bottom[data-v-1c6f5605],.kima-notification--bottom-left[data-v-1c6f5605],.kima-notification--bottom-center[data-v-1c6f5605],.kima-notification--bottom-right[data-v-1c6f5605]{bottom:var(--kima-space-3)}.kima-notification--top-left[data-v-1c6f5605],.kima-notification--bottom-left[data-v-1c6f5605]{left:var(--kima-space-3)}.kima-notification--top-right[data-v-1c6f5605],.kima-notification--bottom-right[data-v-1c6f5605]{right:var(--kima-space-3)}}", eMe = [
111086
+ }), [["styles", [qje]], ["__scopeId", "data-v-597751c9"]]), $je = "@keyframes kima-ripple-glow-2f39bef8{0%{opacity:.14}55%{opacity:.1}to{opacity:0}}.kima-notification-enter-active[data-v-2f39bef8]{transition:opacity var(--kima-duration-medium) var(--kima-curve-emphasized), transform var(--kima-duration-medium) var(--kima-curve-emphasized)}.kima-notification-leave-active[data-v-2f39bef8]{pointer-events:none;transition:opacity var(--kima-duration-fast) var(--kima-curve-standard), transform var(--kima-duration-fast) var(--kima-curve-standard)}.kima-notification-enter-from[data-v-2f39bef8],.kima-notification-leave-to[data-v-2f39bef8]{opacity:0}.kima-notification--top-right.kima-notification-enter-from[data-v-2f39bef8],.kima-notification--top-right.kima-notification-leave-to[data-v-2f39bef8],.kima-notification--bottom-right.kima-notification-enter-from[data-v-2f39bef8],.kima-notification--bottom-right.kima-notification-leave-to[data-v-2f39bef8]{transform:translate(calc(100% + 24px))}.kima-notification--top-left.kima-notification-enter-from[data-v-2f39bef8],.kima-notification--top-left.kima-notification-leave-to[data-v-2f39bef8],.kima-notification--bottom-left.kima-notification-enter-from[data-v-2f39bef8],.kima-notification--bottom-left.kima-notification-leave-to[data-v-2f39bef8]{transform:translate(calc(-100% - 24px))}.kima-notification--slide-right.kima-notification-enter-from[data-v-2f39bef8],.kima-notification--slide-right.kima-notification-leave-to[data-v-2f39bef8]{transform:translate(calc(100% + 24px))}.kima-notification--slide-left.kima-notification-enter-from[data-v-2f39bef8],.kima-notification--slide-left.kima-notification-leave-to[data-v-2f39bef8]{transform:translate(calc(-100% - 24px))}.kima-notification--slide-up.kima-notification-enter-from[data-v-2f39bef8],.kima-notification--slide-up.kima-notification-leave-to[data-v-2f39bef8]{transform:translateY(calc(-100% - 24px))}.kima-notification--slide-down.kima-notification-enter-from[data-v-2f39bef8],.kima-notification--slide-down.kima-notification-leave-to[data-v-2f39bef8]{transform:translateY(calc(100% + 24px))}.kima-notification--top.kima-notification-enter-from[data-v-2f39bef8],.kima-notification--top-center.kima-notification-enter-from[data-v-2f39bef8],.kima-notification--top.kima-notification-leave-to[data-v-2f39bef8],.kima-notification--top-center.kima-notification-leave-to[data-v-2f39bef8]{transform:translate(-50%)translateY(calc(-100% - 24px))}.kima-notification--bottom.kima-notification-enter-from[data-v-2f39bef8],.kima-notification--bottom-center.kima-notification-enter-from[data-v-2f39bef8],.kima-notification--bottom.kima-notification-leave-to[data-v-2f39bef8],.kima-notification--bottom-center.kima-notification-leave-to[data-v-2f39bef8]{transform:translate(-50%)translateY(calc(100% + 24px))}.kima-notification[data-v-2f39bef8]{box-sizing:border-box;z-index:1100;align-items:flex-start;gap:var(--kima-space-3);width:min(420px,100vw - 32px);max-height:calc(100dvh - 32px);padding:var(--kima-space-4);border-radius:var(--kima-radius-l);color:var(--kima-color-on-surface);background:var(--kima-color-popup);box-shadow:var(--kima-elevation-4);font-family:var(--kima-font-family);border:0;display:flex;position:fixed;overflow:auto}.kima-notification--stacked[data-v-2f39bef8]{pointer-events:auto;width:100%;position:relative;inset:auto}.kima-notification__icon[data-v-2f39bef8]{width:24px;height:calc(var(--kima-font-size-md) * 1.3);opacity:.9;flex:none;justify-content:center;align-items:center;display:inline-flex}.kima-notification--top[data-v-2f39bef8],.kima-notification--top-center[data-v-2f39bef8],.kima-notification--top-left[data-v-2f39bef8],.kima-notification--top-right[data-v-2f39bef8]{top:var(--kima-space-4)}.kima-notification--bottom[data-v-2f39bef8],.kima-notification--bottom-center[data-v-2f39bef8],.kima-notification--bottom-left[data-v-2f39bef8],.kima-notification--bottom-right[data-v-2f39bef8]{bottom:var(--kima-space-4)}.kima-notification--top[data-v-2f39bef8],.kima-notification--bottom[data-v-2f39bef8],.kima-notification--top-center[data-v-2f39bef8],.kima-notification--bottom-center[data-v-2f39bef8]{left:50%;transform:translate(-50%)}.kima-notification--top-left[data-v-2f39bef8],.kima-notification--bottom-left[data-v-2f39bef8]{left:var(--kima-space-4)}.kima-notification--top-right[data-v-2f39bef8],.kima-notification--bottom-right[data-v-2f39bef8]{right:var(--kima-space-4)}.kima-notification--info[data-v-2f39bef8]{color:var(--kima-color-on-primary-container);background:var(--kima-color-primary-container)}.kima-notification--warning[data-v-2f39bef8]{color:var(--kima-color-on-warning);background:var(--kima-color-warning)}.kima-notification--success[data-v-2f39bef8]{color:var(--kima-color-on-success);background:var(--kima-color-success)}.kima-notification--danger[data-v-2f39bef8]{color:var(--kima-color-on-danger);background:var(--kima-color-danger)}.kima-notification__copy[data-v-2f39bef8]{gap:var(--kima-space-1);overflow-wrap:anywhere;flex-direction:column;flex:auto;min-width:0;display:flex}.kima-notification__title[data-v-2f39bef8]{font-size:var(--kima-font-size-md);font-weight:var(--kima-font-weight-bold);line-height:1.3}.kima-notification__message[data-v-2f39bef8]{font-size:var(--kima-font-size-sm);line-height:1.45}.kima-notification__action[data-v-2f39bef8]{margin-top:var(--kima-space-2);gap:var(--kima-space-2);flex-wrap:wrap;display:flex}.kima-notification__action[data-v-2f39bef8]:empty{display:none}.kima-notification__close[data-v-2f39bef8]{width:32px;height:32px;margin:calc((var(--kima-font-size-md) * 1.3 - 32px) / 2) calc(var(--kima-space-1) * -1) 0 0;border-radius:var(--kima-radius-full);color:inherit;background:var(--kima-color-transparent);cursor:pointer;border:0;flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex;position:relative}.kima-notification__close[data-v-2f39bef8]:after{content:\"\";z-index:1;border-radius:inherit;opacity:0;pointer-events:none;transition:opacity var(--kima-duration-effects) var(--kima-curve-standard);background:currentColor;position:absolute;inset:0}.kima-notification__close[data-v-2f39bef8]>*{z-index:2;position:relative}.kima-notification__close[data-v-2f39bef8]:hover:not(:disabled):not([aria-disabled=true]):after{opacity:var(--kima-state-hover)}.kima-notification__close[data-v-2f39bef8]:focus-visible:after{opacity:var(--kima-state-focus)}.kima-notification__close[data-v-2f39bef8]:active:not(:disabled):not([aria-disabled=true]):after{opacity:var(--kima-state-pressed)}.kima-notification__close[data-v-2f39bef8]:focus-visible{outline:var(--kima-focus-ring-width) solid var(--kima-color-primary);outline-offset:var(--kima-focus-ring-offset)}.kima-notification__close[data-v-2f39bef8]{position:relative;overflow:hidden}.kima-notification__close[data-v-2f39bef8] .kima-ripple{z-index:2;pointer-events:none;animation:kima-ripple-glow-2f39bef8 var(--kima-duration-slower) linear forwards;background:currentColor;position:absolute;inset:0}.kima-notification__close[data-v-2f39bef8]{transition:background-color var(--kima-duration-effects) var(--kima-curve-standard)}.kima-notification__close[data-v-2f39bef8]:hover{background:color-mix(in srgb, currentColor 12%, var(--kima-color-transparent))}@media (prefers-reduced-motion:reduce){.kima-notification__close[data-v-2f39bef8]{transition:none}.kima-notification-enter-active[data-v-2f39bef8],.kima-notification-leave-active[data-v-2f39bef8]{transition-duration:1ms}.kima-notification-enter-from[data-v-2f39bef8],.kima-notification-leave-to[data-v-2f39bef8]{transform:none}.kima-notification--top[data-v-2f39bef8],.kima-notification--top-center[data-v-2f39bef8],.kima-notification--bottom[data-v-2f39bef8],.kima-notification--bottom-center[data-v-2f39bef8]{transform:translate(-50%)}}@media (width<=600px){.kima-notification--top[data-v-2f39bef8],.kima-notification--top-left[data-v-2f39bef8],.kima-notification--top-center[data-v-2f39bef8],.kima-notification--top-right[data-v-2f39bef8]{top:var(--kima-space-3)}.kima-notification--bottom[data-v-2f39bef8],.kima-notification--bottom-left[data-v-2f39bef8],.kima-notification--bottom-center[data-v-2f39bef8],.kima-notification--bottom-right[data-v-2f39bef8]{bottom:var(--kima-space-3)}.kima-notification--top-left[data-v-2f39bef8],.kima-notification--bottom-left[data-v-2f39bef8]{left:var(--kima-space-3)}.kima-notification--top-right[data-v-2f39bef8],.kima-notification--bottom-right[data-v-2f39bef8]{right:var(--kima-space-3)}}", eMe = [
111087
111087
  "role",
111088
111088
  "aria-live",
111089
111089
  "aria-labelledby",
@@ -111141,13 +111141,19 @@ var qje = "@keyframes kima-ripple-glow-597751c9{0%{opacity:.14}55%{opacity:.1}to
111141
111141
  },
111142
111142
  emits: ["update:open", "close"],
111143
111143
  setup(e, { emit: t }) {
111144
- let n = e, r = t, i = Vi(), a = To().ce ? nc() : null, o = /* @__PURE__ */ A(n.open), s = Nr(), c = `kima-notification-${s}-title`, l = `kima-notification-${s}-message`, u = null, d = !1, f = 0, p = 0, m = !1, h = !1, g = U(() => [
111144
+ let n = e, r = t, i = Vi(), a = To().ce ? nc() : null, o = /* @__PURE__ */ A(n.open), s = Nr(), c = `kima-notification-${s}-title`, l = `kima-notification-${s}-message`, u = null, d = /* @__PURE__ */ A(null);
111145
+ pl(d, () => [
111146
+ n.heading,
111147
+ n.message,
111148
+ n.variant
111149
+ ], { opacity: !1 });
111150
+ let f = !1, p = 0, m = 0, h = !1, g = !1, _ = U(() => [
111145
111151
  "neutral",
111146
111152
  "info",
111147
111153
  "success",
111148
111154
  "warning",
111149
111155
  "danger"
111150
- ].includes(n.variant) ? n.variant : "neutral"), _ = U(() => [
111156
+ ].includes(n.variant) ? n.variant : "neutral"), v = U(() => [
111151
111157
  "top",
111152
111158
  "top-left",
111153
111159
  "top-center",
@@ -111156,71 +111162,75 @@ var qje = "@keyframes kima-ripple-glow-597751c9{0%{opacity:.14}55%{opacity:.1}to
111156
111162
  "bottom-left",
111157
111163
  "bottom-center",
111158
111164
  "bottom-right"
111159
- ].includes(n.position) ? n.position : "top-right"), v = U(() => ["warning", "danger"].includes(g.value) ? "alert" : "status"), y = U(() => v.value === "alert" ? "assertive" : "polite"), b = U(() => Number.isFinite(n.duration) ? Math.max(0, n.duration) : 0), x = {
111165
+ ].includes(n.position) ? n.position : "top-right"), y = U(() => ["warning", "danger"].includes(_.value) ? "alert" : "status"), b = U(() => y.value === "alert" ? "assertive" : "polite"), x = U(() => Number.isFinite(n.duration) ? Math.max(0, n.duration) : 0), S = {
111160
111166
  info: Ew,
111161
111167
  success: bw,
111162
111168
  warning: dw,
111163
111169
  danger: fw
111164
- }, S = U(() => n.icon ?? x[g.value] ?? null), C = U(() => [
111170
+ }, C = U(() => n.icon ?? S[_.value] ?? null), w = U(() => [
111165
111171
  "right",
111166
111172
  "left",
111167
111173
  "up",
111168
111174
  "down"
111169
- ].includes(n.slide) ? n.slide : _.value.includes("right") ? "right" : _.value.includes("left") ? "left" : _.value.startsWith("bottom") ? "down" : "up");
111170
- function w() {
111175
+ ].includes(n.slide) ? n.slide : v.value.includes("right") ? "right" : v.value.includes("left") ? "left" : v.value.startsWith("bottom") ? "down" : "up");
111176
+ function T() {
111171
111177
  u !== null && (clearTimeout(u), u = null);
111172
111178
  }
111173
- function T(e = "close") {
111174
- o.value && (w(), o.value = !1, r("update:open", !1), r("close", e));
111175
- }
111176
- function E() {
111177
- w(), d && o.value && b.value !== 0 && !m && !h && (p = Date.now(), u = setTimeout(() => {
111178
- u = null, T("timeout");
111179
- }, f));
111179
+ function E(e = "close") {
111180
+ o.value && (T(), o.value = !1, r("update:open", !1), r("close", e));
111180
111181
  }
111181
111182
  function D() {
111182
- u !== null && (f = Math.max(0, f - (Date.now() - p)), w());
111183
+ T(), f && o.value && x.value !== 0 && !h && !g && (m = Date.now(), u = setTimeout(() => {
111184
+ u = null, E("timeout");
111185
+ }, p));
111183
111186
  }
111184
- function ee(e) {
111185
- m = e, e ? D() : E();
111187
+ function ee() {
111188
+ u !== null && (p = Math.max(0, p - (Date.now() - m)), T());
111186
111189
  }
111187
111190
  function O(e) {
111188
- h = e.type === "focusin" || e.currentTarget.contains(e.relatedTarget), h ? D() : E();
111191
+ h = e, e ? ee() : D();
111192
+ }
111193
+ function te(e) {
111194
+ g = e.type === "focusin" || e.currentTarget.contains(e.relatedTarget), g ? ee() : D();
111189
111195
  }
111190
111196
  return N(() => n.open, (e) => {
111191
111197
  o.value = e;
111192
- }), N([o, b], ([e]) => {
111193
- f = b.value, e ? E() : (w(), m = !1, h = !1);
111198
+ }), N([o, x], ([e]) => {
111199
+ p = x.value, e ? D() : (T(), h = !1, g = !1);
111194
111200
  }, { immediate: !0 }), vi(() => {
111195
- d = !0, f = b.value, E();
111201
+ f = !0, p = x.value, D();
111196
111202
  }), xi(() => {
111197
- d = !1, w();
111203
+ f = !1, T();
111198
111204
  }), (t, n) => (I(), R(cs, H({
111199
111205
  name: "kima-notification",
111200
111206
  css: !e.stacked
111201
111207
  }, j(rl)), {
111202
- default: M(() => [e.stacked || o.value ? (I(), L("div", H({ key: 0 }, {
111208
+ default: M(() => [e.stacked || o.value ? (I(), L("div", H({
111209
+ key: 0,
111210
+ ref_key: "notificationRoot",
111211
+ ref: d
111212
+ }, {
111203
111213
  ...j(i),
111204
111214
  id: j(a) ? void 0 : j(i).id,
111205
111215
  title: void 0
111206
111216
  }, {
111207
111217
  class: ["kima-notification", [
111208
- `kima-notification--${g.value}`,
111218
+ `kima-notification--${_.value}`,
111209
111219
  { "kima-notification--stacked": e.stacked },
111210
- e.stacked ? `kima-notification--slide-${C.value}` : `kima-notification--${_.value}`
111220
+ e.stacked ? `kima-notification--slide-${w.value}` : `kima-notification--${v.value}`
111211
111221
  ]],
111212
- role: v.value,
111213
- "aria-live": y.value,
111222
+ role: y.value,
111223
+ "aria-live": b.value,
111214
111224
  "aria-atomic": "true",
111215
111225
  "aria-labelledby": e.heading || j(i).title ? c : void 0,
111216
111226
  "aria-describedby": e.message ? l : void 0,
111217
- onMouseenter: n[1] ||= (e) => ee(!0),
111218
- onMouseleave: n[2] ||= (e) => ee(!1),
111219
- onFocusin: O,
111220
- onFocusout: O
111227
+ onMouseenter: n[1] ||= (e) => O(!0),
111228
+ onMouseleave: n[2] ||= (e) => O(!1),
111229
+ onFocusin: te,
111230
+ onFocusout: te
111221
111231
  }), [
111222
- S.value ? (I(), L("span", tMe, [B(lw, {
111223
- icon: S.value,
111232
+ C.value ? (I(), L("span", tMe, [B(lw, {
111233
+ icon: C.value,
111224
111234
  size: 22
111225
111235
  }, null, 8, ["icon"])])) : V("", !0),
111226
111236
  z("div", nMe, [
@@ -111242,7 +111252,7 @@ var qje = "@keyframes kima-ripple-glow-597751c9{0%{opacity:.14}55%{opacity:.1}to
111242
111252
  type: "button",
111243
111253
  "aria-label": "关闭通知",
111244
111254
  title: "关闭通知",
111245
- onClick: n[0] ||= (e) => T("button")
111255
+ onClick: n[0] ||= (e) => E("button")
111246
111256
  }, [B(lw, {
111247
111257
  icon: j(yw),
111248
111258
  size: 18,
@@ -111252,7 +111262,7 @@ var qje = "@keyframes kima-ripple-glow-597751c9{0%{opacity:.14}55%{opacity:.1}to
111252
111262
  _: 3
111253
111263
  }, 16, ["css"]));
111254
111264
  }
111255
- }), [["styles", [$je]], ["__scopeId", "data-v-1c6f5605"]]), iMe = "@keyframes kima-ripple-glow-d62e7dea{0%{opacity:.14}55%{opacity:.1}to{opacity:0}}.kima-pagination[data-v-d62e7dea]{min-width:0;color:var(--kima-color-on-surface);font-family:var(--kima-font-family);font-size:var(--kima-font-size-md);justify-content:center;display:flex}.kima-pagination__list[data-v-d62e7dea]{justify-content:center;align-items:center;gap:var(--kima-space-1);max-width:100%;padding:var(--kima-space-1);display:flex;overflow-x:auto}.kima-pagination__button[data-v-d62e7dea]{min-width:40px;min-height:40px;padding:0 var(--kima-space-2);border-radius:var(--kima-radius-sm);box-sizing:border-box;color:var(--kima-color-on-surface);background:var(--kima-color-transparent);font:inherit;cursor:pointer;border:0;flex:0 0 40px;justify-content:center;align-items:center;display:inline-flex;position:relative}.kima-pagination__button[data-v-d62e7dea]:after{content:\"\";z-index:1;border-radius:inherit;opacity:0;pointer-events:none;transition:opacity var(--kima-duration-effects) var(--kima-curve-standard);background:currentColor;position:absolute;inset:0}.kima-pagination__button[data-v-d62e7dea]>*{z-index:2;position:relative}.kima-pagination__button[data-v-d62e7dea]:hover:not(:disabled):not([aria-disabled=true]):after{opacity:var(--kima-state-hover)}.kima-pagination__button[data-v-d62e7dea]:focus-visible:after{opacity:var(--kima-state-focus)}.kima-pagination__button[data-v-d62e7dea]:active:not(:disabled):not([aria-disabled=true]):after{opacity:var(--kima-state-pressed)}.kima-pagination__button[data-v-d62e7dea]{position:relative;overflow:hidden}.kima-pagination__button[data-v-d62e7dea] .kima-ripple{z-index:2;pointer-events:none;animation:kima-ripple-glow-d62e7dea var(--kima-duration-slower) linear forwards;background:currentColor;position:absolute;inset:0}.kima-pagination__button[data-v-d62e7dea]{transition:color var(--kima-duration-effects) var(--kima-curve-standard), background-color var(--kima-duration-effects) var(--kima-curve-standard), border-color var(--kima-duration-effects) var(--kima-curve-standard), box-shadow var(--kima-duration-effects) var(--kima-curve-standard), opacity var(--kima-duration-effects) var(--kima-curve-standard)}.kima-pagination__button[data-v-d62e7dea]:hover:not(:disabled),.kima-pagination__button[data-v-d62e7dea]:focus-visible{background:var(--kima-color-layer-3)}.kima-pagination__button[data-v-d62e7dea]:focus-visible{outline:2px solid var(--kima-color-primary);outline-offset:1px}.kima-pagination__button[aria-current=page][data-v-d62e7dea]{color:var(--kima-color-on-primary-container);background:var(--kima-color-primary-container);font-weight:var(--kima-font-weight-bold)}.kima-pagination__button[aria-current=page][data-v-d62e7dea]:hover:not(:disabled),.kima-pagination__button[aria-current=page][data-v-d62e7dea]:focus-visible{background:var(--kima-color-primary-container-hover)}.kima-pagination__button[data-v-d62e7dea]:disabled{color:var(--kima-color-on-surface-variant);cursor:not-allowed;opacity:var(--kima-opacity-disabled)}.kima-pagination__button[data-v-d62e7dea]:is(.kima-list-enter-active,.kima-list-leave-active){transition:opacity var(--kima-duration-medium) var(--kima-curve-standard), transform var(--kima-duration-medium) var(--kima-curve-emphasized)}.kima-pagination__button.kima-list-move[data-v-d62e7dea]{transition:transform var(--kima-duration-slow) var(--kima-curve-emphasized)}.kima-pagination__button--direction[data-v-d62e7dea]{color:var(--kima-color-primary)}.kima-pagination__ellipsis[data-v-d62e7dea]{min-width:24px;min-height:40px;color:var(--kima-color-on-surface-variant);-webkit-user-select:none;user-select:none;justify-content:center;align-items:center;display:inline-flex}.kima-pagination--compact .kima-pagination__button[data-v-d62e7dea]{flex-basis:32px;min-width:32px;min-height:32px}.kima-pagination--compact .kima-pagination__ellipsis[data-v-d62e7dea]{min-height:32px}@media (width<=480px){.kima-pagination__list[data-v-d62e7dea]{justify-content:flex-start}}", aMe = ["aria-label", "aria-disabled"], oMe = { class: "kima-pagination__list" }, sMe = ["tabindex", "disabled"], cMe = [
111265
+ }), [["styles", [$je]], ["__scopeId", "data-v-2f39bef8"]]), iMe = "@keyframes kima-ripple-glow-d62e7dea{0%{opacity:.14}55%{opacity:.1}to{opacity:0}}.kima-pagination[data-v-d62e7dea]{min-width:0;color:var(--kima-color-on-surface);font-family:var(--kima-font-family);font-size:var(--kima-font-size-md);justify-content:center;display:flex}.kima-pagination__list[data-v-d62e7dea]{justify-content:center;align-items:center;gap:var(--kima-space-1);max-width:100%;padding:var(--kima-space-1);display:flex;overflow-x:auto}.kima-pagination__button[data-v-d62e7dea]{min-width:40px;min-height:40px;padding:0 var(--kima-space-2);border-radius:var(--kima-radius-sm);box-sizing:border-box;color:var(--kima-color-on-surface);background:var(--kima-color-transparent);font:inherit;cursor:pointer;border:0;flex:0 0 40px;justify-content:center;align-items:center;display:inline-flex;position:relative}.kima-pagination__button[data-v-d62e7dea]:after{content:\"\";z-index:1;border-radius:inherit;opacity:0;pointer-events:none;transition:opacity var(--kima-duration-effects) var(--kima-curve-standard);background:currentColor;position:absolute;inset:0}.kima-pagination__button[data-v-d62e7dea]>*{z-index:2;position:relative}.kima-pagination__button[data-v-d62e7dea]:hover:not(:disabled):not([aria-disabled=true]):after{opacity:var(--kima-state-hover)}.kima-pagination__button[data-v-d62e7dea]:focus-visible:after{opacity:var(--kima-state-focus)}.kima-pagination__button[data-v-d62e7dea]:active:not(:disabled):not([aria-disabled=true]):after{opacity:var(--kima-state-pressed)}.kima-pagination__button[data-v-d62e7dea]{position:relative;overflow:hidden}.kima-pagination__button[data-v-d62e7dea] .kima-ripple{z-index:2;pointer-events:none;animation:kima-ripple-glow-d62e7dea var(--kima-duration-slower) linear forwards;background:currentColor;position:absolute;inset:0}.kima-pagination__button[data-v-d62e7dea]{transition:color var(--kima-duration-effects) var(--kima-curve-standard), background-color var(--kima-duration-effects) var(--kima-curve-standard), border-color var(--kima-duration-effects) var(--kima-curve-standard), box-shadow var(--kima-duration-effects) var(--kima-curve-standard), opacity var(--kima-duration-effects) var(--kima-curve-standard)}.kima-pagination__button[data-v-d62e7dea]:hover:not(:disabled),.kima-pagination__button[data-v-d62e7dea]:focus-visible{background:var(--kima-color-layer-3)}.kima-pagination__button[data-v-d62e7dea]:focus-visible{outline:2px solid var(--kima-color-primary);outline-offset:1px}.kima-pagination__button[aria-current=page][data-v-d62e7dea]{color:var(--kima-color-on-primary-container);background:var(--kima-color-primary-container);font-weight:var(--kima-font-weight-bold)}.kima-pagination__button[aria-current=page][data-v-d62e7dea]:hover:not(:disabled),.kima-pagination__button[aria-current=page][data-v-d62e7dea]:focus-visible{background:var(--kima-color-primary-container-hover)}.kima-pagination__button[data-v-d62e7dea]:disabled{color:var(--kima-color-on-surface-variant);cursor:not-allowed;opacity:var(--kima-opacity-disabled)}.kima-pagination__button[data-v-d62e7dea]:is(.kima-list-enter-active,.kima-list-leave-active){transition:opacity var(--kima-duration-medium) var(--kima-curve-standard), transform var(--kima-duration-medium) var(--kima-curve-emphasized)}.kima-pagination__button.kima-list-move[data-v-d62e7dea]{transition:transform var(--kima-duration-slow) var(--kima-curve-emphasized)}.kima-pagination__button--direction[data-v-d62e7dea]{color:var(--kima-color-primary)}.kima-pagination__ellipsis[data-v-d62e7dea]{min-width:24px;min-height:40px;color:var(--kima-color-on-surface-variant);-webkit-user-select:none;user-select:none;justify-content:center;align-items:center;display:inline-flex}.kima-pagination--compact .kima-pagination__button[data-v-d62e7dea]{flex-basis:32px;min-width:32px;min-height:32px}.kima-pagination--compact .kima-pagination__ellipsis[data-v-d62e7dea]{min-height:32px}@media (width<=480px){.kima-pagination__list[data-v-d62e7dea]{justify-content:flex-start}}", aMe = ["aria-label", "aria-disabled"], oMe = { class: "kima-pagination__list" }, sMe = ["tabindex", "disabled"], cMe = [
111256
111266
  "tabindex",
111257
111267
  "aria-label",
111258
111268
  "data-page",
package/dist/style.css CHANGED
@@ -58,7 +58,7 @@
58
58
  /*$vite$:1*/
59
59
  @keyframes kima-ripple-glow-597751c9{0%{opacity:.14}55%{opacity:.1}to{opacity:0}}.kima-shell-menu__popup{min-width:0;color:var(--kima-color-on-surface);font-family:var(--kima-font-family);font-size:var(--kima-font-size-body-medium);background:var(--kima-color-popup);box-shadow:var(--kima-elevation-3);box-sizing:border-box;z-index:60;width:min(360px,100vw - 24px);max-height:min(70vh, var(--reka-popper-available-height,70vh));padding:var(--kima-space-4);border-radius:var(--kima-radius-l);width:min(260px,100vw - 24px);padding:var(--kima-space-2);border:0;outline:none;line-height:1.5;overflow:auto}[data-v-597751c9] .kima-shell-menu__item:focus-visible{outline:var(--kima-focus-ring-width) solid var(--kima-color-primary);outline-offset:var(--kima-focus-ring-offset)}[data-v-597751c9] .kima-shell-menu__item:disabled,[data-v-597751c9] .kima-shell-menu__item[aria-disabled=true]{cursor:not-allowed;opacity:var(--kima-opacity-disabled)}[data-v-597751c9] .kima-shell-menu__item{box-sizing:border-box;justify-content:space-between;align-items:center;gap:var(--kima-space-3);width:100%;min-height:48px;padding:var(--kima-space-2) var(--kima-space-3);border-radius:var(--kima-radius-s);background:var(--kima-color-transparent);color:var(--kima-color-on-surface);font:inherit;text-align:start;cursor:pointer;transition:background-color var(--kima-duration-effects) var(--kima-curve-standard), color var(--kima-duration-effects) var(--kima-curve-standard);border:0;display:flex}[data-v-597751c9] .kima-shell-menu__item:hover:not([aria-disabled=true]):not([data-disabled]),[data-v-597751c9] .kima-shell-menu__item[data-highlighted],[data-v-597751c9] .kima-shell-menu__item[data-active=true]{background:var(--kima-color-layer-3)}[data-v-597751c9] .kima-shell-menu__item[aria-selected=true]{color:var(--kima-color-on-primary-container);background:var(--kima-color-primary-container)}[data-v-597751c9] .kima-shell-menu__item[aria-selected=true]:hover,[data-v-597751c9] .kima-shell-menu__item[aria-selected=true][data-active=true]{background:var(--kima-color-primary-container-hover)}[data-v-597751c9] .kima-shell-menu__item[data-disabled]{opacity:var(--kima-opacity-disabled);cursor:not-allowed}[data-v-597751c9] .kima-shell-menu__item[aria-checked=true]{color:var(--kima-color-on-primary-container);background:var(--kima-color-primary-container)}[data-v-597751c9] .kima-shell-menu__item[aria-checked=true]:hover,[data-v-597751c9] .kima-shell-menu__item[aria-checked=true][data-highlighted]{background:var(--kima-color-primary-container-hover)}[data-v-597751c9] .kima-shell-menu__copy{gap:var(--kima-space-1);display:grid}[data-v-597751c9] .kima-shell-menu__item small{font-size:var(--kima-font-size-sm);opacity:.8}[data-v-597751c9] .kima-shell-menu__separator{height:1px;margin-block:var(--kima-space-2);background:var(--kima-color-outline-variant)}@media (prefers-reduced-motion:reduce){.kima-shell-menu__item[data-v-597751c9]{transition:none}}.kima-menu[data-v-597751c9]{min-width:0;color:var(--kima-color-on-surface);font-family:var(--kima-font-family);font-size:var(--kima-font-size-body-medium);min-width:180px;line-height:1.5;display:inline-flex;position:relative}.kima-menu--open[data-v-597751c9]{z-index:60}.kima-menu--icon[data-v-597751c9]{min-width:0}.kima-menu__trigger[data-v-597751c9]{position:relative}.kima-menu__trigger[data-v-597751c9]:after{content:"";z-index:1;border-radius:inherit;opacity:0;pointer-events:none;transition:opacity var(--kima-duration-effects) var(--kima-curve-standard);background:currentColor;position:absolute;inset:0}.kima-menu__trigger[data-v-597751c9]>*{z-index:2;position:relative}.kima-menu__trigger[data-v-597751c9]:hover:not(:disabled):not([aria-disabled=true]):after{opacity:var(--kima-state-hover)}.kima-menu__trigger[data-v-597751c9]:focus-visible:after{opacity:var(--kima-state-focus)}.kima-menu__trigger[data-v-597751c9]:active:not(:disabled):not([aria-disabled=true]):after{opacity:var(--kima-state-pressed)}.kima-menu__trigger[data-v-597751c9]{position:relative;overflow:hidden}.kima-menu__trigger[data-v-597751c9] .kima-ripple{z-index:2;pointer-events:none;animation:kima-ripple-glow-597751c9 var(--kima-duration-slower) linear forwards;background:currentColor;position:absolute;inset:0}.kima-menu__trigger[data-v-597751c9]:focus-visible{outline:var(--kima-focus-ring-width) solid var(--kima-color-primary);outline-offset:var(--kima-focus-ring-offset)}.kima-menu__trigger[data-v-597751c9]{transition:color var(--kima-duration-effects) var(--kima-curve-standard), background-color var(--kima-duration-effects) var(--kima-curve-standard), border-color var(--kima-duration-effects) var(--kima-curve-standard), box-shadow var(--kima-duration-effects) var(--kima-curve-standard), opacity var(--kima-duration-effects) var(--kima-curve-standard);justify-content:space-between;align-items:center;gap:var(--kima-space-3);width:100%;min-height:56px;padding:0 var(--kima-space-4);border-radius:var(--kima-radius-m);color:var(--kima-color-on-surface);background:var(--kima-color-layer-2);font:inherit;cursor:pointer;border:0;display:flex}.kima-menu__trigger[data-v-597751c9]:disabled{opacity:var(--kima-opacity-disabled);cursor:not-allowed}.kima-menu--small .kima-menu__trigger[data-v-597751c9]{min-height:40px;padding-inline:var(--kima-space-3)}.kima-menu--icon .kima-menu__trigger[data-v-597751c9]{width:var(--kima-touch-target);min-width:var(--kima-touch-target);aspect-ratio:1;justify-content:center;padding:0}.kima-menu__popup{min-width:0;color:var(--kima-color-on-surface);font-family:var(--kima-font-family);font-size:var(--kima-font-size-body-medium);background:var(--kima-color-popup);box-shadow:var(--kima-elevation-3);box-sizing:border-box;z-index:60;width:min(360px,100vw - 24px);max-height:min(70vh, var(--reka-popper-available-height,70vh));padding:var(--kima-space-4);border-radius:var(--kima-radius-l);width:max(220px, var(--reka-dropdown-menu-trigger-width));padding:var(--kima-space-2);border:0;outline:none;line-height:1.5;overflow:auto}.kima-menu__search-wrap[data-v-597751c9]{align-items:center;gap:var(--kima-space-2);display:flex}.kima-menu__search[data-v-597751c9]{box-sizing:border-box;width:100%;min-height:48px;margin-bottom:var(--kima-space-2);padding:var(--kima-space-3);border-radius:var(--kima-radius-m);background:var(--kima-color-layer-2);color:var(--kima-color-on-surface);font:inherit;border:0}.kima-menu__search[data-v-597751c9]:focus{outline:var(--kima-focus-ring-width) solid var(--kima-color-primary);outline-offset:-2px}
60
60
  /*$vite$:1*/
61
- @keyframes kima-ripple-glow-1c6f5605{0%{opacity:.14}55%{opacity:.1}to{opacity:0}}.kima-notification-enter-active[data-v-1c6f5605]{transition:opacity var(--kima-duration-medium) var(--kima-curve-emphasized), transform var(--kima-duration-medium) var(--kima-curve-emphasized)}.kima-notification-leave-active[data-v-1c6f5605]{pointer-events:none;transition:opacity var(--kima-duration-fast) var(--kima-curve-standard), transform var(--kima-duration-fast) var(--kima-curve-standard)}.kima-notification-enter-from[data-v-1c6f5605],.kima-notification-leave-to[data-v-1c6f5605]{opacity:0}.kima-notification--top-right.kima-notification-enter-from[data-v-1c6f5605],.kima-notification--top-right.kima-notification-leave-to[data-v-1c6f5605],.kima-notification--bottom-right.kima-notification-enter-from[data-v-1c6f5605],.kima-notification--bottom-right.kima-notification-leave-to[data-v-1c6f5605]{transform:translate(calc(100% + 24px))}.kima-notification--top-left.kima-notification-enter-from[data-v-1c6f5605],.kima-notification--top-left.kima-notification-leave-to[data-v-1c6f5605],.kima-notification--bottom-left.kima-notification-enter-from[data-v-1c6f5605],.kima-notification--bottom-left.kima-notification-leave-to[data-v-1c6f5605]{transform:translate(calc(-100% - 24px))}.kima-notification--slide-right.kima-notification-enter-from[data-v-1c6f5605],.kima-notification--slide-right.kima-notification-leave-to[data-v-1c6f5605]{transform:translate(calc(100% + 24px))}.kima-notification--slide-left.kima-notification-enter-from[data-v-1c6f5605],.kima-notification--slide-left.kima-notification-leave-to[data-v-1c6f5605]{transform:translate(calc(-100% - 24px))}.kima-notification--slide-up.kima-notification-enter-from[data-v-1c6f5605],.kima-notification--slide-up.kima-notification-leave-to[data-v-1c6f5605]{transform:translateY(calc(-100% - 24px))}.kima-notification--slide-down.kima-notification-enter-from[data-v-1c6f5605],.kima-notification--slide-down.kima-notification-leave-to[data-v-1c6f5605]{transform:translateY(calc(100% + 24px))}.kima-notification--top.kima-notification-enter-from[data-v-1c6f5605],.kima-notification--top-center.kima-notification-enter-from[data-v-1c6f5605],.kima-notification--top.kima-notification-leave-to[data-v-1c6f5605],.kima-notification--top-center.kima-notification-leave-to[data-v-1c6f5605]{transform:translate(-50%)translateY(calc(-100% - 24px))}.kima-notification--bottom.kima-notification-enter-from[data-v-1c6f5605],.kima-notification--bottom-center.kima-notification-enter-from[data-v-1c6f5605],.kima-notification--bottom.kima-notification-leave-to[data-v-1c6f5605],.kima-notification--bottom-center.kima-notification-leave-to[data-v-1c6f5605]{transform:translate(-50%)translateY(calc(100% + 24px))}.kima-notification[data-v-1c6f5605]{box-sizing:border-box;z-index:1100;align-items:flex-start;gap:var(--kima-space-3);width:min(420px,100vw - 32px);max-height:calc(100dvh - 32px);padding:var(--kima-space-4);border-radius:var(--kima-radius-l);color:var(--kima-color-on-surface);background:var(--kima-color-popup);box-shadow:var(--kima-elevation-4);font-family:var(--kima-font-family);border:0;display:flex;position:fixed;overflow:auto}.kima-notification--stacked[data-v-1c6f5605]{pointer-events:auto;width:100%;position:relative;inset:auto}.kima-notification__icon[data-v-1c6f5605]{width:24px;height:calc(var(--kima-font-size-md) * 1.3);opacity:.9;flex:none;justify-content:center;align-items:center;display:inline-flex}.kima-notification--top[data-v-1c6f5605],.kima-notification--top-center[data-v-1c6f5605],.kima-notification--top-left[data-v-1c6f5605],.kima-notification--top-right[data-v-1c6f5605]{top:var(--kima-space-4)}.kima-notification--bottom[data-v-1c6f5605],.kima-notification--bottom-center[data-v-1c6f5605],.kima-notification--bottom-left[data-v-1c6f5605],.kima-notification--bottom-right[data-v-1c6f5605]{bottom:var(--kima-space-4)}.kima-notification--top[data-v-1c6f5605],.kima-notification--bottom[data-v-1c6f5605],.kima-notification--top-center[data-v-1c6f5605],.kima-notification--bottom-center[data-v-1c6f5605]{left:50%;transform:translate(-50%)}.kima-notification--top-left[data-v-1c6f5605],.kima-notification--bottom-left[data-v-1c6f5605]{left:var(--kima-space-4)}.kima-notification--top-right[data-v-1c6f5605],.kima-notification--bottom-right[data-v-1c6f5605]{right:var(--kima-space-4)}.kima-notification--info[data-v-1c6f5605]{color:var(--kima-color-on-primary-container);background:var(--kima-color-primary-container)}.kima-notification--warning[data-v-1c6f5605]{color:var(--kima-color-on-warning);background:var(--kima-color-warning)}.kima-notification--success[data-v-1c6f5605]{color:var(--kima-color-on-success);background:var(--kima-color-success)}.kima-notification--danger[data-v-1c6f5605]{color:var(--kima-color-on-danger);background:var(--kima-color-danger)}.kima-notification__copy[data-v-1c6f5605]{gap:var(--kima-space-1);overflow-wrap:anywhere;flex-direction:column;flex:auto;min-width:0;display:flex}.kima-notification__title[data-v-1c6f5605]{font-size:var(--kima-font-size-md);font-weight:var(--kima-font-weight-bold);line-height:1.3}.kima-notification__message[data-v-1c6f5605]{font-size:var(--kima-font-size-sm);line-height:1.45}.kima-notification__action[data-v-1c6f5605]{margin-top:var(--kima-space-2);gap:var(--kima-space-2);flex-wrap:wrap;display:flex}.kima-notification__action[data-v-1c6f5605]:empty{display:none}.kima-notification__close[data-v-1c6f5605]{width:32px;height:32px;margin:calc((var(--kima-font-size-md) * 1.3 - 32px) / 2) calc(var(--kima-space-1) * -1) 0 0;border-radius:var(--kima-radius-full);color:inherit;background:var(--kima-color-transparent);cursor:pointer;border:0;flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex;position:relative}.kima-notification__close[data-v-1c6f5605]:after{content:"";z-index:1;border-radius:inherit;opacity:0;pointer-events:none;transition:opacity var(--kima-duration-effects) var(--kima-curve-standard);background:currentColor;position:absolute;inset:0}.kima-notification__close[data-v-1c6f5605]>*{z-index:2;position:relative}.kima-notification__close[data-v-1c6f5605]:hover:not(:disabled):not([aria-disabled=true]):after{opacity:var(--kima-state-hover)}.kima-notification__close[data-v-1c6f5605]:focus-visible:after{opacity:var(--kima-state-focus)}.kima-notification__close[data-v-1c6f5605]:active:not(:disabled):not([aria-disabled=true]):after{opacity:var(--kima-state-pressed)}.kima-notification__close[data-v-1c6f5605]:focus-visible{outline:var(--kima-focus-ring-width) solid var(--kima-color-primary);outline-offset:var(--kima-focus-ring-offset)}.kima-notification__close[data-v-1c6f5605]{position:relative;overflow:hidden}.kima-notification__close[data-v-1c6f5605] .kima-ripple{z-index:2;pointer-events:none;animation:kima-ripple-glow-1c6f5605 var(--kima-duration-slower) linear forwards;background:currentColor;position:absolute;inset:0}.kima-notification__close[data-v-1c6f5605]{transition:background-color var(--kima-duration-effects) var(--kima-curve-standard)}.kima-notification__close[data-v-1c6f5605]:hover{background:color-mix(in srgb, currentColor 12%, var(--kima-color-transparent))}@media (prefers-reduced-motion:reduce){.kima-notification__close[data-v-1c6f5605]{transition:none}.kima-notification-enter-active[data-v-1c6f5605],.kima-notification-leave-active[data-v-1c6f5605]{transition-duration:1ms}.kima-notification-enter-from[data-v-1c6f5605],.kima-notification-leave-to[data-v-1c6f5605]{transform:none}.kima-notification--top[data-v-1c6f5605],.kima-notification--top-center[data-v-1c6f5605],.kima-notification--bottom[data-v-1c6f5605],.kima-notification--bottom-center[data-v-1c6f5605]{transform:translate(-50%)}}@media (width<=600px){.kima-notification--top[data-v-1c6f5605],.kima-notification--top-left[data-v-1c6f5605],.kima-notification--top-center[data-v-1c6f5605],.kima-notification--top-right[data-v-1c6f5605]{top:var(--kima-space-3)}.kima-notification--bottom[data-v-1c6f5605],.kima-notification--bottom-left[data-v-1c6f5605],.kima-notification--bottom-center[data-v-1c6f5605],.kima-notification--bottom-right[data-v-1c6f5605]{bottom:var(--kima-space-3)}.kima-notification--top-left[data-v-1c6f5605],.kima-notification--bottom-left[data-v-1c6f5605]{left:var(--kima-space-3)}.kima-notification--top-right[data-v-1c6f5605],.kima-notification--bottom-right[data-v-1c6f5605]{right:var(--kima-space-3)}}
61
+ @keyframes kima-ripple-glow-2f39bef8{0%{opacity:.14}55%{opacity:.1}to{opacity:0}}.kima-notification-enter-active[data-v-2f39bef8]{transition:opacity var(--kima-duration-medium) var(--kima-curve-emphasized), transform var(--kima-duration-medium) var(--kima-curve-emphasized)}.kima-notification-leave-active[data-v-2f39bef8]{pointer-events:none;transition:opacity var(--kima-duration-fast) var(--kima-curve-standard), transform var(--kima-duration-fast) var(--kima-curve-standard)}.kima-notification-enter-from[data-v-2f39bef8],.kima-notification-leave-to[data-v-2f39bef8]{opacity:0}.kima-notification--top-right.kima-notification-enter-from[data-v-2f39bef8],.kima-notification--top-right.kima-notification-leave-to[data-v-2f39bef8],.kima-notification--bottom-right.kima-notification-enter-from[data-v-2f39bef8],.kima-notification--bottom-right.kima-notification-leave-to[data-v-2f39bef8]{transform:translate(calc(100% + 24px))}.kima-notification--top-left.kima-notification-enter-from[data-v-2f39bef8],.kima-notification--top-left.kima-notification-leave-to[data-v-2f39bef8],.kima-notification--bottom-left.kima-notification-enter-from[data-v-2f39bef8],.kima-notification--bottom-left.kima-notification-leave-to[data-v-2f39bef8]{transform:translate(calc(-100% - 24px))}.kima-notification--slide-right.kima-notification-enter-from[data-v-2f39bef8],.kima-notification--slide-right.kima-notification-leave-to[data-v-2f39bef8]{transform:translate(calc(100% + 24px))}.kima-notification--slide-left.kima-notification-enter-from[data-v-2f39bef8],.kima-notification--slide-left.kima-notification-leave-to[data-v-2f39bef8]{transform:translate(calc(-100% - 24px))}.kima-notification--slide-up.kima-notification-enter-from[data-v-2f39bef8],.kima-notification--slide-up.kima-notification-leave-to[data-v-2f39bef8]{transform:translateY(calc(-100% - 24px))}.kima-notification--slide-down.kima-notification-enter-from[data-v-2f39bef8],.kima-notification--slide-down.kima-notification-leave-to[data-v-2f39bef8]{transform:translateY(calc(100% + 24px))}.kima-notification--top.kima-notification-enter-from[data-v-2f39bef8],.kima-notification--top-center.kima-notification-enter-from[data-v-2f39bef8],.kima-notification--top.kima-notification-leave-to[data-v-2f39bef8],.kima-notification--top-center.kima-notification-leave-to[data-v-2f39bef8]{transform:translate(-50%)translateY(calc(-100% - 24px))}.kima-notification--bottom.kima-notification-enter-from[data-v-2f39bef8],.kima-notification--bottom-center.kima-notification-enter-from[data-v-2f39bef8],.kima-notification--bottom.kima-notification-leave-to[data-v-2f39bef8],.kima-notification--bottom-center.kima-notification-leave-to[data-v-2f39bef8]{transform:translate(-50%)translateY(calc(100% + 24px))}.kima-notification[data-v-2f39bef8]{box-sizing:border-box;z-index:1100;align-items:flex-start;gap:var(--kima-space-3);width:min(420px,100vw - 32px);max-height:calc(100dvh - 32px);padding:var(--kima-space-4);border-radius:var(--kima-radius-l);color:var(--kima-color-on-surface);background:var(--kima-color-popup);box-shadow:var(--kima-elevation-4);font-family:var(--kima-font-family);border:0;display:flex;position:fixed;overflow:auto}.kima-notification--stacked[data-v-2f39bef8]{pointer-events:auto;width:100%;position:relative;inset:auto}.kima-notification__icon[data-v-2f39bef8]{width:24px;height:calc(var(--kima-font-size-md) * 1.3);opacity:.9;flex:none;justify-content:center;align-items:center;display:inline-flex}.kima-notification--top[data-v-2f39bef8],.kima-notification--top-center[data-v-2f39bef8],.kima-notification--top-left[data-v-2f39bef8],.kima-notification--top-right[data-v-2f39bef8]{top:var(--kima-space-4)}.kima-notification--bottom[data-v-2f39bef8],.kima-notification--bottom-center[data-v-2f39bef8],.kima-notification--bottom-left[data-v-2f39bef8],.kima-notification--bottom-right[data-v-2f39bef8]{bottom:var(--kima-space-4)}.kima-notification--top[data-v-2f39bef8],.kima-notification--bottom[data-v-2f39bef8],.kima-notification--top-center[data-v-2f39bef8],.kima-notification--bottom-center[data-v-2f39bef8]{left:50%;transform:translate(-50%)}.kima-notification--top-left[data-v-2f39bef8],.kima-notification--bottom-left[data-v-2f39bef8]{left:var(--kima-space-4)}.kima-notification--top-right[data-v-2f39bef8],.kima-notification--bottom-right[data-v-2f39bef8]{right:var(--kima-space-4)}.kima-notification--info[data-v-2f39bef8]{color:var(--kima-color-on-primary-container);background:var(--kima-color-primary-container)}.kima-notification--warning[data-v-2f39bef8]{color:var(--kima-color-on-warning);background:var(--kima-color-warning)}.kima-notification--success[data-v-2f39bef8]{color:var(--kima-color-on-success);background:var(--kima-color-success)}.kima-notification--danger[data-v-2f39bef8]{color:var(--kima-color-on-danger);background:var(--kima-color-danger)}.kima-notification__copy[data-v-2f39bef8]{gap:var(--kima-space-1);overflow-wrap:anywhere;flex-direction:column;flex:auto;min-width:0;display:flex}.kima-notification__title[data-v-2f39bef8]{font-size:var(--kima-font-size-md);font-weight:var(--kima-font-weight-bold);line-height:1.3}.kima-notification__message[data-v-2f39bef8]{font-size:var(--kima-font-size-sm);line-height:1.45}.kima-notification__action[data-v-2f39bef8]{margin-top:var(--kima-space-2);gap:var(--kima-space-2);flex-wrap:wrap;display:flex}.kima-notification__action[data-v-2f39bef8]:empty{display:none}.kima-notification__close[data-v-2f39bef8]{width:32px;height:32px;margin:calc((var(--kima-font-size-md) * 1.3 - 32px) / 2) calc(var(--kima-space-1) * -1) 0 0;border-radius:var(--kima-radius-full);color:inherit;background:var(--kima-color-transparent);cursor:pointer;border:0;flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex;position:relative}.kima-notification__close[data-v-2f39bef8]:after{content:"";z-index:1;border-radius:inherit;opacity:0;pointer-events:none;transition:opacity var(--kima-duration-effects) var(--kima-curve-standard);background:currentColor;position:absolute;inset:0}.kima-notification__close[data-v-2f39bef8]>*{z-index:2;position:relative}.kima-notification__close[data-v-2f39bef8]:hover:not(:disabled):not([aria-disabled=true]):after{opacity:var(--kima-state-hover)}.kima-notification__close[data-v-2f39bef8]:focus-visible:after{opacity:var(--kima-state-focus)}.kima-notification__close[data-v-2f39bef8]:active:not(:disabled):not([aria-disabled=true]):after{opacity:var(--kima-state-pressed)}.kima-notification__close[data-v-2f39bef8]:focus-visible{outline:var(--kima-focus-ring-width) solid var(--kima-color-primary);outline-offset:var(--kima-focus-ring-offset)}.kima-notification__close[data-v-2f39bef8]{position:relative;overflow:hidden}.kima-notification__close[data-v-2f39bef8] .kima-ripple{z-index:2;pointer-events:none;animation:kima-ripple-glow-2f39bef8 var(--kima-duration-slower) linear forwards;background:currentColor;position:absolute;inset:0}.kima-notification__close[data-v-2f39bef8]{transition:background-color var(--kima-duration-effects) var(--kima-curve-standard)}.kima-notification__close[data-v-2f39bef8]:hover{background:color-mix(in srgb, currentColor 12%, var(--kima-color-transparent))}@media (prefers-reduced-motion:reduce){.kima-notification__close[data-v-2f39bef8]{transition:none}.kima-notification-enter-active[data-v-2f39bef8],.kima-notification-leave-active[data-v-2f39bef8]{transition-duration:1ms}.kima-notification-enter-from[data-v-2f39bef8],.kima-notification-leave-to[data-v-2f39bef8]{transform:none}.kima-notification--top[data-v-2f39bef8],.kima-notification--top-center[data-v-2f39bef8],.kima-notification--bottom[data-v-2f39bef8],.kima-notification--bottom-center[data-v-2f39bef8]{transform:translate(-50%)}}@media (width<=600px){.kima-notification--top[data-v-2f39bef8],.kima-notification--top-left[data-v-2f39bef8],.kima-notification--top-center[data-v-2f39bef8],.kima-notification--top-right[data-v-2f39bef8]{top:var(--kima-space-3)}.kima-notification--bottom[data-v-2f39bef8],.kima-notification--bottom-left[data-v-2f39bef8],.kima-notification--bottom-center[data-v-2f39bef8],.kima-notification--bottom-right[data-v-2f39bef8]{bottom:var(--kima-space-3)}.kima-notification--top-left[data-v-2f39bef8],.kima-notification--bottom-left[data-v-2f39bef8]{left:var(--kima-space-3)}.kima-notification--top-right[data-v-2f39bef8],.kima-notification--bottom-right[data-v-2f39bef8]{right:var(--kima-space-3)}}
62
62
  /*$vite$:1*/
63
63
  @keyframes kima-ripple-glow-d62e7dea{0%{opacity:.14}55%{opacity:.1}to{opacity:0}}.kima-pagination[data-v-d62e7dea]{min-width:0;color:var(--kima-color-on-surface);font-family:var(--kima-font-family);font-size:var(--kima-font-size-md);justify-content:center;display:flex}.kima-pagination__list[data-v-d62e7dea]{justify-content:center;align-items:center;gap:var(--kima-space-1);max-width:100%;padding:var(--kima-space-1);display:flex;overflow-x:auto}.kima-pagination__button[data-v-d62e7dea]{min-width:40px;min-height:40px;padding:0 var(--kima-space-2);border-radius:var(--kima-radius-sm);box-sizing:border-box;color:var(--kima-color-on-surface);background:var(--kima-color-transparent);font:inherit;cursor:pointer;border:0;flex:0 0 40px;justify-content:center;align-items:center;display:inline-flex;position:relative}.kima-pagination__button[data-v-d62e7dea]:after{content:"";z-index:1;border-radius:inherit;opacity:0;pointer-events:none;transition:opacity var(--kima-duration-effects) var(--kima-curve-standard);background:currentColor;position:absolute;inset:0}.kima-pagination__button[data-v-d62e7dea]>*{z-index:2;position:relative}.kima-pagination__button[data-v-d62e7dea]:hover:not(:disabled):not([aria-disabled=true]):after{opacity:var(--kima-state-hover)}.kima-pagination__button[data-v-d62e7dea]:focus-visible:after{opacity:var(--kima-state-focus)}.kima-pagination__button[data-v-d62e7dea]:active:not(:disabled):not([aria-disabled=true]):after{opacity:var(--kima-state-pressed)}.kima-pagination__button[data-v-d62e7dea]{position:relative;overflow:hidden}.kima-pagination__button[data-v-d62e7dea] .kima-ripple{z-index:2;pointer-events:none;animation:kima-ripple-glow-d62e7dea var(--kima-duration-slower) linear forwards;background:currentColor;position:absolute;inset:0}.kima-pagination__button[data-v-d62e7dea]{transition:color var(--kima-duration-effects) var(--kima-curve-standard), background-color var(--kima-duration-effects) var(--kima-curve-standard), border-color var(--kima-duration-effects) var(--kima-curve-standard), box-shadow var(--kima-duration-effects) var(--kima-curve-standard), opacity var(--kima-duration-effects) var(--kima-curve-standard)}.kima-pagination__button[data-v-d62e7dea]:hover:not(:disabled),.kima-pagination__button[data-v-d62e7dea]:focus-visible{background:var(--kima-color-layer-3)}.kima-pagination__button[data-v-d62e7dea]:focus-visible{outline:2px solid var(--kima-color-primary);outline-offset:1px}.kima-pagination__button[aria-current=page][data-v-d62e7dea]{color:var(--kima-color-on-primary-container);background:var(--kima-color-primary-container);font-weight:var(--kima-font-weight-bold)}.kima-pagination__button[aria-current=page][data-v-d62e7dea]:hover:not(:disabled),.kima-pagination__button[aria-current=page][data-v-d62e7dea]:focus-visible{background:var(--kima-color-primary-container-hover)}.kima-pagination__button[data-v-d62e7dea]:disabled{color:var(--kima-color-on-surface-variant);cursor:not-allowed;opacity:var(--kima-opacity-disabled)}.kima-pagination__button[data-v-d62e7dea]:is(.kima-list-enter-active,.kima-list-leave-active){transition:opacity var(--kima-duration-medium) var(--kima-curve-standard), transform var(--kima-duration-medium) var(--kima-curve-emphasized)}.kima-pagination__button.kima-list-move[data-v-d62e7dea]{transition:transform var(--kima-duration-slow) var(--kima-curve-emphasized)}.kima-pagination__button--direction[data-v-d62e7dea]{color:var(--kima-color-primary)}.kima-pagination__ellipsis[data-v-d62e7dea]{min-width:24px;min-height:40px;color:var(--kima-color-on-surface-variant);-webkit-user-select:none;user-select:none;justify-content:center;align-items:center;display:inline-flex}.kima-pagination--compact .kima-pagination__button[data-v-d62e7dea]{flex-basis:32px;min-width:32px;min-height:32px}.kima-pagination--compact .kima-pagination__ellipsis[data-v-d62e7dea]{min-height:32px}@media (width<=480px){.kima-pagination__list[data-v-d62e7dea]{justify-content:flex-start}}
64
64
  /*$vite$:1*/
@@ -23,7 +23,7 @@
23
23
  @import "../components/foundation/grid.ce.vue_vue_type_style_index_0_scoped_c1ea1f88_lang.css";
24
24
  @import "../components/core/icon-button.ce.vue_vue_type_style_index_0_scoped_a18b4478_lang.css";
25
25
  @import "../components/core/menu.ce.vue_vue_type_style_index_0_scoped_597751c9_lang.css";
26
- @import "../components/core/notification.ce.vue_vue_type_style_index_0_scoped_1c6f5605_lang.css";
26
+ @import "../components/core/notification.ce.vue_vue_type_style_index_0_scoped_2f39bef8_lang.css";
27
27
  @import "../components/input/number-field.ce.vue_vue_type_style_index_0_scoped_9eb508b4_lang.css";
28
28
  @import "../components/core/pagination.ce.vue_vue_type_style_index_0_scoped_d62e7dea_lang.css";
29
29
  @import "../components/interaction/popover.ce.vue_vue_type_style_index_0_scoped_be7411d6_lang.css";
@@ -1,4 +1,4 @@
1
1
  @import "_tokens.css";
2
2
  @import "../components/core/icon.ce.vue_vue_type_style_index_0_scoped_5c94f2ca_lang.css";
3
- @import "../components/core/notification.ce.vue_vue_type_style_index_0_scoped_1c6f5605_lang.css";
3
+ @import "../components/core/notification.ce.vue_vue_type_style_index_0_scoped_2f39bef8_lang.css";
4
4
  @import "../components/utility/notification-queue.ce.vue_vue_type_style_index_0_scoped_75bf46e7_lang.css";
@@ -1,3 +1,3 @@
1
1
  @import "_tokens.css";
2
2
  @import "../components/core/icon.ce.vue_vue_type_style_index_0_scoped_5c94f2ca_lang.css";
3
- @import "../components/core/notification.ce.vue_vue_type_style_index_0_scoped_1c6f5605_lang.css";
3
+ @import "../components/core/notification.ce.vue_vue_type_style_index_0_scoped_2f39bef8_lang.css";
@@ -1,9 +1,10 @@
1
1
  import e from "../../_virtual/_plugin-vue_export-helper.js";
2
2
  import t from "./icon.ce.js";
3
- import { presenceTransition as ee } from "../../utils/motion.js";
3
+ import { presenceTransition as n } from "../../utils/motion.js";
4
+ import { useContentMotion as r } from "../../utils/content-motion.js";
4
5
  /* empty css */
5
- import { Transition as n, computed as r, createBlock as te, createCommentVNode as i, createElementBlock as a, createElementVNode as ne, createVNode as o, getCurrentInstance as s, mergeProps as c, onBeforeUnmount as l, onMounted as u, openBlock as d, ref as f, renderSlot as p, toDisplayString as m, unref as h, useAttrs as g, useHost as _, useId as re, watch as v, withCtx as y } from "vue";
6
- import { Alert02Icon as ie, AlertCircleIcon as ae, Cancel01Icon as oe, CheckmarkCircle02Icon as b, InformationCircleIcon as x } from "@hugeicons/core-free-icons";
6
+ import { Transition as ee, computed as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createElementVNode as te, createVNode as c, getCurrentInstance as l, mergeProps as u, onBeforeUnmount as d, onMounted as f, openBlock as p, ref as m, renderSlot as h, toDisplayString as g, unref as _, useAttrs as ne, useHost as re, useId as v, watch as y, withCtx as b } from "vue";
7
+ import { Alert02Icon as ie, AlertCircleIcon as ae, Cancel01Icon as oe, CheckmarkCircle02Icon as se, InformationCircleIcon as x } from "@hugeicons/core-free-icons";
7
8
  // src/components/core/notification.ce.vue
8
9
  var S = [
9
10
  "role",
@@ -63,13 +64,19 @@ var S = [
63
64
  },
64
65
  emits: ["update:open", "close"],
65
66
  setup(e, { emit: E }) {
66
- let D = e, O = E, k = g(), A = s().ce ? _() : null, j = f(D.open), M = re(), N = `kima-notification-${M}-title`, P = `kima-notification-${M}-message`, F = null, I = !1, L = 0, R = 0, z = !1, B = !1, V = r(() => [
67
+ let D = e, O = E, k = ne(), A = l().ce ? re() : null, j = m(D.open), M = v(), N = `kima-notification-${M}-title`, P = `kima-notification-${M}-message`, F = null, I = m(null);
68
+ r(I, () => [
69
+ D.heading,
70
+ D.message,
71
+ D.variant
72
+ ], { opacity: !1 });
73
+ let L = !1, R = 0, z = 0, B = !1, V = !1, H = i(() => [
67
74
  "neutral",
68
75
  "info",
69
76
  "success",
70
77
  "warning",
71
78
  "danger"
72
- ].includes(D.variant) ? D.variant : "neutral"), H = r(() => [
79
+ ].includes(D.variant) ? D.variant : "neutral"), U = i(() => [
73
80
  "top",
74
81
  "top-left",
75
82
  "top-center",
@@ -78,17 +85,17 @@ var S = [
78
85
  "bottom-left",
79
86
  "bottom-center",
80
87
  "bottom-right"
81
- ].includes(D.position) ? D.position : "top-right"), U = r(() => ["warning", "danger"].includes(V.value) ? "alert" : "status"), W = r(() => U.value === "alert" ? "assertive" : "polite"), G = r(() => Number.isFinite(D.duration) ? Math.max(0, D.duration) : 0), K = {
88
+ ].includes(D.position) ? D.position : "top-right"), W = i(() => ["warning", "danger"].includes(H.value) ? "alert" : "status"), G = i(() => W.value === "alert" ? "assertive" : "polite"), K = i(() => Number.isFinite(D.duration) ? Math.max(0, D.duration) : 0), ce = {
82
89
  info: x,
83
- success: b,
90
+ success: se,
84
91
  warning: ie,
85
92
  danger: ae
86
- }, q = r(() => D.icon ?? K[V.value] ?? null), se = r(() => [
93
+ }, q = i(() => D.icon ?? ce[H.value] ?? null), le = i(() => [
87
94
  "right",
88
95
  "left",
89
96
  "up",
90
97
  "down"
91
- ].includes(D.slide) ? D.slide : H.value.includes("right") ? "right" : H.value.includes("left") ? "left" : H.value.startsWith("bottom") ? "down" : "up");
98
+ ].includes(D.slide) ? D.slide : U.value.includes("right") ? "right" : U.value.includes("left") ? "left" : U.value.startsWith("bottom") ? "down" : "up");
92
99
  function J() {
93
100
  F !== null && (clearTimeout(F), F = null);
94
101
  }
@@ -96,83 +103,87 @@ var S = [
96
103
  j.value && (J(), j.value = !1, O("update:open", !1), O("close", e));
97
104
  }
98
105
  function X() {
99
- J(), I && j.value && G.value !== 0 && !z && !B && (R = Date.now(), F = setTimeout(() => {
106
+ J(), L && j.value && K.value !== 0 && !B && !V && (z = Date.now(), F = setTimeout(() => {
100
107
  F = null, Y("timeout");
101
- }, L));
108
+ }, R));
102
109
  }
103
110
  function Z() {
104
- F !== null && (L = Math.max(0, L - (Date.now() - R)), J());
111
+ F !== null && (R = Math.max(0, R - (Date.now() - z)), J());
105
112
  }
106
113
  function Q(e) {
107
- z = e, e ? Z() : X();
114
+ B = e, e ? Z() : X();
108
115
  }
109
116
  function $(e) {
110
- B = e.type === "focusin" || e.currentTarget.contains(e.relatedTarget), B ? Z() : X();
117
+ V = e.type === "focusin" || e.currentTarget.contains(e.relatedTarget), V ? Z() : X();
111
118
  }
112
- return v(() => D.open, (e) => {
119
+ return y(() => D.open, (e) => {
113
120
  j.value = e;
114
- }), v([j, G], ([e]) => {
115
- L = G.value, e ? X() : (J(), z = !1, B = !1);
116
- }, { immediate: !0 }), u(() => {
117
- I = !0, L = G.value, X();
118
- }), l(() => {
119
- I = !1, J();
120
- }), (r, s) => (d(), te(n, c({
121
+ }), y([j, K], ([e]) => {
122
+ R = K.value, e ? X() : (J(), B = !1, V = !1);
123
+ }, { immediate: !0 }), f(() => {
124
+ L = !0, R = K.value, X();
125
+ }), d(() => {
126
+ L = !1, J();
127
+ }), (r, i) => (p(), a(ee, u({
121
128
  name: "kima-notification",
122
129
  css: !e.stacked
123
- }, h(ee)), {
124
- default: y(() => [e.stacked || j.value ? (d(), a("div", c({ key: 0 }, {
125
- ...h(k),
126
- id: h(A) ? void 0 : h(k).id,
130
+ }, _(n)), {
131
+ default: b(() => [e.stacked || j.value ? (p(), s("div", u({
132
+ key: 0,
133
+ ref_key: "notificationRoot",
134
+ ref: I
135
+ }, {
136
+ ..._(k),
137
+ id: _(A) ? void 0 : _(k).id,
127
138
  title: void 0
128
139
  }, {
129
140
  class: ["kima-notification", [
130
- `kima-notification--${V.value}`,
141
+ `kima-notification--${H.value}`,
131
142
  { "kima-notification--stacked": e.stacked },
132
- e.stacked ? `kima-notification--slide-${se.value}` : `kima-notification--${H.value}`
143
+ e.stacked ? `kima-notification--slide-${le.value}` : `kima-notification--${U.value}`
133
144
  ]],
134
- role: U.value,
135
- "aria-live": W.value,
145
+ role: W.value,
146
+ "aria-live": G.value,
136
147
  "aria-atomic": "true",
137
- "aria-labelledby": e.heading || h(k).title ? N : void 0,
148
+ "aria-labelledby": e.heading || _(k).title ? N : void 0,
138
149
  "aria-describedby": e.message ? P : void 0,
139
- onMouseenter: s[1] ||= (e) => Q(!0),
140
- onMouseleave: s[2] ||= (e) => Q(!1),
150
+ onMouseenter: i[1] ||= (e) => Q(!0),
151
+ onMouseleave: i[2] ||= (e) => Q(!1),
141
152
  onFocusin: $,
142
153
  onFocusout: $
143
154
  }), [
144
- q.value ? (d(), a("span", C, [o(t, {
155
+ q.value ? (p(), s("span", C, [c(t, {
145
156
  icon: q.value,
146
157
  size: 22
147
- }, null, 8, ["icon"])])) : i("", !0),
148
- ne("div", w, [
149
- e.heading || h(k).title ? (d(), a("strong", {
158
+ }, null, 8, ["icon"])])) : o("", !0),
159
+ te("div", w, [
160
+ e.heading || _(k).title ? (p(), s("strong", {
150
161
  key: 0,
151
162
  id: N,
152
163
  class: "kima-notification__title"
153
- }, m(e.heading || h(k).title), 1)) : i("", !0),
154
- e.message ? (d(), a("span", {
164
+ }, g(e.heading || _(k).title), 1)) : o("", !0),
165
+ e.message ? (p(), s("span", {
155
166
  key: 1,
156
167
  id: P,
157
168
  class: "kima-notification__message"
158
- }, m(e.message), 1)) : i("", !0),
159
- r.$slots.action || h(A) ? (d(), a("div", T, [p(r.$slots, "action", {}, void 0, !0)])) : i("", !0)
169
+ }, g(e.message), 1)) : o("", !0),
170
+ r.$slots.action || _(A) ? (p(), s("div", T, [h(r.$slots, "action", {}, void 0, !0)])) : o("", !0)
160
171
  ]),
161
- e.closable ? (d(), a("button", {
172
+ e.closable ? (p(), s("button", {
162
173
  key: 1,
163
174
  class: "kima-notification__close",
164
175
  type: "button",
165
176
  "aria-label": "关闭通知",
166
177
  title: "关闭通知",
167
- onClick: s[0] ||= (e) => Y("button")
168
- }, [o(t, {
169
- icon: h(oe),
178
+ onClick: i[0] ||= (e) => Y("button")
179
+ }, [c(t, {
180
+ icon: _(oe),
170
181
  size: 18,
171
182
  "aria-hidden": "true"
172
- }, null, 8, ["icon"])])) : i("", !0)
173
- ], 16, S)) : i("", !0)]),
183
+ }, null, 8, ["icon"])])) : o("", !0)
184
+ ], 16, S)) : o("", !0)]),
174
185
  _: 3
175
186
  }, 16, ["css"]));
176
187
  }
177
- }), [["__scopeId", "data-v-1c6f5605"]]);
188
+ }), [["__scopeId", "data-v-2f39bef8"]]);
178
189
  export { E as default };
@@ -23,18 +23,18 @@ function s(t, a, { opacity: s = !0, collection: c = !1 } = {}) {
23
23
  g && (e.style.height = g.height, e.style.overflow = g.overflow, e.style.boxSizing = g.boxSizing, s && (e.style.opacity = g.opacity), g = void 0, h = !1);
24
24
  }
25
25
  i(a, () => {
26
- let e = o(t);
27
- if (!e) {
26
+ let n = o(t);
27
+ if (!n) {
28
28
  p = 0;
29
29
  return;
30
30
  }
31
- let n = e.ownerDocument.defaultView, r = e.getBoundingClientRect();
32
- p = r.height > 0 ? r.height : 0, m = s ? Number(n.getComputedStyle(e).opacity) : 1, u && (g ??= {
33
- height: e.style.height,
34
- overflow: e.style.overflow,
35
- boxSizing: e.style.boxSizing,
36
- opacity: e.style.opacity
37
- }, u.cancel(), u = void 0, e.style.height = `${p}px`, e.style.boxSizing = "border-box", e.style.overflow = l, s && (e.style.opacity = `${m}`), h = !0);
31
+ let r = n.ownerDocument.defaultView, i = n.getBoundingClientRect();
32
+ p = i.height > 0 ? i.height : 0, m = s ? Number(r.getComputedStyle(n).opacity) : 1, u?.cancel(), u = void 0, (c || p > 0) && !e(n) && n.animate && (g ??= {
33
+ height: n.style.height,
34
+ overflow: n.style.overflow,
35
+ boxSizing: n.style.boxSizing,
36
+ opacity: n.style.opacity
37
+ }, n.style.height = `${p}px`, n.style.boxSizing = "border-box", n.style.overflow = l, s && (n.style.opacity = `${m}`), h = !0);
38
38
  }, {
39
39
  flush: "pre",
40
40
  deep: !0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kernel4632/kima",
3
- "version": "0.9.10",
3
+ "version": "0.9.12",
4
4
  "description": "KIMA (Kinetic, Interaction, Motion, Alive) - a Material 3 style Web UI design system and component library.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -1 +0,0 @@
1
- @keyframes kima-ripple-glow-1c6f5605{0%{opacity:.14}55%{opacity:.1}to{opacity:0}}.kima-notification-enter-active[data-v-1c6f5605]{transition:opacity var(--kima-duration-medium) var(--kima-curve-emphasized), transform var(--kima-duration-medium) var(--kima-curve-emphasized)}.kima-notification-leave-active[data-v-1c6f5605]{pointer-events:none;transition:opacity var(--kima-duration-fast) var(--kima-curve-standard), transform var(--kima-duration-fast) var(--kima-curve-standard)}.kima-notification-enter-from[data-v-1c6f5605],.kima-notification-leave-to[data-v-1c6f5605]{opacity:0}.kima-notification--top-right.kima-notification-enter-from[data-v-1c6f5605],.kima-notification--top-right.kima-notification-leave-to[data-v-1c6f5605],.kima-notification--bottom-right.kima-notification-enter-from[data-v-1c6f5605],.kima-notification--bottom-right.kima-notification-leave-to[data-v-1c6f5605]{transform:translate(calc(100% + 24px))}.kima-notification--top-left.kima-notification-enter-from[data-v-1c6f5605],.kima-notification--top-left.kima-notification-leave-to[data-v-1c6f5605],.kima-notification--bottom-left.kima-notification-enter-from[data-v-1c6f5605],.kima-notification--bottom-left.kima-notification-leave-to[data-v-1c6f5605]{transform:translate(calc(-100% - 24px))}.kima-notification--slide-right.kima-notification-enter-from[data-v-1c6f5605],.kima-notification--slide-right.kima-notification-leave-to[data-v-1c6f5605]{transform:translate(calc(100% + 24px))}.kima-notification--slide-left.kima-notification-enter-from[data-v-1c6f5605],.kima-notification--slide-left.kima-notification-leave-to[data-v-1c6f5605]{transform:translate(calc(-100% - 24px))}.kima-notification--slide-up.kima-notification-enter-from[data-v-1c6f5605],.kima-notification--slide-up.kima-notification-leave-to[data-v-1c6f5605]{transform:translateY(calc(-100% - 24px))}.kima-notification--slide-down.kima-notification-enter-from[data-v-1c6f5605],.kima-notification--slide-down.kima-notification-leave-to[data-v-1c6f5605]{transform:translateY(calc(100% + 24px))}.kima-notification--top.kima-notification-enter-from[data-v-1c6f5605],.kima-notification--top-center.kima-notification-enter-from[data-v-1c6f5605],.kima-notification--top.kima-notification-leave-to[data-v-1c6f5605],.kima-notification--top-center.kima-notification-leave-to[data-v-1c6f5605]{transform:translate(-50%)translateY(calc(-100% - 24px))}.kima-notification--bottom.kima-notification-enter-from[data-v-1c6f5605],.kima-notification--bottom-center.kima-notification-enter-from[data-v-1c6f5605],.kima-notification--bottom.kima-notification-leave-to[data-v-1c6f5605],.kima-notification--bottom-center.kima-notification-leave-to[data-v-1c6f5605]{transform:translate(-50%)translateY(calc(100% + 24px))}.kima-notification[data-v-1c6f5605]{box-sizing:border-box;z-index:1100;align-items:flex-start;gap:var(--kima-space-3);width:min(420px,100vw - 32px);max-height:calc(100dvh - 32px);padding:var(--kima-space-4);border-radius:var(--kima-radius-l);color:var(--kima-color-on-surface);background:var(--kima-color-popup);box-shadow:var(--kima-elevation-4);font-family:var(--kima-font-family);border:0;display:flex;position:fixed;overflow:auto}.kima-notification--stacked[data-v-1c6f5605]{pointer-events:auto;width:100%;position:relative;inset:auto}.kima-notification__icon[data-v-1c6f5605]{width:24px;height:calc(var(--kima-font-size-md) * 1.3);opacity:.9;flex:none;justify-content:center;align-items:center;display:inline-flex}.kima-notification--top[data-v-1c6f5605],.kima-notification--top-center[data-v-1c6f5605],.kima-notification--top-left[data-v-1c6f5605],.kima-notification--top-right[data-v-1c6f5605]{top:var(--kima-space-4)}.kima-notification--bottom[data-v-1c6f5605],.kima-notification--bottom-center[data-v-1c6f5605],.kima-notification--bottom-left[data-v-1c6f5605],.kima-notification--bottom-right[data-v-1c6f5605]{bottom:var(--kima-space-4)}.kima-notification--top[data-v-1c6f5605],.kima-notification--bottom[data-v-1c6f5605],.kima-notification--top-center[data-v-1c6f5605],.kima-notification--bottom-center[data-v-1c6f5605]{left:50%;transform:translate(-50%)}.kima-notification--top-left[data-v-1c6f5605],.kima-notification--bottom-left[data-v-1c6f5605]{left:var(--kima-space-4)}.kima-notification--top-right[data-v-1c6f5605],.kima-notification--bottom-right[data-v-1c6f5605]{right:var(--kima-space-4)}.kima-notification--info[data-v-1c6f5605]{color:var(--kima-color-on-primary-container);background:var(--kima-color-primary-container)}.kima-notification--warning[data-v-1c6f5605]{color:var(--kima-color-on-warning);background:var(--kima-color-warning)}.kima-notification--success[data-v-1c6f5605]{color:var(--kima-color-on-success);background:var(--kima-color-success)}.kima-notification--danger[data-v-1c6f5605]{color:var(--kima-color-on-danger);background:var(--kima-color-danger)}.kima-notification__copy[data-v-1c6f5605]{gap:var(--kima-space-1);overflow-wrap:anywhere;flex-direction:column;flex:auto;min-width:0;display:flex}.kima-notification__title[data-v-1c6f5605]{font-size:var(--kima-font-size-md);font-weight:var(--kima-font-weight-bold);line-height:1.3}.kima-notification__message[data-v-1c6f5605]{font-size:var(--kima-font-size-sm);line-height:1.45}.kima-notification__action[data-v-1c6f5605]{margin-top:var(--kima-space-2);gap:var(--kima-space-2);flex-wrap:wrap;display:flex}.kima-notification__action[data-v-1c6f5605]:empty{display:none}.kima-notification__close[data-v-1c6f5605]{width:32px;height:32px;margin:calc((var(--kima-font-size-md) * 1.3 - 32px) / 2) calc(var(--kima-space-1) * -1) 0 0;border-radius:var(--kima-radius-full);color:inherit;background:var(--kima-color-transparent);cursor:pointer;border:0;flex:none;justify-content:center;align-items:center;padding:0;display:inline-flex;position:relative}.kima-notification__close[data-v-1c6f5605]:after{content:"";z-index:1;border-radius:inherit;opacity:0;pointer-events:none;transition:opacity var(--kima-duration-effects) var(--kima-curve-standard);background:currentColor;position:absolute;inset:0}.kima-notification__close[data-v-1c6f5605]>*{z-index:2;position:relative}.kima-notification__close[data-v-1c6f5605]:hover:not(:disabled):not([aria-disabled=true]):after{opacity:var(--kima-state-hover)}.kima-notification__close[data-v-1c6f5605]:focus-visible:after{opacity:var(--kima-state-focus)}.kima-notification__close[data-v-1c6f5605]:active:not(:disabled):not([aria-disabled=true]):after{opacity:var(--kima-state-pressed)}.kima-notification__close[data-v-1c6f5605]:focus-visible{outline:var(--kima-focus-ring-width) solid var(--kima-color-primary);outline-offset:var(--kima-focus-ring-offset)}.kima-notification__close[data-v-1c6f5605]{position:relative;overflow:hidden}.kima-notification__close[data-v-1c6f5605] .kima-ripple{z-index:2;pointer-events:none;animation:kima-ripple-glow-1c6f5605 var(--kima-duration-slower) linear forwards;background:currentColor;position:absolute;inset:0}.kima-notification__close[data-v-1c6f5605]{transition:background-color var(--kima-duration-effects) var(--kima-curve-standard)}.kima-notification__close[data-v-1c6f5605]:hover{background:color-mix(in srgb, currentColor 12%, var(--kima-color-transparent))}@media (prefers-reduced-motion:reduce){.kima-notification__close[data-v-1c6f5605]{transition:none}.kima-notification-enter-active[data-v-1c6f5605],.kima-notification-leave-active[data-v-1c6f5605]{transition-duration:1ms}.kima-notification-enter-from[data-v-1c6f5605],.kima-notification-leave-to[data-v-1c6f5605]{transform:none}.kima-notification--top[data-v-1c6f5605],.kima-notification--top-center[data-v-1c6f5605],.kima-notification--bottom[data-v-1c6f5605],.kima-notification--bottom-center[data-v-1c6f5605]{transform:translate(-50%)}}@media (width<=600px){.kima-notification--top[data-v-1c6f5605],.kima-notification--top-left[data-v-1c6f5605],.kima-notification--top-center[data-v-1c6f5605],.kima-notification--top-right[data-v-1c6f5605]{top:var(--kima-space-3)}.kima-notification--bottom[data-v-1c6f5605],.kima-notification--bottom-left[data-v-1c6f5605],.kima-notification--bottom-center[data-v-1c6f5605],.kima-notification--bottom-right[data-v-1c6f5605]{bottom:var(--kima-space-3)}.kima-notification--top-left[data-v-1c6f5605],.kima-notification--bottom-left[data-v-1c6f5605]{left:var(--kima-space-3)}.kima-notification--top-right[data-v-1c6f5605],.kima-notification--bottom-right[data-v-1c6f5605]{right:var(--kima-space-3)}}