@adiraku/react-native-ui 1.2.9-canary-2 → 1.2.9-canary-3

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 (430) hide show
  1. package/lib/commonjs/components/BottomTabBar/BottomTabBar.component.js +151 -0
  2. package/lib/commonjs/components/BottomTabBar/BottomTabBar.component.js.map +1 -0
  3. package/lib/commonjs/components/BottomTabBar/BottomTabBar.style.js +51 -0
  4. package/lib/commonjs/components/BottomTabBar/BottomTabBar.style.js.map +1 -0
  5. package/lib/commonjs/components/BottomTabBar/BottomTabBar.type.js +6 -0
  6. package/lib/commonjs/components/BottomTabBar/BottomTabBar.type.js.map +1 -0
  7. package/lib/commonjs/components/Chips/Chips.component.js +58 -0
  8. package/lib/commonjs/components/Chips/Chips.component.js.map +1 -0
  9. package/lib/commonjs/components/Chips/Chips.style.js +67 -0
  10. package/lib/commonjs/components/Chips/Chips.style.js.map +1 -0
  11. package/lib/commonjs/components/Chips/Chips.type.js +6 -0
  12. package/lib/commonjs/components/Chips/Chips.type.js.map +1 -0
  13. package/lib/commonjs/components/Loader/loader.component.js +112 -0
  14. package/lib/commonjs/components/Loader/loader.component.js.map +1 -0
  15. package/lib/commonjs/components/Loader/loader.style.js +13 -0
  16. package/lib/commonjs/components/Loader/loader.style.js.map +1 -0
  17. package/lib/commonjs/components/Loader/loader.type.js +2 -0
  18. package/lib/commonjs/components/Loader/loader.type.js.map +1 -0
  19. package/lib/commonjs/components/Notification/notification.component.js +49 -0
  20. package/lib/commonjs/components/Notification/notification.component.js.map +1 -0
  21. package/lib/commonjs/components/Notification/notification.style.js +14 -0
  22. package/lib/commonjs/components/Notification/notification.style.js.map +1 -0
  23. package/lib/commonjs/components/Notification/notification.type.js +6 -0
  24. package/lib/commonjs/components/Notification/notification.type.js.map +1 -0
  25. package/lib/commonjs/components/Snackbar/Snackbar.component.js +2 -0
  26. package/lib/commonjs/components/Snackbar/Snackbar.component.js.map +1 -1
  27. package/lib/commonjs/components/TextInput/TextInput.component.js +9 -7
  28. package/lib/commonjs/components/TextInput/TextInput.component.js.map +1 -1
  29. package/lib/commonjs/components/coachmark/coachmark.component.js +72 -10
  30. package/lib/commonjs/components/coachmark/coachmark.component.js.map +1 -1
  31. package/lib/commonjs/components/coachmark/coachmark.style.js +31 -34
  32. package/lib/commonjs/components/coachmark/coachmark.style.js.map +1 -1
  33. package/lib/commonjs/components/index.js +40 -0
  34. package/lib/commonjs/components/index.js.map +1 -1
  35. package/lib/commonjs/components/label/label.component.js +15 -4
  36. package/lib/commonjs/components/label/label.component.js.map +1 -1
  37. package/lib/commonjs/components/label/label.style.js +41 -3
  38. package/lib/commonjs/components/label/label.style.js.map +1 -1
  39. package/lib/commonjs/components/search-input/search-input.component.js +8 -4
  40. package/lib/commonjs/components/search-input/search-input.component.js.map +1 -1
  41. package/lib/commonjs/components/typography/typography.component.js.map +1 -1
  42. package/lib/commonjs/icons/actions/IconThreeDot.js +31 -0
  43. package/lib/commonjs/icons/actions/IconThreeDot.js.map +1 -0
  44. package/lib/commonjs/icons/index.js +31 -0
  45. package/lib/commonjs/icons/index.js.map +1 -1
  46. package/lib/commonjs/icons/navs/IconNavAdiraku.js +40 -22
  47. package/lib/commonjs/icons/navs/IconNavAdiraku.js.map +1 -1
  48. package/lib/commonjs/icons/navs/IconNavDocument.js +30 -6
  49. package/lib/commonjs/icons/navs/IconNavDocument.js.map +1 -1
  50. package/lib/commonjs/icons/navs/IconNavHome.js +27 -9
  51. package/lib/commonjs/icons/navs/IconNavHome.js.map +1 -1
  52. package/lib/commonjs/icons/navs/IconNavProfile.js +20 -5
  53. package/lib/commonjs/icons/navs/IconNavProfile.js.map +1 -1
  54. package/lib/commonjs/themes/border.js +11 -0
  55. package/lib/commonjs/themes/border.js.map +1 -0
  56. package/lib/commonjs/themes/index.js +11 -0
  57. package/lib/commonjs/themes/index.js.map +1 -1
  58. package/lib/module/components/BottomTabBar/BottomTabBar.component.js +143 -0
  59. package/lib/module/components/BottomTabBar/BottomTabBar.component.js.map +1 -0
  60. package/lib/module/components/BottomTabBar/BottomTabBar.style.js +44 -0
  61. package/lib/module/components/BottomTabBar/BottomTabBar.style.js.map +1 -0
  62. package/lib/module/components/BottomTabBar/BottomTabBar.type.js +2 -0
  63. package/lib/module/components/BottomTabBar/BottomTabBar.type.js.map +1 -0
  64. package/lib/module/components/Chips/Chips.component.js +45 -0
  65. package/lib/module/components/Chips/Chips.component.js.map +1 -0
  66. package/lib/module/components/Chips/Chips.style.js +60 -0
  67. package/lib/module/components/Chips/Chips.style.js.map +1 -0
  68. package/lib/module/components/Chips/Chips.type.js +2 -0
  69. package/lib/module/components/Chips/Chips.type.js.map +1 -0
  70. package/lib/module/components/Loader/loader.component.js +104 -0
  71. package/lib/module/components/Loader/loader.component.js.map +1 -0
  72. package/lib/module/components/Loader/loader.style.js +6 -0
  73. package/lib/module/components/Loader/loader.style.js.map +1 -0
  74. package/lib/module/components/Loader/loader.type.js +2 -0
  75. package/lib/module/components/Loader/loader.type.js.map +1 -0
  76. package/lib/module/components/Notification/notification.component.js +41 -0
  77. package/lib/module/components/Notification/notification.component.js.map +1 -0
  78. package/lib/module/components/Notification/notification.style.js +7 -0
  79. package/lib/module/components/Notification/notification.style.js.map +1 -0
  80. package/lib/module/components/Notification/notification.type.js +2 -0
  81. package/lib/module/components/Notification/notification.type.js.map +1 -0
  82. package/lib/module/components/Snackbar/Snackbar.component.js +1 -1
  83. package/lib/module/components/Snackbar/Snackbar.component.js.map +1 -1
  84. package/lib/module/components/TextInput/TextInput.component.js +9 -7
  85. package/lib/module/components/TextInput/TextInput.component.js.map +1 -1
  86. package/lib/module/components/coachmark/coachmark.component.js +69 -9
  87. package/lib/module/components/coachmark/coachmark.component.js.map +1 -1
  88. package/lib/module/components/coachmark/coachmark.style.js +31 -34
  89. package/lib/module/components/coachmark/coachmark.style.js.map +1 -1
  90. package/lib/module/components/index.js +6 -2
  91. package/lib/module/components/index.js.map +1 -1
  92. package/lib/module/components/label/label.component.js +15 -5
  93. package/lib/module/components/label/label.component.js.map +1 -1
  94. package/lib/module/components/label/label.style.js +41 -3
  95. package/lib/module/components/label/label.style.js.map +1 -1
  96. package/lib/module/components/search-input/search-input.component.js +9 -5
  97. package/lib/module/components/search-input/search-input.component.js.map +1 -1
  98. package/lib/module/components/typography/typography.component.js.map +1 -1
  99. package/lib/module/icons/actions/IconThreeDot.js +22 -0
  100. package/lib/module/icons/actions/IconThreeDot.js.map +1 -0
  101. package/lib/module/icons/index.js +5 -4
  102. package/lib/module/icons/index.js.map +1 -1
  103. package/lib/module/icons/navs/IconNavAdiraku.js +39 -22
  104. package/lib/module/icons/navs/IconNavAdiraku.js.map +1 -1
  105. package/lib/module/icons/navs/IconNavDocument.js +28 -5
  106. package/lib/module/icons/navs/IconNavDocument.js.map +1 -1
  107. package/lib/module/icons/navs/IconNavHome.js +25 -8
  108. package/lib/module/icons/navs/IconNavHome.js.map +1 -1
  109. package/lib/module/icons/navs/IconNavProfile.js +18 -4
  110. package/lib/module/icons/navs/IconNavProfile.js.map +1 -1
  111. package/lib/module/themes/border.js +6 -0
  112. package/lib/module/themes/border.js.map +1 -0
  113. package/lib/module/themes/index.js +1 -0
  114. package/lib/module/themes/index.js.map +1 -1
  115. package/lib/typescript/components/BottomTabBar/BottomTabBar.component.d.ts +4 -0
  116. package/lib/typescript/components/BottomTabBar/BottomTabBar.component.d.ts.map +1 -0
  117. package/lib/typescript/components/BottomTabBar/BottomTabBar.style.d.ts +11 -0
  118. package/lib/typescript/components/BottomTabBar/BottomTabBar.style.d.ts.map +1 -0
  119. package/lib/typescript/components/BottomTabBar/BottomTabBar.type.d.ts +47 -0
  120. package/lib/typescript/components/BottomTabBar/BottomTabBar.type.d.ts.map +1 -0
  121. package/lib/typescript/components/Chips/Chips.component.d.ts +5 -0
  122. package/lib/typescript/components/Chips/Chips.component.d.ts.map +1 -0
  123. package/lib/typescript/components/Chips/Chips.style.d.ts +11 -0
  124. package/lib/typescript/components/Chips/Chips.style.d.ts.map +1 -0
  125. package/lib/typescript/components/Chips/Chips.type.d.ts +32 -0
  126. package/lib/typescript/components/Chips/Chips.type.d.ts.map +1 -0
  127. package/lib/typescript/components/Loader/loader.component.d.ts +5 -0
  128. package/lib/typescript/components/Loader/loader.component.d.ts.map +1 -0
  129. package/lib/typescript/components/Loader/loader.style.d.ts +5 -0
  130. package/lib/typescript/components/Loader/loader.style.d.ts.map +1 -0
  131. package/lib/typescript/components/Loader/loader.type.d.ts +8 -0
  132. package/lib/typescript/components/Loader/loader.type.d.ts.map +1 -0
  133. package/lib/typescript/components/Notification/notification.component.d.ts +5 -0
  134. package/lib/typescript/components/Notification/notification.component.d.ts.map +1 -0
  135. package/lib/typescript/components/Notification/notification.style.d.ts +6 -0
  136. package/lib/typescript/components/Notification/notification.style.d.ts.map +1 -0
  137. package/lib/typescript/components/Notification/notification.type.d.ts +21 -0
  138. package/lib/typescript/components/Notification/notification.type.d.ts.map +1 -0
  139. package/lib/typescript/components/Snackbar/Snackbar.component.d.ts +4 -2
  140. package/lib/typescript/components/Snackbar/Snackbar.component.d.ts.map +1 -1
  141. package/lib/typescript/components/Snackbar/Snackbar.type.d.ts +13 -0
  142. package/lib/typescript/components/Snackbar/Snackbar.type.d.ts.map +1 -1
  143. package/lib/typescript/components/TextInput/TextInput.component.d.ts.map +1 -1
  144. package/lib/typescript/components/TextInput/TextInput.type.d.ts +1 -6
  145. package/lib/typescript/components/TextInput/TextInput.type.d.ts.map +1 -1
  146. package/lib/typescript/components/calendars/calendars.component.d.ts +2 -2
  147. package/lib/typescript/components/calendars/calendars.component.d.ts.map +1 -1
  148. package/lib/typescript/components/calendars/month-picker-modal.component.d.ts +3 -3
  149. package/lib/typescript/components/calendars/month-picker-modal.component.d.ts.map +1 -1
  150. package/lib/typescript/components/coachmark/coachmark.component.d.ts +4 -3
  151. package/lib/typescript/components/coachmark/coachmark.component.d.ts.map +1 -1
  152. package/lib/typescript/components/coachmark/coachmark.style.d.ts +6 -3
  153. package/lib/typescript/components/coachmark/coachmark.style.d.ts.map +1 -1
  154. package/lib/typescript/components/coachmark/coachmark.type.d.ts +75 -9
  155. package/lib/typescript/components/coachmark/coachmark.type.d.ts.map +1 -1
  156. package/lib/typescript/components/index.d.ts +7 -2
  157. package/lib/typescript/components/index.d.ts.map +1 -1
  158. package/lib/typescript/components/label/label.component.d.ts.map +1 -1
  159. package/lib/typescript/components/label/label.style.d.ts +9 -1
  160. package/lib/typescript/components/label/label.style.d.ts.map +1 -1
  161. package/lib/typescript/components/label/label.type.d.ts +14 -3
  162. package/lib/typescript/components/label/label.type.d.ts.map +1 -1
  163. package/lib/typescript/components/search-input/search-input.component.d.ts +2 -2
  164. package/lib/typescript/components/search-input/search-input.component.d.ts.map +1 -1
  165. package/lib/typescript/components/search-input/search-input.type.d.ts +20 -1
  166. package/lib/typescript/components/search-input/search-input.type.d.ts.map +1 -1
  167. package/lib/typescript/components/selection-card/SelectionCard.component.d.ts +2 -2
  168. package/lib/typescript/components/selection-card/SelectionCard.component.d.ts.map +1 -1
  169. package/lib/typescript/components/textlink/textlink.type.d.ts +9 -0
  170. package/lib/typescript/components/textlink/textlink.type.d.ts.map +1 -1
  171. package/lib/typescript/components/typography/typography.component.d.ts +2 -2
  172. package/lib/typescript/components/typography/typography.component.d.ts.map +1 -1
  173. package/lib/typescript/icons/actions/IconAddMinus.d.ts +2 -2
  174. package/lib/typescript/icons/actions/IconAddMinus.d.ts.map +1 -1
  175. package/lib/typescript/icons/actions/IconAddPlus.d.ts +2 -2
  176. package/lib/typescript/icons/actions/IconAddPlus.d.ts.map +1 -1
  177. package/lib/typescript/icons/actions/IconAddRemove.d.ts +2 -2
  178. package/lib/typescript/icons/actions/IconAddRemove.d.ts.map +1 -1
  179. package/lib/typescript/icons/actions/IconAttach.d.ts +2 -2
  180. package/lib/typescript/icons/actions/IconAttach.d.ts.map +1 -1
  181. package/lib/typescript/icons/actions/IconBeliMobil.d.ts +3 -3
  182. package/lib/typescript/icons/actions/IconBeliMobil.d.ts.map +1 -1
  183. package/lib/typescript/icons/actions/IconCamera.d.ts +3 -3
  184. package/lib/typescript/icons/actions/IconCamera.d.ts.map +1 -1
  185. package/lib/typescript/icons/actions/IconChat.d.ts +3 -3
  186. package/lib/typescript/icons/actions/IconChat.d.ts.map +1 -1
  187. package/lib/typescript/icons/actions/IconCopy.d.ts +3 -3
  188. package/lib/typescript/icons/actions/IconCopy.d.ts.map +1 -1
  189. package/lib/typescript/icons/actions/IconCustomerService.d.ts +2 -2
  190. package/lib/typescript/icons/actions/IconCustomerService.d.ts.map +1 -1
  191. package/lib/typescript/icons/actions/IconDot.d.ts +3 -3
  192. package/lib/typescript/icons/actions/IconDot.d.ts.map +1 -1
  193. package/lib/typescript/icons/actions/IconDownload.d.ts +2 -2
  194. package/lib/typescript/icons/actions/IconDownload.d.ts.map +1 -1
  195. package/lib/typescript/icons/actions/IconEdit.d.ts +3 -3
  196. package/lib/typescript/icons/actions/IconEdit.d.ts.map +1 -1
  197. package/lib/typescript/icons/actions/IconEmail.d.ts +3 -3
  198. package/lib/typescript/icons/actions/IconEmail.d.ts.map +1 -1
  199. package/lib/typescript/icons/actions/IconFilter.d.ts +3 -3
  200. package/lib/typescript/icons/actions/IconFilter.d.ts.map +1 -1
  201. package/lib/typescript/icons/actions/IconGallery.d.ts +3 -3
  202. package/lib/typescript/icons/actions/IconGallery.d.ts.map +1 -1
  203. package/lib/typescript/icons/actions/IconHamburger.d.ts +2 -2
  204. package/lib/typescript/icons/actions/IconHamburger.d.ts.map +1 -1
  205. package/lib/typescript/icons/actions/IconHeartEmpty.d.ts +2 -2
  206. package/lib/typescript/icons/actions/IconHeartEmpty.d.ts.map +1 -1
  207. package/lib/typescript/icons/actions/IconHeartFilled.d.ts +2 -2
  208. package/lib/typescript/icons/actions/IconHeartFilled.d.ts.map +1 -1
  209. package/lib/typescript/icons/actions/IconHeartOutline.d.ts +2 -2
  210. package/lib/typescript/icons/actions/IconHeartOutline.d.ts.map +1 -1
  211. package/lib/typescript/icons/actions/IconHelp.d.ts +3 -3
  212. package/lib/typescript/icons/actions/IconHelp.d.ts.map +1 -1
  213. package/lib/typescript/icons/actions/IconInfo.d.ts +3 -3
  214. package/lib/typescript/icons/actions/IconInfo.d.ts.map +1 -1
  215. package/lib/typescript/icons/actions/IconJualMobil.d.ts +3 -3
  216. package/lib/typescript/icons/actions/IconJualMobil.d.ts.map +1 -1
  217. package/lib/typescript/icons/actions/IconLike.d.ts +3 -3
  218. package/lib/typescript/icons/actions/IconLike.d.ts.map +1 -1
  219. package/lib/typescript/icons/actions/IconMinus.d.ts +3 -3
  220. package/lib/typescript/icons/actions/IconMinus.d.ts.map +1 -1
  221. package/lib/typescript/icons/actions/IconNotification.d.ts +3 -3
  222. package/lib/typescript/icons/actions/IconNotification.d.ts.map +1 -1
  223. package/lib/typescript/icons/actions/IconOther.d.ts +3 -3
  224. package/lib/typescript/icons/actions/IconOther.d.ts.map +1 -1
  225. package/lib/typescript/icons/actions/IconPerson.d.ts +2 -2
  226. package/lib/typescript/icons/actions/IconPerson.d.ts.map +1 -1
  227. package/lib/typescript/icons/actions/IconPicture.d.ts +2 -2
  228. package/lib/typescript/icons/actions/IconPicture.d.ts.map +1 -1
  229. package/lib/typescript/icons/actions/IconPictureAdd.d.ts +2 -2
  230. package/lib/typescript/icons/actions/IconPictureAdd.d.ts.map +1 -1
  231. package/lib/typescript/icons/actions/IconReload.d.ts +2 -2
  232. package/lib/typescript/icons/actions/IconReload.d.ts.map +1 -1
  233. package/lib/typescript/icons/actions/IconRoundAdd.d.ts +3 -3
  234. package/lib/typescript/icons/actions/IconRoundAdd.d.ts.map +1 -1
  235. package/lib/typescript/icons/actions/IconRoundClose.d.ts +3 -3
  236. package/lib/typescript/icons/actions/IconRoundClose.d.ts.map +1 -1
  237. package/lib/typescript/icons/actions/IconSearch.d.ts +2 -2
  238. package/lib/typescript/icons/actions/IconSearch.d.ts.map +1 -1
  239. package/lib/typescript/icons/actions/IconSeeHide.d.ts +2 -2
  240. package/lib/typescript/icons/actions/IconSeeHide.d.ts.map +1 -1
  241. package/lib/typescript/icons/actions/IconSeeShow.d.ts +2 -2
  242. package/lib/typescript/icons/actions/IconSeeShow.d.ts.map +1 -1
  243. package/lib/typescript/icons/actions/IconSetting.d.ts +3 -3
  244. package/lib/typescript/icons/actions/IconSetting.d.ts.map +1 -1
  245. package/lib/typescript/icons/actions/IconShare.d.ts +3 -3
  246. package/lib/typescript/icons/actions/IconShare.d.ts.map +1 -1
  247. package/lib/typescript/icons/actions/IconShoppingBag.d.ts +3 -3
  248. package/lib/typescript/icons/actions/IconShoppingBag.d.ts.map +1 -1
  249. package/lib/typescript/icons/actions/IconShoppingCart.d.ts +3 -3
  250. package/lib/typescript/icons/actions/IconShoppingCart.d.ts.map +1 -1
  251. package/lib/typescript/icons/actions/IconSmartphone.d.ts +3 -3
  252. package/lib/typescript/icons/actions/IconSmartphone.d.ts.map +1 -1
  253. package/lib/typescript/icons/actions/IconSort.d.ts +2 -2
  254. package/lib/typescript/icons/actions/IconSort.d.ts.map +1 -1
  255. package/lib/typescript/icons/actions/IconSorting.d.ts +2 -2
  256. package/lib/typescript/icons/actions/IconSorting.d.ts.map +1 -1
  257. package/lib/typescript/icons/actions/IconStarFilled.d.ts +2 -2
  258. package/lib/typescript/icons/actions/IconStarFilled.d.ts.map +1 -1
  259. package/lib/typescript/icons/actions/IconStarOutline.d.ts +2 -2
  260. package/lib/typescript/icons/actions/IconStarOutline.d.ts.map +1 -1
  261. package/lib/typescript/icons/actions/IconThreeDot.d.ts +4 -0
  262. package/lib/typescript/icons/actions/IconThreeDot.d.ts.map +1 -0
  263. package/lib/typescript/icons/actions/IconTrash.d.ts +3 -3
  264. package/lib/typescript/icons/actions/IconTrash.d.ts.map +1 -1
  265. package/lib/typescript/icons/actions/IconUpload.d.ts +2 -2
  266. package/lib/typescript/icons/actions/IconUpload.d.ts.map +1 -1
  267. package/lib/typescript/icons/actions/IconUser.d.ts +3 -3
  268. package/lib/typescript/icons/actions/IconUser.d.ts.map +1 -1
  269. package/lib/typescript/icons/actions/IconVideo.d.ts +3 -3
  270. package/lib/typescript/icons/actions/IconVideo.d.ts.map +1 -1
  271. package/lib/typescript/icons/index.d.ts +5 -4
  272. package/lib/typescript/icons/index.d.ts.map +1 -1
  273. package/lib/typescript/icons/misc/IconCalendar.d.ts +2 -2
  274. package/lib/typescript/icons/misc/IconCalendar.d.ts.map +1 -1
  275. package/lib/typescript/icons/misc/IconCash.d.ts +2 -2
  276. package/lib/typescript/icons/misc/IconCash.d.ts.map +1 -1
  277. package/lib/typescript/icons/misc/IconCategory.d.ts +2 -2
  278. package/lib/typescript/icons/misc/IconCategory.d.ts.map +1 -1
  279. package/lib/typescript/icons/misc/IconContract.d.ts +2 -2
  280. package/lib/typescript/icons/misc/IconContract.d.ts.map +1 -1
  281. package/lib/typescript/icons/misc/IconCreditCard.d.ts +2 -2
  282. package/lib/typescript/icons/misc/IconCreditCard.d.ts.map +1 -1
  283. package/lib/typescript/icons/misc/IconFlash.d.ts +2 -2
  284. package/lib/typescript/icons/misc/IconFlash.d.ts.map +1 -1
  285. package/lib/typescript/icons/misc/IconGroup.d.ts +2 -2
  286. package/lib/typescript/icons/misc/IconGroup.d.ts.map +1 -1
  287. package/lib/typescript/icons/misc/IconHistory.d.ts +2 -2
  288. package/lib/typescript/icons/misc/IconHistory.d.ts.map +1 -1
  289. package/lib/typescript/icons/misc/IconLocation.d.ts +2 -2
  290. package/lib/typescript/icons/misc/IconLocation.d.ts.map +1 -1
  291. package/lib/typescript/icons/misc/IconLock.d.ts +2 -2
  292. package/lib/typescript/icons/misc/IconLock.d.ts.map +1 -1
  293. package/lib/typescript/icons/misc/IconMoney.d.ts +2 -2
  294. package/lib/typescript/icons/misc/IconMoney.d.ts.map +1 -1
  295. package/lib/typescript/icons/misc/IconMyLocation.d.ts +2 -2
  296. package/lib/typescript/icons/misc/IconMyLocation.d.ts.map +1 -1
  297. package/lib/typescript/icons/misc/IconOfficial.d.ts +2 -2
  298. package/lib/typescript/icons/misc/IconOfficial.d.ts.map +1 -1
  299. package/lib/typescript/icons/misc/IconPromo.d.ts +2 -2
  300. package/lib/typescript/icons/misc/IconPromo.d.ts.map +1 -1
  301. package/lib/typescript/icons/misc/IconProtection.d.ts +2 -2
  302. package/lib/typescript/icons/misc/IconProtection.d.ts.map +1 -1
  303. package/lib/typescript/icons/misc/IconStore.d.ts +2 -2
  304. package/lib/typescript/icons/misc/IconStore.d.ts.map +1 -1
  305. package/lib/typescript/icons/misc/IconTick.d.ts +2 -2
  306. package/lib/typescript/icons/misc/IconTick.d.ts.map +1 -1
  307. package/lib/typescript/icons/misc/IconTicket.d.ts +2 -2
  308. package/lib/typescript/icons/misc/IconTicket.d.ts.map +1 -1
  309. package/lib/typescript/icons/misc/IconTime.d.ts +2 -2
  310. package/lib/typescript/icons/misc/IconTime.d.ts.map +1 -1
  311. package/lib/typescript/icons/misc/IconVoucher.d.ts +2 -2
  312. package/lib/typescript/icons/misc/IconVoucher.d.ts.map +1 -1
  313. package/lib/typescript/icons/navigations/IconArrowDiagonal.d.ts +2 -2
  314. package/lib/typescript/icons/navigations/IconArrowDiagonal.d.ts.map +1 -1
  315. package/lib/typescript/icons/navigations/IconArrowDown.d.ts +2 -2
  316. package/lib/typescript/icons/navigations/IconArrowDown.d.ts.map +1 -1
  317. package/lib/typescript/icons/navigations/IconArrowLeft.d.ts +2 -2
  318. package/lib/typescript/icons/navigations/IconArrowLeft.d.ts.map +1 -1
  319. package/lib/typescript/icons/navigations/IconArrowRight.d.ts +2 -2
  320. package/lib/typescript/icons/navigations/IconArrowRight.d.ts.map +1 -1
  321. package/lib/typescript/icons/navigations/IconArrowUp.d.ts +2 -2
  322. package/lib/typescript/icons/navigations/IconArrowUp.d.ts.map +1 -1
  323. package/lib/typescript/icons/navigations/IconChevronDown.d.ts +2 -2
  324. package/lib/typescript/icons/navigations/IconChevronDown.d.ts.map +1 -1
  325. package/lib/typescript/icons/navigations/IconChevronLeft.d.ts +2 -2
  326. package/lib/typescript/icons/navigations/IconChevronLeft.d.ts.map +1 -1
  327. package/lib/typescript/icons/navigations/IconChevronRight.d.ts +2 -2
  328. package/lib/typescript/icons/navigations/IconChevronRight.d.ts.map +1 -1
  329. package/lib/typescript/icons/navigations/IconChevronUp.d.ts +2 -2
  330. package/lib/typescript/icons/navigations/IconChevronUp.d.ts.map +1 -1
  331. package/lib/typescript/icons/navigations/IconClose.d.ts +2 -2
  332. package/lib/typescript/icons/navigations/IconClose.d.ts.map +1 -1
  333. package/lib/typescript/icons/navs/IconNavAdiraku.d.ts +6 -3
  334. package/lib/typescript/icons/navs/IconNavAdiraku.d.ts.map +1 -1
  335. package/lib/typescript/icons/navs/IconNavDocument.d.ts +6 -3
  336. package/lib/typescript/icons/navs/IconNavDocument.d.ts.map +1 -1
  337. package/lib/typescript/icons/navs/IconNavHome.d.ts +3 -2
  338. package/lib/typescript/icons/navs/IconNavHome.d.ts.map +1 -1
  339. package/lib/typescript/icons/navs/IconNavPhone.d.ts +2 -2
  340. package/lib/typescript/icons/navs/IconNavPhone.d.ts.map +1 -1
  341. package/lib/typescript/icons/navs/IconNavProfile.d.ts +3 -2
  342. package/lib/typescript/icons/navs/IconNavProfile.d.ts.map +1 -1
  343. package/lib/typescript/icons/vehicles/IconBikeCaferacer.d.ts +2 -2
  344. package/lib/typescript/icons/vehicles/IconBikeCaferacer.d.ts.map +1 -1
  345. package/lib/typescript/icons/vehicles/IconBikeCooper.d.ts +2 -2
  346. package/lib/typescript/icons/vehicles/IconBikeCooper.d.ts.map +1 -1
  347. package/lib/typescript/icons/vehicles/IconBikeCruiser.d.ts +2 -2
  348. package/lib/typescript/icons/vehicles/IconBikeCruiser.d.ts.map +1 -1
  349. package/lib/typescript/icons/vehicles/IconBikeDualsport.d.ts +2 -2
  350. package/lib/typescript/icons/vehicles/IconBikeDualsport.d.ts.map +1 -1
  351. package/lib/typescript/icons/vehicles/IconBikeMopad.d.ts +2 -2
  352. package/lib/typescript/icons/vehicles/IconBikeMopad.d.ts.map +1 -1
  353. package/lib/typescript/icons/vehicles/IconBikeRoadster.d.ts +2 -2
  354. package/lib/typescript/icons/vehicles/IconBikeRoadster.d.ts.map +1 -1
  355. package/lib/typescript/icons/vehicles/IconBikeScooter.d.ts +2 -2
  356. package/lib/typescript/icons/vehicles/IconBikeScooter.d.ts.map +1 -1
  357. package/lib/typescript/icons/vehicles/IconBikeScrambler.d.ts +2 -2
  358. package/lib/typescript/icons/vehicles/IconBikeScrambler.d.ts.map +1 -1
  359. package/lib/typescript/icons/vehicles/IconBikeSportbike.d.ts +2 -2
  360. package/lib/typescript/icons/vehicles/IconBikeSportbike.d.ts.map +1 -1
  361. package/lib/typescript/icons/vehicles/IconBikeSportstouring.d.ts +2 -2
  362. package/lib/typescript/icons/vehicles/IconBikeSportstouring.d.ts.map +1 -1
  363. package/lib/typescript/icons/vehicles/IconBikeTouring.d.ts +2 -2
  364. package/lib/typescript/icons/vehicles/IconBikeTouring.d.ts.map +1 -1
  365. package/lib/typescript/icons/vehicles/IconBikeTrialbike.d.ts +2 -2
  366. package/lib/typescript/icons/vehicles/IconBikeTrialbike.d.ts.map +1 -1
  367. package/lib/typescript/icons/vehicles/IconCarHatchback.d.ts +2 -2
  368. package/lib/typescript/icons/vehicles/IconCarHatchback.d.ts.map +1 -1
  369. package/lib/typescript/icons/vehicles/IconCarJeep.d.ts +2 -2
  370. package/lib/typescript/icons/vehicles/IconCarJeep.d.ts.map +1 -1
  371. package/lib/typescript/icons/vehicles/IconCarMiniTruck.d.ts +2 -2
  372. package/lib/typescript/icons/vehicles/IconCarMiniTruck.d.ts.map +1 -1
  373. package/lib/typescript/icons/vehicles/IconCarMinivan.d.ts +2 -2
  374. package/lib/typescript/icons/vehicles/IconCarMinivan.d.ts.map +1 -1
  375. package/lib/typescript/icons/vehicles/IconCarMuv.d.ts +2 -2
  376. package/lib/typescript/icons/vehicles/IconCarMuv.d.ts.map +1 -1
  377. package/lib/typescript/icons/vehicles/IconCarPickup.d.ts +2 -2
  378. package/lib/typescript/icons/vehicles/IconCarPickup.d.ts.map +1 -1
  379. package/lib/typescript/icons/vehicles/IconCarSportCar.d.ts +2 -2
  380. package/lib/typescript/icons/vehicles/IconCarSportCar.d.ts.map +1 -1
  381. package/lib/typescript/icons/vehicles/IconCarSuperCar.d.ts +2 -2
  382. package/lib/typescript/icons/vehicles/IconCarSuperCar.d.ts.map +1 -1
  383. package/lib/typescript/icons/vehicles/IconCarSuv.d.ts +2 -2
  384. package/lib/typescript/icons/vehicles/IconCarSuv.d.ts.map +1 -1
  385. package/lib/typescript/icons/vehicles/IconCarVan.d.ts +2 -2
  386. package/lib/typescript/icons/vehicles/IconCarVan.d.ts.map +1 -1
  387. package/lib/typescript/icons/vehicles/IconCarWagon.d.ts +2 -2
  388. package/lib/typescript/icons/vehicles/IconCarWagon.d.ts.map +1 -1
  389. package/lib/typescript/icons/vehicles/IconMinus.d.ts +3 -3
  390. package/lib/typescript/icons/vehicles/IconMinus.d.ts.map +1 -1
  391. package/lib/typescript/themes/border.d.ts +6 -0
  392. package/lib/typescript/themes/border.d.ts.map +1 -0
  393. package/lib/typescript/themes/index.d.ts +1 -0
  394. package/lib/typescript/themes/index.d.ts.map +1 -1
  395. package/package.json +2 -2
  396. package/src/components/BottomTabBar/BottomTabBar.component.tsx +169 -0
  397. package/src/components/BottomTabBar/BottomTabBar.style.tsx +59 -0
  398. package/src/components/BottomTabBar/BottomTabBar.type.tsx +59 -0
  399. package/src/components/Chips/Chips.component.tsx +58 -0
  400. package/src/components/Chips/Chips.style.tsx +77 -0
  401. package/src/components/Chips/Chips.type.ts +32 -0
  402. package/src/components/Loader/loader.component.tsx +125 -0
  403. package/src/components/Loader/loader.style.tsx +9 -0
  404. package/src/components/Loader/loader.type.ts +7 -0
  405. package/src/components/Notification/notification.component.tsx +53 -0
  406. package/src/components/Notification/notification.style.tsx +13 -0
  407. package/src/components/Notification/notification.type.ts +23 -0
  408. package/src/components/Snackbar/Snackbar.component.tsx +1 -1
  409. package/src/components/Snackbar/Snackbar.type.ts +13 -0
  410. package/src/components/TextInput/TextInput.component.tsx +9 -7
  411. package/src/components/TextInput/TextInput.type.ts +1 -7
  412. package/src/components/coachmark/coachmark.component.tsx +81 -9
  413. package/src/components/coachmark/coachmark.style.tsx +44 -45
  414. package/src/components/coachmark/coachmark.type.ts +89 -9
  415. package/src/components/index.ts +7 -2
  416. package/src/components/label/label.component.tsx +23 -5
  417. package/src/components/label/label.style.tsx +64 -3
  418. package/src/components/label/label.type.ts +15 -3
  419. package/src/components/search-input/search-input.component.tsx +10 -3
  420. package/src/components/search-input/search-input.type.ts +24 -1
  421. package/src/components/textlink/textlink.type.ts +9 -0
  422. package/src/components/typography/typography.component.tsx +1 -1
  423. package/src/icons/actions/IconThreeDot.tsx +28 -0
  424. package/src/icons/index.ts +5 -4
  425. package/src/icons/navs/IconNavAdiraku.tsx +53 -21
  426. package/src/icons/navs/IconNavDocument.tsx +30 -6
  427. package/src/icons/navs/IconNavHome.tsx +28 -5
  428. package/src/icons/navs/IconNavProfile.tsx +19 -4
  429. package/src/themes/border.ts +5 -0
  430. package/src/themes/index.ts +1 -0
