elements-kit 0.0.17 → 0.0.19

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 (103) hide show
  1. package/README.md +97 -19
  2. package/dist/attributes.d.mts +1 -1
  3. package/dist/{define-CjbTZ3VG.d.mts → custom-elements-bVYOkHKt.d.mts} +2 -2
  4. package/dist/custom-elements.d.mts +2 -74
  5. package/dist/custom-elements.mjs +2 -91
  6. package/dist/{element-CGVy_8TW.mjs → element-DxmInKJw.mjs} +32 -20
  7. package/dist/for.d.mts +1 -1
  8. package/dist/for.mjs +3 -2
  9. package/dist/infer-Dv5Wk-7E.d.mts +618 -0
  10. package/dist/integrations/react.d.mts +1 -1
  11. package/dist/integrations/react.mjs +6 -4
  12. package/dist/jsx-runtime/index.d.mts +2 -73
  13. package/dist/jsx-runtime/index.mjs +8 -14
  14. package/dist/{signals-J8dK_rA4.mjs → lib-D6duEs38.mjs} +1 -105
  15. package/dist/render.d.mts +21 -0
  16. package/dist/render.mjs +32 -0
  17. package/dist/scope-DM2gzOkb.mjs +45 -0
  18. package/dist/signals/index.d.mts +1 -1
  19. package/dist/signals/index.mjs +115 -1
  20. package/dist/{slot-C7GQZe-r.d.mts → slot-B5_VHB7E.d.mts} +10 -0
  21. package/dist/slot.d.mts +1 -1
  22. package/dist/{test.BmQO5GaM-DfGStnii.mjs → test.BmQO5GaM-BeO5pvCo.mjs} +1 -1
  23. package/dist/utilities/_observe.mjs +2 -1
  24. package/dist/utilities/active-element.d.mts +1 -1
  25. package/dist/utilities/active-element.mjs +2 -1
  26. package/dist/utilities/active-element.test.mjs +1 -1
  27. package/dist/utilities/async.d.mts +1 -1
  28. package/dist/utilities/async.mjs +2 -1
  29. package/dist/utilities/async.test.mjs +3 -2
  30. package/dist/utilities/debounced.d.mts +1 -1
  31. package/dist/utilities/debounced.mjs +2 -1
  32. package/dist/utilities/debounced.test.mjs +3 -2
  33. package/dist/utilities/element-rect.d.mts +1 -1
  34. package/dist/utilities/element-rect.mjs +2 -1
  35. package/dist/utilities/element-rect.test.mjs +3 -2
  36. package/dist/utilities/element-scroll.d.mts +1 -1
  37. package/dist/utilities/element-scroll.test.mjs +3 -2
  38. package/dist/utilities/event-driven.d.mts +1 -1
  39. package/dist/utilities/event-driven.mjs +2 -1
  40. package/dist/utilities/event-listener.d.mts +1 -1
  41. package/dist/utilities/event-listener.mjs +2 -1
  42. package/dist/utilities/event-listener.test.mjs +3 -2
  43. package/dist/utilities/focus-within.d.mts +1 -1
  44. package/dist/utilities/focus-within.mjs +2 -1
  45. package/dist/utilities/focus-within.test.mjs +3 -2
  46. package/dist/utilities/hover.d.mts +1 -1
  47. package/dist/utilities/hover.mjs +2 -1
  48. package/dist/utilities/hover.test.mjs +3 -2
  49. package/dist/utilities/intersection-observer.test.mjs +3 -2
  50. package/dist/utilities/interval.d.mts +1 -1
  51. package/dist/utilities/interval.mjs +2 -1
  52. package/dist/utilities/interval.test.mjs +3 -2
  53. package/dist/utilities/location.d.mts +1 -1
  54. package/dist/utilities/location.mjs +2 -1
  55. package/dist/utilities/location.test.mjs +1 -1
  56. package/dist/utilities/long-press.test.mjs +3 -2
  57. package/dist/utilities/media-devices.d.mts +1 -1
  58. package/dist/utilities/media-devices.mjs +2 -1
  59. package/dist/utilities/media-devices.test.mjs +3 -2
  60. package/dist/utilities/media-player.d.mts +1 -1
  61. package/dist/utilities/media-player.test.mjs +3 -2
  62. package/dist/utilities/media-query.d.mts +1 -1
  63. package/dist/utilities/media-query.mjs +2 -1
  64. package/dist/utilities/mutation-observer.test.mjs +3 -2
  65. package/dist/utilities/network.d.mts +1 -1
  66. package/dist/utilities/network.mjs +2 -1
  67. package/dist/utilities/network.test.mjs +1 -1
  68. package/dist/utilities/on-click-outside.test.mjs +3 -2
  69. package/dist/utilities/orientation.d.mts +1 -1
  70. package/dist/utilities/orientation.mjs +2 -1
  71. package/dist/utilities/previous.d.mts +1 -1
  72. package/dist/utilities/previous.mjs +2 -1
  73. package/dist/utilities/previous.test.mjs +3 -2
  74. package/dist/utilities/promise.d.mts +1 -1
  75. package/dist/utilities/promise.mjs +2 -1
  76. package/dist/utilities/promise.test.mjs +3 -2
  77. package/dist/utilities/retry.mjs +2 -1
  78. package/dist/utilities/retry.test.mjs +3 -2
  79. package/dist/utilities/routing.d.mts +1 -1
  80. package/dist/utilities/routing.mjs +2 -1
  81. package/dist/utilities/routing.test.mjs +1 -1
  82. package/dist/utilities/search-params.d.mts +1 -1
  83. package/dist/utilities/search-params.test.mjs +3 -2
  84. package/dist/utilities/ssr.test.mjs +1 -1
  85. package/dist/utilities/storage.d.mts +1 -1
  86. package/dist/utilities/storage.test.mjs +3 -2
  87. package/dist/utilities/throttled.d.mts +1 -1
  88. package/dist/utilities/throttled.mjs +2 -1
  89. package/dist/utilities/throttled.test.mjs +3 -2
  90. package/dist/utilities/timeout.d.mts +1 -1
  91. package/dist/utilities/timeout.mjs +2 -1
  92. package/dist/utilities/timeout.test.mjs +3 -2
  93. package/dist/utilities/window-focus.d.mts +1 -1
  94. package/dist/utilities/window-focus.mjs +2 -1
  95. package/dist/utilities/window-size.d.mts +1 -1
  96. package/dist/utilities/window-size.mjs +2 -1
  97. package/dist/utilities/window-size.test.mjs +1 -1
  98. package/package.json +6 -1
  99. package/dist/index-DydGTqZU.d.mts +0 -315
  100. package/dist/infer-BfzRJoCn.d.mts +0 -203
  101. package/dist/polyfill-BVNd6ogU.d.mts +0 -9
  102. /package/dist/{attributes-Dtn68R1u.d.mts → attributes-aiRoArZz.d.mts} +0 -0
  103. /package/dist/{magic-string.es-i62WTP6J.mjs → magic-string.es-cTgJnTCj.mjs} +0 -0
