@tamagui/config 2.7.7 → 3.0.0-beta.1097.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 (486) hide show
  1. package/animations-css/index.cjs +2 -0
  2. package/animations-css/index.js +2 -0
  3. package/animations-css/index.native.cjs +2 -0
  4. package/animations-css/index.native.js +2 -0
  5. package/animations-css.cjs +1 -0
  6. package/animations-css.d.ts +1 -0
  7. package/animations-motion/index.cjs +2 -0
  8. package/animations-motion/index.js +2 -0
  9. package/animations-motion/index.native.cjs +2 -0
  10. package/animations-motion/index.native.js +2 -0
  11. package/animations-motion.cjs +1 -0
  12. package/animations-motion.d.ts +1 -0
  13. package/animations-reanimated/index.cjs +2 -0
  14. package/animations-reanimated/index.js +2 -0
  15. package/animations-reanimated/index.native.cjs +2 -0
  16. package/animations-reanimated/index.native.js +2 -0
  17. package/animations-reanimated.cjs +1 -0
  18. package/animations-reanimated.d.ts +1 -0
  19. package/animations-rn/index.cjs +2 -0
  20. package/animations-rn/index.js +2 -0
  21. package/animations-rn/index.native.cjs +2 -0
  22. package/animations-rn/index.native.js +2 -0
  23. package/animations-rn.cjs +1 -0
  24. package/animations-rn.d.ts +1 -0
  25. package/dist/cjs/animations-css.cjs +30 -0
  26. package/dist/cjs/animations-css.native.cjs +26 -0
  27. package/dist/cjs/animations-css.native.js +28 -0
  28. package/dist/cjs/animations-css.native.js.map +1 -0
  29. package/dist/cjs/animations-motion.cjs +30 -0
  30. package/dist/cjs/animations-motion.native.cjs +32 -0
  31. package/dist/cjs/animations-motion.native.js +34 -0
  32. package/dist/cjs/animations-motion.native.js.map +1 -0
  33. package/dist/cjs/animations-reanimated.cjs +30 -0
  34. package/dist/cjs/animations-reanimated.native.cjs +32 -0
  35. package/dist/cjs/animations-reanimated.native.js +34 -0
  36. package/dist/cjs/animations-reanimated.native.js.map +1 -0
  37. package/dist/cjs/animations-rn.cjs +30 -0
  38. package/dist/cjs/animations-rn.native.cjs +32 -0
  39. package/dist/cjs/animations-rn.native.js +34 -0
  40. package/dist/cjs/animations-rn.native.js.map +1 -0
  41. package/dist/cjs/fonts.cjs +26 -102
  42. package/dist/cjs/fonts.native.cjs +44 -0
  43. package/dist/cjs/fonts.native.js +29 -109
  44. package/dist/cjs/fonts.native.js.map +1 -1
  45. package/dist/cjs/media.cjs +84 -62
  46. package/dist/cjs/media.native.cjs +101 -0
  47. package/dist/cjs/media.native.js +84 -61
  48. package/dist/cjs/media.native.js.map +1 -1
  49. package/dist/cjs/settings.cjs +76 -0
  50. package/dist/cjs/settings.native.cjs +80 -0
  51. package/dist/cjs/settings.native.js +82 -0
  52. package/dist/cjs/settings.native.js.map +1 -0
  53. package/dist/cjs/v5-base.cjs +36 -60
  54. package/dist/cjs/v5-base.native.cjs +57 -0
  55. package/dist/cjs/v5-base.native.js +36 -61
  56. package/dist/cjs/v5-base.native.js.map +1 -1
  57. package/dist/cjs/v5-fonts.cjs +32 -75
  58. package/dist/cjs/v5-fonts.native.cjs +57 -0
  59. package/dist/cjs/v5-fonts.native.js +38 -102
  60. package/dist/cjs/v5-fonts.native.js.map +1 -1
  61. package/dist/cjs/v5-subtle.cjs +9 -11
  62. package/dist/cjs/v5-subtle.native.cjs +21 -0
  63. package/dist/cjs/v5-subtle.native.js +9 -10
  64. package/dist/cjs/v5-subtle.native.js.map +1 -1
  65. package/dist/cjs/v5.cjs +9 -11
  66. package/dist/cjs/v5.native.cjs +21 -0
  67. package/dist/cjs/v5.native.js +9 -10
  68. package/dist/cjs/v5.native.js.map +1 -1
  69. package/dist/cjs/v6-base.cjs +242 -0
  70. package/dist/cjs/v6-base.native.cjs +245 -0
  71. package/dist/cjs/v6-base.native.js +247 -0
  72. package/dist/cjs/v6-base.native.js.map +1 -0
  73. package/dist/cjs/v6-builder.cjs +18 -0
  74. package/dist/cjs/v6-builder.native.cjs +20 -0
  75. package/dist/cjs/v6-builder.native.js +22 -0
  76. package/dist/cjs/v6-builder.native.js.map +1 -0
  77. package/dist/cjs/v6-tailwind-scales.generated.cjs +196 -0
  78. package/dist/cjs/v6-tailwind-scales.generated.native.cjs +198 -0
  79. package/dist/cjs/v6-tailwind-scales.generated.native.js +200 -0
  80. package/dist/cjs/v6-tailwind-scales.generated.native.js.map +1 -0
  81. package/dist/cjs/v6-themes.cjs +35 -0
  82. package/dist/cjs/v6-themes.native.cjs +45 -0
  83. package/dist/cjs/v6-themes.native.js +47 -0
  84. package/dist/cjs/v6-themes.native.js.map +1 -0
  85. package/dist/cjs/v6.cjs +42 -0
  86. package/dist/cjs/v6.native.cjs +44 -0
  87. package/dist/cjs/v6.native.js +46 -0
  88. package/dist/cjs/v6.native.js.map +1 -0
  89. package/dist/esm/animations-css.mjs +8 -0
  90. package/dist/esm/animations-css.mjs.map +1 -0
  91. package/dist/esm/animations-css.native.js +3 -0
  92. package/dist/esm/animations-motion.mjs +8 -0
  93. package/dist/esm/animations-motion.mjs.map +1 -0
  94. package/dist/esm/animations-motion.native.js +8 -0
  95. package/dist/esm/animations-motion.native.js.map +1 -0
  96. package/dist/esm/animations-reanimated.mjs +8 -0
  97. package/dist/esm/animations-reanimated.mjs.map +1 -0
  98. package/dist/esm/animations-reanimated.native.js +8 -0
  99. package/dist/esm/animations-reanimated.native.js.map +1 -0
  100. package/dist/esm/animations-rn.mjs +8 -0
  101. package/dist/esm/animations-rn.mjs.map +1 -0
  102. package/dist/esm/animations-rn.native.js +8 -0
  103. package/dist/esm/animations-rn.native.js.map +1 -0
  104. package/dist/esm/fonts.mjs +14 -87
  105. package/dist/esm/fonts.mjs.map +1 -1
  106. package/dist/esm/fonts.native.js +17 -95
  107. package/dist/esm/fonts.native.js.map +1 -1
  108. package/dist/esm/media.mjs +70 -44
  109. package/dist/esm/media.mjs.map +1 -1
  110. package/dist/esm/media.native.js +70 -44
  111. package/dist/esm/media.native.js.map +1 -1
  112. package/dist/esm/settings.mjs +53 -0
  113. package/dist/esm/settings.mjs.map +1 -0
  114. package/dist/esm/settings.native.js +55 -0
  115. package/dist/esm/settings.native.js.map +1 -0
  116. package/dist/esm/v5-base.mjs +15 -31
  117. package/dist/esm/v5-base.mjs.map +1 -1
  118. package/dist/esm/v5-base.native.js +15 -33
  119. package/dist/esm/v5-base.native.js.map +1 -1
  120. package/dist/esm/v5-fonts.mjs +19 -58
  121. package/dist/esm/v5-fonts.mjs.map +1 -1
  122. package/dist/esm/v5-fonts.native.js +25 -86
  123. package/dist/esm/v5-fonts.native.js.map +1 -1
  124. package/dist/esm/v5-subtle.mjs +3 -3
  125. package/dist/esm/v5-subtle.native.js +3 -3
  126. package/dist/esm/v5.mjs +3 -3
  127. package/dist/esm/v5.native.js +3 -3
  128. package/dist/esm/v6-base.mjs +203 -0
  129. package/dist/esm/v6-base.mjs.map +1 -0
  130. package/dist/esm/v6-base.native.js +204 -0
  131. package/dist/esm/v6-base.native.js.map +1 -0
  132. package/dist/esm/v6-builder.mjs +1 -0
  133. package/dist/esm/v6-builder.native.js +1 -0
  134. package/dist/esm/v6-tailwind-scales.generated.mjs +169 -0
  135. package/dist/esm/v6-tailwind-scales.generated.mjs.map +1 -0
  136. package/dist/esm/v6-tailwind-scales.generated.native.js +169 -0
  137. package/dist/esm/v6-tailwind-scales.generated.native.js.map +1 -0
  138. package/dist/esm/v6-themes.mjs +16 -0
  139. package/dist/esm/v6-themes.mjs.map +1 -0
  140. package/dist/esm/v6-themes.native.js +24 -0
  141. package/dist/esm/v6-themes.native.js.map +1 -0
  142. package/dist/esm/v6.mjs +17 -0
  143. package/dist/esm/v6.mjs.map +1 -0
  144. package/dist/esm/v6.native.js +17 -0
  145. package/dist/esm/v6.native.js.map +1 -0
  146. package/package.json +158 -98
  147. package/src/{v5-css.native.ts → animations-css.native.ts} +1 -1
  148. package/src/animations-css.ts +6 -0
  149. package/src/animations-motion.ts +6 -0
  150. package/src/animations-reanimated.ts +6 -0
  151. package/src/animations-rn.ts +6 -0
  152. package/src/fonts.ts +19 -91
  153. package/src/media.ts +99 -24
  154. package/src/settings.ts +37 -0
  155. package/src/v5-base.ts +13 -44
  156. package/src/v5-fonts.ts +30 -100
  157. package/src/v5.ts +1 -1
  158. package/src/v6-base.ts +277 -0
  159. package/src/v6-builder.ts +1 -0
  160. package/src/v6-tailwind-scales.generated.ts +173 -0
  161. package/src/v6-themes.ts +46 -0
  162. package/src/v6.ts +30 -0
  163. package/types/animations-css.d.ts +109 -0
  164. package/types/animations-css.d.ts.map +1 -0
  165. package/{src/v3-animations.native.ts → types/animations-css.native.d.ts} +2 -1
  166. package/types/animations-css.native.d.ts.map +1 -0
  167. package/types/animations-motion.d.ts +109 -0
  168. package/types/animations-motion.d.ts.map +1 -0
  169. package/types/animations-reanimated.d.ts +109 -0
  170. package/types/animations-reanimated.d.ts.map +1 -0
  171. package/types/animations-rn.d.ts +109 -0
  172. package/types/animations-rn.d.ts.map +1 -0
  173. package/types/fonts.d.ts +5 -67
  174. package/types/fonts.d.ts.map +1 -1
  175. package/types/media.d.ts +118 -29
  176. package/types/media.d.ts.map +1 -1
  177. package/types/settings.d.ts +79 -0
  178. package/types/settings.d.ts.map +1 -0
  179. package/types/v5-base.d.ts +10 -46
  180. package/types/v5-base.d.ts.map +1 -1
  181. package/types/v5-fonts.d.ts +4 -28
  182. package/types/v5-fonts.d.ts.map +1 -1
  183. package/types/v6-base.d.ts +1077 -0
  184. package/types/v6-base.d.ts.map +1 -0
  185. package/types/v6-builder.d.ts +2 -0
  186. package/types/v6-builder.d.ts.map +1 -0
  187. package/types/v6-tailwind-scales.generated.d.ts +167 -0
  188. package/types/v6-tailwind-scales.generated.d.ts.map +1 -0
  189. package/types/v6-themes.d.ts +10 -0
  190. package/types/v6-themes.d.ts.map +1 -0
  191. package/types/v6.d.ts +2450 -0
  192. package/types/v6.d.ts.map +1 -0
  193. package/v6-base.cjs +1 -0
  194. package/v6-base.d.ts +1 -0
  195. package/v6-builder.cjs +1 -0
  196. package/v6-builder.d.ts +1 -0
  197. package/v6.cjs +1 -0
  198. package/v6.d.ts +1 -0
  199. package/.turbo/turbo-build.log +0 -2
  200. package/dist/cjs/animations.cjs +0 -94
  201. package/dist/cjs/animations.css.cjs +0 -37
  202. package/dist/cjs/animations.css.native.js +0 -40
  203. package/dist/cjs/animations.css.native.js.map +0 -1
  204. package/dist/cjs/animations.native.js +0 -97
  205. package/dist/cjs/animations.native.js.map +0 -1
  206. package/dist/cjs/animations.reanimated.cjs +0 -67
  207. package/dist/cjs/animations.reanimated.native.js +0 -70
  208. package/dist/cjs/animations.reanimated.native.js.map +0 -1
  209. package/dist/cjs/animationsCSS.cjs +0 -58
  210. package/dist/cjs/animationsCSS.native.js +0 -61
  211. package/dist/cjs/animationsCSS.native.js.map +0 -1
  212. package/dist/cjs/animationsMotion.cjs +0 -148
  213. package/dist/cjs/animationsMotion.native.js +0 -151
  214. package/dist/cjs/animationsMotion.native.js.map +0 -1
  215. package/dist/cjs/animationsReactNative.cjs +0 -155
  216. package/dist/cjs/animationsReactNative.native.js +0 -158
  217. package/dist/cjs/animationsReactNative.native.js.map +0 -1
  218. package/dist/cjs/animationsReanimated.cjs +0 -143
  219. package/dist/cjs/animationsReanimated.native.js +0 -146
  220. package/dist/cjs/animationsReanimated.native.js.map +0 -1
  221. package/dist/cjs/config.cjs +0 -47
  222. package/dist/cjs/config.native.js +0 -52
  223. package/dist/cjs/config.native.js.map +0 -1
  224. package/dist/cjs/createGenericFont.cjs +0 -63
  225. package/dist/cjs/createGenericFont.native.js +0 -73
  226. package/dist/cjs/createGenericFont.native.js.map +0 -1
  227. package/dist/cjs/index.cjs +0 -42
  228. package/dist/cjs/index.native.js +0 -45
  229. package/dist/cjs/index.native.js.map +0 -1
  230. package/dist/cjs/index.reanimated.cjs +0 -37
  231. package/dist/cjs/index.reanimated.native.js +0 -40
  232. package/dist/cjs/index.reanimated.native.js.map +0 -1
  233. package/dist/cjs/v3-animations.cjs +0 -28
  234. package/dist/cjs/v3-animations.native.js +0 -31
  235. package/dist/cjs/v3-animations.native.js.map +0 -1
  236. package/dist/cjs/v3.cjs +0 -139
  237. package/dist/cjs/v3.native.js +0 -146
  238. package/dist/cjs/v3.native.js.map +0 -1
  239. package/dist/cjs/v4-animations.cjs +0 -28
  240. package/dist/cjs/v4-animations.native.js +0 -31
  241. package/dist/cjs/v4-animations.native.js.map +0 -1
  242. package/dist/cjs/v4-fonts.cjs +0 -76
  243. package/dist/cjs/v4-fonts.native.js +0 -92
  244. package/dist/cjs/v4-fonts.native.js.map +0 -1
  245. package/dist/cjs/v4-media.cjs +0 -92
  246. package/dist/cjs/v4-media.native.js +0 -95
  247. package/dist/cjs/v4-media.native.js.map +0 -1
  248. package/dist/cjs/v4.cjs +0 -77
  249. package/dist/cjs/v4.native.js +0 -82
  250. package/dist/cjs/v4.native.js.map +0 -1
  251. package/dist/cjs/v5-css.cjs +0 -56
  252. package/dist/cjs/v5-css.native.js +0 -31
  253. package/dist/cjs/v5-css.native.js.map +0 -1
  254. package/dist/cjs/v5-media.cjs +0 -163
  255. package/dist/cjs/v5-media.native.js +0 -166
  256. package/dist/cjs/v5-media.native.js.map +0 -1
  257. package/dist/cjs/v5-motion.cjs +0 -135
  258. package/dist/cjs/v5-motion.native.js +0 -138
  259. package/dist/cjs/v5-motion.native.js.map +0 -1
  260. package/dist/cjs/v5-reanimated.cjs +0 -131
  261. package/dist/cjs/v5-reanimated.native.js +0 -134
  262. package/dist/cjs/v5-reanimated.native.js.map +0 -1
  263. package/dist/cjs/v5-rn.cjs +0 -141
  264. package/dist/cjs/v5-rn.native.js +0 -144
  265. package/dist/cjs/v5-rn.native.js.map +0 -1
  266. package/dist/esm/animations.css.mjs +0 -12
  267. package/dist/esm/animations.css.mjs.map +0 -1
  268. package/dist/esm/animations.css.native.js +0 -12
  269. package/dist/esm/animations.css.native.js.map +0 -1
  270. package/dist/esm/animations.mjs +0 -69
  271. package/dist/esm/animations.mjs.map +0 -1
  272. package/dist/esm/animations.native.js +0 -69
  273. package/dist/esm/animations.native.js.map +0 -1
  274. package/dist/esm/animations.reanimated.mjs +0 -42
  275. package/dist/esm/animations.reanimated.mjs.map +0 -1
  276. package/dist/esm/animations.reanimated.native.js +0 -42
  277. package/dist/esm/animations.reanimated.native.js.map +0 -1
  278. package/dist/esm/animationsCSS.mjs +0 -33
  279. package/dist/esm/animationsCSS.mjs.map +0 -1
  280. package/dist/esm/animationsCSS.native.js +0 -33
  281. package/dist/esm/animationsCSS.native.js.map +0 -1
  282. package/dist/esm/animationsMotion.mjs +0 -123
  283. package/dist/esm/animationsMotion.mjs.map +0 -1
  284. package/dist/esm/animationsMotion.native.js +0 -123
  285. package/dist/esm/animationsMotion.native.js.map +0 -1
  286. package/dist/esm/animationsReactNative.mjs +0 -130
  287. package/dist/esm/animationsReactNative.mjs.map +0 -1
  288. package/dist/esm/animationsReactNative.native.js +0 -130
  289. package/dist/esm/animationsReactNative.native.js.map +0 -1
  290. package/dist/esm/animationsReanimated.mjs +0 -118
  291. package/dist/esm/animationsReanimated.mjs.map +0 -1
  292. package/dist/esm/animationsReanimated.native.js +0 -118
  293. package/dist/esm/animationsReanimated.native.js.map +0 -1
  294. package/dist/esm/config.mjs +0 -22
  295. package/dist/esm/config.mjs.map +0 -1
  296. package/dist/esm/config.native.js +0 -24
  297. package/dist/esm/config.native.js.map +0 -1
  298. package/dist/esm/createGenericFont.mjs +0 -38
  299. package/dist/esm/createGenericFont.mjs.map +0 -1
  300. package/dist/esm/createGenericFont.native.js +0 -45
  301. package/dist/esm/createGenericFont.native.js.map +0 -1
  302. package/dist/esm/index.js +0 -15
  303. package/dist/esm/index.js.map +0 -1
  304. package/dist/esm/index.mjs +0 -15
  305. package/dist/esm/index.mjs.map +0 -1
  306. package/dist/esm/index.native.js +0 -15
  307. package/dist/esm/index.native.js.map +0 -1
  308. package/dist/esm/index.reanimated.mjs +0 -11
  309. package/dist/esm/index.reanimated.mjs.map +0 -1
  310. package/dist/esm/index.reanimated.native.js +0 -11
  311. package/dist/esm/index.reanimated.native.js.map +0 -1
  312. package/dist/esm/v3-animations.mjs +0 -3
  313. package/dist/esm/v3-animations.mjs.map +0 -1
  314. package/dist/esm/v3-animations.native.js +0 -3
  315. package/dist/esm/v3-animations.native.js.map +0 -1
  316. package/dist/esm/v3.mjs +0 -106
  317. package/dist/esm/v3.mjs.map +0 -1
  318. package/dist/esm/v3.native.js +0 -110
  319. package/dist/esm/v3.native.js.map +0 -1
  320. package/dist/esm/v4-animations.mjs +0 -3
  321. package/dist/esm/v4-animations.mjs.map +0 -1
  322. package/dist/esm/v4-animations.native.js +0 -3
  323. package/dist/esm/v4-animations.native.js.map +0 -1
  324. package/dist/esm/v4-fonts.mjs +0 -50
  325. package/dist/esm/v4-fonts.mjs.map +0 -1
  326. package/dist/esm/v4-fonts.native.js +0 -63
  327. package/dist/esm/v4-fonts.native.js.map +0 -1
  328. package/dist/esm/v4-media.mjs +0 -65
  329. package/dist/esm/v4-media.mjs.map +0 -1
  330. package/dist/esm/v4-media.native.js +0 -65
  331. package/dist/esm/v4-media.native.js.map +0 -1
  332. package/dist/esm/v4.mjs +0 -39
  333. package/dist/esm/v4.mjs.map +0 -1
  334. package/dist/esm/v4.native.js +0 -41
  335. package/dist/esm/v4.native.js.map +0 -1
  336. package/dist/esm/v5-css.mjs +0 -30
  337. package/dist/esm/v5-css.mjs.map +0 -1
  338. package/dist/esm/v5-css.native.js +0 -3
  339. package/dist/esm/v5-css.native.js.map +0 -1
  340. package/dist/esm/v5-media.mjs +0 -136
  341. package/dist/esm/v5-media.mjs.map +0 -1
  342. package/dist/esm/v5-media.native.js +0 -136
  343. package/dist/esm/v5-media.native.js.map +0 -1
  344. package/dist/esm/v5-motion.mjs +0 -109
  345. package/dist/esm/v5-motion.mjs.map +0 -1
  346. package/dist/esm/v5-motion.native.js +0 -109
  347. package/dist/esm/v5-motion.native.js.map +0 -1
  348. package/dist/esm/v5-reanimated.mjs +0 -105
  349. package/dist/esm/v5-reanimated.mjs.map +0 -1
  350. package/dist/esm/v5-reanimated.native.js +0 -105
  351. package/dist/esm/v5-reanimated.native.js.map +0 -1
  352. package/dist/esm/v5-rn.mjs +0 -115
  353. package/dist/esm/v5-rn.mjs.map +0 -1
  354. package/dist/esm/v5-rn.native.js +0 -115
  355. package/dist/esm/v5-rn.native.js.map +0 -1
  356. package/dist/esm/v5-subtle.mjs.map +0 -1
  357. package/dist/esm/v5-subtle.native.js.map +0 -1
  358. package/dist/esm/v5.mjs.map +0 -1
  359. package/dist/esm/v5.native.js.map +0 -1
  360. package/reanimated/index.cjs +0 -2
  361. package/reanimated/index.js +0 -2
  362. package/reanimated/index.native.cjs +0 -2
  363. package/reanimated/index.native.js +0 -2
  364. package/reanimated.cjs +0 -1
  365. package/src/animations.css.ts +0 -11
  366. package/src/animations.reanimated.ts +0 -41
  367. package/src/animations.ts +0 -68
  368. package/src/animationsCSS.ts +0 -33
  369. package/src/animationsMotion.ts +0 -122
  370. package/src/animationsReactNative.ts +0 -129
  371. package/src/animationsReanimated.ts +0 -117
  372. package/src/config.ts +0 -27
  373. package/src/createGenericFont.ts +0 -43
  374. package/src/index.reanimated.ts +0 -10
  375. package/src/index.tsx +0 -16
  376. package/src/v3-animations.ts +0 -1
  377. package/src/v3.ts +0 -119
  378. package/src/v4-animations.native.ts +0 -1
  379. package/src/v4-animations.ts +0 -1
  380. package/src/v4-fonts.ts +0 -61
  381. package/src/v4-media.ts +0 -40
  382. package/src/v4.ts +0 -47
  383. package/src/v5-css.ts +0 -31
  384. package/src/v5-media.ts +0 -107
  385. package/src/v5-motion.ts +0 -109
  386. package/src/v5-reanimated.ts +0 -105
  387. package/src/v5-rn.ts +0 -115
  388. package/tsconfig.json +0 -65
  389. package/types/animations.css.d.ts +0 -10
  390. package/types/animations.css.d.ts.map +0 -1
  391. package/types/animations.d.ts +0 -67
  392. package/types/animations.d.ts.map +0 -1
  393. package/types/animations.reanimated.d.ts +0 -40
  394. package/types/animations.reanimated.d.ts.map +0 -1
  395. package/types/animationsCSS.d.ts +0 -28
  396. package/types/animationsCSS.d.ts.map +0 -1
  397. package/types/animationsMotion.d.ts +0 -121
  398. package/types/animationsMotion.d.ts.map +0 -1
  399. package/types/animationsReactNative.d.ts +0 -128
  400. package/types/animationsReactNative.d.ts.map +0 -1
  401. package/types/animationsReanimated.d.ts +0 -116
  402. package/types/animationsReanimated.d.ts.map +0 -1
  403. package/types/config.d.ts +0 -948
  404. package/types/config.d.ts.map +0 -1
  405. package/types/createGenericFont.d.ts +0 -24
  406. package/types/createGenericFont.d.ts.map +0 -1
  407. package/types/index.d.ts +0 -890
  408. package/types/index.d.ts.map +0 -1
  409. package/types/index.reanimated.d.ts +0 -990
  410. package/types/index.reanimated.d.ts.map +0 -1
  411. package/types/v3-animations.d.ts +0 -2
  412. package/types/v3-animations.d.ts.map +0 -1
  413. package/types/v3-animations.native.d.ts +0 -2
  414. package/types/v3-animations.native.d.ts.map +0 -1
  415. package/types/v3.d.ts +0 -993
  416. package/types/v3.d.ts.map +0 -1
  417. package/types/v4-animations.d.ts +0 -2
  418. package/types/v4-animations.d.ts.map +0 -1
  419. package/types/v4-animations.native.d.ts +0 -2
  420. package/types/v4-animations.native.d.ts.map +0 -1
  421. package/types/v4-fonts.d.ts +0 -31
  422. package/types/v4-fonts.d.ts.map +0 -1
  423. package/types/v4-media.d.ts +0 -63
  424. package/types/v4-media.d.ts.map +0 -1
  425. package/types/v4.d.ts +0 -283
  426. package/types/v4.d.ts.map +0 -1
  427. package/types/v5-css.d.ts +0 -49
  428. package/types/v5-css.d.ts.map +0 -1
  429. package/types/v5-css.native.d.ts +0 -2
  430. package/types/v5-css.native.d.ts.map +0 -1
  431. package/types/v5-media.d.ts +0 -135
  432. package/types/v5-media.d.ts.map +0 -1
  433. package/types/v5-motion.d.ts +0 -211
  434. package/types/v5-motion.d.ts.map +0 -1
  435. package/types/v5-reanimated.d.ts +0 -203
  436. package/types/v5-reanimated.d.ts.map +0 -1
  437. package/types/v5-rn.d.ts +0 -223
  438. package/types/v5-rn.d.ts.map +0 -1
  439. package/v3/index.cjs +0 -2
  440. package/v3/index.js +0 -2
  441. package/v3/index.native.cjs +0 -2
  442. package/v3/index.native.js +0 -2
  443. package/v3.cjs +0 -1
  444. package/v3.d.ts +0 -1
  445. package/v4/index.cjs +0 -2
  446. package/v4/index.js +0 -2
  447. package/v4/index.native.cjs +0 -2
  448. package/v4/index.native.js +0 -2
  449. package/v4.cjs +0 -1
  450. package/v4.d.ts +0 -1
  451. package/v5/index.cjs +0 -2
  452. package/v5/index.js +0 -2
  453. package/v5/index.native.cjs +0 -2
  454. package/v5/index.native.js +0 -2
  455. package/v5-css/index.cjs +0 -2
  456. package/v5-css/index.js +0 -2
  457. package/v5-css/index.native.cjs +0 -2
  458. package/v5-css/index.native.js +0 -2
  459. package/v5-css.cjs +0 -1
  460. package/v5-css.d.ts +0 -1
  461. package/v5-motion/index.cjs +0 -2
  462. package/v5-motion/index.js +0 -2
  463. package/v5-motion/index.native.cjs +0 -2
  464. package/v5-motion/index.native.js +0 -2
  465. package/v5-motion.cjs +0 -1
  466. package/v5-motion.d.ts +0 -1
  467. package/v5-reanimated/index.cjs +0 -2
  468. package/v5-reanimated/index.js +0 -2
  469. package/v5-reanimated/index.native.cjs +0 -2
  470. package/v5-reanimated/index.native.js +0 -2
  471. package/v5-reanimated.cjs +0 -1
  472. package/v5-reanimated.d.ts +0 -1
  473. package/v5-rn/index.cjs +0 -2
  474. package/v5-rn/index.js +0 -2
  475. package/v5-rn/index.native.cjs +0 -2
  476. package/v5-rn/index.native.js +0 -2
  477. package/v5-rn.cjs +0 -1
  478. package/v5-rn.d.ts +0 -1
  479. package/v5-subtle/index.cjs +0 -2
  480. package/v5-subtle/index.js +0 -2
  481. package/v5-subtle/index.native.cjs +0 -2
  482. package/v5-subtle/index.native.js +0 -2
  483. package/v5-subtle.cjs +0 -1
  484. package/v5-subtle.d.ts +0 -1
  485. package/v5.cjs +0 -1
  486. package/v5.d.ts +0 -1
