@tamagui/web 3.0.0-beta.765.1 → 3.0.0-beta.804.1

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 (411) hide show
  1. package/dist/cjs/createComponent.cjs +83 -86
  2. package/dist/cjs/createComponent.native.cjs +96 -103
  3. package/dist/cjs/createComponent.native.js +96 -103
  4. package/dist/cjs/createComponent.native.js.map +1 -1
  5. package/dist/cjs/createTamagui.cjs +9 -7
  6. package/dist/cjs/createTamagui.native.cjs +9 -7
  7. package/dist/cjs/createTamagui.native.js +9 -7
  8. package/dist/cjs/createTamagui.native.js.map +1 -1
  9. package/dist/cjs/helpers/defaultAnimationDriver.cjs +0 -1
  10. package/dist/cjs/helpers/defaultAnimationDriver.native.cjs +0 -1
  11. package/dist/cjs/helpers/defaultAnimationDriver.native.js +0 -1
  12. package/dist/cjs/helpers/defaultAnimationDriver.native.js.map +1 -1
  13. package/dist/cjs/helpers/directStyleCSS.cjs +348 -0
  14. package/dist/cjs/helpers/directStyleCSS.native.cjs +20 -0
  15. package/dist/cjs/helpers/directStyleCSS.native.js +22 -0
  16. package/dist/cjs/helpers/directStyleCSS.native.js.map +1 -0
  17. package/dist/cjs/helpers/directStyleCSSCompiled.cjs +40 -0
  18. package/dist/cjs/helpers/directStyleCSSCompiled.native.cjs +46 -0
  19. package/dist/cjs/helpers/directStyleCSSCompiled.native.js +48 -0
  20. package/dist/cjs/helpers/directStyleCSSCompiled.native.js.map +1 -0
  21. package/dist/cjs/helpers/getCSSStylesAtomic.cjs +92 -74
  22. package/dist/cjs/helpers/{getFontLanguage.native.cjs → getCSSStylesAtomicCompiled.cjs} +12 -8
  23. package/dist/cjs/helpers/{getFontLanguage.native.js → getCSSStylesAtomicCompiled.native.cjs} +12 -8
  24. package/dist/cjs/helpers/getCSSStylesAtomicCompiled.native.js +36 -0
  25. package/dist/cjs/helpers/getCSSStylesAtomicCompiled.native.js.map +1 -0
  26. package/dist/cjs/helpers/getSplitStyles.cjs +2417 -548
  27. package/dist/cjs/helpers/getSplitStyles.native.cjs +2758 -621
  28. package/dist/cjs/helpers/getSplitStyles.native.js +2758 -621
  29. package/dist/cjs/helpers/getSplitStyles.native.js.map +1 -1
  30. package/dist/cjs/helpers/getVariantExtras.cjs +8 -3
  31. package/dist/cjs/helpers/getVariantExtras.native.cjs +8 -3
  32. package/dist/cjs/helpers/getVariantExtras.native.js +8 -3
  33. package/dist/cjs/helpers/getVariantExtras.native.js.map +1 -1
  34. package/dist/cjs/helpers/insertStyleRule.cjs +2 -1
  35. package/dist/cjs/helpers/insertStyleRule.native.cjs +68 -5
  36. package/dist/cjs/helpers/insertStyleRule.native.js +68 -5
  37. package/dist/cjs/helpers/insertStyleRule.native.js.map +1 -1
  38. package/dist/cjs/helpers/mediaState.cjs +12 -0
  39. package/dist/cjs/helpers/mediaState.native.cjs +12 -0
  40. package/dist/cjs/helpers/mediaState.native.js +12 -0
  41. package/dist/cjs/helpers/mediaState.native.js.map +1 -1
  42. package/dist/cjs/helpers/normalizeStyle.cjs +16 -2
  43. package/dist/cjs/helpers/normalizeStyle.native.cjs +16 -2
  44. package/dist/cjs/helpers/normalizeStyle.native.js +16 -2
  45. package/dist/cjs/helpers/normalizeStyle.native.js.map +1 -1
  46. package/dist/cjs/helpers/resolveRem.cjs +1 -1
  47. package/dist/cjs/helpers/skipProps.cjs +6 -1
  48. package/dist/cjs/helpers/skipProps.native.cjs +6 -1
  49. package/dist/cjs/helpers/skipProps.native.js +6 -1
  50. package/dist/cjs/helpers/skipProps.native.js.map +1 -1
  51. package/dist/cjs/helpers/styleFrontend.cjs +2 -8
  52. package/dist/cjs/helpers/styleFrontend.native.cjs +2 -10
  53. package/dist/cjs/helpers/styleFrontend.native.js +2 -10
  54. package/dist/cjs/helpers/styleFrontend.native.js.map +1 -1
  55. package/dist/cjs/helpers/styleToCSS.cjs +59 -0
  56. package/dist/cjs/helpers/{normalizeStylePropKeys.cjs → styleToCSS.native.cjs} +6 -4
  57. package/dist/cjs/helpers/{getFontLanguage.cjs → styleToCSS.native.js} +8 -4
  58. package/dist/cjs/helpers/styleToCSS.native.js.map +1 -0
  59. package/dist/cjs/helpers/subscribeToContextGroup.cjs +28 -1
  60. package/dist/cjs/helpers/subscribeToContextGroup.native.cjs +45 -1
  61. package/dist/cjs/helpers/subscribeToContextGroup.native.js +45 -1
  62. package/dist/cjs/helpers/subscribeToContextGroup.native.js.map +1 -1
  63. package/dist/cjs/helpers/variables.cjs +3 -2
  64. package/dist/cjs/helpers/variables.native.cjs +3 -2
  65. package/dist/cjs/helpers/variables.native.js +3 -2
  66. package/dist/cjs/helpers/variables.native.js.map +1 -1
  67. package/dist/cjs/helpers/wrapStyleTags.cjs +5 -3
  68. package/dist/cjs/helpers/wrapStyleTags.native.cjs +3 -1
  69. package/dist/cjs/helpers/wrapStyleTags.native.js +3 -1
  70. package/dist/cjs/helpers/wrapStyleTags.native.js.map +1 -1
  71. package/dist/cjs/hooks/useComponentState.cjs +70 -89
  72. package/dist/cjs/hooks/useComponentState.native.cjs +70 -88
  73. package/dist/cjs/hooks/useComponentState.native.js +70 -88
  74. package/dist/cjs/hooks/useComponentState.native.js.map +1 -1
  75. package/dist/cjs/hooks/useMedia.cjs +3 -15
  76. package/dist/cjs/hooks/useMedia.native.cjs +3 -15
  77. package/dist/cjs/hooks/useMedia.native.js +3 -15
  78. package/dist/cjs/hooks/useMedia.native.js.map +1 -1
  79. package/dist/cjs/hooks/useProps.cjs +7 -5
  80. package/dist/cjs/hooks/useProps.native.cjs +7 -5
  81. package/dist/cjs/hooks/useProps.native.js +7 -5
  82. package/dist/cjs/hooks/useProps.native.js.map +1 -1
  83. package/dist/cjs/hooks/useSplitStyles.cjs +42 -0
  84. package/dist/cjs/hooks/useSplitStyles.native.cjs +42 -0
  85. package/dist/cjs/hooks/useSplitStyles.native.js +44 -0
  86. package/dist/cjs/hooks/useSplitStyles.native.js.map +1 -0
  87. package/dist/cjs/index.cjs +184 -70
  88. package/dist/cjs/index.native.cjs +184 -70
  89. package/dist/cjs/index.native.js +184 -70
  90. package/dist/cjs/index.native.js.map +1 -1
  91. package/dist/cjs/insertFont.cjs +1 -1
  92. package/dist/cjs/insertFont.native.cjs +1 -0
  93. package/dist/cjs/insertFont.native.js +1 -0
  94. package/dist/cjs/insertFont.native.js.map +1 -1
  95. package/dist/cjs/internal-runtime.cjs +33 -6
  96. package/dist/cjs/internal-runtime.native.cjs +33 -6
  97. package/dist/cjs/internal-runtime.native.js +33 -6
  98. package/dist/cjs/internal-runtime.native.js.map +1 -1
  99. package/dist/cjs/setupReactNative.cjs +1 -29
  100. package/dist/cjs/setupReactNative.native.cjs +1 -3
  101. package/dist/cjs/setupReactNative.native.js +1 -3
  102. package/dist/cjs/setupReactNative.native.js.map +1 -1
  103. package/dist/cjs/static-resolve.cjs +229 -0
  104. package/dist/cjs/static-resolve.native.cjs +242 -0
  105. package/dist/cjs/static-resolve.native.js +244 -0
  106. package/dist/cjs/static-resolve.native.js.map +1 -0
  107. package/dist/cjs/styled.cjs +23 -37
  108. package/dist/cjs/styled.native.cjs +22 -37
  109. package/dist/cjs/styled.native.js +22 -37
  110. package/dist/cjs/styled.native.js.map +1 -1
  111. package/dist/cjs/views/TamaguiProvider.cjs +4 -8
  112. package/dist/cjs/views/TamaguiProvider.native.cjs +4 -8
  113. package/dist/cjs/views/TamaguiProvider.native.js +4 -8
  114. package/dist/cjs/views/TamaguiProvider.native.js.map +1 -1
  115. package/dist/cjs/views/ThemeUpdate.cjs +1 -1
  116. package/dist/cjs/views/ThemeUpdate.native.cjs +1 -1
  117. package/dist/cjs/views/ThemeUpdate.native.js +1 -1
  118. package/dist/cjs/views/ThemeUpdate.native.js.map +1 -1
  119. package/dist/esm/createComponent.mjs +85 -88
  120. package/dist/esm/createComponent.mjs.map +1 -1
  121. package/dist/esm/createComponent.native.js +98 -105
  122. package/dist/esm/createComponent.native.js.map +1 -1
  123. package/dist/esm/createTamagui.mjs +9 -7
  124. package/dist/esm/createTamagui.mjs.map +1 -1
  125. package/dist/esm/createTamagui.native.js +9 -7
  126. package/dist/esm/createTamagui.native.js.map +1 -1
  127. package/dist/esm/helpers/defaultAnimationDriver.mjs +0 -1
  128. package/dist/esm/helpers/defaultAnimationDriver.mjs.map +1 -1
  129. package/dist/esm/helpers/defaultAnimationDriver.native.js +0 -1
  130. package/dist/esm/helpers/defaultAnimationDriver.native.js.map +1 -1
  131. package/dist/esm/helpers/directStyleCSS.mjs +320 -0
  132. package/dist/esm/helpers/directStyleCSS.mjs.map +1 -0
  133. package/dist/esm/helpers/directStyleCSS.native.js +1 -0
  134. package/dist/esm/helpers/directStyleCSSCompiled.mjs +11 -0
  135. package/dist/esm/helpers/directStyleCSSCompiled.mjs.map +1 -0
  136. package/dist/esm/helpers/directStyleCSSCompiled.native.js +15 -0
  137. package/dist/esm/helpers/directStyleCSSCompiled.native.js.map +1 -0
  138. package/dist/esm/helpers/getCSSStylesAtomic.mjs +86 -72
  139. package/dist/esm/helpers/getCSSStylesAtomic.mjs.map +1 -1
  140. package/dist/esm/helpers/getCSSStylesAtomicCompiled.mjs +9 -0
  141. package/dist/esm/helpers/getCSSStylesAtomicCompiled.mjs.map +1 -0
  142. package/dist/esm/helpers/getCSSStylesAtomicCompiled.native.js +9 -0
  143. package/dist/esm/helpers/getCSSStylesAtomicCompiled.native.js.map +1 -0
  144. package/dist/esm/helpers/getSplitStyles.mjs +2406 -545
  145. package/dist/esm/helpers/getSplitStyles.mjs.map +1 -1
  146. package/dist/esm/helpers/getSplitStyles.native.js +2751 -618
  147. package/dist/esm/helpers/getSplitStyles.native.js.map +1 -1
  148. package/dist/esm/helpers/getVariantExtras.mjs +8 -3
  149. package/dist/esm/helpers/getVariantExtras.mjs.map +1 -1
  150. package/dist/esm/helpers/getVariantExtras.native.js +8 -3
  151. package/dist/esm/helpers/getVariantExtras.native.js.map +1 -1
  152. package/dist/esm/helpers/insertStyleRule.mjs +2 -1
  153. package/dist/esm/helpers/insertStyleRule.mjs.map +1 -1
  154. package/dist/esm/helpers/insertStyleRule.native.js +69 -3
  155. package/dist/esm/helpers/insertStyleRule.native.js.map +1 -1
  156. package/dist/esm/helpers/mediaState.mjs +12 -1
  157. package/dist/esm/helpers/mediaState.mjs.map +1 -1
  158. package/dist/esm/helpers/mediaState.native.js +12 -1
  159. package/dist/esm/helpers/mediaState.native.js.map +1 -1
  160. package/dist/esm/helpers/normalizeStyle.mjs +16 -2
  161. package/dist/esm/helpers/normalizeStyle.mjs.map +1 -1
  162. package/dist/esm/helpers/normalizeStyle.native.js +16 -2
  163. package/dist/esm/helpers/normalizeStyle.native.js.map +1 -1
  164. package/dist/esm/helpers/resolveRem.mjs +1 -1
  165. package/dist/esm/helpers/resolveRem.mjs.map +1 -1
  166. package/dist/esm/helpers/skipProps.mjs +3 -1
  167. package/dist/esm/helpers/skipProps.mjs.map +1 -1
  168. package/dist/esm/helpers/skipProps.native.js +3 -1
  169. package/dist/esm/helpers/skipProps.native.js.map +1 -1
  170. package/dist/esm/helpers/styleFrontend.mjs +2 -4
  171. package/dist/esm/helpers/styleFrontend.mjs.map +1 -1
  172. package/dist/esm/helpers/styleFrontend.native.js +2 -6
  173. package/dist/esm/helpers/styleFrontend.native.js.map +1 -1
  174. package/dist/esm/helpers/styleToCSS.mjs +40 -0
  175. package/dist/esm/helpers/styleToCSS.mjs.map +1 -0
  176. package/dist/esm/helpers/styleToCSS.native.js +4 -0
  177. package/dist/esm/helpers/styleToCSS.native.js.map +1 -0
  178. package/dist/esm/helpers/subscribeToContextGroup.mjs +25 -1
  179. package/dist/esm/helpers/subscribeToContextGroup.mjs.map +1 -1
  180. package/dist/esm/helpers/subscribeToContextGroup.native.js +42 -1
  181. package/dist/esm/helpers/subscribeToContextGroup.native.js.map +1 -1
  182. package/dist/esm/helpers/variables.mjs +2 -1
  183. package/dist/esm/helpers/variables.mjs.map +1 -1
  184. package/dist/esm/helpers/variables.native.js +2 -1
  185. package/dist/esm/helpers/variables.native.js.map +1 -1
  186. package/dist/esm/helpers/wrapStyleTags.mjs +5 -3
  187. package/dist/esm/helpers/wrapStyleTags.mjs.map +1 -1
  188. package/dist/esm/helpers/wrapStyleTags.native.js +3 -1
  189. package/dist/esm/helpers/wrapStyleTags.native.js.map +1 -1
  190. package/dist/esm/hooks/useComponentState.mjs +71 -90
  191. package/dist/esm/hooks/useComponentState.mjs.map +1 -1
  192. package/dist/esm/hooks/useComponentState.native.js +71 -89
  193. package/dist/esm/hooks/useComponentState.native.js.map +1 -1
  194. package/dist/esm/hooks/useMedia.mjs +2 -15
  195. package/dist/esm/hooks/useMedia.mjs.map +1 -1
  196. package/dist/esm/hooks/useMedia.native.js +2 -15
  197. package/dist/esm/hooks/useMedia.native.js.map +1 -1
  198. package/dist/esm/hooks/useProps.mjs +7 -5
  199. package/dist/esm/hooks/useProps.mjs.map +1 -1
  200. package/dist/esm/hooks/useProps.native.js +7 -5
  201. package/dist/esm/hooks/useProps.native.js.map +1 -1
  202. package/dist/esm/hooks/useSplitStyles.mjs +17 -0
  203. package/dist/esm/hooks/useSplitStyles.mjs.map +1 -0
  204. package/dist/esm/hooks/useSplitStyles.native.js +14 -0
  205. package/dist/esm/hooks/useSplitStyles.native.js.map +1 -0
  206. package/dist/esm/index.js +57 -137
  207. package/dist/esm/index.mjs +57 -137
  208. package/dist/esm/index.native.js +57 -137
  209. package/dist/esm/insertFont.mjs +1 -1
  210. package/dist/esm/insertFont.mjs.map +1 -1
  211. package/dist/esm/insertFont.native.js +1 -0
  212. package/dist/esm/insertFont.native.js.map +1 -1
  213. package/dist/esm/internal-runtime.mjs +23 -4
  214. package/dist/esm/internal-runtime.mjs.map +1 -1
  215. package/dist/esm/internal-runtime.native.js +23 -4
  216. package/dist/esm/internal-runtime.native.js.map +1 -1
  217. package/dist/esm/setupReactNative.mjs +1 -29
  218. package/dist/esm/setupReactNative.mjs.map +1 -1
  219. package/dist/esm/setupReactNative.native.js +1 -3
  220. package/dist/esm/setupReactNative.native.js.map +1 -1
  221. package/dist/esm/static-resolve.mjs +194 -0
  222. package/dist/esm/static-resolve.mjs.map +1 -0
  223. package/dist/esm/static-resolve.native.js +205 -0
  224. package/dist/esm/static-resolve.native.js.map +1 -0
  225. package/dist/esm/styled.mjs +24 -40
  226. package/dist/esm/styled.mjs.map +1 -1
  227. package/dist/esm/styled.native.js +23 -40
  228. package/dist/esm/styled.native.js.map +1 -1
  229. package/dist/esm/views/TamaguiProvider.mjs +4 -8
  230. package/dist/esm/views/TamaguiProvider.mjs.map +1 -1
  231. package/dist/esm/views/TamaguiProvider.native.js +4 -8
  232. package/dist/esm/views/TamaguiProvider.native.js.map +1 -1
  233. package/dist/esm/views/ThemeUpdate.mjs +1 -1
  234. package/dist/esm/views/ThemeUpdate.mjs.map +1 -1
  235. package/dist/esm/views/ThemeUpdate.native.js +1 -1
  236. package/dist/esm/views/ThemeUpdate.native.js.map +1 -1
  237. package/package.json +25 -15
  238. package/reset.css +3 -3
  239. package/src/createComponent.tsx +175 -192
  240. package/src/createTamagui.ts +10 -9
  241. package/src/helpers/defaultAnimationDriver.tsx +0 -1
  242. package/src/helpers/directStyleCSS.native.ts +1 -0
  243. package/src/helpers/directStyleCSS.ts +534 -0
  244. package/src/helpers/directStyleCSSCompiled.ts +32 -0
  245. package/src/helpers/getCSSStylesAtomic.ts +168 -88
  246. package/src/helpers/getCSSStylesAtomicCompiled.ts +9 -0
  247. package/src/helpers/getSplitStyles.tsx +4653 -1003
  248. package/src/helpers/getVariantExtras.tsx +15 -3
  249. package/src/helpers/insertStyleRule.tsx +4 -2
  250. package/src/helpers/mediaState.ts +15 -0
  251. package/src/helpers/normalizeStyle.ts +27 -2
  252. package/src/helpers/resolveRem.ts +1 -1
  253. package/src/helpers/skipProps.ts +3 -0
  254. package/src/helpers/styleFrontend.ts +20 -27
  255. package/src/helpers/styleToCSS.native.ts +1 -0
  256. package/src/helpers/styleToCSS.ts +43 -0
  257. package/src/helpers/subscribeToContextGroup.tsx +30 -0
  258. package/src/helpers/variables.ts +2 -1
  259. package/src/helpers/warnOnce.ts +3 -4
  260. package/src/helpers/wrapStyleTags.tsx +1 -1
  261. package/src/hooks/useComponentState.ts +118 -158
  262. package/src/hooks/useMedia.tsx +2 -18
  263. package/src/hooks/useProps.tsx +19 -15
  264. package/src/hooks/useSplitStyles.tsx +26 -0
  265. package/src/index.ts +298 -73
  266. package/src/insertFont.ts +5 -1
  267. package/src/internal-runtime.ts +49 -24
  268. package/src/internalRuntimeTypes.ts +2 -7
  269. package/src/setupReactNative.ts +7 -30
  270. package/src/static-resolve.ts +396 -0
  271. package/src/styled.tsx +34 -11
  272. package/src/types.tsx +40 -30
  273. package/src/views/TamaguiProvider.tsx +23 -22
  274. package/src/views/ThemeUpdate.tsx +3 -1
  275. package/types/createComponent.d.ts.map +1 -1
  276. package/types/createTamagui.d.ts.map +1 -1
  277. package/types/helpers/defaultAnimationDriver.d.ts.map +1 -1
  278. package/types/helpers/directStyleCSS.d.ts +28 -0
  279. package/types/helpers/directStyleCSS.d.ts.map +1 -0
  280. package/types/helpers/directStyleCSS.native.d.ts +2 -0
  281. package/types/helpers/directStyleCSS.native.d.ts.map +1 -0
  282. package/types/helpers/directStyleCSSCompiled.d.ts +10 -0
  283. package/types/helpers/directStyleCSSCompiled.d.ts.map +1 -0
  284. package/types/helpers/getCSSStylesAtomic.d.ts +22 -1
  285. package/types/helpers/getCSSStylesAtomic.d.ts.map +1 -1
  286. package/types/helpers/getCSSStylesAtomicCompiled.d.ts +4 -0
  287. package/types/helpers/getCSSStylesAtomicCompiled.d.ts.map +1 -0
  288. package/types/helpers/getSplitStyles.d.ts +11 -4
  289. package/types/helpers/getSplitStyles.d.ts.map +1 -1
  290. package/types/helpers/getVariantExtras.d.ts.map +1 -1
  291. package/types/helpers/insertStyleRule.d.ts.map +1 -1
  292. package/types/helpers/mediaState.d.ts +4 -0
  293. package/types/helpers/mediaState.d.ts.map +1 -1
  294. package/types/helpers/normalizeStyle.d.ts +1 -1
  295. package/types/helpers/normalizeStyle.d.ts.map +1 -1
  296. package/types/helpers/skipProps.d.ts +2 -0
  297. package/types/helpers/skipProps.d.ts.map +1 -1
  298. package/types/helpers/styleFrontend.d.ts +13 -17
  299. package/types/helpers/styleFrontend.d.ts.map +1 -1
  300. package/types/helpers/styleToCSS.d.ts +2 -0
  301. package/types/helpers/styleToCSS.d.ts.map +1 -0
  302. package/types/helpers/styleToCSS.native.d.ts +2 -0
  303. package/types/helpers/styleToCSS.native.d.ts.map +1 -0
  304. package/types/helpers/subscribeToContextGroup.d.ts +1 -0
  305. package/types/helpers/subscribeToContextGroup.d.ts.map +1 -1
  306. package/types/helpers/variables.d.ts.map +1 -1
  307. package/types/helpers/warnOnce.d.ts.map +1 -1
  308. package/types/helpers/webPropsToSkip.native.d.ts +5 -0
  309. package/types/helpers/webPropsToSkip.native.d.ts.map +1 -1
  310. package/types/hooks/useComponentState.d.ts +3 -2
  311. package/types/hooks/useComponentState.d.ts.map +1 -1
  312. package/types/hooks/useMedia.d.ts +1 -5
  313. package/types/hooks/useMedia.d.ts.map +1 -1
  314. package/types/hooks/useProps.d.ts.map +1 -1
  315. package/types/hooks/useSplitStyles.d.ts +3 -0
  316. package/types/hooks/useSplitStyles.d.ts.map +1 -0
  317. package/types/index.d.ts +58 -72
  318. package/types/index.d.ts.map +1 -1
  319. package/types/insertFont.d.ts.map +1 -1
  320. package/types/internal-runtime.d.ts +24 -11
  321. package/types/internal-runtime.d.ts.map +1 -1
  322. package/types/internalRuntimeTypes.d.ts +1 -6
  323. package/types/internalRuntimeTypes.d.ts.map +1 -1
  324. package/types/setupReactNative.d.ts +2 -3
  325. package/types/setupReactNative.d.ts.map +1 -1
  326. package/types/static-resolve.d.ts +79 -0
  327. package/types/static-resolve.d.ts.map +1 -0
  328. package/types/styled.d.ts.map +1 -1
  329. package/types/types.d.ts +29 -22
  330. package/types/types.d.ts.map +1 -1
  331. package/types/views/TamaguiProvider.d.ts.map +1 -1
  332. package/types/views/ThemeUpdate.d.ts.map +1 -1
  333. package/dist/cjs/constants/accessibilityDirectMap.cjs +0 -34
  334. package/dist/cjs/constants/accessibilityDirectMap.native.cjs +0 -36
  335. package/dist/cjs/constants/accessibilityDirectMap.native.js +0 -38
  336. package/dist/cjs/constants/accessibilityDirectMap.native.js.map +0 -1
  337. package/dist/cjs/helpers/directStyle.cjs +0 -962
  338. package/dist/cjs/helpers/directStyle.native.cjs +0 -1165
  339. package/dist/cjs/helpers/directStyle.native.js +0 -1167
  340. package/dist/cjs/helpers/directStyle.native.js.map +0 -1
  341. package/dist/cjs/helpers/frontendProgram.cjs +0 -43
  342. package/dist/cjs/helpers/frontendProgram.native.cjs +0 -49
  343. package/dist/cjs/helpers/frontendProgram.native.js +0 -51
  344. package/dist/cjs/helpers/frontendProgram.native.js.map +0 -1
  345. package/dist/cjs/helpers/getFontLanguage.native.js.map +0 -1
  346. package/dist/cjs/helpers/normalizeStylePropKeys.native.cjs +0 -37
  347. package/dist/cjs/helpers/normalizeStylePropKeys.native.js +0 -39
  348. package/dist/cjs/helpers/normalizeStylePropKeys.native.js.map +0 -1
  349. package/dist/cjs/helpers/propMapper.cjs +0 -384
  350. package/dist/cjs/helpers/propMapper.native.cjs +0 -536
  351. package/dist/cjs/helpers/propMapper.native.js +0 -538
  352. package/dist/cjs/helpers/propMapper.native.js.map +0 -1
  353. package/dist/cjs/helpers/useRenderElement.cjs +0 -47
  354. package/dist/cjs/helpers/useRenderElement.native.cjs +0 -53
  355. package/dist/cjs/helpers/useRenderElement.native.js +0 -55
  356. package/dist/cjs/helpers/useRenderElement.native.js.map +0 -1
  357. package/dist/esm/constants/accessibilityDirectMap.mjs +0 -8
  358. package/dist/esm/constants/accessibilityDirectMap.mjs.map +0 -1
  359. package/dist/esm/constants/accessibilityDirectMap.native.js +0 -8
  360. package/dist/esm/constants/accessibilityDirectMap.native.js.map +0 -1
  361. package/dist/esm/helpers/directStyle.mjs +0 -929
  362. package/dist/esm/helpers/directStyle.mjs.map +0 -1
  363. package/dist/esm/helpers/directStyle.native.js +0 -1132
  364. package/dist/esm/helpers/directStyle.native.js.map +0 -1
  365. package/dist/esm/helpers/frontendProgram.mjs +0 -20
  366. package/dist/esm/helpers/frontendProgram.mjs.map +0 -1
  367. package/dist/esm/helpers/frontendProgram.native.js +0 -24
  368. package/dist/esm/helpers/frontendProgram.native.js.map +0 -1
  369. package/dist/esm/helpers/getFontLanguage.mjs +0 -4
  370. package/dist/esm/helpers/getFontLanguage.mjs.map +0 -1
  371. package/dist/esm/helpers/getFontLanguage.native.js +0 -6
  372. package/dist/esm/helpers/getFontLanguage.native.js.map +0 -1
  373. package/dist/esm/helpers/normalizeStylePropKeys.mjs +0 -4
  374. package/dist/esm/helpers/normalizeStylePropKeys.mjs.map +0 -1
  375. package/dist/esm/helpers/normalizeStylePropKeys.native.js +0 -15
  376. package/dist/esm/helpers/normalizeStylePropKeys.native.js.map +0 -1
  377. package/dist/esm/helpers/propMapper.mjs +0 -360
  378. package/dist/esm/helpers/propMapper.mjs.map +0 -1
  379. package/dist/esm/helpers/propMapper.native.js +0 -511
  380. package/dist/esm/helpers/propMapper.native.js.map +0 -1
  381. package/dist/esm/helpers/useRenderElement.mjs +0 -26
  382. package/dist/esm/helpers/useRenderElement.mjs.map +0 -1
  383. package/dist/esm/helpers/useRenderElement.native.js +0 -31
  384. package/dist/esm/helpers/useRenderElement.native.js.map +0 -1
  385. package/src/constants/accessibilityDirectMap.native.tsx +0 -10
  386. package/src/constants/accessibilityDirectMap.tsx +0 -11
  387. package/src/helpers/directStyle.ts +0 -2294
  388. package/src/helpers/frontendProgram.ts +0 -48
  389. package/src/helpers/getFontLanguage.ts +0 -2
  390. package/src/helpers/normalizeStylePropKeys.native.ts +0 -12
  391. package/src/helpers/normalizeStylePropKeys.ts +0 -3
  392. package/src/helpers/propMapper.ts +0 -721
  393. package/src/helpers/useRenderElement.tsx +0 -73
  394. package/types/constants/accessibilityDirectMap.d.ts +0 -6
  395. package/types/constants/accessibilityDirectMap.d.ts.map +0 -1
  396. package/types/constants/accessibilityDirectMap.native.d.ts +0 -6
  397. package/types/constants/accessibilityDirectMap.native.d.ts.map +0 -1
  398. package/types/helpers/directStyle.d.ts +0 -15
  399. package/types/helpers/directStyle.d.ts.map +0 -1
  400. package/types/helpers/frontendProgram.d.ts +0 -10
  401. package/types/helpers/frontendProgram.d.ts.map +0 -1
  402. package/types/helpers/getFontLanguage.d.ts +0 -2
  403. package/types/helpers/getFontLanguage.d.ts.map +0 -1
  404. package/types/helpers/normalizeStylePropKeys.d.ts +0 -2
  405. package/types/helpers/normalizeStylePropKeys.d.ts.map +0 -1
  406. package/types/helpers/normalizeStylePropKeys.native.d.ts +0 -13
  407. package/types/helpers/normalizeStylePropKeys.native.d.ts.map +0 -1
  408. package/types/helpers/propMapper.d.ts +0 -6
  409. package/types/helpers/propMapper.d.ts.map +0 -1
  410. package/types/helpers/useRenderElement.d.ts +0 -13
  411. package/types/helpers/useRenderElement.d.ts.map +0 -1
