@adiraku/react-native-ui 0.2.1 → 0.2.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 (720) hide show
  1. package/LICENSE +20 -20
  2. package/README.md +55 -55
  3. package/lib/commonjs/components/Appbar/Appbar.component.js.map +1 -1
  4. package/lib/commonjs/components/Appbar/Appbar.style.js.map +1 -1
  5. package/lib/commonjs/components/Appbar/Appbar.type.js.map +1 -1
  6. package/lib/commonjs/components/BottomSheet/BottomSheet.component.js.map +1 -1
  7. package/lib/commonjs/components/BottomSheet/BottomSheet.style.js.map +1 -1
  8. package/lib/commonjs/components/BottomSheet/BottomSheet.type.js.map +1 -1
  9. package/lib/commonjs/components/CheckBoxInput/CheckBoxInput.component.js +14 -8
  10. package/lib/commonjs/components/CheckBoxInput/CheckBoxInput.component.js.map +1 -1
  11. package/lib/commonjs/components/CheckBoxInput/CheckBoxInput.style.js.map +1 -1
  12. package/lib/commonjs/components/CheckBoxInput/CheckBoxInput.type.js.map +1 -1
  13. package/lib/commonjs/components/Checkbox/Checkbox.component.js.map +1 -1
  14. package/lib/commonjs/components/Checkbox/Checkbox.style.js.map +1 -1
  15. package/lib/commonjs/components/Checkbox/Checkbox.type.js.map +1 -1
  16. package/lib/commonjs/components/Divider/Divider.component.js.map +1 -1
  17. package/lib/commonjs/components/Divider/Divider.style.js.map +1 -1
  18. package/lib/commonjs/components/Divider/Divider.type.js.map +1 -1
  19. package/lib/commonjs/components/RadioButton/RadioButton.component.js.map +1 -1
  20. package/lib/commonjs/components/RadioButton/RadioButton.style.js.map +1 -1
  21. package/lib/commonjs/components/RadioButton/RadioButton.type.js.map +1 -1
  22. package/lib/commonjs/components/RadioInput/RadioInput.component.js +14 -8
  23. package/lib/commonjs/components/RadioInput/RadioInput.component.js.map +1 -1
  24. package/lib/commonjs/components/RadioInput/RadioInput.style.js.map +1 -1
  25. package/lib/commonjs/components/RadioInput/RadioInput.type.js.map +1 -1
  26. package/lib/commonjs/components/Snackbar/Snackbar.component.js.map +1 -1
  27. package/lib/commonjs/components/Snackbar/Snackbar.type.js.map +1 -1
  28. package/lib/commonjs/components/Snackbar/Snakbar.style.js.map +1 -1
  29. package/lib/commonjs/components/StepperCounter/StepperCounter.component.js.map +1 -1
  30. package/lib/commonjs/components/StepperCounter/StepperCounter.style.js.map +1 -1
  31. package/lib/commonjs/components/StepperCounter/StepperCounter.type.js.map +1 -1
  32. package/lib/commonjs/components/Tabs/Tabs.component.js.map +1 -1
  33. package/lib/commonjs/components/Tabs/Tabs.style.js.map +1 -1
  34. package/lib/commonjs/components/Tabs/Tabs.type.js.map +1 -1
  35. package/lib/commonjs/components/TextArea/TextArea.component.js.map +1 -1
  36. package/lib/commonjs/components/TextArea/TextArea.style.js.map +1 -1
  37. package/lib/commonjs/components/TextArea/TextArea.type.js.map +1 -1
  38. package/lib/commonjs/components/TextInput/TextInput.component.js +10 -3
  39. package/lib/commonjs/components/TextInput/TextInput.component.js.map +1 -1
  40. package/lib/commonjs/components/TextInput/TextInput.style.js.map +1 -1
  41. package/lib/commonjs/components/TextInput/TextInput.type.js.map +1 -1
  42. package/lib/commonjs/components/base/base.component.js.map +1 -1
  43. package/lib/commonjs/components/base/base.style.js.map +1 -1
  44. package/lib/commonjs/components/base/base.type.js.map +1 -1
  45. package/lib/commonjs/components/button/button.component.js.map +1 -1
  46. package/lib/commonjs/components/button/button.styles.js.map +1 -1
  47. package/lib/commonjs/components/button/button.type.js.map +1 -1
  48. package/lib/commonjs/components/coachmark/coachmark.component.js.map +1 -1
  49. package/lib/commonjs/components/coachmark/coachmark.style.js.map +1 -1
  50. package/lib/commonjs/components/coachmark/coachmark.type.js.map +1 -1
  51. package/lib/commonjs/components/countdown/countdown.component.js.map +1 -1
  52. package/lib/commonjs/components/countdown/countdown.style.js.map +1 -1
  53. package/lib/commonjs/components/countdown/countdown.type.js.map +1 -1
  54. package/lib/commonjs/components/dot/dot.component.js.map +1 -1
  55. package/lib/commonjs/components/dot/dot.style.js.map +1 -1
  56. package/lib/commonjs/components/dot/dot.type.js.map +1 -1
  57. package/lib/commonjs/components/index.js.map +1 -1
  58. package/lib/commonjs/components/information-box/information-box.component.js.map +1 -1
  59. package/lib/commonjs/components/information-box/information-box.style.js.map +1 -1
  60. package/lib/commonjs/components/information-box/information-box.type.js.map +1 -1
  61. package/lib/commonjs/components/label/label.component.js.map +1 -1
  62. package/lib/commonjs/components/label/label.style.js.map +1 -1
  63. package/lib/commonjs/components/label/label.type.js.map +1 -1
  64. package/lib/commonjs/components/rounded-tab/rounded-tab.component.js.map +1 -1
  65. package/lib/commonjs/components/rounded-tab/rounded-tab.style.js.map +1 -1
  66. package/lib/commonjs/components/rounded-tab/rounded-tab.type.js.map +1 -1
  67. package/lib/commonjs/components/slider-indicator/slider-indicator.component.js.map +1 -1
  68. package/lib/commonjs/components/slider-indicator/slider-indicator.style.js.map +1 -1
  69. package/lib/commonjs/components/slider-indicator/slider-indicator.type.js.map +1 -1
  70. package/lib/commonjs/components/switch/switch.component.js.map +1 -1
  71. package/lib/commonjs/components/switch/switch.style.js.map +1 -1
  72. package/lib/commonjs/components/switch/switch.type.js.map +1 -1
  73. package/lib/commonjs/components/textlink/textlink.component.js.map +1 -1
  74. package/lib/commonjs/components/textlink/textlink.style.js.map +1 -1
  75. package/lib/commonjs/components/textlink/textlink.type.js.map +1 -1
  76. package/lib/commonjs/components/typography/typography.component.js.map +1 -1
  77. package/lib/commonjs/components/typography/typography.style.js.map +1 -1
  78. package/lib/commonjs/components/typography/typography.type.js.map +1 -1
  79. package/lib/commonjs/icons/actions/IconAddMinus.js.map +1 -1
  80. package/lib/commonjs/icons/actions/IconAddPlus.js.map +1 -1
  81. package/lib/commonjs/icons/actions/IconAddRemove.js.map +1 -1
  82. package/lib/commonjs/icons/actions/IconAttach.js.map +1 -1
  83. package/lib/commonjs/icons/actions/IconCamera.js.map +1 -1
  84. package/lib/commonjs/icons/actions/IconChat.js.map +1 -1
  85. package/lib/commonjs/icons/actions/IconCopy.js.map +1 -1
  86. package/lib/commonjs/icons/actions/IconCustomerService.js.map +1 -1
  87. package/lib/commonjs/icons/actions/IconDownload.js.map +1 -1
  88. package/lib/commonjs/icons/actions/IconEdit.js.map +1 -1
  89. package/lib/commonjs/icons/actions/IconEmail.js.map +1 -1
  90. package/lib/commonjs/icons/actions/IconFilter.js.map +1 -1
  91. package/lib/commonjs/icons/actions/IconHamburger.js.map +1 -1
  92. package/lib/commonjs/icons/actions/IconHeartEmpty.js.map +1 -1
  93. package/lib/commonjs/icons/actions/IconHeartFilled.js.map +1 -1
  94. package/lib/commonjs/icons/actions/IconHeartOutline.js.map +1 -1
  95. package/lib/commonjs/icons/actions/IconHelp.js.map +1 -1
  96. package/lib/commonjs/icons/actions/IconInfo.js.map +1 -1
  97. package/lib/commonjs/icons/actions/IconLike.js.map +1 -1
  98. package/lib/commonjs/icons/actions/IconNotification.js.map +1 -1
  99. package/lib/commonjs/icons/actions/IconOther.js.map +1 -1
  100. package/lib/commonjs/icons/actions/IconPerson.js.map +1 -1
  101. package/lib/commonjs/icons/actions/IconPicture.js.map +1 -1
  102. package/lib/commonjs/icons/actions/IconPictureAdd.js.map +1 -1
  103. package/lib/commonjs/icons/actions/IconReload.js.map +1 -1
  104. package/lib/commonjs/icons/actions/IconSearch.js.map +1 -1
  105. package/lib/commonjs/icons/actions/IconSeeHide.js.map +1 -1
  106. package/lib/commonjs/icons/actions/IconSeeShow.js.map +1 -1
  107. package/lib/commonjs/icons/actions/IconSetting.js.map +1 -1
  108. package/lib/commonjs/icons/actions/IconShare.js.map +1 -1
  109. package/lib/commonjs/icons/actions/IconShoppingCart.js.map +1 -1
  110. package/lib/commonjs/icons/actions/IconSort.js.map +1 -1
  111. package/lib/commonjs/icons/actions/IconSorting.js.map +1 -1
  112. package/lib/commonjs/icons/actions/IconStarFilled.js.map +1 -1
  113. package/lib/commonjs/icons/actions/IconStarOutline.js.map +1 -1
  114. package/lib/commonjs/icons/actions/IconTrash.js.map +1 -1
  115. package/lib/commonjs/icons/actions/IconUpload.js.map +1 -1
  116. package/lib/commonjs/icons/index.js.map +1 -1
  117. package/lib/commonjs/icons/misc/IconCalendar.js.map +1 -1
  118. package/lib/commonjs/icons/misc/IconCash.js.map +1 -1
  119. package/lib/commonjs/icons/misc/IconCategory.js.map +1 -1
  120. package/lib/commonjs/icons/misc/IconContract.js.map +1 -1
  121. package/lib/commonjs/icons/misc/IconCreditCard.js.map +1 -1
  122. package/lib/commonjs/icons/misc/IconFlash.js.map +1 -1
  123. package/lib/commonjs/icons/misc/IconGroup.js.map +1 -1
  124. package/lib/commonjs/icons/misc/IconHistory.js.map +1 -1
  125. package/lib/commonjs/icons/misc/IconLocation.js.map +1 -1
  126. package/lib/commonjs/icons/misc/IconLock.js.map +1 -1
  127. package/lib/commonjs/icons/misc/IconMoney.js.map +1 -1
  128. package/lib/commonjs/icons/misc/IconMyLocation.js.map +1 -1
  129. package/lib/commonjs/icons/misc/IconOfficial.js.map +1 -1
  130. package/lib/commonjs/icons/misc/IconPromo.js.map +1 -1
  131. package/lib/commonjs/icons/misc/IconProtection.js.map +1 -1
  132. package/lib/commonjs/icons/misc/IconStore.js.map +1 -1
  133. package/lib/commonjs/icons/misc/IconTick.js.map +1 -1
  134. package/lib/commonjs/icons/misc/IconTicket.js.map +1 -1
  135. package/lib/commonjs/icons/misc/IconTime.js.map +1 -1
  136. package/lib/commonjs/icons/misc/IconVoucher.js.map +1 -1
  137. package/lib/commonjs/icons/navigations/IconArrowDiagonal.js.map +1 -1
  138. package/lib/commonjs/icons/navigations/IconArrowDown.js.map +1 -1
  139. package/lib/commonjs/icons/navigations/IconArrowLeft.js.map +1 -1
  140. package/lib/commonjs/icons/navigations/IconArrowRight.js.map +1 -1
  141. package/lib/commonjs/icons/navigations/IconArrowUp.js.map +1 -1
  142. package/lib/commonjs/icons/navigations/IconChevronDown.js.map +1 -1
  143. package/lib/commonjs/icons/navigations/IconChevronLeft.js.map +1 -1
  144. package/lib/commonjs/icons/navigations/IconChevronRight.js.map +1 -1
  145. package/lib/commonjs/icons/navigations/IconChevronUp.js.map +1 -1
  146. package/lib/commonjs/icons/navigations/IconClose.js.map +1 -1
  147. package/lib/commonjs/icons/navs/IconNavAdiraku.js.map +1 -1
  148. package/lib/commonjs/icons/navs/IconNavDocument.js.map +1 -1
  149. package/lib/commonjs/icons/navs/IconNavHome.js.map +1 -1
  150. package/lib/commonjs/icons/navs/IconNavPhone.js.map +1 -1
  151. package/lib/commonjs/icons/navs/IconNavProfile.js.map +1 -1
  152. package/lib/commonjs/icons/vehicles/IconBikeCaferacer.js.map +1 -1
  153. package/lib/commonjs/icons/vehicles/IconBikeCooper.js.map +1 -1
  154. package/lib/commonjs/icons/vehicles/IconBikeCruiser.js.map +1 -1
  155. package/lib/commonjs/icons/vehicles/IconBikeDualsport.js.map +1 -1
  156. package/lib/commonjs/icons/vehicles/IconBikeMopad.js.map +1 -1
  157. package/lib/commonjs/icons/vehicles/IconBikeRoadster.js.map +1 -1
  158. package/lib/commonjs/icons/vehicles/IconBikeScooter.js.map +1 -1
  159. package/lib/commonjs/icons/vehicles/IconBikeScrambler.js.map +1 -1
  160. package/lib/commonjs/icons/vehicles/IconBikeSportbike.js.map +1 -1
  161. package/lib/commonjs/icons/vehicles/IconBikeSportstouring.js.map +1 -1
  162. package/lib/commonjs/icons/vehicles/IconBikeTouring.js.map +1 -1
  163. package/lib/commonjs/icons/vehicles/IconBikeTrialbike.js.map +1 -1
  164. package/lib/commonjs/icons/vehicles/IconCarHatchback.js.map +1 -1
  165. package/lib/commonjs/icons/vehicles/IconCarJeep.js.map +1 -1
  166. package/lib/commonjs/icons/vehicles/IconCarMiniTruck.js.map +1 -1
  167. package/lib/commonjs/icons/vehicles/IconCarMinivan.js.map +1 -1
  168. package/lib/commonjs/icons/vehicles/IconCarMuv.js.map +1 -1
  169. package/lib/commonjs/icons/vehicles/IconCarPickup.js.map +1 -1
  170. package/lib/commonjs/icons/vehicles/IconCarSportCar.js.map +1 -1
  171. package/lib/commonjs/icons/vehicles/IconCarSuperCar.js.map +1 -1
  172. package/lib/commonjs/icons/vehicles/IconCarSuv.js.map +1 -1
  173. package/lib/commonjs/icons/vehicles/IconCarVan.js.map +1 -1
  174. package/lib/commonjs/icons/vehicles/IconCarWagon.js.map +1 -1
  175. package/lib/commonjs/index.js.map +1 -1
  176. package/lib/commonjs/themes/colors.js.map +1 -1
  177. package/lib/commonjs/themes/index.js.map +1 -1
  178. package/lib/commonjs/themes/radius.js.map +1 -1
  179. package/lib/commonjs/themes/shadow.js.map +1 -1
  180. package/lib/commonjs/themes/spacing.js.map +1 -1
  181. package/lib/commonjs/types.js.map +1 -1
  182. package/lib/module/components/Appbar/Appbar.component.js.map +1 -1
  183. package/lib/module/components/Appbar/Appbar.style.js.map +1 -1
  184. package/lib/module/components/Appbar/Appbar.type.js.map +1 -1
  185. package/lib/module/components/BottomSheet/BottomSheet.component.js.map +1 -1
  186. package/lib/module/components/BottomSheet/BottomSheet.style.js.map +1 -1
  187. package/lib/module/components/BottomSheet/BottomSheet.type.js.map +1 -1
  188. package/lib/module/components/CheckBoxInput/CheckBoxInput.component.js +14 -8
  189. package/lib/module/components/CheckBoxInput/CheckBoxInput.component.js.map +1 -1
  190. package/lib/module/components/CheckBoxInput/CheckBoxInput.style.js.map +1 -1
  191. package/lib/module/components/CheckBoxInput/CheckBoxInput.type.js.map +1 -1
  192. package/lib/module/components/Checkbox/Checkbox.component.js.map +1 -1
  193. package/lib/module/components/Checkbox/Checkbox.style.js.map +1 -1
  194. package/lib/module/components/Checkbox/Checkbox.type.js.map +1 -1
  195. package/lib/module/components/Divider/Divider.component.js.map +1 -1
  196. package/lib/module/components/Divider/Divider.style.js.map +1 -1
  197. package/lib/module/components/Divider/Divider.type.js.map +1 -1
  198. package/lib/module/components/RadioButton/RadioButton.component.js.map +1 -1
  199. package/lib/module/components/RadioButton/RadioButton.style.js.map +1 -1
  200. package/lib/module/components/RadioButton/RadioButton.type.js.map +1 -1
  201. package/lib/module/components/RadioInput/RadioInput.component.js +14 -8
  202. package/lib/module/components/RadioInput/RadioInput.component.js.map +1 -1
  203. package/lib/module/components/RadioInput/RadioInput.style.js.map +1 -1
  204. package/lib/module/components/RadioInput/RadioInput.type.js.map +1 -1
  205. package/lib/module/components/Snackbar/Snackbar.component.js.map +1 -1
  206. package/lib/module/components/Snackbar/Snackbar.type.js.map +1 -1
  207. package/lib/module/components/Snackbar/Snakbar.style.js.map +1 -1
  208. package/lib/module/components/StepperCounter/StepperCounter.component.js.map +1 -1
  209. package/lib/module/components/StepperCounter/StepperCounter.style.js.map +1 -1
  210. package/lib/module/components/StepperCounter/StepperCounter.type.js.map +1 -1
  211. package/lib/module/components/Tabs/Tabs.component.js.map +1 -1
  212. package/lib/module/components/Tabs/Tabs.style.js.map +1 -1
  213. package/lib/module/components/Tabs/Tabs.type.js.map +1 -1
  214. package/lib/module/components/TextArea/TextArea.component.js.map +1 -1
  215. package/lib/module/components/TextArea/TextArea.style.js.map +1 -1
  216. package/lib/module/components/TextArea/TextArea.type.js.map +1 -1
  217. package/lib/module/components/TextInput/TextInput.component.js +10 -6
  218. package/lib/module/components/TextInput/TextInput.component.js.map +1 -1
  219. package/lib/module/components/TextInput/TextInput.style.js.map +1 -1
  220. package/lib/module/components/TextInput/TextInput.type.js.map +1 -1
  221. package/lib/module/components/base/base.component.js.map +1 -1
  222. package/lib/module/components/base/base.style.js.map +1 -1
  223. package/lib/module/components/base/base.type.js.map +1 -1
  224. package/lib/module/components/button/button.component.js.map +1 -1
  225. package/lib/module/components/button/button.styles.js.map +1 -1
  226. package/lib/module/components/button/button.type.js.map +1 -1
  227. package/lib/module/components/coachmark/coachmark.component.js.map +1 -1
  228. package/lib/module/components/coachmark/coachmark.style.js.map +1 -1
  229. package/lib/module/components/coachmark/coachmark.type.js.map +1 -1
  230. package/lib/module/components/countdown/countdown.component.js.map +1 -1
  231. package/lib/module/components/countdown/countdown.style.js.map +1 -1
  232. package/lib/module/components/countdown/countdown.type.js.map +1 -1
  233. package/lib/module/components/dot/dot.component.js.map +1 -1
  234. package/lib/module/components/dot/dot.style.js.map +1 -1
  235. package/lib/module/components/dot/dot.type.js.map +1 -1
  236. package/lib/module/components/index.js.map +1 -1
  237. package/lib/module/components/information-box/information-box.component.js.map +1 -1
  238. package/lib/module/components/information-box/information-box.style.js.map +1 -1
  239. package/lib/module/components/information-box/information-box.type.js.map +1 -1
  240. package/lib/module/components/label/label.component.js.map +1 -1
  241. package/lib/module/components/label/label.style.js.map +1 -1
  242. package/lib/module/components/label/label.type.js.map +1 -1
  243. package/lib/module/components/rounded-tab/rounded-tab.component.js.map +1 -1
  244. package/lib/module/components/rounded-tab/rounded-tab.style.js.map +1 -1
  245. package/lib/module/components/rounded-tab/rounded-tab.type.js.map +1 -1
  246. package/lib/module/components/slider-indicator/slider-indicator.component.js.map +1 -1
  247. package/lib/module/components/slider-indicator/slider-indicator.style.js.map +1 -1
  248. package/lib/module/components/slider-indicator/slider-indicator.type.js.map +1 -1
  249. package/lib/module/components/switch/switch.component.js.map +1 -1
  250. package/lib/module/components/switch/switch.style.js.map +1 -1
  251. package/lib/module/components/switch/switch.type.js.map +1 -1
  252. package/lib/module/components/textlink/textlink.component.js.map +1 -1
  253. package/lib/module/components/textlink/textlink.style.js.map +1 -1
  254. package/lib/module/components/textlink/textlink.type.js.map +1 -1
  255. package/lib/module/components/typography/typography.component.js.map +1 -1
  256. package/lib/module/components/typography/typography.style.js.map +1 -1
  257. package/lib/module/components/typography/typography.type.js.map +1 -1
  258. package/lib/module/icons/actions/IconAddMinus.js.map +1 -1
  259. package/lib/module/icons/actions/IconAddPlus.js.map +1 -1
  260. package/lib/module/icons/actions/IconAddRemove.js.map +1 -1
  261. package/lib/module/icons/actions/IconAttach.js.map +1 -1
  262. package/lib/module/icons/actions/IconCamera.js.map +1 -1
  263. package/lib/module/icons/actions/IconChat.js.map +1 -1
  264. package/lib/module/icons/actions/IconCopy.js.map +1 -1
  265. package/lib/module/icons/actions/IconCustomerService.js.map +1 -1
  266. package/lib/module/icons/actions/IconDownload.js.map +1 -1
  267. package/lib/module/icons/actions/IconEdit.js.map +1 -1
  268. package/lib/module/icons/actions/IconEmail.js.map +1 -1
  269. package/lib/module/icons/actions/IconFilter.js.map +1 -1
  270. package/lib/module/icons/actions/IconHamburger.js.map +1 -1
  271. package/lib/module/icons/actions/IconHeartEmpty.js.map +1 -1
  272. package/lib/module/icons/actions/IconHeartFilled.js.map +1 -1
  273. package/lib/module/icons/actions/IconHeartOutline.js.map +1 -1
  274. package/lib/module/icons/actions/IconHelp.js.map +1 -1
  275. package/lib/module/icons/actions/IconInfo.js.map +1 -1
  276. package/lib/module/icons/actions/IconLike.js.map +1 -1
  277. package/lib/module/icons/actions/IconNotification.js.map +1 -1
  278. package/lib/module/icons/actions/IconOther.js.map +1 -1
  279. package/lib/module/icons/actions/IconPerson.js.map +1 -1
  280. package/lib/module/icons/actions/IconPicture.js.map +1 -1
  281. package/lib/module/icons/actions/IconPictureAdd.js.map +1 -1
  282. package/lib/module/icons/actions/IconReload.js.map +1 -1
  283. package/lib/module/icons/actions/IconSearch.js.map +1 -1
  284. package/lib/module/icons/actions/IconSeeHide.js.map +1 -1
  285. package/lib/module/icons/actions/IconSeeShow.js.map +1 -1
  286. package/lib/module/icons/actions/IconSetting.js.map +1 -1
  287. package/lib/module/icons/actions/IconShare.js.map +1 -1
  288. package/lib/module/icons/actions/IconShoppingCart.js.map +1 -1
  289. package/lib/module/icons/actions/IconSort.js.map +1 -1
  290. package/lib/module/icons/actions/IconSorting.js.map +1 -1
  291. package/lib/module/icons/actions/IconStarFilled.js.map +1 -1
  292. package/lib/module/icons/actions/IconStarOutline.js.map +1 -1
  293. package/lib/module/icons/actions/IconTrash.js.map +1 -1
  294. package/lib/module/icons/actions/IconUpload.js.map +1 -1
  295. package/lib/module/icons/index.js.map +1 -1
  296. package/lib/module/icons/misc/IconCalendar.js.map +1 -1
  297. package/lib/module/icons/misc/IconCash.js.map +1 -1
  298. package/lib/module/icons/misc/IconCategory.js.map +1 -1
  299. package/lib/module/icons/misc/IconContract.js.map +1 -1
  300. package/lib/module/icons/misc/IconCreditCard.js.map +1 -1
  301. package/lib/module/icons/misc/IconFlash.js.map +1 -1
  302. package/lib/module/icons/misc/IconGroup.js.map +1 -1
  303. package/lib/module/icons/misc/IconHistory.js.map +1 -1
  304. package/lib/module/icons/misc/IconLocation.js.map +1 -1
  305. package/lib/module/icons/misc/IconLock.js.map +1 -1
  306. package/lib/module/icons/misc/IconMoney.js.map +1 -1
  307. package/lib/module/icons/misc/IconMyLocation.js.map +1 -1
  308. package/lib/module/icons/misc/IconOfficial.js.map +1 -1
  309. package/lib/module/icons/misc/IconPromo.js.map +1 -1
  310. package/lib/module/icons/misc/IconProtection.js.map +1 -1
  311. package/lib/module/icons/misc/IconStore.js.map +1 -1
  312. package/lib/module/icons/misc/IconTick.js.map +1 -1
  313. package/lib/module/icons/misc/IconTicket.js.map +1 -1
  314. package/lib/module/icons/misc/IconTime.js.map +1 -1
  315. package/lib/module/icons/misc/IconVoucher.js.map +1 -1
  316. package/lib/module/icons/navigations/IconArrowDiagonal.js.map +1 -1
  317. package/lib/module/icons/navigations/IconArrowDown.js.map +1 -1
  318. package/lib/module/icons/navigations/IconArrowLeft.js.map +1 -1
  319. package/lib/module/icons/navigations/IconArrowRight.js.map +1 -1
  320. package/lib/module/icons/navigations/IconArrowUp.js.map +1 -1
  321. package/lib/module/icons/navigations/IconChevronDown.js.map +1 -1
  322. package/lib/module/icons/navigations/IconChevronLeft.js.map +1 -1
  323. package/lib/module/icons/navigations/IconChevronRight.js.map +1 -1
  324. package/lib/module/icons/navigations/IconChevronUp.js.map +1 -1
  325. package/lib/module/icons/navigations/IconClose.js.map +1 -1
  326. package/lib/module/icons/navs/IconNavAdiraku.js.map +1 -1
  327. package/lib/module/icons/navs/IconNavDocument.js.map +1 -1
  328. package/lib/module/icons/navs/IconNavHome.js.map +1 -1
  329. package/lib/module/icons/navs/IconNavPhone.js.map +1 -1
  330. package/lib/module/icons/navs/IconNavProfile.js.map +1 -1
  331. package/lib/module/icons/vehicles/IconBikeCaferacer.js.map +1 -1
  332. package/lib/module/icons/vehicles/IconBikeCooper.js.map +1 -1
  333. package/lib/module/icons/vehicles/IconBikeCruiser.js.map +1 -1
  334. package/lib/module/icons/vehicles/IconBikeDualsport.js.map +1 -1
  335. package/lib/module/icons/vehicles/IconBikeMopad.js.map +1 -1
  336. package/lib/module/icons/vehicles/IconBikeRoadster.js.map +1 -1
  337. package/lib/module/icons/vehicles/IconBikeScooter.js.map +1 -1
  338. package/lib/module/icons/vehicles/IconBikeScrambler.js.map +1 -1
  339. package/lib/module/icons/vehicles/IconBikeSportbike.js.map +1 -1
  340. package/lib/module/icons/vehicles/IconBikeSportstouring.js.map +1 -1
  341. package/lib/module/icons/vehicles/IconBikeTouring.js.map +1 -1
  342. package/lib/module/icons/vehicles/IconBikeTrialbike.js.map +1 -1
  343. package/lib/module/icons/vehicles/IconCarHatchback.js.map +1 -1
  344. package/lib/module/icons/vehicles/IconCarJeep.js.map +1 -1
  345. package/lib/module/icons/vehicles/IconCarMiniTruck.js.map +1 -1
  346. package/lib/module/icons/vehicles/IconCarMinivan.js.map +1 -1
  347. package/lib/module/icons/vehicles/IconCarMuv.js.map +1 -1
  348. package/lib/module/icons/vehicles/IconCarPickup.js.map +1 -1
  349. package/lib/module/icons/vehicles/IconCarSportCar.js.map +1 -1
  350. package/lib/module/icons/vehicles/IconCarSuperCar.js.map +1 -1
  351. package/lib/module/icons/vehicles/IconCarSuv.js.map +1 -1
  352. package/lib/module/icons/vehicles/IconCarVan.js.map +1 -1
  353. package/lib/module/icons/vehicles/IconCarWagon.js.map +1 -1
  354. package/lib/module/index.js.map +1 -1
  355. package/lib/module/themes/colors.js.map +1 -1
  356. package/lib/module/themes/index.js.map +1 -1
  357. package/lib/module/themes/radius.js.map +1 -1
  358. package/lib/module/themes/shadow.js.map +1 -1
  359. package/lib/module/themes/spacing.js.map +1 -1
  360. package/lib/module/types.js.map +1 -1
  361. package/lib/typescript/components/Appbar/Appbar.component.d.ts +4 -4
  362. package/lib/typescript/components/Appbar/Appbar.style.d.ts +10 -10
  363. package/lib/typescript/components/Appbar/Appbar.type.d.ts +18 -18
  364. package/lib/typescript/components/BottomSheet/BottomSheet.component.d.ts +9 -9
  365. package/lib/typescript/components/BottomSheet/BottomSheet.style.d.ts +19 -19
  366. package/lib/typescript/components/BottomSheet/BottomSheet.type.d.ts +22 -22
  367. package/lib/typescript/components/CheckBoxInput/CheckBoxInput.component.d.ts +4 -4
  368. package/lib/typescript/components/CheckBoxInput/CheckBoxInput.component.d.ts.map +1 -1
  369. package/lib/typescript/components/CheckBoxInput/CheckBoxInput.style.d.ts +17 -17
  370. package/lib/typescript/components/CheckBoxInput/CheckBoxInput.type.d.ts +54 -51
  371. package/lib/typescript/components/CheckBoxInput/CheckBoxInput.type.d.ts.map +1 -1
  372. package/lib/typescript/components/Checkbox/Checkbox.component.d.ts +4 -4
  373. package/lib/typescript/components/Checkbox/Checkbox.style.d.ts +11 -11
  374. package/lib/typescript/components/Checkbox/Checkbox.type.d.ts +4 -4
  375. package/lib/typescript/components/Divider/Divider.component.d.ts +4 -4
  376. package/lib/typescript/components/Divider/Divider.style.d.ts +9 -9
  377. package/lib/typescript/components/Divider/Divider.type.d.ts +15 -15
  378. package/lib/typescript/components/RadioButton/RadioButton.component.d.ts +4 -4
  379. package/lib/typescript/components/RadioButton/RadioButton.style.d.ts +10 -10
  380. package/lib/typescript/components/RadioButton/RadioButton.type.d.ts +4 -4
  381. package/lib/typescript/components/RadioInput/RadioInput.component.d.ts +4 -4
  382. package/lib/typescript/components/RadioInput/RadioInput.component.d.ts.map +1 -1
  383. package/lib/typescript/components/RadioInput/RadioInput.style.d.ts +17 -17
  384. package/lib/typescript/components/RadioInput/RadioInput.type.d.ts +53 -50
  385. package/lib/typescript/components/RadioInput/RadioInput.type.d.ts.map +1 -1
  386. package/lib/typescript/components/Snackbar/Snackbar.component.d.ts +11 -11
  387. package/lib/typescript/components/Snackbar/Snackbar.type.d.ts +7 -7
  388. package/lib/typescript/components/Snackbar/Snakbar.style.d.ts +9 -9
  389. package/lib/typescript/components/StepperCounter/StepperCounter.component.d.ts +4 -4
  390. package/lib/typescript/components/StepperCounter/StepperCounter.style.d.ts +18 -18
  391. package/lib/typescript/components/StepperCounter/StepperCounter.type.d.ts +15 -15
  392. package/lib/typescript/components/Tabs/Tabs.component.d.ts +4 -4
  393. package/lib/typescript/components/Tabs/Tabs.style.d.ts +8 -8
  394. package/lib/typescript/components/Tabs/Tabs.type.d.ts +15 -15
  395. package/lib/typescript/components/TextArea/TextArea.component.d.ts +4 -4
  396. package/lib/typescript/components/TextArea/TextArea.style.d.ts +15 -15
  397. package/lib/typescript/components/TextArea/TextArea.type.d.ts +28 -28
  398. package/lib/typescript/components/TextInput/TextInput.component.d.ts +9 -4
  399. package/lib/typescript/components/TextInput/TextInput.component.d.ts.map +1 -1
  400. package/lib/typescript/components/TextInput/TextInput.style.d.ts +16 -16
  401. package/lib/typescript/components/TextInput/TextInput.type.d.ts +32 -32
  402. package/lib/typescript/components/TextInput/TextInput.type.d.ts.map +1 -1
  403. package/lib/typescript/components/base/base.component.d.ts +4 -4
  404. package/lib/typescript/components/base/base.style.d.ts +9 -9
  405. package/lib/typescript/components/base/base.type.d.ts +14 -14
  406. package/lib/typescript/components/button/button.component.d.ts +4 -4
  407. package/lib/typescript/components/button/button.styles.d.ts +9 -9
  408. package/lib/typescript/components/button/button.type.d.ts +28 -28
  409. package/lib/typescript/components/coachmark/coachmark.component.d.ts +3 -3
  410. package/lib/typescript/components/coachmark/coachmark.style.d.ts +12 -12
  411. package/lib/typescript/components/coachmark/coachmark.type.d.ts +31 -31
  412. package/lib/typescript/components/countdown/countdown.component.d.ts +4 -4
  413. package/lib/typescript/components/countdown/countdown.style.d.ts +9 -9
  414. package/lib/typescript/components/countdown/countdown.type.d.ts +11 -11
  415. package/lib/typescript/components/dot/dot.component.d.ts +4 -4
  416. package/lib/typescript/components/dot/dot.style.d.ts +8 -8
  417. package/lib/typescript/components/dot/dot.type.d.ts +5 -5
  418. package/lib/typescript/components/index.d.ts +34 -34
  419. package/lib/typescript/components/information-box/information-box.component.d.ts +4 -4
  420. package/lib/typescript/components/information-box/information-box.style.d.ts +11 -11
  421. package/lib/typescript/components/information-box/information-box.type.d.ts +13 -13
  422. package/lib/typescript/components/label/label.component.d.ts +4 -4
  423. package/lib/typescript/components/label/label.style.d.ts +6 -6
  424. package/lib/typescript/components/label/label.type.d.ts +13 -13
  425. package/lib/typescript/components/rounded-tab/rounded-tab.component.d.ts +4 -4
  426. package/lib/typescript/components/rounded-tab/rounded-tab.style.d.ts +16 -16
  427. package/lib/typescript/components/rounded-tab/rounded-tab.type.d.ts +19 -19
  428. package/lib/typescript/components/slider-indicator/slider-indicator.component.d.ts +4 -4
  429. package/lib/typescript/components/slider-indicator/slider-indicator.style.d.ts +8 -8
  430. package/lib/typescript/components/slider-indicator/slider-indicator.type.d.ts +20 -20
  431. package/lib/typescript/components/switch/switch.component.d.ts +4 -4
  432. package/lib/typescript/components/switch/switch.style.d.ts +9 -9
  433. package/lib/typescript/components/switch/switch.type.d.ts +5 -5
  434. package/lib/typescript/components/textlink/textlink.component.d.ts +3 -3
  435. package/lib/typescript/components/textlink/textlink.style.d.ts +10 -10
  436. package/lib/typescript/components/textlink/textlink.type.d.ts +25 -25
  437. package/lib/typescript/components/typography/typography.component.d.ts +4 -4
  438. package/lib/typescript/components/typography/typography.style.d.ts +33 -33
  439. package/lib/typescript/components/typography/typography.type.d.ts +24 -24
  440. package/lib/typescript/icons/actions/IconAddMinus.d.ts +3 -3
  441. package/lib/typescript/icons/actions/IconAddPlus.d.ts +3 -3
  442. package/lib/typescript/icons/actions/IconAddRemove.d.ts +3 -3
  443. package/lib/typescript/icons/actions/IconAttach.d.ts +3 -3
  444. package/lib/typescript/icons/actions/IconCamera.d.ts +3 -3
  445. package/lib/typescript/icons/actions/IconChat.d.ts +3 -3
  446. package/lib/typescript/icons/actions/IconCopy.d.ts +3 -3
  447. package/lib/typescript/icons/actions/IconCustomerService.d.ts +3 -3
  448. package/lib/typescript/icons/actions/IconDownload.d.ts +3 -3
  449. package/lib/typescript/icons/actions/IconEdit.d.ts +3 -3
  450. package/lib/typescript/icons/actions/IconEmail.d.ts +3 -3
  451. package/lib/typescript/icons/actions/IconFilter.d.ts +3 -3
  452. package/lib/typescript/icons/actions/IconHamburger.d.ts +3 -3
  453. package/lib/typescript/icons/actions/IconHeartEmpty.d.ts +5 -5
  454. package/lib/typescript/icons/actions/IconHeartFilled.d.ts +3 -3
  455. package/lib/typescript/icons/actions/IconHeartOutline.d.ts +3 -3
  456. package/lib/typescript/icons/actions/IconHelp.d.ts +3 -3
  457. package/lib/typescript/icons/actions/IconInfo.d.ts +3 -3
  458. package/lib/typescript/icons/actions/IconLike.d.ts +3 -3
  459. package/lib/typescript/icons/actions/IconNotification.d.ts +3 -3
  460. package/lib/typescript/icons/actions/IconOther.d.ts +3 -3
  461. package/lib/typescript/icons/actions/IconPerson.d.ts +3 -3
  462. package/lib/typescript/icons/actions/IconPicture.d.ts +3 -3
  463. package/lib/typescript/icons/actions/IconPictureAdd.d.ts +3 -3
  464. package/lib/typescript/icons/actions/IconReload.d.ts +3 -3
  465. package/lib/typescript/icons/actions/IconSearch.d.ts +3 -3
  466. package/lib/typescript/icons/actions/IconSeeHide.d.ts +3 -3
  467. package/lib/typescript/icons/actions/IconSeeShow.d.ts +3 -3
  468. package/lib/typescript/icons/actions/IconSetting.d.ts +3 -3
  469. package/lib/typescript/icons/actions/IconShare.d.ts +3 -3
  470. package/lib/typescript/icons/actions/IconShoppingCart.d.ts +3 -3
  471. package/lib/typescript/icons/actions/IconSort.d.ts +3 -3
  472. package/lib/typescript/icons/actions/IconSorting.d.ts +3 -3
  473. package/lib/typescript/icons/actions/IconStarFilled.d.ts +3 -3
  474. package/lib/typescript/icons/actions/IconStarOutline.d.ts +3 -3
  475. package/lib/typescript/icons/actions/IconTrash.d.ts +3 -3
  476. package/lib/typescript/icons/actions/IconUpload.d.ts +3 -3
  477. package/lib/typescript/icons/index.d.ts +95 -95
  478. package/lib/typescript/icons/misc/IconCalendar.d.ts +3 -3
  479. package/lib/typescript/icons/misc/IconCash.d.ts +3 -3
  480. package/lib/typescript/icons/misc/IconCategory.d.ts +3 -3
  481. package/lib/typescript/icons/misc/IconContract.d.ts +3 -3
  482. package/lib/typescript/icons/misc/IconCreditCard.d.ts +3 -3
  483. package/lib/typescript/icons/misc/IconFlash.d.ts +3 -3
  484. package/lib/typescript/icons/misc/IconGroup.d.ts +3 -3
  485. package/lib/typescript/icons/misc/IconHistory.d.ts +3 -3
  486. package/lib/typescript/icons/misc/IconLocation.d.ts +3 -3
  487. package/lib/typescript/icons/misc/IconLock.d.ts +3 -3
  488. package/lib/typescript/icons/misc/IconMoney.d.ts +3 -3
  489. package/lib/typescript/icons/misc/IconMyLocation.d.ts +3 -3
  490. package/lib/typescript/icons/misc/IconOfficial.d.ts +3 -3
  491. package/lib/typescript/icons/misc/IconPromo.d.ts +3 -3
  492. package/lib/typescript/icons/misc/IconProtection.d.ts +3 -3
  493. package/lib/typescript/icons/misc/IconStore.d.ts +3 -3
  494. package/lib/typescript/icons/misc/IconTick.d.ts +3 -3
  495. package/lib/typescript/icons/misc/IconTicket.d.ts +3 -3
  496. package/lib/typescript/icons/misc/IconTime.d.ts +3 -3
  497. package/lib/typescript/icons/misc/IconVoucher.d.ts +3 -3
  498. package/lib/typescript/icons/navigations/IconArrowDiagonal.d.ts +3 -3
  499. package/lib/typescript/icons/navigations/IconArrowDown.d.ts +3 -3
  500. package/lib/typescript/icons/navigations/IconArrowLeft.d.ts +3 -3
  501. package/lib/typescript/icons/navigations/IconArrowRight.d.ts +3 -3
  502. package/lib/typescript/icons/navigations/IconArrowUp.d.ts +3 -3
  503. package/lib/typescript/icons/navigations/IconChevronDown.d.ts +3 -3
  504. package/lib/typescript/icons/navigations/IconChevronLeft.d.ts +3 -3
  505. package/lib/typescript/icons/navigations/IconChevronRight.d.ts +3 -3
  506. package/lib/typescript/icons/navigations/IconChevronUp.d.ts +3 -3
  507. package/lib/typescript/icons/navigations/IconClose.d.ts +3 -3
  508. package/lib/typescript/icons/navs/IconNavAdiraku.d.ts +5 -5
  509. package/lib/typescript/icons/navs/IconNavDocument.d.ts +5 -5
  510. package/lib/typescript/icons/navs/IconNavHome.d.ts +3 -3
  511. package/lib/typescript/icons/navs/IconNavPhone.d.ts +3 -3
  512. package/lib/typescript/icons/navs/IconNavProfile.d.ts +3 -3
  513. package/lib/typescript/icons/vehicles/IconBikeCaferacer.d.ts +3 -3
  514. package/lib/typescript/icons/vehicles/IconBikeCooper.d.ts +3 -3
  515. package/lib/typescript/icons/vehicles/IconBikeCruiser.d.ts +3 -3
  516. package/lib/typescript/icons/vehicles/IconBikeDualsport.d.ts +3 -3
  517. package/lib/typescript/icons/vehicles/IconBikeMopad.d.ts +3 -3
  518. package/lib/typescript/icons/vehicles/IconBikeRoadster.d.ts +3 -3
  519. package/lib/typescript/icons/vehicles/IconBikeScooter.d.ts +3 -3
  520. package/lib/typescript/icons/vehicles/IconBikeScrambler.d.ts +3 -3
  521. package/lib/typescript/icons/vehicles/IconBikeSportbike.d.ts +3 -3
  522. package/lib/typescript/icons/vehicles/IconBikeSportstouring.d.ts +3 -3
  523. package/lib/typescript/icons/vehicles/IconBikeTouring.d.ts +3 -3
  524. package/lib/typescript/icons/vehicles/IconBikeTrialbike.d.ts +3 -3
  525. package/lib/typescript/icons/vehicles/IconCarHatchback.d.ts +3 -3
  526. package/lib/typescript/icons/vehicles/IconCarJeep.d.ts +3 -3
  527. package/lib/typescript/icons/vehicles/IconCarMiniTruck.d.ts +3 -3
  528. package/lib/typescript/icons/vehicles/IconCarMinivan.d.ts +3 -3
  529. package/lib/typescript/icons/vehicles/IconCarMuv.d.ts +3 -3
  530. package/lib/typescript/icons/vehicles/IconCarPickup.d.ts +3 -3
  531. package/lib/typescript/icons/vehicles/IconCarSportCar.d.ts +3 -3
  532. package/lib/typescript/icons/vehicles/IconCarSuperCar.d.ts +3 -3
  533. package/lib/typescript/icons/vehicles/IconCarSuv.d.ts +3 -3
  534. package/lib/typescript/icons/vehicles/IconCarVan.d.ts +3 -3
  535. package/lib/typescript/icons/vehicles/IconCarWagon.d.ts +3 -3
  536. package/lib/typescript/index.d.ts +2 -2
  537. package/lib/typescript/themes/colors.d.ts +29 -29
  538. package/lib/typescript/themes/index.d.ts +4 -4
  539. package/lib/typescript/themes/radius.d.ts +11 -11
  540. package/lib/typescript/themes/shadow.d.ts +5 -5
  541. package/lib/typescript/themes/spacing.d.ts +15 -15
  542. package/lib/typescript/types.d.ts +27 -27
  543. package/package.json +132 -131
  544. package/react-native-ui.podspec +36 -36
  545. package/src/components/Appbar/Appbar.component.tsx +73 -73
  546. package/src/components/Appbar/Appbar.style.tsx +46 -46
  547. package/src/components/Appbar/Appbar.type.ts +28 -28
  548. package/src/components/BottomSheet/BottomSheet.component.tsx +228 -228
  549. package/src/components/BottomSheet/BottomSheet.style.tsx +88 -88
  550. package/src/components/BottomSheet/BottomSheet.type.ts +38 -38
  551. package/src/components/CheckBoxInput/CheckBoxInput.component.tsx +260 -256
  552. package/src/components/CheckBoxInput/CheckBoxInput.style.tsx +106 -106
  553. package/src/components/CheckBoxInput/CheckBoxInput.type.ts +74 -68
  554. package/src/components/Checkbox/Checkbox.component.tsx +36 -36
  555. package/src/components/Checkbox/Checkbox.style.tsx +39 -39
  556. package/src/components/Checkbox/Checkbox.type.ts +5 -5
  557. package/src/components/Divider/Divider.component.tsx +23 -23
  558. package/src/components/Divider/Divider.style.tsx +34 -34
  559. package/src/components/Divider/Divider.type.ts +18 -18
  560. package/src/components/RadioButton/RadioButton.component.tsx +30 -30
  561. package/src/components/RadioButton/RadioButton.style.tsx +45 -45
  562. package/src/components/RadioButton/RadioButton.type.ts +5 -5
  563. package/src/components/RadioInput/RadioInput.component.tsx +231 -227
  564. package/src/components/RadioInput/RadioInput.style.tsx +106 -106
  565. package/src/components/RadioInput/RadioInput.type.ts +72 -66
  566. package/src/components/Snackbar/Snackbar.component.tsx +79 -79
  567. package/src/components/Snackbar/Snackbar.type.ts +10 -10
  568. package/src/components/Snackbar/Snakbar.style.tsx +41 -41
  569. package/src/components/StepperCounter/StepperCounter.component.tsx +111 -111
  570. package/src/components/StepperCounter/StepperCounter.style.tsx +96 -96
  571. package/src/components/StepperCounter/StepperCounter.type.ts +18 -18
  572. package/src/components/Tabs/Tabs.component.tsx +94 -94
  573. package/src/components/Tabs/Tabs.style.tsx +34 -34
  574. package/src/components/Tabs/Tabs.type.ts +16 -16
  575. package/src/components/TextArea/TextArea.component.tsx +78 -78
  576. package/src/components/TextArea/TextArea.style.tsx +68 -68
  577. package/src/components/TextArea/TextArea.type.ts +32 -32
  578. package/src/components/TextInput/TextInput.component.tsx +130 -122
  579. package/src/components/TextInput/TextInput.style.tsx +95 -95
  580. package/src/components/TextInput/TextInput.type.ts +38 -38
  581. package/src/components/base/base.component.tsx +19 -19
  582. package/src/components/base/base.style.tsx +27 -27
  583. package/src/components/base/base.type.ts +15 -15
  584. package/src/components/button/button.component.tsx +47 -47
  585. package/src/components/button/button.styles.ts +76 -76
  586. package/src/components/button/button.type.ts +29 -29
  587. package/src/components/coachmark/coachmark.component.tsx +37 -37
  588. package/src/components/coachmark/coachmark.style.tsx +80 -80
  589. package/src/components/coachmark/coachmark.type.ts +32 -32
  590. package/src/components/countdown/countdown.component.tsx +99 -99
  591. package/src/components/countdown/countdown.style.tsx +43 -43
  592. package/src/components/countdown/countdown.type.ts +12 -12
  593. package/src/components/dot/dot.component.tsx +23 -23
  594. package/src/components/dot/dot.style.tsx +33 -33
  595. package/src/components/dot/dot.type.ts +6 -6
  596. package/src/components/index.ts +35 -35
  597. package/src/components/information-box/information-box.component.tsx +55 -55
  598. package/src/components/information-box/information-box.style.tsx +49 -49
  599. package/src/components/information-box/information-box.type.ts +20 -20
  600. package/src/components/label/label.component.tsx +19 -19
  601. package/src/components/label/label.style.tsx +16 -16
  602. package/src/components/label/label.type.ts +14 -14
  603. package/src/components/rounded-tab/rounded-tab.component.tsx +108 -108
  604. package/src/components/rounded-tab/rounded-tab.style.tsx +66 -66
  605. package/src/components/rounded-tab/rounded-tab.type.ts +21 -21
  606. package/src/components/slider-indicator/slider-indicator.component.tsx +81 -81
  607. package/src/components/slider-indicator/slider-indicator.style.tsx +31 -31
  608. package/src/components/slider-indicator/slider-indicator.type.ts +23 -23
  609. package/src/components/switch/switch.component.tsx +53 -53
  610. package/src/components/switch/switch.style.tsx +52 -52
  611. package/src/components/switch/switch.type.ts +7 -7
  612. package/src/components/textlink/textlink.component.tsx +44 -44
  613. package/src/components/textlink/textlink.style.tsx +36 -36
  614. package/src/components/textlink/textlink.type.ts +26 -26
  615. package/src/components/typography/typography.component.tsx +27 -27
  616. package/src/components/typography/typography.style.tsx +237 -237
  617. package/src/components/typography/typography.type.ts +56 -56
  618. package/src/icons/actions/IconAddMinus.tsx +32 -32
  619. package/src/icons/actions/IconAddPlus.tsx +32 -32
  620. package/src/icons/actions/IconAddRemove.tsx +27 -27
  621. package/src/icons/actions/IconAttach.tsx +32 -32
  622. package/src/icons/actions/IconCamera.tsx +32 -32
  623. package/src/icons/actions/IconChat.tsx +32 -32
  624. package/src/icons/actions/IconCopy.tsx +38 -38
  625. package/src/icons/actions/IconCustomerService.tsx +37 -37
  626. package/src/icons/actions/IconDownload.tsx +32 -32
  627. package/src/icons/actions/IconEdit.tsx +32 -32
  628. package/src/icons/actions/IconEmail.tsx +30 -30
  629. package/src/icons/actions/IconFilter.tsx +52 -52
  630. package/src/icons/actions/IconHamburger.tsx +32 -32
  631. package/src/icons/actions/IconHeartEmpty.tsx +59 -59
  632. package/src/icons/actions/IconHeartFilled.tsx +25 -25
  633. package/src/icons/actions/IconHeartOutline.tsx +32 -32
  634. package/src/icons/actions/IconHelp.tsx +32 -32
  635. package/src/icons/actions/IconInfo.tsx +38 -38
  636. package/src/icons/actions/IconLike.tsx +30 -30
  637. package/src/icons/actions/IconNotification.tsx +46 -46
  638. package/src/icons/actions/IconOther.tsx +36 -36
  639. package/src/icons/actions/IconPerson.tsx +32 -32
  640. package/src/icons/actions/IconPicture.tsx +36 -36
  641. package/src/icons/actions/IconPictureAdd.tsx +44 -44
  642. package/src/icons/actions/IconReload.tsx +30 -30
  643. package/src/icons/actions/IconSearch.tsx +32 -32
  644. package/src/icons/actions/IconSeeHide.tsx +31 -31
  645. package/src/icons/actions/IconSeeShow.tsx +30 -30
  646. package/src/icons/actions/IconSetting.tsx +32 -32
  647. package/src/icons/actions/IconShare.tsx +32 -32
  648. package/src/icons/actions/IconShoppingCart.tsx +32 -32
  649. package/src/icons/actions/IconSort.tsx +32 -32
  650. package/src/icons/actions/IconSorting.tsx +38 -38
  651. package/src/icons/actions/IconStarFilled.tsx +32 -32
  652. package/src/icons/actions/IconStarOutline.tsx +32 -32
  653. package/src/icons/actions/IconTrash.tsx +38 -38
  654. package/src/icons/actions/IconUpload.tsx +32 -32
  655. package/src/icons/index.ts +100 -100
  656. package/src/icons/misc/IconCalendar.tsx +32 -32
  657. package/src/icons/misc/IconCash.tsx +32 -32
  658. package/src/icons/misc/IconCategory.tsx +32 -32
  659. package/src/icons/misc/IconContract.tsx +36 -36
  660. package/src/icons/misc/IconCreditCard.tsx +32 -32
  661. package/src/icons/misc/IconFlash.tsx +30 -30
  662. package/src/icons/misc/IconGroup.tsx +32 -32
  663. package/src/icons/misc/IconHistory.tsx +42 -42
  664. package/src/icons/misc/IconLocation.tsx +32 -32
  665. package/src/icons/misc/IconLock.tsx +33 -33
  666. package/src/icons/misc/IconMoney.tsx +37 -37
  667. package/src/icons/misc/IconMyLocation.tsx +32 -32
  668. package/src/icons/misc/IconOfficial.tsx +34 -34
  669. package/src/icons/misc/IconPromo.tsx +32 -32
  670. package/src/icons/misc/IconProtection.tsx +39 -39
  671. package/src/icons/misc/IconStore.tsx +40 -40
  672. package/src/icons/misc/IconTick.tsx +32 -32
  673. package/src/icons/misc/IconTicket.tsx +32 -32
  674. package/src/icons/misc/IconTime.tsx +38 -38
  675. package/src/icons/misc/IconVoucher.tsx +38 -38
  676. package/src/icons/navigations/IconArrowDiagonal.tsx +39 -39
  677. package/src/icons/navigations/IconArrowDown.tsx +32 -32
  678. package/src/icons/navigations/IconArrowLeft.tsx +32 -32
  679. package/src/icons/navigations/IconArrowRight.tsx +32 -32
  680. package/src/icons/navigations/IconArrowUp.tsx +32 -32
  681. package/src/icons/navigations/IconChevronDown.tsx +27 -27
  682. package/src/icons/navigations/IconChevronLeft.tsx +27 -27
  683. package/src/icons/navigations/IconChevronRight.tsx +27 -27
  684. package/src/icons/navigations/IconChevronUp.tsx +27 -27
  685. package/src/icons/navigations/IconClose.tsx +38 -38
  686. package/src/icons/navs/IconNavAdiraku.tsx +44 -44
  687. package/src/icons/navs/IconNavDocument.tsx +41 -41
  688. package/src/icons/navs/IconNavHome.tsx +31 -31
  689. package/src/icons/navs/IconNavPhone.tsx +32 -32
  690. package/src/icons/navs/IconNavProfile.tsx +32 -32
  691. package/src/icons/vehicles/IconBikeCaferacer.tsx +34 -34
  692. package/src/icons/vehicles/IconBikeCooper.tsx +38 -38
  693. package/src/icons/vehicles/IconBikeCruiser.tsx +34 -34
  694. package/src/icons/vehicles/IconBikeDualsport.tsx +34 -34
  695. package/src/icons/vehicles/IconBikeMopad.tsx +42 -42
  696. package/src/icons/vehicles/IconBikeRoadster.tsx +38 -38
  697. package/src/icons/vehicles/IconBikeScooter.tsx +34 -34
  698. package/src/icons/vehicles/IconBikeScrambler.tsx +34 -34
  699. package/src/icons/vehicles/IconBikeSportbike.tsx +34 -34
  700. package/src/icons/vehicles/IconBikeSportstouring.tsx +34 -34
  701. package/src/icons/vehicles/IconBikeTouring.tsx +30 -30
  702. package/src/icons/vehicles/IconBikeTrialbike.tsx +34 -34
  703. package/src/icons/vehicles/IconCarHatchback.tsx +32 -32
  704. package/src/icons/vehicles/IconCarJeep.tsx +32 -32
  705. package/src/icons/vehicles/IconCarMiniTruck.tsx +32 -32
  706. package/src/icons/vehicles/IconCarMinivan.tsx +32 -32
  707. package/src/icons/vehicles/IconCarMuv.tsx +32 -32
  708. package/src/icons/vehicles/IconCarPickup.tsx +32 -32
  709. package/src/icons/vehicles/IconCarSportCar.tsx +32 -32
  710. package/src/icons/vehicles/IconCarSuperCar.tsx +32 -32
  711. package/src/icons/vehicles/IconCarSuv.tsx +32 -32
  712. package/src/icons/vehicles/IconCarVan.tsx +32 -32
  713. package/src/icons/vehicles/IconCarWagon.tsx +32 -32
  714. package/src/index.tsx +2 -2
  715. package/src/themes/colors.ts +152 -152
  716. package/src/themes/index.ts +4 -4
  717. package/src/themes/radius.ts +12 -12
  718. package/src/themes/shadow.tsx +48 -48
  719. package/src/themes/spacing.ts +16 -16
  720. package/src/types.ts +39 -39