@@ -0,0 +1,1077 @@
1
+ import { shorthands } from '@tamagui/shorthands/v6';
2
+ import type { CreateTamaguiProps } from '@tamagui/web';
3
+ import { selectionStyles } from './settings';
4
+ import { v6RemovedThemeNames, v6ThemeNameReplacements } from '@tamagui/style-grammar/v6-themes';
5
+ export { shorthands };
6
+ export { createSystemFont } from './fonts';
7
+ export { breakpoints, media, mediaQueryDefaultActive } from './media';
8
+ export { selectionStyles };
9
+ export { tailwindSource } from './v6-tailwind-scales.generated';
10
+ export { v6RemovedThemeNames, v6ThemeNameReplacements };
11
+ export { toV6Themes, type V6Theme, type V6Themes } from './v6-themes';
12
+ export declare const tokens: {
13
+ readonly space: {
14
+ readonly '0': 0;
15
+ readonly '1': 4;
16
+ readonly '2': 8;
17
+ readonly '3': 12;
18
+ readonly '4': 16;
19
+ readonly '5': 20;
20
+ readonly '6': 24;
21
+ readonly '7': 28;
22
+ readonly '8': 32;
23
+ readonly '9': 36;
24
+ readonly '10': 40;
25
+ readonly '11': 44;
26
+ readonly '12': 48;
27
+ readonly '14': 56;
28
+ readonly '16': 64;
29
+ readonly '20': 80;
30
+ readonly '24': 96;
31
+ readonly '28': 112;
32
+ readonly '32': 128;
33
+ readonly '36': 144;
34
+ readonly '40': 160;
35
+ readonly '44': 176;
36
+ readonly '48': 192;
37
+ readonly '52': 208;
38
+ readonly '56': 224;
39
+ readonly '60': 240;
40
+ readonly '64': 256;
41
+ readonly '72': 288;
42
+ readonly '80': 320;
43
+ readonly '96': 384;
44
+ readonly px: 1;
45
+ readonly '0.5': 2;
46
+ readonly '0-5': 2;
47
+ readonly '1.5': 6;
48
+ readonly '1-5': 6;
49
+ readonly '2.5': 10;
50
+ readonly '2-5': 10;
51
+ readonly '3.5': 14;
52
+ readonly '3-5': 14;
53
+ readonly '-px': -1;
54
+ readonly '-0.5': -2;
55
+ readonly '-0-5': -2;
56
+ readonly '-1': -4;
57
+ readonly '-1.5': -6;
58
+ readonly '-1-5': -6;
59
+ readonly '-2': -8;
60
+ readonly '-2.5': -10;
61
+ readonly '-2-5': -10;
62
+ readonly '-3': -12;
63
+ readonly '-3.5': -14;
64
+ readonly '-3-5': -14;
65
+ readonly '-4': -16;
66
+ readonly '-5': -20;
67
+ readonly '-6': -24;
68
+ readonly '-7': -28;
69
+ readonly '-8': -32;
70
+ readonly '-9': -36;
71
+ readonly '-10': -40;
72
+ readonly '-11': -44;
73
+ readonly '-12': -48;
74
+ readonly '-14': -56;
75
+ readonly '-16': -64;
76
+ readonly '-20': -80;
77
+ readonly '-24': -96;
78
+ readonly '-28': -112;
79
+ readonly '-32': -128;
80
+ readonly '-36': -144;
81
+ readonly '-40': -160;
82
+ readonly '-44': -176;
83
+ readonly '-48': -192;
84
+ readonly '-52': -208;
85
+ readonly '-56': -224;
86
+ readonly '-60': -240;
87
+ readonly '-64': -256;
88
+ readonly '-72': -288;
89
+ readonly '-80': -320;
90
+ readonly '-96': -384;
91
+ };
92
+ readonly size: {
93
+ readonly '0': 0;
94
+ readonly '1': 4;
95
+ readonly '2': 8;
96
+ readonly '3': 12;
97
+ readonly '4': 16;
98
+ readonly '5': 20;
99
+ readonly '6': 24;
100
+ readonly '7': 28;
101
+ readonly '8': 32;
102
+ readonly '9': 36;
103
+ readonly '10': 40;
104
+ readonly '11': 44;
105
+ readonly '12': 48;
106
+ readonly '14': 56;
107
+ readonly '16': 64;
108
+ readonly '20': 80;
109
+ readonly '24': 96;
110
+ readonly '28': 112;
111
+ readonly '32': 128;
112
+ readonly '36': 144;
113
+ readonly '40': 160;
114
+ readonly '44': 176;
115
+ readonly '48': 192;
116
+ readonly '52': 208;
117
+ readonly '56': 224;
118
+ readonly '60': 240;
119
+ readonly '64': 256;
120
+ readonly '72': 288;
121
+ readonly '80': 320;
122
+ readonly '96': 384;
123
+ readonly px: 1;
124
+ readonly '0.5': 2;
125
+ readonly '0-5': 2;
126
+ readonly '1.5': 6;
127
+ readonly '1-5': 6;
128
+ readonly '2.5': 10;
129
+ readonly '2-5': 10;
130
+ readonly '3.5': 14;
131
+ readonly '3-5': 14;
132
+ };
133
+ readonly width: {
134
+ readonly '0': 0;
135
+ readonly '1': 4;
136
+ readonly '2': 8;
137
+ readonly '3': 12;
138
+ readonly '4': 16;
139
+ readonly '5': 20;
140
+ readonly '6': 24;
141
+ readonly '7': 28;
142
+ readonly '8': 32;
143
+ readonly '9': 36;
144
+ readonly '10': 40;
145
+ readonly '11': 44;
146
+ readonly '12': 48;
147
+ readonly '14': 56;
148
+ readonly '16': 64;
149
+ readonly '20': 80;
150
+ readonly '24': 96;
151
+ readonly '28': 112;
152
+ readonly '32': 128;
153
+ readonly '36': 144;
154
+ readonly '40': 160;
155
+ readonly '44': 176;
156
+ readonly '48': 192;
157
+ readonly '52': 208;
158
+ readonly '56': 224;
159
+ readonly '60': 240;
160
+ readonly '64': 256;
161
+ readonly '72': 288;
162
+ readonly '80': 320;
163
+ readonly '96': 384;
164
+ readonly px: 1;
165
+ readonly '0.5': 2;
166
+ readonly '0-5': 2;
167
+ readonly '1.5': 6;
168
+ readonly '1-5': 6;
169
+ readonly '2.5': 10;
170
+ readonly '2-5': 10;
171
+ readonly '3.5': 14;
172
+ readonly '3-5': 14;
173
+ readonly '3xs': 256;
174
+ readonly '2xs': 288;
175
+ readonly xs: 320;
176
+ readonly sm: 384;
177
+ readonly md: 448;
178
+ readonly lg: 512;
179
+ readonly xl: 576;
180
+ readonly '2xl': 672;
181
+ readonly '3xl': 768;
182
+ readonly '4xl': 896;
183
+ readonly '5xl': 1024;
184
+ readonly '6xl': 1152;
185
+ readonly '7xl': 1280;
186
+ };
187
+ readonly minWidth: {
188
+ readonly '0': 0;
189
+ readonly '1': 4;
190
+ readonly '2': 8;
191
+ readonly '3': 12;
192
+ readonly '4': 16;
193
+ readonly '5': 20;
194
+ readonly '6': 24;
195
+ readonly '7': 28;
196
+ readonly '8': 32;
197
+ readonly '9': 36;
198
+ readonly '10': 40;
199
+ readonly '11': 44;
200
+ readonly '12': 48;
201
+ readonly '14': 56;
202
+ readonly '16': 64;
203
+ readonly '20': 80;
204
+ readonly '24': 96;
205
+ readonly '28': 112;
206
+ readonly '32': 128;
207
+ readonly '36': 144;
208
+ readonly '40': 160;
209
+ readonly '44': 176;
210
+ readonly '48': 192;
211
+ readonly '52': 208;
212
+ readonly '56': 224;
213
+ readonly '60': 240;
214
+ readonly '64': 256;
215
+ readonly '72': 288;
216
+ readonly '80': 320;
217
+ readonly '96': 384;
218
+ readonly px: 1;
219
+ readonly '0.5': 2;
220
+ readonly '0-5': 2;
221
+ readonly '1.5': 6;
222
+ readonly '1-5': 6;
223
+ readonly '2.5': 10;
224
+ readonly '2-5': 10;
225
+ readonly '3.5': 14;
226
+ readonly '3-5': 14;
227
+ readonly '3xs': 256;
228
+ readonly '2xs': 288;
229
+ readonly xs: 320;
230
+ readonly sm: 384;
231
+ readonly md: 448;
232
+ readonly lg: 512;
233
+ readonly xl: 576;
234
+ readonly '2xl': 672;
235
+ readonly '3xl': 768;
236
+ readonly '4xl': 896;
237
+ readonly '5xl': 1024;
238
+ readonly '6xl': 1152;
239
+ readonly '7xl': 1280;
240
+ };
241
+ readonly maxWidth: {
242
+ readonly '0': 0;
243
+ readonly '1': 4;
244
+ readonly '2': 8;
245
+ readonly '3': 12;
246
+ readonly '4': 16;
247
+ readonly '5': 20;
248
+ readonly '6': 24;
249
+ readonly '7': 28;
250
+ readonly '8': 32;
251
+ readonly '9': 36;
252
+ readonly '10': 40;
253
+ readonly '11': 44;
254
+ readonly '12': 48;
255
+ readonly '14': 56;
256
+ readonly '16': 64;
257
+ readonly '20': 80;
258
+ readonly '24': 96;
259
+ readonly '28': 112;
260
+ readonly '32': 128;
261
+ readonly '36': 144;
262
+ readonly '40': 160;
263
+ readonly '44': 176;
264
+ readonly '48': 192;
265
+ readonly '52': 208;
266
+ readonly '56': 224;
267
+ readonly '60': 240;
268
+ readonly '64': 256;
269
+ readonly '72': 288;
270
+ readonly '80': 320;
271
+ readonly '96': 384;
272
+ readonly px: 1;
273
+ readonly '0.5': 2;
274
+ readonly '0-5': 2;
275
+ readonly '1.5': 6;
276
+ readonly '1-5': 6;
277
+ readonly '2.5': 10;
278
+ readonly '2-5': 10;
279
+ readonly '3.5': 14;
280
+ readonly '3-5': 14;
281
+ readonly '3xs': 256;
282
+ readonly '2xs': 288;
283
+ readonly xs: 320;
284
+ readonly sm: 384;
285
+ readonly md: 448;
286
+ readonly lg: 512;
287
+ readonly xl: 576;
288
+ readonly '2xl': 672;
289
+ readonly '3xl': 768;
290
+ readonly '4xl': 896;
291
+ readonly '5xl': 1024;
292
+ readonly '6xl': 1152;
293
+ readonly '7xl': 1280;
294
+ };
295
+ readonly inlineSize: {
296
+ readonly '0': 0;
297
+ readonly '1': 4;
298
+ readonly '2': 8;
299
+ readonly '3': 12;
300
+ readonly '4': 16;
301
+ readonly '5': 20;
302
+ readonly '6': 24;
303
+ readonly '7': 28;
304
+ readonly '8': 32;
305
+ readonly '9': 36;
306
+ readonly '10': 40;
307
+ readonly '11': 44;
308
+ readonly '12': 48;
309
+ readonly '14': 56;
310
+ readonly '16': 64;
311
+ readonly '20': 80;
312
+ readonly '24': 96;
313
+ readonly '28': 112;
314
+ readonly '32': 128;
315
+ readonly '36': 144;
316
+ readonly '40': 160;
317
+ readonly '44': 176;
318
+ readonly '48': 192;
319
+ readonly '52': 208;
320
+ readonly '56': 224;
321
+ readonly '60': 240;
322
+ readonly '64': 256;
323
+ readonly '72': 288;
324
+ readonly '80': 320;
325
+ readonly '96': 384;
326
+ readonly px: 1;
327
+ readonly '0.5': 2;
328
+ readonly '0-5': 2;
329
+ readonly '1.5': 6;
330
+ readonly '1-5': 6;
331
+ readonly '2.5': 10;
332
+ readonly '2-5': 10;
333
+ readonly '3.5': 14;
334
+ readonly '3-5': 14;
335
+ readonly '3xs': 256;
336
+ readonly '2xs': 288;
337
+ readonly xs: 320;
338
+ readonly sm: 384;
339
+ readonly md: 448;
340
+ readonly lg: 512;
341
+ readonly xl: 576;
342
+ readonly '2xl': 672;
343
+ readonly '3xl': 768;
344
+ readonly '4xl': 896;
345
+ readonly '5xl': 1024;
346
+ readonly '6xl': 1152;
347
+ readonly '7xl': 1280;
348
+ };
349
+ readonly minInlineSize: {
350
+ readonly '0': 0;
351
+ readonly '1': 4;
352
+ readonly '2': 8;
353
+ readonly '3': 12;
354
+ readonly '4': 16;
355
+ readonly '5': 20;
356
+ readonly '6': 24;
357
+ readonly '7': 28;
358
+ readonly '8': 32;
359
+ readonly '9': 36;
360
+ readonly '10': 40;
361
+ readonly '11': 44;
362
+ readonly '12': 48;
363
+ readonly '14': 56;
364
+ readonly '16': 64;
365
+ readonly '20': 80;
366
+ readonly '24': 96;
367
+ readonly '28': 112;
368
+ readonly '32': 128;
369
+ readonly '36': 144;
370
+ readonly '40': 160;
371
+ readonly '44': 176;
372
+ readonly '48': 192;
373
+ readonly '52': 208;
374
+ readonly '56': 224;
375
+ readonly '60': 240;
376
+ readonly '64': 256;
377
+ readonly '72': 288;
378
+ readonly '80': 320;
379
+ readonly '96': 384;
380
+ readonly px: 1;
381
+ readonly '0.5': 2;
382
+ readonly '0-5': 2;
383
+ readonly '1.5': 6;
384
+ readonly '1-5': 6;
385
+ readonly '2.5': 10;
386
+ readonly '2-5': 10;
387
+ readonly '3.5': 14;
388
+ readonly '3-5': 14;
389
+ readonly '3xs': 256;
390
+ readonly '2xs': 288;
391
+ readonly xs: 320;
392
+ readonly sm: 384;
393
+ readonly md: 448;
394
+ readonly lg: 512;
395
+ readonly xl: 576;
396
+ readonly '2xl': 672;
397
+ readonly '3xl': 768;
398
+ readonly '4xl': 896;
399
+ readonly '5xl': 1024;
400
+ readonly '6xl': 1152;
401
+ readonly '7xl': 1280;
402
+ };
403
+ readonly maxInlineSize: {
404
+ readonly '0': 0;
405
+ readonly '1': 4;
406
+ readonly '2': 8;
407
+ readonly '3': 12;
408
+ readonly '4': 16;
409
+ readonly '5': 20;
410
+ readonly '6': 24;
411
+ readonly '7': 28;
412
+ readonly '8': 32;
413
+ readonly '9': 36;
414
+ readonly '10': 40;
415
+ readonly '11': 44;
416
+ readonly '12': 48;
417
+ readonly '14': 56;
418
+ readonly '16': 64;
419
+ readonly '20': 80;
420
+ readonly '24': 96;
421
+ readonly '28': 112;
422
+ readonly '32': 128;
423
+ readonly '36': 144;
424
+ readonly '40': 160;
425
+ readonly '44': 176;
426
+ readonly '48': 192;
427
+ readonly '52': 208;
428
+ readonly '56': 224;
429
+ readonly '60': 240;
430
+ readonly '64': 256;
431
+ readonly '72': 288;
432
+ readonly '80': 320;
433
+ readonly '96': 384;
434
+ readonly px: 1;
435
+ readonly '0.5': 2;
436
+ readonly '0-5': 2;
437
+ readonly '1.5': 6;
438
+ readonly '1-5': 6;
439
+ readonly '2.5': 10;
440
+ readonly '2-5': 10;
441
+ readonly '3.5': 14;
442
+ readonly '3-5': 14;
443
+ readonly '3xs': 256;
444
+ readonly '2xs': 288;
445
+ readonly xs: 320;
446
+ readonly sm: 384;
447
+ readonly md: 448;
448
+ readonly lg: 512;
449
+ readonly xl: 576;
450
+ readonly '2xl': 672;
451
+ readonly '3xl': 768;
452
+ readonly '4xl': 896;
453
+ readonly '5xl': 1024;
454
+ readonly '6xl': 1152;
455
+ readonly '7xl': 1280;
456
+ };
457
+ readonly flexBasis: {
458
+ readonly '0': 0;
459
+ readonly '1': 4;
460
+ readonly '2': 8;
461
+ readonly '3': 12;
462
+ readonly '4': 16;
463
+ readonly '5': 20;
464
+ readonly '6': 24;
465
+ readonly '7': 28;
466
+ readonly '8': 32;
467
+ readonly '9': 36;
468
+ readonly '10': 40;
469
+ readonly '11': 44;
470
+ readonly '12': 48;
471
+ readonly '14': 56;
472
+ readonly '16': 64;
473
+ readonly '20': 80;
474
+ readonly '24': 96;
475
+ readonly '28': 112;
476
+ readonly '32': 128;
477
+ readonly '36': 144;
478
+ readonly '40': 160;
479
+ readonly '44': 176;
480
+ readonly '48': 192;
481
+ readonly '52': 208;
482
+ readonly '56': 224;
483
+ readonly '60': 240;
484
+ readonly '64': 256;
485
+ readonly '72': 288;
486
+ readonly '80': 320;
487
+ readonly '96': 384;
488
+ readonly px: 1;
489
+ readonly '0.5': 2;
490
+ readonly '0-5': 2;
491
+ readonly '1.5': 6;
492
+ readonly '1-5': 6;
493
+ readonly '2.5': 10;
494
+ readonly '2-5': 10;
495
+ readonly '3.5': 14;
496
+ readonly '3-5': 14;
497
+ readonly '3xs': 256;
498
+ readonly '2xs': 288;
499
+ readonly xs: 320;
500
+ readonly sm: 384;
501
+ readonly md: 448;
502
+ readonly lg: 512;
503
+ readonly xl: 576;
504
+ readonly '2xl': 672;
505
+ readonly '3xl': 768;
506
+ readonly '4xl': 896;
507
+ readonly '5xl': 1024;
508
+ readonly '6xl': 1152;
509
+ readonly '7xl': 1280;
510
+ };
511
+ readonly outlineWidth: {
512
+ readonly 0: 0;
513
+ readonly 1: 1;
514
+ readonly 2: 2;
515
+ readonly 4: 4;
516
+ readonly 8: 8;
517
+ };
518
+ readonly outlineOffset: {
519
+ readonly 0: 0;
520
+ readonly 1: 1;
521
+ readonly 2: 2;
522
+ readonly 4: 4;
523
+ readonly 8: 8;
524
+ readonly '-1': -1;
525
+ readonly '-2': -2;
526
+ readonly '-4': -4;
527
+ readonly '-8': -8;
528
+ };
529
+ readonly boxShadow: {
530
+ readonly '2xs': '0 1px rgb(0 0 0 / 0.05)';
531
+ readonly xs: '0 1px 2px 0 rgb(0 0 0 / 0.05)';
532
+ readonly sm: '0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)';
533
+ readonly md: '0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)';
534
+ readonly lg: '0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)';
535
+ readonly xl: '0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)';
536
+ readonly '2xl': '0 25px 50px -12px rgb(0 0 0 / 0.25)';
537
+ };
538
+ readonly perspective: {
539
+ readonly dramatic: 100;
540
+ readonly near: 300;
541
+ readonly normal: 500;
542
+ readonly midrange: 800;
543
+ readonly distant: 1200;
544
+ };
545
+ readonly radius: {
546
+ readonly xs: 2;
547
+ readonly sm: 4;
548
+ readonly md: 6;
549
+ readonly lg: 8;
550
+ readonly xl: 12;
551
+ readonly '2xl': 16;
552
+ readonly '3xl': 24;
553
+ readonly '4xl': 32;
554
+ readonly full: 9999;
555
+ readonly 0: 0;
556
+ readonly 1: 3;
557
+ readonly 2: 5;
558
+ readonly 3: 7;
559
+ readonly 4: 9;
560
+ readonly 5: 10;
561
+ readonly 6: 16;
562
+ readonly 7: 19;
563
+ readonly 8: 22;
564
+ readonly 9: 26;
565
+ readonly 10: 34;
566
+ readonly 11: 42;
567
+ readonly 12: 50;
568
+ };
569
+ };
570
+ /**
571
+ * Adds the tailwind type-scale keys (`xs sm base lg xl 2xl ...`) a font needs
572
+ * for the named sizes, which read `sizes.md.fontSize` and so on from the font.
573
+ * Wrap any font you pass to a v6 config with it.
574
+ */
575
+ export declare function withTailwindTypeScale<F extends {
576
+ size: object;
577
+ lineHeight: object;
578
+ }>(font: F): F & {
579
+ size: {
580
+ xs: 12;
581
+ sm: 14;
582
+ base: 16;
583
+ lg: 18;
584
+ xl: 20;
585
+ '2xl': 24;
586
+ '3xl': 30;
587
+ '4xl': 36;
588
+ '5xl': 48;
589
+ '6xl': 60;
590
+ '7xl': 72;
591
+ '8xl': 96;
592
+ '9xl': 128;
593
+ };
594
+ lineHeight: {
595
+ xs: 16;
596
+ sm: 20;
597
+ base: 24;
598
+ lg: 28;
599
+ xl: 28;
600
+ '2xl': 32;
601
+ '3xl': 36;
602
+ '4xl': 40;
603
+ '5xl': 48;
604
+ '6xl': 60;
605
+ '7xl': 72;
606
+ '8xl': 96;
607
+ '9xl': 128;
608
+ };
609
+ };
610
+ export declare const fonts: {
611
+ body: import("@tamagui/web").FillInFont<import("@tamagui/web").GenericFont, 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16> & {
612
+ size: {
613
+ xs: 12;
614
+ sm: 14;
615
+ base: 16;
616
+ lg: 18;
617
+ xl: 20;
618
+ '2xl': 24;
619
+ '3xl': 30;
620
+ '4xl': 36;
621
+ '5xl': 48;
622
+ '6xl': 60;
623
+ '7xl': 72;
624
+ '8xl': 96;
625
+ '9xl': 128;
626
+ };
627
+ lineHeight: {
628
+ xs: 16;
629
+ sm: 20;
630
+ base: 24;
631
+ lg: 28;
632
+ xl: 28;
633
+ '2xl': 32;
634
+ '3xl': 36;
635
+ '4xl': 40;
636
+ '5xl': 48;
637
+ '6xl': 60;
638
+ '7xl': 72;
639
+ '8xl': 96;
640
+ '9xl': 128;
641
+ };
642
+ };
643
+ heading: import("@tamagui/web").FillInFont<import("@tamagui/web").GenericFont, 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16> & {
644
+ size: {
645
+ xs: 12;
646
+ sm: 14;
647
+ base: 16;
648
+ lg: 18;
649
+ xl: 20;
650
+ '2xl': 24;
651
+ '3xl': 30;
652
+ '4xl': 36;
653
+ '5xl': 48;
654
+ '6xl': 60;
655
+ '7xl': 72;
656
+ '8xl': 96;
657
+ '9xl': 128;
658
+ };
659
+ lineHeight: {
660
+ xs: 16;
661
+ sm: 20;
662
+ base: 24;
663
+ lg: 28;
664
+ xl: 28;
665
+ '2xl': 32;
666
+ '3xl': 36;
667
+ '4xl': 40;
668
+ '5xl': 48;
669
+ '6xl': 60;
670
+ '7xl': 72;
671
+ '8xl': 96;
672
+ '9xl': 128;
673
+ };
674
+ };
675
+ };
676
+ export declare const settings: {
677
+ mediaQueryDefaultActive: {
678
+ touchable: boolean;
679
+ hoverable: boolean;
680
+ 'max-xxl': boolean;
681
+ 'max-xl': boolean;
682
+ 'max-lg': boolean;
683
+ 'max-md': boolean;
684
+ 'max-sm': boolean;
685
+ 'max-xs': boolean;
686
+ 'max-xxs': boolean;
687
+ 'max-xxxs': boolean;
688
+ xxxs: boolean;
689
+ xxs: boolean;
690
+ xs: boolean;
691
+ sm: boolean;
692
+ md: boolean;
693
+ lg: boolean;
694
+ xl: boolean;
695
+ xxl: boolean;
696
+ 'max-height-sm': boolean;
697
+ 'max-height-md': boolean;
698
+ 'max-height-lg': boolean;
699
+ 'height-sm': boolean;
700
+ 'height-md': boolean;
701
+ 'height-lg': boolean;
702
+ };
703
+ selectionStyles: typeof selectionStyles;
704
+ defaultFont: string;
705
+ fastSchemeChange: true;
706
+ shouldAddPrefersColorThemes: true;
707
+ allowedStyleValues: "somewhat-strict-web";
708
+ addThemeClassName: "html";
709
+ onlyAllowShorthands: true;
710
+ styleCompat: "web";
711
+ };
712
+ export type V6Settings = typeof settings;
713
+ /**
714
+ * A v6 colors pack: the one seam where color choice enters the config.
715
+ * Themes should be generated from the same palette as the color tokens.
716
+ */
717
+ export type V6Colors = {
718
+ themes: NonNullable<CreateTamaguiProps['themes']>;
719
+ /** flat named colors added at tokens.color */
720
+ colorTokens?: Record<string, string>;
721
+ /** extra 12-step color scales merged into the light and dark base themes */
722
+ scales?: V6ColorScales;
723
+ };
724
+ type Twelve<Value> = readonly [
725
+ Value,
726
+ Value,
727
+ Value,
728
+ Value,
729
+ Value,
730
+ Value,
731
+ Value,
732
+ Value,
733
+ Value,
734
+ Value,
735
+ Value,
736
+ Value
737
+ ];
738
+ /** one 12-step scale, light and dark values from step 1 (faintest) to 12 (strongest) */
739
+ export type V6ColorScale = {
740
+ light: Twelve<string>;
741
+ dark: Twelve<string>;
742
+ };
743
+ export type V6ColorScales = Record<string, V6ColorScale>;
744
+ type ScaleStep = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
745
+ type ColorScaleThemeKeys<Scales extends V6ColorScales> = {
746
+ [Name in keyof Scales & string as `${Name}${ScaleStep}`]: string;
747
+ };
748
+ type WithColorScales<Themes extends Record<string, object>, Scales extends V6ColorScales> = {
749
+ [Name in keyof Themes]: Name extends 'light' | 'dark' ? Themes[Name] & ColorScaleThemeKeys<Scales> : Themes[Name];
750
+ };
751
+ /**
752
+ * Named control sizes as recipes of tailwind token keys. Heights are never set:
753
+ * a control is line-height plus vertical padding tall, so at `md` a button is
754
+ * 20 + 8 + 8 = 36px, shadcn's `h-9 px-4 py-2 text-sm`.
755
+ */
756
+ export declare const sizes: {
757
+ readonly default: 'md';
758
+ readonly xs: {
759
+ readonly fontSize: 'xs';
760
+ readonly paddingX: '2';
761
+ readonly paddingY: '1';
762
+ readonly radius: 'sm';
763
+ };
764
+ readonly sm: {
765
+ readonly fontSize: 'sm';
766
+ readonly paddingX: '3';
767
+ readonly paddingY: '1.5';
768
+ readonly radius: 'md';
769
+ };
770
+ readonly md: {
771
+ readonly fontSize: 'sm';
772
+ readonly paddingX: '4';
773
+ readonly paddingY: '2';
774
+ readonly radius: 'md';
775
+ };
776
+ readonly lg: {
777
+ readonly fontSize: 'base';
778
+ readonly paddingX: '6';
779
+ readonly paddingY: '2';
780
+ readonly radius: 'md';
781
+ };
782
+ readonly xl: {
783
+ readonly fontSize: 'lg';
784
+ readonly paddingX: '8';
785
+ readonly paddingY: '2.5';
786
+ readonly radius: 'lg';
787
+ };
788
+ };
789
+ declare const alignedConfig: {
790
+ media: {
791
+ readonly touchable: {
792
+ pointer: string;
793
+ };
794
+ readonly hoverable: {
795
+ hover: string;
796
+ };
797
+ readonly 'max-xxl': {
798
+ readonly maxWidth: number;
799
+ };
800
+ readonly 'max-xl': {
801
+ readonly maxWidth: number;
802
+ };
803
+ readonly 'max-lg': {
804
+ readonly maxWidth: number;
805
+ };
806
+ readonly 'max-md': {
807
+ readonly maxWidth: number;
808
+ };
809
+ readonly 'max-sm': {
810
+ readonly maxWidth: number;
811
+ };
812
+ readonly 'max-xs': {
813
+ readonly maxWidth: number;
814
+ };
815
+ readonly 'max-xxs': {
816
+ readonly maxWidth: number;
817
+ };
818
+ readonly 'max-xxxs': {
819
+ readonly maxWidth: number;
820
+ };
821
+ readonly 'max-200': {
822
+ readonly maxWidth: number;
823
+ };
824
+ readonly 'max-100': {
825
+ readonly maxWidth: number;
826
+ };
827
+ readonly xxxs: {
828
+ readonly minWidth: number;
829
+ };
830
+ readonly xxs: {
831
+ readonly minWidth: number;
832
+ };
833
+ readonly xs: {
834
+ readonly minWidth: number;
835
+ };
836
+ readonly sm: {
837
+ readonly minWidth: number;
838
+ };
839
+ readonly md: {
840
+ readonly minWidth: number;
841
+ };
842
+ readonly lg: {
843
+ readonly minWidth: number;
844
+ };
845
+ readonly xl: {
846
+ readonly minWidth: number;
847
+ };
848
+ readonly xxl: {
849
+ readonly minWidth: number;
850
+ };
851
+ readonly 'max-height-lg': {
852
+ readonly maxHeight: number;
853
+ };
854
+ readonly 'max-height-md': {
855
+ readonly maxHeight: number;
856
+ };
857
+ readonly 'max-height-sm': {
858
+ readonly maxHeight: number;
859
+ };
860
+ readonly 'max-height-xs': {
861
+ readonly maxHeight: number;
862
+ };
863
+ readonly 'max-height-xxs': {
864
+ readonly maxHeight: number;
865
+ };
866
+ readonly 'max-height-xxxs': {
867
+ readonly maxHeight: number;
868
+ };
869
+ readonly 'max-height-200': {
870
+ readonly maxHeight: number;
871
+ };
872
+ readonly 'max-height-100': {
873
+ readonly maxHeight: number;
874
+ };
875
+ readonly 'height-sm': {
876
+ readonly minHeight: number;
877
+ };
878
+ readonly 'height-md': {
879
+ readonly minHeight: number;
880
+ };
881
+ readonly 'height-lg': {
882
+ readonly minHeight: number;
883
+ };
884
+ };
885
+ shorthands: {
886
+ text: "textAlign";
887
+ b: "bottom";
888
+ bg: "background";
889
+ content: "alignContent";
890
+ grow: "flexGrow";
891
+ h: "height";
892
+ items: "alignItems";
893
+ justify: "justifyContent";
894
+ l: "left";
895
+ m: "margin";
896
+ maxH: "maxHeight";
897
+ maxW: "maxWidth";
898
+ mb: "marginBottom";
899
+ minH: "minHeight";
900
+ minW: "minWidth";
901
+ ml: "marginLeft";
902
+ mr: "marginRight";
903
+ mt: "marginTop";
904
+ mx: "marginHorizontal";
905
+ my: "marginVertical";
906
+ p: "padding";
907
+ pb: "paddingBottom";
908
+ pl: "paddingLeft";
909
+ pr: "paddingRight";
910
+ pt: "paddingTop";
911
+ px: "paddingHorizontal";
912
+ py: "paddingVertical";
913
+ r: "right";
914
+ rounded: "borderRadius";
915
+ select: "userSelect";
916
+ self: "alignSelf";
917
+ shrink: "flexShrink";
918
+ t: "top";
919
+ w: "width";
920
+ z: "zIndex";
921
+ };
922
+ fonts: {
923
+ body: import("@tamagui/web").FillInFont<import("@tamagui/web").GenericFont, 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16> & {
924
+ size: {
925
+ xs: 12;
926
+ sm: 14;
927
+ base: 16;
928
+ lg: 18;
929
+ xl: 20;
930
+ '2xl': 24;
931
+ '3xl': 30;
932
+ '4xl': 36;
933
+ '5xl': 48;
934
+ '6xl': 60;
935
+ '7xl': 72;
936
+ '8xl': 96;
937
+ '9xl': 128;
938
+ };
939
+ lineHeight: {
940
+ xs: 16;
941
+ sm: 20;
942
+ base: 24;
943
+ lg: 28;
944
+ xl: 28;
945
+ '2xl': 32;
946
+ '3xl': 36;
947
+ '4xl': 40;
948
+ '5xl': 48;
949
+ '6xl': 60;
950
+ '7xl': 72;
951
+ '8xl': 96;
952
+ '9xl': 128;
953
+ };
954
+ };
955
+ heading: import("@tamagui/web").FillInFont<import("@tamagui/web").GenericFont, 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16> & {
956
+ size: {
957
+ xs: 12;
958
+ sm: 14;
959
+ base: 16;
960
+ lg: 18;
961
+ xl: 20;
962
+ '2xl': 24;
963
+ '3xl': 30;
964
+ '4xl': 36;
965
+ '5xl': 48;
966
+ '6xl': 60;
967
+ '7xl': 72;
968
+ '8xl': 96;
969
+ '9xl': 128;
970
+ };
971
+ lineHeight: {
972
+ xs: 16;
973
+ sm: 20;
974
+ base: 24;
975
+ lg: 28;
976
+ xl: 28;
977
+ '2xl': 32;
978
+ '3xl': 36;
979
+ '4xl': 40;
980
+ '5xl': 48;
981
+ '6xl': 60;
982
+ '7xl': 72;
983
+ '8xl': 96;
984
+ '9xl': 128;
985
+ };
986
+ };
987
+ };
988
+ sizes: {
989
+ readonly default: 'md';
990
+ readonly xs: {
991
+ readonly fontSize: 'xs';
992
+ readonly paddingX: '2';
993
+ readonly paddingY: '1';
994
+ readonly radius: 'sm';
995
+ };
996
+ readonly sm: {
997
+ readonly fontSize: 'sm';
998
+ readonly paddingX: '3';
999
+ readonly paddingY: '1.5';
1000
+ readonly radius: 'md';
1001
+ };
1002
+ readonly md: {
1003
+ readonly fontSize: 'sm';
1004
+ readonly paddingX: '4';
1005
+ readonly paddingY: '2';
1006
+ readonly radius: 'md';
1007
+ };
1008
+ readonly lg: {
1009
+ readonly fontSize: 'base';
1010
+ readonly paddingX: '6';
1011
+ readonly paddingY: '2';
1012
+ readonly radius: 'md';
1013
+ };
1014
+ readonly xl: {
1015
+ readonly fontSize: 'lg';
1016
+ readonly paddingX: '8';
1017
+ readonly paddingY: '2.5';
1018
+ readonly radius: 'lg';
1019
+ };
1020
+ };
1021
+ settings: {
1022
+ mediaQueryDefaultActive: {
1023
+ touchable: boolean;
1024
+ hoverable: boolean;
1025
+ 'max-xxl': boolean;
1026
+ 'max-xl': boolean;
1027
+ 'max-lg': boolean;
1028
+ 'max-md': boolean;
1029
+ 'max-sm': boolean;
1030
+ 'max-xs': boolean;
1031
+ 'max-xxs': boolean;
1032
+ 'max-xxxs': boolean;
1033
+ xxxs: boolean;
1034
+ xxs: boolean;
1035
+ xs: boolean;
1036
+ sm: boolean;
1037
+ md: boolean;
1038
+ lg: boolean;
1039
+ xl: boolean;
1040
+ xxl: boolean;
1041
+ 'max-height-sm': boolean;
1042
+ 'max-height-md': boolean;
1043
+ 'max-height-lg': boolean;
1044
+ 'height-sm': boolean;
1045
+ 'height-md': boolean;
1046
+ 'height-lg': boolean;
1047
+ };
1048
+ selectionStyles: typeof selectionStyles;
1049
+ defaultFont: string;
1050
+ fastSchemeChange: true;
1051
+ shouldAddPrefersColorThemes: true;
1052
+ allowedStyleValues: "somewhat-strict-web";
1053
+ addThemeClassName: "html";
1054
+ onlyAllowShorthands: true;
1055
+ styleCompat: "web";
1056
+ };
1057
+ };
1058
+ /** Compose the aligned v6 base with a colors pack into a createTamagui-ready config. */
1059
+ export declare function createV6Config<Themes extends NonNullable<CreateTamaguiProps['themes']>, ColorTokens extends Record<string, string>, Scales extends V6ColorScales = Record<never, V6ColorScale>>(colors: {
1060
+ themes: Themes;
1061
+ colorTokens: ColorTokens;
1062
+ scales?: Scales;
1063
+ }): typeof alignedConfig & {
1064
+ themes: WithColorScales<Themes, Scales>;
1065
+ tokens: typeof tokens & {
1066
+ color: ColorTokens;
1067
+ };
1068
+ };
1069
+ export declare function createV6Config<Themes extends NonNullable<CreateTamaguiProps['themes']>, Scales extends V6ColorScales = Record<never, V6ColorScale>>(colors: {
1070
+ themes: Themes;
1071
+ colorTokens?: undefined;
1072
+ scales?: Scales;
1073
+ }): typeof alignedConfig & {
1074
+ themes: WithColorScales<Themes, Scales>;
1075
+ tokens: typeof tokens;
1076
+ };
1077
+ //# sourceMappingURL=v6-base.d.ts.map