tamagui 1.86.0 → 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.
@@ -2534,6 +2534,27 @@ var require_createMediaStyle_native = __commonJS({
2534
2534
  }
2535
2535
  });
2536
2536
 
2537
+ // ../web/dist/cjs/helpers/defaultOffset.native.js
2538
+ var require_defaultOffset_native = __commonJS({
2539
+ "../web/dist/cjs/helpers/defaultOffset.native.js"(exports2, module2) {
2540
+ "use strict";
2541
+ var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
2542
+ for (var name in all)
2543
+ __defProp2(target, name, { get: all[name], enumerable: !0 });
2544
+ }, __copyProps2 = (to, from, except, desc) => {
2545
+ if (from && typeof from == "object" || typeof from == "function")
2546
+ for (let key of __getOwnPropNames2(from))
2547
+ !__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable });
2548
+ return to;
2549
+ }, __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: !0 }), mod), defaultOffset_exports = {};
2550
+ __export2(defaultOffset_exports, {
2551
+ defaultOffset: () => defaultOffset
2552
+ });
2553
+ module2.exports = __toCommonJS2(defaultOffset_exports);
2554
+ var defaultOffset = { height: 0, width: 0 };
2555
+ }
2556
+ });
2557
+
2537
2558
  // ../../node_modules/@react-native/normalize-color/index.js
2538
2559
  var require_normalize_color = __commonJS({
2539
2560
  "../../node_modules/@react-native/normalize-color/index.js"(exports2, module2) {
@@ -3002,7 +3023,7 @@ var require_index_native11 = __commonJS({
3002
3023
  module2.exports = __toCommonJS2(src_exports2);
3003
3024
  var normalizeColor = __toESM2(require_normalize_color()), norm = normalizeColor.default || normalizeColor, normalizeCSSColor = norm;
3004
3025
  function rgba2(colorInt) {
3005
- var r = Math.round((colorInt & 4278190080) >>> 24), g = Math.round((colorInt & 16711680) >>> 16), b = Math.round((colorInt & 65280) >>> 8), a = ((colorInt & 255) >>> 0) / 255;
3026
+ let r = Math.round((colorInt & 4278190080) >>> 24), g = Math.round((colorInt & 16711680) >>> 16), b = Math.round((colorInt & 65280) >>> 8), a = ((colorInt & 255) >>> 0) / 255;
3006
3027
  return {
3007
3028
  r,
3008
3029
  g,
@@ -3014,27 +3035,6 @@ var require_index_native11 = __commonJS({
3014
3035
  }
3015
3036
  });
3016
3037
 
3017
- // ../web/dist/cjs/helpers/defaultOffset.native.js
3018
- var require_defaultOffset_native = __commonJS({
3019
- "../web/dist/cjs/helpers/defaultOffset.native.js"(exports2, module2) {
3020
- "use strict";
3021
- var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
3022
- for (var name in all)
3023
- __defProp2(target, name, { get: all[name], enumerable: !0 });
3024
- }, __copyProps2 = (to, from, except, desc) => {
3025
- if (from && typeof from == "object" || typeof from == "function")
3026
- for (let key of __getOwnPropNames2(from))
3027
- !__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable });
3028
- return to;
3029
- }, __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: !0 }), mod), defaultOffset_exports = {};
3030
- __export2(defaultOffset_exports, {
3031
- defaultOffset: () => defaultOffset
3032
- });
3033
- module2.exports = __toCommonJS2(defaultOffset_exports);
3034
- var defaultOffset = { height: 0, width: 0 };
3035
- }
3036
- });
3037
-
3038
3038
  // ../web/dist/cjs/helpers/normalizeColor.native.js
3039
3039
  var require_normalizeColor_native = __commonJS({
3040
3040
  "../web/dist/cjs/helpers/normalizeColor.native.js"(exports2, module2) {
@@ -3049,6 +3049,7 @@ var require_normalizeColor_native = __commonJS({
3049
3049
  return to;
3050
3050
  }, __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: !0 }), mod), normalizeColor_exports = {};
3051
3051
  __export2(normalizeColor_exports, {
3052
+ getRgba: () => getRgba,
3052
3053
  normalizeColor: () => normalizeColor,
3053
3054
  rgba: () => import_normalize_css_color2.rgba
3054
3055
  });
@@ -3058,57 +3059,20 @@ var require_normalizeColor_native = __commonJS({
3058
3059
  return;
3059
3060
  if (color[0] === "$" || color.startsWith("var("))
3060
3061
  return color;
3061
- let colorProcessed = (0, import_normalize_css_color.normalizeCSSColor)(color);
3062
- if (colorProcessed != null) {
3063
- let { r, g, b, a } = (0, import_normalize_css_color.rgba)(colorProcessed), alpha = (opacity ?? a ?? 1).toFixed(2);
3064
- return `rgba(${r},${g},${b},${alpha})`;
3062
+ let rgba3 = getRgba(color);
3063
+ if (rgba3) {
3064
+ let colors = `${rgba3.r},${rgba3.g},${rgba3.b}`;
3065
+ return opacity === 1 ? `rgb(${colors})` : `rgba(${colors},${opacity ?? rgba3.a ?? 1})`;
3065
3066
  }
3067
+ return color;
3068
+ }, getRgba = (color) => {
3069
+ let colorNum = (0, import_normalize_css_color.normalizeCSSColor)(color);
3070
+ if (colorNum != null)
3071
+ return (0, import_normalize_css_color.rgba)(colorNum);
3066
3072
  };
3067
3073
  }
3068
3074
  });
