@ktjs/core 0.18.8 → 0.18.10

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,7 +43,7 @@ type BaseAttr = {
43
43
  'on:mouseleave'?: (ev: MouseEvent) => void;
44
44
  'on:mouseover'?: (ev: MouseEvent) => void;
45
45
  'on:mouseout'?: (ev: MouseEvent) => void;
46
- 'on:contextmenu'?: (ev: MouseEvent) => void;
46
+ 'on:contextmenu'?: (ev: PointerEvent) => void;
47
47
 
48
48
  // Keyboard events
49
49
  'on:keydown'?: (ev: KeyboardEvent) => void;
@@ -760,7 +760,7 @@ interface AttributesMap {
760
760
 
761
761
  svg: BaseAttr & {
762
762
  class?: string;
763
- style?: string;
763
+ style?: string | Partial<CSSStyleDeclaration>;
764
764
  width?: number | string;
765
765
  height?: number | string;
766
766
  viewBox?: string;
@@ -1296,7 +1296,7 @@ type HTML<T extends (HTMLTag | SVGTag) & otherstring> = T extends SVGTag ? SVGEl
1296
1296
  * ## About
1297
1297
  * @package @ktjs/core
1298
1298
  * @author Kasukabe Tsumugi <futami16237@gmail.com>
1299
- * @version 0.18.8 (Last Update: 2026.01.31 14:28:10.930)
1299
+ * @version 0.18.10 (Last Update: 2026.01.31 14:44:38.065)
1300
1300
  * @license MIT
1301
1301
  * @link https://github.com/baendlorel/kt.js
1302
1302
  * @link https://baendlorel.github.io/ Welcome to my site!
@@ -202,7 +202,7 @@ var __ktjs_core__ = (function (exports) {
202
202
  * ## About
203
203
  * @package @ktjs/core
204
204
  * @author Kasukabe Tsumugi <futami16237@gmail.com>
205
- * @version 0.18.8 (Last Update: 2026.01.31 14:28:10.930)
205
+ * @version 0.18.10 (Last Update: 2026.01.31 14:44:38.065)
206
206
  * @license MIT
207
207
  * @link https://github.com/baendlorel/kt.js
208
208
  * @link https://baendlorel.github.io/ Welcome to my site!
@@ -215,7 +215,7 @@ var __ktjs_core__ = (function (exports) {
215
215
  * ## About
216
216
  * @package @ktjs/core
217
217
  * @author Kasukabe Tsumugi <futami16237@gmail.com>
218
- * @version 0.18.8 (Last Update: 2026.01.31 14:28:10.930)
218
+ * @version 0.18.10 (Last Update: 2026.01.31 14:44:38.065)
219
219
  * @license MIT
220
220
  * @link https://github.com/baendlorel/kt.js
221
221
  * @link https://baendlorel.github.io/ Welcome to my site!
package/dist/index.mjs CHANGED
@@ -199,7 +199,7 @@ const svgTempWrapper = document.createElement('div');
199
199
  * ## About
200
200
  * @package @ktjs/core
201
201
  * @author Kasukabe Tsumugi <futami16237@gmail.com>
202
- * @version 0.18.8 (Last Update: 2026.01.31 14:28:10.930)
202
+ * @version 0.18.10 (Last Update: 2026.01.31 14:44:38.065)
203
203
  * @license MIT
204
204
  * @link https://github.com/baendlorel/kt.js
205
205
  * @link https://baendlorel.github.io/ Welcome to my site!
@@ -43,7 +43,7 @@ type BaseAttr = {
43
43
  'on:mouseleave'?: (ev: MouseEvent) => void;
44
44
  'on:mouseover'?: (ev: MouseEvent) => void;
45
45
  'on:mouseout'?: (ev: MouseEvent) => void;
46
- 'on:contextmenu'?: (ev: MouseEvent) => void;
46
+ 'on:contextmenu'?: (ev: PointerEvent) => void;
47
47
 
48
48
  // Keyboard events
49
49
  'on:keydown'?: (ev: KeyboardEvent) => void;
@@ -760,7 +760,7 @@ interface AttributesMap {
760
760
 
761
761
  svg: BaseAttr & {
762
762
  class?: string;
763
- style?: string;
763
+ style?: string | Partial<CSSStyleDeclaration>;
764
764
  width?: number | string;
765
765
  height?: number | string;
766
766
  viewBox?: string;
@@ -1282,7 +1282,7 @@ type HTML<T extends (HTMLTag | SVGTag) & otherstring> = T extends SVGTag ? SVGEl
1282
1282
  * ## About
1283
1283
  * @package @ktjs/core
1284
1284
  * @author Kasukabe Tsumugi <futami16237@gmail.com>
1285
- * @version 0.18.8 (Last Update: 2026.01.31 14:28:10.930)
1285
+ * @version 0.18.10 (Last Update: 2026.01.31 14:44:38.065)
1286
1286
  * @license MIT
1287
1287
  * @link https://github.com/baendlorel/kt.js
1288
1288
  * @link https://baendlorel.github.io/ Welcome to my site!
@@ -199,7 +199,7 @@ const svgTempWrapper = document.createElement('div');
199
199
  * ## About
200
200
  * @package @ktjs/core
201
201
  * @author Kasukabe Tsumugi <futami16237@gmail.com>
202
- * @version 0.18.8 (Last Update: 2026.01.31 14:28:10.930)
202
+ * @version 0.18.10 (Last Update: 2026.01.31 14:44:38.065)
203
203
  * @license MIT
204
204
  * @link https://github.com/baendlorel/kt.js
205
205
  * @link https://baendlorel.github.io/ Welcome to my site!
@@ -37,7 +37,7 @@ type BaseAttr = {
37
37
  'on:mouseleave'?: (ev: MouseEvent) => void;
38
38
  'on:mouseover'?: (ev: MouseEvent) => void;
39
39
  'on:mouseout'?: (ev: MouseEvent) => void;
40
- 'on:contextmenu'?: (ev: MouseEvent) => void;
40
+ 'on:contextmenu'?: (ev: PointerEvent) => void;
41
41
 
42
42
  // Keyboard events
43
43
  'on:keydown'?: (ev: KeyboardEvent) => void;
@@ -754,7 +754,7 @@ interface AttributesMap {
754
754
 
755
755
  svg: BaseAttr & {
756
756
  class?: string;
757
- style?: string;
757
+ style?: string | Partial<CSSStyleDeclaration>;
758
758
  width?: number | string;
759
759
  height?: number | string;
760
760
  viewBox?: string;
@@ -1276,7 +1276,7 @@ type HTML<T extends (HTMLTag | SVGTag) & otherstring> = T extends SVGTag ? SVGEl
1276
1276
  * ## About
1277
1277
  * @package @ktjs/core
1278
1278
  * @author Kasukabe Tsumugi <futami16237@gmail.com>
1279
- * @version 0.18.8 (Last Update: 2026.01.31 14:28:10.930)
1279
+ * @version 0.18.10 (Last Update: 2026.01.31 14:44:38.065)
1280
1280
  * @license MIT
1281
1281
  * @link https://github.com/baendlorel/kt.js
1282
1282
  * @link https://baendlorel.github.io/ Welcome to my site!
@@ -199,7 +199,7 @@ const svgTempWrapper = document.createElement('div');
199
199
  * ## About
200
200
  * @package @ktjs/core
201
201
  * @author Kasukabe Tsumugi <futami16237@gmail.com>
202
- * @version 0.18.8 (Last Update: 2026.01.31 14:28:10.930)
202
+ * @version 0.18.10 (Last Update: 2026.01.31 14:44:38.065)
203
203
  * @license MIT
204
204
  * @link https://github.com/baendlorel/kt.js
205
205
  * @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.18.8",
3
+ "version": "0.18.10",
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",