@ktjs/core 0.26.2 → 0.26.4

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
@@ -15,7 +15,6 @@ declare class KTComputed<T> {
15
15
  */
16
16
  isKT: true;
17
17
  ktType: KTReactiveType;
18
- private _subscribe;
19
18
  constructor(_calculator: () => T, reactives: Array<KTReactive<unknown>>);
20
19
  /**
21
20
  * If new value and old value are both nodes, the old one will be replaced in the DOM
@@ -249,7 +248,7 @@ type KTComponent = (
249
248
  * ## About
250
249
  * @package @ktjs/core
251
250
  * @author Kasukabe Tsumugi <futami16237@gmail.com>
252
- * @version 0.26.2 (Last Update: 2026.02.05 20:44:45.309)
251
+ * @version 0.26.4 (Last Update: 2026.02.05 23:37:34.691)
253
252
  * @license MIT
254
253
  * @link https://github.com/baendlorel/kt.js
255
254
  * @link https://baendlorel.github.io/ Welcome to my site!
@@ -91,7 +91,7 @@ var __ktjs_core__ = (function (exports) {
91
91
  }
92
92
 
93
93
  // Shared utilities and cached native methods for kt.js framework
94
- Object.defineProperty(window, '__ktjs__', { value: '0.22.8' });
94
+ Object.defineProperty(window, '__ktjs__', { value: '0.23.0' });
95
95
 
96
96
  const isKT = (obj) => obj?.isKT;
97
97
  const isRef = (obj) => obj?.ktType === 1 /* KTReactiveType.REF */;
@@ -433,6 +433,9 @@ var __ktjs_core__ = (function (exports) {
433
433
  * @internal
434
434
  */
435
435
  _onChanges = [];
436
+ /**
437
+ * @internal
438
+ */
436
439
  _subscribe(reactives) {
437
440
  for (let i = 0; i < reactives.length; i++) {
438
441
  const reactive = reactives[i];
@@ -594,7 +597,7 @@ var __ktjs_core__ = (function (exports) {
594
597
  * ## About
595
598
  * @package @ktjs/core
596
599
  * @author Kasukabe Tsumugi <futami16237@gmail.com>
597
- * @version 0.26.2 (Last Update: 2026.02.05 20:44:45.309)
600
+ * @version 0.26.4 (Last Update: 2026.02.05 23:37:34.691)
598
601
  * @license MIT
599
602
  * @link https://github.com/baendlorel/kt.js
600
603
  * @link https://baendlorel.github.io/ Welcome to my site!
@@ -91,7 +91,7 @@ var __ktjs_core__ = (function (exports) {
91
91
  }
92
92
 
93
93
  // Shared utilities and cached native methods for kt.js framework
94
- Object.defineProperty(window, '__ktjs__', { value: '0.22.8' });
94
+ Object.defineProperty(window, '__ktjs__', { value: '0.23.0' });
95
95
 
96
96
  var isKT = function (obj) { return obj === null || obj === void 0 ? void 0 : obj.isKT; };
97
97
  var isRef = function (obj) { return (obj === null || obj === void 0 ? void 0 : obj.ktType) === 1 /* KTReactiveType.REF */; };
@@ -435,6 +435,9 @@ var __ktjs_core__ = (function (exports) {
435
435
  this._value = _calculator();
436
436
  this._subscribe(reactives);
437
437
  }
438
+ /**
439
+ * @internal
440
+ */
438
441
  KTComputed.prototype._subscribe = function (reactives) {
439
442
  var _this = this;
440
443
  for (var i = 0; i < reactives.length; i++) {
@@ -597,7 +600,7 @@ var __ktjs_core__ = (function (exports) {
597
600
  * ## About
598
601
  * @package @ktjs/core
599
602
  * @author Kasukabe Tsumugi <futami16237@gmail.com>
600
- * @version 0.26.2 (Last Update: 2026.02.05 20:44:45.309)
603
+ * @version 0.26.4 (Last Update: 2026.02.05 23:37:34.691)
601
604
  * @license MIT
602
605
  * @link https://github.com/baendlorel/kt.js
603
606
  * @link https://baendlorel.github.io/ Welcome to my site!
package/dist/index.mjs CHANGED
@@ -88,7 +88,7 @@ if (typeof Symbol === 'undefined') {
88
88
  }
89
89
 
90
90
  // Shared utilities and cached native methods for kt.js framework
91
- Object.defineProperty(window, '__ktjs__', { value: '0.22.8' });
91
+ Object.defineProperty(window, '__ktjs__', { value: '0.23.0' });
92
92
 
93
93
  const isKT = (obj) => obj?.isKT;
94
94
  const isRef = (obj) => obj?.ktType === 1 /* KTReactiveType.REF */;
@@ -430,6 +430,9 @@ class KTComputed {
430
430
  * @internal
431
431
  */
432
432
  _onChanges = [];
433
+ /**
434
+ * @internal
435
+ */
433
436
  _subscribe(reactives) {
434
437
  for (let i = 0; i < reactives.length; i++) {
435
438
  const reactive = reactives[i];
@@ -591,7 +594,7 @@ let creator = htmlCreator;
591
594
  * ## About
592
595
  * @package @ktjs/core
593
596
  * @author Kasukabe Tsumugi <futami16237@gmail.com>
594
- * @version 0.26.2 (Last Update: 2026.02.05 20:44:45.309)
597
+ * @version 0.26.4 (Last Update: 2026.02.05 23:37:34.691)
595
598
  * @license MIT
596
599
  * @link https://github.com/baendlorel/kt.js
597
600
  * @link https://baendlorel.github.io/ Welcome to my site!
@@ -13,7 +13,6 @@ declare class KTComputed<T> {
13
13
  */
14
14
  isKT: true;
15
15
  ktType: KTReactiveType;
16
- private _subscribe;
17
16
  constructor(_calculator: () => T, reactives: Array<KTReactive<unknown>>);
18
17
  /**
19
18
  * If new value and old value are both nodes, the old one will be replaced in the DOM
@@ -172,7 +171,7 @@ type KTAttribute = KTBaseAttribute & KTPrefixedEventAttribute;
172
171
  * ## About
173
172
  * @package @ktjs/core
174
173
  * @author Kasukabe Tsumugi <futami16237@gmail.com>
175
- * @version 0.26.2 (Last Update: 2026.02.05 20:44:45.309)
174
+ * @version 0.26.4 (Last Update: 2026.02.05 23:37:34.691)
176
175
  * @license MIT
177
176
  * @link https://github.com/baendlorel/kt.js
178
177
  * @link https://baendlorel.github.io/ Welcome to my site!
@@ -81,7 +81,7 @@ if (typeof Symbol === 'undefined') {
81
81
  }
82
82
 
83
83
  // Shared utilities and cached native methods for kt.js framework
84
- Object.defineProperty(window, '__ktjs__', { value: '0.22.8' });
84
+ Object.defineProperty(window, '__ktjs__', { value: '0.23.0' });
85
85
 
86
86
  const isKT = (obj) => obj?.isKT;
87
87
  const isRef = (obj) => obj?.ktType === 1 /* KTReactiveType.REF */;
@@ -383,7 +383,7 @@ let creator = htmlCreator;
383
383
  * ## About
384
384
  * @package @ktjs/core
385
385
  * @author Kasukabe Tsumugi <futami16237@gmail.com>
386
- * @version 0.26.2 (Last Update: 2026.02.05 20:44:45.309)
386
+ * @version 0.26.4 (Last Update: 2026.02.05 23:37:34.691)
387
387
  * @license MIT
388
388
  * @link https://github.com/baendlorel/kt.js
389
389
  * @link https://baendlorel.github.io/ Welcome to my site!
@@ -141,7 +141,7 @@ type KTAttribute = KTBaseAttribute & KTPrefixedEventAttribute;
141
141
  * ## About
142
142
  * @package @ktjs/core
143
143
  * @author Kasukabe Tsumugi <futami16237@gmail.com>
144
- * @version 0.26.2 (Last Update: 2026.02.05 20:44:45.309)
144
+ * @version 0.26.4 (Last Update: 2026.02.05 23:37:34.691)
145
145
  * @license MIT
146
146
  * @link https://github.com/baendlorel/kt.js
147
147
  * @link https://baendlorel.github.io/ Welcome to my site!
@@ -81,7 +81,7 @@ if (typeof Symbol === 'undefined') {
81
81
  }
82
82
 
83
83
  // Shared utilities and cached native methods for kt.js framework
84
- Object.defineProperty(window, '__ktjs__', { value: '0.22.8' });
84
+ Object.defineProperty(window, '__ktjs__', { value: '0.23.0' });
85
85
 
86
86
  const isKT = (obj) => obj?.isKT;
87
87
  const isRef = (obj) => obj?.ktType === 1 /* KTReactiveType.REF */;
@@ -383,7 +383,7 @@ let creator = htmlCreator;
383
383
  * ## About
384
384
  * @package @ktjs/core
385
385
  * @author Kasukabe Tsumugi <futami16237@gmail.com>
386
- * @version 0.26.2 (Last Update: 2026.02.05 20:44:45.309)
386
+ * @version 0.26.4 (Last Update: 2026.02.05 23:37:34.691)
387
387
  * @license MIT
388
388
  * @link https://github.com/baendlorel/kt.js
389
389
  * @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.26.2",
3
+ "version": "0.26.4",
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",
@@ -44,7 +44,7 @@
44
44
  "directory": "packages/core"
45
45
  },
46
46
  "dependencies": {
47
- "@ktjs/shared": "0.22.8"
47
+ "@ktjs/shared": "0.23.0"
48
48
  },
49
49
  "scripts": {
50
50
  "build": "rollup -c rollup.config.mjs",