@@ -19,126 +19,240 @@ var __copyProps = (to, from, except, desc) => {
19
19
  }
20
20
  return to;
21
21
  };
22
- var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
23
22
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
24
23
  var index_exports = {};
25
24
  __export(index_exports, {
25
+ ClientOnly: () => import_use_did_finish_ssr.ClientOnly,
26
+ ClientOnlyContext: () => import_use_did_finish_ssr.ClientOnlyContext,
27
+ ComponentContext: () => import_ComponentContext.ComponentContext,
28
+ Configuration: () => import_Configuration.Configuration,
29
+ FontLanguage: () => import_FontLanguage.FontLanguage,
30
+ GroupContext: () => import_GroupContext.GroupContext,
31
+ Slot: () => import_Slot.Slot,
32
+ Slottable: () => import_Slot.Slottable,
33
+ StyleObjectIdentifier: () => import_helpers.StyleObjectIdentifier,
34
+ StyleObjectProperty: () => import_helpers.StyleObjectProperty,
35
+ StyleObjectPseudo: () => import_helpers.StyleObjectPseudo,
36
+ StyleObjectRules: () => import_helpers.StyleObjectRules,
37
+ StyleObjectValue: () => import_helpers.StyleObjectValue,
38
+ Tamagui: () => import_Tamagui.Tamagui,
39
+ TamaguiProvider: () => import_TamaguiProvider.TamaguiProvider,
40
+ TamaguiRoot: () => import_TamaguiRoot.TamaguiRoot,
41
+ Text: () => import_Text.Text,
42
+ Theme: () => import_Theme.Theme,
43
+ ThemeProvider: () => import_ThemeProvider.ThemeProvider,
44
+ View: () => import_View.View,
26
45
  _disableMediaTouch: () => import_useMedia._disableMediaTouch,
27
46
  _mediaListenerStats: () => import_useMedia._mediaListenerStats,
47
+ _withNativeStyle: () => import_withNativeStyle._withNativeStyle,
48
+ _withStableStyle: () => import_withStableStyle._withStableStyle,
28
49
  autoVariables: () => import_registerCSSVariable.autoVariables,
50
+ clamp: () => import_helpers.clamp,
51
+ composeEventHandlers: () => import_helpers.composeEventHandlers,
52
+ composeRefs: () => import_compose_refs.composeRefs,
29
53
  configureMedia: () => import_useMedia.configureMedia,
54
+ containsThemeRef: () => import_themeRef.containsThemeRef,
55
+ createCSSVariable: () => import_createVariable.createCSSVariable,
56
+ createChangeEventDetails: () => import_eventDetails.createChangeEventDetails,
57
+ createComponent: () => import_createComponent.createComponent,
58
+ createFont: () => import_createFont.createFont,
30
59
  createRefComponent: () => import_compose_refs.createRefComponent,
60
+ createShorthands: () => import_createShorthands.createShorthands,
61
+ createStyledContext: () => import_createStyledContext.createStyledContext,
62
+ createStyledHOC: () => import_createStyledHOC.createStyledHOC,
63
+ createTamagui: () => import_createTamagui.createTamagui,
64
+ createTokens: () => import_createTokens.createTokens,
65
+ createVariable: () => import_createVariable.createVariable,
66
+ createVariantResolver: () => import_types.createVariantResolver,
67
+ cssShorthandLonghands: () => import_helpers.cssShorthandLonghands,
68
+ currentPlatform: () => import_constants.currentPlatform,
31
69
  forceUpdateThemes: () => import_useThemeState.forceUpdateThemes,
70
+ formatDiagnostic: () => import_formatDiagnostic.formatDiagnostic,
32
71
  getAutoVariableCSS: () => import_registerCSSVariable.getAutoVariableCSS,
72
+ getCSSStylesAtomic: () => import_getCSSStylesAtomic.getCSSStylesAtomic,
33
73
  getConfig: () => import_config.getConfig,
74
+ getDefaultProps: () => import_getDefaultProps.getDefaultProps,
75
+ getExpandedShorthand: () => import_getExpandedShorthands.getExpandedShorthand,
34
76
  getMedia: () => import_mediaState.getMedia,
35
77
  getMutatedAutoVariableCSS: () => import_registerCSSVariable.getMutatedAutoVariableCSS,
36
78
  getNativeStyleEngine: () => import_nativeStyleEngine.getNativeStyleEngine,
79
+ getPlatformDriver: () => import_constants.getPlatformDriver,
37
80
  getSetting: () => import_config.getSetting,
81
+ getSplitStyles: () => import_getSplitStyles.getSplitStyles,
38
82
  getStyleCompat: () => import_config.getStyleCompat,
83
+ getStyleTags: () => import_wrapStyleTags.getStyleTags,
84
+ getThemeClassNames: () => import_helpers.getThemeClassNames,
39
85
  getThemeProviderChainSizes: () => import_useThemeState.getThemeProviderChainSizes,
40
86
  getThemes: () => import_config.getThemes,
41
87
  getToken: () => import_config.getToken,
42
88
  getTokenValue: () => import_config.getTokenValue,
43
89
  getTokens: () => import_config.getTokens,
90
+ getVariable: () => import_createVariable.getVariable,
91
+ getVariableName: () => import_createVariable.getVariableName,
92
+ getVariableValue: () => import_createVariable.getVariableValue,
93
+ getVariableVariable: () => import_createVariable.getVariableVariable,
94
+ hooks: () => import_setupHooks.hooks,
95
+ html: () => import_html.html,
96
+ insertFont: () => import_insertFont.insertFont,
44
97
  insertStyleRules: () => import_insertStyleRule.insertStyleRules,
98
+ installTamaguiConfig: () => import_createTamagui.installTamaguiConfig,
99
+ isAndroid: () => import_constants.isAndroid,
100
+ isBrowser: () => import_constants.isBrowser,
101
+ isChrome: () => import_constants.isChrome,
102
+ isClient: () => import_constants.isClient,
103
+ isEqualShallow: () => import_is_equal_shallow.isEqualShallow,
104
+ isIos: () => import_constants.isIos,
105
+ isNativeDesktop: () => import_constants.isNativeDesktop,
106
+ isServer: () => import_constants.isServer,
107
+ isTV: () => import_constants.isTV,
108
+ isTamaguiComponent: () => import_isTamaguiComponent.isTamaguiComponent,
109
+ isTamaguiElement: () => import_isTamaguiElement.isTamaguiElement,
110
+ isTouchable: () => import_constants.isTouchable,
111
+ isValidStyleKey: () => import_getSplitStyles.isValidStyleKey,
112
+ isVariable: () => import_createVariable.isVariable,
113
+ isWeb: () => import_constants.isWeb,
114
+ isWebTouchable: () => import_constants.isWebTouchable,
45
115
  loadAnimationDriver: () => import_config.loadAnimationDriver,
116
+ matchMedia: () => import_matchMedia.matchMedia,
46
117
  mediaKeyMatch: () => import_useMedia.mediaKeyMatch,
47
118
  mediaObjectToString: () => import_mediaObjectToString.mediaObjectToString,
48
119
  mediaQueryConfig: () => import_mediaState.mediaQueryConfig,
49
120
  mediaState: () => import_mediaState.mediaState,
121
+ mergeIfNotShallowEqual: () => import_is_equal_shallow.mergeIfNotShallowEqual,
122
+ mergeProps: () => import_mergeProps.mergeProps,
123
+ mergeSlotStyleProps: () => import_mergeSlotStyleProps.mergeSlotStyleProps,
50
124
  mutatedAutoVariables: () => import_registerCSSVariable.mutatedAutoVariables,
125
+ nonAnimatableStyleProps: () => import_helpers.nonAnimatableStyleProps,
126
+ nonAnimatableWebTextProps: () => import_helpers.nonAnimatableWebTextProps,
127
+ nonAnimatableWebViewProps: () => import_helpers.nonAnimatableWebViewProps,
128
+ normalizeColor: () => import_normalizeColor.normalizeColor,
129
+ normalizeStyle: () => import_normalizeStyle.normalizeStyle,
130
+ prepareStyleStaticConfig: () => import_getSplitStyles.prepareStyleStaticConfig,
131
+ px: () => import_createVariable.px,
51
132
  removeNativeStyleScope: () => import_nativeStyleEngine.removeNativeStyleScope,
133
+ reservedThemeProps: () => import_helpers.reservedThemeProps,
52
134
  resolveThemeName: () => import_useThemeState.resolveThemeName,
53
135
  setConfig: () => import_config.setConfig,
54
136
  setMediaState: () => import_mediaState.setMediaState,
55
137
  setNativeStyleEngine: () => import_nativeStyleEngine.setNativeStyleEngine,
56
138
  setNativeStyleEngineFlushListener: () => import_nativeStyleEngine.setNativeStyleEngineFlushListener,
57
139
  setNonce: () => import_insertStyleRule2.setNonce,
140
+ setRef: () => import_compose_refs.setRef,
58
141
  setupDev: () => import_config.setupDev,
142
+ setupHooks: () => import_setupHooks.setupHooks,
143
+ setupMatchMedia: () => import_matchMedia.setupMatchMedia,
144
+ setupPlatformDriver: () => import_constants.setupPlatformDriver,
145
+ shouldRenderNativePlatform: () => import_helpers.shouldRenderNativePlatform,
146
+ simpleHash: () => import_helpers.simpleHash,
147
+ stylePropsAll: () => import_helpers.stylePropsAll,
148
+ stylePropsText: () => import_helpers.stylePropsText,
149
+ stylePropsTextOnly: () => import_helpers.stylePropsTextOnly,
150
+ stylePropsTransform: () => import_helpers.stylePropsTransform,
151
+ stylePropsUnitless: () => import_helpers.stylePropsUnitless,
152
+ stylePropsView: () => import_helpers.stylePropsView,
153
+ styled: () => import_styled.styled,
154
+ supportsDynamicColorIOS: () => import_constants.supportsDynamicColorIOS,
155
+ textStaticConfig: () => import_Text.textStaticConfig,
156
+ themeRefKey: () => import_themeRef.themeRefKey,
157
+ themeable: () => import_themeable.themeable,
158
+ tokenCategories: () => import_helpers.tokenCategories,
59
159
  updateConfig: () => import_config.updateConfig,
160
+ updateFont: () => import_insertFont.updateFont,
60
161
  updateMediaListeners: () => import_useMedia.updateMediaListeners,
61
162
  updateNativeStyleScope: () => import_nativeStyleEngine.updateNativeStyleScope,
62
- useMedia: () => import_useMedia.useMedia
163
+ useAnimatedNumber: () => import_useAnimationDriver.useAnimatedNumber,
164
+ useAnimatedNumberReaction: () => import_useAnimationDriver.useAnimatedNumberReaction,
165
+ useAnimatedNumberStyle: () => import_useAnimationDriver.useAnimatedNumberStyle,
166
+ useAnimatedNumbersStyle: () => import_useAnimationDriver.useAnimatedNumbersStyle,
167
+ useAnimationDriver: () => import_useAnimationDriver.useAnimationDriver,
168
+ useClientValue: () => import_use_did_finish_ssr.useClientValue,
169
+ useComposedRefs: () => import_compose_refs.useComposedRefs,
170
+ useConfiguration: () => import_ComponentContext.useConfiguration,
171
+ useCreateShallowSetState: () => import_is_equal_shallow.useCreateShallowSetState,
172
+ useDidFinishSSR: () => import_use_did_finish_ssr.useDidFinishSSR,
173
+ useEvent: () => import_use_event.useEvent,
174
+ useGet: () => import_use_event.useGet,
175
+ useIsClientOnly: () => import_use_did_finish_ssr.useIsClientOnly,
176
+ useIsTouchDevice: () => import_useIsTouchDevice.useIsTouchDevice,
177
+ useIsomorphicLayoutEffect: () => import_constants.useIsomorphicLayoutEffect,
178
+ useMedia: () => import_useMedia.useMedia,
179
+ usePortalThemeState: () => import_usePortalThemeState.usePortalThemeState,
180
+ useProps: () => import_useProps.useProps,
181
+ usePropsAndStyle: () => import_useProps.usePropsAndStyle,
182
+ useStyle: () => import_useProps.useStyle,
183
+ useTheme: () => import_useTheme.useTheme,
184
+ useThemeName: () => import_useThemeName.useThemeName,
185
+ validStyles: () => import_helpers.validStyles,
186
+ variableToString: () => import_createVariable.variableToString,
187
+ viewStaticConfig: () => import_View.viewStaticConfig,
188
+ webOnlyStylePropsText: () => import_helpers.webOnlyStylePropsText,
189
+ webOnlyStylePropsView: () => import_helpers.webOnlyStylePropsView,
190
+ withStaticProperties: () => import_helpers.withStaticProperties
63
191
  });