@@ -1,38 +1,38 @@
1
- import { ReactNode } from 'react';
2
-
3
- import type { TextProps, TouchableHighlightProps } from 'react-native';
4
-
5
- export interface BottomSheetProps {
6
- onDismiss?: () => void;
7
-
8
- sheetHeader?: ReactNode;
9
-
10
- title: string;
11
-
12
- titleProps?: TextProps;
13
-
14
- subtitle?: string;
15
-
16
- subtitleProps?: TextProps;
17
-
18
- isOverlayDismissDisabled?: boolean;
19
-
20
- dismissIcon?: ReactNode;
21
-
22
- dismissIconProps?: TouchableHighlightProps;
23
-
24
- action?: ReactNode;
25
-
26
- largeIcon?: ReactNode;
27
-
28
- largeIconContainerHeight?: number;
29
-
30
- animationType?: 'slide' | 'none' | 'fade';
31
-
32
- children?: ReactNode;
33
- }
34
-
35
- export type BottomSheetRefHandle = {
36
- open: () => void;
37
- close: () => void;
38
- };
1
+ import { ReactNode } from 'react';
2
+
3
+ import type { TextProps, TouchableHighlightProps } from 'react-native';
4
+
5
+ export interface BottomSheetProps {
6
+ onDismiss?: () => void;
7
+
8
+ sheetHeader?: ReactNode;
9
+
10
+ title: string;
11
+
12
+ titleProps?: TextProps;
13
+
14
+ subtitle?: string;
15
+
16
+ subtitleProps?: TextProps;
17
+
18
+ isOverlayDismissDisabled?: boolean;
19
+
20
+ dismissIcon?: ReactNode;
21
+
22
+ dismissIconProps?: TouchableHighlightProps;
23
+
24
+ action?: ReactNode;
25
+
26
+ largeIcon?: ReactNode;
27
+
28
+ largeIconContainerHeight?: number;
29
+
30
+ animationType?: 'slide' | 'none' | 'fade';
31
+
32
+ children?: ReactNode;
33
+ }
34
+
35
+ export type BottomSheetRefHandle = {
36
+ open: () => void;
37
+ close: () => void;
38
+ };
@@ -1,256 +1,260 @@
1
- import * as React from 'react';
2
- import {
3
- Animated,
4
- FlatList,
5
- View,
6
- TouchableHighlight,
7
- TouchableWithoutFeedback,
8
- } from 'react-native';
9
-
10
- import { getStyle } from './CheckBoxInput.style';
11
- import { Typography } from '../typography/typography.component';
12
- import { BottomSheet } from '../BottomSheet/BottomSheet.component';
13
- import { Button } from '../button/button.component';
14
- import { Palettes } from '../../themes';
15
- import { IconChevronDown } from '../../icons';
16
- import { Divider } from '../Divider/Divider.component';
17
-
18
- import type {
19
- CheckboxInputProps,
20
- CheckboxItemProps,
21
- CheckboxItemPropsComponent,
22
- } from './CheckBoxInput.type';
23
- import { Checkbox } from '../Checkbox/Checkbox.component';
24
-
25
- import type { BottomSheetHandler } from '../BottomSheet/BottomSheet.component';
26
- import type { LayoutChangeEvent } from 'react-native';
27
-
28
- const CheckBoxInput: React.FunctionComponent<CheckboxInputProps> = (props) => {
29
- const {
30
- value,
31
- label,
32
- errorMessage,
33
- helperMessage,
34
- isError,
35
- disabled,
36
- editable = true,
37
- inputIcon = (
38
- <IconChevronDown width={14} height={14} fill={Palettes.black[900]} />
39
- ),
40
- data,
41
- onSaveInput = () => {},
42
- saveInputLabel,
43
- bottomSheetOpt,
44
- selectionLimit,
45
- onInputDismiss = () => {},
46
- customCheckboxInput,
47
- customItemSeparator = <Divider />,
48
- } = props;
49
-
50
- const [labelWidth, setLabelWidth] = React.useState(0);
51
- const [selectedValue, setSelectedValue] = React.useState<
52
- CheckboxItemProps[] | undefined
53
- >(value);
54
-
55
- const computedStyle = getStyle(props);
56
-
57
- const bottomSheetref = React.useRef<BottomSheetHandler>(null);
58
-
59
- const animation = React.useRef(new Animated.Value(0));
60
- const scale = animation.current.interpolate({
61
- inputRange: [0, 1],
62
- outputRange: [1, 0.8],
63
- });
64
- const translateY = animation.current.interpolate({
65
- inputRange: [0, 1],
66
- outputRange: [0, -30],
67
- });
68
- const translateX = animation.current.interpolate({
69
- inputRange: [0, 1],
70
- outputRange: [0, labelWidth * -0.1],
71
- });
72
-
73
- const animate = (toValue: 0 | 1) =>
74
- Animated.spring(animation.current, {
75
- useNativeDriver: true,
76
- toValue,
77
- }).start();
78
-
79
- const selectedObject = React.useCallback(() => {
80
- const labels = value?.map((check) => {
81
- const checkbox = data?.find((obj) => {
82
- return obj.value === check.value;
83
- });
84
-
85
- return checkbox ? checkbox.label : null;
86
- });
87
-
88
- return labels?.join(', ');
89
- }, [data, value]);
90
-
91
- React.useEffect(() => {
92
- if (selectedObject()) {
93
- animate(1);
94
- } else {
95
- animate(0);
96
- }
97
- }, [selectedObject]);
98
-
99
- React.useEffect(() => {
100
- setSelectedValue(value);
101
- }, [value]);
102
-
103
- const getLabelWidth = (event: LayoutChangeEvent) => {
104
- const { width } = event.nativeEvent.layout;
105
- setLabelWidth(width + 24);
106
- };
107
-
108
- const onCheckboxItemPress = (checkboxValue: CheckboxItemProps) => {
109
- const index = selectedValue?.some(
110
- (selected) => selected.value === checkboxValue.value
111
- );
112
- if (index) {
113
- const arr = selectedValue?.filter(
114
- (item) => item.value !== checkboxValue.value
115
- );
116
- setSelectedValue(arr);
117
- } else {
118
- if (
119
- selectionLimit &&
120
- selectionLimit > 0 &&
121
- selectedValue?.length === selectionLimit
122
- ) {
123
- let temp = selectedValue;
124
- temp.splice(0, 1);
125
- setSelectedValue([...(temp || []), checkboxValue]);
126
- } else {
127
- setSelectedValue([...(selectedValue || []), checkboxValue]);
128
- }
129
- }
130
- };
131
-
132
- const handleOnSaveInput = () => {
133
- onSaveInput(selectedValue);
134
- onInputDismiss();
135
- bottomSheetref.current?.close();
136
- };
137
-
138
- const handleOnBottomSheetDismiss = () => {
139
- setSelectedValue(value);
140
- onInputDismiss();
141
- };
142
-
143
- const openBottomSheet = () => {
144
- if (!disabled && editable) {
145
- bottomSheetref.current?.open();
146
- }
147
- };
148
-
149
- return (
150
- <>
151
- <TouchableWithoutFeedback onPress={openBottomSheet}>
152
- <View style={computedStyle.fieldWrapper}>
153
- <View style={computedStyle.fieldContainer}>
154
- <Animated.View
155
- style={[
156
- computedStyle.labelContainer,
157
- {
158
- transform: [{ scale }, { translateY }, { translateX }],
159
- },
160
- ]}
161
- onLayout={getLabelWidth}
162
- pointerEvents="none"
163
- >
164
- <Typography variant="body2" style={computedStyle.label}>
165
- {label}
166
- </Typography>
167
- </Animated.View>
168
- <View style={computedStyle.inputWrapper}>
169
- <Typography
170
- variant="body2"
171
- style={[computedStyle.textField]}
172
- numberOfLines={1}
173
- >
174
- {selectedObject()}
175
- </Typography>
176
- {inputIcon}
177
- </View>
178
- </View>
179
- {errorMessage || helperMessage ? (
180
- <Typography variant="caption" style={computedStyle.messageHelper}>
181
- {errorMessage || ((!isError && helperMessage) as string)}
182
- </Typography>
183
- ) : null}
184
- </View>
185
- </TouchableWithoutFeedback>
186
- <BottomSheet
187
- ref={bottomSheetref}
188
- onDismiss={handleOnBottomSheetDismiss}
189
- {...bottomSheetOpt}
190
- >
191
- <FlatList
192
- data={data}
193
- renderItem={(item) => {
194
- if (customCheckboxInput) {
195
- return customCheckboxInput({
196
- data: item,
197
- selectedValue: selectedValue,
198
- onItemPress: onCheckboxItemPress,
199
- });
200
- }
201
-
202
- return (
203
- <CheckboxItem
204
- data={item}
205
- selectedValue={selectedValue}
206
- onItemPress={onCheckboxItemPress}
207
- />
208
- );
209
- }}
210
- // eslint-disable-next-line react-native/no-inline-styles
211
- contentContainerStyle={{ padding: 16 }}
212
- ItemSeparatorComponent={() => customItemSeparator}
213
- />
214
- {/* eslint-disable-next-line react-native/no-inline-styles */}
215
- <View style={{ padding: 16, backgroundColor: 'transparent' }}>
216
- <Button
217
- variant="primary"
218
- label={saveInputLabel}
219
- onPress={handleOnSaveInput}
220
- />
221
- </View>
222
- </BottomSheet>
223
- </>
224
- );
225
- };
226
-
227
- function CheckboxItem({
228
- data,
229
- selectedValue,
230
- onItemPress = () => {},
231
- }: CheckboxItemPropsComponent) {
232
- const { item } = data;
233
- const computedStyle = getStyle({} as CheckboxInputProps);
234
-
235
- return (
236
- <TouchableHighlight
237
- onPress={() => onItemPress(item)}
238
- underlayColor={Palettes.whiteDark[100]}
239
- disabled={item.disabled}
240
- >
241
- <View style={[computedStyle.checkboxItemWrapper]}>
242
- <Typography variant="body2" numberOfLines={2}>
243
- {item?.label}
244
- </Typography>
245
- <Checkbox
246
- selected={
247
- !!selectedValue?.some((selected) => selected.value === item.value)
248
- }
249
- disabled={item.disabled}
250
- />
251
- </View>
252
- </TouchableHighlight>
253
- );
254
- }
255
-
256
- export { CheckBoxInput };
1
+ import * as React from 'react';
2
+ import {
3
+ Animated,
4
+ FlatList,
5
+ View,
6
+ TouchableHighlight,
7
+ TouchableWithoutFeedback,
8
+ } from 'react-native';
9
+
10
+ import { getStyle } from './CheckBoxInput.style';
11
+ import { Typography } from '../typography/typography.component';
12
+ import { BottomSheet } from '../BottomSheet/BottomSheet.component';
13
+ import { Button } from '../button/button.component';
14
+ import { Palettes } from '../../themes';
15
+ import { IconChevronDown } from '../../icons';
16
+ import { Divider } from '../Divider/Divider.component';
17
+
18
+ import type {
19
+ CheckboxInputProps,
20
+ CheckboxItemProps,
21
+ CheckboxItemPropsComponent,
22
+ } from './CheckBoxInput.type';
23
+ import { Checkbox } from '../Checkbox/Checkbox.component';
24
+
25
+ import type { BottomSheetHandler } from '../BottomSheet/BottomSheet.component';
26
+ import type { LayoutChangeEvent } from 'react-native';
27
+
28
+ const CheckBoxInput: React.FunctionComponent<CheckboxInputProps> = (props) => {
29
+ const {
30
+ value,
31
+ label,
32
+ errorMessage,
33
+ helperMessage,
34
+ isError,
35
+ disabled,
36
+ editable = true,
37
+ inputIcon = (
38
+ <IconChevronDown width={14} height={14} fill={Palettes.black[900]} />
39
+ ),
40
+ data,
41
+ onSaveInput = () => {},
42
+ saveInputLabel,
43
+ saveInputProps = {},
44
+ bottomSheetOpt,
45
+ selectionLimit,
46
+ onInputDismiss = () => {},
47
+ customCheckboxInput,
48
+ customItemSeparator = <Divider />,
49
+ } = props;
50
+
51
+ const [labelWidth, setLabelWidth] = React.useState(0);
52
+ const [selectedValue, setSelectedValue] = React.useState<
53
+ CheckboxItemProps[] | undefined
54
+ >(value);
55
+
56
+ const computedStyle = getStyle(props);
57
+
58
+ const bottomSheetref = React.useRef<BottomSheetHandler>(null);
59
+
60
+ const animation = React.useRef(new Animated.Value(0));
61
+ const scale = animation.current.interpolate({
62
+ inputRange: [0, 1],
63
+ outputRange: [1, 0.8],
64
+ });
65
+ const translateY = animation.current.interpolate({
66
+ inputRange: [0, 1],
67
+ outputRange: [0, -30],
68
+ });
69
+ const translateX = animation.current.interpolate({
70
+ inputRange: [0, 1],
71
+ outputRange: [0, labelWidth * -0.1],
72
+ });
73
+
74
+ const animate = (toValue: 0 | 1) =>
75
+ Animated.spring(animation.current, {
76
+ useNativeDriver: true,
77
+ toValue,
78
+ }).start();
79
+
80
+ const selectedObject = React.useCallback(() => {
81
+ const labels = value?.map((check) => {
82
+ const checkbox = data?.find((obj) => {
83
+ return obj.value === check.value;
84
+ });
85
+
86
+ return checkbox ? checkbox.label : null;
87
+ });
88
+
89
+ return labels?.join(', ');
90
+ }, [data, value]);
91
+
92
+ React.useEffect(() => {
93
+ if (selectedObject()) {
94
+ animate(1);
95
+ } else {
96
+ animate(0);
97
+ }
98
+ }, [selectedObject]);
99
+
100
+ React.useEffect(() => {
101
+ setSelectedValue(value);
102
+ }, [value]);
103
+
104
+ const getLabelWidth = (event: LayoutChangeEvent) => {
105
+ const { width } = event.nativeEvent.layout;
106
+ setLabelWidth(width + 24);
107
+ };
108
+
109
+ const onCheckboxItemPress = (checkboxValue: CheckboxItemProps) => {
110
+ const index = selectedValue?.some(
111
+ (selected) => selected.value === checkboxValue.value
112
+ );
113
+ if (index) {
114
+ const arr = selectedValue?.filter(
115
+ (item) => item.value !== checkboxValue.value
116
+ );
117
+ setSelectedValue(arr);
118
+ } else {
119
+ if (
120
+ selectionLimit &&
121
+ selectionLimit > 0 &&
122
+ selectedValue?.length === selectionLimit
123
+ ) {
124
+ let temp = selectedValue;
125
+ temp.splice(0, 1);
126
+ setSelectedValue([...(temp || []), checkboxValue]);
127
+ } else {
128
+ setSelectedValue([...(selectedValue || []), checkboxValue]);
129
+ }
130
+ }
131
+ };
132
+
133
+ const handleOnSaveInput = () => {
134
+ onSaveInput(selectedValue);
135
+ onInputDismiss();
136
+ bottomSheetref.current?.close();
137
+ };
138
+
139
+ const handleOnBottomSheetDismiss = () => {
140
+ setSelectedValue(value);
141
+ onInputDismiss();
142
+ };
143
+
144
+ const openBottomSheet = () => {
145
+ if (!disabled && editable) {
146
+ bottomSheetref.current?.open();
147
+ }
148
+ };
149
+
150
+ return (
151
+ <>
152
+ <TouchableWithoutFeedback onPress={openBottomSheet}>
153
+ <View style={computedStyle.fieldWrapper}>
154
+ <View style={computedStyle.fieldContainer}>
155
+ <Animated.View
156
+ style={[
157
+ computedStyle.labelContainer,
158
+ {
159
+ transform: [{ scale }, { translateY }, { translateX }],
160
+ },
161
+ ]}
162
+ onLayout={getLabelWidth}
163
+ pointerEvents="none"
164
+ >
165
+ <Typography variant="body2" style={computedStyle.label}>
166
+ {label}
167
+ </Typography>
168
+ </Animated.View>
169
+ <View style={computedStyle.inputWrapper}>
170
+ <Typography
171
+ variant="body2"
172
+ style={[computedStyle.textField]}
173
+ numberOfLines={1}
174
+ >
175
+ {selectedObject()}
176
+ </Typography>
177
+ {inputIcon}
178
+ </View>
179
+ </View>
180
+ {errorMessage || helperMessage ? (
181
+ <Typography variant="caption" style={computedStyle.messageHelper}>
182
+ {errorMessage || ((!isError && helperMessage) as string)}
183
+ </Typography>
184
+ ) : null}
185
+ </View>
186
+ </TouchableWithoutFeedback>
187
+ <BottomSheet
188
+ ref={bottomSheetref}
189
+ onDismiss={handleOnBottomSheetDismiss}
190
+ {...bottomSheetOpt}
191
+ >
192
+ <FlatList
193
+ data={data}
194
+ renderItem={(item) => {
195
+ if (customCheckboxInput) {
196
+ return customCheckboxInput({
197
+ data: item,
198
+ selectedValue: selectedValue,
199
+ onItemPress: onCheckboxItemPress,
200
+ });
201
+ }
202
+
203
+ return (
204
+ <CheckboxItem
205
+ data={item}
206
+ selectedValue={selectedValue}
207
+ onItemPress={onCheckboxItemPress}
208
+ />
209
+ );
210
+ }}
211
+ // eslint-disable-next-line react-native/no-inline-styles
212
+ contentContainerStyle={{ padding: 16 }}
213
+ ItemSeparatorComponent={() => customItemSeparator}
214
+ />
215
+ {/* eslint-disable-next-line react-native/no-inline-styles */}
216
+ <View style={{ padding: 16, backgroundColor: 'transparent' }}>
217
+ <Button
218
+ variant="primary"
219
+ label={saveInputLabel}
220
+ onPress={handleOnSaveInput}
221
+ {...saveInputProps}
222
+ />
223
+ </View>
224
+ </BottomSheet>
225
+ </>
226
+ );
227
+ };
228
+
229
+ function CheckboxItem({
230
+ data,
231
+ selectedValue,
232
+ onItemPress = () => {},
233
+ }: CheckboxItemPropsComponent) {
234
+ const { item } = data;
235
+ const { label, value, disabled } = item;
236
+ const computedStyle = getStyle({} as CheckboxInputProps);
237
+
238
+ return (
239
+ <TouchableHighlight
240
+ onPress={() => onItemPress(item)}
241
+ underlayColor={Palettes.whiteDark[100]}
242
+ disabled={disabled}
243
+ {...item}
244
+ >
245
+ <View style={[computedStyle.checkboxItemWrapper]}>
246
+ <Typography variant="body2" numberOfLines={2}>
247
+ {label}
248
+ </Typography>
249
+ <Checkbox
250
+ selected={
251
+ !!selectedValue?.some((selected) => selected.value === value)
252
+ }
253
+ disabled={disabled}
254
+ />
255
+ </View>
256
+ </TouchableHighlight>
257
+ );
258
+ }
259
+
260
+ export { CheckBoxInput };