@tamagui/static 1.89.26 → 1.89.27-1708113113238

Sign up to get free protection for your applications and to get access to all the features.
Files changed (175) hide show
  1. package/dist/cjs/constants.native.js +4 -4
  2. package/dist/cjs/constants.native.js.map +3 -3
  3. package/dist/cjs/extractor/accessSafe.native.js +1 -5
  4. package/dist/cjs/extractor/accessSafe.native.js.map +3 -3
  5. package/dist/cjs/extractor/babelParse.native.js +5 -8
  6. package/dist/cjs/extractor/babelParse.native.js.map +3 -3
  7. package/dist/cjs/extractor/buildClassName.native.js +31 -42
  8. package/dist/cjs/extractor/buildClassName.native.js.map +3 -3
  9. package/dist/cjs/extractor/bundle.js +6 -4
  10. package/dist/cjs/extractor/bundle.js.map +1 -1
  11. package/dist/cjs/extractor/bundle.native.js +321 -56
  12. package/dist/cjs/extractor/bundle.native.js.map +3 -3
  13. package/dist/cjs/extractor/bundleConfig.native.js +499 -187
  14. package/dist/cjs/extractor/bundleConfig.native.js.map +3 -3
  15. package/dist/cjs/extractor/createEvaluator.native.js +9 -11
  16. package/dist/cjs/extractor/createEvaluator.native.js.map +3 -3
  17. package/dist/cjs/extractor/createExtractor.native.js +1240 -906
  18. package/dist/cjs/extractor/createExtractor.native.js.map +3 -3
  19. package/dist/cjs/extractor/ensureImportingConcat.native.js +11 -17
  20. package/dist/cjs/extractor/ensureImportingConcat.native.js.map +3 -3
  21. package/dist/cjs/extractor/esbuildAliasPlugin.native.js +22 -11
  22. package/dist/cjs/extractor/esbuildAliasPlugin.native.js.map +3 -3
  23. package/dist/cjs/extractor/evaluateAstNode.native.js +15 -21
  24. package/dist/cjs/extractor/evaluateAstNode.native.js.map +3 -3
  25. package/dist/cjs/extractor/extractHelpers.native.js +146 -38
  26. package/dist/cjs/extractor/extractHelpers.native.js.map +3 -3
  27. package/dist/cjs/extractor/extractMediaStyle.native.js +127 -54
  28. package/dist/cjs/extractor/extractMediaStyle.native.js.map +3 -3
  29. package/dist/cjs/extractor/extractToClassNames.native.js +449 -252
  30. package/dist/cjs/extractor/extractToClassNames.native.js.map +3 -3
  31. package/dist/cjs/extractor/findTopmostFunction.native.js +4 -4
  32. package/dist/cjs/extractor/findTopmostFunction.native.js.map +3 -3
  33. package/dist/cjs/extractor/generateTamaguiStudioConfig.native.js +415 -54
  34. package/dist/cjs/extractor/generateTamaguiStudioConfig.native.js.map +3 -3
  35. package/dist/cjs/extractor/generatedUid.native.js +2 -2
  36. package/dist/cjs/extractor/generatedUid.native.js.map +3 -3
  37. package/dist/cjs/extractor/getPrefixLogs.native.js +2 -1
  38. package/dist/cjs/extractor/getPrefixLogs.native.js.map +3 -3
  39. package/dist/cjs/extractor/getPropValueFromAttributes.native.js +16 -19
  40. package/dist/cjs/extractor/getPropValueFromAttributes.native.js.map +3 -3
  41. package/dist/cjs/extractor/getSourceModule.native.js +20 -7
  42. package/dist/cjs/extractor/getSourceModule.native.js.map +3 -3
  43. package/dist/cjs/extractor/getStaticBindingsForScope.native.js +336 -94
  44. package/dist/cjs/extractor/getStaticBindingsForScope.native.js.map +3 -3
  45. package/dist/cjs/extractor/getTamaguiConfigPathFromOptionsConfig.native.js.map +3 -3
  46. package/dist/cjs/extractor/hoistClassNames.native.js +8 -10
  47. package/dist/cjs/extractor/hoistClassNames.native.js.map +3 -3
  48. package/dist/cjs/extractor/literalToAst.native.js +89 -19
  49. package/dist/cjs/extractor/literalToAst.native.js.map +3 -3
  50. package/dist/cjs/extractor/loadFile.native.js +16 -8
  51. package/dist/cjs/extractor/loadFile.native.js.map +3 -3
  52. package/dist/cjs/extractor/loadTamagui.js +3 -3
  53. package/dist/cjs/extractor/loadTamagui.js.map +1 -1
  54. package/dist/cjs/extractor/loadTamagui.native.js +667 -192
  55. package/dist/cjs/extractor/loadTamagui.native.js.map +3 -3
  56. package/dist/cjs/extractor/logLines.native.js +24 -6
  57. package/dist/cjs/extractor/logLines.native.js.map +3 -3
  58. package/dist/cjs/extractor/normalizeTernaries.native.js +71 -20
  59. package/dist/cjs/extractor/normalizeTernaries.native.js.map +3 -3
  60. package/dist/cjs/extractor/propsToFontFamilyCache.native.js +3 -3
  61. package/dist/cjs/extractor/propsToFontFamilyCache.native.js.map +3 -3
  62. package/dist/cjs/extractor/removeUnusedHooks.native.js +69 -36
  63. package/dist/cjs/extractor/removeUnusedHooks.native.js.map +3 -3
  64. package/dist/cjs/extractor/timer.native.js +10 -9
  65. package/dist/cjs/extractor/timer.native.js.map +3 -3
  66. package/dist/cjs/extractor/validHTMLAttributes.native.js +1 -1
  67. package/dist/cjs/extractor/validHTMLAttributes.native.js.map +3 -3
  68. package/dist/cjs/getPragmaOptions.native.js +4 -9
  69. package/dist/cjs/getPragmaOptions.native.js.map +3 -3
  70. package/dist/cjs/helpers/memoize.native.js +5 -3
  71. package/dist/cjs/helpers/memoize.native.js.map +3 -3
  72. package/dist/cjs/helpers/requireTamaguiCore.native.js +2 -1
  73. package/dist/cjs/helpers/requireTamaguiCore.native.js.map +3 -3
  74. package/dist/cjs/index.native.js.map +2 -2
  75. package/dist/cjs/minifyCSS.native.js.map +3 -3
  76. package/dist/cjs/registerRequire.native.js +56 -28
  77. package/dist/cjs/registerRequire.native.js.map +3 -3
  78. package/dist/cjs/server.native.js +175 -21
  79. package/dist/cjs/server.native.js.map +3 -3
  80. package/dist/cjs/setup.native.js.map +3 -3
  81. package/dist/cjs/static.native.js.map +2 -2
  82. package/dist/cjs/types.native.js.map +2 -2
  83. package/dist/cjs/webpackPlugin.native.js +26 -5
  84. package/dist/cjs/webpackPlugin.native.js.map +3 -3
  85. package/dist/esm/constants.native.js +4 -3
  86. package/dist/esm/constants.native.js.map +3 -3
  87. package/dist/esm/extractor/accessSafe.native.js +1 -5
  88. package/dist/esm/extractor/accessSafe.native.js.map +3 -3
  89. package/dist/esm/extractor/babelParse.native.js +5 -7
  90. package/dist/esm/extractor/babelParse.native.js.map +3 -3
  91. package/dist/esm/extractor/buildClassName.native.js +31 -41
  92. package/dist/esm/extractor/buildClassName.native.js.map +3 -3
  93. package/dist/esm/extractor/bundle.js +6 -4
  94. package/dist/esm/extractor/bundle.js.map +1 -1
  95. package/dist/esm/extractor/bundle.mjs +7 -5
  96. package/dist/esm/extractor/bundle.native.js +321 -56
  97. package/dist/esm/extractor/bundle.native.js.map +3 -3
  98. package/dist/esm/extractor/bundleConfig.native.js +499 -187
  99. package/dist/esm/extractor/bundleConfig.native.js.map +3 -3
  100. package/dist/esm/extractor/createEvaluator.native.js +9 -11
  101. package/dist/esm/extractor/createEvaluator.native.js.map +3 -3
  102. package/dist/esm/extractor/createExtractor.native.js +1241 -916
  103. package/dist/esm/extractor/createExtractor.native.js.map +3 -3
  104. package/dist/esm/extractor/ensureImportingConcat.native.js +11 -16
  105. package/dist/esm/extractor/ensureImportingConcat.native.js.map +3 -3
  106. package/dist/esm/extractor/esbuildAliasPlugin.native.js +22 -11
  107. package/dist/esm/extractor/esbuildAliasPlugin.native.js.map +3 -3
  108. package/dist/esm/extractor/evaluateAstNode.native.js +15 -21
  109. package/dist/esm/extractor/evaluateAstNode.native.js.map +3 -3
  110. package/dist/esm/extractor/extractHelpers.native.js +146 -38
  111. package/dist/esm/extractor/extractHelpers.native.js.map +3 -3
  112. package/dist/esm/extractor/extractMediaStyle.native.js +127 -54
  113. package/dist/esm/extractor/extractMediaStyle.native.js.map +3 -3
  114. package/dist/esm/extractor/extractToClassNames.native.js +449 -252
  115. package/dist/esm/extractor/extractToClassNames.native.js.map +3 -3
  116. package/dist/esm/extractor/findTopmostFunction.native.js +4 -4
  117. package/dist/esm/extractor/findTopmostFunction.native.js.map +3 -3
  118. package/dist/esm/extractor/generateTamaguiStudioConfig.native.js +415 -54
  119. package/dist/esm/extractor/generateTamaguiStudioConfig.native.js.map +3 -3
  120. package/dist/esm/extractor/generatedUid.native.js +2 -2
  121. package/dist/esm/extractor/generatedUid.native.js.map +3 -3
  122. package/dist/esm/extractor/getPrefixLogs.native.js +2 -1
  123. package/dist/esm/extractor/getPrefixLogs.native.js.map +3 -3
  124. package/dist/esm/extractor/getPropValueFromAttributes.native.js +16 -19
  125. package/dist/esm/extractor/getPropValueFromAttributes.native.js.map +3 -3
  126. package/dist/esm/extractor/getSourceModule.native.js +20 -7
  127. package/dist/esm/extractor/getSourceModule.native.js.map +3 -3
  128. package/dist/esm/extractor/getStaticBindingsForScope.native.js +336 -94
  129. package/dist/esm/extractor/getStaticBindingsForScope.native.js.map +3 -3
  130. package/dist/esm/extractor/getTamaguiConfigPathFromOptionsConfig.native.js.map +3 -3
  131. package/dist/esm/extractor/hoistClassNames.native.js +8 -10
  132. package/dist/esm/extractor/hoistClassNames.native.js.map +3 -3
  133. package/dist/esm/extractor/literalToAst.native.js +89 -19
  134. package/dist/esm/extractor/literalToAst.native.js.map +3 -3
  135. package/dist/esm/extractor/loadFile.native.js +16 -8
  136. package/dist/esm/extractor/loadFile.native.js.map +3 -3
  137. package/dist/esm/extractor/loadTamagui.js +1 -2
  138. package/dist/esm/extractor/loadTamagui.js.map +1 -1
  139. package/dist/esm/extractor/loadTamagui.mjs +5 -3
  140. package/dist/esm/extractor/loadTamagui.native.js +668 -203
  141. package/dist/esm/extractor/loadTamagui.native.js.map +3 -3
  142. package/dist/esm/extractor/logLines.native.js +24 -6
  143. package/dist/esm/extractor/logLines.native.js.map +3 -3
  144. package/dist/esm/extractor/normalizeTernaries.native.js +71 -20
  145. package/dist/esm/extractor/normalizeTernaries.native.js.map +3 -3
  146. package/dist/esm/extractor/propsToFontFamilyCache.native.js +3 -3
  147. package/dist/esm/extractor/propsToFontFamilyCache.native.js.map +3 -3
  148. package/dist/esm/extractor/removeUnusedHooks.native.js +69 -35
  149. package/dist/esm/extractor/removeUnusedHooks.native.js.map +3 -3
  150. package/dist/esm/extractor/timer.native.js +10 -9
  151. package/dist/esm/extractor/timer.native.js.map +3 -3
  152. package/dist/esm/extractor/validHTMLAttributes.native.js +1 -1
  153. package/dist/esm/extractor/validHTMLAttributes.native.js.map +3 -3
  154. package/dist/esm/getPragmaOptions.native.js +4 -9
  155. package/dist/esm/getPragmaOptions.native.js.map +3 -3
  156. package/dist/esm/helpers/memoize.native.js +5 -3
  157. package/dist/esm/helpers/memoize.native.js.map +3 -3
  158. package/dist/esm/helpers/requireTamaguiCore.native.js +2 -1
  159. package/dist/esm/helpers/requireTamaguiCore.native.js.map +3 -3
  160. package/dist/esm/index.native.js.map +1 -1
  161. package/dist/esm/minifyCSS.native.js.map +3 -3
  162. package/dist/esm/registerRequire.native.js +56 -28
  163. package/dist/esm/registerRequire.native.js.map +3 -3
  164. package/dist/esm/server.native.js +175 -21
  165. package/dist/esm/server.native.js.map +3 -3
  166. package/dist/esm/setup.native.js.map +3 -3
  167. package/dist/esm/static.native.js.map +3 -3
  168. package/dist/esm/webpackPlugin.native.js +26 -5
  169. package/dist/esm/webpackPlugin.native.js.map +3 -3
  170. package/package.json +14 -15
  171. package/src/extractor/bundle.ts +5 -2
  172. package/src/extractor/loadTamagui.ts +3 -2
  173. package/types/extractor/bundle.d.ts.map +1 -1
  174. package/types/extractor/loadTamagui.d.ts.map +1 -1
  175. package/tamagui.tsconfig.json +0 -5
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../../src/extractor/generateTamaguiStudioConfig.ts"],
4
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kBAA8B,iBAE9B,yBAAqD,qCAErD,kBAA6B,8BAE7B,4BAAmC,0CAGnC,sBAAiC;AAEjC,MAAM,iBAAa,kBAAK,QAAQ,IAAI,GAAG,UAAU,GAC3C,eAAW,kBAAK,YAAY,qBAAqB;AAMvD,eAAsB,4BACpB,gBACA,UACA,UAAU,IACV;AAtBF;AAuBE,MAAI;AACF,UAAM,SAAS,YAAa,UAAM,sCAAiB,gBAAgB,OAAO;AAC1E,QAAI,CAAC;AAAQ;AACb,UAAM,MAAM,gBAAgB,QAAQ,eAAe,QAAQ;AAE3D,UAAM,gBAAAA,QAAG,cAAU,qBAAQ,QAAQ,CAAC,GACpC,MAAM,gBAAAA,QA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ACRF,uBAAeC,eAAeE;MAChC;IACF;;AATK,wBAAA,IAAA,iBAAA;;;OAAA,6BAAA,UAAA,UAAA,QAAA,UAAA,OAAA;;UAAA;cAAA;;;AAYL1C,OAAK4B,cAAc,CAAC;AACpB,WAAWI,QAAOJ;AAChB5B,SAAK4B,YAAYI,IAAAA,IAAQ,qBAAGJ,YAAYI,IAAAA,CAAI;AAI9C,MACEhC,sBAAAA,KAAK6B,eADCc,cACN3C,oBADM2C,aAAaC,SACnB5C,oBADmB4C,QAAQC,eAC3B7C,oBAD2B6C,cAAcC,cACzC9C,oBADyC8C,aAAgBC,gBAAAA,2BACzD/C,qBAAAA;IADM2C;IAAaC;IAAQC;IAAcC;;AAG3C,SAAO;IACLnB;IACAC;IACAC,eAAekB;EACjB;AACF;",
5
+ "names": ["tamaguiDir", "join", "process", "cwd", "confFile", "generateTamaguiStudioConfig", "tamaguiOptions", "configIn", "rebuild", "config", "out", "err", "getBundledConfig", "transformConfig", "platform", "fs", "ensureDir", "dirname", "writeJSON", "spaces", "env", "DEBUG", "includes", "IS_TAMAGUI_DEV", "console", "warn", "generateTamaguiStudioConfigSync", "_tamaguiOptions", "ensureDirSync", "writeJSONSync", "generateTamaguiThemes", "force", "input", "output", "inPath", "outPath", "generatedOutput", "hasChanged", "themeBuilder", "resolveRelativePath", "generateThemes", "themeBuilderJsonExists", "next", "current", "pathExists", "_state", "generated", "readFile", "writeGeneratedThemes", "inputPath", "startsWith", "require", "resolve", "cloneDeepSafe", "x", "excludeKeys", "Array", "isArray", "map", "_", "Object", "fromEntries", "entries", "flatMap", "k", "v", "getVariableValue", "requireTamaguiCore", "validStyles", "components", "nameToPaths", "tamaguiConfig", "themes", "tokens", "key", "theme", "id", "tkey", "token", "component", "nameToInfo", "compDefinition", "staticConfig", "parentStaticConfig", "rest", "fontsParsed", "getCSS", "tokensParsed", "themeConfig", "cleanedConfig"]
6
6
  }
