@tamagui/core 1.74.13 → 1.74.14

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 CHANGED
@@ -1818,7 +1818,19 @@ var require_useMedia_native = __commonJS({
1818
1818
  }
1819
1819
  }
1820
1820
  ) : {}
1821
- ), mediaQueryConfig2 = {}, getMedia2 = () => mediaState2, mediaKeys = /* @__PURE__ */ new Set(), isMediaKey = (key) => mediaKeys.has(key) || key[0] === "$" && (key.startsWith("$platform-") || key.startsWith("$theme-") || key.startsWith("$group-")), initState, defaultMediaImportance = Object.keys(import_pseudoDescriptors.pseudoDescriptors).length, mediaKeysOrdered, getMediaKeyImportance = (key) => {
1821
+ ), mediaQueryConfig2 = {}, getMedia2 = () => mediaState2, mediaKeys = /* @__PURE__ */ new Set(), isMediaKey = (key) => {
1822
+ if (mediaKeys.has(key))
1823
+ return !0;
1824
+ if (key[0] === "$") {
1825
+ if (key.startsWith("$platform-"))
1826
+ return "platform";
1827
+ if (key.startsWith("$theme-"))
1828
+ return "theme";
1829
+ if (key.startsWith("$group-"))
1830
+ return "group";
1831
+ }
1832
+ return !1;
1833
+ }, initState, defaultMediaImportance = Object.keys(import_pseudoDescriptors.pseudoDescriptors).length, mediaKeysOrdered, getMediaKeyImportance = (key) => {
1822
1834
  if (process.env.NODE_ENV === "development" && key[0] === "$")
1823
1835
  throw new Error("use short key");
1824
1836
  return (0, import_config.getConfig)().settings.mediaPropOrder ? defaultMediaImportance : mediaKeysOrdered.indexOf(key) + 100;
@@ -2302,11 +2314,11 @@ var require_createMediaStyle_native = __commonJS({
2302
2314
  module2.exports = __toCommonJS2(createMediaStyle_exports);
2303
2315
  var import_config = require_config_native(), import_useMedia = require_useMedia_native(), import_getGroupPropParts = require_getGroupPropParts_native(), MEDIA_SEP = "_", prefixes = null, selectors = null, groupPseudoToPseudoCSSMap = {
2304
2316
  press: "active"
2305
- }, createMediaStyle = (styleObject, mediaKeyIn, mediaQueries, negate, priority) => {
2306
- let { property, identifier, rules } = styleObject, conf = (0, import_config.getConfig)(), enableMediaPropOrder = conf.settings.mediaPropOrder, isThemeMedia = mediaKeyIn.startsWith("theme-"), isPlatformMedia = !isThemeMedia && mediaKeyIn.startsWith("platform-"), isGroup = !isThemeMedia && !isPlatformMedia && mediaKeyIn.startsWith("group-"), isNonWindowMedia = isThemeMedia || isPlatformMedia || isGroup, negKey = negate ? "0" : "", ogPrefix = identifier.slice(0, identifier.indexOf("-") + 1), id = `${ogPrefix}${MEDIA_SEP}${mediaKeyIn.replace("-", "")}${negKey}${MEDIA_SEP}`, styleRule = "", groupMediaKey, containerName, nextIdentifier = identifier.replace(ogPrefix, id), styleInner = rules.map((rule) => rule.replace(identifier, nextIdentifier)).join(";");
2317
+ }, createMediaStyle = (styleObject, mediaKeyIn, mediaQueries, type, negate, priority) => {
2318
+ let { property, identifier, rules } = styleObject, conf = (0, import_config.getConfig)(), enableMediaPropOrder = conf.settings.mediaPropOrder, isTheme = type === "theme", isPlatform = type === "platform", isGroup = type === "group", isNonWindowMedia = isTheme || isPlatform || isGroup, negKey = negate ? "0" : "", ogPrefix = identifier.slice(0, identifier.indexOf("-") + 1), id = `${ogPrefix}${MEDIA_SEP}${mediaKeyIn.replace("-", "")}${negKey}${MEDIA_SEP}`, styleRule = "", groupMediaKey, containerName, nextIdentifier = identifier.replace(ogPrefix, id), styleInner = rules.map((rule) => rule.replace(identifier, nextIdentifier)).join(";");
2307
2319
  if (isNonWindowMedia) {
2308
2320
  let precedenceImportancePrefix = new Array((priority || 0) + (isGroup ? 1 : 0)).fill(":root").join("");
2309
- if (isThemeMedia || isGroup) {
2321
+ if (isTheme || isGroup) {
2310
2322
  let groupInfo = (0, import_getGroupPropParts.getGroupPropParts)(mediaKeyIn), mediaName = groupInfo == null ? void 0 : groupInfo.name;
2311
2323
  groupMediaKey = groupInfo == null ? void 0 : groupInfo.media, isGroup && (containerName = mediaName);
2312
2324
  let name = (isGroup ? "group_" : "") + mediaName, selectorStart = styleInner.indexOf(":root"), selectorEnd = styleInner.lastIndexOf("{"), selector = styleInner.slice(selectorStart, selectorEnd), precedenceSpace = conf.themeClassNameOnRoot ? "" : " ", pseudoSelectorName = groupInfo.pseudo ? groupPseudoToPseudoCSSMap[groupInfo.pseudo] || groupInfo.pseudo : void 0, pseudoSelector = pseudoSelectorName ? `:${pseudoSelectorName}` : "", presedencePrefix = `:root${precedenceImportancePrefix}${precedenceSpace}`, mediaSelector = `.t_${name}${pseudoSelector}`, nextSelector = `${presedencePrefix}${mediaSelector} ${selector.replace(
@@ -3520,7 +3532,7 @@ var require_getSplitStyles_native = __commonJS({
3520
3532
  case "accessibilityRequired":
3521
3533
  default:
3522
3534
  }
3523
- let isValidStyleKeyInit = keyInit in validStyleProps, isShorthand = keyInit in shorthands, isVariant = !isValidStyleKeyInit && variants && keyInit in variants, isStyleLikeKey = isShorthand || isValidStyleKeyInit || isVariant, isPseudo = keyInit in import_helpers.validPseudoKeys, isMedia = !isStyleLikeKey && !isPseudo && (0, import_useMedia.isMediaKey)(keyInit), isMediaOrPseudo = isMedia || isPseudo, isStyleProp = isMediaOrPseudo || isVariant && !styleProps.noExpand || isValidStyleKeyInit || isShorthand;
3535
+ let isValidStyleKeyInit = keyInit in validStyleProps, isShorthand = keyInit in shorthands, isVariant = !isValidStyleKeyInit && variants && keyInit in variants, isStyleLikeKey = isShorthand || isValidStyleKeyInit || isVariant, isPseudo = keyInit in import_helpers.validPseudoKeys, isMedia = !isStyleLikeKey && !isPseudo && (0, import_useMedia.isMediaKey)(keyInit), isMediaOrPseudo = !!(isMedia || isPseudo), isStyleProp = isMediaOrPseudo || isVariant && !styleProps.noExpand || isValidStyleKeyInit || isShorthand;
3524
3536
  if (isStyleProp && (props.asChild === "except-style" || props.asChild === "except-style-web"))
3525
3537
  continue;
3526
3538
  let shouldPassProp = !isStyleProp || // is in parent variants
@@ -3567,7 +3579,7 @@ current`, {
3567
3579
  if (expanded) {
3568
3580
  for (let [key, val] of expanded)
3569
3581
  if (!(val == null || key in usedKeys)) {
3570
- if (isPseudo = key in import_helpers.validPseudoKeys, isMedia = !isPseudo && !isValidStyleKeyInit && (0, import_useMedia.isMediaKey)(key), isMediaOrPseudo = isMedia || isPseudo, isVariant = variants && key in variants, (inlineProps != null && inlineProps.has(key) || IS_STATIC && inlineWhenUnflattened != null && inlineWhenUnflattened.has(key)) && (viewProps[key] = props[key] ?? val), styleProps.noExpand && isPseudo || isHOC && (isMediaOrPseudo || ((_b = parentStaticConfig == null ? void 0 : parentStaticConfig.variants) == null ? void 0 : _b[keyInit]))) {
3582
+ if (isPseudo = key in import_helpers.validPseudoKeys, isMedia = !isPseudo && !isValidStyleKeyInit && (0, import_useMedia.isMediaKey)(key), isMediaOrPseudo = !!(isMedia || isPseudo), isVariant = variants && key in variants, (inlineProps != null && inlineProps.has(key) || IS_STATIC && inlineWhenUnflattened != null && inlineWhenUnflattened.has(key)) && (viewProps[key] = props[key] ?? val), styleProps.noExpand && isPseudo || isHOC && (isMediaOrPseudo || ((_b = parentStaticConfig == null ? void 0 : parentStaticConfig.variants) == null ? void 0 : _b[keyInit]))) {
3571
3583
  passDownProp(viewProps, key, val, isMediaOrPseudo), process.env.NODE_ENV === "development" && debug === "verbose" && (console.groupCollapsed(` - passing down prop ${key}`), console.info({ val, after: { ...viewProps[key] } }), console.groupEnd());
3572
3584
  continue;
3573
3585
  }
@@ -3632,8 +3644,7 @@ current`, {
3632
3644
  } else if (isMedia) {
3633
3645
  if (!val)
3634
3646
  continue;
3635
- let isPlatformMedia = key.startsWith("$platform-");
3636
- if (isPlatformMedia) {
3647
+ if (isMedia === "platform") {
3637
3648
  let platform = key.slice(10);
3638
3649
  if (
3639
3650
  // supports web, ios, android
@@ -3678,14 +3689,15 @@ current`, {
3678
3689
  style2,
3679
3690
  mediaKeyShort,
3680
3691
  import_useMedia.mediaQueryConfig,
3692
+ isMedia,
3681
3693
  !1,
3682
3694
  priority
3683
3695
  );
3684
3696
  `${style2.property}${PROP_SPLIT}${mediaKeyShort}` in usedKeys || out.identifier;
3685
3697
  }
3686
3698
  } else {
3687
- let isThemeMedia = !isPlatformMedia && mediaKeyShort.startsWith("theme-"), isGroupMedia = !isPlatformMedia && !isThemeMedia && mediaKeyShort.startsWith("group-");
3688
- if (!isThemeMedia && !isPlatformMedia && !isGroupMedia && !mediaState2[mediaKeyShort])
3699
+ let isThemeMedia = isMedia === "theme", isGroupMedia = isMedia === "group";
3700
+ if (!isThemeMedia && isMedia !== "platform" && !isGroupMedia && !mediaState2[mediaKeyShort])
3689
3701
  continue;
3690
3702
  let importanceBump = 0;
3691
3703
  if (isThemeMedia) {
@@ -4462,6 +4474,7 @@ var require_Theme_native = __commonJS({
4462
4474
  )), __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: !0 }), mod), Theme_exports = {};
4463
4475
  __export2(Theme_exports, {
4464
4476
  Theme: () => Theme,
4477
+ getThemeCNStyle: () => getThemeCNStyle,
4465
4478
  useThemedChildren: () => useThemedChildren,
4466
4479
  wrapThemeElements: () => wrapThemeElements
4467
4480
  });
@@ -4484,7 +4497,7 @@ var require_Theme_native = __commonJS({
4484
4497
  return useThemedChildren(themeState, children, props, isRoot);
4485
4498
  });
4486
4499
  Theme.avoidForwardRef = !0;
4487
- function useThemedChildren(themeState, children, props, isRoot = !1) {
4500
+ function useThemedChildren(themeState, children, props, isRoot = !1, avoidWrap = !1) {
4488
4501
  let { themeManager, isNewTheme } = themeState, { shallow, forceClassName } = props, hasEverThemed = (0, import_react.useRef)(!1);
4489
4502
  if (isNewTheme && (hasEverThemed.current = !0), !(isNewTheme || props.inverse || hasEverThemed.current || forceClassName || isRoot))
4490
4503
  return children;
@@ -4495,32 +4508,37 @@ var require_Theme_native = __commonJS({
4495
4508
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Theme, { name: themeManager.state.parentName, children: child.props.children })
4496
4509
  ) : child));
4497
4510
  let elementsWithContext = themeManager ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_ThemeManagerContext.ThemeManagerContext.Provider, { value: themeManager, children: next }) : next;
4498
- return forceClassName === !1 ? elementsWithContext : import_constants2.isWeb ? wrapThemeElements({
4511
+ return forceClassName === !1 ? elementsWithContext : import_constants2.isWeb && !avoidWrap ? wrapThemeElements({
4499
4512
  children: elementsWithContext,
4500
4513
  themeState,
4501
4514
  forceClassName,
4502
4515
  isRoot
4503
4516
  }) : elementsWithContext;
4504
4517
  }
4518
+ function getThemeCNStyle(themeState, isRoot = !1) {
4519
+ var _a, _b;
4520
+ if (!themeState.isNewTheme)
4521
+ return;
4522
+ let themeColor = (_a = themeState.state) != null && _a.theme && themeState.isNewTheme ? (0, import_createVariable.variableToString)(themeState.state.theme.color) : "", style = themeColor ? {
4523
+ color: themeColor
4524
+ } : void 0, className = ((_b = themeState.state) == null ? void 0 : _b.className) || "";
4525
+ return isRoot && (className = className.replace("t_sub_theme", "")), { style, className };
4526
+ }
4505
4527
  function wrapThemeElements({
4506
4528
  children,
4507
4529
  themeState,
4508
4530
  forceClassName,
4509
4531
  isRoot
4510
4532
  }) {
4511
- var _a, _b, _c, _d;
4533
+ var _a, _b;
4512
4534
  if (isRoot && forceClassName === !1)
4513
4535
  return children;
4514
4536
  let inverse = (_a = themeState.state) == null ? void 0 : _a.inverse;
4515
4537
  if (!themeState.isNewTheme && !inverse && !forceClassName)
4516
4538
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "_dsp_contents is_Theme", children });
4517
- let themeColor = (_b = themeState.state) != null && _b.theme && themeState.isNewTheme ? (0, import_createVariable.variableToString)(themeState.state.theme.color) : "", colorStyle = themeColor ? {
4518
- color: themeColor
4519
- } : void 0, className = ((_c = themeState.state) == null ? void 0 : _c.className) || "";
4520
- isRoot && (className = className.replace("t_sub_theme", ""));
4521
- let themedChildren = /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: `${className} _dsp_contents is_Theme`, style: colorStyle, children });
4539
+ let { className, style } = getThemeCNStyle(themeState, isRoot), themedChildren = /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: `${className} _dsp_contents is_Theme`, style, children });
4522
4540
  if (inverse != null || forceClassName) {
4523
- let name = ((_d = themeState.state) == null ? void 0 : _d.name) || "";
4541
+ let name = ((_b = themeState.state) == null ? void 0 : _b.name) || "";
4524
4542
  themedChildren = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
4525
4543
  "span",
4526
4544
  {
@@ -4538,7 +4556,7 @@ var require_Theme_native = __commonJS({
4538
4556
  var require_themeable_native = __commonJS({
4539
4557
  "../web/dist/cjs/helpers/themeable.native.js"(exports, module2) {
4540
4558
  "use strict";
4541
- var __create2 = Object.create, __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __getProtoOf2 = Object.getPrototypeOf, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
4559
+ var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
4542
4560
  for (var name in all)
4543
4561
  __defProp2(target, name, { get: all[name], enumerable: !0 });
4544
4562
  }, __copyProps2 = (to, from, except, desc) => {
@@ -4546,26 +4564,15 @@ var require_themeable_native = __commonJS({
4546
4564
  for (let key of __getOwnPropNames2(from))
4547
4565
  !__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable });
4548
4566
  return to;
4549
- }, __toESM2 = (mod, isNodeMode, target) => (target = mod != null ? __create2(__getProtoOf2(mod)) : {}, __copyProps2(
4550
- // If the importer is in node compatibility mode or this is not an ESM
4551
- // file that has been converted to a CommonJS file using a Babel-
4552
- // compatible transform (i.e. "__esModule" has not been set), then set
4553
- // "default" to the CommonJS "module.exports" for node compatibility.
4554
- isNodeMode || !mod || !mod.__esModule ? __defProp2(target, "default", { value: mod, enumerable: !0 }) : target,
4555
- mod
4556
- )), __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: !0 }), mod), themeable_exports = {};
4567
+ }, __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: !0 }), mod), themeable_exports = {};
4557
4568
  __export2(themeable_exports, {
4558
4569
  themeable: () => themeable
4559
4570
  });
4560
4571
  module2.exports = __toCommonJS2(themeable_exports);
4561
- var import_react = __toESM2(require("react")), import_Theme = require_Theme_native(), import_jsx_runtime = require("react/jsx-runtime");
4562
- function themeable(component, staticConfig) {
4572
+ var import_react = require("react"), import_Theme = require_Theme_native(), import_jsx_runtime = require("react/jsx-runtime");
4573
+ function themeable(Component, staticConfig) {
4563
4574
  let withTheme = (0, import_react.forwardRef)(function(props, ref) {
4564
- let { themeInverse, theme, componentName, themeReset, ...rest } = props, element = import_react.default.createElement(component, {
4565
- ...rest,
4566
- ref,
4567
- "data-disable-theme": !0
4568
- });
4575
+ let { themeInverse, theme, componentName, themeReset, ...rest } = props, element = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Component, { ref, ...rest, "data-disable-theme": !0 });
4569
4576
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
4570
4577
  import_Theme.Theme,
4571
4578
  {
@@ -4579,7 +4586,7 @@ var require_themeable_native = __commonJS({
4579
4586
  }
4580
4587
  );
4581
4588
  });
4582
- return withTheme.displayName = `Themed(${(component == null ? void 0 : component.displayName) || (component == null ? void 0 : component.name) || "Anonymous"})`, withTheme;
4589
+ return withTheme.displayName = `Themed(${(Component == null ? void 0 : Component.displayName) || (Component == null ? void 0 : Component.name) || "Anonymous"})`, withTheme;
4583
4590
  }
4584
4591
  }
4585
4592
  });
