@tamagui/core 1.86.1 → 1.86.2

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.
@@ -2688,6 +2688,27 @@ var require_createMediaStyle_native = __commonJS({
2688
2688
  }
2689
2689
  });
2690
2690
 
2691
+ // ../web/dist/cjs/helpers/defaultOffset.native.js
2692
+ var require_defaultOffset_native = __commonJS({
2693
+ "../web/dist/cjs/helpers/defaultOffset.native.js"(exports2, module2) {
2694
+ "use strict";
2695
+ var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
2696
+ for (var name in all)
2697
+ __defProp2(target, name, { get: all[name], enumerable: !0 });
2698
+ }, __copyProps2 = (to, from, except, desc) => {
2699
+ if (from && typeof from == "object" || typeof from == "function")
2700
+ for (let key of __getOwnPropNames2(from))
2701
+ !__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable });
2702
+ return to;
2703
+ }, __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: !0 }), mod), defaultOffset_exports = {};
2704
+ __export2(defaultOffset_exports, {
2705
+ defaultOffset: () => defaultOffset
2706
+ });
2707
+ module2.exports = __toCommonJS2(defaultOffset_exports);
2708
+ var defaultOffset = { height: 0, width: 0 };
2709
+ }
2710
+ });
2711
+
2691
2712
  // ../../node_modules/@react-native/normalize-color/index.js
2692
2713
  var require_normalize_color = __commonJS({
2693
2714
  "../../node_modules/@react-native/normalize-color/index.js"(exports2, module2) {
@@ -3156,7 +3177,7 @@ var require_index_native7 = __commonJS({
3156
3177
  module2.exports = __toCommonJS2(src_exports2);
3157
3178
  var normalizeColor = __toESM2(require_normalize_color()), norm = normalizeColor.default || normalizeColor, normalizeCSSColor = norm;
3158
3179
  function rgba2(colorInt) {
3159
- var r = Math.round((colorInt & 4278190080) >>> 24), g = Math.round((colorInt & 16711680) >>> 16), b = Math.round((colorInt & 65280) >>> 8), a = ((colorInt & 255) >>> 0) / 255;
3180
+ let r = Math.round((colorInt & 4278190080) >>> 24), g = Math.round((colorInt & 16711680) >>> 16), b = Math.round((colorInt & 65280) >>> 8), a = ((colorInt & 255) >>> 0) / 255;
3160
3181
  return {
3161
3182
  r,
3162
3183
  g,
@@ -3168,27 +3189,6 @@ var require_index_native7 = __commonJS({
3168
3189
  }
3169
3190
  });
3170
3191
 
3171
- // ../web/dist/cjs/helpers/defaultOffset.native.js
3172
- var require_defaultOffset_native = __commonJS({
3173
- "../web/dist/cjs/helpers/defaultOffset.native.js"(exports2, module2) {
3174
- "use strict";
3175
- var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
3176
- for (var name in all)
3177
- __defProp2(target, name, { get: all[name], enumerable: !0 });
3178
- }, __copyProps2 = (to, from, except, desc) => {
3179
- if (from && typeof from == "object" || typeof from == "function")
3180
- for (let key of __getOwnPropNames2(from))
3181
- !__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable });
3182
- return to;
3183
- }, __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: !0 }), mod), defaultOffset_exports = {};
3184
- __export2(defaultOffset_exports, {
3185
- defaultOffset: () => defaultOffset
3186
- });
3187
- module2.exports = __toCommonJS2(defaultOffset_exports);
3188
- var defaultOffset = { height: 0, width: 0 };
3189
- }
3190
- });
3191
-
3192
3192
  // ../web/dist/cjs/helpers/normalizeColor.native.js
