@nexara/nativeflow 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (717) hide show
  1. package/LICENSE +20 -0
  2. package/README.md +67 -0
  3. package/lib/commonjs/assets/svg/Check.js +26 -0
  4. package/lib/commonjs/assets/svg/Check.js.map +1 -0
  5. package/lib/commonjs/assets/svg/X.js +24 -0
  6. package/lib/commonjs/assets/svg/X.js.map +1 -0
  7. package/lib/commonjs/assets/svg/index.js +21 -0
  8. package/lib/commonjs/assets/svg/index.js.map +1 -0
  9. package/lib/commonjs/components/Avatar/AvatarImage.js +45 -0
  10. package/lib/commonjs/components/Avatar/AvatarImage.js.map +1 -0
  11. package/lib/commonjs/components/Avatar/AvatarText.js +45 -0
  12. package/lib/commonjs/components/Avatar/AvatarText.js.map +1 -0
  13. package/lib/commonjs/components/Avatar/index.js +15 -0
  14. package/lib/commonjs/components/Avatar/index.js.map +1 -0
  15. package/lib/commonjs/components/Button/Button.js +148 -0
  16. package/lib/commonjs/components/Button/Button.js.map +1 -0
  17. package/lib/commonjs/components/Button/utils.js +105 -0
  18. package/lib/commonjs/components/Button/utils.js.map +1 -0
  19. package/lib/commonjs/components/CheckBox/CheckBox.js +105 -0
  20. package/lib/commonjs/components/CheckBox/CheckBox.js.map +1 -0
  21. package/lib/commonjs/components/Chip/Chip.js +92 -0
  22. package/lib/commonjs/components/Chip/Chip.js.map +1 -0
  23. package/lib/commonjs/components/Chip/utils.js +73 -0
  24. package/lib/commonjs/components/Chip/utils.js.map +1 -0
  25. package/lib/commonjs/components/Dialog/Dialog.js +114 -0
  26. package/lib/commonjs/components/Dialog/Dialog.js.map +1 -0
  27. package/lib/commonjs/components/Dialog/DialogBody.js +37 -0
  28. package/lib/commonjs/components/Dialog/DialogBody.js.map +1 -0
  29. package/lib/commonjs/components/Dialog/DialogDescription.js +39 -0
  30. package/lib/commonjs/components/Dialog/DialogDescription.js.map +1 -0
  31. package/lib/commonjs/components/Dialog/DialogFoot.js +38 -0
  32. package/lib/commonjs/components/Dialog/DialogFoot.js.map +1 -0
  33. package/lib/commonjs/components/Dialog/DialogHead.js +58 -0
  34. package/lib/commonjs/components/Dialog/DialogHead.js.map +1 -0
  35. package/lib/commonjs/components/Dialog/index.js +42 -0
  36. package/lib/commonjs/components/Dialog/index.js.map +1 -0
  37. package/lib/commonjs/components/Divider/Divider.js +33 -0
  38. package/lib/commonjs/components/Divider/Divider.js.map +1 -0
  39. package/lib/commonjs/components/Grid/Grid.js +66 -0
  40. package/lib/commonjs/components/Grid/Grid.js.map +1 -0
  41. package/lib/commonjs/components/Header/Header.js +78 -0
  42. package/lib/commonjs/components/Header/Header.js.map +1 -0
  43. package/lib/commonjs/components/Icon/Icon.js +26 -0
  44. package/lib/commonjs/components/Icon/Icon.js.map +1 -0
  45. package/lib/commonjs/components/IconButton/IconButton.js +39 -0
  46. package/lib/commonjs/components/IconButton/IconButton.js.map +1 -0
  47. package/lib/commonjs/components/Link/Link.js +45 -0
  48. package/lib/commonjs/components/Link/Link.js.map +1 -0
  49. package/lib/commonjs/components/Menu/Menu.js +165 -0
  50. package/lib/commonjs/components/Menu/Menu.js.map +1 -0
  51. package/lib/commonjs/components/Menu/MenuItem.js +39 -0
  52. package/lib/commonjs/components/Menu/MenuItem.js.map +1 -0
  53. package/lib/commonjs/components/Menu/MenuItemLabel.js +31 -0
  54. package/lib/commonjs/components/Menu/MenuItemLabel.js.map +1 -0
  55. package/lib/commonjs/components/Menu/calculations.js +31 -0
  56. package/lib/commonjs/components/Menu/calculations.js.map +1 -0
  57. package/lib/commonjs/components/Menu/index.js +28 -0
  58. package/lib/commonjs/components/Menu/index.js.map +1 -0
  59. package/lib/commonjs/components/Portal/Portal.js +29 -0
  60. package/lib/commonjs/components/Portal/Portal.js.map +1 -0
  61. package/lib/commonjs/components/Portal/PortalContext.js +19 -0
  62. package/lib/commonjs/components/Portal/PortalContext.js.map +1 -0
  63. package/lib/commonjs/components/Portal/PortalProvider.js +47 -0
  64. package/lib/commonjs/components/Portal/PortalProvider.js.map +1 -0
  65. package/lib/commonjs/components/Progress/Progress.js +58 -0
  66. package/lib/commonjs/components/Progress/Progress.js.map +1 -0
  67. package/lib/commonjs/components/Provider/NativeProvider.js +44 -0
  68. package/lib/commonjs/components/Provider/NativeProvider.js.map +1 -0
  69. package/lib/commonjs/components/Slider/Slider.js +43 -0
  70. package/lib/commonjs/components/Slider/Slider.js.map +1 -0
  71. package/lib/commonjs/components/Stack/HStack.js +43 -0
  72. package/lib/commonjs/components/Stack/HStack.js.map +1 -0
  73. package/lib/commonjs/components/Stack/VStack.js +36 -0
  74. package/lib/commonjs/components/Stack/VStack.js.map +1 -0
  75. package/lib/commonjs/components/Stack/index.js +15 -0
  76. package/lib/commonjs/components/Stack/index.js.map +1 -0
  77. package/lib/commonjs/components/StyledComponents/StyledText.js +49 -0
  78. package/lib/commonjs/components/StyledComponents/StyledText.js.map +1 -0
  79. package/lib/commonjs/components/StyledComponents/StyledView.js +43 -0
  80. package/lib/commonjs/components/StyledComponents/StyledView.js.map +1 -0
  81. package/lib/commonjs/components/StyledComponents/index.js +21 -0
  82. package/lib/commonjs/components/StyledComponents/index.js.map +1 -0
  83. package/lib/commonjs/components/Surface/Surface.js +36 -0
  84. package/lib/commonjs/components/Surface/Surface.js.map +1 -0
  85. package/lib/commonjs/components/Switch/Switch.js +48 -0
  86. package/lib/commonjs/components/Switch/Switch.js.map +1 -0
  87. package/lib/commonjs/components/TouchableRipple/TouchableRipple.js +105 -0
  88. package/lib/commonjs/components/TouchableRipple/TouchableRipple.js.map +1 -0
  89. package/lib/commonjs/components/UserInput/UserInput.js +122 -0
  90. package/lib/commonjs/components/UserInput/UserInput.js.map +1 -0
  91. package/lib/commonjs/components/UserInput/UserInputV2.js +95 -0
  92. package/lib/commonjs/components/UserInput/UserInputV2.js.map +1 -0
  93. package/lib/commonjs/components/UserInput/generateColors.js +18 -0
  94. package/lib/commonjs/components/UserInput/generateColors.js.map +1 -0
  95. package/lib/commonjs/constants/breakPoints.js +15 -0
  96. package/lib/commonjs/constants/breakPoints.js.map +1 -0
  97. package/lib/commonjs/constants/dialogSizes.js +15 -0
  98. package/lib/commonjs/constants/dialogSizes.js.map +1 -0
  99. package/lib/commonjs/constants/index.js +28 -0
  100. package/lib/commonjs/constants/index.js.map +1 -0
  101. package/lib/commonjs/constants/theme.js +21 -0
  102. package/lib/commonjs/constants/theme.js.map +1 -0
  103. package/lib/commonjs/constants/typographySizes.js +17 -0
  104. package/lib/commonjs/constants/typographySizes.js.map +1 -0
  105. package/lib/commonjs/helpers/CalculateGridSize.js +27 -0
  106. package/lib/commonjs/helpers/CalculateGridSize.js.map +1 -0
  107. package/lib/commonjs/helpers/DeviceSizeCategory.js +40 -0
  108. package/lib/commonjs/helpers/DeviceSizeCategory.js.map +1 -0
  109. package/lib/commonjs/helpers/LightenColorShades.js +14 -0
  110. package/lib/commonjs/helpers/LightenColorShades.js.map +1 -0
  111. package/lib/commonjs/helpers/ResponsiveCalculations.js +77 -0
  112. package/lib/commonjs/helpers/ResponsiveCalculations.js.map +1 -0
  113. package/lib/commonjs/helpers/index.js +21 -0
  114. package/lib/commonjs/helpers/index.js.map +1 -0
  115. package/lib/commonjs/hooks/index.js +35 -0
  116. package/lib/commonjs/hooks/index.js.map +1 -0
  117. package/lib/commonjs/hooks/useColorScheme.js +17 -0
  118. package/lib/commonjs/hooks/useColorScheme.js.map +1 -0
  119. package/lib/commonjs/hooks/useConditionalWindowDimension.js +15 -0
  120. package/lib/commonjs/hooks/useConditionalWindowDimension.js.map +1 -0
  121. package/lib/commonjs/hooks/useResponsive.js +11 -0
  122. package/lib/commonjs/hooks/useResponsive.js.map +1 -0
  123. package/lib/commonjs/hooks/useTheme.js +17 -0
  124. package/lib/commonjs/hooks/useTheme.js.map +1 -0
  125. package/lib/commonjs/index.js +255 -0
  126. package/lib/commonjs/index.js.map +1 -0
  127. package/lib/commonjs/themes/DarkTheme.js +38 -0
  128. package/lib/commonjs/themes/DarkTheme.js.map +1 -0
  129. package/lib/commonjs/themes/LightTheme.js +97 -0
  130. package/lib/commonjs/themes/LightTheme.js.map +1 -0
  131. package/lib/commonjs/themes/createTheme.js +25 -0
  132. package/lib/commonjs/themes/createTheme.js.map +1 -0
  133. package/lib/commonjs/themes/index.js +21 -0
  134. package/lib/commonjs/themes/index.js.map +1 -0
  135. package/lib/commonjs/types/avatar.type.js +6 -0
  136. package/lib/commonjs/types/avatar.type.js.map +1 -0
  137. package/lib/commonjs/types/button.type.js +6 -0
  138. package/lib/commonjs/types/button.type.js.map +1 -0
  139. package/lib/commonjs/types/checkbox.type.js +6 -0
  140. package/lib/commonjs/types/checkbox.type.js.map +1 -0
  141. package/lib/commonjs/types/chip.type.js +6 -0
  142. package/lib/commonjs/types/chip.type.js.map +1 -0
  143. package/lib/commonjs/types/common.type.js +6 -0
  144. package/lib/commonjs/types/common.type.js.map +1 -0
  145. package/lib/commonjs/types/dialog.type.js +6 -0
  146. package/lib/commonjs/types/dialog.type.js.map +1 -0
  147. package/lib/commonjs/types/grid.type.js +6 -0
  148. package/lib/commonjs/types/grid.type.js.map +1 -0
  149. package/lib/commonjs/types/index.js +138 -0
  150. package/lib/commonjs/types/index.js.map +1 -0
  151. package/lib/commonjs/types/menu.type.js +6 -0
  152. package/lib/commonjs/types/menu.type.js.map +1 -0
  153. package/lib/commonjs/types/stack.type.js +6 -0
  154. package/lib/commonjs/types/stack.type.js.map +1 -0
  155. package/lib/commonjs/types/styledComponents.type.js +6 -0
  156. package/lib/commonjs/types/styledComponents.type.js.map +1 -0
  157. package/lib/commonjs/types/switch.type.js +6 -0
  158. package/lib/commonjs/types/switch.type.js.map +1 -0
  159. package/lib/commonjs/types/userInput.type.js +6 -0
  160. package/lib/commonjs/types/userInput.type.js.map +1 -0
  161. package/lib/module/assets/svg/Check.js +22 -0
  162. package/lib/module/assets/svg/Check.js.map +1 -0
  163. package/lib/module/assets/svg/X.js +20 -0
  164. package/lib/module/assets/svg/X.js.map +1 -0
  165. package/lib/module/assets/svg/index.js +5 -0
  166. package/lib/module/assets/svg/index.js.map +1 -0
  167. package/lib/module/components/Avatar/AvatarImage.js +40 -0
  168. package/lib/module/components/Avatar/AvatarImage.js.map +1 -0
  169. package/lib/module/components/Avatar/AvatarText.js +40 -0
  170. package/lib/module/components/Avatar/AvatarText.js.map +1 -0
  171. package/lib/module/components/Avatar/index.js +10 -0
  172. package/lib/module/components/Avatar/index.js.map +1 -0
  173. package/lib/module/components/Button/Button.js +143 -0
  174. package/lib/module/components/Button/Button.js.map +1 -0
  175. package/lib/module/components/Button/utils.js +101 -0
  176. package/lib/module/components/Button/utils.js.map +1 -0
  177. package/lib/module/components/CheckBox/CheckBox.js +99 -0
  178. package/lib/module/components/CheckBox/CheckBox.js.map +1 -0
  179. package/lib/module/components/Chip/Chip.js +87 -0
  180. package/lib/module/components/Chip/Chip.js.map +1 -0
  181. package/lib/module/components/Chip/utils.js +69 -0
  182. package/lib/module/components/Chip/utils.js.map +1 -0
  183. package/lib/module/components/Dialog/Dialog.js +107 -0
  184. package/lib/module/components/Dialog/Dialog.js.map +1 -0
  185. package/lib/module/components/Dialog/DialogBody.js +32 -0
  186. package/lib/module/components/Dialog/DialogBody.js.map +1 -0
  187. package/lib/module/components/Dialog/DialogDescription.js +34 -0
  188. package/lib/module/components/Dialog/DialogDescription.js.map +1 -0
  189. package/lib/module/components/Dialog/DialogFoot.js +33 -0
  190. package/lib/module/components/Dialog/DialogFoot.js.map +1 -0
  191. package/lib/module/components/Dialog/DialogHead.js +53 -0
  192. package/lib/module/components/Dialog/DialogHead.js.map +1 -0
  193. package/lib/module/components/Dialog/index.js +8 -0
  194. package/lib/module/components/Dialog/index.js.map +1 -0
  195. package/lib/module/components/Divider/Divider.js +28 -0
  196. package/lib/module/components/Divider/Divider.js.map +1 -0
  197. package/lib/module/components/Grid/Grid.js +60 -0
  198. package/lib/module/components/Grid/Grid.js.map +1 -0
  199. package/lib/module/components/Header/Header.js +73 -0
  200. package/lib/module/components/Header/Header.js.map +1 -0
  201. package/lib/module/components/Icon/Icon.js +21 -0
  202. package/lib/module/components/Icon/Icon.js.map +1 -0
  203. package/lib/module/components/IconButton/IconButton.js +34 -0
  204. package/lib/module/components/IconButton/IconButton.js.map +1 -0
  205. package/lib/module/components/Link/Link.js +41 -0
  206. package/lib/module/components/Link/Link.js.map +1 -0
  207. package/lib/module/components/Menu/Menu.js +158 -0
  208. package/lib/module/components/Menu/Menu.js.map +1 -0
  209. package/lib/module/components/Menu/MenuItem.js +34 -0
  210. package/lib/module/components/Menu/MenuItem.js.map +1 -0
  211. package/lib/module/components/Menu/MenuItemLabel.js +26 -0
  212. package/lib/module/components/Menu/MenuItemLabel.js.map +1 -0
  213. package/lib/module/components/Menu/calculations.js +27 -0
  214. package/lib/module/components/Menu/calculations.js.map +1 -0
  215. package/lib/module/components/Menu/index.js +6 -0
  216. package/lib/module/components/Menu/index.js.map +1 -0
  217. package/lib/module/components/Portal/Portal.js +24 -0
  218. package/lib/module/components/Portal/Portal.js.map +1 -0
  219. package/lib/module/components/Portal/PortalContext.js +13 -0
  220. package/lib/module/components/Portal/PortalContext.js.map +1 -0
  221. package/lib/module/components/Portal/PortalProvider.js +40 -0
  222. package/lib/module/components/Portal/PortalProvider.js.map +1 -0
  223. package/lib/module/components/Progress/Progress.js +52 -0
  224. package/lib/module/components/Progress/Progress.js.map +1 -0
  225. package/lib/module/components/Provider/NativeProvider.js +38 -0
  226. package/lib/module/components/Provider/NativeProvider.js.map +1 -0
  227. package/lib/module/components/Slider/Slider.js +38 -0
  228. package/lib/module/components/Slider/Slider.js.map +1 -0
  229. package/lib/module/components/Stack/HStack.js +37 -0
  230. package/lib/module/components/Stack/HStack.js.map +1 -0
  231. package/lib/module/components/Stack/VStack.js +30 -0
  232. package/lib/module/components/Stack/VStack.js.map +1 -0
  233. package/lib/module/components/Stack/index.js +10 -0
  234. package/lib/module/components/Stack/index.js.map +1 -0
  235. package/lib/module/components/StyledComponents/StyledText.js +44 -0
  236. package/lib/module/components/StyledComponents/StyledText.js.map +1 -0
  237. package/lib/module/components/StyledComponents/StyledView.js +38 -0
  238. package/lib/module/components/StyledComponents/StyledView.js.map +1 -0
  239. package/lib/module/components/StyledComponents/index.js +5 -0
  240. package/lib/module/components/StyledComponents/index.js.map +1 -0
  241. package/lib/module/components/Surface/Surface.js +31 -0
  242. package/lib/module/components/Surface/Surface.js.map +1 -0
  243. package/lib/module/components/Switch/Switch.js +43 -0
  244. package/lib/module/components/Switch/Switch.js.map +1 -0
  245. package/lib/module/components/TouchableRipple/TouchableRipple.js +98 -0
  246. package/lib/module/components/TouchableRipple/TouchableRipple.js.map +1 -0
  247. package/lib/module/components/UserInput/UserInput.js +119 -0
  248. package/lib/module/components/UserInput/UserInput.js.map +1 -0
  249. package/lib/module/components/UserInput/UserInputV2.js +90 -0
  250. package/lib/module/components/UserInput/UserInputV2.js.map +1 -0
  251. package/lib/module/components/UserInput/generateColors.js +14 -0
  252. package/lib/module/components/UserInput/generateColors.js.map +1 -0
  253. package/lib/module/constants/breakPoints.js +11 -0
  254. package/lib/module/constants/breakPoints.js.map +1 -0
  255. package/lib/module/constants/dialogSizes.js +11 -0
  256. package/lib/module/constants/dialogSizes.js.map +1 -0
  257. package/lib/module/constants/index.js +6 -0
  258. package/lib/module/constants/index.js.map +1 -0
  259. package/lib/module/constants/theme.js +17 -0
  260. package/lib/module/constants/theme.js.map +1 -0
  261. package/lib/module/constants/typographySizes.js +13 -0
  262. package/lib/module/constants/typographySizes.js.map +1 -0
  263. package/lib/module/helpers/CalculateGridSize.js +22 -0
  264. package/lib/module/helpers/CalculateGridSize.js.map +1 -0
  265. package/lib/module/helpers/DeviceSizeCategory.js +36 -0
  266. package/lib/module/helpers/DeviceSizeCategory.js.map +1 -0
  267. package/lib/module/helpers/LightenColorShades.js +10 -0
  268. package/lib/module/helpers/LightenColorShades.js.map +1 -0
  269. package/lib/module/helpers/ResponsiveCalculations.js +68 -0
  270. package/lib/module/helpers/ResponsiveCalculations.js.map +1 -0
  271. package/lib/module/helpers/index.js +5 -0
  272. package/lib/module/helpers/index.js.map +1 -0
  273. package/lib/module/hooks/index.js +7 -0
  274. package/lib/module/hooks/index.js.map +1 -0
  275. package/lib/module/hooks/useColorScheme.js +13 -0
  276. package/lib/module/hooks/useColorScheme.js.map +1 -0
  277. package/lib/module/hooks/useConditionalWindowDimension.js +11 -0
  278. package/lib/module/hooks/useConditionalWindowDimension.js.map +1 -0
  279. package/lib/module/hooks/useResponsive.js +7 -0
  280. package/lib/module/hooks/useResponsive.js.map +1 -0
  281. package/lib/module/hooks/useTheme.js +13 -0
  282. package/lib/module/hooks/useTheme.js.map +1 -0
  283. package/lib/module/index.js +34 -0
  284. package/lib/module/index.js.map +2 -0
  285. package/lib/module/themes/DarkTheme.js +34 -0
  286. package/lib/module/themes/DarkTheme.js.map +1 -0
  287. package/lib/module/themes/LightTheme.js +92 -0
  288. package/lib/module/themes/LightTheme.js.map +1 -0
  289. package/lib/module/themes/createTheme.js +25 -0
  290. package/lib/module/themes/createTheme.js.map +1 -0
  291. package/lib/module/themes/index.js +6 -0
  292. package/lib/module/themes/index.js.map +1 -0
  293. package/lib/module/types/avatar.type.js +4 -0
  294. package/lib/module/types/avatar.type.js.map +1 -0
  295. package/lib/module/types/button.type.js +4 -0
  296. package/lib/module/types/button.type.js.map +1 -0
  297. package/lib/module/types/checkbox.type.js +4 -0
  298. package/lib/module/types/checkbox.type.js.map +1 -0
  299. package/lib/module/types/chip.type.js +4 -0
  300. package/lib/module/types/chip.type.js.map +1 -0
  301. package/lib/module/types/common.type.js +4 -0
  302. package/lib/module/types/common.type.js.map +1 -0
  303. package/lib/module/types/dialog.type.js +4 -0
  304. package/lib/module/types/dialog.type.js.map +1 -0
  305. package/lib/module/types/grid.type.js +4 -0
  306. package/lib/module/types/grid.type.js.map +1 -0
  307. package/lib/module/types/index.js +15 -0
  308. package/lib/module/types/index.js.map +1 -0
  309. package/lib/module/types/menu.type.js +4 -0
  310. package/lib/module/types/menu.type.js.map +1 -0
  311. package/lib/module/types/stack.type.js +4 -0
  312. package/lib/module/types/stack.type.js.map +1 -0
  313. package/lib/module/types/styledComponents.type.js +4 -0
  314. package/lib/module/types/styledComponents.type.js.map +1 -0
  315. package/lib/module/types/switch.type.js +4 -0
  316. package/lib/module/types/switch.type.js.map +1 -0
  317. package/lib/module/types/userInput.type.js +4 -0
  318. package/lib/module/types/userInput.type.js.map +1 -0
  319. package/lib/typescript/commonjs/package.json +1 -0
  320. package/lib/typescript/commonjs/src/assets/svg/Check.d.ts +6 -0
  321. package/lib/typescript/commonjs/src/assets/svg/Check.d.ts.map +1 -0
  322. package/lib/typescript/commonjs/src/assets/svg/X.d.ts +6 -0
  323. package/lib/typescript/commonjs/src/assets/svg/X.d.ts.map +1 -0
  324. package/lib/typescript/commonjs/src/assets/svg/index.d.ts +3 -0
  325. package/lib/typescript/commonjs/src/assets/svg/index.d.ts.map +1 -0
  326. package/lib/typescript/commonjs/src/components/Avatar/AvatarImage.d.ts +6 -0
  327. package/lib/typescript/commonjs/src/components/Avatar/AvatarImage.d.ts.map +1 -0
  328. package/lib/typescript/commonjs/src/components/Avatar/AvatarText.d.ts +6 -0
  329. package/lib/typescript/commonjs/src/components/Avatar/AvatarText.d.ts.map +1 -0
  330. package/lib/typescript/commonjs/src/components/Avatar/index.d.ts +8 -0
  331. package/lib/typescript/commonjs/src/components/Avatar/index.d.ts.map +1 -0
  332. package/lib/typescript/commonjs/src/components/Button/Button.d.ts +6 -0
  333. package/lib/typescript/commonjs/src/components/Button/Button.d.ts.map +1 -0
  334. package/lib/typescript/commonjs/src/components/Button/utils.d.ts +16 -0
  335. package/lib/typescript/commonjs/src/components/Button/utils.d.ts.map +1 -0
  336. package/lib/typescript/commonjs/src/components/CheckBox/CheckBox.d.ts +6 -0
  337. package/lib/typescript/commonjs/src/components/CheckBox/CheckBox.d.ts.map +1 -0
  338. package/lib/typescript/commonjs/src/components/Chip/Chip.d.ts +6 -0
  339. package/lib/typescript/commonjs/src/components/Chip/Chip.d.ts.map +1 -0
  340. package/lib/typescript/commonjs/src/components/Chip/utils.d.ts +14 -0
  341. package/lib/typescript/commonjs/src/components/Chip/utils.d.ts.map +1 -0
  342. package/lib/typescript/commonjs/src/components/Dialog/Dialog.d.ts +6 -0
  343. package/lib/typescript/commonjs/src/components/Dialog/Dialog.d.ts.map +1 -0
  344. package/lib/typescript/commonjs/src/components/Dialog/DialogBody.d.ts +9 -0
  345. package/lib/typescript/commonjs/src/components/Dialog/DialogBody.d.ts.map +1 -0
  346. package/lib/typescript/commonjs/src/components/Dialog/DialogDescription.d.ts +6 -0
  347. package/lib/typescript/commonjs/src/components/Dialog/DialogDescription.d.ts.map +1 -0
  348. package/lib/typescript/commonjs/src/components/Dialog/DialogFoot.d.ts +9 -0
  349. package/lib/typescript/commonjs/src/components/Dialog/DialogFoot.d.ts.map +1 -0
  350. package/lib/typescript/commonjs/src/components/Dialog/DialogHead.d.ts +9 -0
  351. package/lib/typescript/commonjs/src/components/Dialog/DialogHead.d.ts.map +1 -0
  352. package/lib/typescript/commonjs/src/components/Dialog/index.d.ts +11 -0
  353. package/lib/typescript/commonjs/src/components/Dialog/index.d.ts.map +1 -0
  354. package/lib/typescript/commonjs/src/components/Divider/Divider.d.ts +11 -0
  355. package/lib/typescript/commonjs/src/components/Divider/Divider.d.ts.map +1 -0
  356. package/lib/typescript/commonjs/src/components/Grid/Grid.d.ts +6 -0
  357. package/lib/typescript/commonjs/src/components/Grid/Grid.d.ts.map +1 -0
  358. package/lib/typescript/commonjs/src/components/Header/Header.d.ts +15 -0
  359. package/lib/typescript/commonjs/src/components/Header/Header.d.ts.map +1 -0
  360. package/lib/typescript/commonjs/src/components/Icon/Icon.d.ts +9 -0
  361. package/lib/typescript/commonjs/src/components/Icon/Icon.d.ts.map +1 -0
  362. package/lib/typescript/commonjs/src/components/IconButton/IconButton.d.ts +11 -0
  363. package/lib/typescript/commonjs/src/components/IconButton/IconButton.d.ts.map +1 -0
  364. package/lib/typescript/commonjs/src/components/Link/Link.d.ts +8 -0
  365. package/lib/typescript/commonjs/src/components/Link/Link.d.ts.map +1 -0
  366. package/lib/typescript/commonjs/src/components/Menu/Menu.d.ts +6 -0
  367. package/lib/typescript/commonjs/src/components/Menu/Menu.d.ts.map +1 -0
  368. package/lib/typescript/commonjs/src/components/Menu/MenuItem.d.ts +6 -0
  369. package/lib/typescript/commonjs/src/components/Menu/MenuItem.d.ts.map +1 -0
  370. package/lib/typescript/commonjs/src/components/Menu/MenuItemLabel.d.ts +6 -0
  371. package/lib/typescript/commonjs/src/components/Menu/MenuItemLabel.d.ts.map +1 -0
  372. package/lib/typescript/commonjs/src/components/Menu/calculations.d.ts +18 -0
  373. package/lib/typescript/commonjs/src/components/Menu/calculations.d.ts.map +1 -0
  374. package/lib/typescript/commonjs/src/components/Menu/index.d.ts +7 -0
  375. package/lib/typescript/commonjs/src/components/Menu/index.d.ts.map +1 -0
  376. package/lib/typescript/commonjs/src/components/Portal/Portal.d.ts +8 -0
  377. package/lib/typescript/commonjs/src/components/Portal/Portal.d.ts.map +1 -0
  378. package/lib/typescript/commonjs/src/components/Portal/PortalContext.d.ts +11 -0
  379. package/lib/typescript/commonjs/src/components/Portal/PortalContext.d.ts.map +1 -0
  380. package/lib/typescript/commonjs/src/components/Portal/PortalProvider.d.ts +7 -0
  381. package/lib/typescript/commonjs/src/components/Portal/PortalProvider.d.ts.map +1 -0
  382. package/lib/typescript/commonjs/src/components/Progress/Progress.d.ts +17 -0
  383. package/lib/typescript/commonjs/src/components/Progress/Progress.d.ts.map +1 -0
  384. package/lib/typescript/commonjs/src/components/Provider/NativeProvider.d.ts +32 -0
  385. package/lib/typescript/commonjs/src/components/Provider/NativeProvider.d.ts.map +1 -0
  386. package/lib/typescript/commonjs/src/components/Slider/Slider.d.ts +11 -0
  387. package/lib/typescript/commonjs/src/components/Slider/Slider.d.ts.map +1 -0
  388. package/lib/typescript/commonjs/src/components/Stack/HStack.d.ts +6 -0
  389. package/lib/typescript/commonjs/src/components/Stack/HStack.d.ts.map +1 -0
  390. package/lib/typescript/commonjs/src/components/Stack/VStack.d.ts +6 -0
  391. package/lib/typescript/commonjs/src/components/Stack/VStack.d.ts.map +1 -0
  392. package/lib/typescript/commonjs/src/components/Stack/index.d.ts +8 -0
  393. package/lib/typescript/commonjs/src/components/Stack/index.d.ts.map +1 -0
  394. package/lib/typescript/commonjs/src/components/StyledComponents/StyledText.d.ts +6 -0
  395. package/lib/typescript/commonjs/src/components/StyledComponents/StyledText.d.ts.map +1 -0
  396. package/lib/typescript/commonjs/src/components/StyledComponents/StyledView.d.ts +6 -0
  397. package/lib/typescript/commonjs/src/components/StyledComponents/StyledView.d.ts.map +1 -0
  398. package/lib/typescript/commonjs/src/components/StyledComponents/index.d.ts +5 -0
  399. package/lib/typescript/commonjs/src/components/StyledComponents/index.d.ts.map +1 -0
  400. package/lib/typescript/commonjs/src/components/Surface/Surface.d.ts +6 -0
  401. package/lib/typescript/commonjs/src/components/Surface/Surface.d.ts.map +1 -0
  402. package/lib/typescript/commonjs/src/components/Switch/Switch.d.ts +6 -0
  403. package/lib/typescript/commonjs/src/components/Switch/Switch.d.ts.map +1 -0
  404. package/lib/typescript/commonjs/src/components/TouchableRipple/TouchableRipple.d.ts +11 -0
  405. package/lib/typescript/commonjs/src/components/TouchableRipple/TouchableRipple.d.ts.map +1 -0
  406. package/lib/typescript/commonjs/src/components/UserInput/UserInput.d.ts +38 -0
  407. package/lib/typescript/commonjs/src/components/UserInput/UserInput.d.ts.map +1 -0
  408. package/lib/typescript/commonjs/src/components/UserInput/UserInputV2.d.ts +30 -0
  409. package/lib/typescript/commonjs/src/components/UserInput/UserInputV2.d.ts.map +1 -0
  410. package/lib/typescript/commonjs/src/components/UserInput/generateColors.d.ts +8 -0
  411. package/lib/typescript/commonjs/src/components/UserInput/generateColors.d.ts.map +1 -0
  412. package/lib/typescript/commonjs/src/constants/breakPoints.d.ts +11 -0
  413. package/lib/typescript/commonjs/src/constants/breakPoints.d.ts.map +1 -0
  414. package/lib/typescript/commonjs/src/constants/dialogSizes.d.ts +4 -0
  415. package/lib/typescript/commonjs/src/constants/dialogSizes.d.ts.map +1 -0
  416. package/lib/typescript/commonjs/src/constants/index.d.ts +4 -0
  417. package/lib/typescript/commonjs/src/constants/index.d.ts.map +1 -0
  418. package/lib/typescript/commonjs/src/constants/theme.d.ts +17 -0
  419. package/lib/typescript/commonjs/src/constants/theme.d.ts.map +1 -0
  420. package/lib/typescript/commonjs/src/constants/typographySizes.d.ts +13 -0
  421. package/lib/typescript/commonjs/src/constants/typographySizes.d.ts.map +1 -0
  422. package/lib/typescript/commonjs/src/helpers/CalculateGridSize.d.ts +3 -0
  423. package/lib/typescript/commonjs/src/helpers/CalculateGridSize.d.ts.map +1 -0
  424. package/lib/typescript/commonjs/src/helpers/DeviceSizeCategory.d.ts +7 -0
  425. package/lib/typescript/commonjs/src/helpers/DeviceSizeCategory.d.ts.map +1 -0
  426. package/lib/typescript/commonjs/src/helpers/LightenColorShades.d.ts +3 -0
  427. package/lib/typescript/commonjs/src/helpers/LightenColorShades.d.ts.map +1 -0
  428. package/lib/typescript/commonjs/src/helpers/ResponsiveCalculations.d.ts +6 -0
  429. package/lib/typescript/commonjs/src/helpers/ResponsiveCalculations.d.ts.map +1 -0
  430. package/lib/typescript/commonjs/src/helpers/index.d.ts +3 -0
  431. package/lib/typescript/commonjs/src/helpers/index.d.ts.map +1 -0
  432. package/lib/typescript/commonjs/src/hooks/index.d.ts +5 -0
  433. package/lib/typescript/commonjs/src/hooks/index.d.ts.map +1 -0
  434. package/lib/typescript/commonjs/src/hooks/useColorScheme.d.ts +3 -0
  435. package/lib/typescript/commonjs/src/hooks/useColorScheme.d.ts.map +1 -0
  436. package/lib/typescript/commonjs/src/hooks/useConditionalWindowDimension.d.ts +6 -0
  437. package/lib/typescript/commonjs/src/hooks/useConditionalWindowDimension.d.ts.map +1 -0
  438. package/lib/typescript/commonjs/src/hooks/useResponsive.d.ts +3 -0
  439. package/lib/typescript/commonjs/src/hooks/useResponsive.d.ts.map +1 -0
  440. package/lib/typescript/commonjs/src/hooks/useTheme.d.ts +5 -0
  441. package/lib/typescript/commonjs/src/hooks/useTheme.d.ts.map +1 -0
  442. package/lib/typescript/commonjs/src/index.d.ts +48 -0
  443. package/lib/typescript/commonjs/src/index.d.ts.map +1 -0
  444. package/lib/typescript/commonjs/src/themes/DarkTheme.d.ts +4 -0
  445. package/lib/typescript/commonjs/src/themes/DarkTheme.d.ts.map +1 -0
  446. package/lib/typescript/commonjs/src/themes/LightTheme.d.ts +4 -0
  447. package/lib/typescript/commonjs/src/themes/LightTheme.d.ts.map +1 -0
  448. package/lib/typescript/commonjs/src/themes/createTheme.d.ts +1 -0
  449. package/lib/typescript/commonjs/src/themes/createTheme.d.ts.map +1 -0
  450. package/lib/typescript/commonjs/src/themes/index.d.ts +3 -0
  451. package/lib/typescript/commonjs/src/themes/index.d.ts.map +1 -0
  452. package/lib/typescript/commonjs/src/types/avatar.type.d.ts +34 -0
  453. package/lib/typescript/commonjs/src/types/avatar.type.d.ts.map +1 -0
  454. package/lib/typescript/commonjs/src/types/button.type.d.ts +54 -0
  455. package/lib/typescript/commonjs/src/types/button.type.d.ts.map +1 -0
  456. package/lib/typescript/commonjs/src/types/checkbox.type.d.ts +41 -0
  457. package/lib/typescript/commonjs/src/types/checkbox.type.d.ts.map +1 -0
  458. package/lib/typescript/commonjs/src/types/chip.type.d.ts +38 -0
  459. package/lib/typescript/commonjs/src/types/chip.type.d.ts.map +1 -0
  460. package/lib/typescript/commonjs/src/types/common.type.d.ts +47 -0
  461. package/lib/typescript/commonjs/src/types/common.type.d.ts.map +1 -0
  462. package/lib/typescript/commonjs/src/types/dialog.type.d.ts +66 -0
  463. package/lib/typescript/commonjs/src/types/dialog.type.d.ts.map +1 -0
  464. package/lib/typescript/commonjs/src/types/grid.type.d.ts +58 -0
  465. package/lib/typescript/commonjs/src/types/grid.type.d.ts.map +1 -0
  466. package/lib/typescript/commonjs/src/types/index.d.ts +13 -0
  467. package/lib/typescript/commonjs/src/types/index.d.ts.map +1 -0
  468. package/lib/typescript/commonjs/src/types/menu.type.d.ts +90 -0
  469. package/lib/typescript/commonjs/src/types/menu.type.d.ts.map +1 -0
  470. package/lib/typescript/commonjs/src/types/stack.type.d.ts +46 -0
  471. package/lib/typescript/commonjs/src/types/stack.type.d.ts.map +1 -0
  472. package/lib/typescript/commonjs/src/types/styledComponents.type.d.ts +91 -0
  473. package/lib/typescript/commonjs/src/types/styledComponents.type.d.ts.map +1 -0
  474. package/lib/typescript/commonjs/src/types/switch.type.d.ts +33 -0
  475. package/lib/typescript/commonjs/src/types/switch.type.d.ts.map +1 -0
  476. package/lib/typescript/commonjs/src/types/userInput.type.d.ts +74 -0
  477. package/lib/typescript/commonjs/src/types/userInput.type.d.ts.map +1 -0
  478. package/lib/typescript/module/package.json +1 -0
  479. package/lib/typescript/module/src/assets/svg/Check.d.ts +6 -0
  480. package/lib/typescript/module/src/assets/svg/Check.d.ts.map +1 -0
  481. package/lib/typescript/module/src/assets/svg/X.d.ts +6 -0
  482. package/lib/typescript/module/src/assets/svg/X.d.ts.map +1 -0
  483. package/lib/typescript/module/src/assets/svg/index.d.ts +3 -0
  484. package/lib/typescript/module/src/assets/svg/index.d.ts.map +1 -0
  485. package/lib/typescript/module/src/components/Avatar/AvatarImage.d.ts +6 -0
  486. package/lib/typescript/module/src/components/Avatar/AvatarImage.d.ts.map +1 -0
  487. package/lib/typescript/module/src/components/Avatar/AvatarText.d.ts +6 -0
  488. package/lib/typescript/module/src/components/Avatar/AvatarText.d.ts.map +1 -0
  489. package/lib/typescript/module/src/components/Avatar/index.d.ts +8 -0
  490. package/lib/typescript/module/src/components/Avatar/index.d.ts.map +1 -0
  491. package/lib/typescript/module/src/components/Button/Button.d.ts +6 -0
  492. package/lib/typescript/module/src/components/Button/Button.d.ts.map +1 -0
  493. package/lib/typescript/module/src/components/Button/utils.d.ts +16 -0
  494. package/lib/typescript/module/src/components/Button/utils.d.ts.map +1 -0
  495. package/lib/typescript/module/src/components/CheckBox/CheckBox.d.ts +6 -0
  496. package/lib/typescript/module/src/components/CheckBox/CheckBox.d.ts.map +1 -0
  497. package/lib/typescript/module/src/components/Chip/Chip.d.ts +6 -0
  498. package/lib/typescript/module/src/components/Chip/Chip.d.ts.map +1 -0
  499. package/lib/typescript/module/src/components/Chip/utils.d.ts +14 -0
  500. package/lib/typescript/module/src/components/Chip/utils.d.ts.map +1 -0
  501. package/lib/typescript/module/src/components/Dialog/Dialog.d.ts +6 -0
  502. package/lib/typescript/module/src/components/Dialog/Dialog.d.ts.map +1 -0
  503. package/lib/typescript/module/src/components/Dialog/DialogBody.d.ts +9 -0
  504. package/lib/typescript/module/src/components/Dialog/DialogBody.d.ts.map +1 -0
  505. package/lib/typescript/module/src/components/Dialog/DialogDescription.d.ts +6 -0
  506. package/lib/typescript/module/src/components/Dialog/DialogDescription.d.ts.map +1 -0
  507. package/lib/typescript/module/src/components/Dialog/DialogFoot.d.ts +9 -0
  508. package/lib/typescript/module/src/components/Dialog/DialogFoot.d.ts.map +1 -0
  509. package/lib/typescript/module/src/components/Dialog/DialogHead.d.ts +9 -0
  510. package/lib/typescript/module/src/components/Dialog/DialogHead.d.ts.map +1 -0
  511. package/lib/typescript/module/src/components/Dialog/index.d.ts +11 -0
  512. package/lib/typescript/module/src/components/Dialog/index.d.ts.map +1 -0
  513. package/lib/typescript/module/src/components/Divider/Divider.d.ts +11 -0
  514. package/lib/typescript/module/src/components/Divider/Divider.d.ts.map +1 -0
  515. package/lib/typescript/module/src/components/Grid/Grid.d.ts +6 -0
  516. package/lib/typescript/module/src/components/Grid/Grid.d.ts.map +1 -0
  517. package/lib/typescript/module/src/components/Header/Header.d.ts +15 -0
  518. package/lib/typescript/module/src/components/Header/Header.d.ts.map +1 -0
  519. package/lib/typescript/module/src/components/Icon/Icon.d.ts +9 -0
  520. package/lib/typescript/module/src/components/Icon/Icon.d.ts.map +1 -0
  521. package/lib/typescript/module/src/components/IconButton/IconButton.d.ts +11 -0
  522. package/lib/typescript/module/src/components/IconButton/IconButton.d.ts.map +1 -0
  523. package/lib/typescript/module/src/components/Link/Link.d.ts +8 -0
  524. package/lib/typescript/module/src/components/Link/Link.d.ts.map +1 -0
  525. package/lib/typescript/module/src/components/Menu/Menu.d.ts +6 -0
  526. package/lib/typescript/module/src/components/Menu/Menu.d.ts.map +1 -0
  527. package/lib/typescript/module/src/components/Menu/MenuItem.d.ts +6 -0
  528. package/lib/typescript/module/src/components/Menu/MenuItem.d.ts.map +1 -0
  529. package/lib/typescript/module/src/components/Menu/MenuItemLabel.d.ts +6 -0
  530. package/lib/typescript/module/src/components/Menu/MenuItemLabel.d.ts.map +1 -0
  531. package/lib/typescript/module/src/components/Menu/calculations.d.ts +18 -0
  532. package/lib/typescript/module/src/components/Menu/calculations.d.ts.map +1 -0
  533. package/lib/typescript/module/src/components/Menu/index.d.ts +7 -0
  534. package/lib/typescript/module/src/components/Menu/index.d.ts.map +1 -0
  535. package/lib/typescript/module/src/components/Portal/Portal.d.ts +8 -0
  536. package/lib/typescript/module/src/components/Portal/Portal.d.ts.map +1 -0
  537. package/lib/typescript/module/src/components/Portal/PortalContext.d.ts +11 -0
  538. package/lib/typescript/module/src/components/Portal/PortalContext.d.ts.map +1 -0
  539. package/lib/typescript/module/src/components/Portal/PortalProvider.d.ts +7 -0
  540. package/lib/typescript/module/src/components/Portal/PortalProvider.d.ts.map +1 -0
  541. package/lib/typescript/module/src/components/Progress/Progress.d.ts +17 -0
  542. package/lib/typescript/module/src/components/Progress/Progress.d.ts.map +1 -0
  543. package/lib/typescript/module/src/components/Provider/NativeProvider.d.ts +32 -0
  544. package/lib/typescript/module/src/components/Provider/NativeProvider.d.ts.map +1 -0
  545. package/lib/typescript/module/src/components/Slider/Slider.d.ts +11 -0
  546. package/lib/typescript/module/src/components/Slider/Slider.d.ts.map +1 -0
  547. package/lib/typescript/module/src/components/Stack/HStack.d.ts +6 -0
  548. package/lib/typescript/module/src/components/Stack/HStack.d.ts.map +1 -0
  549. package/lib/typescript/module/src/components/Stack/VStack.d.ts +6 -0
  550. package/lib/typescript/module/src/components/Stack/VStack.d.ts.map +1 -0
  551. package/lib/typescript/module/src/components/Stack/index.d.ts +8 -0
  552. package/lib/typescript/module/src/components/Stack/index.d.ts.map +1 -0
  553. package/lib/typescript/module/src/components/StyledComponents/StyledText.d.ts +6 -0
  554. package/lib/typescript/module/src/components/StyledComponents/StyledText.d.ts.map +1 -0
  555. package/lib/typescript/module/src/components/StyledComponents/StyledView.d.ts +6 -0
  556. package/lib/typescript/module/src/components/StyledComponents/StyledView.d.ts.map +1 -0
  557. package/lib/typescript/module/src/components/StyledComponents/index.d.ts +5 -0
  558. package/lib/typescript/module/src/components/StyledComponents/index.d.ts.map +1 -0
  559. package/lib/typescript/module/src/components/Surface/Surface.d.ts +6 -0
  560. package/lib/typescript/module/src/components/Surface/Surface.d.ts.map +1 -0
  561. package/lib/typescript/module/src/components/Switch/Switch.d.ts +6 -0
  562. package/lib/typescript/module/src/components/Switch/Switch.d.ts.map +1 -0
  563. package/lib/typescript/module/src/components/TouchableRipple/TouchableRipple.d.ts +11 -0
  564. package/lib/typescript/module/src/components/TouchableRipple/TouchableRipple.d.ts.map +1 -0
  565. package/lib/typescript/module/src/components/UserInput/UserInput.d.ts +38 -0
  566. package/lib/typescript/module/src/components/UserInput/UserInput.d.ts.map +1 -0
  567. package/lib/typescript/module/src/components/UserInput/UserInputV2.d.ts +30 -0
  568. package/lib/typescript/module/src/components/UserInput/UserInputV2.d.ts.map +1 -0
  569. package/lib/typescript/module/src/components/UserInput/generateColors.d.ts +8 -0
  570. package/lib/typescript/module/src/components/UserInput/generateColors.d.ts.map +1 -0
  571. package/lib/typescript/module/src/constants/breakPoints.d.ts +11 -0
  572. package/lib/typescript/module/src/constants/breakPoints.d.ts.map +1 -0
  573. package/lib/typescript/module/src/constants/dialogSizes.d.ts +4 -0
  574. package/lib/typescript/module/src/constants/dialogSizes.d.ts.map +1 -0
  575. package/lib/typescript/module/src/constants/index.d.ts +4 -0
  576. package/lib/typescript/module/src/constants/index.d.ts.map +1 -0
  577. package/lib/typescript/module/src/constants/theme.d.ts +17 -0
  578. package/lib/typescript/module/src/constants/theme.d.ts.map +1 -0
  579. package/lib/typescript/module/src/constants/typographySizes.d.ts +13 -0
  580. package/lib/typescript/module/src/constants/typographySizes.d.ts.map +1 -0
  581. package/lib/typescript/module/src/helpers/CalculateGridSize.d.ts +3 -0
  582. package/lib/typescript/module/src/helpers/CalculateGridSize.d.ts.map +1 -0
  583. package/lib/typescript/module/src/helpers/DeviceSizeCategory.d.ts +7 -0
  584. package/lib/typescript/module/src/helpers/DeviceSizeCategory.d.ts.map +1 -0
  585. package/lib/typescript/module/src/helpers/LightenColorShades.d.ts +3 -0
  586. package/lib/typescript/module/src/helpers/LightenColorShades.d.ts.map +1 -0
  587. package/lib/typescript/module/src/helpers/ResponsiveCalculations.d.ts +6 -0
  588. package/lib/typescript/module/src/helpers/ResponsiveCalculations.d.ts.map +1 -0
  589. package/lib/typescript/module/src/helpers/index.d.ts +3 -0
  590. package/lib/typescript/module/src/helpers/index.d.ts.map +1 -0
  591. package/lib/typescript/module/src/hooks/index.d.ts +5 -0
  592. package/lib/typescript/module/src/hooks/index.d.ts.map +1 -0
  593. package/lib/typescript/module/src/hooks/useColorScheme.d.ts +3 -0
  594. package/lib/typescript/module/src/hooks/useColorScheme.d.ts.map +1 -0
  595. package/lib/typescript/module/src/hooks/useConditionalWindowDimension.d.ts +6 -0
  596. package/lib/typescript/module/src/hooks/useConditionalWindowDimension.d.ts.map +1 -0
  597. package/lib/typescript/module/src/hooks/useResponsive.d.ts +3 -0
  598. package/lib/typescript/module/src/hooks/useResponsive.d.ts.map +1 -0
  599. package/lib/typescript/module/src/hooks/useTheme.d.ts +5 -0
  600. package/lib/typescript/module/src/hooks/useTheme.d.ts.map +1 -0
  601. package/lib/typescript/module/src/index.d.ts +48 -0
  602. package/lib/typescript/module/src/index.d.ts.map +1 -0
  603. package/lib/typescript/module/src/themes/DarkTheme.d.ts +4 -0
  604. package/lib/typescript/module/src/themes/DarkTheme.d.ts.map +1 -0
  605. package/lib/typescript/module/src/themes/LightTheme.d.ts +4 -0
  606. package/lib/typescript/module/src/themes/LightTheme.d.ts.map +1 -0
  607. package/lib/typescript/module/src/themes/createTheme.d.ts +1 -0
  608. package/lib/typescript/module/src/themes/createTheme.d.ts.map +1 -0
  609. package/lib/typescript/module/src/themes/index.d.ts +3 -0
  610. package/lib/typescript/module/src/themes/index.d.ts.map +1 -0
  611. package/lib/typescript/module/src/types/avatar.type.d.ts +34 -0
  612. package/lib/typescript/module/src/types/avatar.type.d.ts.map +1 -0
  613. package/lib/typescript/module/src/types/button.type.d.ts +54 -0
  614. package/lib/typescript/module/src/types/button.type.d.ts.map +1 -0
  615. package/lib/typescript/module/src/types/checkbox.type.d.ts +41 -0
  616. package/lib/typescript/module/src/types/checkbox.type.d.ts.map +1 -0
  617. package/lib/typescript/module/src/types/chip.type.d.ts +38 -0
  618. package/lib/typescript/module/src/types/chip.type.d.ts.map +1 -0
  619. package/lib/typescript/module/src/types/common.type.d.ts +47 -0
  620. package/lib/typescript/module/src/types/common.type.d.ts.map +1 -0
  621. package/lib/typescript/module/src/types/dialog.type.d.ts +66 -0
  622. package/lib/typescript/module/src/types/dialog.type.d.ts.map +1 -0
  623. package/lib/typescript/module/src/types/grid.type.d.ts +58 -0
  624. package/lib/typescript/module/src/types/grid.type.d.ts.map +1 -0
  625. package/lib/typescript/module/src/types/index.d.ts +13 -0
  626. package/lib/typescript/module/src/types/index.d.ts.map +1 -0
  627. package/lib/typescript/module/src/types/menu.type.d.ts +90 -0
  628. package/lib/typescript/module/src/types/menu.type.d.ts.map +1 -0
  629. package/lib/typescript/module/src/types/stack.type.d.ts +46 -0
  630. package/lib/typescript/module/src/types/stack.type.d.ts.map +1 -0
  631. package/lib/typescript/module/src/types/styledComponents.type.d.ts +91 -0
  632. package/lib/typescript/module/src/types/styledComponents.type.d.ts.map +1 -0
  633. package/lib/typescript/module/src/types/switch.type.d.ts +33 -0
  634. package/lib/typescript/module/src/types/switch.type.d.ts.map +1 -0
  635. package/lib/typescript/module/src/types/userInput.type.d.ts +74 -0
  636. package/lib/typescript/module/src/types/userInput.type.d.ts.map +1 -0
  637. package/package.json +197 -0
  638. package/src/assets/svg/Check.tsx +17 -0
  639. package/src/assets/svg/X.tsx +16 -0
  640. package/src/assets/svg/index.ts +2 -0
  641. package/src/components/Avatar/AvatarImage.tsx +39 -0
  642. package/src/components/Avatar/AvatarText.tsx +35 -0
  643. package/src/components/Avatar/index.ts +9 -0
  644. package/src/components/Button/Button.tsx +153 -0
  645. package/src/components/Button/utils.ts +142 -0
  646. package/src/components/CheckBox/CheckBox.tsx +102 -0
  647. package/src/components/Chip/Chip.tsx +89 -0
  648. package/src/components/Chip/utils.ts +96 -0
  649. package/src/components/Dialog/Dialog.tsx +116 -0
  650. package/src/components/Dialog/DialogBody.tsx +34 -0
  651. package/src/components/Dialog/DialogDescription.tsx +28 -0
  652. package/src/components/Dialog/DialogFoot.tsx +35 -0
  653. package/src/components/Dialog/DialogHead.tsx +51 -0
  654. package/src/components/Dialog/index.ts +11 -0
  655. package/src/components/Divider/Divider.tsx +35 -0
  656. package/src/components/Grid/Grid.tsx +61 -0
  657. package/src/components/Header/Header.tsx +81 -0
  658. package/src/components/Icon/Icon.tsx +28 -0
  659. package/src/components/IconButton/IconButton.tsx +36 -0
  660. package/src/components/Link/Link.tsx +31 -0
  661. package/src/components/Menu/Menu.tsx +139 -0
  662. package/src/components/Menu/MenuItem.tsx +36 -0
  663. package/src/components/Menu/MenuItemLabel.tsx +27 -0
  664. package/src/components/Menu/calculations.ts +34 -0
  665. package/src/components/Menu/index.ts +8 -0
  666. package/src/components/Portal/Portal.tsx +19 -0
  667. package/src/components/Portal/PortalContext.tsx +10 -0
  668. package/src/components/Portal/PortalProvider.tsx +37 -0
  669. package/src/components/Progress/Progress.tsx +69 -0
  670. package/src/components/Provider/NativeProvider.tsx +58 -0
  671. package/src/components/Slider/Slider.tsx +45 -0
  672. package/src/components/Stack/HStack.tsx +38 -0
  673. package/src/components/Stack/VStack.tsx +31 -0
  674. package/src/components/Stack/index.ts +9 -0
  675. package/src/components/StyledComponents/StyledText.tsx +44 -0
  676. package/src/components/StyledComponents/StyledView.tsx +42 -0
  677. package/src/components/StyledComponents/index.tsx +6 -0
  678. package/src/components/Surface/Surface.tsx +38 -0
  679. package/src/components/Switch/Switch.tsx +35 -0
  680. package/src/components/TouchableRipple/TouchableRipple.tsx +92 -0
  681. package/src/components/UserInput/UserInput.tsx +124 -0
  682. package/src/components/UserInput/UserInputV2.tsx +132 -0
  683. package/src/components/UserInput/generateColors.ts +14 -0
  684. package/src/constants/breakPoints.ts +18 -0
  685. package/src/constants/dialogSizes.ts +12 -0
  686. package/src/constants/index.ts +3 -0
  687. package/src/constants/theme.ts +33 -0
  688. package/src/constants/typographySizes.ts +22 -0
  689. package/src/helpers/CalculateGridSize.ts +26 -0
  690. package/src/helpers/DeviceSizeCategory.ts +22 -0
  691. package/src/helpers/LightenColorShades.ts +7 -0
  692. package/src/helpers/ResponsiveCalculations.ts +78 -0
  693. package/src/helpers/index.ts +2 -0
  694. package/src/hooks/index.ts +4 -0
  695. package/src/hooks/useColorScheme.tsx +12 -0
  696. package/src/hooks/useConditionalWindowDimension.tsx +7 -0
  697. package/src/hooks/useResponsive.tsx +6 -0
  698. package/src/hooks/useTheme.tsx +13 -0
  699. package/src/index.ts +52 -0
  700. package/src/index.tsx +3 -0
  701. package/src/themes/DarkTheme.ts +39 -0
  702. package/src/themes/LightTheme.ts +97 -0
  703. package/src/themes/createTheme.ts +23 -0
  704. package/src/themes/index.ts +4 -0
  705. package/src/types/avatar.type.ts +43 -0
  706. package/src/types/button.type.ts +76 -0
  707. package/src/types/checkbox.type.ts +57 -0
  708. package/src/types/chip.type.ts +55 -0
  709. package/src/types/common.type.ts +50 -0
  710. package/src/types/dialog.type.ts +91 -0
  711. package/src/types/grid.type.ts +70 -0
  712. package/src/types/index.ts +12 -0
  713. package/src/types/menu.type.ts +110 -0
  714. package/src/types/stack.type.ts +55 -0
  715. package/src/types/styledComponents.type.ts +111 -0
  716. package/src/types/switch.type.ts +39 -0
  717. package/src/types/userInput.type.ts +95 -0
