@hanzogui/config 2.0.0-rc.41-hanzoai.5

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 (348) hide show
  1. package/.turbo/turbo-build.log +2 -0
  2. package/LICENSE +21 -0
  3. package/dist/cjs/animations.cjs +94 -0
  4. package/dist/cjs/animations.css.cjs +37 -0
  5. package/dist/cjs/animations.css.native.js +40 -0
  6. package/dist/cjs/animations.css.native.js.map +1 -0
  7. package/dist/cjs/animations.native.js +97 -0
  8. package/dist/cjs/animations.native.js.map +1 -0
  9. package/dist/cjs/animations.reanimated.cjs +67 -0
  10. package/dist/cjs/animations.reanimated.native.js +70 -0
  11. package/dist/cjs/animations.reanimated.native.js.map +1 -0
  12. package/dist/cjs/animationsCSS.cjs +58 -0
  13. package/dist/cjs/animationsCSS.native.js +61 -0
  14. package/dist/cjs/animationsCSS.native.js.map +1 -0
  15. package/dist/cjs/animationsMotion.cjs +148 -0
  16. package/dist/cjs/animationsMotion.native.js +151 -0
  17. package/dist/cjs/animationsMotion.native.js.map +1 -0
  18. package/dist/cjs/animationsReactNative.cjs +155 -0
  19. package/dist/cjs/animationsReactNative.native.js +158 -0
  20. package/dist/cjs/animationsReactNative.native.js.map +1 -0
  21. package/dist/cjs/animationsReanimated.cjs +143 -0
  22. package/dist/cjs/animationsReanimated.native.js +146 -0
  23. package/dist/cjs/animationsReanimated.native.js.map +1 -0
  24. package/dist/cjs/config.cjs +47 -0
  25. package/dist/cjs/config.native.js +52 -0
  26. package/dist/cjs/config.native.js.map +1 -0
  27. package/dist/cjs/createGenericFont.cjs +63 -0
  28. package/dist/cjs/createGenericFont.native.js +73 -0
  29. package/dist/cjs/createGenericFont.native.js.map +1 -0
  30. package/dist/cjs/fonts.cjs +115 -0
  31. package/dist/cjs/fonts.native.js +126 -0
  32. package/dist/cjs/fonts.native.js.map +1 -0
  33. package/dist/cjs/index.cjs +42 -0
  34. package/dist/cjs/index.native.js +45 -0
  35. package/dist/cjs/index.native.js.map +1 -0
  36. package/dist/cjs/index.reanimated.cjs +37 -0
  37. package/dist/cjs/index.reanimated.native.js +40 -0
  38. package/dist/cjs/index.reanimated.native.js.map +1 -0
  39. package/dist/cjs/media.cjs +77 -0
  40. package/dist/cjs/media.native.js +80 -0
  41. package/dist/cjs/media.native.js.map +1 -0
  42. package/dist/cjs/v3-animations.cjs +28 -0
  43. package/dist/cjs/v3-animations.native.js +31 -0
  44. package/dist/cjs/v3-animations.native.js.map +1 -0
  45. package/dist/cjs/v3.cjs +139 -0
  46. package/dist/cjs/v3.native.js +146 -0
  47. package/dist/cjs/v3.native.js.map +1 -0
  48. package/dist/cjs/v4-animations.cjs +28 -0
  49. package/dist/cjs/v4-animations.native.js +31 -0
  50. package/dist/cjs/v4-animations.native.js.map +1 -0
  51. package/dist/cjs/v4-fonts.cjs +76 -0
  52. package/dist/cjs/v4-fonts.native.js +92 -0
  53. package/dist/cjs/v4-fonts.native.js.map +1 -0
  54. package/dist/cjs/v4-media.cjs +92 -0
  55. package/dist/cjs/v4-media.native.js +95 -0
  56. package/dist/cjs/v4-media.native.js.map +1 -0
  57. package/dist/cjs/v4.cjs +77 -0
  58. package/dist/cjs/v4.native.js +82 -0
  59. package/dist/cjs/v4.native.js.map +1 -0
  60. package/dist/cjs/v5-base.cjs +79 -0
  61. package/dist/cjs/v5-base.native.js +84 -0
  62. package/dist/cjs/v5-base.native.js.map +1 -0
  63. package/dist/cjs/v5-css.cjs +56 -0
  64. package/dist/cjs/v5-css.native.js +31 -0
  65. package/dist/cjs/v5-css.native.js.map +1 -0
  66. package/dist/cjs/v5-fonts.cjs +88 -0
  67. package/dist/cjs/v5-fonts.native.js +123 -0
  68. package/dist/cjs/v5-fonts.native.js.map +1 -0
  69. package/dist/cjs/v5-media.cjs +163 -0
  70. package/dist/cjs/v5-media.native.js +166 -0
  71. package/dist/cjs/v5-media.native.js.map +1 -0
  72. package/dist/cjs/v5-motion.cjs +135 -0
  73. package/dist/cjs/v5-motion.native.js +138 -0
  74. package/dist/cjs/v5-motion.native.js.map +1 -0
  75. package/dist/cjs/v5-reanimated.cjs +131 -0
  76. package/dist/cjs/v5-reanimated.native.js +134 -0
  77. package/dist/cjs/v5-reanimated.native.js.map +1 -0
  78. package/dist/cjs/v5-rn.cjs +141 -0
  79. package/dist/cjs/v5-rn.native.js +144 -0
  80. package/dist/cjs/v5-rn.native.js.map +1 -0
  81. package/dist/cjs/v5-subtle.cjs +21 -0
  82. package/dist/cjs/v5-subtle.native.js +24 -0
  83. package/dist/cjs/v5-subtle.native.js.map +1 -0
  84. package/dist/cjs/v5.cjs +21 -0
  85. package/dist/cjs/v5.native.js +24 -0
  86. package/dist/cjs/v5.native.js.map +1 -0
  87. package/dist/esm/animations.css.mjs +12 -0
  88. package/dist/esm/animations.css.mjs.map +1 -0
  89. package/dist/esm/animations.css.native.js +12 -0
  90. package/dist/esm/animations.css.native.js.map +1 -0
  91. package/dist/esm/animations.mjs +69 -0
  92. package/dist/esm/animations.mjs.map +1 -0
  93. package/dist/esm/animations.native.js +69 -0
  94. package/dist/esm/animations.native.js.map +1 -0
  95. package/dist/esm/animations.reanimated.mjs +42 -0
  96. package/dist/esm/animations.reanimated.mjs.map +1 -0
  97. package/dist/esm/animations.reanimated.native.js +42 -0
  98. package/dist/esm/animations.reanimated.native.js.map +1 -0
  99. package/dist/esm/animationsCSS.mjs +33 -0
  100. package/dist/esm/animationsCSS.mjs.map +1 -0
  101. package/dist/esm/animationsCSS.native.js +33 -0
  102. package/dist/esm/animationsCSS.native.js.map +1 -0
  103. package/dist/esm/animationsMotion.mjs +123 -0
  104. package/dist/esm/animationsMotion.mjs.map +1 -0
  105. package/dist/esm/animationsMotion.native.js +123 -0
  106. package/dist/esm/animationsMotion.native.js.map +1 -0
  107. package/dist/esm/animationsReactNative.mjs +130 -0
  108. package/dist/esm/animationsReactNative.mjs.map +1 -0
  109. package/dist/esm/animationsReactNative.native.js +130 -0
  110. package/dist/esm/animationsReactNative.native.js.map +1 -0
  111. package/dist/esm/animationsReanimated.mjs +118 -0
  112. package/dist/esm/animationsReanimated.mjs.map +1 -0
  113. package/dist/esm/animationsReanimated.native.js +118 -0
  114. package/dist/esm/animationsReanimated.native.js.map +1 -0
  115. package/dist/esm/config.mjs +22 -0
  116. package/dist/esm/config.mjs.map +1 -0
  117. package/dist/esm/config.native.js +24 -0
  118. package/dist/esm/config.native.js.map +1 -0
  119. package/dist/esm/createGenericFont.mjs +38 -0
  120. package/dist/esm/createGenericFont.mjs.map +1 -0
  121. package/dist/esm/createGenericFont.native.js +45 -0
  122. package/dist/esm/createGenericFont.native.js.map +1 -0
  123. package/dist/esm/fonts.mjs +90 -0
  124. package/dist/esm/fonts.mjs.map +1 -0
  125. package/dist/esm/fonts.native.js +98 -0
  126. package/dist/esm/fonts.native.js.map +1 -0
  127. package/dist/esm/index.js +15 -0
  128. package/dist/esm/index.js.map +1 -0
  129. package/dist/esm/index.mjs +15 -0
  130. package/dist/esm/index.mjs.map +1 -0
  131. package/dist/esm/index.native.js +15 -0
  132. package/dist/esm/index.native.js.map +1 -0
  133. package/dist/esm/index.reanimated.mjs +11 -0
  134. package/dist/esm/index.reanimated.mjs.map +1 -0
  135. package/dist/esm/index.reanimated.native.js +11 -0
  136. package/dist/esm/index.reanimated.native.js.map +1 -0
  137. package/dist/esm/media.mjs +49 -0
  138. package/dist/esm/media.mjs.map +1 -0
  139. package/dist/esm/media.native.js +49 -0
  140. package/dist/esm/media.native.js.map +1 -0
  141. package/dist/esm/v3-animations.mjs +3 -0
  142. package/dist/esm/v3-animations.mjs.map +1 -0
  143. package/dist/esm/v3-animations.native.js +3 -0
  144. package/dist/esm/v3-animations.native.js.map +1 -0
  145. package/dist/esm/v3.mjs +106 -0
  146. package/dist/esm/v3.mjs.map +1 -0
  147. package/dist/esm/v3.native.js +110 -0
  148. package/dist/esm/v3.native.js.map +1 -0
  149. package/dist/esm/v4-animations.mjs +3 -0
  150. package/dist/esm/v4-animations.mjs.map +1 -0
  151. package/dist/esm/v4-animations.native.js +3 -0
  152. package/dist/esm/v4-animations.native.js.map +1 -0
  153. package/dist/esm/v4-fonts.mjs +50 -0
  154. package/dist/esm/v4-fonts.mjs.map +1 -0
  155. package/dist/esm/v4-fonts.native.js +63 -0
  156. package/dist/esm/v4-fonts.native.js.map +1 -0
  157. package/dist/esm/v4-media.mjs +65 -0
  158. package/dist/esm/v4-media.mjs.map +1 -0
  159. package/dist/esm/v4-media.native.js +65 -0
  160. package/dist/esm/v4-media.native.js.map +1 -0
  161. package/dist/esm/v4.mjs +39 -0
  162. package/dist/esm/v4.mjs.map +1 -0
  163. package/dist/esm/v4.native.js +41 -0
  164. package/dist/esm/v4.native.js.map +1 -0
  165. package/dist/esm/v5-base.mjs +34 -0
  166. package/dist/esm/v5-base.mjs.map +1 -0
  167. package/dist/esm/v5-base.native.js +36 -0
  168. package/dist/esm/v5-base.native.js.map +1 -0
  169. package/dist/esm/v5-css.mjs +30 -0
  170. package/dist/esm/v5-css.mjs.map +1 -0
  171. package/dist/esm/v5-css.native.js +3 -0
  172. package/dist/esm/v5-css.native.js.map +1 -0
  173. package/dist/esm/v5-fonts.mjs +62 -0
  174. package/dist/esm/v5-fonts.mjs.map +1 -0
  175. package/dist/esm/v5-fonts.native.js +94 -0
  176. package/dist/esm/v5-fonts.native.js.map +1 -0
  177. package/dist/esm/v5-media.mjs +136 -0
  178. package/dist/esm/v5-media.mjs.map +1 -0
  179. package/dist/esm/v5-media.native.js +136 -0
  180. package/dist/esm/v5-media.native.js.map +1 -0
  181. package/dist/esm/v5-motion.mjs +109 -0
  182. package/dist/esm/v5-motion.mjs.map +1 -0
  183. package/dist/esm/v5-motion.native.js +109 -0
  184. package/dist/esm/v5-motion.native.js.map +1 -0
  185. package/dist/esm/v5-reanimated.mjs +105 -0
  186. package/dist/esm/v5-reanimated.mjs.map +1 -0
  187. package/dist/esm/v5-reanimated.native.js +105 -0
  188. package/dist/esm/v5-reanimated.native.js.map +1 -0
  189. package/dist/esm/v5-rn.mjs +115 -0
  190. package/dist/esm/v5-rn.mjs.map +1 -0
  191. package/dist/esm/v5-rn.native.js +115 -0
  192. package/dist/esm/v5-rn.native.js.map +1 -0
  193. package/dist/esm/v5-subtle.mjs +3 -0
  194. package/dist/esm/v5-subtle.mjs.map +1 -0
  195. package/dist/esm/v5-subtle.native.js +3 -0
  196. package/dist/esm/v5-subtle.native.js.map +1 -0
  197. package/dist/esm/v5.mjs +3 -0
  198. package/dist/esm/v5.mjs.map +1 -0
  199. package/dist/esm/v5.native.js +3 -0
  200. package/dist/esm/v5.native.js.map +1 -0
  201. package/package.json +137 -0
  202. package/reanimated/index.cjs +2 -0
  203. package/reanimated/index.js +2 -0
  204. package/reanimated/index.native.cjs +2 -0
  205. package/reanimated/index.native.js +2 -0
  206. package/reanimated.cjs +1 -0
  207. package/src/animations.css.ts +11 -0
  208. package/src/animations.reanimated.ts +41 -0
  209. package/src/animations.ts +68 -0
  210. package/src/animationsCSS.ts +33 -0
  211. package/src/animationsMotion.ts +122 -0
  212. package/src/animationsReactNative.ts +129 -0
  213. package/src/animationsReanimated.ts +117 -0
  214. package/src/config.ts +27 -0
  215. package/src/createGenericFont.ts +43 -0
  216. package/src/fonts.ts +96 -0
  217. package/src/index.reanimated.ts +10 -0
  218. package/src/index.tsx +16 -0
  219. package/src/media.ts +32 -0
  220. package/src/v3-animations.native.ts +1 -0
  221. package/src/v3-animations.ts +1 -0
  222. package/src/v3.ts +119 -0
  223. package/src/v4-animations.native.ts +1 -0
  224. package/src/v4-animations.ts +1 -0
  225. package/src/v4-fonts.ts +61 -0
  226. package/src/v4-media.ts +40 -0
  227. package/src/v4.ts +47 -0
  228. package/src/v5-base.ts +80 -0
  229. package/src/v5-css.native.ts +2 -0
  230. package/src/v5-css.ts +31 -0
  231. package/src/v5-fonts.ts +112 -0
  232. package/src/v5-media.ts +107 -0
  233. package/src/v5-motion.ts +109 -0
  234. package/src/v5-reanimated.ts +105 -0
  235. package/src/v5-rn.ts +115 -0
  236. package/src/v5-subtle.ts +4 -0
  237. package/src/v5.ts +7 -0
  238. package/tsconfig.json +65 -0
  239. package/types/animations.css.d.ts +10 -0
  240. package/types/animations.css.d.ts.map +1 -0
  241. package/types/animations.d.ts +67 -0
  242. package/types/animations.d.ts.map +1 -0
  243. package/types/animations.reanimated.d.ts +40 -0
  244. package/types/animations.reanimated.d.ts.map +1 -0
  245. package/types/animationsCSS.d.ts +28 -0
  246. package/types/animationsCSS.d.ts.map +1 -0
  247. package/types/animationsMotion.d.ts +121 -0
  248. package/types/animationsMotion.d.ts.map +1 -0
  249. package/types/animationsReactNative.d.ts +128 -0
  250. package/types/animationsReactNative.d.ts.map +1 -0
  251. package/types/animationsReanimated.d.ts +116 -0
  252. package/types/animationsReanimated.d.ts.map +1 -0
  253. package/types/config.d.ts +948 -0
  254. package/types/config.d.ts.map +1 -0
  255. package/types/createGenericFont.d.ts +24 -0
  256. package/types/createGenericFont.d.ts.map +1 -0
  257. package/types/fonts.d.ts +70 -0
  258. package/types/fonts.d.ts.map +1 -0
  259. package/types/index.d.ts +890 -0
  260. package/types/index.d.ts.map +1 -0
  261. package/types/index.reanimated.d.ts +990 -0
  262. package/types/index.reanimated.d.ts.map +1 -0
  263. package/types/media.d.ts +46 -0
  264. package/types/media.d.ts.map +1 -0
  265. package/types/v3-animations.d.ts +2 -0
  266. package/types/v3-animations.d.ts.map +1 -0
  267. package/types/v3-animations.native.d.ts +2 -0
  268. package/types/v3-animations.native.d.ts.map +1 -0
  269. package/types/v3.d.ts +993 -0
  270. package/types/v3.d.ts.map +1 -0
  271. package/types/v4-animations.d.ts +2 -0
  272. package/types/v4-animations.d.ts.map +1 -0
  273. package/types/v4-animations.native.d.ts +2 -0
  274. package/types/v4-animations.native.d.ts.map +1 -0
  275. package/types/v4-fonts.d.ts +31 -0
  276. package/types/v4-fonts.d.ts.map +1 -0
  277. package/types/v4-media.d.ts +63 -0
  278. package/types/v4-media.d.ts.map +1 -0
  279. package/types/v4.d.ts +283 -0
  280. package/types/v4.d.ts.map +1 -0
  281. package/types/v5-base.d.ts +62 -0
  282. package/types/v5-base.d.ts.map +1 -0
  283. package/types/v5-css.d.ts +49 -0
  284. package/types/v5-css.d.ts.map +1 -0
  285. package/types/v5-css.native.d.ts +2 -0
  286. package/types/v5-css.native.d.ts.map +1 -0
  287. package/types/v5-fonts.d.ts +32 -0
  288. package/types/v5-fonts.d.ts.map +1 -0
  289. package/types/v5-media.d.ts +135 -0
  290. package/types/v5-media.d.ts.map +1 -0
  291. package/types/v5-motion.d.ts +211 -0
  292. package/types/v5-motion.d.ts.map +1 -0
  293. package/types/v5-reanimated.d.ts +203 -0
  294. package/types/v5-reanimated.d.ts.map +1 -0
  295. package/types/v5-rn.d.ts +223 -0
  296. package/types/v5-rn.d.ts.map +1 -0
  297. package/types/v5-subtle.d.ts +3 -0
  298. package/types/v5-subtle.d.ts.map +1 -0
  299. package/types/v5.d.ts +3 -0
  300. package/types/v5.d.ts.map +1 -0
  301. package/v3/index.cjs +2 -0
  302. package/v3/index.js +2 -0
  303. package/v3/index.native.cjs +2 -0
  304. package/v3/index.native.js +2 -0
  305. package/v3.cjs +1 -0
  306. package/v3.d.ts +1 -0
  307. package/v4/index.cjs +2 -0
  308. package/v4/index.js +2 -0
  309. package/v4/index.native.cjs +2 -0
  310. package/v4/index.native.js +2 -0
  311. package/v4.cjs +1 -0
  312. package/v4.d.ts +1 -0
  313. package/v5/index.cjs +2 -0
  314. package/v5/index.js +2 -0
  315. package/v5/index.native.cjs +2 -0
  316. package/v5/index.native.js +2 -0
  317. package/v5-css/index.cjs +2 -0
  318. package/v5-css/index.js +2 -0
  319. package/v5-css/index.native.cjs +2 -0
  320. package/v5-css/index.native.js +2 -0
  321. package/v5-css.cjs +1 -0
  322. package/v5-css.d.ts +1 -0
  323. package/v5-motion/index.cjs +2 -0
  324. package/v5-motion/index.js +2 -0
  325. package/v5-motion/index.native.cjs +2 -0
  326. package/v5-motion/index.native.js +2 -0
  327. package/v5-motion.cjs +1 -0
  328. package/v5-motion.d.ts +1 -0
  329. package/v5-reanimated/index.cjs +2 -0
  330. package/v5-reanimated/index.js +2 -0
  331. package/v5-reanimated/index.native.cjs +2 -0
  332. package/v5-reanimated/index.native.js +2 -0
  333. package/v5-reanimated.cjs +1 -0
  334. package/v5-reanimated.d.ts +1 -0
  335. package/v5-rn/index.cjs +2 -0
  336. package/v5-rn/index.js +2 -0
  337. package/v5-rn/index.native.cjs +2 -0
  338. package/v5-rn/index.native.js +2 -0
  339. package/v5-rn.cjs +1 -0
  340. package/v5-rn.d.ts +1 -0
  341. package/v5-subtle/index.cjs +2 -0
  342. package/v5-subtle/index.js +2 -0
  343. package/v5-subtle/index.native.cjs +2 -0
  344. package/v5-subtle/index.native.js +2 -0
  345. package/v5-subtle.cjs +1 -0
  346. package/v5-subtle.d.ts +1 -0
  347. package/v5.cjs +1 -0
  348. package/v5.d.ts +1 -0
