@tamagui/static 1.135.4 → 1.135.6

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.
Files changed (181) hide show
  1. package/dist/check-dep-versions.mjs +268 -0
  2. package/dist/check-dep-versions.mjs.map +1 -0
  3. package/dist/checkDeps.mjs +33 -0
  4. package/dist/checkDeps.mjs.map +1 -0
  5. package/dist/constants.mjs +50 -0
  6. package/dist/constants.mjs.map +1 -0
  7. package/dist/exports.mjs +42 -0
  8. package/dist/exports.mjs.map +1 -0
  9. package/dist/extractor/accessSafe.mjs +47 -0
  10. package/dist/extractor/accessSafe.mjs.map +1 -0
  11. package/dist/extractor/babelParse.mjs +55 -0
  12. package/dist/extractor/babelParse.mjs.map +1 -0
  13. package/dist/extractor/bundle.mjs +149 -0
  14. package/dist/extractor/bundle.mjs.map +1 -0
  15. package/dist/extractor/bundleConfig.mjs +331 -0
  16. package/dist/extractor/bundleConfig.mjs.map +1 -0
  17. package/dist/extractor/concatClassName.mjs +79 -0
  18. package/dist/extractor/concatClassName.mjs.map +1 -0
  19. package/dist/extractor/createEvaluator.mjs +76 -0
  20. package/dist/extractor/createEvaluator.mjs.map +1 -0
  21. package/dist/extractor/createExtractor.mjs +976 -0
  22. package/dist/extractor/createExtractor.mjs.map +1 -0
  23. package/dist/extractor/createLogger.mjs +46 -0
  24. package/dist/extractor/createLogger.mjs.map +1 -0
  25. package/dist/extractor/errors.mjs +27 -0
  26. package/dist/extractor/errors.mjs.map +1 -0
  27. package/dist/extractor/esbuildAliasPlugin.mjs +45 -0
  28. package/dist/extractor/esbuildAliasPlugin.mjs.map +1 -0
  29. package/dist/extractor/esbuildTsconfigPaths.mjs +85 -0
  30. package/dist/extractor/esbuildTsconfigPaths.mjs.map +1 -0
  31. package/dist/extractor/evaluateAstNode.mjs +84 -0
  32. package/dist/extractor/evaluateAstNode.mjs.map +1 -0
  33. package/dist/extractor/extractHelpers.mjs +121 -0
  34. package/dist/extractor/extractHelpers.mjs.map +1 -0
  35. package/dist/extractor/extractMediaStyle.mjs +129 -0
  36. package/dist/extractor/extractMediaStyle.mjs.map +1 -0
  37. package/dist/extractor/extractToClassNames.mjs +304 -0
  38. package/dist/extractor/extractToClassNames.mjs.map +1 -0
  39. package/dist/extractor/extractToNative.mjs +262 -0
  40. package/dist/extractor/extractToNative.mjs.map +1 -0
  41. package/dist/extractor/findTopmostFunction.mjs +35 -0
  42. package/dist/extractor/findTopmostFunction.mjs.map +1 -0
  43. package/dist/extractor/{generatedUid.native.js → generatedUid.mjs} +26 -23
  44. package/dist/extractor/generatedUid.mjs.map +1 -0
  45. package/dist/extractor/getPrefixLogs.mjs +30 -0
  46. package/dist/extractor/getPrefixLogs.mjs.map +1 -0
  47. package/dist/extractor/getPropValueFromAttributes.mjs +68 -0
  48. package/dist/extractor/getPropValueFromAttributes.mjs.map +1 -0
  49. package/dist/extractor/getSourceModule.mjs +65 -0
  50. package/dist/extractor/getSourceModule.mjs.map +1 -0
  51. package/dist/extractor/getStaticBindingsForScope.mjs +149 -0
  52. package/dist/extractor/getStaticBindingsForScope.mjs.map +1 -0
  53. package/dist/extractor/getTamaguiConfigPathFromOptionsConfig.mjs +36 -0
  54. package/dist/extractor/getTamaguiConfigPathFromOptionsConfig.mjs.map +1 -0
  55. package/dist/extractor/literalToAst.mjs +85 -0
  56. package/dist/extractor/literalToAst.mjs.map +1 -0
  57. package/dist/extractor/loadFile.mjs +12 -0
  58. package/dist/extractor/loadFile.mjs.map +1 -0
  59. package/dist/extractor/loadTamagui.mjs +296 -0
  60. package/dist/extractor/loadTamagui.mjs.map +1 -0
  61. package/dist/extractor/logLines.mjs +36 -0
  62. package/dist/extractor/logLines.mjs.map +1 -0
  63. package/dist/extractor/{normalizeTernaries.native.js → normalizeTernaries.mjs} +45 -31
  64. package/dist/extractor/normalizeTernaries.mjs.map +1 -0
  65. package/dist/extractor/propsToFontFamilyCache.mjs +39 -0
  66. package/dist/extractor/propsToFontFamilyCache.mjs.map +1 -0
  67. package/dist/extractor/regenerateConfig.mjs +145 -0
  68. package/dist/extractor/regenerateConfig.mjs.map +1 -0
  69. package/dist/extractor/removeUnusedHooks.mjs +77 -0
  70. package/dist/extractor/removeUnusedHooks.mjs.map +1 -0
  71. package/dist/extractor/timer.mjs +44 -0
  72. package/dist/extractor/timer.mjs.map +1 -0
  73. package/dist/extractor/{validHTMLAttributes.native.js → validHTMLAttributes.mjs} +17 -16
  74. package/dist/extractor/validHTMLAttributes.mjs.map +1 -0
  75. package/dist/extractor/watchTamaguiConfig.mjs +59 -0
  76. package/dist/extractor/watchTamaguiConfig.mjs.map +1 -0
  77. package/dist/getPragmaOptions.mjs +55 -0
  78. package/dist/getPragmaOptions.mjs.map +1 -0
  79. package/dist/helpers/memoize.mjs +38 -0
  80. package/dist/helpers/memoize.mjs.map +1 -0
  81. package/dist/helpers/requireTamaguiCore.mjs +34 -0
  82. package/dist/helpers/requireTamaguiCore.mjs.map +1 -0
  83. package/dist/index.mjs +41 -0
  84. package/dist/index.mjs.map +1 -0
  85. package/dist/registerRequire.mjs +107 -0
  86. package/dist/registerRequire.mjs.map +1 -0
  87. package/dist/server.mjs +76 -0
  88. package/dist/server.mjs.map +1 -0
  89. package/dist/setup.mjs +2 -0
  90. package/dist/setup.mjs.map +1 -0
  91. package/dist/{types.native.js → types.mjs} +8 -6
  92. package/dist/types.mjs.map +1 -0
  93. package/package.json +19 -21
  94. package/dist/check-dep-versions.native.js +0 -602
  95. package/dist/check-dep-versions.native.js.map +0 -6
  96. package/dist/checkDeps.native.js +0 -34
  97. package/dist/checkDeps.native.js.map +0 -6
  98. package/dist/constants.native.js +0 -45
  99. package/dist/constants.native.js.map +0 -6
  100. package/dist/exports.native.js +0 -52
  101. package/dist/exports.native.js.map +0 -6
  102. package/dist/extractor/accessSafe.native.js +0 -48
  103. package/dist/extractor/accessSafe.native.js.map +0 -6
  104. package/dist/extractor/babelParse.native.js +0 -62
  105. package/dist/extractor/babelParse.native.js.map +0 -6
  106. package/dist/extractor/bundle.native.js +0 -168
  107. package/dist/extractor/bundle.native.js.map +0 -6
  108. package/dist/extractor/bundleConfig.native.js +0 -394
  109. package/dist/extractor/bundleConfig.native.js.map +0 -6
  110. package/dist/extractor/concatClassName.native.js +0 -69
  111. package/dist/extractor/concatClassName.native.js.map +0 -6
  112. package/dist/extractor/createEvaluator.native.js +0 -63
  113. package/dist/extractor/createEvaluator.native.js.map +0 -6
  114. package/dist/extractor/createExtractor.native.js +0 -1229
  115. package/dist/extractor/createExtractor.native.js.map +0 -6
  116. package/dist/extractor/createLogger.native.js +0 -35
  117. package/dist/extractor/createLogger.native.js.map +0 -6
  118. package/dist/extractor/errors.native.js +0 -119
  119. package/dist/extractor/errors.native.js.map +0 -6
  120. package/dist/extractor/esbuildAliasPlugin.native.js +0 -52
  121. package/dist/extractor/esbuildAliasPlugin.native.js.map +0 -6
  122. package/dist/extractor/esbuildTsconfigPaths.native.js +0 -79
  123. package/dist/extractor/esbuildTsconfigPaths.native.js.map +0 -6
  124. package/dist/extractor/evaluateAstNode.native.js +0 -98
  125. package/dist/extractor/evaluateAstNode.native.js.map +0 -6
  126. package/dist/extractor/extractHelpers.native.js +0 -183
  127. package/dist/extractor/extractHelpers.native.js.map +0 -6
  128. package/dist/extractor/extractMediaStyle.native.js +0 -138
  129. package/dist/extractor/extractMediaStyle.native.js.map +0 -6
  130. package/dist/extractor/extractToClassNames.native.js +0 -332
  131. package/dist/extractor/extractToClassNames.native.js.map +0 -6
  132. package/dist/extractor/extractToNative.native.js +0 -276
  133. package/dist/extractor/extractToNative.native.js.map +0 -6
  134. package/dist/extractor/findTopmostFunction.native.js +0 -37
  135. package/dist/extractor/findTopmostFunction.native.js.map +0 -6
  136. package/dist/extractor/generatedUid.native.js.map +0 -6
  137. package/dist/extractor/getPrefixLogs.native.js +0 -30
  138. package/dist/extractor/getPrefixLogs.native.js.map +0 -6
  139. package/dist/extractor/getPropValueFromAttributes.native.js +0 -68
  140. package/dist/extractor/getPropValueFromAttributes.native.js.map +0 -6
  141. package/dist/extractor/getSourceModule.native.js +0 -80
  142. package/dist/extractor/getSourceModule.native.js.map +0 -6
  143. package/dist/extractor/getStaticBindingsForScope.native.js +0 -183
  144. package/dist/extractor/getStaticBindingsForScope.native.js.map +0 -6
  145. package/dist/extractor/getTamaguiConfigPathFromOptionsConfig.native.js +0 -37
  146. package/dist/extractor/getTamaguiConfigPathFromOptionsConfig.native.js.map +0 -6
  147. package/dist/extractor/literalToAst.native.js +0 -106
  148. package/dist/extractor/literalToAst.native.js.map +0 -6
  149. package/dist/extractor/loadFile.native.js +0 -21
  150. package/dist/extractor/loadFile.native.js.map +0 -6
  151. package/dist/extractor/loadTamagui.native.js +0 -314
  152. package/dist/extractor/loadTamagui.native.js.map +0 -6
  153. package/dist/extractor/logLines.native.js +0 -53
  154. package/dist/extractor/logLines.native.js.map +0 -6
  155. package/dist/extractor/normalizeTernaries.native.js.map +0 -6
  156. package/dist/extractor/propsToFontFamilyCache.native.js +0 -40
  157. package/dist/extractor/propsToFontFamilyCache.native.js.map +0 -6
  158. package/dist/extractor/regenerateConfig.native.js +0 -148
  159. package/dist/extractor/regenerateConfig.native.js.map +0 -6
  160. package/dist/extractor/removeUnusedHooks.native.js +0 -111
  161. package/dist/extractor/removeUnusedHooks.native.js.map +0 -6
  162. package/dist/extractor/timer.native.js +0 -44
  163. package/dist/extractor/timer.native.js.map +0 -6
  164. package/dist/extractor/validHTMLAttributes.native.js.map +0 -6
  165. package/dist/extractor/watchTamaguiConfig.native.js +0 -60
  166. package/dist/extractor/watchTamaguiConfig.native.js.map +0 -6
  167. package/dist/getPragmaOptions.native.js +0 -62
  168. package/dist/getPragmaOptions.native.js.map +0 -6
  169. package/dist/helpers/memoize.native.js +0 -40
  170. package/dist/helpers/memoize.native.js.map +0 -6
  171. package/dist/helpers/requireTamaguiCore.native.js +0 -34
  172. package/dist/helpers/requireTamaguiCore.native.js.map +0 -6
  173. package/dist/index.native.js +0 -35
  174. package/dist/index.native.js.map +0 -6
  175. package/dist/registerRequire.native.js +0 -124
  176. package/dist/registerRequire.native.js.map +0 -6
  177. package/dist/server.native.js +0 -70
  178. package/dist/server.native.js.map +0 -6
  179. package/dist/setup.native.js +0 -2
  180. package/dist/setup.native.js.map +0 -6
  181. package/dist/types.native.js.map +0 -6
