@ktjs/core 0.11.1 → 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,11 +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 KTAvailableContents = KTAvailableContent[] | KTAvailableContent;
32
- type KTRawContent = KTAvailableContents | Promise<KTAvailableContents>;
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>;
33
41
  type KTRawAttr = KTAttribute | string;
34
- type KTRawContents = KTAvailableContents;
42
+ type KTRawContents = KTAvailableContent;
35
43
 
36
44
  /**
37
45
  * Event handler type for DOM events
@@ -126,7 +134,7 @@ type H = (<T extends HTMLTag>(tag: T, attr?: KTRawAttr, content?: KTRawContent)
126
134
  * ## About
127
135
  * @package @ktjs/core
128
136
  * @author Kasukabe Tsumugi <futami16237@gmail.com>
129
- * @version 0.11.1 (Last Update: 2026.01.14 15:13:36.162)
137
+ * @version 0.11.2 (Last Update: 2026.01.14 15:29:14.301)
130
138
  * @license MIT
131
139
  * @link https://github.com/baendlorel/kt.js
132
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.1 (Last Update: 2026.01.14 15:13:36.162)
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.1 (Last Update: 2026.01.14 15:13:36.162)
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.1 (Last Update: 2026.01.14 15:13:36.162)
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,9 +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 KTAvailableContents = KTAvailableContent[] | KTAvailableContent;
21
- type KTRawContent = KTAvailableContents | Promise<KTAvailableContents>;
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>;
22
30
  type KTRawAttr = KTAttribute | string;
23
31
 
24
32
  /**
@@ -101,7 +109,7 @@ type H = (<T extends HTMLTag>(tag: T, attr?: KTRawAttr, content?: KTRawContent)
101
109
  * ## About
102
110
  * @package @ktjs/core
103
111
  * @author Kasukabe Tsumugi <futami16237@gmail.com>
104
- * @version 0.11.1 (Last Update: 2026.01.14 15:13:36.162)
112
+ * @version 0.11.2 (Last Update: 2026.01.14 15:29:14.301)
105
113
  * @license MIT
106
114
  * @link https://github.com/baendlorel/kt.js
107
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.1 (Last Update: 2026.01.14 15:13:36.162)
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,9 +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 KTAvailableContents = KTAvailableContent[] | KTAvailableContent;
15
- type KTRawContent = KTAvailableContents | Promise<KTAvailableContents>;
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>;
16
24
  type KTRawAttr = KTAttribute | string;
17
25
 
18
26
  /**
@@ -95,7 +103,7 @@ type H = (<T extends HTMLTag>(tag: T, attr?: KTRawAttr, content?: KTRawContent)
95
103
  * ## About
96
104
  * @package @ktjs/core
97
105
  * @author Kasukabe Tsumugi <futami16237@gmail.com>
98
- * @version 0.11.1 (Last Update: 2026.01.14 15:13:36.162)
106
+ * @version 0.11.2 (Last Update: 2026.01.14 15:29:14.301)
99
107
  * @license MIT
100
108
  * @link https://github.com/baendlorel/kt.js
101
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.1 (Last Update: 2026.01.14 15:13:36.162)
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.1",
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",