@@ -0,0 +1,143 @@
1
+ import React, { useState } from 'react';
2
+ import { Animated, Easing, TouchableWithoutFeedback, View } from 'react-native';
3
+ import { getStyle } from './BottomTabBar.style';
4
+ import { Spacing } from '../../themes';
5
+ import { Typography } from '../typography/typography.component';
6
+ export function BottomTabBar(props) {
7
+ var _state$routes2, _state$routes3, _state$routes4;
8
+ const {
9
+ containerStyle,
10
+ state,
11
+ descriptors,
12
+ navigation,
13
+ insets
14
+ } = props;
15
+ const computedStyle = getStyle();
16
+ const [itemWidth, setContainerWidth] = useState(0);
17
+ const getContainerWidth = event => {
18
+ var _state$routes;
19
+ const {
20
+ width
21
+ } = event.nativeEvent.layout;
22
+ let calcWidth = width - 8;
23
+ calcWidth = Math.floor(calcWidth / (state === null || state === void 0 || (_state$routes = state.routes) === null || _state$routes === void 0 ? void 0 : _state$routes.length));
24
+ setContainerWidth(calcWidth);
25
+ };
26
+ const animation = React.useRef(new Animated.Value(0));
27
+ const translateX = animation.current.interpolate({
28
+ inputRange: [0, state === null || state === void 0 || (_state$routes2 = state.routes) === null || _state$routes2 === void 0 ? void 0 : _state$routes2.length],
29
+ outputRange: [4, itemWidth * (state === null || state === void 0 || (_state$routes3 = state.routes) === null || _state$routes3 === void 0 ? void 0 : _state$routes3.length) + 4]
30
+ });
31
+ const animate = toValue => Animated.timing(animation.current, {
32
+ useNativeDriver: true,
33
+ duration: 300,
34
+ easing: Easing.inOut(Easing.ease),
35
+ toValue
36
+ }).start();
37
+ React.useEffect(() => {
38
+ animate(state === null || state === void 0 ? void 0 : state.index);
39
+ }, [state === null || state === void 0 ? void 0 : state.index]);
40
+ return /*#__PURE__*/React.createElement(View, {
41
+ onLayout: getContainerWidth,
42
+ style: [computedStyle.container, {
43
+ paddingBottom: Spacing[4] + insets.bottom
44
+ }, containerStyle]
45
+ }, /*#__PURE__*/React.createElement(Animated.View, {
46
+ style: [computedStyle.indicator, {
47
+ width: itemWidth,
48
+ transform: [{
49
+ translateX
50
+ }]
51
+ }]
52
+ }), state === null || state === void 0 || (_state$routes4 = state.routes) === null || _state$routes4 === void 0 ? void 0 : _state$routes4.map((route, index) => /*#__PURE__*/React.createElement(TabBarItem, {
53
+ key: route === null || route === void 0 ? void 0 : route.key,
54
+ descriptors: descriptors,
55
+ route: route,
56
+ index: index,
57
+ state: state,
58
+ navigation: navigation
59
+ })));
60
+ }
61
+ function TabBarItem({
62
+ route,
63
+ state,
64
+ navigation,
65
+ index,
66
+ descriptors
67
+ }) {
68
+ var _descriptors$route$ke, _options$tabBarIcon, _options$tabBarIcon2, _options$tabBarLabel;
69
+ const options = descriptors === null || descriptors === void 0 || (_descriptors$route$ke = descriptors[route === null || route === void 0 ? void 0 : route.key]) === null || _descriptors$route$ke === void 0 ? void 0 : _descriptors$route$ke.options;
70
+ const computedStyle = getStyle();
71
+ const isFocused = (state === null || state === void 0 ? void 0 : state.index) === index;
72
+ const animation = React.useRef(new Animated.Value(0));
73
+ const opacity = animation.current.interpolate({
74
+ inputRange: [0, 1],
75
+ outputRange: [0, 1]
76
+ });
77
+ const opacityHide = animation.current.interpolate({
78
+ inputRange: [0, 1],
79
+ outputRange: [1, 0]
80
+ });
81
+ const animate = toValue => Animated.timing(animation.current, {
82
+ useNativeDriver: true,
83
+ duration: 300,
84
+ easing: Easing.inOut(Easing.ease),
85
+ toValue
86
+ }).start();
87
+ React.useEffect(() => {
88
+ if (isFocused) {
89
+ animate(1);
90
+ } else {
91
+ animate(0);
92
+ }
93
+ }, [isFocused]);
94
+ const onPress = () => {
95
+ const event = navigation.emit({
96
+ type: 'tabPress',
97
+ target: route.key,
98
+ canPreventDefault: true
99
+ });
100
+ if (!isFocused && !event.defaultPrevented) {
101
+ var _navigation$navigate;
102
+ navigation === null || navigation === void 0 || (_navigation$navigate = navigation.navigate) === null || _navigation$navigate === void 0 || _navigation$navigate.call(navigation, route.name, route.params);
103
+ }
104
+ };
105
+ const onLongPress = () => {
106
+ navigation.emit({
107
+ type: 'tabLongPress',
108
+ target: route.key
109
+ });
110
+ };
111
+ return /*#__PURE__*/React.createElement(TouchableWithoutFeedback, {
112
+ key: route === null || route === void 0 ? void 0 : route.key,
113
+ accessibilityRole: "button",
114
+ accessibilityState: isFocused ? {
115
+ selected: true
116
+ } : {},
117
+ accessibilityLabel: options === null || options === void 0 ? void 0 : options.tabBarAccessibilityLabel,
118
+ testID: options === null || options === void 0 ? void 0 : options.tabBarTestID,
119
+ onPress: onPress,
120
+ onLongPress: onLongPress
121
+ }, /*#__PURE__*/React.createElement(View, {
122
+ style: computedStyle.tabItemContainer
123
+ }, /*#__PURE__*/React.createElement(View, {
124
+ style: computedStyle.iconWrapper
125
+ }, /*#__PURE__*/React.createElement(Animated.View, {
126
+ style: [computedStyle.animatedIconWrapper, {
127
+ opacity
128
+ }]
129
+ }, options === null || options === void 0 || (_options$tabBarIcon = options.tabBarIcon) === null || _options$tabBarIcon === void 0 ? void 0 : _options$tabBarIcon.call(options, {
130
+ focused: true
131
+ })), /*#__PURE__*/React.createElement(Animated.View, {
132
+ style: [computedStyle.animatedIconWrapper, {
133
+ opacity: opacityHide
134
+ }]
135
+ }, options === null || options === void 0 || (_options$tabBarIcon2 = options.tabBarIcon) === null || _options$tabBarIcon2 === void 0 ? void 0 : _options$tabBarIcon2.call(options, {
136
+ focused: false
137
+ }))), /*#__PURE__*/React.createElement(Typography, {
138
+ variant: "text-overline-semibold"
139
+ }, options === null || options === void 0 || (_options$tabBarLabel = options.tabBarLabel) === null || _options$tabBarLabel === void 0 ? void 0 : _options$tabBarLabel.call(options, {
140
+ focused: isFocused
141
+ }))));
142
+ }
143
+ //# sourceMappingURL=BottomTabBar.component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","useState","Animated","Easing","TouchableWithoutFeedback","View","getStyle","Spacing","Typography","BottomTabBar","props","_state$routes2","_state$routes3","_state$routes4","containerStyle","state","descriptors","navigation","insets","computedStyle","itemWidth","setContainerWidth","getContainerWidth","event","_state$routes","width","nativeEvent","layout","calcWidth","Math","floor","routes","length","animation","useRef","Value","translateX","current","interpolate","inputRange","outputRange","animate","toValue","timing","useNativeDriver","duration","easing","inOut","ease","start","useEffect","index","createElement","onLayout","style","container","paddingBottom","bottom","indicator","transform","map","route","TabBarItem","key","_descriptors$route$ke","_options$tabBarIcon","_options$tabBarIcon2","_options$tabBarLabel","options","isFocused","opacity","opacityHide","onPress","emit","type","target","canPreventDefault","defaultPrevented","_navigation$navigate","navigate","call","name","params","onLongPress","accessibilityRole","accessibilityState","selected","accessibilityLabel","tabBarAccessibilityLabel","testID","tabBarTestID","tabItemContainer","iconWrapper","animatedIconWrapper","tabBarIcon","focused","variant","tabBarLabel"],"sourceRoot":"../../../../src","sources":["components/BottomTabBar/BottomTabBar.component.tsx"],"mappings":"AAAA,OAAOA,KAAK,IAAIC,QAAQ,QAAQ,OAAO;AACvC,SACEC,QAAQ,E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A,uBAApBA,oBAAA,CAAAa,IAAA,CAAAZ,OAAO,EAAgB;IAAE2B,OAAO,EAAE1B;EAAU,CAAC,CACpC,CACR,CACkB,CAAC;AAE/B","ignoreList":[]}
@@ -0,0 +1,44 @@
1
+ import { StyleSheet } from 'react-native';
2
+ import { Palettes, Radius, Spacing } from '../../themes';
3
+ export const getStyle = () => {
4
+ const computedStyle = {};
5
+ computedStyle.container = {
6
+ padding: Spacing[4],
7
+ flexDirection: 'row',
8
+ backgroundColor: Palettes.white[50]
9
+ };
10
+ computedStyle.tabItemContainer = {
11
+ flex: 1,
12
+ width: '100%',
13
+ alignItems: 'center',
14
+ justifyContent: 'space-between',
15
+ paddingBottom: 10,
16
+ paddingTop: 16
17
+ };
18
+ computedStyle.iconWrapper = {
19
+ height: 24,
20
+ width: 24,
21
+ marginBottom: Spacing[12],
22
+ justifyContent: 'center',
23
+ alignItems: 'center'
24
+ };
25
+ computedStyle.animatedIconWrapper = {
26
+ position: 'absolute',
27
+ width: '100%',
28
+ height: '100%',
29
+ alignItems: 'center',
30
+ justifyContent: 'center',
31
+ top: 0,
32
+ left: 0
33
+ };
34
+ computedStyle.indicator = {
35
+ position: 'absolute',
36
+ top: 4,
37
+ left: 0,
38
+ height: Spacing[4],
39
+ borderRadius: Radius[16],
40
+ backgroundColor: Palettes.yellow[600]
41
+ };
42
+ return StyleSheet.create(computedStyle);
43
+ };
44
+ //# sourceMappingURL=BottomTabBar.style.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["StyleSheet","Palettes","Radius","Spacing","getStyle","computedStyle","container","padding","flexDirection","backgroundColor","white","tabItemContainer","flex","width","alignItems","justifyContent","paddingBottom","paddingTop","iconWrapper","height","marginBottom","animatedIconWrapper","position","top","left","indicator","borderRadius","yellow","create"],"sourceRoot":"../../../../src","sources":["components/BottomTabBar/BottomTabBar.style.tsx"],"mappings":"AAAA,SAASA,UAAU,QAAmB,cAAc;AAEpD,SAASC,QAAQ,EAAEC,MAAM,EAAEC,O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};
2
+ //# sourceMappingURL=BottomTabBar.type.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["components/BottomTabBar/BottomTabBar.type.tsx"],"mappings":"","ignoreList":[]}
@@ -0,0 +1,45 @@
1
+ function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
2
+ import React from 'react';
3
+ import { TouchableHighlight, View } from 'react-native';
4
+ import { Typography } from '../typography/typography.component';
5
+ import { IconClose } from '../../icons';
6
+ import { Palettes } from '../../themes';
7
+ import { ChipsProps } from './Chips.type';
8
+ import { getStyle } from './Chips.style';
9
+ const Chips = ({
10
+ label,
11
+ variant = 'default',
12
+ leadingComponent,
13
+ onPress = () => {},
14
+ containerStyles,
15
+ textStyles,
16
+ ...rest
17
+ }) => {
18
+ const childrenColor = variant === 'disabled' ? Palettes.grey[400] : Palettes.black[900];
19
+ const computedStyle = getStyle({
20
+ variant,
21
+ label: ''
22
+ });
23
+ return /*#__PURE__*/React.createElement(TouchableHighlight, _extends({
24
+ style: [computedStyle.container, containerStyles],
25
+ onPress: onPress,
26
+ disabled: variant === 'disabled',
27
+ underlayColor: variant !== 'default' ? Palettes.white[50] : Palettes.yellow[50]
28
+ }, rest), /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(View, {
29
+ style: computedStyle.wrapLeftComponent
30
+ }, !!leadingComponent && /*#__PURE__*/React.createElement(View, {
31
+ style: computedStyle.marginRight
32
+ }, leadingComponent), /*#__PURE__*/React.createElement(Typography, {
33
+ variant: "text-caption-semibold",
34
+ fontColor: childrenColor,
35
+ textStyles: textStyles
36
+ }, label)), /*#__PURE__*/React.createElement(View, {
37
+ style: computedStyle.marginLeft
38
+ }, /*#__PURE__*/React.createElement(IconClose, {
39
+ width: 18,
40
+ height: 18,
41
+ fill: childrenColor
42
+ }))));
43
+ };
44
+ export { Chips, ChipsProps };
45
+ //# sourceMappingURL=Chips.component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","TouchableHighlight","View","Typography","IconClose","Palettes","ChipsProps","getStyle","Chips","label","variant","leadingComponent","onPress","containerStyles","textStyles","rest","childrenColor","grey","black","computedStyle","createElement","_extends","style","container","disabled","underlayColor","white","yellow","Fragment","wrapLeftComponent","marginRight","fontColor","marginLeft","width","height","fill"],"sourceRoot":"../../../../src","sources":["components/Chips/Chips.component.tsx"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,kBAAkB,EAAEC,IAAI,QAAQ,cAAc;AAEvD,SAASC,UAAU,QAAQ,oCAAoC;AAC/D,SAASC,SAAS,QAAQ,aAAa;AACvC,SAASC,QAAQ,QAAQ,cAAc;AAEvC,SAASC,UAAU,QAAQ,cAAc;AACzC,SAASC,QAAQ,QAAQ,eAAe;AAExC,MAAMC,KAAK,GAAGA,CAAC;EACbC,KAAK;EACLC,OAAO,GAAG,SAAS;EACnBC,gBAAgB;EAChBC,OAAO,GAAGA,CAAA,KAAM,CAAC,CAAC;EAClBC,eAAe;EACfC,UAAU;EACV,GAAGC;AACO,CAAC,KAAK;EAChB,MAAMC,aAAa,GACjBN,OAAO,KAAK,UAAU,GAAGL,QAAQ,CAACY,IAAI,CAAC,GAAG,CAAC,GAAGZ,QAAQ,CAACa,KAAK,CAAC,GAAG,CAAC;EAEnE,MAAMC,aAAa,GAAGZ,QAAQ,CAAC;IAC7BG,OAAO;IACPD,KAAK,EAAE;EACT,CAAC,CAAC;EACF,oBACET,KAAA,CAAAoB,aAAA,CAACnB,kBAAkB,EAAAoB,QAAA;IACjBC,KAAK,EAAE,CAACH,aAAa,CAACI,SAAS,EAAEV,eAAe,CAAE;IAClDD,OAAO,EAAEA,OAAQ;IACjBY,QAAQ,EAAEd,OAAO,KAAK,UAAW;IACjCe,aAAa,EACXf,OAAO,KAAK,SAAS,GAAGL,QAAQ,CAACqB,KAAK,CAAC,EAAE,CAAC,GAAGrB,QAAQ,CAACsB,MAAM,CAAC,EAAE;EAChE,GACGZ,IAAI,gBAERf,KAAA,CAAAoB,aAAA,CAAApB,KAAA,CAAA4B,QAAA,qBACE5B,KAAA,CAAAoB,aAAA,CAAClB,IAAI;IAACoB,KAAK,EAAEH,aAAa,CAACU;EAAkB,GAC1C,CAAC,CAAClB,gBAAgB,iBACjBX,KAAA,CAAAoB,aAAA,CAAClB,IAAI;IAACoB,KAAK,EAAEH,aAAa,CAACW;EAAY,GAAEnB,gBAAuB,CACjE,eACDX,KAAA,CAAAoB,aAAA,CAACjB,UAAU;IACTO,OAAO,EAAC,uBAAuB;IAC/BqB,SAAS,EAAEf,aAAc;IACzBF,UAAU,EAAEA;EAAW,GAEtBL,KACS,CACR,CAAC,eACPT,KAAA,CAAAoB,aAAA,CAAClB,IAAI;IAACoB,KAAK,EAAEH,aAAa,CAACa;EAAW,gBACpChC,KAAA,CAAAoB,aAAA,CAAChB,SAAS;IAAC6B,KAAK,EAAE,EAAG;IAACC,MAAM,EAAE,EAAG;IAACC,IAAI,EAAEnB;EAAc,CAAE,CACpD,CACN,CACgB,CAAC;AAEzB,CAAC;AAED,SAASR,KAAK,EAAEF,UAAU","ignoreList":[]}
@@ -0,0 +1,60 @@
1
+ import { StyleSheet } from 'react-native';
2
+ import { Palettes, Radius, Spacing } from '../../themes';
3
+ export const getStyle = props => {
4
+ const {
5
+ variant
6
+ } = props;
7
+ const computedStyle = {};
8
+ computedStyle.container = {
9
+ display: 'flex',
10
+ flexDirection: 'row',
11
+ alignItems: 'center',
12
+ justifyContent: 'space-between',
13
+ paddingHorizontal: Spacing[16],
14
+ paddingVertical: Spacing[8],
15
+ borderWidth: Radius.border,
16
+ borderRadius: Radius[24]
17
+ };
18
+ if (variant === 'default') {
19
+ computedStyle.container = {
20
+ ...computedStyle.container,
21
+ borderColor: Palettes.grey[100],
22
+ backgroundColor: Palettes.white[50]
23
+ };
24
+ }
25
+ if (variant === 'selected-outline') {
26
+ computedStyle.container = {
27
+ ...computedStyle.container,
28
+ borderColor: Palettes.yellow[600],
29
+ backgroundColor: Palettes.yellow[100]
30
+ };
31
+ }
32
+ if (variant === 'selected') {
33
+ computedStyle.container = {
34
+ ...computedStyle.container,
35
+ borderColor: Palettes.yellow[100],
36
+ backgroundColor: Palettes.yellow[100]
37
+ };
38
+ }
39
+ if (variant === 'disabled') {
40
+ computedStyle.container = {
41
+ ...computedStyle.container,
42
+ borderColor: Palettes.grey[100],
43
+ backgroundColor: Palettes.grey[50]
44
+ };
45
+ }
46
+ computedStyle.wrapLeftComponent = {
47
+ display: 'flex',
48
+ flexDirection: 'row',
49
+ alignItems: 'center',
50
+ justifyContent: 'flex-start'
51
+ };
52
+ computedStyle.marginLeft = {
53
+ marginLeft: Spacing[8]
54
+ };
55
+ computedStyle.marginRight = {
56
+ marginRight: Spacing[8]
57
+ };
58
+ return StyleSheet.create(computedStyle);
59
+ };
60
+ //# sourceMappingURL=Chips.style.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["StyleSheet","Palettes","Radius","Spacing","getStyle","props","variant","computedStyle","container","display","flexDirection","alignItems","justifyContent","paddingHorizontal","paddingVertical","borderWidth","border","borderRadius","borderColor","grey","backgroundColor","white","yellow","wrapLeftComponent","marginLeft","marginRight","create"],"sourceRoot":"../../../../src","sources":["components/Chips/Chips.style.tsx"],"mappings":"AACA,SAASA,UAAU,QAAQ,cAAc;AAIzC,SAASC,QAAQ,EAAEC,MAAM,EAAEC,OAAO,QAAQ,cAAc;AASxD,OAAO,MAAMC,QAAQ,GAAIC,KAAiB,IAAK;EAC7C,MAAM;IAAEC;EAAQ,CAAC,GAAGD,KAAK;EAEzB,MAAME,aAAiC,GAAG,CAAC,CAAC;EAE5CA,aAAa,CAACC,SAAS,GAAG;IACxBC,OAAO,EAAE,MAAM;IACfC,aAAa,EAAE,KAAK;IACpBC,UAAU,EAAE,QAAQ;IACpBC,cAAc,EA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E,QAAQ;IACpBC,cAAc,EAAE;EAClB,CAAC;EAEDL,aAAa,CAACiB,UAAU,GAAG;IACzBA,UAAU,EAAErB,OAAO,CAAC,CAAC;EACvB,CAAC;EACDI,aAAa,CAACkB,WAAW,GAAG;IAC1BA,WAAW,EAAEtB,OAAO,CAAC,CAAC;EACxB,CAAC;EAED,OAAOH,UAAU,CAAC0B,MAAM,CAACnB,aAAa,CAAC;AACzC,CAAC","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=Chips.type.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["components/Chips/Chips.type.ts"],"mappings":"","ignoreList":[]}
@@ -0,0 +1,104 @@
1
+ import * as React from 'react';
2
+ import { Animated, View } from 'react-native';
3
+ const Loader = props => {
4
+ const {
5
+ speed = 200
6
+ } = props;
7
+ const [valueDeg, setValueDeg] = React.useState(0);
8
+ const timeoutValDeg = () => {
9
+ setTimeout(function () {
10
+ if (valueDeg >= 360) {
11
+ setValueDeg(22.5);
12
+ } else {
13
+ let val = valueDeg + 22.5;
14
+ setValueDeg(val);
15
+ }
16
+ }, speed);
17
+ };
18
+ React.useEffect(() => {
19
+ timeoutValDeg();
20
+ }, []);
21
+ React.useEffect(() => {
22
+ timeoutValDeg();
23
+ }, [valueDeg]);
24
+ const svgLoader = () => {
25
+ return /*#__PURE__*/React.createElement("svg", {
26
+ width: "48",
27
+ height: "48",
28
+ viewBox: "0 0 48 48",
29
+ fill: "none",
30
+ xmlns: "http://www.w3.org/2000/svg"
31
+ }, /*#__PURE__*/React.createElement("g", {
32
+ "clip-path": "url(#clip0_906_38666)"
33
+ }, /*#__PURE__*/React.createElement("path", {
34
+ d: "M25.7693 1.76721C25.7693 0.791206 24.9781 0 24.0021 0C23.0261 0 22.2349 0.791206 22.2349 1.76721V7.08347C22.2349 8.05947 23.0261 8.85067 24.0021 8.85067C24.9781 8.85067 25.7693 8.05947 25.7693 7.08347V1.76721Z",
35
+ fill: "#010101"
36
+ }), /*#__PURE__*/React.createElement("path", {
37
+ d: "M18.2025 10.0032C19.1025 9.63003 19.5306 8.59458 19.1574 7.69451L17.1231 2.78072C16.7499 1.88065 15.7145 1.45257 14.8144 1.82577C13.9143 2.19897 13.4863 3.23442 13.8595 4.13448L15.8938 9.04827C16.267 9.94834 17.3024 10.3764 18.2025 10.0032Z",
38
+ fill: "#111111"
39
+ }), /*#__PURE__*/React.createElement("path", {
40
+ d: "M13.2886 13.2886C13.9802 12.5971 13.9802 11.4812 13.2886 10.7897L9.52737 7.0284C8.83586 6.33689 7.71992 6.33689 7.0284 7.0284C6.33689 7.71992 6.33689 8.83586 7.0284 9.52737L10.7897 13.2886C11.4812 13.9802 12.5971 13.9802 13.2886 13.2886Z",
41
+ fill: "#212121"
42
+ }), /*#__PURE__*/React.createElement("path", {
43
+ d: "M10.0032 18.2025C10.3764 17.3024 9.94834 16.267 9.04827 15.8938L4.13448 13.8595C3.23442 13.4863 2.19897 13.9143 1.82577 14.8144C1.45257 15.7145 1.88065 16.7499 2.78072 17.1231L7.69451 19.1574C8.59458 19.5306 9.63003 19.1025 10.0032 18.2025Z",
44
+ fill: "#333333"
45
+ }), /*#__PURE__*/React.createElement("path", {
46
+ d: "M8.85067 24.0021C8.85067 23.0252 8.06037 22.2349 7.08347 22.2349H1.76721C0.790304 22.2349 0 23.0252 0 24.0021C0 24.979 0.790304 25.7693 1.76721 25.7693H7.08347C8.06037 25.7693 8.85067 24.979 8.85067 24.0021Z",
47
+ fill: "#434343"
48
+ }), /*#__PURE__*/React.createElement("path", {
49
+ d: "M10.0032 29.7973C9.63003 28.8973 8.59458 28.4692 7.69451 28.8424L2.78072 30.8767C1.88065 31.2499 1.45257 32.2853 1.82577 33.1854C2.19897 34.0855 3.23442 34.5135 4.13448 34.1403L9.04827 32.106C9.94834 31.7328 10.3764 30.6974 10.0032 29.7973Z",
50
+ fill: "#545454"
51
+ }), /*#__PURE__*/React.createElement("path", {
52
+ d: "M13.2886 34.711C12.5971 34.0195 11.4812 34.0195 10.7897 34.711L7.0284 38.4723C6.33689 39.1638 6.33689 40.2797 7.0284 40.9713C7.71992 41.6628 8.83586 41.6628 9.52737 40.9713L13.2886 37.21C13.9802 36.5185 13.9802 35.4025 13.2886 34.711Z",
53
+ fill: "#636363"
54
+ }), /*#__PURE__*/React.createElement("path", {
55
+ d: "M18.2025 37.9967C17.3024 37.6235 16.267 38.0516 15.8938 38.9516L13.8595 43.8654C13.4863 44.7655 13.9143 45.8009 14.8144 46.1741C15.7145 46.5473 16.7499 46.1192 17.1231 45.2192L19.1574 40.3054C19.5306 39.4053 19.1025 38.3699 18.2025 37.9967Z",
56
+ fill: "#757575"
57
+ }), /*#__PURE__*/React.createElement("path", {
58
+ d: "M22.2307 46.2328C22.2307 47.2088 23.0219 48 23.9979 48C24.9739 48 25.7651 47.2088 25.7651 46.2328V40.9165C25.7651 39.9405 24.9739 39.1493 23.9979 39.1493C23.0219 39.1493 22.2307 39.9405 22.2307 40.9165V46.2328Z",
59
+ fill: "#838383"
60
+ }), /*#__PURE__*/React.createElement("path", {
61
+ d: "M29.7973 37.9967C28.8973 38.3699 28.4692 39.4053 28.8424 40.3054L30.8767 45.2192C31.2499 46.1192 32.2853 46.5473 33.1854 46.1741C34.0855 45.8009 34.5135 44.7655 34.1403 43.8654L32.106 38.9516C31.7328 38.0516 30.6974 37.6235 29.7973 37.9967Z",
62
+ fill: "#949494"
63
+ }), /*#__PURE__*/React.createElement("path", {
64
+ d: "M34.711 34.711C34.0195 35.4025 34.0195 36.5185 34.711 37.21L38.4723 40.9713C39.1638 41.6628 40.2797 41.6628 40.9713 40.9713C41.6628 40.2797 41.6628 39.1638 40.9713 38.4723L37.21 34.711C36.5185 34.0195 35.4025 34.0195 34.711 34.711Z",
65
+ fill: "#A2A2A2"
66
+ }), /*#__PURE__*/React.createElement("path", {
67
+ d: "M37.9967 29.7973C37.6235 30.6974 38.0516 31.7328 38.9516 32.106L43.8654 34.1403C44.7655 34.5135 45.8009 34.0855 46.1741 33.1854C46.5473 32.2853 46.1192 31.2499 45.2192 30.8767L40.3054 28.8424C39.4053 28.4692 38.3699 28.8973 37.9967 29.7973Z",
68
+ fill: "#B2B2B2"
69
+ }), /*#__PURE__*/React.createElement("path", {
70
+ d: "M39.1494 24.0021C39.1494 24.979 39.9397 25.7693 40.9166 25.7693H46.2329C47.2098 25.7693 48.0001 24.979 48.0001 24.0021C48.0001 23.0252 47.2098 22.2349 46.2329 22.2349H40.9166C39.9397 22.2349 39.1494 23.0252 39.1494 24.0021Z",
71
+ fill: "#C1C1C1"
72
+ }), /*#__PURE__*/React.createElement("path", {
73
+ d: "M37.9967 18.2025C38.3699 19.1025 39.4053 19.5306 40.3054 19.1574L45.2192 17.1231C46.1192 16.7499 46.5473 15.7145 46.1741 14.8144C45.8009 13.9143 44.7655 13.4863 43.8654 13.8595L38.9516 15.8938C38.0516 16.267 37.6235 17.3024 37.9967 18.2025Z",
74
+ fill: "#D4D4D4"
75
+ }), /*#__PURE__*/React.createElement("path", {
76
+ d: "M34.711 13.2886C35.4025 13.9802 36.5185 13.9802 37.21 13.2886L40.9713 9.52737C41.6628 8.83586 41.6628 7.71992 40.9713 7.0284C40.2797 6.33689 39.1638 6.33689 38.4723 7.0284L34.711 10.7897C34.0195 11.4812 34.0195 12.5971 34.711 13.2886Z",
77
+ fill: "#E3E3E3"
78
+ }), /*#__PURE__*/React.createElement("path", {
79
+ d: "M29.7973 10.0032C30.6974 10.3764 31.7328 9.94834 32.106 9.04827L34.1403 4.13448C34.5135 3.23442 34.0855 2.19897 33.1854 1.82577C32.2853 1.45257 31.2499 1.88065 30.8767 2.78072L28.8424 7.69451C28.4692 8.59458 28.8973 9.63003 29.7973 10.0032Z",
80
+ fill: "#F6F6F6"
81
+ })), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
82
+ id: "clip0_906_38666"
83
+ }, /*#__PURE__*/React.createElement("rect", {
84
+ width: "48",
85
+ height: "48",
86
+ fill: "white"
87
+ }))));
88
+ };
89
+ return /*#__PURE__*/React.createElement(Animated.View, {
90
+ style: {
91
+ transform: [{
92
+ rotate: valueDeg + 'deg'
93
+ }]
94
+ }
95
+ }, /*#__PURE__*/React.createElement(View, {
96
+ style: [{
97
+ flex: 1,
98
+ justifyContent: 'center',
99
+ alignItems: 'center'
100
+ }]
101
+ }, svgLoader()));
102
+ };
103
+ export { Loader };
104
+ //# sourceMappingURL=loader.component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","Animated","View","Loader","props","speed","valueDeg","setValueDeg","useState","timeoutValDeg","setTimeout","val","useEffect","svgLoader","createElement","width","height","viewBox","fill","xmlns","d","id","style","transform","rotate","flex","justifyContent","alignItems"],"sourceRoot":"../../../../src","sources":["components/Loader/loader.component.tsx"],"mappings":"AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,SAASC,QAAQ,EAAEC,IAAI,QAAQ,cAAc;AAI7C,MAAMC,MAAM,GAAIC,KAAkB,IAAK;EACrC,MAAM;IAAEC,KAAK,GAAG;EAAI,CAAC,GAAGD,KAAK;EAE7B,MAAM,CAACE,QAAQ,EAAEC,WAAW,CAAC,GAAGP,KAAK,CAACQ,QAAQ,CAAC,CAAC,CAAC;EAEjD,MAAMC,aAAa,GAAGA,CAAA,KAAM;IAC1BC,UAAU,CAAC,YAAY;MACrB,IAAIJ,QAAQ,IAAI,GAAG,EAAE;QACnBC,WAAW,CAAC,IAAI,CAAC;MACnB,CAAC,MAAM;QACL,IAAII,GAAG,GAAGL,QAAQ,GAAG,IAAI;QACzBC,WAAW,CAACI,GAAG,CAAC;MAClB;IACF,CAAC,EAAEN,KAAK,CAAC;EACX,CAAC;EAEDL,KAAK,CAACY,SAAS,CAAC,MAAM;IACpBH,aAAa,CAAC,CAAC;EACjB,CAAC,EAAE,EAAE,CAAC;EAENT,KAAK,CAACY,SAAS,CAAC,MAAM;IACpBH,aAAa,CAAC,CAAC;EACjB,CAAC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I,EAAC;IAAS,CACf,CAAC,eACFlB,KAAA,CAAAc,aAAA;MACEM,CAAC,EAAC,kPAAkP;MACpPF,IAAI,EAAC;IAAS,CACf,CAAC,eACFlB,KAAA,CAAAc,aAAA;MACEM,CAAC,EAAC,iOAAiO;MACnOF,IAAI,EAAC;IAAS,CACf,CAAC,eACFlB,KAAA,CAAAc,aAAA;MACEM,CAAC,EAAC,kPAAkP;MACpPF,IAAI,EAAC;IAAS,CACf,CAAC,eACFlB,KAAA,CAAAc,aAAA;MACEM,CAAC,EAAC,4OAA4O;MAC9OF,IAAI,EAAC;IAAS,CACf,CAAC,eACFlB,KAAA,CAAAc,aAAA;MACEM,CAAC,EAAC,kPAAkP;MACpPF,IAAI,EAAC;IAAS,CACf,CACA,CAAC,eACJlB,KAAA,CAAAc,aAAA,4BACEd,KAAA,CAAAc,aAAA;MAAUO,EAAE,EAAC;IAAiB,gBAC5BrB,KAAA,CAAAc,aAAA;MAAMC,KAAK,EAAC,IAAI;MAACC,MAAM,EAAC,IAAI;MAACE,IAAI,EAAC;IAAO,CAAE,CACnC,CACN,CACH,CAAC;EAEV,CAAC;EAED,oBACElB,KAAA,CAAAc,aAAA,CAACb,QAAQ,CAACC,IAAI;IAACoB,KAAK,EAAE;MAAEC,SAAS,EAAE,CAAC;QAAEC,MAAM,EAAElB,QAAQ,GAAG;MAAM,CAAC;IAAE;EAAE,gBAClEN,KAAA,CAAAc,aAAA,CAACZ,IAAI;IACHoB,KAAK,EAAE,CAAC;MAAEG,IAAI,EAAE,CAAC;MAAEC,cAAc,EAAE,QAAQ;MAAEC,UAAU,EAAE;IAAS,CAAC;EAAE,GAEpEd,SAAS,CAAC,CACP,CACO,CAAC;AAEpB,CAAC;AAED,SAASV,MAAM","ignoreList":[]}
@@ -0,0 +1,6 @@
1
+ import { StyleSheet } from 'react-native';
2
+ export const getStyle = () => {
3
+ const computedStyle = {};
4
+ return StyleSheet.create(computedStyle);
5
+ };
6
+ //# sourceMappingURL=loader.style.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["StyleSheet","getStyle","computedStyle","create"],"sourceRoot":"../../../../src","sources":["components/Loader/loader.style.tsx"],"mappings":"AAAA,SAASA,UAAU,QAAQ,cAAc;AAIzC,OAAO,MAAMC,QAAQ,GAAGA,CAAA,KAAM;EAC5B,MAAMC,aAAiC,GAAG,CAAC,CAAC;EAE5C,OAAOF,UAAU,CAACG,MAAM,CAACD,aAAa,CAAC;AACzC,CAAC","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+
2
+ //# sourceMappingURL=loader.type.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["components/Loader/loader.type.ts"],"mappings":"","ignoreList":[]}
@@ -0,0 +1,41 @@
1
+ import * as React from 'react';
2
+ import { View } from 'react-native';
3
+ import { Palettes, Radius, Spacing } from '../../themes';
4
+ import { Typography } from '../typography/typography.component';
5
+ const Notification = props => {
6
+ const {
7
+ amount = 0,
8
+ disabled = false,
9
+ containerStyle
10
+ } = props;
11
+ const labelChecking = amount => {
12
+ if (!amount || isNaN(amount)) {
13
+ return '';
14
+ } else {
15
+ if (amount > 99) {
16
+ return '99+';
17
+ } else {
18
+ return amount;
19
+ }
20
+ }
21
+ };
22
+ return /*#__PURE__*/React.createElement(React.Fragment, null, disabled ? null : /*#__PURE__*/React.createElement(View, {
23
+ style: [containerStyle, {
24
+ padding: !labelChecking(amount) ? Spacing[4] : Spacing[8],
25
+ width: !labelChecking(amount) ? 0 : 18,
26
+ height: !labelChecking(amount) ? 0 : 18,
27
+ justifyContent: 'center',
28
+ alignItems: 'center',
29
+ backgroundColor: Palettes.red[600],
30
+ borderRadius: Radius.full
31
+ }]
32
+ }, /*#__PURE__*/React.createElement(Typography, {
33
+ style: {
34
+ fontSize: 8,
35
+ color: Palettes.white[100]
36
+ },
37
+ variant: 'text-caption-semibold'
38
+ }, labelChecking(amount))));
39
+ };
40
+ export { Notification };
41
+ //# sourceMappingURL=notification.component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","View","Palettes","Radius","Spacing","Typography","Notification","props","amount","disabled","containerStyle","labelChecking","isNaN","createElement","Fragment","style","padding","width","height","justifyContent","alignItems","backgroundColor","red","borderRadius","full","fontSize","color","white","variant"],"sourceRoot":"../../../../src","sources":["components/Notification/notification.component.tsx"],"mappings":"AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,SAASC,IAAI,QAAQ,cAAc;AAInC,SAASC,QAAQ,EAAEC,MAAM,EAAEC,OAAO,QAAQ,cAAc;AACxD,SAASC,UAAU,QAAQ,oCAAoC;AAE/D,MAAMC,YAAY,GAAIC,KAAwB,IAAK;EACjD,MAAM;IAAEC,MAAM,GAAG,CAAC;IAAEC,QAAQ,GAAG,KAAK;IAAEC;EAAe,CAAC,GAAGH,KAAK;EAE9D,MAAMI,aAAa,GAAIH,MAAW,IAAK;IACrC,IAAI,CAACA,MAAM,IAAII,KAAK,CAACJ,MAAM,CAAC,EAAE;MAC5B,OAAO,EAAE;IACX,CAAC,MAAM;MACL,IAAIA,MAAM,GAAG,EAAE,EAAE;QACf,OAAO,KAAK;MACd,CAAC,MAAM;QACL,OAAOA,MAAM;MACf;IACF;EACF,CAAC;EAED,oBACER,KAAA,CAAAa,aAAA,CAAAb,KAAA,CAAAc,QAAA,QACGL,QAAQ,GAAG,IAAI,gBACdT,KAAA,CAAAa,aAAA,CAACZ,IAAI;IACHc,KAAK,EAAE,CACLL,cAAc,EACd;MACEM,OAAO,EAAE,CAACL,aAAa,CAACH,MAAM,CAAC,GAAGJ,OAAO,CAAC,CAAC,CAAC,GAAGA,OAAO,CAAC,CAAC,CAAC;MACzDa,KAAK,EAAE,CAACN,aAAa,CAACH,MAAM,CAAC,GAAG,CAAC,GAAG,EAAE;MACtCU,MAAM,EAAE,CAACP,aAAa,CAACH,MAAM,CAAC,GAAG,CAAC,GAAG,EAAE;MACvCW,cAAc,EAAE,QAAQ;MACxBC,UAAU,EAAE,QAAQ;MACpBC,eAAe,EAAEnB,QAAQ,CAACoB,GAAG,CAAC,GAAG,CAAC;MAClCC,YAAY,EAAEpB,MAAM,CAACqB;IACvB,CAAC;EACD,gBAEFxB,KAAA,CAAAa,aAAA,CAACR,UAAU;IACTU,KAAK,EAAE;MAAEU,QAAQ,EAAE,CAAC;MAAEC,KAAK,EAAExB,QAAQ,CAACyB,KAAK,CAAC,GAAG;IAAE,CAAE;IACnDC,OAAO,EAAE;EAAwB,GAEhCjB,aAAa,CAACH,MAAM,CACX,CACR,CAER,CAAC;AAEP,CAAC;AAED,SAASF,YAAY","ignoreList":[]}
@@ -0,0 +1,7 @@
1
+ import { StyleSheet } from 'react-native';
2
+ export const getStyle = props => {
3
+ const {} = props;
4
+ const computedStyle = {};
5
+ return StyleSheet.create(computedStyle);
6
+ };
7
+ //# sourceMappingURL=notification.style.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["StyleSheet","getStyle","props","computedStyle","create"],"sourceRoot":"../../../../src","sources":["components/Notification/notification.style.tsx"],"mappings":"AAAA,SAASA,UAAU,QAAQ,cAAc;AAOzC,OAAO,MAAMC,QAAQ,GAAIC,KAAwB,IAAK;EACpD,MAAM,CAAE,CAAC,GAAGA,KAAK;EACjB,MAAMC,aAAiC,GAAG,CAAC,CAAC;EAE5C,OAAOH,UAAU,CAACI,MAAM,CAACD,aAAa,CAAC;AACzC,CAAC","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=notification.type.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["components/Notification/notification.type.ts"],"mappings":"","ignoreList":[]}
@@ -64,5 +64,5 @@ const Snackbar = {
64
64
  RNToast.hide(params);
65
65
  }
