elements-kit 0.0.6 → 0.0.7
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/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as disposeElement } from "./element-
|
|
1
|
+
import { n as disposeElement } from "./element-Ddri9UFx.mjs";
|
|
2
2
|
import { a as effect, d as onCleanup, f as signal, m as untracked, p as trigger } from "./signals-CLAPw8kk.mjs";
|
|
3
3
|
//#region src/components/for.ts
|
|
4
4
|
/**
|
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.0.7",
|
|
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",
|
|
@@ -252,8 +252,8 @@ function createNodeElement(type, props, ref) {
|
|
|
252
252
|
let dispose;
|
|
253
253
|
untracked(() => {
|
|
254
254
|
dispose = effectScope(() => {
|
|
255
|
-
applyProps(node, props);
|
|
256
255
|
el = renderNode(node);
|
|
256
|
+
applyProps(node, props);
|
|
257
257
|
if (typeof ref === "function" && el instanceof Element) ref(el);
|
|
258
258
|
});
|
|
259
259
|
});
|