frosty 0.0.27 → 0.0.28

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/dom.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { _ as _DOMRenderer } from './internals/common-D1aDqVhZ.js';
2
- export { D as DOMNativeNode } from './internals/common-D1aDqVhZ.js';
1
+ import { _ as _DOMRenderer } from './internals/common-gMIRFx0G.js';
2
+ export { D as DOMNativeNode } from './internals/common-gMIRFx0G.js';
3
3
  import './internals/common-agClzvnU.js';
4
4
  import '@o2ter/utils-js';
5
5
  import 'lodash';
package/dist/dom.js CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var common = require('./internals/common-BYkI-LyH.js');
3
+ var common = require('./internals/common-BE-nn3Xk.js');
4
4
  require('lodash');
5
5
  require('myers.js');
6
6
  require('./internals/component-DJsXAx2C.js');
package/dist/dom.mjs CHANGED
@@ -1,5 +1,5 @@
1
- import { _ as _DOMRenderer } from './internals/common-Cdpc1Wfn.mjs';
2
- export { D as DOMNativeNode } from './internals/common-Cdpc1Wfn.mjs';
1
+ import { _ as _DOMRenderer } from './internals/common-CMQ104wv.mjs';
2
+ export { D as DOMNativeNode } from './internals/common-CMQ104wv.mjs';
3
3
  import 'lodash';
4
4
  import 'myers.js';
5
5
  import './internals/component-tyF62qKh.mjs';
@@ -3986,7 +3986,13 @@ class _DOMRenderer extends renderer._Renderer {
3986
3986
  const { type, props: { className, style, inlineStyle, innerHTML, ..._props } } = node;
3987
3987
  if (element instanceof DOMNativeNode) {
3988
3988
  const builtClassName = this.__createBuiltClassName(className, style);
3989
- element.update({ className: builtClassName, style: inlineStyle, innerHTML, ..._props });
3989
+ const { css } = inlineStyle ? processCss(inlineStyle) : {};
3990
+ element.update({
3991
+ className: builtClassName,
3992
+ style: css,
3993
+ innerHTML,
3994
+ ..._props,
3995
+ });
3990
3996
  return;
3991
3997
  }
3992
3998
  if (!_.isString(type))
@@ -4122,4 +4128,4 @@ class _DOMRenderer extends renderer._Renderer {
4122
4128
 
4123
4129
  exports.DOMNativeNode = DOMNativeNode;
4124
4130
  exports._DOMRenderer = _DOMRenderer;
4125
- //# sourceMappingURL=common-BYkI-LyH.js.map
4131
+ //# sourceMappingURL=common-BE-nn3Xk.js.map