@tamagui/core 1.109.6 → 1.109.8

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.
@@ -1270,8 +1270,8 @@ var require_concatClassName_native = __commonJS({
1270
1270
  });
1271
1271
  module2.exports = __toCommonJS2(concatClassName_exports);
1272
1272
  function concatClassName(_cn) {
1273
- for (var _loop = function(x2) {
1274
- var _loop22 = function(i2) {
1273
+ for (var args = arguments, usedPrefixes = [], final = "", len = args.length, propObjects = null, x = len; x >= 0; x--) {
1274
+ var _loop = function(i2) {
1275
1275
  var name = names[i2];
1276
1276
  if (!name || name === " ") return "continue";
1277
1277
  if (name[0] !== "_") return final = name + " " + final, "continue";
@@ -1290,11 +1290,15 @@ var require_concatClassName_native = __commonJS({
1290
1290
  return res;
1291
1291
  })) return "continue";
1292
1292
  final = name + " " + final;
1293
- }, cns = args[x2];
1294
- if (!cns) return "continue";
1295
- if (!Array.isArray(cns) && typeof cns != "string") return propObjects = propObjects || [], propObjects.push(cns), "continue";
1296
- for (var names = Array.isArray(cns) ? cns : cns.split(" "), numNames = names.length, i = numNames - 1; i >= 0; i--) _loop22(i);
1297
- }, args = arguments, usedPrefixes = [], final = "", len = args.length, propObjects = null, x = len; x >= 0; x--) _loop(x);
1293
+ }, cns = args[x];
1294
+ if (cns) {
1295
+ if (!Array.isArray(cns) && typeof cns != "string") {
1296
+ propObjects = propObjects || [], propObjects.push(cns);
1297
+ continue;
1298
+ }
1299
+ for (var names = Array.isArray(cns) ? cns : cns.split(" "), numNames = names.length, i = numNames - 1; i >= 0; i--) _loop(i);
1300
+ }
1301
+ }
1298
1302
  return final;
1299
1303
  }
