@faber1999/axon.js 0.4.1 → 0.4.2

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.
@@ -167,6 +167,8 @@ function applyProp(el, key, value) {
167
167
  else el.removeAttribute(key);
168
168
  } else if (key === "innerHTML") {
169
169
  el.innerHTML = value;
170
+ } else if (key === "value") {
171
+ el.value = value == null ? "" : String(value);
170
172
  } else {
171
173
  if (value == null || value === false) {
172
174
  el.removeAttribute(key);
package/dist/index.js CHANGED
@@ -9,7 +9,7 @@ import {
9
9
  runOwned,
10
10
  runWithOwner,
11
11
  untrack
12
- } from "./chunk-RKZYBE62.js";
12
+ } from "./chunk-HE4N2XY4.js";
13
13
 
14
14
  // src/reactivity/signal.ts
15
15
  var batchDepth = 0;
package/dist/jsx.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  Fragment,
3
3
  h
4
- } from "./chunk-RKZYBE62.js";
4
+ } from "./chunk-HE4N2XY4.js";
5
5
  export {
6
6
  Fragment,
7
7
  h
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@faber1999/axon.js",
3
- "version": "0.4.1",
3
+ "version": "0.4.2",
4
4
  "description": "A fine-grained reactive frontend framework with JSX",
5
5
  "author": "Faber Grajales Hincapié <faber1999> (https://github.com/faber1999)",
6
6
  "repository": {