@nexara/nativeflow 0.1.6 → 0.1.8

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 (525) hide show
  1. package/README.md +1 -1
  2. package/lib/commonjs/components/Avatar/AvatarImage.js +3 -9
  3. package/lib/commonjs/components/Avatar/AvatarImage.js.map +1 -1
  4. package/lib/commonjs/components/Avatar/AvatarText.js +2 -4
  5. package/lib/commonjs/components/Avatar/AvatarText.js.map +1 -1
  6. package/lib/commonjs/components/Button/Button.js +24 -23
  7. package/lib/commonjs/components/Button/Button.js.map +1 -1
  8. package/lib/commonjs/components/Button/utils.js +34 -27
  9. package/lib/commonjs/components/Button/utils.js.map +1 -1
  10. package/lib/commonjs/components/CheckBox/CheckBox.js +43 -39
  11. package/lib/commonjs/components/CheckBox/CheckBox.js.map +1 -1
  12. package/lib/commonjs/components/Chip/Chip.js +21 -25
  13. package/lib/commonjs/components/Chip/Chip.js.map +1 -1
  14. package/lib/commonjs/components/Chip/utils.js +31 -18
  15. package/lib/commonjs/components/Chip/utils.js.map +1 -1
  16. package/lib/commonjs/components/Dialog/Dialog.js +14 -10
  17. package/lib/commonjs/components/Dialog/Dialog.js.map +1 -1
  18. package/lib/commonjs/components/Dialog/DialogBody.js +7 -7
  19. package/lib/commonjs/components/Dialog/DialogBody.js.map +1 -1
  20. package/lib/commonjs/components/Dialog/DialogDescription.js +7 -9
  21. package/lib/commonjs/components/Dialog/DialogDescription.js.map +1 -1
  22. package/lib/commonjs/components/Dialog/DialogFoot.js +13 -16
  23. package/lib/commonjs/components/Dialog/DialogFoot.js.map +1 -1
  24. package/lib/commonjs/components/Dialog/DialogHead.js +22 -27
  25. package/lib/commonjs/components/Dialog/DialogHead.js.map +1 -1
  26. package/lib/commonjs/components/Divider/Divider.js +4 -8
  27. package/lib/commonjs/components/Divider/Divider.js.map +1 -1
  28. package/lib/commonjs/components/Grid/Grid.js +3 -4
  29. package/lib/commonjs/components/Grid/Grid.js.map +1 -1
  30. package/lib/commonjs/components/Icon/Icon.js +4 -5
  31. package/lib/commonjs/components/Icon/Icon.js.map +1 -1
  32. package/lib/commonjs/components/IconButton/IconButton.js +21 -20
  33. package/lib/commonjs/components/IconButton/IconButton.js.map +1 -1
  34. package/lib/commonjs/components/Link/Link.js +13 -17
  35. package/lib/commonjs/components/Link/Link.js.map +1 -1
  36. package/lib/commonjs/components/Menu/Menu.js +14 -9
  37. package/lib/commonjs/components/Menu/Menu.js.map +1 -1
  38. package/lib/commonjs/components/Menu/MenuItem.js +3 -5
  39. package/lib/commonjs/components/Menu/MenuItem.js.map +1 -1
  40. package/lib/commonjs/components/Menu/MenuItemLabel.js +2 -8
  41. package/lib/commonjs/components/Menu/MenuItemLabel.js.map +1 -1
  42. package/lib/commonjs/components/Portal/PortalContext.js +1 -2
  43. package/lib/commonjs/components/Portal/PortalContext.js.map +1 -1
  44. package/lib/commonjs/components/Portal/PortalProvider.js +1 -2
  45. package/lib/commonjs/components/Portal/PortalProvider.js.map +1 -1
  46. package/lib/commonjs/components/Progress/Progress.js +6 -7
  47. package/lib/commonjs/components/Progress/Progress.js.map +1 -1
  48. package/lib/commonjs/components/Provider/ContextManager.js +16 -0
  49. package/lib/commonjs/components/Provider/ContextManager.js.map +1 -0
  50. package/lib/commonjs/components/Provider/NativeProvider.js +18 -9
  51. package/lib/commonjs/components/Provider/NativeProvider.js.map +1 -1
  52. package/lib/commonjs/components/Radio/RadioGroup.js +46 -0
  53. package/lib/commonjs/components/Radio/RadioGroup.js.map +1 -0
  54. package/lib/commonjs/components/Radio/RadioItem.js +77 -0
  55. package/lib/commonjs/components/Radio/RadioItem.js.map +1 -0
  56. package/lib/commonjs/components/Radio/index.js +15 -0
  57. package/lib/commonjs/components/Radio/index.js.map +1 -0
  58. package/lib/commonjs/components/Slider/Slider.js +4 -4
  59. package/lib/commonjs/components/Slider/Slider.js.map +1 -1
  60. package/lib/commonjs/components/Stack/HStack.js +3 -9
  61. package/lib/commonjs/components/Stack/HStack.js.map +1 -1
  62. package/lib/commonjs/components/Stack/VStack.js +4 -10
  63. package/lib/commonjs/components/Stack/VStack.js.map +1 -1
  64. package/lib/commonjs/components/StyledComponents/StyledText.js +20 -9
  65. package/lib/commonjs/components/StyledComponents/StyledText.js.map +1 -1
  66. package/lib/commonjs/components/StyledComponents/StyledView.js +6 -8
  67. package/lib/commonjs/components/StyledComponents/StyledView.js.map +1 -1
  68. package/lib/commonjs/components/Surface/Surface.js +24 -21
  69. package/lib/commonjs/components/Surface/Surface.js.map +1 -1
  70. package/lib/commonjs/components/Switch/Switch.js +13 -10
  71. package/lib/commonjs/components/Switch/Switch.js.map +1 -1
  72. package/lib/commonjs/components/UserInput/UserInput.js +23 -18
  73. package/lib/commonjs/components/UserInput/UserInput.js.map +1 -1
  74. package/lib/commonjs/components/UserInput/generateColors.js +3 -3
  75. package/lib/commonjs/components/UserInput/generateColors.js.map +1 -1
  76. package/lib/commonjs/constants/typographySizes.js +11 -7
  77. package/lib/commonjs/constants/typographySizes.js.map +1 -1
  78. package/lib/commonjs/helpers/ResponsiveCalculations.js +47 -53
  79. package/lib/commonjs/helpers/ResponsiveCalculations.js.map +1 -1
  80. package/lib/commonjs/hooks/index.js +3 -3
  81. package/lib/commonjs/hooks/index.js.map +1 -1
  82. package/lib/commonjs/hooks/{useResponsive.js → useScalingMode.js} +3 -3
  83. package/lib/commonjs/hooks/useScalingMode.js.map +1 -0
  84. package/lib/commonjs/index.d.js +2 -0
  85. package/lib/commonjs/index.d.js.map +1 -0
  86. package/lib/commonjs/index.js +27 -40
  87. package/lib/commonjs/index.js.map +1 -1
  88. package/lib/commonjs/themes/DarkTheme.js +185 -25
  89. package/lib/commonjs/themes/DarkTheme.js.map +1 -1
  90. package/lib/commonjs/themes/LightTheme.js +89 -81
  91. package/lib/commonjs/themes/LightTheme.js.map +1 -1
  92. package/lib/commonjs/types/divider.type.js +6 -0
  93. package/lib/commonjs/types/divider.type.js.map +1 -0
  94. package/lib/commonjs/types/index.js +44 -0
  95. package/lib/commonjs/types/index.js.map +1 -1
  96. package/lib/commonjs/types/link.type.js +6 -0
  97. package/lib/commonjs/types/link.type.js.map +1 -0
  98. package/lib/commonjs/types/radio.type.js +6 -0
  99. package/lib/commonjs/types/radio.type.js.map +1 -0
  100. package/lib/commonjs/types/surface.type.js +6 -0
  101. package/lib/commonjs/types/surface.type.js.map +1 -0
  102. package/lib/commonjs/utils/index.js +2 -0
  103. package/lib/commonjs/utils/index.js.map +1 -0
  104. package/lib/module/components/Avatar/AvatarImage.js +3 -8
  105. package/lib/module/components/Avatar/AvatarImage.js.map +1 -1
  106. package/lib/module/components/Avatar/AvatarText.js +2 -3
  107. package/lib/module/components/Avatar/AvatarText.js.map +1 -1
  108. package/lib/module/components/Button/Button.js +23 -22
  109. package/lib/module/components/Button/Button.js.map +1 -1
  110. package/lib/module/components/Button/utils.js +34 -27
  111. package/lib/module/components/Button/utils.js.map +1 -1
  112. package/lib/module/components/CheckBox/CheckBox.js +37 -31
  113. package/lib/module/components/CheckBox/CheckBox.js.map +1 -1
  114. package/lib/module/components/Chip/Chip.js +22 -26
  115. package/lib/module/components/Chip/Chip.js.map +1 -1
  116. package/lib/module/components/Chip/utils.js +30 -18
  117. package/lib/module/components/Chip/utils.js.map +1 -1
  118. package/lib/module/components/Dialog/Dialog.js +13 -8
  119. package/lib/module/components/Dialog/Dialog.js.map +1 -1
  120. package/lib/module/components/Dialog/DialogBody.js +9 -8
  121. package/lib/module/components/Dialog/DialogBody.js.map +1 -1
  122. package/lib/module/components/Dialog/DialogDescription.js +8 -9
  123. package/lib/module/components/Dialog/DialogDescription.js.map +1 -1
  124. package/lib/module/components/Dialog/DialogFoot.js +14 -16
  125. package/lib/module/components/Dialog/DialogFoot.js.map +1 -1
  126. package/lib/module/components/Dialog/DialogHead.js +24 -28
  127. package/lib/module/components/Dialog/DialogHead.js.map +1 -1
  128. package/lib/module/components/Divider/Divider.js +5 -8
  129. package/lib/module/components/Divider/Divider.js.map +1 -1
  130. package/lib/module/components/Grid/Grid.js +4 -3
  131. package/lib/module/components/Grid/Grid.js.map +1 -1
  132. package/lib/module/components/Icon/Icon.js +3 -3
  133. package/lib/module/components/Icon/Icon.js.map +1 -1
  134. package/lib/module/components/IconButton/IconButton.js +20 -19
  135. package/lib/module/components/IconButton/IconButton.js.map +1 -1
  136. package/lib/module/components/Link/Link.js +15 -19
  137. package/lib/module/components/Link/Link.js.map +1 -1
  138. package/lib/module/components/Menu/Menu.js +14 -8
  139. package/lib/module/components/Menu/Menu.js.map +1 -1
  140. package/lib/module/components/Menu/MenuItem.js +4 -5
  141. package/lib/module/components/Menu/MenuItem.js.map +1 -1
  142. package/lib/module/components/Menu/MenuItemLabel.js +2 -7
  143. package/lib/module/components/Menu/MenuItemLabel.js.map +1 -1
  144. package/lib/module/components/Progress/Progress.js +7 -6
  145. package/lib/module/components/Progress/Progress.js.map +1 -1
  146. package/lib/module/components/Provider/ContextManager.js +10 -0
  147. package/lib/module/components/Provider/ContextManager.js.map +1 -0
  148. package/lib/module/components/Provider/NativeProvider.js +17 -7
  149. package/lib/module/components/Provider/NativeProvider.js.map +1 -1
  150. package/lib/module/components/Radio/RadioGroup.js +41 -0
  151. package/lib/module/components/Radio/RadioGroup.js.map +1 -0
  152. package/lib/module/components/Radio/RadioItem.js +73 -0
  153. package/lib/module/components/Radio/RadioItem.js.map +1 -0
  154. package/lib/module/components/Radio/index.js +10 -0
  155. package/lib/module/components/Radio/index.js.map +1 -0
  156. package/lib/module/components/Slider/Slider.js +5 -5
  157. package/lib/module/components/Slider/Slider.js.map +1 -1
  158. package/lib/module/components/Stack/HStack.js +3 -7
  159. package/lib/module/components/Stack/HStack.js.map +1 -1
  160. package/lib/module/components/Stack/VStack.js +4 -8
  161. package/lib/module/components/Stack/VStack.js.map +1 -1
  162. package/lib/module/components/StyledComponents/StyledText.js +20 -8
  163. package/lib/module/components/StyledComponents/StyledText.js.map +1 -1
  164. package/lib/module/components/StyledComponents/StyledView.js +6 -7
  165. package/lib/module/components/StyledComponents/StyledView.js.map +1 -1
  166. package/lib/module/components/Surface/Surface.js +24 -20
  167. package/lib/module/components/Surface/Surface.js.map +1 -1
  168. package/lib/module/components/Switch/Switch.js +14 -11
  169. package/lib/module/components/Switch/Switch.js.map +1 -1
  170. package/lib/module/components/UserInput/UserInput.js +24 -19
  171. package/lib/module/components/UserInput/UserInput.js.map +1 -1
  172. package/lib/module/components/UserInput/generateColors.js +3 -3
  173. package/lib/module/components/UserInput/generateColors.js.map +1 -1
  174. package/lib/module/constants/typographySizes.js +11 -7
  175. package/lib/module/constants/typographySizes.js.map +1 -1
  176. package/lib/module/helpers/ResponsiveCalculations.js +46 -48
  177. package/lib/module/helpers/ResponsiveCalculations.js.map +1 -1
  178. package/lib/module/hooks/index.js +1 -1
  179. package/lib/module/hooks/index.js.map +1 -1
  180. package/lib/module/hooks/useScalingMode.js +7 -0
  181. package/lib/module/hooks/useScalingMode.js.map +1 -0
  182. package/lib/module/index.d.js +2 -0
  183. package/lib/module/index.d.js.map +1 -0
  184. package/lib/module/index.js +4 -5
  185. package/lib/module/index.js.map +1 -1
  186. package/lib/module/themes/DarkTheme.js +188 -24
  187. package/lib/module/themes/DarkTheme.js.map +1 -1
  188. package/lib/module/themes/LightTheme.js +88 -81
  189. package/lib/module/themes/LightTheme.js.map +1 -1
  190. package/lib/module/themes/index.js +0 -1
  191. package/lib/module/themes/index.js.map +1 -1
  192. package/lib/module/types/divider.type.js +4 -0
  193. package/lib/module/types/divider.type.js.map +1 -0
  194. package/lib/module/types/index.js +4 -0
  195. package/lib/module/types/index.js.map +1 -1
  196. package/lib/module/types/link.type.js +4 -0
  197. package/lib/module/types/link.type.js.map +1 -0
  198. package/lib/module/types/radio.type.js +4 -0
  199. package/lib/module/types/radio.type.js.map +1 -0
  200. package/lib/module/types/surface.type.js +4 -0
  201. package/lib/module/types/surface.type.js.map +1 -0
  202. package/lib/module/utils/index.js +2 -0
  203. package/lib/module/utils/index.js.map +1 -0
  204. package/lib/typescript/commonjs/scripts/generateConfig.d.ts +1 -0
  205. package/lib/typescript/commonjs/scripts/generateConfig.d.ts.map +1 -0
  206. package/lib/typescript/commonjs/scripts/readConfig.d.ts +1 -0
  207. package/lib/typescript/commonjs/scripts/readConfig.d.ts.map +1 -0
  208. package/lib/typescript/commonjs/src/components/Avatar/AvatarImage.d.ts +2 -2
  209. package/lib/typescript/commonjs/src/components/Avatar/AvatarImage.d.ts.map +1 -1
  210. package/lib/typescript/commonjs/src/components/Avatar/AvatarText.d.ts +2 -2
  211. package/lib/typescript/commonjs/src/components/Avatar/AvatarText.d.ts.map +1 -1
  212. package/lib/typescript/commonjs/src/components/Button/Button.d.ts +2 -2
  213. package/lib/typescript/commonjs/src/components/Button/Button.d.ts.map +1 -1
  214. package/lib/typescript/commonjs/src/components/Button/utils.d.ts +0 -1
  215. package/lib/typescript/commonjs/src/components/Button/utils.d.ts.map +1 -1
  216. package/lib/typescript/commonjs/src/components/CheckBox/CheckBox.d.ts +2 -2
  217. package/lib/typescript/commonjs/src/components/CheckBox/CheckBox.d.ts.map +1 -1
  218. package/lib/typescript/commonjs/src/components/Chip/Chip.d.ts +2 -2
  219. package/lib/typescript/commonjs/src/components/Chip/Chip.d.ts.map +1 -1
  220. package/lib/typescript/commonjs/src/components/Chip/utils.d.ts +3 -2
  221. package/lib/typescript/commonjs/src/components/Chip/utils.d.ts.map +1 -1
  222. package/lib/typescript/commonjs/src/components/Dialog/Dialog.d.ts.map +1 -1
  223. package/lib/typescript/commonjs/src/components/Dialog/DialogBody.d.ts +4 -4
  224. package/lib/typescript/commonjs/src/components/Dialog/DialogBody.d.ts.map +1 -1
  225. package/lib/typescript/commonjs/src/components/Dialog/DialogDescription.d.ts +2 -2
  226. package/lib/typescript/commonjs/src/components/Dialog/DialogDescription.d.ts.map +1 -1
  227. package/lib/typescript/commonjs/src/components/Dialog/DialogFoot.d.ts +2 -2
  228. package/lib/typescript/commonjs/src/components/Dialog/DialogFoot.d.ts.map +1 -1
  229. package/lib/typescript/commonjs/src/components/Dialog/DialogHead.d.ts +2 -2
  230. package/lib/typescript/commonjs/src/components/Dialog/DialogHead.d.ts.map +1 -1
  231. package/lib/typescript/commonjs/src/components/Divider/Divider.d.ts +3 -8
  232. package/lib/typescript/commonjs/src/components/Divider/Divider.d.ts.map +1 -1
  233. package/lib/typescript/commonjs/src/components/Grid/Grid.d.ts +2 -2
  234. package/lib/typescript/commonjs/src/components/Grid/Grid.d.ts.map +1 -1
  235. package/lib/typescript/commonjs/src/components/IconButton/IconButton.d.ts +4 -2
  236. package/lib/typescript/commonjs/src/components/IconButton/IconButton.d.ts.map +1 -1
  237. package/lib/typescript/commonjs/src/components/Link/Link.d.ts +3 -10
  238. package/lib/typescript/commonjs/src/components/Link/Link.d.ts.map +1 -1
  239. package/lib/typescript/commonjs/src/components/Menu/Menu.d.ts +2 -2
  240. package/lib/typescript/commonjs/src/components/Menu/Menu.d.ts.map +1 -1
  241. package/lib/typescript/commonjs/src/components/Menu/MenuItem.d.ts +2 -2
  242. package/lib/typescript/commonjs/src/components/Menu/MenuItem.d.ts.map +1 -1
  243. package/lib/typescript/commonjs/src/components/Menu/MenuItemLabel.d.ts +2 -2
  244. package/lib/typescript/commonjs/src/components/Menu/MenuItemLabel.d.ts.map +1 -1
  245. package/lib/typescript/commonjs/src/components/Progress/Progress.d.ts +2 -2
  246. package/lib/typescript/commonjs/src/components/Progress/Progress.d.ts.map +1 -1
  247. package/lib/typescript/commonjs/src/components/Provider/ContextManager.d.ts +3 -0
  248. package/lib/typescript/commonjs/src/components/Provider/ContextManager.d.ts.map +1 -0
  249. package/lib/typescript/commonjs/src/components/Provider/NativeProvider.d.ts +9 -4
  250. package/lib/typescript/commonjs/src/components/Provider/NativeProvider.d.ts.map +1 -1
  251. package/lib/typescript/commonjs/src/components/Radio/RadioGroup.d.ts +5 -0
  252. package/lib/typescript/commonjs/src/components/Radio/RadioGroup.d.ts.map +1 -0
  253. package/lib/typescript/commonjs/src/components/Radio/RadioItem.d.ts +5 -0
  254. package/lib/typescript/commonjs/src/components/Radio/RadioItem.d.ts.map +1 -0
  255. package/lib/typescript/commonjs/src/components/Radio/index.d.ts +6 -0
  256. package/lib/typescript/commonjs/src/components/Radio/index.d.ts.map +1 -0
  257. package/lib/typescript/commonjs/src/components/Stack/HStack.d.ts +2 -2
  258. package/lib/typescript/commonjs/src/components/Stack/HStack.d.ts.map +1 -1
  259. package/lib/typescript/commonjs/src/components/Stack/VStack.d.ts +2 -2
  260. package/lib/typescript/commonjs/src/components/Stack/VStack.d.ts.map +1 -1
  261. package/lib/typescript/commonjs/src/components/StyledComponents/StyledText.d.ts +2 -2
  262. package/lib/typescript/commonjs/src/components/StyledComponents/StyledText.d.ts.map +1 -1
  263. package/lib/typescript/commonjs/src/components/StyledComponents/StyledView.d.ts +2 -2
  264. package/lib/typescript/commonjs/src/components/StyledComponents/StyledView.d.ts.map +1 -1
  265. package/lib/typescript/commonjs/src/components/Surface/Surface.d.ts +3 -3
  266. package/lib/typescript/commonjs/src/components/Surface/Surface.d.ts.map +1 -1
  267. package/lib/typescript/commonjs/src/components/Switch/Switch.d.ts +2 -2
  268. package/lib/typescript/commonjs/src/components/Switch/Switch.d.ts.map +1 -1
  269. package/lib/typescript/commonjs/src/components/UserInput/UserInput.d.ts +36 -1
  270. package/lib/typescript/commonjs/src/components/UserInput/UserInput.d.ts.map +1 -1
  271. package/lib/typescript/commonjs/src/constants/typographySizes.d.ts +2 -8
  272. package/lib/typescript/commonjs/src/constants/typographySizes.d.ts.map +1 -1
  273. package/lib/typescript/commonjs/src/helpers/ResponsiveCalculations.d.ts +0 -3
  274. package/lib/typescript/commonjs/src/helpers/ResponsiveCalculations.d.ts.map +1 -1
  275. package/lib/typescript/commonjs/src/hooks/index.d.ts +1 -1
  276. package/lib/typescript/commonjs/src/hooks/index.d.ts.map +1 -1
  277. package/lib/typescript/commonjs/src/hooks/useScalingMode.d.ts +5 -0
  278. package/lib/typescript/commonjs/src/hooks/useScalingMode.d.ts.map +1 -0
  279. package/lib/typescript/commonjs/src/index.d.ts +5 -5
  280. package/lib/typescript/commonjs/src/index.d.ts.map +1 -1
  281. package/lib/typescript/commonjs/src/themes/DarkTheme.d.ts.map +1 -1
  282. package/lib/typescript/commonjs/src/themes/LightTheme.d.ts.map +1 -1
  283. package/lib/typescript/commonjs/src/types/avatar.type.d.ts +0 -2
  284. package/lib/typescript/commonjs/src/types/avatar.type.d.ts.map +1 -1
  285. package/lib/typescript/commonjs/src/types/button.type.d.ts +20 -20
  286. package/lib/typescript/commonjs/src/types/button.type.d.ts.map +1 -1
  287. package/lib/typescript/commonjs/src/types/checkbox.type.d.ts +20 -14
  288. package/lib/typescript/commonjs/src/types/checkbox.type.d.ts.map +1 -1
  289. package/lib/typescript/commonjs/src/types/chip.type.d.ts +21 -13
  290. package/lib/typescript/commonjs/src/types/chip.type.d.ts.map +1 -1
  291. package/lib/typescript/commonjs/src/types/common.type.d.ts +72 -22
  292. package/lib/typescript/commonjs/src/types/common.type.d.ts.map +1 -1
  293. package/lib/typescript/commonjs/src/types/dialog.type.d.ts +13 -12
  294. package/lib/typescript/commonjs/src/types/dialog.type.d.ts.map +1 -1
  295. package/lib/typescript/commonjs/src/types/divider.type.d.ts +11 -0
  296. package/lib/typescript/commonjs/src/types/divider.type.d.ts.map +1 -0
  297. package/lib/typescript/commonjs/src/types/grid.type.d.ts +2 -1
  298. package/lib/typescript/commonjs/src/types/grid.type.d.ts.map +1 -1
  299. package/lib/typescript/commonjs/src/types/index.d.ts +4 -0
  300. package/lib/typescript/commonjs/src/types/index.d.ts.map +1 -1
  301. package/lib/typescript/commonjs/src/types/link.type.d.ts +12 -0
  302. package/lib/typescript/commonjs/src/types/link.type.d.ts.map +1 -0
  303. package/lib/typescript/commonjs/src/types/menu.type.d.ts +4 -16
  304. package/lib/typescript/commonjs/src/types/menu.type.d.ts.map +1 -1
  305. package/lib/typescript/commonjs/src/types/radio.type.d.ts +61 -0
  306. package/lib/typescript/commonjs/src/types/radio.type.d.ts.map +1 -0
  307. package/lib/typescript/commonjs/src/types/stack.type.d.ts +6 -14
  308. package/lib/typescript/commonjs/src/types/stack.type.d.ts.map +1 -1
  309. package/lib/typescript/commonjs/src/types/styledComponents.type.d.ts +25 -72
  310. package/lib/typescript/commonjs/src/types/styledComponents.type.d.ts.map +1 -1
  311. package/lib/typescript/commonjs/src/types/surface.type.d.ts +16 -0
  312. package/lib/typescript/commonjs/src/types/surface.type.d.ts.map +1 -0
  313. package/lib/typescript/commonjs/src/types/userInput.type.d.ts +10 -13
  314. package/lib/typescript/commonjs/src/types/userInput.type.d.ts.map +1 -1
  315. package/lib/typescript/commonjs/src/utils/index.d.ts +1 -0
  316. package/lib/typescript/commonjs/src/utils/index.d.ts.map +1 -0
  317. package/lib/typescript/module/scripts/generateConfig.d.ts +1 -0
  318. package/lib/typescript/module/scripts/generateConfig.d.ts.map +1 -0
  319. package/lib/typescript/module/scripts/readConfig.d.ts +1 -0
  320. package/lib/typescript/module/scripts/readConfig.d.ts.map +1 -0
  321. package/lib/typescript/module/src/components/Avatar/AvatarImage.d.ts +2 -2
  322. package/lib/typescript/module/src/components/Avatar/AvatarImage.d.ts.map +1 -1
  323. package/lib/typescript/module/src/components/Avatar/AvatarText.d.ts +2 -2
  324. package/lib/typescript/module/src/components/Avatar/AvatarText.d.ts.map +1 -1
  325. package/lib/typescript/module/src/components/Button/Button.d.ts +2 -2
  326. package/lib/typescript/module/src/components/Button/Button.d.ts.map +1 -1
  327. package/lib/typescript/module/src/components/Button/utils.d.ts +0 -1
  328. package/lib/typescript/module/src/components/Button/utils.d.ts.map +1 -1
  329. package/lib/typescript/module/src/components/CheckBox/CheckBox.d.ts +2 -2
  330. package/lib/typescript/module/src/components/CheckBox/CheckBox.d.ts.map +1 -1
  331. package/lib/typescript/module/src/components/Chip/Chip.d.ts +2 -2
  332. package/lib/typescript/module/src/components/Chip/Chip.d.ts.map +1 -1
  333. package/lib/typescript/module/src/components/Chip/utils.d.ts +3 -2
  334. package/lib/typescript/module/src/components/Chip/utils.d.ts.map +1 -1
  335. package/lib/typescript/module/src/components/Dialog/Dialog.d.ts.map +1 -1
  336. package/lib/typescript/module/src/components/Dialog/DialogBody.d.ts +4 -4
  337. package/lib/typescript/module/src/components/Dialog/DialogBody.d.ts.map +1 -1
  338. package/lib/typescript/module/src/components/Dialog/DialogDescription.d.ts +2 -2
  339. package/lib/typescript/module/src/components/Dialog/DialogDescription.d.ts.map +1 -1
  340. package/lib/typescript/module/src/components/Dialog/DialogFoot.d.ts +2 -2
  341. package/lib/typescript/module/src/components/Dialog/DialogFoot.d.ts.map +1 -1
  342. package/lib/typescript/module/src/components/Dialog/DialogHead.d.ts +2 -2
  343. package/lib/typescript/module/src/components/Dialog/DialogHead.d.ts.map +1 -1
  344. package/lib/typescript/module/src/components/Divider/Divider.d.ts +3 -8
  345. package/lib/typescript/module/src/components/Divider/Divider.d.ts.map +1 -1
  346. package/lib/typescript/module/src/components/Grid/Grid.d.ts +2 -2
  347. package/lib/typescript/module/src/components/Grid/Grid.d.ts.map +1 -1
  348. package/lib/typescript/module/src/components/IconButton/IconButton.d.ts +4 -2
  349. package/lib/typescript/module/src/components/IconButton/IconButton.d.ts.map +1 -1
  350. package/lib/typescript/module/src/components/Link/Link.d.ts +3 -10
  351. package/lib/typescript/module/src/components/Link/Link.d.ts.map +1 -1
  352. package/lib/typescript/module/src/components/Menu/Menu.d.ts +2 -2
  353. package/lib/typescript/module/src/components/Menu/Menu.d.ts.map +1 -1
  354. package/lib/typescript/module/src/components/Menu/MenuItem.d.ts +2 -2
  355. package/lib/typescript/module/src/components/Menu/MenuItem.d.ts.map +1 -1
  356. package/lib/typescript/module/src/components/Menu/MenuItemLabel.d.ts +2 -2
  357. package/lib/typescript/module/src/components/Menu/MenuItemLabel.d.ts.map +1 -1
  358. package/lib/typescript/module/src/components/Progress/Progress.d.ts +2 -2
  359. package/lib/typescript/module/src/components/Progress/Progress.d.ts.map +1 -1
  360. package/lib/typescript/module/src/components/Provider/ContextManager.d.ts +3 -0
  361. package/lib/typescript/module/src/components/Provider/ContextManager.d.ts.map +1 -0
  362. package/lib/typescript/module/src/components/Provider/NativeProvider.d.ts +9 -4
  363. package/lib/typescript/module/src/components/Provider/NativeProvider.d.ts.map +1 -1
  364. package/lib/typescript/module/src/components/Radio/RadioGroup.d.ts +5 -0
  365. package/lib/typescript/module/src/components/Radio/RadioGroup.d.ts.map +1 -0
  366. package/lib/typescript/module/src/components/Radio/RadioItem.d.ts +5 -0
  367. package/lib/typescript/module/src/components/Radio/RadioItem.d.ts.map +1 -0
  368. package/lib/typescript/module/src/components/Radio/index.d.ts +6 -0
  369. package/lib/typescript/module/src/components/Radio/index.d.ts.map +1 -0
  370. package/lib/typescript/module/src/components/Stack/HStack.d.ts +2 -2
  371. package/lib/typescript/module/src/components/Stack/HStack.d.ts.map +1 -1
  372. package/lib/typescript/module/src/components/Stack/VStack.d.ts +2 -2
  373. package/lib/typescript/module/src/components/Stack/VStack.d.ts.map +1 -1
  374. package/lib/typescript/module/src/components/StyledComponents/StyledText.d.ts +2 -2
  375. package/lib/typescript/module/src/components/StyledComponents/StyledText.d.ts.map +1 -1
  376. package/lib/typescript/module/src/components/StyledComponents/StyledView.d.ts +2 -2
  377. package/lib/typescript/module/src/components/StyledComponents/StyledView.d.ts.map +1 -1
  378. package/lib/typescript/module/src/components/Surface/Surface.d.ts +3 -3
  379. package/lib/typescript/module/src/components/Surface/Surface.d.ts.map +1 -1
  380. package/lib/typescript/module/src/components/Switch/Switch.d.ts +2 -2
  381. package/lib/typescript/module/src/components/Switch/Switch.d.ts.map +1 -1
  382. package/lib/typescript/module/src/components/UserInput/UserInput.d.ts +36 -1
  383. package/lib/typescript/module/src/components/UserInput/UserInput.d.ts.map +1 -1
  384. package/lib/typescript/module/src/constants/typographySizes.d.ts +2 -8
  385. package/lib/typescript/module/src/constants/typographySizes.d.ts.map +1 -1
  386. package/lib/typescript/module/src/helpers/ResponsiveCalculations.d.ts +0 -3
  387. package/lib/typescript/module/src/helpers/ResponsiveCalculations.d.ts.map +1 -1
  388. package/lib/typescript/module/src/hooks/index.d.ts +1 -1
  389. package/lib/typescript/module/src/hooks/index.d.ts.map +1 -1
  390. package/lib/typescript/module/src/hooks/useScalingMode.d.ts +5 -0
  391. package/lib/typescript/module/src/hooks/useScalingMode.d.ts.map +1 -0
  392. package/lib/typescript/module/src/index.d.ts +5 -5
  393. package/lib/typescript/module/src/index.d.ts.map +1 -1
  394. package/lib/typescript/module/src/themes/DarkTheme.d.ts.map +1 -1
  395. package/lib/typescript/module/src/themes/LightTheme.d.ts.map +1 -1
  396. package/lib/typescript/module/src/types/avatar.type.d.ts +0 -2
  397. package/lib/typescript/module/src/types/avatar.type.d.ts.map +1 -1
  398. package/lib/typescript/module/src/types/button.type.d.ts +20 -20
  399. package/lib/typescript/module/src/types/button.type.d.ts.map +1 -1
  400. package/lib/typescript/module/src/types/checkbox.type.d.ts +20 -14
  401. package/lib/typescript/module/src/types/checkbox.type.d.ts.map +1 -1
  402. package/lib/typescript/module/src/types/chip.type.d.ts +21 -13
  403. package/lib/typescript/module/src/types/chip.type.d.ts.map +1 -1
  404. package/lib/typescript/module/src/types/common.type.d.ts +72 -22
  405. package/lib/typescript/module/src/types/common.type.d.ts.map +1 -1
  406. package/lib/typescript/module/src/types/dialog.type.d.ts +13 -12
  407. package/lib/typescript/module/src/types/dialog.type.d.ts.map +1 -1
  408. package/lib/typescript/module/src/types/divider.type.d.ts +11 -0
  409. package/lib/typescript/module/src/types/divider.type.d.ts.map +1 -0
  410. package/lib/typescript/module/src/types/grid.type.d.ts +2 -1
  411. package/lib/typescript/module/src/types/grid.type.d.ts.map +1 -1
  412. package/lib/typescript/module/src/types/index.d.ts +4 -0
  413. package/lib/typescript/module/src/types/index.d.ts.map +1 -1
  414. package/lib/typescript/module/src/types/link.type.d.ts +12 -0
  415. package/lib/typescript/module/src/types/link.type.d.ts.map +1 -0
  416. package/lib/typescript/module/src/types/menu.type.d.ts +4 -16
  417. package/lib/typescript/module/src/types/menu.type.d.ts.map +1 -1
  418. package/lib/typescript/module/src/types/radio.type.d.ts +61 -0
  419. package/lib/typescript/module/src/types/radio.type.d.ts.map +1 -0
  420. package/lib/typescript/module/src/types/stack.type.d.ts +6 -14
  421. package/lib/typescript/module/src/types/stack.type.d.ts.map +1 -1
  422. package/lib/typescript/module/src/types/styledComponents.type.d.ts +25 -72
  423. package/lib/typescript/module/src/types/styledComponents.type.d.ts.map +1 -1
  424. package/lib/typescript/module/src/types/surface.type.d.ts +16 -0
  425. package/lib/typescript/module/src/types/surface.type.d.ts.map +1 -0
  426. package/lib/typescript/module/src/types/userInput.type.d.ts +10 -13
  427. package/lib/typescript/module/src/types/userInput.type.d.ts.map +1 -1
  428. package/lib/typescript/module/src/utils/index.d.ts +1 -0
  429. package/lib/typescript/module/src/utils/index.d.ts.map +1 -0
  430. package/package.json +9 -4
  431. package/src/components/Avatar/AvatarImage.tsx +2 -7
  432. package/src/components/Avatar/AvatarText.tsx +4 -4
  433. package/src/components/Button/Button.tsx +35 -26
  434. package/src/components/Button/utils.ts +30 -30
  435. package/src/components/CheckBox/CheckBox.tsx +33 -29
  436. package/src/components/Chip/Chip.tsx +25 -32
  437. package/src/components/Chip/utils.ts +34 -20
  438. package/src/components/Dialog/Dialog.tsx +11 -6
  439. package/src/components/Dialog/DialogBody.tsx +13 -13
  440. package/src/components/Dialog/DialogDescription.tsx +9 -9
  441. package/src/components/Dialog/DialogFoot.tsx +19 -20
  442. package/src/components/Dialog/DialogHead.tsx +17 -21
  443. package/src/components/Divider/Divider.tsx +7 -15
  444. package/src/components/Grid/Grid.tsx +6 -5
  445. package/src/components/Icon/Icon.tsx +3 -3
  446. package/src/components/IconButton/IconButton.tsx +26 -17
  447. package/src/components/Link/Link.tsx +20 -29
  448. package/src/components/Menu/Menu.tsx +11 -7
  449. package/src/components/Menu/MenuItem.tsx +6 -6
  450. package/src/components/Menu/MenuItemLabel.tsx +4 -9
  451. package/src/components/Progress/Progress.tsx +8 -7
  452. package/src/components/Provider/ContextManager.tsx +9 -0
  453. package/src/components/Provider/NativeProvider.tsx +25 -10
  454. package/src/components/Radio/RadioGroup.tsx +40 -0
  455. package/src/components/Radio/RadioItem.tsx +72 -0
  456. package/src/components/Radio/index.ts +9 -0
  457. package/src/components/Slider/Slider.tsx +3 -3
  458. package/src/components/Stack/HStack.tsx +5 -8
  459. package/src/components/Stack/VStack.tsx +6 -11
  460. package/src/components/StyledComponents/StyledText.tsx +17 -8
  461. package/src/components/StyledComponents/StyledView.tsx +7 -8
  462. package/src/components/Surface/Surface.tsx +20 -27
  463. package/src/components/Switch/Switch.tsx +12 -10
  464. package/src/components/UserInput/UserInput.tsx +25 -19
  465. package/src/components/UserInput/generateColors.ts +3 -3
  466. package/src/constants/typographySizes.ts +13 -15
  467. package/src/helpers/ResponsiveCalculations.ts +50 -49
  468. package/src/hooks/index.ts +1 -1
  469. package/src/hooks/{useResponsive.tsx → useScalingMode.tsx} +2 -2
  470. package/src/index.d.ts +3 -0
  471. package/src/index.ts +7 -7
  472. package/src/themes/DarkTheme.ts +169 -30
  473. package/src/themes/LightTheme.ts +78 -85
  474. package/src/themes/index.ts +0 -1
  475. package/src/types/avatar.type.ts +0 -3
  476. package/src/types/button.type.ts +20 -20
  477. package/src/types/checkbox.type.ts +22 -15
  478. package/src/types/chip.type.ts +24 -15
  479. package/src/types/common.type.ts +82 -23
  480. package/src/types/dialog.type.ts +15 -14
  481. package/src/types/divider.type.ts +15 -0
  482. package/src/types/grid.type.ts +2 -1
  483. package/src/types/index.ts +5 -1
  484. package/src/types/link.type.ts +15 -0
  485. package/src/types/menu.type.ts +4 -19
  486. package/src/types/radio.type.ts +78 -0
  487. package/src/types/stack.type.ts +7 -17
  488. package/src/types/styledComponents.type.ts +27 -75
  489. package/src/types/surface.type.ts +19 -0
  490. package/src/types/userInput.type.ts +10 -14
  491. package/src/utils/index.ts +0 -0
  492. package/lib/commonjs/components/Header/Header.js +0 -78
  493. package/lib/commonjs/components/Header/Header.js.map +0 -1
  494. package/lib/commonjs/helpers/LightenColorShades.js +0 -27
  495. package/lib/commonjs/helpers/LightenColorShades.js.map +0 -1
  496. package/lib/commonjs/hooks/useResponsive.js.map +0 -1
  497. package/lib/commonjs/themes/createTheme.js +0 -25
  498. package/lib/commonjs/themes/createTheme.js.map +0 -1
  499. package/lib/module/components/Header/Header.js +0 -73
  500. package/lib/module/components/Header/Header.js.map +0 -1
  501. package/lib/module/helpers/LightenColorShades.js +0 -23
  502. package/lib/module/helpers/LightenColorShades.js.map +0 -1
  503. package/lib/module/hooks/useResponsive.js +0 -7
  504. package/lib/module/hooks/useResponsive.js.map +0 -1
  505. package/lib/module/themes/createTheme.js +0 -25
  506. package/lib/module/themes/createTheme.js.map +0 -1
  507. package/lib/typescript/commonjs/src/components/Header/Header.d.ts +0 -16
  508. package/lib/typescript/commonjs/src/components/Header/Header.d.ts.map +0 -1
  509. package/lib/typescript/commonjs/src/helpers/LightenColorShades.d.ts +0 -3
  510. package/lib/typescript/commonjs/src/helpers/LightenColorShades.d.ts.map +0 -1
  511. package/lib/typescript/commonjs/src/hooks/useResponsive.d.ts +0 -3
  512. package/lib/typescript/commonjs/src/hooks/useResponsive.d.ts.map +0 -1
  513. package/lib/typescript/commonjs/src/themes/createTheme.d.ts +0 -1
  514. package/lib/typescript/commonjs/src/themes/createTheme.d.ts.map +0 -1
  515. package/lib/typescript/module/src/components/Header/Header.d.ts +0 -16
  516. package/lib/typescript/module/src/components/Header/Header.d.ts.map +0 -1
  517. package/lib/typescript/module/src/helpers/LightenColorShades.d.ts +0 -3
  518. package/lib/typescript/module/src/helpers/LightenColorShades.d.ts.map +0 -1
  519. package/lib/typescript/module/src/hooks/useResponsive.d.ts +0 -3
  520. package/lib/typescript/module/src/hooks/useResponsive.d.ts.map +0 -1
  521. package/lib/typescript/module/src/themes/createTheme.d.ts +0 -1
  522. package/lib/typescript/module/src/themes/createTheme.d.ts.map +0 -1
  523. package/src/components/Header/Header.tsx +0 -82
  524. package/src/helpers/LightenColorShades.ts +0 -27
  525. package/src/themes/createTheme.ts +0 -23
