@tamagui/web 1.22.6 → 1.22.8

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 (299) hide show
  1. package/dist/cjs/Tamagui.js +3 -3
  2. package/dist/cjs/createComponent.js +35 -60
  3. package/dist/cjs/createComponent.js.map +1 -1
  4. package/dist/cjs/createTamagui.js +9 -9
  5. package/dist/cjs/createTokens.js +1 -1
  6. package/dist/cjs/createVariable.js +1 -1
  7. package/dist/cjs/createVariables.js +1 -1
  8. package/dist/cjs/helpers/ThemeManager.js +3 -3
  9. package/dist/cjs/helpers/createMediaStyle.js +1 -1
  10. package/dist/cjs/helpers/createPropMapper.js +18 -12
  11. package/dist/cjs/helpers/createPropMapper.js.map +1 -1
  12. package/dist/cjs/helpers/expandStyles.js +4 -4
  13. package/dist/cjs/helpers/extendStaticConfig.js +2 -2
  14. package/dist/cjs/helpers/getAnimationDriver.js +1 -1
  15. package/dist/cjs/helpers/getExpandedShorthands.js +1 -1
  16. package/dist/cjs/helpers/getSplitStyles.js +11 -10
  17. package/dist/cjs/helpers/getSplitStyles.js.map +1 -1
  18. package/dist/cjs/helpers/getStylesAtomic.js +4 -4
  19. package/dist/cjs/helpers/getThemeCSSRules.js +3 -3
  20. package/dist/cjs/helpers/getVariantExtras.js +2 -2
  21. package/dist/cjs/helpers/isTamaguiElement.js +1 -1
  22. package/dist/cjs/helpers/memoizeFunctionByArgumentsReference.js +31 -0
  23. package/dist/cjs/helpers/memoizeFunctionByArgumentsReference.js.map +6 -0
  24. package/dist/cjs/helpers/normalizeShadow.js +2 -2
  25. package/dist/cjs/helpers/normalizeShadow.native.js +3 -3
  26. package/dist/cjs/helpers/normalizeValueWithProperty.js +2 -2
  27. package/dist/cjs/helpers/proxyThemeVariables.js +1 -1
  28. package/dist/cjs/helpers/registerCSSVariable.js +1 -1
  29. package/dist/cjs/helpers/themeable.js +2 -2
  30. package/dist/cjs/helpers/themeable.js.map +1 -1
  31. package/dist/cjs/helpers/themes.js +2 -2
  32. package/dist/cjs/hooks/useAnimationDriver.js +2 -2
  33. package/dist/cjs/hooks/useMedia.js +3 -3
  34. package/dist/cjs/hooks/useProps.js +1 -1
  35. package/dist/cjs/hooks/useStyle.js +5 -5
  36. package/dist/cjs/hooks/useTheme.js +7 -7
  37. package/dist/cjs/hooks/useThemeName.js +2 -2
  38. package/dist/cjs/index.js +96 -96
  39. package/dist/cjs/index.js.map +1 -1
  40. package/dist/cjs/insertFont.js +4 -4
  41. package/dist/cjs/styled.js +12 -5
  42. package/dist/cjs/styled.js.map +1 -1
  43. package/dist/cjs/views/FontLanguage.native.js +1 -1
  44. package/dist/cjs/views/Stack.js +2 -2
  45. package/dist/cjs/views/TamaguiProvider.js +5 -5
  46. package/dist/cjs/views/Text.js +1 -1
  47. package/dist/cjs/views/Theme.js +4 -4
  48. package/dist/cjs/views/ThemeDebug.js +1 -1
  49. package/dist/cjs/views/ThemeDebug.js.map +1 -1
  50. package/dist/cjs/views/ThemeProvider.js +2 -2
  51. package/dist/esm/Tamagui.js +3 -3
  52. package/dist/esm/Tamagui.mjs +3 -3
  53. package/dist/esm/createComponent.js +36 -61
  54. package/dist/esm/createComponent.js.map +1 -1
  55. package/dist/esm/createComponent.mjs +36 -61
  56. package/dist/esm/createComponent.mjs.map +1 -1
  57. package/dist/esm/createTamagui.js +9 -9
  58. package/dist/esm/createTamagui.mjs +9 -9
  59. package/dist/esm/createTokens.js +1 -1
  60. package/dist/esm/createTokens.mjs +1 -1
  61. package/dist/esm/createVariable.js +1 -1
  62. package/dist/esm/createVariable.mjs +1 -1
  63. package/dist/esm/createVariables.js +1 -1
  64. package/dist/esm/createVariables.mjs +1 -1
  65. package/dist/esm/helpers/ThemeManager.js +3 -3
  66. package/dist/esm/helpers/ThemeManager.mjs +3 -3
  67. package/dist/esm/helpers/createMediaStyle.js +1 -1
  68. package/dist/esm/helpers/createMediaStyle.mjs +1 -1
  69. package/dist/esm/helpers/createPropMapper.js +18 -12
  70. package/dist/esm/helpers/createPropMapper.js.map +1 -1
  71. package/dist/esm/helpers/createPropMapper.mjs +18 -12
  72. package/dist/esm/helpers/createPropMapper.mjs.map +1 -1
  73. package/dist/esm/helpers/expandStyles.js +4 -4
  74. package/dist/esm/helpers/expandStyles.mjs +4 -4
  75. package/dist/esm/helpers/extendStaticConfig.js +2 -2
  76. package/dist/esm/helpers/extendStaticConfig.mjs +2 -2
  77. package/dist/esm/helpers/getAnimationDriver.js +1 -1
  78. package/dist/esm/helpers/getAnimationDriver.mjs +1 -1
  79. package/dist/esm/helpers/getExpandedShorthands.js +1 -1
  80. package/dist/esm/helpers/getExpandedShorthands.mjs +1 -1
  81. package/dist/esm/helpers/getSplitStyles.js +11 -10
  82. package/dist/esm/helpers/getSplitStyles.js.map +1 -1
  83. package/dist/esm/helpers/getSplitStyles.mjs +11 -10
  84. package/dist/esm/helpers/getSplitStyles.mjs.map +1 -1
  85. package/dist/esm/helpers/getStylesAtomic.js +4 -4
  86. package/dist/esm/helpers/getStylesAtomic.mjs +4 -4
  87. package/dist/esm/helpers/getThemeCSSRules.js +3 -3
  88. package/dist/esm/helpers/getThemeCSSRules.mjs +3 -3
  89. package/dist/esm/helpers/getVariantExtras.js +2 -2
  90. package/dist/esm/helpers/getVariantExtras.mjs +2 -2
  91. package/dist/esm/helpers/isTamaguiElement.js +1 -1
  92. package/dist/esm/helpers/isTamaguiElement.mjs +1 -1
  93. package/dist/esm/helpers/memoizeFunctionByArgumentsReference.js +30 -0
  94. package/dist/esm/helpers/memoizeFunctionByArgumentsReference.js.map +6 -0
  95. package/dist/esm/helpers/memoizeFunctionByArgumentsReference.mjs +30 -0
  96. package/dist/esm/helpers/memoizeFunctionByArgumentsReference.mjs.map +6 -0
  97. package/dist/esm/helpers/normalizeShadow.js +2 -2
  98. package/dist/esm/helpers/normalizeShadow.mjs +2 -2
  99. package/dist/esm/helpers/normalizeShadow.native.js +3 -3
  100. package/dist/esm/helpers/normalizeShadow.native.mjs +3 -3
  101. package/dist/esm/helpers/normalizeValueWithProperty.js +2 -2
  102. package/dist/esm/helpers/normalizeValueWithProperty.mjs +2 -2
  103. package/dist/esm/helpers/proxyThemeVariables.js +1 -1
  104. package/dist/esm/helpers/proxyThemeVariables.mjs +1 -1
  105. package/dist/esm/helpers/registerCSSVariable.js +1 -1
  106. package/dist/esm/helpers/registerCSSVariable.mjs +1 -1
  107. package/dist/esm/helpers/themeable.js +2 -2
  108. package/dist/esm/helpers/themeable.js.map +1 -1
  109. package/dist/esm/helpers/themeable.mjs +2 -2
  110. package/dist/esm/helpers/themeable.mjs.map +1 -1
  111. package/dist/esm/helpers/themes.js +2 -2
  112. package/dist/esm/helpers/themes.mjs +2 -2
  113. package/dist/esm/hooks/useAnimationDriver.js +2 -2
  114. package/dist/esm/hooks/useAnimationDriver.mjs +2 -2
  115. package/dist/esm/hooks/useMedia.js +3 -3
  116. package/dist/esm/hooks/useMedia.mjs +3 -3
  117. package/dist/esm/hooks/useProps.js +1 -1
  118. package/dist/esm/hooks/useProps.mjs +1 -1
  119. package/dist/esm/hooks/useStyle.js +5 -5
  120. package/dist/esm/hooks/useStyle.mjs +5 -5
  121. package/dist/esm/hooks/useTheme.js +7 -7
  122. package/dist/esm/hooks/useTheme.mjs +7 -7
  123. package/dist/esm/hooks/useThemeName.js +2 -2
  124. package/dist/esm/hooks/useThemeName.mjs +2 -2
  125. package/dist/esm/index.js +49 -49
  126. package/dist/esm/index.mjs +49 -49
  127. package/dist/esm/insertFont.js +4 -4
  128. package/dist/esm/insertFont.mjs +4 -4
  129. package/dist/esm/styled.js +12 -5
  130. package/dist/esm/styled.js.map +1 -1
  131. package/dist/esm/styled.mjs +12 -5
  132. package/dist/esm/styled.mjs.map +1 -1
  133. package/dist/esm/views/FontLanguage.native.js +1 -1
  134. package/dist/esm/views/FontLanguage.native.mjs +1 -1
  135. package/dist/esm/views/Stack.js +2 -2
  136. package/dist/esm/views/Stack.mjs +2 -2
  137. package/dist/esm/views/TamaguiProvider.js +5 -5
  138. package/dist/esm/views/TamaguiProvider.mjs +5 -5
  139. package/dist/esm/views/Text.js +1 -1
  140. package/dist/esm/views/Text.mjs +1 -1
  141. package/dist/esm/views/Theme.js +4 -4
  142. package/dist/esm/views/Theme.mjs +4 -4
  143. package/dist/esm/views/ThemeDebug.js +1 -1
  144. package/dist/esm/views/ThemeDebug.js.map +1 -1
  145. package/dist/esm/views/ThemeDebug.mjs +1 -1
  146. package/dist/esm/views/ThemeDebug.mjs.map +1 -1
  147. package/dist/esm/views/ThemeProvider.js +2 -2
  148. package/dist/esm/views/ThemeProvider.mjs +2 -2
  149. package/package.json +9 -9
  150. package/src/Tamagui.ts +3 -3
  151. package/src/config.ts +1 -1
  152. package/src/contexts/FontLanguageContext.tsx +1 -1
  153. package/src/createComponent.tsx +36 -69
  154. package/src/createFont.ts +1 -1
  155. package/src/createShorthands.ts +1 -1
  156. package/src/createTamagui.ts +10 -10
  157. package/src/createTheme.ts +1 -1
  158. package/src/createTokens.ts +3 -3
  159. package/src/createVariable.ts +1 -1
  160. package/src/createVariables.ts +1 -1
  161. package/src/helpers/ThemeManager.tsx +4 -4
  162. package/src/helpers/ThemeManagerContext.tsx +1 -1
  163. package/src/helpers/createMediaStyle.ts +2 -2
  164. package/src/helpers/createPropMapper.ts +25 -16
  165. package/src/helpers/expandStyles.ts +4 -4
  166. package/src/helpers/extendStaticConfig.ts +3 -3
  167. package/src/helpers/getAnimationDriver.tsx +1 -1
  168. package/src/helpers/getExpandedShorthands.ts +2 -2
  169. package/src/helpers/getSplitStyles.tsx +12 -11
  170. package/src/helpers/getStylesAtomic.ts +5 -5
  171. package/src/helpers/getThemeCSSRules.ts +4 -4
  172. package/src/helpers/getVariantExtras.tsx +4 -4
  173. package/src/helpers/insertStyleRule.tsx +1 -1
  174. package/src/helpers/isTamaguiComponent.tsx +1 -1
  175. package/src/helpers/isTamaguiElement.tsx +2 -2
  176. package/src/helpers/matchMedia.native.ts +1 -1
  177. package/src/helpers/matchMedia.ts +1 -1
  178. package/src/helpers/memoizeFunctionByArgumentsReference.ts +38 -0
  179. package/src/helpers/normalizeShadow.native.ts +3 -3
  180. package/src/helpers/normalizeShadow.ts +2 -2
  181. package/src/helpers/normalizeValueWithProperty.ts +2 -2
  182. package/src/helpers/proxyThemeVariables.tsx +1 -1
  183. package/src/helpers/registerCSSVariable.ts +1 -1
  184. package/src/helpers/themeable.tsx +4 -3
  185. package/src/helpers/themes.ts +3 -3
  186. package/src/helpers/useShallowSetState.tsx +1 -1
  187. package/src/hooks/useAnimationDriver.tsx +2 -2
  188. package/src/hooks/useMedia.tsx +4 -4
  189. package/src/hooks/useProps.tsx +1 -1
  190. package/src/hooks/useStyle.tsx +5 -5
  191. package/src/hooks/useTheme.tsx +8 -8
  192. package/src/hooks/useThemeName.tsx +3 -3
  193. package/src/index.ts +49 -49
  194. package/src/insertFont.ts +6 -6
  195. package/src/setupReactNative.ts +1 -1
  196. package/src/styled.tsx +13 -16
  197. package/src/types.tsx +5 -5
  198. package/src/views/FontLanguage.native.tsx +2 -2
  199. package/src/views/FontLanguage.tsx +1 -1
  200. package/src/views/Stack.tsx +3 -3
  201. package/src/views/TamaguiProvider.tsx +6 -6
  202. package/src/views/Text.tsx +2 -2
  203. package/src/views/Theme.tsx +5 -5
  204. package/src/views/ThemeDebug.tsx +3 -3
  205. package/src/views/ThemeProvider.tsx +2 -2
  206. package/types/Tamagui.d.ts +1 -1
  207. package/types/Tamagui.d.ts.map +1 -1
  208. package/types/config.d.ts +19 -19
  209. package/types/config.d.ts.map +1 -1
  210. package/types/contexts/FontLanguageContext.d.ts +1 -1
  211. package/types/createComponent.d.ts.map +1 -1
  212. package/types/createFont.d.ts +1 -1
  213. package/types/createFont.d.ts.map +1 -1
  214. package/types/createShorthands.d.ts +1 -1
  215. package/types/createShorthands.d.ts.map +1 -1
  216. package/types/createTamagui.d.ts +1 -1
  217. package/types/createTamagui.d.ts.map +1 -1
  218. package/types/createTheme.d.ts +1 -1
  219. package/types/createTheme.d.ts.map +1 -1
  220. package/types/createTokens.d.ts +2 -2
  221. package/types/createTokens.d.ts.map +1 -1
  222. package/types/createVariables.d.ts +1 -1
  223. package/types/createVariables.d.ts.map +1 -1
  224. package/types/helpers/ThemeManager.d.ts +2 -2
  225. package/types/helpers/ThemeManager.d.ts.map +1 -1
  226. package/types/helpers/ThemeManagerContext.d.ts +1 -1
  227. package/types/helpers/ThemeManagerContext.d.ts.map +1 -1
  228. package/types/helpers/createMediaStyle.d.ts +1 -1
  229. package/types/helpers/createMediaStyle.d.ts.map +1 -1
  230. package/types/helpers/createPropMapper.d.ts +1 -1
  231. package/types/helpers/createPropMapper.d.ts.map +1 -1
  232. package/types/helpers/expandStyles.d.ts +1 -1
  233. package/types/helpers/expandStyles.d.ts.map +1 -1
  234. package/types/helpers/extendStaticConfig.d.ts +1 -1
  235. package/types/helpers/extendStaticConfig.d.ts.map +1 -1
  236. package/types/helpers/getAnimationDriver.d.ts +1 -1
  237. package/types/helpers/getExpandedShorthands.d.ts +1 -1
  238. package/types/helpers/getExpandedShorthands.d.ts.map +1 -1
  239. package/types/helpers/getSplitStyles.d.ts +2 -2
  240. package/types/helpers/getSplitStyles.d.ts.map +1 -1
  241. package/types/helpers/getStylesAtomic.d.ts +2 -2
  242. package/types/helpers/getStylesAtomic.d.ts.map +1 -1
  243. package/types/helpers/getThemeCSSRules.d.ts +1 -1
  244. package/types/helpers/getThemeCSSRules.d.ts.map +1 -1
  245. package/types/helpers/getVariantExtras.d.ts +2 -2
  246. package/types/helpers/getVariantExtras.d.ts.map +1 -1
  247. package/types/helpers/insertStyleRule.d.ts +1 -1
  248. package/types/helpers/insertStyleRule.d.ts.map +1 -1
  249. package/types/helpers/isTamaguiComponent.d.ts +1 -1
  250. package/types/helpers/isTamaguiComponent.d.ts.map +1 -1
  251. package/types/helpers/isTamaguiElement.d.ts +1 -1
  252. package/types/helpers/isTamaguiElement.d.ts.map +1 -1
  253. package/types/helpers/matchMedia.d.ts +1 -1
  254. package/types/helpers/matchMedia.d.ts.map +1 -1
  255. package/types/helpers/matchMedia.native.d.ts +1 -1
  256. package/types/helpers/matchMedia.native.d.ts.map +1 -1
  257. package/types/helpers/memoizeFunctionByArgumentsReference.d.ts +11 -0
  258. package/types/helpers/memoizeFunctionByArgumentsReference.d.ts.map +1 -0
  259. package/types/helpers/registerCSSVariable.d.ts +1 -1
  260. package/types/helpers/registerCSSVariable.d.ts.map +1 -1
  261. package/types/helpers/themeable.d.ts +1 -1
  262. package/types/helpers/themeable.d.ts.map +1 -1
  263. package/types/helpers/themes.d.ts +1 -1
  264. package/types/helpers/themes.d.ts.map +1 -1
  265. package/types/helpers/useShallowSetState.d.ts +1 -1
  266. package/types/helpers/useShallowSetState.d.ts.map +1 -1
  267. package/types/hooks/useAnimationDriver.d.ts +1 -1
  268. package/types/hooks/useAnimationDriver.d.ts.map +1 -1
  269. package/types/hooks/useMedia.d.ts +1 -1
  270. package/types/hooks/useMedia.d.ts.map +1 -1
  271. package/types/hooks/useStyle.d.ts +1 -1
  272. package/types/hooks/useTheme.d.ts +2 -2
  273. package/types/hooks/useTheme.d.ts.map +1 -1
  274. package/types/hooks/useThemeName.d.ts +1 -1
  275. package/types/hooks/useThemeName.d.ts.map +1 -1
  276. package/types/index.d.ts +49 -49
  277. package/types/index.d.ts.map +1 -1
  278. package/types/insertFont.d.ts +2 -2
  279. package/types/insertFont.d.ts.map +1 -1
  280. package/types/setupReactNative.d.ts +1 -1
  281. package/types/setupReactNative.d.ts.map +1 -1
  282. package/types/styled.d.ts +1 -1
  283. package/types/styled.d.ts.map +1 -1
  284. package/types/types.d.ts +4 -4
  285. package/types/types.d.ts.map +1 -1
  286. package/types/views/FontLanguage.d.ts +1 -1
  287. package/types/views/FontLanguage.d.ts.map +1 -1
  288. package/types/views/FontLanguage.native.d.ts +1 -1
  289. package/types/views/FontLanguage.native.d.ts.map +1 -1
  290. package/types/views/Stack.d.ts +2 -2
  291. package/types/views/Stack.d.ts.map +1 -1
  292. package/types/views/TamaguiProvider.d.ts +1 -1
  293. package/types/views/TamaguiProvider.d.ts.map +1 -1
  294. package/types/views/Text.d.ts +2 -2
  295. package/types/views/Text.d.ts.map +1 -1
  296. package/types/views/Theme.d.ts +2 -2
  297. package/types/views/Theme.d.ts.map +1 -1
  298. package/types/views/ThemeDebug.d.ts +2 -2
  299. package/types/views/ThemeDebug.d.ts.map +1 -1