@@ -0,0 +1,143 @@
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("@hanzogui/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
+ });
@@ -0,0 +1,146 @@
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("@hanzogui/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
@@ -0,0 +1 @@
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":[]}
@@ -0,0 +1,47 @@
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("@hanzogui/shorthands");
29
+ var import_themes = require("@hanzogui/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
+ };
@@ -0,0 +1,52 @@
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("@hanzogui/shorthands");
31
+ var import_themes = require("@hanzogui/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
@@ -0,0 +1 @@
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":[]}
@@ -0,0 +1,63 @@
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("@hanzogui/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
+ }
@@ -0,0 +1,73 @@
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("@hanzogui/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
@@ -0,0 +1 @@
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":[]}
@@ -0,0 +1,115 @@
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 fonts_exports = {};
24
+ __export(fonts_exports, {
25
+ fonts: () => fonts
26
+ });
27
+ module.exports = __toCommonJS(fonts_exports);
28
+ var import_font_inter = require("@hanzogui/font-inter");
29
+ var import_font_silkscreen = require("@hanzogui/font-silkscreen");
30
+ var import_createGenericFont = require("./createGenericFont.cjs");
31
+ const silkscreenFont = (0, import_font_silkscreen.createSilkscreenFont)();
32
+ const headingFont = (0, import_font_inter.createInterFont)({
33
+ size: {
34
+ 5: 13,
35
+ 6: 15,
36
+ 9: 32,
37
+ 10: 44
38
+ },
39
+ transform: {
40
+ 6: "uppercase",
41
+ 7: "none"
42
+ },
43
+ weight: {
44
+ 6: "400",
45
+ 7: "700"
46
+ },
47
+ color: {
48
+ 6: "$colorFocus",
49
+ 7: "$color"
50
+ },
51
+ letterSpacing: {
52
+ 5: 2,
53
+ 6: 1,
54
+ 7: 0,
55
+ 8: 0,
56
+ 9: -1,
57
+ 10: -1.5,
58
+ 12: -2,
59
+ 14: -3,
60
+ 15: -4
61
+ },
62
+ // for native
63
+ face: {
64
+ 700: {
65
+ normal: "InterBold"
66
+ },
67
+ 800: {
68
+ normal: "InterBold"
69
+ },
70
+ 900: {
71
+ normal: "InterBold"
72
+ }
73
+ }
74
+ }, {
75
+ sizeLineHeight: size => Math.round(size * 1.1 + (size < 30 ? 10 : 5))
76
+ });
77
+ const bodyFont = (0, import_font_inter.createInterFont)({
78
+ weight: {
79
+ 1: "400"
80
+ }
81
+ }, {
82
+ sizeSize: size => Math.round(size),
83
+ sizeLineHeight: size => Math.round(size * 1.1 + (size >= 12 ? 8 : 4))
84
+ });
85
+ const monoFont = (0, import_createGenericFont.createGenericFont)(`"ui-monospace", "SFMono-Regular", "SF Mono", Menlo, Consolas, "Liberation Mono", monospace`, {
86
+ weight: {
87
+ 1: "500"
88
+ },
89
+ size: {
90
+ 1: 11,
91
+ 2: 12,
92
+ 3: 13,
93
+ 4: 14,
94
+ 5: 16,
95
+ 6: 18,
96
+ 7: 20,
97
+ 8: 22,
98
+ 9: 30,
99
+ 10: 42,
100
+ 11: 52,
101
+ 12: 62,
102
+ 13: 72,
103
+ 14: 92,
104
+ 15: 114,
105
+ 16: 124
106
+ }
107
+ }, {
108
+ sizeLineHeight: x => x * 1.5
109
+ });
110
+ const fonts = {
111
+ heading: headingFont,
112
+ body: bodyFont,
113
+ mono: monoFont,
114
+ silkscreen: silkscreenFont
115
+ };