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.
package/dist/native.js CHANGED
@@ -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
  }
@@ -2388,22 +2388,22 @@ Haven't called createTamagui yet. ${import_constants22.MISSING_THEME_MESSAGE}
2388
2388
  if (process.env.NODE_ENV === "development" && !conf) throw new Error(haventCalledErrorMessage);
2389
2389
  var { tokens, tokensParsed } = conf;
2390
2390
  return prefixed === !1 ? tokens : prefixed === !0 ? tokensParsed : tokensMerged;
2391
- }, getTokenObject = function(value2, group) {
2391
+ }, getTokenObject = function(value, group) {
2392
2392
  var _tokensMerged_group, _tokensMerged_, _conf_specificTokens_value;
2393
- 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) {
2394
- return tokensMerged[cat][value2];
2395
- }) || ""]) === null || _tokensMerged_ === void 0 ? void 0 : _tokensMerged_[value2];
2396
- }, getToken3 = function(value2, group) {
2397
- var useVariable = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : import_constants4.isWeb, token = getTokenObject(value2, group);
2393
+ 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) {
2394
+ return tokensMerged[cat][value];
2395
+ }) || ""]) === null || _tokensMerged_ === void 0 ? void 0 : _tokensMerged_[value];
2396
+ }, getToken3 = function(value, group) {
2397
+ var useVariable = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : import_constants4.isWeb, token = getTokenObject(value, group);
2398
2398
  return useVariable ? token == null ? void 0 : token.variable : token == null ? void 0 : token.val;
2399
- }, getTokenValue3 = function(value2, group) {
2400
- if (!(value2 === "unset" || value2 === "auto")) return getToken3(value2, group, !1);
2399
+ }, getTokenValue3 = function(value, group) {
2400
+ if (!(value === "unset" || value === "auto")) return getToken3(value, group, !1);
2401
2401
  }, useTokens = getTokens3, getThemes3 = function() {
2402
2402
  return conf.themes;
2403
2403
  }, configListeners = /* @__PURE__ */ new Set(), onConfiguredOnce = function(cb) {
2404
2404
  conf ? cb(conf) : configListeners.add(cb);
2405
- }, updateConfig2 = function(key, value2) {
2406
- Object.assign(conf[key], value2);
2405
+ }, updateConfig2 = function(key, value) {
2406
+ Object.assign(conf[key], value);
2407
2407
  }, getFont = function(name) {
2408
2408
  var _Object_entries_find, conf2 = getConfig3(), _conf_fontsParsed_name;
2409
2409
  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) {
@@ -2545,9 +2545,9 @@ var require_createVariable_native = __commonJS({
2545
2545
  var name = (0, import_helpers.simpleHash)(nameProp, 60);
2546
2546
  return includeVar ? constructCSSVariableName(name) : name;
2547
2547
  };
2548
- function px(value2) {
2548
+ function px(value) {
2549
2549
  return {
2550
- val: value2,
2550
+ val: value,
2551
2551
  needsPx: !0
2552
2552
  };
2553
2553
  }
@@ -2637,8 +2637,8 @@ var require_insertStyleRule_native = __commonJS({
2637
2637
  process.env.NODE_ENV === "development" && console.error(`\u274C Invalid transform, likely used deg/% improperly ${identifier}`);
2638
2638
  return;
2639
2639
  }
2640
- var startI = s + 10, endI = css.indexOf(";"), value2 = css.slice(startI, endI);
2641
- if (!insertedTransforms[identifier]) return insertedTransforms[identifier] = value2, !0;
2640
+ var startI = s + 10, endI = css.indexOf(";"), value = css.slice(startI, endI);
2641
+ if (!insertedTransforms[identifier]) return insertedTransforms[identifier] = value, !0;
2642
2642
  }
2643
2643
  var lastScannedSheets = null;
2644
2644
  function scanAllSheets() {
@@ -2753,15 +2753,15 @@ var require_insertStyleRule_native = __commonJS({
2753
2753
  if (sepI !== -1) {
2754
2754
  var varIndex = rule.indexOf("--"), key1 = rule.slice(varIndex === -1 ? 0 : varIndex + 2, sepI);
2755
2755
  process.env.TAMAGUI_CSS_VARIABLE_PREFIX && (key1 = key1.replace(process.env.TAMAGUI_CSS_VARIABLE_PREFIX, ""));
2756
- var val = rule.slice(sepI + 2), value2 = void 0;
2756
+ var val = rule.slice(sepI + 2), value = void 0;
2757
2757
  if (val[0] === "v" && val.startsWith("var(")) {
2758
2758
  var varName = val.slice(6, -1), tokenVal = colorVarToVal[varName];
2759
- tokenVal ? value2 = tokenVal : (rootComputedStyle || (rootComputedStyle = getComputedStyle(document.body)), value2 = rootComputedStyle.getPropertyValue("--" + varName));
2760
- } else value2 = val;
2759
+ tokenVal ? value = tokenVal : (rootComputedStyle || (rootComputedStyle = getComputedStyle(document.body)), value = rootComputedStyle.getPropertyValue("--" + varName));
2760
+ } else value = val;
2761
2761
  values[key1] = (0, import_createVariable.createVariable)({
2762
2762
  key: key1,
2763
2763
  name: key1,
2764
- val: value2
2764
+ val: value
2765
2765
  }, !0);
2766
2766
  }
2767
2767
  }
@@ -3295,8 +3295,8 @@ var require_useMedia_native = __commonJS({
3295
3295
  if (typeof query == "string") return query;
3296
3296
  if (cache.has(query)) return cache.get(query);
3297
3297
  var res = Object.entries(query).map(function(param) {
3298
- var [feature, value2] = param;
3299
- return feature = camelToHyphen(feature), typeof value2 == "string" ? `(${feature}: ${value2})` : (typeof value2 == "number" && /[height|width]$/.test(feature) && (value2 = `${value2}px`), `(${feature}: ${value2})`);
3298
+ var [feature, value] = param;
3299
+ return feature = camelToHyphen(feature), typeof value == "string" ? `(${feature}: ${value})` : (typeof value == "number" && /[height|width]$/.test(feature) && (value = `${value}px`), `(${feature}: ${value})`);
3300
3300
  }).join(" and ");
3301
3301
  return key && (cachedMediaKeyToQuery[key] = res), cache.set(query, res), res;
3302
3302
  }
@@ -3387,13 +3387,13 @@ var require_Tamagui_native = __commonJS({
3387
3387
  function _create_class(Constructor, protoProps, staticProps) {
3388
3388
  return protoProps && _defineProperties(Constructor.prototype, protoProps), staticProps && _defineProperties(Constructor, staticProps), Constructor;
3389
3389
  }
3390
- function _define_property(obj, key, value2) {
3390
+ function _define_property(obj, key, value) {
3391
3391
  return key in obj ? Object.defineProperty(obj, key, {
3392
- value: value2,
3392
+ value,
3393
3393
  enumerable: !0,
3394
3394
  configurable: !0,
3395
3395
  writable: !0
3396
- }) : obj[key] = value2, obj;
3396
+ }) : obj[key] = value, obj;
3397
3397
  }
3398
3398
  var Tamagui = function() {
3399
3399
  if (process.env.NODE_ENV === "development") {
@@ -3447,8 +3447,8 @@ var require_Tamagui_native = __commonJS({
3447
3447
  }
3448
3448
  }(), identifierToValue = /* @__PURE__ */ new Map(), getValueFromIdentifier = function(identifier) {
3449
3449
  return identifierToValue.get(identifier);
3450
- }, setIdentifierValue = function(identifier, value2) {
3451
- identifierToValue.set(identifier, value2);
3450
+ }, setIdentifierValue = function(identifier, value) {
3451
+ identifierToValue.set(identifier, value);
3452
3452
  };
3453
3453
  }
3454
3454
  });
@@ -3515,8 +3515,8 @@ var require_compose_refs_native = __commonJS({
3515
3515
  });
3516
3516
  module2.exports = __toCommonJS2(compose_refs_exports);
3517
3517
  var React4 = __toESM2(require("react"));
3518
- function setRef(ref, value2) {
3519
- typeof ref == "function" ? ref(value2) : ref && (ref.current = value2);
3518
+ function setRef(ref, value) {
3519
+ typeof ref == "function" ? ref(value) : ref && (ref.current = value);
3520
3520
  }
3521
3521
  function composeRefs() {
3522
3522
  for (var _len = arguments.length, refs = new Array(_len), _key = 0; _key < _len; _key++) refs[_key] = arguments[_key];
@@ -3843,8 +3843,8 @@ var require_createStyledContext_native = __commonJS({
3843
3843
  })
3844
3844
  });
3845
3845
  }, useStyledContext = function() {
3846
- 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);
3847
- return value2;
3846
+ 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);
3847
+ return value;
3848
3848
  };
3849
3849
  return Context.Provider = Provider, Context.props = defaultValues, Context.context = OGContext, Context.useStyledContext = useStyledContext, Context;
3850
3850
  }
@@ -5388,11 +5388,11 @@ var require_normalizeValueWithProperty_native = __commonJS({
5388
5388
  translateX: !0,
5389
5389
  translateY: !0
5390
5390
  };
5391
- function normalizeValueWithProperty(value2) {
5391
+ function normalizeValueWithProperty(value) {
5392
5392
  var property = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "";
5393
- if (!import_constants4.isWeb || import_helpers.stylePropsUnitless[property] || property && !stylePropsAllPlusTransforms[property] || typeof value2 == "boolean") return value2;
5394
- var res = value2;
5395
- return value2 && typeof value2 == "object" ? value2 : (typeof value2 == "number" ? res = `${value2}px` : property && (res = `${res}`), res);
5393
+ if (!import_constants4.isWeb || import_helpers.stylePropsUnitless[property] || property && !stylePropsAllPlusTransforms[property] || typeof value == "boolean") return value;
5394
+ var res = value;
5395
+ return value && typeof value == "object" ? value : (typeof value == "number" ? res = `${value}px` : property && (res = `${res}`), res);
5396
5396
  }
5397
5397
  }
5398
5398
  });
@@ -5656,26 +5656,26 @@ var require_expandStyle_native = __commonJS({
5656
5656
  return `${prefix}${k}`;
5657
5657
  });
5658
5658
  };
