@tamagui/static 1.101.2 → 1.101.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (136) 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.map +1 -1
  11. package/dist/cjs/extractor/createExtractor.native.js.map +2 -2
  12. package/dist/cjs/extractor/createLogger.native.js.map +1 -1
  13. package/dist/cjs/extractor/ensureImportingConcat.native.js.map +1 -1
  14. package/dist/cjs/extractor/esbuildAliasPlugin.native.js.map +1 -1
  15. package/dist/cjs/extractor/evaluateAstNode.native.js.map +1 -1
  16. package/dist/cjs/extractor/extractHelpers.native.js.map +1 -1
  17. package/dist/cjs/extractor/extractMediaStyle.native.js.map +1 -1
  18. package/dist/cjs/extractor/extractToClassNames.native.js.map +1 -1
  19. package/dist/cjs/extractor/extractToNative.js +8 -8
  20. package/dist/cjs/extractor/extractToNative.js.map +1 -1
  21. package/dist/cjs/extractor/extractToNative.native.js +8 -8
  22. package/dist/cjs/extractor/extractToNative.native.js.map +2 -2
  23. package/dist/cjs/extractor/findTopmostFunction.native.js.map +1 -1
  24. package/dist/cjs/extractor/generateTamaguiStudioConfig.native.js.map +1 -1
  25. package/dist/cjs/extractor/generatedUid.native.js.map +1 -1
  26. package/dist/cjs/extractor/getPrefixLogs.native.js.map +1 -1
  27. package/dist/cjs/extractor/getPropValueFromAttributes.native.js.map +1 -1
  28. package/dist/cjs/extractor/getSourceModule.native.js.map +1 -1
  29. package/dist/cjs/extractor/getStaticBindingsForScope.native.js.map +1 -1
  30. package/dist/cjs/extractor/getTamaguiConfigPathFromOptionsConfig.native.js.map +1 -1
  31. package/dist/cjs/extractor/hoistClassNames.native.js.map +1 -1
  32. package/dist/cjs/extractor/literalToAst.native.js.map +1 -1
  33. package/dist/cjs/extractor/loadFile.native.js.map +1 -1
  34. package/dist/cjs/extractor/loadTamagui.native.js.map +1 -1
  35. package/dist/cjs/extractor/logLines.native.js.map +1 -1
  36. package/dist/cjs/extractor/normalizeTernaries.native.js.map +1 -1
  37. package/dist/cjs/extractor/propsToFontFamilyCache.native.js.map +1 -1
  38. package/dist/cjs/extractor/removeUnusedHooks.native.js.map +1 -1
  39. package/dist/cjs/extractor/timer.native.js.map +1 -1
  40. package/dist/cjs/extractor/validHTMLAttributes.native.js.map +1 -1
  41. package/dist/cjs/extractor/watchTamaguiConfig.native.js.map +1 -1
  42. package/dist/cjs/getPragmaOptions.native.js.map +1 -1
  43. package/dist/cjs/helpers/memoize.native.js.map +1 -1
  44. package/dist/cjs/helpers/requireTamaguiCore.js +6 -1
  45. package/dist/cjs/helpers/requireTamaguiCore.js.map +1 -1
  46. package/dist/cjs/helpers/requireTamaguiCore.native.js +5 -2
  47. package/dist/cjs/helpers/requireTamaguiCore.native.js.map +3 -3
  48. package/dist/cjs/index.js +0 -1
  49. package/dist/cjs/index.js.map +1 -1
  50. package/dist/cjs/index.native.js +0 -1
  51. package/dist/cjs/index.native.js.map +2 -2
  52. package/dist/cjs/minifyCSS.native.js.map +1 -1
  53. package/dist/cjs/registerRequire.native.js.map +1 -1
  54. package/dist/cjs/server.native.js.map +1 -1
  55. package/dist/cjs/setup.js +0 -1
  56. package/dist/cjs/setup.js.map +2 -2
  57. package/dist/cjs/setup.native.js +0 -1
  58. package/dist/cjs/setup.native.js.map +3 -3
  59. package/dist/cjs/types.native.js.map +1 -1
  60. package/dist/esm/checkDeps.native.js.map +1 -1
  61. package/dist/esm/constants.native.js.map +1 -1
  62. package/dist/esm/extractor/accessSafe.native.js.map +1 -1
  63. package/dist/esm/extractor/babelParse.native.js.map +1 -1
  64. package/dist/esm/extractor/buildClassName.native.js.map +1 -1
  65. package/dist/esm/extractor/bundle.native.js.map +1 -1
  66. package/dist/esm/extractor/bundleConfig.js.map +1 -1
  67. package/dist/esm/extractor/bundleConfig.native.js.map +2 -2
  68. package/dist/esm/extractor/createEvaluator.native.js.map +1 -1
  69. package/dist/esm/extractor/createExtractor.js.map +1 -1
  70. package/dist/esm/extractor/createExtractor.native.js.map +2 -2
  71. package/dist/esm/extractor/createLogger.native.js.map +1 -1
  72. package/dist/esm/extractor/ensureImportingConcat.native.js.map +1 -1
  73. package/dist/esm/extractor/esbuildAliasPlugin.native.js.map +1 -1
  74. package/dist/esm/extractor/evaluateAstNode.native.js.map +1 -1
  75. package/dist/esm/extractor/extractHelpers.native.js.map +1 -1
  76. package/dist/esm/extractor/extractMediaStyle.native.js.map +1 -1
  77. package/dist/esm/extractor/extractToClassNames.native.js.map +1 -1
  78. package/dist/esm/extractor/extractToNative.js +6 -8
  79. package/dist/esm/extractor/extractToNative.js.map +1 -1
  80. package/dist/esm/extractor/extractToNative.mjs +6 -1
  81. package/dist/esm/extractor/extractToNative.native.js +6 -1
  82. package/dist/esm/extractor/extractToNative.native.js.map +3 -3
  83. package/dist/esm/extractor/findTopmostFunction.native.js.map +1 -1
  84. package/dist/esm/extractor/generateTamaguiStudioConfig.native.js.map +1 -1
  85. package/dist/esm/extractor/generatedUid.native.js.map +1 -1
  86. package/dist/esm/extractor/getPrefixLogs.native.js.map +1 -1
  87. package/dist/esm/extractor/getPropValueFromAttributes.native.js.map +1 -1
  88. package/dist/esm/extractor/getSourceModule.native.js.map +1 -1
  89. package/dist/esm/extractor/getStaticBindingsForScope.native.js.map +1 -1
  90. package/dist/esm/extractor/getTamaguiConfigPathFromOptionsConfig.native.js.map +1 -1
  91. package/dist/esm/extractor/hoistClassNames.native.js.map +1 -1
  92. package/dist/esm/extractor/literalToAst.native.js.map +1 -1
  93. package/dist/esm/extractor/loadFile.native.js.map +1 -1
  94. package/dist/esm/extractor/loadTamagui.native.js.map +1 -1
  95. package/dist/esm/extractor/logLines.native.js.map +1 -1
  96. package/dist/esm/extractor/normalizeTernaries.native.js.map +1 -1
  97. package/dist/esm/extractor/propsToFontFamilyCache.native.js.map +1 -1
  98. package/dist/esm/extractor/removeUnusedHooks.native.js.map +1 -1
  99. package/dist/esm/extractor/timer.native.js.map +1 -1
  100. package/dist/esm/extractor/validHTMLAttributes.native.js.map +1 -1
  101. package/dist/esm/extractor/watchTamaguiConfig.native.js.map +1 -1
  102. package/dist/esm/getPragmaOptions.native.js.map +1 -1
  103. package/dist/esm/helpers/memoize.native.js.map +1 -1
  104. package/dist/esm/helpers/requireTamaguiCore.js +6 -1
  105. package/dist/esm/helpers/requireTamaguiCore.js.map +1 -1
  106. package/dist/esm/helpers/requireTamaguiCore.mjs +5 -1
  107. package/dist/esm/helpers/requireTamaguiCore.native.js +5 -2
  108. package/dist/esm/helpers/requireTamaguiCore.native.js.map +3 -3
  109. package/dist/esm/index.js +0 -1
  110. package/dist/esm/index.js.map +1 -1
  111. package/dist/esm/index.mjs +0 -1
  112. package/dist/esm/index.native.js +0 -1
  113. package/dist/esm/index.native.js.map +2 -2
  114. package/dist/esm/minifyCSS.native.js.map +1 -1
  115. package/dist/esm/registerRequire.native.js.map +1 -1
  116. package/dist/esm/server.native.js.map +1 -1
  117. package/dist/esm/setup.js +0 -1
  118. package/dist/esm/setup.js.map +2 -2
  119. package/dist/esm/setup.mjs +0 -1
  120. package/dist/esm/setup.native.js +0 -1
  121. package/dist/esm/setup.native.js.map +3 -3
  122. package/package.json +20 -17
  123. package/src/extractor/bundleConfig.ts +1 -0
  124. package/src/extractor/createExtractor.ts +1 -0
  125. package/src/extractor/extractToNative.ts +7 -9
  126. package/src/extractor/loadTamagui.ts +1 -1
  127. package/src/helpers/requireTamaguiCore.ts +16 -1
  128. package/src/index.ts +0 -1
  129. package/src/setup.ts +0 -1
  130. package/types/extractor/bundleConfig.d.ts.map +1 -1
  131. package/types/extractor/createExtractor.d.ts.map +1 -1
  132. package/types/extractor/extractToNative.d.ts +1 -1
  133. package/types/extractor/extractToNative.d.ts.map +1 -1
  134. package/types/helpers/requireTamaguiCore.d.ts.map +1 -1
  135. package/types/index.d.ts +0 -1
  136. package/types/index.d.ts.map +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tamagui/static",