package/src/index.ts CHANGED
@@ -1,16 +1,16 @@
1
- export * from './Tamagui.js'
2
- export * from './createComponent.js'
3
- export * from './createShorthands.js'
4
- export * from './createTheme.js'
5
- export * from './createTamagui.js'
6
- export * from './createFont.js'
7
- export * from './createTokens.js'
8
- export * from './createVariable.js'
9
- export * from './createVariables.js'
10
- export * from './insertFont.js'
11
- export * from './styled.js'
12
- export * from './types.js'
13
- export * from './setupReactNative.js'
1
+ export * from './Tamagui'
2
+ export * from './createComponent'
3
+ export * from './createShorthands'
4
+ export * from './createTheme'
5
+ export * from './createTamagui'
6
+ export * from './createFont'
7
+ export * from './createTokens'
8
+ export * from './createVariable'
9
+ export * from './createVariables'
10
+ export * from './insertFont'
11
+ export * from './styled'
12
+ export * from './types'
13
+ export * from './setupReactNative'
14
14
 
15
15
  export {
16
16
  getConfig,
@@ -18,30 +18,30 @@ export {
18
18
  getTokens,
19
19
  onConfiguredOnce,
20
20
  updateConfig,
21
- } from './config.js'
21
+ } from './config'
22
22
 
