elements-kit 0.12.0 → 0.14.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 (69) hide show
  1. package/dist/{benchmark.CX_oY03V-CsUg-gW0.mjs → benchmark.CX_oY03V-CSLAXL5f.mjs} +1 -32
  2. package/dist/{element-Y3uP_2p9.mjs → element-D6xVuWdX.mjs} +116 -2
  3. package/dist/for.mjs +2 -2
  4. package/dist/integrations/react.mjs +2 -2
  5. package/dist/jsx-runtime/index.d.mts +1 -1
  6. package/dist/jsx-runtime/index.mjs +1 -1
  7. package/dist/{lib-Cg8fI7K5.mjs → lib-Dkc7cV5F.mjs} +31 -0
  8. package/dist/render.mjs +1 -1
  9. package/dist/{scope-De6rSJvq.mjs → scope-CnEvL9Nd.mjs} +1 -1
  10. package/dist/signals/index.mjs +1 -1
  11. package/dist/{test.BmQO5GaM-ZC2MPXQb.mjs → test.BmQO5GaM-Ddz9cDxc.mjs} +100 -1
  12. package/dist/ui/accordion/accordion.css +180 -0
  13. package/dist/ui/toggle/toggle.css +116 -0
  14. package/dist/utilities/_observe.mjs +1 -1
  15. package/dist/utilities/active-element.mjs +1 -1
  16. package/dist/utilities/active-element.test.mjs +2 -2
  17. package/dist/utilities/async.mjs +1 -1
  18. package/dist/utilities/async.test.mjs +3 -3
  19. package/dist/utilities/context.mjs +1 -1
  20. package/dist/utilities/context.test.mjs +3 -3
  21. package/dist/utilities/debounced.mjs +1 -1
  22. package/dist/utilities/debounced.test.mjs +3 -3
  23. package/dist/utilities/dom-lifecycle.bench.mjs +1 -1
  24. package/dist/utilities/dom-lifecycle.mjs +1 -1
  25. package/dist/utilities/dom-lifecycle.test.mjs +2 -2
  26. package/dist/utilities/element-rect.mjs +1 -1
  27. package/dist/utilities/element-rect.test.mjs +3 -3
  28. package/dist/utilities/element-scroll.test.mjs +3 -3
  29. package/dist/utilities/event-driven.mjs +1 -1
  30. package/dist/utilities/event-listener.mjs +1 -1
  31. package/dist/utilities/event-listener.test.mjs +3 -3
  32. package/dist/utilities/focus-within.mjs +1 -1
  33. package/dist/utilities/focus-within.test.mjs +3 -3
  34. package/dist/utilities/hover.mjs +1 -1
  35. package/dist/utilities/hover.test.mjs +3 -3
  36. package/dist/utilities/intersection-observer.test.mjs +3 -3
  37. package/dist/utilities/interval.mjs +1 -1
  38. package/dist/utilities/interval.test.mjs +3 -3
  39. package/dist/utilities/location.mjs +1 -1
  40. package/dist/utilities/location.test.mjs +2 -2
  41. package/dist/utilities/long-press.test.mjs +3 -3
  42. package/dist/utilities/media-devices.mjs +1 -1
  43. package/dist/utilities/media-devices.test.mjs +3 -3
  44. package/dist/utilities/media-player.test.mjs +3 -3
  45. package/dist/utilities/media-query.mjs +1 -1
  46. package/dist/utilities/mutation-observer.test.mjs +3 -3
  47. package/dist/utilities/network.mjs +1 -1
  48. package/dist/utilities/network.test.mjs +2 -2
  49. package/dist/utilities/on-click-outside.test.mjs +3 -3
  50. package/dist/utilities/orientation.mjs +1 -1
  51. package/dist/utilities/previous.mjs +1 -1
  52. package/dist/utilities/previous.test.mjs +3 -3
  53. package/dist/utilities/promise.mjs +1 -1
  54. package/dist/utilities/promise.test.mjs +3 -3
  55. package/dist/utilities/retry.mjs +1 -1
  56. package/dist/utilities/retry.test.mjs +3 -3
  57. package/dist/utilities/routing.mjs +1 -1
  58. package/dist/utilities/routing.test.mjs +2 -2
  59. package/dist/utilities/search-params.test.mjs +3 -3
  60. package/dist/utilities/ssr.test.mjs +2 -2
  61. package/dist/utilities/storage.test.mjs +3 -3
  62. package/dist/utilities/throttled.mjs +1 -1
  63. package/dist/utilities/throttled.test.mjs +3 -3
  64. package/dist/utilities/timeout.mjs +1 -1
  65. package/dist/utilities/timeout.test.mjs +3 -3
  66. package/dist/utilities/window-focus.mjs +1 -1
  67. package/dist/utilities/window-size.mjs +1 -1
  68. package/dist/utilities/window-size.test.mjs +2 -2
  69. package/package.json +2 -2