3069
3075
 
3070
- // ../web/dist/cjs/helpers/normalizeValueWithProperty.native.js
3071
- var require_normalizeValueWithProperty_native = __commonJS({
3072
- "../web/dist/cjs/helpers/normalizeValueWithProperty.native.js"(exports2, module2) {
3073
- "use strict";
3074
- var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
3075
- for (var name in all)
3076
- __defProp2(target, name, { get: all[name], enumerable: !0 });
3077
- }, __copyProps2 = (to, from, except, desc) => {
3078
- if (from && typeof from == "object" || typeof from == "function")
3079
- for (let key of __getOwnPropNames2(from))
3080
- !__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable });
3081
- return to;
3082
- }, __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: !0 }), mod), normalizeValueWithProperty_exports = {};
3083
- __export2(normalizeValueWithProperty_exports, {
3084
- normalizeValueWithProperty: () => normalizeValueWithProperty,
3085
- reverseMapClassNameToValue: () => reverseMapClassNameToValue
3086
- });
3087
- module2.exports = __toCommonJS2(normalizeValueWithProperty_exports);
3088
- var import_constants4 = require_index_native(), import_helpers = require_index_native7(), import_insertStyleRule = require_insertStyleRule_native(), stylePropsAllPlusTransforms = {
3089
- ...import_helpers.stylePropsAll,
3090
- translateX: !0,
3091
- translateY: !0
3092
- };
3093
- function normalizeValueWithProperty(value, property) {
3094
- if (!import_constants4.isWeb || typeof value == "boolean" || property && property in import_helpers.stylePropsUnitless || property && !(property in stylePropsAllPlusTransforms))
3095
- return value;
3096
- let res = value;
3097
- return value && typeof value == "object" ? value : (typeof value == "number" ? res = `${value}px` : property && (res = `${res}`), res);
3098
- }
3099
- var rcache = {};
3100
- function reverseMapClassNameToValue(key, className) {
3101
- let cssRule = (0, import_insertStyleRule.getAllSelectors)()[className];
3102
- if (rcache[cssRule])
3103
- return rcache[cssRule];
3104
- if (!cssRule)
3105
- return;
3106
- let cssVal = cssRule.replace(/.*:/, "").replace(/;.*/, "").trim(), res;
3107
- 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;
3108
- }
3109
- }
3110
- });
3111
-
3112
3076
  // ../web/dist/cjs/helpers/normalizeShadow.native.js
3113
3077
  var require_normalizeShadow_native = __commonJS({
3114
3078
  "../web/dist/cjs/helpers/normalizeShadow.native.js"(exports2, module2) {
@@ -3121,30 +3085,28 @@ var require_normalizeShadow_native = __commonJS({
3121
3085
  for (let key of __getOwnPropNames2(from))
3122
3086
  !__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable });
3123
3087
  return to;
3124
- }, __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: !0 }), mod), normalizeShadow_native_exports = {};
3125
- __export2(normalizeShadow_native_exports, {
3088
+ }, __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: !0 }), mod), normalizeShadow_exports = {};
3089
+ __export2(normalizeShadow_exports, {
3126
3090
  normalizeShadow: () => normalizeShadow
3127
3091
  });