3193
3193
  var require_normalizeColor_native = __commonJS({
3194
3194
  "../web/dist/cjs/helpers/normalizeColor.native.js"(exports2, module2) {
@@ -3203,6 +3203,7 @@ var require_normalizeColor_native = __commonJS({
3203
3203
  return to;
3204
3204
  }, __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: !0 }), mod), normalizeColor_exports = {};
3205
3205
  __export2(normalizeColor_exports, {
3206
+ getRgba: () => getRgba,
3206
3207
  normalizeColor: () => normalizeColor,
3207
3208
  rgba: () => import_normalize_css_color2.rgba
3208
3209
  });
@@ -3212,57 +3213,20 @@ var require_normalizeColor_native = __commonJS({
3212
3213
  return;
3213
3214
  if (color[0] === "$" || color.startsWith("var("))
3214
3215
  return color;
3215
- let colorProcessed = (0, import_normalize_css_color.normalizeCSSColor)(color);
3216
- if (colorProcessed != null) {
3217
- let { r, g, b, a } = (0, import_normalize_css_color.rgba)(colorProcessed), alpha = (opacity ?? a ?? 1).toFixed(2);
3218
- return `rgba(${r},${g},${b},${alpha})`;
3216
+ let rgba3 = getRgba(color);
3217
+ if (rgba3) {
3218
+ let colors = `${rgba3.r},${rgba3.g},${rgba3.b}`;
3219
+ return opacity === 1 ? `rgb(${colors})` : `rgba(${colors},${opacity ?? rgba3.a ?? 1})`;
3219
3220
  }
3221
+ return color;
3222
+ }, getRgba = (color) => {
3223
+ let colorNum = (0, import_normalize_css_color.normalizeCSSColor)(color);
3224
+ if (colorNum != null)
3225
+ return (0, import_normalize_css_color.rgba)(colorNum);
3220
3226
  };
3221
3227
  }
3222
3228
  });
3223
3229
 
3224
- // ../web/dist/cjs/helpers/normalizeValueWithProperty.native.js
3225
- var require_normalizeValueWithProperty_native = __commonJS({
3226
- "../web/dist/cjs/helpers/normalizeValueWithProperty.native.js"(exports2, module2) {
3227
- "use strict";
3228
- var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
3229
- for (var name in all)
3230
- __defProp2(target, name, { get: all[name], enumerable: !0 });
3231
- }, __copyProps2 = (to, from, except, desc) => {
3232
- if (from && typeof from == "object" || typeof from == "function")
3233
- for (let key of __getOwnPropNames2(from))
3234
- !__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable });
3235
- return to;
3236
- }, __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: !0 }), mod), normalizeValueWithProperty_exports = {};
3237
- __export2(normalizeValueWithProperty_exports, {
3238
- normalizeValueWithProperty: () => normalizeValueWithProperty,
3239
- reverseMapClassNameToValue: () => reverseMapClassNameToValue
3240
- });
3241
- module2.exports = __toCommonJS2(normalizeValueWithProperty_exports);
3242
- var import_constants = require_index_native3(), import_helpers = require_index_native4(), import_insertStyleRule = require_insertStyleRule_native(), stylePropsAllPlusTransforms = {
3243
- ...import_helpers.stylePropsAll,
3244
- translateX: !0,
3245
- translateY: !0
3246
- };
3247
- function normalizeValueWithProperty(value, property) {
3248
- if (!import_constants.isWeb || typeof value == "boolean" || property && property in import_helpers.stylePropsUnitless || property && !(property in stylePropsAllPlusTransforms))
3249
- return value;
3250
- let res = value;
3251
- return value && typeof value == "object" ? value : (typeof value == "number" ? res = `${value}px` : property && (res = `${res}`), res);
3252
- }
3253
- var rcache = {};
3254
- function reverseMapClassNameToValue(key, className) {
3255
- let cssRule = (0, import_insertStyleRule.getAllSelectors)()[className];
3256
- if (rcache[cssRule])
3257
- return rcache[cssRule];
3258
- if (!cssRule)
3259
- return;
3260
- let cssVal = cssRule.replace(/.*:/, "").replace(/;.*/, "").trim(), res;
3261
- return cssVal.startsWith("var(") ? res = cssVal : import_helpers.stylePropsUnitless[key] ? res = +cssVal : cssVal.endsWith("px") ? res = +cssVal.replace("px", "") : res = cssVal, rcache[cssRule] = res, res;
3262
- }
3263
- }
3264
- });
3265
-
3266
3230
  // ../web/dist/cjs/helpers/normalizeShadow.native.js
