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 +1 -1
- package/dist/dom.js +1 -1
- package/dist/dom.mjs +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/internals/{common-FSgbZ-Ci.mjs → common-BDn2ckJk.mjs} +3 -2
- package/dist/internals/{common-FSgbZ-Ci.mjs.map → common-BDn2ckJk.mjs.map} +1 -1
- package/dist/internals/{common-MihgZvIs.js → common-wMxJm6pW.js} +3 -2
- package/dist/internals/{common-MihgZvIs.js.map → common-wMxJm6pW.js.map} +1 -1
- package/dist/internals/state-5PNx91ec.mjs.map +1 -1
- package/dist/internals/state-Lf_tbWNd.js.map +1 -1
- package/dist/internals/utils-B3ihX1zg.d.ts +7 -0
- package/dist/internals/utils-B3ihX1zg.d.ts.map +1 -0
- package/dist/server-dom.js +1 -1
- package/dist/server-dom.mjs +1 -1
- package/dist/web.js +1 -1
- package/dist/web.mjs +2 -2
- package/package.json +1 -1
- package/dist/internals/utils-DWp2-G3N.d.ts +0 -7
- package/dist/internals/utils-DWp2-G3N.d.ts.map +0 -1
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-
|
|
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
package/dist/dom.mjs
CHANGED
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-
|
|
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
|
|
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-
|
|
4167
|
+
//# sourceMappingURL=common-BDn2ckJk.mjs.map
|