tamagui 1.129.11-1751338700427 → 1.129.12-1751358691172

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.
@@ -1,6 +1 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/lib/linear-gradient.native.ts"],
4
- "mappings": "AAAA,cAAc;",
5
- "names": []
6
- }
1
+ {"version":3,"names":[],"sources":["../../../src/lib/linear-gradient.native.ts"],"sourcesContent":[null],"mappings":"AAAA,cAAc","ignoreList":[]}
package/dist/native.js CHANGED
@@ -2559,6 +2559,9 @@ var require_insertStyleRule_native = __commonJS({
2559
2559
  shouldInsertStyleRules: function() {
2560
2560
  return shouldInsertStyleRules;
2561
2561
  },
2562
+ stopAccumulatingRules: function() {
2563
+ return stopAccumulatingRules;
2564
+ },
2562
2565
  updateRules: function() {
2563
2566
  return updateRules;
2564
2567
  }
@@ -2649,7 +2652,7 @@ var require_insertStyleRule_native = __commonJS({
2649
2652
  return themes;
2650
2653
  }
2651
2654
  }
2652
- function track(id) {
2655
+ function trackInsertedStyle(id) {
2653
2656
  var remove = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1, next = (totalSelectorsInserted.get(id) || 0) + (remove ? -1 : 1);
2654
2657
  return totalSelectorsInserted.set(id, next), next;
2655
2658
  }
@@ -2697,7 +2700,7 @@ var require_insertStyleRule_native = __commonJS({
2697
2700
  }
2698
2701
  continue;
2699
2702
  }
2700
- var total = track(identifier, remove);
2703
+ var total = trackInsertedStyle(identifier, remove);
2701
2704
  if (remove) total === 0 && delete allSelectors[identifier];
2702
2705
  else if (!(identifier in allSelectors)) {
2703
2706
  var isTransform = identifier.startsWith("_transform-"), shouldInsert = isTransform ? addTransform(identifier, cssRule.cssText, cssRule) : !0;
@@ -2797,53 +2800,62 @@ var require_insertStyleRule_native = __commonJS({
2797
2800
  var getIdentifierFromTamaguiSelector = function(selector) {
2798
2801
  var dotIndex = selector.indexOf(":");
2799
2802
  return dotIndex > -1 ? selector.slice(7, dotIndex) : selector.slice(7);
2800
- }, sheet = null;
2803
+ }, sheet = null, trackAllRules = !0;
2804
+ function stopAccumulatingRules() {
2805
+ trackAllRules = !0;
2806
+ }
2801
2807
  function updateRules(identifier, rules) {
2802
- return identifier in allRules ? !1 : (allRules[identifier] = rules.join(" "), identifier.startsWith("_transform-") ? addTransform(identifier, rules[0]) : !0);
2808
+ return trackAllRules && (allRules[identifier] = rules.join(" ")), identifier.startsWith("_transform-") ? addTransform(identifier, rules[0]) : !0;
2803
2809
  }
2804
2810
  var nonce = "";
2805
2811
  function setNonce2(_) {
2806
2812
  nonce = _;
2807
2813
  }
2808
2814
  function insertStyleRules2(rulesToInsert) {
2809
- if (!sheet && import_constants4.isClient && document.head) {
2810
- var styleTag = document.createElement("style");
2811
- nonce && (styleTag.nonce = nonce), sheet = document.head.appendChild(styleTag).sheet;
2812
- }
2813
- if (sheet) for (var key in rulesToInsert) {
2814
- var styleObject = rulesToInsert[key], identifier = styleObject[import_helpers.StyleObjectIdentifier];
2815
- if (shouldInsertStyleRules(identifier)) {
2816
- var rules = styleObject[import_helpers.StyleObjectRules];
2817
- allSelectors[identifier] = rules.join(`
2818
- `), track(identifier), updateRules(identifier, rules);
2819
- var _iteratorNormalCompletion = !0, _didIteratorError = !1, _iteratorError = void 0;
2820
- try {
2821
- for (var _iterator = rules[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = !0) {
2822
- var rule = _step.value;
2823
- if (process.env.NODE_ENV === "production") try {
2824
- sheet.insertRule(rule, sheet.cssRules.length);
2825
- } catch (err) {
2826
- console.error("Error inserting CSS", err);
2827
- }
2828
- else sheet.insertRule(rule, sheet.cssRules.length);
2829
- }
2830
- } catch (err) {
2831
- _didIteratorError = !0, _iteratorError = err;
2832
- } finally {
2815
+ if (import_constants4.isClient) {
2816
+ if (!sheet && document.head) {
2817
+ var styleTag = document.createElement("style");
2818
+ nonce && (styleTag.nonce = nonce), sheet = document.head.appendChild(styleTag).sheet;
2819
+ }
2820
+ if (!sheet) {
2821
+ console.warn("[tamagui] no sheet");
2822
+ return;
2823
+ }
2824
+ for (var key in rulesToInsert) {
2825
+ var styleObject = rulesToInsert[key], identifier = styleObject[import_helpers.StyleObjectIdentifier];
2826
+ if (shouldInsertStyleRules(identifier)) {
2827
+ var rules = styleObject[import_helpers.StyleObjectRules];
2828
+ allSelectors[identifier] = rules.join(`
2829
+ `), updateRules(identifier, rules), trackInsertedStyle(identifier);
2830
+ var _iteratorNormalCompletion = !0, _didIteratorError = !1, _iteratorError = void 0;
2833
2831
  try {
2834
- !_iteratorNormalCompletion && _iterator.return != null && _iterator.return();
2832
+ for (var _iterator = rules[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = !0) {
2833
+ var rule = _step.value;
2834
+ if (process.env.NODE_ENV === "production") try {
2835
+ sheet.insertRule(rule, sheet.cssRules.length);
2836
+ } catch (err) {
2837
+ console.error("Error inserting CSS", err);
2838
+ }
2839
+ else sheet.insertRule(rule, sheet.cssRules.length);
2840
+ }
2841
+ } catch (err) {
2842
+ _didIteratorError = !0, _iteratorError = err;
2835
2843
  } finally {
2836
- if (_didIteratorError) throw _iteratorError;
2844
+ try {
2845
+ !_iteratorNormalCompletion && _iterator.return != null && _iterator.return();
2846
+ } finally {
2847
+ if (_didIteratorError) throw _iteratorError;
2848
+ }
2837
2849
  }
2838
2850
  }
2839
2851
  }
2840
2852
  }
2841
2853
  }
2842
- var minInsertAmt = process.env.TAMAGUI_INSERT_SELECTOR_TRIES ? +process.env.TAMAGUI_INSERT_SELECTOR_TRIES : 1;
2854
+ var maxToInsert = process.env.TAMAGUI_INSERT_SELECTOR_TRIES ? +process.env.TAMAGUI_INSERT_SELECTOR_TRIES : 1;
2843
2855
  function shouldInsertStyleRules(identifier) {
2844
2856
  if (process.env.IS_STATIC === "is_static") return !0;
2845
- var total = totalSelectorsInserted.get(identifier);
2846
- return process.env.NODE_ENV === "development" && totalSelectorsInserted.size > +(process.env.TAMAGUI_STYLE_INSERTION_WARNING_LIMIT || 1e4) && console.warn('Warning: inserting many CSS rules, you may be animating something and generating many CSS insertions, which can degrade performance. Instead, try using the "disableClassName" property on elements that change styles often. To disable this warning set TAMAGUI_STYLE_INSERTION_WARNING_LIMIT from 50000 to something higher'), total === void 0 || total < minInsertAmt;
2857
+ var total = totalSelectorsInserted.get(identifier) || 0;
2858
+ return process.env.NODE_ENV === "development" && total > +(process.env.TAMAGUI_STYLE_INSERTION_WARNING_LIMIT || 10) && console.warn('Warning: inserting many CSS rules, you may be animating something and generating many CSS insertions, which can degrade performance. Instead, try using the "disableClassName" property on elements that change styles often. To disable this warning set TAMAGUI_STYLE_INSERTION_WARNING_LIMIT from 50000 to something higher'), total < maxToInsert;
2847
2859
  }
2848
2860
  }
2849
2861
  });
@@ -6500,7 +6512,7 @@ var require_getSplitStyles_native = __commonJS({
6500
6512
  try {
6501
6513
  for (var _iterator2 = pseudoStyles[Symbol.iterator](), _step2; !(_iteratorNormalCompletion2 = (_step2 = _iterator2.next()).done); _iteratorNormalCompletion2 = !0) {
6502
6514
  var psuedoStyle = _step2.value, fullKey = `${psuedoStyle[import_helpers.StyleObjectProperty]}${PROP_SPLIT}${descriptor.name}`;
6503
- fullKey in usedKeys || (addStyleToInsertRules(rulesToInsert, psuedoStyle, startedUnhydrated), classNames[fullKey] = psuedoStyle[import_helpers.StyleObjectIdentifier]);
6515
+ fullKey in usedKeys || (addStyleToInsertRules(rulesToInsert, psuedoStyle), classNames[fullKey] = psuedoStyle[import_helpers.StyleObjectIdentifier]);
6504
6516
  }
6505
6517
  } catch (err) {
6506
6518
  _didIteratorError2 = !0, _iteratorError2 = err;
@@ -6578,7 +6590,7 @@ var require_getSplitStyles_native = __commonJS({
6578
6590
  var out = (0, import_createMediaStyle.createMediaStyle)(style3, mediaKeyShort, import_useMedia.mediaQueryConfig, isMedia, !1, priority);
6579
6591
  process.env.NODE_ENV === "development" && debug === "verbose" && (0, import_log.log)("\u{1F4FA} media style:", out);
6580
6592
  var subKey = isSubStyle ? style3[2] : "", fullKey1 = `${style3[import_helpers.StyleObjectProperty]}${subKey}${PROP_SPLIT}${mediaKeyShort}${style3[import_helpers.StyleObjectPseudo] || ""}`;
6581
- fullKey1 in usedKeys || (addStyleToInsertRules(rulesToInsert, out, startedUnhydrated), classNames[fullKey1] = out[import_helpers.StyleObjectIdentifier]);
6593
+ fullKey1 in usedKeys || (addStyleToInsertRules(rulesToInsert, out), classNames[fullKey1] = out[import_helpers.StyleObjectIdentifier]);
6582
6594
  }
6583
6595
  }
6584
6596
  } catch (err) {
@@ -6872,7 +6884,6 @@ var require_getSplitStyles_native = __commonJS({
6872
6884
  return res;
6873
6885
  };
6874
6886
  function addStyleToInsertRules(rulesToInsert, styleObject) {
6875
- var startedUnhydrated = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : !1;
6876
6887
  if (0) var identifier;
6877
6888
  }
6878
6889
  var defaultColor = process.env.TAMAGUI_DEFAULT_COLOR || "rgba(0,0,0,0)", animatableDefaults = {
@@ -8202,14 +8213,14 @@ var require_useComponentState_native = __commonJS({
8202
8213
  var import_constants4 = require_index_native6(), import_is_equal_shallow = require_index_native13(), import_use_did_finish_ssr = require_index_native14(), import_react3 = require("react"), import_defaultComponentState = require_defaultComponentState_native(), import_isObj = require_isObj_native(), import_log = require_log_native(), useComponentState = function(props, param, staticConfig, config) {
8203
8214
  var { animationDriver } = param, _animationDriver_usePresence, isHydrated = (0, import_use_did_finish_ssr.useDidFinishSSR)(), needsHydration = !(0, import_use_did_finish_ssr.useIsClientOnly)(), [startedUnhydrated] = (0, import_react3.useState)(needsHydration && !isHydrated), useAnimations = animationDriver == null ? void 0 : animationDriver.useAnimations, stateRef = (0, import_react3.useRef)(void 0);
8204
8215
  stateRef.current || (stateRef.current = {});
8205
- var hasAnimationProp = !!("animation" in props || props.style && hasAnimatedStyleValue(props.style)), supportsCSSVars = animationDriver == null ? void 0 : animationDriver.supportsCSSVars, curStateRef = stateRef.current;
8216
+ var hasAnimationProp = !!("animation" in props || props.style && hasAnimatedStyleValue(props.style)), supportsCSS = animationDriver == null ? void 0 : animationDriver.supportsCSS, curStateRef = stateRef.current;
8206
8217
  !needsHydration && hasAnimationProp && (curStateRef.hasAnimated = !0);
8207
8218
  var willBeAnimatedClient = function() {
8208
8219
  var next = !!(hasAnimationProp && !staticConfig.isHOC && useAnimations);
8209
8220
  return !!(next || curStateRef.hasAnimated);
8210
8221
  }(), willBeAnimated = !import_constants4.isServer && willBeAnimatedClient;
8211
8222
  willBeAnimated && !curStateRef.hasAnimated && (curStateRef.hasAnimated = !0);
8212
- var { disableClassName } = props, presence = willBeAnimated && props.animatePresence !== !1 && (animationDriver == null || (_animationDriver_usePresence = animationDriver.usePresence) === null || _animationDriver_usePresence === void 0 ? void 0 : _animationDriver_usePresence.call(animationDriver)) || null, presenceState = presence == null ? void 0 : presence[2], isExiting = (presenceState == null ? void 0 : presenceState.isPresent) === !1, isEntering = (presenceState == null ? void 0 : presenceState.isPresent) === !0 && presenceState.initial !== !1, hasEnterStyle = !!props.enterStyle, hasAnimationThatNeedsHydrate = hasAnimationProp && !isHydrated && ((animationDriver == null ? void 0 : animationDriver.isReactNative) || !supportsCSSVars), hasEnterState = hasEnterStyle || isEntering, shouldEnter = hasEnterState || hasAnimationThatNeedsHydrate || // disableClassName doesnt work server side, only client, so needs hydrate
8223
+ var { disableClassName } = props, presence = willBeAnimated && props.animatePresence !== !1 && (animationDriver == null || (_animationDriver_usePresence = animationDriver.usePresence) === null || _animationDriver_usePresence === void 0 ? void 0 : _animationDriver_usePresence.call(animationDriver)) || null, presenceState = presence == null ? void 0 : presence[2], isExiting = (presenceState == null ? void 0 : presenceState.isPresent) === !1, isEntering = (presenceState == null ? void 0 : presenceState.isPresent) === !0 && presenceState.initial !== !1, hasEnterStyle = !!props.enterStyle, hasAnimationThatNeedsHydrate = hasAnimationProp && !isHydrated && ((animationDriver == null ? void 0 : animationDriver.isReactNative) || !supportsCSS), hasEnterState = hasEnterStyle || isEntering, shouldEnter = hasEnterState || hasAnimationThatNeedsHydrate || // disableClassName doesnt work server side, only client, so needs hydrate
8213
8224
  // this is just for a better ux, supports css variables for light/dark, media queries, etc
8214
8225
  disableClassName, initialState = shouldEnter ? (
8215
8226
  // on the very first render we switch all spring animation drivers to css rendering
@@ -8241,7 +8252,7 @@ var require_useComponentState_native = __commonJS({
8241
8252
  }
8242
8253
  var noClass = !import_constants4.isWeb || !!props.forceStyle || isAnimated && (animationDriver == null ? void 0 : animationDriver.needsWebStyles);
8243
8254
  if (import_constants4.isWeb && (!import_constants4.isServer || isHydrated)) {
8244
- var isAnimatedAndHydrated = isAnimated && !supportsCSSVars, isClassNameDisabled = !staticConfig.acceptsClassName && (config.disableSSR || !state.unmounted), isDisabledManually = disableClassName && !state.unmounted;
8255
+ var isAnimatedAndHydrated = isAnimated && !supportsCSS, isClassNameDisabled = !staticConfig.acceptsClassName && (config.disableSSR || !state.unmounted), isDisabledManually = disableClassName && !state.unmounted;
8245
8256
  (isAnimatedAndHydrated || isDisabledManually || isClassNameDisabled) && (noClass = !0, process.env.NODE_ENV === "development" && props.debug && (0, import_log.log)("avoiding className", {
8246
8257
  isAnimatedAndHydrated,
8247
8258
  isDisabledManually,
@@ -8305,7 +8316,7 @@ var require_useComponentState_native = __commonJS({
8305
8316
  noClass,
8306
8317
  state,
8307
8318
  stateRef,
8308
- supportsCSSVars,
8319
+ supportsCSS,
8309
8320
  willBeAnimated,
8310
8321
  willBeAnimatedClient
8311
8322
  };
@@ -8616,7 +8627,7 @@ var require_createComponent_native = __commonJS({
8616
8627
  }, [
8617
8628
  componentName2
8618
8629
  ]);
8619
- var animationDriver = componentContext.animationDriver, useAnimations = animationDriver == null ? void 0 : animationDriver.useAnimations, componentState = (0, import_useComponentState.useComponentState)(props, componentContext, staticConfig, config), { curStateRef, disabled, groupName, hasAnimationProp, hasEnterStyle, isAnimated, isExiting, isHydrated, presence, presenceState, setState, noClass, state, stateRef, supportsCSSVars, willBeAnimated, willBeAnimatedClient, startedUnhydrated } = componentState, setStateShallow = componentState.setStateShallow;
8630
+ var animationDriver = componentContext.animationDriver, useAnimations = animationDriver == null ? void 0 : animationDriver.useAnimations, componentState = (0, import_useComponentState.useComponentState)(props, componentContext, staticConfig, config), { curStateRef, disabled, groupName, hasAnimationProp, hasEnterStyle, isAnimated, isExiting, isHydrated, presence, presenceState, setState, noClass, state, stateRef, supportsCSS, willBeAnimated, willBeAnimatedClient, startedUnhydrated } = componentState, setStateShallow = componentState.setStateShallow;
8620
8631
  process.env.NODE_ENV === "development" && time2 && time2`use-state`;
8621
8632
  var hasTextAncestor = !!(import_constants4.isWeb && isText && componentContext.inText), isTaggable = !Component || typeof Component == "string", tagProp = props.tag, element = import_constants4.isWeb && isTaggable && tagProp || Component, BaseTextComponent = BaseText || element || "span", BaseViewComponent = BaseView || element || (hasTextAncestor ? "span" : "div"), elementType = isText ? BaseTextComponent : BaseViewComponent;
8622
8633
  animationDriver && isAnimated && // this should really be behind another prop as it's not really related to
@@ -8640,7 +8651,7 @@ var require_createComponent_native = __commonJS({
8640
8651
  noClass,
8641
8652
  isAnimated,
8642
8653
  isWeb: import_constants4.isWeb,
8643
- supportsCSSVars
8654
+ supportsCSS
8644
8655
  });
8645
8656
  else {
8646
8657
  console.groupEnd();
@@ -8669,7 +8680,7 @@ var require_createComponent_native = __commonJS({
8669
8680
  (0, import_createVariable.setDidGetVariableValue)(!1), process.env.NODE_ENV === "development" && time2 && time2`media`;
8670
8681
  var resolveValues = (
8671
8682
  // if HOC + mounted + has animation prop, resolve as value so it passes non-variable to child
8672
- isAnimated && !supportsCSSVars || isHOC && state.unmounted == !1 && hasAnimationProp ? "value" : "auto"
8683
+ isAnimated && !supportsCSS || isHOC && state.unmounted == !1 && hasAnimationProp ? "value" : "auto"
8673
8684
  ), styleProps = {
8674
8685
  mediaState: mediaState3,
8675
8686
  noClass,
@@ -8738,7 +8749,7 @@ var require_createComponent_native = __commonJS({
8738
8749
  !isTaggable && props.forceStyle && (viewProps.forceStyle = props.forceStyle), isHOC && _themeProp && (viewProps.theme = _themeProp), tagProp && elementType.acceptTagProp && (viewProps.tag = tagProp);
8739
8750
  var animationStyles, shouldUseAnimation = (
8740
8751
  // if it supports css vars we run it on server too to get matching initial style
8741
- (supportsCSSVars ? willBeAnimatedClient : willBeAnimated) && useAnimations && !isHOC
8752
+ (supportsCSS ? willBeAnimatedClient : willBeAnimated) && useAnimations && !isHOC
8742
8753
  ), animatedRef;
8743
8754
  if (shouldUseAnimation) {
8744
8755
  var useStyleEmitter = animationDriver != null && animationDriver.avoidReRenders ? function(listener) {
@@ -8803,8 +8814,7 @@ If you meant to do this, you can disable this warning - either change untilMeasu
8803
8814
  }
8804
8815
  var tm;
8805
8816
  if (state.unmounted) {
8806
- var _config_animations2, _animationDriver_supportsCSSVars;
8807
- if (((_animationDriver_supportsCSSVars = animationDriver == null ? void 0 : animationDriver.supportsCSSVars) !== null && _animationDriver_supportsCSSVars !== void 0 ? _animationDriver_supportsCSSVars : !(config == null || (_config_animations2 = config.animations) === null || _config_animations2 === void 0) && _config_animations2.supportsCSSVars) || import_constants4.isAndroid) return tm = setTimeout(function() {
8817
+ if (animationDriver != null && animationDriver.supportsCSS || import_constants4.isAndroid) return tm = setTimeout(function() {
8808
8818
  setStateShallow({
8809
8819
  unmounted: !1
8810
8820
  });
@@ -11389,7 +11399,7 @@ var require_TamaguiProvider_native = __commonJS({
11389
11399
  }
11390
11400
  });
11391
11401
  module2.exports = __toCommonJS2(TamaguiProvider_exports);
11392
- var import_jsx_runtime6 = require("react/jsx-runtime"), import_constants4 = require_index_native6(), import_use_did_finish_ssr = require_index_native14(), 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();
11402
+ var import_jsx_runtime6 = require("react/jsx-runtime"), import_constants4 = require_index_native6(), import_use_did_finish_ssr = require_index_native14(), 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(), import_insertStyleRule = require_insertStyleRule_native();
11393
11403
  function TamaguiProvider2(param) {
11394
11404
  var { children, disableInjectCSS, config, className, defaultTheme, disableRootThemeClass, reset, themeClassNameOnRoot } = param;
11395
11405
  import_constants4.IS_REACT_19 || import_constants4.isClient && (0, import_constants4.useIsomorphicLayoutEffect)(function() {
@@ -11403,7 +11413,7 @@ var require_TamaguiProvider_native = __commonJS({
11403
11413
  config,
11404
11414
  disableInjectCSS
11405
11415
  ]), (0, import_constants4.useIsomorphicLayoutEffect)(function() {
11406
- (0, import_useMedia.updateMediaListeners)();
11416
+ (0, import_insertStyleRule.stopAccumulatingRules)(), (0, import_useMedia.updateMediaListeners)();
11407
11417
  }, []);
11408
11418
  var contents = /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(UnmountedClassName, {
11409
11419
  children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_ComponentContext.ComponentContext.Provider, {
@@ -18437,7 +18447,7 @@ var require_SheetImplementationCustom_native = __commonJS({
18437
18447
  var parentSheet = import_react3.default.useContext(import_contexts.ParentSheetContext), { animation, animationConfig: animationConfigProp, modal = !1, zIndex = parentSheet.zIndex + 1, moveOnKeyboardChange = !1, unmountChildrenWhenHidden = !1, portalProps, containerComponent: ContainerComponent = import_react3.default.Fragment } = props, state = (0, import_useSheetOpenState.useSheetOpenState)(props), [overlayComponent, setOverlayComponent] = import_react3.default.useState(null), providerProps = (0, import_useSheetProviderProps.useSheetProviderProps)(props, state, {
18438
18448
  onOverlayComponent: setOverlayComponent
18439
18449
  }), { frameSize, setFrameSize, snapPoints, snapPointsMode, hasFit, position, setPosition, scrollBridge, screenSize, setMaxContentSize, maxSnapPoint } = providerProps, { open, controller, isHidden } = state, sheetRef = import_react3.default.useRef(void 0), ref = (0, import_compose_refs.useComposedRefs)(forwardedRef, sheetRef, providerProps.contentRef), { animationDriver } = (0, import_core12.useConfiguration)(), animationConfig = function() {
18440
- if (animationDriver.supportsCSSVars) return {};
18450
+ if (animationDriver.supportsCSS) return {};
18441
18451
  var [animationProp, animationPropConfig] = animation ? Array.isArray(animation) ? animation : [
18442
18452
  animation
18443
18453
  ] : [];