3267
3231
  var require_normalizeShadow_native = __commonJS({
3268
3232
  "../web/dist/cjs/helpers/normalizeShadow.native.js"(exports2, module2) {
@@ -3275,30 +3239,28 @@ var require_normalizeShadow_native = __commonJS({
3275
3239
  for (let key of __getOwnPropNames2(from))
3276
3240
  !__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable });
3277
3241
  return to;
3278
- }, __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: !0 }), mod), normalizeShadow_native_exports = {};
3279
- __export2(normalizeShadow_native_exports, {
3242
+ }, __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: !0 }), mod), normalizeShadow_exports = {};
3243
+ __export2(normalizeShadow_exports, {
3280
3244
  normalizeShadow: () => normalizeShadow
3281
3245
  });
3282
- module2.exports = __toCommonJS2(normalizeShadow_native_exports);
3283
- var import_normalize_css_color = require_index_native7(), import_defaultOffset = require_defaultOffset_native(), import_normalizeColor = require_normalizeColor_native(), import_normalizeValueWithProperty = require_normalizeValueWithProperty_native();
3246
+ module2.exports = __toCommonJS2(normalizeShadow_exports);
3247
+ var import_defaultOffset = require_defaultOffset_native(), import_normalizeColor = require_normalizeColor_native();
3284
3248
  function normalizeShadow({
3285
3249
  shadowColor,
3286
3250
  shadowOffset,
3287
3251
  shadowOpacity,
3288
3252
  shadowRadius
3289
3253
  }) {
3290
- let { height, width } = shadowOffset || import_defaultOffset.defaultOffset, colorStr = String(shadowColor || "black"), val = (0, import_normalize_css_color.normalizeCSSColor)(colorStr);
3291
- if (typeof val != "number")
3292
- throw new Error(`invalid shadow color ${colorStr}`);
3293
- let { r, g, b, a } = (0, import_normalizeColor.rgba)(val);
3254
+ var _a;
3255
+ let { height, width } = shadowOffset || import_defaultOffset.defaultOffset;
3294
3256
  return {
3295
3257
  shadowOffset: {
3296
- width: (0, import_normalizeValueWithProperty.normalizeValueWithProperty)(width || 0),
3297
- height: (0, import_normalizeValueWithProperty.normalizeValueWithProperty)(height || 0)
3258
+ width: width || 0,
3259
+ height: height || 0
3298
3260
  },
3299
- shadowRadius: (0, import_normalizeValueWithProperty.normalizeValueWithProperty)(shadowRadius || 0),
3300
- shadowColor: `rgb(${r},${g},${b})`,
3301
- shadowOpacity: shadowOpacity ?? a
3261
+ shadowRadius: shadowRadius || 0,
3262
+ shadowColor: (0, import_normalizeColor.normalizeColor)(shadowColor, 1),
3263
+ shadowOpacity: shadowOpacity ?? (shadowColor ? (_a = (0, import_normalizeColor.getRgba)(shadowColor)) == null ? void 0 : _a.a : 1)
3302
3264
  };
3303
3265
  }
3304
3266
  }
@@ -3386,6 +3348,48 @@ var require_log_native = __commonJS({
3386
3348
  }
3387
3349
  });
3388
3350
 
