@tamagui/core 1.125.29 → 1.125.31

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.
@@ -23,7 +23,7 @@ function getBaseViews() {
23
23
  if (process.env.NODE_ENV !== "test") {
24
24
  View = require("react-native/Libraries/Components/View/ViewNativeComponent").default;
25
25
  var TextAncestorModule = require("react-native/Libraries/Text/TextAncestor"), _TextAncestorModule_default;
26
- TextAncestor = (_TextAncestorModule_default = TextAncestorModule.default) !== null && _TextAncestorModule_default !== void 0 ? _TextAncestorModule_default : TextAncestor;
26
+ TextAncestor = (_TextAncestorModule_default = TextAncestorModule.default) !== null && _TextAncestorModule_default !== void 0 ? _TextAncestorModule_default : TextAncestorModule;
27
27
  }
28
28
  return View || (View = native.View || native.default.View), {
29
29
  View,
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/Users/n8/tamagui/code/core/core/src/getBaseViews.native.ts"],
4
- "mappings": ";;;;;;;;;;;;;;;AAAA;;;;;AAAO,SAASA,eAAAA;AACd,MAAMC,SAASC,QAAQ,cAAA,GAEnBC,MACAC;AAEJ,MAAIC,QAAQC,IAAIC,aAAa,QAAQ;AACnCJ,WAAOD,QAAQ,4DAAA,EAA8DM;AAC7E,QAAMC,qBAAqBP,QAAQ,0CAAA,GACpBO;AAAfL,oBAAeK,8BAAAA,mBAAmBD,aAAO,QAA1BC,gCAAAA,SAAAA,8BAA8BL;EAC/C;AAEA,SAAKD,SACHA,OAAOF,OAAOE,QAAQF,OAAOO,QAAQL,OAGhC;IACLA;IACAO,MAAMT,OAAOS,QAAQT,OAAOO,QAAQE;IACpCC,YAAYV,OAAOU,cAAcV,OAAOO,QAAQG;IAChDP;IACAQ,WAAWX,OAAOW,aAAaX,OAAOO,QAAQI;EAChD;AACF;",
4
+ "mappings": ";;;;;;;;;;;;;;;AAAA;;;;;AAAO,SAASA,eAAAA;AACd,MAAMC,SAASC,QAAQ,cAAA,GAEnBC,MACAC;AAEJ,MAAIC,QAAQC,IAAIC,aAAa,QAAQ;AACnCJ,WAAOD,QAAQ,4DAAA,EAA8DM;AAC7E,QAAMC,qBAAqBP,QAAQ,0CAAA,GACpBO;AAAfL,oBAAeK,8BAAAA,mBAAmBD,aAAO,QAA1BC,gCAAAA,SAAAA,8BAA8BA;EAC/C;AAEA,SAAKN,SACHA,OAAOF,OAAOE,QAAQF,OAAOO,QAAQL,OAGhC;IACLA;IACAO,MAAMT,OAAOS,QAAQT,OAAOO,QAAQE;IACpCC,YAAYV,OAAOU,cAAcV,OAAOO,QAAQG;IAChDP;IACAQ,WAAWX,OAAOW,aAAaX,OAAOO,QAAQI;EAChD;AACF;",
5
5
  "names": ["getBaseViews", "native", "require", "View", "TextAncestor", "process", "env", "NODE_ENV", "default", "TextAncestorModule", "Text", "StyleSheet", "Pressable"]
6
6
  }
@@ -6,7 +6,7 @@ function getBaseViews() {
6
6
  View = require("react-native/Libraries/Components/View/ViewNativeComponent").default;
7
7
  var TextAncestorModule = require("react-native/Libraries/Text/TextAncestor"),
8
8
  _TextAncestorModule_default;
9
- TextAncestor = (_TextAncestorModule_default = TextAncestorModule.default) !== null && _TextAncestorModule_default !== void 0 ? _TextAncestorModule_default : TextAncestor;
9
+ TextAncestor = (_TextAncestorModule_default = TextAncestorModule.default) !== null && _TextAncestorModule_default !== void 0 ? _TextAncestorModule_default : TextAncestorModule;
10
10
  }
11
11
  return View || (View = native.View || native.default.View), {
12
12
  View,
@@ -1 +1 @@
1
- {"version":3,"names":["getBaseViews","native","require","View","TextAncestor","process","env","NODE_ENV","default","TextAncestorModule","_TextAncestorModule_default","Text","StyleSheet","Pressable"],"sources":["../../src/Users/n8/tamagui/code/core/core/src/getBaseViews.native.ts"],"sourcesContent":[null],"mappings":"AAAO,SAASA,aAAA;EACd,IAAMC,MAAA,GAASC,OAAA,CAAQ;IAEnBC,IAAA;IACAC,YAAA;EAEJ,IAAIC,OAAA,CAAQC,GAAA,CAAIC,QAAA,KAAa,QAAQ;IACnCJ,IAAA,GAAOD,OAAA,CAAQ,8DAA8DM,OAAA;IAC7E,IAAMC,kBAAA,GAAqBP,OAAA,CAAQ;MACpBQ,2BAAA;IAAfN,YAAA,IAAeM,2BAAA,GAAAD,kBAAA,CAAmBD,OAAA,MAAO,QAA1BE,2BAAA,cAAAA,2BAAA,GAA8BN,YAAA;EAC/C;EAEA,OAAKD,IAAA,KACHA,IAAA,GAAOF,MAAA,CAAOE,IAAA,IAAQF,MAAA,CAAOO,OAAA,CAAQL,IAAA,GAGhC;IACLA,IAAA;IACAQ,IAAA,EAAMV,MAAA,CAAOU,IAAA,IAAQV,MAAA,CAAOO,OAAA,CAAQG,IAAA;IACpCC,UAAA,EAAYX,MAAA,CAAOW,UAAA,IAAcX,MAAA,CAAOO,OAAA,CAAQI,UAAA;IAChDR,YAAA;IACAS,SAAA,EAAWZ,MAAA,CAAOY,SAAA,IAAaZ,MAAA,CAAOO,OAAA,CAAQK;EAChD;AACF","ignoreList":[]}
1
+ {"version":3,"names":["getBaseViews","native","require","View","TextAncestor","process","env","NODE_ENV","default","TextAncestorModule","_TextAncestorModule_default","Text","StyleSheet","Pressable"],"sources":["../../src/Users/n8/tamagui/code/core/core/src/getBaseViews.native.ts"],"sourcesContent":[null],"mappings":"AAAO,SAASA,aAAA;EACd,IAAMC,MAAA,GAASC,OAAA,CAAQ;IAEnBC,IAAA;IACAC,YAAA;EAEJ,IAAIC,OAAA,CAAQC,GAAA,CAAIC,QAAA,KAAa,QAAQ;IACnCJ,IAAA,GAAOD,OAAA,CAAQ,8DAA8DM,OAAA;IAC7E,IAAMC,kBAAA,GAAqBP,OAAA,CAAQ;MACpBQ,2BAAA;IAAfN,YAAA,IAAeM,2BAAA,GAAAD,kBAAA,CAAmBD,OAAA,MAAO,QAA1BE,2BAAA,cAAAA,2BAAA,GAA8BD,kBAAA;EAC/C;EAEA,OAAKN,IAAA,KACHA,IAAA,GAAOF,MAAA,CAAOE,IAAA,IAAQF,MAAA,CAAOO,OAAA,CAAQL,IAAA,GAGhC;IACLA,IAAA;IACAQ,IAAA,EAAMV,MAAA,CAAOU,IAAA,IAAQV,MAAA,CAAOO,OAAA,CAAQG,IAAA;IACpCC,UAAA,EAAYX,MAAA,CAAOW,UAAA,IAAcX,MAAA,CAAOO,OAAA,CAAQI,UAAA;IAChDR,YAAA;IACAS,SAAA,EAAWZ,MAAA,CAAOY,SAAA,IAAaZ,MAAA,CAAOO,OAAA,CAAQK;EAChD;AACF","ignoreList":[]}
package/dist/native.js CHANGED
@@ -9234,6 +9234,9 @@ var require_getExpandedShorthands_native = __commonJS({
9234
9234
  }), mod);
9235
9235
  }, getExpandedShorthands_exports = {};