3
- "version": "1.101.2",
3
+ "version": "1.101.4",
4
4
  "source": "src/index.ts",
5
5
  "types": "./types/index.d.ts",
6
6
  "main": "dist/cjs/index.js",
@@ -15,8 +15,8 @@
15
15
  "watch": "tamagui-build --watch",
16
16
  "clean": "tamagui-build clean",
17
17
  "clean:build": "tamagui-build clean:build",
18
- "lint": "../../node_modules/.bin/biome check src",
19
- "lint:fix": "../../node_modules/.bin/biome check --apply-unsafe src"
18
+ "lint": "npx biome check src",
19
+ "lint:fix": "npx biome check --apply-unsafe src"
20
20
  },
21
21
  "exports": {
22
22
  "./package.json": "./package.json",
@@ -43,17 +43,17 @@
43
43
  "@babel/runtime": "^7.23.2",
44
44
  "@babel/traverse": "^7.23.3",
45
45
  "@babel/types": "^7.23.3",
46
- "@tamagui/build": "1.101.2",
47
- "@tamagui/cli-color": "1.101.2",
48
- "@tamagui/config-default": "1.101.2",
49
- "@tamagui/core": "1.101.2",
50
- "@tamagui/fake-react-native": "1.101.2",
51
- "@tamagui/generate-themes": "1.101.2",
52
- "@tamagui/helpers": "1.101.2",
53
- "@tamagui/helpers-node": "1.101.2",
54
- "@tamagui/proxy-worm": "1.101.2",
55
- "@tamagui/shorthands": "1.101.2",
56
- "@tamagui/types": "1.101.2",
46
+ "@tamagui/build": "1.101.4",
47
+ "@tamagui/cli-color": "1.101.4",
48
+ "@tamagui/config-default": "1.101.4",
49
+ "@tamagui/core": "1.101.4",
50
+ "@tamagui/fake-react-native": "1.101.4",
51
+ "@tamagui/generate-themes": "1.101.4",
52
+ "@tamagui/helpers": "1.101.4",
53
+ "@tamagui/helpers-node": "1.101.4",
54
+ "@tamagui/proxy-worm": "1.101.4",
55
+ "@tamagui/shorthands": "1.101.4",
56
+ "@tamagui/types": "1.101.4",
57
57
  "babel-literal-to-ast": "^2.1.0",
58
58
  "browserslist": "^4.22.2",
59
59
  "check-dependency-version-consistency": "^4.1.0",
@@ -66,8 +66,8 @@
66
66
  "lodash": "^4.17.21",
67
67
  "react-dom": "^18.2.0",
68
68
  "react-native-web": "^0.19.12",
69
- "react-native-web-internals": "1.101.2",
70
- "react-native-web-lite": "1.101.2"
69
+ "react-native-web-internals": "1.101.4",
70
+ "react-native-web-lite": "1.101.4"
71
71
  },