@@ -1,6 +1,7 @@
1
- import { d as effect, f as effectScope, v as signal } from "../signals-J8dK_rA4.mjs";
1
+ import { c as effectScope, m as signal, s as effect } from "../lib-D6duEs38.mjs";
2
+ import "../signals/index.mjs";
2
3
  import { on } from "./event-listener.mjs";
3
- import { n as vi, o as describe, r as afterEach, s as it, t as globalExpect } from "../test.BmQO5GaM-DfGStnii.mjs";
4
+ import { n as vi, o as describe, r as afterEach, s as it, t as globalExpect } from "../test.BmQO5GaM-BeO5pvCo.mjs";
4
5
  //#region src/utilities/event-listener.test.ts
5
6
  afterEach(() => {
6
7
  document.body.innerHTML = "";
@@ -1,4 +1,4 @@
1
- import { t as Computed } from "../index-DydGTqZU.mjs";
1
+ import { y as Computed } from "../infer-Dv5Wk-7E.mjs";
2
2
 
3
3
  //#region src/utilities/focus-within.d.ts
4
4
  /**
@@ -1,4 +1,5 @@
1
- import { v as signal } from "../signals-J8dK_rA4.mjs";
1
+ import { m as signal } from "../lib-D6duEs38.mjs";
2
+ import "../signals/index.mjs";
2
3
  import { on } from "./event-listener.mjs";
3
4
  //#region src/utilities/focus-within.ts
4
5
  /**
@@ -1,5 +1,6 @@
1
- import { f as effectScope } from "../signals-J8dK_rA4.mjs";
2
- import { o as describe, r as afterEach, s as it, t as globalExpect } from "../test.BmQO5GaM-DfGStnii.mjs";
1
+ import { c as effectScope } from "../lib-D6duEs38.mjs";
2
+ import "../signals/index.mjs";
3
+ import { o as describe, r as afterEach, s as it, t as globalExpect } from "../test.BmQO5GaM-BeO5pvCo.mjs";
3
4
  import { createFocusWithin } from "./focus-within.mjs";
4
5
  //#region src/utilities/focus-within.test.ts
5
6
  afterEach(() => {
@@ -1,4 +1,4 @@
1
- import { t as Computed } from "../index-DydGTqZU.mjs";
1
+ import { y as Computed } from "../infer-Dv5Wk-7E.mjs";
2
2
 
3
3
  //#region src/utilities/hover.d.ts
4
4
  /**
@@ -1,4 +1,5 @@
1
- import { v as signal } from "../signals-J8dK_rA4.mjs";
1
+ import { m as signal } from "../lib-D6duEs38.mjs";
2
+ import "../signals/index.mjs";
2
3
  import { on } from "./event-listener.mjs";
3
4
  //#region src/utilities/hover.ts
4
5
  /**
@@ -1,5 +1,6 @@
1
- import { f as effectScope } from "../signals-J8dK_rA4.mjs";
2
- import { n as vi, o as describe, r as afterEach, s as it, t as globalExpect } from "../test.BmQO5GaM-DfGStnii.mjs";
1
+ import { c as effectScope } from "../lib-D6duEs38.mjs";
2
+ import "../signals/index.mjs";
3
+ import { n as vi, o as describe, r as afterEach, s as it, t as globalExpect } from "../test.BmQO5GaM-BeO5pvCo.mjs";
3
4
  import { createHover } from "./hover.mjs";
4
5
  //#region src/utilities/hover.test.ts
5
6
  afterEach(() => {
@@ -1,5 +1,6 @@
1
- import { f as effectScope } from "../signals-J8dK_rA4.mjs";
2
- import { n as vi, o as describe, r as afterEach, s as it, t as globalExpect } from "../test.BmQO5GaM-DfGStnii.mjs";
1
+ import { c as effectScope } from "../lib-D6duEs38.mjs";
2
+ import "../signals/index.mjs";
3
+ import { n as vi, o as describe, r as afterEach, s as it, t as globalExpect } from "../test.BmQO5GaM-BeO5pvCo.mjs";
3
4
  import { createIntersectionObserver } from "./intersection-observer.mjs";
4
5
  //#region src/utilities/intersection-observer.test.ts
5
6
  afterEach(() => {
@@ -1,4 +1,4 @@
1
- import { t as Computed } from "../index-DydGTqZU.mjs";
1
+ import { y as Computed } from "../infer-Dv5Wk-7E.mjs";
2
2
 
3
3
  //#region src/utilities/interval.d.ts
4
4
  type IntervalResult = {
@@ -1,4 +1,5 @@
1
- import { _ as onCleanup, v as signal } from "../signals-J8dK_rA4.mjs";
1
+ import { m as signal, p as onCleanup } from "../lib-D6duEs38.mjs";
2
+ import "../signals/index.mjs";
2
3
  //#region src/utilities/interval.ts
3
4
  function createInterval(arg1, arg2) {
4
5
  const [callback, delay] = resolveArgs(arg1, arg2);
@@ -1,5 +1,6 @@
1
- import { f as effectScope } from "../signals-J8dK_rA4.mjs";
2
- import { n as vi, o as describe, r as afterEach, s as it, t as globalExpect } from "../test.BmQO5GaM-DfGStnii.mjs";
1
+ import { c as effectScope } from "../lib-D6duEs38.mjs";
2
+ import "../signals/index.mjs";
3
+ import { n as vi, o as describe, r as afterEach, s as it, t as globalExpect } from "../test.BmQO5GaM-BeO5pvCo.mjs";
3
4
  import { async } from "./async.mjs";
4
5
  import { createInterval } from "./interval.mjs";
5
6
  //#region src/utilities/interval.test.ts
@@ -1,4 +1,4 @@
1
- import { t as Computed } from "../index-DydGTqZU.mjs";
1
+ import { y as Computed } from "../infer-Dv5Wk-7E.mjs";
2
2
 
3
3
  //#region src/utilities/location.d.ts
4
4
  type LocationResult = {
@@ -1,4 +1,5 @@
1
- import { _ as onCleanup, u as computed, v as signal, y as trigger } from "../signals-J8dK_rA4.mjs";
1
+ import { h as trigger, m as signal, o as computed, p as onCleanup } from "../lib-D6duEs38.mjs";
2
+ import "../signals/index.mjs";
2
3
  import { fromEvent } from "./event-driven.mjs";
3
4
  import { isBrowser } from "./environment.mjs";
4
5
  //#region src/utilities/location.ts
@@ -1,4 +1,4 @@
1
- import { o as describe, r as afterEach, s as it, t as globalExpect } from "../test.BmQO5GaM-DfGStnii.mjs";
1
+ import { o as describe, r as afterEach, s as it, t as globalExpect } from "../test.BmQO5GaM-BeO5pvCo.mjs";
2
2
  import { currentLocation } from "./location.mjs";
3
3
  //#region src/utilities/location.test.ts
4
4
  afterEach(() => {
@@ -1,5 +1,6 @@
1
- import { f as effectScope } from "../signals-J8dK_rA4.mjs";
2
- import { n as vi, o as describe, r as afterEach, s as it, t as globalExpect } from "../test.BmQO5GaM-DfGStnii.mjs";
1
+ import { c as effectScope } from "../lib-D6duEs38.mjs";
2
+ import "../signals/index.mjs";
3
+ import { n as vi, o as describe, r as afterEach, s as it, t as globalExpect } from "../test.BmQO5GaM-BeO5pvCo.mjs";
3
4
  import { createLongPress } from "./long-press.mjs";
4
5
  //#region src/utilities/long-press.test.ts
5
6
  afterEach(() => {
@@ -1,4 +1,4 @@
1
- import { t as Computed } from "../index-DydGTqZU.mjs";
1
+ import { y as Computed } from "../infer-Dv5Wk-7E.mjs";
2
2
 
3
3
  //#region src/utilities/media-devices.d.ts
4
4
  /**
@@ -1,4 +1,5 @@
1
- import { v as signal } from "../signals-J8dK_rA4.mjs";
1
+ import { m as signal } from "../lib-D6duEs38.mjs";
2
+ import "../signals/index.mjs";
2
3
  import { on } from "./event-listener.mjs";
3
4
  //#region src/utilities/media-devices.ts
4
5
  /**
@@ -1,5 +1,6 @@
1
- import { f as effectScope } from "../signals-J8dK_rA4.mjs";
2
- import { n as vi, o as describe, r as afterEach, s as it, t as globalExpect } from "../test.BmQO5GaM-DfGStnii.mjs";
1
+ import { c as effectScope } from "../lib-D6duEs38.mjs";
2
+ import "../signals/index.mjs";
3
+ import { n as vi, o as describe, r as afterEach, s as it, t as globalExpect } from "../test.BmQO5GaM-BeO5pvCo.mjs";
3
4
  import { createMediaDevices } from "./media-devices.mjs";
4
5
  //#region src/utilities/media-devices.test.ts
5
6
  afterEach(() => {
@@ -1,4 +1,4 @@
1
- import { r as Signal, t as Computed } from "../index-DydGTqZU.mjs";
1
+ import { x as Signal, y as Computed } from "../infer-Dv5Wk-7E.mjs";
2
2
 
3
3
  //#region src/utilities/media-player.d.ts
4
4
  type MediaPlayerResult<T extends HTMLMediaElement> = {
@@ -1,5 +1,6 @@
1
- import { f as effectScope } from "../signals-J8dK_rA4.mjs";
2
- import { n as vi, o as describe, r as afterEach, s as it, t as globalExpect } from "../test.BmQO5GaM-DfGStnii.mjs";
1
+ import { c as effectScope } from "../lib-D6duEs38.mjs";
2
+ import "../signals/index.mjs";
3
+ import { n as vi, o as describe, r as afterEach, s as it, t as globalExpect } from "../test.BmQO5GaM-BeO5pvCo.mjs";
3
4
  import { createMediaPlayer } from "./media-player.mjs";
4
5
  //#region src/utilities/media-player.test.ts
5
6
  afterEach(() => {
@@ -1,4 +1,4 @@
1
- import { t as Computed } from "../index-DydGTqZU.mjs";
1
+ import { y as Computed } from "../infer-Dv5Wk-7E.mjs";
2
2
 
3
3
  //#region src/utilities/media-query.d.ts
4
4
  /**
@@ -1,4 +1,5 @@
1
- import { v as signal } from "../signals-J8dK_rA4.mjs";
1
+ import { m as signal } from "../lib-D6duEs38.mjs";
2
+ import "../signals/index.mjs";
2
3
  import { fromEvent, sync } from "./event-driven.mjs";
3
4
  import { isBrowser } from "./environment.mjs";
4
5
  //#region src/utilities/media-query.ts
@@ -1,5 +1,6 @@
1
- import { f as effectScope } from "../signals-J8dK_rA4.mjs";
2
- import { n as vi, o as describe, r as afterEach, s as it, t as globalExpect } from "../test.BmQO5GaM-DfGStnii.mjs";
1
+ import { c as effectScope } from "../lib-D6duEs38.mjs";
2
+ import "../signals/index.mjs";
3
+ import { n as vi, o as describe, r as afterEach, s as it, t as globalExpect } from "../test.BmQO5GaM-BeO5pvCo.mjs";
3
4
  import { createMutationObserver } from "./mutation-observer.mjs";
4
5
  //#region src/utilities/mutation-observer.test.ts
5
6
  afterEach(() => {
@@ -1,4 +1,4 @@
1
- import { t as Computed } from "../index-DydGTqZU.mjs";
1
+ import { y as Computed } from "../infer-Dv5Wk-7E.mjs";
2
2
 
3
3
  //#region src/utilities/network.d.ts
4
4
  /**
@@ -1,4 +1,5 @@
1
- import { v as signal } from "../signals-J8dK_rA4.mjs";
1
+ import { m as signal } from "../lib-D6duEs38.mjs";
2
+ import "../signals/index.mjs";
2
3
  import { on } from "./event-listener.mjs";
3
4
  import { isBrowser } from "./environment.mjs";
4
5
  //#region src/utilities/network.ts
@@ -1,4 +1,4 @@
1
- import { n as vi, o as describe, r as afterEach, s as it, t as globalExpect } from "../test.BmQO5GaM-DfGStnii.mjs";
1
+ import { n as vi, o as describe, r as afterEach, s as it, t as globalExpect } from "../test.BmQO5GaM-BeO5pvCo.mjs";
2
2
  import { online } from "./network.mjs";
3
3
  //#region src/utilities/network.test.ts
4
4
  afterEach(() => {
@@ -1,5 +1,6 @@
1
- import { f as effectScope } from "../signals-J8dK_rA4.mjs";
2
- import { n as vi, o as describe, r as afterEach, s as it, t as globalExpect } from "../test.BmQO5GaM-DfGStnii.mjs";
1
+ import { c as effectScope } from "../lib-D6duEs38.mjs";
2
+ import "../signals/index.mjs";
3
+ import { n as vi, o as describe, r as afterEach, s as it, t as globalExpect } from "../test.BmQO5GaM-BeO5pvCo.mjs";
3
4
  import { onClickOutside } from "./on-click-outside.mjs";
4
5
  //#region src/utilities/on-click-outside.test.ts
5
6
  afterEach(() => {
@@ -1,4 +1,4 @@
1
- import { t as Computed } from "../index-DydGTqZU.mjs";
1
+ import { y as Computed } from "../infer-Dv5Wk-7E.mjs";
2
2
 
3
3
  //#region src/utilities/orientation.d.ts
4
4
  type OrientationResult = {
@@ -1,4 +1,5 @@
1
- import { u as computed } from "../signals-J8dK_rA4.mjs";
1
+ import { o as computed } from "../lib-D6duEs38.mjs";
2
+ import "../signals/index.mjs";
2
3
  import { fromEvent, sync } from "./event-driven.mjs";
3
4
  import { isBrowser } from "./environment.mjs";
4
5
  //#region src/utilities/orientation.ts
@@ -1,4 +1,4 @@
1
- import { t as Computed } from "../index-DydGTqZU.mjs";
1
+ import { y as Computed } from "../infer-Dv5Wk-7E.mjs";
2
2
 
3
3
  //#region src/utilities/previous.d.ts
4
4
  /**
@@ -1,4 +1,5 @@
1
- import { d as effect, v as signal } from "../signals-J8dK_rA4.mjs";
1
+ import { m as signal, s as effect } from "../lib-D6duEs38.mjs";
2
+ import "../signals/index.mjs";
2
3
  //#region src/utilities/previous.ts
3
4
  /**
4
5
  * Returns a `Computed` that always holds the *previous* value of `source`.
@@ -1,5 +1,6 @@
1
- import { f as effectScope, v as signal } from "../signals-J8dK_rA4.mjs";
2
- import { o as describe, s as it, t as globalExpect } from "../test.BmQO5GaM-DfGStnii.mjs";
1
+ import { c as effectScope, m as signal } from "../lib-D6duEs38.mjs";
2
+ import "../signals/index.mjs";
3
+ import { o as describe, s as it, t as globalExpect } from "../test.BmQO5GaM-BeO5pvCo.mjs";
3
4
  import { createPrevious } from "./previous.mjs";
4
5
  //#region src/utilities/previous.test.ts
5
6
  describe("createPrevious", () => {
@@ -1,4 +1,4 @@
1
- import { t as Computed } from "../index-DydGTqZU.mjs";
1
+ import { y as Computed } from "../infer-Dv5Wk-7E.mjs";
2
2
 
3
3
  //#region src/utilities/promise.d.ts
4
4
  /**
@@ -1,4 +1,5 @@
1
- import { l as batch, u as computed, v as signal } from "../signals-J8dK_rA4.mjs";
1
+ import { a as batch, m as signal, o as computed } from "../lib-D6duEs38.mjs";
2
+ import "../signals/index.mjs";
2
3
  //#region src/utilities/promise.ts
3
4
  /**
4
5
  * A `Promise` subclass that exposes its state as reactive signals.
@@ -1,5 +1,6 @@
1
- import { d as effect } from "../signals-J8dK_rA4.mjs";
2
- import { o as describe, s as it, t as globalExpect } from "../test.BmQO5GaM-DfGStnii.mjs";
1
+ import { s as effect } from "../lib-D6duEs38.mjs";
2
+ import "../signals/index.mjs";
3
+ import { o as describe, s as it, t as globalExpect } from "../test.BmQO5GaM-BeO5pvCo.mjs";
3
4
  import { ReactivePromise, promise } from "./promise.mjs";
4
5
  //#region src/utilities/promise.test.ts
5
6
  describe("ReactivePromise", () => {
@@ -1,4 +1,5 @@
1
- import { b as untracked, d as effect } from "../signals-J8dK_rA4.mjs";
1
+ import { g as untracked, s as effect } from "../lib-D6duEs38.mjs";
2
+ import "../signals/index.mjs";
2
3
  //#region src/utilities/retry.ts
3
4
  /**
4
5
  * Wraps `fn` to retry up to `attempts` times on failure.
@@ -1,5 +1,6 @@
1
- import { _ as onCleanup } from "../signals-J8dK_rA4.mjs";
2
- import { n as vi, o as describe, s as it, t as globalExpect } from "../test.BmQO5GaM-DfGStnii.mjs";
1
+ import { p as onCleanup } from "../lib-D6duEs38.mjs";
2
+ import "../signals/index.mjs";
3
+ import { n as vi, o as describe, s as it, t as globalExpect } from "../test.BmQO5GaM-BeO5pvCo.mjs";
3
4
  import { retry } from "./retry.mjs";
4
5
  //#region src/utilities/retry.test.ts
5
6
  describe("retry", () => {
@@ -1,4 +1,4 @@
1
- import { t as Computed } from "../index-DydGTqZU.mjs";
1
+ import { y as Computed } from "../infer-Dv5Wk-7E.mjs";
2
2
 
3
3
  //#region src/utilities/routing.d.ts
4
4
  declare function patchHistory(): void;
@@ -1,4 +1,5 @@
1
- import { u as computed } from "../signals-J8dK_rA4.mjs";
1
+ import { o as computed } from "../lib-D6duEs38.mjs";
2
+ import "../signals/index.mjs";
2
3
  import { currentLocation } from "./location.mjs";
3
4
  //#region src/utilities/routing.ts
4
5
  const patchHistoryMethod = (method) => {
@@ -1,4 +1,4 @@
1
- import { i as beforeAll, n as vi, o as describe, r as afterEach, s as it, t as globalExpect } from "../test.BmQO5GaM-DfGStnii.mjs";
1
+ import { i as beforeAll, n as vi, o as describe, r as afterEach, s as it, t as globalExpect } from "../test.BmQO5GaM-BeO5pvCo.mjs";
2
2
  import { isLocalNavigationEvent, match, matches, navigate, patchHistory } from "./routing.mjs";
3
3
  //#region src/utilities/routing.test.ts
4
4
  beforeAll(() => {
@@ -1,4 +1,4 @@
1
- import { t as Computed } from "../index-DydGTqZU.mjs";
1
+ import { y as Computed } from "../infer-Dv5Wk-7E.mjs";
2
2
 
3
3
  //#region src/utilities/search-params.d.ts
4
4
  /**
@@ -1,5 +1,6 @@
1
- import { f as effectScope } from "../signals-J8dK_rA4.mjs";
2
- import { o as describe, r as afterEach, s as it, t as globalExpect } from "../test.BmQO5GaM-DfGStnii.mjs";
1
+ import { c as effectScope } from "../lib-D6duEs38.mjs";
2
+ import "../signals/index.mjs";
3
+ import { o as describe, r as afterEach, s as it, t as globalExpect } from "../test.BmQO5GaM-BeO5pvCo.mjs";
3
4
  import { createSearchParam } from "./search-params.mjs";
4
5
  //#region src/utilities/search-params.test.ts
5
6
  afterEach(() => {
@@ -1,4 +1,4 @@
1
- import { c as test, t as globalExpect } from "../test.BmQO5GaM-DfGStnii.mjs";
1
+ import { c as test, t as globalExpect } from "../test.BmQO5GaM-BeO5pvCo.mjs";
2
2
  //#region src/utilities/ssr.test.ts
3
3
  // @vitest-environment node
4
4
  test.each([
@@ -1,4 +1,4 @@
1
- import { r as Signal } from "../index-DydGTqZU.mjs";
1
+ import { x as Signal } from "../infer-Dv5Wk-7E.mjs";
2
2
 
3
3
  //#region src/utilities/storage.d.ts
4
4
  type StorageOptions<T> = {
@@ -1,5 +1,6 @@
1
- import { f as effectScope } from "../signals-J8dK_rA4.mjs";
2
- import { o as describe, r as afterEach, s as it, t as globalExpect } from "../test.BmQO5GaM-DfGStnii.mjs";
1
+ import { c as effectScope } from "../lib-D6duEs38.mjs";
2
+ import "../signals/index.mjs";
3
+ import { o as describe, r as afterEach, s as it, t as globalExpect } from "../test.BmQO5GaM-BeO5pvCo.mjs";
3
4
  import { createLocalStorage, createSessionStorage } from "./storage.mjs";
4
5
  //#region src/utilities/storage.test.ts
5
6
  describe("createLocalStorage", () => {
@@ -1,4 +1,4 @@
1
- import { t as Computed } from "../index-DydGTqZU.mjs";
1
+ import { y as Computed } from "../infer-Dv5Wk-7E.mjs";
2
2
 
3
3
  //#region src/utilities/throttled.d.ts
4
4
  /**
@@ -1,4 +1,5 @@
1
- import { d as effect, v as signal } from "../signals-J8dK_rA4.mjs";
1
+ import { m as signal, s as effect } from "../lib-D6duEs38.mjs";
2
+ import "../signals/index.mjs";
2
3
  import { createTimeout } from "./timeout.mjs";
3
4
  //#region src/utilities/throttled.ts
4
5
  /**
@@ -1,5 +1,6 @@
1
- import { f as effectScope, v as signal } from "../signals-J8dK_rA4.mjs";
2
- import { a as beforeEach, n as vi, o as describe, r as afterEach, s as it, t as globalExpect } from "../test.BmQO5GaM-DfGStnii.mjs";
1
+ import { c as effectScope, m as signal } from "../lib-D6duEs38.mjs";
2
+ import "../signals/index.mjs";
3
+ import { a as beforeEach, n as vi, o as describe, r as afterEach, s as it, t as globalExpect } from "../test.BmQO5GaM-BeO5pvCo.mjs";
3
4
  import { createThrottled } from "./throttled.mjs";
4
5
  //#region src/utilities/throttled.test.ts
5
6
  beforeEach(() => {
@@ -1,4 +1,4 @@
1
- import { t as Computed } from "../index-DydGTqZU.mjs";
1
+ import { y as Computed } from "../infer-Dv5Wk-7E.mjs";
2
2
 
3
3
  //#region src/utilities/timeout.d.ts
4
4
  type TimeoutResult = {
@@ -1,4 +1,5 @@
1
- import { _ as onCleanup, v as signal } from "../signals-J8dK_rA4.mjs";
1
+ import { m as signal, p as onCleanup } from "../lib-D6duEs38.mjs";
2
+ import "../signals/index.mjs";
2
3
  //#region src/utilities/timeout.ts
3
4
  /**
4
5
  * Reactive `setTimeout` wrapper with pause/resume/reset control.
@@ -1,5 +1,6 @@
1
- import { f as effectScope } from "../signals-J8dK_rA4.mjs";
2
- import { n as vi, o as describe, r as afterEach, s as it, t as globalExpect } from "../test.BmQO5GaM-DfGStnii.mjs";
1
+ import { c as effectScope } from "../lib-D6duEs38.mjs";
2
+ import "../signals/index.mjs";
3
+ import { n as vi, o as describe, r as afterEach, s as it, t as globalExpect } from "../test.BmQO5GaM-BeO5pvCo.mjs";
3
4
  import { createTimeout } from "./timeout.mjs";
4
5
  //#region src/utilities/timeout.test.ts
5
6
  afterEach(() => {
@@ -1,4 +1,4 @@
1
- import { t as Computed } from "../index-DydGTqZU.mjs";
1
+ import { y as Computed } from "../infer-Dv5Wk-7E.mjs";
2
2
 
3
3
  //#region src/utilities/window-focus.d.ts
4
4
  /**
@@ -1,4 +1,5 @@
1
- import { v as signal } from "../signals-J8dK_rA4.mjs";
1
+ import { m as signal } from "../lib-D6duEs38.mjs";
2
+ import "../signals/index.mjs";
2
3
  import { on } from "./event-listener.mjs";
3
4
  import { isBrowser } from "./environment.mjs";
4
5
  //#region src/utilities/window-focus.ts
@@ -1,4 +1,4 @@
1
- import { t as Computed } from "../index-DydGTqZU.mjs";
1
+ import { y as Computed } from "../infer-Dv5Wk-7E.mjs";
2
2
 
3
3
  //#region src/utilities/window-size.d.ts
4
4
  type WindowSizeResult = {
@@ -1,4 +1,5 @@
1
- import { u as computed } from "../signals-J8dK_rA4.mjs";
1
+ import { o as computed } from "../lib-D6duEs38.mjs";
2
+ import "../signals/index.mjs";
2
3
  import { fromEvent, sync } from "./event-driven.mjs";
3
4
  import { isBrowser } from "./environment.mjs";
4
5
  //#region src/utilities/window-size.ts
@@ -1,4 +1,4 @@
1
- import { o as describe, s as it, t as globalExpect } from "../test.BmQO5GaM-DfGStnii.mjs";
1
+ import { o as describe, s as it, t as globalExpect } from "../test.BmQO5GaM-BeO5pvCo.mjs";
2
2
  import { windowSize } from "./window-size.mjs";
3
3
  //#region src/utilities/window-size.test.ts
4
4
  describe("windowSize (singleton)", () => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "elements-kit",
3
3
  "type": "module",
4
- "version": "0.0.17",
4
+ "version": "0.0.19",
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",
@@ -53,6 +53,11 @@
53
53
  "import": "./dist/custom-elements.mjs",
54
54
  "types": "./dist/custom-elements.d.mts"
55
55
  },
56
+ "./render": {
57
+ "source": "./src/render.ts",
58
+ "import": "./dist/render.mjs",
59
+ "types": "./dist/render.d.mts"
60
+ },
56
61
  "./jsx-runtime": {
57
62
  "source": "./src/jsx-runtime/index.ts",
58
63
  "import": "./dist/jsx-runtime/index.mjs",