@tamagui/static 1.101.3 → 1.101.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (141) hide show
  1. package/dist/cjs/checkDeps.native.js.map +1 -1
  2. package/dist/cjs/constants.native.js.map +1 -1
  3. package/dist/cjs/extractor/accessSafe.native.js.map +1 -1
  4. package/dist/cjs/extractor/babelParse.native.js.map +1 -1
  5. package/dist/cjs/extractor/buildClassName.native.js.map +1 -1
  6. package/dist/cjs/extractor/bundle.native.js.map +1 -1
  7. package/dist/cjs/extractor/bundleConfig.js.map +1 -1
  8. package/dist/cjs/extractor/bundleConfig.native.js.map +2 -2
  9. package/dist/cjs/extractor/createEvaluator.native.js.map +1 -1
  10. package/dist/cjs/extractor/createExtractor.js +4 -3
  11. package/dist/cjs/extractor/createExtractor.js.map +1 -1
  12. package/dist/cjs/extractor/createExtractor.native.js +7 -23
  13. package/dist/cjs/extractor/createExtractor.native.js.map +3 -3
  14. package/dist/cjs/extractor/createLogger.native.js.map +1 -1
  15. package/dist/cjs/extractor/ensureImportingConcat.native.js.map +1 -1
  16. package/dist/cjs/extractor/esbuildAliasPlugin.native.js.map +1 -1
  17. package/dist/cjs/extractor/evaluateAstNode.native.js.map +1 -1
  18. package/dist/cjs/extractor/extractHelpers.native.js.map +1 -1
  19. package/dist/cjs/extractor/extractMediaStyle.native.js.map +1 -1
  20. package/dist/cjs/extractor/extractToClassNames.native.js.map +1 -1
  21. package/dist/cjs/extractor/extractToNative.js +8 -8
  22. package/dist/cjs/extractor/extractToNative.js.map +1 -1
  23. package/dist/cjs/extractor/extractToNative.native.js +8 -8
  24. package/dist/cjs/extractor/extractToNative.native.js.map +2 -2
  25. package/dist/cjs/extractor/findTopmostFunction.native.js.map +1 -1
  26. package/dist/cjs/extractor/generateTamaguiStudioConfig.native.js.map +1 -1
  27. package/dist/cjs/extractor/generatedUid.native.js.map +1 -1
  28. package/dist/cjs/extractor/getPrefixLogs.native.js.map +1 -1
  29. package/dist/cjs/extractor/getPropValueFromAttributes.native.js.map +1 -1
  30. package/dist/cjs/extractor/getSourceModule.native.js.map +1 -1
  31. package/dist/cjs/extractor/getStaticBindingsForScope.native.js.map +1 -1
  32. package/dist/cjs/extractor/getTamaguiConfigPathFromOptionsConfig.native.js.map +1 -1
  33. package/dist/cjs/extractor/hoistClassNames.native.js.map +1 -1
  34. package/dist/cjs/extractor/literalToAst.native.js.map +1 -1
  35. package/dist/cjs/extractor/loadFile.native.js.map +1 -1
  36. package/dist/cjs/extractor/loadTamagui.native.js.map +1 -1
  37. package/dist/cjs/extractor/logLines.native.js.map +1 -1
  38. package/dist/cjs/extractor/normalizeTernaries.native.js.map +1 -1
  39. package/dist/cjs/extractor/propsToFontFamilyCache.native.js.map +1 -1
  40. package/dist/cjs/extractor/removeUnusedHooks.native.js.map +1 -1
  41. package/dist/cjs/extractor/timer.native.js.map +1 -1
  42. package/dist/cjs/extractor/validHTMLAttributes.native.js.map +1 -1
  43. package/dist/cjs/extractor/watchTamaguiConfig.native.js.map +1 -1
  44. package/dist/cjs/getPragmaOptions.native.js.map +1 -1
  45. package/dist/cjs/helpers/memoize.native.js.map +1 -1
  46. package/dist/cjs/helpers/requireTamaguiCore.js +6 -1
  47. package/dist/cjs/helpers/requireTamaguiCore.js.map +1 -1
  48. package/dist/cjs/helpers/requireTamaguiCore.native.js +5 -2
  49. package/dist/cjs/helpers/requireTamaguiCore.native.js.map +3 -3
  50. package/dist/cjs/index.js +0 -1
  51. package/dist/cjs/index.js.map +1 -1
  52. package/dist/cjs/index.native.js +0 -1
  53. package/dist/cjs/index.native.js.map +2 -2
  54. package/dist/cjs/minifyCSS.native.js.map +1 -1
  55. package/dist/cjs/registerRequire.native.js.map +1 -1
  56. package/dist/cjs/server.native.js.map +1 -1
  57. package/dist/cjs/setup.js +0 -1
  58. package/dist/cjs/setup.js.map +2 -2
  59. package/dist/cjs/setup.native.js +0 -1
  60. package/dist/cjs/setup.native.js.map +3 -3
  61. package/dist/cjs/types.native.js.map +1 -1
  62. package/dist/esm/checkDeps.native.js.map +1 -1
  63. package/dist/esm/constants.native.js.map +1 -1
  64. package/dist/esm/extractor/accessSafe.native.js.map +1 -1
  65. package/dist/esm/extractor/babelParse.native.js.map +1 -1
  66. package/dist/esm/extractor/buildClassName.native.js.map +1 -1
  67. package/dist/esm/extractor/bundle.native.js.map +1 -1
  68. package/dist/esm/extractor/bundleConfig.js.map +1 -1
  69. package/dist/esm/extractor/bundleConfig.native.js.map +2 -2
  70. package/dist/esm/extractor/createEvaluator.native.js.map +1 -1
  71. package/dist/esm/extractor/createExtractor.js +4 -3
  72. package/dist/esm/extractor/createExtractor.js.map +1 -1
  73. package/dist/esm/extractor/createExtractor.mjs +5 -3
  74. package/dist/esm/extractor/createExtractor.native.js +7 -23
  75. package/dist/esm/extractor/createExtractor.native.js.map +3 -3
  76. package/dist/esm/extractor/createLogger.native.js.map +1 -1
  77. package/dist/esm/extractor/ensureImportingConcat.native.js.map +1 -1
  78. package/dist/esm/extractor/esbuildAliasPlugin.native.js.map +1 -1
  79. package/dist/esm/extractor/evaluateAstNode.native.js.map +1 -1
  80. package/dist/esm/extractor/extractHelpers.native.js.map +1 -1
  81. package/dist/esm/extractor/extractMediaStyle.native.js.map +1 -1
  82. package/dist/esm/extractor/extractToClassNames.native.js.map +1 -1
  83. package/dist/esm/extractor/extractToNative.js +6 -8
  84. package/dist/esm/extractor/extractToNative.js.map +1 -1
  85. package/dist/esm/extractor/extractToNative.mjs +6 -1
  86. package/dist/esm/extractor/extractToNative.native.js +6 -1
  87. package/dist/esm/extractor/extractToNative.native.js.map +3 -3
  88. package/dist/esm/extractor/findTopmostFunction.native.js.map +1 -1
  89. package/dist/esm/extractor/generateTamaguiStudioConfig.native.js.map +1 -1
  90. package/dist/esm/extractor/generatedUid.native.js.map +1 -1
  91. package/dist/esm/extractor/getPrefixLogs.native.js.map +1 -1
  92. package/dist/esm/extractor/getPropValueFromAttributes.native.js.map +1 -1
  93. package/dist/esm/extractor/getSourceModule.native.js.map +1 -1
  94. package/dist/esm/extractor/getStaticBindingsForScope.native.js.map +1 -1
  95. package/dist/esm/extractor/getTamaguiConfigPathFromOptionsConfig.native.js.map +1 -1
  96. package/dist/esm/extractor/hoistClassNames.native.js.map +1 -1
  97. package/dist/esm/extractor/literalToAst.native.js.map +1 -1
  98. package/dist/esm/extractor/loadFile.native.js.map +1 -1
  99. package/dist/esm/extractor/loadTamagui.native.js.map +1 -1
  100. package/dist/esm/extractor/logLines.native.js.map +1 -1
  101. package/dist/esm/extractor/normalizeTernaries.native.js.map +1 -1
  102. package/dist/esm/extractor/propsToFontFamilyCache.native.js.map +1 -1
  103. package/dist/esm/extractor/removeUnusedHooks.native.js.map +1 -1
  104. package/dist/esm/extractor/timer.native.js.map +1 -1
  105. package/dist/esm/extractor/validHTMLAttributes.native.js.map +1 -1
  106. package/dist/esm/extractor/watchTamaguiConfig.native.js.map +1 -1
  107. package/dist/esm/getPragmaOptions.native.js.map +1 -1
  108. package/dist/esm/helpers/memoize.native.js.map +1 -1
  109. package/dist/esm/helpers/requireTamaguiCore.js +6 -1
  110. package/dist/esm/helpers/requireTamaguiCore.js.map +1 -1
  111. package/dist/esm/helpers/requireTamaguiCore.mjs +5 -1
  112. package/dist/esm/helpers/requireTamaguiCore.native.js +5 -2
  113. package/dist/esm/helpers/requireTamaguiCore.native.js.map +3 -3
  114. package/dist/esm/index.js +0 -1
  115. package/dist/esm/index.js.map +1 -1
  116. package/dist/esm/index.mjs +0 -1
  117. package/dist/esm/index.native.js +0 -1
  118. package/dist/esm/index.native.js.map +2 -2
  119. package/dist/esm/minifyCSS.native.js.map +1 -1
  120. package/dist/esm/registerRequire.native.js.map +1 -1
  121. package/dist/esm/server.native.js.map +1 -1
  122. package/dist/esm/setup.js +0 -1
  123. package/dist/esm/setup.js.map +2 -2
  124. package/dist/esm/setup.mjs +0 -1
  125. package/dist/esm/setup.native.js +0 -1
  126. package/dist/esm/setup.native.js.map +3 -3
  127. package/package.json +20 -17
  128. package/src/extractor/bundleConfig.ts +1 -0
  129. package/src/extractor/createExtractor.ts +4 -4
  130. package/src/extractor/extractToNative.ts +7 -9
  131. package/src/extractor/loadTamagui.ts +1 -1
  132. package/src/helpers/requireTamaguiCore.ts +16 -1
  133. package/src/index.ts +0 -1
  134. package/src/setup.ts +0 -1
  135. package/types/extractor/bundleConfig.d.ts.map +1 -1
  136. package/types/extractor/createExtractor.d.ts.map +1 -1
  137. package/types/extractor/extractToNative.d.ts +1 -1
  138. package/types/extractor/extractToNative.d.ts.map +1 -1
  139. package/types/helpers/requireTamaguiCore.d.ts.map +1 -1
  140. package/types/index.d.ts +0 -1
  141. package/types/index.d.ts.map +1 -1