23
- export * from './constants/constants.js'
23
+ export * from './constants/constants'
24
24
 
25
- export * from './helpers/useShallowSetState.js'
26
- export * from './helpers/getVariantExtras.js'
27
- export * from './helpers/getAnimationDriver.js'
28
- export * from './helpers/getExpandedShorthands.js'
29
- export * from './helpers/getSplitStyles.js'
25
+ export * from './helpers/useShallowSetState'
26
+ export * from './helpers/getVariantExtras'
27
+ export * from './helpers/getAnimationDriver'
28
+ export * from './helpers/getExpandedShorthands'
29
+ export * from './helpers/getSplitStyles'
30
30
  export * from './helpers/getStylesAtomic'
31
- export * from './helpers/pseudoDescriptors.js'
32
- export * from './helpers/mergeProps.js'
33
- export * from './helpers/expandStyles.js'
34
- export * from './helpers/isTamaguiElement.js'
35
- export * from './helpers/isTamaguiComponent.js'
31
+ export * from './helpers/pseudoDescriptors'
32
+ export * from './helpers/mergeProps'
33
+ export * from './helpers/expandStyles'
34
+ export * from './helpers/isTamaguiElement'
35
+ export * from './helpers/isTamaguiComponent'
36
36
  export * from './helpers/matchMedia'
37
- export * from './helpers/themes.js'
38
- export * from './helpers/getThemeCSSRules.js'
39
- export * from './helpers/proxyThemeVariables.js'
40
- export * from './helpers/themeable.js'
41
- export * from './helpers/withStaticProperties.js'
42
- export * from './helpers/normalizeColor.js'
37
+ export * from './helpers/themes'
38
+ export * from './helpers/getThemeCSSRules'
39
+ export * from './helpers/proxyThemeVariables'
40
+ export * from './helpers/themeable'
41
+ export * from './helpers/withStaticProperties'
42
+ export * from './helpers/normalizeColor'
43
43
 
44
- export * from './contexts/ButtonNestingContext.js'
44
+ export * from './contexts/ButtonNestingContext'
45
45
 
46
46
  export {
47
47
  configureMedia,
@@ -51,24 +51,24 @@ export {
51
51
  useMediaPropsActive,
52
52
  mediaObjectToString,
53
53
  mediaQueryConfig,
54
- } from './hooks/useMedia.js'
55
- export * from './hooks/useTheme.js'
56
- export * from './hooks/useThemeName.js'
57
- export * from './hooks/useSafeRef.js'
58
- export * from './hooks/useStyle.js'
59
- export * from './hooks/useAnimationDriver.js'
60
- export * from './hooks/useIsTouchDevice.js'
61
- export * from './hooks/useProps.js'
54
+ } from './hooks/useMedia'
55
+ export * from './hooks/useTheme'
56
+ export * from './hooks/useThemeName'
57
+ export * from './hooks/useSafeRef'
58
+ export * from './hooks/useStyle'
59
+ export * from './hooks/useAnimationDriver'
60
+ export * from './hooks/useIsTouchDevice'
61
+ export * from './hooks/useProps'
62
62
 
