@tamagui/config 2.7.7 → 3.0.0-beta.637.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 (478) 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 +55 -0
  26. package/dist/cjs/animations-css.native.cjs +27 -0
  27. package/dist/cjs/animations-css.native.js +29 -0
  28. package/dist/cjs/animations-css.native.js.map +1 -0
  29. package/dist/cjs/animations-motion.cjs +116 -0
  30. package/dist/cjs/animations-motion.native.cjs +118 -0
  31. package/dist/cjs/animations-motion.native.js +120 -0
  32. package/dist/cjs/animations-motion.native.js.map +1 -0
  33. package/dist/cjs/animations-reanimated.cjs +130 -0
  34. package/dist/cjs/animations-reanimated.native.cjs +132 -0
  35. package/dist/cjs/animations-reanimated.native.js +134 -0
  36. package/dist/cjs/animations-reanimated.native.js.map +1 -0
  37. package/dist/cjs/animations-rn.cjs +140 -0
  38. package/dist/cjs/animations-rn.native.cjs +142 -0
  39. package/dist/cjs/animations-rn.native.js +144 -0
  40. package/dist/cjs/animations-rn.native.js.map +1 -0
  41. package/dist/cjs/fonts.cjs +27 -102
  42. package/dist/cjs/fonts.native.cjs +45 -0
  43. package/dist/cjs/fonts.native.js +30 -109
  44. package/dist/cjs/fonts.native.js.map +1 -1
  45. package/dist/cjs/media.cjs +85 -62
  46. package/dist/cjs/media.native.cjs +102 -0
  47. package/dist/cjs/media.native.js +85 -61
  48. package/dist/cjs/media.native.js.map +1 -1
  49. package/dist/cjs/settings.cjs +42 -0
  50. package/dist/cjs/settings.native.cjs +46 -0
  51. package/dist/cjs/settings.native.js +48 -0
  52. package/dist/cjs/settings.native.js.map +1 -0
  53. package/dist/cjs/v5-base.cjs +35 -60
  54. package/dist/cjs/v5-base.native.cjs +56 -0
  55. package/dist/cjs/v5-base.native.js +35 -61
  56. package/dist/cjs/v5-base.native.js.map +1 -1
  57. package/dist/cjs/v5-fonts.cjs +33 -75
  58. package/dist/cjs/v5-fonts.native.cjs +58 -0
  59. package/dist/cjs/v5-fonts.native.js +39 -102
  60. package/dist/cjs/v5-fonts.native.js.map +1 -1
  61. package/dist/cjs/v5-subtle.cjs +10 -11
  62. package/dist/cjs/v5-subtle.native.cjs +22 -0
  63. package/dist/cjs/v5-subtle.native.js +10 -10
  64. package/dist/cjs/v5-subtle.native.js.map +1 -1
  65. package/dist/cjs/v5.cjs +10 -11
  66. package/dist/cjs/v5.native.cjs +22 -0
  67. package/dist/cjs/v5.native.js +10 -10
  68. package/dist/cjs/v5.native.js.map +1 -1
  69. package/dist/cjs/v6-base.cjs +104 -0
  70. package/dist/cjs/v6-base.native.cjs +106 -0
  71. package/dist/cjs/v6-base.native.js +108 -0
  72. package/dist/cjs/v6-base.native.js.map +1 -0
  73. package/dist/cjs/v6-builder.cjs +19 -0
  74. package/dist/cjs/v6-builder.native.cjs +21 -0
  75. package/dist/cjs/v6-builder.native.js +23 -0
  76. package/dist/cjs/v6-builder.native.js.map +1 -0
  77. package/dist/cjs/v6-tailwind-scales.generated.cjs +185 -0
  78. package/dist/cjs/v6-tailwind-scales.generated.native.cjs +187 -0
  79. package/dist/cjs/v6-tailwind-scales.generated.native.js +189 -0
  80. package/dist/cjs/v6-tailwind-scales.generated.native.js.map +1 -0
  81. package/dist/cjs/v6-themes.cjs +36 -0
  82. package/dist/cjs/v6-themes.native.cjs +46 -0
  83. package/dist/cjs/v6-themes.native.js +48 -0
  84. package/dist/cjs/v6-themes.native.js.map +1 -0
  85. package/dist/cjs/v6.cjs +43 -0
  86. package/dist/cjs/v6.native.cjs +45 -0
  87. package/dist/cjs/v6.native.js +47 -0
  88. package/dist/cjs/v6.native.js.map +1 -0
  89. package/dist/esm/animations-css.mjs +32 -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 +93 -0
  93. package/dist/esm/animations-motion.mjs.map +1 -0
  94. package/dist/esm/animations-motion.native.js +93 -0
  95. package/dist/esm/animations-motion.native.js.map +1 -0
  96. package/dist/esm/animations-reanimated.mjs +107 -0
  97. package/dist/esm/animations-reanimated.mjs.map +1 -0
  98. package/dist/esm/animations-reanimated.native.js +107 -0
  99. package/dist/esm/animations-reanimated.native.js.map +1 -0
  100. package/dist/esm/animations-rn.mjs +117 -0
  101. package/dist/esm/animations-rn.mjs.map +1 -0
  102. package/dist/esm/animations-rn.native.js +117 -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 +19 -0
  113. package/dist/esm/settings.mjs.map +1 -0
  114. package/dist/esm/settings.native.js +21 -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 +66 -0
  129. package/dist/esm/v6-base.mjs.map +1 -0
  130. package/dist/esm/v6-base.native.js +66 -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 +157 -0
  135. package/dist/esm/v6-tailwind-scales.generated.mjs.map +1 -0
  136. package/dist/esm/v6-tailwind-scales.generated.native.js +157 -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 +147 -98
  147. package/src/{v5-css.native.ts → animations-css.native.ts} +1 -1
  148. package/src/fonts.ts +19 -91
  149. package/src/media.ts +99 -24
  150. package/src/settings.ts +23 -0
  151. package/src/v5-base.ts +10 -42
  152. package/src/v5-fonts.ts +30 -100
  153. package/src/v5.ts +1 -1
  154. package/src/v6-base.ts +112 -0
  155. package/src/v6-builder.ts +1 -0
  156. package/src/v6-tailwind-scales.generated.ts +161 -0
  157. package/src/v6-themes.ts +46 -0
  158. package/src/v6.ts +30 -0
  159. package/types/{v5-css.d.ts → animations-css.d.ts} +1 -1
  160. package/types/animations-css.d.ts.map +1 -0
  161. package/{src/v3-animations.native.ts → types/animations-css.native.d.ts} +2 -1
  162. package/types/animations-css.native.d.ts.map +1 -0
  163. package/types/{v5-motion.d.ts → animations-motion.d.ts} +1 -1
  164. package/types/animations-motion.d.ts.map +1 -0
  165. package/types/{v5-reanimated.d.ts → animations-reanimated.d.ts} +1 -1
  166. package/types/animations-reanimated.d.ts.map +1 -0
  167. package/types/{v5-rn.d.ts → animations-rn.d.ts} +1 -1
  168. package/types/animations-rn.d.ts.map +1 -0
  169. package/types/fonts.d.ts +5 -67
  170. package/types/fonts.d.ts.map +1 -1
  171. package/types/media.d.ts +118 -29
  172. package/types/media.d.ts.map +1 -1
  173. package/types/settings.d.ts +41 -0
  174. package/types/settings.d.ts.map +1 -0
  175. package/types/v5-base.d.ts +8 -45
  176. package/types/v5-base.d.ts.map +1 -1
  177. package/types/v5-fonts.d.ts +4 -28
  178. package/types/v5-fonts.d.ts.map +1 -1
  179. package/types/v6-base.d.ts +509 -0
  180. package/types/v6-base.d.ts.map +1 -0
  181. package/types/v6-builder.d.ts +2 -0
  182. package/types/v6-builder.d.ts.map +1 -0
  183. package/types/v6-tailwind-scales.generated.d.ts +155 -0
  184. package/types/v6-tailwind-scales.generated.d.ts.map +1 -0
  185. package/types/v6-themes.d.ts +10 -0
  186. package/types/v6-themes.d.ts.map +1 -0
  187. package/types/v6.d.ts +1440 -0
  188. package/types/v6.d.ts.map +1 -0
  189. package/v6-base.cjs +1 -0
  190. package/v6-base.d.ts +1 -0
  191. package/v6-builder.cjs +1 -0
  192. package/v6-builder.d.ts +1 -0
  193. package/v6.cjs +1 -0
  194. package/v6.d.ts +1 -0
  195. package/.turbo/turbo-build.log +0 -2
  196. package/dist/cjs/animations.cjs +0 -94
  197. package/dist/cjs/animations.css.cjs +0 -37
  198. package/dist/cjs/animations.css.native.js +0 -40
  199. package/dist/cjs/animations.css.native.js.map +0 -1
  200. package/dist/cjs/animations.native.js +0 -97
  201. package/dist/cjs/animations.native.js.map +0 -1
  202. package/dist/cjs/animations.reanimated.cjs +0 -67
  203. package/dist/cjs/animations.reanimated.native.js +0 -70
  204. package/dist/cjs/animations.reanimated.native.js.map +0 -1
  205. package/dist/cjs/animationsCSS.cjs +0 -58
  206. package/dist/cjs/animationsCSS.native.js +0 -61
  207. package/dist/cjs/animationsCSS.native.js.map +0 -1
  208. package/dist/cjs/animationsMotion.cjs +0 -148
  209. package/dist/cjs/animationsMotion.native.js +0 -151
  210. package/dist/cjs/animationsMotion.native.js.map +0 -1
  211. package/dist/cjs/animationsReactNative.cjs +0 -155
  212. package/dist/cjs/animationsReactNative.native.js +0 -158
  213. package/dist/cjs/animationsReactNative.native.js.map +0 -1
  214. package/dist/cjs/animationsReanimated.cjs +0 -143
  215. package/dist/cjs/animationsReanimated.native.js +0 -146
  216. package/dist/cjs/animationsReanimated.native.js.map +0 -1
  217. package/dist/cjs/config.cjs +0 -47
  218. package/dist/cjs/config.native.js +0 -52
  219. package/dist/cjs/config.native.js.map +0 -1
  220. package/dist/cjs/createGenericFont.cjs +0 -63
  221. package/dist/cjs/createGenericFont.native.js +0 -73
  222. package/dist/cjs/createGenericFont.native.js.map +0 -1
  223. package/dist/cjs/index.cjs +0 -42
  224. package/dist/cjs/index.native.js +0 -45
  225. package/dist/cjs/index.native.js.map +0 -1
  226. package/dist/cjs/index.reanimated.cjs +0 -37
  227. package/dist/cjs/index.reanimated.native.js +0 -40
  228. package/dist/cjs/index.reanimated.native.js.map +0 -1
  229. package/dist/cjs/v3-animations.cjs +0 -28
  230. package/dist/cjs/v3-animations.native.js +0 -31
  231. package/dist/cjs/v3-animations.native.js.map +0 -1
  232. package/dist/cjs/v3.cjs +0 -139
  233. package/dist/cjs/v3.native.js +0 -146
  234. package/dist/cjs/v3.native.js.map +0 -1
  235. package/dist/cjs/v4-animations.cjs +0 -28
  236. package/dist/cjs/v4-animations.native.js +0 -31
  237. package/dist/cjs/v4-animations.native.js.map +0 -1
  238. package/dist/cjs/v4-fonts.cjs +0 -76
  239. package/dist/cjs/v4-fonts.native.js +0 -92
  240. package/dist/cjs/v4-fonts.native.js.map +0 -1
  241. package/dist/cjs/v4-media.cjs +0 -92
  242. package/dist/cjs/v4-media.native.js +0 -95
  243. package/dist/cjs/v4-media.native.js.map +0 -1
  244. package/dist/cjs/v4.cjs +0 -77
  245. package/dist/cjs/v4.native.js +0 -82
  246. package/dist/cjs/v4.native.js.map +0 -1
  247. package/dist/cjs/v5-css.cjs +0 -56
  248. package/dist/cjs/v5-css.native.js +0 -31
  249. package/dist/cjs/v5-css.native.js.map +0 -1
  250. package/dist/cjs/v5-media.cjs +0 -163
  251. package/dist/cjs/v5-media.native.js +0 -166
  252. package/dist/cjs/v5-media.native.js.map +0 -1
  253. package/dist/cjs/v5-motion.cjs +0 -135
  254. package/dist/cjs/v5-motion.native.js +0 -138
  255. package/dist/cjs/v5-motion.native.js.map +0 -1
  256. package/dist/cjs/v5-reanimated.cjs +0 -131
  257. package/dist/cjs/v5-reanimated.native.js +0 -134
  258. package/dist/cjs/v5-reanimated.native.js.map +0 -1
  259. package/dist/cjs/v5-rn.cjs +0 -141
  260. package/dist/cjs/v5-rn.native.js +0 -144
  261. package/dist/cjs/v5-rn.native.js.map +0 -1
  262. package/dist/esm/animations.css.mjs +0 -12
  263. package/dist/esm/animations.css.mjs.map +0 -1
  264. package/dist/esm/animations.css.native.js +0 -12
  265. package/dist/esm/animations.css.native.js.map +0 -1
  266. package/dist/esm/animations.mjs +0 -69
  267. package/dist/esm/animations.mjs.map +0 -1
  268. package/dist/esm/animations.native.js +0 -69
  269. package/dist/esm/animations.native.js.map +0 -1
  270. package/dist/esm/animations.reanimated.mjs +0 -42
  271. package/dist/esm/animations.reanimated.mjs.map +0 -1
  272. package/dist/esm/animations.reanimated.native.js +0 -42
  273. package/dist/esm/animations.reanimated.native.js.map +0 -1
  274. package/dist/esm/animationsCSS.mjs +0 -33
  275. package/dist/esm/animationsCSS.mjs.map +0 -1
  276. package/dist/esm/animationsCSS.native.js +0 -33
  277. package/dist/esm/animationsCSS.native.js.map +0 -1
  278. package/dist/esm/animationsMotion.mjs +0 -123
  279. package/dist/esm/animationsMotion.mjs.map +0 -1
  280. package/dist/esm/animationsMotion.native.js +0 -123
  281. package/dist/esm/animationsMotion.native.js.map +0 -1
  282. package/dist/esm/animationsReactNative.mjs +0 -130
  283. package/dist/esm/animationsReactNative.mjs.map +0 -1
  284. package/dist/esm/animationsReactNative.native.js +0 -130
  285. package/dist/esm/animationsReactNative.native.js.map +0 -1
  286. package/dist/esm/animationsReanimated.mjs +0 -118
  287. package/dist/esm/animationsReanimated.mjs.map +0 -1
  288. package/dist/esm/animationsReanimated.native.js +0 -118
  289. package/dist/esm/animationsReanimated.native.js.map +0 -1
  290. package/dist/esm/config.mjs +0 -22
  291. package/dist/esm/config.mjs.map +0 -1
  292. package/dist/esm/config.native.js +0 -24
  293. package/dist/esm/config.native.js.map +0 -1
  294. package/dist/esm/createGenericFont.mjs +0 -38
  295. package/dist/esm/createGenericFont.mjs.map +0 -1
  296. package/dist/esm/createGenericFont.native.js +0 -45
  297. package/dist/esm/createGenericFont.native.js.map +0 -1
  298. package/dist/esm/index.js +0 -15
  299. package/dist/esm/index.js.map +0 -1
  300. package/dist/esm/index.mjs +0 -15
  301. package/dist/esm/index.mjs.map +0 -1
  302. package/dist/esm/index.native.js +0 -15
  303. package/dist/esm/index.native.js.map +0 -1
  304. package/dist/esm/index.reanimated.mjs +0 -11
  305. package/dist/esm/index.reanimated.mjs.map +0 -1
  306. package/dist/esm/index.reanimated.native.js +0 -11
  307. package/dist/esm/index.reanimated.native.js.map +0 -1
  308. package/dist/esm/v3-animations.mjs +0 -3
  309. package/dist/esm/v3-animations.mjs.map +0 -1
  310. package/dist/esm/v3-animations.native.js +0 -3
  311. package/dist/esm/v3-animations.native.js.map +0 -1
  312. package/dist/esm/v3.mjs +0 -106
  313. package/dist/esm/v3.mjs.map +0 -1
  314. package/dist/esm/v3.native.js +0 -110
  315. package/dist/esm/v3.native.js.map +0 -1
  316. package/dist/esm/v4-animations.mjs +0 -3
  317. package/dist/esm/v4-animations.mjs.map +0 -1
  318. package/dist/esm/v4-animations.native.js +0 -3
  319. package/dist/esm/v4-animations.native.js.map +0 -1
  320. package/dist/esm/v4-fonts.mjs +0 -50
  321. package/dist/esm/v4-fonts.mjs.map +0 -1
  322. package/dist/esm/v4-fonts.native.js +0 -63
  323. package/dist/esm/v4-fonts.native.js.map +0 -1
  324. package/dist/esm/v4-media.mjs +0 -65
  325. package/dist/esm/v4-media.mjs.map +0 -1
  326. package/dist/esm/v4-media.native.js +0 -65
  327. package/dist/esm/v4-media.native.js.map +0 -1
  328. package/dist/esm/v4.mjs +0 -39
  329. package/dist/esm/v4.mjs.map +0 -1
  330. package/dist/esm/v4.native.js +0 -41
  331. package/dist/esm/v4.native.js.map +0 -1
  332. package/dist/esm/v5-css.mjs +0 -30
  333. package/dist/esm/v5-css.mjs.map +0 -1
  334. package/dist/esm/v5-css.native.js +0 -3
  335. package/dist/esm/v5-css.native.js.map +0 -1
  336. package/dist/esm/v5-media.mjs +0 -136
  337. package/dist/esm/v5-media.mjs.map +0 -1
  338. package/dist/esm/v5-media.native.js +0 -136
  339. package/dist/esm/v5-media.native.js.map +0 -1
  340. package/dist/esm/v5-motion.mjs +0 -109
  341. package/dist/esm/v5-motion.mjs.map +0 -1
  342. package/dist/esm/v5-motion.native.js +0 -109
  343. package/dist/esm/v5-motion.native.js.map +0 -1
  344. package/dist/esm/v5-reanimated.mjs +0 -105
  345. package/dist/esm/v5-reanimated.mjs.map +0 -1
  346. package/dist/esm/v5-reanimated.native.js +0 -105
  347. package/dist/esm/v5-reanimated.native.js.map +0 -1
  348. package/dist/esm/v5-rn.mjs +0 -115
  349. package/dist/esm/v5-rn.mjs.map +0 -1
  350. package/dist/esm/v5-rn.native.js +0 -115
  351. package/dist/esm/v5-rn.native.js.map +0 -1
  352. package/dist/esm/v5-subtle.mjs.map +0 -1
  353. package/dist/esm/v5-subtle.native.js.map +0 -1
  354. package/dist/esm/v5.mjs.map +0 -1
  355. package/dist/esm/v5.native.js.map +0 -1
  356. package/reanimated/index.cjs +0 -2
  357. package/reanimated/index.js +0 -2
  358. package/reanimated/index.native.cjs +0 -2
  359. package/reanimated/index.native.js +0 -2
  360. package/reanimated.cjs +0 -1
  361. package/src/animations.css.ts +0 -11
  362. package/src/animations.reanimated.ts +0 -41
  363. package/src/animations.ts +0 -68
  364. package/src/animationsCSS.ts +0 -33
  365. package/src/animationsMotion.ts +0 -122
  366. package/src/animationsReactNative.ts +0 -129
  367. package/src/animationsReanimated.ts +0 -117
  368. package/src/config.ts +0 -27
  369. package/src/createGenericFont.ts +0 -43
  370. package/src/index.reanimated.ts +0 -10
  371. package/src/index.tsx +0 -16
  372. package/src/v3-animations.ts +0 -1
  373. package/src/v3.ts +0 -119
  374. package/src/v4-animations.native.ts +0 -1
  375. package/src/v4-animations.ts +0 -1
  376. package/src/v4-fonts.ts +0 -61
  377. package/src/v4-media.ts +0 -40
  378. package/src/v4.ts +0 -47
  379. package/src/v5-media.ts +0 -107
  380. package/tsconfig.json +0 -65
  381. package/types/animations.css.d.ts +0 -10
  382. package/types/animations.css.d.ts.map +0 -1
  383. package/types/animations.d.ts +0 -67
  384. package/types/animations.d.ts.map +0 -1
  385. package/types/animations.reanimated.d.ts +0 -40
  386. package/types/animations.reanimated.d.ts.map +0 -1
  387. package/types/animationsCSS.d.ts +0 -28
  388. package/types/animationsCSS.d.ts.map +0 -1
  389. package/types/animationsMotion.d.ts +0 -121
  390. package/types/animationsMotion.d.ts.map +0 -1
  391. package/types/animationsReactNative.d.ts +0 -128
  392. package/types/animationsReactNative.d.ts.map +0 -1
  393. package/types/animationsReanimated.d.ts +0 -116
  394. package/types/animationsReanimated.d.ts.map +0 -1
  395. package/types/config.d.ts +0 -948
  396. package/types/config.d.ts.map +0 -1
  397. package/types/createGenericFont.d.ts +0 -24
  398. package/types/createGenericFont.d.ts.map +0 -1
  399. package/types/index.d.ts +0 -890
  400. package/types/index.d.ts.map +0 -1
  401. package/types/index.reanimated.d.ts +0 -990
  402. package/types/index.reanimated.d.ts.map +0 -1
  403. package/types/v3-animations.d.ts +0 -2
  404. package/types/v3-animations.d.ts.map +0 -1
  405. package/types/v3-animations.native.d.ts +0 -2
  406. package/types/v3-animations.native.d.ts.map +0 -1
  407. package/types/v3.d.ts +0 -993
  408. package/types/v3.d.ts.map +0 -1
  409. package/types/v4-animations.d.ts +0 -2
  410. package/types/v4-animations.d.ts.map +0 -1
  411. package/types/v4-animations.native.d.ts +0 -2
  412. package/types/v4-animations.native.d.ts.map +0 -1
  413. package/types/v4-fonts.d.ts +0 -31
  414. package/types/v4-fonts.d.ts.map +0 -1
  415. package/types/v4-media.d.ts +0 -63
  416. package/types/v4-media.d.ts.map +0 -1
  417. package/types/v4.d.ts +0 -283
  418. package/types/v4.d.ts.map +0 -1
  419. package/types/v5-css.d.ts.map +0 -1
  420. package/types/v5-css.native.d.ts +0 -2
  421. package/types/v5-css.native.d.ts.map +0 -1
  422. package/types/v5-media.d.ts +0 -135
  423. package/types/v5-media.d.ts.map +0 -1
  424. package/types/v5-motion.d.ts.map +0 -1
  425. package/types/v5-reanimated.d.ts.map +0 -1
  426. package/types/v5-rn.d.ts.map +0 -1
  427. package/v3/index.cjs +0 -2
  428. package/v3/index.js +0 -2
  429. package/v3/index.native.cjs +0 -2
  430. package/v3/index.native.js +0 -2
  431. package/v3.cjs +0 -1
  432. package/v3.d.ts +0 -1
  433. package/v4/index.cjs +0 -2
  434. package/v4/index.js +0 -2
  435. package/v4/index.native.cjs +0 -2
  436. package/v4/index.native.js +0 -2
  437. package/v4.cjs +0 -1
  438. package/v4.d.ts +0 -1
  439. package/v5/index.cjs +0 -2
  440. package/v5/index.js +0 -2
  441. package/v5/index.native.cjs +0 -2
  442. package/v5/index.native.js +0 -2
  443. package/v5-css/index.cjs +0 -2
  444. package/v5-css/index.js +0 -2
  445. package/v5-css/index.native.cjs +0 -2
  446. package/v5-css/index.native.js +0 -2
  447. package/v5-css.cjs +0 -1
  448. package/v5-css.d.ts +0 -1
  449. package/v5-motion/index.cjs +0 -2
  450. package/v5-motion/index.js +0 -2
  451. package/v5-motion/index.native.cjs +0 -2
  452. package/v5-motion/index.native.js +0 -2
  453. package/v5-motion.cjs +0 -1
  454. package/v5-motion.d.ts +0 -1
  455. package/v5-reanimated/index.cjs +0 -2
  456. package/v5-reanimated/index.js +0 -2
  457. package/v5-reanimated/index.native.cjs +0 -2
  458. package/v5-reanimated/index.native.js +0 -2
  459. package/v5-reanimated.cjs +0 -1
  460. package/v5-reanimated.d.ts +0 -1
  461. package/v5-rn/index.cjs +0 -2
  462. package/v5-rn/index.js +0 -2
  463. package/v5-rn/index.native.cjs +0 -2
  464. package/v5-rn/index.native.js +0 -2
  465. package/v5-rn.cjs +0 -1
  466. package/v5-rn.d.ts +0 -1
  467. package/v5-subtle/index.cjs +0 -2
  468. package/v5-subtle/index.js +0 -2
  469. package/v5-subtle/index.native.cjs +0 -2
  470. package/v5-subtle/index.native.js +0 -2
  471. package/v5-subtle.cjs +0 -1
  472. package/v5-subtle.d.ts +0 -1
  473. package/v5.cjs +0 -1
  474. package/v5.d.ts +0 -1
  475. /package/src/{v5-css.ts → animations-css.ts} +0 -0
  476. /package/src/{v5-motion.ts → animations-motion.ts} +0 -0
  477. /package/src/{v5-reanimated.ts → animations-reanimated.ts} +0 -0
  478. /package/src/{v5-rn.ts → animations-rn.ts} +0 -0
