elements-kit 0.17.0 → 0.18.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/{benchmark.CX_oY03V-CsUg-gW0.mjs → benchmark.CX_oY03V-CSLAXL5f.mjs} +1 -32
- package/dist/{element-DGuUvJM4.mjs → element-D6xVuWdX.mjs} +1 -1
- package/dist/for.mjs +2 -2
- package/dist/integrations/react.mjs +2 -2
- package/dist/jsx-runtime/index.d.mts +1 -1
- package/dist/jsx-runtime/index.mjs +1 -1
- package/dist/{lib-Cg8fI7K5.mjs → lib-Dkc7cV5F.mjs} +31 -0
- package/dist/render.mjs +1 -1
- package/dist/{scope-De6rSJvq.mjs → scope-CnEvL9Nd.mjs} +1 -1
- package/dist/signals/index.mjs +1 -1
- package/dist/{test.BmQO5GaM-ZC2MPXQb.mjs → test.BmQO5GaM-Ddz9cDxc.mjs} +100 -1
- package/dist/ui/accordion/accordion.css +5 -5
- package/dist/ui/badge/badge.css +1 -1
- package/dist/ui/button/button.css +14 -14
- package/dist/ui/card/card.css +36 -36
- package/dist/ui/checkbox/checkbox.css +6 -6
- package/dist/ui/code/code.css +1 -1
- package/dist/ui/kbd/kbd.css +2 -2
- package/dist/ui/marketing/marketing.css +12 -12
- package/dist/ui/progress/progress.css +6 -6
- package/dist/ui/radio/radio.css +7 -7
- package/dist/ui/segmented-control/segmented-control.css +17 -17
- package/dist/ui/select/select.css +9 -9
- package/dist/ui/slider/slider.css +7 -7
- package/dist/ui/styles/accent/neutral.css +30 -0
- package/dist/ui/styles/material.css +1 -1
- package/dist/ui/styles/neutral/gray.css +30 -0
- package/dist/ui/styles/neutral/mauve.css +30 -0
- package/dist/ui/styles/neutral/olive.css +30 -0
- package/dist/ui/styles/neutral/sage.css +30 -0
- package/dist/ui/styles/neutral/sand.css +30 -0
- package/dist/ui/styles/neutral/slate.css +30 -0
- package/dist/ui/styles/palette/gray.css +127 -0
- package/dist/ui/styles/shadow.css +42 -42
- package/dist/ui/styles/theme.css +2 -2
- package/dist/ui/switch/switch.css +7 -7
- package/dist/ui/text-input/text-input.css +17 -17
- package/dist/ui/toggle/toggle.css +6 -6
- package/dist/utilities/_observe.mjs +1 -1
- package/dist/utilities/active-element.mjs +1 -1
- package/dist/utilities/active-element.test.mjs +2 -2
- package/dist/utilities/async.mjs +1 -1
- package/dist/utilities/async.test.mjs +3 -3
- package/dist/utilities/context.mjs +1 -1
- package/dist/utilities/context.test.mjs +3 -3
- package/dist/utilities/debounced.mjs +1 -1
- package/dist/utilities/debounced.test.mjs +3 -3
- package/dist/utilities/dom-lifecycle.bench.mjs +1 -1
- package/dist/utilities/dom-lifecycle.mjs +1 -1
- package/dist/utilities/dom-lifecycle.test.mjs +2 -2
- package/dist/utilities/element-rect.mjs +1 -1
- package/dist/utilities/element-rect.test.mjs +3 -3
- package/dist/utilities/element-scroll.test.mjs +3 -3
- package/dist/utilities/event-driven.mjs +1 -1
- package/dist/utilities/event-listener.mjs +1 -1
- package/dist/utilities/event-listener.test.mjs +3 -3
- package/dist/utilities/focus-within.mjs +1 -1
- package/dist/utilities/focus-within.test.mjs +3 -3
- package/dist/utilities/hover.mjs +1 -1
- package/dist/utilities/hover.test.mjs +3 -3
- package/dist/utilities/intersection-observer.test.mjs +3 -3
- package/dist/utilities/interval.mjs +1 -1
- package/dist/utilities/interval.test.mjs +3 -3
- package/dist/utilities/location.mjs +1 -1
- package/dist/utilities/location.test.mjs +2 -2
- package/dist/utilities/long-press.test.mjs +3 -3
- package/dist/utilities/media-devices.mjs +1 -1
- package/dist/utilities/media-devices.test.mjs +3 -3
- package/dist/utilities/media-player.test.mjs +3 -3
- package/dist/utilities/media-query.mjs +1 -1
- package/dist/utilities/mutation-observer.test.mjs +3 -3
- package/dist/utilities/network.mjs +1 -1
- package/dist/utilities/network.test.mjs +2 -2
- package/dist/utilities/on-click-outside.test.mjs +3 -3
- package/dist/utilities/orientation.mjs +1 -1
- package/dist/utilities/previous.mjs +1 -1
- package/dist/utilities/previous.test.mjs +3 -3
- package/dist/utilities/promise.mjs +1 -1
- package/dist/utilities/promise.test.mjs +3 -3
- package/dist/utilities/retry.mjs +1 -1
- package/dist/utilities/retry.test.mjs +3 -3
- package/dist/utilities/routing.mjs +1 -1
- package/dist/utilities/routing.test.mjs +2 -2
- package/dist/utilities/search-params.test.mjs +3 -3
- package/dist/utilities/ssr.test.mjs +2 -2
- package/dist/utilities/storage.test.mjs +3 -3
- package/dist/utilities/throttled.mjs +1 -1
- package/dist/utilities/throttled.test.mjs +3 -3
- package/dist/utilities/timeout.mjs +1 -1
- package/dist/utilities/timeout.test.mjs +3 -3
- package/dist/utilities/window-focus.mjs +1 -1
- package/dist/utilities/window-size.mjs +1 -1
- package/dist/utilities/window-size.test.mjs +2 -2
- package/package.json +1 -1
- package/dist/ui/styles/accent/base.css +0 -30
- package/dist/ui/styles/base/mauve.css +0 -30
- package/dist/ui/styles/base/neutral.css +0 -30
- package/dist/ui/styles/base/olive.css +0 -30
- package/dist/ui/styles/base/sage.css +0 -30
- package/dist/ui/styles/base/sand.css +0 -30
- package/dist/ui/styles/base/slate.css +0 -30
- package/dist/ui/styles/palette/neutral.css +0 -127
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { c as effectScope } from "../lib-
|
|
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-
|
|
4
|
-
import { t as globalExpect } from "../test.BmQO5GaM-
|
|
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(() => {
|
package/dist/utilities/hover.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { c as effectScope } from "../lib-
|
|
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-
|
|
4
|
-
import { n as vi, t as globalExpect } from "../test.BmQO5GaM-
|
|
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-
|
|
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-
|
|
4
|
-
import { n as vi, t as globalExpect } from "../test.BmQO5GaM-
|
|
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,7 +1,7 @@
|
|
|
1
|
-
import { c as effectScope } from "../lib-
|
|
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-
|
|
4
|
-
import { n as vi, t as globalExpect } from "../test.BmQO5GaM-
|
|
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-
|
|
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-
|
|
2
|
-
import { t as globalExpect } from "../test.BmQO5GaM-
|
|
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-
|
|
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-
|
|
4
|
-
import { n as vi, t as globalExpect } from "../test.BmQO5GaM-
|
|
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,7 +1,7 @@
|
|
|
1
|
-
import { c as effectScope } from "../lib-
|
|
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-
|
|
4
|
-
import { n as vi, t as globalExpect } from "../test.BmQO5GaM-
|
|
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-
|
|
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-
|
|
4
|
-
import { n as vi, t as globalExpect } from "../test.BmQO5GaM-
|
|
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,7 +1,7 @@
|
|
|
1
|
-
import { c as effectScope } from "../lib-
|
|
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-
|
|
4
|
-
import { n as vi, t as globalExpect } from "../test.BmQO5GaM-
|
|
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,5 +1,5 @@
|
|
|
1
|
-
import { f as it, l as describe, o as afterEach } from "../benchmark.CX_oY03V-
|
|
2
|
-
import { n as vi, t as globalExpect } from "../test.BmQO5GaM-
|
|
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-
|
|
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-
|
|
4
|
-
import { n as vi, t as globalExpect } from "../test.BmQO5GaM-
|
|
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,7 +1,7 @@
|
|
|
1
|
-
import { c as effectScope, m as signal } from "../lib-
|
|
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-
|
|
4
|
-
import { t as globalExpect } from "../test.BmQO5GaM-
|
|
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,7 +1,7 @@
|
|
|
1
|
-
import { s as effect } from "../lib-
|
|
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-
|
|
4
|
-
import { t as globalExpect } from "../test.BmQO5GaM-
|
|
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", () => {
|
package/dist/utilities/retry.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { p as onCleanup } from "../lib-
|
|
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-
|
|
4
|
-
import { n as vi, t as globalExpect } from "../test.BmQO5GaM-
|
|
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,5 +1,5 @@
|
|
|
1
|
-
import { f as it, l as describe, o as afterEach, s as beforeAll } from "../benchmark.CX_oY03V-
|
|
2
|
-
import { n as vi, t as globalExpect } from "../test.BmQO5GaM-
|
|
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-
|
|
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-
|
|
4
|
-
import { t as globalExpect } from "../test.BmQO5GaM-
|
|
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-
|
|
2
|
-
import { t as globalExpect } from "../test.BmQO5GaM-
|
|
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-
|
|
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-
|
|
4
|
-
import { t as globalExpect } from "../test.BmQO5GaM-
|
|
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,7 +1,7 @@
|
|
|
1
|
-
import { c as effectScope, m as signal } from "../lib-
|
|
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-
|
|
4
|
-
import { n as vi, t as globalExpect } from "../test.BmQO5GaM-
|
|
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,7 +1,7 @@
|
|
|
1
|
-
import { c as effectScope } from "../lib-
|
|
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-
|
|
4
|
-
import { n as vi, t as globalExpect } from "../test.BmQO5GaM-
|
|
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 { createTimeout } from "./timeout.mjs";
|
|
6
6
|
//#region src/utilities/timeout.test.ts
|
|
7
7
|
afterEach(() => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { f as it, l as describe } from "../benchmark.CX_oY03V-
|
|
2
|
-
import { t as globalExpect } from "../test.BmQO5GaM-
|
|
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 { windowSize } from "./window-size.mjs";
|
|
4
4
|
//#region src/utilities/window-size.test.ts
|
|
5
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.
|
|
4
|
+
"version": "0.18.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",
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
[data-accent="base"] {
|
|
2
|
-
--accent-1: var(--base-color-1);
|
|
3
|
-
--accent-2: var(--base-color-2);
|
|
4
|
-
--accent-3: var(--base-color-3);
|
|
5
|
-
--accent-4: var(--base-color-4);
|
|
6
|
-
--accent-5: var(--base-color-5);
|
|
7
|
-
--accent-6: var(--base-color-6);
|
|
8
|
-
--accent-7: var(--base-color-7);
|
|
9
|
-
--accent-8: var(--base-color-8);
|
|
10
|
-
--accent-9: var(--base-color-9);
|
|
11
|
-
--accent-10: var(--base-color-10);
|
|
12
|
-
--accent-11: var(--base-color-11);
|
|
13
|
-
--accent-12: var(--base-color-12);
|
|
14
|
-
--accent-a1: var(--base-color-a1);
|
|
15
|
-
--accent-a2: var(--base-color-a2);
|
|
16
|
-
--accent-a3: var(--base-color-a3);
|
|
17
|
-
--accent-a4: var(--base-color-a4);
|
|
18
|
-
--accent-a5: var(--base-color-a5);
|
|
19
|
-
--accent-a6: var(--base-color-a6);
|
|
20
|
-
--accent-a7: var(--base-color-a7);
|
|
21
|
-
--accent-a8: var(--base-color-a8);
|
|
22
|
-
--accent-a9: var(--base-color-a9);
|
|
23
|
-
--accent-a10: var(--base-color-a10);
|
|
24
|
-
--accent-a11: var(--base-color-a11);
|
|
25
|
-
--accent-a12: var(--base-color-a12);
|
|
26
|
-
--accent-contrast: var(--base-color-contrast);
|
|
27
|
-
--accent-surface: var(--base-color-surface);
|
|
28
|
-
--accent-indicator: var(--base-color-indicator);
|
|
29
|
-
--accent-track: var(--base-color-track);
|
|
30
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
[data-base-color="mauve"] {
|
|
2
|
-
--base-color-1: var(--mauve-1);
|
|
3
|
-
--base-color-2: var(--mauve-2);
|
|
4
|
-
--base-color-3: var(--mauve-3);
|
|
5
|
-
--base-color-4: var(--mauve-4);
|
|
6
|
-
--base-color-5: var(--mauve-5);
|
|
7
|
-
--base-color-6: var(--mauve-6);
|
|
8
|
-
--base-color-7: var(--mauve-7);
|
|
9
|
-
--base-color-8: var(--mauve-8);
|
|
10
|
-
--base-color-9: var(--mauve-9);
|
|
11
|
-
--base-color-10: var(--mauve-10);
|
|
12
|
-
--base-color-11: var(--mauve-11);
|
|
13
|
-
--base-color-12: var(--mauve-12);
|
|
14
|
-
--base-color-a1: var(--mauve-a1);
|
|
15
|
-
--base-color-a2: var(--mauve-a2);
|
|
16
|
-
--base-color-a3: var(--mauve-a3);
|
|
17
|
-
--base-color-a4: var(--mauve-a4);
|
|
18
|
-
--base-color-a5: var(--mauve-a5);
|
|
19
|
-
--base-color-a6: var(--mauve-a6);
|
|
20
|
-
--base-color-a7: var(--mauve-a7);
|
|
21
|
-
--base-color-a8: var(--mauve-a8);
|
|
22
|
-
--base-color-a9: var(--mauve-a9);
|
|
23
|
-
--base-color-a10: var(--mauve-a10);
|
|
24
|
-
--base-color-a11: var(--mauve-a11);
|
|
25
|
-
--base-color-a12: var(--mauve-a12);
|
|
26
|
-
--base-color-contrast: var(--mauve-contrast);
|
|
27
|
-
--base-color-surface: var(--mauve-surface);
|
|
28
|
-
--base-color-indicator: var(--mauve-indicator);
|
|
29
|
-
--base-color-track: var(--mauve-track);
|
|
30
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
[data-base-color="neutral"] {
|
|
2
|
-
--base-color-1: var(--neutral-1);
|
|
3
|
-
--base-color-2: var(--neutral-2);
|
|
4
|
-
--base-color-3: var(--neutral-3);
|
|
5
|
-
--base-color-4: var(--neutral-4);
|
|
6
|
-
--base-color-5: var(--neutral-5);
|
|
7
|
-
--base-color-6: var(--neutral-6);
|
|
8
|
-
--base-color-7: var(--neutral-7);
|
|
9
|
-
--base-color-8: var(--neutral-8);
|
|
10
|
-
--base-color-9: var(--neutral-9);
|
|
11
|
-
--base-color-10: var(--neutral-10);
|
|
12
|
-
--base-color-11: var(--neutral-11);
|
|
13
|
-
--base-color-12: var(--neutral-12);
|
|
14
|
-
--base-color-a1: var(--neutral-a1);
|
|
15
|
-
--base-color-a2: var(--neutral-a2);
|
|
16
|
-
--base-color-a3: var(--neutral-a3);
|
|
17
|
-
--base-color-a4: var(--neutral-a4);
|
|
18
|
-
--base-color-a5: var(--neutral-a5);
|
|
19
|
-
--base-color-a6: var(--neutral-a6);
|
|
20
|
-
--base-color-a7: var(--neutral-a7);
|
|
21
|
-
--base-color-a8: var(--neutral-a8);
|
|
22
|
-
--base-color-a9: var(--neutral-a9);
|
|
23
|
-
--base-color-a10: var(--neutral-a10);
|
|
24
|
-
--base-color-a11: var(--neutral-a11);
|
|
25
|
-
--base-color-a12: var(--neutral-a12);
|
|
26
|
-
--base-color-surface: var(--neutral-surface);
|
|
27
|
-
--base-color-indicator: var(--neutral-indicator);
|
|
28
|
-
--base-color-track: var(--neutral-track);
|
|
29
|
-
--base-color-contrast: var(--neutral-contrast);
|
|
30
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
[data-base-color="olive"] {
|
|
2
|
-
--base-color-1: var(--olive-1);
|
|
3
|
-
--base-color-2: var(--olive-2);
|
|
4
|
-
--base-color-3: var(--olive-3);
|
|
5
|
-
--base-color-4: var(--olive-4);
|
|
6
|
-
--base-color-5: var(--olive-5);
|
|
7
|
-
--base-color-6: var(--olive-6);
|
|
8
|
-
--base-color-7: var(--olive-7);
|
|
9
|
-
--base-color-8: var(--olive-8);
|
|
10
|
-
--base-color-9: var(--olive-9);
|
|
11
|
-
--base-color-10: var(--olive-10);
|
|
12
|
-
--base-color-11: var(--olive-11);
|
|
13
|
-
--base-color-12: var(--olive-12);
|
|
14
|
-
--base-color-a1: var(--olive-a1);
|
|
15
|
-
--base-color-a2: var(--olive-a2);
|
|
16
|
-
--base-color-a3: var(--olive-a3);
|
|
17
|
-
--base-color-a4: var(--olive-a4);
|
|
18
|
-
--base-color-a5: var(--olive-a5);
|
|
19
|
-
--base-color-a6: var(--olive-a6);
|
|
20
|
-
--base-color-a7: var(--olive-a7);
|
|
21
|
-
--base-color-a8: var(--olive-a8);
|
|
22
|
-
--base-color-a9: var(--olive-a9);
|
|
23
|
-
--base-color-a10: var(--olive-a10);
|
|
24
|
-
--base-color-a11: var(--olive-a11);
|
|
25
|
-
--base-color-a12: var(--olive-a12);
|
|
26
|
-
--base-color-contrast: var(--olive-contrast);
|
|
27
|
-
--base-color-surface: var(--olive-surface);
|
|
28
|
-
--base-color-indicator: var(--olive-indicator);
|
|
29
|
-
--base-color-track: var(--olive-track);
|
|
30
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
[data-base-color="sage"] {
|
|
2
|
-
--base-color-1: var(--sage-1);
|
|
3
|
-
--base-color-2: var(--sage-2);
|
|
4
|
-
--base-color-3: var(--sage-3);
|
|
5
|
-
--base-color-4: var(--sage-4);
|
|
6
|
-
--base-color-5: var(--sage-5);
|
|
7
|
-
--base-color-6: var(--sage-6);
|
|
8
|
-
--base-color-7: var(--sage-7);
|
|
9
|
-
--base-color-8: var(--sage-8);
|
|
10
|
-
--base-color-9: var(--sage-9);
|
|
11
|
-
--base-color-10: var(--sage-10);
|
|
12
|
-
--base-color-11: var(--sage-11);
|
|
13
|
-
--base-color-12: var(--sage-12);
|
|
14
|
-
--base-color-a1: var(--sage-a1);
|
|
15
|
-
--base-color-a2: var(--sage-a2);
|
|
16
|
-
--base-color-a3: var(--sage-a3);
|
|
17
|
-
--base-color-a4: var(--sage-a4);
|
|
18
|
-
--base-color-a5: var(--sage-a5);
|
|
19
|
-
--base-color-a6: var(--sage-a6);
|
|
20
|
-
--base-color-a7: var(--sage-a7);
|
|
21
|
-
--base-color-a8: var(--sage-a8);
|
|
22
|
-
--base-color-a9: var(--sage-a9);
|
|
23
|
-
--base-color-a10: var(--sage-a10);
|
|
24
|
-
--base-color-a11: var(--sage-a11);
|
|
25
|
-
--base-color-a12: var(--sage-a12);
|
|
26
|
-
--base-color-contrast: var(--sage-contrast);
|
|
27
|
-
--base-color-surface: var(--sage-surface);
|
|
28
|
-
--base-color-indicator: var(--sage-indicator);
|
|
29
|
-
--base-color-track: var(--sage-track);
|
|
30
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
[data-base-color="sand"] {
|
|
2
|
-
--base-color-1: var(--sand-1);
|
|
3
|
-
--base-color-2: var(--sand-2);
|
|
4
|
-
--base-color-3: var(--sand-3);
|
|
5
|
-
--base-color-4: var(--sand-4);
|
|
6
|
-
--base-color-5: var(--sand-5);
|
|
7
|
-
--base-color-6: var(--sand-6);
|
|
8
|
-
--base-color-7: var(--sand-7);
|
|
9
|
-
--base-color-8: var(--sand-8);
|
|
10
|
-
--base-color-9: var(--sand-9);
|
|
11
|
-
--base-color-10: var(--sand-10);
|
|
12
|
-
--base-color-11: var(--sand-11);
|
|
13
|
-
--base-color-12: var(--sand-12);
|
|
14
|
-
--base-color-a1: var(--sand-a1);
|
|
15
|
-
--base-color-a2: var(--sand-a2);
|
|
16
|
-
--base-color-a3: var(--sand-a3);
|
|
17
|
-
--base-color-a4: var(--sand-a4);
|
|
18
|
-
--base-color-a5: var(--sand-a5);
|
|
19
|
-
--base-color-a6: var(--sand-a6);
|
|
20
|
-
--base-color-a7: var(--sand-a7);
|
|
21
|
-
--base-color-a8: var(--sand-a8);
|
|
22
|
-
--base-color-a9: var(--sand-a9);
|
|
23
|
-
--base-color-a10: var(--sand-a10);
|
|
24
|
-
--base-color-a11: var(--sand-a11);
|
|
25
|
-
--base-color-a12: var(--sand-a12);
|
|
26
|
-
--base-color-contrast: var(--sand-contrast);
|
|
27
|
-
--base-color-surface: var(--sand-surface);
|
|
28
|
-
--base-color-indicator: var(--sand-indicator);
|
|
29
|
-
--base-color-track: var(--sand-track);
|
|
30
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
[data-base-color="slate"] {
|
|
2
|
-
--base-color-1: var(--slate-1);
|
|
3
|
-
--base-color-2: var(--slate-2);
|
|
4
|
-
--base-color-3: var(--slate-3);
|
|
5
|
-
--base-color-4: var(--slate-4);
|
|
6
|
-
--base-color-5: var(--slate-5);
|
|
7
|
-
--base-color-6: var(--slate-6);
|
|
8
|
-
--base-color-7: var(--slate-7);
|
|
9
|
-
--base-color-8: var(--slate-8);
|
|
10
|
-
--base-color-9: var(--slate-9);
|
|
11
|
-
--base-color-10: var(--slate-10);
|
|
12
|
-
--base-color-11: var(--slate-11);
|
|
13
|
-
--base-color-12: var(--slate-12);
|
|
14
|
-
--base-color-a1: var(--slate-a1);
|
|
15
|
-
--base-color-a2: var(--slate-a2);
|
|
16
|
-
--base-color-a3: var(--slate-a3);
|
|
17
|
-
--base-color-a4: var(--slate-a4);
|
|
18
|
-
--base-color-a5: var(--slate-a5);
|
|
19
|
-
--base-color-a6: var(--slate-a6);
|
|
20
|
-
--base-color-a7: var(--slate-a7);
|
|
21
|
-
--base-color-a8: var(--slate-a8);
|
|
22
|
-
--base-color-a9: var(--slate-a9);
|
|
23
|
-
--base-color-a10: var(--slate-a10);
|
|
24
|
-
--base-color-a11: var(--slate-a11);
|
|
25
|
-
--base-color-a12: var(--slate-a12);
|
|
26
|
-
--base-color-contrast: var(--slate-contrast);
|
|
27
|
-
--base-color-surface: var(--slate-surface);
|
|
28
|
-
--base-color-indicator: var(--slate-indicator);
|
|
29
|
-
--base-color-track: var(--slate-track);
|
|
30
|
-
}
|