@@ -4945,6 +4952,8 @@ var require_createComponent_native = __commonJS({
4945
4952
  onMouseDown,
4946
4953
  onMouseEnter,
4947
4954
  onMouseLeave,
4955
+ onFocus,
4956
+ onBlur,
4948
4957
  separator,
4949
4958
  // ignore from here on out
4950
4959
  forceStyle: _forceStyle,
@@ -5028,7 +5037,7 @@ If you meant to do this, you can disable this warning - either change untilMeasu
5028
5037
  fontFamily && fontFamily[0] === "$" && (fontFamily = fontFamily.slice(1));
5029
5038
  let fontFamilyClassName = fontFamily ? `font_${fontFamily}` : "", style = avoidAnimationStyle ? splitStyles.style : animationStyles || splitStyles.style, className;
5030
5039
  viewProps.style = style;
5031
- let runtimePressStyle = !disabled && noClassNames && (pseudos == null ? void 0 : pseudos.pressStyle), attachPress = !!(groupName || runtimePressStyle || onPress || onPressOut || onPressIn || onLongPress || onClick), runtimeHoverStyle = !disabled && noClassNames && (pseudos == null ? void 0 : pseudos.hoverStyle), needsHoverState = runtimeHoverStyle || onHoverIn || onHoverOut, isHoverable = import_constants2.isWeb && !!(groupName || needsHoverState || onMouseEnter || onMouseLeave), handlesPressEvents = !(import_constants2.isWeb || asChild), shouldAttach = !!(attachPress || isHoverable || runtimePressStyle || runtimeHoverStyle);
5040
+ let runtimePressStyle = !disabled && noClassNames && (pseudos == null ? void 0 : pseudos.pressStyle), runtimeFocusStyle = !disabled && noClassNames && (pseudos == null ? void 0 : pseudos.focusStyle), attachPress = !!(groupName || runtimePressStyle || onPress || onPressOut || onPressIn || onLongPress || onClick), runtimeHoverStyle = !disabled && noClassNames && (pseudos == null ? void 0 : pseudos.hoverStyle), needsHoverState = runtimeHoverStyle || onHoverIn || onHoverOut, isHoverable = import_constants2.isWeb && !!(groupName || needsHoverState || onMouseEnter || onMouseLeave), handlesPressEvents = !(import_constants2.isWeb || asChild), shouldAttach = !!(attachPress || isHoverable || runtimePressStyle || runtimeHoverStyle || runtimeFocusStyle);
5032
5041
  process.env.NODE_ENV === "development" && time && time`events-setup`;
5033
5042
  let events = shouldAttach && !isDisabled && !props.asChild ? {
5034
5043
  onPressOut: attachPress ? (e) => {
@@ -5053,9 +5062,11 @@ If you meant to do this, you can disable this warning - either change untilMeasu
5053
5062
  onPress: attachPress ? (e) => {
5054
5063
  unPress(), import_constants2.isWeb && (onClick == null || onClick(e)), onPress == null || onPress(e);
5055
5064
  } : void 0,
5056
- onLongPress: attachPress && onLongPress ? (e) => {
5057
- unPress(), onLongPress == null || onLongPress(e);
5058
- } : void 0
5065
+ ...attachPress && onLongPress && {
5066
+ onLongPress: (e) => {
5067
+ unPress(), onLongPress == null || onLongPress(e);
5068
+ }
5069
+ }
5059
5070
  } : null;
5060
5071
  events && !asChild && Object.assign(events, {
5061
5072
  cancelable: !viewProps.rejectResponderTermination,
@@ -5101,7 +5112,7 @@ If you meant to do this, you can disable this warning - either change untilMeasu
5101
5112
  }
5102
5113
  };
5103
5114
  }, [groupName]);
5104
- if (groupName && subGroupContext && (content = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_ComponentContext.ComponentContext.Provider, { groups: subGroupContext, children: content })), process.env.NODE_ENV === "development" && time && time`group-context`, content = disableThemeProp ? content : (0, import_Theme.useThemedChildren)(themeState, content, themeStateProps), process.env.NODE_ENV === "development" && time && time`themed-children`, process.env.NODE_ENV === "development" && props.debug === "visualize" && (content = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_ThemeDebug.ThemeDebug, { themeState, themeProps: props, children: content })), staticConfig.context) {
5115
+ if (groupName && subGroupContext && (content = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_ComponentContext.ComponentContext.Provider, { groups: subGroupContext, children: content })), process.env.NODE_ENV === "development" && time && time`group-context`, content = disableThemeProp ? content : (0, import_Theme.useThemedChildren)(themeState, content, themeStateProps, !1), process.env.NODE_ENV === "development" && time && time`themed-children`, process.env.NODE_ENV === "development" && props.debug === "visualize" && (content = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_ThemeDebug.ThemeDebug, { themeState, themeProps: props, children: content })), staticConfig.context) {
5105
5116
  let contextProps = staticConfig.context.props;
5106
5117
  for (let key in contextProps)
5107
5118
  (key in style || key in viewProps) && (overriddenContextProps ||= {}, overriddenContextProps[key] = style[key] ?? viewProps[key]);
@@ -5168,12 +5179,12 @@ If you meant to do this, you can disable this warning - either change untilMeasu
5168
5179
  function extractable(Component2, extended) {
5169
5180
  return Component2.staticConfig = extendStyledConfig(extended), Component2.styleable = styleable, Component2;
5170
5181
  }
5171
- function styleable(Component2, extended) {
5182
+ function styleable(Component2, options) {
5172
5183
  var _a2;
5173
5184
  let ComponentForwardedRef = ((_a2 = Component2.render) == null ? void 0 : _a2.length) === 2 ? Component2 : (
5174
5185
  // memo because theme changes otherwise would always re-render
5175
5186
  (0, import_react.memo)((0, import_react.forwardRef)(Component2))
5176
- ), extendedConfig = extendStyledConfig(extended), out = (0, import_themeable.themeable)(ComponentForwardedRef, extendedConfig);
5187
+ ), extendedConfig = extendStyledConfig(options == null ? void 0 : options.staticConfig), out = options != null && options.disableTheme ? ComponentForwardedRef : (0, import_themeable.themeable)(ComponentForwardedRef, extendedConfig);
5177
5188
  return out.staticConfig = extendedConfig, out.styleable = styleable, out;
5178
5189
  }
5179
5190
  return res.extractable = extractable, res.styleable = styleable, res;
@@ -6319,6 +6330,7 @@ var require_useProps_native = __commonJS({
6319
6330
  mediaState: media,
6320
6331
  noSkip: !0,
6321
6332
  noClassNames: !0,
6333
+ resolveValues: "auto",
6322
6334
  ...opts
6323
6335
  },
6324
6336
  null,