@adiraku/react-native-ui 1.2.9-canary-1 → 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 +5 -3
  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 +5 -3
  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 +6 -1
  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 +5 -3
  411. package/src/components/TextInput/TextInput.type.ts +7 -2
  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,151 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.BottomTabBar = BottomTabBar;
7
+ var _react = _interopRequireWildcard(require("react"));
8
+ var _reactNative = require("react-native");
9
+ var _BottomTabBar = require("./BottomTabBar.style");
10
+ var _themes = require("../../themes");
11
+ var _typography = require("../typography/typography.component");
12
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
13
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
14
+ function BottomTabBar(props) {
15
+ var _state$routes2, _state$routes3, _state$routes4;
16
+ const {
17
+ containerStyle,
18
+ state,
19
+ descriptors,
20
+ navigation,
21
+ insets
22
+ } = props;
23
+ const computedStyle = (0, _BottomTabBar.getStyle)();
24
+ const [itemWidth, setContainerWidth] = (0, _react.useState)(0);
25
+ const getContainerWidth = event => {
26
+ var _state$routes;
27
+ const {
28
+ width
29
+ } = event.nativeEvent.layout;
30
+ let calcWidth = width - 8;
31
+ calcWidth = Math.floor(calcWidth / (state === null || state === void 0 || (_state$routes = state.routes) === null || _state$routes === void 0 ? void 0 : _state$routes.length));
32
+ setContainerWidth(calcWidth);
33
+ };
34
+ const animation = _react.default.useRef(new _reactNative.Animated.Value(0));
35
+ const translateX = animation.current.interpolate({
36
+ inputRange: [0, state === null || state === void 0 || (_state$routes2 = state.routes) === null || _state$routes2 === void 0 ? void 0 : _state$routes2.length],
37
+ outputRange: [4, itemWidth * (state === null || state === void 0 || (_state$routes3 = state.routes) === null || _state$routes3 === void 0 ? void 0 : _state$routes3.length) + 4]
38
+ });
39
+ const animate = toValue => _reactNative.Animated.timing(animation.current, {
40
+ useNativeDriver: true,
41
+ duration: 300,
42
+ easing: _reactNative.Easing.inOut(_reactNative.Easing.ease),
43
+ toValue
44
+ }).start();
45
+ _react.default.useEffect(() => {
46
+ animate(state === null || state === void 0 ? void 0 : state.index);
47
+ }, [state === null || state === void 0 ? void 0 : state.index]);
48
+ return /*#__PURE__*/_react.default.createElement(_reactNative.View, {
49
+ onLayout: getContainerWidth,
50
+ style: [computedStyle.container, {
51
+ paddingBottom: _themes.Spacing[4] + insets.bottom
52
+ }, containerStyle]
53
+ }, /*#__PURE__*/_react.default.createElement(_reactNative.Animated.View, {
54
+ style: [computedStyle.indicator, {
55
+ width: itemWidth,
56
+ transform: [{
57
+ translateX
58
+ }]
59
+ }]
60
+ }), state === null || state === void 0 || (_state$routes4 = state.routes) === null || _state$routes4 === void 0 ? void 0 : _state$routes4.map((route, index) => /*#__PURE__*/_react.default.createElement(TabBarItem, {
61
+ key: route === null || route === void 0 ? void 0 : route.key,
62
+ descriptors: descriptors,
63
+ route: route,
64
+ index: index,
65
+ state: state,
66
+ navigation: navigation
67
+ })));
68
+ }
69
+ function TabBarItem({
70
+ route,
71
+ state,
72
+ navigation,
73
+ index,
74
+ descriptors
75
+ }) {
76
+ var _descriptors$route$ke, _options$tabBarIcon, _options$tabBarIcon2, _options$tabBarLabel;
77
+ 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;
78
+ const computedStyle = (0, _BottomTabBar.getStyle)();
79
+ const isFocused = (state === null || state === void 0 ? void 0 : state.index) === index;
80
+ const animation = _react.default.useRef(new _reactNative.Animated.Value(0));
81
+ const opacity = animation.current.interpolate({
82
+ inputRange: [0, 1],
83
+ outputRange: [0, 1]
84
+ });
85
+ const opacityHide = animation.current.interpolate({
86
+ inputRange: [0, 1],
87
+ outputRange: [1, 0]
88
+ });
89
+ const animate = toValue => _reactNative.Animated.timing(animation.current, {
90
+ useNativeDriver: true,
91
+ duration: 300,
92
+ easing: _reactNative.Easing.inOut(_reactNative.Easing.ease),
93
+ toValue
94
+ }).start();
95
+ _react.default.useEffect(() => {
96
+ if (isFocused) {
97
+ animate(1);
98
+ } else {
99
+ animate(0);
100
+ }
101
+ }, [isFocused]);
102
+ const onPress = () => {
103
+ const event = navigation.emit({
104
+ type: 'tabPress',
105
+ target: route.key,
106
+ canPreventDefault: true
107
+ });
108
+ if (!isFocused && !event.defaultPrevented) {
109
+ var _navigation$navigate;
110
+ navigation === null || navigation === void 0 || (_navigation$navigate = navigation.navigate) === null || _navigation$navigate === void 0 || _navigation$navigate.call(navigation, route.name, route.params);
111
+ }
112
+ };
113
+ const onLongPress = () => {
114
+ navigation.emit({
115
+ type: 'tabLongPress',
116
+ target: route.key
117
+ });
118
+ };
119
+ return /*#__PURE__*/_react.default.createElement(_reactNative.TouchableWithoutFeedback, {
120
+ key: route === null || route === void 0 ? void 0 : route.key,
121
+ accessibilityRole: "button",
122
+ accessibilityState: isFocused ? {
123
+ selected: true
124
+ } : {},
125
+ accessibilityLabel: options === null || options === void 0 ? void 0 : options.tabBarAccessibilityLabel,
126
+ testID: options === null || options === void 0 ? void 0 : options.tabBarTestID,
127
+ onPress: onPress,
128
+ onLongPress: onLongPress
129
+ }, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
130
+ style: computedStyle.tabItemContainer
131
+ }, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
132
+ style: computedStyle.iconWrapper
133
+ }, /*#__PURE__*/_react.default.createElement(_reactNative.Animated.View, {
134
+ style: [computedStyle.animatedIconWrapper, {
135
+ opacity
136
+ }]
137
+ }, options === null || options === void 0 || (_options$tabBarIcon = options.tabBarIcon) === null || _options$tabBarIcon === void 0 ? void 0 : _options$tabBarIcon.call(options, {
138
+ focused: true
139
+ })), /*#__PURE__*/_react.default.createElement(_reactNative.Animated.View, {
140
+ style: [computedStyle.animatedIconWrapper, {
141
+ opacity: opacityHide
142
+ }]
143
+ }, options === null || options === void 0 || (_options$tabBarIcon2 = options.tabBarIcon) === null || _options$tabBarIcon2 === void 0 ? void 0 : _options$tabBarIcon2.call(options, {
144
+ focused: false
145
+ }))), /*#__PURE__*/_react.default.createElement(_typography.Typography, {
146
+ variant: "text-overline-semibold"
147
+ }, options === null || options === void 0 || (_options$tabBarLabel = options.tabBarLabel) === null || _options$tabBarLabel === void 0 ? void 0 : _options$tabBarLabel.call(options, {
148
+ focused: isFocused
149
+ }))));
150
+ }
151
+ //# sourceMappingURL=BottomTabBar.component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_react","_interopRequireWildcard","require","_reactNative","_BottomTabBar","_themes","_typography","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","BottomTabBar","props","_state$routes2","_state$routes3","_state$routes4","containerStyle","state","descriptors","navigation","insets","computedStyle","getStyle","itemWidth","setContainerWidth","useState","getContainerWidth","event","_state$routes","width","nativeEvent","layout","calcWidth","Math","floor","routes","length","animation","React","useRef","Animated","Value","translateX","current","interpolate","inputRange","outputRange","animate","toValue","timing","useNativeDriver","duration","easing","Easing","inOut","ease","start","useEffect","index","createElement","View","onLayout","style","container","paddingBottom","Spacing","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","name","params","onLongPress","TouchableWithoutFeedback","accessibilityRole","accessibilityState","selected","accessibilityLabel","tabBarAccessibilityLabel","testID","tabBarTestID","tabItemContainer","iconWrapper","animatedIconWrapper","tabBarIcon","focused","Typography","variant","tabBarLabel"],"sourceRoot":"../../../../src","sources":["components/BottomTabBar/BottomTabBar.component.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAQA,IAAAE,aAAA,GAAAF,OAAA;AAGA,IAAAG,OAAA,GAAAH,OAAA;AACA,IAAAI,WAAA,GAAAJ,OAAA;AAAgE,SAAAK,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,CAAA,WAAAA,CAAA,GAAAG,CAAA,GAAAD,CAAA,KAAAF,CAAA;AAAA,SAAAP,wBAAAO,CAAA,EAAAE,CAAA,SAAAA,CAAA,IAAAF,CAAA,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EAAY,gBACrCrH,MAAA,CAAAa,OAAA,CAAA8D,aAAA,CAACxE,YAAA,CAAAqD,QAAQ,CAACoB,IAAI;IACZE,KAAK,EAAE,CAACzC,aAAa,CAACiF,mBAAmB,EAAE;MAAEvB;IAAQ,CAAC;EAAE,GAEvDF,OAAO,aAAPA,OAAO,gBAAAH,mBAAA,GAAPG,OAAO,CAAE0B,UAAU,cAAA7B,mBAAA,uBAAnBA,mBAAA,CAAAlE,IAAA,CAAAqE,OAAO,EAAe;IAAE2B,OAAO,EAAE;EAAK,CAAC,CAC3B,CAAC,eAChBxH,MAAA,CAAAa,OAAA,CAAA8D,aAAA,CAACxE,YAAA,CAAAqD,QAAQ,CAACoB,IAAI;IACZE,KAAK,EAAE,CACLzC,aAAa,CAACiF,mBAAmB,EACjC;MAAEvB,OAAO,EAAEC;IAAY,CAAC;EACxB,GAEDH,OAAO,aAAPA,OAAO,gBAAAF,oBAAA,GAAPE,OAAO,CAAE0B,UAAU,cAAA5B,oBAAA,uBAAnBA,oBAAA,CAAAnE,IAAA,CAAAqE,OAAO,EAAe;IAAE2B,OAAO,EAAE;EAAM,CAAC,CAC5B,CACX,CAAC,eAEPxH,MAAA,CAAAa,OAAA,CAAA8D,aAAA,CAACrE,WAAA,CAAAmH,UAAU;IAACC,OAAO,EAAC;EAAwB,GACzC7B,OAAO,aAAPA,OAAO,gBAAAD,oBAAA,GAAPC,OAAO,CAAE8B,WAAW,cAAA/B,oBAAA,uBAApBA,oBAAA,CAAApE,IAAA,CAAAqE,OAAO,EAAgB;IAAE2B,OAAO,EAAE1B;EAAU,CAAC,CACpC,CACR,CACkB,CAAC;AAE/B","ignoreList":[]}
@@ -0,0 +1,51 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.getStyle = void 0;
7
+ var _reactNative = require("react-native");
8
+ var _themes = require("../../themes");
9
+ const getStyle = () => {
10
+ const computedStyle = {};
11
+ computedStyle.container = {
12
+ padding: _themes.Spacing[4],
13
+ flexDirection: 'row',
14
+ backgroundColor: _themes.Palettes.white[50]
15
+ };
16
+ computedStyle.tabItemContainer = {
17
+ flex: 1,
18
+ width: '100%',
19
+ alignItems: 'center',
20
+ justifyContent: 'space-between',
21
+ paddingBottom: 10,
22
+ paddingTop: 16
23
+ };
24
+ computedStyle.iconWrapper = {
25
+ height: 24,
26
+ width: 24,
27
+ marginBottom: _themes.Spacing[12],
28
+ justifyContent: 'center',
29
+ alignItems: 'center'
30
+ };
31
+ computedStyle.animatedIconWrapper = {
32
+ position: 'absolute',
33
+ width: '100%',
34
+ height: '100%',
35
+ alignItems: 'center',
36
+ justifyContent: 'center',
37
+ top: 0,
38
+ left: 0
39
+ };
40
+ computedStyle.indicator = {
41
+ position: 'absolute',
42
+ top: 4,
43
+ left: 0,
44
+ height: _themes.Spacing[4],
45
+ borderRadius: _themes.Radius[16],
46
+ backgroundColor: _themes.Palettes.yellow[600]
47
+ };
48
+ return _reactNative.StyleSheet.create(computedStyle);
49
+ };
50
+ exports.getStyle = getStyle;
51
+ //# sourceMappingURL=BottomTabBar.style.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_reactNative","require","_themes","getStyle","computedStyle","container","padding","Spacing","flexDirection","backgroundColor","Palettes","white","tabItemContainer","flex","width","alignItems","justifyContent","paddingBottom","paddingTop","iconWrapper","height","marginBottom","animatedIconWrapper","position","top","left","indicator","borderRadius","Radius","yellow","StyleSheet","create","exports"],"sourceRoot":"../../../../src","sources":["components/BottomTabBar/BottomTabBar.style.tsx"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAEA,IAAAC,OAAA,GAAAD,OAAA;AAUO,MAAME,QAAQ,GAAGA,CAAA,KAAM;EAC5B,MAAMC,aAAiC,GAAG,CAAC,CAAC;EAE5CA,aAAa,CAACC,SAAS,GAAG;IACxBC,OAAO,EAAEC,eAAO,CAAC,CAAC,CAAC;IACnBC,aAAa,EAAE,KAAK;IACpBC,eAAe,EAAEC,gBAAQ,CAACC,KAAK,CAAC,EAAE;EACpC,CAAC;EAEDP,aAAa,CAACQ,gBAAgB,GAAG;IAC/BC,IAAI,EAAE,CAAC;IACPC,KAAK,EAAE,MAAM;IACbC,UAAU,EAAE,QAAQ;IACpBC,cAAc,EAAE,eAAe;IAC/BC,aAAa,EAAE,EAAE;IACjBC,UAAU,EAAE;EACd,CAAC;EAEDd,aAAa,CAACe,WAAW,GAAG;IAC1BC,MAAM,EAAE,EAAE;IACVN,KAAK,EAAE,EAAE;IACTO,YAAY,EAAEd,eAAO,CAAC,EAAE,CAAC;IACzBS,cAAc,EAAE,QAAQ;IACxBD,UAAU,EAAE;EACd,CAAC;EAEDX,aAAa,CAACkB,mBAAmB,GAAG;IAClCC,QAAQ,EAAE,UAAU;IACpBT,KAAK,EAAE,MAAM;IACbM,MAAM,EAAE,MAAM;IACdL,UAAU,EAAE,QAAQ;IACpBC,cAAc,EAAE,QAAQ;IACxBQ,GAAG,EAAE,CAAC;IACNC,IAAI,EAAE;EACR,CAAC;EAEDrB,aAAa,CAACsB,SAAS,GAAG;IACxBH,QAAQ,EAAE,UAAU;IACpBC,GAAG,EAAE,CAAC;IACNC,IAAI,EAAE,CAAC;IACPL,MAAM,EAAEb,eAAO,CAAC,CAAC,CAAC;IAClBoB,YAAY,EAAEC,cAAM,CAAC,EAAE,CAAC;IACxBnB,eAAe,EAAEC,gBAAQ,CAACmB,MAAM,CAAC,GAAG;EACtC,CAAC;EAED,OAAOC,uBAAU,CAACC,MAAM,CAAC3B,aAAa,CAAC;AACzC,CAAC;AAAC4B,OAAA,CAAA7B,QAAA,GAAAA,QAAA","ignoreList":[]}
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ //# 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,58 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.Chips = void 0;
7
+ Object.defineProperty(exports, "ChipsProps", {
8
+ enumerable: true,
9
+ get: function () {
10
+ return _Chips.ChipsProps;
11
+ }
12
+ });
13
+ var _react = _interopRequireDefault(require("react"));
14
+ var _reactNative = require("react-native");
15
+ var _typography = require("../typography/typography.component");
16
+ var _icons = require("../../icons");
17
+ var _themes = require("../../themes");
18
+ var _Chips = require("./Chips.type");
19
+ var _Chips2 = require("./Chips.style");
20
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
21
+ 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); }
22
+ const Chips = ({
23
+ label,
24
+ variant = 'default',
25
+ leadingComponent,
26
+ onPress = () => {},
27
+ containerStyles,
28
+ textStyles,
29
+ ...rest
30
+ }) => {
31
+ const childrenColor = variant === 'disabled' ? _themes.Palettes.grey[400] : _themes.Palettes.black[900];
32
+ const computedStyle = (0, _Chips2.getStyle)({
33
+ variant,
34
+ label: ''
35
+ });
36
+ return /*#__PURE__*/_react.default.createElement(_reactNative.TouchableHighlight, _extends({
37
+ style: [computedStyle.container, containerStyles],
38
+ onPress: onPress,
39
+ disabled: variant === 'disabled',
40
+ underlayColor: variant !== 'default' ? _themes.Palettes.white[50] : _themes.Palettes.yellow[50]
41
+ }, rest), /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
42
+ style: computedStyle.wrapLeftComponent
43
+ }, !!leadingComponent && /*#__PURE__*/_react.default.createElement(_reactNative.View, {
44
+ style: computedStyle.marginRight
45
+ }, leadingComponent), /*#__PURE__*/_react.default.createElement(_typography.Typography, {
46
+ variant: "text-caption-semibold",
47
+ fontColor: childrenColor,
48
+ textStyles: textStyles
49
+ }, label)), /*#__PURE__*/_react.default.createElement(_reactNative.View, {
50
+ style: computedStyle.marginLeft
51
+ }, /*#__PURE__*/_react.default.createElement(_icons.IconClose, {
52
+ width: 18,
53
+ height: 18,
54
+ fill: childrenColor
55
+ }))));
56
+ };
57
+ exports.Chips = Chips;
58
+ //# sourceMappingURL=Chips.component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","_typography","_icons","_themes","_Chips","_Chips2","e","__esModule","default","_extends","Object","assign","bind","n","arguments","length","t","r","hasOwnProperty","call","apply","Chips","label","variant","leadingComponent","onPress","containerStyles","textStyles","rest","childrenColor","Palettes","grey","black","computedStyle","getStyle","createElement","TouchableHighlight","style","container","disabled","underlayColor","white","yellow","Fragment","View","wrapLeftComponent","marginRight","Typography","fontColor","marginLeft","IconClose","width","height","fill","exports"],"sourceRoot":"../../../../src","sources":["components/Chips/Chips.component.tsx"],"mappings":";;;;;;;;;;;;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAEA,IAAAE,WAAA,GAAAF,OAAA;AACA,IAAAG,MAAA,GAAAH,OAAA;AACA,IAAAI,OAAA,GAAAJ,OAAA;AAEA,IAAAK,MAAA,GAAAL,OAAA;AACA,IAAAM,OAAA,GAAAN,OAAA;AAAyC,SAAAD,uBAAAQ,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AAAA,SAAAG,SAAA,WAAAA,QAAA,GAAAC,MAAA,CAAAC,MAAA,GAAAD,MAAA,CAAAC,MAAA,CAAAC,IAAA,eAAAC,CAAA,aAAAP,CAAA,MAAAA,CAAA,GAAAQ,SAAA,CAAAC,MAAA,EAAAT,CAAA,UAAAU,CAAA,GAAAF,SAAA,CAAAR,CAAA,YAAAW,CAA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AACnC,YAAA,CAAA4C,IAAI;IAACP,KAAK,EAAEJ,aAAa,CAACa;EAAY,GAAEtB,gBAAuB,CACjE,eACD3B,MAAA,CAAAW,OAAA,CAAA2B,aAAA,CAAClC,WAAA,CAAA8C,UAAU;IACTxB,OAAO,EAAC,uBAAuB;IAC/ByB,SAAS,EAAEnB,aAAc;IACzBF,UAAU,EAAEA;EAAW,GAEtBL,KACS,CACR,CAAC,eACPzB,MAAA,CAAAW,OAAA,CAAA2B,aAAA,CAACnC,YAAA,CAAA4C,IAAI;IAACP,KAAK,EAAEJ,aAAa,CAACgB;EAAW,gBACpCpD,MAAA,CAAAW,OAAA,CAAA2B,aAAA,CAACjC,MAAA,CAAAgD,SAAS;IAACC,KAAK,EAAE,EAAG;IAACC,MAAM,EAAE,EAAG;IAACC,IAAI,EAAExB;EAAc,CAAE,CACpD,CACN,CACgB,CAAC;AAEzB,CAAC;AAACyB,OAAA,CAAAjC,KAAA,GAAAA,KAAA","ignoreList":[]}
@@ -0,0 +1,67 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.getStyle = void 0;
7
+ var _reactNative = require("react-native");
8
+ var _themes = require("../../themes");
9
+ const getStyle = props => {
10
+ const {
11
+ variant
12
+ } = props;
13
+ const computedStyle = {};
14
+ computedStyle.container = {
15
+ display: 'flex',
16
+ flexDirection: 'row',
17
+ alignItems: 'center',
18
+ justifyContent: 'space-between',
19
+ paddingHorizontal: _themes.Spacing[16],
20
+ paddingVertical: _themes.Spacing[8],
21
+ borderWidth: _themes.Radius.border,
22
+ borderRadius: _themes.Radius[24]
23
+ };
24
+ if (variant === 'default') {
25
+ computedStyle.container = {
26
+ ...computedStyle.container,
27
+ borderColor: _themes.Palettes.grey[100],
28
+ backgroundColor: _themes.Palettes.white[50]
29
+ };
30
+ }
31
+ if (variant === 'selected-outline') {
32
+ computedStyle.container = {
33
+ ...computedStyle.container,
34
+ borderColor: _themes.Palettes.yellow[600],
35
+ backgroundColor: _themes.Palettes.yellow[100]
36
+ };
37
+ }
38
+ if (variant === 'selected') {
39
+ computedStyle.container = {
40
+ ...computedStyle.container,
41
+ borderColor: _themes.Palettes.yellow[100],
42
+ backgroundColor: _themes.Palettes.yellow[100]
43
+ };
44
+ }
45
+ if (variant === 'disabled') {
46
+ computedStyle.container = {
47
+ ...computedStyle.container,
48
+ borderColor: _themes.Palettes.grey[100],
49
+ backgroundColor: _themes.Palettes.grey[50]
50
+ };
51
+ }
52
+ computedStyle.wrapLeftComponent = {
53
+ display: 'flex',
54
+ flexDirection: 'row',
55
+ alignItems: 'center',
56
+ justifyContent: 'flex-start'
57
+ };
58
+ computedStyle.marginLeft = {
59
+ marginLeft: _themes.Spacing[8]
60
+ };
61
+ computedStyle.marginRight = {
62
+ marginRight: _themes.Spacing[8]
63
+ };
64
+ return _reactNative.StyleSheet.create(computedStyle);
65
+ };
66
+ exports.getStyle = getStyle;
67
+ //# sourceMappingURL=Chips.style.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_reactNative","require","_themes","getStyle","props","variant","computedStyle","container","display","flexDirection","alignItems","justifyContent","paddingHorizontal","Spacing","paddingVertical","borderWidth","Radius","border","borderRadius","borderColor","Palettes","grey","backgroundColor","white","yellow","wrapLeftComponent","marginLeft","marginRight","StyleSheet","create","exports"],"sourceRoot":"../../../../src","sources":["components/Chips/Chips.style.tsx"],"mappings":";;;;;;AACA,IAAAA,YAAA,GAAAC,OAAA;AAIA,IAAAC,OAAA,GAAAD,OAAA;AASO,MAAME,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,EAAE,eAAe;IAC/BC,iBAAiB,EAAEC,eAA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aAAa,CAACoB,UAAU,GAAG;IACzBA,UAAU,EAAEb,eAAO,CAAC,CAAC;EACvB,CAAC;EACDP,aAAa,CAACqB,WAAW,GAAG;IAC1BA,WAAW,EAAEd,eAAO,CAAC,CAAC;EACxB,CAAC;EAED,OAAOe,uBAAU,CAACC,MAAM,CAACvB,aAAa,CAAC;AACzC,CAAC;AAACwB,OAAA,CAAA3B,QAAA,GAAAA,QAAA","ignoreList":[]}
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ //# 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,112 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.Loader = void 0;
7
+ var React = _interopRequireWildcard(require("react"));
8
+ var _reactNative = require("react-native");
9
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
10
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
11
+ const Loader = props => {
12
+ const {
13
+ speed = 200
14
+ } = props;
15
+ const [valueDeg, setValueDeg] = React.useState(0);
16
+ const timeoutValDeg = () => {
17
+ setTimeout(function () {
18
+ if (valueDeg >= 360) {
19
+ setValueDeg(22.5);
20
+ } else {
21
+ let val = valueDeg + 22.5;
22
+ setValueDeg(val);
23
+ }
24
+ }, speed);
25
+ };
26
+ React.useEffect(() => {
27
+ timeoutValDeg();
28
+ }, []);
29
+ React.useEffect(() => {
30
+ timeoutValDeg();
31
+ }, [valueDeg]);
32
+ const svgLoader = () => {
33
+ return /*#__PURE__*/React.createElement("svg", {
34
+ width: "48",
35
+ height: "48",
36
+ viewBox: "0 0 48 48",
37
+ fill: "none",
38
+ xmlns: "http://www.w3.org/2000/svg"
39
+ }, /*#__PURE__*/React.createElement("g", {
40
+ "clip-path": "url(#clip0_906_38666)"
41
+ }, /*#__PURE__*/React.createElement("path", {
42
+ 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",
43
+ fill: "#010101"
44
+ }), /*#__PURE__*/React.createElement("path", {
45
+ 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",
46
+ fill: "#111111"
47
+ }), /*#__PURE__*/React.createElement("path", {
48
+ 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",
49
+ fill: "#212121"
50
+ }), /*#__PURE__*/React.createElement("path", {
51
+ 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",
52
+ fill: "#333333"
53
+ }), /*#__PURE__*/React.createElement("path", {
54
+ 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",
55
+ fill: "#434343"
56
+ }), /*#__PURE__*/React.createElement("path", {
57
+ 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",
58
+ fill: "#545454"
59
+ }), /*#__PURE__*/React.createElement("path", {
60
+ 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",
61
+ fill: "#636363"
62
+ }), /*#__PURE__*/React.createElement("path", {
63
+ 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",
64
+ fill: "#757575"
65
+ }), /*#__PURE__*/React.createElement("path", {
66
+ 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",
67
+ fill: "#838383"
68
+ }), /*#__PURE__*/React.createElement("path", {
69
+ 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",
70
+ fill: "#949494"
71
+ }), /*#__PURE__*/React.createElement("path", {
72
+ 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",
73
+ fill: "#A2A2A2"
74
+ }), /*#__PURE__*/React.createElement("path", {
75
+ 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",
76
+ fill: "#B2B2B2"
77
+ }), /*#__PURE__*/React.createElement("path", {
78
+ 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",
79
+ fill: "#C1C1C1"
80
+ }), /*#__PURE__*/React.createElement("path", {
81
+ 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",
82
+ fill: "#D4D4D4"
83
+ }), /*#__PURE__*/React.createElement("path", {
84
+ 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",
85
+ fill: "#E3E3E3"
86
+ }), /*#__PURE__*/React.createElement("path", {
87
+ 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",
88
+ fill: "#F6F6F6"
89
+ })), /*#__PURE__*/React.createElement("defs", null, /*#__PURE__*/React.createElement("clipPath", {
90
+ id: "clip0_906_38666"
91
+ }, /*#__PURE__*/React.createElement("rect", {
92
+ width: "48",
93
+ height: "48",
94
+ fill: "white"
95
+ }))));
96
+ };
97
+ return /*#__PURE__*/React.createElement(_reactNative.Animated.View, {
98
+ style: {
99
+ transform: [{
100
+ rotate: valueDeg + 'deg'
101
+ }]
102
+ }
103
+ }, /*#__PURE__*/React.createElement(_reactNative.View, {
104
+ style: [{
105
+ flex: 1,
106
+ justifyContent: 'center',
107
+ alignItems: 'center'
108
+ }]
109
+ }, svgLoader()));
110
+ };
111
+ exports.Loader = Loader;
112
+ //# sourceMappingURL=loader.component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","_interopRequireWildcard","require","_reactNative","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","Loader","props","speed","valueDeg","setValueDeg","useState","timeoutValDeg","setTimeout","val","useEffect","svgLoader","createElement","width","height","viewBox","fill","xmlns","d","id","Animated","View","style","transform","rotate","flex","justifyContent","alignItems","exports"],"sourceRoot":"../../../../src","sources":["components/Loader/loader.component.tsx"],"m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I;MAACE,IAAI,EAAC;IAAO,CAAE,CACnC,CACN,CACH,CAAC;EAEV,CAAC;EAED,oBACEvC,KAAA,CAAAmC,aAAA,CAAChC,YAAA,CAAAwC,QAAQ,CAACC,IAAI;IAACC,KAAK,EAAE;MAAEC,SAAS,EAAE,CAAC;QAAEC,MAAM,EAAEpB,QAAQ,GAAG;MAAM,CAAC;IAAE;EAAE,gBAClE3B,KAAA,CAAAmC,aAAA,CAAChC,YAAA,CAAAyC,IAAI;IACHC,KAAK,EAAE,CAAC;MAAEG,IAAI,EAAE,CAAC;MAAEC,cAAc,EAAE,QAAQ;MAAEC,UAAU,EAAE;IAAS,CAAC;EAAE,GAEpEhB,SAAS,CAAC,CACP,CACO,CAAC;AAEpB,CAAC;AAACiB,OAAA,CAAA3B,MAAA,GAAAA,MAAA","ignoreList":[]}
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.getStyle = void 0;
7
+ var _reactNative = require("react-native");
8
+ const getStyle = () => {
9
+ const computedStyle = {};
10
+ return _reactNative.StyleSheet.create(computedStyle);
11
+ };
12
+ exports.getStyle = getStyle;
13
+ //# sourceMappingURL=loader.style.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_reactNative","require","getStyle","computedStyle","StyleSheet","create","exports"],"sourceRoot":"../../../../src","sources":["components/Loader/loader.style.tsx"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAIO,MAAMC,QAAQ,GAAGA,CAAA,KAAM;EAC5B,MAAMC,aAAiC,GAAG,CAAC,CAAC;EAE5C,OAAOC,uBAAU,CAACC,MAAM,CAACF,aAAa,CAAC;AACzC,CAAC;AAACG,OAAA,CAAAJ,QAAA,GAAAA,QAAA","ignoreList":[]}
@@ -0,0 +1,2 @@
1
+ "use strict";
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,49 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.Notification = void 0;
7
+ var React = _interopRequireWildcard(require("react"));
8
+ var _reactNative = require("react-native");
9
+ var _themes = require("../../themes");
10
+ var _typography = require("../typography/typography.component");
11
+ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function (e) { return e ? t : r; })(e); }
12
+ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
13
+ const Notification = props => {
14
+ const {
15
+ amount = 0,
16
+ disabled = false,
17
+ containerStyle
18
+ } = props;
19
+ const labelChecking = amount => {
20
+ if (!amount || isNaN(amount)) {
21
+ return '';
22
+ } else {
23
+ if (amount > 99) {
24
+ return '99+';
25
+ } else {
26
+ return amount;
27
+ }
28
+ }
29
+ };
30
+ return /*#__PURE__*/React.createElement(React.Fragment, null, disabled ? null : /*#__PURE__*/React.createElement(_reactNative.View, {
31
+ style: [containerStyle, {
32
+ padding: !labelChecking(amount) ? _themes.Spacing[4] : _themes.Spacing[8],
33
+ width: !labelChecking(amount) ? 0 : 18,
34
+ height: !labelChecking(amount) ? 0 : 18,
35
+ justifyContent: 'center',
36
+ alignItems: 'center',
37
+ backgroundColor: _themes.Palettes.red[600],
38
+ borderRadius: _themes.Radius.full
39
+ }]
40
+ }, /*#__PURE__*/React.createElement(_typography.Typography, {
41
+ style: {
42
+ fontSize: 8,
43
+ color: _themes.Palettes.white[100]
44
+ },
45
+ variant: 'text-caption-semibold'
46
+ }, labelChecking(amount))));
47
+ };
48
+ exports.Notification = Notification;
49
+ //# sourceMappingURL=notification.component.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","_interopRequireWildcard","require","_reactNative","_themes","_typography","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","get","n","__proto__","a","Object","defineProperty","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","Notification","props","amount","disabled","containerStyle","labelChecking","isNaN","createElement","Fragment","View","style","padding","Spacing","width","height","justifyContent","alignItems","backgroundColor","Palettes","red","borderRadius","Radius","full","Typography","fontSize","color","white","variant","exports"],"sourceRoot":"../../../../src","sources":["components/Notification/notification.component.tsx"],"mappings":";;;;;;AAAA,IAAAA,KAAA,GAAAC,uBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AAIA,IAAAE,OAAA,GAAAF,OAAA;AACA,IAAAG,WAAA,GAAAH,OAAA;AAAgE,SAAAI,yBAAAC,CAAA,6BAAAC,OAAA,mBAAAC,CAAA,OAAAD,OAAA,IAAAE,CAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,CAAA,WAAAA,CAAA,GAAAG,CAAA,GAAAD,CAAA,KAAAF,CAAA;AAAA,SAAAN,wBAAAM,CAAA,EAAAE,CAAA,SAAAA,CAAA,IAAAF,CAAA,IAAAA,CAAA,CAAAI,UAAA,SAAAJ,CAAA,eAAAA,CAAA,uBAAAA,CAAA,yBAAAA,CAAA,WAAAK,OAAA,EAAAL,CAAA,QAAAG,CAAA,GAAAJ,wBAAA,CAAAG,CAAA,OAAAC,CAAA,IAAAA,CAAA,CAAAG,GAAA,CAAAN,CAAA,UAAAG,CAAA,CAAAI,GAAA,CAAAP,CAAA,OAAAQ,CAAA,KAAAC,SAAA,UAAAC,CAAA,GAAAC,MAAA,CAAAC,cAAA,IAAAD,MAAA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C,GAAG,EAAE;MACtCY,MAAM,EAAE,CAACT,aAAa,CAACH,MAAM,CAAC,GAAG,CAAC,GAAG,EAAE;MACvCa,cAAc,EAAE,QAAQ;MACxBC,UAAU,EAAE,QAAQ;MACpBC,eAAe,EAAEC,gBAAQ,CAACC,GAAG,CAAC,GAAG,CAAC;MAClCC,YAAY,EAAEC,cAAM,CAACC;IACvB,CAAC;EACD,gBAEFhD,KAAA,CAAAiC,aAAA,CAAC5B,WAAA,CAAA4C,UAAU;IACTb,KAAK,EAAE;MAAEc,QAAQ,EAAE,CAAC;MAAEC,KAAK,EAAEP,gBAAQ,CAACQ,KAAK,CAAC,GAAG;IAAE,CAAE;IACnDC,OAAO,EAAE;EAAwB,GAEhCtB,aAAa,CAACH,MAAM,CACX,CACR,CAER,CAAC;AAEP,CAAC;AAAC0B,OAAA,CAAA5B,YAAA,GAAAA,YAAA","ignoreList":[]}
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.getStyle = void 0;
7
+ var _reactNative = require("react-native");
8
+ const getStyle = props => {
9
+ const {} = props;
10
+ const computedStyle = {};
11
+ return _reactNative.StyleSheet.create(computedStyle);
12
+ };
13
+ exports.getStyle = getStyle;
14
+ //# sourceMappingURL=notification.style.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_reactNative","require","getStyle","props","computedStyle","StyleSheet","create","exports"],"sourceRoot":"../../../../src","sources":["components/Notification/notification.style.tsx"],"mappings":";;;;;;AAAA,IAAAA,YAAA,GAAAC,OAAA;AAOO,MAAMC,QAAQ,GAAIC,KAAwB,IAAK;EACpD,MAAM,CAAE,CAAC,GAAGA,KAAK;EACjB,MAAMC,aAAiC,GAAG,CAAC,CAAC;EAE5C,OAAOC,uBAAU,CAACC,MAAM,CAACF,aAAa,CAAC;AACzC,CAAC;AAACG,OAAA,CAAAL,QAAA,GAAAA,QAAA","ignoreList":[]}
@@ -0,0 +1,6 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ //# sourceMappingURL=notification.type.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":[],"sourceRoot":"../../../../src","sources":["components/Notification/notification.type.ts"],"mappings":"","ignoreList":[]}