@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,228 +1,228 @@
1
- import * as React from 'react';
2
- import {
3
- Animated,
4
- Dimensions,
5
- PanResponder,
6
- Modal,
7
- TouchableWithoutFeedback,
8
- View,
9
- } from 'react-native';
10
-
11
- import { getStyle } from './BottomSheet.style';
12
- import { Typography } from '../typography/typography.component';
13
-
14
- import type { BottomSheetProps } from './BottomSheet.type';
15
- import { TouchableHighlight } from 'react-native';
16
-
17
- type BottomSheetRefHandle = {
18
- open: () => void;
19
- close: () => void;
20
- };
21
-
22
- export type BottomSheetHandler = React.ElementRef<typeof BottomSheet>;
23
-
24
- const BottomSheet = React.forwardRef<BottomSheetRefHandle, BottomSheetProps>(
25
- (props, ref) => {
26
- const {
27
- onDismiss,
28
- title,
29
- titleProps = {},
30
- subtitle,
31
- subtitleProps = {},
32
- isOverlayDismissDisabled = false,
33
- dismissIcon = null,
34
- dismissIconProps = {},
35
- action = null,
36
- largeIcon = null,
37
- largeIconContainerHeight = 50,
38
- animationType = 'slide',
39
- children,
40
- } = props;
41
- const screenHeight = Dimensions.get('screen').height;
42
- const screenWidth = Dimensions.get('screen').width;
43
- const panY = React.useRef(new Animated.Value(screenHeight)).current;
44
-
45
- const [visibility, setVisibility] = React.useState(false);
46
-
47
- React.useImperativeHandle(
48
- ref,
49
- () => {
50
- return {
51
- open() {
52
- setVisibility(true);
53
- },
54
- close() {
55
- setVisibility(false);
56
- },
57
- };
58
- },
59
- []
60
- );
61
-
62
- const computedStyle = getStyle();
63
-
64
- const resetPositionAnim = Animated.timing(panY, {
65
- toValue: 0,
66
- duration: 300,
67
- useNativeDriver: true,
68
- });
69
-
70
- const closeAnim = Animated.timing(panY, {
71
- toValue: screenHeight,
72
- duration: 300,
73
- useNativeDriver: true,
74
- });
75
-
76
- const translateY = panY.interpolate({
77
- inputRange: [-1, 0, 1],
78
- outputRange: [0, 0, 1],
79
- });
80
-
81
- const handleDismiss = () => {
82
- setVisibility(false);
83
- closeAnim.start(onDismiss);
84
- };
85
-
86
- React.useEffect(() => {
87
- resetPositionAnim.start();
88
- }, [resetPositionAnim]);
89
-
90
- const panResponders = React.useRef(
91
- PanResponder.create({
92
- onStartShouldSetPanResponder: () => true,
93
- onMoveShouldSetPanResponder: () => false,
94
- onPanResponderMove: Animated.event([null, { dy: panY }], {
95
- useNativeDriver: false,
96
- }),
97
- onPanResponderRelease: (_, gs) => {
98
- if (gs.dy > 0 && gs.vy > 0.3) {
99
- return handleDismiss();
100
- }
101
- return resetPositionAnim.start();
102
- },
103
- })
104
- ).current;
105
-
106
- const renderSheetHeader = () => {
107
- return (
108
- <View style={[computedStyle.sheetHeaderWrapper]}>
109
- <View style={[computedStyle.sheetHeader]}>
110
- <View
111
- style={[
112
- {
113
- maxWidth: ((screenWidth - 32) / 8) * 2,
114
- minWidth: ((screenWidth - 32) / 8) * 2,
115
- },
116
- ]}
117
- >
118
- {!!dismissIcon && (
119
- <TouchableHighlight
120
- onPress={handleDismiss}
121
- style={[computedStyle.sheetDismissIconWrapper]}
122
- underlayColor={'transparent'}
123
- {...dismissIconProps}
124
- >
125
- {dismissIcon}
126
- </TouchableHighlight>
127
- )}
128
- </View>
129
- <View
130
- style={[
131
- {
132
- maxWidth: ((screenWidth - 32) / 8) * 4,
133
- minWidth: ((screenWidth - 32) / 8) * 4,
134
- },
135
- ]}
136
- >
137
- {!!title && (
138
- <Typography
139
- variant="subtitle1"
140
- style={[computedStyle.textCenter]}
141
- numberOfLines={2}
142
- {...titleProps}
143
- >
144
- {title}
145
- </Typography>
146
- )}
147
- </View>
148
- <View
149
- style={[
150
- {
151
- maxWidth: ((screenWidth - 32) / 8) * 2,
152
- minWidth: ((screenWidth - 32) / 8) * 2,
153
- },
154
- computedStyle.sheetActionWrapper,
155
- ]}
156
- >
157
- {action || null}
158
- </View>
159
- </View>
160
- {!!subtitle && (
161
- <Typography
162
- variant="body2"
163
- numberOfLines={2}
164
- style={[computedStyle.textCenter]}
165
- {...subtitleProps}
166
- >
167
- {subtitle}
168
- </Typography>
169
- )}
170
- </View>
171
- );
172
- };
173
-
174
- const renderLargeIconComponent = () => {
175
- return (
176
- <View
177
- style={[
178
- computedStyle.largeIconContainer,
179
- { height: largeIconContainerHeight },
180
- ]}
181
- >
182
- <View style={[computedStyle.largeIconAbsoluteWrapper]}>
183
- {largeIcon}
184
- </View>
185
- </View>
186
- );
187
- };
188
-
189
- return (
190
- <Modal
191
- animated
192
- animationType={animationType}
193
- visible={visibility}
194
- transparent
195
- onRequestClose={handleDismiss}
196
- >
197
- <View style={[computedStyle.flex, computedStyle.overlayColor]}>
198
- <TouchableWithoutFeedback
199
- onPress={handleDismiss}
200
- disabled={isOverlayDismissDisabled}
201
- >
202
- <View style={[computedStyle.overlay]} />
203
- </TouchableWithoutFeedback>
204
- <Animated.View
205
- style={{
206
- ...computedStyle.container,
207
- transform: [{ translateY: translateY }],
208
- }}
209
- >
210
- <View>
211
- <View
212
- style={[computedStyle.sheetIndicatorWrapper]}
213
- {...panResponders.panHandlers}
214
- >
215
- {!largeIcon && <View style={computedStyle.sliderIndicator} />}
216
- </View>
217
- {largeIcon ? renderLargeIconComponent() : renderSheetHeader()}
218
- </View>
219
-
220
- {children}
221
- </Animated.View>
222
- </View>
223
- </Modal>
224
- );
225
- }
226
- );
227
-
228
- export { BottomSheet };
1
+ import * as React from 'react';
2
+ import {
3
+ Animated,
4
+ Dimensions,
5
+ PanResponder,
6
+ Modal,
7
+ TouchableWithoutFeedback,
8
+ View,
9
+ } from 'react-native';
10
+
11
+ import { getStyle } from './BottomSheet.style';
12
+ import { Typography } from '../typography/typography.component';
13
+
14
+ import type { BottomSheetProps } from './BottomSheet.type';
15
+ import { TouchableHighlight } from 'react-native';
16
+
17
+ type BottomSheetRefHandle = {
18
+ open: () => void;
19
+ close: () => void;
20
+ };
21
+
22
+ export type BottomSheetHandler = React.ElementRef<typeof BottomSheet>;
23
+
24
+ const BottomSheet = React.forwardRef<BottomSheetRefHandle, BottomSheetProps>(
25
+ (props, ref) => {
26
+ const {
27
+ onDismiss,
28
+ title,
29
+ titleProps = {},
30
+ subtitle,
31
+ subtitleProps = {},
32
+ isOverlayDismissDisabled = false,
33
+ dismissIcon = null,
34
+ dismissIconProps = {},
35
+ action = null,
36
+ largeIcon = null,
37
+ largeIconContainerHeight = 50,
38
+ animationType = 'slide',
39
+ children,
40
+ } = props;
41
+ const screenHeight = Dimensions.get('screen').height;
42
+ const screenWidth = Dimensions.get('screen').width;
43
+ const panY = React.useRef(new Animated.Value(screenHeight)).current;
44
+
45
+ const [visibility, setVisibility] = React.useState(false);
46
+
47
+ React.useImperativeHandle(
48
+ ref,
49
+ () => {
50
+ return {
51
+ open() {
52
+ setVisibility(true);
53
+ },
54
+ close() {
55
+ setVisibility(false);
56
+ },
57
+ };
58
+ },
59
+ []
60
+ );
61
+
62
+ const computedStyle = getStyle();
63
+
64
+ const resetPositionAnim = Animated.timing(panY, {
65
+ toValue: 0,
66
+ duration: 300,
67
+ useNativeDriver: true,
68
+ });
69
+
70
+ const closeAnim = Animated.timing(panY, {
71
+ toValue: screenHeight,
72
+ duration: 300,
73
+ useNativeDriver: true,
74
+ });
75
+
76
+ const translateY = panY.interpolate({
77
+ inputRange: [-1, 0, 1],
78
+ outputRange: [0, 0, 1],
79
+ });
80
+
81
+ const handleDismiss = () => {
82
+ setVisibility(false);
83
+ closeAnim.start(onDismiss);
84
+ };
85
+
86
+ React.useEffect(() => {
87
+ resetPositionAnim.start();
88
+ }, [resetPositionAnim]);
89
+
90
+ const panResponders = React.useRef(
91
+ PanResponder.create({
92
+ onStartShouldSetPanResponder: () => true,
93
+ onMoveShouldSetPanResponder: () => false,
94
+ onPanResponderMove: Animated.event([null, { dy: panY }], {
95
+ useNativeDriver: false,
96
+ }),
97
+ onPanResponderRelease: (_, gs) => {
98
+ if (gs.dy > 0 && gs.vy > 0.3) {
99
+ return handleDismiss();
100
+ }
101
+ return resetPositionAnim.start();
102
+ },
103
+ })
104
+ ).current;
105
+
106
+ const renderSheetHeader = () => {
107
+ return (
108
+ <View style={[computedStyle.sheetHeaderWrapper]}>
109
+ <View style={[computedStyle.sheetHeader]}>
110
+ <View
111
+ style={[
112
+ {
113
+ maxWidth: ((screenWidth - 32) / 8) * 2,
114
+ minWidth: ((screenWidth - 32) / 8) * 2,
115
+ },
116
+ ]}
117
+ >
118
+ {!!dismissIcon && (
119
+ <TouchableHighlight
120
+ onPress={handleDismiss}
121
+ style={[computedStyle.sheetDismissIconWrapper]}
122
+ underlayColor={'transparent'}
123
+ {...dismissIconProps}
124
+ >
125
+ {dismissIcon}
126
+ </TouchableHighlight>
127
+ )}
128
+ </View>
129
+ <View
130
+ style={[
131
+ {
132
+ maxWidth: ((screenWidth - 32) / 8) * 4,
133
+ minWidth: ((screenWidth - 32) / 8) * 4,
134
+ },
135
+ ]}
136
+ >
137
+ {!!title && (
138
+ <Typography
139
+ variant="subtitle1"
140
+ style={[computedStyle.textCenter]}
141
+ numberOfLines={2}
142
+ {...titleProps}
143
+ >
144
+ {title}
145
+ </Typography>
146
+ )}
147
+ </View>
148
+ <View
149
+ style={[
150
+ {
151
+ maxWidth: ((screenWidth - 32) / 8) * 2,
152
+ minWidth: ((screenWidth - 32) / 8) * 2,
153
+ },
154
+ computedStyle.sheetActionWrapper,
155
+ ]}
156
+ >
157
+ {action || null}
158
+ </View>
159
+ </View>
160
+ {!!subtitle && (
161
+ <Typography
162
+ variant="body2"
163
+ numberOfLines={2}
164
+ style={[computedStyle.textCenter]}
165
+ {...subtitleProps}
166
+ >
167
+ {subtitle}
168
+ </Typography>
169
+ )}
170
+ </View>
171
+ );
172
+ };
173
+
174
+ const renderLargeIconComponent = () => {
175
+ return (
176
+ <View
177
+ style={[
178
+ computedStyle.largeIconContainer,
179
+ { height: largeIconContainerHeight },
180
+ ]}
181
+ >
182
+ <View style={[computedStyle.largeIconAbsoluteWrapper]}>
183
+ {largeIcon}
184
+ </View>
185
+ </View>
186
+ );
187
+ };
188
+
189
+ return (
190
+ <Modal
191
+ animated
192
+ animationType={animationType}
193
+ visible={visibility}
194
+ transparent
195
+ onRequestClose={handleDismiss}
196
+ >
197
+ <View style={[computedStyle.flex, computedStyle.overlayColor]}>
198
+ <TouchableWithoutFeedback
199
+ onPress={handleDismiss}
200
+ disabled={isOverlayDismissDisabled}
201
+ >
202
+ <View style={[computedStyle.overlay]} />
203
+ </TouchableWithoutFeedback>
204
+ <Animated.View
205
+ style={{
206
+ ...computedStyle.container,
207
+ transform: [{ translateY: translateY }],
208
+ }}
209
+ >
210
+ <View>
211
+ <View
212
+ style={[computedStyle.sheetIndicatorWrapper]}
213
+ {...panResponders.panHandlers}
214
+ >
215
+ {!largeIcon && <View style={computedStyle.sliderIndicator} />}
216
+ </View>
217
+ {largeIcon ? renderLargeIconComponent() : renderSheetHeader()}
218
+ </View>
219
+
220
+ {children}
221
+ </Animated.View>
222
+ </View>
223
+ </Modal>
224
+ );
225
+ }
226
+ );
227
+
228
+ export { BottomSheet };
@@ -1,88 +1,88 @@
1
- import type { ViewStyle, TextStyle } from 'react-native';
2
- import { Dimensions, StyleSheet } from 'react-native';
3
-
4
- import { Palettes, Radius, Spacing } from '../../../src/themes';
5
-
6
- interface ComputedStyleProps {
7
- overlay?: ViewStyle;
8
- container?: ViewStyle;
9
- overlayColor?: ViewStyle;
10
- sliderIndicatorRow?: ViewStyle;
11
- sliderIndicator?: ViewStyle;
12
- sheetIndicatorWrapper?: ViewStyle;
13
- sheetHeaderWrapper?: ViewStyle;
14
- sheetHeader?: ViewStyle;
15
- flex?: ViewStyle;
16
- textCenter?: TextStyle;
17
- sheetDismissIconWrapper?: ViewStyle;
18
- sheetActionWrapper?: ViewStyle;
19
- largeIconContainer?: ViewStyle;
20
- largeIconAbsoluteWrapper?: ViewStyle;
21
- }
22
-
23
- export const getStyle = () => {
24
- const computedStyle: ComputedStyleProps = {};
25
-
26
- computedStyle.flex = {
27
- flex: 1,
28
- };
29
-
30
- computedStyle.overlay = {
31
- flex: 1,
32
- justifyContent: 'flex-end',
33
- };
34
- computedStyle.overlayColor = {
35
- backgroundColor: 'rgba(0,0,0,0.2)',
36
- };
37
-
38
- computedStyle.container = {
39
- maxHeight: (Dimensions.get('window').height / 8) * 7,
40
- borderTopRightRadius: Radius[16],
41
- borderTopLeftRadius: Radius[16],
42
- backgroundColor: Palettes.whiteDark[50],
43
- };
44
- computedStyle.sliderIndicator = {
45
- height: 5,
46
- width: 100,
47
- borderRadius: Radius.full,
48
- backgroundColor: Palettes.grey[100],
49
- };
50
-
51
- computedStyle.sheetIndicatorWrapper = {
52
- height: 24,
53
- alignItems: 'center',
54
- justifyContent: 'center',
55
- };
56
-
57
- computedStyle.sheetHeader = {
58
- flexDirection: 'row',
59
- alignItems: 'center',
60
- justifyContent: 'space-between',
61
- };
62
-
63
- computedStyle.sheetHeaderWrapper = {
64
- paddingHorizontal: Spacing[16],
65
- };
66
- computedStyle.sheetDismissIconWrapper = {
67
- padding: 4,
68
- };
69
- computedStyle.sheetActionWrapper = {
70
- flexDirection: 'row',
71
- justifyContent: 'flex-end',
72
- };
73
-
74
- computedStyle.textCenter = {
75
- textAlign: 'center',
76
- };
77
-
78
- computedStyle.largeIconContainer = {
79
- alignItems: 'center',
80
- };
81
-
82
- computedStyle.largeIconAbsoluteWrapper = {
83
- position: 'absolute',
84
- bottom: 0,
85
- };
86
-
87
- return StyleSheet.create(computedStyle);
88
- };
1
+ import type { ViewStyle, TextStyle } from 'react-native';
2
+ import { Dimensions, StyleSheet } from 'react-native';
3
+
4
+ import { Palettes, Radius, Spacing } from '../../../src/themes';
5
+
6
+ interface ComputedStyleProps {
7
+ overlay?: ViewStyle;
8
+ container?: ViewStyle;
9
+ overlayColor?: ViewStyle;
10
+ sliderIndicatorRow?: ViewStyle;
11
+ sliderIndicator?: ViewStyle;
12
+ sheetIndicatorWrapper?: ViewStyle;
13
+ sheetHeaderWrapper?: ViewStyle;
14
+ sheetHeader?: ViewStyle;
15
+ flex?: ViewStyle;
16
+ textCenter?: TextStyle;
17
+ sheetDismissIconWrapper?: ViewStyle;
18
+ sheetActionWrapper?: ViewStyle;
19
+ largeIconContainer?: ViewStyle;
20
+ largeIconAbsoluteWrapper?: ViewStyle;
21
+ }
22
+
23
+ export const getStyle = () => {
24
+ const computedStyle: ComputedStyleProps = {};
25
+
26
+ computedStyle.flex = {
27
+ flex: 1,
28
+ };
29
+
30
+ computedStyle.overlay = {
31
+ flex: 1,
32
+ justifyContent: 'flex-end',
33
+ };
34
+ computedStyle.overlayColor = {
35
+ backgroundColor: 'rgba(0,0,0,0.2)',
36
+ };
37
+
38
+ computedStyle.container = {
39
+ maxHeight: (Dimensions.get('window').height / 8) * 7,
40
+ borderTopRightRadius: Radius[16],
41
+ borderTopLeftRadius: Radius[16],
42
+ backgroundColor: Palettes.whiteDark[50],
43
+ };
44
+ computedStyle.sliderIndicator = {
45
+ height: 5,
46
+ width: 100,
47
+ borderRadius: Radius.full,
48
+ backgroundColor: Palettes.grey[100],
49
+ };
50
+
51
+ computedStyle.sheetIndicatorWrapper = {
52
+ height: 24,
53
+ alignItems: 'center',
54
+ justifyContent: 'center',
55
+ };
56
+
57
+ computedStyle.sheetHeader = {
58
+ flexDirection: 'row',
59
+ alignItems: 'center',
60
+ justifyContent: 'space-between',
61
+ };
62
+
63
+ computedStyle.sheetHeaderWrapper = {
64
+ paddingHorizontal: Spacing[16],
65
+ };
66
+ computedStyle.sheetDismissIconWrapper = {
67
+ padding: 4,
68
+ };
69
+ computedStyle.sheetActionWrapper = {
70
+ flexDirection: 'row',
71
+ justifyContent: 'flex-end',
72
+ };
73
+
74
+ computedStyle.textCenter = {
75
+ textAlign: 'center',
76
+ };
77
+
78
+ computedStyle.largeIconContainer = {
79
+ alignItems: 'center',
80
+ };
81
+
82
+ computedStyle.largeIconAbsoluteWrapper = {
83
+ position: 'absolute',
84
+ bottom: 0,
85
+ };
86
+
87
+ return StyleSheet.create(computedStyle);
88
+ };