66
66
  };
67
- export { Snackbar, SnackbarComponent };
67
+ export { Snackbar, SnackbarComponent, SnackbarUI };
68
68
  //# sourceMappingURL=Snackbar.component.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["React","View","RNToast","Typography","getStyle","SnackbarUI","props","message","action","containerStyle","computedStyle","createElement","style","container","variant","numberOfLines","actionWrapper","SnackbarComponent","_extends","config","aleph_toast","toastProps","snackbarWrapper","type","position","Snackbar","show","params","hide"],"sourceRoot":"../../../../src","sources":["components/Snackbar/Snackbar.component.tsx"],"mappings":";AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,SAASC,IAAI,QAAQ,cAAc;AACnC,OAAOC,OAAO,MAIP,4BAA4B;AAEnC,SAASC,UAAU,QAAQ,oCAAoC;AAC/D,SAASC,QAAQ,QAAQ,iBAAiB;AAI1C,MAAMC,UAAkD,GAAIC,KAAK,IAAK;EACpE,MAAM;IAAEC,OAAO,GAAG,EAAE;IAAEC,MAAM,GAAG,IAAI;IAAEC;EAAe,CAAC,GAAGH,KAAK;EAE7D,MAAMI,aAAa,GAAGN,QAAQ,CAAC,CAAC;EAEhC,oBACEJ,KAAA,CAAAW,aAAA,CAACV,IAAI;IAACW,KAAK,EAAE,CAACF,aAAa,CAACG,SAAS,EAAEJ,cAAc;EAAE,gBACrDT,KAAA,CAAAW,aAAA,CAACR,UAAU;IACTW,OAAO,EAAC,SAAS;IACjBC,aAAa,EAAE,CAAE;IACjBH,KAAK,EAAE,CAACF,aAAa,CAACH,OAAO;EAAE,GAE9BA,OACS,CAAC,EACZC,MAAM,iBAAIR,KAAA,CAAAW,aAAA,CAACV,IAAI;IAACW,KAAK,EAAE,CAACF,aAAa,CAACM,aAAa;EAAE,GAAER,MAAa,CACjE,CAAC;AAEX,CAAC;AAED,SAASS,iBAAiBA,CAACX,KAAiB,EAAE;EAC5C,MAAMI,aAAa,GAAGN,QAAQ,CAAC,CAAC;EAEhC,oBACEJ,KAAA,CAAAW,aAAA,CAACT,OAAO,EAAAgB,QAAA,KACFZ,KAAK;IACTa,MAAM,EAAE;MACN,GAAGb,KAAK,CAACa,MAAM;MACf;MACAC,WAAW,EAAEA,CAAC;QAAEd,KAAK,EAAEe;MAAqC,CAAC,KAAK;QAChE,MAAM;UAAEd,OAAO;UAAEC;QAAO,CAAC,GAAGa,UAAU;QAEtC,oBACErB,KAAA,CAAAW,aAAA,CAACV,IAAI;UAACW,KAAK,EAAE,CAACF,aAAa,CAACY,eAAe;QAAE,gBAC3CtB,KAAA,CAAAW,aAAA,CAACN,UAAU;UAACE,OAAO,EAAEA,OAAQ;UAACC,MAAM,EAAEA;QAAO,CAAE,CAC3C,CAAC;MAEX;IACF,CAAE;IACFe,IAAI,EAAC,aAAa;IAClBC,QAAQ,EAAC;EAAQ,EAClB,CAAC;AAEN;AAEA,MAAMC,QAAQ,GAAG;EACfC,IAAI,EACFC,MAGC,IACE;IACH,MAAM;MAAEpB,OAAO,GAAG,EAAE;MAAEC;IAAO,CAAC,GAAGmB,MAAM;IACvCzB,OAAO,CAACwB,IAAI,CAAC;MACX,GAAGC,MAAM;MACTrB,KAAK,EAAE;QACLC,OAAO;QACPC;MACF;IACF,CAAC,CAAC;EACJ,CAAC;EACDoB,IAAI,EAAGD,MAAuB,IAAK;IACjCzB,OAAO,CAAC0B,IAAI,CAACD,MAAM,CAAC;EACtB;AACF,CAAC;AAED,SAASF,QAAQ,EAAER,iBAAiB","ignoreList":[]}
