@ktjs/core 0.15.3 → 0.15.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
@@ -150,7 +150,7 @@ type HTML<T extends (HTMLTag | SVGTag) & otherstring> = T extends SVGTag ? SVGEl
150
150
  * ## About
151
151
  * @package @ktjs/core
152
152
  * @author Kasukabe Tsumugi <futami16237@gmail.com>
153
- * @version 0.15.3 (Last Update: 2026.01.25 14:39:33.442)
153
+ * @version 0.15.4 (Last Update: 2026.01.25 14:47:00.746)
154
154
  * @license MIT
155
155
  * @link https://github.com/baendlorel/kt.js
156
156
  * @link https://baendlorel.github.io/ Welcome to my site!
@@ -58,7 +58,7 @@ var __ktjs_core__ = (function (exports) {
58
58
  function attrIsObject(element, attr) {
59
59
  const classValue = attr.class;
60
60
  if (classValue !== undefined) {
61
- element.className = classValue;
61
+ element.setAttribute('class', classValue);
62
62
  }
63
63
  const style = attr.style;
64
64
  if (style) {
@@ -207,7 +207,7 @@ var __ktjs_core__ = (function (exports) {
207
207
  * ## About
208
208
  * @package @ktjs/core
209
209
  * @author Kasukabe Tsumugi <futami16237@gmail.com>
210
- * @version 0.15.3 (Last Update: 2026.01.25 14:39:33.442)
210
+ * @version 0.15.4 (Last Update: 2026.01.25 14:47:00.746)
211
211
  * @license MIT
212
212
  * @link https://github.com/baendlorel/kt.js
213
213
  * @link https://baendlorel.github.io/ Welcome to my site!
@@ -70,7 +70,7 @@ var __ktjs_core__ = (function (exports) {
70
70
  function attrIsObject(element, attr) {
71
71
  var classValue = attr.class;
72
72
  if (classValue !== undefined) {
73
- element.className = classValue;
73
+ element.setAttribute('class', classValue);
74
74
  }
75
75
  var style = attr.style;
76
76
  if (style) {
@@ -232,7 +232,7 @@ var __ktjs_core__ = (function (exports) {
232
232
  * ## About
233
233
  * @package @ktjs/core
234
234
  * @author Kasukabe Tsumugi <futami16237@gmail.com>
235
- * @version 0.15.3 (Last Update: 2026.01.25 14:39:33.442)
235
+ * @version 0.15.4 (Last Update: 2026.01.25 14:47:00.746)
236
236
  * @license MIT
237
237
  * @link https://github.com/baendlorel/kt.js
238
238
  * @link https://baendlorel.github.io/ Welcome to my site!
package/dist/index.mjs CHANGED
@@ -55,7 +55,7 @@ const defaultHandler = (element, key, value) => element.setAttribute(key, value)
55
55
  function attrIsObject(element, attr) {
56
56
  const classValue = attr.class;
57
57
  if (classValue !== undefined) {
58
- element.className = classValue;
58
+ element.setAttribute('class', classValue);
59
59
  }
60
60
  const style = attr.style;
61
61
  if (style) {
@@ -204,7 +204,7 @@ let creator = defaultCreator;
204
204
  * ## About
205
205
  * @package @ktjs/core
206
206
  * @author Kasukabe Tsumugi <futami16237@gmail.com>
207
- * @version 0.15.3 (Last Update: 2026.01.25 14:39:33.442)
207
+ * @version 0.15.4 (Last Update: 2026.01.25 14:47:00.746)
208
208
  * @license MIT
209
209
  * @link https://github.com/baendlorel/kt.js
210
210
  * @link https://baendlorel.github.io/ Welcome to my site!
@@ -136,7 +136,7 @@ type HTML<T extends (HTMLTag | SVGTag) & otherstring> = T extends SVGTag ? SVGEl
136
136
  * ## About
137
137
  * @package @ktjs/core
138
138
  * @author Kasukabe Tsumugi <futami16237@gmail.com>
139
- * @version 0.15.3 (Last Update: 2026.01.25 14:39:33.442)
139
+ * @version 0.15.4 (Last Update: 2026.01.25 14:47:00.746)
140
140
  * @license MIT
141
141
  * @link https://github.com/baendlorel/kt.js
142
142
  * @link https://baendlorel.github.io/ Welcome to my site!
@@ -55,7 +55,7 @@ const defaultHandler = (element, key, value) => element.setAttribute(key, value)
55
55
  function attrIsObject(element, attr) {
56
56
  const classValue = attr.class;
57
57
  if (classValue !== undefined) {
58
- element.className = classValue;
58
+ element.setAttribute('class', classValue);
59
59
  }
60
60
  const style = attr.style;
61
61
  if (style) {
@@ -204,7 +204,7 @@ let creator = defaultCreator;
204
204
  * ## About
205
205
  * @package @ktjs/core
206
206
  * @author Kasukabe Tsumugi <futami16237@gmail.com>
207
- * @version 0.15.3 (Last Update: 2026.01.25 14:39:33.442)
207
+ * @version 0.15.4 (Last Update: 2026.01.25 14:47:00.746)
208
208
  * @license MIT
209
209
  * @link https://github.com/baendlorel/kt.js
210
210
  * @link https://baendlorel.github.io/ Welcome to my site!
@@ -130,7 +130,7 @@ type HTML<T extends (HTMLTag | SVGTag) & otherstring> = T extends SVGTag ? SVGEl
130
130
  * ## About
131
131
  * @package @ktjs/core
132
132
  * @author Kasukabe Tsumugi <futami16237@gmail.com>
133
- * @version 0.15.3 (Last Update: 2026.01.25 14:39:33.442)
133
+ * @version 0.15.4 (Last Update: 2026.01.25 14:47:00.746)
134
134
  * @license MIT
135
135
  * @link https://github.com/baendlorel/kt.js
136
136
  * @link https://baendlorel.github.io/ Welcome to my site!
@@ -55,7 +55,7 @@ const defaultHandler = (element, key, value) => element.setAttribute(key, value)
55
55
  function attrIsObject(element, attr) {
56
56
  const classValue = attr.class;
57
57
  if (classValue !== undefined) {
58
- element.className = classValue;
58
+ element.setAttribute('class', classValue);
59
59
  }
60
60
  const style = attr.style;
61
61
  if (style) {
@@ -204,7 +204,7 @@ let creator = defaultCreator;
204
204
  * ## About
205
205
  * @package @ktjs/core
206
206
  * @author Kasukabe Tsumugi <futami16237@gmail.com>
207
- * @version 0.15.3 (Last Update: 2026.01.25 14:39:33.442)
207
+ * @version 0.15.4 (Last Update: 2026.01.25 14:47:00.746)
208
208
  * @license MIT
209
209
  * @link https://github.com/baendlorel/kt.js
210
210
  * @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.15.3",
3
+ "version": "0.15.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",