9236
9236
  __export2(getExpandedShorthands_exports, {
9237
+ getExpandedShorthand: function() {
9238
+ return getExpandedShorthand;
9239
+ },
9237
9240
  getExpandedShorthands: function() {
9238
9241
  return getExpandedShorthands;
9239
9242
  }
@@ -9247,6 +9250,10 @@ var require_getExpandedShorthands_native = __commonJS({
9247
9250
  for (var key in props) res[shorthands[key] || key] = props[key];
9248
9251
  return res;
9249
9252
  }
9253
+ function getExpandedShorthand(propKey, props) {
9254
+ var shorthands = (0, import_config.getConfig)().inverseShorthands, _props_propKey;
9255
+ return (_props_propKey = props[propKey]) !== null && _props_propKey !== void 0 ? _props_propKey : props[shorthands[propKey]];
9256
+ }
9250
9257
  }
9251
9258
  });
9252
9259
 
@@ -12171,7 +12178,7 @@ function getBaseViews() {
12171
12178
  if (process.env.NODE_ENV !== "test") {
12172
12179
  View2 = require("react-native/Libraries/Components/View/ViewNativeComponent").default;
12173
12180
  var TextAncestorModule = require("react-native/Libraries/Text/TextAncestor"), _TextAncestorModule_default;
12174
- TextAncestor = (_TextAncestorModule_default = TextAncestorModule.default) !== null && _TextAncestorModule_default !== void 0 ? _TextAncestorModule_default : TextAncestor;
12181
+ TextAncestor = (_TextAncestorModule_default = TextAncestorModule.default) !== null && _TextAncestorModule_default !== void 0 ? _TextAncestorModule_default : TextAncestorModule;
12175
12182
  }
12176
12183
  return View2 || (View2 = native.View || native.default.View), {
12177
12184
  View: View2,