1300
1304
  var pseudoInvert = {
@@ -6785,7 +6789,7 @@ var require_getVariantExtras_native = __commonJS({
6785
6789
  return (0, import_createVariable.getVariableValue)(styleState.fontFamily || styleState.curProps.fontFamily) || props.fontFamily || (0, import_createVariable.getVariableValue)(styleState.conf.defaultFont);
6786
6790
  },
6787
6791
  get font() {
6788
- return fonts[this.fontFamily] || (props.fontFamily ? void 0 : styleState.conf.defaultFont);
6792
+ return fonts[this.fontFamily] || (!props.fontFamily || props.fontFamily[0] === "$" ? fonts[styleState.conf.defaultFont] : void 0);
6789
6793
  },
6790
6794
  // TODO do this in splitstlye
6791
6795
  // we avoid passing in default props for media queries because that would confuse things like SizableText.size:
@@ -7587,27 +7591,51 @@ var require_getSplitStyles_native = __commonJS({
7587
7591
  return validStyleProps[key] || ((_staticConfig_accept = staticConfig.accept) === null || _staticConfig_accept === void 0 ? void 0 : _staticConfig_accept[key]);
7588
7592
  }
7589
7593
  var getSplitStyles = function(props, staticConfig, theme, themeName, componentState, styleProps, parentSplitStyles, context, elementType, debug, skipThemeTokenResolution) {
7590
- var _loop = function(keyOg2) {
7591
- var _loop22 = function(i3) {
7594
+ conf = conf || (0, import_config.getConfig)(), import_constants.isWeb && styleProps.isAnimated && conf.animations.isReactNative && !styleProps.noNormalize && (styleProps.noNormalize = "values");
7595
+ var shorthands = conf.shorthands, isHOC = staticConfig.isHOC, isText = staticConfig.isText, isInput = staticConfig.isInput, variants = staticConfig.variants, isReactNative = staticConfig.isReactNative, inlineProps = staticConfig.inlineProps, inlineWhenUnflattened = staticConfig.inlineWhenUnflattened, parentStaticConfig = staticConfig.parentStaticConfig, acceptsClassName = staticConfig.acceptsClassName, viewProps = {}, mediaState2 = styleProps.mediaState || import_useMedia.mediaState, usedKeys = {}, shouldDoClasses = acceptsClassName && import_constants.isWeb && !styleProps.noClassNames, rulesToInsert = void 0, classNames = {}, transforms = {}, pseudos = null, space = props.space, hasMedia = !1, dynamicThemeAccess, pseudoGroups, mediaGroups, className = props.className || "", mediaStylesSeen = 0, curPropsState, styleState = {
7596
+ // this should go away, right now we're doing really crazy cumulative props,
7597
+ // as variants are resolved basically we go back and merge the results onto
7598
+ // the curProps, so that each following variant function recieves the current
7599
+ // "styles" with variants expanded. powerful, but i think too fancy
7600
+ // there's some part of the ui kit that depends on it we'd have to find and fix
7601
+ get curProps() {
7602
+ return curPropsState || (curPropsState = {}), curPropsState;
7603
+ },
7604
+ classNames,
7605
+ conf,
7606
+ props,
7607
+ styleProps,
7608
+ componentState,
7609
+ staticConfig,
7610
+ style: null,
7611
+ theme,
7612
+ usedKeys,
7613
+ viewProps,
7614
+ context,
7615
+ debug,
7616
+ skipThemeTokenResolution
7617
+ }, asChild = props.asChild, accept = staticConfig.accept, noSkip = styleProps.noSkip, disableExpandShorthands = styleProps.disableExpandShorthands, noExpand = styleProps.noExpand, webContainerType = conf.settings.webContainerType, parentVariants = parentStaticConfig == null ? void 0 : parentStaticConfig.variants;
7618
+ for (var keyOg in props) {
7619
+ var _loop = function(i2) {
7592
7620
  var _parentStaticConfig_variants;
7593
7621
  if (expanded) {
7594
- var _expanded_i = _sliced_to_array(expanded[i3], 2), k = _expanded_i[0], v = _expanded_i[1];
7595
- key4 = k, val2 = v;
7622
+ var _expanded_i = _sliced_to_array(expanded[i2], 2), k = _expanded_i[0], v = _expanded_i[1];
7623
+ key = k, val = v;
7596
7624
  }
7597
- if (val2 == null || key4 in usedKeys) return "continue";
7598
- if (isPseudo = key4 in import_helpers.validPseudoKeys, isMedia = !isPseudo && !isValidStyleKeyInit && (0, import_useMedia.isMediaKey)(key4), isMediaOrPseudo1 = !!(isMedia || isPseudo), isVariant = variants && key4 in variants, inlineProps != null && inlineProps.has(key4) || process.env.IS_STATIC === "is_static" && inlineWhenUnflattened != null && inlineWhenUnflattened.has(key4)) {
7625
+ if (val == null || key in usedKeys) return "continue";
7626
+ if (isPseudo = key in import_helpers.validPseudoKeys, isMedia = !isPseudo && !isValidStyleKeyInit && (0, import_useMedia.isMediaKey)(key), isMediaOrPseudo1 = !!(isMedia || isPseudo), isVariant = variants && key in variants, inlineProps != null && inlineProps.has(key) || process.env.IS_STATIC === "is_static" && inlineWhenUnflattened != null && inlineWhenUnflattened.has(key)) {
7599
7627
  var _props_key;
7600
- viewProps[key4] = (_props_key = props[key4]) !== null && _props_key !== void 0 ? _props_key : val2;
7628
+ viewProps[key] = (_props_key = props[key]) !== null && _props_key !== void 0 ? _props_key : val;
7601
7629
  }
7602
7630
  var shouldPassThrough2 = styleProps.noExpand && isPseudo || isHOC && (isMediaOrPseudo1 || (parentStaticConfig == null || (_parentStaticConfig_variants = parentStaticConfig.variants) === null || _parentStaticConfig_variants === void 0 ? void 0 : _parentStaticConfig_variants[keyInit]));
7603
- if (shouldPassThrough2) return passDownProp(viewProps, key4, val2, isMediaOrPseudo1), "continue";
7631
+ if (shouldPassThrough2) return passDownProp(viewProps, key, val, isMediaOrPseudo1), "continue";
7604
7632
  if (isPseudo) {
7605
- if (!val2) return "continue";
7606
- var pseudoStyleObject = getSubStyle(styleState, key4, val2, styleProps.noClassNames), descriptor = import_pseudoDescriptors.pseudoDescriptors[key4], isEnter = key4 === "enterStyle", isExit = key4 === "exitStyle";
7633
+ if (!val) return "continue";
7634
+ var pseudoStyleObject = getSubStyle(styleState, key, val, styleProps.noClassNames), descriptor = import_pseudoDescriptors.pseudoDescriptors[key], isEnter = key === "enterStyle", isExit = key === "exitStyle";
7607
7635
  if (!descriptor) return "continue";
7608
7636
  if (!shouldDoClasses || process.env.IS_STATIC === "is_static") {
7609
7637
  var _pseudos, _key;
7610
- if (pseudos || (pseudos = {}), (_pseudos = pseudos)[_key = key4] || (_pseudos[_key] = {}), process.env.IS_STATIC === "is_static") return Object.assign(pseudos[key4], pseudoStyleObject), "continue";
7638
+ if (pseudos || (pseudos = {}), (_pseudos = pseudos)[_key = key] || (_pseudos[_key] = {}), process.env.IS_STATIC === "is_static") return Object.assign(pseudos[key], pseudoStyleObject), "continue";
7611
7639
  }
7612
7640
  if (shouldDoClasses && !isExit) {
7613
7641
  var pseudoStyles = (0, import_getStylesAtomic.getStyleAtomic)(pseudoStyleObject, descriptor), _iteratorNormalCompletion2 = !0, _didIteratorError2 = !1, _iteratorError2 = void 0;
@@ -7637,11 +7665,11 @@ var require_getSplitStyles_native = __commonJS({
7637
7665
  var curImportance = usedKeys[pkey] || 0, shouldMerge = importance >= curImportance;
7638
7666
  if (shouldMerge) {
7639
7667
  var _pseudos1, _key1;
7640
- pseudos || (pseudos = {}), (_pseudos1 = pseudos)[_key1 = key4] || (_pseudos1[_key1] = {}), pseudos[key4][pkey] = val12, mergeStyle(styleState, pkey, val12);
7668
+ pseudos || (pseudos = {}), (_pseudos1 = pseudos)[_key1 = key] || (_pseudos1[_key1] = {}), pseudos[key][pkey] = val12, mergeStyle(styleState, pkey, val12);
7641
7669
  }
7642
7670
  }
7643
7671
  }
7644
- if (!isDisabled) for (var key12 in val2) {
7672
+ if (!isDisabled) for (var key12 in val) {
7645
7673
  var k1 = shorthands[key12] || key12;
7646
7674
  usedKeys[k1] = Math.max(importance, usedKeys[k1] || 0);
7647
7675
  }
@@ -7649,14 +7677,14 @@ var require_getSplitStyles_native = __commonJS({
7649
7677
  return "continue";
7650
7678
  }
7651
7679
  if (isMedia) {
7652
- if (!val2) return "continue";
7653
- var hasSpace = val2.space, mediaKeyShort = key4.slice(1);
7654
- if (hasMedia || (hasMedia = !0), (hasSpace || !shouldDoClasses || styleProps.willBeAnimated) && (((typeof hasMedia > "u" ? "undefined" : _type_of(hasMedia)) > "u" ? "undefined" : _type_of1(hasMedia)) !== "object" && (hasMedia = {}), hasMedia[mediaKeyShort] = !0), isMedia === "platform" && !(0, import_isActivePlatform.isActivePlatform)(key4)) return "continue";
7680
+ if (!val) return "continue";
7681
+ var hasSpace = val.space, mediaKeyShort = key.slice(1);
7682
+ if (hasMedia || (hasMedia = !0), (hasSpace || !shouldDoClasses || styleProps.willBeAnimated) && (((typeof hasMedia > "u" ? "undefined" : _type_of(hasMedia)) > "u" ? "undefined" : _type_of1(hasMedia)) !== "object" && (hasMedia = {}), hasMedia[mediaKeyShort] = !0), isMedia === "platform" && !(0, import_isActivePlatform.isActivePlatform)(key)) return "continue";
7655
7683
  if (shouldDoClasses) {
7656
- var mediaStyle = getSubStyle(styleState, key4, val2, !1);
7684
+ var mediaStyle = getSubStyle(styleState, key, val, !1);
7657
7685
  if (hasSpace && (delete mediaStyle.space, mediaState2[mediaKeyShort])) {
7658
7686
  var importance1 = (0, import_useMedia.getMediaImportanceIfMoreImportant)(mediaKeyShort, "space", usedKeys, !0);
7659
- importance1 && (space = val2.space, usedKeys.space = importance1);
7687
+ importance1 && (space = val.space, usedKeys.space = importance1);
7660
7688
  }
7661
7689
  var mediaStyles = (0, import_getStylesAtomic.getStylesAtomic)(mediaStyle), priority = mediaStylesSeen;
7662
7690
  mediaStylesSeen += 1;
@@ -7687,7 +7715,7 @@ var require_getSplitStyles_native = __commonJS({
7687
7715
  }, isThemeMedia = isMedia === "theme", isGroupMedia = isMedia === "group", isPlatformMedia = isMedia === "platform";
7688
7716
  if (!isThemeMedia && !isPlatformMedia && !isGroupMedia && !mediaState2[mediaKeyShort])
7689
7717
  return "continue";
7690
- var mediaStyle1 = getSubStyle(styleState, key4, val2, !0), importanceBump = 0;
7718
+ var mediaStyle1 = getSubStyle(styleState, key, val, !0), importanceBump = 0;
7691
7719
  if (isThemeMedia) {
7692
7720
  dynamicThemeAccess = !0;
7693
7721
  var mediaThemeName = mediaKeyShort.slice(6);
@@ -7729,107 +7757,88 @@ var require_getSplitStyles_native = __commonJS({
7729
7757
  }
7730
7758
  return "continue";
7731
7759
  }
7732
- if (key4 === "pointerEvents") return viewProps[key4] = val2, "continue";
7760
+ if (key === "pointerEvents") return viewProps[key] = val, "continue";
7733
7761
  if (
7734
7762
  // is HOC we can just pass through the styles as props
7735
7763
  // this fixes issues where style prop got merged with wrong priority
7736
- !isHOC && (isValidStyleKey(key4, staticConfig) || import_constants.isAndroid && key4 === "elevation")
7737
- ) return mergeStyle(styleState, key4, val2), "continue";
7738
- isVariant || (viewProps[key4] = val2);
7739
- }, keyInit = keyOg2, valInit = props[keyInit];
7764
+ !isHOC && (isValidStyleKey(key, staticConfig) || import_constants.isAndroid && key === "elevation")
7765
+ ) return mergeStyle(styleState, key, val), "continue";
7766
+ isVariant || (viewProps[key] = val);
7767
+ }, keyInit = keyOg, valInit = props[keyInit];
7740
7768
  if (accept) {
7741
7769
  var accepted = accept[keyInit];
7742
- if ((accepted === "style" || accepted === "textStyle") && valInit && ((typeof valInit > "u" ? "undefined" : _type_of(valInit)) > "u" ? "undefined" : _type_of1(valInit)) === "object") return viewProps[keyInit] = getSubStyle(styleState, keyInit, valInit, styleProps.noClassNames), "continue";
7743
- }
7744
- if (disableExpandShorthands || keyInit in shorthands && (keyInit = shorthands[keyInit]), keyInit === "className" || keyInit in usedKeys) return "continue";
7745
- if (keyInit in import_skipProps.skipProps && !noSkip && !isHOC) {
7746
- if (keyInit === "group" && !1) var identifier2, containerType, containerCSS;
7747
- return "continue";
7748
- }
7749
- var valInitType = (typeof valInit > "u" ? "undefined" : _type_of(valInit)) > "u" ? "undefined" : _type_of1(valInit), isValidStyleKeyInit = isValidStyleKey(keyInit, staticConfig);
7750
- if (0) {
7751
- var isValidClassName, isMediaOrPseudo;
7752
- if ((isValidClassName || isMediaOrPseudo) && !shouldDoClasses) var _styleState3;
7753
- }
7754
- if (!isValidStyleKeyInit) {
7755
- if (!import_constants.isAndroid && keyInit === "elevationAndroid") return "continue";
7756
- if (keyInit === "userSelect") keyInit = "selectable", valInit = valInit !== "none";
7757
- else if (keyInit.startsWith("data-")) return "continue";
7758
- }
7759
- if (keyInit === "dataSet") {
7760
- for (var keyInit1 in valInit) viewProps["data-".concat(hyphenate(keyInit1))] = valInit[keyInit1];
7761
- return "continue";
7762
- }
7763
- if (0) var didUseKeyInit;
7764
- var isShorthand = keyInit in shorthands, isVariant = !isValidStyleKeyInit && variants && keyInit in variants, isStyleLikeKey = isShorthand || isValidStyleKeyInit || isVariant, isPseudo = keyInit in import_helpers.validPseudoKeys, isMedia = !isStyleLikeKey && !isPseudo && (0, import_useMedia.isMediaKey)(keyInit), isMediaOrPseudo1 = !!(isMedia || isPseudo);
7765
- if (isMediaOrPseudo1 && keyInit.startsWith("$group-")) {
7766
- var name2 = keyInit.split("-")[1];
7767
- context != null && context.groups.subscribe && !(context != null && context.groups.state[name2]) && (keyInit = keyInit.replace("$group-", "$group-true-"));
7768
- }
7769
- var isStyleProp = isValidStyleKeyInit || isMediaOrPseudo1 || isVariant && !noExpand || isShorthand;
7770
- if (isStyleProp && (asChild === "except-style" || asChild === "except-style-web")) return "continue";
7771
- var shouldPassProp = !isStyleProp || // is in parent variants
7772
- isHOC && parentVariants && keyInit in parentVariants || (inlineProps == null ? void 0 : inlineProps.has(keyInit)), parentVariant = parentVariants == null ? void 0 : parentVariants[keyInit], isHOCShouldPassThrough = !!(isHOC && (isShorthand || isValidStyleKeyInit || isMediaOrPseudo1 || parentVariant || keyInit in import_skipProps.skipProps)), shouldPassThrough = shouldPassProp || isHOCShouldPassThrough;
7773
- if (shouldPassThrough && (passDownProp(viewProps, keyInit, valInit, isMediaOrPseudo1), !isVariant) || !noSkip && keyInit in import_skipProps.skipProps) return "continue";
7774
- (isText || isInput) && valInit && (keyInit === "fontFamily" || keyInit === shorthands.fontFamily) && valInit in conf.fontsParsed && (styleState.fontFamily = valInit);
7775
- var avoidPropMap = isMediaOrPseudo1 || !isVariant && !isValidStyleKeyInit, expanded = avoidPropMap ? null : (0, import_propMapper.propMapper)(keyInit, valInit, styleState);
7776
- if (!avoidPropMap) {
7777
- if (!expanded) return "continue";
7778
- var next = (0, import_propMapper.getPropMappedFontFamily)(expanded);
7779
- next && (styleState.fontFamily = next);
7770
+ if ((accepted === "style" || accepted === "textStyle") && valInit && ((typeof valInit > "u" ? "undefined" : _type_of(valInit)) > "u" ? "undefined" : _type_of1(valInit)) === "object") {
7771
+ viewProps[keyInit] = getSubStyle(styleState, keyInit, valInit, styleProps.noClassNames);
7772
+ continue;
7773
+ }
7780
7774
  }
7781
- if (0)
7782
- try {
7783
- } catch (e) {
7775
+ if (disableExpandShorthands || keyInit in shorthands && (keyInit = shorthands[keyInit]), keyInit !== "className" && !(keyInit in usedKeys)) {
7776
+ if (keyInit in import_skipProps.skipProps && !noSkip && !isHOC) {
7777
+ if (keyInit === "group" && !1) var identifier, containerType, containerCSS;
7778
+ continue;
7784
7779
  }
7785
- for (var key4 = keyInit, val2 = valInit, max = expanded ? expanded.length : 1, i2 = 0; i2 < max; i2++) _loop22(i2);
7786
- if (0)
7787
- try {
7788
- } catch (e) {
7780
+ var valInitType = (typeof valInit > "u" ? "undefined" : _type_of(valInit)) > "u" ? "undefined" : _type_of1(valInit), isValidStyleKeyInit = isValidStyleKey(keyInit, staticConfig);
7781
+ if (0) {
7782
+ var isValidClassName, isMediaOrPseudo;
7783
+ if ((isValidClassName || isMediaOrPseudo) && !shouldDoClasses) var _styleState;
7789
7784
  }
7790
- };
7791
- conf = conf || (0, import_config.getConfig)(), import_constants.isWeb && styleProps.isAnimated && conf.animations.isReactNative && !styleProps.noNormalize && (styleProps.noNormalize = "values");
7792
- var shorthands = conf.shorthands, isHOC = staticConfig.isHOC, isText = staticConfig.isText, isInput = staticConfig.isInput, variants = staticConfig.variants, isReactNative = staticConfig.isReactNative, inlineProps = staticConfig.inlineProps, inlineWhenUnflattened = staticConfig.inlineWhenUnflattened, parentStaticConfig = staticConfig.parentStaticConfig, acceptsClassName = staticConfig.acceptsClassName, viewProps = {}, mediaState2 = styleProps.mediaState || import_useMedia.mediaState, usedKeys = {}, shouldDoClasses = acceptsClassName && import_constants.isWeb && !styleProps.noClassNames, rulesToInsert = void 0, classNames = {}, transforms = {}, pseudos = null, space = props.space, hasMedia = !1, dynamicThemeAccess, pseudoGroups, mediaGroups, className = props.className || "", mediaStylesSeen = 0, curPropsState, styleState = {
7793
- // this should go away, right now we're doing really crazy cumulative props,
7794
- // as variants are resolved basically we go back and merge the results onto
7795
- // the curProps, so that each following variant function recieves the current
7796
- // "styles" with variants expanded. powerful, but i think too fancy
7797
- // there's some part of the ui kit that depends on it we'd have to find and fix
7798
- get curProps() {
7799
- return curPropsState || (curPropsState = {}), curPropsState;
7800
- },
7801
- classNames,
7802
- conf,
7803
- props,
7804
- styleProps,
7805
- componentState,
7806
- staticConfig,
7807
- style: null,
7808
- theme,
7809
- usedKeys,
7810
- viewProps,
7811
- context,
7812
- debug,
7813
- skipThemeTokenResolution
7814
- }, asChild = props.asChild, accept = staticConfig.accept, noSkip = styleProps.noSkip, disableExpandShorthands = styleProps.disableExpandShorthands, noExpand = styleProps.noExpand, webContainerType = conf.settings.webContainerType, parentVariants = parentStaticConfig == null ? void 0 : parentStaticConfig.variants;
7815
- for (var keyOg in props) _loop(keyOg);
7785
+ if (!isValidStyleKeyInit) {
7786
+ if (!import_constants.isAndroid && keyInit === "elevationAndroid") continue;
7787
+ if (keyInit === "userSelect") keyInit = "selectable", valInit = valInit !== "none";
7788
+ else if (keyInit.startsWith("data-")) continue;
7789
+ }
7790
+ if (keyInit === "dataSet") {
7791
+ for (var keyInit1 in valInit) viewProps["data-".concat(hyphenate(keyInit1))] = valInit[keyInit1];
7792
+ continue;
7793
+ }
7794
+ if (0) var didUseKeyInit;
7795
+ var isShorthand = keyInit in shorthands, isVariant = !isValidStyleKeyInit && variants && keyInit in variants, isStyleLikeKey = isShorthand || isValidStyleKeyInit || isVariant, isPseudo = keyInit in import_helpers.validPseudoKeys, isMedia = !isStyleLikeKey && !isPseudo && (0, import_useMedia.isMediaKey)(keyInit), isMediaOrPseudo1 = !!(isMedia || isPseudo);
7796
+ if (isMediaOrPseudo1 && keyInit.startsWith("$group-")) {
7797
+ var name = keyInit.split("-")[1];
7798
+ context != null && context.groups.subscribe && !(context != null && context.groups.state[name]) && (keyInit = keyInit.replace("$group-", "$group-true-"));
7799
+ }
7800
+ var isStyleProp = isValidStyleKeyInit || isMediaOrPseudo1 || isVariant && !noExpand || isShorthand;
7801
+ if (!(isStyleProp && (asChild === "except-style" || asChild === "except-style-web"))) {
7802
+ var shouldPassProp = !isStyleProp || // is in parent variants
7803
+ isHOC && parentVariants && keyInit in parentVariants || (inlineProps == null ? void 0 : inlineProps.has(keyInit)), parentVariant = parentVariants == null ? void 0 : parentVariants[keyInit], isHOCShouldPassThrough = !!(isHOC && (isShorthand || isValidStyleKeyInit || isMediaOrPseudo1 || parentVariant || keyInit in import_skipProps.skipProps)), shouldPassThrough = shouldPassProp || isHOCShouldPassThrough;
7804
+ if (shouldPassThrough && (passDownProp(viewProps, keyInit, valInit, isMediaOrPseudo1), !isVariant) || !noSkip && keyInit in import_skipProps.skipProps)
7805
+ continue;
7806
+ (isText || isInput) && valInit && (keyInit === "fontFamily" || keyInit === shorthands.fontFamily) && valInit in conf.fontsParsed && (styleState.fontFamily = valInit);
7807
+ var avoidPropMap = isMediaOrPseudo1 || !isVariant && !isValidStyleKeyInit, expanded = avoidPropMap ? null : (0, import_propMapper.propMapper)(keyInit, valInit, styleState);
7808
+ if (!avoidPropMap) {
7809
+ if (!expanded) continue;
7810
+ var next = (0, import_propMapper.getPropMappedFontFamily)(expanded);
7811
+ next && (styleState.fontFamily = next);
7812
+ }
7813
+ if (0)
7814
+ try {
7815
+ } catch (e) {
7816
+ }
7817
+ for (var key = keyInit, val = valInit, max = expanded ? expanded.length : 1, i = 0; i < max; i++) _loop(i);
7818
+ if (0)
7819
+ try {
7820
+ } catch (e) {
7821
+ }
7822
+ }
7823
+ }
7824
+ }
7816
7825
  var avoidNormalize = styleProps.noNormalize === !1;
7817
7826
  if (!avoidNormalize) {
7818
7827
  if (styleState.style && ((0, import_expandStyles.fixStyles)(styleState.style), import_constants.isWeb && !isReactNative && (0, import_getStylesAtomic.styleToCSS)(styleState.style)), styleState.flatTransforms) {
7819
- var _styleState;
7820
- (_styleState = styleState).style || (_styleState.style = {}), Object.entries(styleState.flatTransforms).sort(function(param, param1) {
7828
+ var _styleState1;
7829
+ (_styleState1 = styleState).style || (_styleState1.style = {}), Object.entries(styleState.flatTransforms).sort(function(param, param1) {
7821
7830
  var _param = _sliced_to_array(param, 1), a = _param[0], _param1 = _sliced_to_array(param1, 1), b = _param1[0];
7822
7831
  return a.localeCompare(b);
7823
7832
  }).forEach(function(param) {
7824
- var _param = _sliced_to_array(param, 2), key4 = _param[0], val2 = _param[1];
7825
- mergeTransform(styleState.style, key4, val2, !0);
7833
+ var _param = _sliced_to_array(param, 2), key5 = _param[0], val3 = _param[1];
7834
+ mergeTransform(styleState.style, key5, val3, !0);
7826
7835
  });
7827
7836
  }
7828
7837
  if (parentSplitStyles) {
7829
- if (0) for (var key in parentSplitStyles.classNames) var val;
7830
- if (!shouldDoClasses) for (var key1 in parentSplitStyles.style) {
7831
- var _styleState1;
7832
- key1 in classNames || styleState.style && key1 in styleState.style || ((_styleState1 = styleState).style || (_styleState1.style = {}), styleState.style[key1] = parentSplitStyles.style[key1]);
7838
+ if (0) for (var key1 in parentSplitStyles.classNames) var val1;
7839
+ if (!shouldDoClasses) for (var key2 in parentSplitStyles.style) {
7840
+ var _styleState2;
7841
+ key2 in classNames || styleState.style && key2 in styleState.style || ((_styleState2 = styleState).style || (_styleState2.style = {}), styleState.style[key2] = parentSplitStyles.style[key2]);
7833
7842
  }
7834
7843
  }
7835
7844
  }
@@ -7840,7 +7849,7 @@ var require_getSplitStyles_native = __commonJS({
7840
7849
  if (!styleState.style.$$css) {
7841
7850
  var atomic, _iteratorNormalCompletion, _didIteratorError, _iteratorError;
7842
7851
  try {
7843
- for (var _iterator, _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = !0) var atomicStyle, _props_animateOnly, _atomicStyle, key2, value, identifier, isAnimatedAndAnimateOnly, nonAnimatedAnimateOnly;
7852
+ for (var _iterator, _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = !0) var atomicStyle, _props_animateOnly, _atomicStyle, key3, value, identifier1, isAnimatedAndAnimateOnly, nonAnimatedAnimateOnly;
7844
7853
  } catch (err) {
7845
7854
  } finally {
7846
7855
  try {
@@ -7849,8 +7858,8 @@ var require_getSplitStyles_native = __commonJS({
7849
7858
  }
7850
7859
  }
7851
7860
  if (transforms) for (var namespace in transforms) {
7852
- var _transforms_namespace, hash, val1, identifier1;
7853
- if (import_constants.isClient && !insertedTransforms[identifier1]) var rule;
7861
+ var _transforms_namespace, hash, val2, identifier2;
7862
+ if (import_constants.isClient && !insertedTransforms[identifier2]) var rule;
7854
7863
  }
7855
7864
  }
7856
7865
  if (isReactNative) {
@@ -7859,12 +7868,12 @@ var require_getSplitStyles_native = __commonJS({
7859
7868
  }
7860
7869
  var styleProp = props.style;
7861
7870
  if (styleProp) if (isHOC) viewProps.style = normalizeStyle(styleProp);
7862
- else for (var isArray = Array.isArray(styleProp), len = isArray ? styleProp.length : 1, i = 0; i < len; i++) {
7863
- var style = isArray ? styleProp[i] : styleProp;
7871
+ else for (var isArray = Array.isArray(styleProp), len = isArray ? styleProp.length : 1, i1 = 0; i1 < len; i1++) {
7872
+ var style = isArray ? styleProp[i1] : styleProp;
7864
7873
  if (style) if (style.$$css) Object.assign(styleState.classNames, style);
7865
7874
  else {
7866
- var _styleState2;
7867
- (_styleState2 = styleState).style || (_styleState2.style = {}), Object.assign(styleState.style, normalizeStyle(style));
7875
+ var _styleState3;
7876
+ (_styleState3 = styleState).style || (_styleState3.style = {}), Object.assign(styleState.style, normalizeStyle(style));
7868
7877
  }
7869
7878
  }
7870
7879
  var style1 = styleState.style;
@@ -7895,7 +7904,7 @@ var require_getSplitStyles_native = __commonJS({
7895
7904
  if (!styleProps.noMergeStyle && !(styleProps.isAnimated && !conf.animations.supportsCSSVars && isReactNative) && isReactNative) {
7896
7905
  var cnStyles, _iteratorNormalCompletion1, _didIteratorError1, _iteratorError1;
7897
7906
  try {
7898
- for (var _iterator1, _step1; !(_iteratorNormalCompletion1 = (_step1 = _iterator1.next()).done); _iteratorNormalCompletion1 = !0) var name;
7907
+ for (var _iterator1, _step1; !(_iteratorNormalCompletion1 = (_step1 = _iterator1.next()).done); _iteratorNormalCompletion1 = !0) var name1;
7899
7908
  } catch (err) {
7900
7909
  } finally {
7901
7910
  try {
@@ -7908,7 +7917,7 @@ var require_getSplitStyles_native = __commonJS({
7908
7917
  if (0)
7909
7918
  try {
7910
7919
  var logs;
7911
- for (var key3 in logs) ;
7920
+ for (var key4 in logs) ;
7912
7921
  } catch (e) {
7913
7922
  }
7914
7923
  return result;