@ktjs/core 0.14.3 → 0.14.4

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
@@ -43,16 +43,8 @@ declare global {
43
43
  }
44
44
  }
45
45
 
46
- type KTAvailableContent =
47
- | KTRef<any>
48
- | HTMLElement
49
- | Element
50
- | string
51
- | number
52
- | boolean
53
- | null
54
- | undefined
55
- | (KTRef<any> | HTMLElement | Element | string | number | boolean | null | undefined)[];
46
+ type SingleContent = KTRef<any> | HTMLElement | Element | string | number | boolean | null | undefined;
47
+ type KTAvailableContent = SingleContent | SingleContent[] | SingleContent[][];
56
48
  type KTRawContent = KTAvailableContent | Promise<KTAvailableContent>;
57
49
  type KTRawAttr = KTAttribute | string;
58
50
  type KTRawContents = KTAvailableContent;
@@ -143,7 +135,7 @@ type KTComponent = (
143
135
  ref?: KTRef<KTHTMLElement>;
144
136
  children?: KTRawContent;
145
137
  } & KTAttribute &
146
- any
138
+ any,
147
139
  ) => KTHTMLElement | Promise<KTHTMLElement> | any;
148
140
 
149
141
  type HTML<T extends HTMLTag & otherstring> = T extends HTMLTag ? HTMLElementTagNameMap[T] : HTMLElement;
@@ -161,7 +153,7 @@ type H = (<T extends HTMLTag>(tag: T, attr?: KTRawAttr, content?: KTRawContent)
161
153
  * ## About
162
154
  * @package @ktjs/core
163
155
  * @author Kasukabe Tsumugi <futami16237@gmail.com>
164
- * @version 0.14.3 (Last Update: 2026.01.16 22:28:22.311)
156
+ * @version 0.14.4 (Last Update: 2026.01.17 08:54:29.476)
165
157
  * @license MIT
166
158
  * @link https://github.com/baendlorel/kt.js
167
159
  * @link https://baendlorel.github.io/ Welcome to my site!
@@ -223,7 +223,7 @@ var __ktjs_core__ = (function (exports) {
223
223
  * ## About
224
224
  * @package @ktjs/core
225
225
  * @author Kasukabe Tsumugi <futami16237@gmail.com>
226
- * @version 0.14.3 (Last Update: 2026.01.16 22:28:22.311)
226
+ * @version 0.14.4 (Last Update: 2026.01.17 08:54:29.476)
227
227
  * @license MIT
228
228
  * @link https://github.com/baendlorel/kt.js
229
229
  * @link https://baendlorel.github.io/ Welcome to my site!
@@ -248,7 +248,7 @@ var __ktjs_core__ = (function (exports) {
248
248
  * ## About
249
249
  * @package @ktjs/core
250
250
  * @author Kasukabe Tsumugi <futami16237@gmail.com>
251
- * @version 0.14.3 (Last Update: 2026.01.16 22:28:22.311)
251
+ * @version 0.14.4 (Last Update: 2026.01.17 08:54:29.476)
252
252
  * @license MIT
253
253
  * @link https://github.com/baendlorel/kt.js
254
254
  * @link https://baendlorel.github.io/ Welcome to my site!
package/dist/index.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.3 (Last Update: 2026.01.16 22:28:22.311)
223
+ * @version 0.14.4 (Last Update: 2026.01.17 08:54:29.476)
224
224
  * @license MIT
225
225
  * @link https://github.com/baendlorel/kt.js
226
226
  * @link https://baendlorel.github.io/ Welcome to my site!
@@ -43,16 +43,8 @@ declare global {
43
43
  }
44
44
  }
45
45
 
46
- type KTAvailableContent =
47
- | KTRef<any>
48
- | HTMLElement
49
- | Element
50
- | string
51
- | number
52
- | boolean
53
- | null
54
- | undefined
55
- | (KTRef<any> | HTMLElement | Element | string | number | boolean | null | undefined)[];
46
+ type SingleContent = KTRef<any> | HTMLElement | Element | string | number | boolean | null | undefined;
47
+ type KTAvailableContent = SingleContent | SingleContent[] | SingleContent[][];
56
48
  type KTRawContent = KTAvailableContent | Promise<KTAvailableContent>;
57
49
  type KTRawAttr = KTAttribute | string;
58
50
 
@@ -147,7 +139,7 @@ type H = (<T extends HTMLTag>(tag: T, attr?: KTRawAttr, content?: KTRawContent)
147
139
  * ## About
148
140
  * @package @ktjs/core
149
141
  * @author Kasukabe Tsumugi <futami16237@gmail.com>
150
- * @version 0.14.3 (Last Update: 2026.01.16 22:28:22.311)
142
+ * @version 0.14.4 (Last Update: 2026.01.17 08:54:29.476)
151
143
  * @license MIT
152
144
  * @link https://github.com/baendlorel/kt.js
153
145
  * @link https://baendlorel.github.io/ Welcome to my site!
@@ -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.3 (Last Update: 2026.01.16 22:28:22.311)
223
+ * @version 0.14.4 (Last Update: 2026.01.17 08:54:29.476)
224
224
  * @license MIT
225
225
  * @link https://github.com/baendlorel/kt.js
226
226
  * @link https://baendlorel.github.io/ Welcome to my site!
@@ -37,16 +37,8 @@ declare global {
37
37
  }
38
38
  }
39
39
 
40
- type KTAvailableContent =
41
- | KTRef<any>
42
- | HTMLElement
43
- | Element
44
- | string
45
- | number
46
- | boolean
47
- | null
48
- | undefined
49
- | (KTRef<any> | HTMLElement | Element | string | number | boolean | null | undefined)[];
40
+ type SingleContent = KTRef<any> | HTMLElement | Element | string | number | boolean | null | undefined;
41
+ type KTAvailableContent = SingleContent | SingleContent[] | SingleContent[][];
50
42
  type KTRawContent = KTAvailableContent | Promise<KTAvailableContent>;
51
43
  type KTRawAttr = KTAttribute | string;
52
44
 
@@ -141,7 +133,7 @@ type H = (<T extends HTMLTag>(tag: T, attr?: KTRawAttr, content?: KTRawContent)
141
133
  * ## About
142
134
  * @package @ktjs/core
143
135
  * @author Kasukabe Tsumugi <futami16237@gmail.com>
144
- * @version 0.14.3 (Last Update: 2026.01.16 22:28:22.311)
136
+ * @version 0.14.4 (Last Update: 2026.01.17 08:54:29.476)
145
137
  * @license MIT
146
138
  * @link https://github.com/baendlorel/kt.js
147
139
  * @link https://baendlorel.github.io/ Welcome to my site!
@@ -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.3 (Last Update: 2026.01.16 22:28:22.311)
223
+ * @version 0.14.4 (Last Update: 2026.01.17 08:54:29.476)
224
224
  * @license MIT
225
225
  * @link https://github.com/baendlorel/kt.js
226
226
  * @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.14.3",
3
+ "version": "0.14.4",
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",