@tamagui/core 1.75.6 → 1.75.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.
package/dist/cjs/index.js CHANGED
@@ -15,13 +15,14 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0
15
15
  var src_exports = {};
16
16
  __export(src_exports, {
17
17
  Stack: () => Stack,
18
- Text: () => Text
18
+ Text: () => Text,
19
+ View: () => View
19
20
  });
20
21
  module.exports = __toCommonJS(src_exports);
21
22
  var import_react_native_use_responder_events = require("@tamagui/react-native-use-responder-events"), import_web = require("@tamagui/web"), import_react = require("react"), import_createOptimizedView = require("./createOptimizedView"), import_getBaseViews = require("./getBaseViews"), import_useElementLayout = require("./hooks/useElementLayout"), import_usePlatformMethods = require("./hooks/usePlatformMethods"), import_Pressability = require("./vendor/Pressability");
22
23
  __reExport(src_exports, require("@tamagui/web"), module.exports);
23
24
  __reExport(src_exports, require("./reactNativeTypes"), module.exports);
24
- const Stack = import_web.Stack, Text = import_web.Text, baseViews = (0, import_getBaseViews.getBaseViews)();
25
+ const View = import_web.View, Stack = import_web.Stack, Text = import_web.Text, baseViews = (0, import_getBaseViews.getBaseViews)();
25
26
  (0, import_web.setupHooks)({
26
27
  getBaseViews: import_getBaseViews.getBaseViews,
27
28
  usePropsTransform(elementType, propsIn, hostRef) {
@@ -83,6 +84,7 @@ const Stack = import_web.Stack, Text = import_web.Text, baseViews = (0, import_g
83
84
  0 && (module.exports = {
84
85
  Stack,
85
86
  Text,
87
+ View,
86
88
  ...require("@tamagui/web"),
87
89
  ...require("./reactNativeTypes")
88
90
  });
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/index.tsx"],
4
- "mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,+CAAmC,uDAUnC,aAKO,yBACP,eAAyC,kBAEzC,6BAAoC,kCACpC,sBAA6B,2BAC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,WAAW,QAAQ,EAAE,QAAQ,GAAG,iBAAiB,cAAc;AAAA,EA6CzE;AAwBF,CAAC;",
5
+ "names": ["WebView", "WebStack", "WebText"]
6
6
  }
@@ -16,13 +16,14 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0
16
16
  var src_exports = {};
17
17
  __export(src_exports, {
18
18
  Stack: () => Stack,
19
- Text: () => Text
19
+ Text: () => Text,
20
+ View: () => View
20
21
  });
21
22
  module.exports = __toCommonJS(src_exports);
22
23
  var import_react_native_use_responder_events = require("@tamagui/react-native-use-responder-events"), import_web = require("@tamagui/web"), import_react = require("react"), import_createOptimizedView = require("./createOptimizedView"), import_getBaseViews = require("./getBaseViews"), import_useElementLayout = require("./hooks/useElementLayout"), import_usePlatformMethods = require("./hooks/usePlatformMethods"), import_Pressability = require("./vendor/Pressability");
23
24
  __reExport(src_exports, require("@tamagui/web"), module.exports);
24
25
  __reExport(src_exports, require("./reactNativeTypes"), module.exports);
25
- const Stack = import_web.Stack, Text = import_web.Text, baseViews = (0, import_getBaseViews.getBaseViews)();
26
+ const View = import_web.View, Stack = import_web.Stack, Text = import_web.Text, baseViews = (0, import_getBaseViews.getBaseViews)();
26
27
  (0, import_web.setupHooks)({
27
28
  getBaseViews: import_getBaseViews.getBaseViews,
28
29
  usePropsTransform(elementType, propsIn, hostRef) {
@@ -112,6 +113,7 @@ const dontComposePressabilityKeys = {
112
113
  0 && (module.exports = {
113
114
  Stack,
114
115
  Text,
116
+ View,
115
117
  ...require("@tamagui/web"),
116
118
  ...require("./reactNativeTypes")
117
119
  });
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/index.tsx"],
4
- "mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,+CAAmC,uDAUnC,aAKO,yBACP,eAAyC,kBAEzC,6BAAoC,kCACpC,sBAA6B,2BAC7B,0BAAiC,qCACjC,4BAAmC,uCAEnC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AAO,OAAO,WAAW,WAAW;AAAA,MACtC;AAAA,WACK;AAGL,MAAI,UAAU,UAAU,YACtB,OAAO,UAAU,UAAU;AAG7B,YAAM,mBAAe,qCAAgB,UAAU,IAAI;AAEnD,UAAI,UACE,OAAO;AACT,mBAAW,OAAO,cAAc;AAC9B,gBAAM,KAAK,UAAU,GAAG,GAClB,MAAM,aAAa,GAAG;AAC5B,oBAAU,GAAG,IACX,MAAM,CAAC,4BAA4B,GAAG,QAClC,iCAAqB,IAAI,GAAG,IAC5B;AAAA,QACR;AAAA,IAGN;AAAA,EAEJ;AAAA,EAIE,YAAY,aAAa,UAAU,WAAW,QAAQ,cAAc;AAClE,QAAI,QAAQ,IAAI,aAAa,QAK7B;AAAA,UAAI,gBAAgB,UAAU;AAE5B,mBAAO,gDAAoB,UAAU,WAAW,SAAS;AAG3D,UAAI,QAAQ,IAAI,iCACV,gBAAgB,UAAU;AAE5B,yBAAU,WAAW,cACd,4BAAc,WAAW,SAAS;AAAA;AAAA,EAG/C;AAEJ,CAAC;AAED,MAAM,8BAA8B;AAAA,EAClC,SAAS;AACX;",
5
+ "names": ["WebView", "WebStack", "WebText"]
6
6
  }
package/dist/esm/index.js CHANGED
@@ -2,6 +2,7 @@ import { useResponderEvents } from "@tamagui/react-native-use-responder-events";
2
2
  import {
3
3
  Stack as WebStack,
4
4
  Text as WebText,
5
+ View as WebView,
5
6
  setupHooks
6
7
  } from "@tamagui/web";
7
8
  import "react";
@@ -12,7 +13,7 @@ import { usePlatformMethods } from "./hooks/usePlatformMethods";
12
13
  import "./vendor/Pressability";
13
14
  export * from "@tamagui/web";
14
15
  export * from "./reactNativeTypes";
15
- const Stack = WebStack, Text = WebText, baseViews = getBaseViews();
16
+ const View = WebView, Stack = WebStack, Text = WebText, baseViews = getBaseViews();
16
17
  setupHooks({
17
18
  getBaseViews,
18
19
  usePropsTransform(elementType, propsIn, hostRef) {
@@ -72,6 +73,7 @@ setupHooks({
72
73
  });
73
74
  export {
74
75
  Stack,
75
- Text
76
+ Text,
77
+ View
76
78
  };
77
79
  //# sourceMappingURL=index.js.map
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/index.tsx"],
4
- "mappings": "AAAA,SAAS,0BAA0B;AAUnC;AAAA,EACE,SAAS;AAAA,EACT,QAAQ;AAAA,EAER;AAAA,OACK;AACP,OAAyC;AAEzC,OAAoC;AACpC,SAAS,oBAAoB;AAC7B,SAAS,wBAAwB;AACjC,SAAS,0BAA0B;AAEnC,OAAgC;AAGhC,cAAc;AAGd,cAAc;AAMP,MAAM,QAAQ,UASR,OAAO,SAOd,YAAY,aAAa;AAI/B,WAAW;AAAA,EACT;AAAA,EAEA,kBAAkB,aAAa,SAAS,SAAS;AAE/C,UAAM;AAAA;AAAA,MAEJ;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA;AAAA,MAGA;AAAA,MACA;AAAA;AAAA,MAGA;AAAA,MACA;AAAA,MAEA;AAAA,MACA;AAAA,MAEA,GAAG;AAAA,IACL,IAAI;AAyBJ,QAvBA,mBAAmB,OAA6B,GAChD,iBAAiB,SAA+B,QAAe,GAC/D,mBAAmB,SAAS;AAAA,MAC1B;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,IACF,CAAQ,GAIJ,UAAU,SAAS,UAAa,cAAc,QAAW;AAC3D,YAAM,EAAE,UAAU,KAAK,OAAO,IAAI;AAClC,MAAI,YAAY,SACd,UAAU,WAAW,WAEnB,OAAO,SACT,UAAU,MAAM,MAEd,OAAO,UAAW,aACpB,UAAU,SAAS,O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UAAU,WAAW,WAEnB,OAAO,SACT,UAAU,MAAM,MAEd,OAAO,UAAW,aACpB,UAAU,SAAS,OAAO,OAAO,CAAC,MAAM,MAAM,IAAI,MAAM,KAAK;AAAA,IAEjE;AAEA,WAAO;AAAA,EACT;AAAA,EAEA,UAAU,WAAW,QAAQ,EAAE,QAAQ,GAAG,iBAAiB,cAAc;AAAA,EA6CzE;AAwBF,CAAC;",
5
5
  "names": []
6
6
  }
@@ -2,6 +2,7 @@ import { useResponderEvents } from "@tamagui/react-native-use-responder-events";
2
2
  import {
3
3
  Stack as WebStack,
4
4
  Text as WebText,
5
+ View as WebView,
5
6
  composeEventHandlers,
6
7
  setupHooks
7
8
  } from "@tamagui/web";
@@ -13,7 +14,7 @@ import { usePlatformMethods } from "./hooks/usePlatformMethods";
13
14
  import { usePressability } from "./vendor/Pressability";
14
15
  export * from "@tamagui/web";
15
16
  export * from "./reactNativeTypes";
16
- const Stack = WebStack, Text = WebText, baseViews = getBaseViews();
17
+ const View = WebView, Stack = WebStack, Text = WebText, baseViews = getBaseViews();
17
18
  setupHooks({
18
19
  getBaseViews,
19
20
  usePropsTransform(elementType, propsIn, hostRef) {
@@ -101,6 +102,7 @@ const dontComposePressabilityKeys = {
101
102
  };
102
103
  export {
103
104
  Stack,
104
- Text
105
+ Text,
106
+ View
105
107
  };
106
108
  //# sourceMappingURL=index.js.map
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/index.tsx"],
4
- "mappings": "AAAA,SAAS,0BAA0B;AAUnC;AAAA,EACE,SAAS;AAAA,EACT,QAAQ;AAAA,EACR;AAAA,EACA;AAAA,OACK;AACP,SAAoB,qBAAqB;AAEzC,SAAS,2BAA2B;AACpC,SAAS,oBAAoB;AAC7B,SAAS,wBAAwB;AACjC,SAAS,0BAA0B;AAEnC,SAAS,uBAAuB;AAGhC,cAAc;AAGd,cAAc;AAMP,MAAM,QAAQ,UASR,OAAO,SAOd,YAAY,aAAa;AAI/B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AO,cAAc;AAC9B,gBAAM,KAAK,UAAU,GAAG,GAClB,MAAM,aAAa,GAAG;AAC5B,oBAAU,GAAG,IACX,MAAM,CAAC,4BAA4B,GAAG,IAClC,qBAAqB,IAAI,GAAG,IAC5B;AAAA,QACR;AAAA,IAGN;AAAA,EAEJ;AAAA,EAIE,YAAY,aAAa,UAAU,WAAW,QAAQ,cAAc;AAClE,QAAI,QAAQ,IAAI,aAAa,QAK7B;AAAA,UAAI,gBAAgB,UAAU;AAE5B,eAAO,oBAAoB,UAAU,WAAW,SAAS;AAG3D,UAAI,QAAQ,IAAI,iCACV,gBAAgB,UAAU;AAE5B,yBAAU,WAAW,UACd,cAAc,WAAW,SAAS;AAAA;AAAA,EAG/C;AAEJ,CAAC;AAED,MAAM,8BAA8B;AAAA,EAClC,SAAS;AACX;",
5
5
  "names": []
6
6
  }
package/dist/native.js CHANGED
@@ -2360,14 +2360,14 @@ var require_createMediaStyle_native = __commonJS({
2360
2360
  mediaKeys.map((k, index) => [k, new Array(index + 1).fill(":root").join("")])
2361
2361
  ));
2362
2362
  }
2363
- let mediaKey = groupMediaKey || mediaKeyIn, mediaSelector = selectors[mediaKey], mediaQuery = `${negate ? "not all and" : ""} ${mediaSelector}`, precedenceImportancePrefix = groupMediaKey ? "" : enableMediaPropOrder ? (
2363
+ let mediaKey = groupMediaKey || mediaKeyIn, mediaSelector = selectors[mediaKey], mediaQuery = `${negate ? "not all and " : ""}${mediaSelector}`, precedenceImportancePrefix = groupMediaKey ? "" : enableMediaPropOrder ? (
2364
2364
  // this new array should be cached
2365
2365
  new Array(priority).fill(":root").join("")
2366
2366
  ) : (
2367
2367
  // @ts-ignore
2368
2368
  prefixes[mediaKey]
2369
2369
  ), prefix = groupMediaKey ? `@container ${containerName}` : "@media";
2370
- groupMediaKey && (styleInner = styleRule), styleInner.includes(prefix) ? styleRule = styleInner.replace("{", ` and ${mediaQuery} {`) : styleRule = `${prefix} ${mediaQuery}{${precedenceImportancePrefix}${styleInner}}`;
2370
+ groupMediaKey && (styleInner = styleRule), styleInner.includes(prefix) ? styleRule = styleInner.replace("{", ` and ${mediaQuery} {`) : styleRule = `${prefix} ${mediaQuery}{${precedenceImportancePrefix}${styleInner}}`, groupMediaKey && (styleRule = `@supports (contain: inline-size) {${styleRule}}`);
2371
2371
  }
2372
2372
  return {
2373
2373
  property,
@@ -2378,65 +2378,6 @@ var require_createMediaStyle_native = __commonJS({
2378
2378
  }
2379
2379
  });
2380
2380
 
2381
- // ../web/dist/cjs/helpers/expandStyle.native.js
2382
- var require_expandStyle_native = __commonJS({
2383
- "../web/dist/cjs/helpers/expandStyle.native.js"(exports, module2) {
2384
- "use strict";
2385
- var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all2) => {
2386
- for (var name in all2)
2387
- __defProp2(target, name, { get: all2[name], enumerable: !0 });
2388
- }, __copyProps2 = (to, from, except, desc) => {
2389
- if (from && typeof from == "object" || typeof from == "function")
2390
- for (let key of __getOwnPropNames2(from))
2391
- !__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable });
2392
- return to;
2393
- }, __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: !0 }), mod), expandStyle_exports = {};
2394
- __export2(expandStyle_exports, {
2395
- expandStyle: () => expandStyle
2396
- });
2397
- module2.exports = __toCommonJS2(expandStyle_exports);
2398
- var import_constants2 = require_index_native2();
2399
- function expandStyle(key, value) {
2400
- if (!1)
2401
- switch (key) {
2402
- case "textAlignVertical":
2403
- case "writingDirection":
2404
- }
2405
- if (import_constants2.isAndroid && key === "elevationAndroid")
2406
- return [["elevation", value]];
2407
- if (key in EXPANSIONS)
2408
- return EXPANSIONS[key].map((key2) => [key2, value]);
2409
- }
2410
- var all = ["Top", "Right", "Bottom", "Left"], horiz = ["Right", "Left"], vert = ["Top", "Bottom"], xy = ["X", "Y"], EXPANSIONS = {
2411
- borderColor: ["TopColor", "RightColor", "BottomColor", "LeftColor"],
2412
- borderRadius: [
2413
- "TopLeftRadius",
2414
- "TopRightRadius",
2415
- "BottomRightRadius",
2416
- "BottomLeftRadius"
2417
- ],
2418
- borderWidth: ["TopWidth", "RightWidth", "BottomWidth", "LeftWidth"],
2419
- margin: all,
2420
- marginHorizontal: horiz,
2421
- marginVertical: vert,
2422
- overscrollBehavior: xy,
2423
- padding: all,
2424
- paddingHorizontal: horiz,
2425
- paddingVertical: vert,
2426
- ...import_constants2.isWeb && {
2427
- // react-native only supports borderStyle
2428
- borderStyle: ["TopStyle", "RightStyle", "BottomStyle", "LeftStyle"],
2429
- // react-native doesn't support X / Y
2430
- overflow: xy
2431
- }
2432
- }, _a;
2433
- for (let parent in EXPANSIONS) {
2434
- let prefix = parent.slice(0, ((_a = /[A-Z]/.exec(parent)) == null ? void 0 : _a.index) ?? parent.length);
2435
- EXPANSIONS[parent] = EXPANSIONS[parent].map((k) => `${prefix}${k}`);
2436
- }
2437
- }
2438
- });
2439
-
2440
2381
  // ../../node_modules/@react-native/normalize-color/index.js
2441
2382
  var require_normalize_color = __commonJS({
2442
2383
  "../../node_modules/@react-native/normalize-color/index.js"(exports, module2) {
@@ -3078,26 +3019,10 @@ var require_expandStyles_native = __commonJS({
3078
3019
  return to;
3079
3020
  }, __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: !0 }), mod), expandStyles_exports = {};
3080
3021
  __export2(expandStyles_exports, {
3081
- expandStylesAndRemoveNullishValues: () => expandStylesAndRemoveNullishValues,
3082
3022
  fixStyles: () => fixStyles
3083
3023
  });
3084
3024
  module2.exports = __toCommonJS2(expandStyles_exports);
3085
- var import_constants2 = require_index_native2(), import_expandStyle = require_expandStyle_native(), import_normalizeShadow = require_normalizeShadow_native(), import_normalizeValueWithProperty = require_normalizeValueWithProperty_native(), import_pseudoDescriptors = require_pseudoDescriptors_native();
3086
- function expandStylesAndRemoveNullishValues(style) {
3087
- let res = {};
3088
- for (let key in style) {
3089
- let valIn = style[key];
3090
- if (valIn == null)
3091
- continue;
3092
- if (key in import_pseudoDescriptors.pseudoDescriptors) {
3093
- res[key] = expandStylesAndRemoveNullishValues(valIn);
3094
- continue;
3095
- }
3096
- let val = (0, import_normalizeValueWithProperty.normalizeValueWithProperty)(valIn, key), out = (0, import_expandStyle.expandStyle)(key, val);
3097
- out ? Object.assign(res, Object.fromEntries(out)) : res[key] = val;
3098
- }
3099
- return fixStyles(res), res;
3100
- }
3025
+ var import_constants2 = require_index_native2(), import_normalizeShadow = require_normalizeShadow_native();
3101
3026
  function fixStyles(style) {
3102
3027
  "elevationAndroid" in style && (style.elevation = style.elevationAndroid, delete style.elevationAndroid), (style.shadowRadius || style.shadowColor || style.shadowOpacity || style.shadowOffset) && Object.assign(style, (0, import_normalizeShadow.normalizeShadow)(style));
3103
3028
  for (let key in borderDefaults)
@@ -3139,6 +3064,101 @@ var require_getStylesAtomic_native = __commonJS({
3139
3064
  }
3140
3065
  });
3141
3066
 
3067
+ // ../web/dist/cjs/helpers/expandStyle.native.js
3068
+ var require_expandStyle_native = __commonJS({
3069
+ "../web/dist/cjs/helpers/expandStyle.native.js"(exports, module2) {
3070
+ "use strict";
3071
+ var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all2) => {
3072
+ for (var name in all2)
3073
+ __defProp2(target, name, { get: all2[name], enumerable: !0 });
3074
+ }, __copyProps2 = (to, from, except, desc) => {
3075
+ if (from && typeof from == "object" || typeof from == "function")
3076
+ for (let key of __getOwnPropNames2(from))
3077
+ !__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable });
3078
+ return to;
3079
+ }, __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: !0 }), mod), expandStyle_exports = {};
3080
+ __export2(expandStyle_exports, {
3081
+ expandStyle: () => expandStyle
3082
+ });
3083
+ module2.exports = __toCommonJS2(expandStyle_exports);
3084
+ var import_constants2 = require_index_native2();
3085
+ function expandStyle(key, value) {
3086
+ if (!1)
3087
+ switch (key) {
3088
+ case "textAlignVertical":
3089
+ case "writingDirection":
3090
+ }
3091
+ if (import_constants2.isAndroid && key === "elevationAndroid")
3092
+ return [["elevation", value]];
3093
+ if (key in EXPANSIONS)
3094
+ return EXPANSIONS[key].map((key2) => [key2, value]);
3095
+ }
3096
+ var all = ["Top", "Right", "Bottom", "Left"], horiz = ["Right", "Left"], vert = ["Top", "Bottom"], xy = ["X", "Y"], EXPANSIONS = {
3097
+ borderColor: ["TopColor", "RightColor", "BottomColor", "LeftColor"],
3098
+ borderRadius: [
3099
+ "TopLeftRadius",
3100
+ "TopRightRadius",
3101
+ "BottomRightRadius",
3102
+ "BottomLeftRadius"
3103
+ ],
3104
+ borderWidth: ["TopWidth", "RightWidth", "BottomWidth", "LeftWidth"],
3105
+ margin: all,
3106
+ marginHorizontal: horiz,
3107
+ marginVertical: vert,
3108
+ overscrollBehavior: xy,
3109
+ padding: all,
3110
+ paddingHorizontal: horiz,
3111
+ paddingVertical: vert,
3112
+ ...import_constants2.isWeb && {
3113
+ // react-native only supports borderStyle
3114
+ borderStyle: ["TopStyle", "RightStyle", "BottomStyle", "LeftStyle"],
3115
+ // react-native doesn't support X / Y
3116
+ overflow: xy
3117
+ }
3118
+ }, _a;
3119
+ for (let parent in EXPANSIONS) {
3120
+ let prefix = parent.slice(0, ((_a = /[A-Z]/.exec(parent)) == null ? void 0 : _a.index) ?? parent.length);
3121
+ EXPANSIONS[parent] = EXPANSIONS[parent].map((k) => `${prefix}${k}`);
3122
+ }
3123
+ }
3124
+ });
3125
+
3126
+ // ../web/dist/cjs/helpers/expandStylesAndRemoveNullishValues.native.js
3127
+ var require_expandStylesAndRemoveNullishValues_native = __commonJS({
3128
+ "../web/dist/cjs/helpers/expandStylesAndRemoveNullishValues.native.js"(exports, module2) {
3129
+ "use strict";
3130
+ var __defProp2 = Object.defineProperty, __getOwnPropDesc2 = Object.getOwnPropertyDescriptor, __getOwnPropNames2 = Object.getOwnPropertyNames, __hasOwnProp2 = Object.prototype.hasOwnProperty, __export2 = (target, all) => {
3131
+ for (var name in all)
3132
+ __defProp2(target, name, { get: all[name], enumerable: !0 });
3133
+ }, __copyProps2 = (to, from, except, desc) => {
3134
+ if (from && typeof from == "object" || typeof from == "function")
3135
+ for (let key of __getOwnPropNames2(from))
3136
+ !__hasOwnProp2.call(to, key) && key !== except && __defProp2(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable });
3137
+ return to;
3138
+ }, __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: !0 }), mod), expandStylesAndRemoveNullishValues_exports = {};
3139
+ __export2(expandStylesAndRemoveNullishValues_exports, {
3140
+ expandStylesAndRemoveNullishValues: () => expandStylesAndRemoveNullishValues
3141
+ });
3142
+ module2.exports = __toCommonJS2(expandStylesAndRemoveNullishValues_exports);
3143
+ var import_expandStyle = require_expandStyle_native(), import_expandStyles = require_expandStyles_native(), import_normalizeValueWithProperty = require_normalizeValueWithProperty_native(), import_pseudoDescriptors = require_pseudoDescriptors_native();
3144
+ function expandStylesAndRemoveNullishValues(style, disableNormalize = !1) {
3145
+ let res = {};
3146
+ for (let key in style) {
3147
+ let prop = style[key];
3148
+ if (prop == null)
3149
+ continue;
3150
+ if (key in import_pseudoDescriptors.pseudoDescriptors) {
3151
+ res[key] = expandStylesAndRemoveNullishValues(prop, disableNormalize);
3152
+ continue;
3153
+ }
3154
+ let value = disableNormalize ? prop : (0, import_normalizeValueWithProperty.normalizeValueWithProperty)(prop, key), out = (0, import_expandStyle.expandStyle)(key, value);
3155
+ out ? Object.assign(res, Object.fromEntries(out)) : res[key] = value;
3156
+ }
3157
+ return (0, import_expandStyles.fixStyles)(res), res;
3158
+ }
3159
+ }
3160
+ });
3161
+
3142
3162
  // ../web/dist/cjs/helpers/getVariantExtras.native.js
