olova 2.0.62 → 2.0.64
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/compiler.js +6 -1
- package/dist/compiler.js.map +1 -1
- package/dist/core.js +7 -2
- package/dist/core.js.map +1 -1
- package/dist/index.js +59 -15
- package/dist/index.js.map +1 -1
- package/dist/runtime.js +7 -2
- package/dist/runtime.js.map +1 -1
- package/dist/vite.js +59 -15
- package/dist/vite.js.map +1 -1
- package/package.json +1 -1
package/dist/compiler.js
CHANGED
|
@@ -1922,7 +1922,12 @@ ${exportHead}
|
|
|
1922
1922
|
__olovaJsxHandlers.set(id, handler);
|
|
1923
1923
|
return ' data-o-jsx-' + eventName + '="' + id + '" on' + eventName + '="window.__olovaDispatchJsxEvent(event, this)"';
|
|
1924
1924
|
};
|
|
1925
|
-
const __olovaToString = (value) =>
|
|
1925
|
+
const __olovaToString = (value) =>
|
|
1926
|
+
Array.isArray(value)
|
|
1927
|
+
? value.map(__olovaToString).join('')
|
|
1928
|
+
: value == null || value === false || value === true
|
|
1929
|
+
? ''
|
|
1930
|
+
: String(value);
|
|
1926
1931
|
const __olovaDangerouslySetHtml = (value) => ({ __dangerousHtml: true, value: __olovaToString(value) });
|
|
1927
1932
|
const __olovaNormalizeClassValue = (value) => {
|
|
1928
1933
|
if (value == null || value === false) {
|