72
72
  "devDependencies": {
73
73
  "@babel/plugin-syntax-typescript": "^7.23.3",
@@ -82,5 +82,8 @@
82
82
  "react": "^18.2.0",
83
83
  "typescript": "^5.5.2"
84
84
  },
85
- "gitHead": "a49cc7ea6b93ba384e77a4880ae48ac4a5635c14"
85
+ "gitHead": "a49cc7ea6b93ba384e77a4880ae48ac4a5635c14",
86
+ "peerDependencies": {
87
+ "react": "*"
88
+ }
86
89
  }
@@ -4,6 +4,7 @@ import { basename, dirname, extname, join, relative, sep } from 'node:path'
4
4
  import generate from '@babel/generator'
5
5
  import traverse from '@babel/traverse'
6
6
  import * as t from '@babel/types'
7
+ // @ts-ignore why
7
8
  import { Color, colorLog } from '@tamagui/cli-color'
8
9
  import type { StaticConfig, TamaguiInternalConfig } from '@tamagui/web'
9
10
  import esbuild from 'esbuild'
@@ -4,6 +4,7 @@ import { basename, relative } from 'node:path'
4
4
  import type { NodePath, TraverseOptions } from '@babel/traverse'
5
5
  import traverse from '@babel/traverse'
6
6
  import * as t from '@babel/types'