3128
- module2.exports = __toCommonJS2(normalizeShadow_native_exports);
3129
- var import_normalize_css_color = require_index_native11(), import_defaultOffset = require_defaultOffset_native(), import_normalizeColor = require_normalizeColor_native(), import_normalizeValueWithProperty = require_normalizeValueWithProperty_native();
3092
+ module2.exports = __toCommonJS2(normalizeShadow_exports);
3093
+ var import_defaultOffset = require_defaultOffset_native(), import_normalizeColor = require_normalizeColor_native();
3130
3094
  function normalizeShadow({
3131
3095
  shadowColor,
3132
3096
  shadowOffset,
3133
3097
  shadowOpacity,
3134
3098
  shadowRadius
3135
3099
  }) {
3136
- let { height, width } = shadowOffset || import_defaultOffset.defaultOffset, colorStr = String(shadowColor || "black"), val = (0, import_normalize_css_color.normalizeCSSColor)(colorStr);
3137
- if (typeof val != "number")
3138
- throw new Error(`invalid shadow color ${colorStr}`);
3139
- let { r, g, b, a } = (0, import_normalizeColor.rgba)(val);
3100
+ var _a;
3101
+ let { height, width } = shadowOffset || import_defaultOffset.defaultOffset;
3140
3102
  return {
3141
3103
  shadowOffset: {
3142
- width: (0, import_normalizeValueWithProperty.normalizeValueWithProperty)(width || 0),
3143
- height: (0, import_normalizeValueWithProperty.normalizeValueWithProperty)(height || 0)
3104
+ width: width || 0,
3105
+ height: height || 0
3144
3106
  },
3145
- shadowRadius: (0, import_normalizeValueWithProperty.normalizeValueWithProperty)(shadowRadius || 0),
3146
- shadowColor: `rgb(${r},${g},${b})`,
3147
- shadowOpacity: shadowOpacity ?? a
3107
+ shadowRadius: shadowRadius || 0,
3108
+ shadowColor: (0, import_normalizeColor.normalizeColor)(shadowColor, 1),
3109
+ shadowOpacity: shadowOpacity ?? (shadowColor ? (_a = (0, import_normalizeColor.getRgba)(shadowColor)) == null ? void 0 : _a.a : 1)
3148
3110
  };
3149
3111
  }
3150
3112
  }
@@ -3232,6 +3194,48 @@ var require_log_native = __commonJS({
3232
3194
  }
3233
3195
  });
3234
3196
 
3197
+ // ../web/dist/cjs/helpers/normalizeValueWithProperty.native.js
3198
+ var require_normalizeValueWithProperty_native = __commonJS({
3199
+ "../web/dist/cjs/helpers/normalizeValueWithProperty.native.js"(exports2, module2) {
3200
+ "use strict";
3201
+ var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
3202
+ for (var name in all)
3203
+ __defProp2(target, name, { get: all[name], enumerable: !0 });
3204
+ }, __copyProps2 = (to, from, except, desc) => {
3205
+ if (from && typeof from == "object" || typeof from == "function")
3206
+ for (let key of __getOwnPropNames2(from))
3207
+ !__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable });
3208
+ return to;
3209
+ }, __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: !0 }), mod), normalizeValueWithProperty_exports = {};
3210
+ __export2(normalizeValueWithProperty_exports, {
3211
+ normalizeValueWithProperty: () => normalizeValueWithProperty,
3212
+ reverseMapClassNameToValue: () => reverseMapClassNameToValue
3213
+ });
3214
+ module2.exports = __toCommonJS2(normalizeValueWithProperty_exports);
3215
+ var import_constants4 = require_index_native(), import_helpers = require_index_native7(), import_insertStyleRule = require_insertStyleRule_native(), stylePropsAllPlusTransforms = {
3216
+ ...import_helpers.stylePropsAll,
3217
+ translateX: !0,
3218
+ translateY: !0
3219
+ };
3220
+ function normalizeValueWithProperty(value, property = "") {
3221
+ if (!import_constants4.isWeb || import_helpers.stylePropsUnitless[property] || property && !stylePropsAllPlusTransforms[property] || typeof value == "boolean")
3222
+ return value;
3223
+ let res = value;
3224
+ return value && typeof value == "object" ? value : (typeof value == "number" ? res = `${value}px` : property && (res = `${res}`), res);
3225
+ }
3226
+ var rcache = {};
3227
+ function reverseMapClassNameToValue(key, className) {
3228
+ let cssRule = (0, import_insertStyleRule.getAllSelectors)()[className];
3229
+ if (rcache[cssRule])
3230
+ return rcache[cssRule];
3231
+ if (!cssRule)
3232
+ return;
3233
+ let cssVal = cssRule.replace(/.*:/, "").replace(/;.*/, "").trim(), res;
3234
+ 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;
3235
+ }
3236
+ }
3237
+ });
3238
+
3235
3239
  // ../web/dist/cjs/helpers/expandStyle.native.js