@@ -0,0 +1,55 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __export = (target, all) => {
6
+ for (var name in all) __defProp(target, name, {
7
+ get: all[name],
8
+ enumerable: !0
9
+ });
10
+ },
11
+ __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
13
+ get: () => from[key],
14
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
15
+ });
16
+ return to;
17
+ };
18
+ var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
19
+ value: !0
20
+ }), mod);
21
+ var getPragmaOptions_exports = {};
22
+ __export(getPragmaOptions_exports, {
23
+ getPragmaOptions: () => getPragmaOptions
24
+ });
25
+ module.exports = __toCommonJS(getPragmaOptions_exports);
26
+ function getPragmaOptions({
27
+ source,
28
+ path
29
+ }) {
30
+ let shouldPrintDebug = !1,
31
+ shouldDisable = !1;
32
+ const firstLines = source.slice(0, 800);
33
+ let pragma = "";
34
+ for (const line of firstLines.split(`
35
+ `)) if (pragma = line.match(/(\/\/|\/\*)\s?\!?\s?(tamagui-ignore|debug|debug-verbose)(\n|\s|$).*/)?.[2].trim() || "", pragma) {
36
+ pragma = pragma.replace("!", "").trim();
37
+ break;
38
+ }
39
+ switch (pragma) {
40
+ case "tamagui-ignore":
41
+ shouldDisable = !0;
42
+ break;
43
+ case "debug":
44
+ shouldPrintDebug = !0;
45
+ break;
46
+ case "debug-verbose":
47
+ shouldPrintDebug = "verbose";
48
+ break;
49
+ }
50
+ return process.env.TAMAGUI_DEBUG_FILE && path.includes(process.env.TAMAGUI_DEBUG_FILE) && (shouldPrintDebug = "verbose"), process.env.DEBUG?.includes("tamagui") && (shouldPrintDebug ||= !0), process.env.DEBUG?.includes("tamagui-verbose") && (shouldPrintDebug = "verbose"), {
51
+ shouldPrintDebug,
52
+ shouldDisable
53
+ };
54
+ }
55
+ //# sourceMappingURL=getPragmaOptions.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["getPragmaOptions_exports","__export","getPragmaOptions","module","exports","__toCommonJS","source","path","shouldPrintDebug","shouldDisable","firstLines","slice","pragma","line","split","match","trim","replace","process","env","TAMAGUI_DEBUG_FILE","includes","DEBUG"],"sources":["../src/getPragmaOptions.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,wBAAA;AAAAC,QAAA,CAAAD,wBAAA;EAAAE,gBAAA,EAAAA,CAAA,KAAAA;AAAA;AAAAC,MAAA,CAAAC,OAAA,GAAAC,YAAA,CAAAL,wBAAA;AAAO,SAASE,iBAAiB;EAC/BI,MAAA;EACAC;AACF,GAGG;EACD,IAAIC,gBAAA,GAAwC;IACxCC,aAAA,GAAgB;EAGpB,MAAMC,UAAA,GAAaJ,MAAA,CAAOK,KAAA,CAAM,GAAG,GAAG;EAEtC,IAAIC,MAAA,GAAS;EACb,WAAWC,IAAA,IAAQH,UAAA,CAAWI,KAAA,CAAM;AAAA,CAAI,GAKtC,IAJAF,MAAA,GACEC,IAAA,CACGE,KAAA,CAAM,qEAAqE,IAAI,CAAC,EAChFC,IAAA,CAAK,KAAK,IACXJ,MAAA,EAAQ;IACVA,MAAA,GAASA,MAAA,CAAOK,OAAA,CAAQ,KAAK,EAAE,EAAED,IAAA,CAAK;IACtC;EACF;EAGF,QAAQJ,MAAA;IACN,KAAK;MACHH,aAAA,GAAgB;MAChB;IAEF,KAAK;MACHD,gBAAA,GAAmB;MACnB;IAEF,KAAK;MACHA,gBAAA,GAAmB;MACnB;EACJ;EAEA,OAAIU,OAAA,CAAQC,GAAA,CAAIC,kBAAA,IACVb,IAAA,CAAKc,QAAA,CAASH,OAAA,CAAQC,GAAA,CAAIC,kBAAkB,MAC9CZ,gBAAA,GAAmB,YAInBU,OAAA,CAAQC,GAAA,CAAIG,KAAA,EAAOD,QAAA,CAAS,SAAS,MACvCb,gBAAA,KAAqB,KAGnBU,OAAA,CAAQC,GAAA,CAAIG,KAAA,EAAOD,QAAA,CAAS,iBAAiB,MAC/Cb,gBAAA,GAAmB,YAGd;IACLA,gBAAA;IACAC;EACF;AACF","ignoreList":[]}
@@ -0,0 +1,38 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __export = (target, all) => {
6
+ for (var name in all) __defProp(target, name, {
7
+ get: all[name],
8
+ enumerable: !0
9
+ });
10
+ },
11
+ __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
13
+ get: () => from[key],
14
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
15
+ });
16
+ return to;
17
+ };
18
+ var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
19
+ value: !0
20
+ }), mod);
21
+ var memoize_exports = {};
22
+ __export(memoize_exports, {
23
+ memoize: () => memoize
24
+ });
25
+ module.exports = __toCommonJS(memoize_exports);
26
+ function memoize(func, resolver) {
27
+ if (typeof func != "function" || resolver != null && typeof resolver != "function") throw new TypeError("Expected a function");
28
+ const memoized = function (...args) {
29
+ const key = resolver ? resolver.apply(this, args) : args[0],
30
+ cache = memoized.cache;
31
+ if (cache.has(key)) return cache.get(key);
32
+ const result = func.apply(this, args);
33
+ return memoized.cache = cache.set(key, result) || cache, result;
34
+ };
35
+ return memoized.cache = new (memoize.Cache || Map)(), memoized;
36
+ }
37
+ memoize.Cache = Map;
38
+ //# sourceMappingURL=memoize.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["memoize_exports","__export","memoize","module","exports","__toCommonJS","func","resolver","TypeError","memoized","args","key","apply","cache","has","get","result","set","Cache","Map"],"sources":["../../src/helpers/memoize.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,eAAA;AAAAC,QAAA,CAAAD,eAAA;EAAAE,OAAA,EAAAA,CAAA,KAAAA;AAAA;AAAAC,MAAA,CAAAC,OAAA,GAAAC,YAAA,CAAAL,eAAA;AACO,SAASE,QAAQI,IAAA,EAAiBC,QAAA,EAAgB;EACvD,IACE,OAAOD,IAAA,IAAS,cACfC,QAAA,IAAY,QAAQ,OAAOA,QAAA,IAAa,YAEzC,MAAM,IAAIC,SAAA,CAAU,qBAAqB;EAE3C,MAAMC,QAAA,GAAW,SAAAA,CAAA,GAAaC,IAAA,EAAM;IAClC,MAAMC,GAAA,GAAMJ,QAAA,GAAWA,QAAA,CAASK,KAAA,CAAM,MAAMF,IAAI,IAAIA,IAAA,CAAK,CAAC;MACpDG,KAAA,GAAQJ,QAAA,CAASI,KAAA;IAEvB,IAAIA,KAAA,CAAMC,GAAA,CAAIH,GAAG,GACf,OAAOE,KAAA,CAAME,GAAA,CAAIJ,GAAG;IAEtB,MAAMK,MAAA,GAASV,IAAA,CAAKM,KAAA,CAAM,MAAMF,IAAI;IACpC,OAAAD,QAAA,CAASI,KAAA,GAAQA,KAAA,CAAMI,GAAA,CAAIN,GAAA,EAAKK,MAAM,KAAKH,KAAA,EACpCG,MAAA;EACT;EACA,OAAAP,QAAA,CAASI,KAAA,GAAQ,KAAKX,OAAA,CAAQgB,KAAA,IAASC,GAAA,EAAK,GACrCV,QAAA;AACT;AAEAP,OAAA,CAAQgB,KAAA,GAAQC,GAAA","ignoreList":[]}
@@ -0,0 +1,34 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __export = (target, all) => {
6
+ for (var name in all) __defProp(target, name, {
7
+ get: all[name],
8
+ enumerable: !0
9
+ });
10
+ },
11
+ __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
13
+ get: () => from[key],
14
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
15
+ });
16
+ return to;
17
+ };
18
+ var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
19
+ value: !0
20
+ }), mod);
21
+ var requireTamaguiCore_exports = {};
22
+ __export(requireTamaguiCore_exports, {
23
+ requireTamaguiCore: () => requireTamaguiCore
24
+ });
25
+ module.exports = __toCommonJS(requireTamaguiCore_exports);
26
+ function requireTamaguiCore(platform, ogRequire = require) {
27
+ if (!platform) throw new Error("No platform given to requireTamaguiCore");
28
+ const og1 = process.env.TAMAGUI_IS_SERVER,
29
+ og2 = process.env.TAMAGUI_KEEP_THEMES;
30
+ process.env.TAMAGUI_IS_SERVER ||= "1", process.env.TAMAGUI_KEEP_THEMES ||= "1";
31
+ const exported = ogRequire(platform === "native" ? "@tamagui/core/native" : "@tamagui/core");
32
+ return process.env.TAMAGUI_IS_SERVER = og1, process.env.TAMAGUI_KEEP_THEMES = og2, exported;
33
+ }
34
+ //# sourceMappingURL=requireTamaguiCore.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["requireTamaguiCore_exports","__export","requireTamaguiCore","module","exports","__toCommonJS","platform","ogRequire","require","Error","og1","process","env","TAMAGUI_IS_SERVER","og2","TAMAGUI_KEEP_THEMES","exported"],"sources":["../../src/helpers/requireTamaguiCore.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,0BAAA;AAAAC,QAAA,CAAAD,0BAAA;EAAAE,kBAAA,EAAAA,CAAA,KAAAA;AAAA;AAAAC,MAAA,CAAAC,OAAA,GAAAC,YAAA,CAAAL,0BAAA;AAIO,SAASE,mBACdI,QAAA,EACAC,SAAA,GAAsBC,OAAA,EACU;EAChC,IAAI,CAACF,QAAA,EACH,MAAM,IAAIG,KAAA,CAAM,yCAAyC;EAI3D,MAAMC,GAAA,GAAMC,OAAA,CAAQC,GAAA,CAAIC,iBAAA;IAClBC,GAAA,GAAMH,OAAA,CAAQC,GAAA,CAAIG,mBAAA;EACxBJ,OAAA,CAAQC,GAAA,CAAIC,iBAAA,KAAsB,KAClCF,OAAA,CAAQC,GAAA,CAAIG,mBAAA,KAAwB;EAEpC,MAAMC,QAAA,GAAWT,SAAA,CACfD,QAAA,KAAa,WAAW,yBAAyB,eACnD;EAGA,OAAAK,OAAA,CAAQC,GAAA,CAAIC,iBAAA,GAAoBH,GAAA,EAChCC,OAAA,CAAQC,GAAA,CAAIG,mBAAA,GAAsBD,GAAA,EAE3BE,QAAA;AACT","ignoreList":[]}
package/dist/index.mjs ADDED
@@ -0,0 +1,41 @@
1
+ var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getProtoOf = Object.getPrototypeOf,
6
+ __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all) __defProp(target, name, {
9
+ get: all[name],
10
+ enumerable: !0
11
+ });
12
+ },
13
+ __copyProps = (to, from, except, desc) => {
14
+ if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
15
+ get: () => from[key],
16
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
17
+ });
18
+ return to;
19
+ },
20
+ __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default")),
21
+ __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
22
+ // If the importer is in node compatibility mode or this is not an ESM
23
+ // file that has been converted to a CommonJS file using a Babel-
24
+ // compatible transform (i.e. "__esModule" has not been set), then set
25
+ // "default" to the CommonJS "module.exports" for node compatibility.
26
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
27
+ value: mod,
28
+ enumerable: !0
29
+ }) : target, mod)),
30
+ __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
31
+ value: !0
32
+ }), mod);
33
+ var index_exports = {};
34
+ __export(index_exports, {
35
+ default: () => index_default
36
+ });
37
+ module.exports = __toCommonJS(index_exports);
38
+ var Static1 = __toESM(require("./exports.mjs"));
39
+ __reExport(index_exports, require("./exports.mjs"), module.exports);
40
+ var index_default = Static1;
41
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["index_exports","__export","default","index_default","module","exports","__toCommonJS","Static1","__toESM","require","__reExport"],"sources":["../src/index.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,aAAA;AAAAC,QAAA,CAAAD,aAAA;EAAAE,OAAA,EAAAA,CAAA,KAAAC;AAAA;AAAAC,MAAA,CAAAC,OAAA,GAAAC,YAAA,CAAAN,aAAA;AACA,IAAAO,OAAA,GAAyBC,OAAA,CAAAC,OAAA;AACzBC,UAAA,CAAAV,aAAA,EAAcS,OAAA,mBAFdL,MAAA,CAAAC,OAAA;AAGA,IAAOF,aAAA,GAAQI,OAAA","ignoreList":[]}
@@ -0,0 +1,107 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __export = (target, all) => {
6
+ for (var name in all) __defProp(target, name, {
7
+ get: all[name],
8
+ enumerable: !0
9
+ });
10
+ },
11
+ __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
13
+ get: () => from[key],
14
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
15
+ });
16
+ return to;
17
+ };
18
+ var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
19
+ value: !0
20
+ }), mod);
21
+ var registerRequire_exports = {};
22
+ __export(registerRequire_exports, {
23
+ getNameToPaths: () => getNameToPaths,
24
+ registerRequire: () => registerRequire,
25
+ setRequireResult: () => setRequireResult
26
+ });
27
+ module.exports = __toCommonJS(registerRequire_exports);
28
+ var import_node = require("esbuild-register/dist/node"),
29
+ import_bundle = require("./extractor/bundle.mjs"),
30
+ import_requireTamaguiCore = require("./helpers/requireTamaguiCore.mjs");
31
+ const nameToPaths = {},
32
+ getNameToPaths = () => nameToPaths,
33
+ Module = require("node:module"),
34
+ proxyWorm = require("@tamagui/proxy-worm");
35
+ let isRegistered = !1,
36
+ og;
37
+ const whitelisted = {
38
+ react: !0
39
+ },
40
+ compiled = {};
41
+ function setRequireResult(name, result) {
42
+ compiled[name] = result;
43
+ }
44
+ function registerRequire(platform, {
45
+ proxyWormImports
46
+ } = {
47
+ proxyWormImports: !1
48
+ }) {
49
+ if (isRegistered) return {
50
+ tamaguiRequire: require,
51
+ unregister: () => {}
52
+ };
53
+ const {
54
+ unregister
55
+ } = (0, import_node.register)({
56
+ hookIgnoreNodeModules: !1
57
+ });
58
+ og || (og = Module.prototype.require), isRegistered = !0, Module.prototype.require = tamaguiRequire;
59
+ function tamaguiRequire(path) {
60
+ if (path === "tamagui" && platform === "native") return og.apply(this, ["tamagui/native"]);
61
+ if (path === "@tamagui/core") return (0, import_requireTamaguiCore.requireTamaguiCore)(platform, path2 => og.apply(this, [path2]));
62
+ if (path in knownIgnorableModules || path.startsWith("react-native-reanimated") || import_bundle.esbuildIgnoreFilesRegex.test(path)) return proxyWorm;
63
+ if (path in compiled) return compiled[path];
64
+ if (path === "react-native-svg") return og.apply(this, ["@tamagui/react-native-svg"]);
65
+ if (path === "react-native/package.json") return og.apply(this, ["react-native-web/package.json"]);
66
+ if (path === "@tamagui/react-native-web-lite" || path === "react-native" || path.startsWith("react-native/")) try {
67
+ return og.apply("react-native");
68
+ } catch {
69
+ return og.apply(this, ["@tamagui/react-native-web-lite"]);
70
+ }
71
+ if (!whitelisted[path] && proxyWormImports && !path.includes(".tamagui-dynamic-eval")) return path === "tamagui" ? og.apply(this, [path]) : proxyWorm;
72
+ try {
73
+ return og.apply(this, arguments);
74
+ } catch (err) {
75
+ return !process.env.TAMAGUI_ENABLE_WARN_DYNAMIC_LOAD && path.includes("tamagui-dynamic-eval") ? void 0 : (allowedIgnores[path] || IGNORES === "true" || (!process.env.TAMAGUI_SHOW_FULL_BUNDLE_ERRORS && !process.env.DEBUG ? hasWarnedForModules.has(path) || hasWarnedForModules.add(path) : console.error(`Tamagui failed to require() "${path}"
76
+
77
+ ${err.message}
78
+ ${err.stack}
79
+
80
+ `)), proxyWorm);
81
+ }
82
+ }
83
+ return {
84
+ tamaguiRequire,
85
+ unregister: () => {
86
+ hasWarnedForModules.size && (console.info(` [tamagui] skipped loading ${hasWarnedForModules.size} module, see: https://tamagui.dev/docs/intro/errors#warning-001`), hasWarnedForModules.clear()), unregister(), isRegistered = !1, Module.prototype.require = og;
87
+ }
88
+ };
89
+ }
90
+ const IGNORES = process.env.TAMAGUI_IGNORE_BUNDLE_ERRORS,
91
+ extraIgnores = IGNORES === "true" ? [] : process.env.TAMAGUI_IGNORE_BUNDLE_ERRORS?.split(","),
92
+ knownIgnorableModules = {
93
+ "@gorhom/bottom-sheet": !0,
94
+ "expo-modules": !0,
95
+ solito: !0,
96
+ "expo-linear-gradient": !0,
97
+ "@expo/vector-icons": !0,
98
+ "tamagui/linear-gradient": !0,
99
+ ...Object.fromEntries(extraIgnores?.map(k => [k, !0]) || [])
100
+ },
101
+ hasWarnedForModules = /* @__PURE__ */new Set(),
102
+ allowedIgnores = {
103
+ "expo-constants": !0,
104
+ "./ExpoHaptics": !0,
105
+ "./js/MaskedView": !0
106
+ };
107
+ //# sourceMappingURL=registerRequire.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["registerRequire_exports","__export","getNameToPaths","registerRequire","setRequireResult","module","exports","__toCommonJS","import_node","require","import_bundle","import_requireTamaguiCore","nameToPaths","Module","proxyWorm","isRegistered","og","whitelisted","react","compiled","name","result","platform","proxyWormImports","tamaguiRequire","unregister","register","hookIgnoreNodeModules","prototype","path","apply","requireTamaguiCore","path2","knownIgnorableModules","startsWith","esbuildIgnoreFilesRegex","test","includes","arguments","err","process","env","TAMAGUI_ENABLE_WARN_DYNAMIC_LOAD","allowedIgnores","IGNORES","TAMAGUI_SHOW_FULL_BUNDLE_ERRORS","DEBUG","hasWarnedForModules","has","add","console","error","message","stack","size","info","clear","TAMAGUI_IGNORE_BUNDLE_ERRORS","extraIgnores","split","solito","Object","fromEntries","map","k","Set"],"sources":["../src/registerRequire.ts"],"sourcesContent":[null],"mappings":"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","ignoreList":[]}
@@ -0,0 +1,76 @@
1
+ var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getProtoOf = Object.getPrototypeOf,
6
+ __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all) __defProp(target, name, {
9
+ get: all[name],
10
+ enumerable: !0
11
+ });
12
+ },
13
+ __copyProps = (to, from, except, desc) => {
14
+ if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
15
+ get: () => from[key],
16
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
17
+ });
18
+ return to;
19
+ };
20
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
21
+ // If the importer is in node compatibility mode or this is not an ESM
22
+ // file that has been converted to a CommonJS file using a Babel-
23
+ // compatible transform (i.e. "__esModule" has not been set), then set
24
+ // "default" to the CommonJS "module.exports" for node compatibility.
25
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
26
+ value: mod,
27
+ enumerable: !0
28
+ }) : target, mod)),
29
+ __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
30
+ value: !0
31
+ }), mod);
32
+ var server_exports = {};
33
+ __export(server_exports, {
34
+ startServer: () => startServer
35
+ });
36
+ module.exports = __toCommonJS(server_exports);
37
+ var import_node_net = __toESM(require("node:net"));
38
+ async function startServer(options) {
39
+ const port = await getAvailablePort(),
40
+ server = import_node_net.default.createServer();
41
+ server.unref(), await new Promise((resolve, reject) => {
42
+ server.on("error", reject), server.on("connection", conn => {
43
+ conn.on("data", data => {
44
+ console.info("got", data.toString());
45
+ });
46
+ }), server.listen({
47
+ port
48
+ }, () => {
49
+ const {
50
+ port: port2
51
+ } = server.address();
52
+ server.close(() => {
53
+ resolve(port2);
54
+ });
55
+ });
56
+ });
57
+ }
58
+ async function getAvailablePort(port = 8089) {
59
+ return checkAvailablePort(port).catch(() => getAvailablePort(port + 1));
60
+ }
61
+ function checkAvailablePort(port) {
62
+ return new Promise((resolve, reject) => {
63
+ const server = import_node_net.default.createServer();
64
+ server.unref(), server.on("error", reject), server.listen({
65
+ port
66
+ }, () => {
67
+ const {
68
+ port: port2
69
+ } = server.address();
70
+ server.close(() => {
71
+ resolve(port2);
72
+ });
73
+ });
74
+ });
75
+ }
76
+ //# sourceMappingURL=server.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["server_exports","__export","startServer","module","exports","__toCommonJS","import_node_net","__toESM","require","options","port","getAvailablePort","server","default","createServer","unref","Promise","resolve","reject","on","conn","data","console","info","toString","listen","port2","address","close","checkAvailablePort","catch"],"sources":["../src/server.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,cAAA;AAAAC,QAAA,CAAAD,cAAA;EAAAE,WAAA,EAAAA,CAAA,KAAAA;AAAA;AAAAC,MAAA,CAAAC,OAAA,GAAAC,YAAA,CAAAL,cAAA;AAEA,IAAAM,eAAA,GAAgBC,OAAA,CAAAC,OAAA;AAEhB,eAAsBN,YAAYO,OAAA,EAAyB;EACzD,MAAMC,IAAA,GAAO,MAAMC,gBAAA,CAAiB;IAC9BC,MAAA,GAASN,eAAA,CAAAO,OAAA,CAAIC,YAAA,CAAa;EAChCF,MAAA,CAAOG,KAAA,CAAM,GAEb,MAAM,IAAIC,OAAA,CAAQ,CAACC,OAAA,EAASC,MAAA,KAAW;IACrCN,MAAA,CAAOO,EAAA,CAAG,SAASD,MAAM,GACzBN,MAAA,CAAOO,EAAA,CAAG,cAAeC,IAAA,IAAS;MAChCA,IAAA,CAAKD,EAAA,CAAG,QAASE,IAAA,IAAS;QACxBC,OAAA,CAAQC,IAAA,CAAK,OAAOF,IAAA,CAAKG,QAAA,CAAS,CAAC;MACrC,CAAC;IACH,CAAC,GACDZ,MAAA,CAAOa,MAAA,CAAO;MAAEf;IAAK,GAAG,MAAM;MAC5B,MAAM;QAAEA,IAAA,EAAAgB;MAAK,IAAId,MAAA,CAAOe,OAAA,CAAQ;MAChCf,MAAA,CAAOgB,KAAA,CAAM,MAAM;QACjBX,OAAA,CAAQS,KAAI;MACd,CAAC;IACH,CAAC;EACH,CAAC;AACH;AAEA,eAAef,iBAAiBD,IAAA,GAAO,MAAuB;EAC5D,OAAOmB,kBAAA,CAAmBnB,IAAI,EAAEoB,KAAA,CAAM,MAAMnB,gBAAA,CAAiBD,IAAA,GAAO,CAAC,CAAC;AACxE;AAEA,SAASmB,mBAAmBnB,IAAA,EAAc;EACxC,OAAO,IAAIM,OAAA,CAAgB,CAACC,OAAA,EAASC,MAAA,KAAW;IAC9C,MAAMN,MAAA,GAASN,eAAA,CAAAO,OAAA,CAAIC,YAAA,CAAa;IAChCF,MAAA,CAAOG,KAAA,CAAM,GACbH,MAAA,CAAOO,EAAA,CAAG,SAASD,MAAM,GAEzBN,MAAA,CAAOa,MAAA,CAAO;MAAEf;IAAK,GAAG,MAAM;MAC5B,MAAM;QAAEA,IAAA,EAAAgB;MAAK,IAAId,MAAA,CAAOe,OAAA,CAAQ;MAChCf,MAAA,CAAOgB,KAAA,CAAM,MAAM;QACjBX,OAAA,CAAQS,KAAI;MACd,CAAC;IACH,CAAC;EACH,CAAC;AACH","ignoreList":[]}
package/dist/setup.mjs ADDED
@@ -0,0 +1,2 @@
1
+
2
+ //# sourceMappingURL=setup.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sources":[],"sourcesContent":[],"mappings":"","ignoreList":[]}
@@ -1,15 +1,17 @@
1
- "use strict";
2
1
  var __defProp = Object.defineProperty;
