@zeus-js/runtime-dom 0.1.0-beta.4 → 0.1.0-beta.6
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/runtime-dom.cjs.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* runtime-dom v0.1.0-beta.
|
|
2
|
+
* runtime-dom v0.1.0-beta.6
|
|
3
3
|
* (c) 2026 baicie
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
**/
|
|
@@ -412,7 +412,7 @@ function normalizeStyleValue(key, value) {
|
|
|
412
412
|
if (typeof value === "number" && value !== 0 && !isUnitlessNumber(key)) return `${value}px`;
|
|
413
413
|
return String(value);
|
|
414
414
|
}
|
|
415
|
-
const unitlessNumbers = new Set([
|
|
415
|
+
const unitlessNumbers = /* @__PURE__ */ new Set([
|
|
416
416
|
"opacity",
|
|
417
417
|
"zIndex",
|
|
418
418
|
"fontWeight",
|
|
@@ -1127,7 +1127,7 @@ function isMeaningfulTextNode(node) {
|
|
|
1127
1127
|
}
|
|
1128
1128
|
//#endregion
|
|
1129
1129
|
//#region packages/core/runtime-dom/src/webComponents.ts
|
|
1130
|
-
const HOST_RESERVED_KEYS = new Set([
|
|
1130
|
+
const HOST_RESERVED_KEYS = /* @__PURE__ */ new Set([
|
|
1131
1131
|
"children",
|
|
1132
1132
|
"ref",
|
|
1133
1133
|
"class",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* runtime-dom v0.1.0-beta.
|
|
2
|
+
* runtime-dom v0.1.0-beta.6
|
|
3
3
|
* (c) 2026 baicie
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
**/
|
|
@@ -406,7 +406,7 @@ function normalizeStyleValue(key, value) {
|
|
|
406
406
|
if (typeof value === "number" && value !== 0 && !isUnitlessNumber(key)) return `${value}px`;
|
|
407
407
|
return String(value);
|
|
408
408
|
}
|
|
409
|
-
const unitlessNumbers = new Set([
|
|
409
|
+
const unitlessNumbers = /* @__PURE__ */ new Set([
|
|
410
410
|
"opacity",
|
|
411
411
|
"zIndex",
|
|
412
412
|
"fontWeight",
|
|
@@ -1112,7 +1112,7 @@ function isMeaningfulTextNode(node) {
|
|
|
1112
1112
|
}
|
|
1113
1113
|
//#endregion
|
|
1114
1114
|
//#region packages/core/runtime-dom/src/webComponents.ts
|
|
1115
|
-
const HOST_RESERVED_KEYS = new Set([
|
|
1115
|
+
const HOST_RESERVED_KEYS = /* @__PURE__ */ new Set([
|
|
1116
1116
|
"children",
|
|
1117
1117
|
"ref",
|
|
1118
1118
|
"class",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* runtime-dom v0.1.0-beta.
|
|
2
|
+
* runtime-dom v0.1.0-beta.6
|
|
3
3
|
* (c) 2026 baicie
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
**/
|
|
@@ -1759,7 +1759,7 @@ function normalizeStyleValue(key, value) {
|
|
|
1759
1759
|
if (typeof value === "number" && value !== 0 && !isUnitlessNumber(key)) return `${value}px`;
|
|
1760
1760
|
return String(value);
|
|
1761
1761
|
}
|
|
1762
|
-
const unitlessNumbers = new Set([
|
|
1762
|
+
const unitlessNumbers = /* @__PURE__ */ new Set([
|
|
1763
1763
|
"opacity",
|
|
1764
1764
|
"zIndex",
|
|
1765
1765
|
"fontWeight",
|
|
@@ -2474,7 +2474,7 @@ function isMeaningfulTextNode(node) {
|
|
|
2474
2474
|
}
|
|
2475
2475
|
//#endregion
|
|
2476
2476
|
//#region packages/core/runtime-dom/src/webComponents.ts
|
|
2477
|
-
const HOST_RESERVED_KEYS = new Set([
|
|
2477
|
+
const HOST_RESERVED_KEYS = /* @__PURE__ */ new Set([
|
|
2478
2478
|
"children",
|
|
2479
2479
|
"ref",
|
|
2480
2480
|
"class",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* runtime-dom v0.1.0-beta.
|
|
2
|
+
* runtime-dom v0.1.0-beta.6
|
|
3
3
|
* (c) 2026 baicie
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
**/
|
|
@@ -408,7 +408,7 @@ function normalizeStyleValue(key, value) {
|
|
|
408
408
|
if (typeof value === "number" && value !== 0 && !isUnitlessNumber(key)) return `${value}px`;
|
|
409
409
|
return String(value);
|
|
410
410
|
}
|
|
411
|
-
const unitlessNumbers = new Set([
|
|
411
|
+
const unitlessNumbers = /* @__PURE__ */ new Set([
|
|
412
412
|
"opacity",
|
|
413
413
|
"zIndex",
|
|
414
414
|
"fontWeight",
|
|
@@ -1123,7 +1123,7 @@ function isMeaningfulTextNode(node) {
|
|
|
1123
1123
|
}
|
|
1124
1124
|
//#endregion
|
|
1125
1125
|
//#region packages/core/runtime-dom/src/webComponents.ts
|
|
1126
|
-
const HOST_RESERVED_KEYS = new Set([
|
|
1126
|
+
const HOST_RESERVED_KEYS = /* @__PURE__ */ new Set([
|
|
1127
1127
|
"children",
|
|
1128
1128
|
"ref",
|
|
1129
1129
|
"class",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* runtime-dom v0.1.0-beta.
|
|
2
|
+
* runtime-dom v0.1.0-beta.6
|
|
3
3
|
* (c) 2026 baicie
|
|
4
4
|
* Released under the MIT License.
|
|
5
5
|
**/
|
|
@@ -1761,7 +1761,7 @@ var ZeusRuntimeDOM = (function(exports) {
|
|
|
1761
1761
|
if (typeof value === "number" && value !== 0 && !isUnitlessNumber(key)) return `${value}px`;
|
|
1762
1762
|
return String(value);
|
|
1763
1763
|
}
|
|
1764
|
-
const unitlessNumbers = new Set([
|
|
1764
|
+
const unitlessNumbers = /* @__PURE__ */ new Set([
|
|
1765
1765
|
"opacity",
|
|
1766
1766
|
"zIndex",
|
|
1767
1767
|
"fontWeight",
|
|
@@ -2476,7 +2476,7 @@ var ZeusRuntimeDOM = (function(exports) {
|
|
|
2476
2476
|
}
|
|
2477
2477
|
//#endregion
|
|
2478
2478
|
//#region packages/core/runtime-dom/src/webComponents.ts
|
|
2479
|
-
const HOST_RESERVED_KEYS = new Set([
|
|
2479
|
+
const HOST_RESERVED_KEYS = /* @__PURE__ */ new Set([
|
|
2480
2480
|
"children",
|
|
2481
2481
|
"ref",
|
|
2482
2482
|
"class",
|
package/package.json
CHANGED
|
@@ -1,17 +1,19 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zeus-js/runtime-dom",
|
|
3
|
-
"version": "0.1.0-beta.4",
|
|
4
|
-
"description": "@zeus-js/runtime-dom",
|
|
5
3
|
"type": "module",
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
"
|
|
13
|
-
|
|
14
|
-
|
|
4
|
+
"version": "0.1.0-beta.6",
|
|
5
|
+
"description": "@zeus-js/runtime-dom",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "https://github.com/baicie/zeus.git",
|
|
10
|
+
"directory": "packages/core/runtime-dom"
|
|
11
|
+
},
|
|
12
|
+
"publishConfig": {
|
|
13
|
+
"access": "public",
|
|
14
|
+
"provenance": true
|
|
15
|
+
},
|
|
16
|
+
"sideEffects": false,
|
|
15
17
|
"exports": {
|
|
16
18
|
".": {
|
|
17
19
|
"types": "./dist/runtime-dom.d.ts",
|
|
@@ -25,10 +27,16 @@
|
|
|
25
27
|
}
|
|
26
28
|
}
|
|
27
29
|
},
|
|
28
|
-
"
|
|
29
|
-
|
|
30
|
-
"
|
|
31
|
-
|
|
30
|
+
"files": [
|
|
31
|
+
"index.js",
|
|
32
|
+
"dist"
|
|
33
|
+
],
|
|
34
|
+
"dependencies": {
|
|
35
|
+
"@zeus-js/signal": "0.1.0-beta.6"
|
|
36
|
+
},
|
|
37
|
+
"author": "Baicie",
|
|
38
|
+
"bugs": {
|
|
39
|
+
"url": "https://github.com/baicie/zeus/issues"
|
|
32
40
|
},
|
|
33
41
|
"buildOptions": {
|
|
34
42
|
"name": "ZeusRuntimeDOM",
|
|
@@ -39,16 +47,13 @@
|
|
|
39
47
|
"global"
|
|
40
48
|
]
|
|
41
49
|
},
|
|
50
|
+
"homepage": "https://github.com/baicie/zeus/tree/main/packages/core/runtime-dom#readme",
|
|
51
|
+
"jsdelivr": "dist/runtime-dom.global.js",
|
|
42
52
|
"keywords": [
|
|
43
53
|
"zeus"
|
|
44
54
|
],
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
|
|
49
|
-
},
|
|
50
|
-
"homepage": "https://github.com/baicie/zeus/tree/main/packages/core/runtime-dom#readme",
|
|
51
|
-
"dependencies": {
|
|
52
|
-
"@zeus-js/signal": "0.1.0-beta.4"
|
|
53
|
-
}
|
|
55
|
+
"main": "index.js",
|
|
56
|
+
"module": "dist/runtime-dom.esm-bundler.js",
|
|
57
|
+
"types": "dist/runtime-dom.d.ts",
|
|
58
|
+
"unpkg": "dist/runtime-dom.global.js"
|
|
54
59
|
}
|