nexa-runtime 0.7.7 → 0.7.8

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.
Files changed (2) hide show
  1. package/dist/vdom/dom.js +3 -0
  2. package/package.json +2 -2
package/dist/vdom/dom.js CHANGED
@@ -116,6 +116,9 @@ export const domOptions = {
116
116
  if (nextValue == null) {
117
117
  el.removeAttribute(key);
118
118
  }
119
+ else if (typeof el.tagName === 'string' && el.tagName.includes('-') && typeof nextValue === 'object') {
120
+ el[key] = nextValue;
121
+ }
119
122
  else {
120
123
  el.setAttribute(key, String(nextValue));
121
124
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nexa-runtime",
3
- "version": "0.7.7",
3
+ "version": "0.7.8",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",
@@ -13,7 +13,7 @@
13
13
  }
14
14
  },
15
15
  "dependencies": {
16
- "nexa-reactivity": "0.7.7"
16
+ "nexa-reactivity": "0.7.8"
17
17
  },
18
18
  "files": [
19
19
  "dist"