@adiraku/react-native-ui 1.2.3-snapshot.4 → 1.2.3-snapshot.6

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 (776) hide show
  1. package/LICENSE +20 -20
  2. package/README.md +55 -55
  3. package/lib/commonjs/components/Appbar/Appbar.component.js +4 -2
  4. package/lib/commonjs/components/Appbar/Appbar.component.js.map +1 -1
  5. package/lib/commonjs/components/Appbar/Appbar.style.js +5 -2
  6. package/lib/commonjs/components/Appbar/Appbar.style.js.map +1 -1
  7. package/lib/commonjs/components/Appbar/Appbar.type.js.map +1 -1
  8. package/lib/commonjs/components/BottomSheet/BottomSheet.component.js +6 -23
  9. package/lib/commonjs/components/BottomSheet/BottomSheet.component.js.map +1 -1
  10. package/lib/commonjs/components/BottomSheet/BottomSheet.style.js +11 -4
  11. package/lib/commonjs/components/BottomSheet/BottomSheet.style.js.map +1 -1
  12. package/lib/commonjs/components/BottomSheet/BottomSheet.type.js.map +1 -1
  13. package/lib/commonjs/components/CheckBoxInput/CheckBoxInput.component.js.map +1 -1
  14. package/lib/commonjs/components/CheckBoxInput/CheckBoxInput.style.js.map +1 -1
  15. package/lib/commonjs/components/CheckBoxInput/CheckBoxInput.type.js.map +1 -1
  16. package/lib/commonjs/components/Checkbox/Checkbox.component.js.map +1 -1
  17. package/lib/commonjs/components/Checkbox/Checkbox.style.js.map +1 -1
  18. package/lib/commonjs/components/Checkbox/Checkbox.type.js.map +1 -1
  19. package/lib/commonjs/components/Divider/Divider.component.js.map +1 -1
  20. package/lib/commonjs/components/Divider/Divider.style.js.map +1 -1
  21. package/lib/commonjs/components/Divider/Divider.type.js.map +1 -1
  22. package/lib/commonjs/components/RadioButton/RadioButton.component.js.map +1 -1
  23. package/lib/commonjs/components/RadioButton/RadioButton.style.js.map +1 -1
  24. package/lib/commonjs/components/RadioButton/RadioButton.type.js.map +1 -1
  25. package/lib/commonjs/components/RadioInput/RadioInput.component.js.map +1 -1
  26. package/lib/commonjs/components/RadioInput/RadioInput.style.js.map +1 -1
  27. package/lib/commonjs/components/RadioInput/RadioInput.type.js.map +1 -1
  28. package/lib/commonjs/components/Snackbar/Snackbar.component.js.map +1 -1
  29. package/lib/commonjs/components/Snackbar/Snackbar.type.js.map +1 -1
  30. package/lib/commonjs/components/Snackbar/Snakbar.style.js.map +1 -1
  31. package/lib/commonjs/components/StepperCounter/StepperCounter.component.js.map +1 -1
  32. package/lib/commonjs/components/StepperCounter/StepperCounter.style.js.map +1 -1
  33. package/lib/commonjs/components/StepperCounter/StepperCounter.type.js.map +1 -1
  34. package/lib/commonjs/components/Tabs/Tabs.component.js +1 -0
  35. package/lib/commonjs/components/Tabs/Tabs.component.js.map +1 -1
  36. package/lib/commonjs/components/Tabs/Tabs.style.js.map +1 -1
  37. package/lib/commonjs/components/Tabs/Tabs.type.js.map +1 -1
  38. package/lib/commonjs/components/TextArea/TextArea.component.js.map +1 -1
  39. package/lib/commonjs/components/TextArea/TextArea.style.js.map +1 -1
  40. package/lib/commonjs/components/TextArea/TextArea.type.js.map +1 -1
  41. package/lib/commonjs/components/TextInput/TextInput.component.js.map +1 -1
  42. package/lib/commonjs/components/TextInput/TextInput.style.js.map +1 -1
  43. package/lib/commonjs/components/TextInput/TextInput.type.js.map +1 -1
  44. package/lib/commonjs/components/base/base.component.js.map +1 -1
  45. package/lib/commonjs/components/base/base.style.js.map +1 -1
  46. package/lib/commonjs/components/base/base.type.js.map +1 -1
  47. package/lib/commonjs/components/button/button.component.js.map +1 -1
  48. package/lib/commonjs/components/button/button.styles.js.map +1 -1
  49. package/lib/commonjs/components/button/button.type.js.map +1 -1
  50. package/lib/commonjs/components/coachmark/coachmark.component.js.map +1 -1
  51. package/lib/commonjs/components/coachmark/coachmark.style.js.map +1 -1
  52. package/lib/commonjs/components/coachmark/coachmark.type.js.map +1 -1
  53. package/lib/commonjs/components/countdown/countdown.component.js.map +1 -1
  54. package/lib/commonjs/components/countdown/countdown.style.js.map +1 -1
  55. package/lib/commonjs/components/countdown/countdown.type.js.map +1 -1
  56. package/lib/commonjs/components/dot/dot.component.js.map +1 -1
  57. package/lib/commonjs/components/dot/dot.style.js.map +1 -1
  58. package/lib/commonjs/components/dot/dot.type.js.map +1 -1
  59. package/lib/commonjs/components/index.js.map +1 -1
  60. package/lib/commonjs/components/information-box/information-box.component.js.map +1 -1
  61. package/lib/commonjs/components/information-box/information-box.style.js.map +1 -1
  62. package/lib/commonjs/components/information-box/information-box.type.js.map +1 -1
  63. package/lib/commonjs/components/label/label.component.js.map +1 -1
  64. package/lib/commonjs/components/label/label.style.js.map +1 -1
  65. package/lib/commonjs/components/label/label.type.js.map +1 -1
  66. package/lib/commonjs/components/rounded-tab/rounded-tab.component.js +7 -2
  67. package/lib/commonjs/components/rounded-tab/rounded-tab.component.js.map +1 -1
  68. package/lib/commonjs/components/rounded-tab/rounded-tab.style.js.map +1 -1
  69. package/lib/commonjs/components/rounded-tab/rounded-tab.type.js.map +1 -1
  70. package/lib/commonjs/components/slider-indicator/slider-indicator.component.js.map +1 -1
  71. package/lib/commonjs/components/slider-indicator/slider-indicator.style.js.map +1 -1
  72. package/lib/commonjs/components/slider-indicator/slider-indicator.type.js.map +1 -1
  73. package/lib/commonjs/components/switch/switch.component.js.map +1 -1
  74. package/lib/commonjs/components/switch/switch.style.js.map +1 -1
  75. package/lib/commonjs/components/switch/switch.type.js.map +1 -1
  76. package/lib/commonjs/components/textlink/textlink.component.js.map +1 -1
  77. package/lib/commonjs/components/textlink/textlink.style.js.map +1 -1
  78. package/lib/commonjs/components/textlink/textlink.type.js.map +1 -1
  79. package/lib/commonjs/components/typography/typography.component.js.map +1 -1
  80. package/lib/commonjs/components/typography/typography.style.js.map +1 -1
  81. package/lib/commonjs/components/typography/typography.type.js.map +1 -1
  82. package/lib/commonjs/icons/actions/IconAddMinus.js.map +1 -1
  83. package/lib/commonjs/icons/actions/IconAddPlus.js.map +1 -1
  84. package/lib/commonjs/icons/actions/IconAddRemove.js.map +1 -1
  85. package/lib/commonjs/icons/actions/IconAttach.js.map +1 -1
  86. package/lib/commonjs/icons/actions/IconBeliMobil.js.map +1 -1
  87. package/lib/commonjs/icons/actions/IconCamera.js.map +1 -1
  88. package/lib/commonjs/icons/actions/IconChat.js.map +1 -1
  89. package/lib/commonjs/icons/actions/IconCopy.js.map +1 -1
  90. package/lib/commonjs/icons/actions/IconCustomerService.js.map +1 -1
  91. package/lib/commonjs/icons/actions/IconDot.js.map +1 -1
  92. package/lib/commonjs/icons/actions/IconDownload.js.map +1 -1
  93. package/lib/commonjs/icons/actions/IconEdit.js.map +1 -1
  94. package/lib/commonjs/icons/actions/IconEmail.js.map +1 -1
  95. package/lib/commonjs/icons/actions/IconFilter.js.map +1 -1
  96. package/lib/commonjs/icons/actions/IconGallery.js.map +1 -1
  97. package/lib/commonjs/icons/actions/IconHamburger.js.map +1 -1
  98. package/lib/commonjs/icons/actions/IconHeartEmpty.js.map +1 -1
  99. package/lib/commonjs/icons/actions/IconHeartFilled.js.map +1 -1
  100. package/lib/commonjs/icons/actions/IconHeartOutline.js.map +1 -1
  101. package/lib/commonjs/icons/actions/IconHelp.js.map +1 -1
  102. package/lib/commonjs/icons/actions/IconInfo.js.map +1 -1
  103. package/lib/commonjs/icons/actions/IconJualMobil.js.map +1 -1
  104. package/lib/commonjs/icons/actions/IconLike.js.map +1 -1
  105. package/lib/commonjs/icons/actions/IconMinus.js.map +1 -1
  106. package/lib/commonjs/icons/actions/IconNotification.js.map +1 -1
  107. package/lib/commonjs/icons/actions/IconOther.js.map +1 -1
  108. package/lib/commonjs/icons/actions/IconPerson.js.map +1 -1
  109. package/lib/commonjs/icons/actions/IconPicture.js.map +1 -1
  110. package/lib/commonjs/icons/actions/IconPictureAdd.js.map +1 -1
  111. package/lib/commonjs/icons/actions/IconReload.js.map +1 -1
  112. package/lib/commonjs/icons/actions/IconRoundAdd.js.map +1 -1
  113. package/lib/commonjs/icons/actions/IconRoundClose.js.map +1 -1
  114. package/lib/commonjs/icons/actions/IconSearch.js.map +1 -1
  115. package/lib/commonjs/icons/actions/IconSeeHide.js.map +1 -1
  116. package/lib/commonjs/icons/actions/IconSeeShow.js.map +1 -1
  117. package/lib/commonjs/icons/actions/IconSetting.js.map +1 -1
  118. package/lib/commonjs/icons/actions/IconShare.js.map +1 -1
  119. package/lib/commonjs/icons/actions/IconShoppingBag.js.map +1 -1
  120. package/lib/commonjs/icons/actions/IconShoppingCart.js.map +1 -1
  121. package/lib/commonjs/icons/actions/IconSmartphone.js.map +1 -1
  122. package/lib/commonjs/icons/actions/IconSort.js.map +1 -1
  123. package/lib/commonjs/icons/actions/IconSorting.js.map +1 -1
  124. package/lib/commonjs/icons/actions/IconStarFilled.js.map +1 -1
  125. package/lib/commonjs/icons/actions/IconStarOutline.js.map +1 -1
  126. package/lib/commonjs/icons/actions/IconTrash.js.map +1 -1
  127. package/lib/commonjs/icons/actions/IconUpload.js.map +1 -1
  128. package/lib/commonjs/icons/actions/IconUser.js.map +1 -1
  129. package/lib/commonjs/icons/actions/IconVideo.js.map +1 -1
  130. package/lib/commonjs/icons/index.js.map +1 -1
  131. package/lib/commonjs/icons/misc/IconCalendar.js.map +1 -1
  132. package/lib/commonjs/icons/misc/IconCash.js.map +1 -1
  133. package/lib/commonjs/icons/misc/IconCategory.js.map +1 -1
  134. package/lib/commonjs/icons/misc/IconContract.js.map +1 -1
  135. package/lib/commonjs/icons/misc/IconCreditCard.js.map +1 -1
  136. package/lib/commonjs/icons/misc/IconFlash.js.map +1 -1
  137. package/lib/commonjs/icons/misc/IconGroup.js.map +1 -1
  138. package/lib/commonjs/icons/misc/IconHistory.js.map +1 -1
  139. package/lib/commonjs/icons/misc/IconLocation.js.map +1 -1
  140. package/lib/commonjs/icons/misc/IconLock.js.map +1 -1
  141. package/lib/commonjs/icons/misc/IconMoney.js.map +1 -1
  142. package/lib/commonjs/icons/misc/IconMyLocation.js.map +1 -1
  143. package/lib/commonjs/icons/misc/IconOfficial.js.map +1 -1
  144. package/lib/commonjs/icons/misc/IconPromo.js.map +1 -1
  145. package/lib/commonjs/icons/misc/IconProtection.js.map +1 -1
  146. package/lib/commonjs/icons/misc/IconStore.js.map +1 -1
  147. package/lib/commonjs/icons/misc/IconTick.js.map +1 -1
  148. package/lib/commonjs/icons/misc/IconTicket.js.map +1 -1
  149. package/lib/commonjs/icons/misc/IconTime.js.map +1 -1
  150. package/lib/commonjs/icons/misc/IconVoucher.js.map +1 -1
  151. package/lib/commonjs/icons/navigations/IconArrowDiagonal.js.map +1 -1
  152. package/lib/commonjs/icons/navigations/IconArrowDown.js.map +1 -1
  153. package/lib/commonjs/icons/navigations/IconArrowLeft.js.map +1 -1
  154. package/lib/commonjs/icons/navigations/IconArrowRight.js.map +1 -1
  155. package/lib/commonjs/icons/navigations/IconArrowUp.js.map +1 -1
  156. package/lib/commonjs/icons/navigations/IconChevronDown.js.map +1 -1
  157. package/lib/commonjs/icons/navigations/IconChevronLeft.js.map +1 -1
  158. package/lib/commonjs/icons/navigations/IconChevronRight.js.map +1 -1
  159. package/lib/commonjs/icons/navigations/IconChevronUp.js.map +1 -1
  160. package/lib/commonjs/icons/navigations/IconClose.js.map +1 -1
  161. package/lib/commonjs/icons/navs/IconNavAdiraku.js.map +1 -1
  162. package/lib/commonjs/icons/navs/IconNavDocument.js.map +1 -1
  163. package/lib/commonjs/icons/navs/IconNavHome.js.map +1 -1
  164. package/lib/commonjs/icons/navs/IconNavPhone.js.map +1 -1
  165. package/lib/commonjs/icons/navs/IconNavProfile.js.map +1 -1
  166. package/lib/commonjs/icons/vehicles/IconBikeCaferacer.js.map +1 -1
  167. package/lib/commonjs/icons/vehicles/IconBikeCooper.js.map +1 -1
  168. package/lib/commonjs/icons/vehicles/IconBikeCruiser.js.map +1 -1
  169. package/lib/commonjs/icons/vehicles/IconBikeDualsport.js.map +1 -1
  170. package/lib/commonjs/icons/vehicles/IconBikeMopad.js.map +1 -1
  171. package/lib/commonjs/icons/vehicles/IconBikeRoadster.js.map +1 -1
  172. package/lib/commonjs/icons/vehicles/IconBikeScooter.js.map +1 -1
  173. package/lib/commonjs/icons/vehicles/IconBikeScrambler.js.map +1 -1
  174. package/lib/commonjs/icons/vehicles/IconBikeSportbike.js.map +1 -1
  175. package/lib/commonjs/icons/vehicles/IconBikeSportstouring.js.map +1 -1
  176. package/lib/commonjs/icons/vehicles/IconBikeTouring.js.map +1 -1
  177. package/lib/commonjs/icons/vehicles/IconBikeTrialbike.js.map +1 -1
  178. package/lib/commonjs/icons/vehicles/IconCarHatchback.js.map +1 -1
  179. package/lib/commonjs/icons/vehicles/IconCarJeep.js.map +1 -1
  180. package/lib/commonjs/icons/vehicles/IconCarMiniTruck.js.map +1 -1
  181. package/lib/commonjs/icons/vehicles/IconCarMinivan.js.map +1 -1
  182. package/lib/commonjs/icons/vehicles/IconCarMuv.js.map +1 -1
  183. package/lib/commonjs/icons/vehicles/IconCarPickup.js.map +1 -1
  184. package/lib/commonjs/icons/vehicles/IconCarSportCar.js.map +1 -1
  185. package/lib/commonjs/icons/vehicles/IconCarSuperCar.js.map +1 -1
  186. package/lib/commonjs/icons/vehicles/IconCarSuv.js.map +1 -1
  187. package/lib/commonjs/icons/vehicles/IconCarVan.js.map +1 -1
  188. package/lib/commonjs/icons/vehicles/IconCarWagon.js.map +1 -1
  189. package/lib/commonjs/icons/vehicles/IconMinus.js.map +1 -1
  190. package/lib/commonjs/index.js.map +1 -1
  191. package/lib/commonjs/themes/colors.js.map +1 -1
  192. package/lib/commonjs/themes/index.js.map +1 -1
  193. package/lib/commonjs/themes/radius.js.map +1 -1
  194. package/lib/commonjs/themes/shadow.js.map +1 -1
  195. package/lib/commonjs/themes/spacing.js.map +1 -1
  196. package/lib/commonjs/types.js.map +1 -1
  197. package/lib/module/components/Appbar/Appbar.component.js +4 -2
  198. package/lib/module/components/Appbar/Appbar.component.js.map +1 -1
  199. package/lib/module/components/Appbar/Appbar.style.js +5 -2
  200. package/lib/module/components/Appbar/Appbar.style.js.map +1 -1
  201. package/lib/module/components/Appbar/Appbar.type.js.map +1 -1
  202. package/lib/module/components/BottomSheet/BottomSheet.component.js +7 -25
  203. package/lib/module/components/BottomSheet/BottomSheet.component.js.map +1 -1
  204. package/lib/module/components/BottomSheet/BottomSheet.style.js +11 -4
  205. package/lib/module/components/BottomSheet/BottomSheet.style.js.map +1 -1
  206. package/lib/module/components/BottomSheet/BottomSheet.type.js.map +1 -1
  207. package/lib/module/components/CheckBoxInput/CheckBoxInput.component.js.map +1 -1
  208. package/lib/module/components/CheckBoxInput/CheckBoxInput.style.js.map +1 -1
  209. package/lib/module/components/CheckBoxInput/CheckBoxInput.type.js.map +1 -1
  210. package/lib/module/components/Checkbox/Checkbox.component.js.map +1 -1
  211. package/lib/module/components/Checkbox/Checkbox.style.js.map +1 -1
  212. package/lib/module/components/Checkbox/Checkbox.type.js.map +1 -1
  213. package/lib/module/components/Divider/Divider.component.js.map +1 -1
  214. package/lib/module/components/Divider/Divider.style.js.map +1 -1
  215. package/lib/module/components/Divider/Divider.type.js.map +1 -1
  216. package/lib/module/components/RadioButton/RadioButton.component.js.map +1 -1
  217. package/lib/module/components/RadioButton/RadioButton.style.js.map +1 -1
  218. package/lib/module/components/RadioButton/RadioButton.type.js.map +1 -1
  219. package/lib/module/components/RadioInput/RadioInput.component.js.map +1 -1
  220. package/lib/module/components/RadioInput/RadioInput.style.js.map +1 -1
  221. package/lib/module/components/RadioInput/RadioInput.type.js.map +1 -1
  222. package/lib/module/components/Snackbar/Snackbar.component.js.map +1 -1
  223. package/lib/module/components/Snackbar/Snackbar.type.js.map +1 -1
  224. package/lib/module/components/Snackbar/Snakbar.style.js.map +1 -1
  225. package/lib/module/components/StepperCounter/StepperCounter.component.js.map +1 -1
  226. package/lib/module/components/StepperCounter/StepperCounter.style.js.map +1 -1
  227. package/lib/module/components/StepperCounter/StepperCounter.type.js.map +1 -1
  228. package/lib/module/components/Tabs/Tabs.component.js +1 -0
  229. package/lib/module/components/Tabs/Tabs.component.js.map +1 -1
  230. package/lib/module/components/Tabs/Tabs.style.js.map +1 -1
  231. package/lib/module/components/Tabs/Tabs.type.js.map +1 -1
  232. package/lib/module/components/TextArea/TextArea.component.js.map +1 -1
  233. package/lib/module/components/TextArea/TextArea.style.js.map +1 -1
  234. package/lib/module/components/TextArea/TextArea.type.js.map +1 -1
  235. package/lib/module/components/TextInput/TextInput.component.js.map +1 -1
  236. package/lib/module/components/TextInput/TextInput.style.js.map +1 -1
  237. package/lib/module/components/TextInput/TextInput.type.js.map +1 -1
  238. package/lib/module/components/base/base.component.js.map +1 -1
  239. package/lib/module/components/base/base.style.js.map +1 -1
  240. package/lib/module/components/base/base.type.js.map +1 -1
  241. package/lib/module/components/button/button.component.js.map +1 -1
  242. package/lib/module/components/button/button.styles.js.map +1 -1
  243. package/lib/module/components/button/button.type.js.map +1 -1
  244. package/lib/module/components/coachmark/coachmark.component.js.map +1 -1
  245. package/lib/module/components/coachmark/coachmark.style.js.map +1 -1
  246. package/lib/module/components/coachmark/coachmark.type.js.map +1 -1
  247. package/lib/module/components/countdown/countdown.component.js.map +1 -1
  248. package/lib/module/components/countdown/countdown.style.js.map +1 -1
  249. package/lib/module/components/countdown/countdown.type.js.map +1 -1
  250. package/lib/module/components/dot/dot.component.js.map +1 -1
  251. package/lib/module/components/dot/dot.style.js.map +1 -1
  252. package/lib/module/components/dot/dot.type.js.map +1 -1
  253. package/lib/module/components/index.js.map +1 -1
  254. package/lib/module/components/information-box/information-box.component.js.map +1 -1
  255. package/lib/module/components/information-box/information-box.style.js.map +1 -1
  256. package/lib/module/components/information-box/information-box.type.js.map +1 -1
  257. package/lib/module/components/label/label.component.js.map +1 -1
  258. package/lib/module/components/label/label.style.js.map +1 -1
  259. package/lib/module/components/label/label.type.js.map +1 -1
  260. package/lib/module/components/rounded-tab/rounded-tab.component.js +7 -2
  261. package/lib/module/components/rounded-tab/rounded-tab.component.js.map +1 -1
  262. package/lib/module/components/rounded-tab/rounded-tab.style.js.map +1 -1
  263. package/lib/module/components/rounded-tab/rounded-tab.type.js.map +1 -1
  264. package/lib/module/components/slider-indicator/slider-indicator.component.js.map +1 -1
  265. package/lib/module/components/slider-indicator/slider-indicator.style.js.map +1 -1
  266. package/lib/module/components/slider-indicator/slider-indicator.type.js.map +1 -1
  267. package/lib/module/components/switch/switch.component.js.map +1 -1
  268. package/lib/module/components/switch/switch.style.js.map +1 -1
  269. package/lib/module/components/switch/switch.type.js.map +1 -1
  270. package/lib/module/components/textlink/textlink.component.js.map +1 -1
  271. package/lib/module/components/textlink/textlink.style.js.map +1 -1
  272. package/lib/module/components/textlink/textlink.type.js.map +1 -1
  273. package/lib/module/components/typography/typography.component.js.map +1 -1
  274. package/lib/module/components/typography/typography.style.js.map +1 -1
  275. package/lib/module/components/typography/typography.type.js.map +1 -1
  276. package/lib/module/icons/actions/IconAddMinus.js.map +1 -1
  277. package/lib/module/icons/actions/IconAddPlus.js.map +1 -1
  278. package/lib/module/icons/actions/IconAddRemove.js.map +1 -1
  279. package/lib/module/icons/actions/IconAttach.js.map +1 -1
  280. package/lib/module/icons/actions/IconBeliMobil.js.map +1 -1
  281. package/lib/module/icons/actions/IconCamera.js.map +1 -1
  282. package/lib/module/icons/actions/IconChat.js.map +1 -1
  283. package/lib/module/icons/actions/IconCopy.js.map +1 -1
  284. package/lib/module/icons/actions/IconCustomerService.js.map +1 -1
  285. package/lib/module/icons/actions/IconDot.js.map +1 -1
  286. package/lib/module/icons/actions/IconDownload.js.map +1 -1
  287. package/lib/module/icons/actions/IconEdit.js.map +1 -1
  288. package/lib/module/icons/actions/IconEmail.js.map +1 -1
  289. package/lib/module/icons/actions/IconFilter.js.map +1 -1
  290. package/lib/module/icons/actions/IconGallery.js.map +1 -1
  291. package/lib/module/icons/actions/IconHamburger.js.map +1 -1
  292. package/lib/module/icons/actions/IconHeartEmpty.js.map +1 -1
  293. package/lib/module/icons/actions/IconHeartFilled.js.map +1 -1
  294. package/lib/module/icons/actions/IconHeartOutline.js.map +1 -1
  295. package/lib/module/icons/actions/IconHelp.js.map +1 -1
  296. package/lib/module/icons/actions/IconInfo.js.map +1 -1
  297. package/lib/module/icons/actions/IconJualMobil.js.map +1 -1
  298. package/lib/module/icons/actions/IconLike.js.map +1 -1
  299. package/lib/module/icons/actions/IconMinus.js.map +1 -1
  300. package/lib/module/icons/actions/IconNotification.js.map +1 -1
  301. package/lib/module/icons/actions/IconOther.js.map +1 -1
  302. package/lib/module/icons/actions/IconPerson.js.map +1 -1
  303. package/lib/module/icons/actions/IconPicture.js.map +1 -1
  304. package/lib/module/icons/actions/IconPictureAdd.js.map +1 -1
  305. package/lib/module/icons/actions/IconReload.js.map +1 -1
  306. package/lib/module/icons/actions/IconRoundAdd.js.map +1 -1
  307. package/lib/module/icons/actions/IconRoundClose.js.map +1 -1
  308. package/lib/module/icons/actions/IconSearch.js.map +1 -1
  309. package/lib/module/icons/actions/IconSeeHide.js.map +1 -1
  310. package/lib/module/icons/actions/IconSeeShow.js.map +1 -1
  311. package/lib/module/icons/actions/IconSetting.js.map +1 -1
  312. package/lib/module/icons/actions/IconShare.js.map +1 -1
  313. package/lib/module/icons/actions/IconShoppingBag.js.map +1 -1
  314. package/lib/module/icons/actions/IconShoppingCart.js.map +1 -1
  315. package/lib/module/icons/actions/IconSmartphone.js.map +1 -1
  316. package/lib/module/icons/actions/IconSort.js.map +1 -1
  317. package/lib/module/icons/actions/IconSorting.js.map +1 -1
  318. package/lib/module/icons/actions/IconStarFilled.js.map +1 -1
  319. package/lib/module/icons/actions/IconStarOutline.js.map +1 -1
  320. package/lib/module/icons/actions/IconTrash.js.map +1 -1
  321. package/lib/module/icons/actions/IconUpload.js.map +1 -1
  322. package/lib/module/icons/actions/IconUser.js.map +1 -1
  323. package/lib/module/icons/actions/IconVideo.js.map +1 -1
  324. package/lib/module/icons/index.js.map +1 -1
  325. package/lib/module/icons/misc/IconCalendar.js.map +1 -1
  326. package/lib/module/icons/misc/IconCash.js.map +1 -1
  327. package/lib/module/icons/misc/IconCategory.js.map +1 -1
  328. package/lib/module/icons/misc/IconContract.js.map +1 -1
  329. package/lib/module/icons/misc/IconCreditCard.js.map +1 -1
  330. package/lib/module/icons/misc/IconFlash.js.map +1 -1
  331. package/lib/module/icons/misc/IconGroup.js.map +1 -1
  332. package/lib/module/icons/misc/IconHistory.js.map +1 -1
  333. package/lib/module/icons/misc/IconLocation.js.map +1 -1
  334. package/lib/module/icons/misc/IconLock.js.map +1 -1
  335. package/lib/module/icons/misc/IconMoney.js.map +1 -1
  336. package/lib/module/icons/misc/IconMyLocation.js.map +1 -1
  337. package/lib/module/icons/misc/IconOfficial.js.map +1 -1
  338. package/lib/module/icons/misc/IconPromo.js.map +1 -1
  339. package/lib/module/icons/misc/IconProtection.js.map +1 -1
  340. package/lib/module/icons/misc/IconStore.js.map +1 -1
  341. package/lib/module/icons/misc/IconTick.js.map +1 -1
  342. package/lib/module/icons/misc/IconTicket.js.map +1 -1
  343. package/lib/module/icons/misc/IconTime.js.map +1 -1
  344. package/lib/module/icons/misc/IconVoucher.js.map +1 -1
  345. package/lib/module/icons/navigations/IconArrowDiagonal.js.map +1 -1
  346. package/lib/module/icons/navigations/IconArrowDown.js.map +1 -1
  347. package/lib/module/icons/navigations/IconArrowLeft.js.map +1 -1
  348. package/lib/module/icons/navigations/IconArrowRight.js.map +1 -1
  349. package/lib/module/icons/navigations/IconArrowUp.js.map +1 -1
  350. package/lib/module/icons/navigations/IconChevronDown.js.map +1 -1
  351. package/lib/module/icons/navigations/IconChevronLeft.js.map +1 -1
  352. package/lib/module/icons/navigations/IconChevronRight.js.map +1 -1
  353. package/lib/module/icons/navigations/IconChevronUp.js.map +1 -1
  354. package/lib/module/icons/navigations/IconClose.js.map +1 -1
  355. package/lib/module/icons/navs/IconNavAdiraku.js.map +1 -1
  356. package/lib/module/icons/navs/IconNavDocument.js.map +1 -1
  357. package/lib/module/icons/navs/IconNavHome.js.map +1 -1
  358. package/lib/module/icons/navs/IconNavPhone.js.map +1 -1
  359. package/lib/module/icons/navs/IconNavProfile.js.map +1 -1
  360. package/lib/module/icons/vehicles/IconBikeCaferacer.js.map +1 -1
  361. package/lib/module/icons/vehicles/IconBikeCooper.js.map +1 -1
  362. package/lib/module/icons/vehicles/IconBikeCruiser.js.map +1 -1
  363. package/lib/module/icons/vehicles/IconBikeDualsport.js.map +1 -1
  364. package/lib/module/icons/vehicles/IconBikeMopad.js.map +1 -1
  365. package/lib/module/icons/vehicles/IconBikeRoadster.js.map +1 -1
  366. package/lib/module/icons/vehicles/IconBikeScooter.js.map +1 -1
  367. package/lib/module/icons/vehicles/IconBikeScrambler.js.map +1 -1
  368. package/lib/module/icons/vehicles/IconBikeSportbike.js.map +1 -1
  369. package/lib/module/icons/vehicles/IconBikeSportstouring.js.map +1 -1
  370. package/lib/module/icons/vehicles/IconBikeTouring.js.map +1 -1
  371. package/lib/module/icons/vehicles/IconBikeTrialbike.js.map +1 -1
  372. package/lib/module/icons/vehicles/IconCarHatchback.js.map +1 -1
  373. package/lib/module/icons/vehicles/IconCarJeep.js.map +1 -1
  374. package/lib/module/icons/vehicles/IconCarMiniTruck.js.map +1 -1
  375. package/lib/module/icons/vehicles/IconCarMinivan.js.map +1 -1
  376. package/lib/module/icons/vehicles/IconCarMuv.js.map +1 -1
  377. package/lib/module/icons/vehicles/IconCarPickup.js.map +1 -1
  378. package/lib/module/icons/vehicles/IconCarSportCar.js.map +1 -1
  379. package/lib/module/icons/vehicles/IconCarSuperCar.js.map +1 -1
  380. package/lib/module/icons/vehicles/IconCarSuv.js.map +1 -1
  381. package/lib/module/icons/vehicles/IconCarVan.js.map +1 -1
  382. package/lib/module/icons/vehicles/IconCarWagon.js.map +1 -1
  383. package/lib/module/icons/vehicles/IconMinus.js.map +1 -1
  384. package/lib/module/index.js.map +1 -1
  385. package/lib/module/themes/colors.js.map +1 -1
  386. package/lib/module/themes/index.js.map +1 -1
  387. package/lib/module/themes/radius.js.map +1 -1
  388. package/lib/module/themes/shadow.js.map +1 -1
  389. package/lib/module/themes/spacing.js.map +1 -1
  390. package/lib/module/types.js.map +1 -1
  391. package/lib/typescript/components/Appbar/Appbar.component.d.ts +4 -4
  392. package/lib/typescript/components/Appbar/Appbar.component.d.ts.map +1 -1
  393. package/lib/typescript/components/Appbar/Appbar.style.d.ts +12 -11
  394. package/lib/typescript/components/Appbar/Appbar.style.d.ts.map +1 -1
  395. package/lib/typescript/components/Appbar/Appbar.type.d.ts +19 -19
  396. package/lib/typescript/components/BottomSheet/BottomSheet.component.d.ts +9 -9
  397. package/lib/typescript/components/BottomSheet/BottomSheet.component.d.ts.map +1 -1
  398. package/lib/typescript/components/BottomSheet/BottomSheet.style.d.ts +20 -19
  399. package/lib/typescript/components/BottomSheet/BottomSheet.style.d.ts.map +1 -1
  400. package/lib/typescript/components/BottomSheet/BottomSheet.type.d.ts +25 -25
  401. package/lib/typescript/components/BottomSheet/BottomSheet.type.d.ts.map +1 -1
  402. package/lib/typescript/components/CheckBoxInput/CheckBoxInput.component.d.ts +4 -4
  403. package/lib/typescript/components/CheckBoxInput/CheckBoxInput.style.d.ts +17 -17
  404. package/lib/typescript/components/CheckBoxInput/CheckBoxInput.type.d.ts +55 -55
  405. package/lib/typescript/components/Checkbox/Checkbox.component.d.ts +4 -4
  406. package/lib/typescript/components/Checkbox/Checkbox.style.d.ts +11 -11
  407. package/lib/typescript/components/Checkbox/Checkbox.type.d.ts +5 -5
  408. package/lib/typescript/components/Divider/Divider.component.d.ts +4 -4
  409. package/lib/typescript/components/Divider/Divider.style.d.ts +9 -9
  410. package/lib/typescript/components/Divider/Divider.type.d.ts +15 -15
  411. package/lib/typescript/components/RadioButton/RadioButton.component.d.ts +4 -4
  412. package/lib/typescript/components/RadioButton/RadioButton.style.d.ts +10 -10
  413. package/lib/typescript/components/RadioButton/RadioButton.type.d.ts +5 -5
  414. package/lib/typescript/components/RadioInput/RadioInput.component.d.ts +4 -4
  415. package/lib/typescript/components/RadioInput/RadioInput.style.d.ts +17 -17
  416. package/lib/typescript/components/RadioInput/RadioInput.type.d.ts +54 -54
  417. package/lib/typescript/components/Snackbar/Snackbar.component.d.ts +11 -11
  418. package/lib/typescript/components/Snackbar/Snackbar.type.d.ts +7 -7
  419. package/lib/typescript/components/Snackbar/Snakbar.style.d.ts +9 -9
  420. package/lib/typescript/components/StepperCounter/StepperCounter.component.d.ts +4 -4
  421. package/lib/typescript/components/StepperCounter/StepperCounter.style.d.ts +18 -18
  422. package/lib/typescript/components/StepperCounter/StepperCounter.type.d.ts +15 -15
  423. package/lib/typescript/components/Tabs/Tabs.component.d.ts +4 -4
  424. package/lib/typescript/components/Tabs/Tabs.component.d.ts.map +1 -1
  425. package/lib/typescript/components/Tabs/Tabs.style.d.ts +8 -8
  426. package/lib/typescript/components/Tabs/Tabs.type.d.ts +15 -15
  427. package/lib/typescript/components/TextArea/TextArea.component.d.ts +4 -4
  428. package/lib/typescript/components/TextArea/TextArea.style.d.ts +15 -15
  429. package/lib/typescript/components/TextArea/TextArea.type.d.ts +28 -28
  430. package/lib/typescript/components/TextInput/TextInput.component.d.ts +4 -4
  431. package/lib/typescript/components/TextInput/TextInput.style.d.ts +16 -16
  432. package/lib/typescript/components/TextInput/TextInput.type.d.ts +32 -32
  433. package/lib/typescript/components/base/base.component.d.ts +4 -4
  434. package/lib/typescript/components/base/base.style.d.ts +9 -9
  435. package/lib/typescript/components/base/base.type.d.ts +14 -14
  436. package/lib/typescript/components/button/button.component.d.ts +4 -4
  437. package/lib/typescript/components/button/button.styles.d.ts +9 -9
  438. package/lib/typescript/components/button/button.type.d.ts +33 -33
  439. package/lib/typescript/components/coachmark/coachmark.component.d.ts +3 -3
  440. package/lib/typescript/components/coachmark/coachmark.style.d.ts +12 -12
  441. package/lib/typescript/components/coachmark/coachmark.type.d.ts +31 -31
  442. package/lib/typescript/components/countdown/countdown.component.d.ts +4 -4
  443. package/lib/typescript/components/countdown/countdown.style.d.ts +9 -9
  444. package/lib/typescript/components/countdown/countdown.type.d.ts +11 -11
  445. package/lib/typescript/components/dot/dot.component.d.ts +4 -4
  446. package/lib/typescript/components/dot/dot.style.d.ts +8 -8
  447. package/lib/typescript/components/dot/dot.type.d.ts +5 -5
  448. package/lib/typescript/components/index.d.ts +35 -35
  449. package/lib/typescript/components/information-box/information-box.component.d.ts +4 -4
  450. package/lib/typescript/components/information-box/information-box.style.d.ts +11 -11
  451. package/lib/typescript/components/information-box/information-box.type.d.ts +13 -13
  452. package/lib/typescript/components/label/label.component.d.ts +4 -4
  453. package/lib/typescript/components/label/label.style.d.ts +6 -6
  454. package/lib/typescript/components/label/label.type.d.ts +13 -13
  455. package/lib/typescript/components/rounded-tab/rounded-tab.component.d.ts +4 -4
  456. package/lib/typescript/components/rounded-tab/rounded-tab.component.d.ts.map +1 -1
  457. package/lib/typescript/components/rounded-tab/rounded-tab.style.d.ts +16 -16
  458. package/lib/typescript/components/rounded-tab/rounded-tab.type.d.ts +16 -14
  459. package/lib/typescript/components/rounded-tab/rounded-tab.type.d.ts.map +1 -1
  460. package/lib/typescript/components/slider-indicator/slider-indicator.component.d.ts +4 -4
  461. package/lib/typescript/components/slider-indicator/slider-indicator.style.d.ts +8 -8
  462. package/lib/typescript/components/slider-indicator/slider-indicator.type.d.ts +20 -20
  463. package/lib/typescript/components/switch/switch.component.d.ts +4 -4
  464. package/lib/typescript/components/switch/switch.style.d.ts +9 -9
  465. package/lib/typescript/components/switch/switch.type.d.ts +5 -5
  466. package/lib/typescript/components/textlink/textlink.component.d.ts +3 -3
  467. package/lib/typescript/components/textlink/textlink.style.d.ts +10 -10
  468. package/lib/typescript/components/textlink/textlink.type.d.ts +25 -25
  469. package/lib/typescript/components/typography/typography.component.d.ts +4 -4
  470. package/lib/typescript/components/typography/typography.style.d.ts +33 -33
  471. package/lib/typescript/components/typography/typography.type.d.ts +24 -24
  472. package/lib/typescript/icons/actions/IconAddMinus.d.ts +3 -3
  473. package/lib/typescript/icons/actions/IconAddPlus.d.ts +3 -3
  474. package/lib/typescript/icons/actions/IconAddRemove.d.ts +3 -3
  475. package/lib/typescript/icons/actions/IconAttach.d.ts +3 -3
  476. package/lib/typescript/icons/actions/IconBeliMobil.d.ts +4 -4
  477. package/lib/typescript/icons/actions/IconCamera.d.ts +4 -4
  478. package/lib/typescript/icons/actions/IconChat.d.ts +4 -4
  479. package/lib/typescript/icons/actions/IconCopy.d.ts +4 -4
  480. package/lib/typescript/icons/actions/IconCustomerService.d.ts +3 -3
  481. package/lib/typescript/icons/actions/IconDot.d.ts +4 -4
  482. package/lib/typescript/icons/actions/IconDownload.d.ts +3 -3
  483. package/lib/typescript/icons/actions/IconEdit.d.ts +4 -4
  484. package/lib/typescript/icons/actions/IconEmail.d.ts +4 -4
  485. package/lib/typescript/icons/actions/IconFilter.d.ts +4 -4
  486. package/lib/typescript/icons/actions/IconGallery.d.ts +4 -4
  487. package/lib/typescript/icons/actions/IconHamburger.d.ts +3 -3
  488. package/lib/typescript/icons/actions/IconHeartEmpty.d.ts +5 -5
  489. package/lib/typescript/icons/actions/IconHeartFilled.d.ts +3 -3
  490. package/lib/typescript/icons/actions/IconHeartOutline.d.ts +3 -3
  491. package/lib/typescript/icons/actions/IconHelp.d.ts +4 -4
  492. package/lib/typescript/icons/actions/IconInfo.d.ts +4 -4
  493. package/lib/typescript/icons/actions/IconJualMobil.d.ts +4 -4
  494. package/lib/typescript/icons/actions/IconLike.d.ts +4 -4
  495. package/lib/typescript/icons/actions/IconMinus.d.ts +4 -4
  496. package/lib/typescript/icons/actions/IconNotification.d.ts +4 -4
  497. package/lib/typescript/icons/actions/IconOther.d.ts +4 -4
  498. package/lib/typescript/icons/actions/IconPerson.d.ts +3 -3
  499. package/lib/typescript/icons/actions/IconPicture.d.ts +3 -3
  500. package/lib/typescript/icons/actions/IconPictureAdd.d.ts +3 -3
  501. package/lib/typescript/icons/actions/IconReload.d.ts +3 -3
  502. package/lib/typescript/icons/actions/IconRoundAdd.d.ts +4 -4
  503. package/lib/typescript/icons/actions/IconRoundClose.d.ts +4 -4
  504. package/lib/typescript/icons/actions/IconSearch.d.ts +3 -3
  505. package/lib/typescript/icons/actions/IconSeeHide.d.ts +3 -3
  506. package/lib/typescript/icons/actions/IconSeeShow.d.ts +3 -3
  507. package/lib/typescript/icons/actions/IconSetting.d.ts +4 -4
  508. package/lib/typescript/icons/actions/IconShare.d.ts +4 -4
  509. package/lib/typescript/icons/actions/IconShoppingBag.d.ts +4 -4
  510. package/lib/typescript/icons/actions/IconShoppingCart.d.ts +4 -4
  511. package/lib/typescript/icons/actions/IconSmartphone.d.ts +4 -4
  512. package/lib/typescript/icons/actions/IconSort.d.ts +3 -3
  513. package/lib/typescript/icons/actions/IconSorting.d.ts +3 -3
  514. package/lib/typescript/icons/actions/IconStarFilled.d.ts +3 -3
  515. package/lib/typescript/icons/actions/IconStarOutline.d.ts +3 -3
  516. package/lib/typescript/icons/actions/IconTrash.d.ts +4 -4
  517. package/lib/typescript/icons/actions/IconUpload.d.ts +3 -3
  518. package/lib/typescript/icons/actions/IconUser.d.ts +4 -4
  519. package/lib/typescript/icons/actions/IconVideo.d.ts +4 -4
  520. package/lib/typescript/icons/index.d.ts +106 -106
  521. package/lib/typescript/icons/misc/IconCalendar.d.ts +3 -3
  522. package/lib/typescript/icons/misc/IconCash.d.ts +3 -3
  523. package/lib/typescript/icons/misc/IconCategory.d.ts +3 -3
  524. package/lib/typescript/icons/misc/IconContract.d.ts +3 -3
  525. package/lib/typescript/icons/misc/IconCreditCard.d.ts +3 -3
  526. package/lib/typescript/icons/misc/IconFlash.d.ts +3 -3
  527. package/lib/typescript/icons/misc/IconGroup.d.ts +3 -3
  528. package/lib/typescript/icons/misc/IconHistory.d.ts +3 -3
  529. package/lib/typescript/icons/misc/IconLocation.d.ts +3 -3
  530. package/lib/typescript/icons/misc/IconLock.d.ts +3 -3
  531. package/lib/typescript/icons/misc/IconMoney.d.ts +3 -3
  532. package/lib/typescript/icons/misc/IconMyLocation.d.ts +3 -3
  533. package/lib/typescript/icons/misc/IconOfficial.d.ts +3 -3
  534. package/lib/typescript/icons/misc/IconPromo.d.ts +3 -3
  535. package/lib/typescript/icons/misc/IconProtection.d.ts +3 -3
  536. package/lib/typescript/icons/misc/IconStore.d.ts +3 -3
  537. package/lib/typescript/icons/misc/IconTick.d.ts +3 -3
  538. package/lib/typescript/icons/misc/IconTicket.d.ts +3 -3
  539. package/lib/typescript/icons/misc/IconTime.d.ts +3 -3
  540. package/lib/typescript/icons/misc/IconVoucher.d.ts +3 -3
  541. package/lib/typescript/icons/navigations/IconArrowDiagonal.d.ts +3 -3
  542. package/lib/typescript/icons/navigations/IconArrowDown.d.ts +3 -3
  543. package/lib/typescript/icons/navigations/IconArrowLeft.d.ts +3 -3
  544. package/lib/typescript/icons/navigations/IconArrowRight.d.ts +3 -3
  545. package/lib/typescript/icons/navigations/IconArrowUp.d.ts +3 -3
  546. package/lib/typescript/icons/navigations/IconChevronDown.d.ts +3 -3
  547. package/lib/typescript/icons/navigations/IconChevronLeft.d.ts +3 -3
  548. package/lib/typescript/icons/navigations/IconChevronRight.d.ts +3 -3
  549. package/lib/typescript/icons/navigations/IconChevronUp.d.ts +3 -3
  550. package/lib/typescript/icons/navigations/IconClose.d.ts +3 -3
  551. package/lib/typescript/icons/navs/IconNavAdiraku.d.ts +5 -5
  552. package/lib/typescript/icons/navs/IconNavDocument.d.ts +5 -5
  553. package/lib/typescript/icons/navs/IconNavHome.d.ts +3 -3
  554. package/lib/typescript/icons/navs/IconNavPhone.d.ts +3 -3
  555. package/lib/typescript/icons/navs/IconNavProfile.d.ts +3 -3
  556. package/lib/typescript/icons/vehicles/IconBikeCaferacer.d.ts +3 -3
  557. package/lib/typescript/icons/vehicles/IconBikeCooper.d.ts +3 -3
  558. package/lib/typescript/icons/vehicles/IconBikeCruiser.d.ts +3 -3
  559. package/lib/typescript/icons/vehicles/IconBikeDualsport.d.ts +3 -3
  560. package/lib/typescript/icons/vehicles/IconBikeMopad.d.ts +3 -3
  561. package/lib/typescript/icons/vehicles/IconBikeRoadster.d.ts +3 -3
  562. package/lib/typescript/icons/vehicles/IconBikeScooter.d.ts +3 -3
  563. package/lib/typescript/icons/vehicles/IconBikeScrambler.d.ts +3 -3
  564. package/lib/typescript/icons/vehicles/IconBikeSportbike.d.ts +3 -3
  565. package/lib/typescript/icons/vehicles/IconBikeSportstouring.d.ts +3 -3
  566. package/lib/typescript/icons/vehicles/IconBikeTouring.d.ts +3 -3
  567. package/lib/typescript/icons/vehicles/IconBikeTrialbike.d.ts +3 -3
  568. package/lib/typescript/icons/vehicles/IconCarHatchback.d.ts +3 -3
  569. package/lib/typescript/icons/vehicles/IconCarJeep.d.ts +3 -3
  570. package/lib/typescript/icons/vehicles/IconCarMiniTruck.d.ts +3 -3
  571. package/lib/typescript/icons/vehicles/IconCarMinivan.d.ts +3 -3
  572. package/lib/typescript/icons/vehicles/IconCarMuv.d.ts +3 -3
  573. package/lib/typescript/icons/vehicles/IconCarPickup.d.ts +3 -3
  574. package/lib/typescript/icons/vehicles/IconCarSportCar.d.ts +3 -3
  575. package/lib/typescript/icons/vehicles/IconCarSuperCar.d.ts +3 -3
  576. package/lib/typescript/icons/vehicles/IconCarSuv.d.ts +3 -3
  577. package/lib/typescript/icons/vehicles/IconCarVan.d.ts +3 -3
  578. package/lib/typescript/icons/vehicles/IconCarWagon.d.ts +3 -3
  579. package/lib/typescript/icons/vehicles/IconMinus.d.ts +4 -4
  580. package/lib/typescript/index.d.ts +2 -2
  581. package/lib/typescript/themes/colors.d.ts +29 -29
  582. package/lib/typescript/themes/index.d.ts +4 -4
  583. package/lib/typescript/themes/radius.d.ts +11 -11
  584. package/lib/typescript/themes/shadow.d.ts +5 -5
  585. package/lib/typescript/themes/spacing.d.ts +15 -15
  586. package/lib/typescript/types.d.ts +27 -27
  587. package/package.json +133 -133
  588. package/react-native-ui.podspec +36 -36
  589. package/src/components/Appbar/Appbar.component.tsx +74 -73
  590. package/src/components/Appbar/Appbar.style.tsx +53 -48
  591. package/src/components/Appbar/Appbar.type.ts +30 -30
  592. package/src/components/BottomSheet/BottomSheet.component.tsx +217 -238
  593. package/src/components/BottomSheet/BottomSheet.style.tsx +98 -89
  594. package/src/components/BottomSheet/BottomSheet.type.ts +41 -41
  595. package/src/components/CheckBoxInput/CheckBoxInput.component.tsx +273 -273
  596. package/src/components/CheckBoxInput/CheckBoxInput.style.tsx +106 -106
  597. package/src/components/CheckBoxInput/CheckBoxInput.type.ts +75 -75
  598. package/src/components/Checkbox/Checkbox.component.tsx +37 -37
  599. package/src/components/Checkbox/Checkbox.style.tsx +39 -39
  600. package/src/components/Checkbox/Checkbox.type.ts +7 -7
  601. package/src/components/Divider/Divider.component.tsx +23 -23
  602. package/src/components/Divider/Divider.style.tsx +34 -34
  603. package/src/components/Divider/Divider.type.ts +18 -18
  604. package/src/components/RadioButton/RadioButton.component.tsx +31 -31
  605. package/src/components/RadioButton/RadioButton.style.tsx +45 -45
  606. package/src/components/RadioButton/RadioButton.type.ts +7 -7
  607. package/src/components/RadioInput/RadioInput.component.tsx +243 -243
  608. package/src/components/RadioInput/RadioInput.style.tsx +106 -106
  609. package/src/components/RadioInput/RadioInput.type.ts +73 -73
  610. package/src/components/Snackbar/Snackbar.component.tsx +79 -79
  611. package/src/components/Snackbar/Snackbar.type.ts +10 -10
  612. package/src/components/Snackbar/Snakbar.style.tsx +41 -41
  613. package/src/components/StepperCounter/StepperCounter.component.tsx +111 -111
  614. package/src/components/StepperCounter/StepperCounter.style.tsx +96 -96
  615. package/src/components/StepperCounter/StepperCounter.type.ts +18 -18
  616. package/src/components/Tabs/Tabs.component.tsx +95 -94
  617. package/src/components/Tabs/Tabs.style.tsx +34 -34
  618. package/src/components/Tabs/Tabs.type.ts +16 -16
  619. package/src/components/TextArea/TextArea.component.tsx +78 -78
  620. package/src/components/TextArea/TextArea.style.tsx +68 -68
  621. package/src/components/TextArea/TextArea.type.ts +32 -32
  622. package/src/components/TextInput/TextInput.component.tsx +124 -124
  623. package/src/components/TextInput/TextInput.style.tsx +95 -95
  624. package/src/components/TextInput/TextInput.type.ts +38 -38
  625. package/src/components/base/base.component.tsx +19 -19
  626. package/src/components/base/base.style.tsx +27 -27
  627. package/src/components/base/base.type.ts +15 -15
  628. package/src/components/button/button.component.tsx +50 -50
  629. package/src/components/button/button.styles.ts +76 -76
  630. package/src/components/button/button.type.ts +35 -35
  631. package/src/components/coachmark/coachmark.component.tsx +37 -37
  632. package/src/components/coachmark/coachmark.style.tsx +80 -80
  633. package/src/components/coachmark/coachmark.type.ts +32 -32
  634. package/src/components/countdown/countdown.component.tsx +99 -99
  635. package/src/components/countdown/countdown.style.tsx +43 -43
  636. package/src/components/countdown/countdown.type.ts +12 -12
  637. package/src/components/dot/dot.component.tsx +23 -23
  638. package/src/components/dot/dot.style.tsx +33 -33
  639. package/src/components/dot/dot.type.ts +6 -6
  640. package/src/components/index.ts +49 -49
  641. package/src/components/information-box/information-box.component.tsx +55 -55
  642. package/src/components/information-box/information-box.style.tsx +49 -49
  643. package/src/components/information-box/information-box.type.ts +20 -20
  644. package/src/components/label/label.component.tsx +19 -19
  645. package/src/components/label/label.style.tsx +16 -16
  646. package/src/components/label/label.type.ts +14 -14
  647. package/src/components/rounded-tab/rounded-tab.component.tsx +124 -115
  648. package/src/components/rounded-tab/rounded-tab.style.tsx +66 -66
  649. package/src/components/rounded-tab/rounded-tab.type.ts +18 -16
  650. package/src/components/slider-indicator/slider-indicator.component.tsx +81 -81
  651. package/src/components/slider-indicator/slider-indicator.style.tsx +31 -31
  652. package/src/components/slider-indicator/slider-indicator.type.ts +23 -23
  653. package/src/components/switch/switch.component.tsx +53 -53
  654. package/src/components/switch/switch.style.tsx +52 -52
  655. package/src/components/switch/switch.type.ts +7 -7
  656. package/src/components/textlink/textlink.component.tsx +44 -44
  657. package/src/components/textlink/textlink.style.tsx +36 -36
  658. package/src/components/textlink/textlink.type.ts +26 -26
  659. package/src/components/typography/typography.component.tsx +27 -27
  660. package/src/components/typography/typography.style.tsx +237 -237
  661. package/src/components/typography/typography.type.ts +56 -56
  662. package/src/icons/actions/IconAddMinus.tsx +32 -32
  663. package/src/icons/actions/IconAddPlus.tsx +32 -32
  664. package/src/icons/actions/IconAddRemove.tsx +27 -27
  665. package/src/icons/actions/IconAttach.tsx +32 -32
  666. package/src/icons/actions/IconBeliMobil.tsx +63 -63
  667. package/src/icons/actions/IconCamera.tsx +57 -57
  668. package/src/icons/actions/IconChat.tsx +57 -57
  669. package/src/icons/actions/IconCopy.tsx +71 -71
  670. package/src/icons/actions/IconCustomerService.tsx +37 -37
  671. package/src/icons/actions/IconDot.tsx +63 -63
  672. package/src/icons/actions/IconDownload.tsx +32 -32
  673. package/src/icons/actions/IconEdit.tsx +57 -57
  674. package/src/icons/actions/IconEmail.tsx +55 -55
  675. package/src/icons/actions/IconFilter.tsx +81 -81
  676. package/src/icons/actions/IconGallery.tsx +67 -67
  677. package/src/icons/actions/IconHamburger.tsx +32 -32
  678. package/src/icons/actions/IconHeartEmpty.tsx +59 -59
  679. package/src/icons/actions/IconHeartFilled.tsx +25 -25
  680. package/src/icons/actions/IconHeartOutline.tsx +32 -32
  681. package/src/icons/actions/IconHelp.tsx +59 -59
  682. package/src/icons/actions/IconInfo.tsx +65 -65
  683. package/src/icons/actions/IconJualMobil.tsx +63 -63
  684. package/src/icons/actions/IconLike.tsx +55 -55
  685. package/src/icons/actions/IconMinus.tsx +59 -59
  686. package/src/icons/actions/IconNotification.tsx +71 -71
  687. package/src/icons/actions/IconOther.tsx +55 -55
  688. package/src/icons/actions/IconPerson.tsx +32 -32
  689. package/src/icons/actions/IconPicture.tsx +36 -36
  690. package/src/icons/actions/IconPictureAdd.tsx +44 -44
  691. package/src/icons/actions/IconReload.tsx +30 -30
  692. package/src/icons/actions/IconRoundAdd.tsx +63 -63
  693. package/src/icons/actions/IconRoundClose.tsx +63 -63
  694. package/src/icons/actions/IconSearch.tsx +32 -32
  695. package/src/icons/actions/IconSeeHide.tsx +31 -31
  696. package/src/icons/actions/IconSeeShow.tsx +30 -30
  697. package/src/icons/actions/IconSetting.tsx +59 -59
  698. package/src/icons/actions/IconShare.tsx +57 -57
  699. package/src/icons/actions/IconShoppingBag.tsx +63 -63
  700. package/src/icons/actions/IconShoppingCart.tsx +59 -59
  701. package/src/icons/actions/IconSmartphone.tsx +55 -55
  702. package/src/icons/actions/IconSort.tsx +32 -32
  703. package/src/icons/actions/IconSorting.tsx +38 -38
  704. package/src/icons/actions/IconStarFilled.tsx +32 -32
  705. package/src/icons/actions/IconStarOutline.tsx +32 -32
  706. package/src/icons/actions/IconTrash.tsx +69 -69
  707. package/src/icons/actions/IconUpload.tsx +32 -32
  708. package/src/icons/actions/IconUser.tsx +55 -55
  709. package/src/icons/actions/IconVideo.tsx +59 -59
  710. package/src/icons/index.ts +120 -120
  711. package/src/icons/misc/IconCalendar.tsx +32 -32
  712. package/src/icons/misc/IconCash.tsx +32 -32
  713. package/src/icons/misc/IconCategory.tsx +32 -32
  714. package/src/icons/misc/IconContract.tsx +36 -36
  715. package/src/icons/misc/IconCreditCard.tsx +32 -32
  716. package/src/icons/misc/IconFlash.tsx +30 -30
  717. package/src/icons/misc/IconGroup.tsx +32 -32
  718. package/src/icons/misc/IconHistory.tsx +42 -42
  719. package/src/icons/misc/IconLocation.tsx +32 -32
  720. package/src/icons/misc/IconLock.tsx +33 -33
  721. package/src/icons/misc/IconMoney.tsx +37 -37
  722. package/src/icons/misc/IconMyLocation.tsx +32 -32
  723. package/src/icons/misc/IconOfficial.tsx +34 -34
  724. package/src/icons/misc/IconPromo.tsx +32 -32
  725. package/src/icons/misc/IconProtection.tsx +39 -39
  726. package/src/icons/misc/IconStore.tsx +40 -40
  727. package/src/icons/misc/IconTick.tsx +32 -32
  728. package/src/icons/misc/IconTicket.tsx +32 -32
  729. package/src/icons/misc/IconTime.tsx +38 -38
  730. package/src/icons/misc/IconVoucher.tsx +38 -38
  731. package/src/icons/navigations/IconArrowDiagonal.tsx +39 -39
  732. package/src/icons/navigations/IconArrowDown.tsx +32 -32
  733. package/src/icons/navigations/IconArrowLeft.tsx +32 -32
  734. package/src/icons/navigations/IconArrowRight.tsx +32 -32
  735. package/src/icons/navigations/IconArrowUp.tsx +32 -32
  736. package/src/icons/navigations/IconChevronDown.tsx +27 -27
  737. package/src/icons/navigations/IconChevronLeft.tsx +27 -27
  738. package/src/icons/navigations/IconChevronRight.tsx +27 -27
  739. package/src/icons/navigations/IconChevronUp.tsx +27 -27
  740. package/src/icons/navigations/IconClose.tsx +38 -38
  741. package/src/icons/navs/IconNavAdiraku.tsx +44 -44
  742. package/src/icons/navs/IconNavDocument.tsx +41 -41
  743. package/src/icons/navs/IconNavHome.tsx +31 -31
  744. package/src/icons/navs/IconNavPhone.tsx +32 -32
  745. package/src/icons/navs/IconNavProfile.tsx +32 -32
  746. package/src/icons/vehicles/IconBikeCaferacer.tsx +34 -34
  747. package/src/icons/vehicles/IconBikeCooper.tsx +38 -38
  748. package/src/icons/vehicles/IconBikeCruiser.tsx +34 -34
  749. package/src/icons/vehicles/IconBikeDualsport.tsx +34 -34
  750. package/src/icons/vehicles/IconBikeMopad.tsx +42 -42
  751. package/src/icons/vehicles/IconBikeRoadster.tsx +38 -38
  752. package/src/icons/vehicles/IconBikeScooter.tsx +34 -34
  753. package/src/icons/vehicles/IconBikeScrambler.tsx +34 -34
  754. package/src/icons/vehicles/IconBikeSportbike.tsx +34 -34
  755. package/src/icons/vehicles/IconBikeSportstouring.tsx +34 -34
  756. package/src/icons/vehicles/IconBikeTouring.tsx +30 -30
  757. package/src/icons/vehicles/IconBikeTrialbike.tsx +34 -34
  758. package/src/icons/vehicles/IconCarHatchback.tsx +32 -32
  759. package/src/icons/vehicles/IconCarJeep.tsx +32 -32
  760. package/src/icons/vehicles/IconCarMiniTruck.tsx +32 -32
  761. package/src/icons/vehicles/IconCarMinivan.tsx +32 -32
  762. package/src/icons/vehicles/IconCarMuv.tsx +32 -32
  763. package/src/icons/vehicles/IconCarPickup.tsx +32 -32
  764. package/src/icons/vehicles/IconCarSportCar.tsx +32 -32
  765. package/src/icons/vehicles/IconCarSuperCar.tsx +32 -32
  766. package/src/icons/vehicles/IconCarSuv.tsx +32 -32
  767. package/src/icons/vehicles/IconCarVan.tsx +32 -32
  768. package/src/icons/vehicles/IconCarWagon.tsx +32 -32
  769. package/src/icons/vehicles/IconMinus.tsx +59 -59
  770. package/src/index.tsx +2 -2
  771. package/src/themes/colors.ts +152 -152
  772. package/src/themes/index.ts +4 -4
  773. package/src/themes/radius.ts +12 -12
  774. package/src/themes/shadow.tsx +48 -48
  775. package/src/themes/spacing.ts +16 -16
  776. package/src/types.ts +39 -39