1
+ {"version":3,"names":["React","View","RNToast","Typography","getStyle","SnackbarUI","props","message","action","containerStyle","computedStyle","createElement","style","container","variant","numberOfLines","actionWrapper","SnackbarComponent","_extends","config","aleph_toast","toastProps","snackbarWrapper","type","position","Snackbar","show","params","hide"],"sourceRoot":"../../../../src","sources":["components/Snackbar/Snackbar.component.tsx"],"mappings":";AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,SAASC,IAAI,QAAQ,cAAc;AACnC,OAAOC,OAAO,MAIP,4BAA4B;AAEnC,SAASC,UAAU,QAAQ,oCAAoC;AAC/D,SAASC,QAAQ,QAAQ,iBAAiB;AAI1C,MAAMC,UAAkD,GAAIC,KAAK,IAAK;EACpE,MAAM;IAAEC,OAAO,GAAG,EAAE;IAAEC,MAAM,GAAG,IAAI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B,MAAM;IACvCzB,OAAO,CAACwB,IAAI,CAAC;MACX,GAAGC,MAAM;MACTrB,KAAK,EAAE;QACLC,OAAO;QACPC;MACF;IACF,CAAC,CAAC;EACJ,CAAC;EACDoB,IAAI,EAAGD,MAAuB,IAAK;IACjCzB,OAAO,CAAC0B,IAAI,CAACD,MAAM,CAAC;EACtB;AACF,CAAC;AAED,SAASF,QAAQ,EAAER,iBAAiB,EAAEZ,UAAU","ignoreList":[]}
@@ -25,7 +25,6 @@ const TextInput = props => {
25
25
  calendarProps,
26
26
  onChangeText,
27
27
  onChangeDate,
28
- dateValueFormatOptions,
29
28
  ...rest
30
29
  } = props;
