@tamagui/core 1.129.3 → 1.129.4
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.js +115 -97
- package/dist/native.js.map +3 -3
- package/dist/test.native.js +96 -78
- package/dist/test.native.js.map +3 -3
- package/package.json +8 -8
package/dist/test.native.js
CHANGED
|
@@ -2495,57 +2495,6 @@ var require_defaultComponentState_native = __commonJS({
|
|
|
2495
2495
|
}
|
|
2496
2496
|
});
|
|
2497
2497
|
|
|
2498
|
-
// ../web/dist/cjs/helpers/consoleLog.native.js
|
|
2499
|
-
var require_consoleLog_native = __commonJS({
|
|
2500
|
-
"../web/dist/cjs/helpers/consoleLog.native.js"(exports2, module2) {
|
|
2501
|
-
"use strict";
|
|
2502
|
-
var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = function(target, all) {
|
|
2503
|
-
for (var name in all) __defProp2(target, name, {
|
|
2504
|
-
get: all[name],
|
|
2505
|
-
enumerable: !0
|
|
2506
|
-
});
|
|
2507
|
-
}, __copyProps2 = function(to, from, except, desc) {
|
|
2508
|
-
var _iteratorNormalCompletion = !0, _didIteratorError = !1, _iteratorError = void 0;
|
|
2509
|
-
if (from && typeof from == "object" || typeof from == "function") try {
|
|
2510
|
-
for (var _loop = function() {
|
|
2511
|
-
var key = _step.value;
|
|
2512
|
-
!__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, {
|
|
2513
|
-
get: function() {
|
|
2514
|
-
return from[key];
|
|
2515
|
-
},
|
|
2516
|
-
enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable
|
|
2517
|
-
});
|
|
2518
|
-
}, _iterator = __getOwnPropNames2(from)[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = !0) _loop();
|
|
2519
|
-
} catch (err) {
|
|
2520
|
-
_didIteratorError = !0, _iteratorError = err;
|
|
2521
|
-
} finally {
|
|
2522
|
-
try {
|
|
2523
|
-
!_iteratorNormalCompletion && _iterator.return != null && _iterator.return();
|
|
2524
|
-
} finally {
|
|
2525
|
-
if (_didIteratorError)
|
|
2526
|
-
throw _iteratorError;
|
|
2527
|
-
}
|
|
2528
|
-
}
|
|
2529
|
-
return to;
|
|
2530
|
-
}, __toCommonJS2 = function(mod) {
|
|
2531
|
-
return __copyProps2(__defProp2({}, "__esModule", {
|
|
2532
|
-
value: !0
|
|
2533
|
-
}), mod);
|
|
2534
|
-
}, consoleLog_native_exports = {};
|
|
2535
|
-
__export2(consoleLog_native_exports, {
|
|
2536
|
-
groupCollapsed: function() {
|
|
2537
|
-
return groupCollapsed;
|
|
2538
|
-
},
|
|
2539
|
-
groupEnd: function() {
|
|
2540
|
-
return groupEnd;
|
|
2541
|
-
}
|
|
2542
|
-
});
|
|
2543
|
-
module2.exports = __toCommonJS2(consoleLog_native_exports);
|
|
2544
|
-
var groupEnd = function() {
|
|
2545
|
-
}, groupCollapsed = console.info;
|
|
2546
|
-
}
|
|
2547
|
-
});
|
|
2548
|
-
|
|
2549
2498
|
// ../web/dist/cjs/helpers/getShorthandValue.native.js
|
|
2550
2499
|
var require_getShorthandValue_native = __commonJS({
|
|
2551
2500
|
"../web/dist/cjs/helpers/getShorthandValue.native.js"(exports2, module2) {
|
|
@@ -5063,7 +5012,7 @@ var require_getSplitStyles_native = __commonJS({
|
|
|
5063
5012
|
}
|
|
5064
5013
|
});
|
|
5065
5014
|
module2.exports = __toCommonJS2(getSplitStyles_exports);
|
|
5066
|
-
var import_constants2 = require_index_native2(), import_helpers2 = require_index_native3(), import_react3 = __toESM2(require("react")), import_getDynamicVal = require_getDynamicVal_native(), import_config = require_config_native(), import_accessibilityDirectMap = require_accessibilityDirectMap_native(), import_constants22 = require_constants_native2(), import_isDevTools = require_isDevTools_native(), import_useMedia = require_useMedia_native(),
|
|
5015
|
+
var import_constants2 = require_index_native2(), import_helpers2 = require_index_native3(), import_react3 = __toESM2(require("react")), import_getDynamicVal = require_getDynamicVal_native(), import_config = require_config_native(), import_accessibilityDirectMap = require_accessibilityDirectMap_native(), import_constants22 = require_constants_native2(), import_isDevTools = require_isDevTools_native(), import_useMedia = require_useMedia_native(), import_createMediaStyle = require_createMediaStyle_native(), import_expandStyles = require_expandStyles_native(), import_getCSSStylesAtomic = require_getCSSStylesAtomic_native(), import_getGroupPropParts = require_getGroupPropParts_native(), import_insertStyleRule = require_insertStyleRule_native(), import_isActivePlatform = require_isActivePlatform_native(), import_isActiveTheme = require_isActiveTheme_native(), import_log = require_log_native(), import_normalizeValueWithProperty = require_normalizeValueWithProperty_native(), import_propMapper = require_propMapper_native(), import_pseudoDescriptors = require_pseudoDescriptors_native(), import_skipProps = require_skipProps_native(), import_sortString = require_sortString_native(), import_transformsToString = require_transformsToString_native(), conf, PROP_SPLIT = "-";
|
|
5067
5016
|
function isValidStyleKey(key, validStyles2, accept) {
|
|
5068
5017
|
return key in validStyles2 ? !0 : accept && key in accept;
|
|
5069
5018
|
}
|
|
@@ -6574,6 +6523,62 @@ var require_wrapStyleTags_native = __commonJS({
|
|
|
6574
6523
|
}
|
|
6575
6524
|
});
|
|
6576
6525
|
|
|
6526
|
+
// ../use-did-finish-ssr/dist/cjs/ClientOnly.native.js
|
|
6527
|
+
var require_ClientOnly_native = __commonJS({
|
|
6528
|
+
"../use-did-finish-ssr/dist/cjs/ClientOnly.native.js"(exports2, module2) {
|
|
6529
|
+
"use strict";
|
|
6530
|
+
var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = function(target, all) {
|
|
6531
|
+
for (var name in all) __defProp2(target, name, {
|
|
6532
|
+
get: all[name],
|
|
6533
|
+
enumerable: !0
|
|
6534
|
+
});
|
|
6535
|
+
}, __copyProps2 = function(to, from, except, desc) {
|
|
6536
|
+
var _iteratorNormalCompletion = !0, _didIteratorError = !1, _iteratorError = void 0;
|
|
6537
|
+
if (from && typeof from == "object" || typeof from == "function") try {
|
|
6538
|
+
for (var _loop = function() {
|
|
6539
|
+
var key = _step.value;
|
|
6540
|
+
!__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, {
|
|
6541
|
+
get: function() {
|
|
6542
|
+
return from[key];
|
|
6543
|
+
},
|
|
6544
|
+
enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable
|
|
6545
|
+
});
|
|
6546
|
+
}, _iterator = __getOwnPropNames2(from)[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = !0) _loop();
|
|
6547
|
+
} catch (err) {
|
|
6548
|
+
_didIteratorError = !0, _iteratorError = err;
|
|
6549
|
+
} finally {
|
|
6550
|
+
try {
|
|
6551
|
+
!_iteratorNormalCompletion && _iterator.return != null && _iterator.return();
|
|
6552
|
+
} finally {
|
|
6553
|
+
if (_didIteratorError)
|
|
6554
|
+
throw _iteratorError;
|
|
6555
|
+
}
|
|
6556
|
+
}
|
|
6557
|
+
return to;
|
|
6558
|
+
}, __toCommonJS2 = function(mod) {
|
|
6559
|
+
return __copyProps2(__defProp2({}, "__esModule", {
|
|
6560
|
+
value: !0
|
|
6561
|
+
}), mod);
|
|
6562
|
+
}, ClientOnly_exports = {};
|
|
6563
|
+
__export2(ClientOnly_exports, {
|
|
6564
|
+
ClientOnly: function() {
|
|
6565
|
+
return ClientOnly2;
|
|
6566
|
+
},
|
|
6567
|
+
ClientOnlyContext: function() {
|
|
6568
|
+
return ClientOnlyContext2;
|
|
6569
|
+
}
|
|
6570
|
+
});
|
|
6571
|
+
module2.exports = __toCommonJS2(ClientOnly_exports);
|
|
6572
|
+
var import_jsx_runtime = require("react/jsx-runtime"), import_react3 = require("react"), ClientOnlyContext2 = /* @__PURE__ */ (0, import_react3.createContext)(!1), ClientOnly2 = function(param) {
|
|
6573
|
+
var { children } = param;
|
|
6574
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ClientOnlyContext2.Provider, {
|
|
6575
|
+
value: !0,
|
|
6576
|
+
children
|
|
6577
|
+
});
|
|
6578
|
+
};
|
|
6579
|
+
}
|
|
6580
|
+
});
|
|
6581
|
+
|
|
6577
6582
|
// ../use-did-finish-ssr/dist/cjs/index.native.js
|
|
6578
6583
|
var require_index_native6 = __commonJS({
|
|
6579
6584
|
"../use-did-finish-ssr/dist/cjs/index.native.js"(exports2, module2) {
|
|
@@ -6624,6 +6629,12 @@ var require_index_native6 = __commonJS({
|
|
|
6624
6629
|
}), mod);
|
|
6625
6630
|
}, index_exports2 = {};
|
|
6626
6631
|
__export2(index_exports2, {
|
|
6632
|
+
ClientOnly: function() {
|
|
6633
|
+
return import_ClientOnly2.ClientOnly;
|
|
6634
|
+
},
|
|
6635
|
+
ClientOnlyContext: function() {
|
|
6636
|
+
return import_ClientOnly2.ClientOnlyContext;
|
|
6637
|
+
},
|
|
6627
6638
|
useClientValue: function() {
|
|
6628
6639
|
return useClientValue;
|
|
6629
6640
|
},
|
|
@@ -6632,8 +6643,9 @@ var require_index_native6 = __commonJS({
|
|
|
6632
6643
|
}
|
|
6633
6644
|
});
|
|
6634
6645
|
module2.exports = __toCommonJS2(index_exports2);
|
|
6635
|
-
var React3 = __toESM2(require("react"));
|
|
6646
|
+
var React3 = __toESM2(require("react")), import_ClientOnly = require_ClientOnly_native(), import_ClientOnly2 = require_ClientOnly_native();
|
|
6636
6647
|
function useDidFinishSSR(value) {
|
|
6648
|
+
var clientOnly = React3.useContext(import_ClientOnly.ClientOnlyContext);
|
|
6637
6649
|
return value ?? !0;
|
|
6638
6650
|
}
|
|
6639
6651
|
function useClientValue(value) {
|
|
@@ -6999,7 +7011,7 @@ var require_createComponent_native = __commonJS({
|
|
|
6999
7011
|
}
|
|
7000
7012
|
});
|
|
7001
7013
|
module2.exports = __toCommonJS2(createComponent_exports);
|
|
7002
|
-
var import_jsx_runtime = require("react/jsx-runtime"), import_compose_refs = require_index_native4(), import_constants2 = require_index_native2(), import_helpers2 = require_index_native3(), import_react3 = __toESM2(require("react")), import_config = require_config_native(), import_constants22 = require_constants_native2(), import_isDevTools = require_isDevTools_native(), import_ComponentContext = require_ComponentContext_native(), import_createVariable = require_createVariable_native(), import_defaultComponentState = require_defaultComponentState_native(),
|
|
7014
|
+
var import_jsx_runtime = require("react/jsx-runtime"), import_compose_refs = require_index_native4(), import_constants2 = require_index_native2(), import_helpers2 = require_index_native3(), import_react3 = __toESM2(require("react")), import_config = require_config_native(), import_constants22 = require_constants_native2(), import_isDevTools = require_isDevTools_native(), import_ComponentContext = require_ComponentContext_native(), import_createVariable = require_createVariable_native(), import_defaultComponentState = require_defaultComponentState_native(), import_getShorthandValue = require_getShorthandValue_native(), import_getSplitStyles = require_getSplitStyles_native(), import_log = require_log_native(), import_mergeProps = require_mergeProps_native(), import_setElementProps = require_setElementProps_native(), import_subscribeToContextGroup = require_subscribeToContextGroup_native(), import_themeable = require_themeable_native(), import_wrapStyleTags = require_wrapStyleTags_native(), import_useComponentState = require_useComponentState_native(), import_useMedia = require_useMedia_native(), import_useTheme = require_useTheme_native(), import_setupHooks = require_setupHooks_native(), import_Slot = require_Slot_native(), import_Theme = require_Theme_native(), componentSetStates = /* @__PURE__ */ new Set();
|
|
7003
7015
|
typeof document < "u" && (cancelTouches = function() {
|
|
7004
7016
|
componentSetStates.forEach(function(setState) {
|
|
7005
7017
|
return setState(function(prev) {
|
|
@@ -7145,7 +7157,7 @@ var require_createComponent_native = __commonJS({
|
|
|
7145
7157
|
staticConfig,
|
|
7146
7158
|
stateRef
|
|
7147
7159
|
});
|
|
7148
|
-
|
|
7160
|
+
animations && (animationStyles = animations.style, viewProps.style = animationStyles, animations.className && (viewProps.className = `${state.unmounted === "should-enter" ? "t_unmounted " : ""}${viewProps.className || ""} ${animations.className}`));
|
|
7149
7161
|
}
|
|
7150
7162
|
groupName && (nonTamaguiProps.onLayout = (0, import_helpers2.composeEventHandlers)(nonTamaguiProps.onLayout, function(e) {
|
|
7151
7163
|
var layout = e.nativeEvent.layout;
|
|
@@ -8633,9 +8645,9 @@ var require_styled_native = __commonJS({
|
|
|
8633
8645
|
});
|
|
8634
8646
|
module2.exports = __toCommonJS2(styled_exports);
|
|
8635
8647
|
var import_createComponent = require_createComponent_native(), import_mergeVariants = require_mergeVariants_native(), import_setupReactNative = require_setupReactNative_native();
|
|
8636
|
-
function styled(ComponentIn, options,
|
|
8648
|
+
function styled(ComponentIn, options, config) {
|
|
8637
8649
|
if (!ComponentIn) throw new Error("No component given to styled()");
|
|
8638
|
-
var parentStaticConfig = ComponentIn.staticConfig, isPlainStyledComponent = !!parentStaticConfig && !(parentStaticConfig.isReactNative || parentStaticConfig.isHOC), isNonStyledHOC = (parentStaticConfig == null ? void 0 : parentStaticConfig.isHOC) && !(parentStaticConfig != null && parentStaticConfig.isStyledHOC), Component = isNonStyledHOC || isPlainStyledComponent ? ComponentIn : (parentStaticConfig == null ? void 0 : parentStaticConfig.Component) || ComponentIn, reactNativeConfig = parentStaticConfig ? void 0 : (0, import_setupReactNative.getReactNativeConfig)(Component), isReactNative = !!(reactNativeConfig ||
|
|
8650
|
+
var parentStaticConfig = ComponentIn.staticConfig, isPlainStyledComponent = !!parentStaticConfig && !(parentStaticConfig.isReactNative || parentStaticConfig.isHOC), isNonStyledHOC = (parentStaticConfig == null ? void 0 : parentStaticConfig.isHOC) && !(parentStaticConfig != null && parentStaticConfig.isStyledHOC), Component = isNonStyledHOC || isPlainStyledComponent ? ComponentIn : (parentStaticConfig == null ? void 0 : parentStaticConfig.Component) || ComponentIn, reactNativeConfig = parentStaticConfig ? void 0 : (0, import_setupReactNative.getReactNativeConfig)(Component), isReactNative = !!(reactNativeConfig || config != null && config.isReactNative || parentStaticConfig != null && parentStaticConfig.isReactNative), staticConfigProps = function() {
|
|
8639
8651
|
var { variants, name, defaultVariants, acceptsClassName: acceptsClassNameProp, context, ...defaultProps } = options || {}, parentDefaultVariants, parentDefaultProps;
|
|
8640
8652
|
if (parentStaticConfig) {
|
|
8641
8653
|
var avoid = parentStaticConfig.isHOC && !parentStaticConfig.isStyledHOC;
|
|
@@ -8654,9 +8666,9 @@ var require_styled_native = __commonJS({
|
|
|
8654
8666
|
...defaultProps,
|
|
8655
8667
|
...defaultVariants
|
|
8656
8668
|
}), parentStaticConfig != null && parentStaticConfig.isHOC && name && (defaultProps.componentName = name);
|
|
8657
|
-
var isText = !!(
|
|
8669
|
+
var isText = !!(config != null && config.isText || parentStaticConfig != null && parentStaticConfig.isText), _config_acceptsClassName, _ref, acceptsClassName = (_ref = (_config_acceptsClassName = config == null ? void 0 : config.acceptsClassName) !== null && _config_acceptsClassName !== void 0 ? _config_acceptsClassName : acceptsClassNameProp) !== null && _ref !== void 0 ? _ref : isPlainStyledComponent || isReactNative || (parentStaticConfig == null ? void 0 : parentStaticConfig.isHOC) && (parentStaticConfig == null ? void 0 : parentStaticConfig.acceptsClassName), conf = {
|
|
8658
8670
|
...parentStaticConfig,
|
|
8659
|
-
...
|
|
8671
|
+
...config,
|
|
8660
8672
|
...!isPlainStyledComponent && {
|
|
8661
8673
|
Component
|
|
8662
8674
|
},
|
|
@@ -9699,13 +9711,13 @@ var require_TamaguiProvider_native = __commonJS({
|
|
|
9699
9711
|
}
|
|
9700
9712
|
});
|
|
9701
9713
|
module2.exports = __toCommonJS2(TamaguiProvider_exports);
|
|
9702
|
-
var import_jsx_runtime = require("react/jsx-runtime"), import_constants2 = require_index_native2(), import_react3 = __toESM2(require("react")), import_config = require_config_native(), import_ComponentContext = require_ComponentContext_native(),
|
|
9714
|
+
var import_jsx_runtime = require("react/jsx-runtime"), import_constants2 = require_index_native2(), import_use_did_finish_ssr = require_index_native6(), import_react3 = __toESM2(require("react")), import_config = require_config_native(), import_ComponentContext = require_ComponentContext_native(), import_useMedia = require_useMedia_native(), import_ThemeProvider = require_ThemeProvider_native(), listeners = /* @__PURE__ */ new Set(), didRender = !1;
|
|
9703
9715
|
function ___onDidFinishClientRender2(cb) {
|
|
9704
9716
|
didRender ? cb() : listeners.add(cb);
|
|
9705
9717
|
}
|
|
9706
9718
|
function TamaguiProvider(param) {
|
|
9707
9719
|
var { children, disableInjectCSS, config, className, defaultTheme, disableRootThemeClass, reset, themeClassNameOnRoot } = param;
|
|
9708
|
-
|
|
9720
|
+
(0, import_react3.useEffect)(function() {
|
|
9709
9721
|
return listeners.forEach(function(cb) {
|
|
9710
9722
|
return cb();
|
|
9711
9723
|
}), didRender = !0, function() {
|
|
@@ -9723,21 +9735,25 @@ var require_TamaguiProvider_native = __commonJS({
|
|
|
9723
9735
|
disableInjectCSS
|
|
9724
9736
|
]), (0, import_constants2.useIsomorphicLayoutEffect)(function() {
|
|
9725
9737
|
(0, import_useMedia.updateMediaListeners)();
|
|
9726
|
-
}, [])
|
|
9738
|
+
}, []);
|
|
9739
|
+
var contents = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(UnmountedClassName, {
|
|
9740
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_ComponentContext.ComponentContext.Provider, {
|
|
9741
|
+
animationDriver: config == null ? void 0 : config.animations,
|
|
9742
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_ThemeProvider.ThemeProvider, {
|
|
9743
|
+
themeClassNameOnRoot: themeClassNameOnRoot ?? (0, import_config.getSetting)("themeClassNameOnRoot"),
|
|
9744
|
+
disableRootThemeClass: disableRootThemeClass ?? (0, import_config.getSetting)("disableRootThemeClass"),
|
|
9745
|
+
defaultTheme: defaultTheme ?? (config ? Object.keys(config.themes)[0] : ""),
|
|
9746
|
+
reset,
|
|
9747
|
+
className,
|
|
9748
|
+
children
|
|
9749
|
+
})
|
|
9750
|
+
})
|
|
9751
|
+
});
|
|
9752
|
+
return (0, import_config.getSetting)("disableSSR") && (contents = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_use_did_finish_ssr.ClientOnly, {
|
|
9753
|
+
children: contents
|
|
9754
|
+
})), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, {
|
|
9727
9755
|
children: [
|
|
9728
|
-
|
|
9729
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_ComponentContext.ComponentContext.Provider, {
|
|
9730
|
-
animationDriver: config == null ? void 0 : config.animations,
|
|
9731
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_ThemeProvider.ThemeProvider, {
|
|
9732
|
-
themeClassNameOnRoot: themeClassNameOnRoot ?? (0, import_config.getSetting)("themeClassNameOnRoot"),
|
|
9733
|
-
disableRootThemeClass: disableRootThemeClass ?? (0, import_config.getSetting)("disableRootThemeClass"),
|
|
9734
|
-
defaultTheme: defaultTheme ?? (config ? Object.keys(config.themes)[0] : ""),
|
|
9735
|
-
reset,
|
|
9736
|
-
className,
|
|
9737
|
-
children
|
|
9738
|
-
})
|
|
9739
|
-
})
|
|
9740
|
-
}),
|
|
9756
|
+
contents,
|
|
9741
9757
|
!1
|
|
9742
9758
|
]
|
|
9743
9759
|
});
|
|
@@ -9813,12 +9829,14 @@ var require_Configuration_native = __commonJS({
|
|
|
9813
9829
|
}
|
|
9814
9830
|
});
|
|
9815
9831
|
module2.exports = __toCommonJS2(Configuration_exports);
|
|
9816
|
-
var import_jsx_runtime = require("react/jsx-runtime"), import_react3 = __toESM2(require("react")), import_ComponentContext = require_ComponentContext_native(), Configuration = function(props) {
|
|
9817
|
-
var current = import_react3.default.useContext(import_ComponentContext.ComponentContext)
|
|
9818
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_ComponentContext.ComponentContext.Provider, {
|
|
9832
|
+
var import_jsx_runtime = require("react/jsx-runtime"), import_use_did_finish_ssr = require_index_native6(), import_react3 = __toESM2(require("react")), import_ComponentContext = require_ComponentContext_native(), Configuration = function(props) {
|
|
9833
|
+
var current = import_react3.default.useContext(import_ComponentContext.ComponentContext), clientOnly = (0, import_react3.useContext)(import_use_did_finish_ssr.ClientOnlyContext), children = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_ComponentContext.ComponentContext.Provider, {
|
|
9819
9834
|
...current,
|
|
9820
9835
|
...props
|
|
9821
9836
|
});
|
|
9837
|
+
return clientOnly ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_use_did_finish_ssr.ClientOnly, {
|
|
9838
|
+
children
|
|
9839
|
+
}) : children;
|
|
9822
9840
|
};
|
|
9823
9841
|
Configuration.displayName = "Configuration";
|
|
9824
9842
|
}
|