@@ -1,99 +1,99 @@
1
- import * as React from 'react';
2
- import { View } from 'react-native';
3
- import { Typography } from '../typography/typography.component';
4
-
5
- import type { CountdownProps } from './countdown.type';
6
-
7
- import { getStyle } from './countdown.style';
8
-
9
- const Countdown: React.FunctionComponent<CountdownProps> = (props) => {
10
- const {
11
- targetDateTime,
12
- formats = [
13
- { type: 'd', trailingString: ' hari' },
14
- { type: 'h' },
15
- { type: 'm' },
16
- { type: 's' },
17
- ],
18
- } = props;
19
-
20
- const computedStyle = getStyle();
21
-
22
- const [timeLeft, setTimeLeft] = React.useState(
23
- calculateTimeRemaining(targetDateTime)
24
- );
25
-
26
- React.useEffect(() => {
27
- const timer = setInterval(() => {
28
- setTimeLeft(calculateTimeRemaining(targetDateTime));
29
- }, 1000);
30
-
31
- return () => clearInterval(timer);
32
- }, [targetDateTime]);
33
-
34
- const formatTime = (time: number) => {
35
- if (time <= 0) {
36
- return {
37
- d: appendZero(0),
38
- h: appendZero(0),
39
- m: appendZero(0),
40
- s: appendZero(0),
41
- };
42
- }
43
-
44
- time /= 1000;
45
- let day = Math.floor(time / (24 * 3600));
46
- let remainingSeconds = time % (24 * 3600);
47
- let hour = Math.floor(remainingSeconds / 3600);
48
- remainingSeconds %= 3600;
49
- let minute = Math.floor(remainingSeconds / 60);
50
- let second = remainingSeconds % 60;
51
-
52
- return {
53
- d: Math.floor(day),
54
- h: Math.floor(hour),
55
- m: Math.floor(minute),
56
- s: Math.floor(second),
57
- };
58
- };
59
-
60
- return (
61
- <View style={[computedStyle.container]}>
62
- {formats.map(({ type, leadingString = '', trailingString = '' }, idx) => {
63
- return (
64
- <>
65
- <View style={[computedStyle.textContainer]}>
66
- <Typography variant="overline" style={[computedStyle.textLabel]}>
67
- {leadingString + formatTime(timeLeft)?.[type] + trailingString}
68
- </Typography>
69
- </View>
70
- {idx !== formats.length - 1 ? (
71
- <View style={[computedStyle.dividerContainer]}>
72
- <Typography variant="overline">:</Typography>
73
- </View>
74
- ) : null}
75
- </>
76
- );
77
- })}
78
- </View>
79
- );
80
- };
81
-
82
- const calculateTimeRemaining = (
83
- targetDateTime: CountdownProps['targetDateTime']
84
- ): number => {
85
- const currentTime = new Date().getTime();
86
- const targetTime = new Date(targetDateTime).getTime();
87
- const difference = targetTime - currentTime;
88
- return Math.max(0, difference);
89
- };
90
-
91
- const appendZero = (num: string | number) => {
92
- if (Number(num) < 10) {
93
- return `0${0}`;
94
- }
95
-
96
- return num;
97
- };
98
-
99
- export { Countdown };
1
+ import * as React from 'react';
2
+ import { View } from 'react-native';
3
+ import { Typography } from '../typography/typography.component';
4
+
5
+ import type { CountdownProps } from './countdown.type';
6
+
7
+ import { getStyle } from './countdown.style';
8
+
9
+ const Countdown: React.FunctionComponent<CountdownProps> = (props) => {
10
+ const {
11
+ targetDateTime,
12
+ formats = [
13
+ { type: 'd', trailingString: ' hari' },
14
+ { type: 'h' },
15
+ { type: 'm' },
16
+ { type: 's' },
17
+ ],
18
+ } = props;
19
+
20
+ const computedStyle = getStyle();
21
+
22
+ const [timeLeft, setTimeLeft] = React.useState(
23
+ calculateTimeRemaining(targetDateTime)
24
+ );
25
+
26
+ React.useEffect(() => {
27
+ const timer = setInterval(() => {
28
+ setTimeLeft(calculateTimeRemaining(targetDateTime));
29
+ }, 1000);
30
+
31
+ return () => clearInterval(timer);
32
+ }, [targetDateTime]);
33
+
34
+ const formatTime = (time: number) => {
35
+ if (time <= 0) {
36
+ return {
37
+ d: appendZero(0),
38
+ h: appendZero(0),
39
+ m: appendZero(0),
40
+ s: appendZero(0),
41
+ };
42
+ }
43
+
44
+ time /= 1000;
45
+ let day = Math.floor(time / (24 * 3600));
46
+ let remainingSeconds = time % (24 * 3600);
47
+ let hour = Math.floor(remainingSeconds / 3600);
48
+ remainingSeconds %= 3600;
49
+ let minute = Math.floor(remainingSeconds / 60);
50
+ let second = remainingSeconds % 60;
51
+
52
+ return {
53
+ d: Math.floor(day),
54
+ h: Math.floor(hour),
55
+ m: Math.floor(minute),
56
+ s: Math.floor(second),
57
+ };
58
+ };
59
+
60
+ return (
61
+ <View style={[computedStyle.container]}>
62
+ {formats.map(({ type, leadingString = '', trailingString = '' }, idx) => {
63
+ return (
64
+ <>
65
+ <View style={[computedStyle.textContainer]}>
66
+ <Typography variant="overline" style={[computedStyle.textLabel]}>
67
+ {leadingString + formatTime(timeLeft)?.[type] + trailingString}
68
+ </Typography>
69
+ </View>
70
+ {idx !== formats.length - 1 ? (
71
+ <View style={[computedStyle.dividerContainer]}>
72
+ <Typography variant="overline">:</Typography>
73
+ </View>
74
+ ) : null}
75
+ </>
76
+ );
77
+ })}
78
+ </View>
79
+ );
80
+ };
81
+
82
+ const calculateTimeRemaining = (
83
+ targetDateTime: CountdownProps['targetDateTime']
84
+ ): number => {
85
+ const currentTime = new Date().getTime();
86
+ const targetTime = new Date(targetDateTime).getTime();
87
+ const difference = targetTime - currentTime;
88
+ return Math.max(0, difference);
89
+ };
90
+
91
+ const appendZero = (num: string | number) => {
92
+ if (Number(num) < 10) {
93
+ return `0${0}`;
94
+ }
95
+
96
+ return num;
97
+ };
98
+
99
+ export { Countdown };
@@ -1,43 +1,43 @@
1
- import { StyleSheet } from 'react-native';
2
-
3
- import { Palettes, Radius, Spacing } from '../../themes';
4
-
5
- import type { TextStyle, ViewStyle } from 'react-native';
6
-
7
- interface ComputedStyleProps {
8
- container?: ViewStyle;
9
- textLabel?: TextStyle;
10
- textContainer?: ViewStyle;
11
- dividerContainer?: ViewStyle;
12
- }
13
-
14
- export const getStyle = () => {
15
- const computedStyle: ComputedStyleProps = {};
16
-
17
- computedStyle.container = {
18
- flexDirection: 'row',
19
- alignSelf: 'flex-start',
20
- };
21
-
22
- computedStyle.textLabel = {
23
- color: Palettes.white[50],
24
- };
25
-
26
- computedStyle.textContainer = {
27
- backgroundColor: Palettes.black[900],
28
- justifyContent: 'center',
29
- alignItems: 'center',
30
- borderRadius: Radius[4],
31
- paddingHorizontal: Spacing[4],
32
- minWidth: 22,
33
- height: 18,
34
- };
35
-
36
- computedStyle.dividerContainer = {
37
- justifyContent: 'center',
38
- alignItems: 'center',
39
- width: 8,
40
- };
41
-
42
- return StyleSheet.create(computedStyle);
43
- };
1
+ import { StyleSheet } from 'react-native';
2
+
3
+ import { Palettes, Radius, Spacing } from '../../themes';
4
+
5
+ import type { TextStyle, ViewStyle } from 'react-native';
6
+
7
+ interface ComputedStyleProps {
8
+ container?: ViewStyle;
9
+ textLabel?: TextStyle;
10
+ textContainer?: ViewStyle;
11
+ dividerContainer?: ViewStyle;
12
+ }
13
+
14
+ export const getStyle = () => {
15
+ const computedStyle: ComputedStyleProps = {};
16
+
17
+ computedStyle.container = {
18
+ flexDirection: 'row',
19
+ alignSelf: 'flex-start',
20
+ };
21
+
22
+ computedStyle.textLabel = {
23
+ color: Palettes.white[50],
24
+ };
25
+
26
+ computedStyle.textContainer = {
27
+ backgroundColor: Palettes.black[900],
28
+ justifyContent: 'center',
29
+ alignItems: 'center',
30
+ borderRadius: Radius[4],
31
+ paddingHorizontal: Spacing[4],
32
+ minWidth: 22,
33
+ height: 18,
34
+ };
35
+
36
+ computedStyle.dividerContainer = {
37
+ justifyContent: 'center',
38
+ alignItems: 'center',
39
+ width: 8,
40
+ };
41
+
42
+ return StyleSheet.create(computedStyle);
43
+ };
@@ -1,12 +1,12 @@
1
- export interface CountdownProps {
2
- /**
3
- * The target time in Date format, ex: 'YYYY-MM-DD hh:mm:ss'
4
- */
5
- targetDateTime: string | number | Date;
6
-
7
- formats?: {
8
- type: 'd' | 'h' | 'm' | 's';
9
- trailingString?: string;
10
- leadingString?: string;
11
- }[];
12
- }
1
+ export interface CountdownProps {
2
+ /**
3
+ * The target time in Date format, ex: 'YYYY-MM-DD hh:mm:ss'
4
+ */
5
+ targetDateTime: string | number | Date;
6
+
7
+ formats?: {
8
+ type: 'd' | 'h' | 'm' | 's';
9
+ trailingString?: string;
10
+ leadingString?: string;
11
+ }[];
12
+ }
@@ -1,23 +1,23 @@
1
- import * as React from 'react';
2
- import { View } from 'react-native';
3
- import { getStyle } from './dot.style';
4
- import type { DotProps } from './dot.type';
5
- import { Typography } from '../typography/typography.component';
6
-
7
- const Dot: React.FunctionComponent<DotProps> = (props) => {
8
- const { label = '', containerStyle = {} } = props;
9
-
10
- const computedStyle = getStyle(props);
11
-
12
- return (
13
- <View style={[computedStyle.container, containerStyle]}>
14
- {label ? (
15
- <Typography variant="caption2" style={[computedStyle.label]}>
16
- {label}
17
- </Typography>
18
- ) : null}
19
- </View>
20
- );
21
- };
22
-
23
- export { Dot };
1
+ import * as React from 'react';
2
+ import { View } from 'react-native';
3
+ import { getStyle } from './dot.style';
4
+ import type { DotProps } from './dot.type';
5
+ import { Typography } from '../typography/typography.component';
6
+
7
+ const Dot: React.FunctionComponent<DotProps> = (props) => {
8
+ const { label = '', containerStyle = {} } = props;
9
+
10
+ const computedStyle = getStyle(props);
11
+
12
+ return (
13
+ <View style={[computedStyle.container, containerStyle]}>
14
+ {label ? (
15
+ <Typography variant="caption2" style={[computedStyle.label]}>
16
+ {label}
17
+ </Typography>
18
+ ) : null}
19
+ </View>
20
+ );
21
+ };
22
+
23
+ export { Dot };
@@ -1,33 +1,33 @@
1
- import { StyleSheet } from 'react-native';
2
-
3
- import { Palettes, Radius } from '../../themes';
4
-
5
- import type { DotProps } from './dot.type';
6
- import type { TextStyle, ViewStyle } from 'react-native';
7
-
8
- interface ComputedStyleProps {
9
- container?: ViewStyle;
10
- label?: TextStyle;
11
- }
12
-
13
- export const getStyle = (props: DotProps) => {
14
- const { label = '' } = props;
15
-
16
- const computedStyle: ComputedStyleProps = {};
17
-
18
- computedStyle.container = {
19
- minWidth: label ? 18 : 8,
20
- height: label ? 18 : 8,
21
- paddingHorizontal: 4,
22
- justifyContent: 'center',
23
- alignItems: 'center',
24
- borderRadius: Radius.full,
25
- backgroundColor: Palettes.red[500],
26
- };
27
-
28
- computedStyle.label = {
29
- color: Palettes.white[50],
30
- };
31
-
32
- return StyleSheet.create(computedStyle);
33
- };
1
+ import { StyleSheet } from 'react-native';
2
+
3
+ import { Palettes, Radius } from '../../themes';
4
+
5
+ import type { DotProps } from './dot.type';
6
+ import type { TextStyle, ViewStyle } from 'react-native';
7
+
8
+ interface ComputedStyleProps {
9
+ container?: ViewStyle;
10
+ label?: TextStyle;
11
+ }
12
+
13
+ export const getStyle = (props: DotProps) => {
14
+ const { label = '' } = props;
15
+
16
+ const computedStyle: ComputedStyleProps = {};
17
+
18
+ computedStyle.container = {
19
+ minWidth: label ? 18 : 8,
20
+ height: label ? 18 : 8,
21
+ paddingHorizontal: 4,
22
+ justifyContent: 'center',
23
+ alignItems: 'center',
24
+ borderRadius: Radius.full,
25
+ backgroundColor: Palettes.red[500],
26
+ };
27
+
28
+ computedStyle.label = {
29
+ color: Palettes.white[50],
30
+ };
31
+
32
+ return StyleSheet.create(computedStyle);
33
+ };
@@ -1,6 +1,6 @@
1
- import type { ViewStyle } from 'react-native';
2
-
3
- export interface DotProps {
4
- label?: string;
5
- containerStyle?: ViewStyle;
6
- }
1
+ import type { ViewStyle } from 'react-native';
2
+
3
+ export interface DotProps {
4
+ label?: string;
5
+ containerStyle?: ViewStyle;
6
+ }
@@ -1,49 +1,49 @@
1
- export { Button } from './button/button.component';
2
- export { Label } from './label/label.component';
3
- export { BaseComponent } from './base/base.component';
4
- export { Typography } from './typography/typography.component';
5
- export { Coachmark } from './coachmark/coachmark.component';
6
- export { TextLink } from './textlink/textlink.component';
7
- export { SliderIndicator } from './slider-indicator/slider-indicator.component';
8
- export { TextInput } from './TextInput/TextInput.component';
9
- export { TextArea } from './TextArea/TextArea.component';
10
- export { StepperCounter } from './StepperCounter/StepperCounter.component';
11
- export { Divider } from './Divider/Divider.component';
12
- export { Tabs } from './Tabs/Tabs.component';
13
- export { RadioButton } from './RadioButton/RadioButton.component';
14
- export {
15
- BottomSheet,
16
- BottomSheetHandler,
17
- } from './BottomSheet/BottomSheet.component';
18
- export { RadioInput } from './RadioInput/RadioInput.component';
19
- export { CheckBoxInput } from './CheckBoxInput/CheckBoxInput.component';
20
- export { Checkbox } from './Checkbox/Checkbox.component';
21
- export { Appbar } from './Appbar/Appbar.component';
22
- export { Snackbar, SnackbarComponent } from './Snackbar/Snackbar.component';
23
- export { Switch } from './switch/switch.component';
24
- export { Dot } from './dot/dot.component';
25
- export { InformationBox } from './information-box/information-box.component';
26
- export { RoundedTab } from './rounded-tab/rounded-tab.component';
27
- export { Countdown } from './countdown/countdown.component';
28
- export {
29
- Mask,
30
- MaskArray,
31
- MaskInputProps,
32
- MaskItem,
33
- Masks,
34
- UseMaskedInputProps,
35
- createNumberMask,
36
- formatWithMask,
37
- useMaskedInputProps,
38
- } from 'react-native-mask-input';
39
-
40
- export type { ButtonProps } from './button/button.type';
41
- export type { TextInputProps } from './TextInput/TextInput.type';
42
- export type { SliderIndicatorProps } from './slider-indicator/slider-indicator.type';
43
- export type { TextLinkProps } from './textlink/textlink.type';
44
- export type { TypographyProps } from './typography/typography.type';
45
- export type { CoachmarkProps } from './coachmark/coachmark.type';
46
- export type { TextAreaProps } from './TextArea/TextArea.type';
47
- export type { StepperCounterProps } from './StepperCounter/StepperCounter.type';
48
- export type { DividerProps } from './Divider/Divider.type';
49
- export type { TabsProps } from './Tabs/Tabs.type';
1
+ export { Button } from './button/button.component';
2
+ export { Label } from './label/label.component';
3
+ export { BaseComponent } from './base/base.component';
4
+ export { Typography } from './typography/typography.component';
5
+ export { Coachmark } from './coachmark/coachmark.component';
6
+ export { TextLink } from './textlink/textlink.component';
7
+ export { SliderIndicator } from './slider-indicator/slider-indicator.component';
8
+ export { TextInput } from './TextInput/TextInput.component';
9
+ export { TextArea } from './TextArea/TextArea.component';
10
+ export { StepperCounter } from './StepperCounter/StepperCounter.component';
11
+ export { Divider } from './Divider/Divider.component';
12
+ export { Tabs } from './Tabs/Tabs.component';
13
+ export { RadioButton } from './RadioButton/RadioButton.component';
14
+ export {
15
+ BottomSheet,
16
+ BottomSheetHandler,
17
+ } from './BottomSheet/BottomSheet.component';
18
+ export { RadioInput } from './RadioInput/RadioInput.component';
19
+ export { CheckBoxInput } from './CheckBoxInput/CheckBoxInput.component';
20
+ export { Checkbox } from './Checkbox/Checkbox.component';
21
+ export { Appbar } from './Appbar/Appbar.component';
22
+ export { Snackbar, SnackbarComponent } from './Snackbar/Snackbar.component';
23
+ export { Switch } from './switch/switch.component';
24
+ export { Dot } from './dot/dot.component';
25
+ export { InformationBox } from './information-box/information-box.component';
26
+ export { RoundedTab } from './rounded-tab/rounded-tab.component';
27
+ export { Countdown } from './countdown/countdown.component';
28
+ export {
29
+ Mask,
30
+ MaskArray,
31
+ MaskInputProps,
32
+ MaskItem,
33
+ Masks,
34
+ UseMaskedInputProps,
35
+ createNumberMask,
36
+ formatWithMask,
37
+ useMaskedInputProps,
38
+ } from 'react-native-mask-input';
39
+
40
+ export type { ButtonProps } from './button/button.type';
41
+ export type { TextInputProps } from './TextInput/TextInput.type';
42
+ export type { SliderIndicatorProps } from './slider-indicator/slider-indicator.type';
43
+ export type { TextLinkProps } from './textlink/textlink.type';
44
+ export type { TypographyProps } from './typography/typography.type';
45
+ export type { CoachmarkProps } from './coachmark/coachmark.type';
46
+ export type { TextAreaProps } from './TextArea/TextArea.type';
47
+ export type { StepperCounterProps } from './StepperCounter/StepperCounter.type';
48
+ export type { DividerProps } from './Divider/Divider.type';
49
+ export type { TabsProps } from './Tabs/Tabs.type';
@@ -1,55 +1,55 @@
1
- import * as React from 'react';
2
- import { View } from 'react-native';
3
-
4
- import { getStyle } from './information-box.style';
5
- import { Typography } from '../typography/typography.component';
6
- import { IconInfo } from '../../icons';
7
-
8
- import type { InformationBoxProps } from './information-box.type';
9
-
10
- const InformationBox: React.FunctionComponent<
11
- React.PropsWithChildren<InformationBoxProps>
12
- > = (props) => {
13
- const {
14
- text = '',
15
- showIcon = true,
16
- informationIcon = null,
17
- actionComponent = null,
18
- } = props;
19
-
20
- const computedStyle = getStyle(props);
21
-
22
- const renderInformationText = () => {
23
- if (typeof text === 'string') {
24
- return (
25
- <Typography
26
- variant="caption"
27
- numberOfLines={3}
28
- style={[computedStyle.text]}
29
- >
30
- {text}
31
- </Typography>
32
- );
33
- }
34
-
35
- return text;
36
- };
37
-
38
- return (
39
- <View style={computedStyle.container}>
40
- <View style={[computedStyle.informationContainer]}>
41
- {showIcon && (
42
- <View style={[computedStyle.iconWrapper]}>
43
- {informationIcon || <IconInfo width={16} height={16} />}
44
- </View>
45
- )}
46
- {renderInformationText()}
47
- </View>
48
- {actionComponent && (
49
- <View style={[computedStyle.actionWrapper]}>{actionComponent}</View>
50
- )}
51
- </View>
52
- );
53
- };
54
-
55
- export { InformationBox };
1
+ import * as React from 'react';
2
+ import { View } from 'react-native';
3
+
4
+ import { getStyle } from './information-box.style';
5
+ import { Typography } from '../typography/typography.component';
6
+ import { IconInfo } from '../../icons';
7
+
8
+ import type { InformationBoxProps } from './information-box.type';
9
+
10
+ const InformationBox: React.FunctionComponent<
11
+ React.PropsWithChildren<InformationBoxProps>
12
+ > = (props) => {
13
+ const {
14
+ text = '',
15
+ showIcon = true,
16
+ informationIcon = null,
17
+ actionComponent = null,
18
+ } = props;
19
+
20
+ const computedStyle = getStyle(props);
21
+
22
+ const renderInformationText = () => {
23
+ if (typeof text === 'string') {
24
+ return (
25
+ <Typography
26
+ variant="caption"
27
+ numberOfLines={3}
28
+ style={[computedStyle.text]}
29
+ >
30
+ {text}
31
+ </Typography>
32
+ );
33
+ }
34
+
35
+ return text;
36
+ };
37
+
38
+ return (
39
+ <View style={computedStyle.container}>
40
+ <View style={[computedStyle.informationContainer]}>
41
+ {showIcon && (
42
+ <View style={[computedStyle.iconWrapper]}>
43
+ {informationIcon || <IconInfo width={16} height={16} />}
44
+ </View>
45
+ )}
46
+ {renderInformationText()}
47
+ </View>
48
+ {actionComponent && (
49
+ <View style={[computedStyle.actionWrapper]}>{actionComponent}</View>
50
+ )}
51
+ </View>
52
+ );
53
+ };
54
+
55
+ export { InformationBox };