64
192
  module.exports = __toCommonJS(index_exports);
65
- __reExport(index_exports, require("./contexts/ComponentContext.native.js"), module.exports);
66
- __reExport(index_exports, require("./contexts/GroupContext.native.js"), module.exports);
67
- __reExport(index_exports, require("@tamagui/is-equal-shallow"), module.exports);
68
- __reExport(index_exports, require("./_withStableStyle.native.js"), module.exports);
69
- __reExport(index_exports, require("./_withNativeStyle.native.js"), module.exports);
70
- __reExport(index_exports, require("./createComponent.native.js"), module.exports);
71
- __reExport(index_exports, require("./helpers/createStyledContext.native.js"), module.exports);
72
- __reExport(index_exports, require("./helpers/getDefaultProps.native.js"), module.exports);
73
- __reExport(index_exports, require("./helpers/expandStyles.native.js"), module.exports);
74
- __reExport(index_exports, require("./helpers/getCSSStylesAtomic.native.js"), module.exports);
75
- __reExport(index_exports, require("./helpers/getExpandedShorthands.native.js"), module.exports);
76
- __reExport(index_exports, require("./helpers/formatDiagnostic.native.js"), module.exports);
77
- __reExport(index_exports, require("./helpers/getShorthandValue.native.js"), module.exports);
78
- __reExport(index_exports, require("./helpers/getSplitStyles.native.js"), module.exports);
193
+ var import_ComponentContext = require("./contexts/ComponentContext.native.js");
194
+ var import_GroupContext = require("./contexts/GroupContext.native.js");
195
+ var import_is_equal_shallow = require("@tamagui/is-equal-shallow");
196
+ var import_withStableStyle = require("./_withStableStyle.native.js");
197
+ var import_withNativeStyle = require("./_withNativeStyle.native.js");
198
+ var import_createComponent = require("./createComponent.native.js");
199
+ var import_createStyledContext = require("./helpers/createStyledContext.native.js");
200
+ var import_getDefaultProps = require("./helpers/getDefaultProps.native.js");
201
+ var import_getCSSStylesAtomic = require("./helpers/getCSSStylesAtomic.native.js");
202
+ var import_getExpandedShorthands = require("./helpers/getExpandedShorthands.native.js");
203
+ var import_formatDiagnostic = require("./helpers/formatDiagnostic.native.js");
204
+ var import_getSplitStyles = require("./helpers/getSplitStyles.native.js");
79
205
  var import_nativeStyleEngine = require("./helpers/nativeStyleEngine.native.js");
