@targoninc/jess-components 0.0.17 → 0.0.18
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.js +4 -4
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -208,9 +208,9 @@ class DomNode {
|
|
|
208
208
|
const value = arguments[i + 1];
|
|
209
209
|
if (value && isSignal(value)) {
|
|
210
210
|
this._node.setAttribute(key, value.value);
|
|
211
|
-
value.
|
|
211
|
+
value.subscribe((newValue) => {
|
|
212
212
|
this._node.setAttribute(key, newValue);
|
|
213
|
-
};
|
|
213
|
+
});
|
|
214
214
|
} else {
|
|
215
215
|
this._node.setAttribute(key, value);
|
|
216
216
|
}
|
|
@@ -565,9 +565,9 @@ class DomNode {
|
|
|
565
565
|
}
|
|
566
566
|
if (value && isSignal(value)) {
|
|
567
567
|
this._node.style[key] = value.value;
|
|
568
|
-
value.
|
|
568
|
+
value.subscribe((newValue) => {
|
|
569
569
|
this._node.style[key] = newValue;
|
|
570
|
-
};
|
|
570
|
+
});
|
|
571
571
|
} else {
|
|
572
572
|
this._node.style[key] = value;
|
|
573
573
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@targoninc/jess-components",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.18",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"files": [
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"prepublishOnly": "bun run build"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@targoninc/jess": "^0.0.
|
|
20
|
+
"@targoninc/jess": "^0.0.19"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"@types/bun": "latest",
|