tamagui 1.132.14 → 1.132.16

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.
@@ -1070,9 +1070,9 @@ var require_clamp_native = __commonJS({
1070
1070
  }
1071
1071
  });
1072
1072
  module2.exports = __toCommonJS2(clamp_exports);
1073
- function clamp(value2, param) {
1073
+ function clamp(value, param) {
1074
1074
  var [min, max] = param;
1075
- return Math.min(max, Math.max(min, value2));
1075
+ return Math.min(max, Math.max(min, value));
1076
1076
  }
1077
1077
  }
1078
1078
  });
@@ -2056,7 +2056,7 @@ var require_useControllableState_native = __commonJS({
2056
2056
  return _();
2057
2057
  };
2058
2058
  function useControllableState(param) {
2059
- var { prop, defaultProp, onChange, strategy = "prop-wins", preventUpdate, transition } = param, [state, setState] = React4.useState(prop ?? defaultProp), previous = React4.useRef(state), propWins = strategy === "prop-wins" && prop !== void 0, value2 = propWins ? prop : state, onChangeCb = (0, import_use_event.useEvent)(onChange || idFn), transitionFn = transition ? import_start_transition.startTransition : emptyCallbackFn;
2059
+ var { prop, defaultProp, onChange, strategy = "prop-wins", preventUpdate, transition } = param, [state, setState] = React4.useState(prop ?? defaultProp), previous = React4.useRef(state), propWins = strategy === "prop-wins" && prop !== void 0, value = propWins ? prop : state, onChangeCb = (0, import_use_event.useEvent)(onChange || idFn), transitionFn = transition ? import_start_transition.startTransition : emptyCallbackFn;
2060
2060
  React4.useEffect(function() {
2061
2061
  prop !== void 0 && (previous.current = prop, transitionFn(function() {
2062
2062
  setState(prop);
@@ -2079,7 +2079,7 @@ var require_useControllableState_native = __commonJS({
2079
2079
  });
2080
2080
  });
2081
2081
  return [
2082
- value2,
2082
+ value,
2083
2083
  setter
2084
2084
  ];
2085
2085
  }
@@ -2374,22 +2374,22 @@ var require_config_native = __commonJS({
2374
2374
  {}
2375
2375
  ), { tokens, tokensParsed } = conf;
2376
2376
  return prefixed === !1 ? tokens : prefixed === !0 ? tokensParsed : tokensMerged;
2377
- }, getTokenObject = function(value2, group) {
2377
+ }, getTokenObject = function(value, group) {
2378
2378
  var _tokensMerged_group, _tokensMerged_, _conf_specificTokens_value;
2379
- return (_conf_specificTokens_value = conf.specificTokens[value2]) !== null && _conf_specificTokens_value !== void 0 ? _conf_specificTokens_value : group ? (_tokensMerged_group = tokensMerged[group]) === null || _tokensMerged_group === void 0 ? void 0 : _tokensMerged_group[value2] : (_tokensMerged_ = tokensMerged[Object.keys(tokensMerged).find(function(cat) {
2380
- return tokensMerged[cat][value2];
2381
- }) || ""]) === null || _tokensMerged_ === void 0 ? void 0 : _tokensMerged_[value2];
2382
- }, getToken3 = function(value2, group) {
2383
- var useVariable = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : import_constants4.isWeb, token = getTokenObject(value2, group);
2379
+ return (_conf_specificTokens_value = conf.specificTokens[value]) !== null && _conf_specificTokens_value !== void 0 ? _conf_specificTokens_value : group ? (_tokensMerged_group = tokensMerged[group]) === null || _tokensMerged_group === void 0 ? void 0 : _tokensMerged_group[value] : (_tokensMerged_ = tokensMerged[Object.keys(tokensMerged).find(function(cat) {
2380
+ return tokensMerged[cat][value];
2381
+ }) || ""]) === null || _tokensMerged_ === void 0 ? void 0 : _tokensMerged_[value];
2382
+ }, getToken3 = function(value, group) {
2383
+ var useVariable = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : import_constants4.isWeb, token = getTokenObject(value, group);
2384
2384
  return useVariable ? token == null ? void 0 : token.variable : token == null ? void 0 : token.val;
2385
- }, getTokenValue3 = function(value2, group) {
2386
- if (!(value2 === "unset" || value2 === "auto")) return getToken3(value2, group, !1);
2385
+ }, getTokenValue3 = function(value, group) {
2386
+ if (!(value === "unset" || value === "auto")) return getToken3(value, group, !1);
2387
2387
  }, useTokens = getTokens3, getThemes3 = function() {
2388
2388
  return conf.themes;
2389
2389
  }, configListeners = /* @__PURE__ */ new Set(), onConfiguredOnce = function(cb) {
2390
2390
  conf ? cb(conf) : configListeners.add(cb);
2391
- }, updateConfig2 = function(key, value2) {
2392
- Object.assign(conf[key], value2);
2391
+ }, updateConfig2 = function(key, value) {
2392
+ Object.assign(conf[key], value);
2393
2393
  }, getFont = function(name) {
2394
2394
  var _Object_entries_find, conf2 = getConfig3(), _conf_fontsParsed_name;
2395
2395
  return (_conf_fontsParsed_name = conf2.fontsParsed[name]) !== null && _conf_fontsParsed_name !== void 0 ? _conf_fontsParsed_name : (_Object_entries_find = Object.entries(conf2.fontsParsed).find(function(param) {
@@ -2528,9 +2528,9 @@ var require_createVariable_native = __commonJS({
2528
2528
  var includeVar = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0, name = (0, import_helpers.simpleHash)(nameProp, 60);
2529
2529
  return includeVar ? constructCSSVariableName(name) : name;
2530
2530
  };
2531
- function px(value2) {
2531
+ function px(value) {
2532
2532
  return {
2533
- val: value2,
2533
+ val: value,
2534
2534
  needsPx: !0
2535
2535
  };
2536
2536
  }
@@ -2617,8 +2617,8 @@ var require_insertStyleRule_native = __commonJS({
2617
2617
  function addTransform(identifier, css, rule) {
2618
2618
  var s = css.indexOf("transform:");
2619
2619
  if (s !== -1) {
2620
- var startI = s + 10, endI = css.indexOf(";"), value2 = css.slice(startI, endI);
2621
- if (!insertedTransforms[identifier]) return insertedTransforms[identifier] = value2, !0;
2620
+ var startI = s + 10, endI = css.indexOf(";"), value = css.slice(startI, endI);
2621
+ if (!insertedTransforms[identifier]) return insertedTransforms[identifier] = value, !0;
2622
2622
  }
2623
2623
  }
2624
2624
  function scanAllSheets() {
@@ -3109,8 +3109,8 @@ var require_useMedia_native = __commonJS({
3109
3109
  if (typeof query == "string") return query;
3110
3110
  if (cache.has(query)) return cache.get(query);
3111
3111
  var res = Object.entries(query).map(function(param) {
3112
- var [feature, value2] = param;
3113
- return feature = camelToHyphen(feature), typeof value2 == "string" ? `(${feature}: ${value2})` : (typeof value2 == "number" && /[height|width]$/.test(feature) && (value2 = `${value2}px`), `(${feature}: ${value2})`);
3112
+ var [feature, value] = param;
3113
+ return feature = camelToHyphen(feature), typeof value == "string" ? `(${feature}: ${value})` : (typeof value == "number" && /[height|width]$/.test(feature) && (value = `${value}px`), `(${feature}: ${value})`);
3114
3114
  }).join(" and ");
3115
3115
  return key && (cachedMediaKeyToQuery[key] = res), cache.set(query, res), res;
3116
3116
  }
@@ -3193,8 +3193,8 @@ var require_Tamagui_native = __commonJS({
3193
3193
  var TamaguiManager;
3194
3194
  }(), identifierToValue = /* @__PURE__ */ new Map(), getValueFromIdentifier = function(identifier) {
3195
3195
  return identifierToValue.get(identifier);
3196
- }, setIdentifierValue = function(identifier, value2) {
3197
- identifierToValue.set(identifier, value2);
3196
+ }, setIdentifierValue = function(identifier, value) {
3197
+ identifierToValue.set(identifier, value);
3198
3198
  };
3199
3199
  }
3200
3200
  });
@@ -3261,8 +3261,8 @@ var require_compose_refs_native = __commonJS({
3261
3261
  });
3262
3262
  module2.exports = __toCommonJS2(compose_refs_exports);
3263
3263
  var React4 = __toESM2(require("react"));
3264
- function setRef(ref, value2) {
3265
- typeof ref == "function" ? ref(value2) : ref && (ref.current = value2);
3264
+ function setRef(ref, value) {
3265
+ typeof ref == "function" ? ref(value) : ref && (ref.current = value);
3266
3266
  }
3267
3267
  function composeRefs() {
3268
3268
  for (var _len = arguments.length, refs = new Array(_len), _key = 0; _key < _len; _key++) refs[_key] = arguments[_key];
@@ -3584,8 +3584,8 @@ var require_createStyledContext_native = __commonJS({
3584
3584
  })
3585
3585
  });
3586
3586
  }, useStyledContext = function() {
3587
- var scopeIn = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", lastScopeInNamespace = (0, import_react3.useContext)(LastScopeInNamespace), scope = namespace ? scopeIn ? getNamespacedScope(scopeIn) : lastScopeInNamespace : scopeIn, context = scope ? getOrCreateScopedContext(scope) : OGContext, value2 = import_react3.default.useContext(context);
3588
- return value2;
3587
+ var scopeIn = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", lastScopeInNamespace = (0, import_react3.useContext)(LastScopeInNamespace), scope = namespace ? scopeIn ? getNamespacedScope(scopeIn) : lastScopeInNamespace : scopeIn, context = scope ? getOrCreateScopedContext(scope) : OGContext, value = import_react3.default.useContext(context);
3588
+ return value;
3589
3589
  };
3590
3590
  return Context.Provider = Provider, Context.props = defaultValues, Context.context = OGContext, Context.useStyledContext = useStyledContext, Context;
3591
3591
  }
@@ -5127,11 +5127,11 @@ var require_normalizeValueWithProperty_native = __commonJS({
5127
5127
  translateX: !0,
5128
5128
  translateY: !0
5129
5129
  };
5130
- function normalizeValueWithProperty(value2) {
5130
+ function normalizeValueWithProperty(value) {
5131
5131
  var property = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "";
5132
- if (!import_constants4.isWeb || import_helpers.stylePropsUnitless[property] || property && !stylePropsAllPlusTransforms[property] || typeof value2 == "boolean") return value2;
5133
- var res = value2;
5134
- return value2 && typeof value2 == "object" ? value2 : (typeof value2 == "number" ? res = `${value2}px` : property && (res = `${res}`), res);
5132
+ if (!import_constants4.isWeb || import_helpers.stylePropsUnitless[property] || property && !stylePropsAllPlusTransforms[property] || typeof value == "boolean") return value;
5133
+ var res = value;
5134
+ return value && typeof value == "object" ? value : (typeof value == "number" ? res = `${value}px` : property && (res = `${res}`), res);
5135
5135
  }
5136
5136
  }
5137
5137
  });
@@ -5395,26 +5395,26 @@ var require_expandStyle_native = __commonJS({
5395
5395
  return `${prefix}${k}`;
5396
5396
  });
5397
5397
  };
5398
- function expandStyle(key, value2) {
5398
+ function expandStyle(key, value) {
5399
5399
  if (import_constants4.isAndroid && key === "elevationAndroid") return [
5400
5400
  [
5401
5401
  "elevation",
5402
- value2
5402
+ value
5403
5403
  ]
5404
5404
  ];
5405
5405
  if (key in EXPANSIONS) return EXPANSIONS[key].map(function(key2) {
5406
5406
  return [
5407
5407
  key2,
5408
- value2
5408
+ value
5409
5409
  ];
5410
5410
  });
5411
5411
  if (key in import_webToNativeProps.webToNativeExpansion) return import_webToNativeProps.webToNativeExpansion[key].map(function(key2) {
5412
5412
  return [
5413
5413
  key2,
5414
- value2
5414
+ value
5415
5415
  ];
5416
5416
  });
5417
- if (key in import_webToNativeProps.webToNativeDynamicExpansion) return import_webToNativeProps.webToNativeDynamicExpansion[key](value2);
5417
+ if (key in import_webToNativeProps.webToNativeDynamicExpansion) return import_webToNativeProps.webToNativeDynamicExpansion[key](value);
5418
5418
  }
5419
5419
  var all = [
5420
5420
  "Top",
@@ -5659,8 +5659,8 @@ var require_normalizeStyle_native = __commonJS({
5659
5659
  res[key] = normalizeStyle(prop, disableNormalize);
5660
5660
  continue;
5661
5661
  }
5662
- var value2 = disableNormalize ? prop : (0, import_normalizeValueWithProperty.normalizeValueWithProperty)(prop, key), out = (0, import_expandStyle.expandStyle)(key, value2);
5663
- out ? Object.assign(res, Object.fromEntries(out)) : res[key] = value2;
5662
+ var value = disableNormalize ? prop : (0, import_normalizeValueWithProperty.normalizeValueWithProperty)(prop, key), out = (0, import_expandStyle.expandStyle)(key, value);
5663
+ out ? Object.assign(res, Object.fromEntries(out)) : res[key] = value;
5664
5664
  }
5665
5665
  }
5666
5666
  return (0, import_expandStyles.fixStyles)(res), res;
@@ -5879,18 +5879,18 @@ var require_propMapper_native = __commonJS({
5879
5879
  }
5880
5880
  });
5881
5881
  module2.exports = __toCommonJS2(propMapper_exports);
5882
- var import_constants4 = require_index_native(), import_helpers = require_index_native7(), import_config = require_config_native(), import_createVariable = require_createVariable_native(), import_expandStyle = require_expandStyle_native(), import_getVariantExtras = require_getVariantExtras_native(), import_isObj = require_isObj_native(), import_normalizeStyle = require_normalizeStyle_native(), import_pseudoDescriptors = require_pseudoDescriptors_native(), import_skipProps = require_skipProps_native(), propMapper = function(key, value2, styleState, disabled, map) {
5883
- if (disabled) return map(key, value2);
5882
+ var import_constants4 = require_index_native(), import_helpers = require_index_native7(), import_config = require_config_native(), import_createVariable = require_createVariable_native(), import_expandStyle = require_expandStyle_native(), import_getVariantExtras = require_getVariantExtras_native(), import_isObj = require_isObj_native(), import_normalizeStyle = require_normalizeStyle_native(), import_pseudoDescriptors = require_pseudoDescriptors_native(), import_skipProps = require_skipProps_native(), propMapper = function(key, value, styleState, disabled, map) {
5883
+ if (disabled) return map(key, value);
5884
5884
  if (lastFontFamilyToken = null, !(!import_constants4.isAndroid && key === "elevationAndroid")) {
5885
5885
  var { conf, styleProps, staticConfig } = styleState;
5886
- if (value2 === "unset") {
5886
+ if (value === "unset") {
5887
5887
  var _conf_unset, unsetVal = (_conf_unset = conf.unset) === null || _conf_unset === void 0 ? void 0 : _conf_unset[key];
5888
- if (unsetVal != null) value2 = unsetVal;
5888
+ if (unsetVal != null) value = unsetVal;
5889
5889
  else return;
5890
5890
  }
5891
5891
  var { variants } = staticConfig;
5892
5892
  if (!styleProps.noExpand && variants && key in variants) {
5893
- var variantValue = resolveVariants(key, value2, styleProps, styleState, "");
5893
+ var variantValue = resolveVariants(key, value, styleProps, styleState, "");
5894
5894
  if (variantValue) {
5895
5895
  variantValue.forEach(function(param) {
5896
5896
  var [_$key, _$value] = param;
@@ -5899,30 +5899,30 @@ var require_propMapper_native = __commonJS({
5899
5899
  return;
5900
5900
  }
5901
5901
  }
5902
- if (styleProps.disableExpandShorthands || key in conf.shorthands && (key = conf.shorthands[key]), value2 != null && (value2[0] === "$" ? value2 = getTokenForKey(key, value2, styleProps, styleState) : (0, import_createVariable.isVariable)(value2) && (value2 = resolveVariableValue(key, value2, styleProps.resolveValues))), value2 != null) {
5902
+ if (styleProps.disableExpandShorthands || key in conf.shorthands && (key = conf.shorthands[key]), value != null && (value[0] === "$" ? value = getTokenForKey(key, value, styleProps, styleState) : (0, import_createVariable.isVariable)(value) && (value = resolveVariableValue(key, value, styleProps.resolveValues))), value != null) {
5903
5903
  key === "fontFamily" && lastFontFamilyToken && (styleState.fontFamily = lastFontFamilyToken);
5904
- var expanded = styleProps.noExpand ? null : (0, import_expandStyle.expandStyle)(key, value2);
5904
+ var expanded = styleProps.noExpand ? null : (0, import_expandStyle.expandStyle)(key, value);
5905
5905
  if (expanded) for (var max = expanded.length, i = 0; i < max; i++) {
5906
5906
  var [nkey, nvalue] = expanded[i];
5907
5907
  map(nkey, nvalue);
5908
5908
  }
5909
- else map(key, value2);
5909
+ else map(key, value);
5910
5910
  }
5911
5911
  }
5912
- }, resolveVariants = function(key, value2, styleProps, styleState, parentVariantKey) {
5912
+ }, resolveVariants = function(key, value, styleProps, styleState, parentVariantKey) {
5913
5913
  var { staticConfig, conf, debug } = styleState, { variants } = staticConfig;
5914
5914
  if (variants) {
5915
- var variantValue = getVariantDefinition(variants[key], value2, conf);
5915
+ var variantValue = getVariantDefinition(variants[key], value, conf);
5916
5916
  if (!variantValue) {
5917
- if (process.env.TAMAGUI_WARN_ON_MISSING_VARIANT === "1" && typeof value2 != "boolean") {
5917
+ if (process.env.TAMAGUI_WARN_ON_MISSING_VARIANT === "1" && typeof value != "boolean") {
5918
5918
  var name = staticConfig.componentName || "[UnnamedComponent]";
5919
- console.warn(`No variant found: ${name} has variant "${key}", but no matching value "${value2}"`);
5919
+ console.warn(`No variant found: ${name} has variant "${key}", but no matching value "${value}"`);
5920
5920
  }
5921
5921
  return;
5922
5922
  }
5923
5923
  if (typeof variantValue == "function") {
5924
5924
  var fn = variantValue, extras = (0, import_getVariantExtras.getVariantExtras)(styleState);
5925
- variantValue = fn(value2, extras);
5925
+ variantValue = fn(value, extras);
5926
5926
  }
5927
5927
  var fontFamilyResult;
5928
5928
  if ((0, import_isObj.isObj)(variantValue)) {
@@ -5945,10 +5945,10 @@ var require_propMapper_native = __commonJS({
5945
5945
  }
5946
5946
  } else if (typeof input == "string" && input[0] === "$") return input;
5947
5947
  }
5948
- var variableToFontNameCache = /* @__PURE__ */ new WeakMap(), resolveTokensAndVariants = function(key, value2, styleProps, styleState, parentVariantKey) {
5948
+ var variableToFontNameCache = /* @__PURE__ */ new WeakMap(), resolveTokensAndVariants = function(key, value, styleProps, styleState, parentVariantKey) {
5949
5949
  var { conf, staticConfig, debug, theme } = styleState, { variants } = staticConfig, res = {};
5950
- for (var _key in value2) {
5951
- var subKey = conf.shorthands[_key] || _key, val = value2[_key];
5950
+ for (var _key in value) {
5951
+ var subKey = conf.shorthands[_key] || _key, val = value[_key];
5952
5952
  if (!(!styleProps.noSkip && subKey in import_skipProps.skipProps)) {
5953
5953
  if (styleProps.noExpand) res[subKey] = val;
5954
5954
  else if (variants && subKey in variants) {
@@ -6012,17 +6012,17 @@ var require_propMapper_native = __commonJS({
6012
6012
  spreadName: `...${name}`
6013
6013
  };
6014
6014
  });
6015
- function getVariantDefinition(variant, value2, conf) {
6015
+ function getVariantDefinition(variant, value, conf) {
6016
6016
  if (variant) {
6017
6017
  if (typeof variant == "function") return variant;
6018
- var exact = variant[value2];
6018
+ var exact = variant[value];
6019
6019
  if (exact) return exact;
6020
- if (value2 != null) {
6020
+ if (value != null) {
6021
6021
  var { tokensParsed } = conf, _iteratorNormalCompletion = !0, _didIteratorError = !1, _iteratorError = void 0;
6022
6022
  try {
6023
6023
  for (var _iterator = tokenCats[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = !0) {
6024
6024
  var { name, spreadName } = _step.value;
6025
- if (spreadName in variant && name in tokensParsed && value2 in tokensParsed[name]) return variant[spreadName];
6025
+ if (spreadName in variant && name in tokensParsed && value in tokensParsed[name]) return variant[spreadName];
6026
6026
  }
6027
6027
  } catch (err) {
6028
6028
  _didIteratorError = !0, _iteratorError = err;
@@ -6034,32 +6034,32 @@ var require_propMapper_native = __commonJS({
6034
6034
  }
6035
6035
  }
6036
6036
  var fontSizeVariant = variant["...fontSize"];
6037
- if (fontSizeVariant && conf.fontSizeTokens.has(value2)) return fontSizeVariant;
6037
+ if (fontSizeVariant && conf.fontSizeTokens.has(value)) return fontSizeVariant;
6038
6038
  }
6039
- return variant[`:${typeof value2}`] || variant["..."];
6039
+ return variant[`:${typeof value}`] || variant["..."];
6040
6040
  }
6041
6041
  }
6042
6042
  var fontShorthand = {
6043
6043
  fontSize: "size",
6044
6044
  fontWeight: "weight"
6045
- }, lastFontFamilyToken = null, getTokenForKey = function(key, value2, styleProps, styleState) {
6045
+ }, lastFontFamilyToken = null, getTokenForKey = function(key, value, styleProps, styleState) {
6046
6046
  var _staticConfig_accept, resolveAs = styleProps.resolveValues || "none";
6047
- if (resolveAs === "none") return value2;
6048
- var { theme, conf = (0, import_config.getConfig)(), context, fontFamily, staticConfig } = styleState, themeValue = theme ? theme[value2] || theme[value2.slice(1)] : void 0, tokensParsed = conf.tokensParsed, valOrVar, hasSet = !1, customTokenAccept = staticConfig == null || (_staticConfig_accept = staticConfig.accept) === null || _staticConfig_accept === void 0 ? void 0 : _staticConfig_accept[key];
6047
+ if (resolveAs === "none") return value;
6048
+ var { theme, conf = (0, import_config.getConfig)(), context, fontFamily, staticConfig } = styleState, themeValue = theme ? theme[value] || theme[value.slice(1)] : void 0, tokensParsed = conf.tokensParsed, valOrVar, hasSet = !1, customTokenAccept = staticConfig == null || (_staticConfig_accept = staticConfig.accept) === null || _staticConfig_accept === void 0 ? void 0 : _staticConfig_accept[key];
6049
6049
  if (customTokenAccept) {
6050
- var val = themeValue ?? tokensParsed[customTokenAccept][value2];
6050
+ var val = themeValue ?? tokensParsed[customTokenAccept][value];
6051
6051
  val != null && (resolveAs = "value", valOrVar = val, hasSet = !0);
6052
6052
  }
6053
6053
  if (themeValue) {
6054
- if (resolveAs === "except-theme") return value2;
6054
+ if (resolveAs === "except-theme") return value;
6055
6055
  valOrVar = themeValue, hasSet = !0;
6056
6056
  } else {
6057
- if (value2 in conf.specificTokens) hasSet = !0, valOrVar = conf.specificTokens[value2];
6057
+ if (value in conf.specificTokens) hasSet = !0, valOrVar = conf.specificTokens[value];
6058
6058
  else {
6059
6059
  switch (key) {
6060
6060
  case "fontFamily": {
6061
6061
  var _fontsParsed_value, fontsParsed = context != null && context.language ? (0, import_getVariantExtras.getFontsForLanguage)(conf.fontsParsed, context.language) : conf.fontsParsed;
6062
- valOrVar = ((_fontsParsed_value = fontsParsed[value2]) === null || _fontsParsed_value === void 0 ? void 0 : _fontsParsed_value.family) || value2, lastFontFamilyToken = value2, hasSet = !0;
6062
+ valOrVar = ((_fontsParsed_value = fontsParsed[value]) === null || _fontsParsed_value === void 0 ? void 0 : _fontsParsed_value.family) || value, lastFontFamilyToken = value, hasSet = !0;
6063
6063
  break;
6064
6064
  }
6065
6065
  case "fontSize":
@@ -6069,18 +6069,18 @@ var require_propMapper_native = __commonJS({
6069
6069
  var fam = fontFamily || conf.defaultFontToken;
6070
6070
  if (fam) {
6071
6071
  var _font_, fontsParsed1 = context != null && context.language ? (0, import_getVariantExtras.getFontsForLanguage)(conf.fontsParsed, context.language) : conf.fontsParsed, font = fontsParsed1[fam] || fontsParsed1[conf.defaultFontToken];
6072
- valOrVar = (font == null || (_font_ = font[fontShorthand[key] || key]) === null || _font_ === void 0 ? void 0 : _font_[value2]) || value2, hasSet = !0;
6072
+ valOrVar = (font == null || (_font_ = font[fontShorthand[key] || key]) === null || _font_ === void 0 ? void 0 : _font_[value]) || value, hasSet = !0;
6073
6073
  }
6074
6074
  break;
6075
6075
  }
6076
6076
  }
6077
6077
  for (var cat in import_helpers.tokenCategories) if (key in import_helpers.tokenCategories[cat]) {
6078
- var res = tokensParsed[cat][value2];
6078
+ var res = tokensParsed[cat][value];
6079
6079
  res != null && (valOrVar = res, hasSet = !0);
6080
6080
  }
6081
6081
  }
6082
6082
  if (!hasSet) {
6083
- var spaceVar = tokensParsed.space[value2];
6083
+ var spaceVar = tokensParsed.space[value];
6084
6084
  spaceVar != null && (valOrVar = spaceVar, hasSet = !0);
6085
6085
  }
6086
6086
  }
@@ -6205,8 +6205,8 @@ var require_transformsToString_native = __commonJS({
6205
6205
  // { matrix: [1,2,3,4,5,6] } => 'matrix(1,2,3,4,5,6)'
6206
6206
  // { perspective: 1000 } => perspective(1000px)
6207
6207
  function(transform) {
6208
- var type = Object.keys(transform)[0], value2 = transform[type];
6209
- return type === "matrix" || type === "matrix3d" ? `${type}(${value2.join(",")})` : `${type}(${(0, import_normalizeValueWithProperty.normalizeValueWithProperty)(value2, type)})`;
6208
+ var type = Object.keys(transform)[0], value = transform[type];
6209
+ return type === "matrix" || type === "matrix3d" ? `${type}(${value.join(",")})` : `${type}(${(0, import_normalizeValueWithProperty.normalizeValueWithProperty)(value, type)})`;
6210
6210
  }
6211
6211
  ).join(" ");
6212
6212
  }
@@ -6553,7 +6553,7 @@ var require_getSplitStyles_native = __commonJS({
6553
6553
  if (!styleState.style.$$css) {
6554
6554
  var atomic, _iteratorNormalCompletion, _didIteratorError, _iteratorError;
6555
6555
  try {
6556
- for (var _iterator, _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = !0) var atomicStyle, _props_animateOnly, _props_animateOnly1, key2, value2, identifier, isAnimatedAndAnimateOnly, nonAnimatedAnimateOnly;
6556
+ for (var _iterator, _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = !0) var atomicStyle, _props_animateOnly, _props_animateOnly1, key2, value, identifier, isAnimatedAndAnimateOnly, nonAnimatedAnimateOnly;
6557
6557
  } catch (err) {
6558
6558
  } finally {
6559
6559
  }
@@ -6715,14 +6715,14 @@ var require_getSplitStyles_native = __commonJS({
6715
6715
  delete viewProps[key], viewProps[key] = next;
6716
6716
  } else viewProps[key] = val;
6717
6717
  }
6718
- function mergeMediaByImportance(styleState, mediaKey, key, value2, isSizeMedia, importanceBump, debugProp) {
6718
+ function mergeMediaByImportance(styleState, mediaKey, key, value, isSizeMedia, importanceBump, debugProp) {
6719
6719
  var usedKeys = styleState.usedKeys, importance = (0, import_useMedia.getMediaImportanceIfMoreImportant)(mediaKey, key, styleState, isSizeMedia);
6720
6720
  if (importanceBump && (importance = (importance || 0) + importanceBump), importance === null) return !1;
6721
6721
  if (key in import_pseudoDescriptors.pseudoDescriptors) {
6722
6722
  var descriptor = import_pseudoDescriptors.pseudoDescriptors[key], descriptorKey = descriptor.stateKey || descriptor.name, isDisabled = styleState.componentState[descriptorKey] === !1;
6723
6723
  if (isDisabled) return !1;
6724
- for (var subKey in value2) mergeStyle(styleState, subKey, value2[subKey], importance);
6725
- } else mergeStyle(styleState, key, value2, importance);
6724
+ for (var subKey in value) mergeStyle(styleState, subKey, value[subKey], importance);
6725
+ } else mergeStyle(styleState, key, value, importance);
6726
6726
  return !0;
6727
6727
  }
6728
6728
  function normalizeStyle(style) {
@@ -7332,14 +7332,14 @@ var require_getThemeProxied_native = __commonJS({
7332
7332
  curKeys && (curKeys.current || (curKeys.current = /* @__PURE__ */ new Set()), curKeys.current.add(key));
7333
7333
  }
7334
7334
  var proxied1 = Object.fromEntries(Object.entries(_state.theme).flatMap(function(param) {
7335
- var [key, value2] = param, proxied2 = {
7336
- ...value2,
7335
+ var [key, value] = param, proxied2 = {
7336
+ ...value,
7337
7337
  get val() {
7338
- return globalThis.tamaguiAvoidTracking || track(key), value2.val;
7338
+ return globalThis.tamaguiAvoidTracking || track(key), value.val;
7339
7339
  },
7340
7340
  get(platform2) {
7341
7341
  if (curState) {
7342
- var outVal = (0, import_createVariable.getVariable)(value2), { name, scheme, inverses } = curState, shouldOptimize = scheme && platform2 !== "web" && import_constants4.isIos && !curProps.deopt && (0, import_config.getSetting)("fastSchemeChange") && inverses === 0 && (0, import_doesRootSchemeMatchSystem.doesRootSchemeMatchSystem)();
7342
+ var outVal = (0, import_createVariable.getVariable)(value), { name, scheme, inverses } = curState, shouldOptimize = scheme && platform2 !== "web" && import_constants4.isIos && !curProps.deopt && (0, import_config.getSetting)("fastSchemeChange") && inverses === 0 && (0, import_doesRootSchemeMatchSystem.doesRootSchemeMatchSystem)();
7343
7343
  if (shouldOptimize) {
7344
7344
  var _config_themes_name, _config_themes_oppositeName, oppositeScheme = scheme === "dark" ? "light" : "dark", oppositeName = name.replace(scheme, oppositeScheme), color = (0, import_createVariable.getVariable)((_config_themes_name = config.themes[name]) === null || _config_themes_name === void 0 ? void 0 : _config_themes_name[key]), oppositeColor = (0, import_createVariable.getVariable)((_config_themes_oppositeName = config.themes[oppositeName]) === null || _config_themes_oppositeName === void 0 ? void 0 : _config_themes_oppositeName[key]), dynamicVal = (0, import_getDynamicVal.getDynamicVal)({
7345
7345
  scheme,
@@ -7889,11 +7889,11 @@ var require_index_native14 = __commonJS({
7889
7889
  };
7890
7890
  function useDidFinishSSR2() {
7891
7891
  var clientOnly = React4.useContext(import_ClientOnly.ClientOnlyContext);
7892
- return value != null ? value : !0;
7892
+ return !0;
7893
7893
  }
7894
- function useClientValue(value1) {
7894
+ function useClientValue(value) {
7895
7895
  var done = useDidFinishSSR2();
7896
- return done ? typeof value1 == "function" ? value1() : value1 : void 0;
7896
+ return done ? typeof value == "function" ? value() : value : void 0;
7897
7897
  }
7898
7898
  }
7899
7899
  });
@@ -9362,10 +9362,10 @@ var require_createFont_native = __commonJS({
9362
9362
  ...sectionKeys
9363
9363
  ])
9364
9364
  ].map(function(key) {
9365
- var _section_key, _ref, value2 = (_ref = (_section_key = section[key]) !== null && _section_key !== void 0 ? _section_key : defaultValue) !== null && _ref !== void 0 ? _ref : fillValue;
9366
- return fillValue = value2, defaultValue = value2, [
9365
+ var _section_key, _ref, value = (_ref = (_section_key = section[key]) !== null && _section_key !== void 0 ? _section_key : defaultValue) !== null && _ref !== void 0 ? _ref : fillValue;
9366
+ return fillValue = value, defaultValue = value, [
9367
9367
  key,
9368
- value2
9368
+ value
9369
9369
  ];
9370
9370
  }));
9371
9371
  }, createFont2 = function(font) {
@@ -9581,7 +9581,7 @@ var require_createTamagui_native = __commonJS({
9581
9581
  var sep;
9582
9582
  if (fontDeclarations) for (var key22 in fontDeclarations) var name1, declarations1, language1, fontSelector, langSelector, selectors, specificRuleSet;
9583
9583
  }
9584
- var themesIn = configIn.themes, dedupedThemes = foundThemes ?? getThemesDeduped(themesIn), themes = (0, import_proxyThemeToParents.proxyThemesToParents)(dedupedThemes);
9584
+ var themesIn = configIn.themes, dedupedThemes = foundThemes ?? getThemesDeduped(themesIn, tokens.color), themes = (0, import_proxyThemeToParents.proxyThemesToParents)(dedupedThemes);
9585
9585
  return {
9586
9586
  themes,
9587
9587
  cssRuleSets,
@@ -9683,7 +9683,7 @@ var require_createTamagui_native = __commonJS({
9683
9683
  var _process_env_DEBUG;
9684
9684
  return config;
9685
9685
  }
9686
- function getThemesDeduped(themes) {
9686
+ function getThemesDeduped(themes, colorTokens) {
9687
9687
  var dedupedThemes = [], existing = /* @__PURE__ */ new Map();
9688
9688
  for (var themeName in themes) {
9689
9689
  var darkOrLightSpecificPrefix = themeName.startsWith("dark") ? "dark" : themeName.startsWith("light") ? "light" : "", rawTheme = themes[themeName], key = darkOrLightSpecificPrefix + JSON.stringify(rawTheme);
@@ -9695,6 +9695,7 @@ var require_createTamagui_native = __commonJS({
9695
9695
  var theme = {
9696
9696
  ...rawTheme
9697
9697
  };
9698
+ colorTokens && Object.assign(theme, colorTokens);
9698
9699
  for (var key1 in theme) (0, import_themes.ensureThemeVariable)(theme, key1);
9699
9700
  var deduped = {
9700
9701
  names: [
@@ -10933,12 +10934,13 @@ var require_FontLanguage_native = __commonJS({
10933
10934
  });
10934
10935
  module2.exports = __toCommonJS2(FontLanguage_native_exports);
10935
10936
  var import_jsx_runtime6 = require("react/jsx-runtime"), import_react3 = __toESM2(require("react")), import_ComponentContext = require_ComponentContext_native(), FontLanguage2 = function(param) {
10936
- var { children, ...props } = param, language = import_react3.default.useMemo(function() {
10937
+ var { children, ...props } = param, parentProps = import_react3.default.useContext(import_ComponentContext.ComponentContext), language = import_react3.default.useMemo(function() {
10937
10938
  return props;
10938
10939
  }, [
10939
10940
  JSON.stringify(props)
10940
10941
  ]);
10941
10942
  return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_ComponentContext.ComponentContext.Provider, {
10943
+ ...parentProps,
10942
10944
  language,
10943
10945
  children
10944
10946
  });
@@ -11536,41 +11538,41 @@ var require_matchQuery_native = __commonJS({
11536
11538
  var inverse = query.inverse, typeMatch = query.type === "all" || values.type === query.type;
11537
11539
  if (typeMatch && inverse || !(typeMatch || inverse)) return !1;
11538
11540
  var expressionsMatch = query.expressions.every(function(expression) {
11539
- var feature = expression.feature, modifier = expression.modifier, expValue = expression.value, value2 = values[feature];
11540
- if (!value2) return !1;
11541
+ var feature = expression.feature, modifier = expression.modifier, expValue = expression.value, value = values[feature];
11542
+ if (!value) return !1;
11541
11543
  switch (feature) {
11542
11544
  case "orientation":
11543
11545
  case "scan":
11544
- return value2.toLowerCase() === expValue.toLowerCase();
11546
+ return value.toLowerCase() === expValue.toLowerCase();
11545
11547
  case "width":
11546
11548
  case "height":
11547
11549
  case "device-width":
11548
11550
  case "device-height":
11549
- expValue = toPx(expValue), value2 = toPx(value2);
11551
+ expValue = toPx(expValue), value = toPx(value);
11550
11552
  break;
11551
11553
  case "resolution":
11552
- expValue = toDpi(expValue), value2 = toDpi(value2);
11554
+ expValue = toDpi(expValue), value = toDpi(value);
11553
11555
  break;
11554
11556
  case "aspect-ratio":
11555
11557
  case "device-aspect-ratio":
11556
11558
  case /* Deprecated */
11557
11559
  "device-pixel-ratio":
11558
- expValue = toDecimal(expValue), value2 = toDecimal(value2);
11560
+ expValue = toDecimal(expValue), value = toDecimal(value);
11559
11561
  break;
11560
11562
  case "grid":
11561
11563
  case "color":
11562
11564
  case "color-index":
11563
11565
  case "monochrome":
11564
- expValue = Number.parseInt(expValue, 10) || 1, value2 = Number.parseInt(value2, 10) || 0;
11566
+ expValue = Number.parseInt(expValue, 10) || 1, value = Number.parseInt(value, 10) || 0;
11565
11567
  break;
11566
11568
  }
11567
11569
  switch (modifier) {
11568
11570
  case "min":
11569
- return value2 >= expValue;
11571
+ return value >= expValue;
11570
11572
  case "max":
11571
- return value2 <= expValue;
11573
+ return value <= expValue;
11572
11574
  default:
11573
- return value2 === expValue;
11575
+ return value === expValue;
11574
11576
  }
11575
11577
  });
11576
11578
  return expressionsMatch && !inverse || !expressionsMatch && inverse;
@@ -11602,35 +11604,35 @@ var require_matchQuery_native = __commonJS({
11602
11604
  return decimal || (numbers = ratio.match(/^(\d+)\s*\/\s*(\d+)$/), decimal = numbers[1] / numbers[2]), decimal;
11603
11605
  }
11604
11606
  function toDpi(resolution) {
11605
- var _String_match, value2 = Number.parseFloat(resolution), units = (_String_match = String(resolution).match(RE_RESOLUTION_UNIT)) === null || _String_match === void 0 ? void 0 : _String_match[1];
11607
+ var _String_match, value = Number.parseFloat(resolution), units = (_String_match = String(resolution).match(RE_RESOLUTION_UNIT)) === null || _String_match === void 0 ? void 0 : _String_match[1];
11606
11608
  switch (units) {
11607
11609
  case "dpcm":
11608
- return value2 / 2.54;
11610
+ return value / 2.54;
11609
11611
  case "dppx":
11610
- return value2 * 96;
11612
+ return value * 96;
11611
11613
  default:
11612
- return value2;
11614
+ return value;
11613
11615
  }
11614
11616
  }
11615
11617
  function toPx(length) {
11616
- var _String_match, value2 = Number.parseFloat(length), units = (_String_match = String(length).match(RE_LENGTH_UNIT)) === null || _String_match === void 0 ? void 0 : _String_match[1];
11618
+ var _String_match, value = Number.parseFloat(length), units = (_String_match = String(length).match(RE_LENGTH_UNIT)) === null || _String_match === void 0 ? void 0 : _String_match[1];
11617
11619
  switch (units) {
11618
11620
  case "em":
11619
- return value2 * 16;
11621
+ return value * 16;
11620
11622
  case "rem":
11621
- return value2 * 16;
11623
+ return value * 16;
11622
11624
  case "cm":
11623
- return value2 * 96 / 2.54;
11625
+ return value * 96 / 2.54;
11624
11626
  case "mm":
11625
- return value2 * 96 / 2.54 / 10;
11627
+ return value * 96 / 2.54 / 10;
11626
11628
  case "in":
11627
- return value2 * 96;
11629
+ return value * 96;
11628
11630
  case "pt":
11629
- return value2 * 72;
11631
+ return value * 72;
11630
11632
  case "pc":
11631
- return value2 * 72 / 12;
11633
+ return value * 72 / 12;
11632
11634
  default:
11633
- return value2;
11635
+ return value;
11634
11636
  }
11635
11637
  }
11636
11638
  }
@@ -11692,13 +11694,13 @@ var require_mediaQueryList_native = __commonJS({
11692
11694
  function _create_class(Constructor, protoProps, staticProps) {
11693
11695
  return protoProps && _defineProperties(Constructor.prototype, protoProps), staticProps && _defineProperties(Constructor, staticProps), Constructor;
11694
11696
  }
11695
- function _define_property(obj, key, value2) {
11697
+ function _define_property(obj, key, value) {
11696
11698
  return key in obj ? Object.defineProperty(obj, key, {
11697
- value: value2,
11699
+ value,
11698
11700
  enumerable: !0,
11699
11701
  configurable: !0,
11700
11702
  writable: !0
11701
- }) : obj[key] = value2, obj;
11703
+ }) : obj[key] = value, obj;
11702
11704
  }
11703
11705
  var NativeMediaQueryList = /* @__PURE__ */ function() {
11704
11706
  "use strict";
@@ -12368,13 +12370,13 @@ var require_ResponderTouchHistoryStore_native = __commonJS({
12368
12370
  function _create_class(Constructor, protoProps, staticProps) {
12369
12371
  return protoProps && _defineProperties(Constructor.prototype, protoProps), staticProps && _defineProperties(Constructor, staticProps), Constructor;
12370
12372
  }
12371
- function _define_property(obj, key, value2) {
12373
+ function _define_property(obj, key, value) {
12372
12374
  return key in obj ? Object.defineProperty(obj, key, {
12373
- value: value2,
12375
+ value,
12374
12376
  enumerable: !0,
12375
12377
  configurable: !0,
12376
12378
  writable: !0
12377
- }) : obj[key] = value2, obj;
12379
+ }) : obj[key] = value, obj;
12378
12380
  }
12379
12381
  var ResponderTouchHistoryStore = /* @__PURE__ */ function() {
12380
12382
  "use strict";
@@ -15341,24 +15343,24 @@ var require_Accordion_native = __commonJS({
15341
15343
  AccordionComponent.displayName = ACCORDION_NAME;
15342
15344
  AccordionComponent.propTypes = {
15343
15345
  type(props) {
15344
- var value2 = props.value || props.defaultValue;
15346
+ var value = props.value || props.defaultValue;
15345
15347
  return props.type && ![
15346
15348
  "single",
15347
15349
  "multiple"
15348
- ].includes(props.type) ? new Error("Invalid prop `type` supplied to `Accordion`. Expected one of `single | multiple`.") : props.type === "multiple" && typeof value2 == "string" ? new Error("Invalid prop `type` supplied to `Accordion`. Expected `single` when `defaultValue` or `value` is type `string`.") : props.type === "single" && Array.isArray(value2) ? new Error("Invalid prop `type` supplied to `Accordion`. Expected `multiple` when `defaultValue` or `value` is type `string[]`.") : null;
15350
+ ].includes(props.type) ? new Error("Invalid prop `type` supplied to `Accordion`. Expected one of `single | multiple`.") : props.type === "multiple" && typeof value == "string" ? new Error("Invalid prop `type` supplied to `Accordion`. Expected `single` when `defaultValue` or `value` is type `string`.") : props.type === "single" && Array.isArray(value) ? new Error("Invalid prop `type` supplied to `Accordion`. Expected `multiple` when `defaultValue` or `value` is type `string[]`.") : null;
15349
15351
  }
15350
15352
  };
15351
15353
  var { Provider: AccordionValueProvider, useStyledContext: useAccordionValueContext } = (0, import_core12.createStyledContext)(), { Provider: AccordionCollapsibleProvider, useStyledContext: useAccordionCollapsibleContext } = (0, import_core12.createStyledContext)(), AccordionImplSingle = /* @__PURE__ */ React4.forwardRef(function(props, forwardedRef) {
15352
15354
  var { value: valueProp, defaultValue, control, onValueChange = function() {
15353
- }, collapsible = !1, ...accordionSingleProps } = props, [value2, setValue] = (0, import_use_controllable_state.useControllableState)({
15355
+ }, collapsible = !1, ...accordionSingleProps } = props, [value, setValue] = (0, import_use_controllable_state.useControllableState)({
15354
15356
  prop: valueProp,
15355
15357
  defaultProp: defaultValue || "",
15356
15358
  onChange: onValueChange
15357
15359
  });
15358
15360
  return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(AccordionValueProvider, {
15359
15361
  scope: props.__scopeAccordion,
15360
- value: value2 ? [
15361
- value2
15362
+ value: value ? [
15363
+ value
15362
15364
  ] : [],
15363
15365
  onItemOpen: setValue,
15364
15366
  onItemClose: React4.useCallback(function() {
@@ -15378,7 +15380,7 @@ var require_Accordion_native = __commonJS({
15378
15380
  });
15379
15381
  }), AccordionImplMultiple = /* @__PURE__ */ React4.forwardRef(function(props, forwardedRef) {
15380
15382
  var { value: valueProp, defaultValue, onValueChange = function() {
15381
- }, ...accordionMultipleProps } = props, [value2, setValue] = (0, import_use_controllable_state.useControllableState)({
15383
+ }, ...accordionMultipleProps } = props, [value, setValue] = (0, import_use_controllable_state.useControllableState)({
15382
15384
  prop: valueProp,
15383
15385
  defaultProp: defaultValue || [],
15384
15386
  onChange: onValueChange
@@ -15395,8 +15397,8 @@ var require_Accordion_native = __commonJS({
15395
15397
  ]), handleItemClose = React4.useCallback(function(itemValue) {
15396
15398
  return setValue(function() {
15397
15399
  var prevValue = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [];
15398
- return prevValue.filter(function(value22) {
15399
- return value22 !== itemValue;
15400
+ return prevValue.filter(function(value2) {
15401
+ return value2 !== itemValue;
15400
15402
  });
15401
15403
  });
15402
15404
  }, [
@@ -15404,7 +15406,7 @@ var require_Accordion_native = __commonJS({
15404
15406
  ]);
15405
15407
  return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(AccordionValueProvider, {
15406
15408
  scope: props.__scopeAccordion,
15407
- value: value2 || [],
15409
+ value: value || [],
15408
15410
  onItemOpen: handleItemOpen,
15409
15411
  onItemClose: handleItemClose,
15410
15412
  children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(AccordionCollapsibleProvider, {
@@ -15476,7 +15478,7 @@ var require_Accordion_native = __commonJS({
15476
15478
  })
15477
15479
  });
15478
15480
  }), ITEM_NAME = "AccordionItem", { Provider: AccordionItemProvider, useStyledContext: useAccordionItemContext } = (0, import_core12.createStyledContext)(), AccordionItem = /* @__PURE__ */ React4.forwardRef(function(props, forwardedRef) {
15479
- var { __scopeAccordion, value: value2, ...accordionItemProps } = props, accordionContext = useAccordionContext(__scopeAccordion), valueContext = useAccordionValueContext(__scopeAccordion), triggerId = React4.useId(), open = value2 && valueContext.value.includes(value2) || !1, disabled = accordionContext.disabled || props.disabled;
15481
+ var { __scopeAccordion, value, ...accordionItemProps } = props, accordionContext = useAccordionContext(__scopeAccordion), valueContext = useAccordionValueContext(__scopeAccordion), triggerId = React4.useId(), open = value && valueContext.value.includes(value) || !1, disabled = accordionContext.disabled || props.disabled;
15480
15482
  return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(AccordionItemProvider, {
15481
15483
  scope: __scopeAccordion,
15482
15484
  open,
@@ -15491,7 +15493,7 @@ var require_Accordion_native = __commonJS({
15491
15493
  disabled,
15492
15494
  open,
15493
15495
  onOpenChange: function(open2) {
15494
- open2 ? valueContext.onItemOpen(value2) : valueContext.onItemClose(value2);
15496
+ open2 ? valueContext.onItemOpen(value) : valueContext.onItemClose(value);
15495
15497
  }
15496
15498
  })
15497
15499
  });
@@ -16084,9 +16086,9 @@ var require_GorhomPortal_native = __commonJS({
16084
16086
  };
16085
16087
  }, PortalProviderComponent = function(param) {
16086
16088
  var { rootHostName = "root", shouldAddRootHost = !0, children } = param, [state, dispatch] = (0, import_react3.useReducer)(reducer, INITIAL_STATE), transitionDispatch = (0, import_react3.useMemo)(function() {
16087
- var next = function(value2) {
16089
+ var next = function(value) {
16088
16090
  (0, import_start_transition.startTransition)(function() {
16089
- dispatch(value2);
16091
+ dispatch(value);
16090
16092
  });
16091
16093
  };
16092
16094
  return next;
@@ -16766,11 +16768,11 @@ var require_create_context_native = __commonJS({
16766
16768
  function createContext(rootComponentName, defaultContext) {
16767
16769
  var Context = /* @__PURE__ */ React4.createContext(defaultContext);
16768
16770
  function Provider(props) {
16769
- var { children, ...context } = props, value2 = React4.useMemo(function() {
16771
+ var { children, ...context } = props, value = React4.useMemo(function() {
16770
16772
  return context;
16771
16773
  }, Object.values(context));
16772
16774
  return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Context.Provider, {
16773
- value: value2,
16775
+ value,
16774
16776
  children
16775
16777
  });
16776
16778
  }
@@ -16794,11 +16796,11 @@ var require_create_context_native = __commonJS({
16794
16796
  defaultContext
16795
16797
  ];
16796
16798
  function Provider(props) {
16797
- var _scope_scopeName, { scope, children, ...context } = props, Context = (scope == null || (_scope_scopeName = scope[scopeName]) === null || _scope_scopeName === void 0 ? void 0 : _scope_scopeName[index]) || BaseContext, value2 = React4.useMemo(function() {
16799
+ var _scope_scopeName, { scope, children, ...context } = props, Context = (scope == null || (_scope_scopeName = scope[scopeName]) === null || _scope_scopeName === void 0 ? void 0 : _scope_scopeName[index]) || BaseContext, value = React4.useMemo(function() {
16798
16800
  return context;
16799
16801
  }, Object.values(context));
16800
16802
  return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Context.Provider, {
16801
- value: value2,
16803
+ value,
16802
16804
  children
16803
16805
  });
16804
16806
  }
@@ -18027,8 +18029,8 @@ var require_SheetImplementationCustom_native = __commonJS({
18027
18029
  useAnimatedNumberReaction({
18028
18030
  value: animatedNumber,
18029
18031
  hostRef: sheetRef
18030
- }, import_react3.default.useCallback(function(value2) {
18031
- at.current = value2, scrollBridge.paneY = value2;
18032
+ }, import_react3.default.useCallback(function(value) {
18033
+ at.current = value, scrollBridge.paneY = value;
18032
18034
  }, [
18033
18035
  animationDriver
18034
18036
  ]));
@@ -21632,7 +21634,7 @@ var require_focusableInputHOC_native = __commonJS({
21632
21634
  module2.exports = __toCommonJS2(focusableInputHOC_exports);
21633
21635
  var import_compose_refs = require_index_native11(), import_web = require_index_native15(), import_react3 = __toESM2(require("react")), import_registerFocusable = require_registerFocusable_native();
21634
21636
  function useFocusable2(param) {
21635
- var { isInput, props, ref } = param, { id, onChangeText, value: value2, defaultValue } = props, inputValue = import_react3.default.useRef(value2 || defaultValue || ""), unregisterFocusable = import_react3.default.useRef(void 0), focusAndSelect = import_react3.default.useCallback(function(input) {
21637
+ var { isInput, props, ref } = param, { id, onChangeText, value, defaultValue } = props, inputValue = import_react3.default.useRef(value || defaultValue || ""), unregisterFocusable = import_react3.default.useRef(void 0), focusAndSelect = import_react3.default.useCallback(function(input) {
21636
21638
  input.focus(), input.setSelection && typeof inputValue.current == "string" && input.setSelection(0, inputValue.current.length);
21637
21639
  }, []), registerFocusableHandler = import_react3.default.useCallback(function(input) {
21638
21640
  var _unregisterFocusable_current;
@@ -21652,8 +21654,8 @@ var require_focusableInputHOC_native = __commonJS({
21652
21654
  input && registerFocusableHandler(input);
21653
21655
  }, [
21654
21656
  registerFocusableHandler
21655
- ]), handleChangeText = (0, import_web.useEvent)(function(value22) {
21656
- inputValue.current = value22, onChangeText == null || onChangeText(value22);
21657
+ ]), handleChangeText = (0, import_web.useEvent)(function(value2) {
21658
+ inputValue.current = value2, onChangeText == null || onChangeText(value2);
21657
21659
  });
21658
21660
  return import_react3.default.useEffect(function() {
21659
21661
  return function() {
@@ -22005,15 +22007,15 @@ var require_index_native49 = __commonJS({
22005
22007
  });
22006
22008
  module2.exports = __toCommonJS2(index_exports2);
22007
22009
  var React4 = __toESM2(require("react"));
22008
- function usePrevious(value2) {
22010
+ function usePrevious(value) {
22009
22011
  var ref = React4.useRef({
22010
- value: value2,
22011
- previous: value2
22012
+ value,
22013
+ previous: value
22012
22014
  });
22013
22015
  return React4.useMemo(function() {
22014
- return ref.current.value !== value2 && (ref.current.previous = ref.current.value, ref.current.value = value2), ref.current.previous;
22016
+ return ref.current.value !== value && (ref.current.previous = ref.current.value, ref.current.value = value), ref.current.previous;
22015
22017
  }, [
22016
- value2
22018
+ value
22017
22019
  ]);
22018
22020
  }
22019
22021
  }
@@ -22225,7 +22227,7 @@ var require_useCheckbox_native = __commonJS({
22225
22227
  module2.exports = __toCommonJS2(useCheckbox_exports);
22226
22228
  var import_jsx_runtime6 = require("react/jsx-runtime"), import_compose_refs = require_index_native11(), import_constants4 = require_index_native(), import_helpers = require_index_native7(), import_label = require_index_native48(), import_react3 = __toESM2(require("react")), import_BubbleInput = require_BubbleInput_native(), import_utils = require_utils_native2();
22227
22229
  function useCheckbox(props, param, ref) {
22228
- var [checked, setChecked] = param, { labelledBy: ariaLabelledby, name, required, disabled, value: value2 = "on", onCheckedChange, ...checkboxProps } = props, [button, setButton] = import_react3.default.useState(null), composedRefs = (0, import_compose_refs.useComposedRefs)(ref, setButton), hasConsumerStoppedPropagationRef = import_react3.default.useRef(!1), isFormControl = import_constants4.isWeb ? button ? !!button.closest("form") : !0 : !1, labelId = (0, import_label.useLabelContext)(button), labelledBy = ariaLabelledby || labelId, parentKeyDown = props.onKeyDown, handleKeyDown = (0, import_react3.useMemo)(function() {
22230
+ var [checked, setChecked] = param, { labelledBy: ariaLabelledby, name, required, disabled, value = "on", onCheckedChange, ...checkboxProps } = props, [button, setButton] = import_react3.default.useState(null), composedRefs = (0, import_compose_refs.useComposedRefs)(ref, setButton), hasConsumerStoppedPropagationRef = import_react3.default.useRef(!1), isFormControl = import_constants4.isWeb ? button ? !!button.closest("form") : !0 : !1, labelId = (0, import_label.useLabelContext)(button), labelledBy = ariaLabelledby || labelId, parentKeyDown = props.onKeyDown, handleKeyDown = (0, import_react3.useMemo)(function() {
22229
22231
  return (0, import_helpers.composeEventHandlers)(parentKeyDown, function(event) {
22230
22232
  event.key === "Enter" && event.preventDefault();
22231
22233
  });
@@ -22246,7 +22248,7 @@ var require_useCheckbox_native = __commonJS({
22246
22248
  control: button,
22247
22249
  bubbles: !hasConsumerStoppedPropagationRef.current,
22248
22250
  name,
22249
- value: value2,
22251
+ value,
22250
22252
  checked,
22251
22253
  required,
22252
22254
  disabled
@@ -22259,7 +22261,7 @@ var require_useCheckbox_native = __commonJS({
22259
22261
  ...checkboxProps,
22260
22262
  ...import_constants4.isWeb && {
22261
22263
  type: "button",
22262
- value: value2,
22264
+ value,
22263
22265
  "data-state": (0, import_utils.getState)(checked),
22264
22266
  "data-disabled": disabled ? "" : void 0,
22265
22267
  disabled,
@@ -22403,8 +22405,8 @@ var require_createCheckbox_native = __commonJS({
22403
22405
  import_react3.default.useEffect(function() {
22404
22406
  if (props.id && !props.disabled) return (0, import_focusable2.registerFocusable)(props.id, {
22405
22407
  focusAndSelect: function() {
22406
- setChecked == null || setChecked(function(value2) {
22407
- return !value2;
22408
+ setChecked == null || setChecked(function(value) {
22409
+ return !value;
22408
22410
  });
22409
22411
  },
22410
22412
  focus: function() {
@@ -24849,20 +24851,20 @@ var require_Progress_native = __commonJS({
24849
24851
  animation: context.width ? animation : null
24850
24852
  });
24851
24853
  });
24852
- function defaultGetValueLabel(value2, max) {
24853
- return `${Math.round(value2 / max * 100)}%`;
24854
+ function defaultGetValueLabel(value, max) {
24855
+ return `${Math.round(value / max * 100)}%`;
24854
24856
  }
24855
- function getProgressState(value2, maxValue) {
24856
- return value2 == null ? "indeterminate" : value2 === maxValue ? "complete" : "loading";
24857
+ function getProgressState(value, maxValue) {
24858
+ return value == null ? "indeterminate" : value === maxValue ? "complete" : "loading";
24857
24859
  }
24858
- function isNumber(value2) {
24859
- return typeof value2 == "number";
24860
+ function isNumber(value) {
24861
+ return typeof value == "number";
24860
24862
  }
24861
24863
  function isValidMaxNumber(max) {
24862
24864
  return isNumber(max) && !Number.isNaN(max) && max > 0;
24863
24865
  }
24864
- function isValidValueNumber(value2, max) {
24865
- return isNumber(value2) && !Number.isNaN(value2) && value2 <= max && value2 >= 0;
24866
+ function isValidValueNumber(value, max) {
24867
+ return isNumber(value) && !Number.isNaN(value) && value <= max && value >= 0;
24866
24868
  }
24867
24869
  var DEFAULT_MAX = 100, ProgressFrame = (0, import_core12.styled)(import_stacks3.ThemeableStack, {
24868
24870
  name: "Progress",
@@ -24897,21 +24899,21 @@ var require_Progress_native = __commonJS({
24897
24899
  getValueLabel = defaultGetValueLabel,
24898
24900
  size: size2 = "$true",
24899
24901
  ...progressProps
24900
- } = props, max = isValidMaxNumber(maxProp) ? maxProp : DEFAULT_MAX, value2 = isValidValueNumber(valueProp, max) ? valueProp : null, valueLabel = isNumber(value2) ? getValueLabel(value2, max) : void 0, [width, setWidth] = React4.useState(0);
24902
+ } = props, max = isValidMaxNumber(maxProp) ? maxProp : DEFAULT_MAX, value = isValidValueNumber(valueProp, max) ? valueProp : null, valueLabel = isNumber(value) ? getValueLabel(value, max) : void 0, [width, setWidth] = React4.useState(0);
24901
24903
  return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(ProgressProvider, {
24902
24904
  scope: __scopeProgress,
24903
- value: value2,
24905
+ value,
24904
24906
  max,
24905
24907
  width,
24906
24908
  children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(ProgressFrame, {
24907
24909
  "aria-valuemax": max,
24908
24910
  "aria-valuemin": 0,
24909
- "aria-valuenow": isNumber(value2) ? value2 : void 0,
24911
+ "aria-valuenow": isNumber(value) ? value : void 0,
24910
24912
  "aria-valuetext": valueLabel,
24911
24913
  // @ts-ignore
24912
24914
  role: "progressbar",
24913
- "data-state": getProgressState(value2, max),
24914
- "data-value": value2 ?? void 0,
24915
+ "data-state": getProgressState(value, max),
24916
+ "data-value": value ?? void 0,
24915
24917
  "data-max": max,
24916
24918
  ...progressProps.unstyled !== !0 && {
24917
24919
  size: size2
@@ -25070,8 +25072,8 @@ var require_RadioGroup_native = __commonJS({
25070
25072
  }
25071
25073
  },
25072
25074
  size: {
25073
- "...size": function(value2, param) {
25074
- var { props } = param, _props_scaleSize, size2 = Math.floor((0, import_core12.getVariableValue)((0, import_get_token2.getSize)(value2)) * ((_props_scaleSize = props.scaleSize) !== null && _props_scaleSize !== void 0 ? _props_scaleSize : 0.5));
25075
+ "...size": function(value, param) {
25076
+ var { props } = param, _props_scaleSize, size2 = Math.floor((0, import_core12.getVariableValue)((0, import_get_token2.getSize)(value)) * ((_props_scaleSize = props.scaleSize) !== null && _props_scaleSize !== void 0 ? _props_scaleSize : 0.5));
25075
25077
  return {
25076
25078
  width: size2,
25077
25079
  height: size2
@@ -25310,14 +25312,14 @@ var require_useRadioGroup_native = __commonJS({
25310
25312
  module2.exports = __toCommonJS2(useRadioGroup_exports);
25311
25313
  var import_jsx_runtime6 = require("react/jsx-runtime"), import_compose_refs = require_index_native11(), import_constants4 = require_index_native(), import_focusable2 = require_index_native47(), import_helpers = require_index_native7(), import_label = require_index_native48(), import_use_controllable_state = require_index_native10(), import_react3 = require("react"), import_BubbleInput = require_BubbleInput_native2(), import_utils = require_utils_native3();
25312
25314
  function useRadioGroup(params) {
25313
- var { value: valueProp, onValueChange, defaultValue, required, disabled, name, native, accentColor, orientation, ref } = params, [value2, setValue] = (0, import_use_controllable_state.useControllableState)({
25315
+ var { value: valueProp, onValueChange, defaultValue, required, disabled, name, native, accentColor, orientation, ref } = params, [value, setValue] = (0, import_use_controllable_state.useControllableState)({
25314
25316
  prop: valueProp,
25315
25317
  defaultProp: defaultValue,
25316
25318
  onChange: onValueChange
25317
25319
  });
25318
25320
  return {
25319
25321
  providerValue: {
25320
- value: value2,
25322
+ value,
25321
25323
  onChange: setValue,
25322
25324
  required,
25323
25325
  disabled,
@@ -25342,9 +25344,9 @@ var require_useRadioGroup_native = __commonJS({
25342
25344
  "ArrowLeft",
25343
25345
  "ArrowRight"
25344
25346
  ], useRadioGroupItem = function(params) {
25345
- var { radioGroupContext, value: value2, labelledBy: ariaLabelledby, disabled: itemDisabled, ref: refProp, id, onPress, onKeyDown, onFocus } = params, { value: groupValue, disabled, required, onChange, name, native, accentColor } = (0, import_react3.useContext)(radioGroupContext), [button, setButton] = (0, import_react3.useState)(null), hasConsumerStoppedPropagationRef = (0, import_react3.useRef)(!1), ref = (0, import_react3.useRef)(null), composedRefs = (0, import_compose_refs.useComposedRefs)(refProp, function(node) {
25347
+ var { radioGroupContext, value, labelledBy: ariaLabelledby, disabled: itemDisabled, ref: refProp, id, onPress, onKeyDown, onFocus } = params, { value: groupValue, disabled, required, onChange, name, native, accentColor } = (0, import_react3.useContext)(radioGroupContext), [button, setButton] = (0, import_react3.useState)(null), hasConsumerStoppedPropagationRef = (0, import_react3.useRef)(!1), ref = (0, import_react3.useRef)(null), composedRefs = (0, import_compose_refs.useComposedRefs)(refProp, function(node) {
25346
25348
  return setButton(node);
25347
- }, ref), isArrowKeyPressedRef = (0, import_react3.useRef)(!1), isFormControl = import_constants4.isWeb ? button ? !!button.closest("form") : !0 : !1, checked = groupValue === value2, labelId = (0, import_label.useLabelContext)(button), labelledBy = ariaLabelledby || labelId;
25349
+ }, ref), isArrowKeyPressedRef = (0, import_react3.useRef)(!1), isFormControl = import_constants4.isWeb ? button ? !!button.closest("form") : !0 : !1, checked = groupValue === value, labelId = (0, import_label.useLabelContext)(button), labelledBy = ariaLabelledby || labelId;
25348
25350
  (0, import_react3.useEffect)(function() {
25349
25351
  if (import_constants4.isWeb) {
25350
25352
  var handleKeyDown = function(event) {
@@ -25359,14 +25361,14 @@ var require_useRadioGroup_native = __commonJS({
25359
25361
  }, []), (0, import_react3.useEffect)(function() {
25360
25362
  if (id && !disabled) return (0, import_focusable2.registerFocusable)(id, {
25361
25363
  focusAndSelect: function() {
25362
- onChange == null || onChange(value2);
25364
+ onChange == null || onChange(value);
25363
25365
  },
25364
25366
  focus: function() {
25365
25367
  }
25366
25368
  });
25367
25369
  }, [
25368
25370
  id,
25369
- value2,
25371
+ value,
25370
25372
  disabled
25371
25373
  ]);
25372
25374
  var isDisabled = disabled || itemDisabled;
@@ -25381,7 +25383,7 @@ var require_useRadioGroup_native = __commonJS({
25381
25383
  control: button,
25382
25384
  bubbles: !hasConsumerStoppedPropagationRef.current,
25383
25385
  name,
25384
- value: value2,
25386
+ value,
25385
25387
  checked,
25386
25388
  required,
25387
25389
  disabled: isDisabled,
@@ -25402,11 +25404,11 @@ var require_useRadioGroup_native = __commonJS({
25402
25404
  ref: composedRefs,
25403
25405
  ...import_constants4.isWeb && {
25404
25406
  type: "button",
25405
- value: value2
25407
+ value
25406
25408
  },
25407
25409
  id,
25408
25410
  onPress: (0, import_helpers.composeEventHandlers)(onPress, function(event) {
25409
- checked || onChange == null || onChange(value2), isFormControl && (hasConsumerStoppedPropagationRef.current = event.isPropagationStopped(), hasConsumerStoppedPropagationRef.current || event.stopPropagation());
25411
+ checked || onChange == null || onChange(value), isFormControl && (hasConsumerStoppedPropagationRef.current = event.isPropagationStopped(), hasConsumerStoppedPropagationRef.current || event.stopPropagation());
25410
25412
  }),
25411
25413
  ...import_constants4.isWeb && {
25412
25414
  onKeyDown: (0, import_helpers.composeEventHandlers)(onKeyDown, function(event) {
@@ -25667,11 +25669,11 @@ var require_createRadioGroup_native = __commonJS({
25667
25669
  var { disableActiveTheme, Frame = import_RadioGroup.RadioGroupFrame, Indicator = import_RadioGroup.RadioGroupIndicatorFrame, Item = import_RadioGroup.RadioGroupItemFrame } = createProps;
25668
25670
  ensureContext(Frame), ensureContext(Indicator), ensureContext(Item);
25669
25671
  var RadioGroupImp = Frame.styleable(function(props, ref) {
25670
- var { value: value2, defaultValue, onValueChange, required = !1, disabled = !1, name, native, accentColor, orientation = "vertical", ...rest } = props, { providerValue, frameAttrs, rovingFocusGroupAttrs } = (0, import_radio_headless.useRadioGroup)({
25672
+ var { value, defaultValue, onValueChange, required = !1, disabled = !1, name, native, accentColor, orientation = "vertical", ...rest } = props, { providerValue, frameAttrs, rovingFocusGroupAttrs } = (0, import_radio_headless.useRadioGroup)({
25671
25673
  orientation,
25672
25674
  name,
25673
25675
  defaultValue,
25674
- value: value2,
25676
+ value,
25675
25677
  onValueChange,
25676
25678
  required,
25677
25679
  disabled,
@@ -25691,7 +25693,7 @@ var require_createRadioGroup_native = __commonJS({
25691
25693
  });
25692
25694
  }), RadioGroupItemImp = Item.styleable(function(props, ref) {
25693
25695
  var {
25694
- value: value2,
25696
+ value,
25695
25697
  labelledBy,
25696
25698
  onPress,
25697
25699
  //@ts-expect-error
@@ -25701,7 +25703,7 @@ var require_createRadioGroup_native = __commonJS({
25701
25703
  ...rest
25702
25704
  } = props, { providerValue, bubbleInput, rovingFocusGroupAttrs, frameAttrs, isFormControl, native } = (0, import_radio_headless.useRadioGroupItem)({
25703
25705
  radioGroupContext: RadioGroupContext,
25704
- value: value2,
25706
+ value,
25705
25707
  id,
25706
25708
  labelledBy,
25707
25709
  disabled,
@@ -26314,41 +26316,41 @@ var require_SelectItem_native = __commonJS({
26314
26316
  });
26315
26317
  module2.exports = __toCommonJS2(SelectItem_exports);
26316
26318
  var import_jsx_runtime6 = require("react/jsx-runtime"), import_compose_refs = require_index_native11(), import_constants4 = require_index_native(), import_list_item = require_index_native55(), import_core12 = require_index_native20(), React4 = __toESM2(require("react")), import_context = require_context_native2(), ITEM_NAME = "SelectItem", { Provider: SelectItemContextProvider, useStyledContext: useSelectItemContext } = (0, import_core12.createStyledContext)(null, ITEM_NAME), SelectItem = import_list_item.ListItemFrame.styleable(function(props, forwardedRef) {
26317
- var { scope, value: value2, disabled = !1, textValue: textValueProp, index, ...restProps } = props, { props: listItemProps } = (0, import_list_item.useListItem)({
26319
+ var { scope, value, disabled = !1, textValue: textValueProp, index, ...restProps } = props, { props: listItemProps } = (0, import_list_item.useListItem)({
26318
26320
  ...!props.unstyled && {
26319
26321
  ellipse: !0
26320
26322
  },
26321
26323
  ...restProps
26322
- }), context = (0, import_context.useSelectItemParentContext)(scope), { setSelectedIndex, listRef, setOpen, onChange, activeIndexSubscribe, valueSubscribe, allowMouseUpRef, allowSelectRef, setValueAtIndex, selectTimeoutRef, dataRef, interactions, shouldRenderWebNative, size: size2, onActiveChange, initialValue } = context, [isSelected, setSelected] = React4.useState(initialValue === value2);
26324
+ }), context = (0, import_context.useSelectItemParentContext)(scope), { setSelectedIndex, listRef, setOpen, onChange, activeIndexSubscribe, valueSubscribe, allowMouseUpRef, allowSelectRef, setValueAtIndex, selectTimeoutRef, dataRef, interactions, shouldRenderWebNative, size: size2, onActiveChange, initialValue } = context, [isSelected, setSelected] = React4.useState(initialValue === value);
26323
26325
  React4.useEffect(function() {
26324
26326
  return activeIndexSubscribe(function(i) {
26325
26327
  var isActive = index === i;
26326
26328
  if (isActive) {
26327
26329
  var _listRef_current_index;
26328
- onActiveChange(value2, index), listRef == null || (_listRef_current_index = listRef.current[index]) === null || _listRef_current_index === void 0 || _listRef_current_index.focus();
26330
+ onActiveChange(value, index), listRef == null || (_listRef_current_index = listRef.current[index]) === null || _listRef_current_index === void 0 || _listRef_current_index.focus();
26329
26331
  }
26330
26332
  });
26331
26333
  }, [
26332
26334
  index
26333
26335
  ]), React4.useEffect(function() {
26334
26336
  return valueSubscribe(function(val) {
26335
- setSelected(val === value2);
26337
+ setSelected(val === value);
26336
26338
  });
26337
26339
  }, [
26338
- value2
26340
+ value
26339
26341
  ]);
26340
26342
  var textId = React4.useId(), refCallback = React4.useCallback(function(node) {
26341
26343
  import_constants4.isWeb && node instanceof HTMLElement && listRef && (listRef.current[index] = node);
26342
26344
  }, []), composedRefs = (0, import_compose_refs.useComposedRefs)(forwardedRef, refCallback);
26343
26345
  (0, import_constants4.useIsomorphicLayoutEffect)(function() {
26344
- setValueAtIndex(index, value2);
26346
+ setValueAtIndex(index, value);
26345
26347
  }, [
26346
26348
  index,
26347
26349
  setValueAtIndex,
26348
- value2
26350
+ value
26349
26351
  ]);
26350
26352
  function handleSelect() {
26351
- setSelectedIndex(index), onChange(value2), setOpen(!1);
26353
+ setSelectedIndex(index), onChange(value), setOpen(!1);
26352
26354
  }
26353
26355
  var selectItemProps = React4.useMemo(function() {
26354
26356
  return interactions ? interactions.getItemProps({
@@ -26377,11 +26379,11 @@ var require_SelectItem_native = __commonJS({
26377
26379
  ]);
26378
26380
  return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(SelectItemContextProvider, {
26379
26381
  scope,
26380
- value: value2,
26382
+ value,
26381
26383
  textId: textId || "",
26382
26384
  isSelected,
26383
26385
  children: shouldRenderWebNative ? /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("option", {
26384
- value: value2,
26386
+ value,
26385
26387
  children: props.children
26386
26388
  }) : /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_list_item.ListItemFrame, {
26387
26389
  tag: "div",
@@ -27085,9 +27087,9 @@ var require_Select_native = __commonJS({
27085
27087
  function useEmitter() {
27086
27088
  var listeners = React4.useRef(null);
27087
27089
  listeners.current || (listeners.current = /* @__PURE__ */ new Set());
27088
- var emit = function(value2) {
27090
+ var emit = function(value) {
27089
27091
  listeners.current.forEach(function(l) {
27090
- return l(value2);
27092
+ return l(value);
27091
27093
  });
27092
27094
  }, subscribe = React4.useCallback(function(listener) {
27093
27095
  return listeners.current.add(listener), function() {
@@ -27106,25 +27108,25 @@ var require_Select_native = __commonJS({
27106
27108
  prop: openProp,
27107
27109
  defaultProp: defaultOpen || !1,
27108
27110
  onChange: onOpenChange
27109
- }), [value2, setValue] = (0, import_use_controllable_state.useControllableState)({
27111
+ }), [value, setValue] = (0, import_use_controllable_state.useControllableState)({
27110
27112
  prop: valueProp,
27111
27113
  defaultProp: defaultValue || "",
27112
27114
  onChange: onValueChange,
27113
27115
  transition: !0
27114
27116
  });
27115
27117
  React4.useEffect(function() {
27116
- open && emitValue(value2);
27118
+ open && emitValue(value);
27117
27119
  }, [
27118
27120
  open
27119
27121
  ]), React4.useEffect(function() {
27120
- emitValue(value2);
27122
+ emitValue(value);
27121
27123
  }, [
27122
- value2
27124
+ value
27123
27125
  ]), React4.useEffect(function() {
27124
27126
  if (props.id) return (0, import_focusable2.registerFocusable)(props.id, {
27125
27127
  focusAndSelect: function() {
27126
- setOpen == null || setOpen(function(value22) {
27127
- return !value22;
27128
+ setOpen == null || setOpen(function(value2) {
27129
+ return !value2;
27128
27130
  });
27129
27131
  },
27130
27132
  focus: function() {
@@ -27147,7 +27149,7 @@ var require_Select_native = __commonJS({
27147
27149
  scope,
27148
27150
  adaptScope,
27149
27151
  initialValue: React4.useMemo(function() {
27150
- return value2;
27152
+ return value;
27151
27153
  }, [
27152
27154
  open
27153
27155
  ]),
@@ -27159,12 +27161,12 @@ var require_Select_native = __commonJS({
27159
27161
  onChange: React4.useCallback(function(val) {
27160
27162
  setValue(val), emitValue(val);
27161
27163
  }, []),
27162
- onActiveChange: (0, import_core12.useEvent)(function(value22, index) {
27163
- onActiveChange == null || onActiveChange(value22, index);
27164
+ onActiveChange: (0, import_core12.useEvent)(function(value2, index) {
27165
+ onActiveChange == null || onActiveChange(value2, index);
27164
27166
  }),
27165
27167
  setSelectedIndex,
27166
- setValueAtIndex: React4.useCallback(function(index, value22) {
27167
- listContentRef.current[index] = value22;
27168
+ setValueAtIndex: React4.useCallback(function(index, value2) {
27169
+ listContentRef.current[index] = value2;
27168
27170
  }, []),
27169
27171
  shouldRenderWebNative,
27170
27172
  children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_context.SelectProvider, {
@@ -27183,7 +27185,7 @@ var require_Select_native = __commonJS({
27183
27185
  activeIndex,
27184
27186
  selectedIndex,
27185
27187
  setActiveIndex: setActiveIndexDebounced,
27186
- value: value2,
27188
+ value,
27187
27189
  open,
27188
27190
  native,
27189
27191
  children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(SelectSheetController, {
@@ -27195,7 +27197,7 @@ var require_Select_native = __commonJS({
27195
27197
  selectedIndexRef,
27196
27198
  ...props,
27197
27199
  open,
27198
- value: value2,
27200
+ value,
27199
27201
  children
27200
27202
  })
27201
27203
  })
@@ -27423,9 +27425,9 @@ var require_helpers_native3 = __commonJS({
27423
27425
  return a - b;
27424
27426
  });
27425
27427
  }
27426
- function convertValueToPercentage(value2, min, max) {
27428
+ function convertValueToPercentage(value, min, max) {
27427
27429
  var maxSteps = max - min, percentPerStep = 100 / maxSteps;
27428
- return percentPerStep * (value2 - min);
27430
+ return percentPerStep * (value - min);
27429
27431
  }
27430
27432
  function getLabel(index, totalValues) {
27431
27433
  if (totalValues > 2) return `Value ${index + 1} of ${totalValues}`;
@@ -27436,8 +27438,8 @@ var require_helpers_native3 = __commonJS({
27436
27438
  }
27437
27439
  function getClosestValueIndex(values, nextValue) {
27438
27440
  if (values.length === 1) return 0;
27439
- var distances = values.map(function(value2) {
27440
- return Math.abs(value2 - nextValue);
27441
+ var distances = values.map(function(value) {
27442
+ return Math.abs(value - nextValue);
27441
27443
  }), closestDistance = Math.min(...distances);
27442
27444
  return distances.indexOf(closestDistance);
27443
27445
  }
@@ -27452,8 +27454,8 @@ var require_helpers_native3 = __commonJS({
27452
27454
  return (quarterWidth - offset2(left) * direction) * direction;
27453
27455
  }
27454
27456
  function getStepsBetweenValues(values) {
27455
- return values.slice(0, -1).map(function(value2, index) {
27456
- return values[index + 1] - value2;
27457
+ return values.slice(0, -1).map(function(value, index) {
27458
+ return values[index + 1] - value;
27457
27459
  });
27458
27460
  }
27459
27461
  function hasMinStepsBetweenValues(values, minStepsBetweenValues) {
@@ -27464,18 +27466,18 @@ var require_helpers_native3 = __commonJS({
27464
27466
  return !0;
27465
27467
  }
27466
27468
  function linearScale(input, output) {
27467
- return function(value2) {
27469
+ return function(value) {
27468
27470
  if (input[0] === input[1] || output[0] === output[1]) return output[0];
27469
27471
  var ratio = (output[1] - output[0]) / (input[1] - input[0]);
27470
- return output[0] + ratio * (value2 - input[0]);
27472
+ return output[0] + ratio * (value - input[0]);
27471
27473
  };
27472
27474
  }
27473
- function getDecimalCount(value2) {
27474
- return (String(value2).split(".")[1] || "").length;
27475
+ function getDecimalCount(value) {
27476
+ return (String(value).split(".")[1] || "").length;
27475
27477
  }
27476
- function roundValue(value2, decimalCount) {
27478
+ function roundValue(value, decimalCount) {
27477
27479
  var rounder = Math.pow(10, decimalCount);
27478
- return Math.round(value2 * rounder) / rounder;
27480
+ return Math.round(value * rounder) / rounder;
27479
27481
  }
27480
27482
  }
27481
27483
  });
@@ -27715,8 +27717,8 @@ var require_Slider_native = __commonJS({
27715
27717
  ] : [
27716
27718
  max,
27717
27719
  min
27718
- ], value2 = (0, import_helpers3.linearScale)(input, output);
27719
- return value2(pointerPosition);
27720
+ ], value = (0, import_helpers3.linearScale)(input, output);
27721
+ return value(pointerPosition);
27720
27722
  }
27721
27723
  var measure = function() {
27722
27724
  var _sliderRef_current;
@@ -27764,16 +27766,16 @@ var require_Slider_native = __commonJS({
27764
27766
  orientation: "horizontal",
27765
27767
  onLayout: measure,
27766
27768
  onSlideStart: function(event, target) {
27767
- var value2 = getValueFromPointer(event.nativeEvent.locationX);
27768
- value2 && (onSlideStart == null || onSlideStart(value2, target, event));
27769
+ var value = getValueFromPointer(event.nativeEvent.locationX);
27770
+ value && (onSlideStart == null || onSlideStart(value, target, event));
27769
27771
  },
27770
27772
  onSlideMove: function(event) {
27771
- var value2 = getValueFromPointer(event.nativeEvent.pageX - state.offset);
27772
- value2 && (onSlideMove == null || onSlideMove(value2, event));
27773
+ var value = getValueFromPointer(event.nativeEvent.pageX - state.offset);
27774
+ value && (onSlideMove == null || onSlideMove(value, event));
27773
27775
  },
27774
27776
  onSlideEnd: function(event) {
27775
- var value2 = getValueFromPointer(event.nativeEvent.pageX - state.offset);
27776
- value2 && (onSlideEnd == null || onSlideEnd(event, value2));
27777
+ var value = getValueFromPointer(event.nativeEvent.pageX - state.offset);
27778
+ value && (onSlideEnd == null || onSlideEnd(event, value));
27777
27779
  },
27778
27780
  onStepKeyDown: function(event) {
27779
27781
  var isBackKey = import_constants22.BACK_KEYS[direction].includes(event.key);
@@ -27810,8 +27812,8 @@ var require_Slider_native = __commonJS({
27810
27812
  ], output = [
27811
27813
  max,
27812
27814
  min
27813
- ], value2 = (0, import_helpers3.linearScale)(input, output);
27814
- return value2(pointerPosition);
27815
+ ], value = (0, import_helpers3.linearScale)(input, output);
27816
+ return value(pointerPosition);
27815
27817
  }
27816
27818
  var measure = function() {
27817
27819
  var _sliderRef_current;
@@ -27835,16 +27837,16 @@ var require_Slider_native = __commonJS({
27835
27837
  orientation: "vertical",
27836
27838
  onLayout: measure,
27837
27839
  onSlideStart: function(event, target) {
27838
- var value2 = getValueFromPointer(event.nativeEvent.locationY);
27839
- value2 && (onSlideStart == null || onSlideStart(value2, target, event));
27840
+ var value = getValueFromPointer(event.nativeEvent.locationY);
27841
+ value && (onSlideStart == null || onSlideStart(value, target, event));
27840
27842
  },
27841
27843
  onSlideMove: function(event) {
27842
- var value2 = getValueFromPointer(event.nativeEvent.pageY - state.offset);
27843
- value2 && (onSlideMove == null || onSlideMove(value2, event));
27844
+ var value = getValueFromPointer(event.nativeEvent.pageY - state.offset);
27845
+ value && (onSlideMove == null || onSlideMove(value, event));
27844
27846
  },
27845
27847
  onSlideEnd: function(event) {
27846
- var value2 = getValueFromPointer(event.nativeEvent.pageY - state.offset);
27847
- onSlideEnd == null || onSlideEnd(event, value2);
27848
+ var value = getValueFromPointer(event.nativeEvent.pageY - state.offset);
27849
+ onSlideEnd == null || onSlideEnd(event, value);
27848
27850
  },
27849
27851
  onStepKeyDown: function(event) {
27850
27852
  var isBackKey = import_constants22.BACK_KEYS.ltr.includes(event.key);
@@ -27890,8 +27892,8 @@ var require_Slider_native = __commonJS({
27890
27892
  position: "absolute",
27891
27893
  pointerEvents: "box-none"
27892
27894
  }), SliderTrackActive = /* @__PURE__ */ React4.forwardRef(function(props, forwardedRef) {
27893
- var { __scopeSlider, ...rangeProps } = props, context = (0, import_constants22.useSliderContext)(__scopeSlider), orientation = (0, import_constants22.useSliderOrientationContext)(__scopeSlider), ref = React4.useRef(null), composedRefs = (0, import_compose_refs.useComposedRefs)(forwardedRef, ref), valuesCount = context.values.length, percentages = context.values.map(function(value2) {
27894
- return (0, import_helpers3.convertValueToPercentage)(value2, context.min, context.max);
27895
+ var { __scopeSlider, ...rangeProps } = props, context = (0, import_constants22.useSliderContext)(__scopeSlider), orientation = (0, import_constants22.useSliderOrientationContext)(__scopeSlider), ref = React4.useRef(null), composedRefs = (0, import_compose_refs.useComposedRefs)(forwardedRef, ref), valuesCount = context.values.length, percentages = context.values.map(function(value) {
27896
+ return (0, import_helpers3.convertValueToPercentage)(value, context.min, context.max);
27895
27897
  }), offsetStart = valuesCount > 1 ? Math.min(...percentages) : 0, offsetEnd = 100 - Math.max(...percentages);
27896
27898
  return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(SliderTrackActiveFrame, {
27897
27899
  orientation: context.orientation,
@@ -27949,7 +27951,7 @@ var require_Slider_native = __commonJS({
27949
27951
  unstyled: process.env.TAMAGUI_HEADLESS === "1"
27950
27952
  }
27951
27953
  }), SliderThumb = SliderThumbFrame.styleable(function(props, forwardedRef) {
27952
- var { __scopeSlider, index, circular, size: sizeProp, ...thumbProps } = props, context = (0, import_constants22.useSliderContext)(__scopeSlider), orientation = (0, import_constants22.useSliderOrientationContext)(__scopeSlider), [thumb, setThumb] = React4.useState(null), composedRefs = (0, import_compose_refs.useComposedRefs)(forwardedRef, setThumb), value2 = context.values[index], percent = value2 === void 0 ? 0 : (0, import_helpers3.convertValueToPercentage)(value2, context.min, context.max), label = (0, import_helpers3.getLabel)(index, context.values.length), _ref, sizeIn = (_ref = sizeProp ?? context.size) !== null && _ref !== void 0 ? _ref : "$true", [size2, setSize] = React4.useState(function() {
27954
+ var { __scopeSlider, index, circular, size: sizeProp, ...thumbProps } = props, context = (0, import_constants22.useSliderContext)(__scopeSlider), orientation = (0, import_constants22.useSliderOrientationContext)(__scopeSlider), [thumb, setThumb] = React4.useState(null), composedRefs = (0, import_compose_refs.useComposedRefs)(forwardedRef, setThumb), value = context.values[index], percent = value === void 0 ? 0 : (0, import_helpers3.convertValueToPercentage)(value, context.min, context.max), label = (0, import_helpers3.getLabel)(index, context.values.length), _ref, sizeIn = (_ref = sizeProp ?? context.size) !== null && _ref !== void 0 ? _ref : "$true", [size2, setSize] = React4.useState(function() {
27953
27955
  var estimatedSize = (0, import_core12.getVariableValue)(getThumbSize(sizeIn).width);
27954
27956
  return estimatedSize;
27955
27957
  }), thumbInBoundsOffset = size2 ? (0, import_helpers3.getThumbInBoundsOffset)(size2, percent, orientation.direction) : 0;
@@ -27984,7 +27986,7 @@ var require_Slider_native = __commonJS({
27984
27986
  role: "slider",
27985
27987
  "aria-label": props["aria-label"] || label,
27986
27988
  "aria-valuemin": context.min,
27987
- "aria-valuenow": value2,
27989
+ "aria-valuenow": value,
27988
27990
  "aria-valuemax": context.max,
27989
27991
  "aria-orientation": context.orientation,
27990
27992
  "data-orientation": context.orientation,
@@ -28023,13 +28025,13 @@ var require_Slider_native = __commonJS({
28023
28025
  }), SliderComponent = /* @__PURE__ */ React4.forwardRef(function(props, forwardedRef) {
28024
28026
  var { name, min = 0, max = 100, step = 1, orientation = "horizontal", disabled = !1, minStepsBetweenThumbs = 0, defaultValue = [
28025
28027
  min
28026
- ], value: value2, onValueChange = function() {
28028
+ ], value, onValueChange = function() {
28027
28029
  }, size: sizeProp, onSlideEnd, onSlideMove, onSlideStart, ...sliderProps } = props, sliderRef = React4.useRef(null), composedRefs = (0, import_compose_refs.useComposedRefs)(sliderRef, forwardedRef), thumbRefs = React4.useRef(/* @__PURE__ */ new Map()), valueIndexToChangeRef = React4.useRef(0), isHorizontal = orientation === "horizontal", [values = [], setValues] = (0, import_use_controllable_state.useControllableState)({
28028
- prop: value2,
28030
+ prop: value,
28029
28031
  defaultProp: defaultValue,
28030
28032
  transition: !0,
28031
- onChange: function(value22) {
28032
- updateThumbFocus(valueIndexToChangeRef.current), onValueChange(value22);
28033
+ onChange: function(value2) {
28034
+ updateThumbFocus(valueIndexToChangeRef.current), onValueChange(value2);
28033
28035
  }
28034
28036
  });
28035
28037
  import_constants4.isWeb && React4.useEffect(function() {
@@ -28065,11 +28067,11 @@ var require_Slider_native = __commonJS({
28065
28067
  }
28066
28068
  }
28067
28069
  }
28068
- function handleSlideMove(value22, event) {
28069
- updateValues(value22, valueIndexToChangeRef.current), onSlideMove == null || onSlideMove(event, value22);
28070
+ function handleSlideMove(value2, event) {
28071
+ updateValues(value2, valueIndexToChangeRef.current), onSlideMove == null || onSlideMove(event, value2);
28070
28072
  }
28071
- function updateValues(value22, atIndex) {
28072
- var decimalCount = (0, import_helpers3.getDecimalCount)(step), snapToStep = (0, import_helpers3.roundValue)(Math.round((value22 - min) / step) * step + min, decimalCount), nextValue = (0, import_helpers2.clamp)(snapToStep, [
28073
+ function updateValues(value2, atIndex) {
28074
+ var decimalCount = (0, import_helpers3.getDecimalCount)(step), snapToStep = (0, import_helpers3.roundValue)(Math.round((value2 - min) / step) * step + min, decimalCount), nextValue = (0, import_helpers2.clamp)(snapToStep, [
28073
28075
  min,
28074
28076
  max
28075
28077
  ]);
@@ -28097,12 +28099,12 @@ var require_Slider_native = __commonJS({
28097
28099
  min,
28098
28100
  max,
28099
28101
  onSlideEnd,
28100
- onSlideStart: disabled ? void 0 : function(value22, target, event) {
28102
+ onSlideStart: disabled ? void 0 : function(value2, target, event) {
28101
28103
  if (target !== "thumb") {
28102
- var closestIndex = (0, import_helpers3.getClosestValueIndex)(values, value22);
28103
- updateValues(value22, closestIndex);
28104
+ var closestIndex = (0, import_helpers3.getClosestValueIndex)(values, value2);
28105
+ updateValues(value2, closestIndex);
28104
28106
  }
28105
- onSlideStart == null || onSlideStart(event, value22, target);
28107
+ onSlideStart == null || onSlideStart(event, value2, target);
28106
28108
  },
28107
28109
  onSlideMove: disabled ? void 0 : handleSlideMove,
28108
28110
  onHomeKeyDown: function() {
@@ -28114,8 +28116,8 @@ var require_Slider_native = __commonJS({
28114
28116
  onStepKeyDown: function(param) {
28115
28117
  var { event, direction: stepDirection } = param;
28116
28118
  if (!disabled) {
28117
- var isPageKey = import_constants22.PAGE_KEYS.includes(event.key), isSkipKey = isPageKey || event.shiftKey && import_constants22.ARROW_KEYS.includes(event.key), multiplier = isSkipKey ? 10 : 1, atIndex = valueIndexToChangeRef.current, value22 = values[atIndex], stepInDirection = step * multiplier * stepDirection;
28118
- updateValues(value22 + stepInDirection, atIndex);
28119
+ var isPageKey = import_constants22.PAGE_KEYS.includes(event.key), isSkipKey = isPageKey || event.shiftKey && import_constants22.ARROW_KEYS.includes(event.key), multiplier = isSkipKey ? 10 : 1, atIndex = valueIndexToChangeRef.current, value2 = values[atIndex], stepInDirection = step * multiplier * stepDirection;
28120
+ updateValues(value2 + stepInDirection, atIndex);
28119
28121
  }
28120
28122
  }
28121
28123
  })
@@ -28252,7 +28254,7 @@ var require_useSwitch_native = __commonJS({
28252
28254
  switchRef: ref,
28253
28255
  bubbleInput: null
28254
28256
  };
28255
- var disabled, name, value2, required, hasConsumerStoppedPropagationRef, button, setButton, composedRefs, isFormControl, labelId, ariaLabelledBy;
28257
+ var disabled, name, value, required, hasConsumerStoppedPropagationRef, button, setButton, composedRefs, isFormControl, labelId, ariaLabelledBy;
28256
28258
  }
28257
28259
  }
28258
28260
  });
@@ -28573,8 +28575,8 @@ var require_createSwitch_native = __commonJS({
28573
28575
  React4.useEffect(function() {
28574
28576
  if (props.id && !props.disabled) return (0, import_focusable2.registerFocusable)(props.id, {
28575
28577
  focusAndSelect: function() {
28576
- setChecked == null || setChecked(function(value22) {
28577
- return !value22;
28578
+ setChecked == null || setChecked(function(value2) {
28579
+ return !value2;
28578
28580
  });
28579
28581
  },
28580
28582
  focus: function() {
@@ -28590,7 +28592,7 @@ var require_createSwitch_native = __commonJS({
28590
28592
  onValueChange: setChecked,
28591
28593
  ...nativeProps
28592
28594
  });
28593
- var disabled = props.disabled, value2 = React4.useMemo(function() {
28595
+ var disabled = props.disabled, value = React4.useMemo(function() {
28594
28596
  return {
28595
28597
  checked,
28596
28598
  disabled,
@@ -28605,7 +28607,7 @@ var require_createSwitch_native = __commonJS({
28605
28607
  next !== frameWidth && setFrameInnerWidth(next);
28606
28608
  }, _styledContext_unstyled, _ref3, unstyled = (_ref3 = (_styledContext_unstyled = styledContext.unstyled) !== null && _styledContext_unstyled !== void 0 ? _styledContext_unstyled : props.unstyled) !== null && _ref3 !== void 0 ? _ref3 : !1, _styledContext_size, _ref4;
28607
28609
  return /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(SwitchContext.Provider, {
28608
- value: value2,
28610
+ value,
28609
28611
  children: [
28610
28612
  /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Frame, {
28611
28613
  ref: switchRef,
@@ -28936,7 +28938,7 @@ var require_createTabs_native = __commonJS({
28936
28938
  });
28937
28939
  TabsList.displayName = TAB_LIST_NAME;
28938
28940
  var TRIGGER_NAME = "TabsTrigger", TabsTrigger = TabFrame.styleable(function(props, forwardedRef) {
28939
- var { __scopeTabs, value: value2, disabled = !1, onInteraction, disableActiveTheme, ...triggerProps } = props, context = (0, import_StyledContext.useTabsContext)(__scopeTabs), triggerId = makeTriggerId(context.baseId, value2), contentId = makeContentId(context.baseId, value2), isSelected = value2 === context.value, [layout, setLayout] = React4.useState(null), triggerRef = React4.useRef(null), groupItemProps = (0, import_group.useGroupItem)({
28941
+ var { __scopeTabs, value, disabled = !1, onInteraction, disableActiveTheme, ...triggerProps } = props, context = (0, import_StyledContext.useTabsContext)(__scopeTabs), triggerId = makeTriggerId(context.baseId, value), contentId = makeContentId(context.baseId, value), isSelected = value === context.value, [layout, setLayout] = React4.useState(null), triggerRef = React4.useRef(null), groupItemProps = (0, import_group.useGroupItem)({
28940
28942
  disabled: !!disabled
28941
28943
  });
28942
28944
  React4.useEffect(function() {
@@ -28964,7 +28966,7 @@ var require_createTabs_native = __commonJS({
28964
28966
  isSelected && layout && (onInteraction == null || onInteraction("select", layout));
28965
28967
  }, [
28966
28968
  isSelected,
28967
- value2,
28969
+ value,
28968
28970
  layout
28969
28971
  ]);
28970
28972
  var _props_onPress;
@@ -29003,7 +29005,7 @@ var require_createTabs_native = __commonJS({
29003
29005
  ref: (0, import_compose_refs.composeRefs)(forwardedRef, triggerRef),
29004
29006
  onPress: (0, import_helpers.composeEventHandlers)((_props_onPress = props.onPress) !== null && _props_onPress !== void 0 ? _props_onPress : void 0, function(event) {
29005
29007
  var webChecks = !import_constants4.isWeb || event.button === 0 && event.ctrlKey === !1;
29006
- !disabled && !isSelected && webChecks ? context.onChange(value2) : event.preventDefault();
29008
+ !disabled && !isSelected && webChecks ? context.onChange(value) : event.preventDefault();
29007
29009
  }),
29008
29010
  ...import_constants4.isWeb && {
29009
29011
  type: "button",
@@ -29011,12 +29013,12 @@ var require_createTabs_native = __commonJS({
29011
29013
  [
29012
29014
  " ",
29013
29015
  "Enter"
29014
- ].includes(event.key) && (context.onChange(value2), event.preventDefault());
29016
+ ].includes(event.key) && (context.onChange(value), event.preventDefault());
29015
29017
  }),
29016
29018
  onFocus: (0, import_helpers.composeEventHandlers)(props.onFocus, function(event) {
29017
29019
  layout && (onInteraction == null || onInteraction("focus", layout));
29018
29020
  var isAutomaticActivation = context.activationMode !== "manual";
29019
- !isSelected && !disabled && isAutomaticActivation && context.onChange(value2);
29021
+ !isSelected && !disabled && isAutomaticActivation && context.onChange(value);
29020
29022
  }),
29021
29023
  onBlur: (0, import_helpers.composeEventHandlers)(props.onFocus, function() {
29022
29024
  onInteraction == null || onInteraction("focus", null);
@@ -29028,7 +29030,7 @@ var require_createTabs_native = __commonJS({
29028
29030
  });
29029
29031
  TabsTrigger.displayName = TRIGGER_NAME;
29030
29032
  var TabsContent = ContentFrame.styleable(function(props, forwardedRef) {
29031
- var { __scopeTabs, value: value2, forceMount, children, ...contentProps } = props, context = (0, import_StyledContext.useTabsContext)(__scopeTabs), isSelected = value2 === context.value, show = forceMount || isSelected, triggerId = makeTriggerId(context.baseId, value2), contentId = makeContentId(context.baseId, value2);
29033
+ var { __scopeTabs, value, forceMount, children, ...contentProps } = props, context = (0, import_StyledContext.useTabsContext)(__scopeTabs), isSelected = value === context.value, show = forceMount || isSelected, triggerId = makeTriggerId(context.baseId, value), contentId = makeContentId(context.baseId, value);
29032
29034
  return show ? /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(ContentFrame, {
29033
29035
  "data-state": isSelected ? "active" : "inactive",
29034
29036
  "data-orientation": context.orientation,
@@ -29041,9 +29043,9 @@ var require_createTabs_native = __commonJS({
29041
29043
  ...contentProps,
29042
29044
  ref: forwardedRef,
29043
29045
  children
29044
- }, value2) : null;
29046
+ }, value) : null;
29045
29047
  }), TabsComponent = TabsFrame.styleable(function(props, forwardedRef) {
29046
- var { __scopeTabs, value: valueProp, onValueChange, defaultValue, orientation = "horizontal", dir, activationMode = "automatic", size: size2 = "$true", ...tabsProps } = props, direction = (0, import_use_direction.useDirection)(dir), [value2, setValue] = (0, import_use_controllable_state.useControllableState)({
29048
+ var { __scopeTabs, value: valueProp, onValueChange, defaultValue, orientation = "horizontal", dir, activationMode = "automatic", size: size2 = "$true", ...tabsProps } = props, direction = (0, import_use_direction.useDirection)(dir), [value, setValue] = (0, import_use_controllable_state.useControllableState)({
29047
29049
  prop: valueProp,
29048
29050
  onChange: onValueChange,
29049
29051
  defaultProp: defaultValue ?? ""
@@ -29059,7 +29061,7 @@ var require_createTabs_native = __commonJS({
29059
29061
  return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_StyledContext.TabsProvider, {
29060
29062
  scope: __scopeTabs,
29061
29063
  baseId: React4.useId(),
29062
- value: value2,
29064
+ value,
29063
29065
  onChange: setValue,
29064
29066
  orientation,
29065
29067
  dir: direction,
@@ -29087,11 +29089,11 @@ var require_createTabs_native = __commonJS({
29087
29089
  Content: TabsContent
29088
29090
  });
29089
29091
  }
29090
- function makeTriggerId(baseId, value2) {
29091
- return `${baseId}-trigger-${value2}`;
29092
+ function makeTriggerId(baseId, value) {
29093
+ return `${baseId}-trigger-${value}`;
29092
29094
  }
29093
- function makeContentId(baseId, value2) {
29094
- return `${baseId}-content-${value2}`;
29095
+ function makeContentId(baseId, value) {
29096
+ return `${baseId}-content-${value}`;
29095
29097
  }
29096
29098
  }
29097
29099
  });
@@ -29760,7 +29762,7 @@ var require_ToggleGroup_native = __commonJS({
29760
29762
  }));
29761
29763
  ToggleGroupItem.displayName = TOGGLE_GROUP_ITEM_NAME;
29762
29764
  var ToggleGroupItemImpl = /* @__PURE__ */ import_react3.default.forwardRef(function(props, forwardedRef) {
29763
- var { __scopeToggleGroup, value: value2, ...itemProps } = props, valueContext = useToggleGroupValueContext(__scopeToggleGroup), singleProps = {
29765
+ var { __scopeToggleGroup, value, ...itemProps } = props, valueContext = useToggleGroupValueContext(__scopeToggleGroup), singleProps = {
29764
29766
  "aria-pressed": void 0
29765
29767
  }, typeProps = valueContext.type === "single" ? singleProps : void 0;
29766
29768
  return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_Toggle.Toggle, {
@@ -29768,7 +29770,7 @@ var require_ToggleGroup_native = __commonJS({
29768
29770
  ...itemProps,
29769
29771
  ref: forwardedRef,
29770
29772
  onPressedChange: function(pressed) {
29771
- pressed ? valueContext.onItemActivate(value2) : valueContext.onItemDeactivate(value2);
29773
+ pressed ? valueContext.onItemActivate(value) : valueContext.onItemDeactivate(value);
29772
29774
  }
29773
29775
  });
29774
29776
  }), ToggleGroup = (0, import_helpers.withStaticProperties)(/* @__PURE__ */ import_react3.default.forwardRef(function(props, forwardedRef) {
@@ -29803,7 +29805,7 @@ var require_ToggleGroup_native = __commonJS({
29803
29805
  ToggleGroup.displayName = TOGGLE_GROUP_NAME;
29804
29806
  var { Provider: ToggleGroupValueProvider, useStyledContext: useToggleGroupValueContext } = (0, import_web.createStyledContext)(), ToggleGroupImplSingle = /* @__PURE__ */ import_react3.default.forwardRef(function(props, forwardedRef) {
29805
29807
  var { value: valueProp, defaultValue, onValueChange = function() {
29806
- }, disableDeactivation = !1, ...toggleGroupSingleProps } = props, [value2, setValue] = (0, import_use_controllable_state.useControllableState)({
29808
+ }, disableDeactivation = !1, ...toggleGroupSingleProps } = props, [value, setValue] = (0, import_use_controllable_state.useControllableState)({
29807
29809
  prop: valueProp,
29808
29810
  defaultProp: defaultValue,
29809
29811
  onChange: onValueChange
@@ -29811,10 +29813,10 @@ var require_ToggleGroup_native = __commonJS({
29811
29813
  return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(ToggleGroupValueProvider, {
29812
29814
  scope: props.__scopeToggleGroup,
29813
29815
  type: "single",
29814
- value: value2 ? [
29815
- value2
29816
+ value: value ? [
29817
+ value
29816
29818
  ] : [],
29817
- defaultValue: value2,
29819
+ defaultValue: value,
29818
29820
  onItemActivate: setValue,
29819
29821
  onItemDeactivate: import_react3.default.useCallback(function() {
29820
29822
  return disableDeactivation ? null : setValue("");
@@ -29829,7 +29831,7 @@ var require_ToggleGroup_native = __commonJS({
29829
29831
  });
29830
29832
  }), ToggleGroupImplMultiple = /* @__PURE__ */ import_react3.default.forwardRef(function(props, forwardedRef) {
29831
29833
  var { value: valueProp, defaultValue, onValueChange = function() {
29832
- }, disableDeactivation, ...toggleGroupMultipleProps } = props, [value2 = [], setValue] = (0, import_use_controllable_state.useControllableState)({
29834
+ }, disableDeactivation, ...toggleGroupMultipleProps } = props, [value = [], setValue] = (0, import_use_controllable_state.useControllableState)({
29833
29835
  prop: valueProp,
29834
29836
  defaultProp: defaultValue,
29835
29837
  onChange: onValueChange
@@ -29846,8 +29848,8 @@ var require_ToggleGroup_native = __commonJS({
29846
29848
  ]), handleButtonDeactivate = import_react3.default.useCallback(function(itemValue) {
29847
29849
  return setValue(function() {
29848
29850
  var prevValue = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [];
29849
- return prevValue.filter(function(value22) {
29850
- return value22 !== itemValue;
29851
+ return prevValue.filter(function(value2) {
29852
+ return value2 !== itemValue;
29851
29853
  });
29852
29854
  });
29853
29855
  }, [
@@ -29856,8 +29858,8 @@ var require_ToggleGroup_native = __commonJS({
29856
29858
  return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(ToggleGroupValueProvider, {
29857
29859
  scope: props.__scopeToggleGroup,
29858
29860
  type: "multiple",
29859
- value: value2,
29860
- defaultValue: value2,
29861
+ value,
29862
+ defaultValue: value,
29861
29863
  onItemActivate: handleButtonActivate,
29862
29864
  onItemDeactivate: handleButtonDeactivate,
29863
29865
  children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(ToggleGroupImpl, {