3351
+ // ../web/dist/cjs/helpers/normalizeValueWithProperty.native.js
3352
+ var require_normalizeValueWithProperty_native = __commonJS({
3353
+ "../web/dist/cjs/helpers/normalizeValueWithProperty.native.js"(exports2, module2) {
3354
+ "use strict";
3355
+ var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
3356
+ for (var name in all)
3357
+ __defProp2(target, name, { get: all[name], enumerable: !0 });
3358
+ }, __copyProps2 = (to, from, except, desc) => {
3359
+ if (from && typeof from == "object" || typeof from == "function")
3360
+ for (let key of __getOwnPropNames2(from))
3361
+ !__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable });
3362
+ return to;
3363
+ }, __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: !0 }), mod), normalizeValueWithProperty_exports = {};
3364
+ __export2(normalizeValueWithProperty_exports, {
3365
+ normalizeValueWithProperty: () => normalizeValueWithProperty,
3366
+ reverseMapClassNameToValue: () => reverseMapClassNameToValue
3367
+ });
3368
+ module2.exports = __toCommonJS2(normalizeValueWithProperty_exports);
3369
+ var import_constants = require_index_native3(), import_helpers = require_index_native4(), import_insertStyleRule = require_insertStyleRule_native(), stylePropsAllPlusTransforms = {
3370
+ ...import_helpers.stylePropsAll,
3371
+ translateX: !0,
3372
+ translateY: !0
3373
+ };
3374
+ function normalizeValueWithProperty(value, property = "") {
3375
+ if (!import_constants.isWeb || import_helpers.stylePropsUnitless[property] || property && !stylePropsAllPlusTransforms[property] || typeof value == "boolean")
3376
+ return value;
3377
+ let res = value;
3378
+ return value && typeof value == "object" ? value : (typeof value == "number" ? res = `${value}px` : property && (res = `${res}`), res);
3379
+ }
3380
+ var rcache = {};
3381
+ function reverseMapClassNameToValue(key, className) {
3382
+ let cssRule = (0, import_insertStyleRule.getAllSelectors)()[className];
3383
+ if (rcache[cssRule])
3384
+ return rcache[cssRule];
3385
+ if (!cssRule)
3386
+ return;
3387
+ let cssVal = cssRule.replace(/.*:/, "").replace(/;.*/, "").trim(), res;
3388
+ return cssVal.startsWith("var(") ? res = cssVal : import_helpers.stylePropsUnitless[key] ? res = +cssVal : cssVal.endsWith("px") ? res = +cssVal.replace("px", "") : res = cssVal, rcache[cssRule] = res, res;
3389
+ }
3390
+ }
3391
+ });
3392
+
3389
3393
  // ../web/dist/cjs/helpers/expandStyle.native.js
