kt.js 0.15.2 → 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/jsx-runtime.mjs +3 -3
- package/package.json +2 -2
package/dist/jsx-runtime.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.
|
|
58
|
+
element.setAttribute('class', classValue);
|
|
59
59
|
}
|
|
60
60
|
const style = attr.style;
|
|
61
61
|
if (style) {
|
|
@@ -192,7 +192,7 @@ function applyContent(element, content) {
|
|
|
192
192
|
}
|
|
193
193
|
|
|
194
194
|
const defaultCreator = (tag) => document.createElement(tag);
|
|
195
|
-
const svgCreator = (tag) => document.createElementNS('http://www.w3.org/
|
|
195
|
+
const svgCreator = (tag) => document.createElementNS('http://www.w3.org/2000/svg', tag);
|
|
196
196
|
let creator = defaultCreator;
|
|
197
197
|
/**
|
|
198
198
|
* Create an enhanced HTMLElement.
|
|
@@ -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.
|
|
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": "kt.js",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.4",
|
|
4
4
|
"author": {
|
|
5
5
|
"name": "Kasukabe Tsumugi",
|
|
6
6
|
"email": "futami16237@gmail.com"
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
],
|
|
42
42
|
"license": "MIT",
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@ktjs/core": "0.15.
|
|
44
|
+
"@ktjs/core": "0.15.4",
|
|
45
45
|
"@ktjs/shortcuts": "0.7.3"
|
|
46
46
|
},
|
|
47
47
|
"scripts": {
|