@@ -0,0 +1,116 @@
1
+ .x-toggle {
2
+ justify-content: center;
3
+ align-items: center;
4
+ gap: var(--space-2);
5
+ vertical-align: top;
6
+ height: var(--toggle-height);
7
+ padding: 0 var(--toggle-padding-inline);
8
+ border-radius: max(var(--toggle-radius), var(--radius-pill));
9
+ font-family: var(--default-font-family);
10
+ font-size: var(--toggle-font-size);
11
+ text-align: center;
12
+ -webkit-user-select: none;
13
+ user-select: none;
14
+ cursor: var(--cursor-button);
15
+ flex-shrink: 0;
16
+ font-weight: 500;
17
+ line-height: 1;
18
+ transition: background-color .12s ease-out, box-shadow .12s ease-out, color .12s ease-out;
19
+ display: inline-flex;
20
+ }
21
+
22
+ .x-toggle > input {
23
+ opacity: 0;
24
+ pointer-events: none;
25
+ width: 0;
26
+ height: 0;
27
+ position: absolute;
28
+ }
29
+
30
+ .x-toggle:where(:focus-within) {
31
+ outline: 2px solid var(--focus-8);
32
+ outline-offset: 1px;
33
+ }
34
+
35
+ .x-toggle:where(:has(input:disabled)) {
36
+ opacity: .6;
37
+ pointer-events: none;
38
+ cursor: var(--cursor-disabled);
39
+ }
40
+
41
+ .x-toggle:where([data-size="1"]) {
42
+ --toggle-height: var(--space-5);
43
+ --toggle-padding-inline: var(--space-2);
44
+ --toggle-radius: var(--radius-1);
45
+ --toggle-font-size: var(--font-size-1);
46
+ }
47
+
48
+ .x-toggle:where(:not([data-size]), [data-size="2"]) {
49
+ --toggle-height: var(--space-6);
50
+ --toggle-padding-inline: var(--space-3);
51
+ --toggle-radius: var(--radius-2);
52
+ --toggle-font-size: var(--font-size-2);
53
+ }
54
+
55
+ .x-toggle:where([data-size="3"]) {
56
+ --toggle-height: var(--space-7);
57
+ --toggle-padding-inline: var(--space-4);
58
+ --toggle-radius: var(--radius-3);
59
+ --toggle-font-size: var(--font-size-3);
60
+ }
61
+
62
+ .x-toggle:where([data-icon]) {
63
+ aspect-ratio: 1;
64
+ min-width: 0;
65
+ padding-inline: 0;
66
+ }
67
+
68
+ .x-toggle:where(:not([data-variant]), [data-variant="surface"]) {
69
+ box-shadow: inset 0 0 0 1px var(--base-color-a5);
70
+ color: var(--base-color-a11);
71
+ background-color: #0000;
72
+ font-weight: 500;
73
+ }
74
+
75
+ @media (hover: hover) {
76
+ .x-toggle:where(:not([data-variant]), [data-variant="surface"]):where(:hover) {
77
+ background-color: var(--base-color-a2);
78
+ }
79
+ }
80
+
81
+ .x-toggle:where(:not([data-variant]), [data-variant="surface"]):where(:has(input:checked)) {
82
+ background-color: var(--color-a4);
83
+ box-shadow: inset 0 0 0 1px var(--color-a8);
84
+ color: var(--color-a12, var(--color-12));
85
+ font-weight: 600;
86
+ }
87
+
88
+ @media (hover: hover) {
89
+ .x-toggle:where(:not([data-variant]), [data-variant="surface"]):where(:has(input:checked):hover) {
90
+ background-color: var(--color-a5);
91
+ }
92
+ }
93
+
94
+ .x-toggle:where([data-variant="soft"]) {
95
+ background-color: var(--base-color-a3);
96
+ color: var(--base-color-a11);
97
+ font-weight: 500;
98
+ }
99
+
100
+ @media (hover: hover) {
101
+ .x-toggle:where([data-variant="soft"]):where(:hover) {
102
+ background-color: var(--base-color-a4);
103
+ }
104
+ }
105
+
106
+ .x-toggle:where([data-variant="soft"]):where(:has(input:checked)) {
107
+ background-color: var(--color-a4);
108
+ color: var(--color-a12, var(--color-12));
109
+ font-weight: 600;
110
+ }
111
+
112
+ @media (hover: hover) {
113
+ .x-toggle:where([data-variant="soft"]):where(:has(input:checked):hover) {
114
+ background-color: var(--color-a6);
115
+ }
116
+ }
@@ -1,4 +1,4 @@
1
- import { p as onCleanup } from "../lib-Cg8fI7K5.mjs";
1
+ import { p as onCleanup } from "../lib-Dkc7cV5F.mjs";
2
2
  import "../signals/index.mjs";