3143
3163
  var require_getVariantExtras_native = __commonJS({
3144
3164
  "../web/dist/cjs/helpers/getVariantExtras.native.js"(exports, module2) {
@@ -3245,7 +3265,7 @@ var require_propMapper_native = __commonJS({
3245
3265
  propMapper: () => propMapper
3246
3266
  });
3247
3267
  module2.exports = __toCommonJS2(propMapper_exports);
3248
- var import_constants2 = require_index_native2(), 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_expandStyles = require_expandStyles_native(), import_getVariantExtras = require_getVariantExtras_native(), import_isObj = require_isObj_native(), import_pseudoDescriptors = require_pseudoDescriptors_native(), propMapper = (key, value, styleStateIn, subPropsIn) => {
3268
+ var import_constants2 = require_index_native2(), 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) => {
3249
3269
  if (!import_constants2.isAndroid && key === "elevationAndroid")
3250
3270
  return;
3251
3271
  let subProps = styleStateIn.styleProps.fallbackProps || subPropsIn, styleState = subProps ? new Proxy(styleStateIn, {
@@ -3302,7 +3322,10 @@ var require_propMapper_native = __commonJS({
3302
3322
  );
3303
3323
  }
3304
3324
  if (variantValue) {
3305
- let expanded = (0, import_expandStyles.expandStylesAndRemoveNullishValues)(variantValue), next = Object.entries(expanded);
3325
+ let expanded = (0, import_expandStylesAndRemoveNullishValues.expandStylesAndRemoveNullishValues)(
3326
+ variantValue,
3327
+ !!styleProps.noNormalize
3328
+ ), next = Object.entries(expanded);
3306
3329
  return fontFamilyResult && fontFamilyResult[0] === "$" && fontFamilyCache.set(next, (0, import_createVariable.getVariableValue)(fontFamilyResult)), next;
3307
3330
  }
3308
3331
  };
@@ -3467,7 +3490,7 @@ var require_getSplitStyles_native = __commonJS({
3467
3490
  module2.exports = __toCommonJS2(getSplitStyles_exports);
3468
3491
  var import_constants2 = require_index_native2(), import_helpers = require_index_native4(), import_react3 = require("react"), import_config = require_config_native(), import_accessibilityDirectMap = require_accessibilityDirectMap_native(), import_isDevTools = require_isDevTools_native(), import_useMedia = require_useMedia_native(), import_createMediaStyle = require_createMediaStyle_native(), import_expandStyles = require_expandStyles_native(), import_getGroupPropParts = require_getGroupPropParts_native(), import_getStylesAtomic = require_getStylesAtomic_native(), import_insertStyleRule = require_insertStyleRule_native(), import_normalizeValueWithProperty = require_normalizeValueWithProperty_native(), import_propMapper = require_propMapper_native(), import_pseudoDescriptors = require_pseudoDescriptors_native(), fontFamilyKey = "fontFamily", IS_STATIC = process.env.IS_STATIC === "is_static", conf, PROP_SPLIT = "-", getSplitStyles = (props, staticConfig, theme, themeName, componentState, styleProps, parentSplitStyles, context, elementType, debug) => {
3469
3492
  var _a, _b, _c, _e, _f, _g;
3470
- conf = conf || (0, import_config.getConfig)();
3493
+ conf = conf || (0, import_config.getConfig)(), import_constants2.isWeb && styleProps.isAnimated && conf.animations.isReactNative && !styleProps.noNormalize && (styleProps.noNormalize = "values");
3471
3494
  let { shorthands } = conf, {
3472
3495
  isHOC,
3473
3496
  isText,
@@ -3538,7 +3561,7 @@ var require_getSplitStyles_native = __commonJS({
3538
3561
  continue;
3539
3562
  }
3540
3563
  if (keyInit[0] === "_" && keyInit.startsWith("_style")) {
3541
- mergeStyleProp(styleState, valInit);
3564
+ mergeStylePropIntoStyle(styleState, valInit);
3542
3565
  continue;
3543
3566
  }
3544
3567
  if (!1 && !(keyInit in accessibilityDirectMap))
@@ -3792,7 +3815,7 @@ current`, {
3792
3815
  }
3793
3816
  }
3794
3817
  }
3795
- if (props.style && mergeStyleProp(styleState, props.style), !styleProps.noNormalize && ((0, import_expandStyles.fixStyles)(style), import_constants2.isWeb && !staticConfig.isReactNative && (0, import_getStylesAtomic.styleToCSS)(style), styleState.transforms && Object.entries(styleState.transforms).sort(([a], [b]) => a.localeCompare(b)).forEach(([key, val]) => {
3818
+ if (props.style && mergeStylePropIntoStyle(styleState, props.style), styleProps.noNormalize !== !1 && ((0, import_expandStyles.fixStyles)(style), import_constants2.isWeb && !staticConfig.isReactNative && (0, import_getStylesAtomic.styleToCSS)(style), styleState.transforms && Object.entries(styleState.transforms).sort(([a], [b]) => a.localeCompare(b)).forEach(([key, val]) => {
3796
3819
  mergeTransform(style, key, val, !0);
3797
3820
  }), parentSplitStyles && !shouldDoClasses))
3798
3821
  for (let key in parentSplitStyles.style)
@@ -3840,14 +3863,14 @@ current`, {
3840
3863
  }
3841
3864
  return result;
3842
3865
  };
3843
- function mergeStyle(styleState, key, val) {
3866
+ function mergeStyle(styleState, key, val, disableNormalize = !1) {
3844
3867
  let { classNames, viewProps, style, usedKeys, styleProps } = styleState;
3845
3868
  if (import_constants2.isWeb && (val == null ? void 0 : val[0]) === "_")
3846
3869
  classNames[key] = val, usedKeys[key] ||= 1;
3847
3870
  else if (key in import_helpers.stylePropsTransform)
3848
3871
  styleState.transforms ||= {}, styleState.transforms[key] = val;
3849
3872
  else {
3850
- let out = import_constants2.isWeb && !styleProps.noNormalize ? (0, import_normalizeValueWithProperty.normalizeValueWithProperty)(val, key) : val;
3873
+ let out = import_constants2.isWeb && !disableNormalize && !styleProps.noNormalize ? (0, import_normalizeValueWithProperty.normalizeValueWithProperty)(val, key) : val;
3851
3874
  key in import_helpers.validStylesOnBaseProps ? viewProps[key] = out : style[key] = out;
3852
3875
  }
3853
3876
  }
@@ -3863,17 +3886,14 @@ current`, {
3863
3886
  }
3864
3887
  return styleProps.noNormalize || (0, import_expandStyles.fixStyles)(styleOut), styleOut;
3865
3888
  };
3866
- function mergeStyleProp(styleState, val) {
3867
- if (!val)
3889
+ function mergeStylePropIntoStyle(styleState, cur) {
3890
+ if (!cur)
3868
3891
  return;
3869
- let styles = [].concat(val).flat();
3870
- for (let cur of styles)
3871
- if (cur)
3872
- if (cur.$$css)
3873
- Object.assign(styleState.classNames, cur);
3874
- else
3875
- for (let key in cur)
3876
- key in styleState.usedKeys || mergeStyle(styleState, key, cur[key]);
3892
+ let styles = Array.isArray(cur) ? cur : [cur];
3893
+ for (let style of styles) {
3894
+ let isRNW = style.$$css;
3895
+ Object.assign(isRNW ? styleState.classNames : styleState.style, style);
3896
+ }
3877
3897
  }
3878
3898
  var useInsertEffectCompat = import_constants2.isWeb ? import_react3.useInsertionEffect || import_constants2.useIsomorphicLayoutEffect : () => {
3879
3899
  }, useSplitStyles = (...args) => {
@@ -5197,11 +5217,8 @@ If you meant to do this, you can disable this warning - either change untilMeasu
5197
5217
  }
5198
5218
  function styleable(Component2, options) {
5199
5219
  var _a2;
5200
- let ComponentForwardedRef = ((_a2 = Component2.render) == null ? void 0 : _a2.length) === 2 ? Component2 : (
5201
- // memo because theme changes otherwise would always re-render
5202
- (0, import_react3.memo)((0, import_react3.forwardRef)(Component2))
5203
- ), extendedConfig = extendStyledConfig(options == null ? void 0 : options.staticConfig), out = options != null && options.disableTheme ? ComponentForwardedRef : (0, import_themeable.themeable)(ComponentForwardedRef, extendedConfig);
5204
- return out.staticConfig = extendedConfig, out.styleable = styleable, out;
5220
+ let out = ((_a2 = Component2.render) == null ? void 0 : _a2.length) === 2 ? Component2 : (0, import_react3.forwardRef)(Component2), extendedConfig = extendStyledConfig(options == null ? void 0 : options.staticConfig);
5221
+ return out = options != null && options.disableTheme ? out : (0, import_themeable.themeable)(out, extendedConfig), process.env.TAMAGUI_MEMOIZE_STYLEABLE && (out = (0, import_react3.memo)(out)), out.staticConfig = extendedConfig, out.styleable = styleable, out;
5205
5222
  }
5206
5223
  return res.extractable = extractable, res.styleable = styleable, res;
5207
5224
  }
@@ -6371,10 +6388,10 @@ var require_View_native = __commonJS({
6371
6388
  return to;
6372
6389
  }, __toCommonJS2 = (mod) => __copyProps2(__defProp2({}, "__esModule", { value: !0 }), mod), View_exports = {};
6373
6390
  __export2(View_exports, {
6374
- View: () => View
6391
+ View: () => View2
6375
6392
  });
6376
6393
  module2.exports = __toCommonJS2(View_exports);
6377
- var import_helpers = require_index_native4(), import_createComponent = require_createComponent_native(), View = (0, import_createComponent.createComponent)({
6394
+ var import_helpers = require_index_native4(), import_createComponent = require_createComponent_native(), View2 = (0, import_createComponent.createComponent)({
6378
6395
  acceptsClassName: !0,
6379
6396
  defaultProps: {
6380
6397
  display: "flex"
@@ -6687,6 +6704,7 @@ var require_index_native9 = __commonJS({
6687
6704
  __reExport2(src_exports2, require_ComponentContext_native(), module2.exports);
6688
6705
  __reExport2(src_exports2, require_createStyledContext_native(), module2.exports);
6689
6706
  __reExport2(src_exports2, require_expandStyles_native(), module2.exports);
6707
+ __reExport2(src_exports2, require_expandStylesAndRemoveNullishValues_native(), module2.exports);
6690
6708
  __reExport2(src_exports2, require_propMapper_native(), module2.exports);
6691
6709
  __reExport2(src_exports2, require_getExpandedShorthands_native(), module2.exports);
6692
6710
  __reExport2(src_exports2, require_getSplitStyles_native(), module2.exports);
@@ -6784,7 +6802,8 @@ var idFn_default, init_idFn = __esm({
6784
6802
  var src_exports = {};
6785
6803
  __export(src_exports, {
6786
6804
  Stack: () => Stack,
6787
- Text: () => Text
6805
+ Text: () => Text,
6806
+ View: () => View
6788
6807
  });
6789
6808
  module.exports = __toCommonJS(src_exports);
6790
6809
  var import_react_native_use_responder_events = __toESM(require_index_native()), import_web2 = __toESM(require_index_native9()), import_react2 = require("react");
@@ -6992,9 +7011,9 @@ function getAccessibilityRoleFromRole(role) {
6992
7011
 
6993
7012
  // src/getBaseViews.native.ts
6994
7013
  function getBaseViews() {
6995
- let native = require("react-native"), View, TextAncestor;
6996
- return process.env.NODE_ENV !== "test" && (View = require("react-native/Libraries/Components/View/ViewNativeComponent").default, TextAncestor = require("react-native/Libraries/Text/TextAncestor")), View || (View = native.View || native.default.View), {
6997
- View,
7014
+ let native = require("react-native"), View2, TextAncestor;
7015
+ return process.env.NODE_ENV !== "test" && (View2 = require("react-native/Libraries/Components/View/ViewNativeComponent").default, TextAncestor = require("react-native/Libraries/Text/TextAncestor")), View2 || (View2 = native.View || native.default.View), {
7016
+ View: View2,
6998
7017
  Text: native.Text || native.default.Text,
6999
7018
  StyleSheet: native.StyleSheet || native.default.StyleSheet,
7000
7019
  TextAncestor,
@@ -7077,7 +7096,7 @@ var Pressability = require_fake_react_native().default, usePressability = (init_
7077
7096
 
7078
7097
  // src/index.tsx
7079
7098
  __reExport(src_exports, __toESM(require_index_native9()), module.exports);
7080
- var Stack = import_web2.Stack, Text = import_web2.Text, baseViews = getBaseViews();
7099
+ var View = import_web2.View, Stack = import_web2.Stack, Text = import_web2.Text, baseViews = getBaseViews();
7081
7100
  (0, import_web2.setupHooks)({
7082
7101
  getBaseViews,
7083
7102
  usePropsTransform(elementType, propsIn, hostRef) {
@@ -7166,6 +7185,7 @@ var dontComposePressabilityKeys = {
7166
7185
  // Annotate the CommonJS export names for ESM import in node:
7167
7186
  0 && (module.exports = {
7168
7187
  Stack,
7169
- Text
7188
+ Text,
7189
+ View
7170
7190
  });
7171
7191
  //# sourceMappingURL=native.js.map