elements-kit 0.20.0 → 0.21.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/await.d.mts +1 -1
- package/dist/{custom-elements-DK5VUcWA.d.mts → custom-elements-BGcU6ldL.d.mts} +2 -0
- package/dist/custom-elements.d.mts +1 -1
- package/dist/for.d.mts +1 -1
- 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/{types-ncUK9rki.d.mts → types-CUvFIgPa.d.mts} +7 -7
- package/dist/ui/badge/badge.css +5 -5
- package/dist/ui/button/button.css +15 -15
- package/dist/ui/card/card.css +2 -2
- package/dist/ui/group/group.css +61 -0
- package/dist/ui/otp-input/index.d.mts +132 -0
- package/dist/ui/otp-input/index.mjs +328 -0
- package/dist/ui/otp-input/otp-input.css +157 -0
- package/dist/ui/overlay/index.css +52 -4
- package/dist/ui/overlay/index.d.mts +237 -63
- package/dist/ui/overlay/index.mjs +658 -66
- package/dist/ui/overlay/overlay.css +58 -2
- package/dist/ui/styles/index.css +662 -0
- package/dist/ui/styles/radius.css +7 -7
- package/dist/utilities/active-element.d.mts +1 -1
- package/dist/utilities/async.d.mts +1 -1
- package/dist/utilities/debounced.d.mts +1 -1
- package/dist/utilities/dom-lifecycle.bench.mjs +2 -2
- package/dist/utilities/element-rect.d.mts +1 -1
- package/dist/utilities/element-scroll.d.mts +1 -1
- package/dist/utilities/event-driven.d.mts +1 -1
- package/dist/utilities/event-listener.d.mts +1 -1
- package/dist/utilities/focus-within.d.mts +1 -1
- package/dist/utilities/hover.d.mts +1 -1
- package/dist/utilities/interval.d.mts +1 -1
- package/dist/utilities/location.d.mts +1 -1
- package/dist/utilities/media-devices.d.mts +1 -1
- package/dist/utilities/media-player.d.mts +1 -1
- package/dist/utilities/media-query.d.mts +1 -1
- package/dist/utilities/network.d.mts +1 -1
- package/dist/utilities/orientation.d.mts +1 -1
- package/dist/utilities/previous.d.mts +1 -1
- package/dist/utilities/promise.d.mts +1 -1
- package/dist/utilities/routing.d.mts +1 -1
- package/dist/utilities/search-params.d.mts +1 -1
- package/dist/utilities/storage.d.mts +1 -1
- package/dist/utilities/throttled.d.mts +1 -1
- package/dist/utilities/timeout.d.mts +1 -1
- package/dist/utilities/window-focus.d.mts +1 -1
- package/dist/utilities/window-size.d.mts +1 -1
- package/package.json +8 -1
|
@@ -3218,7 +3218,7 @@ function manageArtifactAttachment(attachment) {
|
|
|
3218
3218
|
if (attachment.body != null) attachment.bodyEncoding ??= "base64";
|
|
3219
3219
|
}
|
|
3220
3220
|
//#endregion
|
|
3221
|
-
//#region node_modules/.pnpm/vitest@4.1.3_@types+node@25.5.2_happy-dom@20.8.9_vite@8.0.8_@types+node@25.5.2_esbuild@0.27.
|
|
3221
|
+
//#region node_modules/.pnpm/vitest@4.1.3_@types+node@25.5.2_happy-dom@20.8.9_vite@8.0.8_@types+node@25.5.2_esbuild@0.27.7_yaml@2.9.0_/node_modules/vitest/dist/chunks/utils.BX5Fg8C4.js
|
|
3222
3222
|
const NAME_WORKER_STATE = "__vitest_worker__";
|
|
3223
3223
|
function getWorkerState() {
|
|
3224
3224
|
const workerState = globalThis[NAME_WORKER_STATE];
|
|
@@ -3226,7 +3226,7 @@ function getWorkerState() {
|
|
|
3226
3226
|
return workerState;
|
|
3227
3227
|
}
|
|
3228
3228
|
//#endregion
|
|
3229
|
-
//#region node_modules/.pnpm/vitest@4.1.3_@types+node@25.5.2_happy-dom@20.8.9_vite@8.0.8_@types+node@25.5.2_esbuild@0.27.
|
|
3229
|
+
//#region node_modules/.pnpm/vitest@4.1.3_@types+node@25.5.2_happy-dom@20.8.9_vite@8.0.8_@types+node@25.5.2_esbuild@0.27.7_yaml@2.9.0_/node_modules/vitest/dist/chunks/benchmark.CX_oY03V.js
|
|
3230
3230
|
const benchFns = /* @__PURE__ */ new WeakMap();
|
|
3231
3231
|
const benchOptsMap = /* @__PURE__ */ new WeakMap();
|
|
3232
3232
|
const bench = createBenchmark(function(name, fn = noop, options = {}) {
|
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.21.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",
|
|
@@ -109,6 +109,12 @@
|
|
|
109
109
|
"import": "./dist/ui/overlay/index.mjs",
|
|
110
110
|
"types": "./dist/ui/overlay/index.d.mts"
|
|
111
111
|
},
|
|
112
|
+
"./ui/otp-input": {
|
|
113
|
+
"source": "./src/ui/otp-input/index.ts",
|
|
114
|
+
"import": "./dist/ui/otp-input/index.mjs",
|
|
115
|
+
"types": "./dist/ui/otp-input/index.d.mts"
|
|
116
|
+
},
|
|
117
|
+
"./ui/styles.css": "./dist/ui/styles/index.css",
|
|
112
118
|
"./ui/*": "./dist/ui/*"
|
|
113
119
|
},
|
|
114
120
|
"scripts": {
|
|
@@ -133,6 +139,7 @@
|
|
|
133
139
|
"vitest": "^4.1.2"
|
|
134
140
|
},
|
|
135
141
|
"dependencies": {
|
|
142
|
+
"@floating-ui/dom": "^1.7.6",
|
|
136
143
|
"dom-expressions": "^0.40.6"
|
|
137
144
|
},
|
|
138
145
|
"peerDependencies": {
|