elements-kit 0.0.20 → 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.
- package/dist/attributes.d.mts +1 -1
- package/dist/benchmark.CX_oY03V-CsUg-gW0.mjs +5176 -0
- package/dist/custom-elements.d.mts +1 -1
- package/dist/for.d.mts +1 -1
- package/dist/{infer-DuFY-y2b.d.mts → infer-BUUWMoG9.d.mts} +3 -3
- package/dist/integrations/react.d.mts +1 -1
- package/dist/jsx-runtime/index.d.mts +1 -1
- package/dist/signals/index.d.mts +1 -1
- package/dist/slot.d.mts +1 -1
- package/dist/{test.BmQO5GaM-BeO5pvCo.mjs → test.BmQO5GaM-ZC2MPXQb.mjs} +6 -5153
- package/dist/utilities/active-element.d.mts +1 -1
- package/dist/utilities/active-element.test.mjs +2 -1
- package/dist/utilities/async.d.mts +1 -1
- package/dist/utilities/async.test.mjs +2 -1
- package/dist/utilities/context.d.mts +78 -0
- package/dist/utilities/context.mjs +115 -0
- package/dist/utilities/context.test.d.mts +1 -0
- package/dist/utilities/context.test.mjs +171 -0
- package/dist/utilities/debounced.d.mts +1 -1
- package/dist/utilities/debounced.test.mjs +2 -1
- package/dist/utilities/dom-lifecycle.bench.d.mts +1 -0
- package/dist/utilities/dom-lifecycle.bench.mjs +90 -0
- package/dist/utilities/dom-lifecycle.d.mts +88 -0
- package/dist/utilities/dom-lifecycle.mjs +113 -0
- package/dist/utilities/dom-lifecycle.test.d.mts +1 -0
- package/dist/utilities/dom-lifecycle.test.mjs +227 -0
- package/dist/utilities/element-rect.d.mts +1 -1
- package/dist/utilities/element-rect.test.mjs +2 -1
- package/dist/utilities/element-scroll.d.mts +1 -1
- package/dist/utilities/element-scroll.test.mjs +2 -1
- package/dist/utilities/event-driven.d.mts +1 -1
- package/dist/utilities/event-listener.d.mts +1 -1
- package/dist/utilities/event-listener.test.mjs +2 -1
- package/dist/utilities/focus-within.d.mts +1 -1
- package/dist/utilities/focus-within.test.mjs +2 -1
- package/dist/utilities/hover.d.mts +1 -1
- package/dist/utilities/hover.test.mjs +2 -1
- package/dist/utilities/intersection-observer.test.mjs +2 -1
- package/dist/utilities/interval.d.mts +1 -1
- package/dist/utilities/interval.test.mjs +2 -1
- package/dist/utilities/location.d.mts +1 -1
- package/dist/utilities/location.test.mjs +2 -1
- package/dist/utilities/long-press.test.mjs +2 -1
- package/dist/utilities/media-devices.d.mts +1 -1
- package/dist/utilities/media-devices.test.mjs +2 -1
- package/dist/utilities/media-player.d.mts +1 -1
- package/dist/utilities/media-player.test.mjs +2 -1
- package/dist/utilities/media-query.d.mts +1 -1
- package/dist/utilities/mutation-observer.test.mjs +2 -1
- package/dist/utilities/network.d.mts +1 -1
- package/dist/utilities/network.test.mjs +2 -1
- package/dist/utilities/on-click-outside.test.mjs +2 -1
- package/dist/utilities/orientation.d.mts +1 -1
- package/dist/utilities/previous.d.mts +1 -1
- package/dist/utilities/previous.test.mjs +2 -1
- package/dist/utilities/promise.d.mts +1 -1
- package/dist/utilities/promise.test.mjs +2 -1
- package/dist/utilities/retry.test.mjs +2 -1
- package/dist/utilities/routing.d.mts +1 -1
- package/dist/utilities/routing.test.mjs +2 -1
- package/dist/utilities/search-params.d.mts +1 -1
- package/dist/utilities/search-params.test.mjs +2 -1
- package/dist/utilities/ssr.test.mjs +2 -1
- package/dist/utilities/storage.d.mts +1 -1
- package/dist/utilities/storage.test.mjs +2 -1
- package/dist/utilities/throttled.d.mts +1 -1
- package/dist/utilities/throttled.test.mjs +2 -1
- package/dist/utilities/timeout.d.mts +1 -1
- package/dist/utilities/timeout.test.mjs +2 -1
- package/dist/utilities/window-focus.d.mts +1 -1
- package/dist/utilities/window-size.d.mts +1 -1
- package/dist/utilities/window-size.test.mjs +2 -1
- package/package.json +1 -1
- /package/dist/{attributes-DILeh3-s.d.mts → attributes-3r7Diua4.d.mts} +0 -0
- /package/dist/{custom-elements-D5_NMNyD.d.mts → custom-elements-CBuenqVD.d.mts} +0 -0
- /package/dist/{magic-string.es-cTgJnTCj.mjs → magic-string.es-CXefOmkB.mjs} +0 -0
- /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 {
|
|
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 {
|
|
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,6 +1,7 @@
|
|
|
1
1
|
import { c as effectScope } from "../lib-D6duEs38.mjs";
|
|
2
2
|
import "../signals/index.mjs";
|
|
3
|
-
import {
|
|
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,6 +1,7 @@
|
|
|
1
1
|
import { c as effectScope, m as signal } from "../lib-D6duEs38.mjs";
|
|
2
2
|
import "../signals/index.mjs";
|
|
3
|
-
import {
|
|
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,6 +1,7 @@
|
|
|
1
1
|
import { c as effectScope } from "../lib-D6duEs38.mjs";
|
|
2
2
|
import "../signals/index.mjs";
|
|
3
|
-
import {
|
|
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,5 @@
|
|
|
1
|
-
import {
|
|
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.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",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|