frosty 0.0.48 → 0.0.49

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/_native.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { N as NativeElementType, c as PropsType, b as ComponentNode } from './internals/common-CUIKizze.js';
2
2
  export { V as VNode, _ as _Renderer } from './internals/renderer-JiEjgWg8.js';
3
- export { u as uniqueId } from './internals/utils-DWp2-G3N.js';
3
+ export { u as uniqueId } from './internals/utils-B3ihX1zg.js';
4
4
  import '@o2ter/utils-js';
5
5
  import 'lodash';
6
6
  import 'csstype';
package/dist/dom.js CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var common = require('./internals/common-MihgZvIs.js');
3
+ var common = require('./internals/common-wMxJm6pW.js');
4
4
  require('lodash');
5
5
  require('myers.js');
6
6
  require('./internals/component-BiP3XIPe.js');
package/dist/dom.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { _ as _DOMRenderer } from './internals/common-FSgbZ-Ci.mjs';
1
+ import { _ as _DOMRenderer } from './internals/common-BDn2ckJk.mjs';
2
2
  import 'lodash';
3
3
  import 'myers.js';
4
4
  import './internals/component-BzurKp_J.mjs';
package/dist/index.d.ts CHANGED
@@ -3,7 +3,7 @@ export { h as CSSProperties, e as ClassName, j as ComponentProps, k as Component
3
3
  import _ from 'lodash';
4
4
  import { Awaitable } from '@o2ter/utils-js';
5
5
  export { F as Fragment } from './internals/fragment-50WCFjrW.js';
6
- export { m as mergeRefs } from './internals/utils-DWp2-G3N.js';
6
+ export { m as mergeRefs } from './internals/utils-B3ihX1zg.js';
7
7
  import 'csstype';
8
8
 
9
9
  /**
@@ -3924,7 +3924,8 @@ class _DOMRenderer extends _Renderer {
3924
3924
  else {
3925
3925
  const styleElem = this.document.querySelector('style[data-frosty-style]') ?? this.document.createElementNS(HTML_NS, 'style');
3926
3926
  styleElem.setAttribute('data-frosty-style', '');
3927
- styleElem.textContent = this._tracked_style.css;
3927
+ if (styleElem.textContent !== this._tracked_style.css)
3928
+ styleElem.textContent = this._tracked_style.css;
3928
3929
  if (this._server) {
3929
3930
  this.__replaceChildren(head, [...this._tracked_head_children, styleElem]);
3930
3931
  }
@@ -4163,4 +4164,4 @@ class _DOMRenderer extends _Renderer {
4163
4164
  }
4164
4165
 
4165
4166
  export { DOMNativeNode as D, _DOMRenderer as _ };
4166
- //# sourceMappingURL=common-FSgbZ-Ci.mjs.map
4167
+ //# sourceMappingURL=common-BDn2ckJk.mjs.map