@@ -1,118 +1,70 @@
1
1
  import type { ColorValue, DimensionValue, StyleProp, TextProps, TextStyle, View, ViewProps, ViewStyle } from "react-native";
2
- import type { TypographyVariant } from "./common.type";
3
2
  import React from "react";
3
+ import type { TypographyScale, TypographyVariant } from "./common.type";
4
4
 
5
5
  export type StyledViewProps = ViewStyle & ViewProps & {
6
- /**
7
- * Flex value to control the flex growth, shrink, and basis of the view.
8
- */
6
+ /** Flex value to control the flex growth, shrink, and basis of the view */
9
7
  f?: number;
10
8
 
11
- /**
12
- * Defines how children are aligned along the main axis.
13
- */
9
+ /** How children are aligned along the main axis */
14
10
  justify?: ViewStyle['justifyContent'];
15
11
 
16
- /**
17
- * Defines how children are aligned along the cross axis.
18
- */
12
+ /** How children are aligned along the cross axis */
19
13
  align?: ViewStyle['alignItems'];
20
14
 
21
- /**
22
- * Determines whether the children should wrap if they exceed the container size.
23
- */
15
+ /** Whether children should wrap if they exceed the container size */
24
16
  fWrap?: ViewStyle['flexWrap'];
25
17
 
26
- /**
27
- * Background color of the view.
28
- */
18
+ /** Background color of the view */
29
19
  bg?: string;
30
20
 
31
- /**
32
- * Whether the background color should be derived from the theme.
33
- */
21
+ /** Whether the background color should be derived from the theme */
34
22
  themeBg?: boolean;
35
23
 
36
- /**
37
- * Height of the view, can be a number or a percentage string.
38
- */
24
+ /** Height of the view (number = pixels, string = percentage) */
39
25
  h?: DimensionValue;
40
26
 
41
- /**
42
- * Width of the view, can be a number or a percentage string.
43
- */
27
+ /** Width of the view (number = pixels, string = percentage) */
44
28
  w?: DimensionValue;
45
29
 
46
- /**
47
- * Child components to be rendered inside StyledView.
48
- */
30
+ /** Child components to be rendered inside StyledView */
49
31
  children?: React.ReactNode;
50
32
 
51
- /**
52
- * Custom styles for the view component.
53
- */
33
+ /** Custom styles for the view component */
54
34
  style?: StyleProp<ViewStyle>;
55
35
 
56
- /**
57
- * A ref to access the underlying View component.
58
- * This can be used for measuring layout, animations, or imperative interactions.
59
- */
60
- ref?: React.RefObject<View>
36
+ /** Ref to access the underlying View component */
37
+ ref?: React.Ref<View>;
61
38
  };