63
- export * from './views/Slot.js'
64
- export * from './views/Stack.js'
65
- export * from './views/Text.js'
66
- export * from './contexts/TextAncestorContext.js'
67
- export * from './views/Theme.js'
68
- export * from './views/ThemeProvider.js'
63
+ export * from './views/Slot'
64
+ export * from './views/Stack'
65
+ export * from './views/Text'
66
+ export * from './contexts/TextAncestorContext'
67
+ export * from './views/Theme'
68
+ export * from './views/ThemeProvider'
69
69
  export * from './views/FontLanguage'
70
- export * from './views/TamaguiProvider.js'
71
- export * from './views/AnimationDriverProvider.js'
70
+ export * from './views/TamaguiProvider'
71
+ export * from './views/AnimationDriverProvider'
72
72
 
73
73
  export * from '@tamagui/use-force-update'
74
74
  export * from '@tamagui/use-did-finish-ssr'
@@ -77,4 +77,4 @@ export * from '@tamagui/compose-refs'
77
77
  export * from '@tamagui/helpers'
78
78
  export * from '@tamagui/constants'
79
79
 
80
- export * from './setupHooks.js'
80
+ export * from './setupHooks'
package/src/insertFont.ts CHANGED
@@ -1,9 +1,9 @@
1
- import { setConfigFont } from './config.js'
2
- import { createFont } from './createFont.js'
3
- import { Variable } from './createVariable.js'
4
- import { DeepVariableObject, createVariables } from './createVariables.js'
5
- import { registerCSSVariable, variableToCSS } from './helpers/registerCSSVariable.js'
6
- import { GenericFont } from './types.js'
1
+ import { setConfigFont } from './config'
2
+ import { createFont } from './createFont'
3
+ import { Variable } from './createVariable'
4
+ import { DeepVariableObject, createVariables } from './createVariables'
5
+ import { registerCSSVariable, variableToCSS } from './helpers/registerCSSVariable'
6
+ import { GenericFont } from './types'
7
7
 