80
- __reExport(index_exports, require("./helpers/getThemeCSSRules.native.js"), module.exports);
81
- __reExport(index_exports, require("./helpers/getVariantExtras.native.js"), module.exports);
82
206
  var import_registerCSSVariable = require("./helpers/registerCSSVariable.native.js");
83
207
  var import_insertStyleRule = require("./helpers/insertStyleRule.native.js");
84
- __reExport(index_exports, require("./helpers/isTamaguiComponent.native.js"), module.exports);
85
- __reExport(index_exports, require("./helpers/isTamaguiElement.native.js"), module.exports);
86
- __reExport(index_exports, require("./helpers/matchMedia.native.js"), module.exports);
87
- __reExport(index_exports, require("./helpers/mergeProps.native.js"), module.exports);
88
- __reExport(index_exports, require("./helpers/mergeSlotStyleProps.native.js"), module.exports);
89
- __reExport(index_exports, require("./helpers/normalizeColor.native.js"), module.exports);
90
- __reExport(index_exports, require("./helpers/normalizeStyle.native.js"), module.exports);
91
- __reExport(index_exports, require("./helpers/normalizeValueWithProperty.native.js"), module.exports);
92
- __reExport(index_exports, require("./helpers/propMapper.native.js"), module.exports);
93
- __reExport(index_exports, require("./helpers/proxyThemeToParents.native.js"), module.exports);
94
- __reExport(index_exports, require("./helpers/themeRef.native.js"), module.exports);
95
- __reExport(index_exports, require("./helpers/themeable.native.js"), module.exports);
96
- __reExport(index_exports, require("./helpers/themes.native.js"), module.exports);
97
- __reExport(index_exports, require("./helpers/transformsToString.native.js"), module.exports);
98
- __reExport(index_exports, require("./helpers/wrapStyleTags.native.js"), module.exports);
99
- __reExport(index_exports, require("./createComponent.native.js"), module.exports);
100
- __reExport(index_exports, require("./createFont.native.js"), module.exports);
101
- __reExport(index_exports, require("./eventDetails.native.js"), module.exports);
102
- __reExport(index_exports, require("./createStyledHOC.native.js"), module.exports);
103
- __reExport(index_exports, require("./createShorthands.native.js"), module.exports);
104
- __reExport(index_exports, require("./createTamagui.native.js"), module.exports);
105
- __reExport(index_exports, require("./createTokens.native.js"), module.exports);
106
- __reExport(index_exports, require("./createVariable.native.js"), module.exports);
107
- __reExport(index_exports, require("./createVariables.native.js"), module.exports);
108
- __reExport(index_exports, require("./insertFont.native.js"), module.exports);
109
- __reExport(index_exports, require("./setupReactNative.native.js"), module.exports);
110
- __reExport(index_exports, require("./styled.native.js"), module.exports);
111
- __reExport(index_exports, require("./Tamagui.native.js"), module.exports);
112
- __reExport(index_exports, require("./interfaces/GetRef.native.js"), module.exports);
208
+ var import_isTamaguiComponent = require("./helpers/isTamaguiComponent.native.js");
209
+ var import_isTamaguiElement = require("./helpers/isTamaguiElement.native.js");
210
+ var import_matchMedia = require("./helpers/matchMedia.native.js");
211
+ var import_mergeProps = require("./helpers/mergeProps.native.js");
212
+ var import_mergeSlotStyleProps = require("./helpers/mergeSlotStyleProps.native.js");
213
+ var import_normalizeColor = require("./helpers/normalizeColor.native.js");
214
+ var import_normalizeStyle = require("./helpers/normalizeStyle.native.js");
215
+ var import_themeRef = require("./helpers/themeRef.native.js");
216
+ var import_themeable = require("./helpers/themeable.native.js");
217
+ var import_wrapStyleTags = require("./helpers/wrapStyleTags.native.js");
218
+ var import_createFont = require("./createFont.native.js");
219
+ var import_eventDetails = require("./eventDetails.native.js");
220
+ var import_createStyledHOC = require("./createStyledHOC.native.js");
221
+ var import_createShorthands = require("./createShorthands.native.js");
222
+ var import_createTamagui = require("./createTamagui.native.js");
223
+ var import_createTokens = require("./createTokens.native.js");
224
+ var import_createVariable = require("./createVariable.native.js");
225
+ var import_insertFont = require("./insertFont.native.js");
226
+ var import_styled = require("./styled.native.js");
227
+ var import_Tamagui = require("./Tamagui.native.js");
228
+ var import_types = require("./types.native.js");
113
229
  var import_compose_refs = require("@tamagui/compose-refs");
114
230
  var import_config = require("./config.native.js");
115
231
  var import_insertStyleRule2 = require("./helpers/insertStyleRule.native.js");
116
- __reExport(index_exports, require("./constants/constants.native.js"), module.exports);
117
- __reExport(index_exports, require("./hooks/useIsTouchDevice.native.js"), module.exports);
232
+ var import_useIsTouchDevice = require("./hooks/useIsTouchDevice.native.js");
118
233
  var import_useMedia = require("./hooks/useMedia.native.js");
119
234
  var import_mediaObjectToString = require("./helpers/mediaObjectToString.native.js");
120
235
  var import_mediaState = require("./helpers/mediaState.native.js");
121
- __reExport(index_exports, require("./hooks/useAnimationDriver.native.js"), module.exports);
122
- __reExport(index_exports, require("./hooks/useProps.native.js"), module.exports);
123
- __reExport(index_exports, require("./hooks/useTheme.native.js"), module.exports);
124
- __reExport(index_exports, require("./hooks/usePortalThemeState.native.js"), module.exports);
125
- __reExport(index_exports, require("./hooks/useThemeName.native.js"), module.exports);
236
+ var import_useAnimationDriver = require("./hooks/useAnimationDriver.native.js");
237
+ var import_useProps = require("./hooks/useProps.native.js");
238
+ var import_useTheme = require("./hooks/useTheme.native.js");
239
+ var import_usePortalThemeState = require("./hooks/usePortalThemeState.native.js");
240
+ var import_useThemeName = require("./hooks/useThemeName.native.js");
126
241
  var import_useThemeState = require("./hooks/useThemeState.native.js");
127
- __reExport(index_exports, require("./dom/html.native.js"), module.exports);
128
- __reExport(index_exports, require("./views/Configuration.native.js"), module.exports);
129
- __reExport(index_exports, require("./views/TamaguiRoot.native.js"), module.exports);
130
- __reExport(index_exports, require("./views/FontLanguage.native.js"), module.exports);
131
- __reExport(index_exports, require("./views/Slot.native.js"), module.exports);
132
- __reExport(index_exports, require("./views/TamaguiProvider.native.js"), module.exports);
133
- __reExport(index_exports, require("./views/Text.native.js"), module.exports);
134
- __reExport(index_exports, require("./views/Theme.native.js"), module.exports);
135
- __reExport(index_exports, require("./views/ThemeProvider.native.js"), module.exports);
136
- __reExport(index_exports, require("./views/View.native.js"), module.exports);
137
- __reExport(index_exports, require("@tamagui/compose-refs"), module.exports);
138
- __reExport(index_exports, require("@tamagui/constants"), module.exports);
139
- __reExport(index_exports, require("@tamagui/helpers"), module.exports);
140
- __reExport(index_exports, require("@tamagui/use-did-finish-ssr"), module.exports);
141
- __reExport(index_exports, require("@tamagui/use-event"), module.exports);
142
- __reExport(index_exports, require("./setupHooks.native.js"), module.exports);
242
+ var import_html = require("./dom/html.native.js");
243
+ var import_Configuration = require("./views/Configuration.native.js");
244
+ var import_TamaguiRoot = require("./views/TamaguiRoot.native.js");
245
+ var import_FontLanguage = require("./views/FontLanguage.native.js");
246
+ var import_Slot = require("./views/Slot.native.js");
247
+ var import_TamaguiProvider = require("./views/TamaguiProvider.native.js");
248
+ var import_Text = require("./views/Text.native.js");
249
+ var import_Theme = require("./views/Theme.native.js");
250
+ var import_ThemeProvider = require("./views/ThemeProvider.native.js");
251
+ var import_View = require("./views/View.native.js");
252
+ var import_constants = require("@tamagui/constants");
253
+ var import_helpers = require("@tamagui/helpers");
254
+ var import_use_did_finish_ssr = require("@tamagui/use-did-finish-ssr");
255
+ var import_use_event = require("@tamagui/use-event");
256
+ var import_setupHooks = require("./setupHooks.native.js");
143
257
 
