tamagui 1.74.13 → 1.74.15

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
@@ -1177,7 +1177,19 @@ var require_useMedia_native = __commonJS({
1177
1177
  }
1178
1178
  }
1179
1179
  ) : {}
1180
- ), mediaQueryConfig3 = {}, getMedia3 = () => mediaState3, 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) => {
1180
+ ), mediaQueryConfig3 = {}, getMedia3 = () => mediaState3, mediaKeys = /* @__PURE__ */ new Set(), isMediaKey = (key) => {
1181
+ if (mediaKeys.has(key))
1182
+ return !0;
1183
+ if (key[0] === "$") {
1184
+ if (key.startsWith("$platform-"))
1185
+ return "platform";
1186
+ if (key.startsWith("$theme-"))
1187
+ return "theme";
1188
+ if (key.startsWith("$group-"))
1189
+ return "group";
1190
+ }
1191
+ return !1;
1192
+ }, initState, defaultMediaImportance = Object.keys(import_pseudoDescriptors.pseudoDescriptors).length, mediaKeysOrdered, getMediaKeyImportance = (key) => {
1181
1193
  if (process.env.NODE_ENV === "development" && key[0] === "$")
1182
1194
  throw new Error("use short key");
1183
1195
  return (0, import_config.getConfig)().settings.mediaPropOrder ? defaultMediaImportance : mediaKeysOrdered.indexOf(key) + 100;
@@ -1661,11 +1673,11 @@ var require_createMediaStyle_native = __commonJS({
1661
1673
  module2.exports = __toCommonJS2(createMediaStyle_exports);
1662
1674
  var import_config = require_config_native(), import_useMedia = require_useMedia_native(), import_getGroupPropParts = require_getGroupPropParts_native(), MEDIA_SEP = "_", prefixes = null, selectors = null, groupPseudoToPseudoCSSMap = {
1663
1675
  press: "active"
1664
- }, createMediaStyle = (styleObject, mediaKeyIn, mediaQueries, negate, priority) => {
1665
- 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(";");
1676
+ }, createMediaStyle = (styleObject, mediaKeyIn, mediaQueries, type, negate, priority) => {
1677
+ 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(";");
1666
1678
  if (isNonWindowMedia) {
1667
1679
  let precedenceImportancePrefix = new Array((priority || 0) + (isGroup ? 1 : 0)).fill(":root").join("");
1668
- if (isThemeMedia || isGroup) {
1680
+ if (isTheme || isGroup) {
1669
1681
  let groupInfo = (0, import_getGroupPropParts.getGroupPropParts)(mediaKeyIn), mediaName = groupInfo == null ? void 0 : groupInfo.name;
1670
1682
  groupMediaKey = groupInfo == null ? void 0 : groupInfo.media, isGroup && (containerName = mediaName);
1671
1683
  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(
@@ -2879,7 +2891,7 @@ var require_getSplitStyles_native = __commonJS({
2879
2891
  case "accessibilityRequired":
2880
2892
  default:
2881
2893
  }
2882
- 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;
2894
+ 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;
2883
2895
  if (isStyleProp && (props.asChild === "except-style" || props.asChild === "except-style-web"))
2884
2896
  continue;
2885
2897
  let shouldPassProp = !isStyleProp || // is in parent variants
@@ -2926,7 +2938,7 @@ current`, {
2926
2938
  if (expanded) {
2927
2939
  for (let [key, val] of expanded)
2928
2940
  if (!(val == null || key in usedKeys)) {
2929
- 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]))) {
2941
+ 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]))) {
2930
2942
  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());
2931
2943
  continue;
2932
2944
  }
@@ -2991,8 +3003,7 @@ current`, {
2991
3003
  } else if (isMedia) {
2992
3004
  if (!val)
2993
3005
  continue;
2994
- let isPlatformMedia = key.startsWith("$platform-");
2995
- if (isPlatformMedia) {
3006
+ if (isMedia === "platform") {
2996
3007
  let platform = key.slice(10);
2997
3008
  if (
2998
3009
  // supports web, ios, android
@@ -3037,14 +3048,15 @@ current`, {
3037
3048
  style2,
3038
3049
  mediaKeyShort,
3039
3050
  import_useMedia.mediaQueryConfig,
3051
+ isMedia,
3040
3052
  !1,
3041
3053
  priority
3042
3054
  );
3043
3055
  `${style2.property}${PROP_SPLIT}${mediaKeyShort}` in usedKeys || out.identifier;
3044
3056
  }
3045
3057
  } else {
3046
- let isThemeMedia = !isPlatformMedia && mediaKeyShort.startsWith("theme-"), isGroupMedia = !isPlatformMedia && !isThemeMedia && mediaKeyShort.startsWith("group-");
3047
- if (!isThemeMedia && !isPlatformMedia && !isGroupMedia && !mediaState3[mediaKeyShort])
3058
+ let isThemeMedia = isMedia === "theme", isGroupMedia = isMedia === "group";
3059
+ if (!isThemeMedia && isMedia !== "platform" && !isGroupMedia && !mediaState3[mediaKeyShort])
3048
3060
  continue;
3049
3061
  let importanceBump = 0;
3050
3062
  if (isThemeMedia) {
@@ -3821,6 +3833,7 @@ var require_Theme_native = __commonJS({
3821
3833
  )), __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: !0 }), mod), Theme_exports = {};
3822
3834
  __export2(Theme_exports, {
3823
3835
  Theme: () => Theme2,
3836
+ getThemeCNStyle: () => getThemeCNStyle,
3824
3837
  useThemedChildren: () => useThemedChildren,
3825
3838
  wrapThemeElements: () => wrapThemeElements
3826
3839
  });
@@ -3843,7 +3856,7 @@ var require_Theme_native = __commonJS({
3843
3856
  return useThemedChildren(themeState, children, props, isRoot);
3844
3857
  });
3845
3858
  Theme2.avoidForwardRef = !0;
3846
- function useThemedChildren(themeState, children, props, isRoot = !1) {
3859
+ function useThemedChildren(themeState, children, props, isRoot = !1, avoidWrap = !1) {
3847
3860
  let { themeManager, isNewTheme } = themeState, { shallow, forceClassName } = props, hasEverThemed = (0, import_react2.useRef)(!1);
3848
3861
  if (isNewTheme && (hasEverThemed.current = !0), !(isNewTheme || props.inverse || hasEverThemed.current || forceClassName || isRoot))
3849
3862
  return children;
@@ -3854,32 +3867,37 @@ var require_Theme_native = __commonJS({
3854
3867
  /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Theme2, { name: themeManager.state.parentName, children: child.props.children })
3855
3868
  ) : child));
3856
3869
  let elementsWithContext = themeManager ? /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_ThemeManagerContext.ThemeManagerContext.Provider, { value: themeManager, children: next }) : next;
3857
- return forceClassName === !1 ? elementsWithContext : import_constants.isWeb ? wrapThemeElements({
3870
+ return forceClassName === !1 ? elementsWithContext : import_constants.isWeb && !avoidWrap ? wrapThemeElements({
3858
3871
  children: elementsWithContext,
3859
3872
  themeState,
3860
3873
  forceClassName,
3861
3874
  isRoot
3862
3875
  }) : elementsWithContext;
3863
3876
  }
3877
+ function getThemeCNStyle(themeState, isRoot = !1) {
3878
+ var _a, _b;
3879
+ if (!themeState.isNewTheme)
3880
+ return;
3881
+ let themeColor = (_a = themeState.state) != null && _a.theme && themeState.isNewTheme ? (0, import_createVariable.variableToString)(themeState.state.theme.color) : "", style = themeColor ? {
3882
+ color: themeColor
3883
+ } : void 0, className = ((_b = themeState.state) == null ? void 0 : _b.className) || "";
3884
+ return isRoot && (className = className.replace("t_sub_theme", "")), { style, className };
3885
+ }
3864
3886
  function wrapThemeElements({
3865
3887
  children,
3866
3888
  themeState,
3867
3889
  forceClassName,
3868
3890
  isRoot
3869
3891
  }) {
3870
- var _a, _b, _c, _d;
3892
+ var _a, _b;
3871
3893
  if (isRoot && forceClassName === !1)
3872
3894
  return children;
3873
3895
  let inverse = (_a = themeState.state) == null ? void 0 : _a.inverse;
3874
3896
  if (!themeState.isNewTheme && !inverse && !forceClassName)
3875
3897
  return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("span", { className: "_dsp_contents is_Theme", children });
3876
- let themeColor = (_b = themeState.state) != null && _b.theme && themeState.isNewTheme ? (0, import_createVariable.variableToString)(themeState.state.theme.color) : "", colorStyle = themeColor ? {
3877
- color: themeColor
3878
- } : void 0, className = ((_c = themeState.state) == null ? void 0 : _c.className) || "";
3879
- isRoot && (className = className.replace("t_sub_theme", ""));
3880
- let themedChildren = /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("span", { className: `${className} _dsp_contents is_Theme`, style: colorStyle, children });
3898
+ let { className, style } = getThemeCNStyle(themeState, isRoot), themedChildren = /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("span", { className: `${className} _dsp_contents is_Theme`, style, children });
3881
3899
  if (inverse != null || forceClassName) {
3882
- let name = ((_d = themeState.state) == null ? void 0 : _d.name) || "";
3900
+ let name = ((_b = themeState.state) == null ? void 0 : _b.name) || "";
3883
3901
  themedChildren = /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
3884
3902
  "span",
3885
3903
  {
@@ -3897,7 +3915,7 @@ var require_Theme_native = __commonJS({
3897
3915
  var require_themeable_native = __commonJS({
3898
3916
  "../web/dist/cjs/helpers/themeable.native.js"(exports, module2) {
3899
3917
  "use strict";
3900
- var __create2 = Object.create, __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __getProtoOf2 = Object.getPrototypeOf, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
3918
+ var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
3901
3919
  for (var name in all)
3902
3920
  __defProp2(target, name, { get: all[name], enumerable: !0 });
3903
3921
  }, __copyProps2 = (to, from, except, desc) => {
@@ -3905,26 +3923,15 @@ var require_themeable_native = __commonJS({
3905
3923
  for (let key of __getOwnPropNames2(from))
3906
3924
  !__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable });
3907
3925
  return to;
3908
- }, __toESM2 = (mod, isNodeMode, target) => (target = mod != null ? __create2(__getProtoOf2(mod)) : {}, __copyProps2(
3909
- // If the importer is in node compatibility mode or this is not an ESM
3910
- // file that has been converted to a CommonJS file using a Babel-
3911
- // compatible transform (i.e. "__esModule" has not been set), then set
3912
- // "default" to the CommonJS "module.exports" for node compatibility.
3913
- isNodeMode || !mod || !mod.__esModule ? __defProp2(target, "default", { value: mod, enumerable: !0 }) : target,
3914
- mod
3915
- )), __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: !0 }), mod), themeable_exports = {};
3926
+ }, __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: !0 }), mod), themeable_exports = {};
3916
3927
  __export2(themeable_exports, {
3917
3928
  themeable: () => themeable3
3918
3929
  });
3919
3930
  module2.exports = __toCommonJS2(themeable_exports);
3920
- var import_react2 = __toESM2(require("react")), import_Theme = require_Theme_native(), import_jsx_runtime6 = require("react/jsx-runtime");
3921
- function themeable3(component, staticConfig) {
3931
+ var import_react2 = require("react"), import_Theme = require_Theme_native(), import_jsx_runtime6 = require("react/jsx-runtime");
3932
+ function themeable3(Component, staticConfig) {
3922
3933
  let withTheme = (0, import_react2.forwardRef)(function(props, ref) {
3923
- let { themeInverse, theme, componentName, themeReset, ...rest } = props, element = import_react2.default.createElement(component, {
3924
- ...rest,
3925
- ref,
3926
- "data-disable-theme": !0
3927
- });
3934
+ let { themeInverse, theme, componentName, themeReset, ...rest } = props, element = /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Component, { ref, ...rest, "data-disable-theme": !0 });
3928
3935
  return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
3929
3936
  import_Theme.Theme,
3930
3937
  {
@@ -3938,7 +3945,7 @@ var require_themeable_native = __commonJS({
3938
3945
  }
3939
3946
  );
3940
3947
  });
3941
- return withTheme.displayName = `Themed(${(component == null ? void 0 : component.displayName) || (component == null ? void 0 : component.name) || "Anonymous"})`, withTheme;
3948
+ return withTheme.displayName = `Themed(${(Component == null ? void 0 : Component.displayName) || (Component == null ? void 0 : Component.name) || "Anonymous"})`, withTheme;
3942
3949
  }
3943
3950
  }
3944
3951
  });
@@ -4304,6 +4311,8 @@ var require_createComponent_native = __commonJS({
4304
4311
  onMouseDown,
4305
4312
  onMouseEnter,
4306
4313
  onMouseLeave,
4314
+ onFocus,
4315
+ onBlur,
4307
4316
  separator,
4308
4317
  // ignore from here on out
4309
4318
  forceStyle: _forceStyle,
@@ -4387,7 +4396,7 @@ If you meant to do this, you can disable this warning - either change untilMeasu
4387
4396
  fontFamily && fontFamily[0] === "$" && (fontFamily = fontFamily.slice(1));
4388
4397
  let fontFamilyClassName = fontFamily ? `font_${fontFamily}` : "", style = avoidAnimationStyle ? splitStyles.style : animationStyles || splitStyles.style, className;
4389
4398
  viewProps.style = style;
4390
- 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_constants.isWeb && !!(groupName || needsHoverState || onMouseEnter || onMouseLeave), handlesPressEvents = !(import_constants.isWeb || asChild), shouldAttach = !!(attachPress || isHoverable || runtimePressStyle || runtimeHoverStyle);
4399
+ let runtimePressStyle = !disabled && noClassNames && (pseudos == null ? void 0 : pseudos.pressStyle), runtimeFocusStyle = !disabled && noClassNames && (pseudos == null ? void 0 : pseudos.focusStyle), attachFocus = !!(runtimePressStyle || onFocus || onBlur), attachPress = !!(groupName || runtimePressStyle || onPress || onPressOut || onPressIn || onLongPress || onClick), runtimeHoverStyle = !disabled && noClassNames && (pseudos == null ? void 0 : pseudos.hoverStyle), needsHoverState = runtimeHoverStyle || onHoverIn || onHoverOut, isHoverable = import_constants.isWeb && !!(groupName || needsHoverState || onMouseEnter || onMouseLeave), handlesPressEvents = !(import_constants.isWeb || asChild), shouldAttach = !!(attachFocus || attachPress || isHoverable || runtimePressStyle || runtimeHoverStyle || runtimeFocusStyle);
4391
4400
  process.env.NODE_ENV === "development" && time && time`events-setup`;
4392
4401
  let events = shouldAttach && !isDisabled && !props.asChild ? {
4393
4402
  onPressOut: attachPress ? (e) => {
@@ -4412,9 +4421,23 @@ If you meant to do this, you can disable this warning - either change untilMeasu
4412
4421
  onPress: attachPress ? (e) => {
4413
4422
  unPress(), import_constants.isWeb && (onClick == null || onClick(e)), onPress == null || onPress(e);
4414
4423
  } : void 0,
4415
- onLongPress: attachPress && onLongPress ? (e) => {
4416
- unPress(), onLongPress == null || onLongPress(e);
4417
- } : void 0
4424
+ ...attachPress && onLongPress && {
4425
+ onLongPress: (e) => {
4426
+ unPress(), onLongPress == null || onLongPress(e);
4427
+ }
4428
+ },
4429
+ ...attachFocus && {
4430
+ onFocus: (e) => {
4431
+ setStateShallow({
4432
+ focus: !0
4433
+ }), onFocus == null || onFocus(e);
4434
+ },
4435
+ onBlur: (e) => {
4436
+ setStateShallow({
4437
+ focus: !1
4438
+ }), onBlur == null || onBlur(e);
4439
+ }
4440
+ }
4418
4441
  } : null;
4419
4442
  events && !asChild && Object.assign(events, {
4420
4443
  cancelable: !viewProps.rejectResponderTermination,
@@ -4460,7 +4483,7 @@ If you meant to do this, you can disable this warning - either change untilMeasu
4460
4483
  }
4461
4484
  };
4462
4485
  }, [groupName]);
4463
- if (groupName && subGroupContext && (content = /* @__PURE__ */ (0, import_jsx_runtime6.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_runtime6.jsx)(import_ThemeDebug.ThemeDebug, { themeState, themeProps: props, children: content })), staticConfig.context) {
4486
+ if (groupName && subGroupContext && (content = /* @__PURE__ */ (0, import_jsx_runtime6.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_runtime6.jsx)(import_ThemeDebug.ThemeDebug, { themeState, themeProps: props, children: content })), staticConfig.context) {
4464
4487
  let contextProps = staticConfig.context.props;
4465
4488
  for (let key in contextProps)
4466
4489
  (key in style || key in viewProps) && (overriddenContextProps ||= {}, overriddenContextProps[key] = style[key] ?? viewProps[key]);
@@ -4527,12 +4550,12 @@ If you meant to do this, you can disable this warning - either change untilMeasu
4527
4550
  function extractable(Component2, extended) {
4528
4551
  return Component2.staticConfig = extendStyledConfig(extended), Component2.styleable = styleable, Component2;
4529
4552
  }
4530
- function styleable(Component2, extended) {
4553
+ function styleable(Component2, options) {
4531
4554
  var _a2;
4532
4555
  let ComponentForwardedRef = ((_a2 = Component2.render) == null ? void 0 : _a2.length) === 2 ? Component2 : (
4533
4556
  // memo because theme changes otherwise would always re-render
4534
4557
  (0, import_react2.memo)((0, import_react2.forwardRef)(Component2))
4535
- ), extendedConfig = extendStyledConfig(extended), out = (0, import_themeable.themeable)(ComponentForwardedRef, extendedConfig);
4558
+ ), extendedConfig = extendStyledConfig(options == null ? void 0 : options.staticConfig), out = options != null && options.disableTheme ? ComponentForwardedRef : (0, import_themeable.themeable)(ComponentForwardedRef, extendedConfig);
4536
4559
  return out.staticConfig = extendedConfig, out.styleable = styleable, out;
4537
4560
  }
4538
4561
  return res.extractable = extractable, res.styleable = styleable, res;
@@ -5678,6 +5701,7 @@ var require_useProps_native = __commonJS({
5678
5701
  mediaState: media,
5679
5702
  noSkip: !0,
5680
5703
  noClassNames: !0,
5704
+ resolveValues: "auto",
5681
5705
  ...opts
5682
5706
  },
5683
5707
  null,
@@ -7589,11 +7613,7 @@ var require_index_native15 = __commonJS({
7589
7613
  return viewProps;
7590
7614
  },
7591
7615
  useEvents(viewProps, events, { pseudos }, setStateShallow, staticConfig) {
7592
- if (pseudos != null && pseudos.focusStyle && (viewProps.onFocus = (0, import_web.composeEventHandlers)(viewProps.onFocus, () => {
7593
- setStateShallow({ focus: !0 });
7594
- }), viewProps.onBlur = (0, import_web.composeEventHandlers)(viewProps.onBlur, () => {
7595
- setStateShallow({ focus: !1 });
7596
- })), staticConfig.isInput) {
7616
+ if (events != null && events.onFocus && (viewProps.onFocus = events.onFocus), events != null && events.onBlur && (viewProps.onBlur = events.onBlur), staticConfig.isInput) {
7597
7617
  if (events) {
7598
7618
  let { onPressIn, onPressOut, onPress } = events, inputEvents = {
7599
7619
  onPressIn,
@@ -11834,7 +11854,7 @@ var require_Button_native = __commonJS({
11834
11854
  Text: ButtonText,
11835
11855
  Icon: ButtonIcon
11836
11856
  }), ButtonNestingContext = (0, import_react2.createContext)(!1);
11837
- function useButton(propsIn, { Text: Text3 = Button2.Text } = { Text: Button2.Text }) {
11857
+ function useButton({ textProps, ...propsIn }, { Text: Text3 = Button2.Text } = { Text: Button2.Text }) {
11838
11858
  let isNested = (0, import_react2.useContext)(ButtonNestingContext), didFinishSSR = (0, import_web.useDidFinishSSR)(), propsActive = (0, import_web.useProps)(propsIn), {
11839
11859
  icon,
11840
11860
  iconAfter,
@@ -11851,7 +11871,7 @@ var require_Button_native = __commonJS({
11851
11871
  color: propsActive.color
11852
11872
  }), [themedIcon, themedIconAfter] = [icon, iconAfter].map(getThemedIcon), spaceSize = space ?? (0, import_web.getVariableValue)(iconSize) * scaleSpace, contents = noTextWrap ? [propsIn.children] : (0, import_text2.wrapChildrenInText)(
11853
11873
  Text3,
11854
- { children: propsIn.children, fontFamily, fontSize },
11874
+ { children: propsIn.children, fontFamily, fontSize, textProps },
11855
11875
  Text3 === ButtonText && propsActive.unstyled !== !0 ? {
11856
11876
  unstyled: !1,
11857
11877
  size: size2
@@ -13423,52 +13443,51 @@ var require_ListItem_native = __commonJS({
13423
13443
  ListItemSubtitle: () => ListItemSubtitle,
13424
13444
  ListItemText: () => ListItemText,
13425
13445
  ListItemTitle: () => ListItemTitle,
13426
- listItemStaticConfig: () => listItemStaticConfig,
13427
- listItemVariants: () => listItemVariants,
13428
13446
  useListItem: () => useListItem
13429
13447
  });
13430
13448
  module2.exports = __toCommonJS2(ListItem_exports);
13431
- var import_font_size = require_index_native40(), import_get_font_sized2 = require_index_native20(), import_get_token2 = require_index_native17(), import_helpers_tamagui = require_index_native41(), import_stacks3 = require_index_native19(), import_text2 = require_index_native21(), import_web = require_index_native9(), import_jsx_runtime6 = require("react/jsx-runtime"), NAME = "ListItem", listItemVariants = {
13432
- unstyled: {
13433
- false: {
13434
- size: "$true",
13435
- alignItems: "center",
13436
- flexWrap: "nowrap",
13437
- width: "100%",
13438
- borderColor: "$borderColor",
13439
- maxWidth: "100%",
13440
- overflow: "hidden",
13441
- flexDirection: "row",
13442
- backgroundColor: "$background"
13443
- }
13444
- },
13445
- size: {
13446
- "...size": (val, { tokens }) => ({
13447
- minHeight: tokens.size[val],
13448
- paddingHorizontal: tokens.space[val],
13449
- paddingVertical: (0, import_get_token2.getSpace)(tokens.space[val], {
13450
- shift: -4
13451
- })
13452
- })
13453
- },
13454
- active: {
13455
- true: {
13456
- hoverStyle: {
13449
+ var import_font_size = require_index_native40(), import_get_font_sized2 = require_index_native20(), import_get_token2 = require_index_native17(), import_helpers_tamagui = require_index_native41(), import_stacks3 = require_index_native19(), import_text2 = require_index_native21(), import_web = require_index_native9(), import_jsx_runtime6 = require("react/jsx-runtime"), NAME = "ListItem", ListItemFrame = (0, import_web.styled)(import_stacks3.ThemeableStack, {
13450
+ name: NAME,
13451
+ tag: "li",
13452
+ variants: {
13453
+ unstyled: {
13454
+ false: {
13455
+ size: "$true",
13456
+ alignItems: "center",
13457
+ justifyContent: "space-between",
13458
+ flexWrap: "nowrap",
13459
+ width: "100%",
13460
+ borderColor: "$borderColor",
13461
+ maxWidth: "100%",
13462
+ overflow: "hidden",
13463
+ flexDirection: "row",
13457
13464
  backgroundColor: "$background"
13458
13465
  }
13466
+ },
13467
+ size: {
13468
+ "...size": (val, { tokens }) => ({
13469
+ minHeight: tokens.size[val],
13470
+ paddingHorizontal: tokens.space[val],
13471
+ paddingVertical: (0, import_get_token2.getSpace)(tokens.space[val], {
13472
+ shift: -4
13473
+ })
13474
+ })
13475
+ },
13476
+ active: {
13477
+ true: {
13478
+ hoverStyle: {
13479
+ backgroundColor: "$background"
13480
+ }
13481
+ }
13482
+ },
13483
+ disabled: {
13484
+ true: {
13485
+ opacity: 0.5,
13486
+ // TODO breaking types
13487
+ pointerEvents: "none"
13488
+ }
13459
13489
  }
13460
13490
  },
13461
- disabled: {
13462
- true: {
13463
- opacity: 0.5,
13464
- // TODO breaking types
13465
- pointerEvents: "none"
13466
- }
13467
- }
13468
- }, ListItemFrame = (0, import_web.styled)(import_stacks3.ThemeableStack, {
13469
- name: NAME,
13470
- tag: "li",
13471
- variants: listItemVariants,
13472
13491
  defaultVariants: {
13473
13492
  unstyled: !1
13474
13493
  }
@@ -13577,19 +13596,8 @@ var require_ListItem_native = __commonJS({
13577
13596
  };
13578
13597
  }, ListItemComponent = ListItemFrame.styleable(function(props, ref) {
13579
13598
  let { props: listItemProps } = useListItem(props);
13580
- return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(ListItemFrame, { ref, justifyContent: "space-between", ...listItemProps });
13581
- }), listItemStaticConfig = {
13582
- inlineProps: /* @__PURE__ */ new Set([
13583
- // text props go here (can't really optimize them, but we never fully extract listItem anyway)
13584
- "color",
13585
- "fontWeight",
13586
- "fontSize",
13587
- "fontFamily",
13588
- "letterSpacing",
13589
- "textAlign",
13590
- "ellipse"
13591
- ])
13592
- }, ListItem2 = (0, import_web.withStaticProperties)(ListItemComponent, {
13599
+ return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(ListItemFrame, { ref, ...listItemProps });
13600
+ }), ListItem2 = (0, import_web.withStaticProperties)(ListItemComponent, {
13593
13601
  Text: ListItemText,
13594
13602
  Subtitle: ListItemSubtitle
13595
13603
  });
@@ -16106,16 +16114,21 @@ var require_SelectItem_native = __commonJS({
16106
16114
  useSelectItemContext: () => useSelectItemContext
16107
16115
  });
16108
16116
  module2.exports = __toCommonJS2(SelectItem_exports);
16109
- var import_compose_refs = require_index_native5(), import_core13 = require_index_native15(), import_list_item = require_index_native51(), React2 = __toESM2(require("react")), import_context = require_context_native(), import_jsx_runtime6 = require("react/jsx-runtime"), ITEM_NAME = "SelectItem", [SelectItemContextProvider, useSelectItemContext] = (0, import_context.createSelectContext)(ITEM_NAME), SelectItem = React2.forwardRef(
16110
- (props, forwardedRef) => {
16117
+ var import_compose_refs = require_index_native5(), import_core13 = require_index_native15(), import_list_item = require_index_native51(), React2 = __toESM2(require("react")), import_context = require_context_native(), import_jsx_runtime6 = require("react/jsx-runtime"), ITEM_NAME = "SelectItem", [SelectItemContextProvider, useSelectItemContext] = (0, import_context.createSelectContext)(ITEM_NAME), SelectItem = import_list_item.ListItemFrame.styleable(
16118
+ function(props, forwardedRef) {
16111
16119
  let {
16112
16120
  __scopeSelect,
16113
16121
  value,
16114
16122
  disabled = !1,
16115
16123
  textValue: textValueProp,
16116
16124
  index,
16117
- ...itemProps
16118
- } = props, context = (0, import_context.useSelectItemParentContext)(ITEM_NAME, __scopeSelect), {
16125
+ ...restProps
16126
+ } = props, { props: listItemProps } = (0, import_list_item.useListItem)({
16127
+ ...!props.unstyled && {
16128
+ ellipse: !0
16129
+ },
16130
+ ...restProps
16131
+ }), context = (0, import_context.useSelectItemParentContext)(ITEM_NAME, __scopeSelect), {
16119
16132
  setSelectedIndex,
16120
16133
  listRef,
16121
16134
  setOpen,
@@ -16148,7 +16161,7 @@ var require_SelectItem_native = __commonJS({
16148
16161
  function handleSelect() {
16149
16162
  setSelectedIndex(index), onChange(value), setOpen(!1);
16150
16163
  }
16151
- let selectItemProps = interactions ? interactions.getItemProps({
16164
+ let selectItemProps = React2.useMemo(() => interactions ? interactions.getItemProps({
16152
16165
  onTouchMove() {
16153
16166
  allowSelectRef.current = !0, allowMouseUpRef.current = !1;
16154
16167
  },
@@ -16168,7 +16181,7 @@ var require_SelectItem_native = __commonJS({
16168
16181
  }
16169
16182
  }) : {
16170
16183
  onPress: handleSelect
16171
- };
16184
+ }, [handleSelect]);
16172
16185
  return (0, import_core13.useIsomorphicLayoutEffect)(() => {
16173
16186
  var _a;
16174
16187
  isActive && ((_a = listRef == null ? void 0 : listRef.current[index]) == null || _a.focus());
@@ -16180,7 +16193,7 @@ var require_SelectItem_native = __commonJS({
16180
16193
  textId: textId || "",
16181
16194
  isSelected,
16182
16195
  children: shouldRenderWebNative ? /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("option", { value, children: props.children }) : /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
16183
- import_list_item.ListItem,
16196
+ import_list_item.ListItemFrame,
16184
16197
  {
16185
16198
  tag: "div",
16186
16199
  componentName: ITEM_NAME,
@@ -16198,18 +16211,79 @@ var require_SelectItem_native = __commonJS({
16198
16211
  focusTheme: !0,
16199
16212
  cursor: "default",
16200
16213
  outlineWidth: 0,
16201
- size: size2,
16202
- ellipse: !0
16214
+ size: size2
16203
16215
  },
16204
- ...itemProps,
16216
+ ...listItemProps,
16205
16217
  ...selectItemProps
16206
16218
  }
16207
16219
  )
16208
16220
  }
16209
16221
  );
16222
+ },
16223
+ {
16224
+ disableTheme: !0
16210
16225
  }
16211
16226
  );
16212
- SelectItem.displayName = ITEM_NAME;
16227
+ }
16228
+ });
16229
+
16230
+ // ../select/dist/cjs/SelectItemText.native.js
16231
+ var require_SelectItemText_native = __commonJS({
16232
+ "../select/dist/cjs/SelectItemText.native.js"(exports, module2) {
16233
+ "use strict";
16234
+ var __create2 = Object.create, __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __getProtoOf2 = Object.getPrototypeOf, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
16235
+ for (var name in all)
16236
+ __defProp2(target, name, { get: all[name], enumerable: !0 });
16237
+ }, __copyProps2 = (to, from, except, desc) => {
16238
+ if (from && typeof from == "object" || typeof from == "function")
16239
+ for (let key of __getOwnPropNames2(from))
16240
+ !__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable });
16241
+ return to;
16242
+ }, __toESM2 = (mod, isNodeMode, target) => (target = mod != null ? __create2(__getProtoOf2(mod)) : {}, __copyProps2(
16243
+ // If the importer is in node compatibility mode or this is not an ESM
16244
+ // file that has been converted to a CommonJS file using a Babel-
16245
+ // compatible transform (i.e. "__esModule" has not been set), then set
16246
+ // "default" to the CommonJS "module.exports" for node compatibility.
16247
+ isNodeMode || !mod || !mod.__esModule ? __defProp2(target, "default", { value: mod, enumerable: !0 }) : target,
16248
+ mod
16249
+ )), __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: !0 }), mod), SelectItemText_exports = {};
16250
+ __export2(SelectItemText_exports, {
16251
+ ITEM_TEXT_NAME: () => ITEM_TEXT_NAME,
16252
+ SelectItemText: () => SelectItemText,
16253
+ SelectItemTextFrame: () => SelectItemTextFrame
16254
+ });
16255
+ module2.exports = __toCommonJS2(SelectItemText_exports);
16256
+ var import_compose_refs = require_index_native5(), import_core13 = require_index_native15(), import_text2 = require_index_native21(), React2 = __toESM2(require("react")), import_context = require_context_native(), import_SelectItem = require_SelectItem_native(), import_jsx_runtime6 = require("react/jsx-runtime"), ITEM_TEXT_NAME = "SelectItemText", SelectItemTextFrame = (0, import_core13.styled)(import_text2.SizableText, {
16257
+ name: ITEM_TEXT_NAME,
16258
+ variants: {
16259
+ unstyled: {
16260
+ false: {
16261
+ userSelect: "none",
16262
+ color: "$color",
16263
+ ellipse: !0
16264
+ }
16265
+ }
16266
+ },
16267
+ defaultVariants: {
16268
+ unstyled: !1
16269
+ }
16270
+ }), SelectItemText = SelectItemTextFrame.styleable(function(props, forwardedRef) {
16271
+ let { __scopeSelect, className, ...itemTextProps } = props, context = (0, import_context.useSelectContext)(ITEM_TEXT_NAME, __scopeSelect), itemParentContext = (0, import_context.useSelectItemParentContext)(ITEM_TEXT_NAME, __scopeSelect), ref = React2.useRef(null), composedRefs = (0, import_compose_refs.useComposedRefs)(forwardedRef, ref), itemContext = (0, import_SelectItem.useSelectItemContext)(ITEM_TEXT_NAME, __scopeSelect), contents = React2.useRef();
16272
+ return contents.current = /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
16273
+ SelectItemTextFrame,
16274
+ {
16275
+ className,
16276
+ size: itemParentContext.size,
16277
+ id: itemContext.textId,
16278
+ ...itemTextProps,
16279
+ ref: composedRefs
16280
+ }
16281
+ ), React2.useEffect(() => {
16282
+ itemParentContext.initialValue === itemContext.value && !context.selectedIndex && context.setSelectedItem(contents.current);
16283
+ }, []), React2.useEffect(() => itemParentContext.valueSubscribe((val) => {
16284
+ val === itemContext.value && context.setSelectedItem(contents.current);
16285
+ }), [itemContext.value]), itemParentContext.shouldRenderWebNative ? /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_jsx_runtime6.Fragment, { children: props.children }) : /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_jsx_runtime6.Fragment, { children: contents.current });
16286
+ });
16213
16287
  }
16214
16288
  });
16215
16289
 
@@ -16394,11 +16468,10 @@ var require_Select_native = __commonJS({
16394
16468
  Select: () => Select,
16395
16469
  SelectGroupFrame: () => SelectGroupFrame,
16396
16470
  SelectIcon: () => SelectIcon,
16397
- SelectItemTextFrame: () => SelectItemTextFrame,
16398
16471
  SelectSeparator: () => SelectSeparator
16399
16472
  });
16400
16473
  module2.exports = __toCommonJS2(Select_exports);
16401
- var import_adapt = require_index_native24(), import_compose_refs = require_index_native5(), import_core13 = require_index_native15(), import_get_token2 = require_index_native17(), import_list_item = require_index_native51(), import_portal2 = require_index_native29(), import_separator = require_index_native58(), import_sheet = require_index_native34(), import_stacks3 = require_index_native19(), import_text2 = require_index_native21(), import_use_controllable_state = require_index_native12(), React2 = __toESM2(require("react")), import_constants = require_constants_native4(), import_context = require_context_native(), import_SelectContent = require_SelectContent_native(), import_SelectImpl = require_SelectImpl_native(), import_SelectItem = require_SelectItem_native(), import_SelectScrollButton = require_SelectScrollButton_native(), import_SelectTrigger = require_SelectTrigger_native(), import_SelectViewport = require_SelectViewport_native(), import_useSelectBreakpointActive = require_useSelectBreakpointActive_native(), import_jsx_runtime6 = require("react/jsx-runtime"), VALUE_NAME = "SelectValue", SelectValueFrame = (0, import_core13.styled)(import_text2.SizableText, {
16474
+ var import_adapt = require_index_native24(), import_compose_refs = require_index_native5(), import_core13 = require_index_native15(), import_get_token2 = require_index_native17(), import_list_item = require_index_native51(), import_portal2 = require_index_native29(), import_separator = require_index_native58(), import_sheet = require_index_native34(), import_stacks3 = require_index_native19(), import_text2 = require_index_native21(), import_use_controllable_state = require_index_native12(), React2 = __toESM2(require("react")), import_constants = require_constants_native4(), import_context = require_context_native(), import_SelectContent = require_SelectContent_native(), import_SelectImpl = require_SelectImpl_native(), import_SelectItem = require_SelectItem_native(), import_SelectItemText = require_SelectItemText_native(), import_SelectScrollButton = require_SelectScrollButton_native(), import_SelectTrigger = require_SelectTrigger_native(), import_SelectViewport = require_SelectViewport_native(), import_useSelectBreakpointActive = require_useSelectBreakpointActive_native(), import_jsx_runtime6 = require("react/jsx-runtime"), VALUE_NAME = "SelectValue", SelectValueFrame = (0, import_core13.styled)(import_text2.SizableText, {
16402
16475
  name: VALUE_NAME,
16403
16476
  userSelect: "none"
16404
16477
  }), SelectValue = SelectValueFrame.styleable(function({
@@ -16426,7 +16499,7 @@ var require_Select_native = __commonJS({
16426
16499
  return React2.Children.map(selectValueChildren, (child) => {
16427
16500
  var _a, _b, _c;
16428
16501
  if (child) {
16429
- if (((_b = (_a = child.type) == null ? void 0 : _a.staticConfig) == null ? void 0 : _b.componentName) === ITEM_TEXT_NAME)
16502
+ if (((_b = (_a = child.type) == null ? void 0 : _a.staticConfig) == null ? void 0 : _b.componentName) === import_SelectItemText.ITEM_TEXT_NAME)
16430
16503
  return child.props.children;
16431
16504
  if ((_c = child.props) != null && _c.children)
16432
16505
  return unwrapSelectItem(child.props.children);
@@ -16439,46 +16512,8 @@ var require_Select_native = __commonJS({
16439
16512
  // @ts-ignore
16440
16513
  "aria-hidden": !0,
16441
16514
  children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_text2.Paragraph, { children: "\u25BC" })
16442
- }), ITEM_TEXT_NAME = "SelectItemText", SelectItemTextFrame = (0, import_core13.styled)(import_text2.SizableText, {
16443
- name: ITEM_TEXT_NAME,
16444
- variants: {
16445
- unstyled: {
16446
- false: {
16447
- userSelect: "none",
16448
- color: "$color",
16449
- ellipse: !0
16450
- }
16451
- }
16452
- },
16453
- defaultVariants: {
16454
- unstyled: !1
16455
- }
16456
- }), SelectItemText = React2.forwardRef(
16457
- (props, forwardedRef) => {
16458
- let { __scopeSelect, className, ...itemTextProps } = props, context = (0, import_context.useSelectContext)(ITEM_TEXT_NAME, __scopeSelect), itemParentContext = (0, import_context.useSelectItemParentContext)(ITEM_TEXT_NAME, __scopeSelect), ref = React2.useRef(null), composedRefs = (0, import_compose_refs.useComposedRefs)(forwardedRef, ref), itemContext = (0, import_SelectItem.useSelectItemContext)(ITEM_TEXT_NAME, __scopeSelect), contents = React2.useMemo(
16459
- () => /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
16460
- SelectItemTextFrame,
16461
- {
16462
- className,
16463
- size: itemParentContext.size,
16464
- id: itemContext.textId,
16465
- ...itemTextProps,
16466
- ref: composedRefs
16467
- }
16468
- ),
16469
- // eslint-disable-next-line react-hooks/exhaustive-deps
16470
- [props, itemParentContext.size, className, itemContext.textId]
16471
- );
16472
- return React2.useEffect(() => {
16473
- itemParentContext.initialValue === itemContext.value && !context.selectedIndex && context.setSelectedItem(contents);
16474
- }, []), React2.useEffect(() => itemParentContext.valueSubscribe((val) => {
16475
- val === itemContext.value && context.setSelectedItem(contents);
16476
- }), [itemContext.value]), itemParentContext.shouldRenderWebNative ? /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_jsx_runtime6.Fragment, { children: props.children }) : /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_jsx_runtime6.Fragment, { children: contents });
16477
- }
16478
- );
16479
- SelectItemText.displayName = ITEM_TEXT_NAME;
16480
- var ITEM_INDICATOR_NAME = "SelectItemIndicator", SelectItemIndicatorFrame = (0, import_core13.styled)(import_stacks3.XStack, {
16481
- name: ITEM_TEXT_NAME
16515
+ }), ITEM_INDICATOR_NAME = "SelectItemIndicator", SelectItemIndicatorFrame = (0, import_core13.styled)(import_stacks3.XStack, {
16516
+ name: import_SelectItemText.ITEM_TEXT_NAME
16482
16517
  }), SelectItemIndicator = React2.forwardRef(
16483
16518
  (props, forwardedRef) => {
16484
16519
  let { __scopeSelect, ...itemIndicatorProps } = props, context = (0, import_context.useSelectItemParentContext)(ITEM_INDICATOR_NAME, __scopeSelect), itemContext = (0, import_SelectItem.useSelectItemContext)(ITEM_INDICATOR_NAME, __scopeSelect);
@@ -16695,7 +16730,7 @@ var require_Select_native = __commonJS({
16695
16730
  Icon: SelectIcon,
16696
16731
  Item: import_SelectItem.SelectItem,
16697
16732
  ItemIndicator: SelectItemIndicator,
16698
- ItemText: SelectItemText,
16733
+ ItemText: import_SelectItemText.SelectItemText,
16699
16734
  Label: SelectLabel,
16700
16735
  ScrollDownButton: import_SelectScrollButton.SelectScrollDownButton,
16701
16736
  ScrollUpButton: import_SelectScrollButton.SelectScrollUpButton,