8
8
  /**
9
9
  * Runtime dynamic insert font
@@ -1,4 +1,4 @@
1
- import { StaticConfig } from './types.js'
1
+ import { StaticConfig } from './types'
2
2
 
3
3
  export const ReactNativeStaticConfigs = new WeakMap<any, Partial<StaticConfig> | null>()
4
4
 
package/src/styled.tsx CHANGED
@@ -1,8 +1,8 @@
1
1
  import { stylePropsAll } from '@tamagui/helpers'
2
2
 
3
- import { createComponent } from './createComponent.js'
4
- import { mergeVariants } from './helpers/extendStaticConfig.js'
5
- import { ReactNativeStaticConfigs } from './setupReactNative.js'
3
+ import { createComponent } from './createComponent'
4
+ import { mergeVariants } from './helpers/extendStaticConfig'
5
+ import { ReactNativeStaticConfigs } from './setupReactNative'
6
6
  import type {
7
7
  GetProps,
8
8
  GetVariantValues,
@@ -14,7 +14,7 @@ import type {
14
14
  TamaguiElement,
15
15
  VariantDefinitions,
16
16
  VariantSpreadFunction,
17
- } from './types.js'
17
+ } from './types'
18
18
 
19
19
  type GetBaseProps<A extends StylableComponent> = A extends TamaguiComponent<
20
20
  any,
@@ -99,21 +99,18 @@ export function styled<
99
99
  ...defaultProps
100
100
  } = options
101
101
 
102
- // TODO why is this breaking native but fixing web
103
- // if (process.env.TAMAGUI_TARGET === 'web') {
104
- // if (parentStaticConfig) {
105
- // defaultProps = {
106
- // ...parentStaticConfig.defaultProps,
107
- // ...defaultProps,
108
- // ...defaultVariants,
109
- // }
110
- // }
111
- // }
102
+ if (parentStaticConfig) {
103
+ defaultProps = {
104
+ ...parentStaticConfig.defaultProps,
105
+ ...defaultProps,
106
+ ...defaultVariants,
107
+ }
108
+ }
112
109
 
113
110
  if (defaultVariants) {
114
111
  defaultProps = {
115
- ...defaultVariants,
116
112
  ...defaultProps,
113
+ ...defaultVariants,
117
114
  }
118
115
  }
119
116
 
@@ -236,7 +233,7 @@ export function styled<
236
233
  // sanity check more complex types:
237
234
 
238
235
  // import { Paragraph } from '../../text/src/Paragraph'
239
- // import { Text } from './views/Text.js'
236
+ // import { Text } from './views/Text'
240
237
  // import { getFontSized } from '../../get-font-sized/src'
241
238
  // import { SizableText } from '../../text/src/SizableText'
242
239
  // const Text1 = styled(Text, {
package/src/types.tsx CHANGED
@@ -21,11 +21,11 @@ import type {
21
21
  ViewStyle,
22
22
  } from 'react-native'
23
23
 
24
- import type { Variable } from './createVariable.js'
25
- import type { ResolveVariableTypes } from './helpers/createPropMapper.js'
26
- import type { FontLanguageProps } from './views/FontLanguage.types.js'
27
- import { Stack } from './views/Stack.js'
28
- import type { ThemeProviderProps } from './views/ThemeProvider.js'
24
+ import type { Variable } from './createVariable'
25
+ import type { ResolveVariableTypes } from './helpers/createPropMapper'
26
+ import type { FontLanguageProps } from './views/FontLanguage.types'
27
+ import { Stack } from './views/Stack'
28
+ import type { ThemeProviderProps } from './views/ThemeProvider'
29
29
 
30
30
  export type { MediaStyleObject, StyleObject } from '@tamagui/helpers'
31
31
 
@@ -1,7 +1,7 @@
1
1
  import { useMemo } from 'react'
2
2
 
3
- import { FontLanguageContext } from '../contexts/FontLanguageContext.js'
4
- import type { FontLanguageProps } from './FontLanguage.types.js'
3
+ import { FontLanguageContext } from '../contexts/FontLanguageContext'
4
+ import type { FontLanguageProps } from './FontLanguage.types'
5
5
 
6
6
  export const FontLanguage = ({ children, ...props }: FontLanguageProps) => {
7
7
  // eslint-disable-next-line react-hooks/exhaustive-deps
@@ -1,4 +1,4 @@
1
- import type { FontLanguageProps } from './FontLanguage.types.js'
1
+ import type { FontLanguageProps } from './FontLanguage.types'
2
2
 
3
3
  export const FontLanguage = ({ children, ...props }: FontLanguageProps) => {
4
4
  return (
@@ -1,6 +1,6 @@
1
- import { stackDefaultStyles } from '../constants/constants.js'
2
- import { createComponent } from '../createComponent.js'
3
- import type { StackProps, StackPropsBase } from '../types.js'
1
+ import { stackDefaultStyles } from '../constants/constants'
2
+ import { createComponent } from '../createComponent'
3
+ import type { StackProps, StackPropsBase } from '../types'
4
4
 
5
5
  export const Stack = createComponent<
6
6
  StackProps,
@@ -1,12 +1,12 @@
1
1
  import { isClient, isRSC, isServer, isWeb } from '@tamagui/constants'
2
2
  import * as React from 'react'
3
3
 
4
- import { ButtonNestingContext } from '../contexts/ButtonNestingContext.js'
5
- import { TextAncestorContext } from '../contexts/TextAncestorContext.js'
6
- import { useMediaListeners } from '../hooks/useMedia.js'
7
- import type { TamaguiProviderProps } from '../types.js'
8
- import { ThemeProvider } from './ThemeProvider.js'
9
- import { AnimationDriverContext } from '../contexts/AnimationDriverContext.js'
4
+ import { ButtonNestingContext } from '../contexts/ButtonNestingContext'
5
+ import { TextAncestorContext } from '../contexts/TextAncestorContext'
6
+ import { useMediaListeners } from '../hooks/useMedia'
7
+ import type { TamaguiProviderProps } from '../types'
8
+ import { ThemeProvider } from './ThemeProvider'
9
+ import { AnimationDriverContext } from '../contexts/AnimationDriverContext'
10
10
 
11
11
  export function TamaguiProvider({
12
12
  children,
@@ -1,8 +1,8 @@
1
1
  import { isWeb } from '@tamagui/constants'
2
2
  import { stylePropsTextOnly, validStyles } from '@tamagui/helpers'
3
3
 
4
- import { createComponent } from '../createComponent.js'
5
- import { TextProps, TextPropsBase } from '../types.js'
4
+ import { createComponent } from '../createComponent'
5
+ import { TextProps, TextPropsBase } from '../types'
6
6
 
7
7
  const ellipseStyle = {
8
8
  maxWidth: '100%',
@@ -1,11 +1,11 @@
1
1
  import { isWeb } from '@tamagui/constants'
2
2
  import { Children, cloneElement, isValidElement, useEffect, useId, useMemo } from 'react'
3
3
 
4
- import { variableToString } from '../createVariable.js'
5
- import { ThemeManagerContext } from '../helpers/ThemeManagerContext.js'
6
- import { useServerRef } from '../hooks/useServerHooks.js'
7
- import { ChangedThemeResponse, useChangeThemeEffect } from '../hooks/useTheme.js'
8
- import type { DebugProp, ThemeProps } from '../types.js'
4
+ import { variableToString } from '../createVariable'
5
+ import { ThemeManagerContext } from '../helpers/ThemeManagerContext'
6
+ import { useServerRef } from '../hooks/useServerHooks'
7
+ import { ChangedThemeResponse, useChangeThemeEffect } from '../hooks/useTheme'
8
+ import type { DebugProp, ThemeProps } from '../types'
9
9
  import { ThemeDebug } from './ThemeDebug'
10
10
 
11
11
  export function Theme(props: ThemeProps) {
@@ -2,8 +2,8 @@ import { useForceUpdate } from '@tamagui/use-force-update'
2
2
  import { useEffect, useId, useState } from 'react'
3
3
  import { createPortal } from 'react-dom'
4
4
 
5
- import { ChangedThemeResponse } from '../hooks/useTheme.js'
6
- import { ThemeProps } from '../types.js'
5
+ import { ChangedThemeResponse } from '../hooks/useTheme'
6
+ import { ThemeProps } from '../types'
7
7
 
8
8
  let node
9
9
 
@@ -56,7 +56,7 @@ export function ThemeDebug({
56
56
 
57
57
  useEffect(() => {
58
58
  // to refresh _listeningIds every so often
59
- const tm = setInterval(rerender, 100)
59
+ const tm = setInterval(rerender, 1000)
60
60
  return () => clearTimeout(tm)
61
61
  }, [])
62
62
 
@@ -1,8 +1,8 @@
1
1
  import { isClient } from '@tamagui/constants'
2
2
  import { createContext, useLayoutEffect, useMemo } from 'react'
3
3
 
4
- import { THEME_CLASSNAME_PREFIX } from '../constants/constants.js'
5
- import { Theme } from './Theme.js'
4
+ import { THEME_CLASSNAME_PREFIX } from '../constants/constants'
5
+ import { Theme } from './Theme'
6
6
 
7
7
  export type ThemeProviderProps = {
8
8
  className?: string
@@ -5,7 +5,7 @@ declare class TamaguiManager {
5
5
  [x: string]: boolean;
6
6
  [x: number]: boolean;
7
7
  };
8
- get config(): import("./types.js").TamaguiInternalConfig;
8
+ get config(): import("./types").TamaguiInternalConfig;
9
9
  get insertedRules(): string[];
10
10
  get allSelectors(): Record<string, string>;
11
11
  get allTransforms(): {};
@@ -1 +1 @@
1
- {"version":3,"file":"Tamagui.d.ts","sourceRoot":"","sources":["../src/Tamagui.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAA;AAa3C,cAAM,cAAc;IAClB,OAAO,iBAAU;IAEjB,IAAI,UAAU;;;MAEb;IAED,IAAI,MAAM,+CAET;IAED,IAAI,aAAa,aAEhB;IAED,IAAI,YAAY,2BAEf;IAED,IAAI,aAAa,OAEhB;IAED,IAAI,iBAAiB,qBAEpB;CACF;AAED,eAAO,MAAM,OAAO,gBAAuB,CAAA;AAI3C,eAAO,MAAM,sBAAsB,eAAgB,MAAM,QAExD,CAAA;AAED,eAAO,MAAM,kBAAkB,eAAgB,MAAM,SAAS,GAAG,SAEhE,CAAA"}
1
+ {"version":3,"file":"Tamagui.d.ts","sourceRoot":"","sources":["../src/Tamagui.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,kBAAkB,CAAA;AAa3C,cAAM,cAAc;IAClB,OAAO,iBAAU;IAEjB,IAAI,UAAU;;;MAEb;IAED,IAAI,MAAM,4CAET;IAED,IAAI,aAAa,aAEhB;IAED,IAAI,YAAY,2BAEf;IAED,IAAI,aAAa,OAEhB;IAED,IAAI,iBAAiB,qBAEpB;CACF;AAED,eAAO,MAAM,OAAO,gBAAuB,CAAA;AAI3C,eAAO,MAAM,sBAAsB,eAAgB,MAAM,QAExD,CAAA;AAED,eAAO,MAAM,kBAAkB,eAAgB,MAAM,SAAS,GAAG,SAEhE,CAAA"}
package/types/config.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { ConfigListener, TamaguiInternalConfig, TokensMerged } from './types.js';
1
+ import { ConfigListener, TamaguiInternalConfig, TokensMerged } from './types';
2
2
  export declare const setConfig: (next: TamaguiInternalConfig) => void;
3
3
  export declare const setConfigFont: (name: string, font: any, fontParsed: any) => void;
4
4
  export declare const getConfig: () => TamaguiInternalConfig;
@@ -14,27 +14,27 @@ export declare const getTokens: ({ prefixed, }?: {
14
14
  export declare const useTokens: () => TokensMerged;
15
15
  export declare const getThemes: () => {
16
16
  [x: string]: {
17
- [x: string]: import("./createVariable.js").Variable<any>;
18
- background?: import("./createVariable.js").Variable<any> | undefined;
19
- backgroundHover?: import("./createVariable.js").Variable<any> | undefined;
20
- backgroundPress?: import("./createVariable.js").Variable<any> | undefined;
21
- backgroundFocus?: import("./createVariable.js").Variable<any> | undefined;
22
- color?: import("./createVariable.js").Variable<any> | undefined;
23
- colorHover?: import("./createVariable.js").Variable<any> | undefined;
24
- colorPress?: import("./createVariable.js").Variable<any> | undefined;
25
- colorFocus?: import("./createVariable.js").Variable<any> | undefined;
26
- borderColor?: import("./createVariable.js").Variable<any> | undefined;
27
- borderColorHover?: import("./createVariable.js").Variable<any> | undefined;
28
- borderColorPress?: import("./createVariable.js").Variable<any> | undefined;
29
- borderColorFocus?: import("./createVariable.js").Variable<any> | undefined;
30
- shadowColor?: import("./createVariable.js").Variable<any> | undefined;
31
- shadowColorHover?: import("./createVariable.js").Variable<any> | undefined;
32
- shadowColorPress?: import("./createVariable.js").Variable<any> | undefined;
33
- shadowColorFocus?: import("./createVariable.js").Variable<any> | undefined;
17
+ [x: string]: import("./createVariable").Variable<any>;
18
+ background?: import("./createVariable").Variable<any> | undefined;
19
+ backgroundHover?: import("./createVariable").Variable<any> | undefined;
20
+ backgroundPress?: import("./createVariable").Variable<any> | undefined;
21
+ backgroundFocus?: import("./createVariable").Variable<any> | undefined;
22
+ color?: import("./createVariable").Variable<any> | undefined;
23
+ colorHover?: import("./createVariable").Variable<any> | undefined;
24
+ colorPress?: import("./createVariable").Variable<any> | undefined;
25
+ colorFocus?: import("./createVariable").Variable<any> | undefined;
26
+ borderColor?: import("./createVariable").Variable<any> | undefined;
27
+ borderColorHover?: import("./createVariable").Variable<any> | undefined;
28
+ borderColorPress?: import("./createVariable").Variable<any> | undefined;
29
+ borderColorFocus?: import("./createVariable").Variable<any> | undefined;
30
+ shadowColor?: import("./createVariable").Variable<any> | undefined;
31
+ shadowColorHover?: import("./createVariable").Variable<any> | undefined;
32
+ shadowColorPress?: import("./createVariable").Variable<any> | undefined;
33
+ shadowColorFocus?: import("./createVariable").Variable<any> | undefined;
34
34
  };
35
35
  };
36
36
  export declare const configListeners: Set<ConfigListener>;
37
37
  export declare const onConfiguredOnce: (cb: ConfigListener) => void;
38
38
  export declare const updateConfig: (key: string, value: any) => void;
39
- export declare const getFont: (name: string) => import("./types.js").GenericFont<string | number>;
39
+ export declare const getFont: (name: string) => import("./types").GenericFont<string | number>;
40
40
  //# sourceMappingURL=config.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,qBAAqB,EAAE,YAAY,EAAE,MAAM,YAAY,CAAA;AAIhF,eAAO,MAAM,SAAS,SAAU,qBAAqB,SAGpD,CAAA;AAED,eAAO,MAAM,aAAa,SAAU,MAAM,QAAQ,GAAG,cAAc,GAAG,SAMrE,CAAA;AAED,eAAO,MAAM,SAAS,6BASrB,CAAA;AAGD,eAAO,MAAM,SAAS;IAGpB;;OAEG;;MAEI,YA0BR,CAAA;AAED;;GAEG;AACH,eAAO,MAAM,SAAS,oBAAoB,CAAA;AAE1C,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;CAAqB,CAAA;AAE3C,eAAO,MAAM,eAAe,qBAA4B,CAAA;AAExD,eAAO,MAAM,gBAAgB,OAAQ,cAAc,SAMlD,CAAA;AAED,eAAO,MAAM,YAAY,QAAS,MAAM,SAAS,GAAG,SAGnD,CAAA;AAGD,eAAO,MAAM,OAAO,SAAU,MAAM,sDAQnC,CAAA"}
1
+ {"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,qBAAqB,EAAE,YAAY,EAAE,MAAM,SAAS,CAAA;AAI7E,eAAO,MAAM,SAAS,SAAU,qBAAqB,SAGpD,CAAA;AAED,eAAO,MAAM,aAAa,SAAU,MAAM,QAAQ,GAAG,cAAc,GAAG,SAMrE,CAAA;AAED,eAAO,MAAM,SAAS,6BASrB,CAAA;AAGD,eAAO,MAAM,SAAS;IAGpB;;OAEG;;MAEI,YA0BR,CAAA;AAED;;GAEG;AACH,eAAO,MAAM,SAAS,oBAAoB,CAAA;AAE1C,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;CAAqB,CAAA;AAE3C,eAAO,MAAM,eAAe,qBAA4B,CAAA;AAExD,eAAO,MAAM,gBAAgB,OAAQ,cAAc,SAMlD,CAAA;AAED,eAAO,MAAM,YAAY,QAAS,MAAM,SAAS,GAAG,SAGnD,CAAA;AAGD,eAAO,MAAM,OAAO,SAAU,MAAM,mDAQnC,CAAA"}
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
2
  export declare const FontLanguageContext: import("react").Context<Partial<{
3
- [x: string]: import("../types.js").FontLanguages;
3
+ [x: string]: import("..").FontLanguages;
4
4
  }> | null>;
5
5
  //# sourceMappingURL=FontLanguageContext.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"createComponent.d.ts","sourceRoot":"","sources":["../src/createComponent.tsx"],"names":[],"mappings":"AASA,OAAO,KAWN,MAAM,OAAO,CAAA;AAkBd,OAAO,EACL,SAAS,EACT,cAAc,EACd,WAAW,EACX,WAAW,EACX,YAAY,EACZ,kBAAkB,EAClB,iBAAiB,EACjB,gBAAgB,EAEhB,qBAAqB,EAErB,cAAc,EAIf,MAAM,SAAS,CAAA;AAoBhB,eAAO,MAAM,qBAAqB,EAAE,qBAMnC,CAAA;AAmBD,eAAO,MAAM,QAAQ,eAAsB,CAAA;AAqB3C,wBAAgB,eAAe,CAC7B,kBAAkB,SAAS,MAAM,GAAG,EAAE,EACtC,GAAG,GAAG,cAAc,EACpB,SAAS,GAAG,KAAK,EAEjB,QAAQ,EAAE,OAAO,CAAC,YAAY,CAAC,GAAG,kBAAkB,EACpD,eAAe,CAAC,EAAE,iBAAiB,wDA01BpC;AAGD,eAAO,MAAM,QAAQ;YAAW;QAAE,QAAQ,CAAC,EAAE,GAAG,CAAA;KAAE;;CAAmB,CAAA;AAMrE,eAAO,MAAM,MAAM,sDA8CjB,CAAA;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAChC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,KAAK,CAAC,EAAE,WAAW,GAAG,MAAM,GAAG,IAAI,CAAA;IACnC,SAAS,CAAC,EAAE,OAAO,GAAG,MAAM,CAAA;IAC5B,SAAS,CAAC,EAAE,cAAc,CAAA;IAC1B,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC3B,KAAK,CAAC,EAAE,SAAS,CAAA;CAClB,CAAA;AAED,wBAAgB,cAAc,CAAC,KAAK,EAAE,mBAAmB,mBAkGxD"}
1
+ {"version":3,"file":"createComponent.d.ts","sourceRoot":"","sources":["../src/createComponent.tsx"],"names":[],"mappings":"AASA,OAAO,KAUN,MAAM,OAAO,CAAA;AAkBd,OAAO,EACL,SAAS,EACT,cAAc,EACd,WAAW,EACX,WAAW,EACX,YAAY,EACZ,kBAAkB,EAClB,iBAAiB,EACjB,gBAAgB,EAEhB,qBAAqB,EACrB,cAAc,EAIf,MAAM,SAAS,CAAA;AAoBhB,eAAO,MAAM,qBAAqB,EAAE,qBAMnC,CAAA;AAmBD,eAAO,MAAM,QAAQ,eAAsB,CAAA;AAqB3C,wBAAgB,eAAe,CAC7B,kBAAkB,SAAS,MAAM,GAAG,EAAE,EACtC,GAAG,GAAG,cAAc,EACpB,SAAS,GAAG,KAAK,EAEjB,QAAQ,EAAE,OAAO,CAAC,YAAY,CAAC,GAAG,kBAAkB,EACpD,eAAe,CAAC,EAAE,iBAAiB,wDA2zBpC;AAGD,eAAO,MAAM,QAAQ;YAAW;QAAE,QAAQ,CAAC,EAAE,GAAG,CAAA;KAAE;;CAAmB,CAAA;AAMrE,eAAO,MAAM,MAAM,sDA8CjB,CAAA;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAChC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,KAAK,CAAC,EAAE,WAAW,GAAG,MAAM,GAAG,IAAI,CAAA;IACnC,SAAS,CAAC,EAAE,OAAO,GAAG,MAAM,CAAA;IAC5B,SAAS,CAAC,EAAE,cAAc,CAAA;IAC1B,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC3B,KAAK,CAAC,EAAE,SAAS,CAAA;CAClB,CAAA;AAED,wBAAgB,cAAc,CAAC,KAAK,EAAE,mBAAmB,mBAkGxD"}
@@ -1,3 +1,3 @@
1
- import { GenericFont } from './types.js';
1
+ import { GenericFont } from './types';
2
2
  export declare const createFont: <A extends GenericFont>(font: A) => A;
3
3
  //# sourceMappingURL=createFont.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"createFont.d.ts","sourceRoot":"","sources":["../src/createFont.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,WAAW,EAAE,MAAM,YAAY,CAAA;AAkCzD,eAAO,MAAM,UAAU,uCAetB,CAAA"}
1
+ {"version":3,"file":"createFont.d.ts","sourceRoot":"","sources":["../src/createFont.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,WAAW,EAAE,MAAM,SAAS,CAAA;AAkCtD,eAAO,MAAM,UAAU,uCAetB,CAAA"}
@@ -1,3 +1,3 @@
1
- import { CreateShorthands } from './types.js';
1
+ import { CreateShorthands } from './types';
2
2
  export declare function createShorthands<A extends CreateShorthands>(shorthands: A): A;
3
3
  //# sourceMappingURL=createShorthands.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"createShorthands.d.ts","sourceRoot":"","sources":["../src/createShorthands.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAI7C,wBAAgB,gBAAgB,CAAC,CAAC,SAAS,gBAAgB,EAAE,UAAU,EAAE,CAAC,GAAG,CAAC,CAE7E"}
1
+ {"version":3,"file":"createShorthands.d.ts","sourceRoot":"","sources":["../src/createShorthands.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAA;AAI1C,wBAAgB,gBAAgB,CAAC,CAAC,SAAS,gBAAgB,EAAE,UAAU,EAAE,CAAC,GAAG,CAAC,CAE7E"}
@@ -1,3 +1,3 @@
1
- import { CreateTamaguiProps, InferTamaguiConfig } from './types.js';
1
+ import { CreateTamaguiProps, InferTamaguiConfig } from './types';
2
2
  export declare function createTamagui<Conf extends CreateTamaguiProps>(configIn: Conf): InferTamaguiConfig<Conf>;
3
3
  //# sourceMappingURL=createTamagui.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"createTamagui.d.ts","sourceRoot":"","sources":["../src/createTamagui.ts"],"names":[],"mappings":"AAmBA,OAAO,EACL,kBAAkB,EAClB,kBAAkB,EAGnB,MAAM,YAAY,CAAA;AAKnB,wBAAgB,aAAa,CAAC,IAAI,SAAS,kBAAkB,EAC3D,QAAQ,EAAE,IAAI,GACb,kBAAkB,CAAC,IAAI,CAAC,CAkO1B"}
1
+ {"version":3,"file":"createTamagui.d.ts","sourceRoot":"","sources":["../src/createTamagui.ts"],"names":[],"mappings":"AAmBA,OAAO,EACL,kBAAkB,EAClB,kBAAkB,EAGnB,MAAM,SAAS,CAAA;AAKhB,wBAAgB,aAAa,CAAC,IAAI,SAAS,kBAAkB,EAC3D,QAAQ,EAAE,IAAI,GACb,kBAAkB,CAAC,IAAI,CAAC,CAkO1B"}
@@ -1,4 +1,4 @@
1
- import type { Variable } from './createVariable.js';
1
+ import type { Variable } from './createVariable';
2
2
  type GenericTheme = {
3
3
  [key: string]: string | Variable;
4
4
  };
@@ -1 +1 @@
1
- {"version":3,"file":"createTheme.d.ts","sourceRoot":"","sources":["../src/createTheme.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAA;AAEnD,KAAK,YAAY,GAAG;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,QAAQ,CAAA;CAAE,CAAA;AAIxD,eAAO,MAAM,WAAW,0GAMvB,CAAA"}
1
+ {"version":3,"file":"createTheme.d.ts","sourceRoot":"","sources":["../src/createTheme.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAA;AAEhD,KAAK,YAAY,GAAG;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,QAAQ,CAAA;CAAE,CAAA;AAIxD,eAAO,MAAM,WAAW,0GAMvB,CAAA"}
@@ -1,5 +1,5 @@
1
- import { Variable } from './createVariable.js';
2
- import { CreateTokens } from './types.js';
1
+ import { Variable } from './createVariable';
2
+ import { CreateTokens } from './types';
3
3
  export declare function createTokens<T extends CreateTokens>(tokens: T): MakeTokens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;IACD,MAAM,EAAE;SACL,GAAG,IAAI,MAAM,CAAC,SAAS,IAAI,MAAM,CAAC,EAAE,GAAG,CAAC,GAAG,MAAM,CAAC,GAAG,QAAQ,CAAC,MAAM,CAAC;KACvE,CAAA;CACF,GACD,KAAK,CAAA"}
@@ -1,4 +1,4 @@
1
- import { Variable } from './createVariable.js';
1
+ import { Variable } from './createVariable';
2
2
  type DeepTokenObject<Val extends string | number = any> = {
3
3
  [key: string]: Val | DeepTokenObject<Val>;
4
4
  };
@@ -1 +1 @@
1
- {"version":3,"file":"createVariables.d.ts","sourceRoot":"","sources":["../src/createVariables.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAA8B,MAAM,qBAAqB,CAAA;AAE1E,KAAK,eAAe,CAAC,GAAG,SAAS,MAAM,GAAG,MAAM,GAAG,GAAG,IAAI;IACxD,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,GAAG,eAAe,CAAC,GAAG,CAAC,CAAA;CAC1C,CAAA;AAED,MAAM,MAAM,kBAAkB,CAAC,CAAC,SAAS,eAAe,IAAI;KACzD,GAAG,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,GAAG,MAAM,GAC5C,QAAQ,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,GAChB,CAAC,CAAC,GAAG,CAAC,SAAS,eAAe,GAC9B,kBAAkB,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,GAC1B,KAAK;CACV,CAAA;AAED,eAAO,MAAM,iBAAiB,sBAAgB,CAAA;AAE9C,eAAO,MAAM,eAAe,6GAoC3B,CAAA"}
1
+ {"version":3,"file":"createVariables.d.ts","sourceRoot":"","sources":["../src/createVariables.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAA8B,MAAM,kBAAkB,CAAA;AAEvE,KAAK,eAAe,CAAC,GAAG,SAAS,MAAM,GAAG,MAAM,GAAG,GAAG,IAAI;IACxD,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,GAAG,eAAe,CAAC,GAAG,CAAC,CAAA;CAC1C,CAAA;AAED,MAAM,MAAM,kBAAkB,CAAC,CAAC,SAAS,eAAe,IAAI;KACzD,GAAG,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,GAAG,MAAM,GAC5C,QAAQ,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,GAChB,CAAC,CAAC,GAAG,CAAC,SAAS,eAAe,GAC9B,kBAAkB,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,GAC1B,KAAK;CACV,CAAA;AAED,eAAO,MAAM,iBAAiB,sBAAgB,CAAA;AAE9C,eAAO,MAAM,eAAe,6GAoC3B,CAAA"}
@@ -1,4 +1,4 @@
1
- import { ThemeParsed, ThemeProps } from '../types.js';
1
+ import { ThemeParsed, ThemeProps } from '../types';
2
2
  type ThemeListener = (name: string | null, themeManager: ThemeManager) => void;
3
3
  export type SetActiveThemeProps = {
4
4
  className?: string;
@@ -30,7 +30,7 @@ export declare class ThemeManager {
30
30
  getState(props?: ThemeProps, parentManager?: ThemeManager | null): ThemeManagerState | null;
31
31
  _allKeys: Set<string> | null;
32
32
  get allKeys(): Set<string>;
33
- getValue(key: string, state?: ThemeManagerState): string | number | import("../createVariable.js").Variable<any> | undefined;
33
+ getValue(key: string, state?: ThemeManagerState): string | number | import("..").Variable<any> | undefined;
34
34
  notify(): void;
35
35
  onChangeTheme(cb: ThemeListener, debugId?: number): () => void;
36
36
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ThemeManager.d.ts","sourceRoot":"","sources":["../../src/helpers/ThemeManager.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,MAAM,aAAa,CAAA;AAErD,KAAK,aAAa,GAAG,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,EAAE,YAAY,EAAE,YAAY,KAAK,IAAI,CAAA;AAE9E,MAAM,MAAM,mBAAmB,GAAG;IACh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U,CAAC,EAAE,WAAW,CAAA;KAAqB,EACnE,YAAY,UAAO;IAmCrB,iBAAiB,CACf,KAAK,aAAa,EAClB,KAAK,GAAE,iBAAiB,GAAG,IAAiB,EAC5C,aAAa,sBAAqB;IAYpC,oBAAoB,CAClB,SAAS,EAAE,iBAAiB,GAAG,IAAI,EACnC,KAAK,GAAE,iBAAiB,GAAG,IAAiB;IAQ9C,QAAQ,CAAC,KAAK,aAAa,EAAE,aAAa,sBAAqB;IAO/D,QAAQ,EAAE,GAAG,CAAC,MAAM,CAAC,GAAG,IAAI,CAAO;IACnC,IAAI,OAAO,gBAMV;IAGD,QAAQ,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,iBAAiB;IAiB/C,MAAM;IAIN,aAAa,CAAC,EAAE,EAAE,aAAa,EAAE,OAAO,CAAC,EAAE,MAAM;CAalD;AAuJD,wBAAgB,4BAA4B,CAAC,YAAY,CAAC,EAAE,YAAY,GAAG,IAAI,uBAa9E"}
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
- import { ThemeManager } from './ThemeManager.js';
2
+ import { ThemeManager } from './ThemeManager';
3
3
  export declare const ThemeManagerContext: import("react").Context<ThemeManager | null>;
4
4
  //# sourceMappingURL=ThemeManagerContext.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ThemeManagerContext.d.ts","sourceRoot":"","sources":["../../src/helpers/ThemeManagerContext.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAA;AAEhD,eAAO,MAAM,mBAAmB,8CAA2C,CAAA"}
1
+ {"version":3,"file":"ThemeManagerContext.d.ts","sourceRoot":"","sources":["../../src/helpers/ThemeManagerContext.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAA;AAE7C,eAAO,MAAM,mBAAmB,8CAA2C,CAAA"}
@@ -1,4 +1,4 @@
1
- import type { MediaQueries, MediaStyleObject, StyleObject } from '../types.js';
1
+ import type { MediaQueries, MediaStyleObject, StyleObject } from '../types';
2
2
  export declare const MEDIA_SEP = "_";
3
3
  export declare const createMediaStyle: ({ property, identifier, rules }: StyleObject, mediaKey: string, mediaQueries: MediaQueries, negate?: boolean) => MediaStyleObject;
4
4
  //# sourceMappingURL=createMediaStyle.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"createMediaStyle.d.ts","sourceRoot":"","sources":["../../src/helpers/createMediaStyle.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,gBAAgB,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAI9E,eAAO,MAAM,SAAS,MAAM,CAAA;AAK5B,eAAO,MAAM,gBAAgB,oCACM,WAAW,YAClC,MAAM,gBACF,YAAY,WACjB,OAAO,KACf,gBAqCF,CAAA"}
1
+ {"version":3,"file":"createMediaStyle.d.ts","sourceRoot":"","sources":["../../src/helpers/createMediaStyle.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,gBAAgB,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA;AAI3E,eAAO,MAAM,SAAS,MAAM,CAAA;AAK5B,eAAO,MAAM,gBAAgB,oCACM,WAAW,YAClC,MAAM,gBACF,YAAY,WACjB,OAAO,KACf,gBAqCF,CAAA"}
@@ -1,4 +1,4 @@
1
- import type { PropMapper, StaticConfigParsed, TamaguiInternalConfig } from '../types.js';
1
+ import type { PropMapper, StaticConfigParsed, TamaguiInternalConfig } from '../types';
2
2
  export type ResolveVariableTypes = 'auto' | 'value' | 'variable' | 'both' | 'non-color-value';
3
3
  export declare const createPropMapper: (staticConfig: StaticConfigParsed) => PropMapper;
4
4
  export declare function getFontFamilyFromNameOrVariable(input: any, conf: TamaguiInternalConfig): string | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"createPropMapper.d.ts","sourceRoot":"","sources":["../../src/helpers/createPropMapper.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAGV,UAAU,EAEV,kBAAkB,EAClB,qBAAqB,EAEtB,MAAM,aAAa,CAAA;AAQpB,MAAM,MAAM,oBAAoB,GAC5B,MAAM,GACN,OAAO,GACP,UAAU,GACV,MAAM,GACN,iBAAiB,CAAA;AAErB,eAAO,MAAM,gBAAgB,iBAAkB,kBAAkB,eAsGhE,CAAA;AA0GD,wBAAgB,+BAA+B,CAAC,KAAK,EAAE,GAAG,EAAE,IAAI,EAAE,qBAAqB,sBA2BtF;AAMD,eAAO,MAAM,uBAAuB,cAAe,GAAG,QAErD,CAAA"}
1
+ {"version":3,"file":"createPropMapper.d.ts","sourceRoot":"","sources":["../../src/helpers/createPropMapper.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAGV,UAAU,EAEV,kBAAkB,EAClB,qBAAqB,EAEtB,MAAM,UAAU,CAAA;AAQjB,MAAM,MAAM,oBAAoB,GAC5B,MAAM,GACN,OAAO,GACP,UAAU,GACV,MAAM,GACN,iBAAiB,CAAA;AAErB,eAAO,MAAM,gBAAgB,iBAAkB,kBAAkB,eAsGhE,CAAA;AA0GD,wBAAgB,+BAA+B,CAAC,KAAK,EAAE,GAAG,EAAE,IAAI,EAAE,qBAAqB,sBA2BtF;AAMD,eAAO,MAAM,uBAAuB,cAAe,GAAG,QAErD,CAAA"}
@@ -5,6 +5,6 @@
5
5
  * 2. Normalizes various inconsistent styles to be more consistent
6
6
  * 3. Expands react-native shorthands, ie paddingHorizontal => paddingLeft, paddingRight
7
7
  */
