@tamagui/helpers 1.125.6 → 1.125.7

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.
@@ -2,7 +2,5 @@ function clamp(value, param) {
2
2
  var [min, max] = param;
3
3
  return Math.min(max, Math.max(min, value));
4
4
  }
5
- export {
6
- clamp
7
- };
8
- //# sourceMappingURL=clamp.js.map
5
+ export { clamp };
6
+ //# sourceMappingURL=clamp.native.js.map
@@ -1,6 +1 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/Users/n8/tamagui/code/core/helpers/src/clamp.ts"],
4
- "mappings": "AAAO,SAASA,MAAMC,OAAe,OAA4B;MAA5B,CAACC,KAAKC,GAAAA,IAAN;AACnC,SAAOC,KAAKF,IAAIC,KAAKC,KAAKD,IAAID,KAAKD,KAAAA,CAAAA;AACrC;",
5
- "names": ["clamp", "value", "min", "max", "Math"]
6
- }
1
+ {"version":3,"names":["clamp","value","param","min","max","Math"],"sources":["../../src/clamp.ts"],"sourcesContent":[null],"mappings":"AAAO,SAASA,MAAMC,KAAA,EAAeC,KAAC,EAAK;EACzC,KAAAC,GAAO,EAAAC,GAAK,IAAIF,KAAK;EACvB,OAAAG,IAAA,CAAAF,GAAA,CAAAC,GAAA,EAAAC,IAAA,CAAAD,GAAA,CAAAD,GAAA,EAAAF,KAAA","ignoreList":[]}
@@ -1,12 +1,12 @@
1
1
  function composeEventHandlers(og, next) {
2
- var { checkDefaultPrevented = !0 } = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
3
- return !og || !next ? next || og || void 0 : function(event) {
4
- if (og?.(event), !event || !(checkDefaultPrevented && typeof event == "object" && "defaultPrevented" in event) || // @ts-ignore
5
- "defaultPrevented" in event && !event.defaultPrevented)
6
- return next?.(event);
2
+ var {
3
+ checkDefaultPrevented = !0
4
+ } = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
5
+ return !og || !next ? next || og || void 0 : function (event) {
6
+ if (og?.(event), !event || !(checkDefaultPrevented && typeof event == "object" && "defaultPrevented" in event) ||
7
+ // @ts-ignore
8
+ "defaultPrevented" in event && !event.defaultPrevented) return next?.(event);
7
9
  };
8
10
  }
9
- export {
10
- composeEventHandlers
11
- };
12
- //# sourceMappingURL=composeEventHandlers.js.map
11
+ export { composeEventHandlers };
12
+ //# sourceMappingURL=composeEventHandlers.native.js.map
@@ -1,6 +1 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/Users/n8/tamagui/code/core/helpers/src/composeEventHandlers.ts"],
4
- "mappings": "AAIO,SAASA,qBACdC,IACAC,MAA6B;MAC7B,EAAEC,wBAAwB,GAAI,IAA9B,UAAA,SAAA,KAAA,UAAA,CAAA,MAAA,SAAA,UAAA,CAAA,IAAmC,CAAC;AAEpC,SAAI,CAACF,MAAM,CAACC,OACHA,QAAQD,MAAMG,SAEhB,SAACC,OAAAA;AAEN,QADAJ,KAAKI,KAAAA,GAEH,CAACA,SACD,EACEF,yBACA,OAAOE,SAAU,YACjB,sBAAsBA;IAGvB,sBAAsBA,SAAS,CAACA,MAAMC;AAEvC,aAAOJ,OAAOG,KAAAA;EAElB;AACF;",
5
- "names": ["composeEventHandlers", "og", "next", "checkDefaultPrevented", "undefined", "event", "defaultPrevented"]
6
- }
1
+ {"version":3,"names":["composeEventHandlers","og","next","checkDefaultPrevented","arguments","length","event","defaultPrevented"],"sources":["../../src/composeEventHandlers.ts"],"sourcesContent":[null],"mappings":"AAIO,SAASA,qBACdC,EAAA,EACAC,IAAA,EACA;EAEA;IAAAC,qBACS,GAAQ;EAAA,IAAMC,SAEf,CAAAC,MAAA,GAAa,KAAAD,SAAA,iBAAAA,SAAA;EAEnB,OADA,CAAAH,EAAA,IAAK,CAAAC,IAEH,GAACA,IAAA,IACDD,EACE,uBAAAK,KACA;IAID,IAAAL,EAAA,GAAAK,KAAA,IAAAA,KAAsB,MAAAH,qBAAgB,WAAAG,KAAA,sCAAAA,KAAA;IAAA;IAEvC,kBAAc,IAAKA,KAAA,KAAAA,KAAA,CAAAC,gBAAA,EAEvB,OAAAL,IAAA,GAAAI,KAAA;EACF","ignoreList":[]}
@@ -1,29 +1,30 @@
1
1
  function concatClassName(_cn) {
2
2
  for (var args = arguments, usedPrefixes = [], final = "", len = args.length, propObjects = null, x = len; x >= 0; x--) {
3
- var _loop = function(i2) {
4
- var name = names[i2];
5
- if (!name || name === " ") return "continue";
6
- if (name[0] !== "_")
7
- return final = name + " " + final, "continue";
8
- var splitIndex = name.indexOf("-");
9
- if (splitIndex < 1)
10
- return final = name + " " + final, "continue";
11
- var nextChar = name[splitIndex + 1], isMediaQuery = nextChar === "_", styleKey = name.slice(1, name.lastIndexOf("-")), mediaKey = isMediaQuery ? name.slice(splitIndex + 2, splitIndex + 7) : null, uid = mediaKey ? styleKey + mediaKey : styleKey;
12
- if (usedPrefixes.indexOf(uid) > -1)
13
- return "continue";
14
- usedPrefixes.push(uid);
15
- var propName = styleKey;
16
- if (propName && propObjects && propObjects.some(function(po) {
17
- if (mediaKey) {
18
- var propKey = pseudoInvert[mediaKey];
19
- return po && po[propKey] && propName in po[propKey] && po[propKey] !== null;
20
- }
21
- var res = po && propName in po && po[propName] !== null;
22
- return res;
23
- }))
24
- return "continue";
25
- final = name + " " + final;
26
- }, cns = args[x];
3
+ var _loop = function (i2) {
4
+ var name = names[i2];
5
+ if (!name || name === " ") return "continue";
6
+ if (name[0] !== "_") return final = name + " " + final, "continue";
7
+ var splitIndex = name.indexOf("-");
8
+ if (splitIndex < 1) return final = name + " " + final, "continue";
9
+ var nextChar = name[splitIndex + 1],
10
+ isMediaQuery = nextChar === "_",
11
+ styleKey = name.slice(1, name.lastIndexOf("-")),
12
+ mediaKey = isMediaQuery ? name.slice(splitIndex + 2, splitIndex + 7) : null,
13
+ uid = mediaKey ? styleKey + mediaKey : styleKey;
14
+ if (usedPrefixes.indexOf(uid) > -1) return "continue";
15
+ usedPrefixes.push(uid);
16
+ var propName = styleKey;
17
+ if (propName && propObjects && propObjects.some(function (po) {
18
+ if (mediaKey) {
19
+ var propKey = pseudoInvert[mediaKey];
20
+ return po && po[propKey] && propName in po[propKey] && po[propKey] !== null;
21
+ }
22
+ var res = po && propName in po && po[propName] !== null;
23
+ return res;
24
+ })) return "continue";
25
+ final = name + " " + final;
26
+ },
27
+ cns = args[x];
27
28
  if (cns) {
28
29
  if (!Array.isArray(cns) && typeof cns != "string") {
29
30
  propObjects = propObjects || [], propObjects.push(cns);
@@ -42,7 +43,5 @@ var pseudoInvert = {
42
43
  focusWithin: "focusWithinStyle",
43
44
  disabled: "disabledStyle"
44
45
  };
45
- export {
46
- concatClassName
47
- };
48
- //# sourceMappingURL=concatClassName.js.map
46
+ export { concatClassName };
47
+ //# sourceMappingURL=concatClassName.native.js.map
@@ -1,6 +1 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/Users/n8/tamagui/code/core/helpers/src/concatClassName.ts"],
4
- "mappings": "AAUO,SAASA,gBAAgBC,KAA2C;AAOzE,WANMC,OAAOC,WACPC,eAAyB,CAAA,GAC3BC,QAAQ,IAENC,MAAMJ,KAAKK,QACbC,cAAmB,MACdC,IAAIH,KAAKG,KAAK,GAAGA,KAAK;;AAc3B,UAAMC,OAAOC,MAAMC,EAAAA;AAEnB,UAAI,CAACF,QAAQA,SAAS,IAAK,QAAA;AAC3B,UAAIA,KAAK,CAAA,MAAO;AAEdL,uBAAQK,OAAO,MAAML,OACrB;AAGF,UAAMQ,aAAaH,KAAKI,QAAQ,GAAA;AAChC,UAAID,aAAa;AACfR,uBAAQK,OAAO,MAAML,OAErB;AAGF,UAAMU,WAAWL,KAAKG,aAAa,CAAA,GAG7BG,eAAeD,aAAa,KAK5BE,WAAWP,KAAKQ,MAAM,GAAGR,KAAKS,YAAY,GAAA,CAAA,GAE1CC,WAAWJ,eAAeN,KAAKQ,MAAML,aAAa,GAAGA,aAAa,CAAA,IAAK,MACvEQ,MAAMD,WAAWH,WAAWG,WAAWH;AAG7C,UAAIb,aAAaU,QAAQO,GAAAA,IAAO;AAE9B,eAAA;AAEFjB,mBAAakB,KAAKD,GAAAA;AAGlB,UAAME,WAAWN;AACjB,UAAIM,YAAYf,eAEZA,YAAYgB,KAAK,SAACC,IAAAA;AAChB,YAAIL,UAAU;AACZ,cAAMM,UAAUC,aAAaP,QAAAA;AAC7B,iBAAOK,MAAMA,GAAGC,OAAAA,KAAYH,YAAYE,GAAGC,OAAAA,KAAYD,GAAGC,OAAAA,MAAa;QACzE;AACA,YAAME,MAAMH,MAAMF,YAAYE,MAAMA,GAAGF,QAAAA,MAAc;AACrD,eAAOK;MACT,CAAA;AAGA,eAAA;AAIJvB,cAAQK,OAAO,MAAML;IACvB,GApEMwB,MAAM3B,KAAKO,CAAAA;AAEjB,QAAKoB,KACL;UAAI,CAACC,MAAMC,QAAQF,GAAAA,KAAQ,OAAOA,OAAQ,UAAU;AAElDrB,sBAAcA,eAAe,CAAA,GAC7BA,YAAYc,KAAKO,GAAAA;AACjB;MACF;AAIA,eAFMlB,QAAQmB,MAAMC,QAAQF,GAAAA,IAAOA,MAAMA,IAAIG,MAAM,GAAA,GAC7CC,WAAWtB,MAAMJ,QACdK,IAAIqB,WAAW,GAAGrB,KAAK,GAAGA,IAAAA,OAAAA,CAAAA;;EAyDrC;AAEA,SAAOP;AACT;AAEA,IAAMsB,eAAe;EACnBO,OAAO;EACPC,OAAO;EACPC,OAAO;EACPC,cAAc;EACdC,aAAa;EACbC,UAAU;AACZ;",
5
- "names": ["concatClassName", "_cn", "args", "arguments", "usedPrefixes", "final", "len", "length", "propObjects", "x", "name", "names", "i", "splitIndex", "indexOf", "nextChar", "isMediaQuery", "styleKey", "slice", "lastIndexOf", "mediaKey", "uid", "push", "propName", "some", "po", "propKey", "pseudoInvert", "res", "cns", "Array", "isArray", "split", "numNames", "hover", "focus", "press", "focusVisible", "focusWithin", "disabled"]
6
- }
1
+ {"version":3,"names":["concatClassName","_cn","args","arguments","usedPrefixes","final","len","length","propObjects","x","_loop","i2","name","names","splitIndex","indexOf","nextChar","isMediaQuery","styleKey","slice","lastIndexOf","mediaKey","uid","push","propName","some","po","propKey","pseudoInvert","res","cns","Array","isArray","split","numNames","i","hover","focus","press","focusVisible","focusWithin","disabled"],"sources":["../../src/concatClassName.ts"],"sourcesContent":[null],"mappings":"AAUO,SAASA,gBAAgBC,GAAA,EAAqD;EACnF,SAAMC,IAAO,GAAAC,SACP,EAAAC,YAAyB,GAAC,IAAAC,KAAA,OAAAC,GAAA,GAAAJ,IAAA,CAAAK,MAAA,EAAAC,WAAA,SAAAC,CAAA,GAAAH,GAAA,EAAAG,CAAA,OAAAA,CAAA;IAChC,IAAIC,KAAA,GAAQ,SAAAA,CAAAC,EAAA;QAEZ,IAAMC,IAAM,GAAAC,KAAK,CAAAF,EAAA;QACb,KAAAC,IAAA,IAAAA,IAAmB;QACvB,IAAAA,IAAS,CAAI,OAAK,GAAK,EACrB,OAAMP,KAAM,GAAMO,IAAA,SAAAP,KAAA;QAElB,IAAKS,UAAK,GAAAF,IAAA,CAAAG,OAAA;QACV,IAAKD,UAAM,GAAQ,GAEjB,OAAAT,KAAc,GAAAO,IAAA,SAAgBP,KAC9B,YAAY;QACZ,IAAAW,QAAA,GAAAJ,IAAA,CAAAE,UAAA;UAAAG,YAAA,GAAAD,QAAA;UAAAE,QAAA,GAAAN,IAAA,CAAAO,KAAA,IAAAP,IAAA,CAAAQ,WAAA;UAAAC,QAAA,GAAAJ,YAAA,GAAAL,IAAA,CAAAO,KAAA,CAAAL,UAAA,MAAAA,UAAA;UAAAQ,GAAA,GAAAD,QAAA,GAAAH,QAAA,GAAAG,QAAA,GAAAH,QAAA;QACF,IAAAd,YAAA,CAAAW,OAAA,CAAAO,GAAA,QAEA,OAAM,UAAc;QAEpBlB,YAAa,CAAAmB,IAAA,CAAAD,GAAA,CAAW;QACtB,IAAAE,QAAM,GAAON,QAAO;QAEpB,IAAIM,QAAC,IAAQhB,WAAc,IAAAA,WAAA,CAAAiB,IAAA,WAAAC,EAAA;UAC3B,IAAIL,QAAM,EAAM;YAEd,IAAAM,OAAQ,GAAOC,YAAM,CAAAP,QAAA;YACrB,OAAAK,EAAA,IAAAA,EAAA,CAAAC,OAAA,KAAAH,QAAA,IAAAE,EAAA,CAAAC,OAAA,KAAAD,EAAA,CAAAC,OAAA;UACF;UAEA,IAAME,GAAA,GAAAH,EAAA,IAAAF,QAAkB,IAAAE,EAAQ,IAAGA,EAAA,CAAAF,QAAA;UACnC,OAAIK,GAAA;QACF,IAEA;QACFxB,KAAA,GAAAO,IAAA,SAAAP,KAAA;MAKA;MAAAyB,GAAA,GAAM5B,IAAA,CAAAO,CAAA;IAWN,IAAAqB,GAAI;MAEF,KAAAC,KAAA,CAAAC,OAAA,CAAAF,GAAA,YAAAA,GAAA;QAEFtB,WAAa,GAAAA,WAAQ,QAAAA,WAAA,CAAAe,IAAA,CAAAO,GAAA;QAGrB;MACI;MAGE,SAAIjB,KAAA,GAAUkB,KAAA,CAAAC,OAAA,CAAAF,GAAA,IAAAA,GAAA,GAAAA,GAAA,CAAAG,KAAA,OAAAC,QAAA,GAAArB,KAAA,CAAAN,MAAA,EAAA4B,CAAA,GAAAD,QAAA,MAAAC,CAAA,OAAAA,CAAA,IAAAzB,KAAA,CAAAyB,CAAA;IACZ;EACA;EAAuE,OACzE9B,KAAA;AAEA;AADqD,IAAAuB,YAS3D;EAAqBQ,KACvB;EACFC,KAAA;EAEAC,KAAA,EAAO;EACTC,YAAA;EAEAC,WAAM,oBAAe;EACnBC,QAAO;AAAA;AACA,SAEPzC,eAAc","ignoreList":[]}
@@ -1,9 +1,9 @@
1
1
  export * from "@tamagui/simple-hash";
2
- export * from "./clamp";
3
- export * from "./composeEventHandlers";
4
- export * from "./concatClassName";
5
- export * from "./types";
6
- export * from "./shouldRenderNativePlatform";
7
- export * from "./validStyleProps";
8
- export * from "./withStaticProperties";
9
- //# sourceMappingURL=index.js.map
2
+ export * from "./clamp.native.js";
3
+ export * from "./composeEventHandlers.native.js";
4
+ export * from "./concatClassName.native.js";
5
+ export * from "./types.native.js";
6
+ export * from "./shouldRenderNativePlatform.native.js";
7
+ export * from "./validStyleProps.native.js";
8
+ export * from "./withStaticProperties.native.js";
9
+ //# sourceMappingURL=index.native.js.map
@@ -1,6 +1 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/Users/n8/tamagui/code/core/helpers/src/index.ts"],
4
- "mappings": "AAAA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;",
5
- "names": []
6
- }
1
+ {"version":3,"names":[],"sources":["../../src/index.ts"],"sourcesContent":[null],"mappings":"AAAA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc","ignoreList":[]}
@@ -1,18 +1,15 @@
1
1
  import { currentPlatform } from "@tamagui/constants";
2
- var ALL_PLATFORMS = [
3
- "web",
4
- "android",
5
- "ios"
6
- ];
2
+ var ALL_PLATFORMS = ["web", "android", "ios"];
7
3
  function shouldRenderNativePlatform(nativeProp) {
8
- if (!nativeProp)
9
- return null;
10
- var userRequestedPlatforms = resolvePlatformNames(nativeProp), _iteratorNormalCompletion = !0, _didIteratorError = !1, _iteratorError = void 0;
4
+ if (!nativeProp) return null;
5
+ var userRequestedPlatforms = resolvePlatformNames(nativeProp),
6
+ _iteratorNormalCompletion = !0,
7
+ _didIteratorError = !1,
8
+ _iteratorError = void 0;
11
9
  try {
12
10
  for (var _iterator = ALL_PLATFORMS[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = !0) {
13
11
  var platform = _step.value;
14
- if (platform === currentPlatform && userRequestedPlatforms.has(platform))
15
- return platform;
12
+ if (platform === currentPlatform && userRequestedPlatforms.has(platform)) return platform;
16
13
  }
17
14
  } catch (err) {
18
15
  _didIteratorError = !0, _iteratorError = err;
@@ -20,25 +17,19 @@ function shouldRenderNativePlatform(nativeProp) {
20
17
  try {
21
18
  !_iteratorNormalCompletion && _iterator.return != null && _iterator.return();
22
19
  } finally {
23
- if (_didIteratorError)
24
- throw _iteratorError;
20
+ if (_didIteratorError) throw _iteratorError;
25
21
  }
26
22
  }
27
23
  return null;
28
24
  }
29
25
  function resolvePlatformNames(nativeProp) {
30
- var platforms = nativeProp === !0 ? (
26
+ var platforms = nativeProp === !0 ?
31
27
  // all native platforms
32
- ALL_PLATFORMS
33
- ) : nativeProp === !1 ? (
28
+ ALL_PLATFORMS : nativeProp === !1 ?
34
29
  // no native platform
35
- []
36
- ) : Array.isArray(nativeProp) ? nativeProp : [
37
- nativeProp
38
- ], set = new Set(platforms);
30
+ [] : Array.isArray(nativeProp) ? nativeProp : [nativeProp],
31
+ set = new Set(platforms);
39
32
  return set.has("mobile") && (set.add("android"), set.add("ios"), set.delete("mobile")), set;
40
33
  }
41
- export {
42
- shouldRenderNativePlatform
43
- };
44
- //# sourceMappingURL=shouldRenderNativePlatform.js.map
34
+ export { shouldRenderNativePlatform };
35
+ //# sourceMappingURL=shouldRenderNativePlatform.native.js.map
@@ -1,6 +1 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/Users/n8/tamagui/code/core/helpers/src/shouldRenderNativePlatform.ts"],
4
- "mappings": "AAAA,SAASA,uBAAuB;AAuBhC,IAAMC,gBAA0C;EAAC;EAAO;EAAW;;AAa5D,SAASC,2BAA2BC,YAAwB;AACjE,MAAI,CAACA;AACH,WAAO;AAET,MAAMC,yBAAyBC,qBAAqBF,UAAAA,GAE/C,4BAAA,IAAA,oBAAA,IAAA,iBAAA;;AAAL,aAAK,YAAkBF,cAAAA,OAAAA,QAAAA,EAAAA,GAAlB,OAAA,EAAA,6BAAA,QAAA,UAAA,KAAA,GAAA,OAAA,4BAAA,IAAiC;AAAjC,UAAMK,WAAN,MAAA;AACH,UAAIA,aAAaN,mBAAmBI,uBAAuBG,IAAID,QAAAA;AAC7D,eAAOA;IAEX;;AAJK,wBAAA,IAAA,iBAAA;;;OAAA,6BAAA,UAAA,UAAA,QAAA,UAAA,OAAA;;UAAA;cAAA;;;AAML,SAAO;AACT;AAEA,SAASD,qBAAqBF,YAAuB;AACnD,MAAMK,YACJL,eAAe;;IACXF;MACAE,eAAe;;IACb,CAAA;MACAM,MAAMC,QAAQP,UAAAA,IACZA,aACA;IAACA;KACLQ,MAAM,IAAIC,IAAIJ,SAAAA;AAEpB,SAAIG,IAAIJ,IAAI,QAAA,MAEVI,IAAIE,IAAI,SAAA,GACRF,IAAIE,IAAI,KAAA,GACRF,IAAIG,OAAO,QAAA,IAENH;AACT;",
5
- "names": ["currentPlatform", "ALL_PLATFORMS", "shouldRenderNativePlatform", "nativeProp", "userRequestedPlatforms", "resolvePlatformNames", "platform", "has", "platforms", "Array", "isArray", "set", "Set", "add", "delete"]
6
- }
1
+ {"version":3,"names":["currentPlatform","ALL_PLATFORMS","shouldRenderNativePlatform","nativeProp","userRequestedPlatforms","resolvePlatformNames","_iteratorNormalCompletion","_didIteratorError","_iteratorError","_iterator","Symbol","iterator","_step","next","done","platform","value","has"],"sources":["../../src/shouldRenderNativePlatform.ts"],"sourcesContent":[null],"mappings":"AAAA,SAASA,eAAA,QAAuB;AAuBhC,IAAAC,aAAM,IAaC,OACL,SAAK,EACH,MAEF;AAEA,SAAAC,0BAAuBA,CAAAC,UAAA;EACrB,KAAAA,UAAI,EACF,WAAO;EAIX,IAAAC,sBAAO,GAAAC,oBAAA,CAAAF,UAAA;IAAAG,yBAAA;IAAAC,iBAAA;IAAAC,cAAA;EACT;IAEA,KAAS,IAAAC,SAAA,GAAAR,aAAqB,CAAAS,MAAyB,CAAAC,QAAA,KAAAC,KAAA,IAAAN,yBAAA,IAAAM,KAAA,GAAAH,SAAA,CAAAI,IAAA,IAAAC,IAAA,GAAAR,yBAAA;MACrD,IAAMS,QAAA,GACJH,KAAA,CAAAI,KAAA;MASF,IAAID,QAAQ,KAAAf,eAEN,IAAII,sBACK,CAAAa,GACb,CAAAF,QAAI,CAAO,EAGf,OAAAA,QAAA","ignoreList":[]}
@@ -1,9 +1,7 @@
1
- var StyleObjectProperty = 0, StyleObjectValue = 1, StyleObjectIdentifier = 2, StyleObjectPseudo = 3, StyleObjectRules = 4;
2
- export {
3
- StyleObjectIdentifier,
4
- StyleObjectProperty,
5
- StyleObjectPseudo,
6
- StyleObjectRules,
7
- StyleObjectValue
8
- };
9
- //# sourceMappingURL=types.js.map
1
+ var StyleObjectProperty = 0,
2
+ StyleObjectValue = 1,
3
+ StyleObjectIdentifier = 2,
4
+ StyleObjectPseudo = 3,
5
+ StyleObjectRules = 4;
6
+ export { StyleObjectIdentifier, StyleObjectProperty, StyleObjectPseudo, StyleObjectRules, StyleObjectValue };
7
+ //# sourceMappingURL=types.native.js.map
@@ -1,6 +1 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/Users/n8/tamagui/code/core/helpers/src/types.ts"],
4
- "mappings": "AAQO,IAAMA,sBAAsB,GACtBC,mBAAmB,GACnBC,wBAAwB,GACxBC,oBAAoB,GACpBC,mBAAmB;",
5
- "names": ["StyleObjectProperty", "StyleObjectValue", "StyleObjectIdentifier", "StyleObjectPseudo", "StyleObjectRules"]
6
- }
1
+ {"version":3,"names":["StyleObjectProperty","StyleObjectValue","StyleObjectIdentifier","StyleObjectPseudo","StyleObjectRules"],"sources":["../../src/types.ts"],"sourcesContent":[null],"mappings":"AAQO,IAAAA,mBAAM;EAAsBC,gBACtB;EAAmBC,qBACnB;EAAwBC,iBACxB;EAAoBC,gBACpB","ignoreList":[]}
@@ -1,246 +1,246 @@
1
1
  import { isAndroid } from "@tamagui/constants";
2
2
  var textColors = {
3
- color: !0,
4
- textDecorationColor: !0,
5
- textShadowColor: !0
6
- }, tokenCategories = {
7
- radius: {
8
- borderRadius: !0,
9
- borderTopLeftRadius: !0,
10
- borderTopRightRadius: !0,
11
- borderBottomLeftRadius: !0,
12
- borderBottomRightRadius: !0,
13
- // logical
14
- borderStartStartRadius: !0,
15
- borderStartEndRadius: !0,
16
- borderEndStartRadius: !0,
17
- borderEndEndRadius: !0
3
+ color: !0,
4
+ textDecorationColor: !0,
5
+ textShadowColor: !0
18
6
  },
19
- size: {
20
- width: !0,
21
- height: !0,
22
- minWidth: !0,
23
- minHeight: !0,
24
- maxWidth: !0,
25
- maxHeight: !0,
26
- blockSize: !0,
27
- minBlockSize: !0,
28
- maxBlockSize: !0,
29
- inlineSize: !0,
30
- minInlineSize: !0,
31
- maxInlineSize: !0
7
+ tokenCategories = {
8
+ radius: {
9
+ borderRadius: !0,
10
+ borderTopLeftRadius: !0,
11
+ borderTopRightRadius: !0,
12
+ borderBottomLeftRadius: !0,
13
+ borderBottomRightRadius: !0,
14
+ // logical
15
+ borderStartStartRadius: !0,
16
+ borderStartEndRadius: !0,
17
+ borderEndStartRadius: !0,
18
+ borderEndEndRadius: !0
19
+ },
20
+ size: {
21
+ width: !0,
22
+ height: !0,
23
+ minWidth: !0,
24
+ minHeight: !0,
25
+ maxWidth: !0,
26
+ maxHeight: !0,
27
+ blockSize: !0,
28
+ minBlockSize: !0,
29
+ maxBlockSize: !0,
30
+ inlineSize: !0,
31
+ minInlineSize: !0,
32
+ maxInlineSize: !0
33
+ },
34
+ zIndex: {
35
+ zIndex: !0
36
+ },
37
+ color: {
38
+ backgroundColor: !0,
39
+ borderColor: !0,
40
+ borderBlockStartColor: !0,
41
+ borderBlockEndColor: !0,
42
+ borderBlockColor: !0,
43
+ borderBottomColor: !0,
44
+ borderInlineColor: !0,
45
+ borderInlineStartColor: !0,
46
+ borderInlineEndColor: !0,
47
+ borderTopColor: !0,
48
+ borderLeftColor: !0,
49
+ borderRightColor: !0,
50
+ borderEndColor: !0,
51
+ borderStartColor: !0,
52
+ shadowColor: !0,
53
+ ...textColors
54
+ }
32
55
  },
33
- zIndex: {
34
- zIndex: !0
56
+ stylePropsUnitless = {
57
+ WebkitLineClamp: !0,
58
+ animationIterationCount: !0,
59
+ aspectRatio: !0,
60
+ borderImageOutset: !0,
61
+ borderImageSlice: !0,
62
+ borderImageWidth: !0,
63
+ columnCount: !0,
64
+ flex: !0,
65
+ flexGrow: !0,
66
+ flexOrder: !0,
67
+ flexPositive: !0,
68
+ flexShrink: !0,
69
+ flexNegative: !0,
70
+ fontWeight: !0,
71
+ gridRow: !0,
72
+ gridRowEnd: !0,
73
+ gridRowGap: !0,
74
+ gridRowStart: !0,
75
+ gridColumn: !0,
76
+ gridColumnEnd: !0,
77
+ gridColumnGap: !0,
78
+ gridColumnStart: !0,
79
+ gridTemplateColumns: !0,
80
+ gridTemplateAreas: !0,
81
+ lineClamp: !0,
82
+ opacity: !0,
83
+ order: !0,
84
+ orphans: !0,
85
+ tabSize: !0,
86
+ widows: !0,
87
+ zIndex: !0,
88
+ zoom: !0,
89
+ scale: !0,
90
+ scaleX: !0,
91
+ scaleY: !0,
92
+ scaleZ: !0,
93
+ shadowOpacity: !0
35
94
  },
36
- color: {
37
- backgroundColor: !0,
38
- borderColor: !0,
39
- borderBlockStartColor: !0,
40
- borderBlockEndColor: !0,
41
- borderBlockColor: !0,
42
- borderBottomColor: !0,
43
- borderInlineColor: !0,
44
- borderInlineStartColor: !0,
45
- borderInlineEndColor: !0,
46
- borderTopColor: !0,
47
- borderLeftColor: !0,
48
- borderRightColor: !0,
49
- borderEndColor: !0,
50
- borderStartColor: !0,
51
- shadowColor: !0,
52
- ...textColors
53
- }
54
- }, stylePropsUnitless = {
55
- WebkitLineClamp: !0,
56
- animationIterationCount: !0,
57
- aspectRatio: !0,
58
- borderImageOutset: !0,
59
- borderImageSlice: !0,
60
- borderImageWidth: !0,
61
- columnCount: !0,
62
- flex: !0,
63
- flexGrow: !0,
64
- flexOrder: !0,
65
- flexPositive: !0,
66
- flexShrink: !0,
67
- flexNegative: !0,
68
- fontWeight: !0,
69
- gridRow: !0,
70
- gridRowEnd: !0,
71
- gridRowGap: !0,
72
- gridRowStart: !0,
73
- gridColumn: !0,
74
- gridColumnEnd: !0,
75
- gridColumnGap: !0,
76
- gridColumnStart: !0,
77
- gridTemplateColumns: !0,
78
- gridTemplateAreas: !0,
79
- lineClamp: !0,
80
- opacity: !0,
81
- order: !0,
82
- orphans: !0,
83
- tabSize: !0,
84
- widows: !0,
85
- zIndex: !0,
86
- zoom: !0,
87
- scale: !0,
88
- scaleX: !0,
89
- scaleY: !0,
90
- scaleZ: !0,
91
- shadowOpacity: !0
92
- }, stylePropsTransform = {
93
- x: !0,
94
- y: !0,
95
- scale: !0,
96
- perspective: !0,
97
- scaleX: !0,
98
- scaleY: !0,
99
- skewX: !0,
100
- skewY: !0,
101
- matrix: !0,
102
- rotate: !0,
103
- rotateY: !0,
104
- rotateX: !0,
105
- rotateZ: !0
106
- }, stylePropsView = {
107
- backfaceVisibility: !0,
108
- borderBottomEndRadius: !0,
109
- borderBottomStartRadius: !0,
110
- borderBottomWidth: !0,
111
- borderLeftWidth: !0,
112
- borderRightWidth: !0,
113
- borderBlockWidth: !0,
114
- borderBlockEndWidth: !0,
115
- borderBlockStartWidth: !0,
116
- borderInlineWidth: !0,
117
- borderInlineEndWidth: !0,
118
- borderInlineStartWidth: !0,
119
- borderStyle: !0,
120
- borderBlockStyle: !0,
121
- borderBlockEndStyle: !0,
122
- borderBlockStartStyle: !0,
123
- borderInlineStyle: !0,
124
- borderInlineEndStyle: !0,
125
- borderInlineStartStyle: !0,
126
- borderTopEndRadius: !0,
127
- borderTopStartRadius: !0,
128
- borderTopWidth: !0,
129
- borderWidth: !0,
130
- transform: !0,
131
- transformOrigin: !0,
132
- alignContent: !0,
133
- alignItems: !0,
134
- alignSelf: !0,
135
- borderEndWidth: !0,
136
- borderStartWidth: !0,
137
- bottom: !0,
138
- display: !0,
139
- end: !0,
140
- flexBasis: !0,
141
- flexDirection: !0,
142
- flexWrap: !0,
143
- gap: !0,
144
- columnGap: !0,
145
- rowGap: !0,
146
- justifyContent: !0,
147
- left: !0,
148
- margin: !0,
149
- marginBlock: !0,
150
- marginBlockEnd: !0,
151
- marginBlockStart: !0,
152
- marginInline: !0,
153
- marginInlineStart: !0,
154
- marginInlineEnd: !0,
155
- marginBottom: !0,
156
- marginEnd: !0,
157
- marginHorizontal: !0,
158
- marginLeft: !0,
159
- marginRight: !0,
160
- marginStart: !0,
161
- marginTop: !0,
162
- marginVertical: !0,
163
- overflow: !0,
164
- padding: !0,
165
- paddingBottom: !0,
166
- paddingInline: !0,
167
- paddingBlock: !0,
168
- paddingBlockStart: !0,
169
- paddingInlineEnd: !0,
170
- paddingInlineStart: !0,
171
- paddingEnd: !0,
172
- paddingHorizontal: !0,
173
- paddingLeft: !0,
174
- paddingRight: !0,
175
- paddingStart: !0,
176
- paddingTop: !0,
177
- paddingVertical: !0,
178
- position: !0,
179
- right: !0,
180
- start: !0,
181
- top: !0,
182
- inset: !0,
183
- insetBlock: !0,
184
- insetBlockEnd: !0,
185
- insetBlockStart: !0,
186
- insetInline: !0,
187
- insetInlineEnd: !0,
188
- insetInlineStart: !0,
189
- direction: !0,
190
- shadowOffset: !0,
191
- shadowRadius: !0,
192
- ...tokenCategories.color,
193
- ...tokenCategories.radius,
194
- ...tokenCategories.size,
195
- ...tokenCategories.radius,
196
- ...stylePropsTransform,
197
- ...stylePropsUnitless,
198
- boxShadow: !0,
199
- filter: !0,
200
- ...isAndroid ? {
201
- elevationAndroid: !0
202
- } : {}
203
- }, stylePropsFont = {
204
- fontFamily: !0,
205
- fontSize: !0,
206
- fontStyle: !0,
207
- fontWeight: !0,
208
- fontVariant: !0,
209
- letterSpacing: !0,
210
- lineHeight: !0,
211
- textTransform: !0
212
- }, stylePropsTextOnly = {
213
- ...stylePropsFont,
214
- textAlign: !0,
215
- textDecorationLine: !0,
216
- textDecorationStyle: !0,
217
- ...textColors,
218
- textShadowOffset: !0,
219
- textShadowRadius: !0,
220
- userSelect: !0,
221
- selectable: !0,
222
- verticalAlign: !0
223
- }, stylePropsText = {
224
- ...stylePropsView,
225
- ...stylePropsTextOnly
226
- }, stylePropsAll = stylePropsText, validPseudoKeys = {
227
- enterStyle: !0,
228
- exitStyle: !0,
229
- hoverStyle: !0,
230
- pressStyle: !0,
231
- focusStyle: !0,
232
- disabledStyle: !0,
233
- focusWithinStyle: !0
234
- }, validStyles = stylePropsView;
235
- export {
236
- stylePropsAll,
237
- stylePropsText,
238
- stylePropsTextOnly,
239
- stylePropsTransform,
240
- stylePropsUnitless,
241
- stylePropsView,
242
- tokenCategories,
243
- validPseudoKeys,
244
- validStyles
245
- };
246
- //# sourceMappingURL=validStyleProps.js.map
95
+ stylePropsTransform = {
96
+ x: !0,
97
+ y: !0,
98
+ scale: !0,
99
+ perspective: !0,
100
+ scaleX: !0,
101
+ scaleY: !0,
102
+ skewX: !0,
103
+ skewY: !0,
104
+ matrix: !0,
105
+ rotate: !0,
106
+ rotateY: !0,
107
+ rotateX: !0,
108
+ rotateZ: !0
109
+ },
110
+ stylePropsView = {
111
+ backfaceVisibility: !0,
112
+ borderBottomEndRadius: !0,
113
+ borderBottomStartRadius: !0,
114
+ borderBottomWidth: !0,
115
+ borderLeftWidth: !0,
116
+ borderRightWidth: !0,
117
+ borderBlockWidth: !0,
118
+ borderBlockEndWidth: !0,
119
+ borderBlockStartWidth: !0,
120
+ borderInlineWidth: !0,
121
+ borderInlineEndWidth: !0,
122
+ borderInlineStartWidth: !0,
123
+ borderStyle: !0,
124
+ borderBlockStyle: !0,
125
+ borderBlockEndStyle: !0,
126
+ borderBlockStartStyle: !0,
127
+ borderInlineStyle: !0,
128
+ borderInlineEndStyle: !0,
129
+ borderInlineStartStyle: !0,
130
+ borderTopEndRadius: !0,
131
+ borderTopStartRadius: !0,
132
+ borderTopWidth: !0,
133
+ borderWidth: !0,
134
+ transform: !0,
135
+ transformOrigin: !0,
136
+ alignContent: !0,
137
+ alignItems: !0,
138
+ alignSelf: !0,
139
+ borderEndWidth: !0,
140
+ borderStartWidth: !0,
141
+ bottom: !0,
142
+ display: !0,
143
+ end: !0,
144
+ flexBasis: !0,
145
+ flexDirection: !0,
146
+ flexWrap: !0,
147
+ gap: !0,
148
+ columnGap: !0,
149
+ rowGap: !0,
150
+ justifyContent: !0,
151
+ left: !0,
152
+ margin: !0,
153
+ marginBlock: !0,
154
+ marginBlockEnd: !0,
155
+ marginBlockStart: !0,
156
+ marginInline: !0,
157
+ marginInlineStart: !0,
158
+ marginInlineEnd: !0,
159
+ marginBottom: !0,
160
+ marginEnd: !0,
161
+ marginHorizontal: !0,
162
+ marginLeft: !0,
163
+ marginRight: !0,
164
+ marginStart: !0,
165
+ marginTop: !0,
166
+ marginVertical: !0,
167
+ overflow: !0,
168
+ padding: !0,
169
+ paddingBottom: !0,
170
+ paddingInline: !0,
171
+ paddingBlock: !0,
172
+ paddingBlockStart: !0,
173
+ paddingInlineEnd: !0,
174
+ paddingInlineStart: !0,
175
+ paddingEnd: !0,
176
+ paddingHorizontal: !0,
177
+ paddingLeft: !0,
178
+ paddingRight: !0,
179
+ paddingStart: !0,
180
+ paddingTop: !0,
181
+ paddingVertical: !0,
182
+ position: !0,
183
+ right: !0,
184
+ start: !0,
185
+ top: !0,
186
+ inset: !0,
187
+ insetBlock: !0,
188
+ insetBlockEnd: !0,
189
+ insetBlockStart: !0,
190
+ insetInline: !0,
191
+ insetInlineEnd: !0,
192
+ insetInlineStart: !0,
193
+ direction: !0,
194
+ shadowOffset: !0,
195
+ shadowRadius: !0,
196
+ ...tokenCategories.color,
197
+ ...tokenCategories.radius,
198
+ ...tokenCategories.size,
199
+ ...tokenCategories.radius,
200
+ ...stylePropsTransform,
201
+ ...stylePropsUnitless,
202
+ boxShadow: !0,
203
+ filter: !0,
204
+ ...(isAndroid ? {
205
+ elevationAndroid: !0
206
+ } : {})
207
+ },
208
+ stylePropsFont = {
209
+ fontFamily: !0,
210
+ fontSize: !0,
211
+ fontStyle: !0,
212
+ fontWeight: !0,
213
+ fontVariant: !0,
214
+ letterSpacing: !0,
215
+ lineHeight: !0,
216
+ textTransform: !0
217
+ },
218
+ stylePropsTextOnly = {
219
+ ...stylePropsFont,
220
+ textAlign: !0,
221
+ textDecorationLine: !0,
222
+ textDecorationStyle: !0,
223
+ ...textColors,
224
+ textShadowOffset: !0,
225
+ textShadowRadius: !0,
226
+ userSelect: !0,
227
+ selectable: !0,
228
+ verticalAlign: !0
229
+ },
230
+ stylePropsText = {
231
+ ...stylePropsView,
232
+ ...stylePropsTextOnly
233
+ },
234
+ stylePropsAll = stylePropsText,
235
+ validPseudoKeys = {
236
+ enterStyle: !0,
237
+ exitStyle: !0,
238
+ hoverStyle: !0,
239
+ pressStyle: !0,
240
+ focusStyle: !0,
241
+ disabledStyle: !0,
242
+ focusWithinStyle: !0
243
+ },
244
+ validStyles = stylePropsView;
245
+ export { stylePropsAll, stylePropsText, stylePropsTextOnly, stylePropsTransform, stylePropsUnitless, stylePropsView, tokenCategories, validPseudoKeys, validStyles };
246
+ //# sourceMappingURL=validStyleProps.native.js.map
@@ -1,6 +1 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/Users/n8/tamagui/code/core/helpers/src/validStyleProps.ts"],
4
- "mappings": "AAAA,SAASA,iBAAiB;AAI1B,IAAMC,aAAa;EACjBC,OAAO;EACPC,qBAAqB;EACrBC,iBAAiB;AACnB,GAIaC,kBAAkB;EAC7BC,QAAQ;IACNC,cAAc;IACdC,qBAAqB;IACrBC,sBAAsB;IACtBC,wBAAwB;IACxBC,yBAAyB;;IAGzBC,wBAAwB;IACxBC,sBAAsB;IACtBC,sBAAsB;IACtBC,oBAAoB;EACtB;EACAC,MAAM;IACJC,OAAO;IACPC,QAAQ;IACRC,UAAU;IACVC,WAAW;IACXC,UAAU;IACVC,WAAW;IACXC,WAAW;IACXC,cAAc;IACdC,cAAc;IACdC,YAAY;IACZC,eAAe;IACfC,eAAe;EACjB;EACAC,QAAQ;IACNA,QAAQ;EACV;EACA3B,OAAO;IACL4B,iBAAiB;IACjBC,aAAa;IACbC,uBAAuB;IACvBC,qBAAqB;IACrBC,kBAAkB;IAClBC,mBAAmB;IACnBC,mBAAmB;IACnBC,wBAAwB;IACxBC,sBAAsB;IACtBC,gBAAgB;IAChBC,iBAAiB;IAC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;EAC5B,GAAG1G;EACH,GAAGiG;AACL,GAEaU,gBAAgBD,gBAEhBE,kBAAkB;EAC7BC,YAAY;EACZC,WAAW;EACXC,YAAY;EACZC,YAAY;EACZC,YAAY;EACZC,eAAe;EACfC,kBAAkB;AAMpB,GAEaC,cAAcpH;",
5
- "names": ["isAndroid", "textColors", "color", "textDecorationColor", "textShadowColor", "tokenCategories", "radius", "borderRadius", "borderTopLeftRadius", "borderTopRightRadius", "borderBottomLeftRadius", "borderBottomRightRadius", "borderStartStartRadius", "borderStartEndRadius", "borderEndStartRadius", "borderEndEndRadius", "size", "width", "height", "minWidth", "minHeight", "maxWidth", "maxHeight", "blockSize", "minBlockSize", "maxBlockSize", "inlineSize", "minInlineSize", "maxInlineSize", "zIndex", "backgroundColor", "borderColor", "borderBlockStartColor", "borderBlockEndColor", "borderBlockColor", "borderBottomColor", "borderInlineColor", "borderInlineStartColor", "borderInlineEndColor", "borderTopColor", "borderLeftColor", "borderRightColor", "borderEndColor", "borderStartColor", "shadowColor", "stylePropsUnitless", "WebkitLineClamp", "animationIterationCount", "aspectRatio", "borderImageOutset", "borderImageSlice", "borderImageWidth", "columnCount", "flex", "flexGrow", "flexOrder", "flexPositive", "flexShrink", "flexNegative", "fontWeight", "gridRow", "gridRowEnd", "gridRowGap", "gridRowStart", "gridColumn", "gridColumnEnd", "gridColumnGap", "gridColumnStart", "gridTemplateColumns", "gridTemplateAreas", "lineClamp", "opacity", "order", "orphans", "tabSize", "widows", "zoom", "scale", "scaleX", "scaleY", "scaleZ", "shadowOpacity", "stylePropsTransform", "x", "y", "perspective", "skewX", "skewY", "matrix", "rotate", "rotateY", "rotateX", "rotateZ", "stylePropsView", "backfaceVisibility", "borderBottomEndRadius", "borderBottomStartRadius", "borderBottomWidth", "borderLeftWidth", "borderRightWidth", "borderBlockWidth", "borderBlockEndWidth", "borderBlockStartWidth", "borderInlineWidth", "borderInlineEndWidth", "borderInlineStartWidth", "borderStyle", "borderBlockStyle", "borderBlockEndStyle", "borderBlockStartStyle", "borderInlineStyle", "borderInlineEndStyle", "borderInlineStartStyle", "borderTopEndRadius", "borderTopStartRadius", "borderTopWidth", "borderWidth", "transform", "transformOrigin", "alignContent", "alignItems", "alignSelf", "borderEndWidth", "borderStartWidth", "bottom", "display", "end", "flexBasis", "flexDirection", "flexWrap", "gap", "columnGap", "rowGap", "justifyContent", "left", "margin", "marginBlock", "marginBlockEnd", "marginBlockStart", "marginInline", "marginInlineStart", "marginInlineEnd", "marginBottom", "marginEnd", "marginHorizontal", "marginLeft", "marginRight", "marginStart", "marginTop", "marginVertical", "overflow", "padding", "paddingBottom", "paddingInline", "paddingBlock", "paddingBlockStart", "paddingInlineEnd", "paddingInlineStart", "paddingEnd", "paddingHorizontal", "paddingLeft", "paddingRight", "paddingStart", "paddingTop", "paddingVertical", "position", "right", "start", "top", "inset", "insetBlock", "insetBlockEnd", "insetBlockStart", "insetInline", "insetInlineEnd", "insetInlineStart", "direction", "shadowOffset", "shadowRadius", "boxShadow", "filter", "elevationAndroid", "stylePropsFont", "fontFamily", "fontSize", "fontStyle", "fontVariant", "letterSpacing", "lineHeight", "textTransform", "stylePropsTextOnly", "textAlign", "textDecorationLine", "textDecorationStyle", "textShadowOffset", "textShadowRadius", "userSelect", "selectable", "verticalAlign", "stylePropsText", "stylePropsAll", "validPseudoKeys", "enterStyle", "exitStyle", "hoverStyle", "pressStyle", "focusStyle", "disabledStyle", "focusWithinStyle", "validStyles"]
6
- }
1
+ {"version":3,"names":["isAndroid","textColors","color","textDecorationColor","textShadowColor","tokenCategories","radius","borderRadius","borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius","borderStartStartRadius","borderStartEndRadius","borderEndStartRadius","borderEndEndRadius","size","width","height","minWidth","minHeight","maxWidth","maxHeight","blockSize","minBlockSize","maxBlockSize","inlineSize","minInlineSize","maxInlineSize","zIndex","backgroundColor","borderColor","borderBlockStartColor","borderBlockEndColor","borderBlockColor","borderBottomColor","borderInlineColor","borderInlineStartColor","borderInlineEndColor","borderTopColor","borderLeftColor","borderRightColor","borderEndColor","borderStartColor","shadowColor","stylePropsUnitless","WebkitLineClamp","animationIterationCount","aspectRatio","borderImageOutset","borderImageSlice","borderImageWidth","columnCount","flex","flexGrow","flexOrder","flexPositive","flexShrink","flexNegative","fontWeight","gridRow","gridRowEnd","gridRowGap","gridRowStart","gridColumn","gridColumnEnd","gridColumnGap","gridColumnStart","gridTemplateColumns","gridTemplateAreas","lineClamp","opacity","order","orphans","tabSize","widows","zoom","scale","scaleX","scaleY","scaleZ","shadowOpacity","stylePropsTransform","x","y","perspective","skewX","skewY","matrix","rotate","rotateY","rotateX","rotateZ","stylePropsView","backfaceVisibility","borderBottomEndRadius","borderBottomStartRadius","borderBottomWidth","borderLeftWidth","borderRightWidth","borderBlockWidth","borderBlockEndWidth","borderBlockStartWidth","borderInlineWidth","borderInlineEndWidth","borderInlineStartWidth","borderStyle","borderBlockStyle","borderBlockEndStyle","borderBlockStartStyle","borderInlineStyle","borderInlineEndStyle","borderInlineStartStyle","borderTopEndRadius","borderTopStartRadius","borderTopWidth","borderWidth","transform","transformOrigin","alignContent","alignItems","alignSelf","borderEndWidth","borderStartWidth","bottom","display","end","flexBasis","flexDirection","flexWrap","gap","columnGap","rowGap","justifyContent","left","margin","marginBlock","marginBlockEnd","marginBlockStart","marginInline","marginInlineStart","marginInlineEnd","marginBottom","marginEnd","marginHorizontal","marginLeft","marginRight","marginStart","marginTop","marginVertical","overflow","padding","paddingBottom","paddingInline","paddingBlock","paddingBlockStart","paddingInlineEnd","paddingInlineStart","paddingEnd","paddingHorizontal","paddingLeft","paddingRight","paddingStart","paddingTop","paddingVertical","position","right","start","top","inset","insetBlock","insetBlockEnd","insetBlockStart","insetInline","insetInlineEnd","insetInlineStart","direction","shadowOffset","shadowRadius","boxShadow","filter","elevationAndroid","stylePropsFont","fontFamily","fontSize","fontStyle","fontVariant","letterSpacing","lineHeight","textTransform","stylePropsTextOnly","textAlign","textDecorationLine","textDecorationStyle","textShadowOffset","textShadowRadius","userSelect","selectable","verticalAlign","stylePropsText","stylePropsAll","validPseudoKeys","enterStyle","exitStyle","hoverStyle","pressStyle","focusStyle","disabledStyle","focusWithinStyle","validStyles"],"sources":["../../src/validStyleProps.ts"],"sourcesContent":[null],"mappings":"AAAA,SAASA,SAAA,QAAiB;AAI1B,IAAAC,UAAM;IACJC,KAAA,EAAO;IACPC,mBAAA,EAAqB;IACrBC,eAAA,EAAiB;EACnB;EAIaC,eAAA,GAAkB;IAC7BC,MAAA,EAAQ;MACNC,YAAA,EAAc;MACdC,mBAAA,EAAqB;MACrBC,oBAAA,EAAsB;MACtBC,sBAAA,EAAwB;MACxBC,uBAAA,EAAyB;MAAA;MAGzBC,sBAAA,EAAwB;MACxBC,oBAAA,EAAsB;MACtBC,oBAAA,EAAsB;MACtBC,kBAAA,EAAoB;IACtB;IACAC,IAAA,EAAM;MACJC,KAAA,EAAO;MACPC,MAAA,EAAQ;MACRC,QAAA,EAAU;MACVC,SAAA,EAAW;MACXC,QAAA,EAAU;MACVC,SAAA,EAAW;MACXC,SAAA,EAAW;MACXC,YAAA,EAAc;MACdC,YAAA,EAAc;MACdC,UAAA,EAAY;MACZC,aAAA,EAAe;MACfC,aAAA,EAAe;IACjB;IACAC,MAAA,EAAQ;MACNA,MAAA,EAAQ;IACV;IACA3B,KAAA,EAAO;MACL4B,eAAA,EAAiB;MACjBC,WAAA,EAAa;MACbC,qBAAA,EAAuB;MACvBC,mBAAA,EAAqB;MACrBC,gBAAA,EAAkB;MAClBC,iBAAA,EAAmB;MACnBC,iBAAA,EAAmB;MACnBC,sBAAA,EAAwB;MACxBC,oBAAA,EAAsB;MACtBC,cAAA,EAAgB;MAChBC,eAAA,EAAiB;MACjBC,gBAAA,EAAkB;MAClBC,cAAA,EAAgB;MAChBC,gBAAA,EAAkB;MAClBC,WAAA,EAAa;MACb,GAAG3C;IAAA;EAEa;EAAA4C,kBACF;IAEhBC,eAAA;IACFC,uBAEkC;IA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A;IACAS,SAAA;IACAC,kBAAgB;IAChBC,mBAAmB;IACnB,GAAAhM,UAAa;IACbiM,gBAAA,EAAiB;IACjBC,gBAAA,EAAkB;IAClBC,UAAA;IACAC,UAAA,EAAW;IACXC,aAAY;EAAA;EACZC,cAAU;IACV,GAAA1G,cAAS;IACT,GAAAiG;EAAe;EACfU,aAAS,GAAAD,cAAA;EAAAE,eAAA;IACTC,UAAQ;IACRC,SAAO;IACPC,UAAM;IACNC,UAAA,EAAY;IACZC,UAAA;IACAC,aAAA;IACAC,gBAAA,EAAkB;EAAA;EAClBC,WAAA,GAAApH,cAAiB;AAAA,SAEjB2G,aAAA,EACAD,cAAU,EACVT,kBAAe,EACf5G,mBAAW,EACXrC,kBAAU,EACVgD,cAAY,EACZxF,eAAc,EACdoM,eAAY,EACZQ,WAAU","ignoreList":[]}
@@ -1,25 +1,24 @@
1
1
  import React from "react";
2
- var Decorated = Symbol(), withStaticProperties = function(component, staticProps) {
3
- var next = function() {
4
- if (component[Decorated]) {
5
- var _ = /* @__PURE__ */ React.forwardRef(function(props, ref) {
6
- return /* @__PURE__ */ React.createElement(component, {
7
- ...props,
8
- ref
2
+ var Decorated = Symbol(),
3
+ withStaticProperties = function (component, staticProps) {
4
+ var next = function () {
5
+ if (component[Decorated]) {
6
+ var _ = /* @__PURE__ */React.forwardRef(function (props, ref) {
7
+ return /* @__PURE__ */React.createElement(component, {
8
+ ...props,
9
+ ref
10
+ });
9
11
  });
10
- });
11
- for (var key in component) {
12
- var v = component[key];
13
- _[key] = v && typeof v == "object" ? {
14
- ...v
15
- } : v;
12
+ for (var key in component) {
13
+ var v = component[key];
14
+ _[key] = v && typeof v == "object" ? {
15
+ ...v
16
+ } : v;
17
+ }
16
18
  }
17
- }
18
- return component;
19
- }();
20
- return Object.assign(next, staticProps), next[Decorated] = !0, next;
21
- };
22
- export {
23
- withStaticProperties
24
- };
25
- //# sourceMappingURL=withStaticProperties.js.map
19
+ return component;
20
+ }();
21
+ return Object.assign(next, staticProps), next[Decorated] = !0, next;
22
+ };
23
+ export { withStaticProperties };
24
+ //# sourceMappingURL=withStaticProperties.native.js.map
@@ -1,6 +1 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/Users/n8/tamagui/code/core/helpers/src/withStaticProperties.tsx"],
4
- "mappings": "AAAA,OAAOA,WAAW;AAElB,IAAMC,YAAYC,OAAAA,GAILC,uBAAuB,SAClCC,WACAC,aAAAA;AAGA,MAAMC,OAAQ,WAAA;AACZ,QAAIF,UAAUH,SAAAA,GAAY;AACxB,UAAMM,IAAIP,sBAAMQ,WAAW,SAACC,OAAOC,KAAAA;eACjCV,sBAAMW,cAAcP,WAAkB;UAAE,GAAGK;UAAOC;QAAI,CAAA;;AAGxD,eAAWE,OAAOR,WAAW;AAC3B,YAAMS,IAAIT,UAAUQ,GAAAA;AAEpBL,UAAEK,GAAAA,IAAOC,KAAK,OAAOA,KAAM,WAAW;UAAE,GAAGA;QAAE,IAAIA;MACnD;IACF;AACA,WAAOT;EACT,EAAA;AAGAU,gBAAOC,OAAOT,MAAMD,WAAAA,GACpBC,KAAKL,SAAAA,IAAa,IAEXK;AACT;",
5
- "names": ["React", "Decorated", "Symbol", "withStaticProperties", "component", "staticProps", "next", "_", "forwardRef", "props", "ref", "createElement", "key", "v", "Object", "assign"]
6
- }
1
+ {"version":3,"names":["React","Decorated","Symbol","withStaticProperties","component","staticProps","next","_","forwardRef","props","ref","createElement","key","v"],"sources":["../../src/withStaticProperties.tsx"],"sourcesContent":[null],"mappings":"AAAA,OAAOA,KAAA,MAAW;AAElB,IAAAC,SAAM,GAAAC,MAAY;EAAOC,oBAIZ,YAAAA,CACXC,SACA,EAAAC,WACmB;IAEnB,IAAAC,IAAM,eAAc;MAClB,IAAIF,SAAA,CAAUH,SAAS,GAAG;QACxB,IAAAM,CAAA,GAAM,eAAUP,KAAA,CAAAQ,UAAA,WAAAC,KAAA,EAAAC,GAAA;UAAW,OAAC,eACpBV,KAAA,CAAAW,aAAc,CAAAP,SAAuB;YAC7C,GAAAK,KAAA;YAEAC;UACE;QAEA;QACF,SAAAE,GAAA,IAAAR,SAAA;UACF,IAAAS,CAAA,GAAAT,SAAA,CAAAQ,GAAA;UACAL,CAAA,CAAAK,GAAO,IAAAC,CAAA,WAAAA,CAAA;YACN,GAAAA;UAGH,IAAAA,CAAA;QAIF","ignoreList":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tamagui/helpers",
3
- "version": "1.125.6",
3
+ "version": "1.125.7",
4
4
  "source": "src/index.ts",
5
5
  "types": "./types/index.d.ts",
6
6
  "main": "dist/cjs",
@@ -19,11 +19,11 @@
19
19
  "clean:build": "tamagui-build clean:build"
20
20
  },
21
21
  "dependencies": {
22
- "@tamagui/constants": "1.125.6",
23
- "@tamagui/simple-hash": "1.125.6"
22
+ "@tamagui/constants": "1.125.7",
23
+ "@tamagui/simple-hash": "1.125.7"
24
24
  },
25
25
  "devDependencies": {
26
- "@tamagui/build": "1.125.6"
26
+ "@tamagui/build": "1.125.7"
27
27
  },
28
28
  "publishConfig": {
29
29
  "access": "public"