package/src/index.ts CHANGED
@@ -1,4 +1,3 @@
1
- import './setup'
2
1
  export * from './minifyCSS'
3
2
  export * from './checkDeps'
4
3
  export * from './types'
package/src/setup.ts CHANGED
@@ -1 +0,0 @@
1
- process.env.IS_STATIC = 'is_static'
@@ -1 +1 @@
1
- {"version":3,"file":"bundleConfig.d.ts","sourceRoot":"","sources":["../../src/extractor/bundleConfig.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,YAAY,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAA;AAKvE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAK9C,KAAK,WAAW,GAAG;IACjB,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC,MAAM,CAAC,CAAA;CAC3B,CAAA;AAED,MAAM,MAAM,gBAAgB,GAAG;IAC7B,UAAU,EAAE,MAAM,CAAA;IAClB,UAAU,EAAE,MAAM,CAChB,MAAM,EACN;QACE,YAAY,EAAE,YAAY,CAAA;KAC3B,CACF,CAAA;CACF,CAAA;AAED,MAAM,MAAM,kBAAkB,GAAG;IAC/B,UAAU,CAAC,EAAE,gBAAgB,EAAE,CAAA;IAC/B,aAAa,CAAC,EAAE,qBAAqB,GAAG,IAAI,CAAA;IAC5C,WAAW,CAAC,EAAE,WAAW,CAAA;IACzB,MAAM,CAAC,EAAE,OAAO,CA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1D"}
1
+ {"version":3,"file":"createExtractor.d.ts","sourceRoot":"","sources":["../../src/extractor/createExtractor.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,QAAQ,EAAmB,MAAM,iBAAiB,CAAA;AAEhE,OAAO,KAAK,CAAC,MAAM,cAAc,CAAA;AAiBjC,OAAO,KAAK,EAGV,gBAAgB,EAChB,mBAAmB,EACnB,cAAc,EAGf,MAAM,UAAU,CAAA;AACjB,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAA;AAcxD,OAAO,EAAE,iBAAiB,EAA6B,MAAM,6BAA6B,CAAA;AAuB1F,MAAM,MAAM,SAAS,GAAG,UAAU,CAAC,OAAO,eAAe,CAAC,CAAA;AAE1D,KAAK,UAAU,GAAG,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,IAAI,CAAA;AAQ9C,wBAAgB,eAAe,CAC7B,EAAE,MAAgB,EAAE,QAAgB,EAAE,GAAE,gBAAsC;;;;;yBAwDnD,cAAc;6BAPhB,cAAc;;mBAwBtB,UAAU,SAAS,mBAAmB;;;;;;;eAIpC,UAAU,SAAS,mBAAmB;;;;;;;EAutE1D"}
@@ -1,5 +1,5 @@
1
1
  import { type BabelFileResult } from '@babel/core';
2
- import type { TamaguiOptions } from '@tamagui/static';
2
+ import type { TamaguiOptions } from '../types';
3
3
  export declare function extractToNative(sourceFileName: string, sourceCode: string, options: TamaguiOptions): BabelFileResult;
4
4
  export declare function getBabelPlugin(): any;
5
5
  export declare function getBabelParseDefinition(options: TamaguiOptions): {
@@ -1 +1 @@
1
- {"version":3,"file":"extractToNative.d.ts","sourceRoot":"","sources":["../../src/extractor/extractToNative.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,eAAe,EAAwB,MAAM,aAAa,CAAA;AAMxE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAA;AA2BrD,wBAAgB,eAAe,CAC7B,cAAc,EAAE,MAAM,EACtB,UAAU,EAAE,MAAM,EAClB,OAAO,EAAE,cAAc,GACtB,eAAe,CAoBjB;AAED,wBAAgB,cAAc,QAK7B;AAED,wBAAgB,uBAAuB,CAAC,OAAO,EAAE,cAAc;;;;wBAM3C,GAAG;;;EAmZtB"}
1
+ {"version":3,"file":"extractToNative.d.ts","sourceRoot":"","sources":["../../src/extractor/extractToNative.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,eAAe,EAAwB,MAAM,aAAa,CAAA;AAQxE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAA;AAuB9C,wBAAgB,eAAe,CAC7B,cAAc,EAAE,MAAM,EACtB,UAAU,EAAE,MAAM,EAClB,OAAO,EAAE,cAAc,GACtB,eAAe,CAoBjB;AAED,wBAAgB,cAAc,QAK7B;AAED,wBAAgB,uBAAuB,CAAC,OAAO,EAAE,cAAc;;;;wBAM3C,GAAG;;;EAmZtB"}
@@ -1 +1 @@
1
- {"version":3,"file":"requireTamaguiCore.d.ts","sourceRoot":"","sources":["../../src/helpers/requireTamaguiCore.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAA;AAE/C,wBAAgB,kBAAkB,CAChC,QAAQ,EAAE,eAAe,EACzB,SAAS,GAAE,QAAkB,GAC5B,cAAc,eAAe,CAAC,CAKhC"}
1
+ {"version":3,"file":"requireTamaguiCore.d.ts","sourceRoot":"","sources":["../../src/helpers/requireTamaguiCore.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,UAAU,CAAA;AAE/C,wBAAgB,kBAAkB,CAChC,QAAQ,EAAE,eAAe,EACzB,SAAS,GAAE,QAAkB,GAC5B,cAAc,eAAe,CAAC,CAoBhC"}
package/types/index.d.ts CHANGED
@@ -1,4 +1,3 @@
1
- import './setup';
2
1
  export * from './minifyCSS';
3
2
  export * from './checkDeps';
4
3
  export * from './types';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,CAAA;AAChB,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;AAC3B,cAAc,SAAS,CAAA;AACvB,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAA;AAC7D,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAA;AACvD,cAAc,aAAa,CAAA;AAC3B,cAAc,iCAAiC,CAAA;AAC/C,cAAc,6BAA6B,CAAA;AAC3C,cAAc,4BAA4B,CAAA;AAC1C,cAAc,yBAAyB,CAAA;AACvC,cAAc,gCAAgC,CAAA;AAC9C,cAAc,0BAA0B,CAAA;AACxC,cAAc,mBAAmB,CAAA;AACjC,cAAc,oBAAoB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA;AAC3B,cAAc,aAAa,CAAA;AAC3B,cAAc,SAAS,CAAA;AACvB,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAA;AAC7D,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAA;AACvD,cAAc,aAAa,CAAA;AAC3B,cAAc,iCAAiC,CAAA;AAC/C,cAAc,6BAA6B,CAAA;AAC3C,cAAc,4BAA4B,CAAA;AAC1C,cAAc,yBAAyB,CAAA;AACvC,cAAc,gCAAgC,CAAA;AAC9C,cAAc,0BAA0B,CAAA;AACxC,cAAc,mBAAmB,CAAA;AACjC,cAAc,oBAAoB,CAAA"}