kt.js 0.10.1 → 0.10.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 +2 -2
- package/package.json +2 -2
package/dist/jsx-runtime.mjs
CHANGED
|
@@ -201,7 +201,7 @@ function applyContent(element, content) {
|
|
|
201
201
|
* ## About
|
|
202
202
|
* @package @ktjs/core
|
|
203
203
|
* @author Kasukabe Tsumugi <futami16237@gmail.com>
|
|
204
|
-
* @version 0.10.
|
|
204
|
+
* @version 0.10.2 (Last Update: 2025.12.30 15:34:11.276)
|
|
205
205
|
* @license MIT
|
|
206
206
|
* @link https://github.com/baendlorel/kt.js
|
|
207
207
|
* @link https://baendlorel.github.io/ Welcome to my site!
|
|
@@ -241,7 +241,7 @@ function jsx(tag, props, ..._metadata) {
|
|
|
241
241
|
const children = propObj.children;
|
|
242
242
|
delete propObj.children;
|
|
243
243
|
// deal with ref attribute
|
|
244
|
-
const ref = propObj.ref?.
|
|
244
|
+
const ref = propObj.ref?.isKT ? propObj.ref : null;
|
|
245
245
|
if (ref) {
|
|
246
246
|
delete propObj.ref;
|
|
247
247
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kt.js",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.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.10.
|
|
44
|
+
"@ktjs/core": "0.10.2",
|
|
45
45
|
"@ktjs/shortcuts": "0.7.3"
|
|
46
46
|
},
|
|
47
47
|
"scripts": {
|