@ktjs/jsx 0.6.11 → 0.6.13
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.d.ts +1 -1
- package/dist/jsx-runtime.cjs +1 -0
- package/dist/jsx-runtime.mjs +1 -0
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -68,7 +68,7 @@ declare global {
|
|
|
68
68
|
* ## About
|
|
69
69
|
* @package @ktjs/jsx
|
|
70
70
|
* @author Kasukabe Tsumugi <futami16237@gmail.com>
|
|
71
|
-
* @version 0.6.
|
|
71
|
+
* @version 0.6.13 (Last Update: 2025.12.24 21:38:35.869)
|
|
72
72
|
* @license MIT
|
|
73
73
|
* @link https://github.com/baendlorel/kt.js
|
|
74
74
|
* @link https://baendlorel.github.io/ Welcome to my site!
|
package/dist/jsx-runtime.cjs
CHANGED
|
@@ -8,6 +8,7 @@ var core = require('@ktjs/core');
|
|
|
8
8
|
* @param _metadata metadata is ignored
|
|
9
9
|
*/
|
|
10
10
|
function jsx(tag, props, ..._metadata) {
|
|
11
|
+
console.log('JSX runtime called:', tag, props, _metadata);
|
|
11
12
|
const propObj = typeof props === 'string' ? { class: props } : props;
|
|
12
13
|
if (propObj === undefined || propObj === null) {
|
|
13
14
|
return core.h(tag);
|
package/dist/jsx-runtime.mjs
CHANGED
|
@@ -7,6 +7,7 @@ export { h as createElement, h } from '@ktjs/core';
|
|
|
7
7
|
* @param _metadata metadata is ignored
|
|
8
8
|
*/
|
|
9
9
|
function jsx(tag, props, ..._metadata) {
|
|
10
|
+
console.log('JSX runtime called:', tag, props, _metadata);
|
|
10
11
|
const propObj = typeof props === 'string' ? { class: props } : props;
|
|
11
12
|
if (propObj === undefined || propObj === null) {
|
|
12
13
|
return h(tag);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ktjs/jsx",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.13",
|
|
4
4
|
"description": "JSX/TSX support for KT.js - Build UIs with JSX syntax while keeping direct DOM control",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Kasukabe Tsumugi",
|
|
@@ -51,10 +51,10 @@
|
|
|
51
51
|
"directory": "packages/jsx"
|
|
52
52
|
},
|
|
53
53
|
"peerDependencies": {
|
|
54
|
-
"@ktjs/core": "0.6.
|
|
54
|
+
"@ktjs/core": "0.6.12"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
|
-
"@ktjs/core": "0.6.
|
|
57
|
+
"@ktjs/core": "0.6.12"
|
|
58
58
|
},
|
|
59
59
|
"scripts": {
|
|
60
60
|
"build": "rollup -c rollup.config.mjs",
|