@@ -33,11 +33,11 @@ function generateUid(scope, name) {
33
33
  if (!(typeof name == "string" && name !== ""))
34
34
  throw "generateUid expects a valid name as its second parameter";
35
35
  name = t.toIdentifier(name).replace(/^_+/, "").replace(/[0-9]+$/g, "");
36
- let uid, i = 0;
36
+ var uid, i = 0;
37
37
  do
38
38
  i > 1 ? uid = name + i : uid = name, i++;
39
39
  while (scope.hasLabel(uid) || scope.hasBinding(uid) || scope.hasGlobal(uid) || scope.hasReference(uid));
40
- const program = scope.getProgramParent();
40
+ var program = scope.getProgramParent();
41
41
  return program.references[uid] = !0, program.uids[uid] = !0, uid;
42
42
  }
43
43
  // Annotate the CommonJS export names for ESM import in node:
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../../src/extractor/generatedUid.ts"],
4
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,QAAmB;AASZ,SAAS,YAAY,OAAY,MAAsB;AAC5D,MAAM,OAAO,SAAU;AACrB,UAAM;AACR,MAAI,EAAE,OAAO,QAAS,YAAY,SAAS;AACzC,UAAM;AAER,SAAO,EACJ,aAAa,IAAI,EACjB,QAAQ,OAAO,EAAE,EACjB,QAAQ,YAAY,EAAE;AAEzB,MAAI,KACA,IAAI;AACR;AACE,IAAI,IAAI,IACN,MAAM,OAAO,IAEb,MAAM,MAER;AAAA,SAEA,MAAM,SAAS,GAAG,KAClB,MAAM,WAAW,GAAG,KACpB,MAAM,UAAU,GAAG,KACnB,MAAM,aAAa,GAAG;AAGxB,QAAM,UAAU,MAAM,iBAAiB;AACvC,iBAAQ,WAAW,GAAG,IAAI,IAC1B,QAAQ,KAAK,GAAG,IAAI,IAEb;AACT;",
5
- "names": []
3
+ "sources": ["../../../src/extractor/Users/n8/tamagui/packages/static/src/extractor/generatedUid.ts"],
4
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;QAAmB;AASZ,SAASA,YAAYC,OAAYC,MAAY;AAClD,MAAM,OAAOD,SAAU;AACrB,UAAM;AACR,MAAI,EAAE,OAAOC,QAAS,YAAYA,SAAS;AACzC,UAAM;AAERA,SAAOC,EACJC,aAAaF,IAAAA,EACbG,QAAQ,OAAO,EAAA,EACfA,QAAQ,YAAY,EAAA;AAEvB,MAAIC,KACAC,IAAI;AACR;AACE,IAAIA,IAAI,IACND,MAAMJ,OAAOK,IAEbD,MAAMJ,MAERK;SAEAN,MAAMO,SAASF,GAAAA,KACfL,MAAMQ,WAAWH,GAAAA,KACjBL,MAAMS,UAAUJ,GAAAA,KAChBL,MAAMU,aAAaL,GAAAA;AAGrB,MAAMM,UAAUX,MAAMY,iBAAgB;AACtCD,iBAAQE,WAAWR,GAAAA,IAAO,IAC1BM,QAAQG,KAAKT,GAAAA,IAAO,IAEbA;AACT;",
5
+ "names": ["generateUid", "scope", "name", "t", "toIdentifier", "replace", "uid", "i", "hasLabel", "hasBinding", "hasGlobal", "hasReference", "program", "getProgramParent", "references", "uids"]
6
6
  }
