kt.js 0.26.2 → 0.26.5
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/jsx-runtime.mjs +2 -4
- package/package.json +2 -2
package/dist/jsx-runtime.mjs
CHANGED
|
@@ -81,7 +81,7 @@ if (typeof Symbol === 'undefined') {
|
|
|
81
81
|
}
|
|
82
82
|
|
|
83
83
|
// Shared utilities and cached native methods for kt.js framework
|
|
84
|
-
Object.defineProperty(window, '__ktjs__', { value: '0.
|
|
84
|
+
Object.defineProperty(window, '__ktjs__', { value: '0.23.1' });
|
|
85
85
|
|
|
86
86
|
const isKT = (obj) => obj?.isKT;
|
|
87
87
|
const isRef = (obj) => obj?.ktType === 1 /* KTReactiveType.REF */;
|
|
@@ -149,7 +149,6 @@ function attrIsObject(element, attr) {
|
|
|
149
149
|
element.setAttribute('class', classValue);
|
|
150
150
|
}
|
|
151
151
|
}
|
|
152
|
-
// todo 这里加入reactive支持
|
|
153
152
|
const style = attr.style;
|
|
154
153
|
if (style) {
|
|
155
154
|
if (typeof style === 'string') {
|
|
@@ -228,7 +227,6 @@ function apdSingle(element, c) {
|
|
|
228
227
|
c.addOnChange((newValue, oldValue) => {
|
|
229
228
|
if ($isNode(newValue) && $isNode(oldValue)) {
|
|
230
229
|
// & this case is handled automically in `class KTRef`
|
|
231
|
-
// todo 2 cases might be able to merge into 1
|
|
232
230
|
return;
|
|
233
231
|
}
|
|
234
232
|
const oldNode = node;
|
|
@@ -383,7 +381,7 @@ let creator = htmlCreator;
|
|
|
383
381
|
* ## About
|
|
384
382
|
* @package @ktjs/core
|
|
385
383
|
* @author Kasukabe Tsumugi <futami16237@gmail.com>
|
|
386
|
-
* @version 0.26.
|
|
384
|
+
* @version 0.26.5 (Last Update: 2026.02.06 09:19:54.618)
|
|
387
385
|
* @license MIT
|
|
388
386
|
* @link https://github.com/baendlorel/kt.js
|
|
389
387
|
* @link https://baendlorel.github.io/ Welcome to my site!
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kt.js",
|
|
3
|
-
"version": "0.26.
|
|
3
|
+
"version": "0.26.5",
|
|
4
4
|
"author": {
|
|
5
5
|
"name": "Kasukabe Tsumugi",
|
|
6
6
|
"email": "futami16237@gmail.com"
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
],
|
|
42
42
|
"license": "MIT",
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@ktjs/core": "0.26.
|
|
44
|
+
"@ktjs/core": "0.26.5"
|
|
45
45
|
},
|
|
46
46
|
"scripts": {
|
|
47
47
|
"build": "rollup -c rollup.config.mjs",
|