@ktjs/core 0.14.3 → 0.14.5
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 +4 -12
- package/dist/index.iife.js +1 -1
- package/dist/index.legacy.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/jsx/index.d.ts +3 -11
- package/dist/jsx/index.mjs +1 -1
- package/dist/jsx/jsx-runtime.d.ts +3 -11
- package/dist/jsx/jsx-runtime.mjs +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -43,16 +43,8 @@ declare global {
|
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
type
|
|
47
|
-
|
|
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 | KTAvailableContent[];
|
|
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.
|
|
156
|
+
* @version 0.14.5 (Last Update: 2026.01.17 09:00:04.049)
|
|
165
157
|
* @license MIT
|
|
166
158
|
* @link https://github.com/baendlorel/kt.js
|
|
167
159
|
* @link https://baendlorel.github.io/ Welcome to my site!
|
package/dist/index.iife.js
CHANGED
|
@@ -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.
|
|
226
|
+
* @version 0.14.5 (Last Update: 2026.01.17 09:00:04.049)
|
|
227
227
|
* @license MIT
|
|
228
228
|
* @link https://github.com/baendlorel/kt.js
|
|
229
229
|
* @link https://baendlorel.github.io/ Welcome to my site!
|
package/dist/index.legacy.js
CHANGED
|
@@ -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.
|
|
251
|
+
* @version 0.14.5 (Last Update: 2026.01.17 09:00:04.049)
|
|
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.
|
|
223
|
+
* @version 0.14.5 (Last Update: 2026.01.17 09:00:04.049)
|
|
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/dist/jsx/index.d.ts
CHANGED
|
@@ -43,16 +43,8 @@ declare global {
|
|
|
43
43
|
}
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
type
|
|
47
|
-
|
|
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 | KTAvailableContent[];
|
|
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.
|
|
142
|
+
* @version 0.14.5 (Last Update: 2026.01.17 09:00:04.049)
|
|
151
143
|
* @license MIT
|
|
152
144
|
* @link https://github.com/baendlorel/kt.js
|
|
153
145
|
* @link https://baendlorel.github.io/ Welcome to my site!
|
package/dist/jsx/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.
|
|
223
|
+
* @version 0.14.5 (Last Update: 2026.01.17 09:00:04.049)
|
|
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
|
|
41
|
-
|
|
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 | KTAvailableContent[];
|
|
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.
|
|
136
|
+
* @version 0.14.5 (Last Update: 2026.01.17 09:00:04.049)
|
|
145
137
|
* @license MIT
|
|
146
138
|
* @link https://github.com/baendlorel/kt.js
|
|
147
139
|
* @link https://baendlorel.github.io/ Welcome to my site!
|
package/dist/jsx/jsx-runtime.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.
|
|
223
|
+
* @version 0.14.5 (Last Update: 2026.01.17 09:00:04.049)
|
|
224
224
|
* @license MIT
|
|
225
225
|
* @link https://github.com/baendlorel/kt.js
|
|
226
226
|
* @link https://baendlorel.github.io/ Welcome to my site!
|