@@ -0,0 +1,90 @@
1
+ import type { ReactNode } from "react";
2
+ import type { StyleProp, TextStyle, TouchableOpacityProps, ViewStyle } from "react-native";
3
+ import type { TypographyVariant } from "./common.type";
4
+ export type MenuProps = {
5
+ /**
6
+ * Defines the placement of the menu relative to the anchor element.
7
+ * Options: 'top' | 'bottom'.
8
+ */
9
+ placement?: 'top' | 'bottom';
10
+ /**
11
+ * The element that triggers the menu when interacted with.
12
+ */
13
+ anchor?: JSX.Element;
14
+ /**
15
+ * Disables the built-in state management of the menu.
16
+ * If true, you must control the open state manually.
17
+ */
18
+ disableBuiltInState?: boolean;
19
+ /**
20
+ * Controls whether the menu is open.
21
+ * Used when `disableBuiltInState` is true.
22
+ */
23
+ isOpen?: boolean;
24
+ /**
25
+ * Callback triggered when the menu is requested to open.
26
+ */
27
+ onRequestOpen?: () => void;
28
+ /**
29
+ * Callback triggered when the menu is requested to close.
30
+ */
31
+ onRequestClose?: () => void;
32
+ /**
33
+ * Callback triggered when an item is selected.
34
+ * Receives the name of the selected item.
35
+ */
36
+ onSelect?: (name: string | undefined) => void;
37
+ /**
38
+ * Custom styles for the menu container.
39
+ */
40
+ style?: StyleProp<ViewStyle>;
41
+ /**
42
+ * Child components to be rendered inside the menu.
43
+ */
44
+ children?: ReactNode;
45
+ };
46
+ export type MenuItemProps = TouchableOpacityProps & {
47
+ /**
48
+ * Vertical padding inside the menu item.
49
+ */
50
+ paddingV?: number;
51
+ /**
52
+ * Horizontal padding inside the menu item.
53
+ */
54
+ paddingH?: number;
55
+ /**
56
+ * Space between elements inside the menu item.
57
+ */
58
+ gap?: number;
59
+ /**
60
+ * The name or identifier of the menu item.
61
+ */
62
+ name?: string;
63
+ /**
64
+ * Custom styles for the menu item container.
65
+ */
66
+ style?: StyleProp<ViewStyle>;
67
+ /**
68
+ * Child components to be rendered inside the menu item.
69
+ */
70
+ children?: ReactNode;
71
+ };
72
+ export type MenuItemLabelProps = TextStyle & {
73
+ /**
74
+ * Font size of the label text.
75
+ */
76
+ fs?: number;
77
+ /**
78
+ * Typography variant for the label text.
79
+ */
80
+ textVariant?: TypographyVariant;
81
+ /**
82
+ * Custom styles for the text component.
83
+ */
84
+ style?: StyleProp<TextStyle>;
85
+ /**
86
+ * Text to be displayed inside the label.
87
+ */
88
+ children?: ReactNode;
89
+ };
90
+ //# sourceMappingURL=menu.type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"menu.type.d.ts","sourceRoot":"","sources":["../../../../../src/types/menu.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AACvC,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,qBAAqB,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAC3F,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAGvD,MAAM,MAAM,SAAS,GAAG;IACpB;;;OAGG;IACH,SAAS,CAAC,EAAE,KAAK,GAAG,QAAQ,CAAC;IAE7B;;OAEG;IACH,MAAM,CAAC,EAAE,GAAG,CAAC,OAAO,CAAC;IAErB;;;OAGG;IACH,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAE9B;;;OAGG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IAEjB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,IAAI,CAAC;IAE3B;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAE5B;;;OAGG;IACH,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,GAAG,SAAS,KAAK,IAAI,CAAC;IAE9C;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAE7B;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;CACxB,CAAC;AAGF,MAAM,MAAM,aAAa,GAAG,qBAAqB,GAAG;IAChD;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAE7B;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,SAAS,GAAG;IACzC;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ;;OAEG;IACH,WAAW,CAAC,EAAE,iBAAiB,CAAC;IAEhC;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAE7B;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;CACxB,CAAC"}
@@ -0,0 +1,46 @@
1
+ import type { FlexStyle, StyleProp, ViewStyle } from "react-native";
2
+ export type HStackProps = ViewStyle & {
3
+ /**
4
+ * Defines the alignment of children along the main axis.
5
+ */
6
+ justify?: FlexStyle['justifyContent'];
7
+ /**
8
+ * Defines the alignment of children along the cross axis.
9
+ */
10
+ align?: FlexStyle['alignItems'];
11
+ /**
12
+ * Determines whether the items should wrap onto multiple lines.
13
+ */
14
+ fWrap?: FlexStyle['flexWrap'];
15
+ /**
16
+ * Space between child components.
17
+ */
18
+ gap?: number;
19
+ /**
20
+ * Custom styles for the container.
21
+ */
22
+ containerStyle?: StyleProp<ViewStyle>;
23
+ /**
24
+ * Child components to be rendered inside the HStack.
25
+ */
26
+ children?: React.ReactNode;
27
+ };
28
+ export type VStackProps = ViewStyle & {
29
+ /**
30
+ * Child components to be rendered inside the VStack.
31
+ */
32
+ children?: React.ReactNode;
33
+ /**
34
+ * Defines the alignment of children along the cross axis.
35
+ */
36
+ align?: FlexStyle['alignItems'];
37
+ /**
38
+ * Space between child components.
39
+ */
40
+ gap?: number;
41
+ /**
42
+ * Custom styles for the container.
43
+ */
44
+ containerStyle?: StyleProp<ViewStyle>;
45
+ };
46
+ //# sourceMappingURL=stack.type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stack.type.d.ts","sourceRoot":"","sources":["../../../../../src/types/stack.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEpE,MAAM,MAAM,WAAW,GAAG,SAAS,GAAG;IAClC;;OAEG;IACH,OAAO,CAAC,EAAE,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAEtC;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC,YAAY,CAAC,CAAC;IAEhC;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC,UAAU,CAAC,CAAC;IAE9B;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,cAAc,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAEtC;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC9B,CAAC;AAEF,MAAM,MAAM,WAAW,GAAG,SAAS,GAAG;IAClC;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAE3B;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC,YAAY,CAAC,CAAC;IAEhC;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,cAAc,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CACzC,CAAC"}
@@ -0,0 +1,91 @@
1
+ import type { ColorValue, DimensionValue, StyleProp, TextProps, TextStyle, ViewProps, ViewStyle } from "react-native";
2
+ import type { TypographyVariant } from "./common.type";
3
+ export type StyledViewProps = ViewStyle & ViewProps & {
4
+ /**
5
+ * Flex value to control the flex growth, shrink, and basis of the view.
6
+ */
7
+ f?: number;
8
+ /**
9
+ * Defines how children are aligned along the main axis.
10
+ */
11
+ justify?: ViewStyle['justifyContent'];
12
+ /**
13
+ * Defines how children are aligned along the cross axis.
14
+ */
15
+ align?: ViewStyle['alignItems'];
16
+ /**
17
+ * Determines whether the children should wrap if they exceed the container size.
18
+ */
19
+ fWrap?: ViewStyle['flexWrap'];
20
+ /**
21
+ * Background color of the view.
22
+ */
23
+ bg?: string;
24
+ /**
25
+ * Whether the background color should be derived from the theme.
26
+ */
27
+ themeBg?: boolean;
28
+ /**
29
+ * Height of the view, can be a number or a percentage string.
30
+ */
31
+ h?: DimensionValue;
32
+ /**
33
+ * Width of the view, can be a number or a percentage string.
34
+ */
35
+ w?: DimensionValue;
36
+ /**
37
+ * Child components to be rendered inside StyledView.
38
+ */
39
+ children?: React.ReactNode;
40
+ /**
41
+ * Custom styles for the view component.
42
+ */
43
+ style?: StyleProp<ViewStyle>;
44
+ };
45
+ export type StyledTextProps = TextProps & {
46
+ /**
47
+ * Defines the typography variant for the text.
48
+ */
49
+ variant?: TypographyVariant;
50
+ /**
51
+ * Text content to be rendered inside StyledText.
52
+ */
53
+ children?: React.ReactNode;
54
+ /**
55
+ * Custom styles for the text component.
56
+ */
57
+ style?: StyleProp<TextStyle>;
58
+ /**
59
+ * Font family for the text.
60
+ */
61
+ ff?: string;
62
+ /**
63
+ * Font size of the text.
64
+ */
65
+ fs?: number;
66
+ /**
67
+ * Font weight of the text.
68
+ */
69
+ fw?: TextStyle['fontWeight'];
70
+ /**
71
+ * Whether the text should be automatically capitalized or adjusted based on the theme.
72
+ */
73
+ tas?: boolean;
74
+ /**
75
+ * Color of the text. Accepts standard color values.
76
+ */
77
+ color?: ColorValue;
78
+ /**
79
+ * Whether the text color should be derived from the theme.
80
+ */
81
+ themeColor?: boolean;
82
+ /**
83
+ * Whether the text should use the primary theme color.
84
+ */
85
+ primary?: boolean;
86
+ /**
87
+ * Whether the text should use the secondary theme color.
88
+ */
89
+ secondary?: boolean;
90
+ };
91
+ //# sourceMappingURL=styledComponents.type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"styledComponents.type.d.ts","sourceRoot":"","sources":["../../../../../src/types/styledComponents.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,cAAc,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACtH,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAEvD,MAAM,MAAM,eAAe,GAAG,SAAS,GAAG,SAAS,GAAG;IAClD;;OAEG;IACH,CAAC,CAAC,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,OAAO,CAAC,EAAE,SAAS,CAAC,gBAAgB,CAAC,CAAC;IAEtC;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC,YAAY,CAAC,CAAC;IAEhC;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC,UAAU,CAAC,CAAC;IAE9B;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;OAEG;IACH,CAAC,CAAC,EAAE,cAAc,CAAC;IAEnB;;OAEG;IACH,CAAC,CAAC,EAAE,cAAc,CAAC;IAEnB;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAE3B;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAChC,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG,SAAS,GAAG;IACtC;;OAEG;IACH,OAAO,CAAC,EAAE,iBAAiB,CAAC;IAE5B;;OAEG;IACH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAE3B;;OAEG;IACH,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAE7B;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ;;OAEG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ;;OAEG;IACH,EAAE,CAAC,EAAE,SAAS,CAAC,YAAY,CAAC,CAAC;IAE7B;;OAEG;IACH,GAAG,CAAC,EAAE,OAAO,CAAC;IAEd;;OAEG;IACH,KAAK,CAAC,EAAE,UAAU,CAAC;IAEnB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IAErB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;CACvB,CAAC"}
@@ -0,0 +1,33 @@
1
+ import type { SwitchProps as NativeSwitchProps } from "react-native";
2
+ export type SwitchProps = NativeSwitchProps & {
3
+ /**
4
+ * Determines whether the switch is turned on or off.
5
+ */
6
+ checked?: boolean;
7
+ /**
8
+ * The color of the switch thumb.
9
+ */
10
+ color?: string;
11
+ /**
12
+ * If true, the switch will be disabled and not interactable.
13
+ */
14
+ disabled?: boolean;
15
+ /**
16
+ * The size of the switch thumb and track.
17
+ */
18
+ size?: number;
19
+ /**
20
+ * The color of the track when the switch is in the "on" position.
21
+ */
22
+ activeTrackColor?: string;
23
+ /**
24
+ * The color of the track when the switch is in the "off" position.
25
+ */
26
+ inactiveTrackColor?: string;
27
+ /**
28
+ * Callback function triggered when the switch state changes.
29
+ * @param newValue - The updated boolean value of the switch.
30
+ */
31
+ onChange?: (newValue: boolean) => void;
32
+ };
33
+ //# sourceMappingURL=switch.type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"switch.type.d.ts","sourceRoot":"","sources":["../../../../../src/types/switch.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,IAAI,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAErE,MAAM,MAAM,WAAW,GAAG,iBAAiB,GAAG;IAC1C;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAE5B;;;OAGG;IACH,QAAQ,CAAC,EAAE,CAAC,QAAQ,EAAE,OAAO,KAAK,IAAI,CAAC;CAC1C,CAAC"}
@@ -0,0 +1,74 @@
1
+ import type { StyleProp, TextInputProps, TextStyle, ViewStyle } from "react-native";
2
+ import type { TypographyVariant, UserInputVariant } from "./common.type";
3
+ export type UserInputProps = TextInputProps & {
4
+ /**
5
+ * Defines the input style variant.
6
+ * - 'outlined': Input has a border around it.
7
+ * - 'standard': Only the bottom border is visible.
8
+ * @default 'standard'
9
+ */
10
+ variant?: UserInputVariant;
11
+ /** Label text displayed above the input field. */
12
+ label?: string;
13
+ /** Background color of the input container. */
14
+ bg?: string;
15
+ /** Border radius of the input field. */
16
+ br?: number;
17
+ /** Border stroke width (thickness). */
18
+ stroke?: number;
19
+ /** Color of the label text. */
20
+ labelColor?: string;
21
+ /**
22
+ * Defines typography styles for text elements.
23
+ * - `label`: Typography variant for the label.
24
+ * - `helperText`: Typography variant for the helper text.
25
+ */
26
+ textVariant?: {
27
+ label?: TypographyVariant;
28
+ helperText?: TypographyVariant;
29
+ };
30
+ /** Color of the text inside the input field. */
31
+ inputTextColor?: string;
32
+ /** Border color of the input field. */
33
+ strokeColor?: string;
34
+ /** Cursor color when typing in the input field. */
35
+ cursorColor?: string;
36
+ /** Color of the placeholder text. */
37
+ placeholderColor?: string;
38
+ /** Font size of the input text. */
39
+ inputFs?: number;
40
+ /** Font size of the label text. */
41
+ labelFs?: number;
42
+ /** Font size of the helper text. */
43
+ helperTextFS?: number;
44
+ /** Placeholder text displayed when input is empty. */
45
+ placeholder?: string;
46
+ /** If `true`, the input field is marked as an error (e.g., invalid input). */
47
+ isError?: boolean;
48
+ /** Helper text displayed below the input field (e.g., validation message). */
49
+ helperText?: string;
50
+ /** If `true`, the input field is disabled and cannot be interacted with. */
51
+ disabled?: boolean;
52
+ /** If `true`, the input field allows multiple lines of text. */
53
+ multiline?: boolean;
54
+ /** Renders a custom left icon inside the input field. */
55
+ renderLeftIcon?: JSX.Element;
56
+ /** Renders a custom right icon inside the input field. */
57
+ renderRightIcon?: JSX.Element;
58
+ /**
59
+ * Custom styles for different parts of the component.
60
+ * - `mainContainer`: Styles for the outermost wrapper.
61
+ * - `inputContainer`: Styles for the input field container.
62
+ * - `input`: Styles for the actual text input.
63
+ * - `label`: Styles for the label text.
64
+ * - `helperText`: Styles for the helper text.
65
+ */
66
+ styles?: {
67
+ mainContainer?: StyleProp<ViewStyle>;
68
+ inputContainer?: StyleProp<ViewStyle>;
69
+ input?: StyleProp<TextStyle>;
70
+ label?: StyleProp<TextStyle>;
71
+ helperText?: StyleProp<TextStyle>;
72
+ };
73
+ };
74
+ //# sourceMappingURL=userInput.type.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"userInput.type.d.ts","sourceRoot":"","sources":["../../../../../src/types/userInput.type.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACpF,OAAO,KAAK,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAEzE,MAAM,MAAM,cAAc,GAAG,cAAc,GAAG;IAC1C;;;;;OAKG;IACH,OAAO,CAAC,EAAE,gBAAgB,CAAC;IAE3B,kDAAkD;IAClD,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf,+CAA+C;IAC/C,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ,wCAAwC;IACxC,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ,uCAAuC;IACvC,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,+BAA+B;IAC/B,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;;;OAIG;IACH,WAAW,CAAC,EAAE;QACV,KAAK,CAAC,EAAE,iBAAiB,CAAC;QAC1B,UAAU,CAAC,EAAE,iBAAiB,CAAC;KAClC,CAAC;IAEF,gDAAgD;IAChD,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB,uCAAuC;IACvC,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,mDAAmD;IACnD,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,qCAAqC;IACrC,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B,mCAAmC;IACnC,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB,mCAAmC;IACnC,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB,oCAAoC;IACpC,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB,sDAAsD;IACtD,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,8EAA8E;IAC9E,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB,8EAA8E;IAC9E,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,4EAA4E;IAC5E,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB,gEAAgE;IAChE,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB,yDAAyD;IACzD,cAAc,CAAC,EAAE,GAAG,CAAC,OAAO,CAAC;IAE7B,0DAA0D;IAC1D,eAAe,CAAC,EAAE,GAAG,CAAC,OAAO,CAAC;IAE9B;;;;;;;OAOG;IACH,MAAM,CAAC,EAAE;QACL,aAAa,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;QACrC,cAAc,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;QACtC,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;QAC7B,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;QAC7B,UAAU,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;KACrC,CAAC;CACL,CAAC"}
package/package.json ADDED
@@ -0,0 +1,197 @@
1
+ {
2
+ "name": "@nexara/nativeflow",
3
+ "version": "0.1.1",
4
+ "description": "Beautiful, responsive, and customizable UI components for React Native – built for performance and seamless experiences.",
5
+ "source": "./src/index.ts",
6
+ "main": "./lib/commonjs/index.js",
7
+ "module": "./lib/module/index.js",
8
+ "exports": {
9
+ ".": {
10
+ "import": {
11
+ "types": "./lib/typescript/module/src/index.d.ts",
12
+ "default": "./lib/module/index.js"
13
+ },
14
+ "require": {
15
+ "types": "./lib/typescript/commonjs/src/index.d.ts",
16
+ "default": "./lib/commonjs/index.js"
17
+ }
18
+ }
19
+ },
20
+ "files": [
21
+ "src",
22
+ "lib",
23
+ "android",
24
+ "ios",
25
+ "cpp",
26
+ "*.podspec",
27
+ "react-native.config.js",
28
+ "!ios/build",
29
+ "!android/build",
30
+ "!android/gradle",
31
+ "!android/gradlew",
32
+ "!android/gradlew.bat",
33
+ "!android/local.properties",
34
+ "!**/__tests__",
35
+ "!**/__fixtures__",
36
+ "!**/__mocks__",
37
+ "!**/.*"
38
+ ],
39
+ "scripts": {
40
+ "example": "yarn workspace @nexara/nativeflow-example",
41
+ "test": "jest",
42
+ "typecheck": "tsc",
43
+ "lint": "eslint \"**/*.{js,ts,tsx}\"",
44
+ "clean": "del-cli lib",
45
+ "prepare": "bob build",
46
+ "release": "release-it"
47
+ },
48
+ "keywords": [
49
+ "react-native",
50
+ "ios",
51
+ "android"
52
+ ],
53
+ "repository": {
54
+ "type": "git",
55
+ "url": "git+https://github.com/Yash-dott/nexara-nativeflow.git"
56
+ },
57
+ "author": "yash <yashkumarjha20@gmail.com> (https://github.com/Yash-dott)",
58
+ "license": "MIT",
59
+ "bugs": {
60
+ "url": "https://github.com/Yash-dott/nexara-nativeflow/issues"
61
+ },
62
+ "homepage": "https://nexara-nativeflow-docs.onrender.com",
63
+ "publishConfig": {
64
+ "registry": "https://registry.npmjs.org/",
65
+ "access": "public"
66
+ },
67
+ "devDependencies": {
68
+ "@babel/plugin-proposal-export-namespace-from": "^7.18.9",
69
+ "@commitlint/config-conventional": "^17.0.2",
70
+ "@evilmartians/lefthook": "^1.5.0",
71
+ "@react-native/eslint-config": "^0.73.1",
72
+ "@release-it/conventional-changelog": "^9.0.2",
73
+ "@types/jest": "^29.5.5",
74
+ "@types/react": "^18.2.44",
75
+ "commitlint": "^17.0.2",
76
+ "del-cli": "^5.1.0",
77
+ "eslint": "^8.51.0",
78
+ "eslint-config-prettier": "^9.0.0",
79
+ "eslint-plugin-prettier": "^5.0.1",
80
+ "jest": "^29.7.0",
81
+ "prettier": "^3.0.3",
82
+ "react": "18.3.1",
83
+ "react-native": "0.76.7",
84
+ "react-native-builder-bob": "^0.36.0",
85
+ "react-native-gesture-handler": "^2.24.0",
86
+ "react-native-reanimated": "~3.16.1",
87
+ "react-native-svg": "^15.11.2",
88
+ "release-it": "^17.10.0",
89
+ "typescript": "^5.2.2"
90
+ },
91
+ "resolutions": {
92
+ "@types/react": "^18.2.44"
93
+ },
94
+ "peerDependencies": {
95
+ "react": "*",
96
+ "react-native": "*",
97
+ "react-native-reanimated": "~3.16.1"
98
+ },
99
+ "workspaces": [
100
+ "example"
101
+ ],
102
+ "packageManager": "yarn@3.6.1",
103
+ "jest": {
104
+ "preset": "react-native",
105
+ "modulePathIgnorePatterns": [
106
+ "<rootDir>/example/node_modules",
107
+ "<rootDir>/lib/"
108
+ ]
109
+ },
110
+ "commitlint": {
111
+ "extends": [
112
+ "@commitlint/config-conventional"
113
+ ]
114
+ },
115
+ "release-it": {
116
+ "git": {
117
+ "commitMessage": "chore: release ${version}",
118
+ "tagName": "v${version}"
119
+ },
120
+ "npm": {
121
+ "publish": true
122
+ },
123
+ "github": {
124
+ "release": true
125
+ },
126
+ "plugins": {
127
+ "@release-it/conventional-changelog": {
128
+ "preset": "angular"
129
+ }
130
+ }
131
+ },
132
+ "eslintConfig": {
133
+ "root": true,
134
+ "extends": [
135
+ "@react-native",
136
+ "prettier"
137
+ ],
138
+ "rules": {
139
+ "react/react-in-jsx-scope": "off",
140
+ "prettier/prettier": [
141
+ "error",
142
+ {
143
+ "quoteProps": "consistent",
144
+ "singleQuote": true,
145
+ "tabWidth": 2,
146
+ "trailingComma": "es5",
147
+ "useTabs": false
148
+ }
149
+ ]
150
+ }
151
+ },
152
+ "eslintIgnore": [
153
+ "node_modules/",
154
+ "lib/"
155
+ ],
156
+ "prettier": {
157
+ "quoteProps": "consistent",
158
+ "singleQuote": true,
159
+ "tabWidth": 2,
160
+ "trailingComma": "es5",
161
+ "useTabs": false
162
+ },
163
+ "react-native-builder-bob": {
164
+ "source": "src",
165
+ "output": "lib",
166
+ "targets": [
167
+ [
168
+ "commonjs",
169
+ {
170
+ "esm": true
171
+ }
172
+ ],
173
+ [
174
+ "module",
175
+ {
176
+ "esm": true
177
+ }
178
+ ],
179
+ [
180
+ "typescript",
181
+ {
182
+ "project": "tsconfig.build.json",
183
+ "esm": true
184
+ }
185
+ ]
186
+ ]
187
+ },
188
+ "create-react-native-library": {
189
+ "languages": "js",
190
+ "type": "library",
191
+ "version": "0.48.3"
192
+ },
193
+ "dependencies": {
194
+ "color": "^5.0.0",
195
+ "lucide-react-native": "^0.479.0"
196
+ }
197
+ }
@@ -0,0 +1,17 @@
1
+ import { Path, Svg } from "react-native-svg";
2
+
3
+ const Check = ({ size = 24, color = '#000' }) => {
4
+ return (<>
5
+ <Svg
6
+ height={size}
7
+ viewBox="0 -960 960 960"
8
+ width={size}
9
+ fill={color}
10
+ >
11
+ <Path d="M382-240 154-468l57-57 171 171 367-367 57 57-424 424Z" />
12
+ </Svg>
13
+
14
+ </>);
15
+ }
16
+
17
+ export default Check;
@@ -0,0 +1,16 @@
1
+ import { Path, Svg } from "react-native-svg";
2
+
3
+ const X = ({ size = 24, color = '#000' }) => {
4
+ return (
5
+ <Svg
6
+ height={size}
7
+ viewBox="0 -960 960 960"
8
+ width={size}
9
+ fill={color}
10
+ >
11
+ <Path d="m256-200-56-56 224-224-224-224 56-56 224 224 224-224 56 56-224 224 224 224-56 56-224-224-224 224Z" />
12
+ </Svg>
13
+ );
14
+ }
15
+
16
+ export default X;
@@ -0,0 +1,2 @@
1
+ export { default as X } from './X';
2
+ export { default as Check } from './Check';
@@ -0,0 +1,39 @@
1
+ import React from "react";
2
+ import { Image } from "react-native";
3
+ import { StyledView } from "../StyledComponents";
4
+ import { verticalScale } from "../../helpers/ResponsiveCalculations";
5
+ import { useTheme } from "../../hooks";
6
+ import type { AvatarImageProps } from "../../types";
7
+
8
+
9
+ const AvatarImage: React.FC<AvatarImageProps> = ({
10
+ size = 70,
11
+ source,
12
+ bg,
13
+ resizeMode = 'cover',
14
+ containerStyle,
15
+ imageStyle
16
+ }) => {
17
+
18
+ const theme: any = useTheme();
19
+
20
+ return (<>
21
+ <StyledView
22
+ backgroundColor={bg ?? theme.colors.primary}
23
+ // alignSelf='flex-start'
24
+ height={verticalScale(size)}
25
+ width={verticalScale(size)}
26
+ borderRadius={verticalScale(size)}
27
+ overflow='hidden'
28
+ style={containerStyle}
29
+ >
30
+ <Image
31
+ source={source}
32
+ style={[{ height: '100%', width: '100%' }, imageStyle]}
33
+ resizeMode={resizeMode}
34
+ />
35
+ </StyledView>
36
+ </>)
37
+ }
38
+ export default AvatarImage;
39
+ export type { AvatarImageProps };
@@ -0,0 +1,35 @@
1
+ import React from "react";
2
+ import { StyledText, StyledView } from "../StyledComponents";
3
+ import { verticalScale } from "../../helpers/ResponsiveCalculations";
4
+ import { useTheme } from "../../hooks";
5
+ import type { AvatarTextProps } from "../../types";
6
+
7
+
8
+ const AvatarText: React.FC<AvatarTextProps> = ({
9
+ size = 70,
10
+ fs,
11
+ text = 'YH',
12
+ bg,
13
+ containerStyle,
14
+ textStyle,
15
+ }) => {
16
+ text = text.slice(0, 2).toUpperCase();
17
+ const theme: any = useTheme();
18
+
19
+ return (<>
20
+ <StyledView
21
+ bg={bg ?? theme.colors.primary}
22
+ // alignSelf='flex-start'
23
+ h={verticalScale(size)}
24
+ w={verticalScale(size)}
25
+ align='center'
26
+ justify='center'
27
+ borderRadius={verticalScale(size)}
28
+ style={containerStyle}
29
+ >
30
+ <StyledText secondary fw='bold' fs={fs ?? (size / 3)} style={textStyle}>{text}</StyledText>
31
+ </StyledView>
32
+ </>)
33
+ }
34
+ export default AvatarText;
35
+ export type { AvatarTextProps };
@@ -0,0 +1,9 @@
1
+ import AvatarImage from "./AvatarImage";
2
+ import AvatarText from "./AvatarText";
3
+ const Avatar = {
4
+ Image: AvatarImage,
5
+ Text: AvatarText
6
+ };
7
+ export type { AvatarImageProps } from './AvatarImage';
8
+ export type { AvatarTextProps } from './AvatarText';
9
+ export default Avatar;