5659
- function expandStyle(key, value2) {
5659
+ function expandStyle(key, value) {
5660
5660
  if (import_constants4.isAndroid && key === "elevationAndroid") return [
5661
5661
  [
5662
5662
  "elevation",
5663
- value2
5663
+ value
5664
5664
  ]
5665
5665
  ];
5666
5666
  if (key in EXPANSIONS) return EXPANSIONS[key].map(function(key2) {
5667
5667
  return [
5668
5668
  key2,
5669
- value2
5669
+ value
5670
5670
  ];
5671
5671
  });
5672
5672
  if (key in import_webToNativeProps.webToNativeExpansion) return import_webToNativeProps.webToNativeExpansion[key].map(function(key2) {
5673
5673
  return [
5674
5674
  key2,
5675
- value2
5675
+ value
5676
5676
  ];
5677
5677
  });
5678
- if (key in import_webToNativeProps.webToNativeDynamicExpansion) return import_webToNativeProps.webToNativeDynamicExpansion[key](value2);
5678
+ if (key in import_webToNativeProps.webToNativeDynamicExpansion) return import_webToNativeProps.webToNativeDynamicExpansion[key](value);
5679
5679
  }
5680
5680
  var all = [
5681
5681
  "Top",
@@ -5920,8 +5920,8 @@ var require_normalizeStyle_native = __commonJS({
5920
5920
  res[key] = normalizeStyle(prop, disableNormalize);
5921
5921
  continue;
5922
5922
  }
5923
- var value2 = disableNormalize ? prop : (0, import_normalizeValueWithProperty.normalizeValueWithProperty)(prop, key), out = (0, import_expandStyle.expandStyle)(key, value2);
5924
- out ? Object.assign(res, Object.fromEntries(out)) : res[key] = value2;
5923
+ var value = disableNormalize ? prop : (0, import_normalizeValueWithProperty.normalizeValueWithProperty)(prop, key), out = (0, import_expandStyle.expandStyle)(key, value);
5924
+ out ? Object.assign(res, Object.fromEntries(out)) : res[key] = value;
5925
5925
  }
5926
5926
  }
5927
5927
  return (0, import_expandStyles.fixStyles)(res), res;
@@ -6140,18 +6140,18 @@ var require_propMapper_native = __commonJS({
6140
6140
  }
6141
6141
  });
6142
6142
  module2.exports = __toCommonJS2(propMapper_exports);