62
39
 
63
- export type StyledTextProps = TextProps & {
64
- /**
65
- * Defines the typography variant for the text.
66
- */
40
+ export type StyledTextProps = TextProps & TextStyle & {
41
+ /** Typography scale for font size (e.g., xs, sm, md, lg, xl) */
42
+ fScale?: TypographyScale;
43
+
44
+ /** Typography variant to determine default text color */
67
45
  variant?: TypographyVariant;
68
46
 
69
- /**
70
- * Text content to be rendered inside StyledText.
71
- */
47
+ /** Text content to be rendered inside StyledText */
72
48
  children?: React.ReactNode;
73
49
 
74
- /**
75
- * Custom styles for the text component.
76
- */
50
+ /** Custom styles for the Text component */
77
51
  style?: StyleProp<TextStyle>;
78
52
 
79
- /**
80
- * Font family for the text.
81
- */
53
+ /** Font family for the text */
82
54
  ff?: string;
83
55
 
84
- /**
85
- * Font size of the text.
86
- */
56
+ /** Font size of the text (overrides fScale if provided) */
87
57
  fs?: number;
88
58
 
89
- /**
90
- * Font weight of the text.
91
- */
59
+ /** Font weight of the text */
92
60
  fw?: TextStyle['fontWeight'];
93
61
 
94
- /**
95
- * Whether the text should be automatically capitalized or adjusted based on the theme.
96
- */
62
+ /** Text align center flag (true = center, false/undefined = auto) */
97
63
  tas?: boolean;
98
64
 
99
- /**
100
- * Color of the text. Accepts standard color values.
101
- */
65
+ /** Color of the text (overrides variant and themeColor if provided) */
102
66
  color?: ColorValue;
103
67
 
104
- /**
105
- * Whether the text color should be derived from the theme.
106
- */
68
+ /** Whether to derive text color from the theme */
107
69
  themeColor?: boolean;
108
-
109
- /**
110
- * Whether the text should use the primary theme color.
111
- */
112
- primary?: boolean;
113
-
114
- /**
115
- * Whether the text should use the secondary theme color.
116
- */
117
- secondary?: boolean;
118
- };
70
+ };
@@ -0,0 +1,19 @@
1
+ import type { ReactNode } from "react";
2
+ import type { StyledViewProps } from "./styledComponents.type";
3
+
4
+ /**
5
+ * Props for the Surface component
6
+ */
7
+ export type SurfaceProps = StyledViewProps & {
8
+ /** Padding inside the surface container (applied uniformly) */
9
+ padding?: number;
10
+
11
+ /** Border radius of the surface container */
12
+ br?: number;
13
+
14
+ /** Style variant of the surface: 'elevated' adds shadow, 'outlined' adds border */
15
+ variant?: 'elevated' | 'outlined';
16
+
17
+ /** Child components to be rendered inside the surface */
18
+ children?: ReactNode;
19
+ };
@@ -1,6 +1,6 @@
1
- import type { StyleProp, TextInput, TextInputProps, TextStyle, ViewStyle } from "react-native";
2
- import type { TypographyVariant, UserInputVariant } from "./common.type";
3
- import type { JSX } from "react";
1
+ import type { ReactNode } from "react";
2
+ import type { StyleProp, TextInputProps, TextStyle, ViewStyle } from "react-native";
3
+ import type { TypographyScale, UserInputVariant } from "./common.type";
4
4
 