144
258
  //# sourceMappingURL=index.native.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.native.js","names":[],"sources":["cjs/index.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, \"default\"), secondTarget && __copyProps(secondTarget, mod, \"default\"));\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar index_exports = {};\n__export(index_exports, {\n _disableMediaTouch: () => import_useMedia._disableMediaTouch,\n _mediaListenerStats: () => import_useMedia._mediaListenerStats,\n autoVariables: () => import_registerCSSVariable.autoVariables,\n configureMedia: () => import_useMedia.configureMedia,\n createRefComponent: () => import_compose_refs.createRefComponent,\n forceUpdateThemes: () => import_useThemeState.forceUpdateThemes,\n getAutoVariableCSS: () => import_registerCSSVariable.getAutoVariableCSS,\n getConfig: () => import_config.getConfig,\n getMedia: () => import_mediaState.getMedia,\n getMutatedAutoVariableCSS: () => import_registerCSSVariable.getMutatedAutoVariableCSS,\n getNativeStyleEngine: () => import_nativeStyleEngine.getNativeStyleEngine,\n getSetting: () => import_config.getSetting,\n getStyleCompat: () => import_config.getStyleCompat,\n getThemeProviderChainSizes: () => import_useThemeState.getThemeProviderChainSizes,\n getThemes: () => import_config.getThemes,\n getToken: () => import_config.getToken,\n getTokenValue: () => import_config.getTokenValue,\n getTokens: () => import_config.getTokens,\n insertStyleRules: () => import_insertStyleRule.insertStyleRules,\n loadAnimationDriver: () => import_config.loadAnimationDriver,\n mediaKeyMatch: () => import_useMedia.mediaKeyMatch,\n mediaObjectToString: () => import_mediaObjectToString.mediaObjectToString,\n mediaQueryConfig: () => import_mediaState.mediaQueryConfig,\n mediaState: () => import_mediaState.mediaState,\n mutatedAutoVariables: () => import_registerCSSVariable.mutatedAutoVariables,\n removeNativeStyleScope: () => import_nativeStyleEngine.removeNativeStyleScope,\n resolveThemeName: () => import_useThemeState.resolveThemeName,\n setConfig: () => import_config.setConfig,\n setMediaState: () => import_mediaState.setMediaState,\n setNativeStyleEngine: () => import_nativeStyleEngine.setNativeStyleEngine,\n setNativeStyleEngineFlushListener: () => import_nativeStyleEngine.setNativeStyleEngineFlushListener,\n setNonce: () => import_insertStyleRule2.setNonce,\n setupDev: () => import_config.setupDev,\n updateConfig: () => import_config.updateConfig,\n updateMediaListeners: () => import_useMedia.updateMediaListeners,\n updateNativeStyleScope: () => import_nativeStyleEngine.updateNativeStyleScope,\n useMedia: () => import_useMedia.useMedia\n});\nmodule.exports = __toCommonJS(index_exports);\n__reExport(index_exports, require(\"./contexts/ComponentContext\"), module.exports);\n__reExport(index_exports, require(\"./contexts/GroupContext\"), module.exports);\n__reExport(index_exports, require(\"@tamagui/is-equal-shallow\"), module.exports);\n__reExport(index_exports, require(\"./_withStableStyle\"), module.exports);\n__reExport(index_exports, require(\"./_withNativeStyle\"), module.exports);\n__reExport(index_exports, require(\"./createComponent\"), module.exports);\n__reExport(index_exports, require(\"./helpers/createStyledContext\"), module.exports);\n__reExport(index_exports, require(\"./helpers/getDefaultProps\"), module.exports);\n__reExport(index_exports, require(\"./helpers/expandStyles\"), module.exports);\n__reExport(index_exports, require(\"./helpers/getCSSStylesAtomic\"), module.exports);\n__reExport(index_exports, require(\"./helpers/getExpandedShorthands\"), module.exports);\n__reExport(index_exports, require(\"./helpers/formatDiagnostic\"), module.exports);\n__reExport(index_exports, require(\"./helpers/getShorthandValue\"), module.exports);\n__reExport(index_exports, require(\"./helpers/getSplitStyles\"), module.exports);\nvar import_nativeStyleEngine = require(\"./helpers/nativeStyleEngine\");\n__reExport(index_exports, require(\"./helpers/getThemeCSSRules\"), module.exports);\n__reExport(index_exports, require(\"./helpers/getVariantExtras\"), module.exports);\nvar import_registerCSSVariable = require(\"./helpers/registerCSSVariable\");\nvar import_insertStyleRule = require(\"./helpers/insertStyleRule\");\n__reExport(index_exports, require(\"./helpers/isTamaguiComponent\"), module.exports);\n__reExport(index_exports, require(\"./helpers/isTamaguiElement\"), module.exports);\n__reExport(index_exports, require(\"./helpers/matchMedia\"), module.exports);\n__reExport(index_exports, require(\"./helpers/mergeProps\"), module.exports);\n__reExport(index_exports, require(\"./helpers/mergeSlotStyleProps\"), module.exports);\n__reExport(index_exports, require(\"./helpers/normalizeColor\"), module.exports);\n__reExport(index_exports, require(\"./helpers/normalizeStyle\"), module.exports);\n__reExport(index_exports, require(\"./helpers/normalizeValueWithProperty\"), module.exports);\n__reExport(index_exports, require(\"./helpers/propMapper\"), module.exports);\n__reExport(index_exports, require(\"./helpers/proxyThemeToParents\"), module.exports);\n__reExport(index_exports, require(\"./helpers/themeRef\"), module.exports);\n__reExport(index_exports, require(\"./helpers/themeable\"), module.exports);\n__reExport(index_exports, require(\"./helpers/themes\"), module.exports);\n__reExport(index_exports, require(\"./helpers/transformsToString\"), module.exports);\n__reExport(index_exports, require(\"./helpers/wrapStyleTags\"), module.exports);\n__reExport(index_exports, require(\"./createComponent\"), module.exports);\n__reExport(index_exports, require(\"./createFont\"), module.exports);\n__reExport(index_exports, require(\"./eventDetails\"), module.exports);\n__reExport(index_exports, require(\"./createStyledHOC\"), module.exports);\n__reExport(index_exports, require(\"./createShorthands\"), module.exports);\n__reExport(index_exports, require(\"./createTamagui\"), module.exports);\n__reExport(index_exports, require(\"./createTokens\"), module.exports);\n__reExport(index_exports, require(\"./createVariable\"), module.exports);\n__reExport(index_exports, require(\"./createVariables\"), module.exports);\n__reExport(index_exports, require(\"./insertFont\"), module.exports);\n__reExport(index_exports, require(\"./setupReactNative\"), module.exports);\n__reExport(index_exports, require(\"./styled\"), module.exports);\n__reExport(index_exports, require(\"./Tamagui\"), module.exports);\n__reExport(index_exports, require(\"./interfaces/GetRef\"), module.exports);\nvar import_compose_refs = require(\"@tamagui/compose-refs\");\nvar import_config = require(\"./config\");\nvar import_insertStyleRule2 = require(\"./helpers/insertStyleRule\");\n__reExport(index_exports, require(\"./constants/constants\"), module.exports);\n__reExport(index_exports, require(\"./hooks/useIsTouchDevice\"), module.exports);\nvar import_useMedia = require(\"./hooks/useMedia\");\nvar import_mediaObjectToString = require(\"./helpers/mediaObjectToString\");\nvar import_mediaState = require(\"./helpers/mediaState\");\n__reExport(index_exports, require(\"./hooks/useAnimationDriver\"), module.exports);\n__reExport(index_exports, require(\"./hooks/useProps\"), module.exports);\n__reExport(index_exports, require(\"./hooks/useTheme\"), module.exports);\n__reExport(index_exports, require(\"./hooks/usePortalThemeState\"), module.exports);\n__reExport(index_exports, require(\"./hooks/useThemeName\"), module.exports);\nvar import_useThemeState = require(\"./hooks/useThemeState\");\n__reExport(index_exports, require(\"./dom/html\"), module.exports);\n__reExport(index_exports, require(\"./views/Configuration\"), module.exports);\n__reExport(index_exports, require(\"./views/TamaguiRoot\"), module.exports);\n__reExport(index_exports, require(\"./views/FontLanguage\"), module.exports);\n__reExport(index_exports, require(\"./views/Slot\"), module.exports);\n__reExport(index_exports, require(\"./views/TamaguiProvider\"), module.exports);\n__reExport(index_exports, require(\"./views/Text\"), module.exports);\n__reExport(index_exports, require(\"./views/Theme\"), module.exports);\n__reExport(index_exports, require(\"./views/ThemeProvider\"), module.exports);\n__reExport(index_exports, require(\"./views/View\"), module.exports);\n__reExport(index_exports, require(\"@tamagui/compose-refs\"), module.exports);\n__reExport(index_exports, require(\"@tamagui/constants\"), module.exports);\n__reExport(index_exports, require(\"@tamagui/helpers\"), module.exports);\n__reExport(index_exports, require(\"@tamagui/use-did-finish-ssr\"), module.exports);\n__reExport(index_exports, require(\"@tamagui/use-event\"), module.exports);\n__reExport(index_exports, require(\"./setupHooks\"), module.exports);\n//# sourceMappingURL=index.js.map\n"],"mappings":";;;AACA,IAAI,YAAY,OAAO;AACvB,IAAI,mBAAmB,OAAO;AAC9B,IAAI,oBAAoB,OAAO;AAC/B,IAAI,eAAe,OAAO,UAAU;AACpC,IAAI,YAAY,QAAQ,QAAQ;CAC9B,KAAK,IAAI,QAAQ,KACf,UAAU,QAAQ,MAAM;EAAE,KAAK,IAAI;EAAO,YAAY;CAAK,CAAC;AAChE;AACA,IAAI,eAAe,IAAI,MAAM,QAAQ,SAAS;CAC5C,IAAI,QAAQ,OAAO,SAAS,YAAY,OAAO,SAAS,YAAY;EAClE,KAAK,IAAI,OAAO,kBAAkB,IAAI,GACpC,IAAI,CAAC,aAAa,KAAK,IAAI,GAAG,KAAK,QAAQ,QACzC,UAAU,IAAI,KAAK;GAAE,WAAW,KAAK;GAAM,YAAY,EAAE,OAAO,iBAAiB,MAAM,GAAG,MAAM,KAAK;EAAW,CAAC;CACvH;CACA,OAAO;AACT;AACA,IAAI,cAAc,QAAQ,KAAK,kBAAkB,YAAY,QAAQ,KAAK,SAAS,GAAG,gBAAgB,YAAY,cAAc,KAAK,SAAS;AAC9I,IAAI,gBAAgB,QAAQ,YAAY,UAAU,CAAC,GAAG,cAAc,EAAE,OAAO,KAAK,CAAC,GAAG,GAAG;AACzF,IAAI,gBAAgB,CAAC;AACrB,SAAS,eAAe;CACtB,0BAA0B,gBAAgB;CAC1C,2BAA2B,gBAAgB;CAC3C,qBAAqB,2BAA2B;CAChD,sBAAsB,gBAAgB;CACtC,0BAA0B,oBAAoB;CAC9C,yBAAyB,qBAAqB;CAC9C,0BAA0B,2BAA2B;CACrD,iBAAiB,cAAc;CAC/B,gBAAgB,kBAAkB;CAClC,iCAAiC,2BAA2B;CAC5D,4BAA4B,yBAAyB;CACrD,kBAAkB,cAAc;CAChC,sBAAsB,cAAc;CACpC,kCAAkC,qBAAqB;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QAAQ,iCAAuB,GAAG,OAAO,OAAO;AAC1E,WAAW,eAAe,QAAQ,+BAAqB,GAAG,OAAO,OAAO;AACxE,WAAW,eAAe,QAAQ,gCAAsB,GAAG,OAAO,OAAO;AACzE,WAAW,eAAe,QAAQ,wBAAc,GAAG,OAAO,OAAO;AACjE,WAAW,eAAe,QAAQ,mCAAyB,GAAG,OAAO,OAAO;AAC5E,WAAW,eAAe,QAAQ,wBAAc,GAAG,OAAO,OAAO;AACjE,WAAW,eAAe,QAAQ,yBAAe,GAAG,OAAO,OAAO;AAClE,WAAW,eAAe,QAAQ,iCAAuB,GAAG,OAAO,OAAO;AAC1E,WAAW,eAAe,QAAQ,wBAAc,GAAG,OAAO,OAAO;AACjE,WAAW,eAAe,QAAQ,uBAAuB,GAAG,OAAO,OAAO;AAC1E,WAAW,eAAe,QAAQ,oBAAoB,GAAG,OAAO,OAAO;AACvE,WAAW,eAAe,QAAQ,kBAAkB,GAAG,OAAO,OAAO;AACrE,WAAW,eAAe,QAAQ,6BAA6B,GAAG,OAAO,OAAO;AAChF,WAAW,eAAe,QAAQ,oBAAoB,GAAG,OAAO,OAAO;AACvE,WAAW,eAAe,QAAQ,wBAAc,GAAG,OAAO,OAAO"}