@@ -19,7 +19,8 @@ __export(getPrefixLogs_exports, {
19
19
  });
20
20
  module.exports = __toCommonJS(getPrefixLogs_exports);
21
21
  function getPrefixLogs(options) {
22
- return (options == null ? void 0 : options.prefixLogs) ?? ` ${(options == null ? void 0 : options.platform) || "web"} | `;
22
+ var _options_prefixLogs;
23
+ return (_options_prefixLogs = options == null ? void 0 : options.prefixLogs) !== null && _options_prefixLogs !== void 0 ? _options_prefixLogs : " ".concat((options == null ? void 0 : options.platform) || "web", " | ");
23
24
  }
24
25
  // Annotate the CommonJS export names for ESM import in node:
25
26
  0 && (module.exports = {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../../src/extractor/getPrefixLogs.ts"],
4
- "mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAEO,SAAS,cAAc,SAA0B;AACtD,UAAO,mCAAS,eAAc,KAAI,mCAAS,aAAY,KAAK;AAC9D;",
5
- "names": []
3
+ "sources": ["../../../src/extractor/Users/n8/tamagui/packages/static/src/extractor/getPrefixLogs.ts"],
4
+ "mappings": ";;;;;;;;;;;;;;;AAEA;;;;;AAAO,SAASA,cAAcC,SAAwB;MAC7CA;AAAP,UAAOA,sBAAAA,WAAAA,OAAAA,SAAAA,QAASC,gBAAU,QAAnBD,wBAAAA,SAAAA,sBAAwB,IAA8B,QAA3BA,WAAAA,OAAAA,SAAAA,QAASE,aAAY,OAAM,MAAA;AAC/D;",
5
+ "names": ["getPrefixLogs", "options", "prefixLogs", "platform"]
6
6
  }
@@ -28,9 +28,8 @@ __export(getPropValueFromAttributes_exports, {
28
28
  module.exports = __toCommonJS(getPropValueFromAttributes_exports);
29
29
  var import_generator = __toESM(require("@babel/generator")), t = __toESM(require("@babel/types")), import_accessSafe = require("./accessSafe");
30
30
  function getPropValueFromAttributes(propName, attrs) {
31
- let propIndex = -1, jsxAttr = null;
32
- for (let idx = -1, len = attrs.length; ++idx < len; ) {
33
- const attr = attrs[idx];
31
+ for (var propIndex = -1, jsxAttr = null, idx = -1, len = attrs.length; ++idx < len; ) {
32
+ var attr = attrs[idx];
34
33
  if (t.isJSXAttribute(attr) && attr.name && attr.name.name === propName) {
35
34
  propIndex = idx, jsxAttr = attr;
36
35
  break;
@@ -38,30 +37,28 @@ function getPropValueFromAttributes(propName, attrs) {
38
37
  }
39
38
  if (!jsxAttr || jsxAttr.value == null)
40
39
  return null;
41
- let propValue = jsxAttr.value;
40
+ var propValue = jsxAttr.value;
42
41
  if (t.isJSXExpressionContainer(propValue) && (propValue = propValue.expression), t.isJSXEmptyExpression(propValue))
43
42
  return console.error("encountered JSXEmptyExpression"), null;
44
- const applicableSpreads = attrs.filter(
43
+ var applicableSpreads = attrs.filter(
45
44
  // 1. idx is greater than propValue prop index
46
45
  // 2. attr is a spread operator
47
- (attr, idx) => {
48
- if (t.isJSXSpreadAttribute(attr)) {
49
- if (t.isIdentifier(attr.argument) || t.isMemberExpression(attr.argument))
50
- return idx > propIndex;
51
- if (t.isLogicalExpression(attr.argument))
46
+ function(attr2, idx2) {
47
+ if (t.isJSXSpreadAttribute(attr2)) {
48
+ if (t.isIdentifier(attr2.argument) || t.isMemberExpression(attr2.argument))
49
+ return idx2 > propIndex;
50
+ if (t.isLogicalExpression(attr2.argument))
52
51
  return !1;
53
- throw new Error(
54
- `unsupported spread of type "${attr.argument.type}": ${// @ts-ignore
55
- (0, import_generator.default)(attr).code}`
56
- );
52
+ throw new Error('unsupported spread of type "'.concat(attr2.argument.type, '": ').concat((0, import_generator.default)(attr2).code));
57
53
  }
58
54
  return !1;
59
55
  }
60
- ).map((attr) => attr.argument);
61
- return applicableSpreads.length > 0 && (propValue = applicableSpreads.reduce(
62
- (acc, val) => t.logicalExpression("||", (0, import_accessSafe.accessSafe)(val, propName), acc),
63
- propValue
64
- )), propValue;
56
+ ).map(function(attr2) {
57
+ return attr2.argument;
58
+ });
59
+ return applicableSpreads.length > 0 && (propValue = applicableSpreads.reduce(function(acc, val) {
60
+ return t.logicalExpression("||", (0, import_accessSafe.accessSafe)(val, propName), acc);
61
+ }, propValue)), propValue;
65
62
  }
66
63
  // Annotate the CommonJS export names for ESM import in node:
67
64
  0 && (module.exports = {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../../src/extractor/getPropValueFromAttributes.ts"],
4
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,uBAAqB,sCACrB,IAAmB,kCAEnB,oBAA2B;AAkBpB,SAAS,2BACd,UACA,OACqB;AACrB,MAAI,YAAY,IACZ,UAAiC;AACrC,WAAS,MAAM,IAAI,MAAM,MAAM,QAAQ,EAAE,MAAM,OAAO;AACpD,UAAM,OAAO,MAAM,GAAG;AACtB,QAAI,EAAE,eAAe,IAAI,KAAK,KAAK,QAAQ,KAAK,KAAK,SAAS,UAAU;AACtE,kBAAY,KACZ,UAAU;AACV;AAAA,IACF;AAAA,EACF;AAEA,MAAI,CAAC,WAAW,QAAQ,SAAS;AAC/B,WAAO;AAGT,MAAI,YAMe,QAAQ;AAO3B,MALI,EAAE,yBAAyB,SAAS,MACtC,YAAY,UAAU,aAIpB,EAAE,qBAAqB,SAAS;AAClC,mBAAQ,MAAM,gCAAgC,GACvC;AAIT,QAAM,oBAAoB,MACvB;AAAA;AAAA;AAAA,IAGC,CAAC,MAAM,QAAsC;AAC3C,UAAI,EAAE,qBAAqB,IAAI,GAAG;AAChC,YAAI,EAAE,aAAa,KAAK,QAAQ,KAAK,EAAE,mBAAmB,KAAK,QAAQ;AACrE,iBAAO,MAAM;AAEf,YAAI,EAAE,oBAAoB,KAAK,QAAQ;AACrC,iBAAO;AAET,cAAM,IAAI;AAAA,UACR,+BAA+B,KAAK,SAAS,IAAI;AAAA,cAE/C,iBAAAA,SAAS,IAAW,EAAE,IACxB;AAAA,QACF;AAAA,MACF;AACA,aAAO;AAAA,IACT;AAAA,EACF,EACC,IAAI,CAAC,SAAS,KAAK,QAAQ;AAK9B,SAAI,kBAAkB,SAAS,MAC7B,YAAY,kBAAkB;AAAA,IAC5B,CAAC,KAAK,QAAQ,EAAE,kBAAkB,UAAM,8BAAW,KAAK,QAAQ,GAAG,GAAG;AAAA,IACtE;AAAA,EACF,IAGK;AACT;",
5
- "names": ["generate"]
3
+ "sources": ["../../../src/extractor/Users/n8/tamagui/packages/static/src/extractor/getPropValueFromAttributes.ts"],
4
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;AAAA;;;;;uBAAqB,sCACrB,IAAmB,kCAEnB,oBAA2B;AAkBpB,SAASA,2BACdC,UACAC,OAAgD;AAIhD,WAFIC,YAAY,IACZC,UAAiC,MAC5BC,MAAM,IAAIC,MAAMJ,MAAMK,QAAQ,EAAEF,MAAMC,OAAO;AACpD,QAAME,OAAON,MAAMG,GAAAA;AACnB,QAAII,EAAEC,eAAeF,IAAAA,KAASA,KAAKG,QAAQH,KAAKG,KAAKA,SAASV,UAAU;AACtEE,kBAAYE,KACZD,UAAUI;AACV;IACF;EACF;AAEA,MAAI,CAACJ,WAAWA,QAAQQ,SAAS;AAC/B,WAAO;AAGT,MAAIC,YAMeT,QAAQQ;AAO3B,MALIH,EAAEK,yBAAyBD,SAAAA,MAC7BA,YAAYA,UAAUE,aAIpBN,EAAEO,qBAAqBH,SAAAA;AACzBI,mBAAQC,MAAM,gCAAA,GACP;AAIT,MAAMC,oBAAoBjB,MACvBkB;;;IAGC,SAACZ,OAAMH,MAAAA;AACL,UAAII,EAAEY,qBAAqBb,KAAAA,GAAO;AAChC,YAAIC,EAAEa,aAAad,MAAKe,QAAQ,KAAKd,EAAEe,mBAAmBhB,MAAKe,QAAQ;AACrE,iBAAOlB,OAAMF;AAEf,YAAIM,EAAEgB,oBAAoBjB,MAAKe,QAAQ;AACrC,iBAAO;AAET,cAAM,IAAIG,MACP,+BAECC,OAF6BnB,MAAKe,SAASK,MAAK,KAAA,EAGjD,WADCD,iBAAAA,SAASnB,KAAAA,EAAaqB,IAAI,CAAA;MAGhC;AACA,aAAO;IACT;EAAA,EAEDC,IAAI,SAACtB,OAAAA;WAASA,MAAKe;;AAKtB,SAAIJ,kBAAkBZ,SAAS,MAC7BM,YAAYM,kBAAkBY,OAC5B,SAACC,KAAKC,KAAAA;WAAQxB,EAAEyB,kBAAkB,UAAMC,8BAAWF,KAAKhC,QAAAA,GAAW+B,GAAAA;KACnEnB,SAAAA,IAIGA;AACT;",
5
+ "names": ["getPropValueFromAttributes", "propName", "attrs", "propIndex", "jsxAttr", "idx", "len", "length", "attr", "t", "isJSXAttribute", "name", "value", "propValue", "isJSXExpressionContainer", "expression", "isJSXEmptyExpression", "console", "error", "applicableSpreads", "filter", "isJSXSpreadAttribute", "isIdentifier", "argument", "isMemberExpression", "isLogicalExpression", "Error", "generate", "type", "code", "map", "reduce", "acc", "val", "logicalExpression", "accessSafe"]
6
6
  }
@@ -30,8 +30,7 @@ var t = __toESM(require("@babel/types"));
30
30
  function getSourceModule(itemName, itemBinding) {
31
31
  if (!itemBinding.constant)
32
32
  return null;
33
- let sourceModule, imported, local, destructured, usesImportSyntax = !1;
34
- const itemNode = itemBinding.path.node;
33
+ var sourceModule, imported, local, destructured, usesImportSyntax = !1, itemNode = itemBinding.path.node;
35
34
  if (
36
35
  // import x from 'y';
37
36
  t.isImportDefaultSpecifier(itemNode) || // import {x} from 'y';
@@ -39,17 +38,31 @@ function getSourceModule(itemName, itemBinding) {
39
38
  )
40
39
  t.isImportDeclaration(itemBinding.path.parent) && (sourceModule = itemBinding.path.parent.source.value, local = itemNode.local.name, usesImportSyntax = !0, t.isImportSpecifier(itemNode) ? (imported = itemNode.imported.name, destructured = !0) : (imported = itemNode.local.name, destructured = !1));
41
40
  else if (t.isVariableDeclarator(itemNode) && itemNode.init != null && t.isCallExpression(itemNode.init) && t.isIdentifier(itemNode.init.callee) && itemNode.init.callee.name === "require" && itemNode.init.arguments.length === 1) {
42
- const firstArg = itemNode.init.arguments[0];
41
+ var firstArg = itemNode.init.arguments[0];
43
42
  if (!t.isStringLiteral(firstArg))
44
43
  return null;
45
44
  if (sourceModule = firstArg.value, t.isIdentifier(itemNode.id))
46
45
  local = itemNode.id.name, imported = itemNode.id.name, destructured = !1;
47
46
  else if (t.isObjectPattern(itemNode.id)) {
48
- for (const objProp of itemNode.id.properties)
49
- if (t.isObjectProperty(objProp) && t.isIdentifier(objProp.value) && objProp.value.name === itemName) {
50
- local = objProp.value.name, imported = objProp.key.name, destructured = !0;
51
- break;
47
+ var _iteratorNormalCompletion = !0, _didIteratorError = !1, _iteratorError = void 0;
48
+ try {
49
+ for (var _iterator = itemNode.id.properties[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = !0) {
50
+ var objProp = _step.value;
51
+ if (t.isObjectProperty(objProp) && t.isIdentifier(objProp.value) && objProp.value.name === itemName) {
52
+ local = objProp.value.name, imported = objProp.key.name, destructured = !0;
53
+ break;
54
+ }
52
55
  }
56
+ } catch (err) {
57
+ _didIteratorError = !0, _iteratorError = err;
58
+ } finally {
59
+ try {
60
+ !_iteratorNormalCompletion && _iterator.return != null && _iterator.return();
61
+ } finally {
62
+ if (_didIteratorError)
63
+ throw _iteratorError;
64
+ }
65
+ }
53
66
  if (!local || !imported)
54
67
  return console.error("could not find prop with value `%s`", itemName), null;
55
68
  } else
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../../src/extractor/getSourceModule.ts"],
4
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,QAAmB;AAUZ,SAAS,gBACd,UACA,aAIqB;AAErB,MAAI,CAAC,YAAY;AACf,WAAO;AAGT,MAAI,cACA,UACA,OACA,cACA,mBAAmB;AAEvB,QAAM,WAAW,YAAY,KAAK;AAElC;AAAA;AAAA,IAEE,EAAE,yBAAyB,QAAQ;AAAA,IAEnC,EAAE,kBAAkB,QAAQ;AAAA;AAE5B,IAAI,EAAE,oBAAoB,YAAY,KAAK,MAAM,MAC/C,eAAe,YAAY,KAAK,OAAO,OAAO,OAC9C,QAAQ,SAAS,MAAM,MACvB,mBAAmB,IACf,EAAE,kBAAkB,QAAQ,KAC9B,WAAW,SAAS,SAAS,MAC7B,eAAe,OAEf,WAAW,SAAS,MAAM,MAC1B,eAAe;AAAA,WAInB,EAAE,qBAAqB,QAAQ,KAC/B,SAAS,QAAQ,QACjB,EAAE,iBAAiB,SAAS,IAAI,KAChC,EAAE,aAAa,SAAS,KAAK,MAAM,KACnC,SAAS,KAAK,OAAO,SAAS,aAC9B,SAAS,KAAK,UAAU,WAAW,GACnC;AACA,UAAM,WAAW,SAAS,KAAK,UAAU,CAAC;AAC1C,QAAI,CAAC,EAAE,gBAAgB,QAAQ;AAC7B,aAAO;AAIT,QAFA,eAAe,SAAS,OAEpB,EAAE,aAAa,SAAS,EAAE;AAC5B,cAAQ,SAAS,GAAG,MACpB,WAAW,SAAS,GAAG,MACvB,eAAe;AAAA,aACN,EAAE,gBAAgB,SAAS,EAAE,GAAG;AACzC,iBAAW,W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UAAUC,WAAW,GACnC;AACA,QAAMC,WAAWlB,SAASY,KAAKI,UAAU,CAAA;AACzC,QAAI,CAACb,EAAEgB,gBAAgBD,QAAAA;AACrB,aAAO;AAIT,QAFAvB,eAAeuB,SAAST,OAEpBN,EAAEW,aAAad,SAASoB,EAAE;AAC5BvB,cAAQG,SAASoB,GAAGV,MACpBd,WAAWI,SAASoB,GAAGV,MACvBZ,eAAe;aACNK,EAAEkB,gBAAgBrB,SAASoB,EAAE,GAAG;UACpC,4BAAA,IAAA,oBAAA,IAAA,iBAAA;;AAAL,iBAAK,YAAiBpB,SAASoB,GAAGE,WAAU,OAAA,QAAA,EAAA,GAAvC,OAAA,EAAA,6BAAA,QAAA,UAAA,KAAA,GAAA,OAAA,4BAAA,IAAyC;AAAzC,cAAMC,UAAN,MAAA;AACH,cACEpB,EAAEqB,iBAAiBD,OAAAA,KACnBpB,EAAEW,aAAaS,QAAQd,KAAK,KAC5Bc,QAAQd,MAAMC,SAASlB,UACvB;AACAK,oBAAQ0B,QAAQd,MAAMC,MAEtBd,WAAW2B,QAAQE,IAAIf,MACvBZ,eAAe;AACf;UACF;QACF;;AAZK,4BAAA,IAAA,iBAAA;;;WAAA,6BAAA,UAAA,UAAA,QAAA,UAAA,OAAA;;cAAA;kBAAA;;;AAcL,UAAI,CAACD,SAAS,CAACD;AACb8B,uBAAQC,MAAM,uCAAuCnC,QAAAA,GAC9C;IAEX;AACEkC,qBAAQC,MAAM,yBAAyB3B,SAASoB,GAAGQ,IAAI,GAChD;EAEX;AACE,WAAO;AAGT,SAAO;IACL9B;IACAF;IACAC;IACAF;IACAI;EACF;AACF;",
5
+ "names": ["getSourceModule", "itemName", "itemBinding", "constant", "sourceModule", "imported", "local", "destructured", "usesImportSyntax", "itemNode", "path", "node", "t", "isImportDefaultSpecifier", "isImportSpecifier", "isImportDeclaration", "parent", "source", "value", "name", "isVariableDeclarator", "init", "isCallExpression", "isIdentifier", "callee", "arguments", "length", "firstArg", "isStringLiteral", "id", "isObjectPattern", "properties", "objProp", "isObjectProperty", "key", "console", "error", "type"]
6
6
  }