3390
3394
  var require_expandStyle_native = __commonJS({
3391
3395
  "../web/dist/cjs/helpers/expandStyle.native.js"(exports2, module2) {
@@ -3445,9 +3449,9 @@ var require_expandStyle_native = __commonJS({
3445
3449
  }
3446
3450
  });
3447
3451
 
3448
- // ../web/dist/cjs/helpers/expandStylesAndRemoveNullishValues.native.js
3449
- var require_expandStylesAndRemoveNullishValues_native = __commonJS({
3450
- "../web/dist/cjs/helpers/expandStylesAndRemoveNullishValues.native.js"(exports2, module2) {
3452
+ // ../web/dist/cjs/helpers/isObj.native.js
3453
+ var require_isObj_native = __commonJS({
3454
+ "../web/dist/cjs/helpers/isObj.native.js"(exports2, module2) {
3451
3455
  "use strict";
3452
3456
  var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
3453
3457
  for (var name in all)
@@ -3457,20 +3461,42 @@ var require_expandStylesAndRemoveNullishValues_native = __commonJS({
3457
3461
  for (let key of __getOwnPropNames2(from))
3458
3462
  !__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable });
3459
3463
  return to;
3460
- }, __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: !0 }), mod), expandStylesAndRemoveNullishValues_exports = {};
3461
- __export2(expandStylesAndRemoveNullishValues_exports, {
3462
- expandStylesAndRemoveNullishValues: () => expandStylesAndRemoveNullishValues
3464
+ }, __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: !0 }), mod), isObj_exports = {};
3465
+ __export2(isObj_exports, {
3466
+ isObj: () => isObj
3463
3467
  });
3464
- module2.exports = __toCommonJS2(expandStylesAndRemoveNullishValues_exports);
3465
- var import_expandStyle = require_expandStyle_native(), import_expandStyles = require_expandStyles_native(), import_normalizeValueWithProperty = require_normalizeValueWithProperty_native(), import_pseudoDescriptors = require_pseudoDescriptors_native();
3466
- function expandStylesAndRemoveNullishValues(style, disableNormalize = !1) {
3468
+ module2.exports = __toCommonJS2(isObj_exports);
3469
+ var isObj = (x) => x && !Array.isArray(x) && typeof x == "object";
3470
+ }
3471
+ });
3472
+
3473
+ // ../web/dist/cjs/helpers/normalizeStyle.native.js
3474
+ var require_normalizeStyle_native = __commonJS({
3475
+ "../web/dist/cjs/helpers/normalizeStyle.native.js"(exports2, module2) {
3476
+ "use strict";
3477
+ var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
3478
+ for (var name in all)
3479
+ __defProp2(target, name, { get: all[name], enumerable: !0 });
3480
+ }, __copyProps2 = (to, from, except, desc) => {
3481
+ if (from && typeof from == "object" || typeof from == "function")
3482
+ for (let key of __getOwnPropNames2(from))
3483
+ !__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable });
3484
+ return to;
3485
+ }, __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: !0 }), mod), normalizeStyle_exports = {};
3486
+ __export2(normalizeStyle_exports, {
3487
+ normalizeStyle: () => normalizeStyle
3488
+ });
3489
+ module2.exports = __toCommonJS2(normalizeStyle_exports);
3490
+ var import_expandStyle = require_expandStyle_native(), import_expandStyles = require_expandStyles_native(), import_isObj = require_isObj_native(), import_normalizeValueWithProperty = require_normalizeValueWithProperty_native(), import_pseudoDescriptors = require_pseudoDescriptors_native();
3491
+ function normalizeStyle(style, disableNormalize = !1) {
3467
3492
  let res = {};
3468
3493
  for (let key in style) {
3469
3494
  let prop = style[key];
3470
3495
  if (prop == null)
3471
3496
  continue;
3472
- if (key in import_pseudoDescriptors.pseudoDescriptors) {
3473
- res[key] = expandStylesAndRemoveNullishValues(prop, disableNormalize);
3497
+ if (key in import_pseudoDescriptors.pseudoDescriptors || // this should capture all parent-based styles like media, group, etc
3498
+ key[0] === "$" && (0, import_isObj.isObj)(prop)) {
3499
+ res[key] = normalizeStyle(prop, disableNormalize);
3474
3500
  continue;
3475
3501
  }
3476
3502
  let value = disableNormalize ? prop : (0, import_normalizeValueWithProperty.normalizeValueWithProperty)(prop, key), out = (0, import_expandStyle.expandStyle)(key, value);
@@ -3546,27 +3572,6 @@ var require_getVariantExtras_native = __commonJS({
3546
3572
  }
3547
3573
  });
3548
3574
 
3549
- // ../web/dist/cjs/helpers/isObj.native.js
3550
- var require_isObj_native = __commonJS({
3551
- "../web/dist/cjs/helpers/isObj.native.js"(exports2, module2) {
3552
- "use strict";
3553
- var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
3554
- for (var name in all)
3555
- __defProp2(target, name, { get: all[name], enumerable: !0 });
3556
- }, __copyProps2 = (to, from, except, desc) => {
3557
- if (from && typeof from == "object" || typeof from == "function")
3558
- for (let key of __getOwnPropNames2(from))
3559
- !__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable });
3560
- return to;
3561
- }, __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: !0 }), mod), isObj_exports = {};
3562
- __export2(isObj_exports, {
3563
- isObj: () => isObj
3564
- });
3565
- module2.exports = __toCommonJS2(isObj_exports);
3566
- var isObj = (x) => x && !Array.isArray(x) && typeof x == "object";
3567
- }
3568
- });
3569
-
3570
3575
  // ../web/dist/cjs/helpers/propMapper.native.js
