elements-kit 0.1.0 → 0.2.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 (77) hide show
  1. package/dist/attributes.d.mts +1 -1
  2. package/dist/benchmark.CX_oY03V-CsUg-gW0.mjs +5176 -0
  3. package/dist/custom-elements.d.mts +1 -1
  4. package/dist/for.d.mts +1 -1
  5. package/dist/{infer-DuFY-y2b.d.mts → infer-BUUWMoG9.d.mts} +3 -3
  6. package/dist/integrations/react.d.mts +1 -1
  7. package/dist/jsx-runtime/index.d.mts +1 -1
  8. package/dist/signals/index.d.mts +1 -1
  9. package/dist/slot.d.mts +1 -1
  10. package/dist/{test.BmQO5GaM-BeO5pvCo.mjs → test.BmQO5GaM-ZC2MPXQb.mjs} +6 -5153
  11. package/dist/utilities/active-element.d.mts +1 -1
  12. package/dist/utilities/active-element.test.mjs +2 -1
  13. package/dist/utilities/async.d.mts +1 -1
  14. package/dist/utilities/async.test.mjs +2 -1
  15. package/dist/utilities/context.d.mts +78 -0
  16. package/dist/utilities/context.mjs +115 -0
  17. package/dist/utilities/context.test.d.mts +1 -0
  18. package/dist/utilities/context.test.mjs +171 -0
  19. package/dist/utilities/debounced.d.mts +1 -1
  20. package/dist/utilities/debounced.test.mjs +2 -1
  21. package/dist/utilities/dom-lifecycle.bench.d.mts +1 -0
  22. package/dist/utilities/dom-lifecycle.bench.mjs +90 -0
  23. package/dist/utilities/dom-lifecycle.d.mts +88 -0
  24. package/dist/utilities/dom-lifecycle.mjs +113 -0
  25. package/dist/utilities/dom-lifecycle.test.d.mts +1 -0
  26. package/dist/utilities/dom-lifecycle.test.mjs +227 -0
  27. package/dist/utilities/element-rect.d.mts +1 -1
  28. package/dist/utilities/element-rect.test.mjs +2 -1
  29. package/dist/utilities/element-scroll.d.mts +1 -1
  30. package/dist/utilities/element-scroll.test.mjs +2 -1
  31. package/dist/utilities/event-driven.d.mts +1 -1
  32. package/dist/utilities/event-listener.d.mts +1 -1
  33. package/dist/utilities/event-listener.test.mjs +2 -1
  34. package/dist/utilities/focus-within.d.mts +1 -1
  35. package/dist/utilities/focus-within.test.mjs +2 -1
  36. package/dist/utilities/hover.d.mts +1 -1
  37. package/dist/utilities/hover.test.mjs +2 -1
  38. package/dist/utilities/intersection-observer.test.mjs +2 -1
  39. package/dist/utilities/interval.d.mts +1 -1
  40. package/dist/utilities/interval.test.mjs +2 -1
  41. package/dist/utilities/location.d.mts +1 -1
  42. package/dist/utilities/location.test.mjs +2 -1
  43. package/dist/utilities/long-press.test.mjs +2 -1
  44. package/dist/utilities/media-devices.d.mts +1 -1
  45. package/dist/utilities/media-devices.test.mjs +2 -1
  46. package/dist/utilities/media-player.d.mts +1 -1
  47. package/dist/utilities/media-player.test.mjs +2 -1
  48. package/dist/utilities/media-query.d.mts +1 -1
  49. package/dist/utilities/mutation-observer.test.mjs +2 -1
  50. package/dist/utilities/network.d.mts +1 -1
  51. package/dist/utilities/network.test.mjs +2 -1
  52. package/dist/utilities/on-click-outside.test.mjs +2 -1
  53. package/dist/utilities/orientation.d.mts +1 -1
  54. package/dist/utilities/previous.d.mts +1 -1
  55. package/dist/utilities/previous.test.mjs +2 -1
  56. package/dist/utilities/promise.d.mts +1 -1
  57. package/dist/utilities/promise.test.mjs +2 -1
  58. package/dist/utilities/retry.test.mjs +2 -1
  59. package/dist/utilities/routing.d.mts +1 -1
  60. package/dist/utilities/routing.test.mjs +2 -1
  61. package/dist/utilities/search-params.d.mts +1 -1
  62. package/dist/utilities/search-params.test.mjs +2 -1
  63. package/dist/utilities/ssr.test.mjs +2 -1
  64. package/dist/utilities/storage.d.mts +1 -1
  65. package/dist/utilities/storage.test.mjs +2 -1
  66. package/dist/utilities/throttled.d.mts +1 -1
  67. package/dist/utilities/throttled.test.mjs +2 -1
  68. package/dist/utilities/timeout.d.mts +1 -1
  69. package/dist/utilities/timeout.test.mjs +2 -1
  70. package/dist/utilities/window-focus.d.mts +1 -1
  71. package/dist/utilities/window-size.d.mts +1 -1
  72. package/dist/utilities/window-size.test.mjs +2 -1
  73. package/package.json +1 -1
  74. /package/dist/{attributes-DILeh3-s.d.mts → attributes-3r7Diua4.d.mts} +0 -0
  75. /package/dist/{custom-elements-D5_NMNyD.d.mts → custom-elements-CBuenqVD.d.mts} +0 -0
  76. /package/dist/{magic-string.es-cTgJnTCj.mjs → magic-string.es-CXefOmkB.mjs} +0 -0
  77. /package/dist/{slot-D5iBUSAm.d.mts → slot-CfafCBOW.d.mts} +0 -0
