elements-kit 0.23.0 → 0.24.0

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.
Files changed (47) hide show
  1. package/dist/await.d.mts +1 -1
  2. package/dist/{children-BbHF-Dew.d.mts → children-CYLVeDZc.d.mts} +1 -1
  3. package/dist/{element-w3nDE2S5.mjs → element-FFqOLWQu.mjs} +41 -3
  4. package/dist/for.d.mts +1 -1
  5. package/dist/for.mjs +1 -1
  6. package/dist/{fragment-DEhI5x0f.mjs → fragment-i-S0RyT4.mjs} +1 -1
  7. package/dist/hydrate/index.mjs +1 -1
  8. package/dist/{hydrate-CrVzu88K.mjs → hydrate-DZ_o7akg.mjs} +2 -2
  9. package/dist/{index-BR8XVkck.d.mts → index-CzKKJCCK.d.mts} +2 -2
  10. package/dist/integrations/astro-client.mjs +2 -2
  11. package/dist/integrations/astro-server.mjs +2 -2
  12. package/dist/integrations/astro-slots.mjs +2 -2
  13. package/dist/integrations/react.d.mts +1 -1
  14. package/dist/jsx-runtime/index.d.mts +2 -2
  15. package/dist/jsx-runtime/index.mjs +2 -2
  16. package/dist/server/index.mjs +1 -1
  17. package/dist/{server-D7ffi7b_.mjs → server-C5Ka5iG2.mjs} +2 -2
  18. package/dist/signals/index.d.mts +1 -1
  19. package/dist/signals/index.mjs +3 -3
  20. package/dist/ui/styles/index.css +1 -1
  21. package/dist/ui/styles/material.css +1 -1
  22. package/dist/utilities/active-element.d.mts +1 -1
  23. package/dist/utilities/async.d.mts +1 -1
  24. package/dist/utilities/debounced.d.mts +1 -1
  25. package/dist/utilities/element-rect.d.mts +1 -1
  26. package/dist/utilities/element-scroll.d.mts +1 -1
  27. package/dist/utilities/event-driven.d.mts +1 -1
  28. package/dist/utilities/event-listener.d.mts +1 -1
  29. package/dist/utilities/focus-within.d.mts +1 -1
  30. package/dist/utilities/hover.d.mts +1 -1
  31. package/dist/utilities/interval.d.mts +1 -1
  32. package/dist/utilities/location.d.mts +1 -1
  33. package/dist/utilities/media-devices.d.mts +1 -1
  34. package/dist/utilities/media-player.d.mts +1 -1
  35. package/dist/utilities/media-query.d.mts +1 -1
  36. package/dist/utilities/network.d.mts +1 -1
  37. package/dist/utilities/orientation.d.mts +1 -1
  38. package/dist/utilities/previous.d.mts +1 -1
  39. package/dist/utilities/promise.d.mts +1 -1
  40. package/dist/utilities/routing.d.mts +1 -1
  41. package/dist/utilities/search-params.d.mts +1 -1
  42. package/dist/utilities/storage.d.mts +1 -1
  43. package/dist/utilities/throttled.d.mts +1 -1
  44. package/dist/utilities/timeout.d.mts +1 -1
  45. package/dist/utilities/window-focus.d.mts +1 -1
  46. package/dist/utilities/window-size.d.mts +1 -1
  47. package/package.json +1 -1
package/dist/await.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { s as Props, t as Children } from "./children-BbHF-Dew.mjs";
1
+ import { s as Props, t as Children } from "./children-CYLVeDZc.mjs";
2
2
 
3
3
  //#region src/await.d.ts
4
4
  /** @internal Metadata stamped on an Await region getter (see claim walk). */
@@ -1,6 +1,6 @@
1
1
  import { n as AttrChangeHandler, t as ATTRIBUTES } from "./attributes-DILeh3-s.mjs";
2
2
  import { i as PropertiesOf, n as CustomElementRegistry, r as EventsOf } from "./custom-elements-CdpilMDu.mjs";
3
- import { r as MaybeReactive } from "./index-BR8XVkck.mjs";
3
+ import { r as MaybeReactive } from "./index-CzKKJCCK.mjs";
4
4
  import * as CSS from "csstype";
5
5
  import { JSX } from "dom-expressions/src/jsx";
6
6
 
