react-native-mantine 0.1.11

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 (334) hide show
  1. package/LICENSE +20 -0
  2. package/README.md +28 -0
  3. package/lib/commonjs/components/ActionIcon/ActionIcon.js +71 -0
  4. package/lib/commonjs/components/ActionIcon/ActionIcon.js.map +1 -0
  5. package/lib/commonjs/components/ActionIcon/index.js +13 -0
  6. package/lib/commonjs/components/ActionIcon/index.js.map +1 -0
  7. package/lib/commonjs/components/BoxView/index.js +30 -0
  8. package/lib/commonjs/components/BoxView/index.js.map +1 -0
  9. package/lib/commonjs/components/Group/index.js +33 -0
  10. package/lib/commonjs/components/Group/index.js.map +1 -0
  11. package/lib/commonjs/components/Loader/Loader.js +42 -0
  12. package/lib/commonjs/components/Loader/Loader.js.map +1 -0
  13. package/lib/commonjs/components/Loader/index.js +13 -0
  14. package/lib/commonjs/components/Loader/index.js.map +1 -0
  15. package/lib/commonjs/components/Stack/index.js +30 -0
  16. package/lib/commonjs/components/Stack/index.js.map +1 -0
  17. package/lib/commonjs/components/Text/index.js +51 -0
  18. package/lib/commonjs/components/Text/index.js.map +1 -0
  19. package/lib/commonjs/components/UnstyledButton/UnstyledButton.js +42 -0
  20. package/lib/commonjs/components/UnstyledButton/UnstyledButton.js.map +1 -0
  21. package/lib/commonjs/components/UnstyledButton/UnstyledButton.styles.js +24 -0
  22. package/lib/commonjs/components/UnstyledButton/UnstyledButton.styles.js.map +1 -0
  23. package/lib/commonjs/components/UnstyledButton/index.js +13 -0
  24. package/lib/commonjs/components/UnstyledButton/index.js.map +1 -0
  25. package/lib/commonjs/components/index.js +72 -0
  26. package/lib/commonjs/components/index.js.map +1 -0
  27. package/lib/commonjs/fonts/Nunito-Bold.ttf +0 -0
  28. package/lib/commonjs/fonts/Nunito-Regular.ttf +0 -0
  29. package/lib/commonjs/fonts/Nunito-SemiBold.ttf +0 -0
  30. package/lib/commonjs/hooks/useCachedResources.js +36 -0
  31. package/lib/commonjs/hooks/useCachedResources.js.map +1 -0
  32. package/lib/commonjs/index.js +28 -0
  33. package/lib/commonjs/index.js.map +1 -0
  34. package/lib/commonjs/theme/constants.js +25 -0
  35. package/lib/commonjs/theme/constants.js.map +1 -0
  36. package/lib/commonjs/theme/create-styles.js +25 -0
  37. package/lib/commonjs/theme/create-styles.js.map +1 -0
  38. package/lib/commonjs/theme/default-theme.js +132 -0
  39. package/lib/commonjs/theme/default-theme.js.map +1 -0
  40. package/lib/commonjs/theme/filter-props.js +15 -0
  41. package/lib/commonjs/theme/filter-props.js.map +1 -0
  42. package/lib/commonjs/theme/functions/attach-functions.js +18 -0
  43. package/lib/commonjs/theme/functions/attach-functions.js.map +1 -0
  44. package/lib/commonjs/theme/functions/fns/index.js +15 -0
  45. package/lib/commonjs/theme/functions/fns/index.js.map +1 -0
  46. package/lib/commonjs/theme/functions/fns/radius.js +16 -0
  47. package/lib/commonjs/theme/functions/fns/radius.js.map +1 -0
  48. package/lib/commonjs/theme/functions/fns/theme-color/theme-color.js +12 -0
  49. package/lib/commonjs/theme/functions/fns/theme-color/theme-color.js.map +1 -0
  50. package/lib/commonjs/theme/functions/fns/variant.js +11 -0
  51. package/lib/commonjs/theme/functions/fns/variant.js.map +1 -0
  52. package/lib/commonjs/theme/generate-theme.js +30 -0
  53. package/lib/commonjs/theme/generate-theme.js.map +1 -0
  54. package/lib/commonjs/theme/get-size/index.js +16 -0
  55. package/lib/commonjs/theme/get-size/index.js.map +1 -0
  56. package/lib/commonjs/theme/index.js +46 -0
  57. package/lib/commonjs/theme/index.js.map +1 -0
  58. package/lib/commonjs/theme/theme-provider.js +106 -0
  59. package/lib/commonjs/theme/theme-provider.js.map +1 -0
  60. package/lib/commonjs/theme/theme.d.js +2 -0
  61. package/lib/commonjs/theme/theme.d.js.map +1 -0
  62. package/lib/commonjs/theme/types/ColorScheme.js +2 -0
  63. package/lib/commonjs/theme/types/ColorScheme.js.map +1 -0
  64. package/lib/commonjs/theme/types/DefaultProps.js +2 -0
  65. package/lib/commonjs/theme/types/DefaultProps.js.map +1 -0
  66. package/lib/commonjs/theme/types/MantineColor.js +6 -0
  67. package/lib/commonjs/theme/types/MantineColor.js.map +1 -0
  68. package/lib/commonjs/theme/types/MantineSize.js +2 -0
  69. package/lib/commonjs/theme/types/MantineSize.js.map +1 -0
  70. package/lib/commonjs/theme/types/MantineStyleSystem.js +6 -0
  71. package/lib/commonjs/theme/types/MantineStyleSystem.js.map +1 -0
  72. package/lib/commonjs/theme/types/Tuple.js +2 -0
  73. package/lib/commonjs/theme/types/Tuple.js.map +1 -0
  74. package/lib/commonjs/theme/types/Variants.js +2 -0
  75. package/lib/commonjs/theme/types/Variants.js.map +1 -0
  76. package/lib/commonjs/theme/types/index.js +2 -0
  77. package/lib/commonjs/theme/types/index.js.map +1 -0
  78. package/lib/module/components/ActionIcon/ActionIcon.js +66 -0
  79. package/lib/module/components/ActionIcon/ActionIcon.js.map +1 -0
  80. package/lib/module/components/ActionIcon/index.js +4 -0
  81. package/lib/module/components/ActionIcon/index.js.map +1 -0
  82. package/lib/module/components/BoxView/index.js +26 -0
  83. package/lib/module/components/BoxView/index.js.map +1 -0
  84. package/lib/module/components/Group/index.js +28 -0
  85. package/lib/module/components/Group/index.js.map +1 -0
  86. package/lib/module/components/Loader/Loader.js +38 -0
  87. package/lib/module/components/Loader/Loader.js.map +1 -0
  88. package/lib/module/components/Loader/index.js +4 -0
  89. package/lib/module/components/Loader/index.js.map +1 -0
  90. package/lib/module/components/Stack/index.js +25 -0
  91. package/lib/module/components/Stack/index.js.map +1 -0
  92. package/lib/module/components/Text/index.js +47 -0
  93. package/lib/module/components/Text/index.js.map +1 -0
  94. package/lib/module/components/UnstyledButton/UnstyledButton.js +35 -0
  95. package/lib/module/components/UnstyledButton/UnstyledButton.js.map +1 -0
  96. package/lib/module/components/UnstyledButton/UnstyledButton.styles.js +20 -0
  97. package/lib/module/components/UnstyledButton/UnstyledButton.styles.js.map +1 -0
  98. package/lib/module/components/UnstyledButton/index.js +4 -0
  99. package/lib/module/components/UnstyledButton/index.js.map +1 -0
  100. package/lib/module/components/index.js +9 -0
  101. package/lib/module/components/index.js.map +1 -0
  102. package/lib/module/fonts/Nunito-Bold.ttf +0 -0
  103. package/lib/module/fonts/Nunito-Regular.ttf +0 -0
  104. package/lib/module/fonts/Nunito-SemiBold.ttf +0 -0
  105. package/lib/module/hooks/useCachedResources.js +30 -0
  106. package/lib/module/hooks/useCachedResources.js.map +1 -0
  107. package/lib/module/index.js +5 -0
  108. package/lib/module/index.js.map +1 -0
  109. package/lib/module/theme/constants.js +21 -0
  110. package/lib/module/theme/constants.js.map +1 -0
  111. package/lib/module/theme/create-styles.js +21 -0
  112. package/lib/module/theme/create-styles.js.map +1 -0
  113. package/lib/module/theme/default-theme.js +128 -0
  114. package/lib/module/theme/default-theme.js.map +1 -0
  115. package/lib/module/theme/filter-props.js +11 -0
  116. package/lib/module/theme/filter-props.js.map +1 -0
  117. package/lib/module/theme/functions/attach-functions.js +14 -0
  118. package/lib/module/theme/functions/attach-functions.js.map +1 -0
  119. package/lib/module/theme/functions/fns/index.js +11 -0
  120. package/lib/module/theme/functions/fns/index.js.map +1 -0
  121. package/lib/module/theme/functions/fns/radius.js +12 -0
  122. package/lib/module/theme/functions/fns/radius.js.map +1 -0
  123. package/lib/module/theme/functions/fns/theme-color/theme-color.js +8 -0
  124. package/lib/module/theme/functions/fns/theme-color/theme-color.js.map +1 -0
  125. package/lib/module/theme/functions/fns/variant.js +6 -0
  126. package/lib/module/theme/functions/fns/variant.js.map +1 -0
  127. package/lib/module/theme/generate-theme.js +25 -0
  128. package/lib/module/theme/generate-theme.js.map +1 -0
  129. package/lib/module/theme/get-size/index.js +12 -0
  130. package/lib/module/theme/get-size/index.js.map +1 -0
  131. package/lib/module/theme/index.js +7 -0
  132. package/lib/module/theme/index.js.map +1 -0
  133. package/lib/module/theme/theme-provider.js +94 -0
  134. package/lib/module/theme/theme-provider.js.map +1 -0
  135. package/lib/module/theme/theme.d.js +2 -0
  136. package/lib/module/theme/theme.d.js.map +1 -0
  137. package/lib/module/theme/types/ColorScheme.js +2 -0
  138. package/lib/module/theme/types/ColorScheme.js.map +1 -0
  139. package/lib/module/theme/types/DefaultProps.js +2 -0
  140. package/lib/module/theme/types/DefaultProps.js.map +1 -0
  141. package/lib/module/theme/types/MantineColor.js +4 -0
  142. package/lib/module/theme/types/MantineColor.js.map +1 -0
  143. package/lib/module/theme/types/MantineSize.js +2 -0
  144. package/lib/module/theme/types/MantineSize.js.map +1 -0
  145. package/lib/module/theme/types/MantineStyleSystem.js +4 -0
  146. package/lib/module/theme/types/MantineStyleSystem.js.map +1 -0
  147. package/lib/module/theme/types/Tuple.js +2 -0
  148. package/lib/module/theme/types/Tuple.js.map +1 -0
  149. package/lib/module/theme/types/Variants.js +2 -0
  150. package/lib/module/theme/types/Variants.js.map +1 -0
  151. package/lib/module/theme/types/index.js +2 -0
  152. package/lib/module/theme/types/index.js.map +1 -0
  153. package/lib/typescript/commonjs/package.json +1 -0
  154. package/lib/typescript/commonjs/src/components/ActionIcon/ActionIcon.d.ts +17 -0
  155. package/lib/typescript/commonjs/src/components/ActionIcon/ActionIcon.d.ts.map +1 -0
  156. package/lib/typescript/commonjs/src/components/ActionIcon/index.d.ts +3 -0
  157. package/lib/typescript/commonjs/src/components/ActionIcon/index.d.ts.map +1 -0
  158. package/lib/typescript/commonjs/src/components/BoxView/index.d.ts +17 -0
  159. package/lib/typescript/commonjs/src/components/BoxView/index.d.ts.map +1 -0
  160. package/lib/typescript/commonjs/src/components/Group/index.d.ts +9 -0
  161. package/lib/typescript/commonjs/src/components/Group/index.d.ts.map +1 -0
  162. package/lib/typescript/commonjs/src/components/Loader/Loader.d.ts +14 -0
  163. package/lib/typescript/commonjs/src/components/Loader/Loader.d.ts.map +1 -0
  164. package/lib/typescript/commonjs/src/components/Loader/index.d.ts +3 -0
  165. package/lib/typescript/commonjs/src/components/Loader/index.d.ts.map +1 -0
  166. package/lib/typescript/commonjs/src/components/Stack/index.d.ts +6 -0
  167. package/lib/typescript/commonjs/src/components/Stack/index.d.ts.map +1 -0
  168. package/lib/typescript/commonjs/src/components/Text/index.d.ts +20 -0
  169. package/lib/typescript/commonjs/src/components/Text/index.d.ts.map +1 -0
  170. package/lib/typescript/commonjs/src/components/UnstyledButton/UnstyledButton.d.ts +10 -0
  171. package/lib/typescript/commonjs/src/components/UnstyledButton/UnstyledButton.d.ts.map +1 -0
  172. package/lib/typescript/commonjs/src/components/UnstyledButton/UnstyledButton.styles.d.ts +9 -0
  173. package/lib/typescript/commonjs/src/components/UnstyledButton/UnstyledButton.styles.d.ts.map +1 -0
  174. package/lib/typescript/commonjs/src/components/UnstyledButton/index.d.ts +3 -0
  175. package/lib/typescript/commonjs/src/components/UnstyledButton/index.d.ts.map +1 -0
  176. package/lib/typescript/commonjs/src/components/index.d.ts +7 -0
  177. package/lib/typescript/commonjs/src/components/index.d.ts.map +1 -0
  178. package/lib/typescript/commonjs/src/hooks/useCachedResources.d.ts +2 -0
  179. package/lib/typescript/commonjs/src/hooks/useCachedResources.d.ts.map +1 -0
  180. package/lib/typescript/commonjs/src/index.d.ts +5 -0
  181. package/lib/typescript/commonjs/src/index.d.ts.map +1 -0
  182. package/lib/typescript/commonjs/src/theme/constants.d.ts +13 -0
  183. package/lib/typescript/commonjs/src/theme/constants.d.ts.map +1 -0
  184. package/lib/typescript/commonjs/src/theme/create-styles.d.ts +12 -0
  185. package/lib/typescript/commonjs/src/theme/create-styles.d.ts.map +1 -0
  186. package/lib/typescript/commonjs/src/theme/default-theme.d.ts +58 -0
  187. package/lib/typescript/commonjs/src/theme/default-theme.d.ts.map +1 -0
  188. package/lib/typescript/commonjs/src/theme/filter-props.d.ts +6 -0
  189. package/lib/typescript/commonjs/src/theme/filter-props.d.ts.map +1 -0
  190. package/lib/typescript/commonjs/src/theme/functions/attach-functions.d.ts +2 -0
  191. package/lib/typescript/commonjs/src/theme/functions/attach-functions.d.ts.map +1 -0
  192. package/lib/typescript/commonjs/src/theme/functions/fns/index.d.ts +8 -0
  193. package/lib/typescript/commonjs/src/theme/functions/fns/index.d.ts.map +1 -0
  194. package/lib/typescript/commonjs/src/theme/functions/fns/radius.d.ts +3 -0
  195. package/lib/typescript/commonjs/src/theme/functions/fns/radius.d.ts.map +1 -0
  196. package/lib/typescript/commonjs/src/theme/functions/fns/theme-color/theme-color.d.ts +2 -0
  197. package/lib/typescript/commonjs/src/theme/functions/fns/theme-color/theme-color.d.ts.map +1 -0
  198. package/lib/typescript/commonjs/src/theme/functions/fns/variant.d.ts +2 -0
  199. package/lib/typescript/commonjs/src/theme/functions/fns/variant.d.ts.map +1 -0
  200. package/lib/typescript/commonjs/src/theme/generate-theme.d.ts +3 -0
  201. package/lib/typescript/commonjs/src/theme/generate-theme.d.ts.map +1 -0
  202. package/lib/typescript/commonjs/src/theme/get-size/index.d.ts +6 -0
  203. package/lib/typescript/commonjs/src/theme/get-size/index.d.ts.map +1 -0
  204. package/lib/typescript/commonjs/src/theme/index.d.ts +5 -0
  205. package/lib/typescript/commonjs/src/theme/index.d.ts.map +1 -0
  206. package/lib/typescript/commonjs/src/theme/theme-provider.d.ts +21 -0
  207. package/lib/typescript/commonjs/src/theme/theme-provider.d.ts.map +1 -0
  208. package/lib/typescript/commonjs/src/theme/types/ColorScheme.d.ts +2 -0
  209. package/lib/typescript/commonjs/src/theme/types/ColorScheme.d.ts.map +1 -0
  210. package/lib/typescript/commonjs/src/theme/types/DefaultProps.d.ts +8 -0
  211. package/lib/typescript/commonjs/src/theme/types/DefaultProps.d.ts.map +1 -0
  212. package/lib/typescript/commonjs/src/theme/types/MantineColor.d.ts +8 -0
  213. package/lib/typescript/commonjs/src/theme/types/MantineColor.d.ts.map +1 -0
  214. package/lib/typescript/commonjs/src/theme/types/MantineSize.d.ts +4 -0
  215. package/lib/typescript/commonjs/src/theme/types/MantineSize.d.ts.map +1 -0
  216. package/lib/typescript/commonjs/src/theme/types/MantineStyleSystem.d.ts +5 -0
  217. package/lib/typescript/commonjs/src/theme/types/MantineStyleSystem.d.ts.map +1 -0
  218. package/lib/typescript/commonjs/src/theme/types/Tuple.d.ts +4 -0
  219. package/lib/typescript/commonjs/src/theme/types/Tuple.d.ts.map +1 -0
  220. package/lib/typescript/commonjs/src/theme/types/Variants.d.ts +2 -0
  221. package/lib/typescript/commonjs/src/theme/types/Variants.d.ts.map +1 -0
  222. package/lib/typescript/commonjs/src/theme/types/index.d.ts +8 -0
  223. package/lib/typescript/commonjs/src/theme/types/index.d.ts.map +1 -0
  224. package/lib/typescript/module/package.json +1 -0
  225. package/lib/typescript/module/src/components/ActionIcon/ActionIcon.d.ts +17 -0
  226. package/lib/typescript/module/src/components/ActionIcon/ActionIcon.d.ts.map +1 -0
  227. package/lib/typescript/module/src/components/ActionIcon/index.d.ts +3 -0
  228. package/lib/typescript/module/src/components/ActionIcon/index.d.ts.map +1 -0
  229. package/lib/typescript/module/src/components/BoxView/index.d.ts +17 -0
  230. package/lib/typescript/module/src/components/BoxView/index.d.ts.map +1 -0
  231. package/lib/typescript/module/src/components/Group/index.d.ts +9 -0
  232. package/lib/typescript/module/src/components/Group/index.d.ts.map +1 -0
  233. package/lib/typescript/module/src/components/Loader/Loader.d.ts +14 -0
  234. package/lib/typescript/module/src/components/Loader/Loader.d.ts.map +1 -0
  235. package/lib/typescript/module/src/components/Loader/index.d.ts +3 -0
  236. package/lib/typescript/module/src/components/Loader/index.d.ts.map +1 -0
  237. package/lib/typescript/module/src/components/Stack/index.d.ts +6 -0
  238. package/lib/typescript/module/src/components/Stack/index.d.ts.map +1 -0
  239. package/lib/typescript/module/src/components/Text/index.d.ts +20 -0
  240. package/lib/typescript/module/src/components/Text/index.d.ts.map +1 -0
  241. package/lib/typescript/module/src/components/UnstyledButton/UnstyledButton.d.ts +10 -0
  242. package/lib/typescript/module/src/components/UnstyledButton/UnstyledButton.d.ts.map +1 -0
  243. package/lib/typescript/module/src/components/UnstyledButton/UnstyledButton.styles.d.ts +9 -0
  244. package/lib/typescript/module/src/components/UnstyledButton/UnstyledButton.styles.d.ts.map +1 -0
  245. package/lib/typescript/module/src/components/UnstyledButton/index.d.ts +3 -0
  246. package/lib/typescript/module/src/components/UnstyledButton/index.d.ts.map +1 -0
  247. package/lib/typescript/module/src/components/index.d.ts +7 -0
  248. package/lib/typescript/module/src/components/index.d.ts.map +1 -0
  249. package/lib/typescript/module/src/hooks/useCachedResources.d.ts +2 -0
  250. package/lib/typescript/module/src/hooks/useCachedResources.d.ts.map +1 -0
  251. package/lib/typescript/module/src/index.d.ts +5 -0
  252. package/lib/typescript/module/src/index.d.ts.map +1 -0
  253. package/lib/typescript/module/src/theme/constants.d.ts +13 -0
  254. package/lib/typescript/module/src/theme/constants.d.ts.map +1 -0
  255. package/lib/typescript/module/src/theme/create-styles.d.ts +12 -0
  256. package/lib/typescript/module/src/theme/create-styles.d.ts.map +1 -0
  257. package/lib/typescript/module/src/theme/default-theme.d.ts +58 -0
  258. package/lib/typescript/module/src/theme/default-theme.d.ts.map +1 -0
  259. package/lib/typescript/module/src/theme/filter-props.d.ts +6 -0
  260. package/lib/typescript/module/src/theme/filter-props.d.ts.map +1 -0
  261. package/lib/typescript/module/src/theme/functions/attach-functions.d.ts +2 -0
  262. package/lib/typescript/module/src/theme/functions/attach-functions.d.ts.map +1 -0
  263. package/lib/typescript/module/src/theme/functions/fns/index.d.ts +8 -0
  264. package/lib/typescript/module/src/theme/functions/fns/index.d.ts.map +1 -0
  265. package/lib/typescript/module/src/theme/functions/fns/radius.d.ts +3 -0
  266. package/lib/typescript/module/src/theme/functions/fns/radius.d.ts.map +1 -0
  267. package/lib/typescript/module/src/theme/functions/fns/theme-color/theme-color.d.ts +2 -0
  268. package/lib/typescript/module/src/theme/functions/fns/theme-color/theme-color.d.ts.map +1 -0
  269. package/lib/typescript/module/src/theme/functions/fns/variant.d.ts +2 -0
  270. package/lib/typescript/module/src/theme/functions/fns/variant.d.ts.map +1 -0
  271. package/lib/typescript/module/src/theme/generate-theme.d.ts +3 -0
  272. package/lib/typescript/module/src/theme/generate-theme.d.ts.map +1 -0
  273. package/lib/typescript/module/src/theme/get-size/index.d.ts +6 -0
  274. package/lib/typescript/module/src/theme/get-size/index.d.ts.map +1 -0
  275. package/lib/typescript/module/src/theme/index.d.ts +5 -0
  276. package/lib/typescript/module/src/theme/index.d.ts.map +1 -0
  277. package/lib/typescript/module/src/theme/theme-provider.d.ts +21 -0
  278. package/lib/typescript/module/src/theme/theme-provider.d.ts.map +1 -0
  279. package/lib/typescript/module/src/theme/types/ColorScheme.d.ts +2 -0
  280. package/lib/typescript/module/src/theme/types/ColorScheme.d.ts.map +1 -0
  281. package/lib/typescript/module/src/theme/types/DefaultProps.d.ts +8 -0
  282. package/lib/typescript/module/src/theme/types/DefaultProps.d.ts.map +1 -0
  283. package/lib/typescript/module/src/theme/types/MantineColor.d.ts +8 -0
  284. package/lib/typescript/module/src/theme/types/MantineColor.d.ts.map +1 -0
  285. package/lib/typescript/module/src/theme/types/MantineSize.d.ts +4 -0
  286. package/lib/typescript/module/src/theme/types/MantineSize.d.ts.map +1 -0
  287. package/lib/typescript/module/src/theme/types/MantineStyleSystem.d.ts +5 -0
  288. package/lib/typescript/module/src/theme/types/MantineStyleSystem.d.ts.map +1 -0
  289. package/lib/typescript/module/src/theme/types/Tuple.d.ts +4 -0
  290. package/lib/typescript/module/src/theme/types/Tuple.d.ts.map +1 -0
  291. package/lib/typescript/module/src/theme/types/Variants.d.ts +2 -0
  292. package/lib/typescript/module/src/theme/types/Variants.d.ts.map +1 -0
  293. package/lib/typescript/module/src/theme/types/index.d.ts +8 -0
  294. package/lib/typescript/module/src/theme/types/index.d.ts.map +1 -0
  295. package/package.json +194 -0
  296. package/src/components/ActionIcon/ActionIcon.tsx +64 -0
  297. package/src/components/ActionIcon/index.ts +3 -0
  298. package/src/components/BoxView/index.tsx +30 -0
  299. package/src/components/Group/index.tsx +48 -0
  300. package/src/components/Loader/Loader.tsx +50 -0
  301. package/src/components/Loader/index.ts +2 -0
  302. package/src/components/Stack/index.tsx +29 -0
  303. package/src/components/Text/index.tsx +81 -0
  304. package/src/components/UnstyledButton/UnstyledButton.styles.ts +16 -0
  305. package/src/components/UnstyledButton/UnstyledButton.tsx +34 -0
  306. package/src/components/UnstyledButton/index.ts +2 -0
  307. package/src/components/index.tsx +6 -0
  308. package/src/fonts/Nunito-Bold.ttf +0 -0
  309. package/src/fonts/Nunito-Regular.ttf +0 -0
  310. package/src/fonts/Nunito-SemiBold.ttf +0 -0
  311. package/src/hooks/useCachedResources.ts +30 -0
  312. package/src/index.tsx +4 -0
  313. package/src/theme/constants.ts +20 -0
  314. package/src/theme/create-styles.ts +31 -0
  315. package/src/theme/default-theme.ts +359 -0
  316. package/src/theme/filter-props.ts +12 -0
  317. package/src/theme/functions/attach-functions.ts +12 -0
  318. package/src/theme/functions/fns/index.ts +9 -0
  319. package/src/theme/functions/fns/radius.ts +16 -0
  320. package/src/theme/functions/fns/theme-color/theme-color.ts +6 -0
  321. package/src/theme/functions/fns/variant.ts +3 -0
  322. package/src/theme/generate-theme.ts +20 -0
  323. package/src/theme/get-size/index.ts +18 -0
  324. package/src/theme/index.tsx +4 -0
  325. package/src/theme/theme-provider.tsx +131 -0
  326. package/src/theme/theme.d.ts +13 -0
  327. package/src/theme/types/ColorScheme.ts +1 -0
  328. package/src/theme/types/DefaultProps.ts +13 -0
  329. package/src/theme/types/MantineColor.ts +28 -0
  330. package/src/theme/types/MantineSize.ts +3 -0
  331. package/src/theme/types/MantineStyleSystem.ts +62 -0
  332. package/src/theme/types/Tuple.ts +9 -0
  333. package/src/theme/types/Variants.ts +1 -0
  334. package/src/theme/types/index.ts +12 -0