@@ -1,6 +1,7 @@
1
1
  import { c as effectScope } from "../lib-D6duEs38.mjs";
2
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
+ import { f as it, l as describe, o as afterEach } from "../benchmark.CX_oY03V-CsUg-gW0.mjs";
4
+ import { t as globalExpect } from "../test.BmQO5GaM-ZC2MPXQb.mjs";
4
5
  import { createSearchParam } from "./search-params.mjs";
5
6
  //#region src/utilities/search-params.test.ts
6
7
  afterEach(() => {
@@ -1,4 +1,5 @@
1
- import { c as test, t as globalExpect } from "../test.BmQO5GaM-BeO5pvCo.mjs";
1
+ import { p as test } from "../benchmark.CX_oY03V-CsUg-gW0.mjs";
2
+ import { t as globalExpect } from "../test.BmQO5GaM-ZC2MPXQb.mjs";
2
3
  //#region src/utilities/ssr.test.ts
3
4
  // @vitest-environment node
4
5
  test.each([
@@ -1,4 +1,4 @@
1
- import { x as Signal } from "../infer-DuFY-y2b.mjs";
1
+ import { x as Signal } from "../infer-BUUWMoG9.mjs";
2
2
 
3
3
  //#region src/utilities/storage.d.ts
4
4
  type StorageOptions<T> = {
@@ -1,6 +1,7 @@
1
1
  import { c as effectScope } from "../lib-D6duEs38.mjs";
2
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
+ import { f as it, l as describe, o as afterEach } from "../benchmark.CX_oY03V-CsUg-gW0.mjs";
4
+ import { t as globalExpect } from "../test.BmQO5GaM-ZC2MPXQb.mjs";
4
5
  import { createLocalStorage, createSessionStorage } from "./storage.mjs";
5
6
  //#region src/utilities/storage.test.ts
6
7
  describe("createLocalStorage", () => {
@@ -1,4 +1,4 @@
1
- import { y as Computed } from "../infer-DuFY-y2b.mjs";
1
+ import { y as Computed } from "../infer-BUUWMoG9.mjs";
2
2
 
3
3
  //#region src/utilities/throttled.d.ts
4
4
  /**
@@ -1,6 +1,7 @@
1
1
  import { c as effectScope, m as signal } from "../lib-D6duEs38.mjs";
2
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
+ import { c as beforeEach, f as it, l as describe, o as afterEach } from "../benchmark.CX_oY03V-CsUg-gW0.mjs";
4
+ import { n as vi, t as globalExpect } from "../test.BmQO5GaM-ZC2MPXQb.mjs";
4
5
  import { createThrottled } from "./throttled.mjs";
5
6
  //#region src/utilities/throttled.test.ts
6
7
  beforeEach(() => {
@@ -1,4 +1,4 @@
1
- import { y as Computed } from "../infer-DuFY-y2b.mjs";
1
+ import { y as Computed } from "../infer-BUUWMoG9.mjs";
2
2
 
3
3
  //#region src/utilities/timeout.d.ts
4
4
  type TimeoutResult = {
@@ -1,6 +1,7 @@
1
1
  import { c as effectScope } from "../lib-D6duEs38.mjs";
2
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
+ import { f as it, l as describe, o as afterEach } from "../benchmark.CX_oY03V-CsUg-gW0.mjs";
4
+ import { n as vi, t as globalExpect } from "../test.BmQO5GaM-ZC2MPXQb.mjs";
4
5
  import { createTimeout } from "./timeout.mjs";
5
6
  //#region src/utilities/timeout.test.ts
6
7
  afterEach(() => {
@@ -1,4 +1,4 @@
1
- import { y as Computed } from "../infer-DuFY-y2b.mjs";
1
+ import { y as Computed } from "../infer-BUUWMoG9.mjs";
2
2
 
3
3
  //#region src/utilities/window-focus.d.ts
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { y as Computed } from "../infer-DuFY-y2b.mjs";
1
+ import { y as Computed } from "../infer-BUUWMoG9.mjs";
2
2
 
3
3
  //#region src/utilities/window-size.d.ts
4
4
  type WindowSizeResult = {
@@ -1,4 +1,5 @@
1
- import { o as describe, s as it, t as globalExpect } from "../test.BmQO5GaM-BeO5pvCo.mjs";
1
+ import { f as it, l as describe } from "../benchmark.CX_oY03V-CsUg-gW0.mjs";
2
+ import { t as globalExpect } from "../test.BmQO5GaM-ZC2MPXQb.mjs";
2
3
  import { windowSize } from "./window-size.mjs";
3
4
  //#region src/utilities/window-size.test.ts
4
5
  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.1.0",
4
+ "version": "0.2.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",