3
3
  //#region src/utilities/_observe.ts
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { o as computed } from "../lib-Cg8fI7K5.mjs";
1
+ import { o as computed } from "../lib-Dkc7cV5F.mjs";
2
2
  import "../signals/index.mjs";
3
3
  import { fromEvent, sync } from "./event-driven.mjs";
4
4
  import { isBrowser } from "./environment.mjs";
@@ -1,5 +1,5 @@
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";
1
+ import { f as it, l as describe } from "../benchmark.CX_oY03V-CSLAXL5f.mjs";
2
+ import { t as globalExpect } from "../test.BmQO5GaM-Ddz9cDxc.mjs";
3
3
  import { activeElement } from "./active-element.mjs";
4
4
  //#region src/utilities/active-element.test.ts
5
5
  describe("activeElement (singleton)", () => {
@@ -1,4 +1,4 @@
1
- import { g as untracked, m as signal, s as effect } from "../lib-Cg8fI7K5.mjs";
1
+ import { g as untracked, m as signal, s as effect } from "../lib-Dkc7cV5F.mjs";
2
2
  import { resolve } from "../signals/index.mjs";
3
3
  import { promise } from "./promise.mjs";
4
4
  //#region src/utilities/async.ts
@@ -1,7 +1,7 @@
1
- import { m as signal, p as onCleanup, s as effect } from "../lib-Cg8fI7K5.mjs";
1
+ import { m as signal, p as onCleanup, s as effect } from "../lib-Dkc7cV5F.mjs";
2
2
  import "../signals/index.mjs";
3
- import { f as it, l as describe } from "../benchmark.CX_oY03V-CsUg-gW0.mjs";
4
- import { n as vi, t as globalExpect } from "../test.BmQO5GaM-ZC2MPXQb.mjs";
3
+ import { f as it, l as describe } from "../benchmark.CX_oY03V-CSLAXL5f.mjs";
4
+ import { n as vi, t as globalExpect } from "../test.BmQO5GaM-Ddz9cDxc.mjs";
5
5
  import { Async, async } from "./async.mjs";
6
6
  import { createInterval } from "./interval.mjs";
7
7
  //#region src/utilities/async.test.ts
@@ -1,4 +1,4 @@
1
- import { m as signal, p as onCleanup } from "../lib-Cg8fI7K5.mjs";
1
+ import { m as signal, p as onCleanup } from "../lib-Dkc7cV5F.mjs";
2
2
  import "../signals/index.mjs";
3
3
  //#region src/utilities/context.ts
4
4
  const registry = /* @__PURE__ */ new WeakMap();
@@ -1,7 +1,7 @@
1
- import { c as effectScope, m as signal, s as effect } from "../lib-Cg8fI7K5.mjs";
1
+ import { c as effectScope, m as signal, s as effect } from "../lib-Dkc7cV5F.mjs";
2
2
  import "../signals/index.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";
3
+ import { f as it, l as describe, o as afterEach } from "../benchmark.CX_oY03V-CSLAXL5f.mjs";
4
+ import { n as vi, t as globalExpect } from "../test.BmQO5GaM-Ddz9cDxc.mjs";
5
5
  import { getContext, setContext } from "./context.mjs";
6
6
  //#region src/utilities/context.test.ts
7
7
  afterEach(() => {
@@ -1,4 +1,4 @@
1
- import { m as signal, s as effect } from "../lib-Cg8fI7K5.mjs";
1
+ import { m as signal, s as effect } from "../lib-Dkc7cV5F.mjs";
2
2
  import "../signals/index.mjs";
3
3
  import { createTimeout } from "./timeout.mjs";
4
4
  //#region src/utilities/debounced.ts
@@ -1,7 +1,7 @@
1
- import { c as effectScope, m as signal } from "../lib-Cg8fI7K5.mjs";
1
+ import { c as effectScope, m as signal } from "../lib-Dkc7cV5F.mjs";
2
2
  import "../signals/index.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";
3
+ import { c as beforeEach, f as it, l as describe, o as afterEach } from "../benchmark.CX_oY03V-CSLAXL5f.mjs";
4
+ import { n as vi, t as globalExpect } from "../test.BmQO5GaM-Ddz9cDxc.mjs";
5
5
  import { createDebounced } from "./debounced.mjs";
6
6
  //#region src/utilities/debounced.test.ts
7
7
  beforeEach(() => {
@@ -1,4 +1,4 @@
1
- import { l as describe, t as bench } from "../benchmark.CX_oY03V-CsUg-gW0.mjs";
1
+ import { l as describe, t as bench } from "../benchmark.CX_oY03V-CSLAXL5f.mjs";
2
2
  //#region src/utilities/dom-lifecycle.bench.ts
3
3
  describe("dom-lifecycle — registration cost", () => {
4
4
  bench("register 100 entries on already-connected elements", () => {
@@ -1,4 +1,4 @@
1
- import { c as effectScope } from "../lib-Cg8fI7K5.mjs";
1
+ import { c as effectScope } from "../lib-Dkc7cV5F.mjs";
2
2
  import "../signals/index.mjs";
3
3
  import { isBrowser } from "./environment.mjs";
4
4
  //#region src/utilities/dom-lifecycle.ts
@@ -1,5 +1,5 @@
1
- import { f as it, l as describe, o as afterEach } from "../benchmark.CX_oY03V-CsUg-gW0.mjs";
2
- import { n as vi, t as globalExpect } from "../test.BmQO5GaM-ZC2MPXQb.mjs";
1
+ import { f as it, l as describe, o as afterEach } from "../benchmark.CX_oY03V-CSLAXL5f.mjs";
2
+ import { n as vi, t as globalExpect } from "../test.BmQO5GaM-Ddz9cDxc.mjs";
3
3
  import { DomLifecycleElement } from "./dom-lifecycle.mjs";
4
4
  //#region src/utilities/dom-lifecycle.test.ts
5
5
  afterEach(() => {
@@ -1,4 +1,4 @@
1
- import { m as signal } from "../lib-Cg8fI7K5.mjs";
1
+ import { m as signal } from "../lib-Dkc7cV5F.mjs";
2
2
  import "../signals/index.mjs";
3
3
  import { createResizeObserver } from "./resize-observer.mjs";
4
4
  //#region src/utilities/element-rect.ts
@@ -1,7 +1,7 @@
1
- import { c as effectScope } from "../lib-Cg8fI7K5.mjs";
1
+ import { c as effectScope } from "../lib-Dkc7cV5F.mjs";
2
2
  import "../signals/index.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";
3
+ import { f as it, l as describe, o as afterEach } from "../benchmark.CX_oY03V-CSLAXL5f.mjs";
4
+ import { n as vi, t as globalExpect } from "../test.BmQO5GaM-Ddz9cDxc.mjs";
5
5
  import { createElementRect } from "./element-rect.mjs";
6
6
  //#region src/utilities/element-rect.test.ts
7
7
  afterEach(() => {
@@ -1,7 +1,7 @@
1
- import { c as effectScope } from "../lib-Cg8fI7K5.mjs";
1
+ import { c as effectScope } from "../lib-Dkc7cV5F.mjs";
2
2
  import "../signals/index.mjs";
3
- import { f as it, l as describe } from "../benchmark.CX_oY03V-CsUg-gW0.mjs";
4
- import { t as globalExpect } from "../test.BmQO5GaM-ZC2MPXQb.mjs";
3
+ import { f as it, l as describe } from "../benchmark.CX_oY03V-CSLAXL5f.mjs";
4
+ import { t as globalExpect } from "../test.BmQO5GaM-Ddz9cDxc.mjs";
5
5
  import { createElementScroll } from "./element-scroll.mjs";
6
6
  //#region src/utilities/element-scroll.test.ts
7
7
  describe("createElementScroll", () => {
@@ -1,4 +1,4 @@
1
- import { h as trigger, i as SIGNAL, m as signal, o as computed, p as onCleanup } from "../lib-Cg8fI7K5.mjs";
1
+ import { h as trigger, i as SIGNAL, m as signal, o as computed, p as onCleanup } from "../lib-Dkc7cV5F.mjs";
2
2
  import "../signals/index.mjs";
3
3
  //#region src/utilities/event-driven.ts
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { p as onCleanup, s as effect } from "../lib-Cg8fI7K5.mjs";
1
+ import { p as onCleanup, s as effect } from "../lib-Dkc7cV5F.mjs";
2
2
  import "../signals/index.mjs";
3
3
  //#region src/utilities/event-listener.ts
4
4
  function on(target, type, handler, options) {
@@ -1,8 +1,8 @@
1
- import { c as effectScope, m as signal, s as effect } from "../lib-Cg8fI7K5.mjs";
1
+ import { c as effectScope, m as signal, s as effect } from "../lib-Dkc7cV5F.mjs";
2
2
  import "../signals/index.mjs";
3
3
  import { on } from "./event-listener.mjs";
4
- import { f as it, l as describe, o as afterEach } from "../benchmark.CX_oY03V-CsUg-gW0.mjs";
5
- import { n as vi, t as globalExpect } from "../test.BmQO5GaM-ZC2MPXQb.mjs";
4
+ import { f as it, l as describe, o as afterEach } from "../benchmark.CX_oY03V-CSLAXL5f.mjs";
5
+ import { n as vi, t as globalExpect } from "../test.BmQO5GaM-Ddz9cDxc.mjs";
6
6
  //#region src/utilities/event-listener.test.ts
7
7
  afterEach(() => {
8
8
  document.body.innerHTML = "";
@@ -1,4 +1,4 @@
1
- import { m as signal } from "../lib-Cg8fI7K5.mjs";
1
+ import { m as signal } from "../lib-Dkc7cV5F.mjs";
2
2
  import "../signals/index.mjs";
3
3
  import { on } from "./event-listener.mjs";
4
4
  //#region src/utilities/focus-within.ts
@@ -1,7 +1,7 @@
1
- import { c as effectScope } from "../lib-Cg8fI7K5.mjs";
1
+ import { c as effectScope } from "../lib-Dkc7cV5F.mjs";
2
2
  import "../signals/index.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";
3
+ import { f as it, l as describe, o as afterEach } from "../benchmark.CX_oY03V-CSLAXL5f.mjs";
4
+ import { t as globalExpect } from "../test.BmQO5GaM-Ddz9cDxc.mjs";
5
5
  import { createFocusWithin } from "./focus-within.mjs";
6
6
  //#region src/utilities/focus-within.test.ts
7
7
  afterEach(() => {
@@ -1,4 +1,4 @@
1
- import { m as signal } from "../lib-Cg8fI7K5.mjs";
1
+ import { m as signal } from "../lib-Dkc7cV5F.mjs";
2
2
  import "../signals/index.mjs";
3
3
  import { on } from "./event-listener.mjs";
4
4
  //#region src/utilities/hover.ts
@@ -1,7 +1,7 @@
1
- import { c as effectScope } from "../lib-Cg8fI7K5.mjs";
1
+ import { c as effectScope } from "../lib-Dkc7cV5F.mjs";
2
2
  import "../signals/index.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";
3
+ import { f as it, l as describe, o as afterEach } from "../benchmark.CX_oY03V-CSLAXL5f.mjs";
4
+ import { n as vi, t as globalExpect } from "../test.BmQO5GaM-Ddz9cDxc.mjs";
5
5
  import { createHover } from "./hover.mjs";
6
6
  //#region src/utilities/hover.test.ts
7
7
  afterEach(() => {
@@ -1,7 +1,7 @@
1
- import { c as effectScope } from "../lib-Cg8fI7K5.mjs";
1
+ import { c as effectScope } from "../lib-Dkc7cV5F.mjs";
2
2
  import "../signals/index.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";
3
+ import { f as it, l as describe, o as afterEach } from "../benchmark.CX_oY03V-CSLAXL5f.mjs";
4
+ import { n as vi, t as globalExpect } from "../test.BmQO5GaM-Ddz9cDxc.mjs";
5
5
  import { createIntersectionObserver } from "./intersection-observer.mjs";
6
6
  //#region src/utilities/intersection-observer.test.ts
7
7
  afterEach(() => {
@@ -1,4 +1,4 @@
1
- import { m as signal, p as onCleanup } from "../lib-Cg8fI7K5.mjs";
1
+ import { m as signal, p as onCleanup } from "../lib-Dkc7cV5F.mjs";
2
2
  import "../signals/index.mjs";
3
3
  //#region src/utilities/interval.ts
4
4
  function createInterval(arg1, arg2) {
@@ -1,7 +1,7 @@
1
- import { c as effectScope } from "../lib-Cg8fI7K5.mjs";
1
+ import { c as effectScope } from "../lib-Dkc7cV5F.mjs";
2
2
  import "../signals/index.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";
3
+ import { f as it, l as describe, o as afterEach } from "../benchmark.CX_oY03V-CSLAXL5f.mjs";
4
+ import { n as vi, t as globalExpect } from "../test.BmQO5GaM-Ddz9cDxc.mjs";
5
5
  import { async } from "./async.mjs";
6
6
  import { createInterval } from "./interval.mjs";
7
7
  //#region src/utilities/interval.test.ts
@@ -1,4 +1,4 @@
1
- import { h as trigger, m as signal, o as computed, p as onCleanup } from "../lib-Cg8fI7K5.mjs";
1
+ import { h as trigger, m as signal, o as computed, p as onCleanup } from "../lib-Dkc7cV5F.mjs";
2
2
  import "../signals/index.mjs";
3
3
  import { fromEvent } from "./event-driven.mjs";
4
4
  import { isBrowser } from "./environment.mjs";
@@ -1,5 +1,5 @@
1
- import { f as it, l as describe, o as afterEach } from "../benchmark.CX_oY03V-CsUg-gW0.mjs";
2
- import { t as globalExpect } from "../test.BmQO5GaM-ZC2MPXQb.mjs";
1
+ import { f as it, l as describe, o as afterEach } from "../benchmark.CX_oY03V-CSLAXL5f.mjs";
2
+ import { t as globalExpect } from "../test.BmQO5GaM-Ddz9cDxc.mjs";
3
3
  import { currentLocation } from "./location.mjs";
4
4
  //#region src/utilities/location.test.ts
5
5
  afterEach(() => {
@@ -1,7 +1,7 @@
1
- import { c as effectScope } from "../lib-Cg8fI7K5.mjs";
1
+ import { c as effectScope } from "../lib-Dkc7cV5F.mjs";
2
2
  import "../signals/index.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";
3
+ import { f as it, l as describe, o as afterEach } from "../benchmark.CX_oY03V-CSLAXL5f.mjs";
4
+ import { n as vi, t as globalExpect } from "../test.BmQO5GaM-Ddz9cDxc.mjs";
5
5
  import { createLongPress } from "./long-press.mjs";
6
6
  //#region src/utilities/long-press.test.ts
7
7
  afterEach(() => {
@@ -1,4 +1,4 @@
1
- import { m as signal } from "../lib-Cg8fI7K5.mjs";
1
+ import { m as signal } from "../lib-Dkc7cV5F.mjs";
2
2
  import "../signals/index.mjs";
3
3
  import { on } from "./event-listener.mjs";
4
4
  //#region src/utilities/media-devices.ts
@@ -1,7 +1,7 @@
1
- import { c as effectScope } from "../lib-Cg8fI7K5.mjs";
1
+ import { c as effectScope } from "../lib-Dkc7cV5F.mjs";
2
2
  import "../signals/index.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";
3
+ import { f as it, l as describe, o as afterEach } from "../benchmark.CX_oY03V-CSLAXL5f.mjs";
4
+ import { n as vi, t as globalExpect } from "../test.BmQO5GaM-Ddz9cDxc.mjs";
5
5
  import { createMediaDevices } from "./media-devices.mjs";
6
6
  //#region src/utilities/media-devices.test.ts
7
7
  afterEach(() => {
@@ -1,7 +1,7 @@
1
- import { c as effectScope } from "../lib-Cg8fI7K5.mjs";
1
+ import { c as effectScope } from "../lib-Dkc7cV5F.mjs";
2
2
  import "../signals/index.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";
3
+ import { f as it, l as describe, o as afterEach } from "../benchmark.CX_oY03V-CSLAXL5f.mjs";
4
+ import { n as vi, t as globalExpect } from "../test.BmQO5GaM-Ddz9cDxc.mjs";
5
5
  import { createMediaPlayer } from "./media-player.mjs";
6
6
  //#region src/utilities/media-player.test.ts
7
7
  afterEach(() => {
@@ -1,4 +1,4 @@
1
- import { m as signal } from "../lib-Cg8fI7K5.mjs";
1
+ import { m as signal } from "../lib-Dkc7cV5F.mjs";
2
2
  import "../signals/index.mjs";
3
3
  import { fromEvent, sync } from "./event-driven.mjs";
4
4
  import { isBrowser } from "./environment.mjs";
@@ -1,7 +1,7 @@
1
- import { c as effectScope } from "../lib-Cg8fI7K5.mjs";
1
+ import { c as effectScope } from "../lib-Dkc7cV5F.mjs";
2
2
  import "../signals/index.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";
3
+ import { f as it, l as describe, o as afterEach } from "../benchmark.CX_oY03V-CSLAXL5f.mjs";
4
+ import { n as vi, t as globalExpect } from "../test.BmQO5GaM-Ddz9cDxc.mjs";
5
5
  import { createMutationObserver } from "./mutation-observer.mjs";
6
6
  //#region src/utilities/mutation-observer.test.ts
7
7
  afterEach(() => {
@@ -1,4 +1,4 @@
1
- import { m as signal } from "../lib-Cg8fI7K5.mjs";
1
+ import { m as signal } from "../lib-Dkc7cV5F.mjs";
2
2
  import "../signals/index.mjs";
3
3
  import { on } from "./event-listener.mjs";
4
4
  import { isBrowser } from "./environment.mjs";
@@ -1,5 +1,5 @@
1
- import { f as it, l as describe, o as afterEach } from "../benchmark.CX_oY03V-CsUg-gW0.mjs";
2
- import { n as vi, t as globalExpect } from "../test.BmQO5GaM-ZC2MPXQb.mjs";
1
+ import { f as it, l as describe, o as afterEach } from "../benchmark.CX_oY03V-CSLAXL5f.mjs";
2
+ import { n as vi, t as globalExpect } from "../test.BmQO5GaM-Ddz9cDxc.mjs";
3
3
  import { online } from "./network.mjs";
4
4
  //#region src/utilities/network.test.ts
5
5
  afterEach(() => {
@@ -1,7 +1,7 @@
1
- import { c as effectScope } from "../lib-Cg8fI7K5.mjs";
1
+ import { c as effectScope } from "../lib-Dkc7cV5F.mjs";
2
2
  import "../signals/index.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";
3
+ import { f as it, l as describe, o as afterEach } from "../benchmark.CX_oY03V-CSLAXL5f.mjs";
4
+ import { n as vi, t as globalExpect } from "../test.BmQO5GaM-Ddz9cDxc.mjs";
5
5
  import { onClickOutside } from "./on-click-outside.mjs";
6
6
  //#region src/utilities/on-click-outside.test.ts
7
7
  afterEach(() => {
@@ -1,4 +1,4 @@
1
- import { o as computed } from "../lib-Cg8fI7K5.mjs";
1
+ import { o as computed } from "../lib-Dkc7cV5F.mjs";
2
2
  import "../signals/index.mjs";
3
3
  import { fromEvent, sync } from "./event-driven.mjs";
4
4
  import { isBrowser } from "./environment.mjs";
@@ -1,4 +1,4 @@
1
- import { m as signal, s as effect } from "../lib-Cg8fI7K5.mjs";
1
+ import { m as signal, s as effect } from "../lib-Dkc7cV5F.mjs";
2
2
  import "../signals/index.mjs";
3
3
  //#region src/utilities/previous.ts
4
4
  /**
@@ -1,7 +1,7 @@
1
- import { c as effectScope, m as signal } from "../lib-Cg8fI7K5.mjs";
1
+ import { c as effectScope, m as signal } from "../lib-Dkc7cV5F.mjs";
2
2
  import "../signals/index.mjs";
3
- import { f as it, l as describe } from "../benchmark.CX_oY03V-CsUg-gW0.mjs";
4
- import { t as globalExpect } from "../test.BmQO5GaM-ZC2MPXQb.mjs";
3
+ import { f as it, l as describe } from "../benchmark.CX_oY03V-CSLAXL5f.mjs";
4
+ import { t as globalExpect } from "../test.BmQO5GaM-Ddz9cDxc.mjs";
5
5
  import { createPrevious } from "./previous.mjs";
6
6
  //#region src/utilities/previous.test.ts
7
7
  describe("createPrevious", () => {
@@ -1,4 +1,4 @@
1
- import { a as batch, m as signal, o as computed } from "../lib-Cg8fI7K5.mjs";
1
+ import { a as batch, m as signal, o as computed } from "../lib-Dkc7cV5F.mjs";
2
2
  import "../signals/index.mjs";
3
3
  //#region src/utilities/promise.ts
4
4
  /**
@@ -1,7 +1,7 @@
1
- import { s as effect } from "../lib-Cg8fI7K5.mjs";
1
+ import { s as effect } from "../lib-Dkc7cV5F.mjs";
2
2
  import "../signals/index.mjs";
3
- import { f as it, l as describe } from "../benchmark.CX_oY03V-CsUg-gW0.mjs";
4
- import { t as globalExpect } from "../test.BmQO5GaM-ZC2MPXQb.mjs";
3
+ import { f as it, l as describe } from "../benchmark.CX_oY03V-CSLAXL5f.mjs";
4
+ import { t as globalExpect } from "../test.BmQO5GaM-Ddz9cDxc.mjs";
5
5
  import { ReactivePromise, promise } from "./promise.mjs";
6
6
  //#region src/utilities/promise.test.ts
7
7
  describe("ReactivePromise", () => {
@@ -1,4 +1,4 @@
1
- import { g as untracked, s as effect } from "../lib-Cg8fI7K5.mjs";
1
+ import { g as untracked, s as effect } from "../lib-Dkc7cV5F.mjs";
2
2
  import "../signals/index.mjs";
3
3
  //#region src/utilities/retry.ts
4
4
  /**
@@ -1,7 +1,7 @@
1
- import { p as onCleanup } from "../lib-Cg8fI7K5.mjs";
1
+ import { p as onCleanup } from "../lib-Dkc7cV5F.mjs";
2
2
  import "../signals/index.mjs";
3
- import { f as it, l as describe } from "../benchmark.CX_oY03V-CsUg-gW0.mjs";
4
- import { n as vi, t as globalExpect } from "../test.BmQO5GaM-ZC2MPXQb.mjs";
3
+ import { f as it, l as describe } from "../benchmark.CX_oY03V-CSLAXL5f.mjs";
4
+ import { n as vi, t as globalExpect } from "../test.BmQO5GaM-Ddz9cDxc.mjs";
5
5
  import { retry } from "./retry.mjs";
6
6
  //#region src/utilities/retry.test.ts
7
7
  describe("retry", () => {
@@ -1,4 +1,4 @@
1
- import { o as computed } from "../lib-Cg8fI7K5.mjs";
1
+ import { o as computed } from "../lib-Dkc7cV5F.mjs";
2
2
  import "../signals/index.mjs";
3
3
  import { currentLocation } from "./location.mjs";
4
4
  //#region src/utilities/routing.ts
@@ -1,5 +1,5 @@
1
- import { f as it, l as describe, o as afterEach, s as beforeAll } from "../benchmark.CX_oY03V-CsUg-gW0.mjs";
2
- import { n as vi, t as globalExpect } from "../test.BmQO5GaM-ZC2MPXQb.mjs";
1
+ import { f as it, l as describe, o as afterEach, s as beforeAll } from "../benchmark.CX_oY03V-CSLAXL5f.mjs";
2
+ import { n as vi, t as globalExpect } from "../test.BmQO5GaM-Ddz9cDxc.mjs";
3
3
  import { isLocalNavigationEvent, match, matches, navigate, patchHistory } from "./routing.mjs";
4
4
  //#region src/utilities/routing.test.ts
5
5
  beforeAll(() => {
@@ -1,7 +1,7 @@
1
- import { c as effectScope } from "../lib-Cg8fI7K5.mjs";
1
+ import { c as effectScope } from "../lib-Dkc7cV5F.mjs";
2
2
  import "../signals/index.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";
3
+ import { f as it, l as describe, o as afterEach } from "../benchmark.CX_oY03V-CSLAXL5f.mjs";
4
+ import { t as globalExpect } from "../test.BmQO5GaM-Ddz9cDxc.mjs";
5
5
  import { createSearchParam } from "./search-params.mjs";
6
6
  //#region src/utilities/search-params.test.ts
7
7
  afterEach(() => {
@@ -1,5 +1,5 @@
1
- import { p as test } from "../benchmark.CX_oY03V-CsUg-gW0.mjs";
2
- import { t as globalExpect } from "../test.BmQO5GaM-ZC2MPXQb.mjs";
1
+ import { p as test } from "../benchmark.CX_oY03V-CSLAXL5f.mjs";
2
+ import { t as globalExpect } from "../test.BmQO5GaM-Ddz9cDxc.mjs";
3
3
  //#region src/utilities/ssr.test.ts
4
4
  // @vitest-environment node
5
5
  test.each([
@@ -1,7 +1,7 @@
1
- import { c as effectScope } from "../lib-Cg8fI7K5.mjs";
1
+ import { c as effectScope } from "../lib-Dkc7cV5F.mjs";
2
2
  import "../signals/index.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";
3
+ import { f as it, l as describe, o as afterEach } from "../benchmark.CX_oY03V-CSLAXL5f.mjs";
4
+ import { t as globalExpect } from "../test.BmQO5GaM-Ddz9cDxc.mjs";
5
5
  import { createLocalStorage, createSessionStorage } from "./storage.mjs";
6
6
  //#region src/utilities/storage.test.ts
7
7
  describe("createLocalStorage", () => {
@@ -1,4 +1,4 @@
1
- import { m as signal, s as effect } from "../lib-Cg8fI7K5.mjs";
1
+ import { m as signal, s as effect } from "../lib-Dkc7cV5F.mjs";
2
2
  import "../signals/index.mjs";
3
3
  import { createTimeout } from "./timeout.mjs";
4
4
  //#region src/utilities/throttled.ts
@@ -1,7 +1,7 @@
1
- import { c as effectScope, m as signal } from "../lib-Cg8fI7K5.mjs";
1
+ import { c as effectScope, m as signal } from "../lib-Dkc7cV5F.mjs";
2
2
  import "../signals/index.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";
3
+ import { c as beforeEach, f as it, l as describe, o as afterEach } from "../benchmark.CX_oY03V-CSLAXL5f.mjs";
4
+ import { n as vi, t as globalExpect } from "../test.BmQO5GaM-Ddz9cDxc.mjs";
5
5
  import { createThrottled } from "./throttled.mjs";
6
6
  //#region src/utilities/throttled.test.ts
7
7
  beforeEach(() => {
@@ -1,4 +1,4 @@
1
- import { m as signal, p as onCleanup } from "../lib-Cg8fI7K5.mjs";
1
+ import { m as signal, p as onCleanup } from "../lib-Dkc7cV5F.mjs";
2
2
  import "../signals/index.mjs";
3
3
  //#region src/utilities/timeout.ts
4
4
  /**