@ktjs/core 0.11.0 → 0.11.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/index.d.ts CHANGED
@@ -27,14 +27,19 @@ interface KTRef<T> {
27
27
  */
28
28
  declare function ktref<T = HTMLElement>(value?: T): KTRef<T>;
29
29
 
30
- type KTAvailableContent = KTRef<any> | HTMLElement | Element | string | number | boolean | null | undefined;
31
- type KTRawContent =
32
- | KTAvailableContent[]
33
- | KTAvailableContent
34
- | Promise<KTAvailableContent[]>
35
- | Promise<KTAvailableContent>;
30
+ type KTAvailableContent =
31
+ | KTRef<any>
32
+ | HTMLElement
33
+ | Element
34
+ | string
35
+ | number
36
+ | boolean
37
+ | null
38
+ | undefined
39
+ | (KTRef<any> | HTMLElement | Element | string | number | boolean | null | undefined)[];
40
+ type KTRawContent = KTAvailableContent | Promise<KTAvailableContent>;
36
41
  type KTRawAttr = KTAttribute | string;
37
- type KTRawContents = (HTMLElement | string | undefined)[];
42
+ type KTRawContents = KTAvailableContent;
38
43
 
39
44
  /**
40
45
  * Event handler type for DOM events
@@ -129,7 +134,7 @@ type H = (<T extends HTMLTag>(tag: T, attr?: KTRawAttr, content?: KTRawContent)
129
134
  * ## About
130
135
  * @package @ktjs/core
131
136
  * @author Kasukabe Tsumugi <futami16237@gmail.com>
132
- * @version 0.11.0 (Last Update: 2026.01.14 15:06:22.073)
137
+ * @version 0.11.2 (Last Update: 2026.01.14 15:29:14.301)
133
138
  * @license MIT
134
139
  * @link https://github.com/baendlorel/kt.js
135
140
  * @link https://baendlorel.github.io/ Welcome to my site!
@@ -225,7 +225,7 @@ var __ktjs_core__ = (function (exports) {
225
225
  * ## About
226
226
  * @package @ktjs/core
227
227
  * @author Kasukabe Tsumugi <futami16237@gmail.com>
228
- * @version 0.11.0 (Last Update: 2026.01.14 15:06:22.073)
228
+ * @version 0.11.2 (Last Update: 2026.01.14 15:29:14.301)
229
229
  * @license MIT
230
230
  * @link https://github.com/baendlorel/kt.js
231
231
  * @link https://baendlorel.github.io/ Welcome to my site!
@@ -241,7 +241,7 @@ var __ktjs_core__ = (function (exports) {
241
241
  * ## About
242
242
  * @package @ktjs/core
243
243
  * @author Kasukabe Tsumugi <futami16237@gmail.com>
244
- * @version 0.11.0 (Last Update: 2026.01.14 15:06:22.073)
244
+ * @version 0.11.2 (Last Update: 2026.01.14 15:29:14.301)
245
245
  * @license MIT
246
246
  * @link https://github.com/baendlorel/kt.js
247
247
  * @link https://baendlorel.github.io/ Welcome to my site!
package/dist/index.mjs CHANGED
@@ -222,7 +222,7 @@ function applyContent(element, content) {
222
222
  * ## About
223
223
  * @package @ktjs/core
224
224
  * @author Kasukabe Tsumugi <futami16237@gmail.com>
225
- * @version 0.11.0 (Last Update: 2026.01.14 15:06:22.073)
225
+ * @version 0.11.2 (Last Update: 2026.01.14 15:29:14.301)
226
226
  * @license MIT
227
227
  * @link https://github.com/baendlorel/kt.js
228
228
  * @link https://baendlorel.github.io/ Welcome to my site!
@@ -16,12 +16,17 @@ interface KTRef<T> {
16
16
  */
17
17
  declare function ktref<T = HTMLElement>(value?: T): KTRef<T>;
18
18
 
19
- type KTAvailableContent = KTRef<any> | HTMLElement | Element | string | number | boolean | null | undefined;
20
- type KTRawContent =
21
- | KTAvailableContent[]
22
- | KTAvailableContent
23
- | Promise<KTAvailableContent[]>
24
- | Promise<KTAvailableContent>;
19
+ type KTAvailableContent =
20
+ | KTRef<any>
21
+ | HTMLElement
22
+ | Element
23
+ | string
24
+ | number
25
+ | boolean
26
+ | null
27
+ | undefined
28
+ | (KTRef<any> | HTMLElement | Element | string | number | boolean | null | undefined)[];
29
+ type KTRawContent = KTAvailableContent | Promise<KTAvailableContent>;
25
30
  type KTRawAttr = KTAttribute | string;
26
31
 
27
32
  /**
@@ -104,7 +109,7 @@ type H = (<T extends HTMLTag>(tag: T, attr?: KTRawAttr, content?: KTRawContent)
104
109
  * ## About
105
110
  * @package @ktjs/core
106
111
  * @author Kasukabe Tsumugi <futami16237@gmail.com>
107
- * @version 0.11.0 (Last Update: 2026.01.14 15:06:22.073)
112
+ * @version 0.11.2 (Last Update: 2026.01.14 15:29:14.301)
108
113
  * @license MIT
109
114
  * @link https://github.com/baendlorel/kt.js
110
115
  * @link https://baendlorel.github.io/ Welcome to my site!
@@ -205,7 +205,7 @@ function applyContent(element, content) {
205
205
  * ## About
206
206
  * @package @ktjs/core
207
207
  * @author Kasukabe Tsumugi <futami16237@gmail.com>
208
- * @version 0.11.0 (Last Update: 2026.01.14 15:06:22.073)
208
+ * @version 0.11.2 (Last Update: 2026.01.14 15:29:14.301)
209
209
  * @license MIT
210
210
  * @link https://github.com/baendlorel/kt.js
211
211
  * @link https://baendlorel.github.io/ Welcome to my site!
@@ -10,12 +10,17 @@ interface KTRef<T> {
10
10
  isKT: true;
11
11
  }
12
12
 
13
- type KTAvailableContent = KTRef<any> | HTMLElement | Element | string | number | boolean | null | undefined;
14
- type KTRawContent =
15
- | KTAvailableContent[]
16
- | KTAvailableContent
17
- | Promise<KTAvailableContent[]>
18
- | Promise<KTAvailableContent>;
13
+ type KTAvailableContent =
14
+ | KTRef<any>
15
+ | HTMLElement
16
+ | Element
17
+ | string
18
+ | number
19
+ | boolean
20
+ | null
21
+ | undefined
22
+ | (KTRef<any> | HTMLElement | Element | string | number | boolean | null | undefined)[];
23
+ type KTRawContent = KTAvailableContent | Promise<KTAvailableContent>;
19
24
  type KTRawAttr = KTAttribute | string;
20
25
 
21
26
  /**
@@ -98,7 +103,7 @@ type H = (<T extends HTMLTag>(tag: T, attr?: KTRawAttr, content?: KTRawContent)
98
103
  * ## About
99
104
  * @package @ktjs/core
100
105
  * @author Kasukabe Tsumugi <futami16237@gmail.com>
101
- * @version 0.11.0 (Last Update: 2026.01.14 15:06:22.073)
106
+ * @version 0.11.2 (Last Update: 2026.01.14 15:29:14.301)
102
107
  * @license MIT
103
108
  * @link https://github.com/baendlorel/kt.js
104
109
  * @link https://baendlorel.github.io/ Welcome to my site!
@@ -205,7 +205,7 @@ function applyContent(element, content) {
205
205
  * ## About
206
206
  * @package @ktjs/core
207
207
  * @author Kasukabe Tsumugi <futami16237@gmail.com>
208
- * @version 0.11.0 (Last Update: 2026.01.14 15:06:22.073)
208
+ * @version 0.11.2 (Last Update: 2026.01.14 15:29:14.301)
209
209
  * @license MIT
210
210
  * @link https://github.com/baendlorel/kt.js
211
211
  * @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.11.0",
3
+ "version": "0.11.2",
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",