kt.js 0.14.1 → 0.14.2
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 +4 -1
- package/package.json +2 -2
package/dist/jsx-runtime.mjs
CHANGED
|
@@ -220,7 +220,7 @@ function applyContent(element, content) {
|
|
|
220
220
|
* ## About
|
|
221
221
|
* @package @ktjs/core
|
|
222
222
|
* @author Kasukabe Tsumugi <futami16237@gmail.com>
|
|
223
|
-
* @version 0.14.
|
|
223
|
+
* @version 0.14.2 (Last Update: 2026.01.16 22:23:59.363)
|
|
224
224
|
* @license MIT
|
|
225
225
|
* @link https://github.com/baendlorel/kt.js
|
|
226
226
|
* @link https://baendlorel.github.io/ Welcome to my site!
|
|
@@ -265,6 +265,7 @@ function jsx(tag, props = {}) {
|
|
|
265
265
|
ref.value = el;
|
|
266
266
|
}
|
|
267
267
|
old.replaceWith(el);
|
|
268
|
+
return el;
|
|
268
269
|
};
|
|
269
270
|
}
|
|
270
271
|
if (ref) {
|
|
@@ -291,6 +292,7 @@ function jsx(tag, props = {}) {
|
|
|
291
292
|
ref.value = el;
|
|
292
293
|
}
|
|
293
294
|
old.replaceWith(el);
|
|
295
|
+
return el;
|
|
294
296
|
};
|
|
295
297
|
return el;
|
|
296
298
|
}
|
|
@@ -356,6 +358,7 @@ function createRedrawable(creator) {
|
|
|
356
358
|
element = creator();
|
|
357
359
|
old.replaceWith(element);
|
|
358
360
|
element.redraw = redraw;
|
|
361
|
+
return element;
|
|
359
362
|
};
|
|
360
363
|
element.redraw = redraw;
|
|
361
364
|
return element;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kt.js",
|
|
3
|
-
"version": "0.14.
|
|
3
|
+
"version": "0.14.2",
|
|
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.14.
|
|
44
|
+
"@ktjs/core": "0.14.2",
|
|
45
45
|
"@ktjs/shortcuts": "0.7.3"
|
|
46
46
|
},
|
|
47
47
|
"scripts": {
|