1
+ {"version":3,"file":"index.native.js","names":[],"sources":["cjs/index.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar index_exports = {};\n__export(index_exports, {\n ClientOnly: () => import_use_did_finish_ssr.ClientOnly,\n ClientOnlyContext: () => import_use_did_finish_ssr.ClientOnlyContext,\n ComponentContext: () => import_ComponentContext.ComponentContext,\n Configuration: () => import_Configuration.Configuration,\n FontLanguage: () => import_FontLanguage.FontLanguage,\n GroupContext: () => import_GroupContext.GroupContext,\n Slot: () => import_Slot.Slot,\n Slottable: () => import_Slot.Slottable,\n StyleObjectIdentifier: () => import_helpers.StyleObjectIdentifier,\n StyleObjectProperty: () => import_helpers.StyleObjectProperty,\n StyleObjectPseudo: () => import_helpers.StyleObjectPseudo,\n StyleObjectRules: () => import_helpers.StyleObjectRules,\n StyleObjectValue: () => import_helpers.StyleObjectValue,\n Tamagui: () => import_Tamagui.Tamagui,\n TamaguiProvider: () => import_TamaguiProvider.TamaguiProvider,\n TamaguiRoot: () => import_TamaguiRoot.TamaguiRoot,\n Text: () => import_Text.Text,\n Theme: () => import_Theme.Theme,\n ThemeProvider: () => import_ThemeProvider.ThemeProvider,\n View: () => import_View.View,\n _disableMediaTouch: () => import_useMedia._disableMediaTouch,\n _mediaListenerStats: () => import_useMedia._mediaListenerStats,\n _withNativeStyle: () => import_withNativeStyle._withNativeStyle,\n _withStableStyle: () => import_withStableStyle._withStableStyle,\n autoVariables: () => import_registerCSSVariable.autoVariables,\n clamp: () => import_helpers.clamp,\n composeEventHandlers: () => import_helpers.composeEventHandlers,\n composeRefs: () => import_compose_refs.composeRefs,\n configureMedia: () => import_useMedia.configureMedia,\n containsThemeRef: () => import_themeRef.containsThemeRef,\n createCSSVariable: () => import_createVariable.createCSSVariable,\n createChangeEventDetails: () => import_eventDetails.createChangeEventDetails,\n createComponent: () => import_createComponent.createComponent,\n createFont: () => import_createFont.createFont,\n createRefComponent: () => import_compose_refs.createRefComponent,\n createShorthands: () => import_createShorthands.createShorthands,\n createStyledContext: () => import_createStyledContext.createStyledContext,\n createStyledHOC: () => import_createStyledHOC.createStyledHOC,\n createTamagui: () => import_createTamagui.createTamagui,\n createTokens: () => import_createTokens.createTokens,\n createVariable: () => import_createVariable.createVariable,\n createVariantResolver: () => import_types.createVariantResolver,\n cssShorthandLonghands: () => import_helpers.cssShorthandLonghands,\n currentPlatform: () => import_constants.currentPlatform,\n forceUpdateThemes: () => import_useThemeState.forceUpdateThemes,\n formatDiagnostic: () => import_formatDiagnostic.formatDiagnostic,\n getAutoVariableCSS: () => import_registerCSSVariable.getAutoVariableCSS,\n getCSSStylesAtomic: () => import_getCSSStylesAtomic.getCSSStylesAtomic,\n getConfig: () => import_config.getConfig,\n getDefaultProps: () => import_getDefaultProps.getDefaultProps,\n getExpandedShorthand: () => import_getExpandedShorthands.getExpandedShorthand,\n getMedia: () => import_mediaState.getMedia,\n getMutatedAutoVariableCSS: () => import_registerCSSVariable.getMutatedAutoVariableCSS,\n getNativeStyleEngine: () => import_nativeStyleEngine.getNativeStyleEngine,\n getPlatformDriver: () => import_constants.getPlatformDriver,\n getSetting: () => import_config.getSetting,\n getSplitStyles: () => import_getSplitStyles.getSplitStyles,\n getStyleCompat: () => import_config.getStyleCompat,\n getStyleTags: () => import_wrapStyleTags.getStyleTags,\n getThemeClassNames: () => import_helpers.getThemeClassNames,\n getThemeProviderChainSizes: () => import_useThemeState.getThemeProviderChainSizes,\n getThemes: () => import_config.getThemes,\n getToken: () => import_config.getToken,\n getTokenValue: () => import_config.getTokenValue,\n getTokens: () => import_config.getTokens,\n getVariable: () => import_createVariable.getVariable,\n getVariableName: () => import_createVariable.getVariableName,\n getVariableValue: () => import_createVariable.getVariableValue,\n getVariableVariable: () => import_createVariable.getVariableVariable,\n hooks: () => import_setupHooks.hooks,\n html: () => import_html.html,\n insertFont: () => import_insertFont.insertFont,\n insertStyleRules: () => import_insertStyleRule.insertStyleRules,\n installTamaguiConfig: () => import_createTamagui.installTamaguiConfig,\n isAndroid: () => import_constants.isAndroid,\n isBrowser: () => import_constants.isBrowser,\n isChrome: () => import_constants.isChrome,\n isClient: () => import_constants.isClient,\n isEqualShallow: () => import_is_equal_shallow.isEqualShallow,\n isIos: () => import_constants.isIos,\n isNativeDesktop: () => import_constants.isNativeDesktop,\n isServer: () => import_constants.isServer,\n isTV: () => import_constants.isTV,\n isTamaguiComponent: () => import_isTamaguiComponent.isTamaguiComponent,\n isTamaguiElement: () => import_isTamaguiElement.isTamaguiElement,\n isTouchable: () => import_constants.isTouchable,\n isValidStyleKey: () => import_getSplitStyles.isValidStyleKey,\n isVariable: () => import_createVariable.isVariable,\n isWeb: () => import_constants.isWeb,\n isWebTouchable: () => import_constants.isWebTouchable,\n loadAnimationDriver: () => import_config.loadAnimationDriver,\n matchMedia: () => import_matchMedia.matchMedia,\n mediaKeyMatch: () => import_useMedia.mediaKeyMatch,\n mediaObjectToString: () => import_mediaObjectToString.mediaObjectToString,\n mediaQueryConfig: () => import_mediaState.mediaQueryConfig,\n mediaState: () => import_mediaState.mediaState,\n mergeIfNotShallowEqual: () => import_is_equal_shallow.mergeIfNotShallowEqual,\n mergeProps: () => import_mergeProps.mergeProps,\n mergeSlotStyleProps: () => import_mergeSlotStyleProps.mergeSlotStyleProps,\n mutatedAutoVariables: () => import_registerCSSVariable.mutatedAutoVariables,\n nonAnimatableStyleProps: () => import_helpers.nonAnimatableStyleProps,\n nonAnimatableWebTextProps: () => import_helpers.nonAnimatableWebTextProps,\n nonAnimatableWebViewProps: () => import_helpers.nonAnimatableWebViewProps,\n normalizeColor: () => import_normalizeColor.normalizeColor,\n normalizeStyle: () => import_normalizeStyle.normalizeStyle,\n prepareStyleStaticConfig: () => import_getSplitStyles.prepareStyleStaticConfig,\n px: () => import_createVariable.px,\n removeNativeStyleScope: () => import_nativeStyleEngine.removeNativeStyleScope,\n reservedThemeProps: () => import_helpers.reservedThemeProps,\n resolveThemeName: () => import_useThemeState.resolveThemeName,\n setConfig: () => import_config.setConfig,\n setMediaState: () => import_mediaState.setMediaState,\n setNativeStyleEngine: () => import_nativeStyleEngine.setNativeStyleEngine,\n setNativeStyleEngineFlushListener: () => import_nativeStyleEngine.setNativeStyleEngineFlushListener,\n setNonce: () => import_insertStyleRule2.setNonce,\n setRef: () => import_compose_refs.setRef,\n setupDev: () => import_config.setupDev,\n setupHooks: () => import_setupHooks.setupHooks,\n setupMatchMedia: () => import_matchMedia.setupMatchMedia,\n setupPlatformDriver: () => import_constants.setupPlatformDriver,\n shouldRenderNativePlatform: () => import_helpers.shouldRenderNativePlatform,\n simpleHash: () => import_helpers.simpleHash,\n stylePropsAll: () => import_helpers.stylePropsAll,\n stylePropsText: () => import_helpers.stylePropsText,\n stylePropsTextOnly: () => import_helpers.stylePropsTextOnly,\n stylePropsTransform: () => import_helpers.stylePropsTransform,\n stylePropsUnitless: () => import_helpers.stylePropsUnitless,\n stylePropsView: () => import_helpers.stylePropsView,\n styled: () => import_styled.styled,\n supportsDynamicColorIOS: () => import_constants.supportsDynamicColorIOS,\n textStaticConfig: () => import_Text.textStaticConfig,\n themeRefKey: () => import_themeRef.themeRefKey,\n themeable: () => import_themeable.themeable,\n tokenCategories: () => import_helpers.tokenCategories,\n updateConfig: () => import_config.updateConfig,\n updateFont: () => import_insertFont.updateFont,\n updateMediaListeners: () => import_useMedia.updateMediaListeners,\n updateNativeStyleScope: () => import_nativeStyleEngine.updateNativeStyleScope,\n useAnimatedNumber: () => import_useAnimationDriver.useAnimatedNumber,\n useAnimatedNumberReaction: () => import_useAnimationDriver.useAnimatedNumberReaction,\n useAnimatedNumberStyle: () => import_useAnimationDriver.useAnimatedNumberStyle,\n useAnimatedNumbersStyle: () => import_useAnimationDriver.useAnimatedNumbersStyle,\n useAnimationDriver: () => import_useAnimationDriver.useAnimationDriver,\n useClientValue: () => import_use_did_finish_ssr.useClientValue,\n useComposedRefs: () => import_compose_refs.useComposedRefs,\n useConfiguration: () => import_ComponentContext.useConfiguration,\n useCreateShallowSetState: () => import_is_equal_shallow.useCreateShallowSetState,\n useDidFinishSSR: () => import_use_did_finish_ssr.useDidFinishSSR,\n useEvent: () => import_use_event.useEvent,\n useGet: () => import_use_event.useGet,\n useIsClientOnly: () => import_use_did_finish_ssr.useIsClientOnly,\n useIsTouchDevice: () => import_useIsTouchDevice.useIsTouchDevice,\n useIsomorphicLayoutEffect: () => import_constants.useIsomorphicLayoutEffect,\n useMedia: () => import_useMedia.useMedia,\n usePortalThemeState: () => import_usePortalThemeState.usePortalThemeState,\n useProps: () => import_useProps.useProps,\n usePropsAndStyle: () => import_useProps.usePropsAndStyle,\n useStyle: () => import_useProps.useStyle,\n useTheme: () => import_useTheme.useTheme,\n useThemeName: () => import_useThemeName.useThemeName,\n validStyles: () => import_helpers.validStyles,\n variableToString: () => import_createVariable.variableToString,\n viewStaticConfig: () => import_View.viewStaticConfig,\n webOnlyStylePropsText: () => import_helpers.webOnlyStylePropsText,\n webOnlyStylePropsView: () => import_helpers.webOnlyStylePropsView,\n withStaticProperties: () => import_helpers.withStaticProperties\n});\nmodule.exports = __toCommonJS(index_exports);\nvar import_ComponentContext = require(\"./contexts/ComponentContext\");\nvar import_GroupContext = require(\"./contexts/GroupContext\");\nvar import_is_equal_shallow = require(\"@tamagui/is-equal-shallow\");\nvar import_withStableStyle = require(\"./_withStableStyle\");\nvar import_withNativeStyle = require(\"./_withNativeStyle\");\nvar import_createComponent = require(\"./createComponent\");\nvar import_createStyledContext = require(\"./helpers/createStyledContext\");\nvar import_getDefaultProps = require(\"./helpers/getDefaultProps\");\nvar import_getCSSStylesAtomic = require(\"./helpers/getCSSStylesAtomic\");\nvar import_getExpandedShorthands = require(\"./helpers/getExpandedShorthands\");\nvar import_formatDiagnostic = require(\"./helpers/formatDiagnostic\");\nvar import_getSplitStyles = require(\"./helpers/getSplitStyles\");\nvar import_nativeStyleEngine = require(\"./helpers/nativeStyleEngine\");\nvar import_registerCSSVariable = require(\"./helpers/registerCSSVariable\");\nvar import_insertStyleRule = require(\"./helpers/insertStyleRule\");\nvar import_isTamaguiComponent = require(\"./helpers/isTamaguiComponent\");\nvar import_isTamaguiElement = require(\"./helpers/isTamaguiElement\");\nvar import_matchMedia = require(\"./helpers/matchMedia\");\nvar import_mergeProps = require(\"./helpers/mergeProps\");\nvar import_mergeSlotStyleProps = require(\"./helpers/mergeSlotStyleProps\");\nvar import_normalizeColor = require(\"./helpers/normalizeColor\");\nvar import_normalizeStyle = require(\"./helpers/normalizeStyle\");\nvar import_themeRef = require(\"./helpers/themeRef\");\nvar import_themeable = require(\"./helpers/themeable\");\nvar import_wrapStyleTags = require(\"./helpers/wrapStyleTags\");\nvar import_createFont = require(\"./createFont\");\nvar import_eventDetails = require(\"./eventDetails\");\nvar import_createStyledHOC = require(\"./createStyledHOC\");\nvar import_createShorthands = require(\"./createShorthands\");\nvar import_createTamagui = require(\"./createTamagui\");\nvar import_createTokens = require(\"./createTokens\");\nvar import_createVariable = require(\"./createVariable\");\nvar import_insertFont = require(\"./insertFont\");\nvar import_styled = require(\"./styled\");\nvar import_Tamagui = require(\"./Tamagui\");\nvar import_types = require(\"./types\");\nvar import_compose_refs = require(\"@tamagui/compose-refs\");\nvar import_config = require(\"./config\");\nvar import_insertStyleRule2 = require(\"./helpers/insertStyleRule\");\nvar import_useIsTouchDevice = require(\"./hooks/useIsTouchDevice\");\nvar import_useMedia = require(\"./hooks/useMedia\");\nvar import_mediaObjectToString = require(\"./helpers/mediaObjectToString\");\nvar import_mediaState = require(\"./helpers/mediaState\");\nvar import_useAnimationDriver = require(\"./hooks/useAnimationDriver\");\nvar import_useProps = require(\"./hooks/useProps\");\nvar import_useTheme = require(\"./hooks/useTheme\");\nvar import_usePortalThemeState = require(\"./hooks/usePortalThemeState\");\nvar import_useThemeName = require(\"./hooks/useThemeName\");\nvar import_useThemeState = require(\"./hooks/useThemeState\");\nvar import_html = require(\"./dom/html\");\nvar import_Configuration = require(\"./views/Configuration\");\nvar import_TamaguiRoot = require(\"./views/TamaguiRoot\");\nvar import_FontLanguage = require(\"./views/FontLanguage\");\nvar import_Slot = require(\"./views/Slot\");\nvar import_TamaguiProvider = require(\"./views/TamaguiProvider\");\nvar import_Text = require(\"./views/Text\");\nvar import_Theme = require(\"./views/Theme\");\nvar import_ThemeProvider = require(\"./views/ThemeProvider\");\nvar import_View = require(\"./views/View\");\nvar import_constants = require(\"@tamagui/constants\");\nvar import_helpers = require(\"@tamagui/helpers\");\nvar import_use_did_finish_ssr = require(\"@tamagui/use-did-finish-ssr\");\nvar import_use_event = require(\"@tamagui/use-event\");\nvar import_setupHooks = require(\"./setupHooks\");\n//# sourceMappingURL=index.js.map\n"],"mappings":";;;AACA,IAAI,YAAY,OAAO;AACvB,IAAI,mBAAmB,OAAO;AAC9B,IAAI,oBAAoB,OAAO;AAC/B,IAAI,eAAe,OAAO,UAAU;AACpC,IAAI,YAAY,QAAQ,QAAQ;CAC9B,KAAK,IAAI,QAAQ,KACf,UAAU,QAAQ,MAAM;EAAE,KAAK,IAAI;EAAO,YAAY;CAAK,CAAC;AAChE;AACA,IAAI,eAAe,IAAI,MAAM,QAAQ,SAAS;CAC5C,IAAI,QAAQ,OAAO,SAAS,YAAY,OAAO,SAAS,YAAY;EAClE,KAAK,IAAI,OAAO,kBAAkB,IAAI,GACpC,IAAI,CAAC,aAAa,KAAK,IAAI,GAAG,KAAK,QAAQ,QACzC,UAAU,IAAI,KAAK;GAAE,WAAW,KAAK;GAAM,YAAY,EAAE,OAAO,iBAAiB,MAAM,GAAG,MAAM,KAAK;EAAW,CAAC;CACvH;CACA,OAAO;AACT;AACA,IAAI,gBAAgB,QAAQ,YAAY,UAAU,CAAC,GAAG,cAAc,EAAE,OAAO,KAAK,CAAC,GAAG,GAAG;AACzF,IAAI,gBAAgB,CAAC;AACrB,SAAS,eAAe;CACtB,kBAAkB,0BAA0B;CAC5C,yBAAyB,0BAA0B;CACnD,wBAAwB,wBAAwB;CAChD,qBAAqB,qBAAqB;CAC1C,oBAAoB,oBAAoB;CACxC,oBAAoB,oBAAoB;CACxC,YAAY,YAAY;CACxB,iBAAiB,YAAY;CAC7B,6BAA6B,e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BAAU;AACtC,IAAI,0BAA0B,QAAQ,qCAA2B;AACjE,IAAI,0BAA0B,QAAQ,oCAA0B;AAChE,IAAI,kBAAkB,QAAQ,4BAAkB;AAChD,IAAI,6BAA6B,QAAQ,yCAA+B;AACxE,IAAI,oBAAoB,QAAQ,gCAAsB;AACtD,IAAI,4BAA4B,QAAQ,sCAA4B;AACpE,IAAI,kBAAkB,QAAQ,4BAAkB;AAChD,IAAI,kBAAkB,QAAQ,4BAAkB;AAChD,IAAI,6BAA6B,QAAQ,uCAA6B;AACtE,IAAI,sBAAsB,QAAQ,gCAAsB;AACxD,IAAI,uBAAuB,QAAQ,iCAAuB;AAC1D,IAAI,cAAc,QAAQ,sBAAY;AACtC,IAAI,uBAAuB,QAAQ,iCAAuB;AAC1D,IAAI,qBAAqB,QAAQ,+BAAqB;AACtD,IAAI,sBAAsB,QAAQ,gCAAsB;AACxD,IAAI,cAAc,QAAQ,wBAAc;AACxC,IAAI,yBAAyB,QAAQ,mCAAyB;AAC9D,IAAI,cAAc,QAAQ,wBAAc;AACxC,IAAI,eAAe,QAAQ,yBAAe;AAC1C,IAAI,uBAAuB,QAAQ,iCAAuB;AAC1D,IAAI,cAAc,QAAQ,wBAAc;AACxC,IAAI,mBAAmB,QAAQ,oBAAoB;AACnD,IAAI,iBAAiB,QAAQ,kBAAkB;AAC/C,IAAI,4BAA4B,QAAQ,6BAA6B;AACrE,IAAI,mBAAmB,QAAQ,oBAAoB;AACnD,IAAI,oBAAoB,QAAQ,wBAAc"}
@@ -35,7 +35,7 @@ function insertFont(name, fontIn) {
35
35
  const font = (0, import_createFont.createFont)(fontIn);
36
36
  const tokened = (0, import_createVariables.createVariables)(font, name);
37
37
  const parsed = parseFont(tokened);
38
- if (typeof document !== "undefined") {
38
+ if (!process.env.TAMAGUI_DID_OUTPUT_CSS && typeof document !== "undefined") {
39
39
  const fontVars = registerFontVariables(parsed);
40
40
  const styleElement = document.querySelector(`style[${import_constants.FONT_DATA_ATTRIBUTE_NAME}="${name}"]`) || document.createElement("style");
41
41
  styleElement.innerText = `:root .font_${name} {${fontVars.join(";")}}`;
@@ -37,6 +37,7 @@ function insertFont(name, fontIn) {
37
37
  var font = (0, import_createFont.createFont)(fontIn);
38
38
  var tokened = (0, import_createVariables.createVariables)(font, name);
39
39
  var parsed = parseFont(tokened);
40
+ if (!process.env.TAMAGUI_DID_OUTPUT_CSS && false);
40
41
  (0, import_config.setConfigFont)(name, tokened, parsed);
41
42
  return parsed;
42
43
  }
@@ -37,6 +37,7 @@ function insertFont(name, fontIn) {
37
37
  var font = (0, import_createFont.createFont)(fontIn);
38
38
  var tokened = (0, import_createVariables.createVariables)(font, name);
39
39
  var parsed = parseFont(tokened);
40
+ if (!process.env.TAMAGUI_DID_OUTPUT_CSS && false);
40
41
  (0, import_config.setConfigFont)(name, tokened, parsed);
41
42
  return parsed;
42
43
  }
@@ -1 +1 @@
1
- {"version":3,"file":"insertFont.native.js","names":[],"sources":["cjs/insertFont.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n\tfor (var name in all) __defProp(target, name, {\n\t\tget: all[name],\n\t\tenumerable: true\n\t});\n};\nvar __copyProps = (to, from, except, desc) => {\n\tif (from && typeof from === \"object\" || typeof from === \"function\") {\n\t\tfor (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {\n\t\t\tget: () => from[key],\n\t\t\tenumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable\n\t\t});\n\t}\n\treturn to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar insertFont_exports = {};\n__export(insertFont_exports, {\n\tinsertFont: () => insertFont,\n\tparseFont: () => parseFont,\n\tregisterFontVariables: () => registerFontVariables,\n\tupdateFont: () => updateFont\n});\nmodule.exports = __toCommonJS(insertFont_exports);\nvar import_config = require(\"./config\");\nrequire(\"./constants/constants\");\nvar import_createFont = require(\"./createFont\");\nvar import_createVariables = require(\"./createVariables\");\nvar import_registerCSSVariable = require(\"./helpers/registerCSSVariable\");\nfunction insertFont(name, fontIn) {\n\tvar font = (0, import_createFont.createFont)(fontIn);\n\tvar tokened = (0, import_createVariables.createVariables)(font, name);\n\tvar parsed = parseFont(tokened);\n\t(0, import_config.setConfigFont)(name, tokened, parsed);\n\treturn parsed;\n}\nvar updateFont = insertFont;\nfunction parseFont(definition) {\n\tvar parsed = {};\n\tfor (var attrKey in definition) {\n\t\tvar attr = definition[attrKey];\n\t\tif (attrKey === \"family\" || attrKey === \"face\") parsed[attrKey] = attr;\n\t\telse {\n\t\t\tparsed[attrKey] = {};\n\t\t\tfor (var key in attr) {\n\t\t\t\tvar val = attr[key];\n\t\t\t\tif (attrKey === \"color\" && typeof val.val === \"string\") val = val.val;\n\t\t\t\tparsed[attrKey][key] = val;\n\t\t\t}\n\t\t}\n\t}\n\treturn parsed;\n}\nfunction registerFontVariables(parsedFont) {\n\tif (!process.env.TAMAGUI_DID_OUTPUT_CSS) {\n\t\tvar response = [];\n\t\tfor (var fkey in parsedFont) {\n\t\t\tif (fkey === \"face\") continue;\n\t\t\tif (fkey === \"family\") {\n\t\t\t\tvar val = parsedFont[fkey];\n\t\t\t\t(0, import_registerCSSVariable.registerCSSVariable)(val);\n\t\t\t\tresponse.push((0, import_registerCSSVariable.variableToCSS)(val));\n\t\t\t} else for (var fskey in parsedFont[fkey]) if (typeof parsedFont[fkey][fskey] === \"string\") {} else {\n\t\t\t\tvar val1 = parsedFont[fkey][fskey];\n\t\t\t\t(0, import_registerCSSVariable.registerCSSVariable)(val1);\n\t\t\t\tresponse.push((0, import_registerCSSVariable.variableToCSS)(val1));\n\t\t\t}\n\t\t}\n\t\treturn response;\n\t}\n\treturn [];\n}\n//# sourceMappingURL=insertFont.js.map\n"],"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IAAI,aAAa;AACjB,SAAS,UAAU,YAAY;CAC9B,IAAI,SAAS,CAAC;CACd,KAAK,IAAI,WAAW,YAAY;EAC/B,IAAI,OAAO,WAAW;EACtB,IAAI,YAAY,YAAY,YAAY,QAAQ,OAAO,WAAW;OAC7D;GACJ,OAAO,WAAW,CAAC;GACnB,KAAK,IAAI,OAAO,MAAM;IACrB,IAAI,MAAM,KAAK;IACf,IAAI,YAAY,WAAW,OAAO,IAAI,QAAQ,UAAU,MAAM,IAAI;IAClE,OAAO,QAAQ,CAAC,OAAO;GACxB;EACD;CACD;CACA,OAAO;AACR;AACA,SAAS,sBAAsB,YAAY;CAC1C,IAAI,CAAC,QAAQ,IAAI,wBAAwB;EACxC,IAAI,WAAW,CAAC;EAChB,KAAK,IAAI,QAAQ,YAAY;GAC5B,IAAI,SAAS,QAAQ;GACrB,IAAI,SAAS,UAAU;IACtB,IAAI,MAAM,WAAW;IACrB,CAAC,GAAG,2BAA2B,oBAAmB,CAAE,GAAG;IACvD,SAAS,MAAM,GAAG,2BAA2B,cAAa,CAAE,GAAG,CAAC;GACjE,OAAO,KAAK,IAAI,SAAS,WAAW,OAAO,IAAI,OAAO,WAAW,KAAK,CAAC,WAAW,UAAU,CAAC,OAAO;IACnG,IAAI,OAAO,WAAW,KAAK,CAAC;IAC5B,CAAC,GAAG,2BAA2B,oBAAmB,CAAE,IAAI;IACxD,SAAS,MAAM,GAAG,2BAA2B,cAAa,CAAE,IAAI,CAAC;GAClE;EACD;EACA,OAAO;CACR;CACA,OAAO,CAAC;AACT"}
1
+ {"version":3,"file":"insertFont.native.js","names":[],"sources":["cjs/insertFont.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n\tfor (var name in all) __defProp(target, name, {\n\t\tget: all[name],\n\t\tenumerable: true\n\t});\n};\nvar __copyProps = (to, from, except, desc) => {\n\tif (from && typeof from === \"object\" || typeof from === \"function\") {\n\t\tfor (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {\n\t\t\tget: () => from[key],\n\t\t\tenumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable\n\t\t});\n\t}\n\treturn to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar insertFont_exports = {};\n__export(insertFont_exports, {\n\tinsertFont: () => insertFont,\n\tparseFont: () => parseFont,\n\tregisterFontVariables: () => registerFontVariables,\n\tupdateFont: () => updateFont\n});\nmodule.exports = __toCommonJS(insertFont_exports);\nvar import_config = require(\"./config\");\nrequire(\"./constants/constants\");\nvar import_createFont = require(\"./createFont\");\nvar import_createVariables = require(\"./createVariables\");\nvar import_registerCSSVariable = require(\"./helpers/registerCSSVariable\");\nfunction insertFont(name, fontIn) {\n\tvar font = (0, import_createFont.createFont)(fontIn);\n\tvar tokened = (0, import_createVariables.createVariables)(font, name);\n\tvar parsed = parseFont(tokened);\n\tif (!process.env.TAMAGUI_DID_OUTPUT_CSS && false);\n\t(0, import_config.setConfigFont)(name, tokened, parsed);\n\treturn parsed;\n}\nvar updateFont = insertFont;\nfunction parseFont(definition) {\n\tvar parsed = {};\n\tfor (var attrKey in definition) {\n\t\tvar attr = definition[attrKey];\n\t\tif (attrKey === \"family\" || attrKey === \"face\") parsed[attrKey] = attr;\n\t\telse {\n\t\t\tparsed[attrKey] = {};\n\t\t\tfor (var key in attr) {\n\t\t\t\tvar val = attr[key];\n\t\t\t\tif (attrKey === \"color\" && typeof val.val === \"string\") val = val.val;\n\t\t\t\tparsed[attrKey][key] = val;\n\t\t\t}\n\t\t}\n\t}\n\treturn parsed;\n}\nfunction registerFontVariables(parsedFont) {\n\tif (!process.env.TAMAGUI_DID_OUTPUT_CSS) {\n\t\tvar response = [];\n\t\tfor (var fkey in parsedFont) {\n\t\t\tif (fkey === \"face\") continue;\n\t\t\tif (fkey === \"family\") {\n\t\t\t\tvar val = parsedFont[fkey];\n\t\t\t\t(0, import_registerCSSVariable.registerCSSVariable)(val);\n\t\t\t\tresponse.push((0, import_registerCSSVariable.variableToCSS)(val));\n\t\t\t} else for (var fskey in parsedFont[fkey]) if (typeof parsedFont[fkey][fskey] === \"string\") {} else {\n\t\t\t\tvar val1 = parsedFont[fkey][fskey];\n\t\t\t\t(0, import_registerCSSVariable.registerCSSVariable)(val1);\n\t\t\t\tresponse.push((0, import_registerCSSVariable.variableToCSS)(val1));\n\t\t\t}\n\t\t}\n\t\treturn response;\n\t}\n\treturn [];\n}\n//# sourceMappingURL=insertFont.js.map\n"],"mappings":";;;AACA,IAAI,YAAY,OAAO;AACvB,IAAI,mBAAmB,OAAO;AAC9B,IAAI,oBAAoB,OAAO;AAC/B,IAAI,eAAe,OAAO,UAAU;AACpC,IAAI,YAAY,QAAQ,QAAQ;CAC/B,KAAK,IAAI,QAAQ,KAAK,UAAU,QAAQ,MAAM;EAC7C,KAAK,IAAI;EACT,YAAY;CACb,CAAC;AACF;AACA,IAAI,eAAe,IAAI,MAAM,QAAQ,SAAS;CAC7C,IAAI,QAAQ,OAAO,SAAS,YAAY,OAAO,SAAS,YAAY;EACnE,KAAK,IAAI,OAAO,kBAAkB,IAAI,GAAG,IAAI,CAAC,aAAa,KAAK,IAAI,GAAG,KAAK,QAAQ,QAAQ,UAAU,IAAI,KAAK;GAC9G,WAAW,KAAK;GAChB,YAAY,EAAE,OAAO,iBAAiB,MAAM,GAAG,MAAM,KAAK;EAC3D,CAAC;CACF;CACA,OAAO;AACR;AACA,IAAI,gBAAgB,QAAQ,YAAY,UAAU,CAAC,GAAG,cAAc,EAAE,OAAO,KAAK,CAAC,GAAG,GAAG;AACzF,IAAI,qBAAqB,CAAC;AAC1B,SAAS,oBAAoB;CAC5B,kBAAkB;CAClB,iBAAiB;CACjB,6BAA6B;CAC7B,kBAAkB;AACnB,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AAC,WAAW,UAAU,CAAC,OAAO;IACnG,IAAI,OAAO,WAAW,KAAK,CAAC;IAC5B,CAAC,GAAG,2BAA2B,oBAAmB,CAAE,IAAI;IACxD,SAAS,MAAM,GAAG,2BAA2B,cAAa,CAAE,IAAI,CAAC;GAClE;EACD;EACA,OAAO;CACR;CACA,OAAO,CAAC;AACT"}
@@ -20,30 +20,57 @@ var __copyProps = (to, from, except, desc) => {
20
20
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
21
21
  var internal_runtime_exports = {};
22
22
  __export(internal_runtime_exports, {
23
- STYLE_FRONTEND_PASSTHROUGH_PREFIX: () => import_styleFrontend.STYLE_FRONTEND_PASSTHROUGH_PREFIX,
24
- STYLE_FRONTEND_PREPROCESSED: () => import_styleFrontend.STYLE_FRONTEND_PREPROCESSED,
25
23
  TamaguiProvider: () => TamaguiProvider,
26
- createFrontendProgram: () => createFrontendProgram,
27
24
  createFrontendStyled: () => createFrontendStyled,
28
25
  createFrontendViews: () => createFrontendViews,
29
26
  createTamagui: () => createTamagui,
27
+ createVariables: () => createVariables,
28
+ ensureThemeVariable: () => ensureThemeVariable,
29
+ fixStyles: () => fixStyles,
30
+ getThemeCSSRules: () => getThemeCSSRules,
31
+ normalizeValueWithProperty: () => normalizeValueWithProperty,
32
+ parseFont: () => parseFont,
30
33
  plainValueToPayload: () => plainValueToPayload,
34
+ proxyThemeToParents: () => proxyThemeToParents,
35
+ registerFontVariables: () => registerFontVariables,
31
36
  regularStyleFrontend: () => import_styleFrontend.regularStyleFrontend,
32
- setupHooks: () => setupHooks
37
+ setupHooks: () => setupHooks,
38
+ styleToCSS: () => styleToCSS,
39
+ transformsToString: () => transformsToString,
40
+ useThemeWithState: () => useThemeWithState
33
41
  });
34
42
  module.exports = __toCommonJS(internal_runtime_exports);
35
43
  var import_helpers = require("@tamagui/helpers");
36
44
  var import_createComponent = require("./createComponent.cjs");
45
+ var import_createVariables = require("./createVariables.cjs");
46
+ var import_expandStyles = require("./helpers/expandStyles.cjs");
47
+ var import_styleToCSS = require("./helpers/styleToCSS.cjs");
37
48
  var import_componentDisplayName = require("./helpers/componentDisplayName.cjs");
38
- var import_frontendProgram = require("./helpers/frontendProgram.cjs");
49
+ var import_getThemeCSSRules = require("./helpers/getThemeCSSRules.cjs");
50
+ var import_normalizeValueWithProperty = require("./helpers/normalizeValueWithProperty.cjs");
51
+ var import_proxyThemeToParents = require("./helpers/proxyThemeToParents.cjs");
52
+ var import_themes = require("./helpers/themes.cjs");
53
+ var import_transformsToString = require("./helpers/transformsToString.cjs");
54
+ var import_insertFont = require("./insertFont.cjs");
39
55
  var import_createTamagui = require("./createTamagui.cjs");
40
56
  var import_setupHooks = require("./setupHooks.cjs");
41
57
  var import_styled = require("./styled.cjs");
58
+ var import_useTheme = require("./hooks/useTheme.cjs");
42
59
  var import_TamaguiProvider = require("./views/TamaguiProvider.cjs");
43
60
  var import_Text = require("./views/Text.cjs");
44
61
  var import_View = require("./views/View.cjs");
45
62
  var import_styleFrontend = require("./helpers/styleFrontend.cjs");
46
- const createFrontendProgram = import_frontendProgram.createFrontendProgram;
63
+ const createVariables = import_createVariables.createVariables;
64
+ const parseFont = import_insertFont.parseFont;
65
+ const registerFontVariables = import_insertFont.registerFontVariables;
66
+ const fixStyles = import_expandStyles.fixStyles;
67
+ const getThemeCSSRules = import_getThemeCSSRules.getThemeCSSRules;
68
+ const normalizeValueWithProperty = import_normalizeValueWithProperty.normalizeValueWithProperty;
69
+ const proxyThemeToParents = import_proxyThemeToParents.proxyThemeToParents;
70
+ const ensureThemeVariable = import_themes.ensureThemeVariable;
71
+ const transformsToString = import_transformsToString.transformsToString;
72
+ const styleToCSS = import_styleToCSS.styleToCSS;
73
+ const useThemeWithState = import_useTheme.useThemeWithState;
47
74
  const plainValueToPayload = (value, property) => {
48
75
  if (typeof value === "string") return value;
49
76
  if (typeof value !== "number" || !Number.isFinite(value)) return null;
@@ -22,30 +22,57 @@ var __copyProps = (to, from, except, desc) => {
22
22
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
23
23
  var internal_runtime_exports = {};
24
24
  __export(internal_runtime_exports, {
25
- STYLE_FRONTEND_PASSTHROUGH_PREFIX: () => import_styleFrontend.STYLE_FRONTEND_PASSTHROUGH_PREFIX,
26
- STYLE_FRONTEND_PREPROCESSED: () => import_styleFrontend.STYLE_FRONTEND_PREPROCESSED,
27
25
  TamaguiProvider: () => TamaguiProvider,
28
- createFrontendProgram: () => createFrontendProgram,
29
26
  createFrontendStyled: () => createFrontendStyled,
30
27
  createFrontendViews: () => createFrontendViews,
31
28
  createTamagui: () => createTamagui,
29
+ createVariables: () => createVariables,
30
+ ensureThemeVariable: () => ensureThemeVariable,
31
+ fixStyles: () => fixStyles,
32
+ getThemeCSSRules: () => getThemeCSSRules,
33
+ normalizeValueWithProperty: () => normalizeValueWithProperty,
34
+ parseFont: () => parseFont,
32
35
  plainValueToPayload: () => plainValueToPayload,
36
+ proxyThemeToParents: () => proxyThemeToParents,
37
+ registerFontVariables: () => registerFontVariables,
33
38
  regularStyleFrontend: () => import_styleFrontend.regularStyleFrontend,
34
- setupHooks: () => setupHooks
39
+ setupHooks: () => setupHooks,
40
+ styleToCSS: () => styleToCSS,
41
+ transformsToString: () => transformsToString,
42
+ useThemeWithState: () => useThemeWithState
35
43
  });
36
44
  module.exports = __toCommonJS(internal_runtime_exports);
37
45
  var import_helpers = require("@tamagui/helpers");
38
46
  var import_createComponent = require("./createComponent.native.js");
47
+ var import_createVariables = require("./createVariables.native.js");
48
+ var import_expandStyles = require("./helpers/expandStyles.native.js");
49
+ var import_styleToCSS = require("./helpers/styleToCSS.native.js");
39
50
  var import_componentDisplayName = require("./helpers/componentDisplayName.native.js");
40
- var import_frontendProgram = require("./helpers/frontendProgram.native.js");
51
+ var import_getThemeCSSRules = require("./helpers/getThemeCSSRules.native.js");
52
+ var import_normalizeValueWithProperty = require("./helpers/normalizeValueWithProperty.native.js");
53
+ var import_proxyThemeToParents = require("./helpers/proxyThemeToParents.native.js");
54
+ var import_themes = require("./helpers/themes.native.js");
55
+ var import_transformsToString = require("./helpers/transformsToString.native.js");
56
+ var import_insertFont = require("./insertFont.native.js");
41
57
  var import_createTamagui = require("./createTamagui.native.js");
42
58
  var import_setupHooks = require("./setupHooks.native.js");
43
59
  var import_styled = require("./styled.native.js");
60
+ var import_useTheme = require("./hooks/useTheme.native.js");
44
61
  var import_TamaguiProvider = require("./views/TamaguiProvider.native.js");
45
62
  var import_Text = require("./views/Text.native.js");
46
63
  var import_View = require("./views/View.native.js");
47
64
  var import_styleFrontend = require("./helpers/styleFrontend.native.js");
48
- var createFrontendProgram = import_frontendProgram.createFrontendProgram;
65
+ var createVariables = import_createVariables.createVariables;
66
+ var parseFont = import_insertFont.parseFont;
67
+ var registerFontVariables = import_insertFont.registerFontVariables;
68
+ var fixStyles = import_expandStyles.fixStyles;
69
+ var getThemeCSSRules = import_getThemeCSSRules.getThemeCSSRules;
70
+ var normalizeValueWithProperty = import_normalizeValueWithProperty.normalizeValueWithProperty;
71
+ var proxyThemeToParents = import_proxyThemeToParents.proxyThemeToParents;
72
+ var ensureThemeVariable = import_themes.ensureThemeVariable;
73
+ var transformsToString = import_transformsToString.transformsToString;
74
+ var styleToCSS = import_styleToCSS.styleToCSS;
75
+ var useThemeWithState = import_useTheme.useThemeWithState;
49
76
  var plainValueToPayload = function(value, property) {
50
77
  if (typeof value === "string") return value;
51
78
  if (typeof value !== "number" || !Number.isFinite(value)) return null;