@@ -1,143 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
- var __getOwnPropNames = Object.getOwnPropertyNames;
4
- var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __export = (target, all) => {
6
- for (var name in all) __defProp(target, name, {
7
- get: all[name],
8
- enumerable: true
9
- });
10
- };
11
- var __copyProps = (to, from, except, desc) => {
12
- if (from && typeof from === "object" || typeof from === "function") {
13
- for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
14
- get: () => from[key],
15
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
16
- });
17
- }
18
- return to;
19
- };
20
- var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
21
- value: true
22
- }), mod);
23
- var animationsReanimated_exports = {};
24
- __export(animationsReanimated_exports, {
25
- animationsReanimated: () => animationsReanimated
26
- });
27
- module.exports = __toCommonJS(animationsReanimated_exports);
28
- var import_animations_reanimated = require("@tamagui/animations-reanimated");
29
- const animationsReanimated = (0, import_animations_reanimated.createAnimations)({
30
- "0ms": {
31
- type: "timing",
32
- duration: 0
33
- },
34
- "30ms": {
35
- type: "timing",
36
- duration: 30
37
- },
38
- "50ms": {
39
- type: "timing",
40
- duration: 50
41
- },
42
- "75ms": {
43
- type: "timing",
44
- duration: 75
45
- },
46
- "100ms": {
47
- type: "timing",
48
- duration: 100
49
- },
50
- "200ms": {
51
- type: "timing",
52
- duration: 200
53
- },
54
- "250ms": {
55
- type: "timing",
56
- duration: 250
57
- },
58
- "300ms": {
59
- type: "timing",
60
- duration: 300
61
- },
62
- "400ms": {
63
- type: "timing",
64
- duration: 400
65
- },
66
- "500ms": {
67
- type: "timing",
68
- duration: 500
69
- },
70
- superBouncy: {
71
- damping: 5,
72
- mass: 0.7,
73
- stiffness: 180
74
- },
75
- bouncy: {
76
- damping: 9,
77
- mass: 0.9,
78
- stiffness: 120
79
- },
80
- kindaBouncy: {
81
- damping: 16,
82
- mass: 1,
83
- stiffness: 25
84
- },
85
- superLazy: {
86
- damping: 25,
87
- mass: 2,
88
- stiffness: 25
89
- },
90
- medium: {
91
- damping: 16,
92
- stiffness: 90,
93
- mass: 0.8
94
- },
95
- lazy: {
96
- damping: 18,
97
- mass: 0.2,
98
- stiffness: 10
99
- },
100
- slowest: {
101
- damping: 15,
102
- stiffness: 10
103
- },
104
- slow: {
105
- damping: 45,
106
- stiffness: 60
107
- },
108
- quick: {
109
- damping: 25,
110
- mass: 1,
111
- stiffness: 550
112
- },
113
- quickLessBouncy: {
114
- damping: 40,
115
- mass: 2,
116
- stiffness: 400
117
- },
118
- tooltip: {
119
- damping: 10,
120
- mass: 0.9,
121
- stiffness: 100
122
- },
123
- quicker: {
124
- damping: 16,
125
- mass: 0.6,
126
- stiffness: 700
127
- },
128
- quickerLessBouncy: {
129
- damping: 27,
130
- mass: 0.45,
131
- stiffness: 750
132
- },
133
- quickest: {
134
- damping: 15,
135
- mass: 0.6,
136
- stiffness: 400
137
- },
138
- quickestLessBouncy: {
139
- damping: 24,
140
- mass: 0.35,
141
- stiffness: 750
142
- }
143
- });
@@ -1,146 +0,0 @@
1
- "use strict";
2
-
3
- var __defProp = Object.defineProperty;
4
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
- var __getOwnPropNames = Object.getOwnPropertyNames;
6
- var __hasOwnProp = Object.prototype.hasOwnProperty;
7
- var __export = (target, all) => {
8
- for (var name in all) __defProp(target, name, {
9
- get: all[name],
10
- enumerable: true
11
- });
12
- };
13
- var __copyProps = (to, from, except, desc) => {
14
- if (from && typeof from === "object" || typeof from === "function") {
15
- for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
16
- get: () => from[key],
17
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
18
- });
19
- }
20
- return to;
21
- };
22
- var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
23
- value: true
24
- }), mod);
25
- var animationsReanimated_exports = {};
26
- __export(animationsReanimated_exports, {
27
- animationsReanimated: () => animationsReanimated
28
- });
29
- module.exports = __toCommonJS(animationsReanimated_exports);
30
- var import_animations_reanimated = require("@tamagui/animations-reanimated");
31
- var animationsReanimated = (0, import_animations_reanimated.createAnimations)({
32
- "0ms": {
33
- type: "timing",
34
- duration: 0
35
- },
36
- "30ms": {
37
- type: "timing",
38
- duration: 30
39
- },
40
- "50ms": {
41
- type: "timing",
42
- duration: 50
43
- },
44
- "75ms": {
45
- type: "timing",
46
- duration: 75
47
- },
48
- "100ms": {
49
- type: "timing",
50
- duration: 100
51
- },
52
- "200ms": {
53
- type: "timing",
54
- duration: 200
55
- },
56
- "250ms": {
57
- type: "timing",
58
- duration: 250
59
- },
60
- "300ms": {
61
- type: "timing",
62
- duration: 300
63
- },
64
- "400ms": {
65
- type: "timing",
66
- duration: 400
67
- },
68
- "500ms": {
69
- type: "timing",
70
- duration: 500
71
- },
72
- superBouncy: {
73
- damping: 5,
74
- mass: 0.7,
75
- stiffness: 180
76
- },
77
- bouncy: {
78
- damping: 9,
79
- mass: 0.9,
80
- stiffness: 120
81
- },
82
- kindaBouncy: {
83
- damping: 16,
84
- mass: 1,
85
- stiffness: 25
86
- },
87
- superLazy: {
88
- damping: 25,
89
- mass: 2,
90
- stiffness: 25
91
- },
92
- medium: {
93
- damping: 16,
94
- stiffness: 90,
95
- mass: 0.8
96
- },
97
- lazy: {
98
- damping: 18,
99
- mass: 0.2,
100
- stiffness: 10
101
- },
102
- slowest: {
103
- damping: 15,
104
- stiffness: 10
105
- },
106
- slow: {
107
- damping: 45,
108
- stiffness: 60
109
- },
110
- quick: {
111
- damping: 25,
112
- mass: 1,
113
- stiffness: 550
114
- },
115
- quickLessBouncy: {
116
- damping: 40,
117
- mass: 2,
118
- stiffness: 400
119
- },
120
- tooltip: {
121
- damping: 10,
122
- mass: 0.9,
123
- stiffness: 100
124
- },
125
- quicker: {
126
- damping: 16,
127
- mass: 0.6,
128
- stiffness: 700
129
- },
130
- quickerLessBouncy: {
131
- damping: 27,
132
- mass: 0.45,
133
- stiffness: 750
134
- },
135
- quickest: {
136
- damping: 15,
137
- mass: 0.6,
138
- stiffness: 400
139
- },
140
- quickestLessBouncy: {
141
- damping: 24,
142
- mass: 0.35,
143
- stiffness: 750
144
- }
145
- });
146
- //# sourceMappingURL=animationsReanimated.native.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","animationsReanimated_exports","__export","animationsReanimated","module","exports","import_animations_reanimated","require","createAnimations","type","duration","superBouncy","damping","mass","stiffness","bouncy","kindaBouncy","superLazy","medium","lazy","slowest","slow","quick","quickLessBouncy","tooltip","quicker","quickerLessBouncy","quickest","quickestLessBouncy"],"sources":["../../src/animationsReanimated.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,4BAAA;AAAAC,QAAA,CAAAD,4BAAA;EAAAE,oBAAA,EAAAA,CAAA,KAAAA;AAAA;AAAAC,MAAA,CAAAC,OAAA,GAAAT,YAAA,CAAAK,4BAAiC;AAE1B,IAAAK,4BAAM,GAAuBC,OAAA;AAAiB,IACnDJ,oBAAO,OAAAG,4BAAA,CAAAE,gBAAA;EAAA,KACL;IACAC,IAAA,UAAU;IACZC,QAAA;EACA;EAAQ,MACN,EAAM;IACND,IAAA,UAAU;IACZC,QAAA;EACA;EAAQ,MACN,EAAM;IACND,IAAA,UAAU;IACZC,QAAA;EACA;EAAQ,MACN,EAAM;IACND,IAAA,UAAU;IACZC,QAAA;EACA;EAAS,OACP,EAAM;IACND,IAAA,UAAU;IACZC,QAAA;EACA;EAAS,OACP,EAAM;IACND,IAAA,UAAU;IACZC,QAAA;EACA;EAAS,OACP,EAAM;IACND,IAAA,UAAU;IACZC,QAAA;EACA;EAAS,OACP,EAAM;IACND,IAAA,UAAU;IACZC,QAAA;EACA;EAAS,OACP,EAAM;IACND,IAAA,UAAU;IACZC,QAAA;EACA;EAAS,OACP,EAAM;IACND,IAAA,UAAU;IACZC,QAAA;EACA;EAAaC,WACF;IACTC,OAAM;IACNC,IAAA;IACFC,SAAA;EACA;EAAQC,MACN;IACAH,OAAM;IACNC,IAAA;IACFC,SAAA;EACA;EAAaE,WACF;IACTJ,OAAM;IACNC,IAAA;IACFC,SAAA;EACA;EAAWG,SACT,EAAS;IACTL,OAAM;IACNC,IAAA;IACFC,SAAA;EACA;EAAQI,MACN;IACAN,OAAA,IAAW;IACXE,SAAM;IACRD,IAAA;EACA;EAAMM,IACJ;IACAP,OAAM;IACNC,IAAA;IACFC,SAAA;EACA;EAASM,OACP;IACAR,OAAA,IAAW;IACbE,SAAA;EACA;EAAMO,IACJ;IACAT,OAAA,IAAW;IACbE,SAAA;EACA;EAAOQ,KACL;IACAV,OAAM;IACNC,IAAA;IACFC,SAAA;EACA;EAAiBS,eACN;IACTX,OAAM;IACNC,IAAA;IACFC,SAAA;EACA;EAASU,OACP;IACAZ,OAAM;IACNC,IAAA;IACFC,SAAA;EACA;EAASW,OACP;IACAb,OAAM;IACNC,IAAA;IACFC,SAAA;EACA;EAAmBY,iBACR;IACTd,OAAM;IACNC,IAAA;IACFC,SAAA;EACA;EAAUa,QACR;IACAf,OAAM;IACNC,IAAA;IACFC,SAAA;EACA;EAAoBc,kBACT;IACThB,OAAM;IACNC,IAAA;IACFC,SAAA;EACD","ignoreList":[]}
@@ -1,47 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
- var __getOwnPropNames = Object.getOwnPropertyNames;
4
- var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __export = (target, all) => {
6
- for (var name in all) __defProp(target, name, {
7
- get: all[name],
8
- enumerable: true
9
- });
10
- };
11
- var __copyProps = (to, from, except, desc) => {
12
- if (from && typeof from === "object" || typeof from === "function") {
13
- for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
14
- get: () => from[key],
15
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
16
- });
17
- }
18
- return to;
19
- };
20
- var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
21
- value: true
22
- }), mod);
23
- var config_exports = {};
24
- __export(config_exports, {
25
- configWithoutAnimations: () => configWithoutAnimations
26
- });
27
- module.exports = __toCommonJS(config_exports);
28
- var import_shorthands = require("@tamagui/shorthands");
29
- var import_themes = require("@tamagui/themes");
30
- var import_fonts = require("./fonts.cjs");
31
- var import_media = require("./media.cjs");
32
- const configWithoutAnimations = {
33
- themes: import_themes.themes,
34
- media: import_media.media,
35
- shorthands: import_shorthands.shorthands,
36
- tokens: import_themes.tokens,
37
- fonts: import_fonts.fonts,
38
- selectionStyles: theme => theme.color5 ? {
39
- backgroundColor: theme.color5,
40
- color: theme.color11
41
- } : null,
42
- settings: {
43
- defaultFont: "body",
44
- shouldAddPrefersColorThemes: true,
45
- mediaQueryDefaultActive: import_media.mediaQueryDefaultActive
46
- }
47
- };
@@ -1,52 +0,0 @@
1
- "use strict";
2
-
3
- var __defProp = Object.defineProperty;
4
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
- var __getOwnPropNames = Object.getOwnPropertyNames;
6
- var __hasOwnProp = Object.prototype.hasOwnProperty;
7
- var __export = (target, all) => {
8
- for (var name in all) __defProp(target, name, {
9
- get: all[name],
10
- enumerable: true
11
- });
12
- };
13
- var __copyProps = (to, from, except, desc) => {
14
- if (from && typeof from === "object" || typeof from === "function") {
15
- for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
16
- get: () => from[key],
17
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
18
- });
19
- }
20
- return to;
21
- };
22
- var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
23
- value: true
24
- }), mod);
25
- var config_exports = {};
26
- __export(config_exports, {
27
- configWithoutAnimations: () => configWithoutAnimations
28
- });
29
- module.exports = __toCommonJS(config_exports);
30
- var import_shorthands = require("@tamagui/shorthands");
31
- var import_themes = require("@tamagui/themes");
32
- var import_fonts = require("./fonts.native.js");
33
- var import_media = require("./media.native.js");
34
- var configWithoutAnimations = {
35
- themes: import_themes.themes,
36
- media: import_media.media,
37
- shorthands: import_shorthands.shorthands,
38
- tokens: import_themes.tokens,
39
- fonts: import_fonts.fonts,
40
- selectionStyles: function (theme) {
41
- return theme.color5 ? {
42
- backgroundColor: theme.color5,
43
- color: theme.color11
44
- } : null;
45
- },
46
- settings: {
47
- defaultFont: "body",
48
- shouldAddPrefersColorThemes: true,
49
- mediaQueryDefaultActive: import_media.mediaQueryDefaultActive
50
- }
51
- };
52
- //# sourceMappingURL=config.native.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","config_exports","__export","configWithoutAnimations","module","exports","import_shorthands","require","import_themes","import_fonts","import_media","themes","media","shorthands","tokens","fonts","selectionStyles","theme","color5","backgroundColor","color","color11","settings","defaultFont","shouldAddPrefersColorThemes"],"sources":["../../src/config.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,cAAA;AAAAC,QAAA,CAAAD,cAAA;EAAAE,uBAAA,EAAAA,CAAA,KAAAA;AAAA;AAAAC,MAAA,CAAAC,OAAA,GAAAT,YAA2B,CAAAK,cAAA;AAC3B,IAAAK,iBAA+B,GAAAC,OAAA;AAG/B,IAAAC,aAAA,GAAsBD,OAAA;AACtB,IAAAE,YAAA,GAA+CF,OAAA;AAExC,IAAAG,YAAM,GAAAH,OAAA,oBAA0B;AAAA,IACrCJ,uBAAA;EACAQ,MAAA,EAAAH,aAAA,CAAAG,MAAA;EACAC,KAAA,EAAAF,YAAA,CAAAE,KAAA;EACAC,UAAA,EAAAP,iBAAA,CAAAO,UAAA;EACAC,MAAA,EAAAN,aAAA,CAAAM,MAAA;EACAC,KAAA,EAAAN,YAAkB,CAAAM,KAAA;EAEZC,eACE,WAAAA,CAAuBC,KAAA;IACvB,OAAOA,KAAA,CAAMC,MAAA;MAEfC,eAAA,EAAAF,KAAA,CAAAC,MAAA;MAENE,KAAA,EAAUH,KAAA,CAAAI;IACR;EAAa;EACgBC,QAC7B;IACFC,WAAA;IACFC,2BAAA","ignoreList":[]}
@@ -1,63 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
- var __getOwnPropNames = Object.getOwnPropertyNames;
4
- var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __export = (target, all) => {
6
- for (var name in all) __defProp(target, name, {
7
- get: all[name],
8
- enumerable: true
9
- });
10
- };
11
- var __copyProps = (to, from, except, desc) => {
12
- if (from && typeof from === "object" || typeof from === "function") {
13
- for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
14
- get: () => from[key],
15
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
16
- });
17
- }
18
- return to;
19
- };
20
- var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
21
- value: true
22
- }), mod);
23
- var createGenericFont_exports = {};
24
- __export(createGenericFont_exports, {
25
- createGenericFont: () => createGenericFont
26
- });
27
- module.exports = __toCommonJS(createGenericFont_exports);
28
- var import_web = require("@tamagui/web");
29
- const genericFontSizes = {
30
- 1: 10,
31
- 2: 11,
32
- 3: 12,
33
- 4: 14,
34
- 5: 15,
35
- 6: 16,
36
- 7: 20,
37
- 8: 22,
38
- 9: 30,
39
- 10: 42,
40
- 11: 52,
41
- 12: 62,
42
- 13: 72,
43
- 14: 92,
44
- 15: 114,
45
- 16: 124
46
- };
47
- function createGenericFont(family, font = {}, {
48
- sizeLineHeight = val => val * 1.35
49
- } = {}) {
50
- const size = font.size || genericFontSizes;
51
- return (0, import_web.createFont)({
52
- family,
53
- size,
54
- lineHeight: Object.fromEntries(Object.entries(size).map(([k, v]) => [k, sizeLineHeight(+v)])),
55
- weight: {
56
- 0: "300"
57
- },
58
- letterSpacing: {
59
- 4: 0
60
- },
61
- ...font
62
- });
63
- }
@@ -1,73 +0,0 @@
1
- "use strict";
2
-
3
- var __defProp = Object.defineProperty;
4
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
- var __getOwnPropNames = Object.getOwnPropertyNames;
6
- var __hasOwnProp = Object.prototype.hasOwnProperty;
7
- var __export = (target, all) => {
8
- for (var name in all) __defProp(target, name, {
9
- get: all[name],
10
- enumerable: true
11
- });
12
- };
13
- var __copyProps = (to, from, except, desc) => {
14
- if (from && typeof from === "object" || typeof from === "function") {
15
- for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
16
- get: () => from[key],
17
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
18
- });
19
- }
20
- return to;
21
- };
22
- var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
23
- value: true
24
- }), mod);
25
- var createGenericFont_exports = {};
26
- __export(createGenericFont_exports, {
27
- createGenericFont: () => createGenericFont
28
- });
29
- module.exports = __toCommonJS(createGenericFont_exports);
30
- var import_web = require("@tamagui/web");
31
- var genericFontSizes = {
32
- 1: 10,
33
- 2: 11,
34
- 3: 12,
35
- 4: 14,
36
- 5: 15,
37
- 6: 16,
38
- 7: 20,
39
- 8: 22,
40
- 9: 30,
41
- 10: 42,
42
- 11: 52,
43
- 12: 62,
44
- 13: 72,
45
- 14: 92,
46
- 15: 114,
47
- 16: 124
48
- };
49
- function createGenericFont(family) {
50
- var font = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {},
51
- {
52
- sizeLineHeight = function (val) {
53
- return val * 1.35;
54
- }
55
- } = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
56
- var size = font.size || genericFontSizes;
57
- return (0, import_web.createFont)({
58
- family,
59
- size,
60
- lineHeight: Object.fromEntries(Object.entries(size).map(function (param) {
61
- var [k, v] = param;
62
- return [k, sizeLineHeight(+v)];
63
- })),
64
- weight: {
65
- 0: "300"
66
- },
67
- letterSpacing: {
68
- 4: 0
69
- },
70
- ...font
71
- });
72
- }
73
- //# sourceMappingURL=createGenericFont.native.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","createGenericFont_exports","__export","createGenericFont","module","exports","import_web","require","genericFontSizes","family","font","arguments","length","sizeLineHeight","val","size","createFont","lineHeight","Object","fromEntries","entries","map","param","k","v"],"sources":["../../src/createGenericFont.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,yBAAA;AAAAC,QAAA,CAAAD,yBAAA;EAAAE,iBAAA,EAAAA,CAAA,KAAAA;AAAA;AACAC,MAAA,CAAAC,OAAA,GAA2BT,YAAA,CAAAK,yBAAA;AAE3B,IAAAK,UAAM,GAAAC,OAAA,CAAmB;AAAA,IACvBC,gBAAG;EACH,GAAG;EACH,GAAG;EACH,GAAG;EACH,GAAG;EACH,GAAG;EACH,GAAG;EACH,GAAG;EACH,GAAG;EACH,KAAI;EACJ,IAAI;EACJ,IAAI;EACJ,IAAI;EACJ,IAAI;EACJ,IAAI;EACJ,IAAI;EACN;AAEO;AAGL,SACEL,iBAAkBA,CAAAM,MAAQ,EAAM;EAClC,IAEKC,IACF,GAAAC,SAAA,CAAAC,MAAA,QAAAD,SAAA,iBAAAA,SAAA;IAAA;MAAAE,cAAA,YAAAA,CAAAC,GAAA;QACH,OAAMA,GAAA,GAAO,IAAK;MAClB;IAAA,IAAAH,SAAO,CAAAC,MAAA,QAAAD,SAAW,iBAAAA,SAAA;EAAA,IAChBI,IAAA,GAAAL,IAAA,CAAAK,IAAA,IAAAP,gBAAA;EAAA,OACA,IAAAF,UAAA,CAAAU,UAAA;IACAP,MAAA;IAAmBM,IACjB;IACFE,UAAA,EAAAC,MAAA,CAAAC,WAAA,CAAAD,MAAA,CAAAE,OAAA,CAAAL,IAAA,EAAAM,GAAA,WAAAC,KAAA;MACA,KAAAC,CAAQ,EAAEC,CAAA,IAAGF,KAAM;MACnB,QACIC,CAAA,EACLV,cAAA,EAAAW,CAAA,EACH","ignoreList":[]}
@@ -1,42 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
- var __getOwnPropNames = Object.getOwnPropertyNames;
4
- var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __export = (target, all) => {
6
- for (var name in all) __defProp(target, name, {
7
- get: all[name],
8
- enumerable: true
9
- });
10
- };
11
- var __copyProps = (to, from, except, desc) => {
12
- if (from && typeof from === "object" || typeof from === "function") {
13
- for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
14
- get: () => from[key],
15
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
16
- });
17
- }
18
- return to;
19
- };
20
- var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
21
- var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
22
- value: true
23
- }), mod);
24
- var index_exports = {};
25
- __export(index_exports, {
26
- config: () => config,
27
- configWithoutAnimations: () => import_config2.configWithoutAnimations
28
- });
29
- module.exports = __toCommonJS(index_exports);
30
- var import_themes = require("@tamagui/themes");
31
- var import_animations = require("./animations.cjs");
32
- var import_config = require("./config.cjs");
33
- var import_config2 = require("./config.cjs");
34
- __reExport(index_exports, require("./media.cjs"), module.exports);
35
- __reExport(index_exports, require("./createGenericFont.cjs"), module.exports);
36
- __reExport(index_exports, require("./animations.cjs"), module.exports);
37
- const config = {
38
- ...import_config.configWithoutAnimations,
39
- // fixes typescript exporting this using internal /types/ path
40
- themes: import_themes.themes,
41
- animations: import_animations.animations
42
- };
@@ -1,45 +0,0 @@
1
- "use strict";
2
-
3
- var __defProp = Object.defineProperty;
4
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
- var __getOwnPropNames = Object.getOwnPropertyNames;
6
- var __hasOwnProp = Object.prototype.hasOwnProperty;
7
- var __export = (target, all) => {
8
- for (var name in all) __defProp(target, name, {
9
- get: all[name],
10
- enumerable: true
11
- });
12
- };
13
- var __copyProps = (to, from, except, desc) => {
14
- if (from && typeof from === "object" || typeof from === "function") {
15
- for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
16
- get: () => from[key],
17
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
18
- });
19
- }
20
- return to;
21
- };
22
- var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
23
- var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
24
- value: true
25
- }), mod);
26
- var index_exports = {};
27
- __export(index_exports, {
28
- config: () => config,
29
- configWithoutAnimations: () => import_config2.configWithoutAnimations
30
- });
31
- module.exports = __toCommonJS(index_exports);
32
- var import_themes = require("@tamagui/themes");
33
- var import_animations = require("./animations.native.js");
34
- var import_config = require("./config.native.js");
35
- var import_config2 = require("./config.native.js");
36
- __reExport(index_exports, require("./media.native.js"), module.exports);
37
- __reExport(index_exports, require("./createGenericFont.native.js"), module.exports);
38
- __reExport(index_exports, require("./animations.native.js"), module.exports);
39
- var config = {
40
- ...import_config.configWithoutAnimations,
41
- // fixes typescript exporting this using internal /types/ path
42
- themes: import_themes.themes,
43
- animations: import_animations.animations
44
- };
45
- //# sourceMappingURL=index.native.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","index_exports","__export","config","configWithoutAnimations","import_config2","module","exports","import_themes","require","import_animations","import_config","__reExport","themes","animations"],"sources":["../../src/index.tsx"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,aAAA;AAAAC,QAAA,CAAAD,aAAA;EAAAE,MAAA,EAAAA,CAAA,KAAAA,MAAA;EAAAC,uBAAA,EAAAA,CAAA,KAAAC,cAAA,CAAAD;AAAA;AAAAE,MAAA,CAAAC,OAAA,GAAAX,YAAuB,CAAAK,aAAA;AAEvB,IAAAO,aAAA,GAAAC,OAA2B;AAC3B,IAAAC,iBAAwC,GAAAD,OAAA;AAExC,IAAAE,aAAA,GAAAF,OAAwC;AACxC,IAAAJ,cAAA,GAAAI,OAAc;AACdG,UAAA,CAAAX,aAAA,EAAcQ,OAAA,uBAAAH,MAAA,CAAAC,OAPd;AAQAK,UAAA,CAAAX,aAAA,EAAcQ,OAAA,gCARd,GAAAH,MAAA,CAAAC,OAAA;AAUOK,UAAM,CAAAX,aAAS,EAAAQ,OAAA,4BAAAH,MAAA,CAAAC,OAAA;AAAA,IACpBJ,MAAG;EAAA,GAAAQ,aAAA,CAAAP,uBAAA;EAEH;EACAS,MAAA,EAAAL,aAAA,CAAAK,MAAA;EACFC,UAAA,EAAAJ,iBAAA,CAAAI","ignoreList":[]}
@@ -1,37 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
- var __getOwnPropNames = Object.getOwnPropertyNames;
4
- var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __export = (target, all) => {
6
- for (var name in all) __defProp(target, name, {
7
- get: all[name],
8
- enumerable: true
9
- });
10
- };
11
- var __copyProps = (to, from, except, desc) => {
12
- if (from && typeof from === "object" || typeof from === "function") {
13
- for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
14
- get: () => from[key],
15
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
16
- });
17
- }
18
- return to;
19
- };
20
- var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
21
- var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
22
- value: true
23
- }), mod);
24
- var index_reanimated_exports = {};
25
- __export(index_reanimated_exports, {
26
- config: () => config
27
- });
28
- module.exports = __toCommonJS(index_reanimated_exports);
29
- var import_animations = require("./animations.reanimated");
30
- var import_config = require("./config.cjs");
31
- __reExport(index_reanimated_exports, require("./media.cjs"), module.exports);
32
- __reExport(index_reanimated_exports, require("./createGenericFont.cjs"), module.exports);
33
- __reExport(index_reanimated_exports, require("./animations.reanimated"), module.exports);
34
- const config = {
35
- ...import_config.configWithoutAnimations,
36
- animations: import_animations.animations
37
- };