@adiraku/react-native-ui 1.2.3-snapshot.2 → 1.2.3-snapshot.4
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.
- package/LICENSE +20 -20
- package/README.md +55 -55
- package/lib/commonjs/components/Appbar/Appbar.component.js +1 -1
- package/lib/commonjs/components/Appbar/Appbar.component.js.map +1 -1
- package/lib/commonjs/components/Appbar/Appbar.style.js +5 -2
- package/lib/commonjs/components/Appbar/Appbar.style.js.map +1 -1
- package/lib/commonjs/components/Appbar/Appbar.type.js.map +1 -1
- package/lib/commonjs/components/BottomSheet/BottomSheet.component.js.map +1 -1
- package/lib/commonjs/components/BottomSheet/BottomSheet.style.js.map +1 -1
- package/lib/commonjs/components/BottomSheet/BottomSheet.type.js.map +1 -1
- package/lib/commonjs/components/CheckBoxInput/CheckBoxInput.component.js.map +1 -1
- package/lib/commonjs/components/CheckBoxInput/CheckBoxInput.style.js.map +1 -1
- package/lib/commonjs/components/CheckBoxInput/CheckBoxInput.type.js.map +1 -1
- package/lib/commonjs/components/Checkbox/Checkbox.component.js.map +1 -1
- package/lib/commonjs/components/Checkbox/Checkbox.style.js.map +1 -1
- package/lib/commonjs/components/Checkbox/Checkbox.type.js.map +1 -1
- package/lib/commonjs/components/Divider/Divider.component.js.map +1 -1
- package/lib/commonjs/components/Divider/Divider.style.js.map +1 -1
- package/lib/commonjs/components/Divider/Divider.type.js.map +1 -1
- package/lib/commonjs/components/RadioButton/RadioButton.component.js.map +1 -1
- package/lib/commonjs/components/RadioButton/RadioButton.style.js.map +1 -1
- package/lib/commonjs/components/RadioButton/RadioButton.type.js.map +1 -1
- package/lib/commonjs/components/RadioInput/RadioInput.component.js.map +1 -1
- package/lib/commonjs/components/RadioInput/RadioInput.style.js.map +1 -1
- package/lib/commonjs/components/RadioInput/RadioInput.type.js.map +1 -1
- package/lib/commonjs/components/Snackbar/Snackbar.component.js.map +1 -1
- package/lib/commonjs/components/Snackbar/Snackbar.type.js.map +1 -1
- package/lib/commonjs/components/Snackbar/Snakbar.style.js.map +1 -1
- package/lib/commonjs/components/StepperCounter/StepperCounter.component.js.map +1 -1
- package/lib/commonjs/components/StepperCounter/StepperCounter.style.js.map +1 -1
- package/lib/commonjs/components/StepperCounter/StepperCounter.type.js.map +1 -1
- package/lib/commonjs/components/Tabs/Tabs.component.js +0 -1
- package/lib/commonjs/components/Tabs/Tabs.component.js.map +1 -1
- package/lib/commonjs/components/Tabs/Tabs.style.js.map +1 -1
- package/lib/commonjs/components/Tabs/Tabs.type.js.map +1 -1
- package/lib/commonjs/components/TextArea/TextArea.component.js.map +1 -1
- package/lib/commonjs/components/TextArea/TextArea.style.js.map +1 -1
- package/lib/commonjs/components/TextArea/TextArea.type.js.map +1 -1
- package/lib/commonjs/components/TextInput/TextInput.component.js.map +1 -1
- package/lib/commonjs/components/TextInput/TextInput.style.js.map +1 -1
- package/lib/commonjs/components/TextInput/TextInput.type.js.map +1 -1
- package/lib/commonjs/components/base/base.component.js.map +1 -1
- package/lib/commonjs/components/base/base.style.js.map +1 -1
- package/lib/commonjs/components/base/base.type.js.map +1 -1
- package/lib/commonjs/components/button/button.component.js.map +1 -1
- package/lib/commonjs/components/button/button.styles.js.map +1 -1
- package/lib/commonjs/components/button/button.type.js.map +1 -1
- package/lib/commonjs/components/coachmark/coachmark.component.js.map +1 -1
- package/lib/commonjs/components/coachmark/coachmark.style.js.map +1 -1
- package/lib/commonjs/components/coachmark/coachmark.type.js.map +1 -1
- package/lib/commonjs/components/countdown/countdown.component.js.map +1 -1
- package/lib/commonjs/components/countdown/countdown.style.js.map +1 -1
- package/lib/commonjs/components/countdown/countdown.type.js.map +1 -1
- package/lib/commonjs/components/dot/dot.component.js.map +1 -1
- package/lib/commonjs/components/dot/dot.style.js.map +1 -1
- package/lib/commonjs/components/dot/dot.type.js.map +1 -1
- package/lib/commonjs/components/index.js.map +1 -1
- package/lib/commonjs/components/information-box/information-box.component.js.map +1 -1
- package/lib/commonjs/components/information-box/information-box.style.js.map +1 -1
- package/lib/commonjs/components/information-box/information-box.type.js.map +1 -1
- package/lib/commonjs/components/label/label.component.js.map +1 -1
- package/lib/commonjs/components/label/label.style.js.map +1 -1
- package/lib/commonjs/components/label/label.type.js.map +1 -1
- package/lib/commonjs/components/rounded-tab/rounded-tab.component.js +2 -5
- package/lib/commonjs/components/rounded-tab/rounded-tab.component.js.map +1 -1
- package/lib/commonjs/components/rounded-tab/rounded-tab.style.js.map +1 -1
- package/lib/commonjs/components/rounded-tab/rounded-tab.type.js.map +1 -1
- package/lib/commonjs/components/slider-indicator/slider-indicator.component.js.map +1 -1
- package/lib/commonjs/components/slider-indicator/slider-indicator.style.js.map +1 -1
- package/lib/commonjs/components/slider-indicator/slider-indicator.type.js.map +1 -1
- package/lib/commonjs/components/switch/switch.component.js.map +1 -1
- package/lib/commonjs/components/switch/switch.style.js.map +1 -1
- package/lib/commonjs/components/switch/switch.type.js.map +1 -1
- package/lib/commonjs/components/textlink/textlink.component.js.map +1 -1
- package/lib/commonjs/components/textlink/textlink.style.js.map +1 -1
- package/lib/commonjs/components/textlink/textlink.type.js.map +1 -1
- package/lib/commonjs/components/typography/typography.component.js.map +1 -1
- package/lib/commonjs/components/typography/typography.style.js.map +1 -1
- package/lib/commonjs/components/typography/typography.type.js.map +1 -1
- package/lib/commonjs/icons/actions/IconAddMinus.js.map +1 -1
- package/lib/commonjs/icons/actions/IconAddPlus.js.map +1 -1
- package/lib/commonjs/icons/actions/IconAddRemove.js.map +1 -1
- package/lib/commonjs/icons/actions/IconAttach.js.map +1 -1
- package/lib/commonjs/icons/actions/IconBeliMobil.js.map +1 -1
- package/lib/commonjs/icons/actions/IconCamera.js.map +1 -1
- package/lib/commonjs/icons/actions/IconChat.js.map +1 -1
- package/lib/commonjs/icons/actions/IconCopy.js.map +1 -1
- package/lib/commonjs/icons/actions/IconCustomerService.js.map +1 -1
- package/lib/commonjs/icons/actions/IconDot.js.map +1 -1
- package/lib/commonjs/icons/actions/IconDownload.js.map +1 -1
- package/lib/commonjs/icons/actions/IconEdit.js.map +1 -1
- package/lib/commonjs/icons/actions/IconEmail.js.map +1 -1
- package/lib/commonjs/icons/actions/IconFilter.js.map +1 -1
- package/lib/commonjs/icons/actions/IconGallery.js.map +1 -1
- package/lib/commonjs/icons/actions/IconHamburger.js.map +1 -1
- package/lib/commonjs/icons/actions/IconHeartEmpty.js.map +1 -1
- package/lib/commonjs/icons/actions/IconHeartFilled.js.map +1 -1
- package/lib/commonjs/icons/actions/IconHeartOutline.js.map +1 -1
- package/lib/commonjs/icons/actions/IconHelp.js.map +1 -1
- package/lib/commonjs/icons/actions/IconInfo.js.map +1 -1
- package/lib/commonjs/icons/actions/IconJualMobil.js.map +1 -1
- package/lib/commonjs/icons/actions/IconLike.js.map +1 -1
- package/lib/commonjs/icons/actions/IconMinus.js.map +1 -1
- package/lib/commonjs/icons/actions/IconNotification.js.map +1 -1
- package/lib/commonjs/icons/actions/IconOther.js.map +1 -1
- package/lib/commonjs/icons/actions/IconPerson.js.map +1 -1
- package/lib/commonjs/icons/actions/IconPicture.js.map +1 -1
- package/lib/commonjs/icons/actions/IconPictureAdd.js.map +1 -1
- package/lib/commonjs/icons/actions/IconReload.js.map +1 -1
- package/lib/commonjs/icons/actions/IconRoundAdd.js.map +1 -1
- package/lib/commonjs/icons/actions/IconRoundClose.js.map +1 -1
- package/lib/commonjs/icons/actions/IconSearch.js.map +1 -1
- package/lib/commonjs/icons/actions/IconSeeHide.js.map +1 -1
- package/lib/commonjs/icons/actions/IconSeeShow.js.map +1 -1
- package/lib/commonjs/icons/actions/IconSetting.js.map +1 -1
- package/lib/commonjs/icons/actions/IconShare.js.map +1 -1
- package/lib/commonjs/icons/actions/IconShoppingBag.js.map +1 -1
- package/lib/commonjs/icons/actions/IconShoppingCart.js.map +1 -1
- package/lib/commonjs/icons/actions/IconSmartphone.js.map +1 -1
- package/lib/commonjs/icons/actions/IconSort.js.map +1 -1
- package/lib/commonjs/icons/actions/IconSorting.js.map +1 -1
- package/lib/commonjs/icons/actions/IconStarFilled.js.map +1 -1
- package/lib/commonjs/icons/actions/IconStarOutline.js.map +1 -1
- package/lib/commonjs/icons/actions/IconTrash.js.map +1 -1
- package/lib/commonjs/icons/actions/IconUpload.js.map +1 -1
- package/lib/commonjs/icons/actions/IconUser.js.map +1 -1
- package/lib/commonjs/icons/actions/IconVideo.js.map +1 -1
- package/lib/commonjs/icons/index.js.map +1 -1
- package/lib/commonjs/icons/misc/IconCalendar.js.map +1 -1
- package/lib/commonjs/icons/misc/IconCash.js.map +1 -1
- package/lib/commonjs/icons/misc/IconCategory.js.map +1 -1
- package/lib/commonjs/icons/misc/IconContract.js.map +1 -1
- package/lib/commonjs/icons/misc/IconCreditCard.js.map +1 -1
- package/lib/commonjs/icons/misc/IconFlash.js.map +1 -1
- package/lib/commonjs/icons/misc/IconGroup.js.map +1 -1
- package/lib/commonjs/icons/misc/IconHistory.js.map +1 -1
- package/lib/commonjs/icons/misc/IconLocation.js.map +1 -1
- package/lib/commonjs/icons/misc/IconLock.js.map +1 -1
- package/lib/commonjs/icons/misc/IconMoney.js.map +1 -1
- package/lib/commonjs/icons/misc/IconMyLocation.js.map +1 -1
- package/lib/commonjs/icons/misc/IconOfficial.js.map +1 -1
- package/lib/commonjs/icons/misc/IconPromo.js.map +1 -1
- package/lib/commonjs/icons/misc/IconProtection.js.map +1 -1
- package/lib/commonjs/icons/misc/IconStore.js.map +1 -1
- package/lib/commonjs/icons/misc/IconTick.js.map +1 -1
- package/lib/commonjs/icons/misc/IconTicket.js.map +1 -1
- package/lib/commonjs/icons/misc/IconTime.js.map +1 -1
- package/lib/commonjs/icons/misc/IconVoucher.js.map +1 -1
- package/lib/commonjs/icons/navigations/IconArrowDiagonal.js.map +1 -1
- package/lib/commonjs/icons/navigations/IconArrowDown.js.map +1 -1
- package/lib/commonjs/icons/navigations/IconArrowLeft.js.map +1 -1
- package/lib/commonjs/icons/navigations/IconArrowRight.js.map +1 -1
- package/lib/commonjs/icons/navigations/IconArrowUp.js.map +1 -1
- package/lib/commonjs/icons/navigations/IconChevronDown.js.map +1 -1
- package/lib/commonjs/icons/navigations/IconChevronLeft.js.map +1 -1
- package/lib/commonjs/icons/navigations/IconChevronRight.js.map +1 -1
- package/lib/commonjs/icons/navigations/IconChevronUp.js.map +1 -1
- package/lib/commonjs/icons/navigations/IconClose.js.map +1 -1
- package/lib/commonjs/icons/navs/IconNavAdiraku.js.map +1 -1
- package/lib/commonjs/icons/navs/IconNavDocument.js.map +1 -1
- package/lib/commonjs/icons/navs/IconNavHome.js.map +1 -1
- package/lib/commonjs/icons/navs/IconNavPhone.js.map +1 -1
- package/lib/commonjs/icons/navs/IconNavProfile.js.map +1 -1
- package/lib/commonjs/icons/vehicles/IconBikeCaferacer.js.map +1 -1
- package/lib/commonjs/icons/vehicles/IconBikeCooper.js.map +1 -1
- package/lib/commonjs/icons/vehicles/IconBikeCruiser.js.map +1 -1
- package/lib/commonjs/icons/vehicles/IconBikeDualsport.js.map +1 -1
- package/lib/commonjs/icons/vehicles/IconBikeMopad.js.map +1 -1
- package/lib/commonjs/icons/vehicles/IconBikeRoadster.js.map +1 -1
- package/lib/commonjs/icons/vehicles/IconBikeScooter.js.map +1 -1
- package/lib/commonjs/icons/vehicles/IconBikeScrambler.js.map +1 -1
- package/lib/commonjs/icons/vehicles/IconBikeSportbike.js.map +1 -1
- package/lib/commonjs/icons/vehicles/IconBikeSportstouring.js.map +1 -1
- package/lib/commonjs/icons/vehicles/IconBikeTouring.js.map +1 -1
- package/lib/commonjs/icons/vehicles/IconBikeTrialbike.js.map +1 -1
- package/lib/commonjs/icons/vehicles/IconCarHatchback.js.map +1 -1
- package/lib/commonjs/icons/vehicles/IconCarJeep.js.map +1 -1
- package/lib/commonjs/icons/vehicles/IconCarMiniTruck.js.map +1 -1
- package/lib/commonjs/icons/vehicles/IconCarMinivan.js.map +1 -1
- package/lib/commonjs/icons/vehicles/IconCarMuv.js.map +1 -1
- package/lib/commonjs/icons/vehicles/IconCarPickup.js.map +1 -1
- package/lib/commonjs/icons/vehicles/IconCarSportCar.js.map +1 -1
- package/lib/commonjs/icons/vehicles/IconCarSuperCar.js.map +1 -1
- package/lib/commonjs/icons/vehicles/IconCarSuv.js.map +1 -1
- package/lib/commonjs/icons/vehicles/IconCarVan.js.map +1 -1
- package/lib/commonjs/icons/vehicles/IconCarWagon.js.map +1 -1
- package/lib/commonjs/icons/vehicles/IconMinus.js.map +1 -1
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/themes/colors.js.map +1 -1
- package/lib/commonjs/themes/index.js.map +1 -1
- package/lib/commonjs/themes/radius.js.map +1 -1
- package/lib/commonjs/themes/shadow.js.map +1 -1
- package/lib/commonjs/themes/spacing.js.map +1 -1
- package/lib/commonjs/types.js.map +1 -1
- package/lib/module/components/Appbar/Appbar.component.js +1 -1
- package/lib/module/components/Appbar/Appbar.component.js.map +1 -1
- package/lib/module/components/Appbar/Appbar.style.js +5 -2
- package/lib/module/components/Appbar/Appbar.style.js.map +1 -1
- package/lib/module/components/Appbar/Appbar.type.js.map +1 -1
- package/lib/module/components/BottomSheet/BottomSheet.component.js.map +1 -1
- package/lib/module/components/BottomSheet/BottomSheet.style.js.map +1 -1
- package/lib/module/components/BottomSheet/BottomSheet.type.js.map +1 -1
- package/lib/module/components/CheckBoxInput/CheckBoxInput.component.js.map +1 -1
- package/lib/module/components/CheckBoxInput/CheckBoxInput.style.js.map +1 -1
- package/lib/module/components/CheckBoxInput/CheckBoxInput.type.js.map +1 -1
- package/lib/module/components/Checkbox/Checkbox.component.js.map +1 -1
- package/lib/module/components/Checkbox/Checkbox.style.js.map +1 -1
- package/lib/module/components/Checkbox/Checkbox.type.js.map +1 -1
- package/lib/module/components/Divider/Divider.component.js.map +1 -1
- package/lib/module/components/Divider/Divider.style.js.map +1 -1
- package/lib/module/components/Divider/Divider.type.js.map +1 -1
- package/lib/module/components/RadioButton/RadioButton.component.js.map +1 -1
- package/lib/module/components/RadioButton/RadioButton.style.js.map +1 -1
- package/lib/module/components/RadioButton/RadioButton.type.js.map +1 -1
- package/lib/module/components/RadioInput/RadioInput.component.js.map +1 -1
- package/lib/module/components/RadioInput/RadioInput.style.js.map +1 -1
- package/lib/module/components/RadioInput/RadioInput.type.js.map +1 -1
- package/lib/module/components/Snackbar/Snackbar.component.js.map +1 -1
- package/lib/module/components/Snackbar/Snackbar.type.js.map +1 -1
- package/lib/module/components/Snackbar/Snakbar.style.js.map +1 -1
- package/lib/module/components/StepperCounter/StepperCounter.component.js.map +1 -1
- package/lib/module/components/StepperCounter/StepperCounter.style.js.map +1 -1
- package/lib/module/components/StepperCounter/StepperCounter.type.js.map +1 -1
- package/lib/module/components/Tabs/Tabs.component.js +0 -1
- package/lib/module/components/Tabs/Tabs.component.js.map +1 -1
- package/lib/module/components/Tabs/Tabs.style.js.map +1 -1
- package/lib/module/components/Tabs/Tabs.type.js.map +1 -1
- package/lib/module/components/TextArea/TextArea.component.js.map +1 -1
- package/lib/module/components/TextArea/TextArea.style.js.map +1 -1
- package/lib/module/components/TextArea/TextArea.type.js.map +1 -1
- package/lib/module/components/TextInput/TextInput.component.js.map +1 -1
- package/lib/module/components/TextInput/TextInput.style.js.map +1 -1
- package/lib/module/components/TextInput/TextInput.type.js.map +1 -1
- package/lib/module/components/base/base.component.js.map +1 -1
- package/lib/module/components/base/base.style.js.map +1 -1
- package/lib/module/components/base/base.type.js.map +1 -1
- package/lib/module/components/button/button.component.js.map +1 -1
- package/lib/module/components/button/button.styles.js.map +1 -1
- package/lib/module/components/button/button.type.js.map +1 -1
- package/lib/module/components/coachmark/coachmark.component.js.map +1 -1
- package/lib/module/components/coachmark/coachmark.style.js.map +1 -1
- package/lib/module/components/coachmark/coachmark.type.js.map +1 -1
- package/lib/module/components/countdown/countdown.component.js.map +1 -1
- package/lib/module/components/countdown/countdown.style.js.map +1 -1
- package/lib/module/components/countdown/countdown.type.js.map +1 -1
- package/lib/module/components/dot/dot.component.js.map +1 -1
- package/lib/module/components/dot/dot.style.js.map +1 -1
- package/lib/module/components/dot/dot.type.js.map +1 -1
- package/lib/module/components/index.js.map +1 -1
- package/lib/module/components/information-box/information-box.component.js.map +1 -1
- package/lib/module/components/information-box/information-box.style.js.map +1 -1
- package/lib/module/components/information-box/information-box.type.js.map +1 -1
- package/lib/module/components/label/label.component.js.map +1 -1
- package/lib/module/components/label/label.style.js.map +1 -1
- package/lib/module/components/label/label.type.js.map +1 -1
- package/lib/module/components/rounded-tab/rounded-tab.component.js +2 -5
- package/lib/module/components/rounded-tab/rounded-tab.component.js.map +1 -1
- package/lib/module/components/rounded-tab/rounded-tab.style.js.map +1 -1
- package/lib/module/components/rounded-tab/rounded-tab.type.js.map +1 -1
- package/lib/module/components/slider-indicator/slider-indicator.component.js.map +1 -1
- package/lib/module/components/slider-indicator/slider-indicator.style.js.map +1 -1
- package/lib/module/components/slider-indicator/slider-indicator.type.js.map +1 -1
- package/lib/module/components/switch/switch.component.js.map +1 -1
- package/lib/module/components/switch/switch.style.js.map +1 -1
- package/lib/module/components/switch/switch.type.js.map +1 -1
- package/lib/module/components/textlink/textlink.component.js.map +1 -1
- package/lib/module/components/textlink/textlink.style.js.map +1 -1
- package/lib/module/components/textlink/textlink.type.js.map +1 -1
- package/lib/module/components/typography/typography.component.js.map +1 -1
- package/lib/module/components/typography/typography.style.js.map +1 -1
- package/lib/module/components/typography/typography.type.js.map +1 -1
- package/lib/module/icons/actions/IconAddMinus.js.map +1 -1
- package/lib/module/icons/actions/IconAddPlus.js.map +1 -1
- package/lib/module/icons/actions/IconAddRemove.js.map +1 -1
- package/lib/module/icons/actions/IconAttach.js.map +1 -1
- package/lib/module/icons/actions/IconBeliMobil.js.map +1 -1
- package/lib/module/icons/actions/IconCamera.js.map +1 -1
- package/lib/module/icons/actions/IconChat.js.map +1 -1
- package/lib/module/icons/actions/IconCopy.js.map +1 -1
- package/lib/module/icons/actions/IconCustomerService.js.map +1 -1
- package/lib/module/icons/actions/IconDot.js.map +1 -1
- package/lib/module/icons/actions/IconDownload.js.map +1 -1
- package/lib/module/icons/actions/IconEdit.js.map +1 -1
- package/lib/module/icons/actions/IconEmail.js.map +1 -1
- package/lib/module/icons/actions/IconFilter.js.map +1 -1
- package/lib/module/icons/actions/IconGallery.js.map +1 -1
- package/lib/module/icons/actions/IconHamburger.js.map +1 -1
- package/lib/module/icons/actions/IconHeartEmpty.js.map +1 -1
- package/lib/module/icons/actions/IconHeartFilled.js.map +1 -1
- package/lib/module/icons/actions/IconHeartOutline.js.map +1 -1
- package/lib/module/icons/actions/IconHelp.js.map +1 -1
- package/lib/module/icons/actions/IconInfo.js.map +1 -1
- package/lib/module/icons/actions/IconJualMobil.js.map +1 -1
- package/lib/module/icons/actions/IconLike.js.map +1 -1
- package/lib/module/icons/actions/IconMinus.js.map +1 -1
- package/lib/module/icons/actions/IconNotification.js.map +1 -1
- package/lib/module/icons/actions/IconOther.js.map +1 -1
- package/lib/module/icons/actions/IconPerson.js.map +1 -1
- package/lib/module/icons/actions/IconPicture.js.map +1 -1
- package/lib/module/icons/actions/IconPictureAdd.js.map +1 -1
- package/lib/module/icons/actions/IconReload.js.map +1 -1
- package/lib/module/icons/actions/IconRoundAdd.js.map +1 -1
- package/lib/module/icons/actions/IconRoundClose.js.map +1 -1
- package/lib/module/icons/actions/IconSearch.js.map +1 -1
- package/lib/module/icons/actions/IconSeeHide.js.map +1 -1
- package/lib/module/icons/actions/IconSeeShow.js.map +1 -1
- package/lib/module/icons/actions/IconSetting.js.map +1 -1
- package/lib/module/icons/actions/IconShare.js.map +1 -1
- package/lib/module/icons/actions/IconShoppingBag.js.map +1 -1
- package/lib/module/icons/actions/IconShoppingCart.js.map +1 -1
- package/lib/module/icons/actions/IconSmartphone.js.map +1 -1
- package/lib/module/icons/actions/IconSort.js.map +1 -1
- package/lib/module/icons/actions/IconSorting.js.map +1 -1
- package/lib/module/icons/actions/IconStarFilled.js.map +1 -1
- package/lib/module/icons/actions/IconStarOutline.js.map +1 -1
- package/lib/module/icons/actions/IconTrash.js.map +1 -1
- package/lib/module/icons/actions/IconUpload.js.map +1 -1
- package/lib/module/icons/actions/IconUser.js.map +1 -1
- package/lib/module/icons/actions/IconVideo.js.map +1 -1
- package/lib/module/icons/index.js.map +1 -1
- package/lib/module/icons/misc/IconCalendar.js.map +1 -1
- package/lib/module/icons/misc/IconCash.js.map +1 -1
- package/lib/module/icons/misc/IconCategory.js.map +1 -1
- package/lib/module/icons/misc/IconContract.js.map +1 -1
- package/lib/module/icons/misc/IconCreditCard.js.map +1 -1
- package/lib/module/icons/misc/IconFlash.js.map +1 -1
- package/lib/module/icons/misc/IconGroup.js.map +1 -1
- package/lib/module/icons/misc/IconHistory.js.map +1 -1
- package/lib/module/icons/misc/IconLocation.js.map +1 -1
- package/lib/module/icons/misc/IconLock.js.map +1 -1
- package/lib/module/icons/misc/IconMoney.js.map +1 -1
- package/lib/module/icons/misc/IconMyLocation.js.map +1 -1
- package/lib/module/icons/misc/IconOfficial.js.map +1 -1
- package/lib/module/icons/misc/IconPromo.js.map +1 -1
- package/lib/module/icons/misc/IconProtection.js.map +1 -1
- package/lib/module/icons/misc/IconStore.js.map +1 -1
- package/lib/module/icons/misc/IconTick.js.map +1 -1
- package/lib/module/icons/misc/IconTicket.js.map +1 -1
- package/lib/module/icons/misc/IconTime.js.map +1 -1
- package/lib/module/icons/misc/IconVoucher.js.map +1 -1
- package/lib/module/icons/navigations/IconArrowDiagonal.js.map +1 -1
- package/lib/module/icons/navigations/IconArrowDown.js.map +1 -1
- package/lib/module/icons/navigations/IconArrowLeft.js.map +1 -1
- package/lib/module/icons/navigations/IconArrowRight.js.map +1 -1
- package/lib/module/icons/navigations/IconArrowUp.js.map +1 -1
- package/lib/module/icons/navigations/IconChevronDown.js.map +1 -1
- package/lib/module/icons/navigations/IconChevronLeft.js.map +1 -1
- package/lib/module/icons/navigations/IconChevronRight.js.map +1 -1
- package/lib/module/icons/navigations/IconChevronUp.js.map +1 -1
- package/lib/module/icons/navigations/IconClose.js.map +1 -1
- package/lib/module/icons/navs/IconNavAdiraku.js.map +1 -1
- package/lib/module/icons/navs/IconNavDocument.js.map +1 -1
- package/lib/module/icons/navs/IconNavHome.js.map +1 -1
- package/lib/module/icons/navs/IconNavPhone.js.map +1 -1
- package/lib/module/icons/navs/IconNavProfile.js.map +1 -1
- package/lib/module/icons/vehicles/IconBikeCaferacer.js.map +1 -1
- package/lib/module/icons/vehicles/IconBikeCooper.js.map +1 -1
- package/lib/module/icons/vehicles/IconBikeCruiser.js.map +1 -1
- package/lib/module/icons/vehicles/IconBikeDualsport.js.map +1 -1
- package/lib/module/icons/vehicles/IconBikeMopad.js.map +1 -1
- package/lib/module/icons/vehicles/IconBikeRoadster.js.map +1 -1
- package/lib/module/icons/vehicles/IconBikeScooter.js.map +1 -1
- package/lib/module/icons/vehicles/IconBikeScrambler.js.map +1 -1
- package/lib/module/icons/vehicles/IconBikeSportbike.js.map +1 -1
- package/lib/module/icons/vehicles/IconBikeSportstouring.js.map +1 -1
- package/lib/module/icons/vehicles/IconBikeTouring.js.map +1 -1
- package/lib/module/icons/vehicles/IconBikeTrialbike.js.map +1 -1
- package/lib/module/icons/vehicles/IconCarHatchback.js.map +1 -1
- package/lib/module/icons/vehicles/IconCarJeep.js.map +1 -1
- package/lib/module/icons/vehicles/IconCarMiniTruck.js.map +1 -1
- package/lib/module/icons/vehicles/IconCarMinivan.js.map +1 -1
- package/lib/module/icons/vehicles/IconCarMuv.js.map +1 -1
- package/lib/module/icons/vehicles/IconCarPickup.js.map +1 -1
- package/lib/module/icons/vehicles/IconCarSportCar.js.map +1 -1
- package/lib/module/icons/vehicles/IconCarSuperCar.js.map +1 -1
- package/lib/module/icons/vehicles/IconCarSuv.js.map +1 -1
- package/lib/module/icons/vehicles/IconCarVan.js.map +1 -1
- package/lib/module/icons/vehicles/IconCarWagon.js.map +1 -1
- package/lib/module/icons/vehicles/IconMinus.js.map +1 -1
- package/lib/module/index.js.map +1 -1
- package/lib/module/themes/colors.js.map +1 -1
- package/lib/module/themes/index.js.map +1 -1
- package/lib/module/themes/radius.js.map +1 -1
- package/lib/module/themes/shadow.js.map +1 -1
- package/lib/module/themes/spacing.js.map +1 -1
- package/lib/module/types.js.map +1 -1
- package/lib/typescript/components/Appbar/Appbar.component.d.ts +4 -4
- package/lib/typescript/components/Appbar/Appbar.style.d.ts +11 -10
- package/lib/typescript/components/Appbar/Appbar.style.d.ts.map +1 -1
- package/lib/typescript/components/Appbar/Appbar.type.d.ts +19 -18
- package/lib/typescript/components/Appbar/Appbar.type.d.ts.map +1 -1
- package/lib/typescript/components/BottomSheet/BottomSheet.component.d.ts +9 -9
- package/lib/typescript/components/BottomSheet/BottomSheet.style.d.ts +19 -19
- package/lib/typescript/components/BottomSheet/BottomSheet.type.d.ts +25 -25
- package/lib/typescript/components/BottomSheet/BottomSheet.type.d.ts.map +1 -1
- package/lib/typescript/components/CheckBoxInput/CheckBoxInput.component.d.ts +4 -4
- package/lib/typescript/components/CheckBoxInput/CheckBoxInput.style.d.ts +17 -17
- package/lib/typescript/components/CheckBoxInput/CheckBoxInput.type.d.ts +55 -55
- package/lib/typescript/components/CheckBoxInput/CheckBoxInput.type.d.ts.map +1 -1
- package/lib/typescript/components/Checkbox/Checkbox.component.d.ts +4 -4
- package/lib/typescript/components/Checkbox/Checkbox.style.d.ts +11 -11
- package/lib/typescript/components/Checkbox/Checkbox.type.d.ts +5 -5
- package/lib/typescript/components/Divider/Divider.component.d.ts +4 -4
- package/lib/typescript/components/Divider/Divider.style.d.ts +9 -9
- package/lib/typescript/components/Divider/Divider.type.d.ts +15 -15
- package/lib/typescript/components/RadioButton/RadioButton.component.d.ts +4 -4
- package/lib/typescript/components/RadioButton/RadioButton.style.d.ts +10 -10
- package/lib/typescript/components/RadioButton/RadioButton.type.d.ts +5 -5
- package/lib/typescript/components/RadioInput/RadioInput.component.d.ts +4 -4
- package/lib/typescript/components/RadioInput/RadioInput.style.d.ts +17 -17
- package/lib/typescript/components/RadioInput/RadioInput.type.d.ts +54 -54
- package/lib/typescript/components/RadioInput/RadioInput.type.d.ts.map +1 -1
- package/lib/typescript/components/Snackbar/Snackbar.component.d.ts +11 -11
- package/lib/typescript/components/Snackbar/Snackbar.type.d.ts +7 -7
- package/lib/typescript/components/Snackbar/Snakbar.style.d.ts +9 -9
- package/lib/typescript/components/StepperCounter/StepperCounter.component.d.ts +4 -4
- package/lib/typescript/components/StepperCounter/StepperCounter.style.d.ts +18 -18
- package/lib/typescript/components/StepperCounter/StepperCounter.type.d.ts +15 -15
- package/lib/typescript/components/Tabs/Tabs.component.d.ts +4 -4
- package/lib/typescript/components/Tabs/Tabs.component.d.ts.map +1 -1
- package/lib/typescript/components/Tabs/Tabs.style.d.ts +8 -8
- package/lib/typescript/components/Tabs/Tabs.type.d.ts +15 -15
- package/lib/typescript/components/TextArea/TextArea.component.d.ts +4 -4
- package/lib/typescript/components/TextArea/TextArea.style.d.ts +15 -15
- package/lib/typescript/components/TextArea/TextArea.type.d.ts +28 -28
- package/lib/typescript/components/TextInput/TextInput.component.d.ts +4 -4
- package/lib/typescript/components/TextInput/TextInput.style.d.ts +16 -16
- package/lib/typescript/components/TextInput/TextInput.type.d.ts +32 -32
- package/lib/typescript/components/base/base.component.d.ts +4 -4
- package/lib/typescript/components/base/base.style.d.ts +9 -9
- package/lib/typescript/components/base/base.type.d.ts +14 -14
- package/lib/typescript/components/button/button.component.d.ts +4 -4
- package/lib/typescript/components/button/button.styles.d.ts +9 -9
- package/lib/typescript/components/button/button.type.d.ts +33 -33
- package/lib/typescript/components/coachmark/coachmark.component.d.ts +3 -3
- package/lib/typescript/components/coachmark/coachmark.style.d.ts +12 -12
- package/lib/typescript/components/coachmark/coachmark.type.d.ts +31 -31
- package/lib/typescript/components/countdown/countdown.component.d.ts +4 -4
- package/lib/typescript/components/countdown/countdown.style.d.ts +9 -9
- package/lib/typescript/components/countdown/countdown.type.d.ts +11 -11
- package/lib/typescript/components/dot/dot.component.d.ts +4 -4
- package/lib/typescript/components/dot/dot.style.d.ts +8 -8
- package/lib/typescript/components/dot/dot.type.d.ts +5 -5
- package/lib/typescript/components/index.d.ts +35 -35
- package/lib/typescript/components/information-box/information-box.component.d.ts +4 -4
- package/lib/typescript/components/information-box/information-box.style.d.ts +11 -11
- package/lib/typescript/components/information-box/information-box.type.d.ts +13 -13
- package/lib/typescript/components/label/label.component.d.ts +4 -4
- package/lib/typescript/components/label/label.style.d.ts +6 -6
- package/lib/typescript/components/label/label.type.d.ts +13 -13
- package/lib/typescript/components/rounded-tab/rounded-tab.component.d.ts +4 -4
- package/lib/typescript/components/rounded-tab/rounded-tab.component.d.ts.map +1 -1
- package/lib/typescript/components/rounded-tab/rounded-tab.style.d.ts +16 -16
- package/lib/typescript/components/rounded-tab/rounded-tab.type.d.ts +14 -15
- package/lib/typescript/components/rounded-tab/rounded-tab.type.d.ts.map +1 -1
- package/lib/typescript/components/slider-indicator/slider-indicator.component.d.ts +4 -4
- package/lib/typescript/components/slider-indicator/slider-indicator.style.d.ts +8 -8
- package/lib/typescript/components/slider-indicator/slider-indicator.type.d.ts +20 -20
- package/lib/typescript/components/switch/switch.component.d.ts +4 -4
- package/lib/typescript/components/switch/switch.style.d.ts +9 -9
- package/lib/typescript/components/switch/switch.type.d.ts +5 -5
- package/lib/typescript/components/textlink/textlink.component.d.ts +3 -3
- package/lib/typescript/components/textlink/textlink.style.d.ts +10 -10
- package/lib/typescript/components/textlink/textlink.type.d.ts +25 -25
- package/lib/typescript/components/typography/typography.component.d.ts +4 -4
- package/lib/typescript/components/typography/typography.style.d.ts +33 -33
- package/lib/typescript/components/typography/typography.type.d.ts +24 -24
- package/lib/typescript/icons/actions/IconAddMinus.d.ts +3 -3
- package/lib/typescript/icons/actions/IconAddPlus.d.ts +3 -3
- package/lib/typescript/icons/actions/IconAddRemove.d.ts +3 -3
- package/lib/typescript/icons/actions/IconAttach.d.ts +3 -3
- package/lib/typescript/icons/actions/IconBeliMobil.d.ts +4 -4
- package/lib/typescript/icons/actions/IconCamera.d.ts +4 -4
- package/lib/typescript/icons/actions/IconChat.d.ts +4 -4
- package/lib/typescript/icons/actions/IconCopy.d.ts +4 -4
- package/lib/typescript/icons/actions/IconCustomerService.d.ts +3 -3
- package/lib/typescript/icons/actions/IconDot.d.ts +4 -4
- package/lib/typescript/icons/actions/IconDownload.d.ts +3 -3
- package/lib/typescript/icons/actions/IconEdit.d.ts +4 -4
- package/lib/typescript/icons/actions/IconEmail.d.ts +4 -4
- package/lib/typescript/icons/actions/IconFilter.d.ts +4 -4
- package/lib/typescript/icons/actions/IconGallery.d.ts +4 -4
- package/lib/typescript/icons/actions/IconHamburger.d.ts +3 -3
- package/lib/typescript/icons/actions/IconHeartEmpty.d.ts +5 -5
- package/lib/typescript/icons/actions/IconHeartFilled.d.ts +3 -3
- package/lib/typescript/icons/actions/IconHeartOutline.d.ts +3 -3
- package/lib/typescript/icons/actions/IconHelp.d.ts +4 -4
- package/lib/typescript/icons/actions/IconInfo.d.ts +4 -4
- package/lib/typescript/icons/actions/IconJualMobil.d.ts +4 -4
- package/lib/typescript/icons/actions/IconLike.d.ts +4 -4
- package/lib/typescript/icons/actions/IconMinus.d.ts +4 -4
- package/lib/typescript/icons/actions/IconNotification.d.ts +4 -4
- package/lib/typescript/icons/actions/IconOther.d.ts +4 -4
- package/lib/typescript/icons/actions/IconPerson.d.ts +3 -3
- package/lib/typescript/icons/actions/IconPicture.d.ts +3 -3
- package/lib/typescript/icons/actions/IconPictureAdd.d.ts +3 -3
- package/lib/typescript/icons/actions/IconReload.d.ts +3 -3
- package/lib/typescript/icons/actions/IconRoundAdd.d.ts +4 -4
- package/lib/typescript/icons/actions/IconRoundClose.d.ts +4 -4
- package/lib/typescript/icons/actions/IconSearch.d.ts +3 -3
- package/lib/typescript/icons/actions/IconSeeHide.d.ts +3 -3
- package/lib/typescript/icons/actions/IconSeeShow.d.ts +3 -3
- package/lib/typescript/icons/actions/IconSetting.d.ts +4 -4
- package/lib/typescript/icons/actions/IconShare.d.ts +4 -4
- package/lib/typescript/icons/actions/IconShoppingBag.d.ts +4 -4
- package/lib/typescript/icons/actions/IconShoppingCart.d.ts +4 -4
- package/lib/typescript/icons/actions/IconSmartphone.d.ts +4 -4
- package/lib/typescript/icons/actions/IconSort.d.ts +3 -3
- package/lib/typescript/icons/actions/IconSorting.d.ts +3 -3
- package/lib/typescript/icons/actions/IconStarFilled.d.ts +3 -3
- package/lib/typescript/icons/actions/IconStarOutline.d.ts +3 -3
- package/lib/typescript/icons/actions/IconTrash.d.ts +4 -4
- package/lib/typescript/icons/actions/IconUpload.d.ts +3 -3
- package/lib/typescript/icons/actions/IconUser.d.ts +4 -4
- package/lib/typescript/icons/actions/IconVideo.d.ts +4 -4
- package/lib/typescript/icons/index.d.ts +106 -106
- package/lib/typescript/icons/misc/IconCalendar.d.ts +3 -3
- package/lib/typescript/icons/misc/IconCash.d.ts +3 -3
- package/lib/typescript/icons/misc/IconCategory.d.ts +3 -3
- package/lib/typescript/icons/misc/IconContract.d.ts +3 -3
- package/lib/typescript/icons/misc/IconCreditCard.d.ts +3 -3
- package/lib/typescript/icons/misc/IconFlash.d.ts +3 -3
- package/lib/typescript/icons/misc/IconGroup.d.ts +3 -3
- package/lib/typescript/icons/misc/IconHistory.d.ts +3 -3
- package/lib/typescript/icons/misc/IconLocation.d.ts +3 -3
- package/lib/typescript/icons/misc/IconLock.d.ts +3 -3
- package/lib/typescript/icons/misc/IconMoney.d.ts +3 -3
- package/lib/typescript/icons/misc/IconMyLocation.d.ts +3 -3
- package/lib/typescript/icons/misc/IconOfficial.d.ts +3 -3
- package/lib/typescript/icons/misc/IconPromo.d.ts +3 -3
- package/lib/typescript/icons/misc/IconProtection.d.ts +3 -3
- package/lib/typescript/icons/misc/IconStore.d.ts +3 -3
- package/lib/typescript/icons/misc/IconTick.d.ts +3 -3
- package/lib/typescript/icons/misc/IconTicket.d.ts +3 -3
- package/lib/typescript/icons/misc/IconTime.d.ts +3 -3
- package/lib/typescript/icons/misc/IconVoucher.d.ts +3 -3
- package/lib/typescript/icons/navigations/IconArrowDiagonal.d.ts +3 -3
- package/lib/typescript/icons/navigations/IconArrowDown.d.ts +3 -3
- package/lib/typescript/icons/navigations/IconArrowLeft.d.ts +3 -3
- package/lib/typescript/icons/navigations/IconArrowRight.d.ts +3 -3
- package/lib/typescript/icons/navigations/IconArrowUp.d.ts +3 -3
- package/lib/typescript/icons/navigations/IconChevronDown.d.ts +3 -3
- package/lib/typescript/icons/navigations/IconChevronLeft.d.ts +3 -3
- package/lib/typescript/icons/navigations/IconChevronRight.d.ts +3 -3
- package/lib/typescript/icons/navigations/IconChevronUp.d.ts +3 -3
- package/lib/typescript/icons/navigations/IconClose.d.ts +3 -3
- package/lib/typescript/icons/navs/IconNavAdiraku.d.ts +5 -5
- package/lib/typescript/icons/navs/IconNavDocument.d.ts +5 -5
- package/lib/typescript/icons/navs/IconNavHome.d.ts +3 -3
- package/lib/typescript/icons/navs/IconNavPhone.d.ts +3 -3
- package/lib/typescript/icons/navs/IconNavProfile.d.ts +3 -3
- package/lib/typescript/icons/vehicles/IconBikeCaferacer.d.ts +3 -3
- package/lib/typescript/icons/vehicles/IconBikeCooper.d.ts +3 -3
- package/lib/typescript/icons/vehicles/IconBikeCruiser.d.ts +3 -3
- package/lib/typescript/icons/vehicles/IconBikeDualsport.d.ts +3 -3
- package/lib/typescript/icons/vehicles/IconBikeMopad.d.ts +3 -3
- package/lib/typescript/icons/vehicles/IconBikeRoadster.d.ts +3 -3
- package/lib/typescript/icons/vehicles/IconBikeScooter.d.ts +3 -3
- package/lib/typescript/icons/vehicles/IconBikeScrambler.d.ts +3 -3
- package/lib/typescript/icons/vehicles/IconBikeSportbike.d.ts +3 -3
- package/lib/typescript/icons/vehicles/IconBikeSportstouring.d.ts +3 -3
- package/lib/typescript/icons/vehicles/IconBikeTouring.d.ts +3 -3
- package/lib/typescript/icons/vehicles/IconBikeTrialbike.d.ts +3 -3
- package/lib/typescript/icons/vehicles/IconCarHatchback.d.ts +3 -3
- package/lib/typescript/icons/vehicles/IconCarJeep.d.ts +3 -3
- package/lib/typescript/icons/vehicles/IconCarMiniTruck.d.ts +3 -3
- package/lib/typescript/icons/vehicles/IconCarMinivan.d.ts +3 -3
- package/lib/typescript/icons/vehicles/IconCarMuv.d.ts +3 -3
- package/lib/typescript/icons/vehicles/IconCarPickup.d.ts +3 -3
- package/lib/typescript/icons/vehicles/IconCarSportCar.d.ts +3 -3
- package/lib/typescript/icons/vehicles/IconCarSuperCar.d.ts +3 -3
- package/lib/typescript/icons/vehicles/IconCarSuv.d.ts +3 -3
- package/lib/typescript/icons/vehicles/IconCarVan.d.ts +3 -3
- package/lib/typescript/icons/vehicles/IconCarWagon.d.ts +3 -3
- package/lib/typescript/icons/vehicles/IconMinus.d.ts +4 -4
- package/lib/typescript/index.d.ts +2 -2
- package/lib/typescript/themes/colors.d.ts +29 -29
- package/lib/typescript/themes/index.d.ts +4 -4
- package/lib/typescript/themes/radius.d.ts +11 -11
- package/lib/typescript/themes/shadow.d.ts +5 -5
- package/lib/typescript/themes/spacing.d.ts +15 -15
- package/lib/typescript/types.d.ts +27 -27
- package/package.json +133 -133
- package/react-native-ui.podspec +36 -36
- package/src/components/Appbar/Appbar.component.tsx +73 -73
- package/src/components/Appbar/Appbar.style.tsx +48 -46
- package/src/components/Appbar/Appbar.type.ts +30 -28
- package/src/components/BottomSheet/BottomSheet.component.tsx +238 -238
- package/src/components/BottomSheet/BottomSheet.style.tsx +89 -89
- package/src/components/BottomSheet/BottomSheet.type.ts +41 -40
- package/src/components/CheckBoxInput/CheckBoxInput.component.tsx +273 -273
- package/src/components/CheckBoxInput/CheckBoxInput.style.tsx +106 -106
- package/src/components/CheckBoxInput/CheckBoxInput.type.ts +75 -75
- package/src/components/Checkbox/Checkbox.component.tsx +37 -37
- package/src/components/Checkbox/Checkbox.style.tsx +39 -39
- package/src/components/Checkbox/Checkbox.type.ts +7 -7
- package/src/components/Divider/Divider.component.tsx +23 -23
- package/src/components/Divider/Divider.style.tsx +34 -34
- package/src/components/Divider/Divider.type.ts +18 -18
- package/src/components/RadioButton/RadioButton.component.tsx +31 -31
- package/src/components/RadioButton/RadioButton.style.tsx +45 -45
- package/src/components/RadioButton/RadioButton.type.ts +7 -7
- package/src/components/RadioInput/RadioInput.component.tsx +243 -243
- package/src/components/RadioInput/RadioInput.style.tsx +106 -106
- package/src/components/RadioInput/RadioInput.type.ts +73 -73
- package/src/components/Snackbar/Snackbar.component.tsx +79 -79
- package/src/components/Snackbar/Snackbar.type.ts +10 -10
- package/src/components/Snackbar/Snakbar.style.tsx +41 -41
- package/src/components/StepperCounter/StepperCounter.component.tsx +111 -111
- package/src/components/StepperCounter/StepperCounter.style.tsx +96 -96
- package/src/components/StepperCounter/StepperCounter.type.ts +18 -18
- package/src/components/Tabs/Tabs.component.tsx +94 -95
- package/src/components/Tabs/Tabs.style.tsx +34 -34
- package/src/components/Tabs/Tabs.type.ts +16 -16
- package/src/components/TextArea/TextArea.component.tsx +78 -78
- package/src/components/TextArea/TextArea.style.tsx +68 -68
- package/src/components/TextArea/TextArea.type.ts +32 -32
- package/src/components/TextInput/TextInput.component.tsx +124 -124
- package/src/components/TextInput/TextInput.style.tsx +95 -95
- package/src/components/TextInput/TextInput.type.ts +38 -38
- package/src/components/base/base.component.tsx +19 -19
- package/src/components/base/base.style.tsx +27 -27
- package/src/components/base/base.type.ts +15 -15
- package/src/components/button/button.component.tsx +50 -50
- package/src/components/button/button.styles.ts +76 -76
- package/src/components/button/button.type.ts +35 -35
- package/src/components/coachmark/coachmark.component.tsx +37 -37
- package/src/components/coachmark/coachmark.style.tsx +80 -80
- package/src/components/coachmark/coachmark.type.ts +32 -32
- package/src/components/countdown/countdown.component.tsx +99 -99
- package/src/components/countdown/countdown.style.tsx +43 -43
- package/src/components/countdown/countdown.type.ts +12 -12
- package/src/components/dot/dot.component.tsx +23 -23
- package/src/components/dot/dot.style.tsx +33 -33
- package/src/components/dot/dot.type.ts +6 -6
- package/src/components/index.ts +49 -49
- package/src/components/information-box/information-box.component.tsx +55 -55
- package/src/components/information-box/information-box.style.tsx +49 -49
- package/src/components/information-box/information-box.type.ts +20 -20
- package/src/components/label/label.component.tsx +19 -19
- package/src/components/label/label.style.tsx +16 -16
- package/src/components/label/label.type.ts +14 -14
- package/src/components/rounded-tab/rounded-tab.component.tsx +115 -122
- package/src/components/rounded-tab/rounded-tab.style.tsx +66 -66
- package/src/components/rounded-tab/rounded-tab.type.ts +16 -17
- package/src/components/slider-indicator/slider-indicator.component.tsx +81 -81
- package/src/components/slider-indicator/slider-indicator.style.tsx +31 -31
- package/src/components/slider-indicator/slider-indicator.type.ts +23 -23
- package/src/components/switch/switch.component.tsx +53 -53
- package/src/components/switch/switch.style.tsx +52 -52
- package/src/components/switch/switch.type.ts +7 -7
- package/src/components/textlink/textlink.component.tsx +44 -44
- package/src/components/textlink/textlink.style.tsx +36 -36
- package/src/components/textlink/textlink.type.ts +26 -26
- package/src/components/typography/typography.component.tsx +27 -27
- package/src/components/typography/typography.style.tsx +237 -237
- package/src/components/typography/typography.type.ts +56 -56
- package/src/icons/actions/IconAddMinus.tsx +32 -32
- package/src/icons/actions/IconAddPlus.tsx +32 -32
- package/src/icons/actions/IconAddRemove.tsx +27 -27
- package/src/icons/actions/IconAttach.tsx +32 -32
- package/src/icons/actions/IconBeliMobil.tsx +63 -63
- package/src/icons/actions/IconCamera.tsx +57 -57
- package/src/icons/actions/IconChat.tsx +57 -57
- package/src/icons/actions/IconCopy.tsx +71 -71
- package/src/icons/actions/IconCustomerService.tsx +37 -37
- package/src/icons/actions/IconDot.tsx +63 -63
- package/src/icons/actions/IconDownload.tsx +32 -32
- package/src/icons/actions/IconEdit.tsx +57 -57
- package/src/icons/actions/IconEmail.tsx +55 -55
- package/src/icons/actions/IconFilter.tsx +81 -81
- package/src/icons/actions/IconGallery.tsx +67 -67
- package/src/icons/actions/IconHamburger.tsx +32 -32
- package/src/icons/actions/IconHeartEmpty.tsx +59 -59
- package/src/icons/actions/IconHeartFilled.tsx +25 -25
- package/src/icons/actions/IconHeartOutline.tsx +32 -32
- package/src/icons/actions/IconHelp.tsx +59 -59
- package/src/icons/actions/IconInfo.tsx +65 -65
- package/src/icons/actions/IconJualMobil.tsx +63 -63
- package/src/icons/actions/IconLike.tsx +55 -55
- package/src/icons/actions/IconMinus.tsx +59 -59
- package/src/icons/actions/IconNotification.tsx +71 -71
- package/src/icons/actions/IconOther.tsx +55 -55
- package/src/icons/actions/IconPerson.tsx +32 -32
- package/src/icons/actions/IconPicture.tsx +36 -36
- package/src/icons/actions/IconPictureAdd.tsx +44 -44
- package/src/icons/actions/IconReload.tsx +30 -30
- package/src/icons/actions/IconRoundAdd.tsx +63 -63
- package/src/icons/actions/IconRoundClose.tsx +63 -63
- package/src/icons/actions/IconSearch.tsx +32 -32
- package/src/icons/actions/IconSeeHide.tsx +31 -31
- package/src/icons/actions/IconSeeShow.tsx +30 -30
- package/src/icons/actions/IconSetting.tsx +59 -59
- package/src/icons/actions/IconShare.tsx +57 -57
- package/src/icons/actions/IconShoppingBag.tsx +63 -63
- package/src/icons/actions/IconShoppingCart.tsx +59 -59
- package/src/icons/actions/IconSmartphone.tsx +55 -55
- package/src/icons/actions/IconSort.tsx +32 -32
- package/src/icons/actions/IconSorting.tsx +38 -38
- package/src/icons/actions/IconStarFilled.tsx +32 -32
- package/src/icons/actions/IconStarOutline.tsx +32 -32
- package/src/icons/actions/IconTrash.tsx +69 -69
- package/src/icons/actions/IconUpload.tsx +32 -32
- package/src/icons/actions/IconUser.tsx +55 -55
- package/src/icons/actions/IconVideo.tsx +59 -59
- package/src/icons/index.ts +120 -120
- package/src/icons/misc/IconCalendar.tsx +32 -32
- package/src/icons/misc/IconCash.tsx +32 -32
- package/src/icons/misc/IconCategory.tsx +32 -32
- package/src/icons/misc/IconContract.tsx +36 -36
- package/src/icons/misc/IconCreditCard.tsx +32 -32
- package/src/icons/misc/IconFlash.tsx +30 -30
- package/src/icons/misc/IconGroup.tsx +32 -32
- package/src/icons/misc/IconHistory.tsx +42 -42
- package/src/icons/misc/IconLocation.tsx +32 -32
- package/src/icons/misc/IconLock.tsx +33 -33
- package/src/icons/misc/IconMoney.tsx +37 -37
- package/src/icons/misc/IconMyLocation.tsx +32 -32
- package/src/icons/misc/IconOfficial.tsx +34 -34
- package/src/icons/misc/IconPromo.tsx +32 -32
- package/src/icons/misc/IconProtection.tsx +39 -39
- package/src/icons/misc/IconStore.tsx +40 -40
- package/src/icons/misc/IconTick.tsx +32 -32
- package/src/icons/misc/IconTicket.tsx +32 -32
- package/src/icons/misc/IconTime.tsx +38 -38
- package/src/icons/misc/IconVoucher.tsx +38 -38
- package/src/icons/navigations/IconArrowDiagonal.tsx +39 -39
- package/src/icons/navigations/IconArrowDown.tsx +32 -32
- package/src/icons/navigations/IconArrowLeft.tsx +32 -32
- package/src/icons/navigations/IconArrowRight.tsx +32 -32
- package/src/icons/navigations/IconArrowUp.tsx +32 -32
- package/src/icons/navigations/IconChevronDown.tsx +27 -27
- package/src/icons/navigations/IconChevronLeft.tsx +27 -27
- package/src/icons/navigations/IconChevronRight.tsx +27 -27
- package/src/icons/navigations/IconChevronUp.tsx +27 -27
- package/src/icons/navigations/IconClose.tsx +38 -38
- package/src/icons/navs/IconNavAdiraku.tsx +44 -44
- package/src/icons/navs/IconNavDocument.tsx +41 -41
- package/src/icons/navs/IconNavHome.tsx +31 -31
- package/src/icons/navs/IconNavPhone.tsx +32 -32
- package/src/icons/navs/IconNavProfile.tsx +32 -32
- package/src/icons/vehicles/IconBikeCaferacer.tsx +34 -34
- package/src/icons/vehicles/IconBikeCooper.tsx +38 -38
- package/src/icons/vehicles/IconBikeCruiser.tsx +34 -34
- package/src/icons/vehicles/IconBikeDualsport.tsx +34 -34
- package/src/icons/vehicles/IconBikeMopad.tsx +42 -42
- package/src/icons/vehicles/IconBikeRoadster.tsx +38 -38
- package/src/icons/vehicles/IconBikeScooter.tsx +34 -34
- package/src/icons/vehicles/IconBikeScrambler.tsx +34 -34
- package/src/icons/vehicles/IconBikeSportbike.tsx +34 -34
- package/src/icons/vehicles/IconBikeSportstouring.tsx +34 -34
- package/src/icons/vehicles/IconBikeTouring.tsx +30 -30
- package/src/icons/vehicles/IconBikeTrialbike.tsx +34 -34
- package/src/icons/vehicles/IconCarHatchback.tsx +32 -32
- package/src/icons/vehicles/IconCarJeep.tsx +32 -32
- package/src/icons/vehicles/IconCarMiniTruck.tsx +32 -32
- package/src/icons/vehicles/IconCarMinivan.tsx +32 -32
- package/src/icons/vehicles/IconCarMuv.tsx +32 -32
- package/src/icons/vehicles/IconCarPickup.tsx +32 -32
- package/src/icons/vehicles/IconCarSportCar.tsx +32 -32
- package/src/icons/vehicles/IconCarSuperCar.tsx +32 -32
- package/src/icons/vehicles/IconCarSuv.tsx +32 -32
- package/src/icons/vehicles/IconCarVan.tsx +32 -32
- package/src/icons/vehicles/IconCarWagon.tsx +32 -32
- package/src/icons/vehicles/IconMinus.tsx +59 -59
- package/src/index.tsx +2 -2
- package/src/themes/colors.ts +152 -152
- package/src/themes/index.ts +4 -4
- package/src/themes/radius.ts +12 -12
- package/src/themes/shadow.tsx +48 -48
- package/src/themes/spacing.ts +16 -16
- package/src/types.ts +39 -39
|
@@ -1,99 +1,99 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { View } from 'react-native';
|
|
3
|
-
import { Typography } from '../typography/typography.component';
|
|
4
|
-
|
|
5
|
-
import type { CountdownProps } from './countdown.type';
|
|
6
|
-
|
|
7
|
-
import { getStyle } from './countdown.style';
|
|
8
|
-
|
|
9
|
-
const Countdown: React.FunctionComponent<CountdownProps> = (props) => {
|
|
10
|
-
const {
|
|
11
|
-
targetDateTime,
|
|
12
|
-
formats = [
|
|
13
|
-
{ type: 'd', trailingString: ' hari' },
|
|
14
|
-
{ type: 'h' },
|
|
15
|
-
{ type: 'm' },
|
|
16
|
-
{ type: 's' },
|
|
17
|
-
],
|
|
18
|
-
} = props;
|
|
19
|
-
|
|
20
|
-
const computedStyle = getStyle();
|
|
21
|
-
|
|
22
|
-
const [timeLeft, setTimeLeft] = React.useState(
|
|
23
|
-
calculateTimeRemaining(targetDateTime)
|
|
24
|
-
);
|
|
25
|
-
|
|
26
|
-
React.useEffect(() => {
|
|
27
|
-
const timer = setInterval(() => {
|
|
28
|
-
setTimeLeft(calculateTimeRemaining(targetDateTime));
|
|
29
|
-
}, 1000);
|
|
30
|
-
|
|
31
|
-
return () => clearInterval(timer);
|
|
32
|
-
}, [targetDateTime]);
|
|
33
|
-
|
|
34
|
-
const formatTime = (time: number) => {
|
|
35
|
-
if (time <= 0) {
|
|
36
|
-
return {
|
|
37
|
-
d: appendZero(0),
|
|
38
|
-
h: appendZero(0),
|
|
39
|
-
m: appendZero(0),
|
|
40
|
-
s: appendZero(0),
|
|
41
|
-
};
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
time /= 1000;
|
|
45
|
-
let day = Math.floor(time / (24 * 3600));
|
|
46
|
-
let remainingSeconds = time % (24 * 3600);
|
|
47
|
-
let hour = Math.floor(remainingSeconds / 3600);
|
|
48
|
-
remainingSeconds %= 3600;
|
|
49
|
-
let minute = Math.floor(remainingSeconds / 60);
|
|
50
|
-
let second = remainingSeconds % 60;
|
|
51
|
-
|
|
52
|
-
return {
|
|
53
|
-
d: Math.floor(day),
|
|
54
|
-
h: Math.floor(hour),
|
|
55
|
-
m: Math.floor(minute),
|
|
56
|
-
s: Math.floor(second),
|
|
57
|
-
};
|
|
58
|
-
};
|
|
59
|
-
|
|
60
|
-
return (
|
|
61
|
-
<View style={[computedStyle.container]}>
|
|
62
|
-
{formats.map(({ type, leadingString = '', trailingString = '' }, idx) => {
|
|
63
|
-
return (
|
|
64
|
-
<>
|
|
65
|
-
<View style={[computedStyle.textContainer]}>
|
|
66
|
-
<Typography variant="overline" style={[computedStyle.textLabel]}>
|
|
67
|
-
{leadingString + formatTime(timeLeft)?.[type] + trailingString}
|
|
68
|
-
</Typography>
|
|
69
|
-
</View>
|
|
70
|
-
{idx !== formats.length - 1 ? (
|
|
71
|
-
<View style={[computedStyle.dividerContainer]}>
|
|
72
|
-
<Typography variant="overline">:</Typography>
|
|
73
|
-
</View>
|
|
74
|
-
) : null}
|
|
75
|
-
</>
|
|
76
|
-
);
|
|
77
|
-
})}
|
|
78
|
-
</View>
|
|
79
|
-
);
|
|
80
|
-
};
|
|
81
|
-
|
|
82
|
-
const calculateTimeRemaining = (
|
|
83
|
-
targetDateTime: CountdownProps['targetDateTime']
|
|
84
|
-
): number => {
|
|
85
|
-
const currentTime = new Date().getTime();
|
|
86
|
-
const targetTime = new Date(targetDateTime).getTime();
|
|
87
|
-
const difference = targetTime - currentTime;
|
|
88
|
-
return Math.max(0, difference);
|
|
89
|
-
};
|
|
90
|
-
|
|
91
|
-
const appendZero = (num: string | number) => {
|
|
92
|
-
if (Number(num) < 10) {
|
|
93
|
-
return `0${0}`;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
return num;
|
|
97
|
-
};
|
|
98
|
-
|
|
99
|
-
export { Countdown };
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { View } from 'react-native';
|
|
3
|
+
import { Typography } from '../typography/typography.component';
|
|
4
|
+
|
|
5
|
+
import type { CountdownProps } from './countdown.type';
|
|
6
|
+
|
|
7
|
+
import { getStyle } from './countdown.style';
|
|
8
|
+
|
|
9
|
+
const Countdown: React.FunctionComponent<CountdownProps> = (props) => {
|
|
10
|
+
const {
|
|
11
|
+
targetDateTime,
|
|
12
|
+
formats = [
|
|
13
|
+
{ type: 'd', trailingString: ' hari' },
|
|
14
|
+
{ type: 'h' },
|
|
15
|
+
{ type: 'm' },
|
|
16
|
+
{ type: 's' },
|
|
17
|
+
],
|
|
18
|
+
} = props;
|
|
19
|
+
|
|
20
|
+
const computedStyle = getStyle();
|
|
21
|
+
|
|
22
|
+
const [timeLeft, setTimeLeft] = React.useState(
|
|
23
|
+
calculateTimeRemaining(targetDateTime)
|
|
24
|
+
);
|
|
25
|
+
|
|
26
|
+
React.useEffect(() => {
|
|
27
|
+
const timer = setInterval(() => {
|
|
28
|
+
setTimeLeft(calculateTimeRemaining(targetDateTime));
|
|
29
|
+
}, 1000);
|
|
30
|
+
|
|
31
|
+
return () => clearInterval(timer);
|
|
32
|
+
}, [targetDateTime]);
|
|
33
|
+
|
|
34
|
+
const formatTime = (time: number) => {
|
|
35
|
+
if (time <= 0) {
|
|
36
|
+
return {
|
|
37
|
+
d: appendZero(0),
|
|
38
|
+
h: appendZero(0),
|
|
39
|
+
m: appendZero(0),
|
|
40
|
+
s: appendZero(0),
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
time /= 1000;
|
|
45
|
+
let day = Math.floor(time / (24 * 3600));
|
|
46
|
+
let remainingSeconds = time % (24 * 3600);
|
|
47
|
+
let hour = Math.floor(remainingSeconds / 3600);
|
|
48
|
+
remainingSeconds %= 3600;
|
|
49
|
+
let minute = Math.floor(remainingSeconds / 60);
|
|
50
|
+
let second = remainingSeconds % 60;
|
|
51
|
+
|
|
52
|
+
return {
|
|
53
|
+
d: Math.floor(day),
|
|
54
|
+
h: Math.floor(hour),
|
|
55
|
+
m: Math.floor(minute),
|
|
56
|
+
s: Math.floor(second),
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
|
|
60
|
+
return (
|
|
61
|
+
<View style={[computedStyle.container]}>
|
|
62
|
+
{formats.map(({ type, leadingString = '', trailingString = '' }, idx) => {
|
|
63
|
+
return (
|
|
64
|
+
<>
|
|
65
|
+
<View style={[computedStyle.textContainer]}>
|
|
66
|
+
<Typography variant="overline" style={[computedStyle.textLabel]}>
|
|
67
|
+
{leadingString + formatTime(timeLeft)?.[type] + trailingString}
|
|
68
|
+
</Typography>
|
|
69
|
+
</View>
|
|
70
|
+
{idx !== formats.length - 1 ? (
|
|
71
|
+
<View style={[computedStyle.dividerContainer]}>
|
|
72
|
+
<Typography variant="overline">:</Typography>
|
|
73
|
+
</View>
|
|
74
|
+
) : null}
|
|
75
|
+
</>
|
|
76
|
+
);
|
|
77
|
+
})}
|
|
78
|
+
</View>
|
|
79
|
+
);
|
|
80
|
+
};
|
|
81
|
+
|
|
82
|
+
const calculateTimeRemaining = (
|
|
83
|
+
targetDateTime: CountdownProps['targetDateTime']
|
|
84
|
+
): number => {
|
|
85
|
+
const currentTime = new Date().getTime();
|
|
86
|
+
const targetTime = new Date(targetDateTime).getTime();
|
|
87
|
+
const difference = targetTime - currentTime;
|
|
88
|
+
return Math.max(0, difference);
|
|
89
|
+
};
|
|
90
|
+
|
|
91
|
+
const appendZero = (num: string | number) => {
|
|
92
|
+
if (Number(num) < 10) {
|
|
93
|
+
return `0${0}`;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
return num;
|
|
97
|
+
};
|
|
98
|
+
|
|
99
|
+
export { Countdown };
|
|
@@ -1,43 +1,43 @@
|
|
|
1
|
-
import { StyleSheet } from 'react-native';
|
|
2
|
-
|
|
3
|
-
import { Palettes, Radius, Spacing } from '../../themes';
|
|
4
|
-
|
|
5
|
-
import type { TextStyle, ViewStyle } from 'react-native';
|
|
6
|
-
|
|
7
|
-
interface ComputedStyleProps {
|
|
8
|
-
container?: ViewStyle;
|
|
9
|
-
textLabel?: TextStyle;
|
|
10
|
-
textContainer?: ViewStyle;
|
|
11
|
-
dividerContainer?: ViewStyle;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
export const getStyle = () => {
|
|
15
|
-
const computedStyle: ComputedStyleProps = {};
|
|
16
|
-
|
|
17
|
-
computedStyle.container = {
|
|
18
|
-
flexDirection: 'row',
|
|
19
|
-
alignSelf: 'flex-start',
|
|
20
|
-
};
|
|
21
|
-
|
|
22
|
-
computedStyle.textLabel = {
|
|
23
|
-
color: Palettes.white[50],
|
|
24
|
-
};
|
|
25
|
-
|
|
26
|
-
computedStyle.textContainer = {
|
|
27
|
-
backgroundColor: Palettes.black[900],
|
|
28
|
-
justifyContent: 'center',
|
|
29
|
-
alignItems: 'center',
|
|
30
|
-
borderRadius: Radius[4],
|
|
31
|
-
paddingHorizontal: Spacing[4],
|
|
32
|
-
minWidth: 22,
|
|
33
|
-
height: 18,
|
|
34
|
-
};
|
|
35
|
-
|
|
36
|
-
computedStyle.dividerContainer = {
|
|
37
|
-
justifyContent: 'center',
|
|
38
|
-
alignItems: 'center',
|
|
39
|
-
width: 8,
|
|
40
|
-
};
|
|
41
|
-
|
|
42
|
-
return StyleSheet.create(computedStyle);
|
|
43
|
-
};
|
|
1
|
+
import { StyleSheet } from 'react-native';
|
|
2
|
+
|
|
3
|
+
import { Palettes, Radius, Spacing } from '../../themes';
|
|
4
|
+
|
|
5
|
+
import type { TextStyle, ViewStyle } from 'react-native';
|
|
6
|
+
|
|
7
|
+
interface ComputedStyleProps {
|
|
8
|
+
container?: ViewStyle;
|
|
9
|
+
textLabel?: TextStyle;
|
|
10
|
+
textContainer?: ViewStyle;
|
|
11
|
+
dividerContainer?: ViewStyle;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export const getStyle = () => {
|
|
15
|
+
const computedStyle: ComputedStyleProps = {};
|
|
16
|
+
|
|
17
|
+
computedStyle.container = {
|
|
18
|
+
flexDirection: 'row',
|
|
19
|
+
alignSelf: 'flex-start',
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
computedStyle.textLabel = {
|
|
23
|
+
color: Palettes.white[50],
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
computedStyle.textContainer = {
|
|
27
|
+
backgroundColor: Palettes.black[900],
|
|
28
|
+
justifyContent: 'center',
|
|
29
|
+
alignItems: 'center',
|
|
30
|
+
borderRadius: Radius[4],
|
|
31
|
+
paddingHorizontal: Spacing[4],
|
|
32
|
+
minWidth: 22,
|
|
33
|
+
height: 18,
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
computedStyle.dividerContainer = {
|
|
37
|
+
justifyContent: 'center',
|
|
38
|
+
alignItems: 'center',
|
|
39
|
+
width: 8,
|
|
40
|
+
};
|
|
41
|
+
|
|
42
|
+
return StyleSheet.create(computedStyle);
|
|
43
|
+
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export interface CountdownProps {
|
|
2
|
-
/**
|
|
3
|
-
* The target time in Date format, ex: 'YYYY-MM-DD hh:mm:ss'
|
|
4
|
-
*/
|
|
5
|
-
targetDateTime: string | number | Date;
|
|
6
|
-
|
|
7
|
-
formats?: {
|
|
8
|
-
type: 'd' | 'h' | 'm' | 's';
|
|
9
|
-
trailingString?: string;
|
|
10
|
-
leadingString?: string;
|
|
11
|
-
}[];
|
|
12
|
-
}
|
|
1
|
+
export interface CountdownProps {
|
|
2
|
+
/**
|
|
3
|
+
* The target time in Date format, ex: 'YYYY-MM-DD hh:mm:ss'
|
|
4
|
+
*/
|
|
5
|
+
targetDateTime: string | number | Date;
|
|
6
|
+
|
|
7
|
+
formats?: {
|
|
8
|
+
type: 'd' | 'h' | 'm' | 's';
|
|
9
|
+
trailingString?: string;
|
|
10
|
+
leadingString?: string;
|
|
11
|
+
}[];
|
|
12
|
+
}
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { View } from 'react-native';
|
|
3
|
-
import { getStyle } from './dot.style';
|
|
4
|
-
import type { DotProps } from './dot.type';
|
|
5
|
-
import { Typography } from '../typography/typography.component';
|
|
6
|
-
|
|
7
|
-
const Dot: React.FunctionComponent<DotProps> = (props) => {
|
|
8
|
-
const { label = '', containerStyle = {} } = props;
|
|
9
|
-
|
|
10
|
-
const computedStyle = getStyle(props);
|
|
11
|
-
|
|
12
|
-
return (
|
|
13
|
-
<View style={[computedStyle.container, containerStyle]}>
|
|
14
|
-
{label ? (
|
|
15
|
-
<Typography variant="caption2" style={[computedStyle.label]}>
|
|
16
|
-
{label}
|
|
17
|
-
</Typography>
|
|
18
|
-
) : null}
|
|
19
|
-
</View>
|
|
20
|
-
);
|
|
21
|
-
};
|
|
22
|
-
|
|
23
|
-
export { Dot };
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { View } from 'react-native';
|
|
3
|
+
import { getStyle } from './dot.style';
|
|
4
|
+
import type { DotProps } from './dot.type';
|
|
5
|
+
import { Typography } from '../typography/typography.component';
|
|
6
|
+
|
|
7
|
+
const Dot: React.FunctionComponent<DotProps> = (props) => {
|
|
8
|
+
const { label = '', containerStyle = {} } = props;
|
|
9
|
+
|
|
10
|
+
const computedStyle = getStyle(props);
|
|
11
|
+
|
|
12
|
+
return (
|
|
13
|
+
<View style={[computedStyle.container, containerStyle]}>
|
|
14
|
+
{label ? (
|
|
15
|
+
<Typography variant="caption2" style={[computedStyle.label]}>
|
|
16
|
+
{label}
|
|
17
|
+
</Typography>
|
|
18
|
+
) : null}
|
|
19
|
+
</View>
|
|
20
|
+
);
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
export { Dot };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
import { StyleSheet } from 'react-native';
|
|
2
|
-
|
|
3
|
-
import { Palettes, Radius } from '../../themes';
|
|
4
|
-
|
|
5
|
-
import type { DotProps } from './dot.type';
|
|
6
|
-
import type { TextStyle, ViewStyle } from 'react-native';
|
|
7
|
-
|
|
8
|
-
interface ComputedStyleProps {
|
|
9
|
-
container?: ViewStyle;
|
|
10
|
-
label?: TextStyle;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
export const getStyle = (props: DotProps) => {
|
|
14
|
-
const { label = '' } = props;
|
|
15
|
-
|
|
16
|
-
const computedStyle: ComputedStyleProps = {};
|
|
17
|
-
|
|
18
|
-
computedStyle.container = {
|
|
19
|
-
minWidth: label ? 18 : 8,
|
|
20
|
-
height: label ? 18 : 8,
|
|
21
|
-
paddingHorizontal: 4,
|
|
22
|
-
justifyContent: 'center',
|
|
23
|
-
alignItems: 'center',
|
|
24
|
-
borderRadius: Radius.full,
|
|
25
|
-
backgroundColor: Palettes.red[500],
|
|
26
|
-
};
|
|
27
|
-
|
|
28
|
-
computedStyle.label = {
|
|
29
|
-
color: Palettes.white[50],
|
|
30
|
-
};
|
|
31
|
-
|
|
32
|
-
return StyleSheet.create(computedStyle);
|
|
33
|
-
};
|
|
1
|
+
import { StyleSheet } from 'react-native';
|
|
2
|
+
|
|
3
|
+
import { Palettes, Radius } from '../../themes';
|
|
4
|
+
|
|
5
|
+
import type { DotProps } from './dot.type';
|
|
6
|
+
import type { TextStyle, ViewStyle } from 'react-native';
|
|
7
|
+
|
|
8
|
+
interface ComputedStyleProps {
|
|
9
|
+
container?: ViewStyle;
|
|
10
|
+
label?: TextStyle;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export const getStyle = (props: DotProps) => {
|
|
14
|
+
const { label = '' } = props;
|
|
15
|
+
|
|
16
|
+
const computedStyle: ComputedStyleProps = {};
|
|
17
|
+
|
|
18
|
+
computedStyle.container = {
|
|
19
|
+
minWidth: label ? 18 : 8,
|
|
20
|
+
height: label ? 18 : 8,
|
|
21
|
+
paddingHorizontal: 4,
|
|
22
|
+
justifyContent: 'center',
|
|
23
|
+
alignItems: 'center',
|
|
24
|
+
borderRadius: Radius.full,
|
|
25
|
+
backgroundColor: Palettes.red[500],
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
computedStyle.label = {
|
|
29
|
+
color: Palettes.white[50],
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
return StyleSheet.create(computedStyle);
|
|
33
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { ViewStyle } from 'react-native';
|
|
2
|
-
|
|
3
|
-
export interface DotProps {
|
|
4
|
-
label?: string;
|
|
5
|
-
containerStyle?: ViewStyle;
|
|
6
|
-
}
|
|
1
|
+
import type { ViewStyle } from 'react-native';
|
|
2
|
+
|
|
3
|
+
export interface DotProps {
|
|
4
|
+
label?: string;
|
|
5
|
+
containerStyle?: ViewStyle;
|
|
6
|
+
}
|
package/src/components/index.ts
CHANGED
|
@@ -1,49 +1,49 @@
|
|
|
1
|
-
export { Button } from './button/button.component';
|
|
2
|
-
export { Label } from './label/label.component';
|
|
3
|
-
export { BaseComponent } from './base/base.component';
|
|
4
|
-
export { Typography } from './typography/typography.component';
|
|
5
|
-
export { Coachmark } from './coachmark/coachmark.component';
|
|
6
|
-
export { TextLink } from './textlink/textlink.component';
|
|
7
|
-
export { SliderIndicator } from './slider-indicator/slider-indicator.component';
|
|
8
|
-
export { TextInput } from './TextInput/TextInput.component';
|
|
9
|
-
export { TextArea } from './TextArea/TextArea.component';
|
|
10
|
-
export { StepperCounter } from './StepperCounter/StepperCounter.component';
|
|
11
|
-
export { Divider } from './Divider/Divider.component';
|
|
12
|
-
export { Tabs } from './Tabs/Tabs.component';
|
|
13
|
-
export { RadioButton } from './RadioButton/RadioButton.component';
|
|
14
|
-
export {
|
|
15
|
-
BottomSheet,
|
|
16
|
-
BottomSheetHandler,
|
|
17
|
-
} from './BottomSheet/BottomSheet.component';
|
|
18
|
-
export { RadioInput } from './RadioInput/RadioInput.component';
|
|
19
|
-
export { CheckBoxInput } from './CheckBoxInput/CheckBoxInput.component';
|
|
20
|
-
export { Checkbox } from './Checkbox/Checkbox.component';
|
|
21
|
-
export { Appbar } from './Appbar/Appbar.component';
|
|
22
|
-
export { Snackbar, SnackbarComponent } from './Snackbar/Snackbar.component';
|
|
23
|
-
export { Switch } from './switch/switch.component';
|
|
24
|
-
export { Dot } from './dot/dot.component';
|
|
25
|
-
export { InformationBox } from './information-box/information-box.component';
|
|
26
|
-
export { RoundedTab } from './rounded-tab/rounded-tab.component';
|
|
27
|
-
export { Countdown } from './countdown/countdown.component';
|
|
28
|
-
export {
|
|
29
|
-
Mask,
|
|
30
|
-
MaskArray,
|
|
31
|
-
MaskInputProps,
|
|
32
|
-
MaskItem,
|
|
33
|
-
Masks,
|
|
34
|
-
UseMaskedInputProps,
|
|
35
|
-
createNumberMask,
|
|
36
|
-
formatWithMask,
|
|
37
|
-
useMaskedInputProps,
|
|
38
|
-
} from 'react-native-mask-input';
|
|
39
|
-
|
|
40
|
-
export type { ButtonProps } from './button/button.type';
|
|
41
|
-
export type { TextInputProps } from './TextInput/TextInput.type';
|
|
42
|
-
export type { SliderIndicatorProps } from './slider-indicator/slider-indicator.type';
|
|
43
|
-
export type { TextLinkProps } from './textlink/textlink.type';
|
|
44
|
-
export type { TypographyProps } from './typography/typography.type';
|
|
45
|
-
export type { CoachmarkProps } from './coachmark/coachmark.type';
|
|
46
|
-
export type { TextAreaProps } from './TextArea/TextArea.type';
|
|
47
|
-
export type { StepperCounterProps } from './StepperCounter/StepperCounter.type';
|
|
48
|
-
export type { DividerProps } from './Divider/Divider.type';
|
|
49
|
-
export type { TabsProps } from './Tabs/Tabs.type';
|
|
1
|
+
export { Button } from './button/button.component';
|
|
2
|
+
export { Label } from './label/label.component';
|
|
3
|
+
export { BaseComponent } from './base/base.component';
|
|
4
|
+
export { Typography } from './typography/typography.component';
|
|
5
|
+
export { Coachmark } from './coachmark/coachmark.component';
|
|
6
|
+
export { TextLink } from './textlink/textlink.component';
|
|
7
|
+
export { SliderIndicator } from './slider-indicator/slider-indicator.component';
|
|
8
|
+
export { TextInput } from './TextInput/TextInput.component';
|
|
9
|
+
export { TextArea } from './TextArea/TextArea.component';
|
|
10
|
+
export { StepperCounter } from './StepperCounter/StepperCounter.component';
|
|
11
|
+
export { Divider } from './Divider/Divider.component';
|
|
12
|
+
export { Tabs } from './Tabs/Tabs.component';
|
|
13
|
+
export { RadioButton } from './RadioButton/RadioButton.component';
|
|
14
|
+
export {
|
|
15
|
+
BottomSheet,
|
|
16
|
+
BottomSheetHandler,
|
|
17
|
+
} from './BottomSheet/BottomSheet.component';
|
|
18
|
+
export { RadioInput } from './RadioInput/RadioInput.component';
|
|
19
|
+
export { CheckBoxInput } from './CheckBoxInput/CheckBoxInput.component';
|
|
20
|
+
export { Checkbox } from './Checkbox/Checkbox.component';
|
|
21
|
+
export { Appbar } from './Appbar/Appbar.component';
|
|
22
|
+
export { Snackbar, SnackbarComponent } from './Snackbar/Snackbar.component';
|
|
23
|
+
export { Switch } from './switch/switch.component';
|
|
24
|
+
export { Dot } from './dot/dot.component';
|
|
25
|
+
export { InformationBox } from './information-box/information-box.component';
|
|
26
|
+
export { RoundedTab } from './rounded-tab/rounded-tab.component';
|
|
27
|
+
export { Countdown } from './countdown/countdown.component';
|
|
28
|
+
export {
|
|
29
|
+
Mask,
|
|
30
|
+
MaskArray,
|
|
31
|
+
MaskInputProps,
|
|
32
|
+
MaskItem,
|
|
33
|
+
Masks,
|
|
34
|
+
UseMaskedInputProps,
|
|
35
|
+
createNumberMask,
|
|
36
|
+
formatWithMask,
|
|
37
|
+
useMaskedInputProps,
|
|
38
|
+
} from 'react-native-mask-input';
|
|
39
|
+
|
|
40
|
+
export type { ButtonProps } from './button/button.type';
|
|
41
|
+
export type { TextInputProps } from './TextInput/TextInput.type';
|
|
42
|
+
export type { SliderIndicatorProps } from './slider-indicator/slider-indicator.type';
|
|
43
|
+
export type { TextLinkProps } from './textlink/textlink.type';
|
|
44
|
+
export type { TypographyProps } from './typography/typography.type';
|
|
45
|
+
export type { CoachmarkProps } from './coachmark/coachmark.type';
|
|
46
|
+
export type { TextAreaProps } from './TextArea/TextArea.type';
|
|
47
|
+
export type { StepperCounterProps } from './StepperCounter/StepperCounter.type';
|
|
48
|
+
export type { DividerProps } from './Divider/Divider.type';
|
|
49
|
+
export type { TabsProps } from './Tabs/Tabs.type';
|
|
@@ -1,55 +1,55 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { View } from 'react-native';
|
|
3
|
-
|
|
4
|
-
import { getStyle } from './information-box.style';
|
|
5
|
-
import { Typography } from '../typography/typography.component';
|
|
6
|
-
import { IconInfo } from '../../icons';
|
|
7
|
-
|
|
8
|
-
import type { InformationBoxProps } from './information-box.type';
|
|
9
|
-
|
|
10
|
-
const InformationBox: React.FunctionComponent<
|
|
11
|
-
React.PropsWithChildren<InformationBoxProps>
|
|
12
|
-
> = (props) => {
|
|
13
|
-
const {
|
|
14
|
-
text = '',
|
|
15
|
-
showIcon = true,
|
|
16
|
-
informationIcon = null,
|
|
17
|
-
actionComponent = null,
|
|
18
|
-
} = props;
|
|
19
|
-
|
|
20
|
-
const computedStyle = getStyle(props);
|
|
21
|
-
|
|
22
|
-
const renderInformationText = () => {
|
|
23
|
-
if (typeof text === 'string') {
|
|
24
|
-
return (
|
|
25
|
-
<Typography
|
|
26
|
-
variant="caption"
|
|
27
|
-
numberOfLines={3}
|
|
28
|
-
style={[computedStyle.text]}
|
|
29
|
-
>
|
|
30
|
-
{text}
|
|
31
|
-
</Typography>
|
|
32
|
-
);
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
return text;
|
|
36
|
-
};
|
|
37
|
-
|
|
38
|
-
return (
|
|
39
|
-
<View style={computedStyle.container}>
|
|
40
|
-
<View style={[computedStyle.informationContainer]}>
|
|
41
|
-
{showIcon && (
|
|
42
|
-
<View style={[computedStyle.iconWrapper]}>
|
|
43
|
-
{informationIcon || <IconInfo width={16} height={16} />}
|
|
44
|
-
</View>
|
|
45
|
-
)}
|
|
46
|
-
{renderInformationText()}
|
|
47
|
-
</View>
|
|
48
|
-
{actionComponent && (
|
|
49
|
-
<View style={[computedStyle.actionWrapper]}>{actionComponent}</View>
|
|
50
|
-
)}
|
|
51
|
-
</View>
|
|
52
|
-
);
|
|
53
|
-
};
|
|
54
|
-
|
|
55
|
-
export { InformationBox };
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { View } from 'react-native';
|
|
3
|
+
|
|
4
|
+
import { getStyle } from './information-box.style';
|
|
5
|
+
import { Typography } from '../typography/typography.component';
|
|
6
|
+
import { IconInfo } from '../../icons';
|
|
7
|
+
|
|
8
|
+
import type { InformationBoxProps } from './information-box.type';
|
|
9
|
+
|
|
10
|
+
const InformationBox: React.FunctionComponent<
|
|
11
|
+
React.PropsWithChildren<InformationBoxProps>
|
|
12
|
+
> = (props) => {
|
|
13
|
+
const {
|
|
14
|
+
text = '',
|
|
15
|
+
showIcon = true,
|
|
16
|
+
informationIcon = null,
|
|
17
|
+
actionComponent = null,
|
|
18
|
+
} = props;
|
|
19
|
+
|
|
20
|
+
const computedStyle = getStyle(props);
|
|
21
|
+
|
|
22
|
+
const renderInformationText = () => {
|
|
23
|
+
if (typeof text === 'string') {
|
|
24
|
+
return (
|
|
25
|
+
<Typography
|
|
26
|
+
variant="caption"
|
|
27
|
+
numberOfLines={3}
|
|
28
|
+
style={[computedStyle.text]}
|
|
29
|
+
>
|
|
30
|
+
{text}
|
|
31
|
+
</Typography>
|
|
32
|
+
);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
return text;
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
return (
|
|
39
|
+
<View style={computedStyle.container}>
|
|
40
|
+
<View style={[computedStyle.informationContainer]}>
|
|
41
|
+
{showIcon && (
|
|
42
|
+
<View style={[computedStyle.iconWrapper]}>
|
|
43
|
+
{informationIcon || <IconInfo width={16} height={16} />}
|
|
44
|
+
</View>
|
|
45
|
+
)}
|
|
46
|
+
{renderInformationText()}
|
|
47
|
+
</View>
|
|
48
|
+
{actionComponent && (
|
|
49
|
+
<View style={[computedStyle.actionWrapper]}>{actionComponent}</View>
|
|
50
|
+
)}
|
|
51
|
+
</View>
|
|
52
|
+
);
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
export { InformationBox };
|