7
+ // @ts-ignore why
7
8
  import { Color, colorLog } from '@tamagui/cli-color'
8
9
  import {
9
10
  StyleObjectIdentifier,
@@ -6,15 +6,13 @@ import { declare } from '@babel/helper-plugin-utils'
6
6
  import { parse } from '@babel/parser'
7
7
  import template from '@babel/template'
8
8
  import * as t from '@babel/types'
9
- import type { TamaguiOptions } from '@tamagui/static'
10
- import {
11
- createExtractor,
12
- createLogger,
13
- getPragmaOptions,
14
- isSimpleSpread,
15
- literalToAst,
16
- loadTamaguiBuildConfigSync,
17
- } from '@tamagui/static'
9
+ import { createExtractor } from './createExtractor'
10
+ import { getPragmaOptions } from '../getPragmaOptions'
11
+ import type { TamaguiOptions } from '../types'
12
+ import { createLogger } from './createLogger'
13
+ import { isSimpleSpread } from './extractHelpers'
14
+ import { literalToAst } from './literalToAst'
15
+ import { loadTamaguiBuildConfigSync } from './loadTamagui'
18
16
 
19
17
  const importNativeView = template(`
20
18
  const __ReactNativeView = require('react-native').View;
@@ -1,6 +1,6 @@
1
1
  import { readFileSync, writeFileSync } from 'node:fs'
2
2
  import { basename, dirname, extname, join, relative, resolve } from 'node:path'
3
-
3
+ // @ts-ignore why
4
4
  import { Color, colorLog } from '@tamagui/cli-color'
5
5
  import type { CLIResolvedOptions, CLIUserOptions, TamaguiOptions } from '@tamagui/types'
6
6
  import type { TamaguiInternalConfig } from '@tamagui/web'
@@ -9,5 +9,20 @@ export function requireTamaguiCore(
9
9
  if (!platform) {
10
10
  throw new Error(`No platform given to requireTamaguiCore`)
11
11
  }
12
- return ogRequire(platform === 'native' ? '@tamagui/core/native' : '@tamagui/core')
12
+
13
+ // avoid tree shaking out themes
14
+ const og1 = process.env.TAMAGUI_IS_SERVER
15
+ const og2 = process.env.TAMAGUI_KEEP_THEMES
16
+ process.env.TAMAGUI_IS_SERVER ||= '1'
17
+ process.env.TAMAGUI_KEEP_THEMES ||= '1'
18
+
19
+ const exported = ogRequire(
20
+ platform === 'native' ? '@tamagui/core/native' : '@tamagui/core'
21
+ )
22
+
23
+ // restore back
24
+ process.env.TAMAGUI_IS_SERVER = og1
25
+ process.env.TAMAGUI_KEEP_THEMES = og2
26
+
27
+ return exported
13
28
  }
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,CAAA;CACjB,CAAA;AAgBD,eAAO,MAAM,cAAc;;;;;;;;CAMK,CAAA;AAEhC,MAAM,MAAM,aAAa,GAAG,OAAO,CAAC,OAAO,CAAC,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC,EAAE,SAAS,CAAC,CAAA;AAQxF,wBAAgB,uBAAuB,YAMtC;AAED,wBAAsB,gBAAgB,CAAC,KAAK,EAAE,cAAc,EAAE,OAAO,UAAQ;;;;sBAS5E;AAED,wBAAsB,YAAY,CAAC,KAAK,EAAE,cAAc;;;;eA4JvD;AAED,wBAAgB,cAAc,CAAC,KAAK,EAAE,cAAc,EAAE,YAAY,UAAQ,sBAIzE;AAqBD,wBAAgB,mBAAmB,CACjC,KAAK,EAAE,cAAc,EACrB,YAAY,UAAQ,GACnB,IAAI,GAAG,gBAAgB,EAAE,CA+H3B"}
1
+ {"version":3,"file":"bundleConfig.d.ts","sourceRoot":"","sources":["../../src/extractor/bundleConfig.ts"],"names":[],"mappings":"AAQA,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,CAAA;CACjB,CAAA;AAgBD,eAAO,MAAM,cAAc;;;;;;;;CAMK,CAAA;AAEhC,MAAM,MAAM,aAAa,GAAG,OAAO,CAAC,OAAO,CAAC,UAAU,CAAC,OAAO,YAAY,CAAC,CAAC,EAAE,SAAS,CAAC,CAAA;AAQxF,wBAAgB,uBAAuB,YAMtC;AAED,wBAAsB,gBAAgB,CAAC,KAAK,EAAE,cAAc,EAAE,OAAO,UAAQ;;;;sBAS5E;AAED,wBAAsB,YAAY,CAAC,KAAK,EAAE,cAAc;;;;eA4JvD;AAED,wBAAgB,cAAc,CAAC,KAAK,EAAE,cAAc,EAAE,YAAY,UAAQ,sBAIzE;AAqBD,wBAAgB,mBAAmB,CACjC,KAAK,EAAE,cAAc,EACrB,YAAY,UAAQ,GACnB,IAAI,GAAG,gBAAgB,EAAE,CA+H3B"}
@@ -1 +1 @@
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;AAgBjC,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;;;;;;;EAwtE1D"}
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;;;;;;;EAwtE1D"}
@@ -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"}