3236
3240
  var require_expandStyle_native = __commonJS({
3237
3241
  "../web/dist/cjs/helpers/expandStyle.native.js"(exports2, module2) {
@@ -3291,9 +3295,30 @@ var require_expandStyle_native = __commonJS({
3291
3295
  }
3292
3296
  });
3293
3297
 
3294
- // ../web/dist/cjs/helpers/expandStylesAndRemoveNullishValues.native.js
3295
- var require_expandStylesAndRemoveNullishValues_native = __commonJS({
3296
- "../web/dist/cjs/helpers/expandStylesAndRemoveNullishValues.native.js"(exports2, module2) {
3298
+ // ../web/dist/cjs/helpers/isObj.native.js
3299
+ var require_isObj_native = __commonJS({
3300
+ "../web/dist/cjs/helpers/isObj.native.js"(exports2, module2) {
3301
+ "use strict";
3302
+ var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
3303
+ for (var name in all)
3304
+ __defProp2(target, name, { get: all[name], enumerable: !0 });
3305
+ }, __copyProps2 = (to, from, except, desc) => {
3306
+ if (from && typeof from == "object" || typeof from == "function")
3307
+ for (let key of __getOwnPropNames2(from))
3308
+ !__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable });
3309
+ return to;
3310
+ }, __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: !0 }), mod), isObj_exports = {};
3311
+ __export2(isObj_exports, {
3312
+ isObj: () => isObj
3313
+ });
3314
+ module2.exports = __toCommonJS2(isObj_exports);
3315
+ var isObj = (x) => x && !Array.isArray(x) && typeof x == "object";
3316
+ }
3317
+ });
3318
+
3319
+ // ../web/dist/cjs/helpers/normalizeStyle.native.js
3320
+ var require_normalizeStyle_native = __commonJS({
3321
+ "../web/dist/cjs/helpers/normalizeStyle.native.js"(exports2, module2) {
3297
3322
  "use strict";
3298
3323
  var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
3299
3324
  for (var name in all)
@@ -3303,20 +3328,21 @@ var require_expandStylesAndRemoveNullishValues_native = __commonJS({
3303
3328
  for (let key of __getOwnPropNames2(from))
3304
3329
  !__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable });
3305
3330
  return to;
3306
- }, __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: !0 }), mod), expandStylesAndRemoveNullishValues_exports = {};
3307
- __export2(expandStylesAndRemoveNullishValues_exports, {
3308
- expandStylesAndRemoveNullishValues: () => expandStylesAndRemoveNullishValues
3331
+ }, __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: !0 }), mod), normalizeStyle_exports = {};
3332
+ __export2(normalizeStyle_exports, {
3333
+ normalizeStyle: () => normalizeStyle
3309
3334
  });
3310
- module2.exports = __toCommonJS2(expandStylesAndRemoveNullishValues_exports);
3311
- var import_expandStyle = require_expandStyle_native(), import_expandStyles = require_expandStyles_native(), import_normalizeValueWithProperty = require_normalizeValueWithProperty_native(), import_pseudoDescriptors = require_pseudoDescriptors_native();
3312
- function expandStylesAndRemoveNullishValues(style, disableNormalize = !1) {
3335
+ module2.exports = __toCommonJS2(normalizeStyle_exports);
3336
+ 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();
3337
+ function normalizeStyle(style, disableNormalize = !1) {
3313
3338
  let res = {};
3314
3339
  for (let key in style) {
3315
3340
  let prop = style[key];
3316
3341
  if (prop == null)
3317
3342
  continue;
3318
- if (key in import_pseudoDescriptors.pseudoDescriptors) {
3319
- res[key] = expandStylesAndRemoveNullishValues(prop, disableNormalize);
3343
+ if (key in import_pseudoDescriptors.pseudoDescriptors || // this should capture all parent-based styles like media, group, etc
3344
+ key[0] === "$" && (0, import_isObj.isObj)(prop)) {
3345
+ res[key] = normalizeStyle(prop, disableNormalize);
3320
3346
  continue;
3321
3347
  }
3322
3348
  let value = disableNormalize ? prop : (0, import_normalizeValueWithProperty.normalizeValueWithProperty)(prop, key), out = (0, import_expandStyle.expandStyle)(key, value);
@@ -3392,27 +3418,6 @@ var require_getVariantExtras_native = __commonJS({
3392
3418
  }
3393
3419
  });
3394
3420
 
3395
- // ../web/dist/cjs/helpers/isObj.native.js
3396
- var require_isObj_native = __commonJS({
3397
- "../web/dist/cjs/helpers/isObj.native.js"(exports2, module2) {
3398
- "use strict";
3399
- var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
3400
- for (var name in all)
3401
- __defProp2(target, name, { get: all[name], enumerable: !0 });
3402
- }, __copyProps2 = (to, from, except, desc) => {
3403
- if (from && typeof from == "object" || typeof from == "function")
3404
- for (let key of __getOwnPropNames2(from))
3405
- !__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable });
3406
- return to;
3407
- }, __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: !0 }), mod), isObj_exports = {};
3408
- __export2(isObj_exports, {
3409
- isObj: () => isObj
3410
- });
3411
- module2.exports = __toCommonJS2(isObj_exports);
3412
- var isObj = (x) => x && !Array.isArray(x) && typeof x == "object";
3413
- }
3414
- });
3415
-
3416
3421
  // ../web/dist/cjs/helpers/propMapper.native.js
