nexa-runtime 0.7.10 → 0.8.0

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 +0 -18
  2. package/package.json +2 -2
package/dist/vdom/dom.js CHANGED
@@ -1,5 +1,4 @@
1
1
  import { effect } from 'nexa-reactivity';
2
- import { vCurrency as _vCurrency } from '../directives/currency';
3
2
  function normalizeClassValue(value) {
4
3
  if (!value)
5
4
  return '';
@@ -81,17 +80,6 @@ export const domOptions = {
81
80
  delete el._vShowEffect;
82
81
  }
83
82
  }
84
- else if (key === 'vCurrency') {
85
- if (el._vCurrencyCleanup) {
86
- el._vCurrencyCleanup();
87
- }
88
- if (nextValue) {
89
- el._vCurrencyCleanup = _vCurrency(el, nextValue);
90
- }
91
- else {
92
- delete el._vCurrencyCleanup;
93
- }
94
- }
95
83
  else if (key === 'checked') {
96
84
  el.checked = !!nextValue;
97
85
  }
@@ -106,9 +94,6 @@ export const domOptions = {
106
94
  else if (key === 'htmlFor') {
107
95
  el.setAttribute('for', String(nextValue));
108
96
  }
109
- else if (key === 'innerHTML') {
110
- el.innerHTML = nextValue ?? '';
111
- }
112
97
  else if (typeof nextValue === 'boolean') {
113
98
  if (nextValue)
114
99
  el.setAttribute(key, '');
@@ -119,9 +104,6 @@ export const domOptions = {
119
104
  if (nextValue == null) {
120
105
  el.removeAttribute(key);
121
106
  }
122
- else if (typeof el.tagName === 'string' && el.tagName.includes('-') && typeof nextValue === 'object') {
123
- el[key] = nextValue;
124
- }
125
107
  else {
126
108
  el.setAttribute(key, String(nextValue));
127
109
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nexa-runtime",
3
- "version": "0.7.10",
3
+ "version": "0.8.0",
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.10"
16
+ "nexa-reactivity": "0.8.0"
17
17
  },
18
18
  "files": [
19
19
  "dist"