@draftbit/core 47.2.13-f38301.2 → 47.2.14-9580d7.2
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/lib/src/Provider.d.ts +10 -0
- package/lib/src/Provider.js +10 -0
- package/lib/src/Provider.js.map +1 -0
- package/lib/src/components/Accordion/AccordionGroup.d.ts +21 -0
- package/lib/src/components/Accordion/AccordionGroup.js +45 -0
- package/lib/src/components/Accordion/AccordionGroup.js.map +1 -0
- package/lib/src/components/Accordion/AccordionItem.d.ts +15 -0
- package/lib/src/components/Accordion/AccordionItem.js +33 -0
- package/lib/src/components/Accordion/AccordionItem.js.map +1 -0
- package/lib/src/components/Accordion/index.d.ts +2 -0
- package/lib/src/components/Accordion/index.js.map +1 -0
- package/lib/src/components/ActionSheet/ActionSheet.d.ts +8 -0
- package/lib/src/components/ActionSheet/ActionSheet.js +46 -0
- package/lib/src/components/ActionSheet/ActionSheet.js.map +1 -0
- package/lib/src/components/ActionSheet/ActionSheetCancel.d.ts +10 -0
- package/lib/src/components/ActionSheet/ActionSheetCancel.js +7 -0
- package/lib/src/components/ActionSheet/ActionSheetCancel.js.map +1 -0
- package/lib/src/components/ActionSheet/ActionSheetItem.d.ts +10 -0
- package/lib/src/components/ActionSheet/ActionSheetItem.js +31 -0
- package/lib/src/components/ActionSheet/ActionSheetItem.js.map +1 -0
- package/lib/src/components/ActionSheet/index.d.ts +3 -0
- package/lib/src/components/ActionSheet/index.js.map +1 -0
- package/lib/src/components/AnimatedCircularProgress.d.ts +13 -0
- package/lib/src/components/AnimatedCircularProgress.js +44 -0
- package/lib/src/components/AnimatedCircularProgress.js.map +1 -0
- package/lib/src/components/AspectRatio.d.ts +8 -0
- package/lib/src/components/AspectRatio.js +19 -0
- package/lib/src/components/AspectRatio.js.map +1 -0
- package/lib/src/components/AvatarEdit.d.ts +15 -0
- package/lib/src/components/AvatarEdit.js +31 -0
- package/lib/src/components/AvatarEdit.js.map +1 -0
- package/lib/src/components/Banner.d.ts +22 -0
- package/lib/src/components/Banner.js +110 -0
- package/lib/src/components/Banner.js.map +1 -0
- package/lib/src/components/BottomSheet/BottomSheet.d.ts +24 -0
- package/lib/src/components/BottomSheet/BottomSheet.js +72 -0
- package/lib/src/components/BottomSheet/BottomSheet.js.map +1 -0
- package/lib/src/components/BottomSheet/BottomSheetComponent.d.ts +169 -0
- package/lib/src/components/BottomSheet/BottomSheetComponent.js +438 -0
- package/lib/src/components/BottomSheet/BottomSheetComponent.js.map +1 -0
- package/lib/src/components/BottomSheet/index.d.ts +1 -0
- package/lib/src/components/BottomSheet/index.js.map +1 -0
- package/lib/src/components/Button.d.ts +6 -0
- package/lib/src/components/Button.js +115 -0
- package/lib/src/components/Button.js.map +1 -0
- package/lib/src/components/Card.d.ts +42 -0
- package/lib/src/components/Card.js +58 -0
- package/lib/src/components/Card.js.map +1 -0
- package/lib/src/components/Checkbox/Checkbox.d.ts +19 -0
- package/lib/src/components/Checkbox/Checkbox.js +63 -0
- package/lib/src/components/Checkbox/Checkbox.js.map +1 -0
- package/lib/src/components/Checkbox/CheckboxGroup.d.ts +14 -0
- package/lib/src/components/Checkbox/CheckboxGroup.js +22 -0
- package/lib/src/components/Checkbox/CheckboxGroup.js.map +1 -0
- package/lib/src/components/Checkbox/CheckboxGroupRow.d.ts +21 -0
- package/lib/src/components/Checkbox/CheckboxGroupRow.js +77 -0
- package/lib/src/components/Checkbox/CheckboxGroupRow.js.map +1 -0
- package/lib/src/components/Checkbox/CheckboxRow.d.ts +17 -0
- package/lib/src/components/Checkbox/CheckboxRow.js +78 -0
- package/lib/src/components/Checkbox/CheckboxRow.js.map +1 -0
- package/lib/src/components/Checkbox/context.d.ts +13 -0
- package/lib/src/components/Checkbox/context.js +15 -0
- package/lib/src/components/Checkbox/context.js.map +1 -0
- package/lib/src/components/Checkbox/index.d.ts +3 -0
- package/lib/src/components/Checkbox/index.js.map +1 -0
- package/lib/src/components/CircleImage.d.ts +9 -0
- package/lib/src/components/CircleImage.js +9 -0
- package/lib/src/components/CircleImage.js.map +1 -0
- package/lib/src/components/CircularProgress.d.ts +42 -0
- package/lib/src/components/CircularProgress.js +82 -0
- package/lib/src/components/CircularProgress.js.map +1 -0
- package/lib/src/components/Config.d.ts +35 -0
- package/lib/src/components/Config.js +65 -0
- package/lib/src/components/Config.js.map +1 -0
- package/lib/src/components/Container.d.ts +20 -0
- package/lib/src/components/Container.js +44 -0
- package/lib/src/components/Container.js.map +1 -0
- package/lib/src/components/DatePicker/DatePicker.d.ts +33 -0
- package/lib/src/components/DatePicker/DatePicker.js +384 -0
- package/lib/src/components/DatePicker/DatePicker.js.map +1 -0
- package/lib/src/components/DatePicker/DatePickerComponent.d.ts +4 -0
- package/lib/src/components/DatePicker/DatePickerComponent.js +14 -0
- package/lib/src/components/DatePicker/DatePickerComponent.js.map +1 -0
- package/lib/src/components/DatePicker/DatePickerComponent.web.d.ts +4506 -0
- package/lib/src/components/DatePicker/DatePickerComponent.web.js +31 -0
- package/lib/src/components/DatePicker/DatePickerComponent.web.js.map +1 -0
- package/lib/src/components/DatePicker/DatePickerComponentType.d.ts +11 -0
- package/lib/src/components/DatePicker/DatePickerComponentType.js.map +1 -0
- package/lib/src/components/DeckSwiper/DeckSwiper.d.ts +25 -0
- package/lib/src/components/DeckSwiper/DeckSwiper.js +78 -0
- package/lib/src/components/DeckSwiper/DeckSwiper.js.map +1 -0
- package/lib/src/components/DeckSwiper/DeckSwiperCard.d.ts +11 -0
- package/lib/src/components/DeckSwiper/DeckSwiperCard.js +21 -0
- package/lib/src/components/DeckSwiper/DeckSwiperCard.js.map +1 -0
- package/lib/src/components/DeckSwiper/index.d.ts +2 -0
- package/lib/src/components/DeckSwiper/index.js.map +1 -0
- package/lib/src/components/DeprecatedButton.d.ts +53 -0
- package/lib/src/components/DeprecatedButton.js +84 -0
- package/lib/src/components/DeprecatedButton.js.map +1 -0
- package/lib/src/components/DeprecatedCardWrapper.d.ts +14 -0
- package/lib/src/components/DeprecatedCardWrapper.js +19 -0
- package/lib/src/components/DeprecatedCardWrapper.js.map +1 -0
- package/lib/src/components/DeprecatedFAB.d.ts +55 -0
- package/lib/src/components/DeprecatedFAB.js +115 -0
- package/lib/src/components/DeprecatedFAB.js.map +1 -0
- package/lib/src/components/Divider.d.ts +12 -0
- package/lib/src/components/Divider.js +14 -0
- package/lib/src/components/Divider.js.map +1 -0
- package/lib/src/components/Elevation.d.ts +11 -0
- package/lib/src/components/Elevation.js +21 -0
- package/lib/src/components/Elevation.js.map +1 -0
- package/lib/src/components/FAB.d.ts +19 -0
- package/lib/src/components/FAB.js +47 -0
- package/lib/src/components/FAB.js.map +1 -0
- package/lib/src/components/FieldSearchBarFull.d.ts +19 -0
- package/lib/src/components/FieldSearchBarFull.js +54 -0
- package/lib/src/components/FieldSearchBarFull.js.map +1 -0
- package/lib/src/components/FormRow.d.ts +13 -0
- package/lib/src/components/FormRow.js +20 -0
- package/lib/src/components/FormRow.js.map +1 -0
- package/lib/src/components/IconButton.d.ts +20 -0
- package/lib/src/components/IconButton.js +36 -0
- package/lib/src/components/IconButton.js.map +1 -0
- package/lib/src/components/Image.d.ts +4 -0
- package/lib/src/components/Image.js +48 -0
- package/lib/src/components/Image.js.map +1 -0
- package/lib/src/components/Justification.d.ts +1 -0
- package/lib/src/components/Justification.js +2 -0
- package/lib/src/components/Justification.js.map +1 -0
- package/lib/src/components/Layout.d.ts +42 -0
- package/lib/src/components/Layout.js +51 -0
- package/lib/src/components/Layout.js.map +1 -0
- package/lib/src/components/Markdown.d.ts +7 -0
- package/lib/src/components/Markdown.js +11 -0
- package/lib/src/components/Markdown.js.map +1 -0
- package/lib/src/components/NumberInput.d.ts +8 -0
- package/lib/src/components/NumberInput.js +50 -0
- package/lib/src/components/NumberInput.js.map +1 -0
- package/lib/src/components/Picker/Picker.d.ts +36 -0
- package/lib/src/components/Picker/Picker.js +288 -0
- package/lib/src/components/Picker/Picker.js.map +1 -0
- package/lib/src/components/Picker/PickerComponent.android.d.ts +6 -0
- package/lib/src/components/Picker/PickerComponent.android.js +70 -0
- package/lib/src/components/Picker/PickerComponent.android.js.map +1 -0
- package/lib/src/components/Picker/PickerComponent.ios.d.ts +7 -0
- package/lib/src/components/Picker/PickerComponent.ios.js +80 -0
- package/lib/src/components/Picker/PickerComponent.ios.js.map +1 -0
- package/lib/src/components/Picker/PickerComponent.web.d.ts +6 -0
- package/lib/src/components/Picker/PickerComponent.web.js +71 -0
- package/lib/src/components/Picker/PickerComponent.web.js.map +1 -0
- package/lib/src/components/Picker/PickerTypes.d.ts +18 -0
- package/lib/src/components/Picker/PickerTypes.js.map +1 -0
- package/lib/src/components/Portal/Portal.d.ts +42 -0
- package/lib/src/components/Portal/Portal.js +36 -0
- package/lib/src/components/Portal/Portal.js.map +1 -0
- package/lib/src/components/Portal/PortalConsumer.d.ts +15 -0
- package/lib/src/components/Portal/PortalConsumer.js +28 -0
- package/lib/src/components/Portal/PortalConsumer.js.map +1 -0
- package/lib/src/components/Portal/PortalHost.d.ts +47 -0
- package/lib/src/components/Portal/PortalHost.js +108 -0
- package/lib/src/components/Portal/PortalHost.js.map +1 -0
- package/lib/src/components/Portal/PortalManager.d.ts +18 -0
- package/lib/src/components/Portal/PortalManager.js +33 -0
- package/lib/src/components/Portal/PortalManager.js.map +1 -0
- package/lib/src/components/Pressable.d.ts +9 -0
- package/lib/src/components/Pressable.js +13 -0
- package/lib/src/components/Pressable.js.map +1 -0
- package/lib/src/components/ProgressBar.d.ts +34 -0
- package/lib/src/components/ProgressBar.js +119 -0
- package/lib/src/components/ProgressBar.js.map +1 -0
- package/lib/src/components/ProgressCircle.d.ts +20 -0
- package/lib/src/components/ProgressCircle.js +14 -0
- package/lib/src/components/ProgressCircle.js.map +1 -0
- package/lib/src/components/ProgressIndicator.d.ts +23 -0
- package/lib/src/components/ProgressIndicator.js +28 -0
- package/lib/src/components/ProgressIndicator.js.map +1 -0
- package/lib/src/components/RadioButton/RadioButton.d.ts +17 -0
- package/lib/src/components/RadioButton/RadioButton.js +18 -0
- package/lib/src/components/RadioButton/RadioButton.js.map +1 -0
- package/lib/src/components/RadioButton/RadioButtonFieldGroup.d.ts +12 -0
- package/lib/src/components/RadioButton/RadioButtonFieldGroup.js +18 -0
- package/lib/src/components/RadioButton/RadioButtonFieldGroup.js.map +1 -0
- package/lib/src/components/RadioButton/RadioButtonGroup.d.ts +15 -0
- package/lib/src/components/RadioButton/RadioButtonGroup.js +44 -0
- package/lib/src/components/RadioButton/RadioButtonGroup.js.map +1 -0
- package/lib/src/components/RadioButton/RadioButtonRow.d.ts +21 -0
- package/lib/src/components/RadioButton/RadioButtonRow.js +77 -0
- package/lib/src/components/RadioButton/RadioButtonRow.js.map +1 -0
- package/lib/src/components/RadioButton/context.d.ts +13 -0
- package/lib/src/components/RadioButton/context.js +15 -0
- package/lib/src/components/RadioButton/context.js.map +1 -0
- package/lib/src/components/RadioButton/index.d.ts +4 -0
- package/lib/src/components/RadioButton/index.js.map +1 -0
- package/lib/src/components/ResizeMode.d.ts +1 -0
- package/lib/src/components/ResizeMode.js +2 -0
- package/lib/src/components/ResizeMode.js.map +1 -0
- package/lib/src/components/Row.d.ts +20 -0
- package/lib/src/components/Row.js +49 -0
- package/lib/src/components/Row.js.map +1 -0
- package/lib/src/components/RowBodyIcon.d.ts +15 -0
- package/lib/src/components/RowBodyIcon.js +9 -0
- package/lib/src/components/RowBodyIcon.js.map +1 -0
- package/lib/src/components/RowHeadlineImageCaption.d.ts +15 -0
- package/lib/src/components/RowHeadlineImageCaption.js +13 -0
- package/lib/src/components/RowHeadlineImageCaption.js.map +1 -0
- package/lib/src/components/RowHeadlineImageIcon.d.ts +17 -0
- package/lib/src/components/RowHeadlineImageIcon.js +15 -0
- package/lib/src/components/RowHeadlineImageIcon.js.map +1 -0
- package/lib/src/components/SVG.d.ts +8 -0
- package/lib/src/components/SVG.js +14 -0
- package/lib/src/components/SVG.js.map +1 -0
- package/lib/src/components/ScreenContainer.d.ts +17 -0
- package/lib/src/components/ScreenContainer.js +36 -0
- package/lib/src/components/ScreenContainer.js.map +1 -0
- package/lib/src/components/Shadow.d.ts +23 -0
- package/lib/src/components/Shadow.js +26 -0
- package/lib/src/components/Shadow.js.map +1 -0
- package/lib/src/components/Slider.d.ts +27 -0
- package/lib/src/components/Slider.js +64 -0
- package/lib/src/components/Slider.js.map +1 -0
- package/lib/src/components/StarRating.d.ts +20 -0
- package/lib/src/components/StarRating.js +51 -0
- package/lib/src/components/StarRating.js.map +1 -0
- package/lib/src/components/StepIndicator.d.ts +53 -0
- package/lib/src/components/StepIndicator.js +347 -0
- package/lib/src/components/StepIndicator.js.map +1 -0
- package/lib/src/components/Stepper.d.ts +19 -0
- package/lib/src/components/Stepper.js +42 -0
- package/lib/src/components/Stepper.js.map +1 -0
- package/lib/src/components/Surface.d.ts +12 -0
- package/lib/src/components/Surface.js +33 -0
- package/lib/src/components/Surface.js.map +1 -0
- package/lib/src/components/SwipeableView/SwipeableView.d.ts +28 -0
- package/lib/src/components/SwipeableView/SwipeableView.js +119 -0
- package/lib/src/components/SwipeableView/SwipeableView.js.map +1 -0
- package/lib/src/components/SwipeableView/SwipeableViewButton.d.ts +12 -0
- package/lib/src/components/SwipeableView/SwipeableViewButton.js +6 -0
- package/lib/src/components/SwipeableView/SwipeableViewButton.js.map +1 -0
- package/lib/src/components/SwipeableView/SwipeableViewSwipeHandler.d.ts +12 -0
- package/lib/src/components/SwipeableView/SwipeableViewSwipeHandler.js +6 -0
- package/lib/src/components/SwipeableView/SwipeableViewSwipeHandler.js.map +1 -0
- package/lib/src/components/SwipeableView/index.d.ts +3 -0
- package/lib/src/components/SwipeableView/index.js.map +1 -0
- package/lib/src/components/Swiper/Swiper.d.ts +29 -0
- package/lib/src/components/Swiper/Swiper.js +56 -0
- package/lib/src/components/Swiper/Swiper.js.map +1 -0
- package/lib/src/components/Swiper/SwiperItem.d.ts +8 -0
- package/lib/src/components/Swiper/SwiperItem.js +10 -0
- package/lib/src/components/Swiper/SwiperItem.js.map +1 -0
- package/lib/src/components/Swiper/index.d.ts +2 -0
- package/lib/src/components/Swiper/index.js.map +1 -0
- package/lib/src/components/Switch.d.ts +50 -0
- package/lib/src/components/Switch.js +57 -0
- package/lib/src/components/Switch.js.map +1 -0
- package/lib/src/components/TabView/TabView.d.ts +25 -0
- package/lib/src/components/TabView/TabView.js +55 -0
- package/lib/src/components/TabView/TabView.js.map +1 -0
- package/lib/src/components/TabView/TabViewItem.d.ts +10 -0
- package/lib/src/components/TabView/TabViewItem.js +12 -0
- package/lib/src/components/TabView/TabViewItem.js.map +1 -0
- package/lib/src/components/TabView/index.d.ts +2 -0
- package/lib/src/components/TabView/index.js.map +1 -0
- package/lib/src/components/Table/Table.d.ts +18 -0
- package/lib/src/components/Table/Table.js +94 -0
- package/lib/src/components/Table/Table.js.map +1 -0
- package/lib/src/components/Table/TableCell.d.ts +8 -0
- package/lib/src/components/Table/TableCell.js +32 -0
- package/lib/src/components/Table/TableCell.js.map +1 -0
- package/lib/src/components/Table/TableCommon.d.ts +19 -0
- package/lib/src/components/Table/TableCommon.js +13 -0
- package/lib/src/components/Table/TableCommon.js.map +1 -0
- package/lib/src/components/Table/TableRow.d.ts +13 -0
- package/lib/src/components/Table/TableRow.js +38 -0
- package/lib/src/components/Table/TableRow.js.map +1 -0
- package/lib/src/components/Table/index.d.ts +3 -0
- package/lib/src/components/Table/index.js.map +1 -0
- package/lib/src/components/Text.d.ts +19 -0
- package/lib/src/components/Text.js +34 -0
- package/lib/src/components/Text.js.map +1 -0
- package/lib/src/components/TextField.d.ts +71 -0
- package/lib/src/components/TextField.js +429 -0
- package/lib/src/components/TextField.js.map +1 -0
- package/lib/src/components/ToggleButton.d.ts +24 -0
- package/lib/src/components/ToggleButton.js +40 -0
- package/lib/src/components/ToggleButton.js.map +1 -0
- package/lib/src/components/Touchable.d.ts +9 -0
- package/lib/src/components/Touchable.js +13 -0
- package/lib/src/components/Touchable.js.map +1 -0
- package/lib/src/components/Touchable.web.d.ts +2 -0
- package/lib/src/components/Touchable.web.js.map +1 -0
- package/lib/src/components/Typography.d.ts +21 -0
- package/lib/src/components/Typography.js +37 -0
- package/lib/src/components/Typography.js.map +1 -0
- package/lib/src/components/YoutubePlayer/YoutubePlayer.d.ts +4 -0
- package/lib/src/components/YoutubePlayer/YoutubePlayer.js +21 -0
- package/lib/src/components/YoutubePlayer/YoutubePlayer.js.map +1 -0
- package/lib/src/components/YoutubePlayer/YoutubePlayer.native.d.ts +4 -0
- package/lib/src/components/YoutubePlayer/YoutubePlayer.native.js +10 -0
- package/lib/src/components/YoutubePlayer/YoutubePlayer.native.js.map +1 -0
- package/lib/src/components/YoutubePlayer/YoutubePlayerProps.d.ts +7 -0
- package/lib/src/components/YoutubePlayer/YoutubePlayerProps.js.map +1 -0
- package/lib/src/components/YoutubePlayer/index.d.ts +1 -0
- package/lib/src/components/YoutubePlayer/index.js.map +1 -0
- package/lib/src/components/useAuthState.d.ts +1 -0
- package/lib/src/components/useAuthState.js +32 -0
- package/lib/src/components/useAuthState.js.map +1 -0
- package/lib/src/constants.d.ts +1 -0
- package/lib/src/constants.js +11 -0
- package/lib/src/constants.js.map +1 -0
- package/lib/src/hooks.d.ts +1 -0
- package/lib/src/hooks.js +13 -0
- package/lib/src/hooks.js.map +1 -0
- package/lib/src/index.d.ts +51 -0
- package/lib/src/index.js +54 -0
- package/lib/src/index.js.map +1 -0
- package/lib/src/interfaces/Icon.d.ts +21 -0
- package/lib/src/interfaces/Icon.js +9 -0
- package/lib/src/interfaces/Icon.js.map +1 -0
- package/lib/src/styles/DarkTheme.d.ts +3 -0
- package/lib/src/styles/DarkTheme.js +27 -0
- package/lib/src/styles/DarkTheme.js.map +1 -0
- package/lib/src/styles/DefaultTheme.d.ts +1501 -0
- package/lib/src/styles/DefaultTheme.js +112 -0
- package/lib/src/styles/DefaultTheme.js.map +1 -0
- package/lib/src/styles/fonts.d.ts +5 -0
- package/lib/src/styles/fonts.js +63 -0
- package/lib/src/styles/fonts.js.map +1 -0
- package/lib/src/styles/overlay.d.ts +2 -0
- package/lib/src/styles/overlay.js +61 -0
- package/lib/src/styles/overlay.js.map +1 -0
- package/lib/src/styles/shadow.d.ts +23 -0
- package/lib/src/styles/shadow.js +52 -0
- package/lib/src/styles/shadow.js.map +1 -0
- package/lib/src/theming.d.ts +8 -0
- package/lib/src/theming.js +4 -0
- package/lib/src/theming.js.map +1 -0
- package/lib/src/utilities.d.ts +34 -0
- package/lib/src/utilities.js +153 -0
- package/lib/src/utilities.js.map +1 -0
- package/lib/tsconfig.tsbuildinfo +1 -0
- package/package.json +6 -23
- package/src/Provider.js +1 -0
- package/src/Provider.js.map +1 -0
- package/src/components/Accordion/AccordionGroup.js +1 -0
- package/src/components/Accordion/AccordionGroup.js.map +1 -0
- package/src/components/Accordion/AccordionItem.js +1 -0
- package/src/components/Accordion/AccordionItem.js.map +1 -0
- package/src/components/Accordion/index.js +1 -0
- package/src/components/Accordion/index.js.map +1 -0
- package/src/components/ActionSheet/ActionSheet.js +1 -0
- package/src/components/ActionSheet/ActionSheet.js.map +1 -0
- package/src/components/ActionSheet/ActionSheetCancel.js +1 -0
- package/src/components/ActionSheet/ActionSheetCancel.js.map +1 -0
- package/src/components/ActionSheet/ActionSheetItem.js +1 -0
- package/src/components/ActionSheet/ActionSheetItem.js.map +1 -0
- package/src/components/ActionSheet/index.js +1 -0
- package/src/components/ActionSheet/index.js.map +1 -0
- package/src/components/AnimatedCircularProgress.js +1 -0
- package/src/components/AnimatedCircularProgress.js.map +1 -0
- package/src/components/AspectRatio.js +1 -0
- package/src/components/AspectRatio.js.map +1 -0
- package/src/components/AvatarEdit.js +1 -0
- package/src/components/AvatarEdit.js.map +1 -0
- package/src/components/Banner.js +1 -0
- package/src/components/Banner.js.map +1 -0
- package/src/components/BottomSheet/BottomSheet.js +1 -0
- package/src/components/BottomSheet/BottomSheet.js.map +1 -0
- package/src/components/BottomSheet/BottomSheetComponent.js +1 -0
- package/src/components/BottomSheet/BottomSheetComponent.js.map +1 -0
- package/src/components/BottomSheet/index.js +1 -0
- package/src/components/BottomSheet/index.js.map +1 -0
- package/src/components/Button.js +1 -0
- package/src/components/Button.js.map +1 -0
- package/src/components/Card.js +1 -0
- package/src/components/Card.js.map +1 -0
- package/src/components/Checkbox/Checkbox.js +1 -0
- package/src/components/Checkbox/Checkbox.js.map +1 -0
- package/src/components/Checkbox/CheckboxGroup.js +1 -0
- package/src/components/Checkbox/CheckboxGroup.js.map +1 -0
- package/src/components/Checkbox/CheckboxGroupRow.js +1 -0
- package/src/components/Checkbox/CheckboxGroupRow.js.map +1 -0
- package/src/components/Checkbox/CheckboxRow.js +1 -0
- package/src/components/Checkbox/CheckboxRow.js.map +1 -0
- package/src/components/Checkbox/context.js +1 -0
- package/src/components/Checkbox/context.js.map +1 -0
- package/src/components/Checkbox/index.js +1 -0
- package/src/components/Checkbox/index.js.map +1 -0
- package/src/components/CircleImage.js +1 -0
- package/src/components/CircleImage.js.map +1 -0
- package/src/components/CircularProgress.js +1 -0
- package/src/components/CircularProgress.js.map +1 -0
- package/src/components/Config.js +1 -0
- package/src/components/Config.js.map +1 -0
- package/src/components/Container.js +1 -0
- package/src/components/Container.js.map +1 -0
- package/src/components/DatePicker/DatePicker.js +1 -0
- package/src/components/DatePicker/DatePicker.js.map +1 -0
- package/src/components/DatePicker/DatePickerComponent.js +1 -0
- package/src/components/DatePicker/DatePickerComponent.js.map +1 -0
- package/src/components/DatePicker/DatePickerComponent.web.js +1 -0
- package/src/components/DatePicker/DatePickerComponent.web.js.map +1 -0
- package/src/components/DatePicker/DatePickerComponentType.js +1 -0
- package/src/components/DatePicker/DatePickerComponentType.js.map +1 -0
- package/src/components/DeckSwiper/DeckSwiper.js +1 -0
- package/src/components/DeckSwiper/DeckSwiper.js.map +1 -0
- package/src/components/DeckSwiper/DeckSwiperCard.js +1 -0
- package/src/components/DeckSwiper/DeckSwiperCard.js.map +1 -0
- package/src/components/DeckSwiper/index.js +1 -0
- package/src/components/DeckSwiper/index.js.map +1 -0
- package/src/components/DeprecatedButton.js +1 -0
- package/src/components/DeprecatedButton.js.map +1 -0
- package/src/components/DeprecatedCardWrapper.js +1 -0
- package/src/components/DeprecatedCardWrapper.js.map +1 -0
- package/src/components/DeprecatedFAB.js +1 -0
- package/src/components/DeprecatedFAB.js.map +1 -0
- package/src/components/Divider.js +1 -0
- package/src/components/Divider.js.map +1 -0
- package/src/components/Elevation.js +1 -0
- package/src/components/Elevation.js.map +1 -0
- package/src/components/FAB.js +1 -0
- package/src/components/FAB.js.map +1 -0
- package/src/components/FieldSearchBarFull.js +1 -0
- package/src/components/FieldSearchBarFull.js.map +1 -0
- package/src/components/FormRow.js +1 -0
- package/src/components/FormRow.js.map +1 -0
- package/src/components/IconButton.js +1 -0
- package/src/components/IconButton.js.map +1 -0
- package/src/components/Image.js +1 -0
- package/src/components/Image.js.map +1 -0
- package/src/components/Justification.js +1 -0
- package/src/components/Justification.js.map +1 -0
- package/src/components/Layout.js +1 -0
- package/src/components/Layout.js.map +1 -0
- package/src/components/Markdown.js +1 -0
- package/src/components/Markdown.js.map +1 -0
- package/src/components/NumberInput.js +1 -0
- package/src/components/NumberInput.js.map +1 -0
- package/src/components/Picker/Picker.js +1 -0
- package/src/components/Picker/Picker.js.map +1 -0
- package/src/components/Picker/PickerComponent.android.js +1 -0
- package/src/components/Picker/PickerComponent.android.js.map +1 -0
- package/src/components/Picker/PickerComponent.ios.js +1 -0
- package/src/components/Picker/PickerComponent.ios.js.map +1 -0
- package/src/components/Picker/PickerComponent.web.js +1 -0
- package/src/components/Picker/PickerComponent.web.js.map +1 -0
- package/src/components/Picker/PickerTypes.js +1 -0
- package/src/components/Picker/PickerTypes.js.map +1 -0
- package/src/components/Portal/Portal.js +1 -0
- package/src/components/Portal/Portal.js.map +1 -0
- package/src/components/Portal/PortalConsumer.js +1 -0
- package/src/components/Portal/PortalConsumer.js.map +1 -0
- package/src/components/Portal/PortalHost.js +1 -0
- package/src/components/Portal/PortalHost.js.map +1 -0
- package/src/components/Portal/PortalManager.js +1 -0
- package/src/components/Portal/PortalManager.js.map +1 -0
- package/src/components/Pressable.js +1 -0
- package/src/components/Pressable.js.map +1 -0
- package/src/components/ProgressBar.js +1 -0
- package/src/components/ProgressBar.js.map +1 -0
- package/src/components/ProgressCircle.js +1 -0
- package/src/components/ProgressCircle.js.map +1 -0
- package/src/components/ProgressIndicator.js +1 -0
- package/src/components/ProgressIndicator.js.map +1 -0
- package/src/components/RadioButton/RadioButton.js +1 -0
- package/src/components/RadioButton/RadioButton.js.map +1 -0
- package/src/components/RadioButton/RadioButtonFieldGroup.js +1 -0
- package/src/components/RadioButton/RadioButtonFieldGroup.js.map +1 -0
- package/src/components/RadioButton/RadioButtonGroup.js +1 -0
- package/src/components/RadioButton/RadioButtonGroup.js.map +1 -0
- package/src/components/RadioButton/RadioButtonRow.js +1 -0
- package/src/components/RadioButton/RadioButtonRow.js.map +1 -0
- package/src/components/RadioButton/context.js +1 -0
- package/src/components/RadioButton/context.js.map +1 -0
- package/src/components/RadioButton/index.js +1 -0
- package/src/components/RadioButton/index.js.map +1 -0
- package/src/components/ResizeMode.js +1 -0
- package/src/components/ResizeMode.js.map +1 -0
- package/src/components/Row.js +1 -0
- package/src/components/Row.js.map +1 -0
- package/src/components/RowBodyIcon.js +1 -0
- package/src/components/RowBodyIcon.js.map +1 -0
- package/src/components/RowHeadlineImageCaption.js +1 -0
- package/src/components/RowHeadlineImageCaption.js.map +1 -0
- package/src/components/RowHeadlineImageIcon.js +1 -0
- package/src/components/RowHeadlineImageIcon.js.map +1 -0
- package/src/components/SVG.js +1 -0
- package/src/components/SVG.js.map +1 -0
- package/src/components/ScreenContainer.js +1 -0
- package/src/components/ScreenContainer.js.map +1 -0
- package/src/components/Shadow.js +1 -0
- package/src/components/Shadow.js.map +1 -0
- package/src/components/Slider.js +1 -0
- package/src/components/Slider.js.map +1 -0
- package/src/components/StarRating.js +1 -0
- package/src/components/StarRating.js.map +1 -0
- package/src/components/StepIndicator.js +1 -0
- package/src/components/StepIndicator.js.map +1 -0
- package/src/components/Stepper.js +1 -0
- package/src/components/Stepper.js.map +1 -0
- package/src/components/Surface.js +1 -0
- package/src/components/Surface.js.map +1 -0
- package/src/components/SwipeableView/SwipeableView.js +1 -0
- package/src/components/SwipeableView/SwipeableView.js.map +1 -0
- package/src/components/SwipeableView/SwipeableViewButton.js +1 -0
- package/src/components/SwipeableView/SwipeableViewButton.js.map +1 -0
- package/src/components/SwipeableView/SwipeableViewSwipeHandler.js +1 -0
- package/src/components/SwipeableView/SwipeableViewSwipeHandler.js.map +1 -0
- package/src/components/SwipeableView/index.js +1 -0
- package/src/components/SwipeableView/index.js.map +1 -0
- package/src/components/Swiper/Swiper.js +1 -0
- package/src/components/Swiper/Swiper.js.map +1 -0
- package/src/components/Swiper/SwiperItem.js +1 -0
- package/src/components/Swiper/SwiperItem.js.map +1 -0
- package/src/components/Swiper/index.js +1 -0
- package/src/components/Swiper/index.js.map +1 -0
- package/src/components/Switch.js +1 -0
- package/src/components/Switch.js.map +1 -0
- package/src/components/TabView/TabView.js +1 -0
- package/src/components/TabView/TabView.js.map +1 -0
- package/src/components/TabView/TabViewItem.js +1 -0
- package/src/components/TabView/TabViewItem.js.map +1 -0
- package/src/components/TabView/index.js +1 -0
- package/src/components/TabView/index.js.map +1 -0
- package/src/components/Table/Table.js +1 -0
- package/src/components/Table/Table.js.map +1 -0
- package/src/components/Table/TableCell.js +1 -0
- package/src/components/Table/TableCell.js.map +1 -0
- package/src/components/Table/TableCommon.js +1 -0
- package/src/components/Table/TableCommon.js.map +1 -0
- package/src/components/Table/TableRow.js +1 -0
- package/src/components/Table/TableRow.js.map +1 -0
- package/src/components/Table/index.js +1 -0
- package/src/components/Table/index.js.map +1 -0
- package/src/components/Text.js +1 -0
- package/src/components/Text.js.map +1 -0
- package/src/components/TextField.js +1 -0
- package/src/components/TextField.js.map +1 -0
- package/src/components/ToggleButton.js +1 -0
- package/src/components/ToggleButton.js.map +1 -0
- package/src/components/Touchable.js +1 -0
- package/src/components/Touchable.js.map +1 -0
- package/src/components/Touchable.web.js +1 -0
- package/src/components/Touchable.web.js.map +1 -0
- package/src/components/Typography.js +1 -0
- package/src/components/Typography.js.map +1 -0
- package/src/components/YoutubePlayer/YoutubePlayer.js +1 -0
- package/src/components/YoutubePlayer/YoutubePlayer.js.map +1 -0
- package/src/components/YoutubePlayer/YoutubePlayer.native.js +1 -0
- package/src/components/YoutubePlayer/YoutubePlayer.native.js.map +1 -0
- package/src/components/YoutubePlayer/YoutubePlayerProps.js +1 -0
- package/src/components/YoutubePlayer/YoutubePlayerProps.js.map +1 -0
- package/src/components/YoutubePlayer/index.js +1 -0
- package/src/components/YoutubePlayer/index.js.map +1 -0
- package/src/components/useAuthState.js +1 -0
- package/src/components/useAuthState.js.map +1 -0
- package/src/constants.js +1 -0
- package/src/constants.js.map +1 -0
- package/src/hooks.js +1 -0
- package/src/hooks.js.map +1 -0
- package/src/index.js +1 -0
- package/src/index.js.map +1 -0
- package/src/interfaces/Icon.js +1 -0
- package/src/interfaces/Icon.js.map +1 -0
- package/src/styles/DarkTheme.js +1 -0
- package/src/styles/DarkTheme.js.map +1 -0
- package/src/styles/DefaultTheme.js +1 -0
- package/src/styles/DefaultTheme.js.map +1 -0
- package/src/styles/fonts.js +1 -0
- package/src/styles/fonts.js.map +1 -0
- package/src/styles/overlay.js +1 -0
- package/src/styles/overlay.js.map +1 -0
- package/src/styles/shadow.js +1 -0
- package/src/styles/shadow.js.map +1 -0
- package/src/theming.js +1 -0
- package/src/theming.js.map +1 -0
- package/src/utilities.js +1 -0
- package/src/utilities.js.map +1 -0
- package/lib/commonjs/Provider.js +0 -21
- package/lib/commonjs/Provider.js.map +0 -1
- package/lib/commonjs/assets/bg.png +0 -0
- package/lib/commonjs/assets/icon.png +0 -0
- package/lib/commonjs/assets/warning.png +0 -0
- package/lib/commonjs/components/Accordion/AccordionGroup.js +0 -79
- package/lib/commonjs/components/Accordion/AccordionGroup.js.map +0 -1
- package/lib/commonjs/components/Accordion/AccordionItem.js +0 -65
- package/lib/commonjs/components/Accordion/AccordionItem.js.map +0 -1
- package/lib/commonjs/components/Accordion/index.js +0 -21
- package/lib/commonjs/components/Accordion/index.js.map +0 -1
- package/lib/commonjs/components/ActionSheet/ActionSheet.js +0 -65
- package/lib/commonjs/components/ActionSheet/ActionSheet.js.map +0 -1
- package/lib/commonjs/components/ActionSheet/ActionSheetCancel.js +0 -26
- package/lib/commonjs/components/ActionSheet/ActionSheetCancel.js.map +0 -1
- package/lib/commonjs/components/ActionSheet/ActionSheetItem.js +0 -55
- package/lib/commonjs/components/ActionSheet/ActionSheetItem.js.map +0 -1
- package/lib/commonjs/components/ActionSheet/index.js +0 -28
- package/lib/commonjs/components/ActionSheet/index.js.map +0 -1
- package/lib/commonjs/components/AnimatedCircularProgress.js +0 -67
- package/lib/commonjs/components/AnimatedCircularProgress.js.map +0 -1
- package/lib/commonjs/components/AspectRatio.js +0 -51
- package/lib/commonjs/components/AspectRatio.js.map +0 -1
- package/lib/commonjs/components/AvatarEdit.js +0 -60
- package/lib/commonjs/components/AvatarEdit.js.map +0 -1
- package/lib/commonjs/components/Banner.js +0 -168
- package/lib/commonjs/components/Banner.js.map +0 -1
- package/lib/commonjs/components/BottomSheet/BottomSheet.js +0 -104
- package/lib/commonjs/components/BottomSheet/BottomSheet.js.map +0 -1
- package/lib/commonjs/components/BottomSheet/BottomSheetComponent.js +0 -424
- package/lib/commonjs/components/BottomSheet/BottomSheetComponent.js.map +0 -1
- package/lib/commonjs/components/BottomSheet/index.js +0 -14
- package/lib/commonjs/components/BottomSheet/index.js.map +0 -1
- package/lib/commonjs/components/Button.js +0 -187
- package/lib/commonjs/components/Button.js.map +0 -1
- package/lib/commonjs/components/Card.js +0 -138
- package/lib/commonjs/components/Card.js.map +0 -1
- package/lib/commonjs/components/Checkbox/Checkbox.js +0 -108
- package/lib/commonjs/components/Checkbox/Checkbox.js.map +0 -1
- package/lib/commonjs/components/Checkbox/CheckboxGroup.js +0 -50
- package/lib/commonjs/components/Checkbox/CheckboxGroup.js.map +0 -1
- package/lib/commonjs/components/Checkbox/CheckboxGroupRow.js +0 -121
- package/lib/commonjs/components/Checkbox/CheckboxGroupRow.js.map +0 -1
- package/lib/commonjs/components/Checkbox/CheckboxRow.js +0 -129
- package/lib/commonjs/components/Checkbox/CheckboxRow.js.map +0 -1
- package/lib/commonjs/components/Checkbox/context.js +0 -24
- package/lib/commonjs/components/Checkbox/context.js.map +0 -1
- package/lib/commonjs/components/Checkbox/index.js +0 -28
- package/lib/commonjs/components/Checkbox/index.js.map +0 -1
- package/lib/commonjs/components/CircleImage.js +0 -36
- package/lib/commonjs/components/CircleImage.js.map +0 -1
- package/lib/commonjs/components/CircularProgress.js +0 -113
- package/lib/commonjs/components/CircularProgress.js.map +0 -1
- package/lib/commonjs/components/Config.js +0 -81
- package/lib/commonjs/components/Config.js.map +0 -1
- package/lib/commonjs/components/Container.js +0 -94
- package/lib/commonjs/components/Container.js.map +0 -1
- package/lib/commonjs/components/DatePicker/DatePicker.js +0 -423
- package/lib/commonjs/components/DatePicker/DatePicker.js.map +0 -1
- package/lib/commonjs/components/DatePicker/DatePickerComponent.js +0 -46
- package/lib/commonjs/components/DatePicker/DatePickerComponent.js.map +0 -1
- package/lib/commonjs/components/DatePicker/DatePickerComponent.web.js +0 -56
- package/lib/commonjs/components/DatePicker/DatePickerComponent.web.js.map +0 -1
- package/lib/commonjs/components/DatePicker/DatePickerComponentType.js +0 -6
- package/lib/commonjs/components/DatePicker/DatePickerComponentType.js.map +0 -1
- package/lib/commonjs/components/DeckSwiper/DeckSwiper.js +0 -130
- package/lib/commonjs/components/DeckSwiper/DeckSwiper.js.map +0 -1
- package/lib/commonjs/components/DeckSwiper/DeckSwiperCard.js +0 -34
- package/lib/commonjs/components/DeckSwiper/DeckSwiperCard.js.map +0 -1
- package/lib/commonjs/components/DeckSwiper/index.js +0 -21
- package/lib/commonjs/components/DeckSwiper/index.js.map +0 -1
- package/lib/commonjs/components/DeprecatedButton.js +0 -128
- package/lib/commonjs/components/DeprecatedButton.js.map +0 -1
- package/lib/commonjs/components/DeprecatedCardWrapper.js +0 -41
- package/lib/commonjs/components/DeprecatedCardWrapper.js.map +0 -1
- package/lib/commonjs/components/DeprecatedFAB.js +0 -158
- package/lib/commonjs/components/DeprecatedFAB.js.map +0 -1
- package/lib/commonjs/components/Divider.js +0 -31
- package/lib/commonjs/components/Divider.js.map +0 -1
- package/lib/commonjs/components/Elevation.js +0 -45
- package/lib/commonjs/components/Elevation.js.map +0 -1
- package/lib/commonjs/components/FAB.js +0 -83
- package/lib/commonjs/components/FAB.js.map +0 -1
- package/lib/commonjs/components/FieldSearchBarFull.js +0 -98
- package/lib/commonjs/components/FieldSearchBarFull.js.map +0 -1
- package/lib/commonjs/components/FormRow.js +0 -62
- package/lib/commonjs/components/FormRow.js.map +0 -1
- package/lib/commonjs/components/IconButton.js +0 -67
- package/lib/commonjs/components/IconButton.js.map +0 -1
- package/lib/commonjs/components/Image.js +0 -82
- package/lib/commonjs/components/Image.js.map +0 -1
- package/lib/commonjs/components/Justification.js +0 -5
- package/lib/commonjs/components/Justification.js.map +0 -1
- package/lib/commonjs/components/Layout.js +0 -127
- package/lib/commonjs/components/Layout.js.map +0 -1
- package/lib/commonjs/components/Markdown.js +0 -31
- package/lib/commonjs/components/Markdown.js.map +0 -1
- package/lib/commonjs/components/NumberInput.js +0 -69
- package/lib/commonjs/components/NumberInput.js.map +0 -1
- package/lib/commonjs/components/Picker/Picker.js +0 -347
- package/lib/commonjs/components/Picker/Picker.js.map +0 -1
- package/lib/commonjs/components/Picker/PickerComponent.android.js +0 -118
- package/lib/commonjs/components/Picker/PickerComponent.android.js.map +0 -1
- package/lib/commonjs/components/Picker/PickerComponent.ios.js +0 -142
- package/lib/commonjs/components/Picker/PickerComponent.ios.js.map +0 -1
- package/lib/commonjs/components/Picker/PickerComponent.web.js +0 -119
- package/lib/commonjs/components/Picker/PickerComponent.web.js.map +0 -1
- package/lib/commonjs/components/Picker/PickerTypes.js +0 -6
- package/lib/commonjs/components/Picker/PickerTypes.js.map +0 -1
- package/lib/commonjs/components/Portal/Portal.js +0 -56
- package/lib/commonjs/components/Portal/Portal.js.map +0 -1
- package/lib/commonjs/components/Portal/PortalConsumer.js +0 -36
- package/lib/commonjs/components/Portal/PortalConsumer.js.map +0 -1
- package/lib/commonjs/components/Portal/PortalHost.js +0 -136
- package/lib/commonjs/components/Portal/PortalHost.js.map +0 -1
- package/lib/commonjs/components/Portal/PortalManager.js +0 -63
- package/lib/commonjs/components/Portal/PortalManager.js.map +0 -1
- package/lib/commonjs/components/Pressable.js +0 -38
- package/lib/commonjs/components/Pressable.js.map +0 -1
- package/lib/commonjs/components/ProgressBar.js +0 -159
- package/lib/commonjs/components/ProgressBar.js.map +0 -1
- package/lib/commonjs/components/ProgressCircle.js +0 -49
- package/lib/commonjs/components/ProgressCircle.js.map +0 -1
- package/lib/commonjs/components/ProgressIndicator.js +0 -56
- package/lib/commonjs/components/ProgressIndicator.js.map +0 -1
- package/lib/commonjs/components/RadioButton/RadioButton.js +0 -54
- package/lib/commonjs/components/RadioButton/RadioButton.js.map +0 -1
- package/lib/commonjs/components/RadioButton/RadioButtonFieldGroup.js +0 -36
- package/lib/commonjs/components/RadioButton/RadioButtonFieldGroup.js.map +0 -1
- package/lib/commonjs/components/RadioButton/RadioButtonGroup.js +0 -69
- package/lib/commonjs/components/RadioButton/RadioButtonGroup.js.map +0 -1
- package/lib/commonjs/components/RadioButton/RadioButtonRow.js +0 -120
- package/lib/commonjs/components/RadioButton/RadioButtonRow.js.map +0 -1
- package/lib/commonjs/components/RadioButton/context.js +0 -24
- package/lib/commonjs/components/RadioButton/context.js.map +0 -1
- package/lib/commonjs/components/RadioButton/index.js +0 -35
- package/lib/commonjs/components/RadioButton/index.js.map +0 -1
- package/lib/commonjs/components/ResizeMode.js +0 -5
- package/lib/commonjs/components/ResizeMode.js.map +0 -1
- package/lib/commonjs/components/Row.js +0 -74
- package/lib/commonjs/components/Row.js.map +0 -1
- package/lib/commonjs/components/RowBodyIcon.js +0 -46
- package/lib/commonjs/components/RowBodyIcon.js.map +0 -1
- package/lib/commonjs/components/RowHeadlineImageCaption.js +0 -46
- package/lib/commonjs/components/RowHeadlineImageCaption.js.map +0 -1
- package/lib/commonjs/components/RowHeadlineImageIcon.js +0 -52
- package/lib/commonjs/components/RowHeadlineImageIcon.js.map +0 -1
- package/lib/commonjs/components/SVG.js +0 -40
- package/lib/commonjs/components/SVG.js.map +0 -1
- package/lib/commonjs/components/ScreenContainer.js +0 -60
- package/lib/commonjs/components/ScreenContainer.js.map +0 -1
- package/lib/commonjs/components/Shadow.js +0 -56
- package/lib/commonjs/components/Shadow.js.map +0 -1
- package/lib/commonjs/components/Slider.js +0 -112
- package/lib/commonjs/components/Slider.js.map +0 -1
- package/lib/commonjs/components/StarRating.js +0 -87
- package/lib/commonjs/components/StarRating.js.map +0 -1
- package/lib/commonjs/components/StepIndicator.js +0 -386
- package/lib/commonjs/components/StepIndicator.js.map +0 -1
- package/lib/commonjs/components/Stepper.js +0 -86
- package/lib/commonjs/components/Stepper.js.map +0 -1
- package/lib/commonjs/components/Surface.js +0 -56
- package/lib/commonjs/components/Surface.js.map +0 -1
- package/lib/commonjs/components/SwipeableView/SwipeableView.js +0 -154
- package/lib/commonjs/components/SwipeableView/SwipeableView.js.map +0 -1
- package/lib/commonjs/components/SwipeableView/SwipeableViewButton.js +0 -13
- package/lib/commonjs/components/SwipeableView/SwipeableViewButton.js.map +0 -1
- package/lib/commonjs/components/SwipeableView/SwipeableViewSwipeHandler.js +0 -13
- package/lib/commonjs/components/SwipeableView/SwipeableViewSwipeHandler.js.map +0 -1
- package/lib/commonjs/components/SwipeableView/index.js +0 -28
- package/lib/commonjs/components/SwipeableView/index.js.map +0 -1
- package/lib/commonjs/components/Swiper/Swiper.js +0 -102
- package/lib/commonjs/components/Swiper/Swiper.js.map +0 -1
- package/lib/commonjs/components/Swiper/SwiperItem.js +0 -26
- package/lib/commonjs/components/Swiper/SwiperItem.js.map +0 -1
- package/lib/commonjs/components/Swiper/index.js +0 -21
- package/lib/commonjs/components/Swiper/index.js.map +0 -1
- package/lib/commonjs/components/Switch.js +0 -120
- package/lib/commonjs/components/Switch.js.map +0 -1
- package/lib/commonjs/components/TabView/TabView.js +0 -117
- package/lib/commonjs/components/TabView/TabView.js.map +0 -1
- package/lib/commonjs/components/TabView/TabViewItem.js +0 -26
- package/lib/commonjs/components/TabView/TabViewItem.js.map +0 -1
- package/lib/commonjs/components/TabView/index.js +0 -21
- package/lib/commonjs/components/TabView/index.js.map +0 -1
- package/lib/commonjs/components/Table/Table.js +0 -123
- package/lib/commonjs/components/Table/Table.js.map +0 -1
- package/lib/commonjs/components/Table/TableCell.js +0 -50
- package/lib/commonjs/components/Table/TableCell.js.map +0 -1
- package/lib/commonjs/components/Table/TableCommon.js +0 -31
- package/lib/commonjs/components/Table/TableCommon.js.map +0 -1
- package/lib/commonjs/components/Table/TableRow.js +0 -62
- package/lib/commonjs/components/Table/TableRow.js.map +0 -1
- package/lib/commonjs/components/Table/index.js +0 -28
- package/lib/commonjs/components/Table/index.js.map +0 -1
- package/lib/commonjs/components/Text.js +0 -63
- package/lib/commonjs/components/Text.js.map +0 -1
- package/lib/commonjs/components/TextField.js +0 -449
- package/lib/commonjs/components/TextField.js.map +0 -1
- package/lib/commonjs/components/ToggleButton.js +0 -72
- package/lib/commonjs/components/ToggleButton.js.map +0 -1
- package/lib/commonjs/components/Touchable.js +0 -38
- package/lib/commonjs/components/Touchable.js.map +0 -1
- package/lib/commonjs/components/Touchable.web.js +0 -10
- package/lib/commonjs/components/Touchable.web.js.map +0 -1
- package/lib/commonjs/components/Typography.js +0 -59
- package/lib/commonjs/components/Typography.js.map +0 -1
- package/lib/commonjs/components/YoutubePlayer/YoutubePlayer.js +0 -41
- package/lib/commonjs/components/YoutubePlayer/YoutubePlayer.js.map +0 -1
- package/lib/commonjs/components/YoutubePlayer/YoutubePlayer.native.js +0 -33
- package/lib/commonjs/components/YoutubePlayer/YoutubePlayer.native.js.map +0 -1
- package/lib/commonjs/components/YoutubePlayer/YoutubePlayerProps.js +0 -6
- package/lib/commonjs/components/YoutubePlayer/YoutubePlayerProps.js.map +0 -1
- package/lib/commonjs/components/YoutubePlayer/index.js +0 -14
- package/lib/commonjs/components/YoutubePlayer/index.js.map +0 -1
- package/lib/commonjs/components/useAuthState.js +0 -29
- package/lib/commonjs/components/useAuthState.js.map +0 -1
- package/lib/commonjs/constants.js +0 -16
- package/lib/commonjs/constants.js.map +0 -1
- package/lib/commonjs/hooks.js +0 -22
- package/lib/commonjs/hooks.js.map +0 -1
- package/lib/commonjs/index.js +0 -509
- package/lib/commonjs/index.js.map +0 -1
- package/lib/commonjs/interfaces/Icon.js +0 -21
- package/lib/commonjs/interfaces/Icon.js.map +0 -1
- package/lib/commonjs/styles/DarkTheme.js +0 -36
- package/lib/commonjs/styles/DarkTheme.js.map +0 -1
- package/lib/commonjs/styles/DefaultTheme.js +0 -120
- package/lib/commonjs/styles/DefaultTheme.js.map +0 -1
- package/lib/commonjs/styles/fonts.js +0 -73
- package/lib/commonjs/styles/fonts.js.map +0 -1
- package/lib/commonjs/styles/overlay.js +0 -69
- package/lib/commonjs/styles/overlay.js.map +0 -1
- package/lib/commonjs/styles/shadow.js +0 -58
- package/lib/commonjs/styles/shadow.js.map +0 -1
- package/lib/commonjs/theming.js +0 -18
- package/lib/commonjs/theming.js.map +0 -1
- package/lib/commonjs/utilities.js +0 -127
- package/lib/commonjs/utilities.js.map +0 -1
- package/lib/module/Provider.js +0 -11
- package/lib/module/Provider.js.map +0 -1
- package/lib/module/assets/bg.png +0 -0
- package/lib/module/assets/icon.png +0 -0
- package/lib/module/assets/warning.png +0 -0
- package/lib/module/components/Accordion/AccordionGroup.js +0 -69
- package/lib/module/components/Accordion/AccordionGroup.js.map +0 -1
- package/lib/module/components/Accordion/AccordionItem.js +0 -55
- package/lib/module/components/Accordion/AccordionItem.js.map +0 -1
- package/lib/module/components/Accordion/index.js.map +0 -1
- package/lib/module/components/ActionSheet/ActionSheet.js +0 -57
- package/lib/module/components/ActionSheet/ActionSheet.js.map +0 -1
- package/lib/module/components/ActionSheet/ActionSheetCancel.js +0 -18
- package/lib/module/components/ActionSheet/ActionSheetCancel.js.map +0 -1
- package/lib/module/components/ActionSheet/ActionSheetItem.js +0 -47
- package/lib/module/components/ActionSheet/ActionSheetItem.js.map +0 -1
- package/lib/module/components/ActionSheet/index.js.map +0 -1
- package/lib/module/components/AnimatedCircularProgress.js +0 -57
- package/lib/module/components/AnimatedCircularProgress.js.map +0 -1
- package/lib/module/components/AspectRatio.js +0 -43
- package/lib/module/components/AspectRatio.js.map +0 -1
- package/lib/module/components/AvatarEdit.js +0 -50
- package/lib/module/components/AvatarEdit.js.map +0 -1
- package/lib/module/components/Banner.js +0 -158
- package/lib/module/components/Banner.js.map +0 -1
- package/lib/module/components/BottomSheet/BottomSheet.js +0 -96
- package/lib/module/components/BottomSheet/BottomSheet.js.map +0 -1
- package/lib/module/components/BottomSheet/BottomSheetComponent.js +0 -430
- package/lib/module/components/BottomSheet/BottomSheetComponent.js.map +0 -1
- package/lib/module/components/BottomSheet/index.js.map +0 -1
- package/lib/module/components/Button.js +0 -157
- package/lib/module/components/Button.js.map +0 -1
- package/lib/module/components/Card.js +0 -129
- package/lib/module/components/Card.js.map +0 -1
- package/lib/module/components/Checkbox/Checkbox.js +0 -99
- package/lib/module/components/Checkbox/Checkbox.js.map +0 -1
- package/lib/module/components/Checkbox/CheckboxGroup.js +0 -41
- package/lib/module/components/Checkbox/CheckboxGroup.js.map +0 -1
- package/lib/module/components/Checkbox/CheckboxGroupRow.js +0 -111
- package/lib/module/components/Checkbox/CheckboxGroupRow.js.map +0 -1
- package/lib/module/components/Checkbox/CheckboxRow.js +0 -118
- package/lib/module/components/Checkbox/CheckboxRow.js.map +0 -1
- package/lib/module/components/Checkbox/context.js +0 -15
- package/lib/module/components/Checkbox/context.js.map +0 -1
- package/lib/module/components/Checkbox/index.js.map +0 -1
- package/lib/module/components/CircleImage.js +0 -26
- package/lib/module/components/CircleImage.js.map +0 -1
- package/lib/module/components/CircularProgress.js +0 -105
- package/lib/module/components/CircularProgress.js.map +0 -1
- package/lib/module/components/Config.js +0 -74
- package/lib/module/components/Config.js.map +0 -1
- package/lib/module/components/Container.js +0 -84
- package/lib/module/components/Container.js.map +0 -1
- package/lib/module/components/DatePicker/DatePicker.js +0 -413
- package/lib/module/components/DatePicker/DatePicker.js.map +0 -1
- package/lib/module/components/DatePicker/DatePickerComponent.js +0 -38
- package/lib/module/components/DatePicker/DatePickerComponent.js.map +0 -1
- package/lib/module/components/DatePicker/DatePickerComponent.web.js +0 -48
- package/lib/module/components/DatePicker/DatePickerComponent.web.js.map +0 -1
- package/lib/module/components/DatePicker/DatePickerComponentType.js.map +0 -1
- package/lib/module/components/DeckSwiper/DeckSwiper.js +0 -122
- package/lib/module/components/DeckSwiper/DeckSwiper.js.map +0 -1
- package/lib/module/components/DeckSwiper/DeckSwiperCard.js +0 -26
- package/lib/module/components/DeckSwiper/DeckSwiperCard.js.map +0 -1
- package/lib/module/components/DeckSwiper/index.js.map +0 -1
- package/lib/module/components/DeprecatedButton.js +0 -118
- package/lib/module/components/DeprecatedButton.js.map +0 -1
- package/lib/module/components/DeprecatedCardWrapper.js +0 -33
- package/lib/module/components/DeprecatedCardWrapper.js.map +0 -1
- package/lib/module/components/DeprecatedFAB.js +0 -148
- package/lib/module/components/DeprecatedFAB.js.map +0 -1
- package/lib/module/components/Divider.js +0 -22
- package/lib/module/components/Divider.js.map +0 -1
- package/lib/module/components/Elevation.js +0 -35
- package/lib/module/components/Elevation.js.map +0 -1
- package/lib/module/components/FAB.js +0 -74
- package/lib/module/components/FAB.js.map +0 -1
- package/lib/module/components/FieldSearchBarFull.js +0 -88
- package/lib/module/components/FieldSearchBarFull.js.map +0 -1
- package/lib/module/components/FormRow.js +0 -39
- package/lib/module/components/FormRow.js.map +0 -1
- package/lib/module/components/IconButton.js +0 -58
- package/lib/module/components/IconButton.js.map +0 -1
- package/lib/module/components/Image.js +0 -75
- package/lib/module/components/Image.js.map +0 -1
- package/lib/module/components/Justification.js +0 -2
- package/lib/module/components/Justification.js.map +0 -1
- package/lib/module/components/Layout.js +0 -116
- package/lib/module/components/Layout.js.map +0 -1
- package/lib/module/components/Markdown.js +0 -21
- package/lib/module/components/Markdown.js.map +0 -1
- package/lib/module/components/NumberInput.js +0 -60
- package/lib/module/components/NumberInput.js.map +0 -1
- package/lib/module/components/Picker/Picker.js +0 -337
- package/lib/module/components/Picker/Picker.js.map +0 -1
- package/lib/module/components/Picker/PickerComponent.android.js +0 -108
- package/lib/module/components/Picker/PickerComponent.android.js.map +0 -1
- package/lib/module/components/Picker/PickerComponent.ios.js +0 -132
- package/lib/module/components/Picker/PickerComponent.ios.js.map +0 -1
- package/lib/module/components/Picker/PickerComponent.web.js +0 -109
- package/lib/module/components/Picker/PickerComponent.web.js.map +0 -1
- package/lib/module/components/Picker/PickerTypes.js.map +0 -1
- package/lib/module/components/Portal/Portal.js +0 -46
- package/lib/module/components/Portal/Portal.js.map +0 -1
- package/lib/module/components/Portal/PortalConsumer.js +0 -27
- package/lib/module/components/Portal/PortalConsumer.js.map +0 -1
- package/lib/module/components/Portal/PortalHost.js +0 -125
- package/lib/module/components/Portal/PortalHost.js.map +0 -1
- package/lib/module/components/Portal/PortalManager.js +0 -54
- package/lib/module/components/Portal/PortalManager.js.map +0 -1
- package/lib/module/components/Pressable.js +0 -31
- package/lib/module/components/Pressable.js.map +0 -1
- package/lib/module/components/ProgressBar.js +0 -150
- package/lib/module/components/ProgressBar.js.map +0 -1
- package/lib/module/components/ProgressCircle.js +0 -39
- package/lib/module/components/ProgressCircle.js.map +0 -1
- package/lib/module/components/ProgressIndicator.js +0 -46
- package/lib/module/components/ProgressIndicator.js.map +0 -1
- package/lib/module/components/RadioButton/RadioButton.js +0 -44
- package/lib/module/components/RadioButton/RadioButton.js.map +0 -1
- package/lib/module/components/RadioButton/RadioButtonFieldGroup.js +0 -28
- package/lib/module/components/RadioButton/RadioButtonFieldGroup.js.map +0 -1
- package/lib/module/components/RadioButton/RadioButtonGroup.js +0 -60
- package/lib/module/components/RadioButton/RadioButtonGroup.js.map +0 -1
- package/lib/module/components/RadioButton/RadioButtonRow.js +0 -110
- package/lib/module/components/RadioButton/RadioButtonRow.js.map +0 -1
- package/lib/module/components/RadioButton/context.js +0 -15
- package/lib/module/components/RadioButton/context.js.map +0 -1
- package/lib/module/components/RadioButton/index.js.map +0 -1
- package/lib/module/components/ResizeMode.js +0 -2
- package/lib/module/components/ResizeMode.js.map +0 -1
- package/lib/module/components/Row.js +0 -64
- package/lib/module/components/Row.js.map +0 -1
- package/lib/module/components/RowBodyIcon.js +0 -36
- package/lib/module/components/RowBodyIcon.js.map +0 -1
- package/lib/module/components/RowHeadlineImageCaption.js +0 -36
- package/lib/module/components/RowHeadlineImageCaption.js.map +0 -1
- package/lib/module/components/RowHeadlineImageIcon.js +0 -42
- package/lib/module/components/RowHeadlineImageIcon.js.map +0 -1
- package/lib/module/components/SVG.js +0 -30
- package/lib/module/components/SVG.js.map +0 -1
- package/lib/module/components/ScreenContainer.js +0 -51
- package/lib/module/components/ScreenContainer.js.map +0 -1
- package/lib/module/components/Shadow.js +0 -48
- package/lib/module/components/Shadow.js.map +0 -1
- package/lib/module/components/Slider.js +0 -102
- package/lib/module/components/Slider.js.map +0 -1
- package/lib/module/components/StarRating.js +0 -78
- package/lib/module/components/StarRating.js.map +0 -1
- package/lib/module/components/StepIndicator.js +0 -378
- package/lib/module/components/StepIndicator.js.map +0 -1
- package/lib/module/components/Stepper.js +0 -76
- package/lib/module/components/Stepper.js.map +0 -1
- package/lib/module/components/Surface.js +0 -47
- package/lib/module/components/Surface.js.map +0 -1
- package/lib/module/components/SwipeableView/SwipeableView.js +0 -146
- package/lib/module/components/SwipeableView/SwipeableView.js.map +0 -1
- package/lib/module/components/SwipeableView/SwipeableViewButton.js +0 -6
- package/lib/module/components/SwipeableView/SwipeableViewButton.js.map +0 -1
- package/lib/module/components/SwipeableView/SwipeableViewSwipeHandler.js +0 -6
- package/lib/module/components/SwipeableView/SwipeableViewSwipeHandler.js.map +0 -1
- package/lib/module/components/SwipeableView/index.js.map +0 -1
- package/lib/module/components/Swiper/Swiper.js +0 -94
- package/lib/module/components/Swiper/Swiper.js.map +0 -1
- package/lib/module/components/Swiper/SwiperItem.js +0 -18
- package/lib/module/components/Swiper/SwiperItem.js.map +0 -1
- package/lib/module/components/Swiper/index.js.map +0 -1
- package/lib/module/components/Switch.js +0 -110
- package/lib/module/components/Switch.js.map +0 -1
- package/lib/module/components/TabView/TabView.js +0 -108
- package/lib/module/components/TabView/TabView.js.map +0 -1
- package/lib/module/components/TabView/TabViewItem.js +0 -21
- package/lib/module/components/TabView/TabViewItem.js.map +0 -1
- package/lib/module/components/TabView/index.js.map +0 -1
- package/lib/module/components/Table/Table.js +0 -115
- package/lib/module/components/Table/Table.js.map +0 -1
- package/lib/module/components/Table/TableCell.js +0 -42
- package/lib/module/components/Table/TableCell.js.map +0 -1
- package/lib/module/components/Table/TableCommon.js +0 -22
- package/lib/module/components/Table/TableCommon.js.map +0 -1
- package/lib/module/components/Table/TableRow.js +0 -54
- package/lib/module/components/Table/TableRow.js.map +0 -1
- package/lib/module/components/Table/index.js.map +0 -1
- package/lib/module/components/Text.js +0 -53
- package/lib/module/components/Text.js.map +0 -1
- package/lib/module/components/TextField.js +0 -440
- package/lib/module/components/TextField.js.map +0 -1
- package/lib/module/components/ToggleButton.js +0 -62
- package/lib/module/components/ToggleButton.js.map +0 -1
- package/lib/module/components/Touchable.js +0 -31
- package/lib/module/components/Touchable.js.map +0 -1
- package/lib/module/components/Touchable.web.js.map +0 -1
- package/lib/module/components/Typography.js +0 -49
- package/lib/module/components/Typography.js.map +0 -1
- package/lib/module/components/YoutubePlayer/YoutubePlayer.js +0 -33
- package/lib/module/components/YoutubePlayer/YoutubePlayer.js.map +0 -1
- package/lib/module/components/YoutubePlayer/YoutubePlayer.native.js +0 -25
- package/lib/module/components/YoutubePlayer/YoutubePlayer.native.js.map +0 -1
- package/lib/module/components/YoutubePlayer/YoutubePlayerProps.js.map +0 -1
- package/lib/module/components/YoutubePlayer/index.js.map +0 -1
- package/lib/module/components/useAuthState.js +0 -20
- package/lib/module/components/useAuthState.js.map +0 -1
- package/lib/module/constants.js +0 -10
- package/lib/module/constants.js.map +0 -1
- package/lib/module/hooks.js +0 -15
- package/lib/module/hooks.js.map +0 -1
- package/lib/module/index.js +0 -56
- package/lib/module/index.js.map +0 -1
- package/lib/module/interfaces/Icon.js +0 -12
- package/lib/module/interfaces/Icon.js.map +0 -1
- package/lib/module/styles/DarkTheme.js +0 -27
- package/lib/module/styles/DarkTheme.js.map +0 -1
- package/lib/module/styles/DefaultTheme.js +0 -112
- package/lib/module/styles/DefaultTheme.js.map +0 -1
- package/lib/module/styles/fonts.js +0 -66
- package/lib/module/styles/fonts.js.map +0 -1
- package/lib/module/styles/overlay.js +0 -61
- package/lib/module/styles/overlay.js.map +0 -1
- package/lib/module/styles/shadow.js +0 -52
- package/lib/module/styles/shadow.js.map +0 -1
- package/lib/module/theming.js +0 -8
- package/lib/module/theming.js.map +0 -1
- package/lib/module/utilities.js +0 -105
- package/lib/module/utilities.js.map +0 -1
- package/lib/typescript/src/Provider.d.ts +0 -11
- package/lib/typescript/src/Provider.d.ts.map +0 -1
- package/lib/typescript/src/components/Accordion/AccordionGroup.d.ts +0 -22
- package/lib/typescript/src/components/Accordion/AccordionGroup.d.ts.map +0 -1
- package/lib/typescript/src/components/Accordion/AccordionItem.d.ts +0 -16
- package/lib/typescript/src/components/Accordion/AccordionItem.d.ts.map +0 -1
- package/lib/typescript/src/components/Accordion/index.d.ts +0 -3
- package/lib/typescript/src/components/Accordion/index.d.ts.map +0 -1
- package/lib/typescript/src/components/ActionSheet/ActionSheet.d.ts +0 -9
- package/lib/typescript/src/components/ActionSheet/ActionSheet.d.ts.map +0 -1
- package/lib/typescript/src/components/ActionSheet/ActionSheetCancel.d.ts +0 -11
- package/lib/typescript/src/components/ActionSheet/ActionSheetCancel.d.ts.map +0 -1
- package/lib/typescript/src/components/ActionSheet/ActionSheetItem.d.ts +0 -11
- package/lib/typescript/src/components/ActionSheet/ActionSheetItem.d.ts.map +0 -1
- package/lib/typescript/src/components/ActionSheet/index.d.ts +0 -4
- package/lib/typescript/src/components/ActionSheet/index.d.ts.map +0 -1
- package/lib/typescript/src/components/AnimatedCircularProgress.d.ts +0 -14
- package/lib/typescript/src/components/AnimatedCircularProgress.d.ts.map +0 -1
- package/lib/typescript/src/components/AspectRatio.d.ts +0 -9
- package/lib/typescript/src/components/AspectRatio.d.ts.map +0 -1
- package/lib/typescript/src/components/AvatarEdit.d.ts +0 -16
- package/lib/typescript/src/components/AvatarEdit.d.ts.map +0 -1
- package/lib/typescript/src/components/Banner.d.ts +0 -23
- package/lib/typescript/src/components/Banner.d.ts.map +0 -1
- package/lib/typescript/src/components/BottomSheet/BottomSheet.d.ts +0 -25
- package/lib/typescript/src/components/BottomSheet/BottomSheet.d.ts.map +0 -1
- package/lib/typescript/src/components/BottomSheet/BottomSheetComponent.d.ts +0 -170
- package/lib/typescript/src/components/BottomSheet/BottomSheetComponent.d.ts.map +0 -1
- package/lib/typescript/src/components/BottomSheet/index.d.ts +0 -2
- package/lib/typescript/src/components/BottomSheet/index.d.ts.map +0 -1
- package/lib/typescript/src/components/Button.d.ts +0 -7
- package/lib/typescript/src/components/Button.d.ts.map +0 -1
- package/lib/typescript/src/components/Card.d.ts +0 -43
- package/lib/typescript/src/components/Card.d.ts.map +0 -1
- package/lib/typescript/src/components/Checkbox/Checkbox.d.ts +0 -20
- package/lib/typescript/src/components/Checkbox/Checkbox.d.ts.map +0 -1
- package/lib/typescript/src/components/Checkbox/CheckboxGroup.d.ts +0 -15
- package/lib/typescript/src/components/Checkbox/CheckboxGroup.d.ts.map +0 -1
- package/lib/typescript/src/components/Checkbox/CheckboxGroupRow.d.ts +0 -22
- package/lib/typescript/src/components/Checkbox/CheckboxGroupRow.d.ts.map +0 -1
- package/lib/typescript/src/components/Checkbox/CheckboxRow.d.ts +0 -18
- package/lib/typescript/src/components/Checkbox/CheckboxRow.d.ts.map +0 -1
- package/lib/typescript/src/components/Checkbox/context.d.ts +0 -14
- package/lib/typescript/src/components/Checkbox/context.d.ts.map +0 -1
- package/lib/typescript/src/components/Checkbox/index.d.ts +0 -4
- package/lib/typescript/src/components/Checkbox/index.d.ts.map +0 -1
- package/lib/typescript/src/components/CircleImage.d.ts +0 -10
- package/lib/typescript/src/components/CircleImage.d.ts.map +0 -1
- package/lib/typescript/src/components/CircularProgress.d.ts +0 -43
- package/lib/typescript/src/components/CircularProgress.d.ts.map +0 -1
- package/lib/typescript/src/components/Config.d.ts +0 -36
- package/lib/typescript/src/components/Config.d.ts.map +0 -1
- package/lib/typescript/src/components/Container.d.ts +0 -21
- package/lib/typescript/src/components/Container.d.ts.map +0 -1
- package/lib/typescript/src/components/DatePicker/DatePicker.d.ts +0 -34
- package/lib/typescript/src/components/DatePicker/DatePicker.d.ts.map +0 -1
- package/lib/typescript/src/components/DatePicker/DatePickerComponent.d.ts +0 -5
- package/lib/typescript/src/components/DatePicker/DatePickerComponent.d.ts.map +0 -1
- package/lib/typescript/src/components/DatePicker/DatePickerComponent.web.d.ts +0 -4507
- package/lib/typescript/src/components/DatePicker/DatePickerComponent.web.d.ts.map +0 -1
- package/lib/typescript/src/components/DatePicker/DatePickerComponentType.d.ts +0 -12
- package/lib/typescript/src/components/DatePicker/DatePickerComponentType.d.ts.map +0 -1
- package/lib/typescript/src/components/DeckSwiper/DeckSwiper.d.ts +0 -26
- package/lib/typescript/src/components/DeckSwiper/DeckSwiper.d.ts.map +0 -1
- package/lib/typescript/src/components/DeckSwiper/DeckSwiperCard.d.ts +0 -12
- package/lib/typescript/src/components/DeckSwiper/DeckSwiperCard.d.ts.map +0 -1
- package/lib/typescript/src/components/DeckSwiper/index.d.ts +0 -3
- package/lib/typescript/src/components/DeckSwiper/index.d.ts.map +0 -1
- package/lib/typescript/src/components/DeprecatedButton.d.ts +0 -54
- package/lib/typescript/src/components/DeprecatedButton.d.ts.map +0 -1
- package/lib/typescript/src/components/DeprecatedCardWrapper.d.ts +0 -15
- package/lib/typescript/src/components/DeprecatedCardWrapper.d.ts.map +0 -1
- package/lib/typescript/src/components/DeprecatedFAB.d.ts +0 -56
- package/lib/typescript/src/components/DeprecatedFAB.d.ts.map +0 -1
- package/lib/typescript/src/components/Divider.d.ts +0 -13
- package/lib/typescript/src/components/Divider.d.ts.map +0 -1
- package/lib/typescript/src/components/Elevation.d.ts +0 -12
- package/lib/typescript/src/components/Elevation.d.ts.map +0 -1
- package/lib/typescript/src/components/FAB.d.ts +0 -20
- package/lib/typescript/src/components/FAB.d.ts.map +0 -1
- package/lib/typescript/src/components/FieldSearchBarFull.d.ts +0 -20
- package/lib/typescript/src/components/FieldSearchBarFull.d.ts.map +0 -1
- package/lib/typescript/src/components/FormRow.d.ts +0 -14
- package/lib/typescript/src/components/FormRow.d.ts.map +0 -1
- package/lib/typescript/src/components/IconButton.d.ts +0 -21
- package/lib/typescript/src/components/IconButton.d.ts.map +0 -1
- package/lib/typescript/src/components/Image.d.ts +0 -5
- package/lib/typescript/src/components/Image.d.ts.map +0 -1
- package/lib/typescript/src/components/Justification.d.ts +0 -2
- package/lib/typescript/src/components/Justification.d.ts.map +0 -1
- package/lib/typescript/src/components/Layout.d.ts +0 -43
- package/lib/typescript/src/components/Layout.d.ts.map +0 -1
- package/lib/typescript/src/components/Markdown.d.ts +0 -8
- package/lib/typescript/src/components/Markdown.d.ts.map +0 -1
- package/lib/typescript/src/components/NumberInput.d.ts +0 -9
- package/lib/typescript/src/components/NumberInput.d.ts.map +0 -1
- package/lib/typescript/src/components/Picker/Picker.d.ts +0 -37
- package/lib/typescript/src/components/Picker/Picker.d.ts.map +0 -1
- package/lib/typescript/src/components/Picker/PickerComponent.android.d.ts +0 -7
- package/lib/typescript/src/components/Picker/PickerComponent.android.d.ts.map +0 -1
- package/lib/typescript/src/components/Picker/PickerComponent.ios.d.ts +0 -8
- package/lib/typescript/src/components/Picker/PickerComponent.ios.d.ts.map +0 -1
- package/lib/typescript/src/components/Picker/PickerComponent.web.d.ts +0 -7
- package/lib/typescript/src/components/Picker/PickerComponent.web.d.ts.map +0 -1
- package/lib/typescript/src/components/Picker/PickerTypes.d.ts +0 -19
- package/lib/typescript/src/components/Picker/PickerTypes.d.ts.map +0 -1
- package/lib/typescript/src/components/Portal/Portal.d.ts +0 -43
- package/lib/typescript/src/components/Portal/Portal.d.ts.map +0 -1
- package/lib/typescript/src/components/Portal/PortalConsumer.d.ts +0 -16
- package/lib/typescript/src/components/Portal/PortalConsumer.d.ts.map +0 -1
- package/lib/typescript/src/components/Portal/PortalHost.d.ts +0 -48
- package/lib/typescript/src/components/Portal/PortalHost.d.ts.map +0 -1
- package/lib/typescript/src/components/Portal/PortalManager.d.ts +0 -19
- package/lib/typescript/src/components/Portal/PortalManager.d.ts.map +0 -1
- package/lib/typescript/src/components/Pressable.d.ts +0 -10
- package/lib/typescript/src/components/Pressable.d.ts.map +0 -1
- package/lib/typescript/src/components/ProgressBar.d.ts +0 -35
- package/lib/typescript/src/components/ProgressBar.d.ts.map +0 -1
- package/lib/typescript/src/components/ProgressCircle.d.ts +0 -21
- package/lib/typescript/src/components/ProgressCircle.d.ts.map +0 -1
- package/lib/typescript/src/components/ProgressIndicator.d.ts +0 -24
- package/lib/typescript/src/components/ProgressIndicator.d.ts.map +0 -1
- package/lib/typescript/src/components/RadioButton/RadioButton.d.ts +0 -18
- package/lib/typescript/src/components/RadioButton/RadioButton.d.ts.map +0 -1
- package/lib/typescript/src/components/RadioButton/RadioButtonFieldGroup.d.ts +0 -13
- package/lib/typescript/src/components/RadioButton/RadioButtonFieldGroup.d.ts.map +0 -1
- package/lib/typescript/src/components/RadioButton/RadioButtonGroup.d.ts +0 -16
- package/lib/typescript/src/components/RadioButton/RadioButtonGroup.d.ts.map +0 -1
- package/lib/typescript/src/components/RadioButton/RadioButtonRow.d.ts +0 -22
- package/lib/typescript/src/components/RadioButton/RadioButtonRow.d.ts.map +0 -1
- package/lib/typescript/src/components/RadioButton/context.d.ts +0 -14
- package/lib/typescript/src/components/RadioButton/context.d.ts.map +0 -1
- package/lib/typescript/src/components/RadioButton/index.d.ts +0 -5
- package/lib/typescript/src/components/RadioButton/index.d.ts.map +0 -1
- package/lib/typescript/src/components/ResizeMode.d.ts +0 -2
- package/lib/typescript/src/components/ResizeMode.d.ts.map +0 -1
- package/lib/typescript/src/components/Row.d.ts +0 -21
- package/lib/typescript/src/components/Row.d.ts.map +0 -1
- package/lib/typescript/src/components/RowBodyIcon.d.ts +0 -16
- package/lib/typescript/src/components/RowBodyIcon.d.ts.map +0 -1
- package/lib/typescript/src/components/RowHeadlineImageCaption.d.ts +0 -16
- package/lib/typescript/src/components/RowHeadlineImageCaption.d.ts.map +0 -1
- package/lib/typescript/src/components/RowHeadlineImageIcon.d.ts +0 -18
- package/lib/typescript/src/components/RowHeadlineImageIcon.d.ts.map +0 -1
- package/lib/typescript/src/components/SVG.d.ts +0 -9
- package/lib/typescript/src/components/SVG.d.ts.map +0 -1
- package/lib/typescript/src/components/ScreenContainer.d.ts +0 -18
- package/lib/typescript/src/components/ScreenContainer.d.ts.map +0 -1
- package/lib/typescript/src/components/Shadow.d.ts +0 -24
- package/lib/typescript/src/components/Shadow.d.ts.map +0 -1
- package/lib/typescript/src/components/Slider.d.ts +0 -28
- package/lib/typescript/src/components/Slider.d.ts.map +0 -1
- package/lib/typescript/src/components/StarRating.d.ts +0 -21
- package/lib/typescript/src/components/StarRating.d.ts.map +0 -1
- package/lib/typescript/src/components/StepIndicator.d.ts +0 -54
- package/lib/typescript/src/components/StepIndicator.d.ts.map +0 -1
- package/lib/typescript/src/components/Stepper.d.ts +0 -20
- package/lib/typescript/src/components/Stepper.d.ts.map +0 -1
- package/lib/typescript/src/components/Surface.d.ts +0 -13
- package/lib/typescript/src/components/Surface.d.ts.map +0 -1
- package/lib/typescript/src/components/SwipeableView/SwipeableView.d.ts +0 -29
- package/lib/typescript/src/components/SwipeableView/SwipeableView.d.ts.map +0 -1
- package/lib/typescript/src/components/SwipeableView/SwipeableViewButton.d.ts +0 -13
- package/lib/typescript/src/components/SwipeableView/SwipeableViewButton.d.ts.map +0 -1
- package/lib/typescript/src/components/SwipeableView/SwipeableViewSwipeHandler.d.ts +0 -13
- package/lib/typescript/src/components/SwipeableView/SwipeableViewSwipeHandler.d.ts.map +0 -1
- package/lib/typescript/src/components/SwipeableView/index.d.ts +0 -4
- package/lib/typescript/src/components/SwipeableView/index.d.ts.map +0 -1
- package/lib/typescript/src/components/Swiper/Swiper.d.ts +0 -30
- package/lib/typescript/src/components/Swiper/Swiper.d.ts.map +0 -1
- package/lib/typescript/src/components/Swiper/SwiperItem.d.ts +0 -9
- package/lib/typescript/src/components/Swiper/SwiperItem.d.ts.map +0 -1
- package/lib/typescript/src/components/Swiper/index.d.ts +0 -3
- package/lib/typescript/src/components/Swiper/index.d.ts.map +0 -1
- package/lib/typescript/src/components/Switch.d.ts +0 -51
- package/lib/typescript/src/components/Switch.d.ts.map +0 -1
- package/lib/typescript/src/components/TabView/TabView.d.ts +0 -26
- package/lib/typescript/src/components/TabView/TabView.d.ts.map +0 -1
- package/lib/typescript/src/components/TabView/TabViewItem.d.ts +0 -11
- package/lib/typescript/src/components/TabView/TabViewItem.d.ts.map +0 -1
- package/lib/typescript/src/components/TabView/index.d.ts +0 -3
- package/lib/typescript/src/components/TabView/index.d.ts.map +0 -1
- package/lib/typescript/src/components/Table/Table.d.ts +0 -19
- package/lib/typescript/src/components/Table/Table.d.ts.map +0 -1
- package/lib/typescript/src/components/Table/TableCell.d.ts +0 -9
- package/lib/typescript/src/components/Table/TableCell.d.ts.map +0 -1
- package/lib/typescript/src/components/Table/TableCommon.d.ts +0 -20
- package/lib/typescript/src/components/Table/TableCommon.d.ts.map +0 -1
- package/lib/typescript/src/components/Table/TableRow.d.ts +0 -14
- package/lib/typescript/src/components/Table/TableRow.d.ts.map +0 -1
- package/lib/typescript/src/components/Table/index.d.ts +0 -4
- package/lib/typescript/src/components/Table/index.d.ts.map +0 -1
- package/lib/typescript/src/components/Text.d.ts +0 -20
- package/lib/typescript/src/components/Text.d.ts.map +0 -1
- package/lib/typescript/src/components/TextField.d.ts +0 -72
- package/lib/typescript/src/components/TextField.d.ts.map +0 -1
- package/lib/typescript/src/components/ToggleButton.d.ts +0 -25
- package/lib/typescript/src/components/ToggleButton.d.ts.map +0 -1
- package/lib/typescript/src/components/Touchable.d.ts +0 -10
- package/lib/typescript/src/components/Touchable.d.ts.map +0 -1
- package/lib/typescript/src/components/Touchable.web.d.ts +0 -3
- package/lib/typescript/src/components/Touchable.web.d.ts.map +0 -1
- package/lib/typescript/src/components/Typography.d.ts +0 -22
- package/lib/typescript/src/components/Typography.d.ts.map +0 -1
- package/lib/typescript/src/components/YoutubePlayer/YoutubePlayer.d.ts +0 -5
- package/lib/typescript/src/components/YoutubePlayer/YoutubePlayer.d.ts.map +0 -1
- package/lib/typescript/src/components/YoutubePlayer/YoutubePlayer.native.d.ts +0 -5
- package/lib/typescript/src/components/YoutubePlayer/YoutubePlayer.native.d.ts.map +0 -1
- package/lib/typescript/src/components/YoutubePlayer/YoutubePlayerProps.d.ts +0 -8
- package/lib/typescript/src/components/YoutubePlayer/YoutubePlayerProps.d.ts.map +0 -1
- package/lib/typescript/src/components/YoutubePlayer/index.d.ts +0 -2
- package/lib/typescript/src/components/YoutubePlayer/index.d.ts.map +0 -1
- package/lib/typescript/src/components/useAuthState.d.ts +0 -2
- package/lib/typescript/src/components/useAuthState.d.ts.map +0 -1
- package/lib/typescript/src/constants.d.ts +0 -2
- package/lib/typescript/src/constants.d.ts.map +0 -1
- package/lib/typescript/src/hooks.d.ts +0 -2
- package/lib/typescript/src/hooks.d.ts.map +0 -1
- package/lib/typescript/src/index.d.ts +0 -52
- package/lib/typescript/src/index.d.ts.map +0 -1
- package/lib/typescript/src/interfaces/Icon.d.ts +0 -22
- package/lib/typescript/src/interfaces/Icon.d.ts.map +0 -1
- package/lib/typescript/src/styles/DarkTheme.d.ts +0 -4
- package/lib/typescript/src/styles/DarkTheme.d.ts.map +0 -1
- package/lib/typescript/src/styles/DefaultTheme.d.ts +0 -1502
- package/lib/typescript/src/styles/DefaultTheme.d.ts.map +0 -1
- package/lib/typescript/src/styles/fonts.d.ts +0 -6
- package/lib/typescript/src/styles/fonts.d.ts.map +0 -1
- package/lib/typescript/src/styles/overlay.d.ts +0 -3
- package/lib/typescript/src/styles/overlay.d.ts.map +0 -1
- package/lib/typescript/src/styles/shadow.d.ts +0 -24
- package/lib/typescript/src/styles/shadow.d.ts.map +0 -1
- package/lib/typescript/src/theming.d.ts +0 -9
- package/lib/typescript/src/theming.d.ts.map +0 -1
- package/lib/typescript/src/utilities.d.ts +0 -35
- package/lib/typescript/src/utilities.d.ts.map +0 -1
- /package/lib/{module → src}/components/Accordion/index.js +0 -0
- /package/lib/{module → src}/components/ActionSheet/index.js +0 -0
- /package/lib/{module → src}/components/BottomSheet/index.js +0 -0
- /package/lib/{module → src}/components/Checkbox/index.js +0 -0
- /package/lib/{module → src}/components/DatePicker/DatePickerComponentType.js +0 -0
- /package/lib/{module → src}/components/DeckSwiper/index.js +0 -0
- /package/lib/{module → src}/components/Picker/PickerTypes.js +0 -0
- /package/lib/{module → src}/components/RadioButton/index.js +0 -0
- /package/lib/{module → src}/components/SwipeableView/index.js +0 -0
- /package/lib/{module → src}/components/Swiper/index.js +0 -0
- /package/lib/{module → src}/components/TabView/index.js +0 -0
- /package/lib/{module → src}/components/Table/index.js +0 -0
- /package/lib/{module → src}/components/Touchable.web.js +0 -0
- /package/lib/{module → src}/components/YoutubePlayer/YoutubePlayerProps.js +0 -0
- /package/lib/{module → src}/components/YoutubePlayer/index.js +0 -0
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
var React = _interopRequireWildcard(require("react"));
|
|
8
|
-
var _reactNative = require("react-native");
|
|
9
|
-
var _theming = require("../theming");
|
|
10
|
-
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
11
|
-
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
12
|
-
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); }
|
|
13
|
-
const StarRating = _ref => {
|
|
14
|
-
let {
|
|
15
|
-
Icon,
|
|
16
|
-
starSize = 16,
|
|
17
|
-
maxStars = 5,
|
|
18
|
-
rating = 0,
|
|
19
|
-
defaultValue,
|
|
20
|
-
isEditable = false,
|
|
21
|
-
activeColor,
|
|
22
|
-
inactiveColor,
|
|
23
|
-
style,
|
|
24
|
-
onPress,
|
|
25
|
-
...rest
|
|
26
|
-
} = _ref;
|
|
27
|
-
const [localRating, setLocalRating] = React.useState(rating || defaultValue || 0);
|
|
28
|
-
React.useEffect(() => {
|
|
29
|
-
if (rating != null) {
|
|
30
|
-
setLocalRating(rating);
|
|
31
|
-
}
|
|
32
|
-
}, [rating]);
|
|
33
|
-
React.useEffect(() => {
|
|
34
|
-
if (defaultValue != null) {
|
|
35
|
-
setLocalRating(defaultValue);
|
|
36
|
-
}
|
|
37
|
-
}, [defaultValue]);
|
|
38
|
-
const ratingHandler = React.useCallback(r => {
|
|
39
|
-
setLocalRating(r);
|
|
40
|
-
!!onPress && onPress(r);
|
|
41
|
-
}, [onPress]);
|
|
42
|
-
const ratingRounded = Math.round(localRating * 2) / 2;
|
|
43
|
-
return /*#__PURE__*/React.createElement(_reactNative.View, _extends({
|
|
44
|
-
style: [styles.container, style]
|
|
45
|
-
}, rest), [...Array(maxStars)].map((_, i) => /*#__PURE__*/React.createElement(_reactNative.View, {
|
|
46
|
-
key: i,
|
|
47
|
-
style: {
|
|
48
|
-
display: "flex"
|
|
49
|
-
}
|
|
50
|
-
}, /*#__PURE__*/React.createElement(Icon, {
|
|
51
|
-
name: ratingRounded - i === 0.5 ? "MaterialIcons/star-half" : "MaterialIcons/star",
|
|
52
|
-
size: starSize,
|
|
53
|
-
color: ratingRounded > i ? activeColor : inactiveColor
|
|
54
|
-
}), isEditable && /*#__PURE__*/React.createElement(_reactNative.View, {
|
|
55
|
-
style: styles.touchContainer
|
|
56
|
-
}, /*#__PURE__*/React.createElement(_reactNative.Pressable, {
|
|
57
|
-
style: styles.pressable,
|
|
58
|
-
onPress: () => ratingHandler(i + 0.5)
|
|
59
|
-
}), /*#__PURE__*/React.createElement(_reactNative.Pressable, {
|
|
60
|
-
style: styles.pressable,
|
|
61
|
-
onPress: () => ratingHandler(i + 1)
|
|
62
|
-
})))));
|
|
63
|
-
};
|
|
64
|
-
const styles = _reactNative.StyleSheet.create({
|
|
65
|
-
container: {
|
|
66
|
-
flexDirection: "row",
|
|
67
|
-
alignItems: "center"
|
|
68
|
-
},
|
|
69
|
-
touchContainer: {
|
|
70
|
-
display: "flex",
|
|
71
|
-
flexDirection: "row",
|
|
72
|
-
position: "absolute",
|
|
73
|
-
top: 0,
|
|
74
|
-
right: 0,
|
|
75
|
-
left: 0,
|
|
76
|
-
bottom: 0,
|
|
77
|
-
zIndex: 1
|
|
78
|
-
},
|
|
79
|
-
pressable: {
|
|
80
|
-
flex: 1,
|
|
81
|
-
height: "100%",
|
|
82
|
-
width: "50%"
|
|
83
|
-
}
|
|
84
|
-
});
|
|
85
|
-
var _default = (0, _theming.withTheme)(StarRating);
|
|
86
|
-
exports.default = _default;
|
|
87
|
-
//# sourceMappingURL=StarRating.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["StarRating","Icon","starSize","maxStars","rating","defaultValue","isEditable","activeColor","inactiveColor","style","onPress","rest","localRating","setLocalRating","React","useState","useEffect","ratingHandler","useCallback","r","ratingRounded","Math","round","styles","container","Array","map","_","i","display","touchContainer","pressable","StyleSheet","create","flexDirection","alignItems","position","top","right","left","bottom","zIndex","flex","height","width","withTheme"],"sourceRoot":"../../../src","sources":["components/StarRating.tsx"],"mappings":";;;;;;AAAA;AACA;AAOA;AAAuC;AAAA;AAAA;AAiBvC,MAAMA,UAAoD,GAAG,QAYvD;EAAA,IAZwD;IAC5DC,IAAI;IACJC,QAAQ,GAAG,EAAE;IACbC,QAAQ,GAAG,CAAC;IACZC,MAAM,GAAG,CAAC;IACVC,YAAY;IACZC,UAAU,GAAG,KAAK;IAClBC,WAAW;IACXC,aAAa;IACbC,KAAK;IACLC,OAAO;IACP,GAAGC;EACL,CAAC;EACC,MAAM,CAACC,WAAW,EAAEC,cAAc,CAAC,GAAGC,KAAK,CAACC,QAAQ,CAClDX,MAAM,IAAIC,YAAY,IAAI,CAAC,CAC5B;EAEDS,KAAK,CAACE,SAAS,CAAC,MAAM;IACpB,IAAIZ,MAAM,IAAI,IAAI,EAAE;MAClBS,cAAc,CAACT,MAAM,CAAC;IACxB;EACF,CAAC,E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a,CAACW,CAAC,GAAG,CAAC;EAAE,EACpC,CAEL,CAEJ,CAAC,CACG;AAEX,CAAC;AAED,MAAML,MAAM,GAAGS,uBAAU,CAACC,MAAM,CAAC;EAC/BT,SAAS,EAAE;IACTU,aAAa,EAAE,KAAK;IACpBC,UAAU,EAAE;EACd,CAAC;EACDL,cAAc,EAAE;IACdD,OAAO,EAAE,MAAM;IACfK,aAAa,EAAE,KAAK;IACpBE,QAAQ,EAAE,UAAU;IACpBC,GAAG,EAAE,CAAC;IACNC,KAAK,EAAE,CAAC;IACRC,IAAI,EAAE,CAAC;IACPC,MAAM,EAAE,CAAC;IACTC,MAAM,EAAE;EACV,CAAC;EACDV,SAAS,EAAE;IACTW,IAAI,EAAE,CAAC;IACPC,MAAM,EAAE,MAAM;IACdC,KAAK,EAAE;EACT;AACF,CAAC,CAAC;AAAC,eAEY,IAAAC,kBAAS,EAAC7C,UAAU,CAAC;AAAA"}
|
|
@@ -1,386 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
var _react = _interopRequireWildcard(require("react"));
|
|
8
|
-
var _reactNative = require("react-native");
|
|
9
|
-
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
10
|
-
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
11
|
-
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
12
|
-
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
13
|
-
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
14
|
-
const STEP_STATUS = {
|
|
15
|
-
CURRENT: "current",
|
|
16
|
-
FINISHED: "finished",
|
|
17
|
-
UNFINISHED: "unfinished"
|
|
18
|
-
};
|
|
19
|
-
class StepIndicator extends _react.Component {
|
|
20
|
-
constructor(props) {
|
|
21
|
-
super(props);
|
|
22
|
-
_defineProperty(this, "renderProgressBarBackground", () => {
|
|
23
|
-
const {
|
|
24
|
-
stepCount,
|
|
25
|
-
direction
|
|
26
|
-
} = this.props;
|
|
27
|
-
let progressBarBackgroundStyle;
|
|
28
|
-
if (direction === "vertical") {
|
|
29
|
-
progressBarBackgroundStyle = {
|
|
30
|
-
backgroundColor: this.state.customStyles.separatorUnFinishedColor,
|
|
31
|
-
position: "absolute",
|
|
32
|
-
left: (this.state.width - this.state.customStyles.separatorStrokeWidth) / 2,
|
|
33
|
-
top: this.state.height / (2 * stepCount),
|
|
34
|
-
bottom: this.state.height / (2 * stepCount),
|
|
35
|
-
width: this.state.customStyles.separatorStrokeUnfinishedWidth === 0 ? this.state.customStyles.separatorStrokeWidth : this.state.customStyles.separatorStrokeUnfinishedWidth
|
|
36
|
-
};
|
|
37
|
-
} else {
|
|
38
|
-
progressBarBackgroundStyle = {
|
|
39
|
-
backgroundColor: this.state.customStyles.separatorUnFinishedColor,
|
|
40
|
-
position: "absolute",
|
|
41
|
-
top: (this.state.height - this.state.customStyles.separatorStrokeWidth) / 2,
|
|
42
|
-
left: this.state.width / (2 * stepCount),
|
|
43
|
-
right: this.state.width / (2 * stepCount),
|
|
44
|
-
height: this.state.customStyles.separatorStrokeUnfinishedWidth === 0 ? this.state.customStyles.separatorStrokeWidth : this.state.customStyles.separatorStrokeUnfinishedWidth
|
|
45
|
-
};
|
|
46
|
-
}
|
|
47
|
-
return /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
48
|
-
onLayout: event => {
|
|
49
|
-
if (direction === "vertical") {
|
|
50
|
-
this.setState({
|
|
51
|
-
progressBarSize: event.nativeEvent.layout.height
|
|
52
|
-
}, () => {
|
|
53
|
-
this.onCurrentPositionChanged(this.props.currentPosition);
|
|
54
|
-
});
|
|
55
|
-
} else {
|
|
56
|
-
this.setState({
|
|
57
|
-
progressBarSize: event.nativeEvent.layout.width
|
|
58
|
-
}, () => {
|
|
59
|
-
this.onCurrentPositionChanged(this.props.currentPosition);
|
|
60
|
-
});
|
|
61
|
-
}
|
|
62
|
-
},
|
|
63
|
-
style: progressBarBackgroundStyle
|
|
64
|
-
});
|
|
65
|
-
});
|
|
66
|
-
_defineProperty(this, "renderProgressBar", () => {
|
|
67
|
-
const {
|
|
68
|
-
stepCount,
|
|
69
|
-
direction
|
|
70
|
-
} = this.props;
|
|
71
|
-
let progressBarStyle;
|
|
72
|
-
if (direction === "vertical") {
|
|
73
|
-
progressBarStyle = {
|
|
74
|
-
backgroundColor: this.state.customStyles.separatorFinishedColor,
|
|
75
|
-
position: "absolute",
|
|
76
|
-
left: (this.state.width - this.state.customStyles.separatorStrokeWidth) / 2,
|
|
77
|
-
top: this.state.height / (2 * stepCount),
|
|
78
|
-
bottom: this.state.height / (2 * stepCount),
|
|
79
|
-
width: this.state.customStyles.separatorStrokeFinishedWidth === 0 ? this.state.customStyles.separatorStrokeWidth : this.state.customStyles.separatorStrokeFinishedWidth,
|
|
80
|
-
height: this.progressAnim
|
|
81
|
-
};
|
|
82
|
-
} else {
|
|
83
|
-
progressBarStyle = {
|
|
84
|
-
backgroundColor: this.state.customStyles.separatorFinishedColor,
|
|
85
|
-
position: "absolute",
|
|
86
|
-
top: (this.state.height - this.state.customStyles.separatorStrokeWidth) / 2,
|
|
87
|
-
left: this.state.width / (2 * stepCount),
|
|
88
|
-
right: this.state.width / (2 * stepCount),
|
|
89
|
-
height: this.state.customStyles.separatorStrokeFinishedWidth === 0 ? this.state.customStyles.separatorStrokeWidth : this.state.customStyles.separatorStrokeFinishedWidth,
|
|
90
|
-
width: this.progressAnim
|
|
91
|
-
};
|
|
92
|
-
}
|
|
93
|
-
return /*#__PURE__*/_react.default.createElement(_reactNative.Animated.View, {
|
|
94
|
-
style: progressBarStyle
|
|
95
|
-
});
|
|
96
|
-
});
|
|
97
|
-
_defineProperty(this, "renderStepIndicator", () => {
|
|
98
|
-
let steps = [];
|
|
99
|
-
const {
|
|
100
|
-
stepCount,
|
|
101
|
-
direction
|
|
102
|
-
} = this.props;
|
|
103
|
-
for (let position = 0; position < stepCount; position++) {
|
|
104
|
-
steps.push( /*#__PURE__*/_react.default.createElement(_reactNative.TouchableWithoutFeedback, {
|
|
105
|
-
key: position,
|
|
106
|
-
onPress: () => this.stepPressed(position)
|
|
107
|
-
}, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
108
|
-
style: [styles.stepContainer, direction === "vertical" ? {
|
|
109
|
-
flexDirection: "column"
|
|
110
|
-
} : {
|
|
111
|
-
flexDirection: "row"
|
|
112
|
-
}]
|
|
113
|
-
}, this.renderStep(position))));
|
|
114
|
-
}
|
|
115
|
-
return /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
116
|
-
onLayout: event => this.setState({
|
|
117
|
-
width: event.nativeEvent.layout.width,
|
|
118
|
-
height: event.nativeEvent.layout.height
|
|
119
|
-
}),
|
|
120
|
-
style: [styles.stepIndicatorContainer, direction === "vertical" ? {
|
|
121
|
-
flexDirection: "column",
|
|
122
|
-
width: this.state.customStyles.currentStepIndicatorSize
|
|
123
|
-
} : {
|
|
124
|
-
flexDirection: "row",
|
|
125
|
-
height: this.state.customStyles.currentStepIndicatorSize
|
|
126
|
-
}]
|
|
127
|
-
}, steps);
|
|
128
|
-
});
|
|
129
|
-
_defineProperty(this, "renderStepLabels", () => {
|
|
130
|
-
const {
|
|
131
|
-
labels,
|
|
132
|
-
direction,
|
|
133
|
-
currentPosition,
|
|
134
|
-
renderLabel
|
|
135
|
-
} = this.props;
|
|
136
|
-
var labelViews = labels.map((label, index) => {
|
|
137
|
-
const selectedStepLabelStyle = index === currentPosition ? {
|
|
138
|
-
color: this.state.customStyles.currentStepLabelColor
|
|
139
|
-
} : {
|
|
140
|
-
color: this.state.customStyles.labelColor
|
|
141
|
-
};
|
|
142
|
-
return /*#__PURE__*/_react.default.createElement(_reactNative.TouchableWithoutFeedback, {
|
|
143
|
-
style: styles.stepLabelItem,
|
|
144
|
-
key: index,
|
|
145
|
-
onPress: () => this.stepPressed(index)
|
|
146
|
-
}, /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
147
|
-
style: styles.stepLabelItem
|
|
148
|
-
}, renderLabel ? renderLabel({
|
|
149
|
-
position: index,
|
|
150
|
-
stepStatus: this.getStepStatus(index),
|
|
151
|
-
label,
|
|
152
|
-
currentPosition
|
|
153
|
-
}) : /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
154
|
-
style: [styles.stepLabel, selectedStepLabelStyle, {
|
|
155
|
-
fontSize: this.state.customStyles.labelSize,
|
|
156
|
-
fontFamily: this.state.customStyles.labelFontFamily
|
|
157
|
-
}]
|
|
158
|
-
}, label)));
|
|
159
|
-
});
|
|
160
|
-
return /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
161
|
-
style: [styles.stepLabelsContainer, direction === "vertical" ? {
|
|
162
|
-
flexDirection: "column",
|
|
163
|
-
paddingHorizontal: 4
|
|
164
|
-
} : {
|
|
165
|
-
flexDirection: "row",
|
|
166
|
-
paddingVertical: 4
|
|
167
|
-
}, {
|
|
168
|
-
alignItems: this.state.customStyles.labelAlign
|
|
169
|
-
}]
|
|
170
|
-
}, labelViews);
|
|
171
|
-
});
|
|
172
|
-
_defineProperty(this, "renderStep", position => {
|
|
173
|
-
const {
|
|
174
|
-
renderStepIndicator
|
|
175
|
-
} = this.props;
|
|
176
|
-
let stepStyle;
|
|
177
|
-
let indicatorLabelStyle;
|
|
178
|
-
switch (this.getStepStatus(position)) {
|
|
179
|
-
case STEP_STATUS.CURRENT:
|
|
180
|
-
{
|
|
181
|
-
stepStyle = {
|
|
182
|
-
backgroundColor: this.state.customStyles.stepIndicatorCurrentColor,
|
|
183
|
-
borderWidth: this.state.customStyles.currentStepStrokeWidth,
|
|
184
|
-
borderColor: this.state.customStyles.stepStrokeCurrentColor,
|
|
185
|
-
height: this.sizeAnim,
|
|
186
|
-
width: this.sizeAnim,
|
|
187
|
-
borderRadius: this.borderRadiusAnim
|
|
188
|
-
};
|
|
189
|
-
indicatorLabelStyle = {
|
|
190
|
-
fontSize: this.state.customStyles.currentStepIndicatorLabelFontSize,
|
|
191
|
-
color: this.state.customStyles.stepIndicatorLabelCurrentColor
|
|
192
|
-
};
|
|
193
|
-
break;
|
|
194
|
-
}
|
|
195
|
-
case STEP_STATUS.FINISHED:
|
|
196
|
-
{
|
|
197
|
-
stepStyle = {
|
|
198
|
-
backgroundColor: this.state.customStyles.stepIndicatorFinishedColor,
|
|
199
|
-
borderWidth: this.state.customStyles.stepStrokeWidth,
|
|
200
|
-
borderColor: this.state.customStyles.stepStrokeFinishedColor,
|
|
201
|
-
height: this.state.customStyles.stepIndicatorSize,
|
|
202
|
-
width: this.state.customStyles.stepIndicatorSize,
|
|
203
|
-
borderRadius: this.state.customStyles.stepIndicatorSize / 2
|
|
204
|
-
};
|
|
205
|
-
indicatorLabelStyle = {
|
|
206
|
-
fontSize: this.state.customStyles.stepIndicatorLabelFontSize,
|
|
207
|
-
color: this.state.customStyles.stepIndicatorLabelFinishedColor
|
|
208
|
-
};
|
|
209
|
-
break;
|
|
210
|
-
}
|
|
211
|
-
case STEP_STATUS.UNFINISHED:
|
|
212
|
-
{
|
|
213
|
-
stepStyle = {
|
|
214
|
-
backgroundColor: this.state.customStyles.stepIndicatorUnFinishedColor,
|
|
215
|
-
borderWidth: this.state.customStyles.stepStrokeWidth,
|
|
216
|
-
borderColor: this.state.customStyles.stepStrokeUnFinishedColor,
|
|
217
|
-
height: this.state.customStyles.stepIndicatorSize,
|
|
218
|
-
width: this.state.customStyles.stepIndicatorSize,
|
|
219
|
-
borderRadius: this.state.customStyles.stepIndicatorSize / 2
|
|
220
|
-
};
|
|
221
|
-
indicatorLabelStyle = {
|
|
222
|
-
overflow: "hidden",
|
|
223
|
-
fontSize: this.state.customStyles.stepIndicatorLabelFontSize,
|
|
224
|
-
color: this.state.customStyles.stepIndicatorLabelUnFinishedColor
|
|
225
|
-
};
|
|
226
|
-
break;
|
|
227
|
-
}
|
|
228
|
-
default:
|
|
229
|
-
}
|
|
230
|
-
return /*#__PURE__*/_react.default.createElement(_reactNative.Animated.View, {
|
|
231
|
-
key: "step-indicator",
|
|
232
|
-
style: [styles.step, stepStyle]
|
|
233
|
-
}, renderStepIndicator ? renderStepIndicator({
|
|
234
|
-
position,
|
|
235
|
-
stepStatus: this.getStepStatus(position)
|
|
236
|
-
}) : /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
237
|
-
style: indicatorLabelStyle
|
|
238
|
-
}, "".concat(position + 1)));
|
|
239
|
-
});
|
|
240
|
-
_defineProperty(this, "getStepStatus", stepPosition => {
|
|
241
|
-
const {
|
|
242
|
-
currentPosition
|
|
243
|
-
} = this.props;
|
|
244
|
-
if (stepPosition === currentPosition) {
|
|
245
|
-
return STEP_STATUS.CURRENT;
|
|
246
|
-
} else if (stepPosition < currentPosition) {
|
|
247
|
-
return STEP_STATUS.FINISHED;
|
|
248
|
-
} else {
|
|
249
|
-
return STEP_STATUS.UNFINISHED;
|
|
250
|
-
}
|
|
251
|
-
});
|
|
252
|
-
_defineProperty(this, "onCurrentPositionChanged", position => {
|
|
253
|
-
let {
|
|
254
|
-
stepCount
|
|
255
|
-
} = this.props;
|
|
256
|
-
if (position > stepCount - 1) {
|
|
257
|
-
position = stepCount - 1;
|
|
258
|
-
}
|
|
259
|
-
const animateToPosition = this.state.progressBarSize / (stepCount - 1) * position;
|
|
260
|
-
this.sizeAnim.setValue(this.state.customStyles.stepIndicatorSize);
|
|
261
|
-
this.borderRadiusAnim.setValue(this.state.customStyles.stepIndicatorSize / 2);
|
|
262
|
-
_reactNative.Animated.sequence([_reactNative.Animated.timing(this.progressAnim, {
|
|
263
|
-
toValue: animateToPosition,
|
|
264
|
-
duration: 200
|
|
265
|
-
}), _reactNative.Animated.parallel([_reactNative.Animated.timing(this.sizeAnim, {
|
|
266
|
-
toValue: this.state.customStyles.currentStepIndicatorSize,
|
|
267
|
-
duration: 100
|
|
268
|
-
}), _reactNative.Animated.timing(this.borderRadiusAnim, {
|
|
269
|
-
toValue: this.state.customStyles.currentStepIndicatorSize / 2,
|
|
270
|
-
duration: 100
|
|
271
|
-
})])]).start();
|
|
272
|
-
});
|
|
273
|
-
const defaultStyles = {
|
|
274
|
-
stepIndicatorSize: 30,
|
|
275
|
-
currentStepIndicatorSize: 40,
|
|
276
|
-
separatorStrokeWidth: 3,
|
|
277
|
-
separatorStrokeUnfinishedWidth: 0,
|
|
278
|
-
separatorStrokeFinishedWidth: 0,
|
|
279
|
-
currentStepStrokeWidth: 5,
|
|
280
|
-
stepStrokeWidth: 0,
|
|
281
|
-
stepStrokeCurrentColor: "#4aae4f",
|
|
282
|
-
stepStrokeFinishedColor: "#4aae4f",
|
|
283
|
-
stepStrokeUnFinishedColor: "#4aae4f",
|
|
284
|
-
separatorFinishedColor: "#4aae4f",
|
|
285
|
-
separatorUnFinishedColor: "#a4d4a5",
|
|
286
|
-
stepIndicatorFinishedColor: "#4aae4f",
|
|
287
|
-
stepIndicatorUnFinishedColor: "#a4d4a5",
|
|
288
|
-
stepIndicatorCurrentColor: "#ffffff",
|
|
289
|
-
stepIndicatorLabelFontSize: 15,
|
|
290
|
-
currentStepIndicatorLabelFontSize: 15,
|
|
291
|
-
stepIndicatorLabelCurrentColor: "#000000",
|
|
292
|
-
stepIndicatorLabelFinishedColor: "#ffffff",
|
|
293
|
-
stepIndicatorLabelUnFinishedColor: "rgba(255,255,255,0.5)",
|
|
294
|
-
labelColor: "#000000",
|
|
295
|
-
labelSize: 13,
|
|
296
|
-
labelAlign: "center",
|
|
297
|
-
currentStepLabelColor: "#4aae4f"
|
|
298
|
-
};
|
|
299
|
-
const customStyles = Object.assign(defaultStyles, props.customStyles);
|
|
300
|
-
this.state = {
|
|
301
|
-
width: 0,
|
|
302
|
-
height: 1,
|
|
303
|
-
progressBarSize: -2,
|
|
304
|
-
customStyles
|
|
305
|
-
};
|
|
306
|
-
this.progressAnim = new _reactNative.Animated.Value(0);
|
|
307
|
-
this.sizeAnim = new _reactNative.Animated.Value(this.state.customStyles.stepIndicatorSize);
|
|
308
|
-
this.borderRadiusAnim = new _reactNative.Animated.Value(this.state.customStyles.stepIndicatorSize / 2);
|
|
309
|
-
}
|
|
310
|
-
stepPressed(position) {
|
|
311
|
-
if (this.props.onPress) {
|
|
312
|
-
this.props.onPress(position);
|
|
313
|
-
}
|
|
314
|
-
}
|
|
315
|
-
render() {
|
|
316
|
-
const {
|
|
317
|
-
labels,
|
|
318
|
-
direction
|
|
319
|
-
} = this.props;
|
|
320
|
-
return /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
321
|
-
style: [styles.container, direction === "vertical" ? {
|
|
322
|
-
flexDirection: "row",
|
|
323
|
-
flex: 1
|
|
324
|
-
} : {
|
|
325
|
-
flexDirection: "column"
|
|
326
|
-
}]
|
|
327
|
-
}, this.state.width !== 0 && this.renderProgressBarBackground(), this.state.width !== 0 && this.renderProgressBar(), this.renderStepIndicator(), labels && this.renderStepLabels());
|
|
328
|
-
}
|
|
329
|
-
componentDidUpdate(prevProps) {
|
|
330
|
-
// if (prevProps.customStyles !== this.props.customStyles) {
|
|
331
|
-
// this.setState((state) => ({
|
|
332
|
-
// customStyles: Object.assign(
|
|
333
|
-
// state.customStyles,
|
|
334
|
-
// this.props.customStyles
|
|
335
|
-
// ),
|
|
336
|
-
// }));
|
|
337
|
-
// }
|
|
338
|
-
|
|
339
|
-
if (prevProps.currentPosition !== this.props.currentPosition) {
|
|
340
|
-
this.onCurrentPositionChanged(this.props.currentPosition);
|
|
341
|
-
}
|
|
342
|
-
}
|
|
343
|
-
}
|
|
344
|
-
exports.default = StepIndicator;
|
|
345
|
-
const styles = _reactNative.StyleSheet.create({
|
|
346
|
-
container: {
|
|
347
|
-
backgroundColor: "transparent"
|
|
348
|
-
},
|
|
349
|
-
stepIndicatorContainer: {
|
|
350
|
-
flexDirection: "row",
|
|
351
|
-
alignItems: "center",
|
|
352
|
-
justifyContent: "space-around",
|
|
353
|
-
backgroundColor: "transparent"
|
|
354
|
-
},
|
|
355
|
-
stepLabelsContainer: {
|
|
356
|
-
justifyContent: "space-around"
|
|
357
|
-
},
|
|
358
|
-
step: {
|
|
359
|
-
alignItems: "center",
|
|
360
|
-
justifyContent: "center",
|
|
361
|
-
zIndex: 2
|
|
362
|
-
},
|
|
363
|
-
stepContainer: {
|
|
364
|
-
flex: 1,
|
|
365
|
-
flexDirection: "row",
|
|
366
|
-
alignItems: "center",
|
|
367
|
-
justifyContent: "center"
|
|
368
|
-
},
|
|
369
|
-
stepLabel: {
|
|
370
|
-
fontSize: 12,
|
|
371
|
-
textAlign: "center",
|
|
372
|
-
fontWeight: "500"
|
|
373
|
-
},
|
|
374
|
-
stepLabelItem: {
|
|
375
|
-
flex: 1,
|
|
376
|
-
alignItems: "center",
|
|
377
|
-
justifyContent: "center"
|
|
378
|
-
}
|
|
379
|
-
});
|
|
380
|
-
StepIndicator.defaultProps = {
|
|
381
|
-
currentPosition: 0,
|
|
382
|
-
stepCount: 5,
|
|
383
|
-
customStyles: {},
|
|
384
|
-
direction: "horizontal"
|
|
385
|
-
};
|
|
386
|
-
//# sourceMappingURL=StepIndicator.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["STEP_STATUS","CURRENT","FINISHED","UNFINISHED","StepIndicator","Component","constructor","props","stepCount","direction","progressBarBackgroundStyle","backgroundColor","state","customStyles","separatorUnFinishedColor","position","left","width","separatorStrokeWidth","top","height","bottom","separatorStrokeUnfinishedWidth","right","event","setState","progressBarSize","nativeEvent","layout","onCurrentPositionChanged","currentPosition","progressBarStyle","separatorFinishedColor","separatorStrokeFinishedWidth","progressAnim","steps","push","stepPressed","styles","stepContainer","flexDirection","renderStep","stepIndicatorContainer","currentStepIndicatorSize","labels","renderLabel","labelViews","map","label","index","selectedStepLabelStyle","color","currentStepLabelColor","labelColor","stepLabelItem","stepStatus","getStepStatus","stepLabel","fontSize","labelSize","fontFamily","labelFontFamily","stepLabelsContainer","paddingHorizontal","paddingVertical","alignItems","labelAlign","renderStepIndicator","stepStyle","indicatorLabelStyle","stepIndicatorCurrentColor","borderWidth","currentStepStrokeWidth","borderColor","stepStrokeCurrentColor","sizeAnim","borderRadius","borderRadiusAnim","currentStepIndicatorLabelFontSize","stepIndicatorLabelCurrentColor","stepIndicatorFinishedColor","stepStrokeWidth","stepStrokeFinishedColor","stepIndicatorSize","stepIndicatorLabelFontSize","stepIndicatorLabelFinishedColor","stepIndicatorUnFinishedColor","stepStrokeUnFinishedColor","overflow","stepIndicatorLabelUnFinishedColor","step","stepPosition","animateToPosition","setValue","Animated","sequence","timing","toValue","duration","parallel","start","defaultStyles","Object","assign","Value","onPress","render","container","flex","renderProgressBarBackground","renderProgressBar","renderStepLabels","componentDidUpdate","prevProps","StyleSheet","create","justifyContent","zIndex","textAlign","fontWeight","defaultProps"],"sourceRoot":"../../../src","sources":["components/StepIndicator.tsx"],"mappings":";;;;;;AACA;AACA;AAMsB;AAAA;AAAA;AAAA;AAAA;AAEtB,MAAMA,WAAW,GAAG;EAClBC,OAAO,EAAE,SAAS;EAClBC,QAAQ,EAAE,UAAU;EACpBC,UAAU,EAAE;AACd,CAAC;AA2Cc,MAAMC,aAAa,SAASC,gBAAS,CAAe;EACjEC,WAAW,CAACC,KAAY,EAAE;IACxB,KAAK,CAACA,KAAK,CAAC;IAAC,qDAuFe,MAAM;MAClC,MAAM;QAAEC,SAAS;QAAEC;MAAU,CAAC,GAAG,IAAI,CAACF,KAAK;MAC3C,IAAIG,0BAA0B;MAC9B,IAAID,SAAS,KAAK,UAAU,EAAE;QAC5BC,0BAA0B,GAAG;UAC3BC,eAAe,EAAE,IAAI,CAACC,KAAK,CAACC,YAAY,CAACC,wBAAwB;UACjEC,QAAQ,EAAE,UAAU;UACpBC,IAAI,EACF,CAAC,IAAI,CAACJ,KAAK,CAACK,KAAK,GAAG,IAAI,CAACL,KAAK,CAACC,YAAY,CAACK,oBAAoB,IAAI,CAAC;UACvEC,GAAG,EAAE,IAAI,CAACP,KAAK,CAACQ,MAAM,IAAI,CAAC,GAAGZ,SAAS,CAAC;UACxCa,MAAM,EAAE,IAAI,CAACT,KAAK,CAACQ,MAAM,IAAI,CAAC,GAAGZ,SAAS,CAAC;UAC3CS,KAAK,EACH,IAAI,CAACL,KAAK,CAACC,YAAY,CAACS,8BAA8B,KAAK,CAAC,GACxD,IAAI,CAACV,KAAK,CAACC,YAAY,CAACK,oBAAoB,GAC5C,IAAI,CAACN,KAAK,CAACC,YAAY,CAACS;QAChC,CAAC;MACH,CAAC,MAAM;QACLZ,0BAA0B,GAAG;UAC3BC,eAAe,EAAE,IAAI,CAACC,KAAK,CAACC,YAAY,CAACC,wBAAwB;UACjEC,QAAQ,EAAE,UAAU;UACpBI,GAAG,EACD,CAAC,IAAI,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CAAC;IAC3D;EACF;AAkTF;AAAC;AAED,MAAMQ,MAAM,GAAG4E,uBAAU,CAACC,MAAM,CAAC;EAC/BR,SAAS,EAAE;IACThG,eAAe,EAAE;EACnB,CAAC;EACD+B,sBAAsB,EAAE;IACtBF,aAAa,EAAE,KAAK;IACpByB,UAAU,EAAE,QAAQ;IACpBmD,cAAc,EAAE,cAAc;IAC9BzG,eAAe,EAAE;EACnB,CAAC;EACDmD,mBAAmB,EAAE;IACnBsD,cAAc,EAAE;EAClB,CAAC;EACD1B,IAAI,EAAE;IACJzB,UAAU,EAAE,QAAQ;IACpBmD,cAAc,EAAE,QAAQ;IACxBC,MAAM,EAAE;EACV,CAAC;EACD9E,aAAa,EAAE;IACbqE,IAAI,EAAE,CAAC;IACPpE,aAAa,EAAE,KAAK;IACpByB,UAAU,EAAE,QAAQ;IACpBmD,cAAc,EAAE;EAClB,CAAC;EACD3D,SAAS,EAAE;IACTC,QAAQ,EAAE,EAAE;IACZ4D,SAAS,EAAE,QAAQ;IACnBC,UAAU,EAAE;EACd,CAAC;EACDjE,aAAa,EAAE;IACbsD,IAAI,EAAE,CAAC;IACP3C,UAAU,EAAE,QAAQ;IACpBmD,cAAc,EAAE;EAClB;AACF,CAAC,CAAC;AAEFhH,aAAa,CAACoH,YAAY,GAAG;EAC3B1F,eAAe,EAAE,CAAC;EAClBtB,SAAS,EAAE,CAAC;EACZK,YAAY,EAAE,CAAC,CAAC;EAChBJ,SAAS,EAAE;AACb,CAAC"}
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
var _react = _interopRequireWildcard(require("react"));
|
|
8
|
-
var _reactNative = require("react-native");
|
|
9
|
-
var _lodash = require("lodash");
|
|
10
|
-
var _theming = require("../theming");
|
|
11
|
-
var _IconButton = _interopRequireDefault(require("./IconButton"));
|
|
12
|
-
var _utilities = require("../utilities");
|
|
13
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
14
|
-
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
15
|
-
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
16
|
-
const Stepper = _ref => {
|
|
17
|
-
let {
|
|
18
|
-
min = -Infinity,
|
|
19
|
-
max = Infinity,
|
|
20
|
-
value: valueProp,
|
|
21
|
-
defaultValue,
|
|
22
|
-
style,
|
|
23
|
-
iconSize = 24,
|
|
24
|
-
iconColor,
|
|
25
|
-
onChange,
|
|
26
|
-
theme: {
|
|
27
|
-
colors,
|
|
28
|
-
typography
|
|
29
|
-
},
|
|
30
|
-
Icon
|
|
31
|
-
} = _ref;
|
|
32
|
-
const {
|
|
33
|
-
viewStyles,
|
|
34
|
-
textStyles
|
|
35
|
-
} = (0, _utilities.extractStyles)(style);
|
|
36
|
-
const [value, setValue] = (0, _react.useState)(defaultValue !== null && defaultValue !== void 0 ? defaultValue : 0);
|
|
37
|
-
const isValidValue = valueArg => valueArg >= min && valueArg <= max;
|
|
38
|
-
const handlePlusOrMinus = type => {
|
|
39
|
-
const newValue = type === "plus" ? value + 1 : value - 1;
|
|
40
|
-
if (isValidValue(newValue)) {
|
|
41
|
-
setValue(newValue);
|
|
42
|
-
onChange === null || onChange === void 0 ? void 0 : onChange(newValue);
|
|
43
|
-
}
|
|
44
|
-
};
|
|
45
|
-
(0, _react.useEffect)(() => {
|
|
46
|
-
if (valueProp != null && (0, _lodash.isNumber)(valueProp) && valueProp !== value && isValidValue(valueProp)) {
|
|
47
|
-
setValue(valueProp);
|
|
48
|
-
}
|
|
49
|
-
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
50
|
-
}, [valueProp]);
|
|
51
|
-
return /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
52
|
-
style: [{
|
|
53
|
-
flexDirection: "row"
|
|
54
|
-
}, viewStyles]
|
|
55
|
-
}, /*#__PURE__*/_react.default.createElement(_IconButton.default, {
|
|
56
|
-
Icon: Icon,
|
|
57
|
-
icon: "MaterialIcons/remove",
|
|
58
|
-
onPress: () => handlePlusOrMinus("minus"),
|
|
59
|
-
size: iconSize,
|
|
60
|
-
color: iconColor,
|
|
61
|
-
disabled: value === min,
|
|
62
|
-
style: {
|
|
63
|
-
opacity: value === min ? 0.5 : 1
|
|
64
|
-
}
|
|
65
|
-
}), /*#__PURE__*/_react.default.createElement(_reactNative.Text, {
|
|
66
|
-
style: [typography.body1, {
|
|
67
|
-
textAlign: "center",
|
|
68
|
-
alignSelf: "center",
|
|
69
|
-
color: colors.medium,
|
|
70
|
-
marginHorizontal: 8
|
|
71
|
-
}, textStyles]
|
|
72
|
-
}, value), /*#__PURE__*/_react.default.createElement(_IconButton.default, {
|
|
73
|
-
Icon: Icon,
|
|
74
|
-
icon: "MaterialIcons/add",
|
|
75
|
-
onPress: () => handlePlusOrMinus("plus"),
|
|
76
|
-
size: iconSize,
|
|
77
|
-
color: iconColor,
|
|
78
|
-
disabled: value === max,
|
|
79
|
-
style: {
|
|
80
|
-
opacity: value === max ? 0.5 : 1
|
|
81
|
-
}
|
|
82
|
-
}));
|
|
83
|
-
};
|
|
84
|
-
var _default = (0, _theming.withTheme)(Stepper);
|
|
85
|
-
exports.default = _default;
|
|
86
|
-
//# sourceMappingURL=Stepper.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["Stepper","min","Infinity","max","value","valueProp","defaultValue","style","iconSize","iconColor","onChange","theme","colors","typography","Icon","viewStyles","textStyles","extractStyles","setValue","useState","isValidValue","valueArg","handlePlusOrMinus","type","newValue","useEffect","isNumber","flexDirection","opacity","body1","textAlign","alignSelf","color","medium","marginHorizontal","withTheme"],"sourceRoot":"../../../src","sources":["components/Stepper.tsx"],"mappings":";;;;;;AAAA;AACA;AACA;AAEA;AAGA;AACA;AAA6C;AAAA;AAAA;AAc7C,MAAMA,OAAkB,GAAG,QAWrB;EAAA,IAXsB;IAC1BC,GAAG,GAAG,CAACC,QAAQ;IACfC,GAAG,GAAGD,QAAQ;IACdE,KAAK,EAAEC,SAAS;IAChBC,YAAY;IACZC,KAAK;IACLC,QAAQ,GAAG,EAAE;IACbC,SAAS;IACTC,QAAQ;IACRC,KAAK,EAAE;MAAEC,MAAM;MAAEC;IAAW,CAAC;IAC7BC;EACF,CAAC;EACC,MAAM;IAAEC,UAAU;IAAEC;EAAW,CAAC,GAAG,IAAAC,wBAAa,EAACV,KAAK,CAAC;EACvD,MAAM,CAACH,KAAK,EAAEc,QAAQ,CAAC,GAAG,IAAAC,eAAQ,EAACb,YAAY,aAAZA,YAAY,cAAZA,YAAY,GAAI,CAAC,CAAC;EAErD,MAAMc,YAAY,GAAIC,QAAgB,IAAKA,QAAQ,IAAIpB,GAAG,IAAIoB,QAAQ,IAAIlB,GAAG;EAE7E,MAAMmB,iBAAiB,GAAIC,IAAsB,IAAK;IACpD,MAAMC,QAAQ,GAAGD,IAAI,KAAK,MAAM,GAAGnB,KAAK,GAAG,CAAC,GAAGA,KAAK,GAAG,CAAC;IAExD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AAQ,EAAEL,KAAK,KAAKD,GAAI;IACxB,KAAK,EAAE;MAAEyB,OAAO,EAAExB,KAAK,KAAKD,GAAG,GAAG,GAAG,GAAG;IAAE;EAAE,EAC5C,CACG;AAEX,CAAC;AAAC,eAEa,IAAAgC,kBAAS,EAACnC,OAAO,CAAC;AAAA"}
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
var React = _interopRequireWildcard(require("react"));
|
|
8
|
-
var _reactNative = require("react-native");
|
|
9
|
-
var _shadow = _interopRequireDefault(require("../styles/shadow"));
|
|
10
|
-
var _overlay = _interopRequireDefault(require("../styles/overlay"));
|
|
11
|
-
var _theming = require("../theming");
|
|
12
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
13
|
-
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
14
|
-
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
15
|
-
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); }
|
|
16
|
-
const Surface = _ref => {
|
|
17
|
-
let {
|
|
18
|
-
elevation: propElevation,
|
|
19
|
-
style,
|
|
20
|
-
theme,
|
|
21
|
-
children,
|
|
22
|
-
...rest
|
|
23
|
-
} = _ref;
|
|
24
|
-
const {
|
|
25
|
-
elevation: styleElevation = 3,
|
|
26
|
-
backgroundColor,
|
|
27
|
-
...restStyle
|
|
28
|
-
} = _reactNative.StyleSheet.flatten(style) || {};
|
|
29
|
-
const {
|
|
30
|
-
dark: isDarkTheme,
|
|
31
|
-
mode,
|
|
32
|
-
colors
|
|
33
|
-
} = theme;
|
|
34
|
-
const elevation = propElevation !== null && propElevation !== void 0 ? propElevation : styleElevation;
|
|
35
|
-
const evalationStyles = elevation ? (0, _shadow.default)(elevation) : {};
|
|
36
|
-
const getBackgroundColor = () => {
|
|
37
|
-
if (backgroundColor) {
|
|
38
|
-
return backgroundColor;
|
|
39
|
-
} else if (isDarkTheme && mode === "adaptive") {
|
|
40
|
-
return (0, _overlay.default)(elevation, colors.surface);
|
|
41
|
-
} else {
|
|
42
|
-
return colors.surface;
|
|
43
|
-
}
|
|
44
|
-
};
|
|
45
|
-
return /*#__PURE__*/React.createElement(_reactNative.Animated.View, _extends({}, rest, {
|
|
46
|
-
style: [{
|
|
47
|
-
backgroundColor: getBackgroundColor(),
|
|
48
|
-
elevation,
|
|
49
|
-
...evalationStyles,
|
|
50
|
-
...restStyle
|
|
51
|
-
}]
|
|
52
|
-
}), children);
|
|
53
|
-
};
|
|
54
|
-
var _default = (0, _theming.withTheme)(Surface);
|
|
55
|
-
exports.default = _default;
|
|
56
|
-
//# sourceMappingURL=Surface.js.map
|