@ktjs/core 0.11.0 → 0.11.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
@@ -28,13 +28,10 @@ interface KTRef<T> {
28
28
  declare function ktref<T = HTMLElement>(value?: T): KTRef<T>;
29
29
 
30
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>;
31
+ type KTAvailableContents = KTAvailableContent[] | KTAvailableContent;
32
+ type KTRawContent = KTAvailableContents | Promise<KTAvailableContents>;
36
33
  type KTRawAttr = KTAttribute | string;
37
- type KTRawContents = (HTMLElement | string | undefined)[];
34
+ type KTRawContents = KTAvailableContents;
38
35
 
39
36
  /**
40
37
  * Event handler type for DOM events
@@ -129,7 +126,7 @@ type H = (<T extends HTMLTag>(tag: T, attr?: KTRawAttr, content?: KTRawContent)
129
126
  * ## About
130
127
  * @package @ktjs/core
131
128
  * @author Kasukabe Tsumugi <futami16237@gmail.com>
132
- * @version 0.11.0 (Last Update: 2026.01.14 15:06:22.073)
129
+ * @version 0.11.1 (Last Update: 2026.01.14 15:13:36.162)
133
130
  * @license MIT
134
131
  * @link https://github.com/baendlorel/kt.js
135
132
  * @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.1 (Last Update: 2026.01.14 15:13:36.162)
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.1 (Last Update: 2026.01.14 15:13:36.162)
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.1 (Last Update: 2026.01.14 15:13:36.162)
226
226
  * @license MIT
227
227
  * @link https://github.com/baendlorel/kt.js
228
228
  * @link https://baendlorel.github.io/ Welcome to my site!
@@ -17,11 +17,8 @@ interface KTRef<T> {
17
17
  declare function ktref<T = HTMLElement>(value?: T): KTRef<T>;
18
18
 
19
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>;
20
+ type KTAvailableContents = KTAvailableContent[] | KTAvailableContent;
21
+ type KTRawContent = KTAvailableContents | Promise<KTAvailableContents>;
25
22
  type KTRawAttr = KTAttribute | string;
26
23
 
27
24
  /**
@@ -104,7 +101,7 @@ type H = (<T extends HTMLTag>(tag: T, attr?: KTRawAttr, content?: KTRawContent)
104
101
  * ## About
105
102
  * @package @ktjs/core
106
103
  * @author Kasukabe Tsumugi <futami16237@gmail.com>
107
- * @version 0.11.0 (Last Update: 2026.01.14 15:06:22.073)
104
+ * @version 0.11.1 (Last Update: 2026.01.14 15:13:36.162)
108
105
  * @license MIT
109
106
  * @link https://github.com/baendlorel/kt.js
110
107
  * @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.1 (Last Update: 2026.01.14 15:13:36.162)
209
209
  * @license MIT
210
210
  * @link https://github.com/baendlorel/kt.js
211
211
  * @link https://baendlorel.github.io/ Welcome to my site!
@@ -11,11 +11,8 @@ interface KTRef<T> {
11
11
  }
12
12
 
13
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>;
14
+ type KTAvailableContents = KTAvailableContent[] | KTAvailableContent;
15
+ type KTRawContent = KTAvailableContents | Promise<KTAvailableContents>;
19
16
  type KTRawAttr = KTAttribute | string;
20
17
 
21
18
  /**
@@ -98,7 +95,7 @@ type H = (<T extends HTMLTag>(tag: T, attr?: KTRawAttr, content?: KTRawContent)
98
95
  * ## About
99
96
  * @package @ktjs/core
100
97
  * @author Kasukabe Tsumugi <futami16237@gmail.com>
101
- * @version 0.11.0 (Last Update: 2026.01.14 15:06:22.073)
98
+ * @version 0.11.1 (Last Update: 2026.01.14 15:13:36.162)
102
99
  * @license MIT
103
100
  * @link https://github.com/baendlorel/kt.js
104
101
  * @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.1 (Last Update: 2026.01.14 15:13:36.162)
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.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",