6143
- 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) {
6144
- if (disabled) return map(key, value2);
6143
+ 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) {
6144
+ if (disabled) return map(key, value);
6145
6145
  if (lastFontFamilyToken = null, !(!import_constants4.isAndroid && key === "elevationAndroid")) {
6146
6146
  var { conf, styleProps, staticConfig } = styleState;
6147
- if (value2 === "unset") {
6147
+ if (value === "unset") {
6148
6148
  var _conf_unset, unsetVal = (_conf_unset = conf.unset) === null || _conf_unset === void 0 ? void 0 : _conf_unset[key];
6149
- if (unsetVal != null) value2 = unsetVal;
6149
+ if (unsetVal != null) value = unsetVal;
6150
6150
  else return;
6151
6151
  }
6152
6152
  var { variants } = staticConfig;
6153
6153
  if (!styleProps.noExpand && variants && key in variants) {
6154
- var variantValue = resolveVariants(key, value2, styleProps, styleState, "");
6154
+ var variantValue = resolveVariants(key, value, styleProps, styleState, "");
6155
6155
  if (variantValue) {
6156
6156
  variantValue.forEach(function(param) {
6157
6157
  var [_$key, _$value] = param;
@@ -6160,35 +6160,35 @@ var require_propMapper_native = __commonJS({
6160
6160
  return;
6161
6161
  }
6162
6162
  }
6163
- 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) {
6163
+ 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) {
6164
6164
  key === "fontFamily" && lastFontFamilyToken && (styleState.fontFamily = lastFontFamilyToken);
6165
- var expanded = styleProps.noExpand ? null : (0, import_expandStyle.expandStyle)(key, value2);
6165
+ var expanded = styleProps.noExpand ? null : (0, import_expandStyle.expandStyle)(key, value);
6166
6166
  if (expanded) for (var max = expanded.length, i = 0; i < max; i++) {
6167
6167
  var [nkey, nvalue] = expanded[i];
6168
6168
  map(nkey, nvalue);
6169
6169
  }
6170
- else map(key, value2);
6170
+ else map(key, value);
6171
6171
  }
6172
6172
  }
6173
- }, resolveVariants = function(key, value2, styleProps, styleState, parentVariantKey) {
6173
+ }, resolveVariants = function(key, value, styleProps, styleState, parentVariantKey) {
6174
6174
  var { staticConfig, conf, debug } = styleState, { variants } = staticConfig;
6175
6175
  if (variants) {
6176
- var variantValue = getVariantDefinition(variants[key], value2, conf);
6176
+ var variantValue = getVariantDefinition(variants[key], value, conf);
6177
6177
  if (process.env.NODE_ENV === "development" && debug === "verbose" && (console.groupCollapsed(`\u2666\uFE0F\u2666\uFE0F\u2666\uFE0F resolve variant ${key}`), console.info({
6178
6178
  key,
6179
- value: value2,
6179
+ value,
6180
6180
  variantValue,
6181
6181
  variants
6182
6182
  }), console.groupEnd()), !variantValue) {
6183
- if (process.env.TAMAGUI_WARN_ON_MISSING_VARIANT === "1" && typeof value2 != "boolean") {
6183
+ if (process.env.TAMAGUI_WARN_ON_MISSING_VARIANT === "1" && typeof value != "boolean") {
6184
6184
  var name = staticConfig.componentName || "[UnnamedComponent]";
6185
- console.warn(`No variant found: ${name} has variant "${key}", but no matching value "${value2}"`);
6185
+ console.warn(`No variant found: ${name} has variant "${key}", but no matching value "${value}"`);
6186
6186
  }
6187
6187
  return;
6188
6188
  }
6189
6189
  if (typeof variantValue == "function") {
6190
6190
  var fn = variantValue, extras = (0, import_getVariantExtras.getVariantExtras)(styleState);
6191
- variantValue = fn(value2, extras), process.env.NODE_ENV;
6191
+ variantValue = fn(value, extras), process.env.NODE_ENV;
6192
6192
  }
6193
6193
  var fontFamilyResult;
6194
6194
  if ((0, import_isObj.isObj)(variantValue)) {
@@ -6213,11 +6213,11 @@ var require_propMapper_native = __commonJS({
6213
6213
  }
6214
6214
  } else if (typeof input == "string" && input[0] === "$") return input;
6215
6215
  }
6216
- var variableToFontNameCache = /* @__PURE__ */ new WeakMap(), resolveTokensAndVariants = function(key, value2, styleProps, styleState, parentVariantKey) {
6216
+ var variableToFontNameCache = /* @__PURE__ */ new WeakMap(), resolveTokensAndVariants = function(key, value, styleProps, styleState, parentVariantKey) {
6217
6217
  var { conf, staticConfig, debug, theme } = styleState, { variants } = staticConfig, res = {};
6218
- process.env.NODE_ENV === "development" && debug === "verbose" && console.info(" - resolveTokensAndVariants", key, value2);
6219
- for (var _key in value2) {
6220
- var subKey = conf.shorthands[_key] || _key, val = value2[_key];
6218
+ process.env.NODE_ENV === "development" && debug === "verbose" && console.info(" - resolveTokensAndVariants", key, value);
6219
+ for (var _key in value) {
6220
+ var subKey = conf.shorthands[_key] || _key, val = value[_key];
6221
6221
  if (!(!styleProps.noSkip && subKey in import_skipProps.skipProps)) {
6222
6222
  if (styleProps.noExpand) res[subKey] = val;
6223
6223
  else if (variants && subKey in variants) {
@@ -6285,17 +6285,17 @@ var require_propMapper_native = __commonJS({
6285
6285
  spreadName: `...${name}`
6286
6286
  };
6287
6287
  });
6288
- function getVariantDefinition(variant, value2, conf) {
6288
+ function getVariantDefinition(variant, value, conf) {
6289
6289
  if (variant) {
6290
6290
  if (typeof variant == "function") return variant;
6291
- var exact = variant[value2];
6291
+ var exact = variant[value];
6292
6292
  if (exact) return exact;
6293
- if (value2 != null) {
6293
+ if (value != null) {
6294
6294
  var { tokensParsed } = conf, _iteratorNormalCompletion = !0, _didIteratorError = !1, _iteratorError = void 0;
6295
6295
  try {
6296
6296
  for (var _iterator = tokenCats[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = !0) {
6297
6297
  var { name, spreadName } = _step.value;
6298
- if (spreadName in variant && name in tokensParsed && value2 in tokensParsed[name]) return variant[spreadName];
6298
+ if (spreadName in variant && name in tokensParsed && value in tokensParsed[name]) return variant[spreadName];
6299
6299
  }
6300
6300
  } catch (err) {
6301
6301
  _didIteratorError = !0, _iteratorError = err;
@@ -6307,32 +6307,32 @@ var require_propMapper_native = __commonJS({
6307
6307
  }
6308
6308
  }
6309
6309
  var fontSizeVariant = variant["...fontSize"];
6310
- if (fontSizeVariant && conf.fontSizeTokens.has(value2)) return fontSizeVariant;
6310
+ if (fontSizeVariant && conf.fontSizeTokens.has(value)) return fontSizeVariant;
6311
6311
  }
6312
- return variant[`:${typeof value2}`] || variant["..."];
6312
+ return variant[`:${typeof value}`] || variant["..."];
6313
6313
  }
6314
6314
  }
6315
6315
  var fontShorthand = {
6316
6316
  fontSize: "size",
6317
6317
  fontWeight: "weight"
6318
- }, lastFontFamilyToken = null, getTokenForKey = function(key, value2, styleProps, styleState) {
6318
+ }, lastFontFamilyToken = null, getTokenForKey = function(key, value, styleProps, styleState) {
6319
6319
  var _staticConfig_accept, resolveAs = styleProps.resolveValues || "none";
6320
- if (resolveAs === "none") return value2;
6321
- 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];
6320
+ if (resolveAs === "none") return value;
6321
+ 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];
6322
6322
  if (customTokenAccept) {
6323
- var val = themeValue ?? tokensParsed[customTokenAccept][value2];
6323
+ var val = themeValue ?? tokensParsed[customTokenAccept][value];
6324
6324
  val != null && (resolveAs = "value", valOrVar = val, hasSet = !0);
6325
6325
  }
6326
6326
  if (themeValue) {
6327
- if (resolveAs === "except-theme") return value2;
6328
- valOrVar = themeValue, process.env.NODE_ENV === "development" && styleState.debug === "verbose" && (globalThis.tamaguiAvoidTracking = !0, console.info(` - resolving ${key} to theme value ${value2} resolveAs ${resolveAs}`, valOrVar), globalThis.tamaguiAvoidTracking = !1), hasSet = !0;
6327
+ if (resolveAs === "except-theme") return value;
6328
+ valOrVar = themeValue, process.env.NODE_ENV === "development" && styleState.debug === "verbose" && (globalThis.tamaguiAvoidTracking = !0, console.info(` - resolving ${key} to theme value ${value} resolveAs ${resolveAs}`, valOrVar), globalThis.tamaguiAvoidTracking = !1), hasSet = !0;
6329
6329
  } else {
6330
- if (value2 in conf.specificTokens) hasSet = !0, valOrVar = conf.specificTokens[value2];
6330
+ if (value in conf.specificTokens) hasSet = !0, valOrVar = conf.specificTokens[value];
6331
6331
  else {
6332
6332
  switch (key) {
6333
6333
  case "fontFamily": {
6334
6334
  var _fontsParsed_value, fontsParsed = context != null && context.language ? (0, import_getVariantExtras.getFontsForLanguage)(conf.fontsParsed, context.language) : conf.fontsParsed;
6335
- valOrVar = ((_fontsParsed_value = fontsParsed[value2]) === null || _fontsParsed_value === void 0 ? void 0 : _fontsParsed_value.family) || value2, lastFontFamilyToken = value2, hasSet = !0;
6335
+ valOrVar = ((_fontsParsed_value = fontsParsed[value]) === null || _fontsParsed_value === void 0 ? void 0 : _fontsParsed_value.family) || value, lastFontFamilyToken = value, hasSet = !0;
6336
6336
  break;
6337
6337
  }
6338
6338
  case "fontSize":
@@ -6342,18 +6342,18 @@ var require_propMapper_native = __commonJS({
6342
6342
  var fam = fontFamily || conf.defaultFontToken;
6343
6343
  if (fam) {
6344
6344
  var _font_, fontsParsed1 = context != null && context.language ? (0, import_getVariantExtras.getFontsForLanguage)(conf.fontsParsed, context.language) : conf.fontsParsed, font = fontsParsed1[fam] || fontsParsed1[conf.defaultFontToken];
6345
- valOrVar = (font == null || (_font_ = font[fontShorthand[key] || key]) === null || _font_ === void 0 ? void 0 : _font_[value2]) || value2, hasSet = !0;
6345
+ valOrVar = (font == null || (_font_ = font[fontShorthand[key] || key]) === null || _font_ === void 0 ? void 0 : _font_[value]) || value, hasSet = !0;
6346
6346
  }
6347
6347
  break;
6348
6348
  }
6349
6349
  }
6350
6350
  for (var cat in import_helpers.tokenCategories) if (key in import_helpers.tokenCategories[cat]) {
6351
- var res = tokensParsed[cat][value2];
6351
+ var res = tokensParsed[cat][value];
6352
6352
  res != null && (valOrVar = res, hasSet = !0);
6353
6353
  }
6354
6354
  }
6355
6355
  if (!hasSet) {
6356
- var spaceVar = tokensParsed.space[value2];
6356
+ var spaceVar = tokensParsed.space[value];
6357
6357
  spaceVar != null && (valOrVar = spaceVar, hasSet = !0);
6358
6358
  }
6359
6359
  }
@@ -6479,8 +6479,8 @@ var require_transformsToString_native = __commonJS({
6479
6479
  // { matrix: [1,2,3,4,5,6] } => 'matrix(1,2,3,4,5,6)'
6480
6480
  // { perspective: 1000 } => perspective(1000px)
6481
6481
  function(transform) {
6482
- var type = Object.keys(transform)[0], value2 = transform[type];
6483
- return type === "matrix" || type === "matrix3d" ? `${type}(${value2.join(",")})` : `${type}(${(0, import_normalizeValueWithProperty.normalizeValueWithProperty)(value2, type)})`;
6482
+ var type = Object.keys(transform)[0], value = transform[type];
6483
+ return type === "matrix" || type === "matrix3d" ? `${type}(${value.join(",")})` : `${type}(${(0, import_normalizeValueWithProperty.normalizeValueWithProperty)(value, type)})`;
6484
6484
  }
6485
6485
  ).join(" ");
6486
6486
  }
@@ -6916,7 +6916,7 @@ var require_getSplitStyles_native = __commonJS({
6916
6916
  if (!styleState.style.$$css) {
6917
6917
  var atomic, _iteratorNormalCompletion, _didIteratorError, _iteratorError;
6918
6918
  try {
6919
- for (var _iterator, _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = !0) var atomicStyle, _props_animateOnly, _props_animateOnly1, key2, value2, identifier, isAnimatedAndAnimateOnly, nonAnimatedAnimateOnly;
6919
+ for (var _iterator, _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = !0) var atomicStyle, _props_animateOnly, _props_animateOnly1, key2, value, identifier, isAnimatedAndAnimateOnly, nonAnimatedAnimateOnly;
6920
6920
  } catch (err) {
6921
6921
  } finally {
6922
6922
  }
@@ -7090,14 +7090,14 @@ var require_getSplitStyles_native = __commonJS({
7090
7090
  delete viewProps[key], viewProps[key] = next;
7091
7091
  } else viewProps[key] = val;
7092
7092
  }
7093
- function mergeMediaByImportance(styleState, mediaKey, key, value2, isSizeMedia, importanceBump, debugProp) {
7093
+ function mergeMediaByImportance(styleState, mediaKey, key, value, isSizeMedia, importanceBump, debugProp) {
7094
7094
  var usedKeys = styleState.usedKeys, importance = (0, import_useMedia.getMediaImportanceIfMoreImportant)(mediaKey, key, styleState, isSizeMedia);
7095
7095
  if (importanceBump && (importance = (importance || 0) + importanceBump), process.env.NODE_ENV === "development" && debugProp === "verbose" && (0, import_log.log)(`mergeMediaByImportance ${key} importance usedKey ${usedKeys[key]} next ${importance}`), importance === null) return !1;
7096
7096
  if (key in import_pseudoDescriptors.pseudoDescriptors) {
7097
7097
  var descriptor = import_pseudoDescriptors.pseudoDescriptors[key], descriptorKey = descriptor.stateKey || descriptor.name, isDisabled = styleState.componentState[descriptorKey] === !1;
7098
7098
  if (isDisabled) return !1;
7099
- for (var subKey in value2) mergeStyle(styleState, subKey, value2[subKey], importance);
7100
- } else mergeStyle(styleState, key, value2, importance);
7099
+ for (var subKey in value) mergeStyle(styleState, subKey, value[subKey], importance);
7100
+ } else mergeStyle(styleState, key, value, importance);
7101
7101
  return !0;
7102
7102
  }
7103
7103
  function normalizeStyle(style) {
@@ -7727,14 +7727,14 @@ var require_getThemeProxied_native = __commonJS({
7727
7727
  curKeys && (curKeys.current || (curKeys.current = /* @__PURE__ */ new Set()), curKeys.current.add(key), process.env.NODE_ENV === "development" && curProps.debug && console.info(` \u{1F3A8} useTheme() tracking new key: ${key}`, curKeys));
7728
7728
  }
7729
7729
  var proxied1 = Object.fromEntries(Object.entries(_state.theme).flatMap(function(param) {
7730
- var [key, value2] = param, proxied2 = {
7731
- ...value2,
7730
+ var [key, value] = param, proxied2 = {
7731
+ ...value,
7732
7732
  get val() {
7733
- return globalThis.tamaguiAvoidTracking || track(key), value2.val;
7733
+ return globalThis.tamaguiAvoidTracking || track(key), value.val;
7734
7734
  },
7735
7735
  get(platform2) {
7736
7736
  if (curState) {
7737
- 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)();
7737
+ 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)();
7738
7738
  if (shouldOptimize) {
7739
7739
  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)({
7740
7740
  scheme,
@@ -8303,11 +8303,11 @@ var require_index_native14 = __commonJS({
8303
8303
  };
8304
8304
  function useDidFinishSSR2() {
8305
8305
  var clientOnly = React4.useContext(import_ClientOnly.ClientOnlyContext);
8306
- return value != null ? value : !0;
8306
+ return !0;
8307
8307
  }
8308
- function useClientValue(value1) {
8308
+ function useClientValue(value) {
8309
8309
  var done = useDidFinishSSR2();
8310
- return done ? typeof value1 == "function" ? value1() : value1 : void 0;
8310
+ return done ? typeof value == "function" ? value() : value : void 0;
8311
8311
  }
8312
8312
  }
8313
8313
  });
@@ -9924,10 +9924,10 @@ var require_createFont_native = __commonJS({
9924
9924
  ...sectionKeys
9925
9925
  ])
9926
9926
  ].map(function(key) {
9927
- var _section_key, _ref, value2 = (_ref = (_section_key = section[key]) !== null && _section_key !== void 0 ? _section_key : defaultValue) !== null && _ref !== void 0 ? _ref : fillValue;
9928
- return fillValue = value2, defaultValue = value2, [
9927
+ var _section_key, _ref, value = (_ref = (_section_key = section[key]) !== null && _section_key !== void 0 ? _section_key : defaultValue) !== null && _ref !== void 0 ? _ref : fillValue;
9928
+ return fillValue = value, defaultValue = value, [
9929
9929
  key,
9930
- value2
9930
+ value
9931
9931
  ];
9932
9932
  }));
9933
9933
  }, createFont2 = function(font) {
@@ -10145,7 +10145,7 @@ ${JSON.stringify(variable, null, 2)}`);
10145
10145
  var sep;
10146
10146
  if (fontDeclarations) for (var key22 in fontDeclarations) var name1, declarations1, language1, fontSelector, langSelector, selectors, specificRuleSet;
10147
10147
  }
10148
- var themesIn = configIn.themes, dedupedThemes = foundThemes ?? getThemesDeduped(themesIn), themes = (0, import_proxyThemeToParents.proxyThemesToParents)(dedupedThemes);
10148
+ var themesIn = configIn.themes, dedupedThemes = foundThemes ?? getThemesDeduped(themesIn, tokens.color), themes = (0, import_proxyThemeToParents.proxyThemesToParents)(dedupedThemes);
10149
10149
  return {
10150
10150
  themes,
10151
10151
  cssRuleSets,
@@ -10249,7 +10249,7 @@ ${JSON.stringify(variable, null, 2)}`);
10249
10249
  }
10250
10250
  return config;
10251
10251
  }
10252
- function getThemesDeduped(themes) {
10252
+ function getThemesDeduped(themes, colorTokens) {
10253
10253
  var dedupedThemes = [], existing = /* @__PURE__ */ new Map();
10254
10254
  for (var themeName in themes) {
10255
10255
  var darkOrLightSpecificPrefix = themeName.startsWith("dark") ? "dark" : themeName.startsWith("light") ? "light" : "", rawTheme = themes[themeName], key = darkOrLightSpecificPrefix + JSON.stringify(rawTheme);
@@ -10261,6 +10261,7 @@ ${JSON.stringify(variable, null, 2)}`);
10261
10261
  var theme = {
10262
10262
  ...rawTheme
10263
10263
  };
10264
+ colorTokens && Object.assign(theme, colorTokens);
10264
10265
  for (var key1 in theme) (0, import_themes.ensureThemeVariable)(theme, key1);
10265
10266
  var deduped = {
10266
10267
  names: [
@@ -11499,12 +11500,13 @@ var require_FontLanguage_native = __commonJS({
11499
11500
  });
11500
11501
  module2.exports = __toCommonJS2(FontLanguage_native_exports);
11501
11502
  var import_jsx_runtime6 = require("react/jsx-runtime"), import_react3 = __toESM2(require("react")), import_ComponentContext = require_ComponentContext_native(), FontLanguage2 = function(param) {
11502
- var { children, ...props } = param, language = import_react3.default.useMemo(function() {
11503
+ var { children, ...props } = param, parentProps = import_react3.default.useContext(import_ComponentContext.ComponentContext), language = import_react3.default.useMemo(function() {
11503
11504
  return props;
11504
11505
  }, [
11505
11506
  JSON.stringify(props)
11506
11507
  ]);
11507
11508
  return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_ComponentContext.ComponentContext.Provider, {
11509
+ ...parentProps,
11508
11510
  language,
11509
11511
  children
11510
11512
  });
@@ -12102,41 +12104,41 @@ var require_matchQuery_native = __commonJS({
12102
12104
  var inverse = query.inverse, typeMatch = query.type === "all" || values.type === query.type;
12103
12105
  if (typeMatch && inverse || !(typeMatch || inverse)) return !1;
12104
12106
  var expressionsMatch = query.expressions.every(function(expression) {
12105
- var feature = expression.feature, modifier = expression.modifier, expValue = expression.value, value2 = values[feature];
12106
- if (!value2) return !1;
12107
+ var feature = expression.feature, modifier = expression.modifier, expValue = expression.value, value = values[feature];
12108
+ if (!value) return !1;
12107
12109
  switch (feature) {
12108
12110
  case "orientation":
12109
12111
  case "scan":
12110
- return value2.toLowerCase() === expValue.toLowerCase();
12112
+ return value.toLowerCase() === expValue.toLowerCase();
12111
12113
  case "width":
12112
12114
  case "height":
12113
12115
  case "device-width":
12114
12116
  case "device-height":
12115
- expValue = toPx(expValue), value2 = toPx(value2);
12117
+ expValue = toPx(expValue), value = toPx(value);
12116
12118
  break;
12117
12119
  case "resolution":
12118
- expValue = toDpi(expValue), value2 = toDpi(value2);
12120
+ expValue = toDpi(expValue), value = toDpi(value);
12119
12121
  break;
12120
12122
  case "aspect-ratio":
12121
12123
  case "device-aspect-ratio":
12122
12124
  case /* Deprecated */
12123
12125
  "device-pixel-ratio":
12124
- expValue = toDecimal(expValue), value2 = toDecimal(value2);
12126
+ expValue = toDecimal(expValue), value = toDecimal(value);
12125
12127
  break;
12126
12128
  case "grid":
12127
12129
  case "color":
12128
12130
  case "color-index":
12129
12131
  case "monochrome":
12130
- expValue = Number.parseInt(expValue, 10) || 1, value2 = Number.parseInt(value2, 10) || 0;
12132
+ expValue = Number.parseInt(expValue, 10) || 1, value = Number.parseInt(value, 10) || 0;
12131
12133
  break;
12132
12134
  }
12133
12135
  switch (modifier) {
12134
12136
  case "min":
12135
- return value2 >= expValue;
12137
+ return value >= expValue;
12136
12138
  case "max":
12137
- return value2 <= expValue;
12139
+ return value <= expValue;
12138
12140
  default:
12139
- return value2 === expValue;
12141
+ return value === expValue;
12140
12142
  }
12141
12143
  });
12142
12144
  return expressionsMatch && !inverse || !expressionsMatch && inverse;
@@ -12168,35 +12170,35 @@ var require_matchQuery_native = __commonJS({
12168
12170
  return decimal || (numbers = ratio.match(/^(\d+)\s*\/\s*(\d+)$/), decimal = numbers[1] / numbers[2]), decimal;
12169
12171
  }
12170
12172
  function toDpi(resolution) {
12171
- 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];
12173
+ 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];
12172
12174
  switch (units) {
12173
12175
  case "dpcm":
12174
- return value2 / 2.54;
12176
+ return value / 2.54;
12175
12177
  case "dppx":
12176
- return value2 * 96;
12178
+ return value * 96;
12177
12179
  default:
12178
- return value2;
12180
+ return value;
12179
12181
  }
12180
12182
  }
12181
12183
  function toPx(length) {
12182
- 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];
12184
+ 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];
12183
12185
  switch (units) {
12184
12186
  case "em":
12185
- return value2 * 16;
12187
+ return value * 16;
12186
12188
  case "rem":
12187
- return value2 * 16;
12189
+ return value * 16;
12188
12190
  case "cm":
12189
- return value2 * 96 / 2.54;
12191
+ return value * 96 / 2.54;
12190
12192
  case "mm":
12191
- return value2 * 96 / 2.54 / 10;
12193
+ return value * 96 / 2.54 / 10;
12192
12194
  case "in":
12193
- return value2 * 96;
12195
+ return value * 96;
12194
12196
  case "pt":
12195
- return value2 * 72;
12197
+ return value * 72;
12196
12198
  case "pc":
12197
- return value2 * 72 / 12;
12199
+ return value * 72 / 12;
12198
12200
  default:
12199
- return value2;
12201
+ return value;
12200
12202
  }
12201
12203
  }
12202
12204
  }
@@ -12258,13 +12260,13 @@ var require_mediaQueryList_native = __commonJS({
12258
12260
  function _create_class(Constructor, protoProps, staticProps) {
12259
12261
  return protoProps && _defineProperties(Constructor.prototype, protoProps), staticProps && _defineProperties(Constructor, staticProps), Constructor;
12260
12262
  }
12261
- function _define_property(obj, key, value2) {
12263
+ function _define_property(obj, key, value) {
12262
12264
  return key in obj ? Object.defineProperty(obj, key, {
12263
- value: value2,
12265
+ value,
12264
12266
  enumerable: !0,
12265
12267
  configurable: !0,
12266
12268
  writable: !0
12267
- }) : obj[key] = value2, obj;
12269
+ }) : obj[key] = value, obj;
12268
12270
  }
12269
12271
  var NativeMediaQueryList = /* @__PURE__ */ function() {
12270
12272
  "use strict";
@@ -12934,13 +12936,13 @@ var require_ResponderTouchHistoryStore_native = __commonJS({
12934
12936
  function _create_class(Constructor, protoProps, staticProps) {
12935
12937
  return protoProps && _defineProperties(Constructor.prototype, protoProps), staticProps && _defineProperties(Constructor, staticProps), Constructor;
12936
12938
  }
12937
- function _define_property(obj, key, value2) {
12939
+ function _define_property(obj, key, value) {
12938
12940
  return key in obj ? Object.defineProperty(obj, key, {
12939
- value: value2,
12941
+ value,
12940
12942
  enumerable: !0,
12941
12943
  configurable: !0,
12942
12944
  writable: !0
12943
- }) : obj[key] = value2, obj;
12945
+ }) : obj[key] = value, obj;
12944
12946
  }
12945
12947
  var ResponderTouchHistoryStore = /* @__PURE__ */ function() {
12946
12948
  "use strict";
@@ -15925,24 +15927,24 @@ var require_Accordion_native = __commonJS({
15925
15927
  AccordionComponent.displayName = ACCORDION_NAME;
15926
15928
  AccordionComponent.propTypes = {
15927
15929
  type(props) {
15928
- var value2 = props.value || props.defaultValue;
15930
+ var value = props.value || props.defaultValue;
15929
15931
  return props.type && ![
15930
15932
  "single",
15931
15933
  "multiple"
15932
- ].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;
15934
+ ].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;
15933
15935
  }
15934
15936
  };
15935
15937
  var { Provider: AccordionValueProvider, useStyledContext: useAccordionValueContext } = (0, import_core12.createStyledContext)(), { Provider: AccordionCollapsibleProvider, useStyledContext: useAccordionCollapsibleContext } = (0, import_core12.createStyledContext)(), AccordionImplSingle = /* @__PURE__ */ React4.forwardRef(function(props, forwardedRef) {
15936
15938
  var { value: valueProp, defaultValue, control, onValueChange = function() {
15937
- }, collapsible = !1, ...accordionSingleProps } = props, [value2, setValue] = (0, import_use_controllable_state.useControllableState)({
15939
+ }, collapsible = !1, ...accordionSingleProps } = props, [value, setValue] = (0, import_use_controllable_state.useControllableState)({
15938
15940
  prop: valueProp,
15939
15941
  defaultProp: defaultValue || "",
15940
15942
  onChange: onValueChange
15941
15943
  });
15942
15944
  return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(AccordionValueProvider, {
15943
15945
  scope: props.__scopeAccordion,
15944
- value: value2 ? [
15945
- value2
15946
+ value: value ? [
15947
+ value
15946
15948
  ] : [],
15947
15949
  onItemOpen: setValue,
15948
15950
  onItemClose: React4.useCallback(function() {
@@ -15962,7 +15964,7 @@ var require_Accordion_native = __commonJS({
15962
15964
  });
15963
15965
  }), AccordionImplMultiple = /* @__PURE__ */ React4.forwardRef(function(props, forwardedRef) {
15964
15966
  var { value: valueProp, defaultValue, onValueChange = function() {
15965
- }, ...accordionMultipleProps } = props, [value2, setValue] = (0, import_use_controllable_state.useControllableState)({
15967
+ }, ...accordionMultipleProps } = props, [value, setValue] = (0, import_use_controllable_state.useControllableState)({
15966
15968
  prop: valueProp,
15967
15969
  defaultProp: defaultValue || [],
15968
15970
  onChange: onValueChange
@@ -15979,8 +15981,8 @@ var require_Accordion_native = __commonJS({
15979
15981
  ]), handleItemClose = React4.useCallback(function(itemValue) {
15980
15982
  return setValue(function() {
15981
15983
  var prevValue = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [];
15982
- return prevValue.filter(function(value22) {
15983
- return value22 !== itemValue;
15984
+ return prevValue.filter(function(value2) {
15985
+ return value2 !== itemValue;
15984
15986
  });
15985
15987
  });
15986
15988
  }, [
@@ -15988,7 +15990,7 @@ var require_Accordion_native = __commonJS({
15988
15990
  ]);
15989
15991
  return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(AccordionValueProvider, {
15990
15992
  scope: props.__scopeAccordion,
15991
- value: value2 || [],
15993
+ value: value || [],
15992
15994
  onItemOpen: handleItemOpen,
15993
15995
  onItemClose: handleItemClose,
15994
15996
  children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(AccordionCollapsibleProvider, {
@@ -16060,7 +16062,7 @@ var require_Accordion_native = __commonJS({
16060
16062
  })
16061
16063
  });
16062
16064
  }), ITEM_NAME = "AccordionItem", { Provider: AccordionItemProvider, useStyledContext: useAccordionItemContext } = (0, import_core12.createStyledContext)(), AccordionItem = /* @__PURE__ */ React4.forwardRef(function(props, forwardedRef) {
16063
- 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;
16065
+ 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;
16064
16066
  return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(AccordionItemProvider, {
16065
16067
  scope: __scopeAccordion,
16066
16068
  open,
@@ -16075,7 +16077,7 @@ var require_Accordion_native = __commonJS({
16075
16077
  disabled,
16076
16078
  open,
16077
16079
  onOpenChange: function(open2) {
16078
- open2 ? valueContext.onItemOpen(value2) : valueContext.onItemClose(value2);
16080
+ open2 ? valueContext.onItemOpen(value) : valueContext.onItemClose(value);
16079
16081
  }
16080
16082
  })
16081
16083
  });
@@ -16668,9 +16670,9 @@ var require_GorhomPortal_native = __commonJS({
16668
16670
  };
16669
16671
  }, PortalProviderComponent = function(param) {
16670
16672
  var { rootHostName = "root", shouldAddRootHost = !0, children } = param, [state, dispatch] = (0, import_react3.useReducer)(reducer, INITIAL_STATE), transitionDispatch = (0, import_react3.useMemo)(function() {
16671
- var next = function(value2) {
16673
+ var next = function(value) {
16672
16674
  (0, import_start_transition.startTransition)(function() {
16673
- dispatch(value2);
16675
+ dispatch(value);
16674
16676
  });
16675
16677
  };
16676
16678
  return next;
@@ -17350,11 +17352,11 @@ var require_create_context_native = __commonJS({
17350
17352
  function createContext(rootComponentName, defaultContext) {
17351
17353
  var Context = /* @__PURE__ */ React4.createContext(defaultContext);
17352
17354
  function Provider(props) {
17353
- var { children, ...context } = props, value2 = React4.useMemo(function() {
17355
+ var { children, ...context } = props, value = React4.useMemo(function() {
17354
17356
  return context;
17355
17357
  }, Object.values(context));
17356
17358
  return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Context.Provider, {
17357
- value: value2,
17359
+ value,
17358
17360
  children
17359
17361
  });
17360
17362
  }
@@ -17378,11 +17380,11 @@ var require_create_context_native = __commonJS({
17378
17380
  defaultContext
17379
17381
  ];
17380
17382
  function Provider(props) {
17381
- 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() {
17383
+ 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() {
17382
17384
  return context;
17383
17385
  }, Object.values(context));
17384
17386
  return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Context.Provider, {
17385
- value: value2,
17387
+ value,
17386
17388
  children
17387
17389
  });
17388
17390
  }
@@ -18625,8 +18627,8 @@ var require_SheetImplementationCustom_native = __commonJS({
18625
18627
  useAnimatedNumberReaction({
18626
18628
  value: animatedNumber,
18627
18629
  hostRef: sheetRef
18628
- }, import_react3.default.useCallback(function(value2) {
18629
- at.current = value2, scrollBridge.paneY = value2;
18630
+ }, import_react3.default.useCallback(function(value) {
18631
+ at.current = value, scrollBridge.paneY = value;
18630
18632
  }, [
18631
18633
  animationDriver
18632
18634
  ]));
@@ -22317,7 +22319,7 @@ var require_focusableInputHOC_native = __commonJS({
22317
22319
  module2.exports = __toCommonJS2(focusableInputHOC_exports);
22318
22320
  var import_compose_refs = require_index_native11(), import_web = require_index_native15(), import_react3 = __toESM2(require("react")), import_registerFocusable = require_registerFocusable_native();
22319
22321
  function useFocusable2(param) {
22320
- 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) {
22322
+ 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) {
22321
22323
  input.focus(), input.setSelection && typeof inputValue.current == "string" && input.setSelection(0, inputValue.current.length);
22322
22324
  }, []), registerFocusableHandler = import_react3.default.useCallback(function(input) {
22323
22325
  var _unregisterFocusable_current;
@@ -22337,8 +22339,8 @@ var require_focusableInputHOC_native = __commonJS({
22337
22339
  input && registerFocusableHandler(input);
22338
22340
  }, [
22339
22341
  registerFocusableHandler
22340
- ]), handleChangeText = (0, import_web.useEvent)(function(value22) {
22341
- inputValue.current = value22, onChangeText == null || onChangeText(value22);
22342
+ ]), handleChangeText = (0, import_web.useEvent)(function(value2) {
22343
+ inputValue.current = value2, onChangeText == null || onChangeText(value2);
22342
22344
  });
22343
22345
  return import_react3.default.useEffect(function() {
22344
22346
  return function() {
@@ -22690,15 +22692,15 @@ var require_index_native49 = __commonJS({
22690
22692
  });
22691
22693
  module2.exports = __toCommonJS2(index_exports2);
22692
22694
  var React4 = __toESM2(require("react"));
22693
- function usePrevious(value2) {
22695
+ function usePrevious(value) {
22694
22696
  var ref = React4.useRef({
22695
- value: value2,
22696
- previous: value2
22697
+ value,
22698
+ previous: value
22697
22699
  });
22698
22700
  return React4.useMemo(function() {
22699
- return ref.current.value !== value2 && (ref.current.previous = ref.current.value, ref.current.value = value2), ref.current.previous;
22701
+ return ref.current.value !== value && (ref.current.previous = ref.current.value, ref.current.value = value), ref.current.previous;
22700
22702
  }, [
22701
- value2
22703
+ value
22702
22704
  ]);
22703
22705
  }
22704
22706
  }
@@ -22910,7 +22912,7 @@ var require_useCheckbox_native = __commonJS({
22910
22912
  module2.exports = __toCommonJS2(useCheckbox_exports);
22911
22913
  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();
22912
22914
  function useCheckbox(props, param, ref) {
22913
- 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() {
22915
+ 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() {
22914
22916
  return (0, import_helpers.composeEventHandlers)(parentKeyDown, function(event) {
22915
22917
  event.key === "Enter" && event.preventDefault();
22916
22918
  });
@@ -22931,7 +22933,7 @@ var require_useCheckbox_native = __commonJS({
22931
22933
  control: button,
22932
22934
  bubbles: !hasConsumerStoppedPropagationRef.current,
22933
22935
  name,
22934
- value: value2,
22936
+ value,
22935
22937
  checked,
22936
22938
  required,
22937
22939
  disabled
@@ -22944,7 +22946,7 @@ var require_useCheckbox_native = __commonJS({
22944
22946
  ...checkboxProps,
22945
22947
  ...import_constants4.isWeb && {
22946
22948
  type: "button",
22947
- value: value2,
22949
+ value,
22948
22950
  "data-state": (0, import_utils.getState)(checked),
22949
22951
  "data-disabled": disabled ? "" : void 0,
22950
22952
  disabled,
@@ -23088,8 +23090,8 @@ var require_createCheckbox_native = __commonJS({
23088
23090
  import_react3.default.useEffect(function() {
23089
23091
  if (props.id && !props.disabled) return (0, import_focusable2.registerFocusable)(props.id, {
23090
23092
  focusAndSelect: function() {
23091
- setChecked == null || setChecked(function(value2) {
23092
- return !value2;
23093
+ setChecked == null || setChecked(function(value) {
23094
+ return !value;
23093
23095
  });
23094
23096
  },
23095
23097
  focus: function() {
@@ -25534,20 +25536,20 @@ var require_Progress_native = __commonJS({
25534
25536
  animation: context.width ? animation : null
25535
25537
  });
25536
25538
  });
25537
- function defaultGetValueLabel(value2, max) {
25538
- return `${Math.round(value2 / max * 100)}%`;
25539
+ function defaultGetValueLabel(value, max) {
25540
+ return `${Math.round(value / max * 100)}%`;
25539
25541
  }
25540
- function getProgressState(value2, maxValue) {
25541
- return value2 == null ? "indeterminate" : value2 === maxValue ? "complete" : "loading";
25542
+ function getProgressState(value, maxValue) {
25543
+ return value == null ? "indeterminate" : value === maxValue ? "complete" : "loading";
25542
25544
  }
25543
- function isNumber(value2) {
25544
- return typeof value2 == "number";
25545
+ function isNumber(value) {
25546
+ return typeof value == "number";
25545
25547
  }
25546
25548
  function isValidMaxNumber(max) {
25547
25549
  return isNumber(max) && !Number.isNaN(max) && max > 0;
25548
25550
  }
25549
- function isValidValueNumber(value2, max) {
25550
- return isNumber(value2) && !Number.isNaN(value2) && value2 <= max && value2 >= 0;
25551
+ function isValidValueNumber(value, max) {
25552
+ return isNumber(value) && !Number.isNaN(value) && value <= max && value >= 0;
25551
25553
  }
25552
25554
  var DEFAULT_MAX = 100, ProgressFrame = (0, import_core12.styled)(import_stacks3.ThemeableStack, {
25553
25555
  name: "Progress",
@@ -25582,21 +25584,21 @@ var require_Progress_native = __commonJS({
25582
25584
  getValueLabel = defaultGetValueLabel,
25583
25585
  size: size2 = "$true",
25584
25586
  ...progressProps
25585
- } = 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);
25587
+ } = 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);
25586
25588
  return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(ProgressProvider, {
25587
25589
  scope: __scopeProgress,
25588
- value: value2,
25590
+ value,
25589
25591
  max,
25590
25592
  width,
25591
25593
  children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(ProgressFrame, {
25592
25594
  "aria-valuemax": max,
25593
25595
  "aria-valuemin": 0,
25594
- "aria-valuenow": isNumber(value2) ? value2 : void 0,
25596
+ "aria-valuenow": isNumber(value) ? value : void 0,
25595
25597
  "aria-valuetext": valueLabel,
25596
25598
  // @ts-ignore
25597
25599
  role: "progressbar",
25598
- "data-state": getProgressState(value2, max),
25599
- "data-value": value2 ?? void 0,
25600
+ "data-state": getProgressState(value, max),
25601
+ "data-value": value ?? void 0,
25600
25602
  "data-max": max,
25601
25603
  ...progressProps.unstyled !== !0 && {
25602
25604
  size: size2
@@ -25755,8 +25757,8 @@ var require_RadioGroup_native = __commonJS({
25755
25757
  }
25756
25758
  },
25757
25759
  size: {
25758
- "...size": function(value2, param) {
25759
- 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));
25760
+ "...size": function(value, param) {
25761
+ 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));
25760
25762
  return {
25761
25763
  width: size2,
25762
25764
  height: size2
@@ -25995,14 +25997,14 @@ var require_useRadioGroup_native = __commonJS({
25995
25997
  module2.exports = __toCommonJS2(useRadioGroup_exports);
25996
25998
  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();
25997
25999
  function useRadioGroup(params) {
25998
- var { value: valueProp, onValueChange, defaultValue, required, disabled, name, native, accentColor, orientation, ref } = params, [value2, setValue] = (0, import_use_controllable_state.useControllableState)({
26000
+ var { value: valueProp, onValueChange, defaultValue, required, disabled, name, native, accentColor, orientation, ref } = params, [value, setValue] = (0, import_use_controllable_state.useControllableState)({
25999
26001
  prop: valueProp,
26000
26002
  defaultProp: defaultValue,
26001
26003
  onChange: onValueChange
26002
26004
  });
26003
26005
  return {
26004
26006
  providerValue: {
26005
- value: value2,
26007
+ value,
26006
26008
  onChange: setValue,
26007
26009
  required,
26008
26010
  disabled,
@@ -26027,9 +26029,9 @@ var require_useRadioGroup_native = __commonJS({
26027
26029
  "ArrowLeft",
26028
26030
  "ArrowRight"
26029
26031
  ], useRadioGroupItem = function(params) {
26030
- 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) {
26032
+ 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) {
26031
26033
  return setButton(node);
26032
- }, 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;
26034
+ }, 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;
26033
26035
  (0, import_react3.useEffect)(function() {
26034
26036
  if (import_constants4.isWeb) {
26035
26037
  var handleKeyDown = function(event) {
@@ -26044,14 +26046,14 @@ var require_useRadioGroup_native = __commonJS({
26044
26046
  }, []), (0, import_react3.useEffect)(function() {
26045
26047
  if (id && !disabled) return (0, import_focusable2.registerFocusable)(id, {
26046
26048
  focusAndSelect: function() {
26047
- onChange == null || onChange(value2);
26049
+ onChange == null || onChange(value);
26048
26050
  },
26049
26051
  focus: function() {
26050
26052
  }
26051
26053
  });
26052
26054
  }, [
26053
26055
  id,
26054
- value2,
26056
+ value,
26055
26057
  disabled
26056
26058
  ]);
26057
26059
  var isDisabled = disabled || itemDisabled;
@@ -26066,7 +26068,7 @@ var require_useRadioGroup_native = __commonJS({
26066
26068
  control: button,
26067
26069
  bubbles: !hasConsumerStoppedPropagationRef.current,
26068
26070
  name,
26069
- value: value2,
26071
+ value,
26070
26072
  checked,
26071
26073
  required,
26072
26074
  disabled: isDisabled,
@@ -26087,11 +26089,11 @@ var require_useRadioGroup_native = __commonJS({
26087
26089
  ref: composedRefs,
26088
26090
  ...import_constants4.isWeb && {
26089
26091
  type: "button",
26090
- value: value2
26092
+ value
26091
26093
  },
26092
26094
  id,
26093
26095
  onPress: (0, import_helpers.composeEventHandlers)(onPress, function(event) {
26094
- checked || onChange == null || onChange(value2), isFormControl && (hasConsumerStoppedPropagationRef.current = event.isPropagationStopped(), hasConsumerStoppedPropagationRef.current || event.stopPropagation());
26096
+ checked || onChange == null || onChange(value), isFormControl && (hasConsumerStoppedPropagationRef.current = event.isPropagationStopped(), hasConsumerStoppedPropagationRef.current || event.stopPropagation());
26095
26097
  }),
26096
26098
  ...import_constants4.isWeb && {
26097
26099
  onKeyDown: (0, import_helpers.composeEventHandlers)(onKeyDown, function(event) {
@@ -26352,11 +26354,11 @@ var require_createRadioGroup_native = __commonJS({
26352
26354
  var { disableActiveTheme, Frame = import_RadioGroup.RadioGroupFrame, Indicator = import_RadioGroup.RadioGroupIndicatorFrame, Item = import_RadioGroup.RadioGroupItemFrame } = createProps;
26353
26355
  ensureContext(Frame), ensureContext(Indicator), ensureContext(Item);
26354
26356
  var RadioGroupImp = Frame.styleable(function(props, ref) {
26355
- var { value: value2, defaultValue, onValueChange, required = !1, disabled = !1, name, native, accentColor, orientation = "vertical", ...rest } = props, { providerValue, frameAttrs, rovingFocusGroupAttrs } = (0, import_radio_headless.useRadioGroup)({
26357
+ var { value, defaultValue, onValueChange, required = !1, disabled = !1, name, native, accentColor, orientation = "vertical", ...rest } = props, { providerValue, frameAttrs, rovingFocusGroupAttrs } = (0, import_radio_headless.useRadioGroup)({
26356
26358
  orientation,
26357
26359
  name,
26358
26360
  defaultValue,
26359
- value: value2,
26361
+ value,
26360
26362
  onValueChange,
26361
26363
  required,
26362
26364
  disabled,
@@ -26376,7 +26378,7 @@ var require_createRadioGroup_native = __commonJS({
26376
26378
  });
26377
26379
  }), RadioGroupItemImp = Item.styleable(function(props, ref) {
26378
26380
  var {
26379
- value: value2,
26381
+ value,
26380
26382
  labelledBy,
26381
26383
  onPress,
26382
26384
  //@ts-expect-error
@@ -26386,7 +26388,7 @@ var require_createRadioGroup_native = __commonJS({
26386
26388
  ...rest
26387
26389
  } = props, { providerValue, bubbleInput, rovingFocusGroupAttrs, frameAttrs, isFormControl, native } = (0, import_radio_headless.useRadioGroupItem)({
26388
26390
  radioGroupContext: RadioGroupContext,
26389
- value: value2,
26391
+ value,
26390
26392
  id,
26391
26393
  labelledBy,
26392
26394
  disabled,
@@ -26999,41 +27001,41 @@ var require_SelectItem_native = __commonJS({
26999
27001
  });
27000
27002
  module2.exports = __toCommonJS2(SelectItem_exports);
27001
27003
  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) {
27002
- var { scope, value: value2, disabled = !1, textValue: textValueProp, index, ...restProps } = props, { props: listItemProps } = (0, import_list_item.useListItem)({
27004
+ var { scope, value, disabled = !1, textValue: textValueProp, index, ...restProps } = props, { props: listItemProps } = (0, import_list_item.useListItem)({
27003
27005
  ...!props.unstyled && {
27004
27006
  ellipse: !0
27005
27007
  },
27006
27008
  ...restProps
27007
- }), 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);
27009
+ }), 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);
27008
27010
  React4.useEffect(function() {
27009
27011
  return activeIndexSubscribe(function(i) {
27010
27012
  var isActive = index === i;
27011
27013
  if (isActive) {
27012
27014
  var _listRef_current_index;
27013
- onActiveChange(value2, index), listRef == null || (_listRef_current_index = listRef.current[index]) === null || _listRef_current_index === void 0 || _listRef_current_index.focus();
27015
+ onActiveChange(value, index), listRef == null || (_listRef_current_index = listRef.current[index]) === null || _listRef_current_index === void 0 || _listRef_current_index.focus();
27014
27016
  }
27015
27017
  });
27016
27018
  }, [
27017
27019
  index
27018
27020
  ]), React4.useEffect(function() {
27019
27021
  return valueSubscribe(function(val) {
27020
- setSelected(val === value2);
27022
+ setSelected(val === value);
27021
27023
  });
27022
27024
  }, [
27023
- value2
27025
+ value
27024
27026
  ]);
27025
27027
  var textId = React4.useId(), refCallback = React4.useCallback(function(node) {
27026
27028
  import_constants4.isWeb && node instanceof HTMLElement && listRef && (listRef.current[index] = node);
27027
27029
  }, []), composedRefs = (0, import_compose_refs.useComposedRefs)(forwardedRef, refCallback);
27028
27030
  (0, import_constants4.useIsomorphicLayoutEffect)(function() {
27029
- setValueAtIndex(index, value2);
27031
+ setValueAtIndex(index, value);
27030
27032
  }, [
27031
27033
  index,
27032
27034
  setValueAtIndex,
27033
- value2
27035
+ value
27034
27036
  ]);
27035
27037
  function handleSelect() {
27036
- setSelectedIndex(index), onChange(value2), setOpen(!1);
27038
+ setSelectedIndex(index), onChange(value), setOpen(!1);
27037
27039
  }
27038
27040
  var selectItemProps = React4.useMemo(function() {
27039
27041
  return interactions ? interactions.getItemProps({
@@ -27062,11 +27064,11 @@ var require_SelectItem_native = __commonJS({
27062
27064
  ]);
27063
27065
  return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(SelectItemContextProvider, {
27064
27066
  scope,
27065
- value: value2,
27067
+ value,
27066
27068
  textId: textId || "",
27067
27069
  isSelected,
27068
27070
  children: shouldRenderWebNative ? /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("option", {
27069
- value: value2,
27071
+ value,
27070
27072
  children: props.children
27071
27073
  }) : /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_list_item.ListItemFrame, {
27072
27074
  tag: "div",
@@ -27770,9 +27772,9 @@ var require_Select_native = __commonJS({
27770
27772
  function useEmitter() {
27771
27773
  var listeners = React4.useRef(null);
27772
27774
  listeners.current || (listeners.current = /* @__PURE__ */ new Set());
27773
- var emit = function(value2) {
27775
+ var emit = function(value) {
27774
27776
  listeners.current.forEach(function(l) {
27775
- return l(value2);
27777
+ return l(value);
27776
27778
  });
27777
27779
  }, subscribe = React4.useCallback(function(listener) {
27778
27780
  return listeners.current.add(listener), function() {
@@ -27791,25 +27793,25 @@ var require_Select_native = __commonJS({
27791
27793
  prop: openProp,
27792
27794
  defaultProp: defaultOpen || !1,
27793
27795
  onChange: onOpenChange
27794
- }), [value2, setValue] = (0, import_use_controllable_state.useControllableState)({
27796
+ }), [value, setValue] = (0, import_use_controllable_state.useControllableState)({
27795
27797
  prop: valueProp,
27796
27798
  defaultProp: defaultValue || "",
27797
27799
  onChange: onValueChange,
27798
27800
  transition: !0
27799
27801
  });
27800
27802
  React4.useEffect(function() {
27801
- open && emitValue(value2);
27803
+ open && emitValue(value);
27802
27804
  }, [
27803
27805
  open
27804
27806
  ]), React4.useEffect(function() {
27805
- emitValue(value2);
27807
+ emitValue(value);
27806
27808
  }, [
27807
- value2
27809
+ value
27808
27810
  ]), React4.useEffect(function() {
27809
27811
  if (props.id) return (0, import_focusable2.registerFocusable)(props.id, {
27810
27812
  focusAndSelect: function() {
27811
- setOpen == null || setOpen(function(value22) {
27812
- return !value22;
27813
+ setOpen == null || setOpen(function(value2) {
27814
+ return !value2;
27813
27815
  });
27814
27816
  },
27815
27817
  focus: function() {
@@ -27832,7 +27834,7 @@ var require_Select_native = __commonJS({
27832
27834
  scope,
27833
27835
  adaptScope,
27834
27836
  initialValue: React4.useMemo(function() {
27835
- return value2;
27837
+ return value;
27836
27838
  }, [
27837
27839
  open
27838
27840
  ]),
@@ -27844,12 +27846,12 @@ var require_Select_native = __commonJS({
27844
27846
  onChange: React4.useCallback(function(val) {
27845
27847
  setValue(val), emitValue(val);
27846
27848
  }, []),
27847
- onActiveChange: (0, import_core12.useEvent)(function(value22, index) {
27848
- onActiveChange == null || onActiveChange(value22, index);
27849
+ onActiveChange: (0, import_core12.useEvent)(function(value2, index) {
27850
+ onActiveChange == null || onActiveChange(value2, index);
27849
27851
  }),
27850
27852
  setSelectedIndex,
27851
- setValueAtIndex: React4.useCallback(function(index, value22) {
27852
- listContentRef.current[index] = value22;
27853
+ setValueAtIndex: React4.useCallback(function(index, value2) {
27854
+ listContentRef.current[index] = value2;
27853
27855
  }, []),
27854
27856
  shouldRenderWebNative,
27855
27857
  children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_context.SelectProvider, {
@@ -27868,7 +27870,7 @@ var require_Select_native = __commonJS({
27868
27870
  activeIndex,
27869
27871
  selectedIndex,
27870
27872
  setActiveIndex: setActiveIndexDebounced,
27871
- value: value2,
27873
+ value,
27872
27874
  open,
27873
27875
  native,
27874
27876
  children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(SelectSheetController, {
@@ -27880,7 +27882,7 @@ var require_Select_native = __commonJS({
27880
27882
  selectedIndexRef,
27881
27883
  ...props,
27882
27884
  open,
27883
- value: value2,
27885
+ value,
27884
27886
  children
27885
27887
  })
27886
27888
  })
@@ -28108,9 +28110,9 @@ var require_helpers_native3 = __commonJS({
28108
28110
  return a - b;
28109
28111
  });
28110
28112
  }
28111
- function convertValueToPercentage(value2, min, max) {
28113
+ function convertValueToPercentage(value, min, max) {
28112
28114
  var maxSteps = max - min, percentPerStep = 100 / maxSteps;
28113
- return percentPerStep * (value2 - min);
28115
+ return percentPerStep * (value - min);
28114
28116
  }
28115
28117
  function getLabel(index, totalValues) {
28116
28118
  if (totalValues > 2) return `Value ${index + 1} of ${totalValues}`;
@@ -28121,8 +28123,8 @@ var require_helpers_native3 = __commonJS({
28121
28123
  }
28122
28124
  function getClosestValueIndex(values, nextValue) {
28123
28125
  if (values.length === 1) return 0;
28124
- var distances = values.map(function(value2) {
28125
- return Math.abs(value2 - nextValue);
28126
+ var distances = values.map(function(value) {
28127
+ return Math.abs(value - nextValue);
28126
28128
  }), closestDistance = Math.min(...distances);
28127
28129
  return distances.indexOf(closestDistance);
28128
28130
  }
@@ -28137,8 +28139,8 @@ var require_helpers_native3 = __commonJS({
28137
28139
  return (quarterWidth - offset2(left) * direction) * direction;
28138
28140
  }
28139
28141
  function getStepsBetweenValues(values) {
28140
- return values.slice(0, -1).map(function(value2, index) {
28141
- return values[index + 1] - value2;
28142
+ return values.slice(0, -1).map(function(value, index) {
28143
+ return values[index + 1] - value;
28142
28144
  });
28143
28145
  }
28144
28146
  function hasMinStepsBetweenValues(values, minStepsBetweenValues) {
@@ -28149,18 +28151,18 @@ var require_helpers_native3 = __commonJS({
28149
28151
  return !0;
28150
28152
  }
28151
28153
  function linearScale(input, output) {
28152
- return function(value2) {
28154
+ return function(value) {
28153
28155
  if (input[0] === input[1] || output[0] === output[1]) return output[0];
28154
28156
  var ratio = (output[1] - output[0]) / (input[1] - input[0]);
28155
- return output[0] + ratio * (value2 - input[0]);
28157
+ return output[0] + ratio * (value - input[0]);
28156
28158
  };
28157
28159
  }
28158
- function getDecimalCount(value2) {
28159
- return (String(value2).split(".")[1] || "").length;
28160
+ function getDecimalCount(value) {
28161
+ return (String(value).split(".")[1] || "").length;
28160
28162
  }
28161
- function roundValue(value2, decimalCount) {
28163
+ function roundValue(value, decimalCount) {
28162
28164
  var rounder = Math.pow(10, decimalCount);
28163
- return Math.round(value2 * rounder) / rounder;
28165
+ return Math.round(value * rounder) / rounder;
28164
28166
  }
28165
28167
  }
28166
28168
  });
@@ -28400,8 +28402,8 @@ var require_Slider_native = __commonJS({
28400
28402
  ] : [
28401
28403
  max,
28402
28404
  min
28403
- ], value2 = (0, import_helpers3.linearScale)(input, output);
28404
- return value2(pointerPosition);
28405
+ ], value = (0, import_helpers3.linearScale)(input, output);
28406
+ return value(pointerPosition);
28405
28407
  }
28406
28408
  var measure = function() {
28407
28409
  var _sliderRef_current;
@@ -28449,16 +28451,16 @@ var require_Slider_native = __commonJS({
28449
28451
  orientation: "horizontal",
28450
28452
  onLayout: measure,
28451
28453
  onSlideStart: function(event, target) {
28452
- var value2 = getValueFromPointer(event.nativeEvent.locationX);
28453
- value2 && (onSlideStart == null || onSlideStart(value2, target, event));
28454
+ var value = getValueFromPointer(event.nativeEvent.locationX);
28455
+ value && (onSlideStart == null || onSlideStart(value, target, event));
28454
28456
  },
28455
28457
  onSlideMove: function(event) {
28456
- var value2 = getValueFromPointer(event.nativeEvent.pageX - state.offset);
28457
- value2 && (onSlideMove == null || onSlideMove(value2, event));
28458
+ var value = getValueFromPointer(event.nativeEvent.pageX - state.offset);
28459
+ value && (onSlideMove == null || onSlideMove(value, event));
28458
28460
  },
28459
28461
  onSlideEnd: function(event) {
28460
- var value2 = getValueFromPointer(event.nativeEvent.pageX - state.offset);
28461
- value2 && (onSlideEnd == null || onSlideEnd(event, value2));
28462
+ var value = getValueFromPointer(event.nativeEvent.pageX - state.offset);
28463
+ value && (onSlideEnd == null || onSlideEnd(event, value));
28462
28464
  },
28463
28465
  onStepKeyDown: function(event) {
28464
28466
  var isBackKey = import_constants22.BACK_KEYS[direction].includes(event.key);
@@ -28495,8 +28497,8 @@ var require_Slider_native = __commonJS({
28495
28497
  ], output = [
28496
28498
  max,
28497
28499
  min
28498
- ], value2 = (0, import_helpers3.linearScale)(input, output);
28499
- return value2(pointerPosition);
28500
+ ], value = (0, import_helpers3.linearScale)(input, output);
28501
+ return value(pointerPosition);
28500
28502
  }
28501
28503
  var measure = function() {
28502
28504
  var _sliderRef_current;
@@ -28520,16 +28522,16 @@ var require_Slider_native = __commonJS({
28520
28522
  orientation: "vertical",
28521
28523
  onLayout: measure,
28522
28524
  onSlideStart: function(event, target) {
28523
- var value2 = getValueFromPointer(event.nativeEvent.locationY);
28524
- value2 && (onSlideStart == null || onSlideStart(value2, target, event));
28525
+ var value = getValueFromPointer(event.nativeEvent.locationY);
28526
+ value && (onSlideStart == null || onSlideStart(value, target, event));
28525
28527
  },
28526
28528
  onSlideMove: function(event) {
28527
- var value2 = getValueFromPointer(event.nativeEvent.pageY - state.offset);
28528
- value2 && (onSlideMove == null || onSlideMove(value2, event));
28529
+ var value = getValueFromPointer(event.nativeEvent.pageY - state.offset);
28530
+ value && (onSlideMove == null || onSlideMove(value, event));
28529
28531
  },
28530
28532
  onSlideEnd: function(event) {
28531
- var value2 = getValueFromPointer(event.nativeEvent.pageY - state.offset);
28532
- onSlideEnd == null || onSlideEnd(event, value2);
28533
+ var value = getValueFromPointer(event.nativeEvent.pageY - state.offset);
28534
+ onSlideEnd == null || onSlideEnd(event, value);
28533
28535
  },
28534
28536
  onStepKeyDown: function(event) {
28535
28537
  var isBackKey = import_constants22.BACK_KEYS.ltr.includes(event.key);
@@ -28575,8 +28577,8 @@ var require_Slider_native = __commonJS({
28575
28577
  position: "absolute",
28576
28578
  pointerEvents: "box-none"
28577
28579
  }), SliderTrackActive = /* @__PURE__ */ React4.forwardRef(function(props, forwardedRef) {
28578
- 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) {
28579
- return (0, import_helpers3.convertValueToPercentage)(value2, context.min, context.max);
28580
+ 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) {
28581
+ return (0, import_helpers3.convertValueToPercentage)(value, context.min, context.max);
28580
28582
  }), offsetStart = valuesCount > 1 ? Math.min(...percentages) : 0, offsetEnd = 100 - Math.max(...percentages);
28581
28583
  return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(SliderTrackActiveFrame, {
28582
28584
  orientation: context.orientation,
@@ -28634,7 +28636,7 @@ var require_Slider_native = __commonJS({
28634
28636
  unstyled: process.env.TAMAGUI_HEADLESS === "1"
28635
28637
  }
28636
28638
  }), SliderThumb = SliderThumbFrame.styleable(function(props, forwardedRef) {
28637
- 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() {
28639
+ 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() {
28638
28640
  var estimatedSize = (0, import_core12.getVariableValue)(getThumbSize(sizeIn).width);
28639
28641
  return estimatedSize;
28640
28642
  }), thumbInBoundsOffset = size2 ? (0, import_helpers3.getThumbInBoundsOffset)(size2, percent, orientation.direction) : 0;
@@ -28669,7 +28671,7 @@ var require_Slider_native = __commonJS({
28669
28671
  role: "slider",
28670
28672
  "aria-label": props["aria-label"] || label,
28671
28673
  "aria-valuemin": context.min,
28672
- "aria-valuenow": value2,
28674
+ "aria-valuenow": value,
28673
28675
  "aria-valuemax": context.max,
28674
28676
  "aria-orientation": context.orientation,
28675
28677
  "data-orientation": context.orientation,
@@ -28708,13 +28710,13 @@ var require_Slider_native = __commonJS({
28708
28710
  }), SliderComponent = /* @__PURE__ */ React4.forwardRef(function(props, forwardedRef) {
28709
28711
  var { name, min = 0, max = 100, step = 1, orientation = "horizontal", disabled = !1, minStepsBetweenThumbs = 0, defaultValue = [
28710
28712
  min
28711
- ], value: value2, onValueChange = function() {
28713
+ ], value, onValueChange = function() {
28712
28714
  }, 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)({
28713
- prop: value2,
28715
+ prop: value,
28714
28716
  defaultProp: defaultValue,
28715
28717
  transition: !0,
28716
- onChange: function(value22) {
28717
- updateThumbFocus(valueIndexToChangeRef.current), onValueChange(value22);
28718
+ onChange: function(value2) {
28719
+ updateThumbFocus(valueIndexToChangeRef.current), onValueChange(value2);
28718
28720
  }
28719
28721
  });
28720
28722
  import_constants4.isWeb && React4.useEffect(function() {
@@ -28750,11 +28752,11 @@ var require_Slider_native = __commonJS({
28750
28752
  }
28751
28753
  }
28752
28754
  }
28753
- function handleSlideMove(value22, event) {
28754
- updateValues(value22, valueIndexToChangeRef.current), onSlideMove == null || onSlideMove(event, value22);
28755
+ function handleSlideMove(value2, event) {
28756
+ updateValues(value2, valueIndexToChangeRef.current), onSlideMove == null || onSlideMove(event, value2);
28755
28757
  }
28756
- function updateValues(value22, atIndex) {
28757
- 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, [
28758
+ function updateValues(value2, atIndex) {
28759
+ 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, [
28758
28760
  min,
28759
28761
  max
28760
28762
  ]);
@@ -28782,12 +28784,12 @@ var require_Slider_native = __commonJS({
28782
28784
  min,
28783
28785
  max,
28784
28786
  onSlideEnd,
28785
- onSlideStart: disabled ? void 0 : function(value22, target, event) {
28787
+ onSlideStart: disabled ? void 0 : function(value2, target, event) {
28786
28788
  if (target !== "thumb") {
28787
- var closestIndex = (0, import_helpers3.getClosestValueIndex)(values, value22);
28788
- updateValues(value22, closestIndex);
28789
+ var closestIndex = (0, import_helpers3.getClosestValueIndex)(values, value2);
28790
+ updateValues(value2, closestIndex);
28789
28791
  }
28790
- onSlideStart == null || onSlideStart(event, value22, target);
28792
+ onSlideStart == null || onSlideStart(event, value2, target);
28791
28793
  },
28792
28794
  onSlideMove: disabled ? void 0 : handleSlideMove,
28793
28795
  onHomeKeyDown: function() {
@@ -28799,8 +28801,8 @@ var require_Slider_native = __commonJS({
28799
28801
  onStepKeyDown: function(param) {
28800
28802
  var { event, direction: stepDirection } = param;
28801
28803
  if (!disabled) {
28802
- 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;
28803
- updateValues(value22 + stepInDirection, atIndex);
28804
+ 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;
28805
+ updateValues(value2 + stepInDirection, atIndex);
28804
28806
  }
28805
28807
  }
28806
28808
  })
@@ -28937,7 +28939,7 @@ var require_useSwitch_native = __commonJS({
28937
28939
  switchRef: ref,
28938
28940
  bubbleInput: null
28939
28941
  };
28940
- var disabled, name, value2, required, hasConsumerStoppedPropagationRef, button, setButton, composedRefs, isFormControl, labelId, ariaLabelledBy;
28942
+ var disabled, name, value, required, hasConsumerStoppedPropagationRef, button, setButton, composedRefs, isFormControl, labelId, ariaLabelledBy;
28941
28943
  }
28942
28944
  }
28943
28945
  });
@@ -29258,8 +29260,8 @@ var require_createSwitch_native = __commonJS({
29258
29260
  React4.useEffect(function() {
29259
29261
  if (props.id && !props.disabled) return (0, import_focusable2.registerFocusable)(props.id, {
29260
29262
  focusAndSelect: function() {
29261
- setChecked == null || setChecked(function(value22) {
29262
- return !value22;
29263
+ setChecked == null || setChecked(function(value2) {
29264
+ return !value2;
29263
29265
  });
29264
29266
  },
29265
29267
  focus: function() {
@@ -29275,7 +29277,7 @@ var require_createSwitch_native = __commonJS({
29275
29277
  onValueChange: setChecked,
29276
29278
  ...nativeProps
29277
29279
  });
29278
- var disabled = props.disabled, value2 = React4.useMemo(function() {
29280
+ var disabled = props.disabled, value = React4.useMemo(function() {
29279
29281
  return {
29280
29282
  checked,
29281
29283
  disabled,
@@ -29290,7 +29292,7 @@ var require_createSwitch_native = __commonJS({
29290
29292
  next !== frameWidth && setFrameInnerWidth(next);
29291
29293
  }, _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;
29292
29294
  return /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(SwitchContext.Provider, {
29293
- value: value2,
29295
+ value,
29294
29296
  children: [
29295
29297
  /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Frame, {
29296
29298
  ref: switchRef,
@@ -29621,7 +29623,7 @@ var require_createTabs_native = __commonJS({
29621
29623
  });
29622
29624
  TabsList.displayName = TAB_LIST_NAME;
29623
29625
  var TRIGGER_NAME = "TabsTrigger", TabsTrigger = TabFrame.styleable(function(props, forwardedRef) {
29624
- 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)({
29626
+ 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)({
29625
29627
  disabled: !!disabled
29626
29628
  });
29627
29629
  React4.useEffect(function() {
@@ -29649,7 +29651,7 @@ var require_createTabs_native = __commonJS({
29649
29651
  isSelected && layout && (onInteraction == null || onInteraction("select", layout));
29650
29652
  }, [
29651
29653
  isSelected,
29652
- value2,
29654
+ value,
29653
29655
  layout
29654
29656
  ]);
29655
29657
  var _props_onPress;
@@ -29688,7 +29690,7 @@ var require_createTabs_native = __commonJS({
29688
29690
  ref: (0, import_compose_refs.composeRefs)(forwardedRef, triggerRef),
29689
29691
  onPress: (0, import_helpers.composeEventHandlers)((_props_onPress = props.onPress) !== null && _props_onPress !== void 0 ? _props_onPress : void 0, function(event) {
29690
29692
  var webChecks = !import_constants4.isWeb || event.button === 0 && event.ctrlKey === !1;
29691
- !disabled && !isSelected && webChecks ? context.onChange(value2) : event.preventDefault();
29693
+ !disabled && !isSelected && webChecks ? context.onChange(value) : event.preventDefault();
29692
29694
  }),
29693
29695
  ...import_constants4.isWeb && {
29694
29696
  type: "button",
@@ -29696,12 +29698,12 @@ var require_createTabs_native = __commonJS({
29696
29698
  [
29697
29699
  " ",
29698
29700
  "Enter"
29699
- ].includes(event.key) && (context.onChange(value2), event.preventDefault());
29701
+ ].includes(event.key) && (context.onChange(value), event.preventDefault());
29700
29702
  }),
29701
29703
  onFocus: (0, import_helpers.composeEventHandlers)(props.onFocus, function(event) {
29702
29704
  layout && (onInteraction == null || onInteraction("focus", layout));
29703
29705
  var isAutomaticActivation = context.activationMode !== "manual";
29704
- !isSelected && !disabled && isAutomaticActivation && context.onChange(value2);
29706
+ !isSelected && !disabled && isAutomaticActivation && context.onChange(value);
29705
29707
  }),
29706
29708
  onBlur: (0, import_helpers.composeEventHandlers)(props.onFocus, function() {
29707
29709
  onInteraction == null || onInteraction("focus", null);
@@ -29713,7 +29715,7 @@ var require_createTabs_native = __commonJS({
29713
29715
  });
29714
29716
  TabsTrigger.displayName = TRIGGER_NAME;
29715
29717
  var TabsContent = ContentFrame.styleable(function(props, forwardedRef) {
29716
- 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);
29718
+ 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);
29717
29719
  return show ? /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(ContentFrame, {
29718
29720
  "data-state": isSelected ? "active" : "inactive",
29719
29721
  "data-orientation": context.orientation,
@@ -29726,9 +29728,9 @@ var require_createTabs_native = __commonJS({
29726
29728
  ...contentProps,
29727
29729
  ref: forwardedRef,
29728
29730
  children
29729
- }, value2) : null;
29731
+ }, value) : null;
29730
29732
  }), TabsComponent = TabsFrame.styleable(function(props, forwardedRef) {
29731
- 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)({
29733
+ 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)({
29732
29734
  prop: valueProp,
29733
29735
  onChange: onValueChange,
29734
29736
  defaultProp: defaultValue ?? ""
@@ -29744,7 +29746,7 @@ var require_createTabs_native = __commonJS({
29744
29746
  return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_StyledContext.TabsProvider, {
29745
29747
  scope: __scopeTabs,
29746
29748
  baseId: React4.useId(),
29747
- value: value2,
29749
+ value,
29748
29750
  onChange: setValue,
29749
29751
  orientation,
29750
29752
  dir: direction,
@@ -29772,11 +29774,11 @@ var require_createTabs_native = __commonJS({
29772
29774
  Content: TabsContent
29773
29775
  });
29774
29776
  }
29775
- function makeTriggerId(baseId, value2) {
29776
- return `${baseId}-trigger-${value2}`;
29777
+ function makeTriggerId(baseId, value) {
29778
+ return `${baseId}-trigger-${value}`;
29777
29779
  }
29778
- function makeContentId(baseId, value2) {
29779
- return `${baseId}-content-${value2}`;
29780
+ function makeContentId(baseId, value) {
29781
+ return `${baseId}-content-${value}`;
29780
29782
  }
29781
29783
  }
29782
29784
  });
@@ -30450,7 +30452,7 @@ var require_ToggleGroup_native = __commonJS({
30450
30452
  }));
30451
30453
  ToggleGroupItem.displayName = TOGGLE_GROUP_ITEM_NAME;
30452
30454
  var ToggleGroupItemImpl = /* @__PURE__ */ import_react3.default.forwardRef(function(props, forwardedRef) {
30453
- var { __scopeToggleGroup, value: value2, ...itemProps } = props, valueContext = useToggleGroupValueContext(__scopeToggleGroup), singleProps = {
30455
+ var { __scopeToggleGroup, value, ...itemProps } = props, valueContext = useToggleGroupValueContext(__scopeToggleGroup), singleProps = {
30454
30456
  "aria-pressed": void 0
30455
30457
  }, typeProps = valueContext.type === "single" ? singleProps : void 0;
30456
30458
  return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_Toggle.Toggle, {
@@ -30458,7 +30460,7 @@ var require_ToggleGroup_native = __commonJS({
30458
30460
  ...itemProps,
30459
30461
  ref: forwardedRef,
30460
30462
  onPressedChange: function(pressed) {
30461
- pressed ? valueContext.onItemActivate(value2) : valueContext.onItemDeactivate(value2);
30463
+ pressed ? valueContext.onItemActivate(value) : valueContext.onItemDeactivate(value);
30462
30464
  }
30463
30465
  });
30464
30466
  }), ToggleGroup = (0, import_helpers.withStaticProperties)(/* @__PURE__ */ import_react3.default.forwardRef(function(props, forwardedRef) {
@@ -30493,7 +30495,7 @@ var require_ToggleGroup_native = __commonJS({
30493
30495
  ToggleGroup.displayName = TOGGLE_GROUP_NAME;
30494
30496
  var { Provider: ToggleGroupValueProvider, useStyledContext: useToggleGroupValueContext } = (0, import_web.createStyledContext)(), ToggleGroupImplSingle = /* @__PURE__ */ import_react3.default.forwardRef(function(props, forwardedRef) {
30495
30497
  var { value: valueProp, defaultValue, onValueChange = function() {
30496
- }, disableDeactivation = !1, ...toggleGroupSingleProps } = props, [value2, setValue] = (0, import_use_controllable_state.useControllableState)({
30498
+ }, disableDeactivation = !1, ...toggleGroupSingleProps } = props, [value, setValue] = (0, import_use_controllable_state.useControllableState)({
30497
30499
  prop: valueProp,
30498
30500
  defaultProp: defaultValue,
30499
30501
  onChange: onValueChange
@@ -30501,10 +30503,10 @@ var require_ToggleGroup_native = __commonJS({
30501
30503
  return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(ToggleGroupValueProvider, {
30502
30504
  scope: props.__scopeToggleGroup,
30503
30505
  type: "single",
30504
- value: value2 ? [
30505
- value2
30506
+ value: value ? [
30507
+ value
30506
30508
  ] : [],
30507
- defaultValue: value2,
30509
+ defaultValue: value,
30508
30510
  onItemActivate: setValue,
30509
30511
  onItemDeactivate: import_react3.default.useCallback(function() {
30510
30512
  return disableDeactivation ? null : setValue("");
@@ -30519,7 +30521,7 @@ var require_ToggleGroup_native = __commonJS({
30519
30521
  });
30520
30522
  }), ToggleGroupImplMultiple = /* @__PURE__ */ import_react3.default.forwardRef(function(props, forwardedRef) {
30521
30523
  var { value: valueProp, defaultValue, onValueChange = function() {
30522
- }, disableDeactivation, ...toggleGroupMultipleProps } = props, [value2 = [], setValue] = (0, import_use_controllable_state.useControllableState)({
30524
+ }, disableDeactivation, ...toggleGroupMultipleProps } = props, [value = [], setValue] = (0, import_use_controllable_state.useControllableState)({
30523
30525
  prop: valueProp,
30524
30526
  defaultProp: defaultValue,
30525
30527
  onChange: onValueChange
@@ -30536,8 +30538,8 @@ var require_ToggleGroup_native = __commonJS({
30536
30538
  ]), handleButtonDeactivate = import_react3.default.useCallback(function(itemValue) {
30537
30539
  return setValue(function() {
30538
30540
  var prevValue = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [];
30539
- return prevValue.filter(function(value22) {
30540
- return value22 !== itemValue;
30541
+ return prevValue.filter(function(value2) {
30542
+ return value2 !== itemValue;
30541
30543
  });
30542
30544
  });
30543
30545
  }, [
@@ -30546,8 +30548,8 @@ var require_ToggleGroup_native = __commonJS({
30546
30548
  return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(ToggleGroupValueProvider, {
30547
30549
  scope: props.__scopeToggleGroup,
30548
30550
  type: "multiple",
30549
- value: value2,
30550
- defaultValue: value2,
30551
+ value,
30552
+ defaultValue: value,
30551
30553
  onItemActivate: handleButtonActivate,
30552
30554
  onItemDeactivate: handleButtonDeactivate,
30553
30555
  children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(ToggleGroupImpl, {