@@ -396,6 +396,8 @@ function ensureFlatArray(raw) {
396
396
  function applyProps(node, props) {
397
397
  const entries = Object.entries(props);
398
398
  if (entries.length === 0) return;
399
+ const base = (k) => k === "class" || k === "style" ? 0 : 1;
400
+ entries.sort((a, b) => base(a[0]) - base(b[0]));
399
401
  for (const [key, value] of entries) {
400
402
  if (isChildrenProperty(node, key)) {
401
403
  applyChildren(node, key, value);
@@ -432,8 +434,9 @@ function setProp(node, key, value) {
432
434
  return;
433
435
  }
434
436
  if (ns === "style") {
435
- if (value == null || value === false) node.style.removeProperty(name);
436
- else node.style.setProperty(name, String(value));
437
+ const css = value == null || value === false ? null : String(value);
438
+ setStyleProperty(node, name, css);
439
+ nsStyles(node).set(name, css);
437
440
  return;
438
441
  }
439
442
  return;
@@ -445,7 +448,7 @@ function setProp(node, key, value) {
445
448
  }
446
449
  }
447
450
  if (key === "class") {
448
- node.className = String(value ?? "");
451
+ applyClass(node, value);
449
452
  return;
450
453
  }
451
454
  if (key === "style") {
@@ -474,11 +477,46 @@ function setProp(node, key, value) {
474
477
  }
475
478
  setAttribute(node, key, value);
476
479
  }
480
+ /** Tokens the bare `class` prop last wrote, per element. */
481
+ const ownedClasses = /* @__PURE__ */ new WeakMap();
482
+ /**
483
+ * Apply the bare `class` prop without clobbering `class:*` toggles. Assigning
484
+ * `className` would drop them — and drop them again on every reactive update —
485
+ * so only the tokens this prop owns are diffed. Matches the server renderer,
486
+ * which merges `class` and `class:*` into one attribute.
487
+ */
488
+ function applyClass(el, value) {
489
+ const next = String(value ?? "").split(/\s+/).filter(Boolean);
490
+ const prev = ownedClasses.get(el);
491
+ if (prev) {
492
+ for (const c of prev) if (!next.includes(c)) el.classList.remove(c);
493
+ }
494
+ for (const c of next) el.classList.add(c);
495
+ ownedClasses.set(el, next);
496
+ }
497
+ /** Properties set through `style:*`, per element, so they can be re-applied. */
498
+ const styleNamespaces = /* @__PURE__ */ new WeakMap();
499
+ function nsStyles(el) {
500
+ let m = styleNamespaces.get(el);
501
+ if (!m) styleNamespaces.set(el, m = /* @__PURE__ */ new Map());
502
+ return m;
503
+ }
504
+ function setStyleProperty(el, name, css) {
505
+ if (css === null) el.style.removeProperty(name);
506
+ else el.style.setProperty(name, css);
507
+ }
508
+ /**
509
+ * Apply the bare `style` prop, then restore any `style:*` properties. The string
510
+ * form assigns `cssText`, which drops them — and would drop them again on every
511
+ * reactive update. Matches the server, which merges `style` and `style:*`.
512
+ */
477
513
  function applyStyle(el, value) {
478
514
  const s = el.style;
479
515
  if (!s) return;
480
516
  if (typeof value === "string") s.cssText = value;
481
517
  else if (value && typeof value === "object") Object.assign(s, value);
518
+ const ns = styleNamespaces.get(el);
519
+ if (ns) for (const [name, css] of ns) setStyleProperty(el, name, css);
482
520
  }
483
521
  function setAttribute(el, key, value) {
484
522
  if (value == null || value === false) {
package/dist/for.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { o as MaybeReactiveProps } from "./children-BbHF-Dew.mjs";
1
+ import { o as MaybeReactiveProps } from "./children-CYLVeDZc.mjs";
2
2
 
3
3
  //#region src/for.d.ts
4
4
  type KeyFn<T> = (item: T, index: number) => string | number;
package/dist/for.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import { C as untracked, S as trigger, _ as onCleanup, d as effectScope, u as effect, x as signal } from "./lib-DYypKhxk.mjs";
2
2
  import "./signals/index.mjs";
3
- import { n as disposeElement } from "./element-w3nDE2S5.mjs";
3
+ import { n as disposeElement } from "./element-FFqOLWQu.mjs";
4
4
  //#region src/for.ts
5
5
  /**
6
6
  * Keyed list renderer. See {@link ForProps} for prop details.
@@ -1,6 +1,6 @@
1
1
  import { _ as onCleanup, u as effect } from "./lib-DYypKhxk.mjs";
2
2
  import "./signals/index.mjs";
3
- import { a as mountChild } from "./element-w3nDE2S5.mjs";
3
+ import { a as mountChild } from "./element-FFqOLWQu.mjs";
4
4
  import { Slot } from "./slot.mjs";
5
5
  //#region src/jsx-runtime/fragment.ts
6
6
  /**
@@ -1,2 +1,2 @@
1
- import { t as hydrate } from "../hydrate-CrVzu88K.mjs";
1
+ import { t as hydrate } from "../hydrate-DZ_o7akg.mjs";
2
2
  export { hydrate };
@@ -2,10 +2,10 @@ import { C as untracked, _ as onCleanup, d as effectScope, n as CLAIM, t as ASYN
2
2
  import { isReactive } from "./signals/index.mjs";
3
3
  import { isReactivePromiseLike } from "./utilities/promise.mjs";
4
4
  import { flushDeferredAsyncRuns, isAsyncLike } from "./utilities/async.mjs";
5
- import { i as applyProps, o as resolveChild, r as setRenderer, t as createElement } from "./element-w3nDE2S5.mjs";
5
+ import { i as applyProps, o as resolveChild, r as setRenderer, t as createElement } from "./element-FFqOLWQu.mjs";
6
6
  import { Slot } from "./slot.mjs";
7
7
  import { For, isForComponent } from "./for.mjs";
8
- import { n as isFragmentComponent, r as parseHtml, t as Fragment } from "./fragment-DEhI5x0f.mjs";
8
+ import { n as isFragmentComponent, r as parseHtml, t as Fragment } from "./fragment-i-S0RyT4.mjs";
9
9
  //#region src/hydrate/claim.ts
10
10
  let hydrationContext = null;
11
11
  function setHydrationContext(ctx) {
@@ -373,8 +373,8 @@ type NoArgFnProps<P> = { [K in keyof P]: ArgCount<P[K]> extends 0 ? P[K] : ArgFn
373
373
  * components their props untouched.
374
374
  *
375
375
  * Every key is callable, including one the caller omitted. A getter is always
376
- * truthy, so defaults go on the call: `props.excited() ?? "…"`. Read a bag by
377
- * calling the key {@link resolve} is for raw props.
376
+ * truthy, so defaults go on the call: `props.excited() ?? "…"`. Keys are
377
+ * branded sources, so they keep working when forwarded to a child component.
378
378
  *
379
379
  * Function props are the limit: a prop taking arguments is rejected, and a
380
380
  * zero-arg one types as its return value. Read those off the raw props.
@@ -1,6 +1,6 @@
1
- import { t as createElement } from "../element-w3nDE2S5.mjs";
1
+ import { t as createElement } from "../element-FFqOLWQu.mjs";
2
2
  import { render } from "../render.mjs";
3
- import { t as hydrate } from "../hydrate-CrVzu88K.mjs";
3
+ import { t as hydrate } from "../hydrate-DZ_o7akg.mjs";
4
4
  import { withSlotProps } from "./astro-slots.mjs";
5
5
  //#region src/integrations/astro-client.ts
6
6
  /**
@@ -1,7 +1,7 @@
1
1
  import { y as setInertEffects } from "../lib-DYypKhxk.mjs";
2
- import { r as setRenderer, t as createElement } from "../element-w3nDE2S5.mjs";
2
+ import { r as setRenderer, t as createElement } from "../element-FFqOLWQu.mjs";
3
3
  import { withSlotProps } from "./astro-slots.mjs";
4
- import { i as serverJsx, n as renderToString, r as SNode } from "../server-D7ffi7b_.mjs";
4
+ import { i as serverJsx, n as renderToString, r as SNode } from "../server-C5Ka5iG2.mjs";
5
5
  //#region src/integrations/astro-server.ts
6
6
  /**
7
7
  * Decide whether `Component` is an elements-kit component. Invoked by Astro
@@ -1,5 +1,5 @@
1
- import { t as createElement } from "../element-w3nDE2S5.mjs";
2
- import { t as Fragment } from "../fragment-DEhI5x0f.mjs";
1
+ import { t as createElement } from "../element-FFqOLWQu.mjs";
2
+ import { t as Fragment } from "../fragment-i-S0RyT4.mjs";
3
3
  //#region src/integrations/astro-slots.ts
4
4
  /**
5
5
  * @internal Map Astro's pre-rendered slot HTML (`Record<name, html>`) into
@@ -1,4 +1,4 @@
1
- import { t as Computed } from "../index-BR8XVkck.mjs";
1
+ import { t as Computed } from "../index-CzKKJCCK.mjs";
2
2
 
3
3
  //#region src/integrations/react.d.ts
4
4
  /**
@@ -1,3 +1,3 @@
1
- import { a as Fragment, c as PropsOf, i as JSX, l as Require, n as ComponentClass, o as MaybeReactiveProps, r as ComponentFn, s as Props, t as Children, u as createElement } from "../children-BbHF-Dew.mjs";
2
- import { n as ComputedProps, r as MaybeReactive } from "../index-BR8XVkck.mjs";
1
+ import { a as Fragment, c as PropsOf, i as JSX, l as Require, n as ComponentClass, o as MaybeReactiveProps, r as ComponentFn, s as Props, t as Children, u as createElement } from "../children-CYLVeDZc.mjs";
2
+ import { n as ComputedProps, r as MaybeReactive } from "../index-CzKKJCCK.mjs";
3
3
  export { type Children, ComponentClass, ComponentFn, type ComputedProps, Fragment, JSX, type MaybeReactive, type MaybeReactiveProps, type Props, type PropsOf, type Require, createElement as h, createElement as jsx, createElement as jsxDEV, createElement as jsxs };
@@ -1,3 +1,3 @@
1
- import { t as createElement } from "../element-w3nDE2S5.mjs";
2
- import { t as Fragment } from "../fragment-DEhI5x0f.mjs";
1
+ import { t as createElement } from "../element-FFqOLWQu.mjs";
2
+ import { t as Fragment } from "../fragment-i-S0RyT4.mjs";
3
3
  export { Fragment, createElement as h, createElement as jsx, createElement as jsxDEV, createElement as jsxs };
@@ -1,2 +1,2 @@
1
- import { n as renderToString, t as renderToStream } from "../server-D7ffi7b_.mjs";
1
+ import { n as renderToString, t as renderToStream } from "../server-C5Ka5iG2.mjs";
2
2
  export { renderToStream, renderToString };
@@ -2,9 +2,9 @@ import { C as untracked, y as setInertEffects } from "./lib-DYypKhxk.mjs";
2
2
  import { isReactive } from "./signals/index.mjs";
3
3
  import { isReactivePromiseLike } from "./utilities/promise.mjs";
4
4
  import { isAsyncLike } from "./utilities/async.mjs";
5
- import { c as BooleanAttributes, l as ChildProperties, r as setRenderer, s as AttrAliases, u as Properties } from "./element-w3nDE2S5.mjs";
5
+ import { c as BooleanAttributes, l as ChildProperties, r as setRenderer, s as AttrAliases, u as Properties } from "./element-FFqOLWQu.mjs";
6
6
  import { isForComponent } from "./for.mjs";
7
- import { n as isFragmentComponent } from "./fragment-DEhI5x0f.mjs";
7
+ import { n as isFragmentComponent } from "./fragment-i-S0RyT4.mjs";
8
8
  //#region src/server/escape.ts
9
9
  function escapeDelim(s, delim, escDelim) {
10
10
  let iDelim = s.indexOf(delim);
@@ -1,2 +1,2 @@
1
- import { C as isSignal, D as untracked, E as trigger, S as isEffectScope, T as signal, _ as computed, a as Updater, b as isComputed, c as reactive, d as COMPUTED, f as EFFECT, g as batch, h as SIGNAL, i as Signal, l as resolve, m as SEED, n as ComputedProps, o as computedProps, p as EFFECT_SCOPE, r as MaybeReactive, s as isReactive, t as Computed, u as CLAIM, v as effect, w as onCleanup, x as isEffect, y as effectScope } from "../index-BR8XVkck.mjs";
1
+ import { C as isSignal, D as untracked, E as trigger, S as isEffectScope, T as signal, _ as computed, a as Updater, b as isComputed, c as reactive, d as COMPUTED, f as EFFECT, g as batch, h as SIGNAL, i as Signal, l as resolve, m as SEED, n as ComputedProps, o as computedProps, p as EFFECT_SCOPE, r as MaybeReactive, s as isReactive, t as Computed, u as CLAIM, v as effect, w as onCleanup, x as isEffect, y as effectScope } from "../index-CzKKJCCK.mjs";
2
2
  export { CLAIM, COMPUTED, Computed, ComputedProps, EFFECT, EFFECT_SCOPE, MaybeReactive, SEED, SIGNAL, Signal, Updater, batch, computed, computedProps, effect, effectScope, isComputed, isEffect, isEffectScope, isReactive, isSignal, onCleanup, reactive, resolve, signal, trigger, untracked };
@@ -101,8 +101,8 @@ const COMPUTED_PROPS = Symbol.for("elements-kit.computed-props");
101
101
  * components their props untouched.
102
102
  *
103
103
  * Every key is callable, including one the caller omitted. A getter is always
104
- * truthy, so defaults go on the call: `props.excited() ?? "…"`. Read a bag by
105
- * calling the key {@link resolve} is for raw props.
104
+ * truthy, so defaults go on the call: `props.excited() ?? "…"`. Keys are
105
+ * branded sources, so they keep working when forwarded to a child component.
106
106
  *
107
107
  * Function props are the limit: a prop taking arguments is rejected, and a
108
108
  * zero-arg one types as its return value. Read those off the raw props.
@@ -124,7 +124,7 @@ function computedProps(raw) {
124
124
  let getter = cache.get(key);
125
125
  if (!getter) {
126
126
  const v = raw[key];
127
- getter = isReactive(v) ? v : () => v;
127
+ getter = isReactive(v) ? v : computed(() => v);
128
128
  cache.set(key, getter);
129
129
  }
130
130
  return getter;
@@ -424,7 +424,7 @@
424
424
 
425
425
  :is(.dark, .dark-theme) {
426
426
  --color-material-solid: var(--neutral-2);
427
- --color-material-translucent: var(--black-a7);
427
+ --color-material-translucent: var(--neutral-a3);
428
428
  }
429
429
 
430
430
  :where([data-material-background="solid"]) {
@@ -5,7 +5,7 @@
5
5
 
6
6
  :is(.dark, .dark-theme) {
7
7
  --color-material-solid: var(--neutral-2);
8
- --color-material-translucent: var(--black-a7);
8
+ --color-material-translucent: var(--neutral-a3);
9
9
  }
10
10
 
11
11
  :where([data-material-background="solid"]) {
@@ -1,4 +1,4 @@
1
- import { t as Computed } from "../index-BR8XVkck.mjs";
1
+ import { t as Computed } from "../index-CzKKJCCK.mjs";
2
2
 
3
3
  //#region src/utilities/active-element.d.ts
4
4
  declare const activeElement: Computed<Element | null>;
@@ -1,4 +1,4 @@
1
- import { m as SEED, r as MaybeReactive, u as CLAIM } from "../index-BR8XVkck.mjs";
1
+ import { m as SEED, r as MaybeReactive, u as CLAIM } from "../index-CzKKJCCK.mjs";
2
2
  import { ComputedPromise } from "./promise.mjs";
3
3
 
4
4
  //#region src/utilities/async.d.ts
@@ -1,4 +1,4 @@
1
- import { t as Computed } from "../index-BR8XVkck.mjs";
1
+ import { t as Computed } from "../index-CzKKJCCK.mjs";
2
2
 
3
3
  //#region src/utilities/debounced.d.ts
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { t as Computed } from "../index-BR8XVkck.mjs";
1
+ import { t as Computed } from "../index-CzKKJCCK.mjs";
2
2
 
3
3
  //#region src/utilities/element-rect.d.ts
4
4
  type RectResult = {
@@ -1,4 +1,4 @@
1
- import { i as Signal } from "../index-BR8XVkck.mjs";
1
+ import { i as Signal } from "../index-CzKKJCCK.mjs";
2
2
 
3
3
  //#region src/utilities/element-scroll.d.ts
4
4
  type ElementScrollResult = {
@@ -1,4 +1,4 @@
1
- import { i as Signal, t as Computed } from "../index-BR8XVkck.mjs";
1
+ import { i as Signal, t as Computed } from "../index-CzKKJCCK.mjs";
2
2
 
3
3
  //#region src/utilities/event-driven.d.ts
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { t as Computed } from "../index-BR8XVkck.mjs";
1
+ import { t as Computed } from "../index-CzKKJCCK.mjs";
2
2
 
3
3
  //#region src/utilities/event-listener.d.ts
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { t as Computed } from "../index-BR8XVkck.mjs";
1
+ import { t as Computed } from "../index-CzKKJCCK.mjs";
2
2
 
3
3
  //#region src/utilities/focus-within.d.ts
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { t as Computed } from "../index-BR8XVkck.mjs";
1
+ import { t as Computed } from "../index-CzKKJCCK.mjs";
2
2
 
3
3
  //#region src/utilities/hover.d.ts
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { t as Computed } from "../index-BR8XVkck.mjs";
1
+ import { t as Computed } from "../index-CzKKJCCK.mjs";
2
2
 
3
3
  //#region src/utilities/interval.d.ts
4
4
  type IntervalResult = {
@@ -1,4 +1,4 @@
1
- import { t as Computed } from "../index-BR8XVkck.mjs";
1
+ import { t as Computed } from "../index-CzKKJCCK.mjs";
2
2
 
3
3
  //#region src/utilities/location.d.ts
4
4
  type LocationResult = {
@@ -1,4 +1,4 @@
1
- import { t as Computed } from "../index-BR8XVkck.mjs";
1
+ import { t as Computed } from "../index-CzKKJCCK.mjs";
2
2
 
3
3
  //#region src/utilities/media-devices.d.ts
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { i as Signal, t as Computed } from "../index-BR8XVkck.mjs";
1
+ import { i as Signal, t as Computed } from "../index-CzKKJCCK.mjs";
2
2
 
3
3
  //#region src/utilities/media-player.d.ts
4
4
  type MediaPlayerResult<T extends HTMLMediaElement> = {
@@ -1,4 +1,4 @@
1
- import { t as Computed } from "../index-BR8XVkck.mjs";
1
+ import { t as Computed } from "../index-CzKKJCCK.mjs";
2
2
 
3
3
  //#region src/utilities/media-query.d.ts
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { t as Computed } from "../index-BR8XVkck.mjs";
1
+ import { t as Computed } from "../index-CzKKJCCK.mjs";
2
2
 
3
3
  //#region src/utilities/network.d.ts
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { t as Computed } from "../index-BR8XVkck.mjs";
1
+ import { t as Computed } from "../index-CzKKJCCK.mjs";
2
2
 
3
3
  //#region src/utilities/orientation.d.ts
4
4
  type OrientationResult = {
@@ -1,4 +1,4 @@
1
- import { t as Computed } from "../index-BR8XVkck.mjs";
1
+ import { t as Computed } from "../index-CzKKJCCK.mjs";
2
2
 
3
3
  //#region src/utilities/previous.d.ts
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { m as SEED, t as Computed, u as CLAIM } from "../index-BR8XVkck.mjs";
1
+ import { m as SEED, t as Computed, u as CLAIM } from "../index-CzKKJCCK.mjs";
2
2
 
3
3
  //#region src/utilities/promise.d.ts
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { t as Computed } from "../index-BR8XVkck.mjs";
1
+ import { t as Computed } from "../index-CzKKJCCK.mjs";
2
2
 
3
3
  //#region src/utilities/routing.d.ts
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { t as Computed } from "../index-BR8XVkck.mjs";
1
+ import { t as Computed } from "../index-CzKKJCCK.mjs";
2
2
 
3
3
  //#region src/utilities/search-params.d.ts
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { i as Signal } from "../index-BR8XVkck.mjs";
1
+ import { i as Signal } from "../index-CzKKJCCK.mjs";
2
2
 
3
3
  //#region src/utilities/storage.d.ts
4
4
  type StorageOptions<T> = {
@@ -1,4 +1,4 @@
1
- import { t as Computed } from "../index-BR8XVkck.mjs";
1
+ import { t as Computed } from "../index-CzKKJCCK.mjs";
2
2
 
3
3
  //#region src/utilities/throttled.d.ts
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { t as Computed } from "../index-BR8XVkck.mjs";
1
+ import { t as Computed } from "../index-CzKKJCCK.mjs";
2
2
 
3
3
  //#region src/utilities/timeout.d.ts
4
4
  type TimeoutResult = {
@@ -1,4 +1,4 @@
1
- import { t as Computed } from "../index-BR8XVkck.mjs";
1
+ import { t as Computed } from "../index-CzKKJCCK.mjs";
2
2
 
3
3
  //#region src/utilities/window-focus.d.ts
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { t as Computed } from "../index-BR8XVkck.mjs";
1
+ import { t as Computed } from "../index-CzKKJCCK.mjs";
2
2
 
3
3
  //#region src/utilities/window-size.d.ts
4
4
  type WindowSizeResult = {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "elements-kit",
3
3
  "type": "module",
4
- "version": "0.23.0",
4
+ "version": "0.24.0",
5
5
  "description": "A lightweight reactive UI library that transforms native HTMLElements into reactive components with signals. Ideal for framework-agnostic applications and web components.",
6
6
  "keywords": [
7
7
  "webcomponents",