@@ -0,0 +1,66 @@
1
+ "use strict";
2
+
3
+ import { isValidElement } from 'react';
4
+ import { TouchableOpacity } from 'react-native';
5
+ import { createStyles } from "../../theme/create-styles.js";
6
+ import { BoxView } from "../BoxView/index.js";
7
+ import { getSize } from "../../theme/index.js";
8
+ import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
9
+ export const ActionIcon = ({
10
+ onPress = () => {},
11
+ children,
12
+ icon,
13
+ minWidth = 100,
14
+ style,
15
+ size = 'md'
16
+ }) => {
17
+ const {
18
+ styles
19
+ } = useStyles({
20
+ minWidth,
21
+ size
22
+ });
23
+ return /*#__PURE__*/_jsx(TouchableOpacity, {
24
+ onPress: typeof onPress === 'function' ? onPress : () => {},
25
+ style: [style, styles.container],
26
+ children: /*#__PURE__*/_jsxs(_Fragment, {
27
+ children: [/*#__PURE__*/_jsx(BoxView, {
28
+ style: styles.containerButton,
29
+ children: icon
30
+ }), /*#__PURE__*/isValidElement(children) ? children : /*#__PURE__*/_jsx(_Fragment, {})]
31
+ })
32
+ });
33
+ };
34
+ export const sizes = {
35
+ xs: 18,
36
+ sm: 22,
37
+ md: 28,
38
+ lg: 34,
39
+ xl: 44
40
+ };
41
+ const useStyles = createStyles((theme, {
42
+ minWidth = 100,
43
+ size = 40
44
+ }) => {
45
+ return {
46
+ container: {
47
+ alignItems: 'center',
48
+ minWidth: minWidth
49
+ },
50
+ containerButton: {
51
+ backgroundColor: theme.currentMode === 'dark' ? theme.primaryBgColor : theme.secondaryBgColor,
52
+ borderRadius: 50,
53
+ alignItems: 'center',
54
+ justifyContent: 'center',
55
+ height: getSize({
56
+ size: size,
57
+ sizes
58
+ }),
59
+ width: getSize({
60
+ size: size,
61
+ sizes
62
+ })
63
+ }
64
+ };
65
+ });
66
+ //# sourceMappingURL=ActionIcon.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["isValidElement","TouchableOpacity","createStyles","BoxView","getSize","jsx","_jsx","Fragment","_Fragment","jsxs","_jsxs","ActionIcon","onPress","children","icon","minWidth","style","size","styles","useStyles","container","containerButton","sizes","xs","sm","md","lg","xl","theme","alignItems","backgroundColor","currentMode","primaryBgColor","secondaryBgColor","borderRadius","justifyContent","height","width"],"sourceRoot":"../../../../src","sources":["components/ActionIcon/ActionIcon.tsx"],"mappings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AAG,GAAG;EAAEE,IAAI,GAAG;AAAG,CAAC,KAAK;EACvE,OAAO;IACLG,SAAS,EAAE;MACTS,UAAU,EAAE,QAAQ;MACpBd,QAAQ,EAAEA;IACZ,CAAC;IACDM,eAAe,EAAE;MACfS,eAAe,EACbF,KAAK,CAACG,WAAW,KAAK,MAAM,GACxBH,KAAK,CAACI,cAAc,GACpBJ,KAAK,CAACK,gBAAgB;MAC5BC,YAAY,EAAE,EAAE;MAChBL,UAAU,EAAE,QAAQ;MACpBM,cAAc,EAAE,QAAQ;MACxBC,MAAM,EAAEhC,OAAO,CAAC;QAAEa,IAAI,EAAEA,IAAI;QAAEK;MAAM,CAAC,CAAC;MACtCe,KAAK,EAAEjC,OAAO,CAAC;QAAEa,IAAI,EAAEA,IAAI;QAAEK;MAAM,CAAC;IACtC;EACF,CAAC;AACH,CAAC,CAAC","ignoreList":[]}
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+
3
+ export { ActionIcon } from "./ActionIcon.js";
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["ActionIcon"],"sourceRoot":"../../../../src","sources":["components/ActionIcon/index.ts"],"mappings":";;AAAA,SAASA,UAAU,QAAQ,iBAAc","ignoreList":[]}
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+
3
+ import { forwardRef } from 'react';
4
+ import { View as DefaultView } from 'react-native';
5
+ import { jsx as _jsx } from "react/jsx-runtime";
6
+ export const BoxView = /*#__PURE__*/forwardRef((props, ref) => {
7
+ const {
8
+ style,
9
+ fullWidth,
10
+ fullHeight,
11
+ ...otherProps
12
+ } = props;
13
+ return /*#__PURE__*/_jsx(DefaultView, {
14
+ style: [style, {
15
+ ...(fullWidth ? {
16
+ width: '100%'
17
+ } : {}),
18
+ ...(fullHeight ? {
19
+ height: '100%'
20
+ } : {})
21
+ }],
22
+ ref: ref,
23
+ ...otherProps
24
+ });
25
+ });
26
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["forwardRef","View","DefaultView","jsx","_jsx","BoxView","props","ref","style","fullWidth","fullHeight","otherProps","width","height"],"sourceRoot":"../../../../src","sources":["components/BoxView/index.tsx"],"mappings":";;AAAA,SAASA,UAAU,QAAQ,OAAO;AAClC,SAASC,IAAI,IAAIC,WAAW,QAAQ,cAAc;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAanD,OAAO,MAAMC,OAAO,gBAAGL,UAAU,CAAC,CAACM,KAAgB,EAAEC,GAAQ,KAAK;EAChE,MAAM;IAAEC,KAAK;IAAEC,SAAS;IAAEC,UAAU;IAAE,GAAGC;EAAW,CAAC,GAAGL,KAAK;EAC7D,oBACEF,IAAA,CAACF,WAAW;IACVM,KAAK,EAAE,CACLA,KAAK,EACL;MACE,IAAIC,SAAS,GAAG;QAAEG,KAAK,EAAE;MAAO,CAAC,GAAG,CAAC,CAAC,CAAC;MACvC,IAAIF,UAAU,GAAG;QAAEG,MAAM,EAAE;MAAO,CAAC,GAAG,CAAC,CAAC;IAC1C,CAAC,CACD;IACFN,GAAG,EAAEA,GAAI;IAAA,GACLI;EAAU,CACf,CAAC;AAEN,CAAC,CAAC","ignoreList":[]}
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+
3
+ import { BoxView } from "../BoxView/index.js";
4
+ import { jsx as _jsx } from "react/jsx-runtime";
5
+ export const Group = ({
6
+ children,
7
+ position,
8
+ style,
9
+ alignCenter = true,
10
+ alignBottom = false,
11
+ noWrap = false,
12
+ spacing = 5,
13
+ ...rest
14
+ }) => {
15
+ return /*#__PURE__*/_jsx(BoxView, {
16
+ style: {
17
+ gap: spacing,
18
+ flexDirection: 'row',
19
+ justifyContent: position === 'apart' ? 'space-between' : position === 'center' ? 'center' : position === 'right' ? 'flex-end' : 'flex-start',
20
+ flexWrap: noWrap ? 'nowrap' : 'wrap',
21
+ alignItems: alignCenter ? 'center' : alignBottom ? 'flex-end' : 'flex-start',
22
+ ...style
23
+ },
24
+ ...rest,
25
+ children: children
26
+ });
27
+ };
28
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["BoxView","jsx","_jsx","Group","children","position","style","alignCenter","alignBottom","noWrap","spacing","rest","gap","flexDirection","justifyContent","flexWrap","alignItems"],"sourceRoot":"../../../../src","sources":["components/Group/index.tsx"],"mappings":";;AAEA,SAASA,OAAO,QAAQ,qBAAY;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAGrC,OAAO,MAAMC,KAAK,GAAGA,CAAC;EACpBC,QAAQ;EACRC,QAAQ;EACRC,KAAK;EACLC,WAAW,GAAG,IAAI;EAClBC,WAAW,GAAG,KAAK;EACnBC,MAAM,GAAG,KAAK;EACdC,OAAO,GAAG,CAAC;EACX,GAAGC;AAOL,CAAC,KAAyB;EACxB,oBACET,IAAA,CAACF,OAAO;IACNM,KAAK,EAAE;MACLM,GAAG,EAAEF,OAAO;MACZG,aAAa,EAAE,KAAK;MACpBC,cAAc,EACZT,QAAQ,KAAK,OAAO,GAChB,eAAe,GACfA,QAAQ,KAAK,QAAQ,GACnB,QAAQ,GACRA,QAAQ,KAAK,OAAO,GAClB,UAAU,GACV,YAAY;MACtBU,QAAQ,EAAEN,MAAM,GAAG,QAAQ,GAAG,MAAM;MACpCO,UAAU,EAAET,WAAW,GACnB,QAAQ,GACRC,WAAW,GACT,UAAU,GACV,YAAY;MAClB,GAAIF;IACN,CAAE;IAAA,GACEK,IAAI;IAAAP,QAAA,EAEPA;EAAQ,CACF,CAAC;AAEd,CAAC","ignoreList":[]}
@@ -0,0 +1,38 @@
1
+ "use strict";
2
+
3
+ import { ActivityIndicator } from 'react-native';
4
+ import { useComponentDefaultProps } from "../../theme/theme-provider.js";
5
+
6
+ // const sizes = {
7
+ // xs: 18,
8
+ // sm: 22,
9
+ // md: 36,
10
+ // lg: 44,
11
+ // xl: 58,
12
+ // };
13
+ import { jsx as _jsx } from "react/jsx-runtime";
14
+ const defaultProps = {
15
+ size: 'md'
16
+ };
17
+ export function Loader(props) {
18
+ const {
19
+ size,
20
+ color,
21
+ variant,
22
+ ...others
23
+ } = useComponentDefaultProps('Loader', defaultProps, props);
24
+ return /*#__PURE__*/_jsx(ActivityIndicator
25
+ // size={getSize({ size, sizes })}
26
+ // color={
27
+ // theme.fn.variant({
28
+ // variant: 'filled',
29
+ // primaryFallback: false,
30
+ // color: color || theme.primaryColor,
31
+ // }).background
32
+ // }
33
+ , {
34
+ ...others
35
+ });
36
+ }
37
+ Loader.displayName = '@mantine/core/Loader';
38
+ //# sourceMappingURL=Loader.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["ActivityIndicator","useComponentDefaultProps","jsx","_jsx","defaultProps","size","Loader","props","color","variant","others","displayName"],"sourceRoot":"../../../../src","sources":["components/Loader/Loader.tsx"],"mappings":";;AAAA,SAASA,iBAAiB,QAAQ,cAAc;AAGhD,SAASC,wBAAwB,QAAQ,+BAA4B;;AAErE;AACA;AACA;AACA;AACA;AACA;AACA;AAAA,SAAAC,GAAA,IAAAC,IAAA;AAaA,MAAMC,YAAkC,GAAG;EACzCC,IAAI,EAAE;AACR,CAAC;AAED,OAAO,SAASC,MAAMA,CAACC,KAAkB,EAAE;EACzC,MAAM;IAAEF,IAAI;IAAEG,KAAK;IAAEC,OAAO;IAAE,GAAGC;EAAO,CAAC,GAAGT,wBAAwB,CAClE,QAAQ,EACRG,YAAY,EACZG,KACF,CAAC;EACD,oBACEJ,IAAA,CAACH;EACC;EACA;EACA;EACA;EACA;EACA;EACA;EACA;EAAA;IAAA,GACIU;EAAM,CACX,CAAC;AAEN;AAEAJ,MAAM,CAACK,WAAW,GAAG,sBAAsB","ignoreList":[]}
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+
3
+ export { Loader } from "./Loader.js";
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["Loader"],"sourceRoot":"../../../../src","sources":["components/Loader/index.ts"],"mappings":";;AAAA,SAASA,MAAM,QAAQ,aAAU","ignoreList":[]}
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+
3
+ import { BoxView } from "../BoxView/index.js";
4
+ import { jsx as _jsx } from "react/jsx-runtime";
5
+ export const Stack = ({
6
+ children,
7
+ position,
8
+ style,
9
+ spacing = 15,
10
+ ...rest
11
+ }) => {
12
+ return /*#__PURE__*/_jsx(BoxView, {
13
+ style: {
14
+ gap: spacing,
15
+ flexDirection: 'column',
16
+ ...(position === 'center' ? {
17
+ alignItems: 'center'
18
+ } : {}),
19
+ ...style
20
+ },
21
+ ...rest,
22
+ children: children
23
+ });
24
+ };
25
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["BoxView","jsx","_jsx","Stack","children","position","style","spacing","rest","gap","flexDirection","alignItems"],"sourceRoot":"../../../../src","sources":["components/Stack/index.tsx"],"mappings":";;AAEA,SAASA,OAAO,QAAQ,qBAAY;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAGrC,OAAO,MAAMC,KAAK,GAAGA,CAAC;EACpBC,QAAQ;EACRC,QAAQ;EACRC,KAAK;EACLC,OAAO,GAAG,EAAE;EACZ,GAAGC;AAIL,CAAC,KAAyB;EACxB,oBACEN,IAAA,CAACF,OAAO;IACNM,KAAK,EAAE;MACLG,GAAG,EAAEF,OAAO;MACZG,aAAa,EAAE,QAAQ;MACvB,IAAIL,QAAQ,KAAK,QAAQ,GAAG;QAAEM,UAAU,EAAE;MAAS,CAAC,GAAG,CAAC,CAAC,CAAC;MAC1D,GAAIL;IACN,CAAE;IAAA,GACEE,IAAI;IAAAJ,QAAA,EAEPA;EAAQ,CACF,CAAC;AAEd,CAAC","ignoreList":[]}
@@ -0,0 +1,47 @@
1
+ "use strict";
2
+
3
+ import { useTheme } from "../../theme/theme-provider.js";
4
+ import { get } from 'lodash-es';
5
+ import { forwardRef } from 'react';
6
+ import { Text as DefaultText } from 'react-native';
7
+ import { jsx as _jsx } from "react/jsx-runtime";
8
+ const propToColor = (color, colors, primaryShade) => {
9
+ const colorExistOnPalette = get(colors, `${color}.${primaryShade}`, '');
10
+ if (colorExistOnPalette) {
11
+ return colorExistOnPalette;
12
+ }
13
+ return color;
14
+ };
15
+ export const Text = /*#__PURE__*/forwardRef((props, ref) => {
16
+ const {
17
+ style,
18
+ color,
19
+ white,
20
+ size = 'md',
21
+ bold = false,
22
+ questrial = false,
23
+ semiBold = false,
24
+ fontSize,
25
+ ...otherProps
26
+ } = props;
27
+ const {
28
+ fontFamily,
29
+ fontFamilyBold,
30
+ fontFamilySemiBold,
31
+ colors,
32
+ primaryShade,
33
+ fontSizes,
34
+ light
35
+ } = useTheme();
36
+ return /*#__PURE__*/_jsx(DefaultText, {
37
+ ref: ref,
38
+ style: [{
39
+ fontFamily: semiBold ? fontFamilySemiBold : bold ? fontFamilyBold : questrial ? 'Questrial' : fontFamily,
40
+ fontWeight: bold ? '900' : '300',
41
+ fontSize: fontSize ? fontSize : get(fontSizes, size, 16),
42
+ color: white ? 'white' : color ? propToColor(color, colors, primaryShade) : light.text
43
+ }, style],
44
+ ...otherProps
45
+ });
46
+ });
47
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["useTheme","get","forwardRef","Text","DefaultText","jsx","_jsx","propToColor","color","colors","primaryShade","colorExistOnPalette","props","ref","style","white","size","bold","questrial","semiBold","fontSize","otherProps","fontFamily","fontFamilyBold","fontFamilySemiBold","fontSizes","light","fontWeight","text"],"sourceRoot":"../../../../src","sources":["components/Text/index.tsx"],"mappings":";;AAAA,SAASA,QAAQ,QAAQ,+BAA4B;AAErD,SAASC,GAAG,QAAQ,WAAW;AAC/B,SAASC,UAAU,QAAQ,OAAO;AAClC,SAASC,IAAI,IAAIC,WAAW,QAAQ,cAAc;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAYnD,MAAMC,WAAW,GAAGA,CAClBC,KAAa,EACbC,MAAkC,EAClCC,YAAoB,KACT;EACX,MAAMC,mBAAmB,GAAGV,GAAG,CAC7BQ,MAAM,EACN,GAAGD,KAAK,IAAIE,YAAY,EAAE,EAC1B,EACF,CAAW;EACX,IAAIC,mBAAmB,EAAE;IACvB,OAAOA,mBAAmB;EAC5B;EACA,OAAOH,KAAK;AACd,CAAC;AAED,OAAO,MAAML,IAAI,gBAAGD,UAAU,CAAC,CAACU,KAAgB,EAAEC,GAAQ,KAAK;EAC7D,MAAM;IACJC,KAAK;IACLN,KAAK;IACLO,KAAK;IACLC,IAAI,GAAG,IAAI;IACXC,IAAI,GAAG,KAAK;IACZC,SAAS,GAAG,KAAK;IACjBC,QAAQ,GAAG,KAAK;IAChBC,QAAQ;IACR,GAAGC;EACL,CAAC,GAAGT,KAAK;EAET,MAAM;IACJU,UAAU;IACVC,cAAc;IACdC,kBAAkB;IAClBf,MAAM;IACNC,YAAY;IACZe,SAAS;IACTC;EACF,CAAC,GAAG1B,QAAQ,CAAC,CAAC;EAEd,oBACEM,IAAA,CAACF,WAAW;IACVS,GAAG,EAAEA,GAAI;IACTC,KAAK,EAAE,CACL;MACEQ,UAAU,EAAEH,QAAQ,GAChBK,kBAAkB,GAClBP,IAAI,GACFM,cAAc,GACdL,SAAS,GACP,WAAW,GACXI,UAAU;MAClBK,UAAU,EAAEV,IAAI,GAAG,KAAK,GAAG,KAAK;MAChCG,QAAQ,EAAEA,QAAQ,GAAGA,QAAQ,GAAGnB,GAAG,CAACwB,SAAS,EAAET,IAAI,EAAE,EAAE,CAAC;MACxDR,KAAK,EAAEO,KAAK,GACR,OAAO,GACPP,KAAK,GACHD,WAAW,CAACC,KAAK,EAAEC,MAAM,EAAEC,YAAY,CAAC,GACxCgB,KAAK,CAACE;IACd,CAAC,EACDd,KAAK,CACL;IAAA,GACEO;EAAU,CACf,CAAC;AAEN,CAAC,CAAC","ignoreList":[]}
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+
3
+ import React, { forwardRef } from 'react';
4
+ import { BoxView } from "../BoxView/index.js";
5
+ import useStyles from "./UnstyledButton.styles.js";
6
+ import { TouchableOpacity } from 'react-native';
7
+ import { useComponentDefaultProps } from "../../theme/theme-provider.js";
8
+ import { Text } from "../Text/index.js";
9
+ import { jsx as _jsx } from "react/jsx-runtime";
10
+ export const UnstyledButton = /*#__PURE__*/forwardRef((props, ref) => {
11
+ const {
12
+ variant,
13
+ style,
14
+ children,
15
+ onPress,
16
+ ...others
17
+ } = useComponentDefaultProps('UnstyledButton', {}, props);
18
+ const {
19
+ styles
20
+ } = useStyles({
21
+ variant
22
+ });
23
+ return /*#__PURE__*/_jsx(TouchableOpacity, {
24
+ onPress: typeof onPress === 'function' ? onPress : () => {},
25
+ children: /*#__PURE__*/_jsx(BoxView, {
26
+ ref: ref,
27
+ style: [styles.root, style],
28
+ ...others,
29
+ children: /*#__PURE__*/_jsx(Text, {
30
+ children: children
31
+ })
32
+ })
33
+ });
34
+ });
35
+ //# sourceMappingURL=UnstyledButton.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","forwardRef","BoxView","useStyles","TouchableOpacity","useComponentDefaultProps","Text","jsx","_jsx","UnstyledButton","props","ref","variant","style","children","onPress","others","styles","root"],"sourceRoot":"../../../../src","sources":["components/UnstyledButton/UnstyledButton.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,UAAU,QAAQ,OAAO;AACzC,SAASC,OAAO,QAAQ,qBAAY;AACpC,OAAOC,SAAS,MAAM,4BAAyB;AAC/C,SAASC,gBAAgB,QAAQ,cAAc;AAC/C,SAASC,wBAAwB,QAAQ,+BAA4B;AACrE,SAASC,IAAI,QAAQ,kBAAS;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAQ/B,OAAO,MAAMC,cAAc,gBAAGR,UAAU,CAGtC,CAACS,KAAK,EAAEC,GAAG,KAAK;EAChB,MAAM;IAAEC,OAAO;IAAEC,KAAK;IAAEC,QAAQ;IAAEC,OAAO;IAAE,GAAGC;EAAO,CAAC,GACpDX,wBAAwB,CAAC,gBAAgB,EAAE,CAAC,CAAC,EAAEK,KAAK,CAAC;EAEvD,MAAM;IAAEO;EAAO,CAAC,GAAGd,SAAS,CAAC;IAC3BS;EACF,CAAC,CAAC;EAEF,oBACEJ,IAAA,CAACJ,gBAAgB;IACfW,OAAO,EAAE,OAAOA,OAAO,KAAK,UAAU,GAAGA,OAAO,GAAG,MAAM,CAAC,CAAE;IAAAD,QAAA,eAE5DN,IAAA,CAACN,OAAO;MAACS,GAAG,EAAEA,GAAI;MAACE,KAAK,EAAE,CAACI,MAAM,CAACC,IAAI,EAAEL,KAAK,CAAE;MAAA,GAAKG,MAAM;MAAAF,QAAA,eACxDN,IAAA,CAACF,IAAI;QAAAQ,QAAA,EAAEA;MAAQ,CAAO;IAAC,CAChB;EAAC,CACM,CAAC;AAEvB,CAAC,CAAC","ignoreList":[]}
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+
3
+ import { createStyles } from "../../theme/index.js";
4
+ export default createStyles((theme, {
5
+ variant
6
+ }) => ({
7
+ root: {
8
+ cursor: 'pointer',
9
+ border: 0,
10
+ padding: 0,
11
+ appearance: 'none',
12
+ fontSize: theme.fontSizes.md,
13
+ textAlign: 'left',
14
+ color: theme.light.text,
15
+ textDecoration: 'none',
16
+ boxSizing: 'border-box',
17
+ backgroundColor: variant === 'transparent' ? 'transparent' : theme.light.background
18
+ }
19
+ }));
20
+ //# sourceMappingURL=UnstyledButton.styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["createStyles","theme","variant","root","cursor","border","padding","appearance","fontSize","fontSizes","md","textAlign","color","light","text","textDecoration","boxSizing","backgroundColor","background"],"sourceRoot":"../../../../src","sources":["components/UnstyledButton/UnstyledButton.styles.ts"],"mappings":";;AAAA,SAASA,YAAY,QAAQ,sBAAa;AAE1C,eAAeA,YAAY,CAAC,CAACC,KAAK,EAAE;EAACC;AAAO,CAAC,MAAO;EAClDC,IAAI,EAAE;IACJC,MAAM,EAAE,SAAS;IACjBC,MAAM,EAAE,CAAC;IACTC,OAAO,EAAE,CAAC;IACVC,UAAU,EAAE,MAAM;IAClBC,QAAQ,EAAEP,KAAK,CAACQ,SAAS,CAACC,EAAE;IAC5BC,SAAS,EAAE,MAAM;IACjBC,KAAK,EAAEX,KAAK,CAACY,KAAK,CAACC,IAAI;IACvBC,cAAc,EAAE,MAAM;IACtBC,SAAS,EAAE,YAAY;IACvBC,eAAe,EAAEf,OAAO,KAAK,aAAa,GAAG,aAAa,GAAGD,KAAK,CAACY,KAAK,CAACK;EAC3E;AACF,CAAC,CAAC,CAAC","ignoreList":[]}
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+
3
+ export { UnstyledButton } from "./UnstyledButton.js";
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["UnstyledButton"],"sourceRoot":"../../../../src","sources":["components/UnstyledButton/index.ts"],"mappings":";;AAAA,SAASA,cAAc,QAAQ,qBAAkB","ignoreList":[]}
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+
3
+ export * from "./BoxView/index.js";
4
+ export * from "./Group/index.js";
5
+ export * from "./Stack/index.js";
6
+ export * from "./Text/index.js";
7
+ export * from "./UnstyledButton/index.js";
8
+ export * from "./ActionIcon/index.js";
9
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../../src","sources":["components/index.tsx"],"mappings":";;AAAA,cAAc,oBAAW;AACzB,cAAc,kBAAS;AACvB,cAAc,kBAAS;AACvB,cAAc,iBAAQ;AACtB,cAAc,2BAAkB;AAChC,cAAc,uBAAc","ignoreList":[]}
Binary file
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+
3
+ import * as Font from 'expo-font';
4
+ import { useEffect, useState } from 'react';
5
+ export default function useCachedResources() {
6
+ const [isLoadingComplete, setLoadingComplete] = useState(false);
7
+
8
+ // Load any resources or data that we need prior to rendering the app
9
+ useEffect(() => {
10
+ async function loadResourcesAndDataAsync() {
11
+ try {
12
+ // SplashScreen.preventAutoHideAsync()
13
+ // Load fonts
14
+ await Font.loadAsync({
15
+ Nunito: require('../fonts/Nunito-Regular.ttf'),
16
+ 'Nunito Bold': require('../fonts/Nunito-Bold.ttf'),
17
+ 'Nunito SemiBold': require('../fonts/Nunito-SemiBold.ttf')
18
+ });
19
+ } catch (e) {
20
+ // We might want to provide this error information to an error reporting service
21
+ // console.warn(e)
22
+ } finally {
23
+ setLoadingComplete(true);
24
+ }
25
+ }
26
+ loadResourcesAndDataAsync();
27
+ }, []);
28
+ return isLoadingComplete;
29
+ }
30
+ //# sourceMappingURL=useCachedResources.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["Font","useEffect","useState","useCachedResources","isLoadingComplete","setLoadingComplete","loadResourcesAndDataAsync","loadAsync","Nunito","require","e"],"sourceRoot":"../../../src","sources":["hooks/useCachedResources.ts"],"mappings":";;AAAA,OAAO,KAAKA,IAAI,MAAM,WAAW;AACjC,SAASC,SAAS,EAAEC,QAAQ,QAAQ,OAAO;AAE3C,eAAe,SAASC,kBAAkBA,CAAA,EAAY;EACpD,MAAM,CAACC,iBAAiB,EAAEC,kBAAkB,CAAC,GAAGH,QAAQ,CAAC,KAAK,CAAC;;EAE/D;EACAD,SAAS,CAAC,MAAM;IACd,eAAeK,yBAAyBA,CAAA,EAAkB;MACxD,IAAI;QACF;QACA;QACA,MAAMN,IAAI,CAACO,SAAS,CAAC;UACnBC,MAAM,EAAEC,OAAO,CAAC,6BAA6B,CAAC;UAC9C,aAAa,EAAEA,OAAO,CAAC,0BAA0B,CAAC;UAClD,iBAAiB,EAAEA,OAAO,CAAC,8BAA8B;QAC3D,CAAC,CAAC;MACJ,CAAC,CAAC,OAAOC,CAAC,EAAE;QACV;QACA;MAAA,CACD,SAAS;QACRL,kBAAkB,CAAC,IAAI,CAAC;MAC1B;IACF;IAEAC,yBAAyB,CAAC,CAAC;EAC7B,CAAC,EAAE,EAAE,CAAC;EAEN,OAAOF,iBAAiB;AAC1B","ignoreList":[]}
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+
3
+ export * from "./theme/index.js";
4
+ export * from "./components/index.js";
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../src","sources":["index.tsx"],"mappings":";;AAAA,cAAc,kBAAS;AACvB,cAAc,uBAAc","ignoreList":[]}
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+
3
+ import { Dimensions } from 'react-native';
4
+ const width = Dimensions.get('window').width;
5
+ const height = Dimensions.get('window').height;
6
+ const deviceWidth = Dimensions.get('screen').width;
7
+ const deviceHeight = Dimensions.get('screen').height;
8
+ const bottomNavBarHeight = deviceHeight - height;
9
+ export const Layout = {
10
+ window: {
11
+ width,
12
+ height
13
+ },
14
+ screen: {
15
+ width: deviceWidth,
16
+ height: deviceHeight
17
+ },
18
+ bottomNavBarHeight: bottomNavBarHeight ? bottomNavBarHeight : 0,
19
+ isSmallDevice: width <= 375
20
+ };
21
+ //# sourceMappingURL=constants.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["Dimensions","width","get","height","deviceWidth","deviceHeight","bottomNavBarHeight","Layout","window","screen","isSmallDevice"],"sourceRoot":"../../../src","sources":["theme/constants.ts"],"mappings":";;AAAA,SAASA,UAAU,QAAQ,cAAc;AAEzC,MAAMC,KAAK,GAAGD,UAAU,CAACE,GAAG,CAAC,QAAQ,CAAC,CAACD,KAAK;AAC5C,MAAME,MAAM,GAAGH,UAAU,CAACE,GAAG,CAAC,QAAQ,CAAC,CAACC,MAAM;AAC9C,MAAMC,WAAW,GAAGJ,UAAU,CAACE,GAAG,CAAC,QAAQ,CAAC,CAACD,KAAK;AAClD,MAAMI,YAAY,GAAGL,UAAU,CAACE,GAAG,CAAC,QAAQ,CAAC,CAACC,MAAM;AACpD,MAAMG,kBAAkB,GAAGD,YAAY,GAAGF,MAAM;AAEhD,OAAO,MAAMI,MAAM,GAAG;EACpBC,MAAM,EAAE;IACNP,KAAK;IACLE;EACF,CAAC;EACDM,MAAM,EAAE;IACNR,KAAK,EAAEG,WAAW;IAClBD,MAAM,EAAEE;EACV,CAAC;EACDC,kBAAkB,EAAEA,kBAAkB,GAAGA,kBAAkB,GAAG,CAAC;EAC/DI,aAAa,EAAET,KAAK,IAAI;AAC1B,CAAC","ignoreList":[]}
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+
3
+ import { StyleSheet } from 'react-native';
4
+ import { useTheme } from "./theme-provider.js";
5
+ export function createStyles(input) {
6
+ const getStyleObject = typeof input === 'function' ? input : () => input;
7
+ function useStyles(params) {
8
+ const theme = useTheme();
9
+ const styleObject = getStyleObject(theme, params);
10
+ const sx = (...args) => {
11
+ return args;
12
+ };
13
+ return {
14
+ styles: StyleSheet.create(styleObject),
15
+ theme,
16
+ sx
17
+ };
18
+ }
19
+ return useStyles;
20
+ }
21
+ //# sourceMappingURL=create-styles.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["StyleSheet","useTheme","createStyles","input","getStyleObject","useStyles","params","theme","styleObject","sx","args","styles","create"],"sourceRoot":"../../../src","sources":["theme/create-styles.ts"],"mappings":";;AAEA,SAASA,UAAU,QAAQ,cAAc;AAEzC,SAASC,QAAQ,QAAQ,qBAAkB;AAQ3C,OAAO,SAASC,YAAYA,CAC1BC,KAAqD,EACrD;EACA,MAAMC,cAAc,GAAG,OAAOD,KAAK,KAAK,UAAU,GAAGA,KAAK,GAAG,MAAMA,KAAK;EACxE,SAASE,SAASA,CAACC,MAAY,EAAE;IAC/B,MAAMC,KAAK,GAAGN,QAAQ,CAAC,CAAC;IACxB,MAAMO,WAAW,GAAGJ,cAAc,CAACG,KAAK,EAAED,MAAM,CAAC;IACjD,MAAMG,EAAE,GAAGA,CAAC,GAAGC,IAAS,KAAK;MAC3B,OAAOA,IAAI;IACb,CAAC;IACD,OAAO;MACLC,MAAM,EAAEX,UAAU,CAACY,MAAM,CAACJ,WAAW,CAAC;MACtCD,KAAK;MACLE;IACF,CAAC;EACH;EAEA,OAAOJ,SAAS;AAClB","ignoreList":[]}
@@ -0,0 +1,128 @@
1
+ "use strict";
2
+
3
+ import { attachFunctions } from "./functions/attach-functions.js";
4
+ export const DEFAULT_COLORS = {
5
+ dark: ['#2E2E2E', '#2A2A2A', '#262626', '#232323', '#1F1F1F', '#1D1D1D', '#1A1A1A', '#171717', '#151515', '#131313'],
6
+ gray: ['#F6F6F6', '#E0E0E0', '#CCCCCC', '#B9B9B9', '#A8A8A8', '#999999', '#8A8A8A', '#7C7C7C', '#707070', '#646464'],
7
+ gray2: ['#A3A3A3', '#949494', '#878787', '#7A7A7A', '#6F6F6F', '#656565', '#5C5C5C', '#535353', '#4B4B4B', '#434343'],
8
+ red: ['#ffeaea', '#fcd4d4', '#f3a8a8', '#eb7877', '#e4504f', '#e13735', '#e02928', '#c71c1c', '#b21518', '#9c0711'],
9
+ pink: ['#fff0f6', '#ffdeeb', '#fcc2d7', '#faa2c1', '#f783ac', '#f06595', '#e64980', '#d6336c', '#c2255c', '#a61e4d'],
10
+ grape: ['#f8f0fc', '#f3d9fa', '#eebefa', '#e599f7', '#da77f2', '#cc5de8', '#be4bdb', '#ae3ec9', '#9c36b5', '#862e9c'],
11
+ violet: ['#f3f0ff', '#e5dbff', '#d0bfff', '#b197fc', '#9775fa', '#845ef7', '#7950f2', '#7048e8', '#6741d9', '#5f3dc4'],
12
+ indigo: ['#edf2ff', '#dbe4ff', '#bac8ff', '#91a7ff', '#748ffc', '#5c7cfa', '#4c6ef5', '#4263eb', '#3b5bdb', '#364fc7'],
13
+ blue: ['#e7f5ff', '#d0ebff', '#a5d8ff', '#74c0fc', '#4dabf7', '#339af0', '#228be6', '#1c7ed6', '#1971c2', '#1864ab'],
14
+ cyan: ['#e3fafc', '#c5f6fa', '#99e9f2', '#66d9e8', '#3bc9db', '#22b8cf', '#15aabf', '#1098ad', '#0c8599', '#0b7285'],
15
+ teal: ['#e6fcf5', '#c3fae8', '#96f2d7', '#63e6be', '#38d9a9', '#20c997', '#12b886', '#0ca678', '#099268', '#087f5b'],
16
+ green: ['#f4ffeb', '#e7fdd5', '#cbfca5', '#aefb71', '#95f948', '#86f933', '#7ef928', '#6bdd1e', '#5dc416', '#4daa04'],
17
+ lime: ['#f4fce3', '#e9fac8', '#d8f5a2', '#c0eb75', '#a9e34b', '#94d82d', '#82c91e', '#74b816', '#66a80f', '#5c940d'],
18
+ yellow: ['#fff9db', '#fff3bf', '#ffec99', '#ffe066', '#ffd43b', '#fcc419', '#fab005', '#f59f00', '#f08c00', '#e67700'],
19
+ orange: ['#fff6e2', '#feecce', '#fbd8a0', '#f7c26d', '#f4b042', '#f3a426', '#f29f16', '#d78a07', '#c07900', '#a76800'],
20
+ secondary: ['#f4f4f5', '#e7e7e7', '#cccccc', '#afafaf', '#989898', '#898989', '#818181', '#6f6f6f', '#616164', '#545459']
21
+ };
22
+ const tintColorLight = '#2f95dc';
23
+ const tintColorDark = '#fff';
24
+ export const _DEFAULT_THEME = {
25
+ fontFamily: 'System font',
26
+ fontFamilyBold: 'System font',
27
+ fontFamilySemiBold: 'System font',
28
+ fontFamilyInput: 'System font',
29
+ localColor: '#1F2863',
30
+ primaryShade: 6,
31
+ colors: DEFAULT_COLORS,
32
+ primaryColor: 'blue',
33
+ secondaryColor: 'black',
34
+ secondaryBgColor: 'white',
35
+ light: {
36
+ text: '#000',
37
+ background: '#fdfdfd',
38
+ backgroundSecondary: '#fff',
39
+ backgroundThird: '#EFEFEF',
40
+ tint: tintColorLight,
41
+ tabIconDefault: '#ccc',
42
+ tabIconSelected: tintColorLight
43
+ },
44
+ dark: {
45
+ text: '#fff',
46
+ background: '#272727',
47
+ backgroundSecondary: '#464F61',
48
+ backgroundThird: '#272727',
49
+ tint: tintColorDark,
50
+ tabIconDefault: '#ccc',
51
+ tabIconSelected: tintColorDark
52
+ },
53
+ components: {},
54
+ other: {},
55
+ shadows: {
56
+ xs: '0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.1)',
57
+ sm: '0 1px 3px rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 0px 10px 15px -5px, rgba(0, 0, 0, 0.04) 0px 7px 7px -5px',
58
+ md: '0 1px 3px rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 0px 20px 25px -5px, rgba(0, 0, 0, 0.04) 0px 10px 10px -5px',
59
+ lg: '0 1px 3px rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 0px 28px 23px -7px, rgba(0, 0, 0, 0.04) 0px 12px 12px -7px',
60
+ xl: '0 1px 3px rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.05) 0px 36px 28px -7px, rgba(0, 0, 0, 0.04) 0px 17px 17px -7px'
61
+ },
62
+ fontSizes: {
63
+ xs: 12,
64
+ sm: 14,
65
+ md: 16,
66
+ lg: 18,
67
+ xl: 20
68
+ },
69
+ defaultRadius: 8,
70
+ radius: {
71
+ xs: 2,
72
+ sm: 4,
73
+ md: 8,
74
+ lg: 16,
75
+ xl: 32
76
+ },
77
+ spacing: {
78
+ xs: 10,
79
+ sm: 12,
80
+ md: 16,
81
+ lg: 20,
82
+ xl: 24
83
+ },
84
+ headings: {
85
+ fontFamily: 'System font',
86
+ fontWeight: 700,
87
+ sizes: {
88
+ h1: {
89
+ fontSize: 34,
90
+ lineHeight: 1.3,
91
+ fontWeight: undefined
92
+ },
93
+ h2: {
94
+ fontSize: 26,
95
+ lineHeight: 1.35,
96
+ fontWeight: undefined
97
+ },
98
+ h3: {
99
+ fontSize: 22,
100
+ lineHeight: 1.4,
101
+ fontWeight: undefined
102
+ },
103
+ h4: {
104
+ fontSize: 18,
105
+ lineHeight: 1.45,
106
+ fontWeight: undefined
107
+ },
108
+ h5: {
109
+ fontSize: 16,
110
+ lineHeight: 1.5,
111
+ fontWeight: undefined
112
+ },
113
+ h6: {
114
+ fontSize: 14,
115
+ lineHeight: 1.5,
116
+ fontWeight: undefined
117
+ }
118
+ }
119
+ },
120
+ window: {
121
+ width: 375,
122
+ height: 800
123
+ },
124
+ primaryBgColor: 'white',
125
+ primaryTextColor: 'black'
126
+ };
127
+ export const DEFAULT_THEME = attachFunctions(_DEFAULT_THEME);
128
+ //# sourceMappingURL=default-theme.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["attachFunctions","DEFAULT_COLORS","dark","gray","gray2","red","pink","grape","violet","indigo","blue","cyan","teal","green","lime","yellow","orange","secondary","tintColorLight","tintColorDark","_DEFAULT_THEME","fontFamily","fontFamilyBold","fontFamilySemiBold","fontFamilyInput","localColor","primaryShade","colors","primaryColor","secondaryColor","secondaryBgColor","light","text","background","backgroundSecondary","backgroundThird","tint","tabIconDefault","tabIconSelected","components","other","shadows","xs","sm","md","lg","xl","fontSizes","defaultRadius","radius","spacing","headings","fontWeight","sizes","h1","fontSize","lineHeight","undefined","h2","h3","h4","h5","h6","window","width","height","primaryBgColor","primaryTextColor","DEFAULT_THEME"],"sourceRoot":"../../../src","sources":["theme/default-theme.ts"],"mappings":";;AAAA,SAASA,eAAe,QAAQ,iCAA8B;AAG9D,OAAO,MAAMC,cAEZ,GAAG;EACFC,IAAI,EAAE,CACJ,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,CACV;EAEDC,IAAI,EAAE,CACJ,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,CACV;EACDC,KAAK,EAAE,CACL,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,CACV;EAEDC,GAAG,EAAE,CACH,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,CACV;EAEDC,IAAI,EAAE,CACJ,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,SAAS,EACT,S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AC;EACDM,MAAM,EAAE;IACNC,KAAK,EAAE,GAAG;IACVC,MAAM,EAAE;EACV,CAAC;EACDC,cAAc,EAAE,OAAO;EACvBC,gBAAgB,EAAE;AACpB,CAAC;AAED,OAAO,MAAMC,aAAa,GAAGpE,eAAe,CAACoB,cAAc,CAAC","ignoreList":[]}
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+
3
+ export function filterProps(props) {
4
+ return Object.keys(props).reduce((acc, key) => {
5
+ if (props[key] !== undefined) {
6
+ acc[key] = props[key];
7
+ }
8
+ return acc;
9
+ }, {});
10
+ }
11
+ //# sourceMappingURL=filter-props.js.map