@ktjs/core 0.8.0 → 0.8.1

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 CHANGED
@@ -110,7 +110,7 @@ type HTML<T extends HTMLTag & otherstring> = T extends HTMLTag ? HTMLElementTagN
110
110
  * ## About
111
111
  * @package @ktjs/core
112
112
  * @author Kasukabe Tsumugi <futami16237@gmail.com>
113
- * @version 0.8.0 (Last Update: 2025.12.25 11:01:24.676)
113
+ * @version 0.8.1 (Last Update: 2025.12.25 11:07:30.486)
114
114
  * @license MIT
115
115
  * @link https://github.com/baendlorel/kt.js
116
116
  * @link https://baendlorel.github.io/ Welcome to my site!
@@ -143,5 +143,23 @@ declare const jsxDEV: typeof jsx;
143
143
  */
144
144
  declare const jsxs: typeof jsx;
145
145
 
146
+ declare global {
147
+ namespace JSX {
148
+ type Element = HTMLElementTagNameMap[keyof HTMLElementTagNameMap];
149
+
150
+ interface IntrinsicElements {
151
+ [tag: string]: KTAttribute & { children?: KTRawContent };
152
+ }
153
+
154
+ interface IntrinsicAttributes {
155
+ key?: string | number;
156
+ }
157
+
158
+ interface ElementChildrenAttribute {
159
+ children: {};
160
+ }
161
+ }
162
+ }
163
+
146
164
  export { Fragment, Ref, h as createElement, h, jsx, jsxDEV, jsxs, ktnull, ref };
147
165
  export type { EventHandler, HTMLTag, KTAttribute, KTRawAttr, KTRawContent, KTRawContents, KTRuntime };
@@ -220,7 +220,7 @@ var __ktjs_core__ = (function (exports) {
220
220
  * ## About
221
221
  * @package @ktjs/core
222
222
  * @author Kasukabe Tsumugi <futami16237@gmail.com>
223
- * @version 0.8.0 (Last Update: 2025.12.25 11:01:24.676)
223
+ * @version 0.8.1 (Last Update: 2025.12.25 11:07:30.486)
224
224
  * @license MIT
225
225
  * @link https://github.com/baendlorel/kt.js
226
226
  * @link https://baendlorel.github.io/ Welcome to my site!
@@ -230,7 +230,7 @@ var __ktjs_core__ = (function (exports) {
230
230
  * ## About
231
231
  * @package @ktjs/core
232
232
  * @author Kasukabe Tsumugi <futami16237@gmail.com>
233
- * @version 0.8.0 (Last Update: 2025.12.25 11:01:24.676)
233
+ * @version 0.8.1 (Last Update: 2025.12.25 11:07:30.486)
234
234
  * @license MIT
235
235
  * @link https://github.com/baendlorel/kt.js
236
236
  * @link https://baendlorel.github.io/ Welcome to my site!
package/dist/index.mjs CHANGED
@@ -217,7 +217,7 @@ function applyContent(element, content) {
217
217
  * ## About
218
218
  * @package @ktjs/core
219
219
  * @author Kasukabe Tsumugi <futami16237@gmail.com>
220
- * @version 0.8.0 (Last Update: 2025.12.25 11:01:24.676)
220
+ * @version 0.8.1 (Last Update: 2025.12.25 11:07:30.486)
221
221
  * @license MIT
222
222
  * @link https://github.com/baendlorel/kt.js
223
223
  * @link https://baendlorel.github.io/ Welcome to my site!
@@ -87,7 +87,7 @@ type HTML<T extends HTMLTag & otherstring> = T extends HTMLTag ? HTMLElementTagN
87
87
  * ## About
88
88
  * @package @ktjs/core
89
89
  * @author Kasukabe Tsumugi <futami16237@gmail.com>
90
- * @version 0.8.0 (Last Update: 2025.12.25 11:01:24.676)
90
+ * @version 0.8.1 (Last Update: 2025.12.25 11:07:30.486)
91
91
  * @license MIT
92
92
  * @link https://github.com/baendlorel/kt.js
93
93
  * @link https://baendlorel.github.io/ Welcome to my site!
@@ -200,7 +200,7 @@ function applyContent(element, content) {
200
200
  * ## About
201
201
  * @package @ktjs/core
202
202
  * @author Kasukabe Tsumugi <futami16237@gmail.com>
203
- * @version 0.8.0 (Last Update: 2025.12.25 11:01:24.676)
203
+ * @version 0.8.1 (Last Update: 2025.12.25 11:07:30.486)
204
204
  * @license MIT
205
205
  * @link https://github.com/baendlorel/kt.js
206
206
  * @link https://baendlorel.github.io/ Welcome to my site!
@@ -86,7 +86,7 @@ type HTML<T extends HTMLTag & otherstring> = T extends HTMLTag ? HTMLElementTagN
86
86
  * ## About
87
87
  * @package @ktjs/core
88
88
  * @author Kasukabe Tsumugi <futami16237@gmail.com>
89
- * @version 0.8.0 (Last Update: 2025.12.25 11:01:24.676)
89
+ * @version 0.8.1 (Last Update: 2025.12.25 11:07:30.486)
90
90
  * @license MIT
91
91
  * @link https://github.com/baendlorel/kt.js
92
92
  * @link https://baendlorel.github.io/ Welcome to my site!
@@ -197,7 +197,7 @@ function applyContent(element, content) {
197
197
  * ## About
198
198
  * @package @ktjs/core
199
199
  * @author Kasukabe Tsumugi <futami16237@gmail.com>
200
- * @version 0.8.0 (Last Update: 2025.12.25 11:01:24.676)
200
+ * @version 0.8.1 (Last Update: 2025.12.25 11:07:30.486)
201
201
  * @license MIT
202
202
  * @link https://github.com/baendlorel/kt.js
203
203
  * @link https://baendlorel.github.io/ Welcome to my site!
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ktjs/core",
3
- "version": "0.8.0",
3
+ "version": "0.8.1",
4
4
  "description": "Core functionality for kt.js - DOM manipulation utilities with JSX/TSX support",
5
5
  "type": "module",
6
6
  "module": "./dist/index.mjs",