8
- export declare function expandStyles(style: Record<string, any>, config?: import("../types.js").TamaguiInternalConfig): Record<string, any>;
8
+ export declare function expandStyles(style: Record<string, any>, config?: import("..").TamaguiInternalConfig): Record<string, any>;
9
9
  export declare function fixStyles(style: Record<string, any>): void;
10
10
  //# sourceMappingURL=expandStyles.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"expandStyles.d.ts","sourceRoot":"","sources":["../../src/helpers/expandStyles.ts"],"names":[],"mappings":"AAUA;;;;;;GAMG;AAEH,wBAAgB,YAAY,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,MAAM,8CAAc,uBAyB5E;AAED,wBAAgB,SAAS,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,QAiBnD"}
1
+ {"version":3,"file":"expandStyles.d.ts","sourceRoot":"","sources":["../../src/helpers/expandStyles.ts"],"names":[],"mappings":"AAUA;;;;;;GAMG;AAEH,wBAAgB,YAAY,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,MAAM,qCAAc,uBAyB5E;AAED,wBAAgB,SAAS,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,QAiBnD"}
@@ -1,4 +1,4 @@
1
- import type { GenericVariantDefinitions, StaticConfig, StaticConfigParsed, StylableComponent } from '../types.js';
1
+ import type { GenericVariantDefinitions, StaticConfig, StaticConfigParsed, StylableComponent } from '../types';
2
2
  export declare function extendStaticConfig(config: Partial<StaticConfig>, parent?: StylableComponent): StaticConfigParsed;