5
5
  export type UserInputProps = TextInputProps & {
6
6
  /**
@@ -30,10 +30,12 @@ export type UserInputProps = TextInputProps & {
30
30
  * Defines typography styles for text elements.
31
31
  * - `label`: Typography variant for the label.
32
32
  * - `helperText`: Typography variant for the helper text.
33
+ * - `inputText`: Typography variant for the input text.
33
34
  */
34
- textVariant?: {
35
- label?: TypographyVariant;
36
- helperText?: TypographyVariant;
35
+ textScale?: {
36
+ label?: TypographyScale;
37
+ helperText?: TypographyScale;
38
+ inputText?: TypographyScale;
37
39
  };
38
40
 
39
41
  /** Color of the text inside the input field. */
@@ -73,10 +75,10 @@ export type UserInputProps = TextInputProps & {
73
75
  multiline?: boolean;
74
76
 
75
77
  /** Renders a custom left icon inside the input field. */
76
- renderLeftIcon?: JSX.Element;
78
+ renderLeftIcon?: ReactNode;
77
79
 
78
80
  /** Renders a custom right icon inside the input field. */
79
- renderRightIcon?: JSX.Element;
81
+ renderRightIcon?: ReactNode;
80
82
 
81
83
  /**
82
84
  * Custom styles for different parts of the component.
@@ -93,10 +95,4 @@ export type UserInputProps = TextInputProps & {
93
95
  label?: StyleProp<TextStyle>;
94
96
  helperText?: StyleProp<TextStyle>;
95
97
  };
96
-
97
- /**
98
- * A ref to access the underlying View component.
99
- * This can be used for measuring layout, animations, or imperative interactions.
100
- */
101
- ref?: React.RefObject<TextInput>
102
98
  };
File without changes
@@ -1,78 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
- var _react = _interopRequireDefault(require("react"));
8
- var _reactNative = require("react-native");
9
- var _ResponsiveCalculations = require("../../helpers/ResponsiveCalculations.js");
10
- var _index = require("../StyledComponents/index.js");
11
- var _theme = require("../../constants/theme.js");
12
- var _jsxRuntime = require("react/jsx-runtime");
13
- function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
14
- const Header = ({
15
- title = 'Header',
16
- titleSize = 13,
17
- titleColor = _theme.DefaultTheme.TEXT_TARTARY_COLOR,
18
- titleAlignment = 'center',
19
- bg = '#000',
20
- renderRightIcon,
21
- renderLeftIcon
22
- }) => {
23
- const Styles = _reactNative.StyleSheet.create({
24
- MAIN_CONT: {
25
- flexDirection: 'row',
26
- justifyContent: 'space-between',
27
- alignItems: 'center',
28
- paddingVertical: (0, _ResponsiveCalculations.moderateVerticalScale)(13),
29
- paddingHorizontal: (0, _ResponsiveCalculations.moderateScale)(10),
30
- backgroundColor: bg,
31
- gap: (0, _ResponsiveCalculations.moderateScale)(10)
32
- },
33
- TEXT: {
34
- fontSize: titleSize && (0, _ResponsiveCalculations.responsiveFontSize)(titleSize),
35
- textAlign: titleAlignment,
36
- color: titleColor
37
- // fontFamily: FONTS_STYLES.POPPINS_SEMI_BOLD
38
- },
39
- RIGHT_ICON: {
40
- flexGrow: renderRightIcon && 0.1
41
- },
42
- LEFT_ICON: {
43
- flexGrow: renderLeftIcon && 0.1,
44
- alignItems: 'flex-end'
45
- }
46
- });
47
-
48
- // const navigation = useNavigation();
49
-
50
- return /*#__PURE__*/(0, _jsxRuntime.jsx)(_jsxRuntime.Fragment, {
51
- children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_reactNative.View, {
52
- style: Styles.MAIN_CONT,
53
- children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
54
- style: Styles.RIGHT_ICON,
55
- children: renderLeftIcon && /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.TouchableOpacity
56
- // onPress={() => navigation.goBack()}
57
- , {
58
- children: renderLeftIcon()
59
- })
60
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
61
- style: {
62
- flex: 1
63
- },
64
- children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_index.StyledText, {
65
- primary: true,
66
- style: Styles.TEXT,
67
- tas: true,
68
- children: title
69
- })
70
- }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.View, {
71
- style: Styles.LEFT_ICON,
72
- children: renderRightIcon && renderRightIcon()
73
- })]
74
- })
75
- });
76
- };
77
- var _default = exports.default = Header;
78
- //# sourceMappingURL=Header.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_ResponsiveCalculations","_index","_theme","_jsxRuntime","e","__esModule","default","Header","title","titleSize","titleColor","DefaultTheme","TEXT_TARTARY_COLOR","titleAlignment","bg","renderRightIcon","renderLeftIcon","Styles","StyleSheet","create","MAIN_CONT","flexDirection","justifyContent","alignItems","paddingVertical","moderateVerticalScale","paddingHorizontal","moderateScale","backgroundColor","gap","TEXT","fontSize","responsiveFontSize","textAlign","color","RIGHT_ICON","flexGrow","LEFT_ICON","jsx","Fragment","children","jsxs","View","style","TouchableOpacity","flex","StyledText","primary","tas","_default","exports"],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/Header/Header.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AAEA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,uBAAA,GAAAF,OAAA;AACA,IAAAG,MAAA,GAAAH,OAAA;AACA,IAAAI,MAAA,GAAAJ,OAAA;AAAqD,IAAAK,WAAA,GAAAL,OAAA;AAAA,SAAAD,uBAAAO,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAarD,MAAMG,MAA6B,GAAGA,CAAC;EACnCC,KAAK,GAAG,QAAQ;EAChBC,SAAS,GAAG,EAAE;EACdC,UAAU,GAAGC,mBAAY,CAACC,kBAAkB;EAC5CC,cAAc,GAAG,QAAQ;EACzBC,EAAE,GAAG,MAAM;EACXC,eAAe;EACfC;AACJ,CAAC,KAAK;EAEF,MAAMC,MAAM,GAAGC,uBAAU,CAACC,MAAM,CAAC;IAC7BC,SAAS,EAAE;MACPC,aAAa,EAAE,KAAK;MACpBC,cAAc,EAAE,eAAe;MAC/BC,UAAU,EAAE,QAAQ;MACpBC,eAAe,EAAE,IAAAC,6CAAqB,EAAC,EAAE,CAAC;MAC1CC,iBAAiB,EAAE,IAAAC,qCAAa,EAAC,EAAE,CAAC;MACpCC,eAAe,EAAEd,EAAE;MACnBe,GAAG,EAAE,IAAAF,qCAAa,EAAC,EAAE;IACzB,CAAC;IACDG,IAAI,EAAE;MACFC,QAAQ,EAAEtB,SAAS,IAAI,IAAAuB,0CAAkB,EAACvB,SAAS,CAAC;MACpDwB,SAAS,EAAEpB,cAAc;MACzBqB,KAAK,EAAExB;MACP;IACJ,CAAC;IACDyB,UAAU,EAAE;MACRC,QAAQ,EAAErB,eAAe,IAAI;IACjC,CAAC;IACDsB,SAAS,EAAE;MACPD,QAAQ,EAAEpB,cAAc,IAAI,GAAG;MAC/BO,UAAU,EAAE;IAChB;EACJ,CAAC,CAAC;;EAEF;;EAEA,oBAAQ,IAAApB,WAAA,CAAAmC,GAAA,EAAAnC,WAAA,CAAAoC,QAAA;IAAAC,QAAA,eACJ,IAAArC,WAAA,CAAAsC,IAAA,EAAC1C,YAAA,CAAA2C,IAAI;MAACC,KAAK,EAAE1B,MAAM,CAACG,SAAU;MAAAoB,QAAA,gBAC1B,IAAArC,WAAA,CAAAmC,GAAA,EAACvC,YAAA,CAAA2C,IAAI;QAACC,KAAK,EAAE1B,MAAM,CAACkB,UAAW;QAAAK,QAAA,EAC1BxB,cAAc,iBACX,IAAAb,WAAA,CAAAmC,GAAA,EAACvC,YAAA,CAAA6C;QACD;QAAA;UAAAJ,QAAA,EAGQxB,cAAc,CAAC;QAAC,CAEN;MAAC,CAErB,CAAC,eACP,IAAAb,WAAA,CAAAmC,GAAA,EAACvC,YAAA,CAAA2C,IAAI;QAACC,KAAK,EAAE;UAAEE,IAAI,EAAE;QAAE,CAAE;QAAAL,QAAA,eACrB,IAAArC,WAAA,CAAAmC,GAAA,EAACrC,MAAA,CAAA6C,UAAU;UAACC,OAAO;UAACJ,KAAK,EAAE1B,MAAM,CAACa,IAAK;UAACkB,GAAG;UAAAR,QAAA,EAAEhC;QAAK,CAAa;MAAC,CAC9D,CAAC,eACP,IAAAL,WAAA,CAAAmC,GAAA,EAACvC,YAAA,CAAA2C,IAAI;QAACC,KAAK,EAAE1B,MAAM,CAACoB,SAAU;QAAAG,QAAA,EAEtBzB,eAAe,IACfA,eAAe,CAAC;MAAC,CAEnB,CAAC;IAAA,CACL;EAAC,CACT,CAAC;AACP,CAAC;AAAA,IAAAkC,QAAA,GAAAC,OAAA,CAAA5C,OAAA,GACcC,MAAM","ignoreList":[]}
@@ -1,27 +0,0 @@
1
- "use strict";
2
-
3
- Object.defineProperty(exports, "__esModule", {
4
- value: true
5
- });
6
- exports.default = void 0;
7
- const LightenColorShades = (color, amount) => {
8
- if (color.startsWith("#")) {
9
- color = color.slice(1);
10
- }
11
- if (color.length === 3) {
12
- color = color.split("").map(c => c + c).join("");
13
- }
14
- if (color.length !== 6) {
15
- throw new Error("Invalid HEX color.");
16
- }
17
- const getValidColorValue = start => {
18
- const value = parseInt(color.slice(start, start + 2), 16);
19
- return Number.isNaN(value) ? 0 : Math.min(255, Math.max(0, value + amount));
20
- };
21
- const r = getValidColorValue(0);
22
- const g = getValidColorValue(2);
23
- const b = getValidColorValue(4);
24
- return `#${((1 << 24) + (r << 16) + (g << 8) + b).toString(16).slice(1).toUpperCase()}`;
25
- };
26
- var _default = exports.default = LightenColorShades;
27
- //# sourceMappingURL=LightenColorShades.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["LightenColorShades","color","amount","startsWith","slice","length","split","map","c","join","Error","getValidColorValue","start","value","parseInt","Number","isNaN","Math","min","max","r","g","b","toString","toUpperCase","_default","exports","default"],"sourceRoot":"..\\..\\..\\src","sources":["helpers/LightenColorShades.ts"],"mappings":";;;;;;AAAA,MAAMA,kBAAkB,GAAGA,CAACC,KAAa,EAAEC,MAAc,KAAa;EAClE,IAAID,KAAK,CAACE,UAAU,CAAC,GAAG,CAAC,EAAE;IACvBF,KAAK,GAAGA,KAAK,CAACG,KAAK,CAAC,CAAC,CAAC;EAC1B;EACA,IAAIH,KAAK,CAACI,MAAM,KAAK,CAAC,EAAE;IACpBJ,KAAK,GAAGA,KAAK,CAACK,KAAK,CAAC,EAAE,CAAC,CAACC,GAAG,CAACC,CAAC,IAAIA,CAAC,GAAGA,CAAC,CAAC,CAACC,IAAI,CAAC,EAAE,CAAC;EACpD;EACA,IAAIR,KAAK,CAACI,MAAM,KAAK,CAAC,EAAE;IACpB,MAAM,IAAIK,KAAK,CAAC,oBAAoB,CAAC;EACzC;EAEA,MAAMC,kBAAkB,GAAIC,KAAa,IAAa;IAClD,MAAMC,KAAK,GAAGC,QAAQ,CAACb,KAAK,CAACG,KAAK,CAACQ,KAAK,EAAEA,KAAK,GAAG,CAAC,CAAC,EAAE,EAAE,CAAC;IACzD,OAAOG,MAAM,CAACC,KAAK,CAACH,KAAK,CAAC,GAAG,CAAC,GAAGI,IAAI,CAACC,GAAG,CAAC,GAAG,EAAED,IAAI,CAACE,GAAG,CAAC,CAAC,EAAEN,KAAK,GAAGX,MAAM,CAAC,CAAC;EAC/E,CAAC;EAED,MAAMkB,CAAS,GAAGT,kBAAkB,CAAC,CAAC,CAAC;EACvC,MAAMU,CAAS,GAAGV,kBAAkB,CAAC,CAAC,CAAC;EACvC,MAAMW,CAAS,GAAGX,kBAAkB,CAAC,CAAC,CAAC;EAEvC,OAAO,IAAI,CAAC,CAAC,CAAC,IAAI,EAAE,KAAKS,CAAC,IAAI,EAAE,CAAC,IAAIC,CAAC,IAAI,CAAC,CAAC,GAAGC,CAAC,EAC3CC,QAAQ,CAAC,EAAE,CAAC,CACZnB,KAAK,CAAC,CAAC,CAAC,CACRoB,WAAW,CAAC,CAAC,EAAE;AACxB,CAAC;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAEa3B,kBAAkB","ignoreList":[]}
@@ -1 +0,0 @@
1
- {"version":3,"names":["_react","require","_NativeProvider","useResponsive","useContext","Context","isResponsive","_default","exports","default"],"sourceRoot":"..\\..\\..\\src","sources":["hooks/useResponsive.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,OAAA;AACA,IAAAC,eAAA,GAAAD,OAAA;AAEA,MAAME,aAAa,GAAGA,CAAA,KAAM,IAAAC,iBAAU,EAACC,uBAAO,CAAC,EAAEC,YAAY;AAAC,IAAAC,QAAA,GAAAC,OAAA,CAAAC,OAAA,GAE/CN,aAAa","ignoreList":[]}
@@ -1,25 +0,0 @@
1
- // import Color from "color";
2
- // import { dialogSizes, typographySizes } from "../constants";
3
- // import type { ThemeColorTypes, ThemeTypes } from "./ThemeTypes";
4
-
5
- // const createTheme = (theme: ThemeColorTypes) => {
6
- // console.log(theme)
7
- // const primaryColor = Color(theme.primary)
8
- // const isPrimaryDark = primaryColor.isDark();
9
- // return {
10
- // isDark: false,
11
- // colors: {
12
- // ...theme,
13
- // outline: '#8080805e',
14
- // disable: Color('rgba(0, 0, 0, 1)').alpha(0.12).rgb().string(),
15
-
16
- // },
17
- // typography: {
18
- // variantSizes: typographySizes
19
- // },
20
- // dialogSizes
21
- // }
22
- // }
23
- // export default createTheme;
24
- "use strict";
25
- //# sourceMappingURL=createTheme.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":[],"sourceRoot":"..\\..\\..\\src","sources":["themes/createTheme.ts"],"mappings":"AAAA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAA","ignoreList":[]}
@@ -1,73 +0,0 @@
1
- "use strict";
2
-
3
- import React from 'react';
4
- import { View, StyleSheet, TouchableOpacity } from 'react-native';
5
- import { moderateScale, moderateVerticalScale, responsiveFontSize } from "../../helpers/ResponsiveCalculations.js";
6
- import { StyledText } from "../StyledComponents/index.js";
7
- import { DefaultTheme } from "../../constants/theme.js";
8
- import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
9
- const Header = ({
10
- title = 'Header',
11
- titleSize = 13,
12
- titleColor = DefaultTheme.TEXT_TARTARY_COLOR,
13
- titleAlignment = 'center',
14
- bg = '#000',
15
- renderRightIcon,
16
- renderLeftIcon
17
- }) => {
18
- const Styles = StyleSheet.create({
19
- MAIN_CONT: {
20
- flexDirection: 'row',
21
- justifyContent: 'space-between',
22
- alignItems: 'center',
23
- paddingVertical: moderateVerticalScale(13),
24
- paddingHorizontal: moderateScale(10),
25
- backgroundColor: bg,
26
- gap: moderateScale(10)
27
- },
28
- TEXT: {
29
- fontSize: titleSize && responsiveFontSize(titleSize),
30
- textAlign: titleAlignment,
31
- color: titleColor
32
- // fontFamily: FONTS_STYLES.POPPINS_SEMI_BOLD
33
- },
34
- RIGHT_ICON: {
35
- flexGrow: renderRightIcon && 0.1
36
- },
37
- LEFT_ICON: {
38
- flexGrow: renderLeftIcon && 0.1,
39
- alignItems: 'flex-end'
40
- }
41
- });
42
-
43
- // const navigation = useNavigation();
44
-
45
- return /*#__PURE__*/_jsx(_Fragment, {
46
- children: /*#__PURE__*/_jsxs(View, {
47
- style: Styles.MAIN_CONT,
48
- children: [/*#__PURE__*/_jsx(View, {
49
- style: Styles.RIGHT_ICON,
50
- children: renderLeftIcon && /*#__PURE__*/_jsx(TouchableOpacity
51
- // onPress={() => navigation.goBack()}
52
- , {
53
- children: renderLeftIcon()
54
- })
55
- }), /*#__PURE__*/_jsx(View, {
56
- style: {
57
- flex: 1
58
- },
59
- children: /*#__PURE__*/_jsx(StyledText, {
60
- primary: true,
61
- style: Styles.TEXT,
62
- tas: true,
63
- children: title
64
- })
65
- }), /*#__PURE__*/_jsx(View, {
66
- style: Styles.LEFT_ICON,
67
- children: renderRightIcon && renderRightIcon()
68
- })]
69
- })
70
- });
71
- };
72
- export default Header;
73
- //# sourceMappingURL=Header.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["React","View","StyleSheet","TouchableOpacity","moderateScale","moderateVerticalScale","responsiveFontSize","StyledText","DefaultTheme","jsx","_jsx","jsxs","_jsxs","Fragment","_Fragment","Header","title","titleSize","titleColor","TEXT_TARTARY_COLOR","titleAlignment","bg","renderRightIcon","renderLeftIcon","Styles","create","MAIN_CONT","flexDirection","justifyContent","alignItems","paddingVertical","paddingHorizontal","backgroundColor","gap","TEXT","fontSize","textAlign","color","RIGHT_ICON","flexGrow","LEFT_ICON","children","style","flex","primary","tas"],"sourceRoot":"..\\..\\..\\..\\src","sources":["components/Header/Header.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AAEzB,SAASC,IAAI,EAAEC,UAAU,EAAEC,gBAAgB,QAAQ,cAAc;AACjE,SAASC,aAAa,EAAEC,qBAAqB,EAAEC,kBAAkB,QAAQ,yCAAsC;AAC/G,SAASC,UAAU,QAAQ,8BAAqB;AAChD,SAASC,YAAY,QAAQ,0BAAuB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA,EAAAC,QAAA,IAAAC,SAAA;AAarD,MAAMC,MAA6B,GAAGA,CAAC;EACnCC,KAAK,GAAG,QAAQ;EAChBC,SAAS,GAAG,EAAE;EACdC,UAAU,GAAGV,YAAY,CAACW,kBAAkB;EAC5CC,cAAc,GAAG,QAAQ;EACzBC,EAAE,GAAG,MAAM;EACXC,eAAe;EACfC;AACJ,CAAC,KAAK;EAEF,MAAMC,MAAM,GAAGtB,UAAU,CAACuB,MAAM,CAAC;IAC7BC,SAAS,EAAE;MACPC,aAAa,EAAE,KAAK;MACpBC,cAAc,EAAE,eAAe;MAC/BC,UAAU,EAAE,QAAQ;MACpBC,eAAe,EAAEzB,qBAAqB,CAAC,EAAE,CAAC;MAC1C0B,iBAAiB,EAAE3B,aAAa,CAAC,EAAE,CAAC;MACpC4B,eAAe,EAAEX,EAAE;MACnBY,GAAG,EAAE7B,aAAa,CAAC,EAAE;IACzB,CAAC;IACD8B,IAAI,EAAE;MACFC,QAAQ,EAAElB,SAAS,IAAIX,kBAAkB,CAACW,SAAS,CAAC;MACpDmB,SAAS,EAAEhB,cAAc;MACzBiB,KAAK,EAAEnB;MACP;IACJ,CAAC;IACDoB,UAAU,EAAE;MACRC,QAAQ,EAAEjB,eAAe,IAAI;IACjC,CAAC;IACDkB,SAAS,EAAE;MACPD,QAAQ,EAAEhB,cAAc,IAAI,GAAG;MAC/BM,UAAU,EAAE;IAChB;EACJ,CAAC,CAAC;;EAEF;;EAEA,oBAAQnB,IAAA,CAAAI,SAAA;IAAA2B,QAAA,eACJ7B,KAAA,CAACX,IAAI;MAACyC,KAAK,EAAElB,MAAM,CAACE,SAAU;MAAAe,QAAA,gBAC1B/B,IAAA,CAACT,IAAI;QAACyC,KAAK,EAAElB,MAAM,CAACc,UAAW;QAAAG,QAAA,EAC1BlB,cAAc,iBACXb,IAAA,CAACP;QACD;QAAA;UAAAsC,QAAA,EAGQlB,cAAc,CAAC;QAAC,CAEN;MAAC,CAErB,CAAC,eACPb,IAAA,CAACT,IAAI;QAACyC,KAAK,EAAE;UAAEC,IAAI,EAAE;QAAE,CAAE;QAAAF,QAAA,eACrB/B,IAAA,CAACH,UAAU;UAACqC,OAAO;UAACF,KAAK,EAAElB,MAAM,CAACU,IAAK;UAACW,GAAG;UAAAJ,QAAA,EAAEzB;QAAK,CAAa;MAAC,CAC9D,CAAC,eACPN,IAAA,CAACT,IAAI;QAACyC,KAAK,EAAElB,MAAM,CAACgB,SAAU;QAAAC,QAAA,EAEtBnB,eAAe,IACfA,eAAe,CAAC;MAAC,CAEnB,CAAC;IAAA,CACL;EAAC,CACT,CAAC;AACP,CAAC;AACD,eAAeP,MAAM","ignoreList":[]}
@@ -1,23 +0,0 @@
1
- "use strict";
2
-
3
- const LightenColorShades = (color, amount) => {
4
- if (color.startsWith("#")) {
5
- color = color.slice(1);
6
- }
7
- if (color.length === 3) {
8
- color = color.split("").map(c => c + c).join("");
9
- }
10
- if (color.length !== 6) {
11
- throw new Error("Invalid HEX color.");
12
- }
13
- const getValidColorValue = start => {
14
- const value = parseInt(color.slice(start, start + 2), 16);
15
- return Number.isNaN(value) ? 0 : Math.min(255, Math.max(0, value + amount));
16
- };
17
- const r = getValidColorValue(0);
18
- const g = getValidColorValue(2);
19
- const b = getValidColorValue(4);
20
- return `#${((1 << 24) + (r << 16) + (g << 8) + b).toString(16).slice(1).toUpperCase()}`;
21
- };
22
- export default LightenColorShades;
23
- //# sourceMappingURL=LightenColorShades.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["LightenColorShades","color","amount","startsWith","slice","length","split","map","c","join","Error","getValidColorValue","start","value","parseInt","Number","isNaN","Math","min","max","r","g","b","toString","toUpperCase"],"sourceRoot":"..\\..\\..\\src","sources":["helpers/LightenColorShades.ts"],"mappings":";;AAAA,MAAMA,kBAAkB,GAAGA,CAACC,KAAa,EAAEC,MAAc,KAAa;EAClE,IAAID,KAAK,CAACE,UAAU,CAAC,GAAG,CAAC,EAAE;IACvBF,KAAK,GAAGA,KAAK,CAACG,KAAK,CAAC,CAAC,CAAC;EAC1B;EACA,IAAIH,KAAK,CAACI,MAAM,KAAK,CAAC,EAAE;IACpBJ,KAAK,GAAGA,KAAK,CAACK,KAAK,CAAC,EAAE,CAAC,CAACC,GAAG,CAACC,CAAC,IAAIA,CAAC,GAAGA,CAAC,CAAC,CAACC,IAAI,CAAC,EAAE,CAAC;EACpD;EACA,IAAIR,KAAK,CAACI,MAAM,KAAK,CAAC,EAAE;IACpB,MAAM,IAAIK,KAAK,CAAC,oBAAoB,CAAC;EACzC;EAEA,MAAMC,kBAAkB,GAAIC,KAAa,IAAa;IAClD,MAAMC,KAAK,GAAGC,QAAQ,CAACb,KAAK,CAACG,KAAK,CAACQ,KAAK,EAAEA,KAAK,GAAG,CAAC,CAAC,EAAE,EAAE,CAAC;IACzD,OAAOG,MAAM,CAACC,KAAK,CAACH,KAAK,CAAC,GAAG,CAAC,GAAGI,IAAI,CAACC,GAAG,CAAC,GAAG,EAAED,IAAI,CAACE,GAAG,CAAC,CAAC,EAAEN,KAAK,GAAGX,MAAM,CAAC,CAAC;EAC/E,CAAC;EAED,MAAMkB,CAAS,GAAGT,kBAAkB,CAAC,CAAC,CAAC;EACvC,MAAMU,CAAS,GAAGV,kBAAkB,CAAC,CAAC,CAAC;EACvC,MAAMW,CAAS,GAAGX,kBAAkB,CAAC,CAAC,CAAC;EAEvC,OAAO,IAAI,CAAC,CAAC,CAAC,IAAI,EAAE,KAAKS,CAAC,IAAI,EAAE,CAAC,IAAIC,CAAC,IAAI,CAAC,CAAC,GAAGC,CAAC,EAC3CC,QAAQ,CAAC,EAAE,CAAC,CACZnB,KAAK,CAAC,CAAC,CAAC,CACRoB,WAAW,CAAC,CAAC,EAAE;AACxB,CAAC;AAED,eAAexB,kBAAkB","ignoreList":[]}
@@ -1,7 +0,0 @@
1
- "use strict";
2
-
3
- import { useContext } from 'react';
4
- import { Context } from "../components/Provider/NativeProvider.js";
5
- const useResponsive = () => useContext(Context)?.isResponsive;
6
- export default useResponsive;
7
- //# sourceMappingURL=useResponsive.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["useContext","Context","useResponsive","isResponsive"],"sourceRoot":"..\\..\\..\\src","sources":["hooks/useResponsive.tsx"],"mappings":";;AAAA,SAASA,UAAU,QAAQ,OAAO;AAClC,SAASC,OAAO,QAAQ,0CAAuC;AAE/D,MAAMC,aAAa,GAAGA,CAAA,KAAMF,UAAU,CAACC,OAAO,CAAC,EAAEE,YAAY;AAE7D,eAAeD,aAAa","ignoreList":[]}
@@ -1,25 +0,0 @@
1
- // import Color from "color";
2
- // import { dialogSizes, typographySizes } from "../constants";
3
- // import type { ThemeColorTypes, ThemeTypes } from "./ThemeTypes";
4
-
5
- // const createTheme = (theme: ThemeColorTypes) => {
6
- // console.log(theme)
7
- // const primaryColor = Color(theme.primary)
8
- // const isPrimaryDark = primaryColor.isDark();
9
- // return {
10
- // isDark: false,
11
- // colors: {
12
- // ...theme,
13
- // outline: '#8080805e',
14
- // disable: Color('rgba(0, 0, 0, 1)').alpha(0.12).rgb().string(),
15
-
16
- // },
17
- // typography: {
18
- // variantSizes: typographySizes
19
- // },
20
- // dialogSizes
21
- // }
22
- // }
23
- // export default createTheme;
24
- "use strict";
25
- //# sourceMappingURL=createTheme.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":[],"sourceRoot":"..\\..\\..\\src","sources":["themes/createTheme.ts"],"mappings":"AAAA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAAA","ignoreList":[]}
@@ -1,16 +0,0 @@
1
- import React from 'react';
2
- import type { JSX } from 'react';
3
- type HeaderProps = {
4
- title?: string;
5
- titleSize?: number;
6
- titleColor?: string;
7
- titleAlignment?: "center" | "auto" | "left" | "right" | "justify";
8
- bg?: string;
9
- renderRightIcon?: () => JSX.Element;
10
- renderLeftIcon?: () => JSX.Element;
11
- isBack?: boolean;
12
- };
13
- declare const Header: React.FC<HeaderProps>;
14
- export default Header;
15
- export type { HeaderProps };
16
- //# sourceMappingURL=Header.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Header.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Header/Header.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAMjC,KAAK,WAAW,GAAG;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE,QAAQ,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC;IAClE,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,eAAe,CAAC,EAAE,MAAM,GAAG,CAAC,OAAO,CAAC;IACpC,cAAc,CAAC,EAAE,MAAM,GAAG,CAAC,OAAO,CAAC;IACnC,MAAM,CAAC,EAAE,OAAO,CAAC;CACpB,CAAA;AAED,QAAA,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CA6DjC,CAAA;AACD,eAAe,MAAM,CAAC;AACtB,YAAY,EAAE,WAAW,EAAE,CAAC"}
@@ -1,3 +0,0 @@
1
- declare const LightenColorShades: (color: string, amount: number) => string;
2
- export default LightenColorShades;
3
- //# sourceMappingURL=LightenColorShades.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LightenColorShades.d.ts","sourceRoot":"","sources":["../../../../../src/helpers/LightenColorShades.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,kBAAkB,GAAI,OAAO,MAAM,EAAE,QAAQ,MAAM,KAAG,MAwB3D,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
@@ -1,3 +0,0 @@
1
- declare const useResponsive: () => boolean | undefined;
2
- export default useResponsive;
3
- //# sourceMappingURL=useResponsive.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useResponsive.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/useResponsive.tsx"],"names":[],"mappings":"AAGA,QAAA,MAAM,aAAa,2BAA0C,CAAC;AAE9D,eAAe,aAAa,CAAC"}
@@ -1 +0,0 @@
1
- //# sourceMappingURL=createTheme.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"createTheme.d.ts","sourceRoot":"","sources":["../../../../../src/themes/createTheme.ts"],"names":[],"mappings":""}
@@ -1,16 +0,0 @@
1
- import React from 'react';
2
- import type { JSX } from 'react';
3
- type HeaderProps = {
4
- title?: string;
5
- titleSize?: number;
6
- titleColor?: string;
7
- titleAlignment?: "center" | "auto" | "left" | "right" | "justify";
8
- bg?: string;
9
- renderRightIcon?: () => JSX.Element;
10
- renderLeftIcon?: () => JSX.Element;
11
- isBack?: boolean;
12
- };
13
- declare const Header: React.FC<HeaderProps>;
14
- export default Header;
15
- export type { HeaderProps };
16
- //# sourceMappingURL=Header.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Header.d.ts","sourceRoot":"","sources":["../../../../../../src/components/Header/Header.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAMjC,KAAK,WAAW,GAAG;IACf,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,cAAc,CAAC,EAAE,QAAQ,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,SAAS,CAAC;IAClE,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,eAAe,CAAC,EAAE,MAAM,GAAG,CAAC,OAAO,CAAC;IACpC,cAAc,CAAC,EAAE,MAAM,GAAG,CAAC,OAAO,CAAC;IACnC,MAAM,CAAC,EAAE,OAAO,CAAC;CACpB,CAAA;AAED,QAAA,MAAM,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,WAAW,CA6DjC,CAAA;AACD,eAAe,MAAM,CAAC;AACtB,YAAY,EAAE,WAAW,EAAE,CAAC"}
@@ -1,3 +0,0 @@
1
- declare const LightenColorShades: (color: string, amount: number) => string;
2
- export default LightenColorShades;
3
- //# sourceMappingURL=LightenColorShades.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LightenColorShades.d.ts","sourceRoot":"","sources":["../../../../../src/helpers/LightenColorShades.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,kBAAkB,GAAI,OAAO,MAAM,EAAE,QAAQ,MAAM,KAAG,MAwB3D,CAAC;AAEF,eAAe,kBAAkB,CAAC"}
@@ -1,3 +0,0 @@
1
- declare const useResponsive: () => boolean | undefined;
2
- export default useResponsive;
3
- //# sourceMappingURL=useResponsive.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useResponsive.d.ts","sourceRoot":"","sources":["../../../../../src/hooks/useResponsive.tsx"],"names":[],"mappings":"AAGA,QAAA,MAAM,aAAa,2BAA0C,CAAC;AAE9D,eAAe,aAAa,CAAC"}
@@ -1 +0,0 @@
1
- //# sourceMappingURL=createTheme.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"createTheme.d.ts","sourceRoot":"","sources":["../../../../../src/themes/createTheme.ts"],"names":[],"mappings":""}