@adiraku/react-native-ui 0.1.14
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 -0
- package/README.md +77 -0
- package/lib/commonjs/components/Appbar/Appbar.component.js +49 -0
- package/lib/commonjs/components/Appbar/Appbar.component.js.map +1 -0
- package/lib/commonjs/components/Appbar/Appbar.style.js +37 -0
- package/lib/commonjs/components/Appbar/Appbar.style.js.map +1 -0
- package/lib/commonjs/components/Appbar/Appbar.type.js +6 -0
- package/lib/commonjs/components/Appbar/Appbar.type.js.map +1 -0
- package/lib/commonjs/components/BottomSheet/BottomSheet.component.js +148 -0
- package/lib/commonjs/components/BottomSheet/BottomSheet.component.js.map +1 -0
- package/lib/commonjs/components/BottomSheet/BottomSheet.style.js +66 -0
- package/lib/commonjs/components/BottomSheet/BottomSheet.style.js.map +1 -0
- package/lib/commonjs/components/BottomSheet/BottomSheet.type.js +6 -0
- package/lib/commonjs/components/BottomSheet/BottomSheet.type.js.map +1 -0
- package/lib/commonjs/components/CheckBoxInput/CheckBoxInput.component.js +198 -0
- package/lib/commonjs/components/CheckBoxInput/CheckBoxInput.component.js.map +1 -0
- package/lib/commonjs/components/CheckBoxInput/CheckBoxInput.style.js +87 -0
- package/lib/commonjs/components/CheckBoxInput/CheckBoxInput.style.js.map +1 -0
- package/lib/commonjs/components/CheckBoxInput/CheckBoxInput.type.js +6 -0
- package/lib/commonjs/components/CheckBoxInput/CheckBoxInput.type.js.map +1 -0
- package/lib/commonjs/components/Checkbox/Checkbox.component.js +29 -0
- package/lib/commonjs/components/Checkbox/Checkbox.component.js.map +1 -0
- package/lib/commonjs/components/Checkbox/Checkbox.style.js +31 -0
- package/lib/commonjs/components/Checkbox/Checkbox.style.js.map +1 -0
- package/lib/commonjs/components/Checkbox/Checkbox.type.js +2 -0
- package/lib/commonjs/components/Checkbox/Checkbox.type.js.map +1 -0
- package/lib/commonjs/components/Divider/Divider.component.js +25 -0
- package/lib/commonjs/components/Divider/Divider.component.js.map +1 -0
- package/lib/commonjs/components/Divider/Divider.style.js +30 -0
- package/lib/commonjs/components/Divider/Divider.style.js.map +1 -0
- package/lib/commonjs/components/Divider/Divider.type.js +6 -0
- package/lib/commonjs/components/Divider/Divider.type.js.map +1 -0
- package/lib/commonjs/components/RadioButton/RadioButton.component.js +25 -0
- package/lib/commonjs/components/RadioButton/RadioButton.component.js.map +1 -0
- package/lib/commonjs/components/RadioButton/RadioButton.style.js +36 -0
- package/lib/commonjs/components/RadioButton/RadioButton.style.js.map +1 -0
- package/lib/commonjs/components/RadioButton/RadioButton.type.js +2 -0
- package/lib/commonjs/components/RadioButton/RadioButton.type.js.map +1 -0
- package/lib/commonjs/components/RadioInput/RadioInput.component.js +185 -0
- package/lib/commonjs/components/RadioInput/RadioInput.component.js.map +1 -0
- package/lib/commonjs/components/RadioInput/RadioInput.style.js +87 -0
- package/lib/commonjs/components/RadioInput/RadioInput.style.js.map +1 -0
- package/lib/commonjs/components/RadioInput/RadioInput.type.js +6 -0
- package/lib/commonjs/components/RadioInput/RadioInput.type.js.map +1 -0
- package/lib/commonjs/components/Snackbar/Snackbar.component.js +31 -0
- package/lib/commonjs/components/Snackbar/Snackbar.component.js.map +1 -0
- package/lib/commonjs/components/Snackbar/Snackbar.type.js +6 -0
- package/lib/commonjs/components/Snackbar/Snackbar.type.js.map +1 -0
- package/lib/commonjs/components/Snackbar/Snakbar.style.js +29 -0
- package/lib/commonjs/components/Snackbar/Snakbar.style.js.map +1 -0
- package/lib/commonjs/components/StepperCounter/StepperCounter.component.js +72 -0
- package/lib/commonjs/components/StepperCounter/StepperCounter.component.js.map +1 -0
- package/lib/commonjs/components/StepperCounter/StepperCounter.style.js +73 -0
- package/lib/commonjs/components/StepperCounter/StepperCounter.style.js.map +1 -0
- package/lib/commonjs/components/StepperCounter/StepperCounter.type.js +6 -0
- package/lib/commonjs/components/StepperCounter/StepperCounter.type.js.map +1 -0
- package/lib/commonjs/components/Tabs/Tabs.component.js +81 -0
- package/lib/commonjs/components/Tabs/Tabs.component.js.map +1 -0
- package/lib/commonjs/components/Tabs/Tabs.style.js +28 -0
- package/lib/commonjs/components/Tabs/Tabs.style.js.map +1 -0
- package/lib/commonjs/components/Tabs/Tabs.type.js +2 -0
- package/lib/commonjs/components/Tabs/Tabs.type.js.map +1 -0
- package/lib/commonjs/components/TextArea/TextArea.component.js +64 -0
- package/lib/commonjs/components/TextArea/TextArea.component.js.map +1 -0
- package/lib/commonjs/components/TextArea/TextArea.style.js +57 -0
- package/lib/commonjs/components/TextArea/TextArea.style.js.map +1 -0
- package/lib/commonjs/components/TextArea/TextArea.type.js +6 -0
- package/lib/commonjs/components/TextArea/TextArea.type.js.map +1 -0
- package/lib/commonjs/components/TextInput/TextInput.component.js +109 -0
- package/lib/commonjs/components/TextInput/TextInput.component.js.map +1 -0
- package/lib/commonjs/components/TextInput/TextInput.style.js +79 -0
- package/lib/commonjs/components/TextInput/TextInput.style.js.map +1 -0
- package/lib/commonjs/components/TextInput/TextInput.type.js +6 -0
- package/lib/commonjs/components/TextInput/TextInput.type.js.map +1 -0
- package/lib/commonjs/components/base/base.component.js +28 -0
- package/lib/commonjs/components/base/base.component.js.map +1 -0
- package/lib/commonjs/components/base/base.style.js +24 -0
- package/lib/commonjs/components/base/base.style.js.map +1 -0
- package/lib/commonjs/components/base/base.type.js +2 -0
- package/lib/commonjs/components/base/base.type.js.map +1 -0
- package/lib/commonjs/components/button/button.component.js +38 -0
- package/lib/commonjs/components/button/button.component.js.map +1 -0
- package/lib/commonjs/components/button/button.styles.js +63 -0
- package/lib/commonjs/components/button/button.styles.js.map +1 -0
- package/lib/commonjs/components/button/button.type.js +6 -0
- package/lib/commonjs/components/button/button.type.js.map +1 -0
- package/lib/commonjs/components/coachmark/coachmark.component.js +37 -0
- package/lib/commonjs/components/coachmark/coachmark.component.js.map +1 -0
- package/lib/commonjs/components/coachmark/coachmark.style.js +64 -0
- package/lib/commonjs/components/coachmark/coachmark.style.js.map +1 -0
- package/lib/commonjs/components/coachmark/coachmark.type.js +6 -0
- package/lib/commonjs/components/coachmark/coachmark.type.js.map +1 -0
- package/lib/commonjs/components/dot/dot.component.js +27 -0
- package/lib/commonjs/components/dot/dot.component.js.map +1 -0
- package/lib/commonjs/components/dot/dot.style.js +29 -0
- package/lib/commonjs/components/dot/dot.style.js.map +1 -0
- package/lib/commonjs/components/dot/dot.type.js +6 -0
- package/lib/commonjs/components/dot/dot.type.js.map +1 -0
- package/lib/commonjs/components/index.js +167 -0
- package/lib/commonjs/components/index.js.map +1 -0
- package/lib/commonjs/components/information-box/information-box.component.js +46 -0
- package/lib/commonjs/components/information-box/information-box.component.js.map +1 -0
- package/lib/commonjs/components/information-box/information-box.style.js +39 -0
- package/lib/commonjs/components/information-box/information-box.style.js.map +1 -0
- package/lib/commonjs/components/information-box/information-box.type.js +6 -0
- package/lib/commonjs/components/information-box/information-box.type.js.map +1 -0
- package/lib/commonjs/components/label/label.component.js +22 -0
- package/lib/commonjs/components/label/label.component.js.map +1 -0
- package/lib/commonjs/components/label/label.style.js +16 -0
- package/lib/commonjs/components/label/label.style.js.map +1 -0
- package/lib/commonjs/components/label/label.type.js +2 -0
- package/lib/commonjs/components/label/label.type.js.map +1 -0
- package/lib/commonjs/components/rounded-tab/rounded-tab.component.js +99 -0
- package/lib/commonjs/components/rounded-tab/rounded-tab.component.js.map +1 -0
- package/lib/commonjs/components/rounded-tab/rounded-tab.style.js +48 -0
- package/lib/commonjs/components/rounded-tab/rounded-tab.style.js.map +1 -0
- package/lib/commonjs/components/rounded-tab/rounded-tab.type.js +6 -0
- package/lib/commonjs/components/rounded-tab/rounded-tab.type.js.map +1 -0
- package/lib/commonjs/components/slider-indicator/slider-indicator.component.js +70 -0
- package/lib/commonjs/components/slider-indicator/slider-indicator.component.js.map +1 -0
- package/lib/commonjs/components/slider-indicator/slider-indicator.style.js +27 -0
- package/lib/commonjs/components/slider-indicator/slider-indicator.style.js.map +1 -0
- package/lib/commonjs/components/slider-indicator/slider-indicator.type.js +2 -0
- package/lib/commonjs/components/slider-indicator/slider-indicator.type.js.map +1 -0
- package/lib/commonjs/components/switch/switch.component.js +55 -0
- package/lib/commonjs/components/switch/switch.component.js.map +1 -0
- package/lib/commonjs/components/switch/switch.style.js +48 -0
- package/lib/commonjs/components/switch/switch.style.js.map +1 -0
- package/lib/commonjs/components/switch/switch.type.js +2 -0
- package/lib/commonjs/components/switch/switch.type.js.map +1 -0
- package/lib/commonjs/components/textlink/textlink.component.js +35 -0
- package/lib/commonjs/components/textlink/textlink.component.js.map +1 -0
- package/lib/commonjs/components/textlink/textlink.style.js +29 -0
- package/lib/commonjs/components/textlink/textlink.style.js.map +1 -0
- package/lib/commonjs/components/textlink/textlink.type.js +6 -0
- package/lib/commonjs/components/textlink/textlink.type.js.map +1 -0
- package/lib/commonjs/components/typography/typography.component.js +27 -0
- package/lib/commonjs/components/typography/typography.component.js.map +1 -0
- package/lib/commonjs/components/typography/typography.style.js +179 -0
- package/lib/commonjs/components/typography/typography.style.js.map +1 -0
- package/lib/commonjs/components/typography/typography.type.js +6 -0
- package/lib/commonjs/components/typography/typography.type.js.map +1 -0
- package/lib/commonjs/icons/actions/IconAddMinus.js +34 -0
- package/lib/commonjs/icons/actions/IconAddMinus.js.map +1 -0
- package/lib/commonjs/icons/actions/IconAddPlus.js +34 -0
- package/lib/commonjs/icons/actions/IconAddPlus.js.map +1 -0
- package/lib/commonjs/icons/actions/IconAddRemove.js +34 -0
- package/lib/commonjs/icons/actions/IconAddRemove.js.map +1 -0
- package/lib/commonjs/icons/actions/IconAttach.js +34 -0
- package/lib/commonjs/icons/actions/IconAttach.js.map +1 -0
- package/lib/commonjs/icons/actions/IconCamera.js +34 -0
- package/lib/commonjs/icons/actions/IconCamera.js.map +1 -0
- package/lib/commonjs/icons/actions/IconChat.js +34 -0
- package/lib/commonjs/icons/actions/IconChat.js.map +1 -0
- package/lib/commonjs/icons/actions/IconCopy.js +39 -0
- package/lib/commonjs/icons/actions/IconCopy.js.map +1 -0
- package/lib/commonjs/icons/actions/IconCustomerService.js +39 -0
- package/lib/commonjs/icons/actions/IconCustomerService.js.map +1 -0
- package/lib/commonjs/icons/actions/IconDownload.js +34 -0
- package/lib/commonjs/icons/actions/IconDownload.js.map +1 -0
- package/lib/commonjs/icons/actions/IconEdit.js +34 -0
- package/lib/commonjs/icons/actions/IconEdit.js.map +1 -0
- package/lib/commonjs/icons/actions/IconFilter.js +50 -0
- package/lib/commonjs/icons/actions/IconFilter.js.map +1 -0
- package/lib/commonjs/icons/actions/IconHeartEmpty.js +60 -0
- package/lib/commonjs/icons/actions/IconHeartEmpty.js.map +1 -0
- package/lib/commonjs/icons/actions/IconHeartFilled.js +32 -0
- package/lib/commonjs/icons/actions/IconHeartFilled.js.map +1 -0
- package/lib/commonjs/icons/actions/IconHeartOutline.js +34 -0
- package/lib/commonjs/icons/actions/IconHeartOutline.js.map +1 -0
- package/lib/commonjs/icons/actions/IconHelp.js +34 -0
- package/lib/commonjs/icons/actions/IconHelp.js.map +1 -0
- package/lib/commonjs/icons/actions/IconInfo.js +39 -0
- package/lib/commonjs/icons/actions/IconInfo.js.map +1 -0
- package/lib/commonjs/icons/actions/IconLike.js +32 -0
- package/lib/commonjs/icons/actions/IconLike.js.map +1 -0
- package/lib/commonjs/icons/actions/IconNotification.js +45 -0
- package/lib/commonjs/icons/actions/IconNotification.js.map +1 -0
- package/lib/commonjs/icons/actions/IconPerson.js +34 -0
- package/lib/commonjs/icons/actions/IconPerson.js.map +1 -0
- package/lib/commonjs/icons/actions/IconPicture.js +37 -0
- package/lib/commonjs/icons/actions/IconPicture.js.map +1 -0
- package/lib/commonjs/icons/actions/IconPictureAdd.js +50 -0
- package/lib/commonjs/icons/actions/IconPictureAdd.js.map +1 -0
- package/lib/commonjs/icons/actions/IconSearch.js +34 -0
- package/lib/commonjs/icons/actions/IconSearch.js.map +1 -0
- package/lib/commonjs/icons/actions/IconSetting.js +34 -0
- package/lib/commonjs/icons/actions/IconSetting.js.map +1 -0
- package/lib/commonjs/icons/actions/IconShare.js +34 -0
- package/lib/commonjs/icons/actions/IconShare.js.map +1 -0
- package/lib/commonjs/icons/actions/IconShoppingCart.js +34 -0
- package/lib/commonjs/icons/actions/IconShoppingCart.js.map +1 -0
- package/lib/commonjs/icons/actions/IconSort.js +34 -0
- package/lib/commonjs/icons/actions/IconSort.js.map +1 -0
- package/lib/commonjs/icons/actions/IconStarFilled.js +34 -0
- package/lib/commonjs/icons/actions/IconStarFilled.js.map +1 -0
- package/lib/commonjs/icons/actions/IconStarOutline.js +34 -0
- package/lib/commonjs/icons/actions/IconStarOutline.js.map +1 -0
- package/lib/commonjs/icons/actions/IconTrash.js +39 -0
- package/lib/commonjs/icons/actions/IconTrash.js.map +1 -0
- package/lib/commonjs/icons/actions/IconUpload.js +34 -0
- package/lib/commonjs/icons/actions/IconUpload.js.map +1 -0
- package/lib/commonjs/icons/index.js +608 -0
- package/lib/commonjs/icons/index.js.map +1 -0
- package/lib/commonjs/icons/misc/IconCalendar.js +34 -0
- package/lib/commonjs/icons/misc/IconCalendar.js.map +1 -0
- package/lib/commonjs/icons/misc/IconCash.js +34 -0
- package/lib/commonjs/icons/misc/IconCash.js.map +1 -0
- package/lib/commonjs/icons/misc/IconCategory.js +34 -0
- package/lib/commonjs/icons/misc/IconCategory.js.map +1 -0
- package/lib/commonjs/icons/misc/IconContract.js +37 -0
- package/lib/commonjs/icons/misc/IconContract.js.map +1 -0
- package/lib/commonjs/icons/misc/IconCreditCard.js +34 -0
- package/lib/commonjs/icons/misc/IconCreditCard.js.map +1 -0
- package/lib/commonjs/icons/misc/IconFlash.js +32 -0
- package/lib/commonjs/icons/misc/IconFlash.js.map +1 -0
- package/lib/commonjs/icons/misc/IconGroup.js +34 -0
- package/lib/commonjs/icons/misc/IconGroup.js.map +1 -0
- package/lib/commonjs/icons/misc/IconHistory.js +42 -0
- package/lib/commonjs/icons/misc/IconHistory.js.map +1 -0
- package/lib/commonjs/icons/misc/IconLocation.js +34 -0
- package/lib/commonjs/icons/misc/IconLocation.js.map +1 -0
- package/lib/commonjs/icons/misc/IconLock.js +39 -0
- package/lib/commonjs/icons/misc/IconLock.js.map +1 -0
- package/lib/commonjs/icons/misc/IconMoney.js +43 -0
- package/lib/commonjs/icons/misc/IconMoney.js.map +1 -0
- package/lib/commonjs/icons/misc/IconMyLocation.js +34 -0
- package/lib/commonjs/icons/misc/IconMyLocation.js.map +1 -0
- package/lib/commonjs/icons/misc/IconOfficial.js +35 -0
- package/lib/commonjs/icons/misc/IconOfficial.js.map +1 -0
- package/lib/commonjs/icons/misc/IconPromo.js +34 -0
- package/lib/commonjs/icons/misc/IconPromo.js.map +1 -0
- package/lib/commonjs/icons/misc/IconProtection.js +43 -0
- package/lib/commonjs/icons/misc/IconProtection.js.map +1 -0
- package/lib/commonjs/icons/misc/IconStore.js +40 -0
- package/lib/commonjs/icons/misc/IconStore.js.map +1 -0
- package/lib/commonjs/icons/misc/IconTick.js +34 -0
- package/lib/commonjs/icons/misc/IconTick.js.map +1 -0
- package/lib/commonjs/icons/misc/IconTicket.js +34 -0
- package/lib/commonjs/icons/misc/IconTicket.js.map +1 -0
- package/lib/commonjs/icons/misc/IconTime.js +39 -0
- package/lib/commonjs/icons/misc/IconTime.js.map +1 -0
- package/lib/commonjs/icons/misc/IconVoucher.js +39 -0
- package/lib/commonjs/icons/misc/IconVoucher.js.map +1 -0
- package/lib/commonjs/icons/navigations/IconArrowDown.js +34 -0
- package/lib/commonjs/icons/navigations/IconArrowDown.js.map +1 -0
- package/lib/commonjs/icons/navigations/IconArrowLeft.js +34 -0
- package/lib/commonjs/icons/navigations/IconArrowLeft.js.map +1 -0
- package/lib/commonjs/icons/navigations/IconArrowRight.js +34 -0
- package/lib/commonjs/icons/navigations/IconArrowRight.js.map +1 -0
- package/lib/commonjs/icons/navigations/IconArrowUp.js +34 -0
- package/lib/commonjs/icons/navigations/IconArrowUp.js.map +1 -0
- package/lib/commonjs/icons/navigations/IconChevronDown.js +34 -0
- package/lib/commonjs/icons/navigations/IconChevronDown.js.map +1 -0
- package/lib/commonjs/icons/navigations/IconChevronLeft.js +34 -0
- package/lib/commonjs/icons/navigations/IconChevronLeft.js.map +1 -0
- package/lib/commonjs/icons/navigations/IconChevronRight.js +34 -0
- package/lib/commonjs/icons/navigations/IconChevronRight.js.map +1 -0
- package/lib/commonjs/icons/navigations/IconChevronUp.js +34 -0
- package/lib/commonjs/icons/navigations/IconChevronUp.js.map +1 -0
- package/lib/commonjs/icons/navs/IconNavAdiraku.js +49 -0
- package/lib/commonjs/icons/navs/IconNavAdiraku.js.map +1 -0
- package/lib/commonjs/icons/navs/IconNavDocument.js +41 -0
- package/lib/commonjs/icons/navs/IconNavDocument.js.map +1 -0
- package/lib/commonjs/icons/navs/IconNavHome.js +37 -0
- package/lib/commonjs/icons/navs/IconNavHome.js.map +1 -0
- package/lib/commonjs/icons/navs/IconNavPhone.js +34 -0
- package/lib/commonjs/icons/navs/IconNavPhone.js.map +1 -0
- package/lib/commonjs/icons/navs/IconNavProfile.js +34 -0
- package/lib/commonjs/icons/navs/IconNavProfile.js.map +1 -0
- package/lib/commonjs/icons/vehicles/IconBikeCaferacer.js +35 -0
- package/lib/commonjs/icons/vehicles/IconBikeCaferacer.js.map +1 -0
- package/lib/commonjs/icons/vehicles/IconBikeCooper.js +38 -0
- package/lib/commonjs/icons/vehicles/IconBikeCooper.js.map +1 -0
- package/lib/commonjs/icons/vehicles/IconBikeCruiser.js +35 -0
- package/lib/commonjs/icons/vehicles/IconBikeCruiser.js.map +1 -0
- package/lib/commonjs/icons/vehicles/IconBikeDualsport.js +35 -0
- package/lib/commonjs/icons/vehicles/IconBikeDualsport.js.map +1 -0
- package/lib/commonjs/icons/vehicles/IconBikeMopad.js +41 -0
- package/lib/commonjs/icons/vehicles/IconBikeMopad.js.map +1 -0
- package/lib/commonjs/icons/vehicles/IconBikeRoadster.js +38 -0
- package/lib/commonjs/icons/vehicles/IconBikeRoadster.js.map +1 -0
- package/lib/commonjs/icons/vehicles/IconBikeScooter.js +35 -0
- package/lib/commonjs/icons/vehicles/IconBikeScooter.js.map +1 -0
- package/lib/commonjs/icons/vehicles/IconBikeScrambler.js +35 -0
- package/lib/commonjs/icons/vehicles/IconBikeScrambler.js.map +1 -0
- package/lib/commonjs/icons/vehicles/IconBikeSportbike.js +35 -0
- package/lib/commonjs/icons/vehicles/IconBikeSportbike.js.map +1 -0
- package/lib/commonjs/icons/vehicles/IconBikeSportstouring.js +35 -0
- package/lib/commonjs/icons/vehicles/IconBikeSportstouring.js.map +1 -0
- package/lib/commonjs/icons/vehicles/IconBikeTouring.js +32 -0
- package/lib/commonjs/icons/vehicles/IconBikeTouring.js.map +1 -0
- package/lib/commonjs/icons/vehicles/IconBikeTrialbike.js +35 -0
- package/lib/commonjs/icons/vehicles/IconBikeTrialbike.js.map +1 -0
- package/lib/commonjs/icons/vehicles/IconCarHatchback.js +34 -0
- package/lib/commonjs/icons/vehicles/IconCarHatchback.js.map +1 -0
- package/lib/commonjs/icons/vehicles/IconCarJeep.js +34 -0
- package/lib/commonjs/icons/vehicles/IconCarJeep.js.map +1 -0
- package/lib/commonjs/icons/vehicles/IconCarMiniTruck.js +34 -0
- package/lib/commonjs/icons/vehicles/IconCarMiniTruck.js.map +1 -0
- package/lib/commonjs/icons/vehicles/IconCarMinivan.js +34 -0
- package/lib/commonjs/icons/vehicles/IconCarMinivan.js.map +1 -0
- package/lib/commonjs/icons/vehicles/IconCarMuv.js +34 -0
- package/lib/commonjs/icons/vehicles/IconCarMuv.js.map +1 -0
- package/lib/commonjs/icons/vehicles/IconCarPickup.js +34 -0
- package/lib/commonjs/icons/vehicles/IconCarPickup.js.map +1 -0
- package/lib/commonjs/icons/vehicles/IconCarSportCar.js +34 -0
- package/lib/commonjs/icons/vehicles/IconCarSportCar.js.map +1 -0
- package/lib/commonjs/icons/vehicles/IconCarSuperCar.js +34 -0
- package/lib/commonjs/icons/vehicles/IconCarSuperCar.js.map +1 -0
- package/lib/commonjs/icons/vehicles/IconCarSuv.js +34 -0
- package/lib/commonjs/icons/vehicles/IconCarSuv.js.map +1 -0
- package/lib/commonjs/icons/vehicles/IconCarVan.js +34 -0
- package/lib/commonjs/icons/vehicles/IconCarVan.js.map +1 -0
- package/lib/commonjs/icons/vehicles/IconCarWagon.js +34 -0
- package/lib/commonjs/icons/vehicles/IconCarWagon.js.map +1 -0
- package/lib/commonjs/index.js +28 -0
- package/lib/commonjs/index.js.map +1 -0
- package/lib/commonjs/themes/colors.js +143 -0
- package/lib/commonjs/themes/colors.js.map +1 -0
- package/lib/commonjs/themes/index.js +50 -0
- package/lib/commonjs/themes/index.js.map +1 -0
- package/lib/commonjs/themes/radius.js +18 -0
- package/lib/commonjs/themes/radius.js.map +1 -0
- package/lib/commonjs/themes/shadow.js +46 -0
- package/lib/commonjs/themes/shadow.js.map +1 -0
- package/lib/commonjs/themes/spacing.js +22 -0
- package/lib/commonjs/themes/spacing.js.map +1 -0
- package/lib/commonjs/types.js +2 -0
- package/lib/commonjs/types.js.map +1 -0
- package/lib/module/components/Appbar/Appbar.component.js +41 -0
- package/lib/module/components/Appbar/Appbar.component.js.map +1 -0
- package/lib/module/components/Appbar/Appbar.style.js +30 -0
- package/lib/module/components/Appbar/Appbar.style.js.map +1 -0
- package/lib/module/components/Appbar/Appbar.type.js +2 -0
- package/lib/module/components/Appbar/Appbar.type.js.map +1 -0
- package/lib/module/components/BottomSheet/BottomSheet.component.js +141 -0
- package/lib/module/components/BottomSheet/BottomSheet.component.js.map +1 -0
- package/lib/module/components/BottomSheet/BottomSheet.style.js +59 -0
- package/lib/module/components/BottomSheet/BottomSheet.style.js.map +1 -0
- package/lib/module/components/BottomSheet/BottomSheet.type.js +2 -0
- package/lib/module/components/BottomSheet/BottomSheet.type.js.map +1 -0
- package/lib/module/components/CheckBoxInput/CheckBoxInput.component.js +190 -0
- package/lib/module/components/CheckBoxInput/CheckBoxInput.component.js.map +1 -0
- package/lib/module/components/CheckBoxInput/CheckBoxInput.style.js +80 -0
- package/lib/module/components/CheckBoxInput/CheckBoxInput.style.js.map +1 -0
- package/lib/module/components/CheckBoxInput/CheckBoxInput.type.js +2 -0
- package/lib/module/components/CheckBoxInput/CheckBoxInput.type.js.map +1 -0
- package/lib/module/components/Checkbox/Checkbox.component.js +21 -0
- package/lib/module/components/Checkbox/Checkbox.component.js.map +1 -0
- package/lib/module/components/Checkbox/Checkbox.style.js +24 -0
- package/lib/module/components/Checkbox/Checkbox.style.js.map +1 -0
- package/lib/module/components/Checkbox/Checkbox.type.js +2 -0
- package/lib/module/components/Checkbox/Checkbox.type.js.map +1 -0
- package/lib/module/components/Divider/Divider.component.js +17 -0
- package/lib/module/components/Divider/Divider.component.js.map +1 -0
- package/lib/module/components/Divider/Divider.style.js +23 -0
- package/lib/module/components/Divider/Divider.style.js.map +1 -0
- package/lib/module/components/Divider/Divider.type.js +2 -0
- package/lib/module/components/Divider/Divider.type.js.map +1 -0
- package/lib/module/components/RadioButton/RadioButton.component.js +17 -0
- package/lib/module/components/RadioButton/RadioButton.component.js.map +1 -0
- package/lib/module/components/RadioButton/RadioButton.style.js +29 -0
- package/lib/module/components/RadioButton/RadioButton.style.js.map +1 -0
- package/lib/module/components/RadioButton/RadioButton.type.js +2 -0
- package/lib/module/components/RadioButton/RadioButton.type.js.map +1 -0
- package/lib/module/components/RadioInput/RadioInput.component.js +177 -0
- package/lib/module/components/RadioInput/RadioInput.component.js.map +1 -0
- package/lib/module/components/RadioInput/RadioInput.style.js +80 -0
- package/lib/module/components/RadioInput/RadioInput.style.js.map +1 -0
- package/lib/module/components/RadioInput/RadioInput.type.js +2 -0
- package/lib/module/components/RadioInput/RadioInput.type.js.map +1 -0
- package/lib/module/components/Snackbar/Snackbar.component.js +23 -0
- package/lib/module/components/Snackbar/Snackbar.component.js.map +1 -0
- package/lib/module/components/Snackbar/Snackbar.type.js +2 -0
- package/lib/module/components/Snackbar/Snackbar.type.js.map +1 -0
- package/lib/module/components/Snackbar/Snakbar.style.js +22 -0
- package/lib/module/components/Snackbar/Snakbar.style.js.map +1 -0
- package/lib/module/components/StepperCounter/StepperCounter.component.js +64 -0
- package/lib/module/components/StepperCounter/StepperCounter.component.js.map +1 -0
- package/lib/module/components/StepperCounter/StepperCounter.style.js +66 -0
- package/lib/module/components/StepperCounter/StepperCounter.style.js.map +1 -0
- package/lib/module/components/StepperCounter/StepperCounter.type.js +2 -0
- package/lib/module/components/StepperCounter/StepperCounter.type.js.map +1 -0
- package/lib/module/components/Tabs/Tabs.component.js +73 -0
- package/lib/module/components/Tabs/Tabs.component.js.map +1 -0
- package/lib/module/components/Tabs/Tabs.style.js +21 -0
- package/lib/module/components/Tabs/Tabs.style.js.map +1 -0
- package/lib/module/components/Tabs/Tabs.type.js +2 -0
- package/lib/module/components/Tabs/Tabs.type.js.map +1 -0
- package/lib/module/components/TextArea/TextArea.component.js +57 -0
- package/lib/module/components/TextArea/TextArea.component.js.map +1 -0
- package/lib/module/components/TextArea/TextArea.style.js +50 -0
- package/lib/module/components/TextArea/TextArea.style.js.map +1 -0
- package/lib/module/components/TextArea/TextArea.type.js +2 -0
- package/lib/module/components/TextArea/TextArea.type.js.map +1 -0
- package/lib/module/components/TextInput/TextInput.component.js +103 -0
- package/lib/module/components/TextInput/TextInput.component.js.map +1 -0
- package/lib/module/components/TextInput/TextInput.style.js +72 -0
- package/lib/module/components/TextInput/TextInput.style.js.map +1 -0
- package/lib/module/components/TextInput/TextInput.type.js +2 -0
- package/lib/module/components/TextInput/TextInput.type.js.map +1 -0
- package/lib/module/components/base/base.component.js +20 -0
- package/lib/module/components/base/base.component.js.map +1 -0
- package/lib/module/components/base/base.style.js +17 -0
- package/lib/module/components/base/base.style.js.map +1 -0
- package/lib/module/components/base/base.type.js +2 -0
- package/lib/module/components/base/base.type.js.map +1 -0
- package/lib/module/components/button/button.component.js +31 -0
- package/lib/module/components/button/button.component.js.map +1 -0
- package/lib/module/components/button/button.styles.js +56 -0
- package/lib/module/components/button/button.styles.js.map +1 -0
- package/lib/module/components/button/button.type.js +2 -0
- package/lib/module/components/button/button.type.js.map +1 -0
- package/lib/module/components/coachmark/coachmark.component.js +30 -0
- package/lib/module/components/coachmark/coachmark.component.js.map +1 -0
- package/lib/module/components/coachmark/coachmark.style.js +57 -0
- package/lib/module/components/coachmark/coachmark.style.js.map +1 -0
- package/lib/module/components/coachmark/coachmark.type.js +2 -0
- package/lib/module/components/coachmark/coachmark.type.js.map +1 -0
- package/lib/module/components/dot/dot.component.js +19 -0
- package/lib/module/components/dot/dot.component.js.map +1 -0
- package/lib/module/components/dot/dot.style.js +22 -0
- package/lib/module/components/dot/dot.style.js.map +1 -0
- package/lib/module/components/dot/dot.type.js +2 -0
- package/lib/module/components/dot/dot.type.js.map +1 -0
- package/lib/module/components/index.js +24 -0
- package/lib/module/components/index.js.map +1 -0
- package/lib/module/components/information-box/information-box.component.js +38 -0
- package/lib/module/components/information-box/information-box.component.js.map +1 -0
- package/lib/module/components/information-box/information-box.style.js +32 -0
- package/lib/module/components/information-box/information-box.style.js.map +1 -0
- package/lib/module/components/information-box/information-box.type.js +2 -0
- package/lib/module/components/information-box/information-box.type.js.map +1 -0
- package/lib/module/components/label/label.component.js +15 -0
- package/lib/module/components/label/label.component.js.map +1 -0
- package/lib/module/components/label/label.style.js +9 -0
- package/lib/module/components/label/label.style.js.map +1 -0
- package/lib/module/components/label/label.type.js +2 -0
- package/lib/module/components/label/label.type.js.map +1 -0
- package/lib/module/components/rounded-tab/rounded-tab.component.js +94 -0
- package/lib/module/components/rounded-tab/rounded-tab.component.js.map +1 -0
- package/lib/module/components/rounded-tab/rounded-tab.style.js +40 -0
- package/lib/module/components/rounded-tab/rounded-tab.style.js.map +1 -0
- package/lib/module/components/rounded-tab/rounded-tab.type.js +2 -0
- package/lib/module/components/rounded-tab/rounded-tab.type.js.map +1 -0
- package/lib/module/components/slider-indicator/slider-indicator.component.js +66 -0
- package/lib/module/components/slider-indicator/slider-indicator.component.js.map +1 -0
- package/lib/module/components/slider-indicator/slider-indicator.style.js +20 -0
- package/lib/module/components/slider-indicator/slider-indicator.style.js.map +1 -0
- package/lib/module/components/slider-indicator/slider-indicator.type.js +2 -0
- package/lib/module/components/slider-indicator/slider-indicator.type.js.map +1 -0
- package/lib/module/components/switch/switch.component.js +47 -0
- package/lib/module/components/switch/switch.component.js.map +1 -0
- package/lib/module/components/switch/switch.style.js +41 -0
- package/lib/module/components/switch/switch.style.js.map +1 -0
- package/lib/module/components/switch/switch.type.js +2 -0
- package/lib/module/components/switch/switch.type.js.map +1 -0
- package/lib/module/components/textlink/textlink.component.js +27 -0
- package/lib/module/components/textlink/textlink.component.js.map +1 -0
- package/lib/module/components/textlink/textlink.style.js +22 -0
- package/lib/module/components/textlink/textlink.style.js.map +1 -0
- package/lib/module/components/textlink/textlink.type.js +2 -0
- package/lib/module/components/textlink/textlink.type.js.map +1 -0
- package/lib/module/components/typography/typography.component.js +19 -0
- package/lib/module/components/typography/typography.component.js.map +1 -0
- package/lib/module/components/typography/typography.style.js +172 -0
- package/lib/module/components/typography/typography.style.js.map +1 -0
- package/lib/module/components/typography/typography.type.js +2 -0
- package/lib/module/components/typography/typography.type.js.map +1 -0
- package/lib/module/icons/actions/IconAddMinus.js +25 -0
- package/lib/module/icons/actions/IconAddMinus.js.map +1 -0
- package/lib/module/icons/actions/IconAddPlus.js +25 -0
- package/lib/module/icons/actions/IconAddPlus.js.map +1 -0
- package/lib/module/icons/actions/IconAddRemove.js +25 -0
- package/lib/module/icons/actions/IconAddRemove.js.map +1 -0
- package/lib/module/icons/actions/IconAttach.js +25 -0
- package/lib/module/icons/actions/IconAttach.js.map +1 -0
- package/lib/module/icons/actions/IconCamera.js +25 -0
- package/lib/module/icons/actions/IconCamera.js.map +1 -0
- package/lib/module/icons/actions/IconChat.js +25 -0
- package/lib/module/icons/actions/IconChat.js.map +1 -0
- package/lib/module/icons/actions/IconCopy.js +30 -0
- package/lib/module/icons/actions/IconCopy.js.map +1 -0
- package/lib/module/icons/actions/IconCustomerService.js +30 -0
- package/lib/module/icons/actions/IconCustomerService.js.map +1 -0
- package/lib/module/icons/actions/IconDownload.js +25 -0
- package/lib/module/icons/actions/IconDownload.js.map +1 -0
- package/lib/module/icons/actions/IconEdit.js +25 -0
- package/lib/module/icons/actions/IconEdit.js.map +1 -0
- package/lib/module/icons/actions/IconFilter.js +41 -0
- package/lib/module/icons/actions/IconFilter.js.map +1 -0
- package/lib/module/icons/actions/IconHeartEmpty.js +51 -0
- package/lib/module/icons/actions/IconHeartEmpty.js.map +1 -0
- package/lib/module/icons/actions/IconHeartFilled.js +23 -0
- package/lib/module/icons/actions/IconHeartFilled.js.map +1 -0
- package/lib/module/icons/actions/IconHeartOutline.js +25 -0
- package/lib/module/icons/actions/IconHeartOutline.js.map +1 -0
- package/lib/module/icons/actions/IconHelp.js +25 -0
- package/lib/module/icons/actions/IconHelp.js.map +1 -0
- package/lib/module/icons/actions/IconInfo.js +30 -0
- package/lib/module/icons/actions/IconInfo.js.map +1 -0
- package/lib/module/icons/actions/IconLike.js +23 -0
- package/lib/module/icons/actions/IconLike.js.map +1 -0
- package/lib/module/icons/actions/IconNotification.js +36 -0
- package/lib/module/icons/actions/IconNotification.js.map +1 -0
- package/lib/module/icons/actions/IconPerson.js +25 -0
- package/lib/module/icons/actions/IconPerson.js.map +1 -0
- package/lib/module/icons/actions/IconPicture.js +28 -0
- package/lib/module/icons/actions/IconPicture.js.map +1 -0
- package/lib/module/icons/actions/IconPictureAdd.js +41 -0
- package/lib/module/icons/actions/IconPictureAdd.js.map +1 -0
- package/lib/module/icons/actions/IconSearch.js +25 -0
- package/lib/module/icons/actions/IconSearch.js.map +1 -0
- package/lib/module/icons/actions/IconSetting.js +25 -0
- package/lib/module/icons/actions/IconSetting.js.map +1 -0
- package/lib/module/icons/actions/IconShare.js +25 -0
- package/lib/module/icons/actions/IconShare.js.map +1 -0
- package/lib/module/icons/actions/IconShoppingCart.js +25 -0
- package/lib/module/icons/actions/IconShoppingCart.js.map +1 -0
- package/lib/module/icons/actions/IconSort.js +25 -0
- package/lib/module/icons/actions/IconSort.js.map +1 -0
- package/lib/module/icons/actions/IconStarFilled.js +25 -0
- package/lib/module/icons/actions/IconStarFilled.js.map +1 -0
- package/lib/module/icons/actions/IconStarOutline.js +25 -0
- package/lib/module/icons/actions/IconStarOutline.js.map +1 -0
- package/lib/module/icons/actions/IconTrash.js +30 -0
- package/lib/module/icons/actions/IconTrash.js.map +1 -0
- package/lib/module/icons/actions/IconUpload.js +25 -0
- package/lib/module/icons/actions/IconUpload.js.map +1 -0
- package/lib/module/icons/index.js +87 -0
- package/lib/module/icons/index.js.map +1 -0
- package/lib/module/icons/misc/IconCalendar.js +25 -0
- package/lib/module/icons/misc/IconCalendar.js.map +1 -0
- package/lib/module/icons/misc/IconCash.js +25 -0
- package/lib/module/icons/misc/IconCash.js.map +1 -0
- package/lib/module/icons/misc/IconCategory.js +25 -0
- package/lib/module/icons/misc/IconCategory.js.map +1 -0
- package/lib/module/icons/misc/IconContract.js +28 -0
- package/lib/module/icons/misc/IconContract.js.map +1 -0
- package/lib/module/icons/misc/IconCreditCard.js +25 -0
- package/lib/module/icons/misc/IconCreditCard.js.map +1 -0
- package/lib/module/icons/misc/IconFlash.js +23 -0
- package/lib/module/icons/misc/IconFlash.js.map +1 -0
- package/lib/module/icons/misc/IconGroup.js +25 -0
- package/lib/module/icons/misc/IconGroup.js.map +1 -0
- package/lib/module/icons/misc/IconHistory.js +33 -0
- package/lib/module/icons/misc/IconHistory.js.map +1 -0
- package/lib/module/icons/misc/IconLocation.js +25 -0
- package/lib/module/icons/misc/IconLocation.js.map +1 -0
- package/lib/module/icons/misc/IconLock.js +30 -0
- package/lib/module/icons/misc/IconLock.js.map +1 -0
- package/lib/module/icons/misc/IconMoney.js +34 -0
- package/lib/module/icons/misc/IconMoney.js.map +1 -0
- package/lib/module/icons/misc/IconMyLocation.js +25 -0
- package/lib/module/icons/misc/IconMyLocation.js.map +1 -0
- package/lib/module/icons/misc/IconOfficial.js +26 -0
- package/lib/module/icons/misc/IconOfficial.js.map +1 -0
- package/lib/module/icons/misc/IconPromo.js +25 -0
- package/lib/module/icons/misc/IconPromo.js.map +1 -0
- package/lib/module/icons/misc/IconProtection.js +34 -0
- package/lib/module/icons/misc/IconProtection.js.map +1 -0
- package/lib/module/icons/misc/IconStore.js +31 -0
- package/lib/module/icons/misc/IconStore.js.map +1 -0
- package/lib/module/icons/misc/IconTick.js +25 -0
- package/lib/module/icons/misc/IconTick.js.map +1 -0
- package/lib/module/icons/misc/IconTicket.js +25 -0
- package/lib/module/icons/misc/IconTicket.js.map +1 -0
- package/lib/module/icons/misc/IconTime.js +30 -0
- package/lib/module/icons/misc/IconTime.js.map +1 -0
- package/lib/module/icons/misc/IconVoucher.js +30 -0
- package/lib/module/icons/misc/IconVoucher.js.map +1 -0
- package/lib/module/icons/navigations/IconArrowDown.js +25 -0
- package/lib/module/icons/navigations/IconArrowDown.js.map +1 -0
- package/lib/module/icons/navigations/IconArrowLeft.js +25 -0
- package/lib/module/icons/navigations/IconArrowLeft.js.map +1 -0
- package/lib/module/icons/navigations/IconArrowRight.js +25 -0
- package/lib/module/icons/navigations/IconArrowRight.js.map +1 -0
- package/lib/module/icons/navigations/IconArrowUp.js +25 -0
- package/lib/module/icons/navigations/IconArrowUp.js.map +1 -0
- package/lib/module/icons/navigations/IconChevronDown.js +25 -0
- package/lib/module/icons/navigations/IconChevronDown.js.map +1 -0
- package/lib/module/icons/navigations/IconChevronLeft.js +25 -0
- package/lib/module/icons/navigations/IconChevronLeft.js.map +1 -0
- package/lib/module/icons/navigations/IconChevronRight.js +25 -0
- package/lib/module/icons/navigations/IconChevronRight.js.map +1 -0
- package/lib/module/icons/navigations/IconChevronUp.js +25 -0
- package/lib/module/icons/navigations/IconChevronUp.js.map +1 -0
- package/lib/module/icons/navs/IconNavAdiraku.js +40 -0
- package/lib/module/icons/navs/IconNavAdiraku.js.map +1 -0
- package/lib/module/icons/navs/IconNavDocument.js +32 -0
- package/lib/module/icons/navs/IconNavDocument.js.map +1 -0
- package/lib/module/icons/navs/IconNavHome.js +28 -0
- package/lib/module/icons/navs/IconNavHome.js.map +1 -0
- package/lib/module/icons/navs/IconNavPhone.js +25 -0
- package/lib/module/icons/navs/IconNavPhone.js.map +1 -0
- package/lib/module/icons/navs/IconNavProfile.js +25 -0
- package/lib/module/icons/navs/IconNavProfile.js.map +1 -0
- package/lib/module/icons/vehicles/IconBikeCaferacer.js +26 -0
- package/lib/module/icons/vehicles/IconBikeCaferacer.js.map +1 -0
- package/lib/module/icons/vehicles/IconBikeCooper.js +29 -0
- package/lib/module/icons/vehicles/IconBikeCooper.js.map +1 -0
- package/lib/module/icons/vehicles/IconBikeCruiser.js +26 -0
- package/lib/module/icons/vehicles/IconBikeCruiser.js.map +1 -0
- package/lib/module/icons/vehicles/IconBikeDualsport.js +26 -0
- package/lib/module/icons/vehicles/IconBikeDualsport.js.map +1 -0
- package/lib/module/icons/vehicles/IconBikeMopad.js +32 -0
- package/lib/module/icons/vehicles/IconBikeMopad.js.map +1 -0
- package/lib/module/icons/vehicles/IconBikeRoadster.js +29 -0
- package/lib/module/icons/vehicles/IconBikeRoadster.js.map +1 -0
- package/lib/module/icons/vehicles/IconBikeScooter.js +26 -0
- package/lib/module/icons/vehicles/IconBikeScooter.js.map +1 -0
- package/lib/module/icons/vehicles/IconBikeScrambler.js +26 -0
- package/lib/module/icons/vehicles/IconBikeScrambler.js.map +1 -0
- package/lib/module/icons/vehicles/IconBikeSportbike.js +26 -0
- package/lib/module/icons/vehicles/IconBikeSportbike.js.map +1 -0
- package/lib/module/icons/vehicles/IconBikeSportstouring.js +26 -0
- package/lib/module/icons/vehicles/IconBikeSportstouring.js.map +1 -0
- package/lib/module/icons/vehicles/IconBikeTouring.js +23 -0
- package/lib/module/icons/vehicles/IconBikeTouring.js.map +1 -0
- package/lib/module/icons/vehicles/IconBikeTrialbike.js +26 -0
- package/lib/module/icons/vehicles/IconBikeTrialbike.js.map +1 -0
- package/lib/module/icons/vehicles/IconCarHatchback.js +25 -0
- package/lib/module/icons/vehicles/IconCarHatchback.js.map +1 -0
- package/lib/module/icons/vehicles/IconCarJeep.js +25 -0
- package/lib/module/icons/vehicles/IconCarJeep.js.map +1 -0
- package/lib/module/icons/vehicles/IconCarMiniTruck.js +25 -0
- package/lib/module/icons/vehicles/IconCarMiniTruck.js.map +1 -0
- package/lib/module/icons/vehicles/IconCarMinivan.js +25 -0
- package/lib/module/icons/vehicles/IconCarMinivan.js.map +1 -0
- package/lib/module/icons/vehicles/IconCarMuv.js +25 -0
- package/lib/module/icons/vehicles/IconCarMuv.js.map +1 -0
- package/lib/module/icons/vehicles/IconCarPickup.js +25 -0
- package/lib/module/icons/vehicles/IconCarPickup.js.map +1 -0
- package/lib/module/icons/vehicles/IconCarSportCar.js +25 -0
- package/lib/module/icons/vehicles/IconCarSportCar.js.map +1 -0
- package/lib/module/icons/vehicles/IconCarSuperCar.js +25 -0
- package/lib/module/icons/vehicles/IconCarSuperCar.js.map +1 -0
- package/lib/module/icons/vehicles/IconCarSuv.js +25 -0
- package/lib/module/icons/vehicles/IconCarSuv.js.map +1 -0
- package/lib/module/icons/vehicles/IconCarVan.js +25 -0
- package/lib/module/icons/vehicles/IconCarVan.js.map +1 -0
- package/lib/module/icons/vehicles/IconCarWagon.js +25 -0
- package/lib/module/icons/vehicles/IconCarWagon.js.map +1 -0
- package/lib/module/index.js +3 -0
- package/lib/module/index.js.map +1 -0
- package/lib/module/themes/colors.js +136 -0
- package/lib/module/themes/colors.js.map +1 -0
- package/lib/module/themes/index.js +5 -0
- package/lib/module/themes/index.js.map +1 -0
- package/lib/module/themes/radius.js +12 -0
- package/lib/module/themes/radius.js.map +1 -0
- package/lib/module/themes/shadow.js +39 -0
- package/lib/module/themes/shadow.js.map +1 -0
- package/lib/module/themes/spacing.js +16 -0
- package/lib/module/themes/spacing.js.map +1 -0
- package/lib/module/types.js +2 -0
- package/lib/module/types.js.map +1 -0
- package/lib/typescript/components/Appbar/Appbar.component.d.ts +5 -0
- package/lib/typescript/components/Appbar/Appbar.component.d.ts.map +1 -0
- package/lib/typescript/components/Appbar/Appbar.style.d.ts +11 -0
- package/lib/typescript/components/Appbar/Appbar.style.d.ts.map +1 -0
- package/lib/typescript/components/Appbar/Appbar.type.d.ts +15 -0
- package/lib/typescript/components/Appbar/Appbar.type.d.ts.map +1 -0
- package/lib/typescript/components/BottomSheet/BottomSheet.component.d.ts +10 -0
- package/lib/typescript/components/BottomSheet/BottomSheet.component.d.ts.map +1 -0
- package/lib/typescript/components/BottomSheet/BottomSheet.style.d.ts +20 -0
- package/lib/typescript/components/BottomSheet/BottomSheet.style.d.ts.map +1 -0
- package/lib/typescript/components/BottomSheet/BottomSheet.type.d.ts +19 -0
- package/lib/typescript/components/BottomSheet/BottomSheet.type.d.ts.map +1 -0
- package/lib/typescript/components/CheckBoxInput/CheckBoxInput.component.d.ts +5 -0
- package/lib/typescript/components/CheckBoxInput/CheckBoxInput.component.d.ts.map +1 -0
- package/lib/typescript/components/CheckBoxInput/CheckBoxInput.style.d.ts +18 -0
- package/lib/typescript/components/CheckBoxInput/CheckBoxInput.style.d.ts.map +1 -0
- package/lib/typescript/components/CheckBoxInput/CheckBoxInput.type.d.ts +43 -0
- package/lib/typescript/components/CheckBoxInput/CheckBoxInput.type.d.ts.map +1 -0
- package/lib/typescript/components/Checkbox/Checkbox.component.d.ts +5 -0
- package/lib/typescript/components/Checkbox/Checkbox.component.d.ts.map +1 -0
- package/lib/typescript/components/Checkbox/Checkbox.style.d.ts +12 -0
- package/lib/typescript/components/Checkbox/Checkbox.style.d.ts.map +1 -0
- package/lib/typescript/components/Checkbox/Checkbox.type.d.ts +5 -0
- package/lib/typescript/components/Checkbox/Checkbox.type.d.ts.map +1 -0
- package/lib/typescript/components/Divider/Divider.component.d.ts +5 -0
- package/lib/typescript/components/Divider/Divider.component.d.ts.map +1 -0
- package/lib/typescript/components/Divider/Divider.style.d.ts +10 -0
- package/lib/typescript/components/Divider/Divider.style.d.ts.map +1 -0
- package/lib/typescript/components/Divider/Divider.type.d.ts +16 -0
- package/lib/typescript/components/Divider/Divider.type.d.ts.map +1 -0
- package/lib/typescript/components/RadioButton/RadioButton.component.d.ts +5 -0
- package/lib/typescript/components/RadioButton/RadioButton.component.d.ts.map +1 -0
- package/lib/typescript/components/RadioButton/RadioButton.style.d.ts +11 -0
- package/lib/typescript/components/RadioButton/RadioButton.style.d.ts.map +1 -0
- package/lib/typescript/components/RadioButton/RadioButton.type.d.ts +5 -0
- package/lib/typescript/components/RadioButton/RadioButton.type.d.ts.map +1 -0
- package/lib/typescript/components/RadioInput/RadioInput.component.d.ts +5 -0
- package/lib/typescript/components/RadioInput/RadioInput.component.d.ts.map +1 -0
- package/lib/typescript/components/RadioInput/RadioInput.style.d.ts +18 -0
- package/lib/typescript/components/RadioInput/RadioInput.style.d.ts.map +1 -0
- package/lib/typescript/components/RadioInput/RadioInput.type.d.ts +42 -0
- package/lib/typescript/components/RadioInput/RadioInput.type.d.ts.map +1 -0
- package/lib/typescript/components/Snackbar/Snackbar.component.d.ts +5 -0
- package/lib/typescript/components/Snackbar/Snackbar.component.d.ts.map +1 -0
- package/lib/typescript/components/Snackbar/Snackbar.type.d.ts +8 -0
- package/lib/typescript/components/Snackbar/Snackbar.type.d.ts.map +1 -0
- package/lib/typescript/components/Snackbar/Snakbar.style.d.ts +9 -0
- package/lib/typescript/components/Snackbar/Snakbar.style.d.ts.map +1 -0
- package/lib/typescript/components/StepperCounter/StepperCounter.component.d.ts +5 -0
- package/lib/typescript/components/StepperCounter/StepperCounter.component.d.ts.map +1 -0
- package/lib/typescript/components/StepperCounter/StepperCounter.style.d.ts +19 -0
- package/lib/typescript/components/StepperCounter/StepperCounter.style.d.ts.map +1 -0
- package/lib/typescript/components/StepperCounter/StepperCounter.type.d.ts +16 -0
- package/lib/typescript/components/StepperCounter/StepperCounter.type.d.ts.map +1 -0
- package/lib/typescript/components/Tabs/Tabs.component.d.ts +5 -0
- package/lib/typescript/components/Tabs/Tabs.component.d.ts.map +1 -0
- package/lib/typescript/components/Tabs/Tabs.style.d.ts +9 -0
- package/lib/typescript/components/Tabs/Tabs.style.d.ts.map +1 -0
- package/lib/typescript/components/Tabs/Tabs.type.d.ts +16 -0
- package/lib/typescript/components/Tabs/Tabs.type.d.ts.map +1 -0
- package/lib/typescript/components/TextArea/TextArea.component.d.ts +5 -0
- package/lib/typescript/components/TextArea/TextArea.component.d.ts.map +1 -0
- package/lib/typescript/components/TextArea/TextArea.style.d.ts +16 -0
- package/lib/typescript/components/TextArea/TextArea.style.d.ts.map +1 -0
- package/lib/typescript/components/TextArea/TextArea.type.d.ts +29 -0
- package/lib/typescript/components/TextArea/TextArea.type.d.ts.map +1 -0
- package/lib/typescript/components/TextInput/TextInput.component.d.ts +5 -0
- package/lib/typescript/components/TextInput/TextInput.component.d.ts.map +1 -0
- package/lib/typescript/components/TextInput/TextInput.style.d.ts +17 -0
- package/lib/typescript/components/TextInput/TextInput.style.d.ts.map +1 -0
- package/lib/typescript/components/TextInput/TextInput.type.d.ts +33 -0
- package/lib/typescript/components/TextInput/TextInput.type.d.ts.map +1 -0
- package/lib/typescript/components/base/base.component.d.ts +5 -0
- package/lib/typescript/components/base/base.component.d.ts.map +1 -0
- package/lib/typescript/components/base/base.style.d.ts +10 -0
- package/lib/typescript/components/base/base.style.d.ts.map +1 -0
- package/lib/typescript/components/base/base.type.d.ts +15 -0
- package/lib/typescript/components/base/base.type.d.ts.map +1 -0
- package/lib/typescript/components/button/button.component.d.ts +5 -0
- package/lib/typescript/components/button/button.component.d.ts.map +1 -0
- package/lib/typescript/components/button/button.styles.d.ts +10 -0
- package/lib/typescript/components/button/button.styles.d.ts.map +1 -0
- package/lib/typescript/components/button/button.type.d.ts +29 -0
- package/lib/typescript/components/button/button.type.d.ts.map +1 -0
- package/lib/typescript/components/coachmark/coachmark.component.d.ts +4 -0
- package/lib/typescript/components/coachmark/coachmark.component.d.ts.map +1 -0
- package/lib/typescript/components/coachmark/coachmark.style.d.ts +13 -0
- package/lib/typescript/components/coachmark/coachmark.style.d.ts.map +1 -0
- package/lib/typescript/components/coachmark/coachmark.type.d.ts +32 -0
- package/lib/typescript/components/coachmark/coachmark.type.d.ts.map +1 -0
- package/lib/typescript/components/dot/dot.component.d.ts +5 -0
- package/lib/typescript/components/dot/dot.component.d.ts.map +1 -0
- package/lib/typescript/components/dot/dot.style.d.ts +9 -0
- package/lib/typescript/components/dot/dot.style.d.ts.map +1 -0
- package/lib/typescript/components/dot/dot.type.d.ts +6 -0
- package/lib/typescript/components/dot/dot.type.d.ts.map +1 -0
- package/lib/typescript/components/index.d.ts +34 -0
- package/lib/typescript/components/index.d.ts.map +1 -0
- package/lib/typescript/components/information-box/information-box.component.d.ts +5 -0
- package/lib/typescript/components/information-box/information-box.component.d.ts.map +1 -0
- package/lib/typescript/components/information-box/information-box.style.d.ts +12 -0
- package/lib/typescript/components/information-box/information-box.style.d.ts.map +1 -0
- package/lib/typescript/components/information-box/information-box.type.d.ts +14 -0
- package/lib/typescript/components/information-box/information-box.type.d.ts.map +1 -0
- package/lib/typescript/components/label/label.component.d.ts +5 -0
- package/lib/typescript/components/label/label.component.d.ts.map +1 -0
- package/lib/typescript/components/label/label.style.d.ts +7 -0
- package/lib/typescript/components/label/label.style.d.ts.map +1 -0
- package/lib/typescript/components/label/label.type.d.ts +14 -0
- package/lib/typescript/components/label/label.type.d.ts.map +1 -0
- package/lib/typescript/components/rounded-tab/rounded-tab.component.d.ts +5 -0
- package/lib/typescript/components/rounded-tab/rounded-tab.component.d.ts.map +1 -0
- package/lib/typescript/components/rounded-tab/rounded-tab.style.d.ts +17 -0
- package/lib/typescript/components/rounded-tab/rounded-tab.style.d.ts.map +1 -0
- package/lib/typescript/components/rounded-tab/rounded-tab.type.d.ts +20 -0
- package/lib/typescript/components/rounded-tab/rounded-tab.type.d.ts.map +1 -0
- package/lib/typescript/components/slider-indicator/slider-indicator.component.d.ts +5 -0
- package/lib/typescript/components/slider-indicator/slider-indicator.component.d.ts.map +1 -0
- package/lib/typescript/components/slider-indicator/slider-indicator.style.d.ts +9 -0
- package/lib/typescript/components/slider-indicator/slider-indicator.style.d.ts.map +1 -0
- package/lib/typescript/components/slider-indicator/slider-indicator.type.d.ts +21 -0
- package/lib/typescript/components/slider-indicator/slider-indicator.type.d.ts.map +1 -0
- package/lib/typescript/components/switch/switch.component.d.ts +5 -0
- package/lib/typescript/components/switch/switch.component.d.ts.map +1 -0
- package/lib/typescript/components/switch/switch.style.d.ts +10 -0
- package/lib/typescript/components/switch/switch.style.d.ts.map +1 -0
- package/lib/typescript/components/switch/switch.type.d.ts +6 -0
- package/lib/typescript/components/switch/switch.type.d.ts.map +1 -0
- package/lib/typescript/components/textlink/textlink.component.d.ts +4 -0
- package/lib/typescript/components/textlink/textlink.component.d.ts.map +1 -0
- package/lib/typescript/components/textlink/textlink.style.d.ts +11 -0
- package/lib/typescript/components/textlink/textlink.style.d.ts.map +1 -0
- package/lib/typescript/components/textlink/textlink.type.d.ts +26 -0
- package/lib/typescript/components/textlink/textlink.type.d.ts.map +1 -0
- package/lib/typescript/components/typography/typography.component.d.ts +5 -0
- package/lib/typescript/components/typography/typography.component.d.ts.map +1 -0
- package/lib/typescript/components/typography/typography.style.d.ts +34 -0
- package/lib/typescript/components/typography/typography.style.d.ts.map +1 -0
- package/lib/typescript/components/typography/typography.type.d.ts +25 -0
- package/lib/typescript/components/typography/typography.type.d.ts.map +1 -0
- package/lib/typescript/icons/actions/IconAddMinus.d.ts +4 -0
- package/lib/typescript/icons/actions/IconAddMinus.d.ts.map +1 -0
- package/lib/typescript/icons/actions/IconAddPlus.d.ts +4 -0
- package/lib/typescript/icons/actions/IconAddPlus.d.ts.map +1 -0
- package/lib/typescript/icons/actions/IconAddRemove.d.ts +4 -0
- package/lib/typescript/icons/actions/IconAddRemove.d.ts.map +1 -0
- package/lib/typescript/icons/actions/IconAttach.d.ts +4 -0
- package/lib/typescript/icons/actions/IconAttach.d.ts.map +1 -0
- package/lib/typescript/icons/actions/IconCamera.d.ts +4 -0
- package/lib/typescript/icons/actions/IconCamera.d.ts.map +1 -0
- package/lib/typescript/icons/actions/IconChat.d.ts +4 -0
- package/lib/typescript/icons/actions/IconChat.d.ts.map +1 -0
- package/lib/typescript/icons/actions/IconCopy.d.ts +4 -0
- package/lib/typescript/icons/actions/IconCopy.d.ts.map +1 -0
- package/lib/typescript/icons/actions/IconCustomerService.d.ts +4 -0
- package/lib/typescript/icons/actions/IconCustomerService.d.ts.map +1 -0
- package/lib/typescript/icons/actions/IconDownload.d.ts +4 -0
- package/lib/typescript/icons/actions/IconDownload.d.ts.map +1 -0
- package/lib/typescript/icons/actions/IconEdit.d.ts +4 -0
- package/lib/typescript/icons/actions/IconEdit.d.ts.map +1 -0
- package/lib/typescript/icons/actions/IconFilter.d.ts +4 -0
- package/lib/typescript/icons/actions/IconFilter.d.ts.map +1 -0
- package/lib/typescript/icons/actions/IconHeartEmpty.d.ts +6 -0
- package/lib/typescript/icons/actions/IconHeartEmpty.d.ts.map +1 -0
- package/lib/typescript/icons/actions/IconHeartFilled.d.ts +4 -0
- package/lib/typescript/icons/actions/IconHeartFilled.d.ts.map +1 -0
- package/lib/typescript/icons/actions/IconHeartOutline.d.ts +4 -0
- package/lib/typescript/icons/actions/IconHeartOutline.d.ts.map +1 -0
- package/lib/typescript/icons/actions/IconHelp.d.ts +4 -0
- package/lib/typescript/icons/actions/IconHelp.d.ts.map +1 -0
- package/lib/typescript/icons/actions/IconInfo.d.ts +4 -0
- package/lib/typescript/icons/actions/IconInfo.d.ts.map +1 -0
- package/lib/typescript/icons/actions/IconLike.d.ts +4 -0
- package/lib/typescript/icons/actions/IconLike.d.ts.map +1 -0
- package/lib/typescript/icons/actions/IconNotification.d.ts +4 -0
- package/lib/typescript/icons/actions/IconNotification.d.ts.map +1 -0
- package/lib/typescript/icons/actions/IconPerson.d.ts +4 -0
- package/lib/typescript/icons/actions/IconPerson.d.ts.map +1 -0
- package/lib/typescript/icons/actions/IconPicture.d.ts +4 -0
- package/lib/typescript/icons/actions/IconPicture.d.ts.map +1 -0
- package/lib/typescript/icons/actions/IconPictureAdd.d.ts +4 -0
- package/lib/typescript/icons/actions/IconPictureAdd.d.ts.map +1 -0
- package/lib/typescript/icons/actions/IconSearch.d.ts +4 -0
- package/lib/typescript/icons/actions/IconSearch.d.ts.map +1 -0
- package/lib/typescript/icons/actions/IconSetting.d.ts +4 -0
- package/lib/typescript/icons/actions/IconSetting.d.ts.map +1 -0
- package/lib/typescript/icons/actions/IconShare.d.ts +4 -0
- package/lib/typescript/icons/actions/IconShare.d.ts.map +1 -0
- package/lib/typescript/icons/actions/IconShoppingCart.d.ts +4 -0
- package/lib/typescript/icons/actions/IconShoppingCart.d.ts.map +1 -0
- package/lib/typescript/icons/actions/IconSort.d.ts +4 -0
- package/lib/typescript/icons/actions/IconSort.d.ts.map +1 -0
- package/lib/typescript/icons/actions/IconStarFilled.d.ts +4 -0
- package/lib/typescript/icons/actions/IconStarFilled.d.ts.map +1 -0
- package/lib/typescript/icons/actions/IconStarOutline.d.ts +4 -0
- package/lib/typescript/icons/actions/IconStarOutline.d.ts.map +1 -0
- package/lib/typescript/icons/actions/IconTrash.d.ts +4 -0
- package/lib/typescript/icons/actions/IconTrash.d.ts.map +1 -0
- package/lib/typescript/icons/actions/IconUpload.d.ts +4 -0
- package/lib/typescript/icons/actions/IconUpload.d.ts.map +1 -0
- package/lib/typescript/icons/index.d.ts +87 -0
- package/lib/typescript/icons/index.d.ts.map +1 -0
- package/lib/typescript/icons/misc/IconCalendar.d.ts +4 -0
- package/lib/typescript/icons/misc/IconCalendar.d.ts.map +1 -0
- package/lib/typescript/icons/misc/IconCash.d.ts +4 -0
- package/lib/typescript/icons/misc/IconCash.d.ts.map +1 -0
- package/lib/typescript/icons/misc/IconCategory.d.ts +4 -0
- package/lib/typescript/icons/misc/IconCategory.d.ts.map +1 -0
- package/lib/typescript/icons/misc/IconContract.d.ts +4 -0
- package/lib/typescript/icons/misc/IconContract.d.ts.map +1 -0
- package/lib/typescript/icons/misc/IconCreditCard.d.ts +4 -0
- package/lib/typescript/icons/misc/IconCreditCard.d.ts.map +1 -0
- package/lib/typescript/icons/misc/IconFlash.d.ts +4 -0
- package/lib/typescript/icons/misc/IconFlash.d.ts.map +1 -0
- package/lib/typescript/icons/misc/IconGroup.d.ts +4 -0
- package/lib/typescript/icons/misc/IconGroup.d.ts.map +1 -0
- package/lib/typescript/icons/misc/IconHistory.d.ts +4 -0
- package/lib/typescript/icons/misc/IconHistory.d.ts.map +1 -0
- package/lib/typescript/icons/misc/IconLocation.d.ts +4 -0
- package/lib/typescript/icons/misc/IconLocation.d.ts.map +1 -0
- package/lib/typescript/icons/misc/IconLock.d.ts +4 -0
- package/lib/typescript/icons/misc/IconLock.d.ts.map +1 -0
- package/lib/typescript/icons/misc/IconMoney.d.ts +4 -0
- package/lib/typescript/icons/misc/IconMoney.d.ts.map +1 -0
- package/lib/typescript/icons/misc/IconMyLocation.d.ts +4 -0
- package/lib/typescript/icons/misc/IconMyLocation.d.ts.map +1 -0
- package/lib/typescript/icons/misc/IconOfficial.d.ts +4 -0
- package/lib/typescript/icons/misc/IconOfficial.d.ts.map +1 -0
- package/lib/typescript/icons/misc/IconPromo.d.ts +4 -0
- package/lib/typescript/icons/misc/IconPromo.d.ts.map +1 -0
- package/lib/typescript/icons/misc/IconProtection.d.ts +4 -0
- package/lib/typescript/icons/misc/IconProtection.d.ts.map +1 -0
- package/lib/typescript/icons/misc/IconStore.d.ts +4 -0
- package/lib/typescript/icons/misc/IconStore.d.ts.map +1 -0
- package/lib/typescript/icons/misc/IconTick.d.ts +4 -0
- package/lib/typescript/icons/misc/IconTick.d.ts.map +1 -0
- package/lib/typescript/icons/misc/IconTicket.d.ts +4 -0
- package/lib/typescript/icons/misc/IconTicket.d.ts.map +1 -0
- package/lib/typescript/icons/misc/IconTime.d.ts +4 -0
- package/lib/typescript/icons/misc/IconTime.d.ts.map +1 -0
- package/lib/typescript/icons/misc/IconVoucher.d.ts +4 -0
- package/lib/typescript/icons/misc/IconVoucher.d.ts.map +1 -0
- package/lib/typescript/icons/navigations/IconArrowDown.d.ts +4 -0
- package/lib/typescript/icons/navigations/IconArrowDown.d.ts.map +1 -0
- package/lib/typescript/icons/navigations/IconArrowLeft.d.ts +4 -0
- package/lib/typescript/icons/navigations/IconArrowLeft.d.ts.map +1 -0
- package/lib/typescript/icons/navigations/IconArrowRight.d.ts +4 -0
- package/lib/typescript/icons/navigations/IconArrowRight.d.ts.map +1 -0
- package/lib/typescript/icons/navigations/IconArrowUp.d.ts +4 -0
- package/lib/typescript/icons/navigations/IconArrowUp.d.ts.map +1 -0
- package/lib/typescript/icons/navigations/IconChevronDown.d.ts +4 -0
- package/lib/typescript/icons/navigations/IconChevronDown.d.ts.map +1 -0
- package/lib/typescript/icons/navigations/IconChevronLeft.d.ts +4 -0
- package/lib/typescript/icons/navigations/IconChevronLeft.d.ts.map +1 -0
- package/lib/typescript/icons/navigations/IconChevronRight.d.ts +4 -0
- package/lib/typescript/icons/navigations/IconChevronRight.d.ts.map +1 -0
- package/lib/typescript/icons/navigations/IconChevronUp.d.ts +4 -0
- package/lib/typescript/icons/navigations/IconChevronUp.d.ts.map +1 -0
- package/lib/typescript/icons/navs/IconNavAdiraku.d.ts +6 -0
- package/lib/typescript/icons/navs/IconNavAdiraku.d.ts.map +1 -0
- package/lib/typescript/icons/navs/IconNavDocument.d.ts +6 -0
- package/lib/typescript/icons/navs/IconNavDocument.d.ts.map +1 -0
- package/lib/typescript/icons/navs/IconNavHome.d.ts +4 -0
- package/lib/typescript/icons/navs/IconNavHome.d.ts.map +1 -0
- package/lib/typescript/icons/navs/IconNavPhone.d.ts +4 -0
- package/lib/typescript/icons/navs/IconNavPhone.d.ts.map +1 -0
- package/lib/typescript/icons/navs/IconNavProfile.d.ts +4 -0
- package/lib/typescript/icons/navs/IconNavProfile.d.ts.map +1 -0
- package/lib/typescript/icons/vehicles/IconBikeCaferacer.d.ts +4 -0
- package/lib/typescript/icons/vehicles/IconBikeCaferacer.d.ts.map +1 -0
- package/lib/typescript/icons/vehicles/IconBikeCooper.d.ts +4 -0
- package/lib/typescript/icons/vehicles/IconBikeCooper.d.ts.map +1 -0
- package/lib/typescript/icons/vehicles/IconBikeCruiser.d.ts +4 -0
- package/lib/typescript/icons/vehicles/IconBikeCruiser.d.ts.map +1 -0
- package/lib/typescript/icons/vehicles/IconBikeDualsport.d.ts +4 -0
- package/lib/typescript/icons/vehicles/IconBikeDualsport.d.ts.map +1 -0
- package/lib/typescript/icons/vehicles/IconBikeMopad.d.ts +4 -0
- package/lib/typescript/icons/vehicles/IconBikeMopad.d.ts.map +1 -0
- package/lib/typescript/icons/vehicles/IconBikeRoadster.d.ts +4 -0
- package/lib/typescript/icons/vehicles/IconBikeRoadster.d.ts.map +1 -0
- package/lib/typescript/icons/vehicles/IconBikeScooter.d.ts +4 -0
- package/lib/typescript/icons/vehicles/IconBikeScooter.d.ts.map +1 -0
- package/lib/typescript/icons/vehicles/IconBikeScrambler.d.ts +4 -0
- package/lib/typescript/icons/vehicles/IconBikeScrambler.d.ts.map +1 -0
- package/lib/typescript/icons/vehicles/IconBikeSportbike.d.ts +4 -0
- package/lib/typescript/icons/vehicles/IconBikeSportbike.d.ts.map +1 -0
- package/lib/typescript/icons/vehicles/IconBikeSportstouring.d.ts +4 -0
- package/lib/typescript/icons/vehicles/IconBikeSportstouring.d.ts.map +1 -0
- package/lib/typescript/icons/vehicles/IconBikeTouring.d.ts +4 -0
- package/lib/typescript/icons/vehicles/IconBikeTouring.d.ts.map +1 -0
- package/lib/typescript/icons/vehicles/IconBikeTrialbike.d.ts +4 -0
- package/lib/typescript/icons/vehicles/IconBikeTrialbike.d.ts.map +1 -0
- package/lib/typescript/icons/vehicles/IconCarHatchback.d.ts +4 -0
- package/lib/typescript/icons/vehicles/IconCarHatchback.d.ts.map +1 -0
- package/lib/typescript/icons/vehicles/IconCarJeep.d.ts +4 -0
- package/lib/typescript/icons/vehicles/IconCarJeep.d.ts.map +1 -0
- package/lib/typescript/icons/vehicles/IconCarMiniTruck.d.ts +4 -0
- package/lib/typescript/icons/vehicles/IconCarMiniTruck.d.ts.map +1 -0
- package/lib/typescript/icons/vehicles/IconCarMinivan.d.ts +4 -0
- package/lib/typescript/icons/vehicles/IconCarMinivan.d.ts.map +1 -0
- package/lib/typescript/icons/vehicles/IconCarMuv.d.ts +4 -0
- package/lib/typescript/icons/vehicles/IconCarMuv.d.ts.map +1 -0
- package/lib/typescript/icons/vehicles/IconCarPickup.d.ts +4 -0
- package/lib/typescript/icons/vehicles/IconCarPickup.d.ts.map +1 -0
- package/lib/typescript/icons/vehicles/IconCarSportCar.d.ts +4 -0
- package/lib/typescript/icons/vehicles/IconCarSportCar.d.ts.map +1 -0
- package/lib/typescript/icons/vehicles/IconCarSuperCar.d.ts +4 -0
- package/lib/typescript/icons/vehicles/IconCarSuperCar.d.ts.map +1 -0
- package/lib/typescript/icons/vehicles/IconCarSuv.d.ts +4 -0
- package/lib/typescript/icons/vehicles/IconCarSuv.d.ts.map +1 -0
- package/lib/typescript/icons/vehicles/IconCarVan.d.ts +4 -0
- package/lib/typescript/icons/vehicles/IconCarVan.d.ts.map +1 -0
- package/lib/typescript/icons/vehicles/IconCarWagon.d.ts +4 -0
- package/lib/typescript/icons/vehicles/IconCarWagon.d.ts.map +1 -0
- package/lib/typescript/index.d.ts +3 -0
- package/lib/typescript/index.d.ts.map +1 -0
- package/lib/typescript/themes/colors.d.ts +30 -0
- package/lib/typescript/themes/colors.d.ts.map +1 -0
- package/lib/typescript/themes/index.d.ts +5 -0
- package/lib/typescript/themes/index.d.ts.map +1 -0
- package/lib/typescript/themes/radius.d.ts +12 -0
- package/lib/typescript/themes/radius.d.ts.map +1 -0
- package/lib/typescript/themes/shadow.d.ts +6 -0
- package/lib/typescript/themes/shadow.d.ts.map +1 -0
- package/lib/typescript/themes/spacing.d.ts +16 -0
- package/lib/typescript/themes/spacing.d.ts.map +1 -0
- package/lib/typescript/types.d.ts +28 -0
- package/lib/typescript/types.d.ts.map +1 -0
- package/package.json +129 -0
- package/react-native-ui.podspec +36 -0
- package/src/components/Appbar/Appbar.component.tsx +65 -0
- package/src/components/Appbar/Appbar.style.tsx +46 -0
- package/src/components/Appbar/Appbar.type.ts +21 -0
- package/src/components/BottomSheet/BottomSheet.component.tsx +222 -0
- package/src/components/BottomSheet/BottomSheet.style.tsx +88 -0
- package/src/components/BottomSheet/BottomSheet.type.ts +30 -0
- package/src/components/CheckBoxInput/CheckBoxInput.component.tsx +245 -0
- package/src/components/CheckBoxInput/CheckBoxInput.style.tsx +106 -0
- package/src/components/CheckBoxInput/CheckBoxInput.type.ts +56 -0
- package/src/components/Checkbox/Checkbox.component.tsx +36 -0
- package/src/components/Checkbox/Checkbox.style.tsx +39 -0
- package/src/components/Checkbox/Checkbox.type.ts +5 -0
- package/src/components/Divider/Divider.component.tsx +23 -0
- package/src/components/Divider/Divider.style.tsx +34 -0
- package/src/components/Divider/Divider.type.ts +18 -0
- package/src/components/RadioButton/RadioButton.component.tsx +30 -0
- package/src/components/RadioButton/RadioButton.style.tsx +45 -0
- package/src/components/RadioButton/RadioButton.type.ts +5 -0
- package/src/components/RadioInput/RadioInput.component.tsx +209 -0
- package/src/components/RadioInput/RadioInput.style.tsx +106 -0
- package/src/components/RadioInput/RadioInput.type.ts +54 -0
- package/src/components/Snackbar/Snackbar.component.tsx +28 -0
- package/src/components/Snackbar/Snackbar.type.ts +10 -0
- package/src/components/Snackbar/Snakbar.style.tsx +35 -0
- package/src/components/StepperCounter/StepperCounter.component.tsx +111 -0
- package/src/components/StepperCounter/StepperCounter.style.tsx +96 -0
- package/src/components/StepperCounter/StepperCounter.type.ts +18 -0
- package/src/components/Tabs/Tabs.component.tsx +94 -0
- package/src/components/Tabs/Tabs.style.tsx +34 -0
- package/src/components/Tabs/Tabs.type.ts +16 -0
- package/src/components/TextArea/TextArea.component.tsx +78 -0
- package/src/components/TextArea/TextArea.style.tsx +69 -0
- package/src/components/TextArea/TextArea.type.ts +32 -0
- package/src/components/TextInput/TextInput.component.tsx +126 -0
- package/src/components/TextInput/TextInput.style.tsx +95 -0
- package/src/components/TextInput/TextInput.type.ts +38 -0
- package/src/components/base/base.component.tsx +19 -0
- package/src/components/base/base.style.tsx +27 -0
- package/src/components/base/base.type.ts +15 -0
- package/src/components/button/button.component.tsx +42 -0
- package/src/components/button/button.styles.ts +76 -0
- package/src/components/button/button.type.ts +29 -0
- package/src/components/coachmark/coachmark.component.tsx +37 -0
- package/src/components/coachmark/coachmark.style.tsx +80 -0
- package/src/components/coachmark/coachmark.type.ts +32 -0
- package/src/components/dot/dot.component.tsx +23 -0
- package/src/components/dot/dot.style.tsx +33 -0
- package/src/components/dot/dot.type.ts +6 -0
- package/src/components/index.ts +34 -0
- package/src/components/information-box/information-box.component.tsx +55 -0
- package/src/components/information-box/information-box.style.tsx +49 -0
- package/src/components/information-box/information-box.type.ts +20 -0
- package/src/components/label/label.component.tsx +19 -0
- package/src/components/label/label.style.tsx +16 -0
- package/src/components/label/label.type.ts +14 -0
- package/src/components/rounded-tab/rounded-tab.component.tsx +108 -0
- package/src/components/rounded-tab/rounded-tab.style.tsx +66 -0
- package/src/components/rounded-tab/rounded-tab.type.ts +21 -0
- package/src/components/slider-indicator/slider-indicator.component.tsx +81 -0
- package/src/components/slider-indicator/slider-indicator.style.tsx +31 -0
- package/src/components/slider-indicator/slider-indicator.type.ts +23 -0
- package/src/components/switch/switch.component.tsx +53 -0
- package/src/components/switch/switch.style.tsx +52 -0
- package/src/components/switch/switch.type.ts +7 -0
- package/src/components/textlink/textlink.component.tsx +44 -0
- package/src/components/textlink/textlink.style.tsx +36 -0
- package/src/components/textlink/textlink.type.ts +26 -0
- package/src/components/typography/typography.component.tsx +27 -0
- package/src/components/typography/typography.style.tsx +237 -0
- package/src/components/typography/typography.type.ts +56 -0
- package/src/icons/actions/IconAddMinus.tsx +32 -0
- package/src/icons/actions/IconAddPlus.tsx +32 -0
- package/src/icons/actions/IconAddRemove.tsx +27 -0
- package/src/icons/actions/IconAttach.tsx +32 -0
- package/src/icons/actions/IconCamera.tsx +32 -0
- package/src/icons/actions/IconChat.tsx +32 -0
- package/src/icons/actions/IconCopy.tsx +38 -0
- package/src/icons/actions/IconCustomerService.tsx +37 -0
- package/src/icons/actions/IconDownload.tsx +32 -0
- package/src/icons/actions/IconEdit.tsx +32 -0
- package/src/icons/actions/IconFilter.tsx +52 -0
- package/src/icons/actions/IconHeartEmpty.tsx +59 -0
- package/src/icons/actions/IconHeartFilled.tsx +25 -0
- package/src/icons/actions/IconHeartOutline.tsx +32 -0
- package/src/icons/actions/IconHelp.tsx +32 -0
- package/src/icons/actions/IconInfo.tsx +38 -0
- package/src/icons/actions/IconLike.tsx +30 -0
- package/src/icons/actions/IconNotification.tsx +46 -0
- package/src/icons/actions/IconPerson.tsx +32 -0
- package/src/icons/actions/IconPicture.tsx +36 -0
- package/src/icons/actions/IconPictureAdd.tsx +44 -0
- package/src/icons/actions/IconSearch.tsx +32 -0
- package/src/icons/actions/IconSetting.tsx +32 -0
- package/src/icons/actions/IconShare.tsx +32 -0
- package/src/icons/actions/IconShoppingCart.tsx +32 -0
- package/src/icons/actions/IconSort.tsx +32 -0
- package/src/icons/actions/IconStarFilled.tsx +32 -0
- package/src/icons/actions/IconStarOutline.tsx +32 -0
- package/src/icons/actions/IconTrash.tsx +38 -0
- package/src/icons/actions/IconUpload.tsx +32 -0
- package/src/icons/index.ts +91 -0
- package/src/icons/misc/IconCalendar.tsx +32 -0
- package/src/icons/misc/IconCash.tsx +32 -0
- package/src/icons/misc/IconCategory.tsx +32 -0
- package/src/icons/misc/IconContract.tsx +36 -0
- package/src/icons/misc/IconCreditCard.tsx +32 -0
- package/src/icons/misc/IconFlash.tsx +30 -0
- package/src/icons/misc/IconGroup.tsx +32 -0
- package/src/icons/misc/IconHistory.tsx +42 -0
- package/src/icons/misc/IconLocation.tsx +32 -0
- package/src/icons/misc/IconLock.tsx +33 -0
- package/src/icons/misc/IconMoney.tsx +37 -0
- package/src/icons/misc/IconMyLocation.tsx +32 -0
- package/src/icons/misc/IconOfficial.tsx +34 -0
- package/src/icons/misc/IconPromo.tsx +32 -0
- package/src/icons/misc/IconProtection.tsx +39 -0
- package/src/icons/misc/IconStore.tsx +40 -0
- package/src/icons/misc/IconTick.tsx +32 -0
- package/src/icons/misc/IconTicket.tsx +32 -0
- package/src/icons/misc/IconTime.tsx +38 -0
- package/src/icons/misc/IconVoucher.tsx +38 -0
- package/src/icons/navigations/IconArrowDown.tsx +32 -0
- package/src/icons/navigations/IconArrowLeft.tsx +32 -0
- package/src/icons/navigations/IconArrowRight.tsx +32 -0
- package/src/icons/navigations/IconArrowUp.tsx +32 -0
- package/src/icons/navigations/IconChevronDown.tsx +27 -0
- package/src/icons/navigations/IconChevronLeft.tsx +27 -0
- package/src/icons/navigations/IconChevronRight.tsx +27 -0
- package/src/icons/navigations/IconChevronUp.tsx +27 -0
- package/src/icons/navs/IconNavAdiraku.tsx +44 -0
- package/src/icons/navs/IconNavDocument.tsx +41 -0
- package/src/icons/navs/IconNavHome.tsx +31 -0
- package/src/icons/navs/IconNavPhone.tsx +32 -0
- package/src/icons/navs/IconNavProfile.tsx +32 -0
- package/src/icons/vehicles/IconBikeCaferacer.tsx +34 -0
- package/src/icons/vehicles/IconBikeCooper.tsx +38 -0
- package/src/icons/vehicles/IconBikeCruiser.tsx +34 -0
- package/src/icons/vehicles/IconBikeDualsport.tsx +34 -0
- package/src/icons/vehicles/IconBikeMopad.tsx +42 -0
- package/src/icons/vehicles/IconBikeRoadster.tsx +38 -0
- package/src/icons/vehicles/IconBikeScooter.tsx +34 -0
- package/src/icons/vehicles/IconBikeScrambler.tsx +34 -0
- package/src/icons/vehicles/IconBikeSportbike.tsx +34 -0
- package/src/icons/vehicles/IconBikeSportstouring.tsx +34 -0
- package/src/icons/vehicles/IconBikeTouring.tsx +30 -0
- package/src/icons/vehicles/IconBikeTrialbike.tsx +34 -0
- package/src/icons/vehicles/IconCarHatchback.tsx +32 -0
- package/src/icons/vehicles/IconCarJeep.tsx +32 -0
- package/src/icons/vehicles/IconCarMiniTruck.tsx +32 -0
- package/src/icons/vehicles/IconCarMinivan.tsx +32 -0
- package/src/icons/vehicles/IconCarMuv.tsx +32 -0
- package/src/icons/vehicles/IconCarPickup.tsx +32 -0
- package/src/icons/vehicles/IconCarSportCar.tsx +32 -0
- package/src/icons/vehicles/IconCarSuperCar.tsx +32 -0
- package/src/icons/vehicles/IconCarSuv.tsx +32 -0
- package/src/icons/vehicles/IconCarVan.tsx +32 -0
- package/src/icons/vehicles/IconCarWagon.tsx +32 -0
- package/src/index.tsx +2 -0
- package/src/themes/colors.ts +152 -0
- package/src/themes/index.ts +4 -0
- package/src/themes/radius.ts +12 -0
- package/src/themes/shadow.tsx +48 -0
- package/src/themes/spacing.ts +16 -0
- package/src/types.ts +39 -0
|
@@ -0,0 +1,177 @@
|
|
|
1
|
+
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { Animated, FlatList, TouchableHighlight, TouchableWithoutFeedback, View } from 'react-native';
|
|
4
|
+
import { getStyle } from './RadioInput.style';
|
|
5
|
+
import { Palettes } from '../../themes';
|
|
6
|
+
import { IconChevronDown } from '../../icons';
|
|
7
|
+
import { Button } from '../button/button.component';
|
|
8
|
+
import { Typography } from '../typography/typography.component';
|
|
9
|
+
import { BottomSheet } from '../BottomSheet/BottomSheet.component';
|
|
10
|
+
import { RadioButton } from '../RadioButton/RadioButton.component';
|
|
11
|
+
import { Divider } from '../Divider/Divider.component';
|
|
12
|
+
const RadioInput = props => {
|
|
13
|
+
const {
|
|
14
|
+
value,
|
|
15
|
+
label,
|
|
16
|
+
errorMessage,
|
|
17
|
+
helperMessage,
|
|
18
|
+
isError,
|
|
19
|
+
disabled,
|
|
20
|
+
editable = true,
|
|
21
|
+
inputIcon = /*#__PURE__*/React.createElement(IconChevronDown, {
|
|
22
|
+
width: 14,
|
|
23
|
+
height: 14,
|
|
24
|
+
fill: Palettes.black[900]
|
|
25
|
+
}),
|
|
26
|
+
data,
|
|
27
|
+
onSaveInput = () => {},
|
|
28
|
+
saveInputLabel,
|
|
29
|
+
bottomSheetOpt,
|
|
30
|
+
onInputDismiss = () => {}
|
|
31
|
+
} = props;
|
|
32
|
+
const [labelWidth, setLabelWidth] = React.useState(0);
|
|
33
|
+
// const [inputVisibility, setInputVisibility] = React.useState(false);
|
|
34
|
+
const [selectedValue, setSelectedValue] = React.useState(value);
|
|
35
|
+
const computedStyle = getStyle(props);
|
|
36
|
+
const ref = React.useRef(null);
|
|
37
|
+
const animation = React.useRef(new Animated.Value(0));
|
|
38
|
+
const scale = animation.current.interpolate({
|
|
39
|
+
inputRange: [0, 1],
|
|
40
|
+
outputRange: [1, 0.8]
|
|
41
|
+
});
|
|
42
|
+
const translateY = animation.current.interpolate({
|
|
43
|
+
inputRange: [0, 1],
|
|
44
|
+
outputRange: [0, -30]
|
|
45
|
+
});
|
|
46
|
+
const translateX = animation.current.interpolate({
|
|
47
|
+
inputRange: [0, 1],
|
|
48
|
+
outputRange: [0, labelWidth * -0.1]
|
|
49
|
+
});
|
|
50
|
+
const animate = toValue => Animated.spring(animation.current, {
|
|
51
|
+
useNativeDriver: true,
|
|
52
|
+
toValue
|
|
53
|
+
}).start();
|
|
54
|
+
const selectedObject = React.useCallback(() => {
|
|
55
|
+
var _data$find;
|
|
56
|
+
return data === null || data === void 0 ? void 0 : (_data$find = data.find(obj => {
|
|
57
|
+
return obj.value === (value === null || value === void 0 ? void 0 : value.value);
|
|
58
|
+
})) === null || _data$find === void 0 ? void 0 : _data$find.label;
|
|
59
|
+
}, [data, value]);
|
|
60
|
+
React.useEffect(() => {
|
|
61
|
+
if (selectedObject()) {
|
|
62
|
+
animate(1);
|
|
63
|
+
} else {
|
|
64
|
+
animate(0);
|
|
65
|
+
}
|
|
66
|
+
}, [selectedObject, value]);
|
|
67
|
+
React.useEffect(() => {
|
|
68
|
+
setSelectedValue(value);
|
|
69
|
+
}, [value]);
|
|
70
|
+
const getLabelWidth = event => {
|
|
71
|
+
const {
|
|
72
|
+
width
|
|
73
|
+
} = event.nativeEvent.layout;
|
|
74
|
+
setLabelWidth(width + 24);
|
|
75
|
+
};
|
|
76
|
+
const onRadioItemPress = radioValue => {
|
|
77
|
+
if ((selectedValue === null || selectedValue === void 0 ? void 0 : selectedValue.value) !== (radioValue === null || radioValue === void 0 ? void 0 : radioValue.value)) {
|
|
78
|
+
setSelectedValue(radioValue);
|
|
79
|
+
}
|
|
80
|
+
};
|
|
81
|
+
const handleOnSaveInput = () => {
|
|
82
|
+
var _ref$current;
|
|
83
|
+
onSaveInput(selectedValue);
|
|
84
|
+
onInputDismiss();
|
|
85
|
+
(_ref$current = ref.current) === null || _ref$current === void 0 ? void 0 : _ref$current.close();
|
|
86
|
+
};
|
|
87
|
+
const openBottomSheet = () => {
|
|
88
|
+
if (!disabled && editable) {
|
|
89
|
+
var _ref$current2;
|
|
90
|
+
(_ref$current2 = ref.current) === null || _ref$current2 === void 0 ? void 0 : _ref$current2.open();
|
|
91
|
+
}
|
|
92
|
+
};
|
|
93
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(TouchableWithoutFeedback, {
|
|
94
|
+
onPress: openBottomSheet
|
|
95
|
+
}, /*#__PURE__*/React.createElement(View, {
|
|
96
|
+
style: computedStyle.fieldWrapper
|
|
97
|
+
}, /*#__PURE__*/React.createElement(View, {
|
|
98
|
+
style: computedStyle.fieldContainer
|
|
99
|
+
}, /*#__PURE__*/React.createElement(Animated.View, {
|
|
100
|
+
style: [computedStyle.labelContainer, {
|
|
101
|
+
transform: [{
|
|
102
|
+
scale
|
|
103
|
+
}, {
|
|
104
|
+
translateY
|
|
105
|
+
}, {
|
|
106
|
+
translateX
|
|
107
|
+
}]
|
|
108
|
+
}],
|
|
109
|
+
onLayout: getLabelWidth,
|
|
110
|
+
pointerEvents: "none"
|
|
111
|
+
}, /*#__PURE__*/React.createElement(Typography, {
|
|
112
|
+
variant: "body2",
|
|
113
|
+
style: computedStyle.label
|
|
114
|
+
}, label)), /*#__PURE__*/React.createElement(View, {
|
|
115
|
+
style: computedStyle.inputWrapper
|
|
116
|
+
}, /*#__PURE__*/React.createElement(Typography, {
|
|
117
|
+
variant: "body2",
|
|
118
|
+
style: [computedStyle.textField],
|
|
119
|
+
numberOfLines: 1
|
|
120
|
+
}, selectedObject()), inputIcon && inputIcon)), errorMessage || helperMessage ? /*#__PURE__*/React.createElement(Typography, {
|
|
121
|
+
variant: "caption",
|
|
122
|
+
style: computedStyle.messageHelper
|
|
123
|
+
}, errorMessage || !isError && helperMessage) : null)), /*#__PURE__*/React.createElement(BottomSheet, _extends({
|
|
124
|
+
onDismiss: onInputDismiss,
|
|
125
|
+
ref: ref
|
|
126
|
+
}, bottomSheetOpt), /*#__PURE__*/React.createElement(FlatList, {
|
|
127
|
+
data: data,
|
|
128
|
+
renderItem: item => /*#__PURE__*/React.createElement(RadioItem, {
|
|
129
|
+
data: item,
|
|
130
|
+
selectedValue: selectedValue,
|
|
131
|
+
onItemPress: onRadioItemPress
|
|
132
|
+
})
|
|
133
|
+
// eslint-disable-next-line react-native/no-inline-styles
|
|
134
|
+
,
|
|
135
|
+
contentContainerStyle: {
|
|
136
|
+
padding: 16
|
|
137
|
+
}
|
|
138
|
+
// eslint-disable-next-line react/no-unstable-nested-components
|
|
139
|
+
,
|
|
140
|
+
ItemSeparatorComponent: () => /*#__PURE__*/React.createElement(Divider, null)
|
|
141
|
+
}), /*#__PURE__*/React.createElement(View, {
|
|
142
|
+
style: {
|
|
143
|
+
padding: 16,
|
|
144
|
+
backgroundColor: 'transparent'
|
|
145
|
+
}
|
|
146
|
+
}, /*#__PURE__*/React.createElement(Button, {
|
|
147
|
+
variant: "primary",
|
|
148
|
+
label: saveInputLabel,
|
|
149
|
+
onPress: handleOnSaveInput
|
|
150
|
+
}))));
|
|
151
|
+
};
|
|
152
|
+
function RadioItem(_ref) {
|
|
153
|
+
let {
|
|
154
|
+
data,
|
|
155
|
+
selectedValue,
|
|
156
|
+
onItemPress = () => {}
|
|
157
|
+
} = _ref;
|
|
158
|
+
const {
|
|
159
|
+
item
|
|
160
|
+
} = data;
|
|
161
|
+
const computedStyle = getStyle({});
|
|
162
|
+
return /*#__PURE__*/React.createElement(TouchableHighlight, {
|
|
163
|
+
onPress: () => onItemPress(item),
|
|
164
|
+
underlayColor: Palettes.whiteDark[100],
|
|
165
|
+
disabled: item.disabled
|
|
166
|
+
}, /*#__PURE__*/React.createElement(View, {
|
|
167
|
+
style: [computedStyle.radioItemWrapper]
|
|
168
|
+
}, /*#__PURE__*/React.createElement(Typography, {
|
|
169
|
+
variant: "body2",
|
|
170
|
+
numberOfLines: 2
|
|
171
|
+
}, item === null || item === void 0 ? void 0 : item.label), /*#__PURE__*/React.createElement(RadioButton, {
|
|
172
|
+
selected: item.value === (selectedValue === null || selectedValue === void 0 ? void 0 : selectedValue.value),
|
|
173
|
+
disabled: item.disabled
|
|
174
|
+
})));
|
|
175
|
+
}
|
|
176
|
+
export { RadioInput };
|
|
177
|
+
//# sourceMappingURL=RadioInput.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","Animated","FlatList","TouchableHighlight","TouchableWithoutFeedback","View","getStyle","Palettes","IconChevronDown","Button","Typography","BottomSheet","RadioButton","Divider","RadioInput","props","value","label","errorMessage","helperMessage","isError","disabled","editable","inputIcon","black","data","onSaveInput","saveInputLabel","bottomSheetOpt","onInputDismiss","labelWidth","setLabelWidth","useState","selectedValue","setSelectedValue","computedStyle","ref","useRef","animation","Value","scale","current","interpolate","inputRange","outputRange","translateY","translateX","animate","toValue","spring","useNativeDriver","start","selectedObject","useCallback","find","obj","useEffect","getLabelWidth","event","width","nativeEvent","layout","onRadioItemPress","radioValue","handleOnSaveInput","close","openBottomSheet","open","fieldWrapper","fieldContainer","labelContainer","transform","inputWrapper","textField","messageHelper","item","padding","backgroundColor","RadioItem","onItemPress","whiteDark","radioItemWrapper"],"sourceRoot":"..\\..\\src","sources":["RadioInput.component.tsx"],"mappings":";AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,SACEC,QAAQ,EACRC,QAAQ,EACRC,kBAAkB,EAClBC,wBAAwB,EACxBC,IAAI,QACC,cAAc;AAErB,SAASC,QAAQ,QAAQ,oBAAoB;AAC7C,SAASC,QAAQ,QAAQ,cAAc;AACvC,SAASC,eAAe,QAAQ,aAAa;AAC7C,SAASC,MAAM,QAAQ,4BAA4B;AACnD,SAASC,UAAU,QAAQ,oCAAoC;AAC/D,SAASC,WAAW,QAAQ,sCAAsC;AAClE,SAASC,WAAW,QAAQ,sCAAsC;AAClE,SAASC,OAAO,QAAQ,8BAA8B;AAKtD,MAAMC,UAAoD,GAAIC,KAAK,IAAK;EACtE,MAAM;IACJC,KAAK;IACLC,KAAK;IACLC,YAAY;IACZC,aAAa;IACbC,OAAO;IACPC,QAAQ;IACRC,QAAQ,GAAG,IAAI;IACfC,SAAS,gBACP,oBAAC,eAAe;MAAC,KAAK,EAAE,EAAG;MAAC,MAAM,EAAE,EAAG;MAAC,IAAI,EAAEhB,QAAQ,CAACiB,KAAK,CAAC,GAAG;IAAE,EACnE;IACDC,IAAI;IACJC,WAAW,GAAG,MAAM,CAAC,CAAC;IACtBC,cAAc;IACdC,cAAc;IACdC,cAAc,GAAG,MAAM,CAAC;EAC1B,CAAC,GAAGd,KAAK;EAET,MAAM,CAACe,UAAU,EAAEC,aAAa,CAAC,GAAG/B,KAAK,CAACgC,QAAQ,CAAC,CAAC,CAAC;EACrD;EACA,MAAM,CAACC,aAAa,EAAEC,gBAAgB,CAAC,GAAGlC,KAAK,CAACgC,QAAQ,CAAChB,KAAK,CAAC;EAE/D,MAAMmB,aAAa,GAAG7B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C,eAAe,EAAE;IAAc;EAAE,gBAC3D,oBAAC,MAAM;IACL,OAAO,EAAC,SAAS;IACjB,KAAK,EAAElD,cAAe;IACtB,OAAO,EAAEqC;EAAkB,EAC3B,CACG,CACK,CACb;AAEP,CAAC;AAED,SAASc,SAAS,OAUf;EAAA,IAVgB;IACjBrD,IAAI;IACJQ,aAAa;IACb8C,WAAW,GAAG,MAAM,CAAC;EAOvB,CAAC;EACC,MAAM;IAAEJ;EAAK,CAAC,GAAGlD,IAAI;EACrB,MAAMU,aAAa,GAAG7B,QAAQ,CAAC,CAAC,CAAC,CAAoB;EAErD,oBACE,oBAAC,kBAAkB;IACjB,OAAO,EAAE,MAAMyE,WAAW,CAACJ,IAAI,CAAE;IACjC,aAAa,EAAEpE,QAAQ,CAACyE,SAAS,CAAC,GAAG,CAAE;IACvC,QAAQ,EAAEL,IAAI,CAACtD;EAAS,gBAExB,oBAAC,IAAI;IAAC,KAAK,EAAE,CAACc,aAAa,CAAC8C,gBAAgB;EAAE,gBAC5C,oBAAC,UAAU;IAAC,OAAO,EAAC,OAAO;IAAC,aAAa,EAAE;EAAE,GAC1CN,IAAI,aAAJA,IAAI,uBAAJA,IAAI,CAAE1D,KAAK,CACD,eACb,oBAAC,WAAW;IACV,QAAQ,EAAE0D,IAAI,CAAC3D,KAAK,MAAKiB,aAAa,aAAbA,aAAa,uBAAbA,aAAa,CAAEjB,KAAK,CAAC;IAC9C,QAAQ,EAAE2D,IAAI,CAACtD;EAAS,EACxB,CACG,CACY;AAEzB;AAEA,SAASP,UAAU"}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { StyleSheet } from 'react-native';
|
|
2
|
+
import { Palettes, Radius, Spacing } from '../../themes';
|
|
3
|
+
export const getStyle = props => {
|
|
4
|
+
const {
|
|
5
|
+
editable = true,
|
|
6
|
+
disabled = false,
|
|
7
|
+
isError,
|
|
8
|
+
errorMessage
|
|
9
|
+
} = props;
|
|
10
|
+
const stateColor = isError || errorMessage ? {
|
|
11
|
+
text: Palettes.red[500],
|
|
12
|
+
border: Palettes.red[500]
|
|
13
|
+
} : {
|
|
14
|
+
text: Palettes.black[900],
|
|
15
|
+
border: Palettes.grey[200]
|
|
16
|
+
};
|
|
17
|
+
const computedStyle = {};
|
|
18
|
+
computedStyle.fieldWrapper = {
|
|
19
|
+
width: '100%'
|
|
20
|
+
};
|
|
21
|
+
computedStyle.fieldContainer = {
|
|
22
|
+
alignItems: 'flex-start',
|
|
23
|
+
justifyContent: 'center',
|
|
24
|
+
width: '100%'
|
|
25
|
+
};
|
|
26
|
+
computedStyle.labelContainer = {
|
|
27
|
+
zIndex: 99,
|
|
28
|
+
position: 'absolute'
|
|
29
|
+
};
|
|
30
|
+
computedStyle.label = {
|
|
31
|
+
color: stateColor.text,
|
|
32
|
+
backgroundColor: !editable || disabled ? Palettes.grey[50] : Palettes.whiteDark[50],
|
|
33
|
+
paddingHorizontal: Spacing[4],
|
|
34
|
+
borderRadius: Radius[4],
|
|
35
|
+
marginLeft: Spacing[8]
|
|
36
|
+
};
|
|
37
|
+
computedStyle.inputWrapper = {
|
|
38
|
+
height: 48,
|
|
39
|
+
flexDirection: 'row',
|
|
40
|
+
justifyContent: 'space-between',
|
|
41
|
+
alignItems: 'center',
|
|
42
|
+
borderWidth: Radius.border,
|
|
43
|
+
borderColor: stateColor.border,
|
|
44
|
+
backgroundColor: !editable || disabled ? Palettes.grey[50] : Palettes.whiteDark[50],
|
|
45
|
+
borderRadius: Radius[8],
|
|
46
|
+
padding: Spacing[8],
|
|
47
|
+
width: '100%'
|
|
48
|
+
};
|
|
49
|
+
computedStyle.textField = {
|
|
50
|
+
flex: 1,
|
|
51
|
+
color: Palettes.black[900],
|
|
52
|
+
padding: 0,
|
|
53
|
+
margin: 0,
|
|
54
|
+
overflow: 'visible',
|
|
55
|
+
fontSize: 14,
|
|
56
|
+
lineHeight: 21,
|
|
57
|
+
fontFamily: 'Montserrat-Regular'
|
|
58
|
+
};
|
|
59
|
+
computedStyle.messageHelper = {
|
|
60
|
+
alignSelf: 'flex-start',
|
|
61
|
+
marginLeft: 12,
|
|
62
|
+
color: stateColor.text
|
|
63
|
+
};
|
|
64
|
+
computedStyle.counter = {
|
|
65
|
+
marginLeft: Spacing[4],
|
|
66
|
+
color: Palettes.grey[500]
|
|
67
|
+
};
|
|
68
|
+
computedStyle.inputIconWrapper = {
|
|
69
|
+
marginLeft: Spacing[4]
|
|
70
|
+
};
|
|
71
|
+
computedStyle.radioItemWrapper = {
|
|
72
|
+
paddingVertical: Spacing[16],
|
|
73
|
+
borderRadius: Radius[8],
|
|
74
|
+
flexDirection: 'row',
|
|
75
|
+
alignItems: 'center',
|
|
76
|
+
justifyContent: 'space-between'
|
|
77
|
+
};
|
|
78
|
+
return StyleSheet.create(computedStyle);
|
|
79
|
+
};
|
|
80
|
+
//# sourceMappingURL=RadioInput.style.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["StyleSheet","Palettes","Radius","Spacing","getStyle","props","editable","disabled","isError","errorMessage","stateColor","text","red","border","black","grey","computedStyle","fieldWrapper","width","fieldContainer","alignItems","justifyContent","labelContainer","zIndex","position","label","color","backgroundColor","whiteDark","paddingHorizontal","borderRadius","marginLeft","inputWrapper","height","flexDirection","borderWidth","borderColor","padding","textField","flex","margin","overflow","fontSize","lineHeight","fontFamily","messageHelper","alignSelf","counter","inputIconWrapper","radioItemWrapper","paddingVertical","create"],"sourceRoot":"..\\..\\src","sources":["RadioInput.style.tsx"],"mappings":"AAEA,SAASA,UAAU,QAAQ,cAAc;AAEzC,SAASC,QAAQ,EAAEC,MAAM,EAAEC,OAAO,QAAQ,cAAc;AAexD,OAAO,MAAMC,QAAQ,GAAIC,KAAsB,IAAK;EAClD,MAAM;IAAEC,QAAQ,GAAG,IAAI;IAAEC,QAAQ,GAAG,KAAK;IAAEC,OAAO;IAAEC;EAAa,CAAC,GAAGJ,KAAK;EAE1E,MAAMK,UAAU,GACdF,OAAO,IAAIC,YAAY,GACnB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
|
|
2
|
+
import { View } from 'react-native';
|
|
3
|
+
import { Typography } from '../typography/typography.component';
|
|
4
|
+
import { getStyle } from './Snakbar.style';
|
|
5
|
+
const Snackbar = props => {
|
|
6
|
+
const {
|
|
7
|
+
message = '',
|
|
8
|
+
action = null,
|
|
9
|
+
containerStyle
|
|
10
|
+
} = props;
|
|
11
|
+
const computedStyle = getStyle();
|
|
12
|
+
return /*#__PURE__*/React.createElement(View, {
|
|
13
|
+
style: [computedStyle.container, containerStyle]
|
|
14
|
+
}, /*#__PURE__*/React.createElement(Typography, {
|
|
15
|
+
variant: "caption",
|
|
16
|
+
numberOfLines: 3,
|
|
17
|
+
style: [computedStyle.message]
|
|
18
|
+
}, message), action && /*#__PURE__*/React.createElement(View, {
|
|
19
|
+
style: [computedStyle.actionWrapper]
|
|
20
|
+
}, action));
|
|
21
|
+
};
|
|
22
|
+
export { Snackbar };
|
|
23
|
+
//# sourceMappingURL=Snackbar.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","View","Typography","getStyle","Snackbar","props","message","action","containerStyle","computedStyle","container","actionWrapper"],"sourceRoot":"..\\..\\src","sources":["Snackbar.component.tsx"],"mappings":"AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,SAASC,IAAI,QAAQ,cAAc;AAEnC,SAASC,UAAU,QAAQ,oCAAoC;AAC/D,SAASC,QAAQ,QAAQ,iBAAiB;AAI1C,MAAMC,QAAgD,GAAIC,KAAK,IAAK;EAClE,MAAM;IAAEC,OAAO,GAAG,EAAE;IAAEC,MAAM,GAAG,IAAI;IAAEC;EAAe,CAAC,GAAGH,KAAK;EAE7D,MAAMI,aAAa,GAAGN,QAAQ,EAAE;EAEhC,oBACE,oBAAC,IAAI;IAAC,KAAK,EAAE,CAACM,aAAa,CAACC,SAAS,EAAEF,cAAc;EAAE,gBACrD,oBAAC,UAAU;IACT,OAAO,EAAC,SAAS;IACjB,aAAa,EAAE,CAAE;IACjB,KAAK,EAAE,CAACC,aAAa,CAACH,OAAO;EAAE,GAE9BA,OAAO,CACG,EACZC,MAAM,iBAAI,oBAAC,IAAI;IAAC,KAAK,EAAE,CAACE,aAAa,CAACE,aAAa;EAAE,GAAEJ,MAAM,CAAQ,CACjE;AAEX,CAAC;AAED,SAASH,QAAQ"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"..\\..\\src","sources":["Snackbar.type.ts"],"mappings":""}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { StyleSheet } from 'react-native';
|
|
2
|
+
import { Palettes, Radius, Shadow, Spacing } from '../../themes';
|
|
3
|
+
export const getStyle = () => {
|
|
4
|
+
const computedStyle = {};
|
|
5
|
+
computedStyle.container = {
|
|
6
|
+
padding: Spacing[12],
|
|
7
|
+
borderRadius: Radius[8],
|
|
8
|
+
flexDirection: 'row',
|
|
9
|
+
alignItems: 'center',
|
|
10
|
+
justifyContent: 'space-between',
|
|
11
|
+
backgroundColor: Palettes.blue[50],
|
|
12
|
+
...Shadow['shadow-elevation-1']
|
|
13
|
+
};
|
|
14
|
+
computedStyle.message = {
|
|
15
|
+
flex: 1
|
|
16
|
+
};
|
|
17
|
+
computedStyle.actionWrapper = {
|
|
18
|
+
marginLeft: Spacing[16]
|
|
19
|
+
};
|
|
20
|
+
return StyleSheet.create(computedStyle);
|
|
21
|
+
};
|
|
22
|
+
//# sourceMappingURL=Snakbar.style.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["StyleSheet","Palettes","Radius","Shadow","Spacing","getStyle","computedStyle","container","padding","borderRadius","flexDirection","alignItems","justifyContent","backgroundColor","blue","message","flex","actionWrapper","marginLeft","create"],"sourceRoot":"..\\..\\src","sources":["Snakbar.style.tsx"],"mappings":"AAAA,SAASA,UAAU,QAAQ,cAAc;AAEzC,SAASC,QAAQ,EAAEC,MAAM,EAAEC,MAAM,EAAEC,OAAO,QAAQ,cAAc;AAUhE,OAAO,MAAMC,QAAQ,GAAG,MAAM;EAC5B,MAAMC,aAAiC,GAAG,CAAC,CAAC;EAE5CA,aAAa,CAACC,SAAS,GAAG;IACxBC,OAAO,EAAEJ,OAAO,CAAC,EAAE,CAAC;IACpBK,YAAY,EAAEP,MAAM,CAAC,CAAC,CAAC;IACvBQ,aAAa,EAAE,KAAK;IACpBC,UAAU,EAAE,QAAQ;IACpBC,cAAc,EAAE,eAAe;IAC/BC,eAAe,EAAEZ,QAAQ,CAACa,IAAI,CAAC,EAAE,CAAC;IAClC,GAAGX,MAAM,CAAC,oBAAoB;EAChC,CAAC;EAEDG,aAAa,CAACS,OAAO,GAAG;IACtBC,IAAI,EAAE;EACR,CAAC;EAEDV,aAAa,CAACW,aAAa,GAAG;IAC5BC,UAAU,EAAEd,OAAO,CAAC,EAAE;EACxB,CAAC;EAED,OAAOJ,UAAU,CAACmB,MAAM,CAACb,aAAa,CAAC;AACzC,CAAC"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { View } from 'react-native';
|
|
3
|
+
import { getStyle } from './StepperCounter.style';
|
|
4
|
+
import { Typography } from '../typography/typography.component';
|
|
5
|
+
const StepperCounter = props => {
|
|
6
|
+
const {
|
|
7
|
+
labels = [],
|
|
8
|
+
activeStepIndex = 0,
|
|
9
|
+
activeStepIndicator = null
|
|
10
|
+
} = props;
|
|
11
|
+
const [firstItemWidth, setFirstItemWidth] = React.useState(0);
|
|
12
|
+
const [lastItemWidth, setLastItemWidth] = React.useState(0);
|
|
13
|
+
const computedStyle = getStyle();
|
|
14
|
+
const getFirstAndLastWidthItem = (event, idx) => {
|
|
15
|
+
const {
|
|
16
|
+
width
|
|
17
|
+
} = event.nativeEvent.layout;
|
|
18
|
+
if (idx === 0) {
|
|
19
|
+
setFirstItemWidth(width);
|
|
20
|
+
} else if (idx === labels.length - 1) {
|
|
21
|
+
setLastItemWidth(width);
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
const isCurrentStep = idx => {
|
|
25
|
+
return idx === activeStepIndex;
|
|
26
|
+
};
|
|
27
|
+
const isBeforeStep = idx => {
|
|
28
|
+
return idx < activeStepIndex;
|
|
29
|
+
};
|
|
30
|
+
const isAfterStep = idx => {
|
|
31
|
+
return idx > activeStepIndex;
|
|
32
|
+
};
|
|
33
|
+
const getStepNumber = idx => {
|
|
34
|
+
return idx.toLocaleString('en-US', {
|
|
35
|
+
minimumIntegerDigits: 2,
|
|
36
|
+
useGrouping: false
|
|
37
|
+
});
|
|
38
|
+
};
|
|
39
|
+
return /*#__PURE__*/React.createElement(View, {
|
|
40
|
+
style: computedStyle.container
|
|
41
|
+
}, /*#__PURE__*/React.createElement(View, {
|
|
42
|
+
style: [computedStyle.lineContainer, {
|
|
43
|
+
paddingLeft: firstItemWidth / 2,
|
|
44
|
+
paddingRight: lastItemWidth / 2
|
|
45
|
+
}]
|
|
46
|
+
}, labels.length > 0 && [...Array(labels.length - 1)].map((_, idx) => /*#__PURE__*/React.createElement(View, {
|
|
47
|
+
style: [computedStyle.stepLine, idx <= activeStepIndex - 1 && computedStyle.stepLineActive]
|
|
48
|
+
}))), /*#__PURE__*/React.createElement(View, {
|
|
49
|
+
style: computedStyle.stepItemContainer
|
|
50
|
+
}, labels.map((label, idx) => /*#__PURE__*/React.createElement(View, {
|
|
51
|
+
style: computedStyle.stepItemWrapper,
|
|
52
|
+
onLayout: event => getFirstAndLastWidthItem(event, idx)
|
|
53
|
+
}, /*#__PURE__*/React.createElement(View, {
|
|
54
|
+
style: [computedStyle.stepItem, isCurrentStep(idx) && computedStyle.stepItemActive, isAfterStep(idx) && computedStyle.stepItemInactive]
|
|
55
|
+
}, isBeforeStep(idx) ? activeStepIndicator : /*#__PURE__*/React.createElement(Typography, {
|
|
56
|
+
variant: "caption2",
|
|
57
|
+
style: [computedStyle.stepItemNumberActive, isAfterStep(idx) && computedStyle.stepItemNumberInactive]
|
|
58
|
+
}, getStepNumber(idx + 1))), /*#__PURE__*/React.createElement(Typography, {
|
|
59
|
+
variant: "overline",
|
|
60
|
+
style: [isAfterStep(idx) && computedStyle.labelInactive]
|
|
61
|
+
}, label)))));
|
|
62
|
+
};
|
|
63
|
+
export { StepperCounter };
|
|
64
|
+
//# sourceMappingURL=StepperCounter.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","View","getStyle","Typography","StepperCounter","props","labels","activeStepIndex","activeStepIndicator","firstItemWidth","setFirstItemWidth","useState","lastItemWidth","setLastItemWidth","computedStyle","getFirstAndLastWidthItem","event","idx","width","nativeEvent","layout","length","isCurrentStep","isBeforeStep","isAfterStep","getStepNumber","toLocaleString","minimumIntegerDigits","useGrouping","container","lineContainer","paddingLeft","paddingRight","Array","map","_","stepLine","stepLineActive","stepItemContainer","label","stepItemWrapper","stepItem","stepItemActive","stepItemInactive","stepItemNumberActive","stepItemNumberInactive","labelInactive"],"sourceRoot":"..\\..\\src","sources":["StepperCounter.component.tsx"],"mappings":"AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,SAASC,IAAI,QAAQ,cAAc;AACnC,SAASC,QAAQ,QAAQ,wBAAwB;AAEjD,SAASC,UAAU,QAAQ,oCAAoC;AAG/D,MAAMC,cAA4D,GAChEC,KAAK,IACF;EACH,MAAM;IACJC,MAAM,GAAG,EAAE;IACXC,eAAe,GAAG,CAAC;IACnBC,mBAAmB,GAAG;EACxB,CAAC,GAAGH,KAAK;EAET,MAAM,CAACI,cAAc,EAAEC,iBAAiB,CAAC,GAAGV,KAAK,CAACW,QAAQ,CAAC,CAAC,CAAC;EAC7D,MAAM,CAACC,aAAa,EAAEC,gBAAgB,CAAC,GAAGb,KAAK,CAACW,QAAQ,CAAC,CAAC,CAAC;EAE3D,MAAMG,aAAa,GAAGZ,QAAQ,EAAE;EAEhC,MAAMa,wBAAwB,GAAG,CAACC,KAAwB,EAAEC,GAAW,KAAK;IAC1E,MAAM;MAAEC;IAAM,CAAC,GAAGF,KAAK,CAACG,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AAM,CAAC4B,GAAG,CAAC,CAACK,KAAK,EAAEtB,GAAG,kBACrB,oBAAC,IAAI;IACH,KAAK,EAAEH,aAAa,CAAC0B,eAAgB;IACrC,QAAQ,EAAGxB,KAAK,IAAKD,wBAAwB,CAACC,KAAK,EAAEC,GAAG;EAAE,gBAE1D,oBAAC,IAAI;IACH,KAAK,EAAE,CACLH,aAAa,CAAC2B,QAAQ,EACtBnB,aAAa,CAACL,GAAG,CAAC,IAAIH,aAAa,CAAC4B,cAAc,EAClDlB,WAAW,CAACP,GAAG,CAAC,IAAIH,aAAa,CAAC6B,gBAAgB;EAClD,GAEDpB,YAAY,CAACN,GAAG,CAAC,GAChBT,mBAAmB,gBAEnB,oBAAC,UAAU;IACT,OAAO,EAAC,UAAU;IAClB,KAAK,EAAE,CACLM,aAAa,CAAC8B,oBAAoB,EAClCpB,WAAW,CAACP,GAAG,CAAC,IAAIH,aAAa,CAAC+B,sBAAsB;EACxD,GAEDpB,aAAa,CAACR,GAAG,GAAG,CAAC,CAAC,CAE1B,CACI,eACP,oBAAC,UAAU;IACT,OAAO,EAAC,UAAU;IAClB,KAAK,EAAE,CAACO,WAAW,CAACP,GAAG,CAAC,IAAIH,aAAa,CAACgC,aAAa;EAAE,GAExDP,KAAK,CACK,CAEhB,CAAC,CACG,CACF;AAEX,CAAC;AAED,SAASnC,cAAc"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { StyleSheet } from 'react-native';
|
|
2
|
+
import { Palettes, Radius, Spacing } from '../../themes';
|
|
3
|
+
export const getStyle = () => {
|
|
4
|
+
const computedStyle = {};
|
|
5
|
+
computedStyle.container = {
|
|
6
|
+
minHeight: 30,
|
|
7
|
+
borderRadius: 4,
|
|
8
|
+
width: '100%',
|
|
9
|
+
flexDirection: 'row'
|
|
10
|
+
};
|
|
11
|
+
computedStyle.lineContainer = {
|
|
12
|
+
position: 'absolute',
|
|
13
|
+
width: '100%',
|
|
14
|
+
flexDirection: 'row',
|
|
15
|
+
top: 10
|
|
16
|
+
};
|
|
17
|
+
computedStyle.stepLine = {
|
|
18
|
+
height: 4,
|
|
19
|
+
flexGrow: 1,
|
|
20
|
+
backgroundColor: Palettes.grey[50]
|
|
21
|
+
};
|
|
22
|
+
computedStyle.stepLineActive = {
|
|
23
|
+
backgroundColor: Palettes.green[700]
|
|
24
|
+
};
|
|
25
|
+
computedStyle.stepItemContainer = {
|
|
26
|
+
padding: 0,
|
|
27
|
+
margin: 0,
|
|
28
|
+
width: '100%',
|
|
29
|
+
flexDirection: 'row',
|
|
30
|
+
justifyContent: 'space-between',
|
|
31
|
+
position: 'absolute'
|
|
32
|
+
};
|
|
33
|
+
computedStyle.stepItemWrapper = {
|
|
34
|
+
justifyContent: 'center',
|
|
35
|
+
alignItems: 'center'
|
|
36
|
+
};
|
|
37
|
+
computedStyle.stepItem = {
|
|
38
|
+
justifyContent: 'center',
|
|
39
|
+
alignItems: 'center',
|
|
40
|
+
height: 24,
|
|
41
|
+
width: 24,
|
|
42
|
+
borderRadius: Radius.full,
|
|
43
|
+
backgroundColor: Palettes.green[700],
|
|
44
|
+
borderWidth: 2,
|
|
45
|
+
borderColor: Palettes.green[700],
|
|
46
|
+
marginBottom: Spacing[4]
|
|
47
|
+
};
|
|
48
|
+
computedStyle.stepItemActive = {
|
|
49
|
+
backgroundColor: Palettes.white[50]
|
|
50
|
+
};
|
|
51
|
+
computedStyle.stepItemInactive = {
|
|
52
|
+
backgroundColor: Palettes.grey[50],
|
|
53
|
+
borderColor: Palettes.grey[50]
|
|
54
|
+
};
|
|
55
|
+
computedStyle.stepItemNumberActive = {
|
|
56
|
+
color: Palettes.green[700]
|
|
57
|
+
};
|
|
58
|
+
computedStyle.stepItemNumberInactive = {
|
|
59
|
+
color: Palettes.grey[500]
|
|
60
|
+
};
|
|
61
|
+
computedStyle.labelInactive = {
|
|
62
|
+
color: Palettes.grey[500]
|
|
63
|
+
};
|
|
64
|
+
return StyleSheet.create(computedStyle);
|
|
65
|
+
};
|
|
66
|
+
//# sourceMappingURL=StepperCounter.style.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["StyleSheet","Palettes","Radius","Spacing","getStyle","computedStyle","container","minHeight","borderRadius","width","flexDirection","lineContainer","position","top","stepLine","height","flexGrow","backgroundColor","grey","stepLineActive","green","stepItemContainer","padding","margin","justifyContent","stepItemWrapper","alignItems","stepItem","full","borderWidth","borderColor","marginBottom","stepItemActive","white","stepItemInactive","stepItemNumberActive","color","stepItemNumberInactive","labelInactive","create"],"sourceRoot":"..\\..\\src","sources":["StepperCounter.style.tsx"],"mappings":"AAEA,SAASA,UAAU,QAAQ,cAAc;AACzC,SAASC,QAAQ,EAAEC,MAAM,EAAEC,OAAO,QAAQ,cAAc;AAiBxD,OAAO,MAAMC,QAAQ,GAAG,MAAM;EAC5B,MAAMC,aAAiC,GAAG,CAAC,CAAC;EAE5CA,aAAa,CAACC,SAAS,GAAG;IACxBC,SAAS,EAAE,EAAE;IACbC,YAAY,EAAE,CAAC;IACfC,KAAK,EAAE,MAAM;IACbC,aAAa,EAAE;EACjB,CAAC;EAEDL,aAAa,CAACM,aAAa,GAAG;IAC5BC,QAAQ,EAAE,UAAU;IACpBH,KAAK,EAAE,MAAM;IACbC,aAAa,EAAE,KAAK;IACpBG,GAAG,EAAE;EACP,CAAC;EAEDR,aAAa,CAACS,QAAQ,GAAG;IACvBC,MAAM,EAAE,CAAC;IACTC,QAAQ,EAAE,CAAC;IACXC,eAAe,EAAEhB,QAAQ,CAACiB,IAAI,CAAC,EAAE;EACnC,CAAC;EAEDb,aAAa,CAACc,cAAc,GAAG;IAC7BF,eAAe,EAAEhB,QAAQ,CAACmB,KAAK,CAAC,GAAG;EACrC,CAAC;EAEDf,aAAa,CAACgB,iBAAiB,GAAG;IAChCC,OAAO,EAAE,CAAC;IACVC,MAAM,EAAE,CAAC;IACTd,KAAK,EAAE,MAAM;IACbC,aAAa,EAAE,KAAK;IACpBc,cAAc,EAAE,eAAe;IAC/BZ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
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { Animated, Easing, View, TouchableOpacity } from 'react-native';
|
|
3
|
+
import { getStyle } from './Tabs.style';
|
|
4
|
+
import { Typography } from '../typography/typography.component';
|
|
5
|
+
const Tabs = props => {
|
|
6
|
+
const {
|
|
7
|
+
labels = [],
|
|
8
|
+
onTabPress = () => {},
|
|
9
|
+
activeIndex = 0
|
|
10
|
+
} = props;
|
|
11
|
+
const computedStyle = getStyle();
|
|
12
|
+
const [labelsLayout, setLabelsLayout] = React.useState({});
|
|
13
|
+
const indicatorWidth = React.useState(new Animated.Value(0))[0];
|
|
14
|
+
const indicatorOffsetX = React.useState(new Animated.Value(0))[0];
|
|
15
|
+
React.useEffect(() => {
|
|
16
|
+
const getActiveIndex = () => {
|
|
17
|
+
if (activeIndex < 0) {
|
|
18
|
+
return 0;
|
|
19
|
+
} else if (activeIndex > labels.length - 1) {
|
|
20
|
+
return labels.length - 1;
|
|
21
|
+
} else {
|
|
22
|
+
return activeIndex;
|
|
23
|
+
}
|
|
24
|
+
};
|
|
25
|
+
if (Object.keys(labelsLayout).length !== 0) {
|
|
26
|
+
const currentActiveIndex = getActiveIndex();
|
|
27
|
+
let indicatorOffset = 0;
|
|
28
|
+
for (let i = 0; i < currentActiveIndex; i++) {
|
|
29
|
+
indicatorOffset += labelsLayout[i] ?? 0;
|
|
30
|
+
}
|
|
31
|
+
const updatedWith = labelsLayout[currentActiveIndex] ?? 0;
|
|
32
|
+
Animated.timing(indicatorOffsetX, {
|
|
33
|
+
toValue: indicatorOffset,
|
|
34
|
+
easing: Easing.ease,
|
|
35
|
+
useNativeDriver: false,
|
|
36
|
+
duration: 300
|
|
37
|
+
}).start();
|
|
38
|
+
Animated.timing(indicatorWidth, {
|
|
39
|
+
toValue: updatedWith,
|
|
40
|
+
easing: Easing.ease,
|
|
41
|
+
useNativeDriver: false,
|
|
42
|
+
duration: 300
|
|
43
|
+
}).start();
|
|
44
|
+
}
|
|
45
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
46
|
+
}, [activeIndex, labels, labelsLayout]);
|
|
47
|
+
const onLayout = (event, idx) => {
|
|
48
|
+
const {
|
|
49
|
+
width
|
|
50
|
+
} = event.nativeEvent.layout;
|
|
51
|
+
setLabelsLayout({
|
|
52
|
+
...labelsLayout,
|
|
53
|
+
[idx]: width
|
|
54
|
+
});
|
|
55
|
+
};
|
|
56
|
+
return /*#__PURE__*/React.createElement(View, {
|
|
57
|
+
style: [computedStyle.container]
|
|
58
|
+
}, labels.map((label, idx) => /*#__PURE__*/React.createElement(TouchableOpacity, {
|
|
59
|
+
onPress: () => onTabPress(idx),
|
|
60
|
+
style: [computedStyle.tabContainer],
|
|
61
|
+
onLayout: event => onLayout(event, idx)
|
|
62
|
+
}, /*#__PURE__*/React.createElement(Typography, {
|
|
63
|
+
key: idx,
|
|
64
|
+
variant: "subtitle2"
|
|
65
|
+
}, label))), /*#__PURE__*/React.createElement(Animated.View, {
|
|
66
|
+
style: [computedStyle.bottomMarker, {
|
|
67
|
+
width: indicatorWidth,
|
|
68
|
+
left: indicatorOffsetX
|
|
69
|
+
}]
|
|
70
|
+
}));
|
|
71
|
+
};
|
|
72
|
+
export { Tabs };
|
|
73
|
+
//# sourceMappingURL=Tabs.component.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["React","Animated","Easing","View","TouchableOpacity","getStyle","Typography","Tabs","props","labels","onTabPress","activeIndex","computedStyle","labelsLayout","setLabelsLayout","useState","indicatorWidth","Value","indicatorOffsetX","useEffect","getActiveIndex","length","Object","keys","currentActiveIndex","indicatorOffset","i","updatedWith","timing","toValue","easing","ease","useNativeDriver","duration","start","onLayout","event","idx","width","nativeEvent","layout","container","map","label","tabContainer","bottomMarker","left"],"sourceRoot":"..\\..\\src","sources":["Tabs.component.tsx"],"mappings":"AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,SACEC,QAAQ,EACRC,M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,CAEhB,CAAC,eACF,oBAAC,QAAQ,CAAC,IAAI;IACZ,KAAK,EAAE,CACL/B,aAAa,CAACiC,YAAY,EAC1B;MAAEP,KAAK,EAAEtB,cAAc;MAAE8B,IAAI,EAAE5B;IAAiB,CAAC;EACjD,EACF,CACG;AAEX,CAAC;AAED,SAASX,IAAI"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { StyleSheet } from 'react-native';
|
|
2
|
+
import { Palettes, Spacing } from '../../themes';
|
|
3
|
+
export const getStyle = () => {
|
|
4
|
+
const computedStyle = {};
|
|
5
|
+
computedStyle.container = {
|
|
6
|
+
flexDirection: 'row'
|
|
7
|
+
};
|
|
8
|
+
computedStyle.tabContainer = {
|
|
9
|
+
paddingHorizontal: Spacing[16],
|
|
10
|
+
paddingVertical: Spacing[8]
|
|
11
|
+
};
|
|
12
|
+
computedStyle.bottomMarker = {
|
|
13
|
+
position: 'absolute',
|
|
14
|
+
height: 4,
|
|
15
|
+
bottom: 0,
|
|
16
|
+
left: 0,
|
|
17
|
+
backgroundColor: Palettes.yellow[600]
|
|
18
|
+
};
|
|
19
|
+
return StyleSheet.create(computedStyle);
|
|
20
|
+
};
|
|
21
|
+
//# sourceMappingURL=Tabs.style.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":["StyleSheet","Palettes","Spacing","getStyle","computedStyle","container","flexDirection","tabContainer","paddingHorizontal","paddingVertical","bottomMarker","position","height","bottom","left","backgroundColor","yellow","create"],"sourceRoot":"..\\..\\src","sources":["Tabs.style.tsx"],"mappings":"AAAA,SAASA,UAAU,QAAQ,cAAc;AAIzC,SAASC,QAAQ,EAAEC,OAAO,QAAQ,cAAc;AAQhD,OAAO,MAAMC,QAAQ,GAAG,MAAM;EAC5B,MAAMC,aAAiC,GAAG,CAAC,CAAC;EAE5CA,aAAa,CAACC,SAAS,GAAG;IACxBC,aAAa,EAAE;EACjB,CAAC;EAEDF,aAAa,CAACG,YAAY,GAAG;IAC3BC,iBAAiB,EAAEN,OAAO,CAAC,EAAE,CAAC;IAC9BO,eAAe,EAAEP,OAAO,CAAC,CAAC;EAC5B,CAAC;EAEDE,aAAa,CAACM,YAAY,GAAG;IAC3BC,QAAQ,EAAE,UAAU;IACpBC,MAAM,EAAE,CAAC;IACTC,MAAM,EAAE,CAAC;IACTC,IAAI,EAAE,CAAC;IACPC,eAAe,EAAEd,QAAQ,CAACe,MAAM,CAAC,GAAG;EACtC,CAAC;EAED,OAAOhB,UAAU,CAACiB,MAAM,CAACb,aAAa,CAAC;AACzC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"names":[],"sourceRoot":"..\\..\\src","sources":["Tabs.type.ts"],"mappings":""}
|