3417
3422
  var require_propMapper_native = __commonJS({
3418
3423
  "../web/dist/cjs/helpers/propMapper.native.js"(exports2, module2) {
@@ -3433,7 +3438,7 @@ var require_propMapper_native = __commonJS({
3433
3438
  propMapper: () => propMapper
3434
3439
  });
3435
3440
  module2.exports = __toCommonJS2(propMapper_exports);
3436
- var import_constants4 = require_index_native(), import_helpers = require_index_native7(), 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) => {
3441
+ var import_constants4 = require_index_native(), import_helpers = require_index_native7(), 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) => {
3437
3442
  var _a;
3438
3443
  if (lastFontFamilyToken = null, !import_constants4.isAndroid && key === "elevationAndroid")
3439
3444
  return;
@@ -3492,10 +3497,7 @@ var require_propMapper_native = __commonJS({
3492
3497
  );
3493
3498
  }
3494
3499
  if (variantValue) {
3495
- let expanded = (0, import_expandStylesAndRemoveNullishValues.expandStylesAndRemoveNullishValues)(
3496
- variantValue,
3497
- !!styleProps.noNormalize
3498
- ), next = Object.entries(expanded);
3500
+ let expanded = (0, import_normalizeStyle.normalizeStyle)(variantValue, !!styleProps.noNormalize), next = Object.entries(expanded);
3499
3501
  return fontFamilyResult && fontFamilyResult[0] === "$" && fontFamilyCache.set(next, (0, import_createVariable.getVariableValue)(fontFamilyResult)), next;
3500
3502
  }
3501
3503
  };
@@ -6153,7 +6155,7 @@ var require_index_native12 = __commonJS({
6153
6155
  __reExport2(src_exports2, require_createStyledContext_native(), module2.exports);
6154
6156
  __reExport2(src_exports2, require_expandStyles_native(), module2.exports);
6155
6157
  __reExport2(src_exports2, require_createMediaStyle_native(), module2.exports);
6156
- __reExport2(src_exports2, require_expandStylesAndRemoveNullishValues_native(), module2.exports);
6158
+ __reExport2(src_exports2, require_normalizeStyle_native(), module2.exports);
6157
6159
  __reExport2(src_exports2, require_propMapper_native(), module2.exports);
6158
6160
  __reExport2(src_exports2, require_getExpandedShorthands_native(), module2.exports);
6159
6161
  __reExport2(src_exports2, require_getSplitStyles_native(), module2.exports);
@@ -10197,15 +10199,12 @@ var require_createSheet_native = __commonJS({
10197
10199
  }
10198
10200
  )
10199
10201
  ), Sheet = (0, import_react2.forwardRef)(function(props, ref) {
10200
- let hydrated = (0, import_use_did_finish_ssr.useDidFinishSSR)(), { isShowingNonSheet } = (0, import_useSheetController.useSheetController)(), SheetImplementation = import_SheetImplementationCustom.SheetImplementationCustom, modal = props.modal;
10202
+ let hydrated = (0, import_use_did_finish_ssr.useDidFinishSSR)(), { isShowingNonSheet } = (0, import_useSheetController.useSheetController)(), SheetImplementation = import_SheetImplementationCustom.SheetImplementationCustom;
10201
10203
  if (props.native && import_react_native4.Platform.OS === "ios") {
10202
- modal = !1;
10203
- {
10204
- let impl = (0, import_nativeSheet.getNativeSheet)("ios");
10205
- impl && (SheetImplementation = impl);
10206
- }
10204
+ let impl = (0, import_nativeSheet.getNativeSheet)("ios");
10205
+ impl && (SheetImplementation = impl);
10207
10206
  }
10208
- return isShowingNonSheet || !hydrated ? null : /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(SheetImplementation, { ref, ...props, modal });
10207
+ return isShowingNonSheet || !hydrated ? null : /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(SheetImplementation, { ref, ...props });
10209
10208
  }), components = {
10210
10209
  Frame: SheetFrame,
10211
10210
  Overlay: SheetOverlay,