3
2
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
3
  var __getOwnPropNames = Object.getOwnPropertyNames;
5
4
  var __hasOwnProp = Object.prototype.hasOwnProperty;
6
5
  var __copyProps = (to, from, except, desc) => {
7
- if (from && typeof from == "object" || typeof from == "function")
8
- for (let key of __getOwnPropNames(from))
9
- !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
6
+ if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
7
+ get: () => from[key],
8
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
9
+ });
10
10
  return to;
11
11
  };
12
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
12
+ var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
13
+ value: !0
14
+ }), mod);
13
15
  var types_exports = {};
14
16
  module.exports = __toCommonJS(types_exports);
15
- //# sourceMappingURL=types.js.map
17
+ //# sourceMappingURL=types.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["types_exports","module","exports","__toCommonJS"],"sources":["../src/types.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;AAAA,IAAAA,aAAA;AAAAC,MAAA,CAAAC,OAAA,GAAAC,YAAA,CAAAH,aAAA","ignoreList":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tamagui/static",
3
- "version": "1.135.4",
3
+ "version": "1.135.6",
4
4
  "source": "src/index.ts",
5
5
  "types": "./types/index.d.ts",
6
6
  "type": "commonjs",
@@ -11,8 +11,8 @@
11
11
  "dist"
12
12
  ],