31
30
  const [labelWidth, setLabelWidth] = React.useState(0);
@@ -74,9 +73,10 @@ const TextInput = props => {
74
73
  };
75
74
  const computedValue = React.useMemo(() => {
76
75
  if (inputType === 'date' && typeof value === 'object') {
77
- const options = dateValueFormatOptions || {
78
- day: 'numeric',
79
- month: 'long',
76
+ const options = {
77
+ weekday: 'long',
78
+ day: '2-digit',
79
+ month: 'short',
80
80
  year: 'numeric'
81
81
  };
82
82
  const formattedDate = new Intl.DateTimeFormat('id-ID', options).format(value);
@@ -98,9 +98,11 @@ const TextInput = props => {
98
98
  if (typeof masked === 'string') {
99
99
  // parse it into date object
100
100
  const maskedDateObj = new Date(masked);
101
- if (masked) onChangeDate === null || onChangeDate === void 0 || onChangeDate(maskedDateObj);
102
- } else if (typeof masked === 'object' && masked instanceof Date) {
103
- onChangeDate === null || onChangeDate === void 0 || onChangeDate(masked);
101
+ if (!isNaN(maskedDateObj.getTime())) {
102
+ onChangeDate === null || onChangeDate === void 0 || onChangeDate(maskedDateObj);
103
+ } else {
104
+ onChangeDate === null || onChangeDate === void 0 || onChangeDate(undefined);
105
+ }
104
106
  }
105
107
  } else {
106
108
  onChangeText === null || onChangeText === void 0 || onChangeText(masked, unmasked, obfuscated);