3571
3576
  var require_propMapper_native = __commonJS({
3572
3577
  "../web/dist/cjs/helpers/propMapper.native.js"(exports2, module2) {
@@ -3587,7 +3592,7 @@ var require_propMapper_native = __commonJS({
3587
3592
  propMapper: () => propMapper
3588
3593
  });
3589
3594
  module2.exports = __toCommonJS2(propMapper_exports);
3590
- var import_constants = require_index_native3(), import_helpers = require_index_native4(), import_config = require_config_native(), import_isDevTools = require_isDevTools_native(), import_createVariable = require_createVariable_native(), import_expandStyle = require_expandStyle_native(), import_expandStylesAndRemoveNullishValues = require_expandStylesAndRemoveNullishValues_native(), import_getVariantExtras = require_getVariantExtras_native(), import_isObj = require_isObj_native(), import_pseudoDescriptors = require_pseudoDescriptors_native(), propMapper = (key, value, styleStateIn, subPropsIn) => {
3595
+ var import_constants = require_index_native3(), import_helpers = require_index_native4(), import_config = require_config_native(), import_isDevTools = require_isDevTools_native(), import_createVariable = require_createVariable_native(), import_expandStyle = require_expandStyle_native(), import_normalizeStyle = require_normalizeStyle_native(), import_getVariantExtras = require_getVariantExtras_native(), import_isObj = require_isObj_native(), import_pseudoDescriptors = require_pseudoDescriptors_native(), propMapper = (key, value, styleStateIn, subPropsIn) => {
3591
3596
  var _a;
3592
3597
  if (lastFontFamilyToken = null, !import_constants.isAndroid && key === "elevationAndroid")
3593
3598
  return;
@@ -3646,10 +3651,7 @@ var require_propMapper_native = __commonJS({
3646
3651
  );
3647
3652
  }
3648
3653
  if (variantValue) {
3649
- let expanded = (0, import_expandStylesAndRemoveNullishValues.expandStylesAndRemoveNullishValues)(
3650
- variantValue,
3651
- !!styleProps.noNormalize
3652
- ), next = Object.entries(expanded);
3654
+ let expanded = (0, import_normalizeStyle.normalizeStyle)(variantValue, !!styleProps.noNormalize), next = Object.entries(expanded);
3653
3655
  return fontFamilyResult && fontFamilyResult[0] === "$" && fontFamilyCache.set(next, (0, import_createVariable.getVariableValue)(fontFamilyResult)), next;
3654
3656
  }
3655
3657
  };
@@ -6383,7 +6385,7 @@ var require_index_native9 = __commonJS({
6383
6385
  __reExport2(src_exports2, require_createStyledContext_native(), module2.exports);
6384
6386
  __reExport2(src_exports2, require_expandStyles_native(), module2.exports);
6385
6387
  __reExport2(src_exports2, require_createMediaStyle_native(), module2.exports);
6386
- __reExport2(src_exports2, require_expandStylesAndRemoveNullishValues_native(), module2.exports);
6388
+ __reExport2(src_exports2, require_normalizeStyle_native(), module2.exports);
6387
6389
  __reExport2(src_exports2, require_propMapper_native(), module2.exports);
6388
6390
  __reExport2(src_exports2, require_getExpandedShorthands_native(), module2.exports);
6389
6391
  __reExport2(src_exports2, require_getSplitStyles_native(), module2.exports);