@makeswift/runtime 0.0.8 → 0.0.9
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/index.cjs.js
CHANGED
|
@@ -8203,7 +8203,8 @@ function useStyleControlCssObject(style$1, controlDefinition) {
|
|
|
8203
8203
|
return `${borderRadius.value}${borderRadius.unit}`;
|
|
8204
8204
|
}
|
|
8205
8205
|
}
|
|
8206
|
-
const
|
|
8206
|
+
const useInsertionEffectSpecifier = "useInsertionEffect";
|
|
8207
|
+
const useInsertionEffect = (_ea = React__namespace[useInsertionEffectSpecifier]) != null ? _ea : React__namespace.useLayoutEffect;
|
|
8207
8208
|
function useFormattedStyle(styleControlData, controlDefinition) {
|
|
8208
8209
|
const style2 = useStyleControlCssObject(styleControlData, controlDefinition);
|
|
8209
8210
|
const serialized = serializeStyles([style2], css.cache.registered);
|