13
13
  "scripts": {
14
- "build": "tamagui-build",
15
- "watch": "tamagui-build --watch",
14
+ "build": "tamagui-build --skip-native",
15
+ "watch": "tamagui-build --skip-native --watch",
16
16
  "clean": "tamagui-build clean",
17
17
  "clean:build": "tamagui-build clean:build",
18
18
  "lint": "biome check src",
@@ -23,9 +23,7 @@
23
23
  ".": {
24
24
  "types": "./types/index.d.ts",
25
25
  "require": "./dist/index.js",
26
- "import": "./dist/index.js",
27
- "react-native": "./dist/index.native.js",
28
- "default": "./dist/index.native.js"
26
+ "import": "./dist/index.js"
29
27
  }
30
28
  },
31
29
  "tests": {
@@ -45,23 +43,23 @@
45
43
  "@babel/template": "^7.25.0",
46
44
  "@babel/traverse": "^7.25.4",
47
45
  "@babel/types": "^7.25.4",
48
- "@tamagui/cli-color": "1.135.4",
49
- "@tamagui/config-default": "1.135.4",
50
- "@tamagui/core": "1.135.4",
51
- "@tamagui/fake-react-native": "1.135.4",
52
- "@tamagui/generate-themes": "1.135.4",
53
- "@tamagui/helpers": "1.135.4",
54
- "@tamagui/helpers-node": "1.135.4",
55
- "@tamagui/proxy-worm": "1.135.4",
56
- "@tamagui/react-native-web-internals": "1.135.4",
57
- "@tamagui/react-native-web-lite": "1.135.4",
58
- "@tamagui/shorthands": "1.135.4",
59
- "@tamagui/types": "1.135.4",
60
- "@tamagui/web": "1.135.4",
46
+ "@tamagui/cli-color": "1.135.6",
47
+ "@tamagui/config-default": "1.135.6",
48
+ "@tamagui/core": "1.135.6",
49
+ "@tamagui/fake-react-native": "1.135.6",
50
+ "@tamagui/generate-themes": "1.135.6",
51
+ "@tamagui/helpers": "1.135.6",
52
+ "@tamagui/helpers-node": "1.135.6",
53
+ "@tamagui/proxy-worm": "1.135.6",
54
+ "@tamagui/react-native-web-internals": "1.135.6",
55
+ "@tamagui/react-native-web-lite": "1.135.6",
56
+ "@tamagui/shorthands": "1.135.6",
57
+ "@tamagui/types": "1.135.6",
58
+ "@tamagui/web": "1.135.6",
61
59
  "babel-literal-to-ast": "^2.1.0",
62
60
  "browserslist": "^4.22.2",
63
61
  "check-dependency-version-consistency": "^4.1.0",
64
- "esbuild": "^0.25.0",
62
+ "esbuild": "^0.25.11",
65
63
  "esbuild-register": "^3.6.0",
66
64
  "fast-glob": "^3.2.11",
67
65
  "find-cache-dir": "^3.3.2",
@@ -74,7 +72,7 @@
74
72
  "devDependencies": {
75
73
  "@babel/plugin-syntax-typescript": "^7.25.4",
76
74
  "@expo/match-media": "^0.4.0",
77
- "@tamagui/build": "1.135.4",
75
+ "@tamagui/build": "1.135.6",
78
76
  "@types/babel__core": "^7.20.5",
79
77
  "@types/find-root": "^1.1.2",
80
78
  "@types/node": "^22.1.0",