3
3
  export declare const mergeVariants: (parentVariants?: GenericVariantDefinitions, ourVariants?: GenericVariantDefinitions) => {
4
4
  [x: string]: {
@@ -1 +1 @@
1
- {"version":3,"file":"extendStaticConfig.d.ts","sourceRoot":"","sources":["../../src/helpers/extendStaticConfig.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,yBAAyB,EACzB,YAAY,EACZ,kBAAkB,EAClB,iBAAiB,EAClB,MAAM,aAAa,CAAA;AAIpB,wBAAgB,kBAAkB,CAChC,MAAM,EAAE,OAAO,CAAC,YAAY,CAAC,EAC7B,MAAM,CAAC,EAAE,iBAAiB,sBAuC3B;AAED,eAAO,MAAM,aAAa,oBACP,yBAAyB,gBAC5B,yBAAyB;;;;;;CAoBxC,CAAA;AAED,eAAO,MAAM,iBAAiB,WAAY,QAAQ,YAAY,CAAC,KAAG,kBAUjE,CAAA"}
1
+ {"version":3,"file":"extendStaticConfig.d.ts","sourceRoot":"","sources":["../../src/helpers/extendStaticConfig.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,yBAAyB,EACzB,YAAY,EACZ,kBAAkB,EAClB,iBAAiB,EAClB,MAAM,UAAU,CAAA;AAIjB,wBAAgB,kBAAkB,CAChC,MAAM,EAAE,OAAO,CAAC,YAAY,CAAC,EAC7B,MAAM,CAAC,EAAE,iBAAiB,sBAuC3B;AAED,eAAO,MAAM,aAAa,oBACP,yBAAyB,gBAC5B,yBAAyB;;;;;;CAoBxC,CAAA;AAED,eAAO,MAAM,iBAAiB,WAAY,QAAQ,YAAY,CAAC,KAAG,kBAUjE,CAAA"}