@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,430 +0,0 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
-
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; }
|
|
3
|
-
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
4
|
-
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); }
|
|
5
|
-
/**
|
|
6
|
-
* Slightly modfied version as taken from https://github.com/rgommezz/react-native-scroll-bottom-sheet
|
|
7
|
-
* Main previously breaking change:
|
|
8
|
-
* const node = this.props.innerRef.current?.getNode() ==> const node = this.props.innerRef.current as any
|
|
9
|
-
*/
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* Copyright (c) 2020 Raul Gomez Acuna
|
|
13
|
-
*
|
|
14
|
-
* This source code is licensed under the MIT license found in the
|
|
15
|
-
* LICENSE file in the root directory of this source tree.
|
|
16
|
-
*
|
|
17
|
-
*/
|
|
18
|
-
|
|
19
|
-
import React, { Component } from "react";
|
|
20
|
-
import { Dimensions, FlatList, Platform, ScrollView, SectionList, StyleSheet, View } from "react-native";
|
|
21
|
-
import Animated, { abs, add, and, call, Clock, clockRunning, cond, Easing as EasingDeprecated,
|
|
22
|
-
// @ts-ignore: this property is only present in Reanimated 2
|
|
23
|
-
EasingNode, eq, event, Extrapolate, greaterOrEq, greaterThan, multiply, not, onChange, or, set, startClock, stopClock, sub, spring, timing, Value } from "react-native-reanimated";
|
|
24
|
-
import { NativeViewGestureHandler, PanGestureHandler, State as GestureState, TapGestureHandler } from "react-native-gesture-handler";
|
|
25
|
-
const {
|
|
26
|
-
//@ts-ignore
|
|
27
|
-
interpolate: interpolateDeprecated,
|
|
28
|
-
// @ts-ignore: this property is only present in Reanimated 2
|
|
29
|
-
interpolateNode
|
|
30
|
-
} = Animated;
|
|
31
|
-
const interpolate = interpolateNode !== null && interpolateNode !== void 0 ? interpolateNode : interpolateDeprecated;
|
|
32
|
-
//@ts-ignore
|
|
33
|
-
const Easing = EasingNode !== null && EasingNode !== void 0 ? EasingNode : EasingDeprecated;
|
|
34
|
-
const FlatListComponentType = "FlatList";
|
|
35
|
-
const ScrollViewComponentType = "ScrollView";
|
|
36
|
-
const SectionListComponentType = "SectionList";
|
|
37
|
-
const TimingAnimationType = "timing";
|
|
38
|
-
const SpringAnimationType = "spring";
|
|
39
|
-
const DEFAULT_SPRING_PARAMS = {
|
|
40
|
-
damping: 50,
|
|
41
|
-
mass: 0.3,
|
|
42
|
-
stiffness: 121.6,
|
|
43
|
-
overshootClamping: true,
|
|
44
|
-
restSpeedThreshold: 0.3,
|
|
45
|
-
restDisplacementThreshold: 0.3
|
|
46
|
-
};
|
|
47
|
-
const {
|
|
48
|
-
height: windowHeight
|
|
49
|
-
} = Dimensions.get("window");
|
|
50
|
-
const IOS_NORMAL_DECELERATION_RATE = 0.998;
|
|
51
|
-
const ANDROID_NORMAL_DECELERATION_RATE = 0.985;
|
|
52
|
-
const DEFAULT_ANIMATION_DURATION = 250;
|
|
53
|
-
const DEFAULT_EASING = Easing.inOut(Easing.linear);
|
|
54
|
-
const imperativeScrollOptions = {
|
|
55
|
-
[FlatListComponentType]: {
|
|
56
|
-
method: "scrollToIndex",
|
|
57
|
-
args: {
|
|
58
|
-
index: 0,
|
|
59
|
-
viewPosition: 0,
|
|
60
|
-
viewOffset: 1000,
|
|
61
|
-
animated: true
|
|
62
|
-
}
|
|
63
|
-
},
|
|
64
|
-
[ScrollViewComponentType]: {
|
|
65
|
-
method: "scrollTo",
|
|
66
|
-
args: {
|
|
67
|
-
x: 0,
|
|
68
|
-
y: 0,
|
|
69
|
-
animated: true
|
|
70
|
-
}
|
|
71
|
-
},
|
|
72
|
-
[SectionListComponentType]: {
|
|
73
|
-
method: "scrollToLocation",
|
|
74
|
-
args: {
|
|
75
|
-
itemIndex: 0,
|
|
76
|
-
sectionIndex: 0,
|
|
77
|
-
viewPosition: 0,
|
|
78
|
-
viewOffset: 1000,
|
|
79
|
-
animated: true
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
};
|
|
83
|
-
export class ScrollBottomSheet extends Component {
|
|
84
|
-
/**
|
|
85
|
-
* Gesture Handler references
|
|
86
|
-
*/
|
|
87
|
-
|
|
88
|
-
/**
|
|
89
|
-
* Flag to indicate imperative snapping
|
|
90
|
-
*/
|
|
91
|
-
|
|
92
|
-
/**
|
|
93
|
-
* Manual snapping amount
|
|
94
|
-
*/
|
|
95
|
-
|
|
96
|
-
constructor(props) {
|
|
97
|
-
var _props$animationConfi, _this;
|
|
98
|
-
super(props);
|
|
99
|
-
_this = this;
|
|
100
|
-
_defineProperty(this, "masterDrawer", /*#__PURE__*/React.createRef());
|
|
101
|
-
_defineProperty(this, "drawerHandleRef", /*#__PURE__*/React.createRef());
|
|
102
|
-
_defineProperty(this, "drawerContentRef", /*#__PURE__*/React.createRef());
|
|
103
|
-
_defineProperty(this, "scrollComponentRef", /*#__PURE__*/React.createRef());
|
|
104
|
-
_defineProperty(this, "isManuallySetValue", new Value(0));
|
|
105
|
-
_defineProperty(this, "manualYOffset", new Value(0));
|
|
106
|
-
_defineProperty(this, "prevSnapIndex", -1);
|
|
107
|
-
_defineProperty(this, "dragY", new Value(0));
|
|
108
|
-
_defineProperty(this, "prevDragY", new Value(0));
|
|
109
|
-
_defineProperty(this, "tempDestSnapPoint", new Value(0));
|
|
110
|
-
_defineProperty(this, "isAndroid", new Value(Number(Platform.OS === "android")));
|
|
111
|
-
_defineProperty(this, "animationClock", new Clock());
|
|
112
|
-
_defineProperty(this, "animationPosition", new Value(0));
|
|
113
|
-
_defineProperty(this, "animationFinished", new Value(0));
|
|
114
|
-
_defineProperty(this, "animationFrameTime", new Value(0));
|
|
115
|
-
_defineProperty(this, "velocityY", new Value(0));
|
|
116
|
-
_defineProperty(this, "lastStartScrollY", new Value(0));
|
|
117
|
-
_defineProperty(this, "destSnapPoint", new Value(0));
|
|
118
|
-
_defineProperty(this, "dragWithHandle", new Value(0));
|
|
119
|
-
_defineProperty(this, "scrollUpAndPullDown", new Value(0));
|
|
120
|
-
_defineProperty(this, "convertPercentageToDp", str => Number(str.split("%")[0]) * (windowHeight - this.props.topInset) / 100);
|
|
121
|
-
_defineProperty(this, "getNormalisedSnapPoints", () => {
|
|
122
|
-
return this.props.snapPoints.map(p => {
|
|
123
|
-
if (typeof p === "string") {
|
|
124
|
-
return this.convertPercentageToDp(p);
|
|
125
|
-
} else if (typeof p === "number") {
|
|
126
|
-
return p;
|
|
127
|
-
}
|
|
128
|
-
throw new Error("Invalid type for value ".concat(p, ": ").concat(typeof p, ". It should be either a percentage string or a number"));
|
|
129
|
-
});
|
|
130
|
-
});
|
|
131
|
-
_defineProperty(this, "getScrollComponent", () => {
|
|
132
|
-
switch (this.props.componentType) {
|
|
133
|
-
case "FlatList":
|
|
134
|
-
return FlatList;
|
|
135
|
-
case "ScrollView":
|
|
136
|
-
return ScrollView;
|
|
137
|
-
case "SectionList":
|
|
138
|
-
return SectionList;
|
|
139
|
-
default:
|
|
140
|
-
throw new Error("Component type not supported: it should be one of `FlatList`, `ScrollView` or `SectionList`");
|
|
141
|
-
}
|
|
142
|
-
});
|
|
143
|
-
_defineProperty(this, "snapTo", index => {
|
|
144
|
-
const snapPoints = this.getNormalisedSnapPoints();
|
|
145
|
-
this.isManuallySetValue.setValue(1);
|
|
146
|
-
this.manualYOffset.setValue(snapPoints[index]);
|
|
147
|
-
this.nextSnapIndex.setValue(index);
|
|
148
|
-
});
|
|
149
|
-
const {
|
|
150
|
-
initialSnapIndex,
|
|
151
|
-
animationType
|
|
152
|
-
} = props;
|
|
153
|
-
const animationDriver = animationType === "timing" ? 0 : 1;
|
|
154
|
-
const animationDuration = props.animationType === "timing" && ((_props$animationConfi = props.animationConfig) === null || _props$animationConfi === void 0 ? void 0 : _props$animationConfi.duration) || DEFAULT_ANIMATION_DURATION;
|
|
155
|
-
const ScrollComponent = this.getScrollComponent();
|
|
156
|
-
// @ts-ignore
|
|
157
|
-
this.scrollComponent = Animated.createAnimatedComponent(ScrollComponent);
|
|
158
|
-
const _snapPoints = this.getNormalisedSnapPoints();
|
|
159
|
-
const openPosition = _snapPoints[0];
|
|
160
|
-
const closedPosition = this.props.enableOverScroll ? windowHeight : _snapPoints[_snapPoints.length - 1];
|
|
161
|
-
const initialSnap = _snapPoints[initialSnapIndex];
|
|
162
|
-
this.nextSnapIndex = new Value(initialSnapIndex);
|
|
163
|
-
const initialDecelerationRate = Platform.select({
|
|
164
|
-
android: props.initialSnapIndex === 0 ? ANDROID_NORMAL_DECELERATION_RATE : 0,
|
|
165
|
-
ios: IOS_NORMAL_DECELERATION_RATE
|
|
166
|
-
});
|
|
167
|
-
this.decelerationRate = new Value(initialDecelerationRate);
|
|
168
|
-
|
|
169
|
-
//@ts-ignore
|
|
170
|
-
const handleGestureState = new Value(-1);
|
|
171
|
-
//@ts-ignore
|
|
172
|
-
const handleOldGestureState = new Value(-1);
|
|
173
|
-
//@ts-ignore
|
|
174
|
-
const drawerGestureState = new Value(-1);
|
|
175
|
-
//@ts-ignore
|
|
176
|
-
const drawerOldGestureState = new Value(-1);
|
|
177
|
-
const lastSnapInRange = new Value(1);
|
|
178
|
-
this.prevTranslateYOffset = new Value(initialSnap);
|
|
179
|
-
this.translationY = new Value(initialSnap);
|
|
180
|
-
this.lastSnap = new Value(initialSnap);
|
|
181
|
-
this.onHandleGestureEvent = event([{
|
|
182
|
-
nativeEvent: {
|
|
183
|
-
translationY: this.dragY,
|
|
184
|
-
oldState: handleOldGestureState,
|
|
185
|
-
state: handleGestureState,
|
|
186
|
-
velocityY: this.velocityY
|
|
187
|
-
}
|
|
188
|
-
}]);
|
|
189
|
-
this.onDrawerGestureEvent = event([{
|
|
190
|
-
nativeEvent: {
|
|
191
|
-
translationY: this.dragY,
|
|
192
|
-
oldState: drawerOldGestureState,
|
|
193
|
-
state: drawerGestureState,
|
|
194
|
-
velocityY: this.velocityY
|
|
195
|
-
}
|
|
196
|
-
}]);
|
|
197
|
-
this.onScrollBeginDrag = event([{
|
|
198
|
-
nativeEvent: {
|
|
199
|
-
contentOffset: {
|
|
200
|
-
y: this.lastStartScrollY
|
|
201
|
-
}
|
|
202
|
-
}
|
|
203
|
-
}]);
|
|
204
|
-
const didHandleGestureBegin = eq(handleGestureState, GestureState.ACTIVE);
|
|
205
|
-
const isAnimationInterrupted = and(or(eq(handleGestureState, GestureState.BEGAN), eq(drawerGestureState, GestureState.BEGAN), and(eq(this.isAndroid, 0), eq(animationDriver, 1), or(eq(drawerGestureState, GestureState.ACTIVE), eq(handleGestureState, GestureState.ACTIVE)))), clockRunning(this.animationClock));
|
|
206
|
-
this.didGestureFinish = or(and(eq(handleOldGestureState, GestureState.ACTIVE), eq(handleGestureState, GestureState.END)), and(eq(drawerOldGestureState, GestureState.ACTIVE), eq(drawerGestureState, GestureState.END)));
|
|
207
|
-
|
|
208
|
-
// Function that determines if the last snap point is in the range {snapPoints}
|
|
209
|
-
// In the case of interruptions in the middle of an animation, we'll get
|
|
210
|
-
// lastSnap values outside the range
|
|
211
|
-
const isLastSnapPointInRange = function () {
|
|
212
|
-
let i = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;
|
|
213
|
-
return i === _snapPoints.length ? lastSnapInRange : cond(eq(_this.lastSnap, _snapPoints[i]), [set(lastSnapInRange, 1)], isLastSnapPointInRange(i + 1));
|
|
214
|
-
};
|
|
215
|
-
const scrollY = [set(lastSnapInRange, 0), isLastSnapPointInRange(), cond(or(didHandleGestureBegin, and(this.isManuallySetValue, not(eq(this.manualYOffset, _snapPoints[0])))), [set(this.dragWithHandle, 1), 0]), cond(
|
|
216
|
-
// This is to account for a continuous scroll on the drawer from a snap point
|
|
217
|
-
// Different than top, bringing the drawer to the top position, so that if we
|
|
218
|
-
// change scroll direction without releasing the gesture, it doesn't pull down the drawer again
|
|
219
|
-
and(eq(this.dragWithHandle, 1), greaterThan(_snapPoints[0], add(this.lastSnap, this.dragY)), and(not(eq(this.lastSnap, _snapPoints[0])), lastSnapInRange)), [set(this.lastSnap, _snapPoints[0]), set(this.dragWithHandle, 0), this.lastStartScrollY], cond(eq(this.dragWithHandle, 1), 0, this.lastStartScrollY))];
|
|
220
|
-
this.didScrollUpAndPullDown = cond(and(greaterOrEq(this.dragY, this.lastStartScrollY), greaterThan(this.lastStartScrollY, 0)), set(this.scrollUpAndPullDown, 1));
|
|
221
|
-
this.setTranslationY = cond(and(not(this.dragWithHandle), not(greaterOrEq(this.dragY, this.lastStartScrollY))), set(this.translationY, sub(this.dragY, this.lastStartScrollY)), set(this.translationY, this.dragY));
|
|
222
|
-
this.extraOffset = cond(eq(this.scrollUpAndPullDown, 1), this.lastStartScrollY, 0);
|
|
223
|
-
const endOffsetY = add(this.lastSnap, this.translationY, multiply(1 - props.friction, this.velocityY));
|
|
224
|
-
this.calculateNextSnapPoint = function () {
|
|
225
|
-
let i = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;
|
|
226
|
-
return i === _snapPoints.length ? _this.tempDestSnapPoint : cond(greaterThan(abs(sub(_this.tempDestSnapPoint, endOffsetY)), abs(sub(add(_snapPoints[i], _this.extraOffset), endOffsetY))), [set(_this.tempDestSnapPoint, add(_snapPoints[i], _this.extraOffset)), set(_this.nextSnapIndex, i), _this.calculateNextSnapPoint(i + 1)], _this.calculateNextSnapPoint(i + 1));
|
|
227
|
-
};
|
|
228
|
-
const runAnimation = _ref => {
|
|
229
|
-
var _props$animationConfi2;
|
|
230
|
-
let {
|
|
231
|
-
clock,
|
|
232
|
-
from,
|
|
233
|
-
to,
|
|
234
|
-
position,
|
|
235
|
-
finished,
|
|
236
|
-
velocity,
|
|
237
|
-
frameTime
|
|
238
|
-
} = _ref;
|
|
239
|
-
const state = {
|
|
240
|
-
finished,
|
|
241
|
-
velocity: new Value(0),
|
|
242
|
-
position,
|
|
243
|
-
time: new Value(0),
|
|
244
|
-
frameTime
|
|
245
|
-
};
|
|
246
|
-
const timingConfig = {
|
|
247
|
-
duration: animationDuration,
|
|
248
|
-
easing: props.animationType === "timing" && ((_props$animationConfi2 = props.animationConfig) === null || _props$animationConfi2 === void 0 ? void 0 : _props$animationConfi2.easing) || DEFAULT_EASING,
|
|
249
|
-
toValue: new Value(0)
|
|
250
|
-
};
|
|
251
|
-
const springConfig = {
|
|
252
|
-
...DEFAULT_SPRING_PARAMS,
|
|
253
|
-
...(props.animationType === "spring" && props.animationConfig || {}),
|
|
254
|
-
toValue: new Value(0)
|
|
255
|
-
};
|
|
256
|
-
return [cond(and(not(clockRunning(clock)), not(eq(finished, 1))), [
|
|
257
|
-
// If the clock isn't running, we reset all the animation params and start the clock
|
|
258
|
-
set(state.finished, 0), set(state.velocity, velocity), set(state.time, 0), set(state.position, from), set(state.frameTime, 0), set(timingConfig.toValue, to), set(springConfig.toValue, to), startClock(clock)]),
|
|
259
|
-
// We run the step here that is going to update position
|
|
260
|
-
cond(eq(animationDriver, 0),
|
|
261
|
-
//@ts-ignore
|
|
262
|
-
timing(clock, state, timingConfig), spring(clock, state, springConfig)), cond(state.finished, [call([this.nextSnapIndex], _ref2 => {
|
|
263
|
-
let [value] = _ref2;
|
|
264
|
-
if (value !== this.prevSnapIndex) {
|
|
265
|
-
var _this$props$onSettle, _this$props;
|
|
266
|
-
(_this$props$onSettle = (_this$props = this.props).onSettle) === null || _this$props$onSettle === void 0 ? void 0 : _this$props$onSettle.call(_this$props, value);
|
|
267
|
-
}
|
|
268
|
-
this.prevSnapIndex = value;
|
|
269
|
-
}),
|
|
270
|
-
// Resetting appropriate values
|
|
271
|
-
set(drawerOldGestureState, GestureState.END), set(handleOldGestureState, GestureState.END), set(this.prevTranslateYOffset, state.position), cond(eq(this.scrollUpAndPullDown, 1), [set(this.prevTranslateYOffset, sub(this.prevTranslateYOffset, this.lastStartScrollY)), set(this.lastStartScrollY, 0), set(this.scrollUpAndPullDown, 0)]), cond(eq(this.destSnapPoint, _snapPoints[0]), [set(this.dragWithHandle, 0)]), set(this.isManuallySetValue, 0), set(this.manualYOffset, 0), stopClock(clock), this.prevTranslateYOffset],
|
|
272
|
-
// We made the block return the updated position,
|
|
273
|
-
state.position)];
|
|
274
|
-
};
|
|
275
|
-
const translateYOffset = cond(isAnimationInterrupted, [
|
|
276
|
-
// set(prevTranslateYOffset, animationPosition) should only run if we are
|
|
277
|
-
// interrupting an animation when the drawer is currently in a different
|
|
278
|
-
// position than the top
|
|
279
|
-
cond(or(this.dragWithHandle, greaterOrEq(abs(this.prevDragY), this.lastStartScrollY)), set(this.prevTranslateYOffset, this.animationPosition)), set(this.animationFinished, 1), set(this.translationY, 0),
|
|
280
|
-
// Resetting appropriate values
|
|
281
|
-
set(drawerOldGestureState, GestureState.END), set(handleOldGestureState, GestureState.END),
|
|
282
|
-
// By forcing that frameTime exceeds duration, it has the effect of stopping the animation
|
|
283
|
-
set(this.animationFrameTime, add(animationDuration, 1000)), set(this.velocityY, 0), stopClock(this.animationClock), this.prevTranslateYOffset], cond(or(this.didGestureFinish, this.isManuallySetValue, clockRunning(this.animationClock)), [runAnimation({
|
|
284
|
-
clock: this.animationClock,
|
|
285
|
-
from: cond(this.isManuallySetValue, this.prevTranslateYOffset, add(this.prevTranslateYOffset, this.translationY)),
|
|
286
|
-
to: this.destSnapPoint,
|
|
287
|
-
position: this.animationPosition,
|
|
288
|
-
finished: this.animationFinished,
|
|
289
|
-
frameTime: this.animationFrameTime,
|
|
290
|
-
velocity: this.velocityY
|
|
291
|
-
})], [set(this.animationFrameTime, 0), set(this.animationFinished, 0),
|
|
292
|
-
// @ts-ignore
|
|
293
|
-
this.prevTranslateYOffset]));
|
|
294
|
-
this.translateY = interpolate(add(translateYOffset, this.dragY, multiply(scrollY, -1)), {
|
|
295
|
-
inputRange: [openPosition, closedPosition],
|
|
296
|
-
outputRange: [openPosition, closedPosition],
|
|
297
|
-
extrapolate: Extrapolate.CLAMP
|
|
298
|
-
});
|
|
299
|
-
this.position = interpolate(this.translateY, {
|
|
300
|
-
inputRange: [openPosition, _snapPoints[_snapPoints.length - 1]],
|
|
301
|
-
outputRange: [1, 0],
|
|
302
|
-
extrapolate: Extrapolate.CLAMP
|
|
303
|
-
});
|
|
304
|
-
}
|
|
305
|
-
render() {
|
|
306
|
-
const {
|
|
307
|
-
renderHandle,
|
|
308
|
-
initialSnapIndex,
|
|
309
|
-
containerStyle,
|
|
310
|
-
...rest
|
|
311
|
-
} = this.props;
|
|
312
|
-
const AnimatedScrollableComponent = this.scrollComponent;
|
|
313
|
-
const normalisedSnapPoints = this.getNormalisedSnapPoints();
|
|
314
|
-
const initialSnap = normalisedSnapPoints[initialSnapIndex];
|
|
315
|
-
const Content = /*#__PURE__*/React.createElement(Animated.View, {
|
|
316
|
-
style: [StyleSheet.absoluteFillObject, containerStyle,
|
|
317
|
-
// @ts-ignore
|
|
318
|
-
{
|
|
319
|
-
transform: [{
|
|
320
|
-
translateY: this.translateY
|
|
321
|
-
}]
|
|
322
|
-
}]
|
|
323
|
-
}, /*#__PURE__*/React.createElement(PanGestureHandler, {
|
|
324
|
-
ref: this.drawerHandleRef,
|
|
325
|
-
shouldCancelWhenOutside: false,
|
|
326
|
-
simultaneousHandlers: this.masterDrawer,
|
|
327
|
-
onGestureEvent: this.onHandleGestureEvent,
|
|
328
|
-
onHandlerStateChange: this.onHandleGestureEvent
|
|
329
|
-
}, /*#__PURE__*/React.createElement(Animated.View, null, renderHandle())), /*#__PURE__*/React.createElement(PanGestureHandler, {
|
|
330
|
-
ref: this.drawerContentRef,
|
|
331
|
-
simultaneousHandlers: [this.scrollComponentRef, this.masterDrawer],
|
|
332
|
-
shouldCancelWhenOutside: false,
|
|
333
|
-
onGestureEvent: this.onDrawerGestureEvent,
|
|
334
|
-
onHandlerStateChange: this.onDrawerGestureEvent
|
|
335
|
-
}, /*#__PURE__*/React.createElement(Animated.View, {
|
|
336
|
-
style: styles.container
|
|
337
|
-
}, /*#__PURE__*/React.createElement(NativeViewGestureHandler, {
|
|
338
|
-
ref: this.scrollComponentRef,
|
|
339
|
-
waitFor: this.masterDrawer,
|
|
340
|
-
simultaneousHandlers: this.drawerContentRef
|
|
341
|
-
}, /*#__PURE__*/React.createElement(AnimatedScrollableComponent, _extends({
|
|
342
|
-
overScrollMode: "never",
|
|
343
|
-
bounces: false
|
|
344
|
-
}, rest, {
|
|
345
|
-
ref: this.props.innerRef
|
|
346
|
-
// @ts-ignore
|
|
347
|
-
,
|
|
348
|
-
decelerationRate: this.decelerationRate,
|
|
349
|
-
onScrollBeginDrag: this.onScrollBeginDrag,
|
|
350
|
-
scrollEventThrottle: 1,
|
|
351
|
-
contentContainerStyle: [rest.contentContainerStyle, {
|
|
352
|
-
paddingBottom: this.getNormalisedSnapPoints()[0]
|
|
353
|
-
}]
|
|
354
|
-
}))))), this.props.animatedPosition && /*#__PURE__*/React.createElement(Animated.Code, {
|
|
355
|
-
exec: onChange(this.position, set(this.props.animatedPosition, this.position))
|
|
356
|
-
}), /*#__PURE__*/React.createElement(Animated.Code, {
|
|
357
|
-
exec: onChange(this.dragY, cond(not(eq(this.dragY, 0)), set(this.prevDragY, this.dragY)))
|
|
358
|
-
}), /*#__PURE__*/React.createElement(Animated.Code, {
|
|
359
|
-
exec: onChange(this.didGestureFinish, cond(this.didGestureFinish, [this.didScrollUpAndPullDown, this.setTranslationY, set(this.tempDestSnapPoint, add(normalisedSnapPoints[0], this.extraOffset)), set(this.nextSnapIndex, 0), set(this.destSnapPoint, this.calculateNextSnapPoint()), cond(and(greaterThan(this.dragY, this.lastStartScrollY), this.isAndroid, not(this.dragWithHandle)), call([], () => {
|
|
360
|
-
var _this$props2, _this$props2$data;
|
|
361
|
-
// This prevents the scroll glide from happening on Android when pulling down with inertia.
|
|
362
|
-
// It's not perfect, but does the job for now
|
|
363
|
-
const {
|
|
364
|
-
method,
|
|
365
|
-
args
|
|
366
|
-
} = imperativeScrollOptions[this.props.componentType];
|
|
367
|
-
// @ts-ignore
|
|
368
|
-
const node = this.props.innerRef.current;
|
|
369
|
-
if (node && node[method] && (this.props.componentType === "FlatList" && (((_this$props2 = this.props) === null || _this$props2 === void 0 ? void 0 : (_this$props2$data = _this$props2.data) === null || _this$props2$data === void 0 ? void 0 : _this$props2$data.length) || 0) > 0 || this.props.componentType === "SectionList" && this.props.sections.length > 0 || this.props.componentType === "ScrollView")) {
|
|
370
|
-
node[method](args);
|
|
371
|
-
}
|
|
372
|
-
})), set(this.dragY, 0), set(this.velocityY, 0), set(this.lastSnap, sub(this.destSnapPoint, cond(eq(this.scrollUpAndPullDown, 1), this.lastStartScrollY, 0))), call([this.lastSnap], _ref3 => {
|
|
373
|
-
var _this$masterDrawer, _this$masterDrawer$cu;
|
|
374
|
-
let [value] = _ref3;
|
|
375
|
-
// This is the TapGHandler trick
|
|
376
|
-
// @ts-ignore
|
|
377
|
-
(_this$masterDrawer = this.masterDrawer) === null || _this$masterDrawer === void 0 ? void 0 : (_this$masterDrawer$cu = _this$masterDrawer.current) === null || _this$masterDrawer$cu === void 0 ? void 0 : _this$masterDrawer$cu.setNativeProps({
|
|
378
|
-
maxDeltaY: value - this.getNormalisedSnapPoints()[0]
|
|
379
|
-
});
|
|
380
|
-
}), set(this.decelerationRate, cond(eq(this.isAndroid, 1), cond(eq(this.lastSnap, normalisedSnapPoints[0]), ANDROID_NORMAL_DECELERATION_RATE, 0), IOS_NORMAL_DECELERATION_RATE))]))
|
|
381
|
-
}), /*#__PURE__*/React.createElement(Animated.Code, {
|
|
382
|
-
exec: onChange(this.isManuallySetValue, [cond(this.isManuallySetValue, [set(this.destSnapPoint, this.manualYOffset), set(this.animationFinished, 0), set(this.lastSnap, this.manualYOffset), call([this.lastSnap], _ref4 => {
|
|
383
|
-
var _this$masterDrawer2, _this$masterDrawer2$c;
|
|
384
|
-
let [value] = _ref4;
|
|
385
|
-
// This is the TapGHandler trick
|
|
386
|
-
// @ts-ignore
|
|
387
|
-
(_this$masterDrawer2 = this.masterDrawer) === null || _this$masterDrawer2 === void 0 ? void 0 : (_this$masterDrawer2$c = _this$masterDrawer2.current) === null || _this$masterDrawer2$c === void 0 ? void 0 : _this$masterDrawer2$c.setNativeProps({
|
|
388
|
-
maxDeltaY: value - this.getNormalisedSnapPoints()[0]
|
|
389
|
-
});
|
|
390
|
-
})], [set(this.nextSnapIndex, 0)])])
|
|
391
|
-
}));
|
|
392
|
-
|
|
393
|
-
// On Android, having an intermediary view with pointerEvents="box-none", breaks the
|
|
394
|
-
// waitFor logic
|
|
395
|
-
if (Platform.OS === "android") {
|
|
396
|
-
return /*#__PURE__*/React.createElement(TapGestureHandler, {
|
|
397
|
-
maxDurationMs: 100000,
|
|
398
|
-
ref: this.masterDrawer,
|
|
399
|
-
maxDeltaY: initialSnap - this.getNormalisedSnapPoints()[0],
|
|
400
|
-
shouldCancelWhenOutside: false
|
|
401
|
-
}, Content);
|
|
402
|
-
}
|
|
403
|
-
|
|
404
|
-
// On iOS, We need to wrap the content on a view with PointerEvents box-none
|
|
405
|
-
// So that we can start scrolling automatically when reaching the top without
|
|
406
|
-
// Stopping the gesture
|
|
407
|
-
return /*#__PURE__*/React.createElement(TapGestureHandler, {
|
|
408
|
-
maxDurationMs: 100000,
|
|
409
|
-
ref: this.masterDrawer,
|
|
410
|
-
maxDeltaY: initialSnap - this.getNormalisedSnapPoints()[0]
|
|
411
|
-
}, /*#__PURE__*/React.createElement(View, {
|
|
412
|
-
style: StyleSheet.absoluteFillObject,
|
|
413
|
-
pointerEvents: "box-none"
|
|
414
|
-
}, Content));
|
|
415
|
-
}
|
|
416
|
-
}
|
|
417
|
-
_defineProperty(ScrollBottomSheet, "defaultProps", {
|
|
418
|
-
topInset: 0,
|
|
419
|
-
friction: 0.95,
|
|
420
|
-
animationType: "timing",
|
|
421
|
-
innerRef: /*#__PURE__*/React.createRef(),
|
|
422
|
-
enableOverScroll: false
|
|
423
|
-
});
|
|
424
|
-
export default ScrollBottomSheet;
|
|
425
|
-
const styles = StyleSheet.create({
|
|
426
|
-
container: {
|
|
427
|
-
flex: 1
|
|
428
|
-
}
|
|
429
|
-
});
|
|
430
|
-
//# sourceMappingURL=BottomSheetComponent.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["React","Component","Dimensions","FlatList","Platform","ScrollView","SectionList","StyleSheet","View","Animated","abs","add","and","call","Clock","clockRunning","cond","Easing","EasingDeprecated","EasingNode","eq","event","Extrapolate","greaterOrEq","greaterThan","multiply","not","onChange","or","set","startClock","stopClock","sub","spring","timing","Value","NativeViewGestureHandler","PanGestureHandler","State","GestureState","TapGestureHandler","interpolate","interpolateDeprecated","interpolateNode","FlatListComponentType","ScrollViewComponentType","SectionListComponentType","TimingAnimationType","SpringAnimationType","DEFAULT_SPRING_PARAMS","damping","mass","stiffness","overshootClamping","restSpeedThreshold","restDisplacementThreshold","height","windowHeight","get","IOS_NORMAL_DECELERATION_RATE","ANDROID_NORMAL_DECELERATION_RATE","DEFAULT_ANIMATION_DURATION","DEFAULT_EASING","inOut","linear","imperativeScrollOptions","method","args","index","viewPosition","viewOffset","animated","x","y","itemIndex","sectionIndex","ScrollBottomSheet","constructor","props","createRef","Number","OS","str","split","topInset","snapPoints","map","p","convertPercentageToDp","Error","componentType","getNormalisedSnapPoints","isManuallySetValue","setValue","manualYOffset","nextSnapIndex","initialSnapIndex","animationType","animationDriver","animationDuration","animationConfig","duration","ScrollComponent","getScrollComponent","scrollComponent","createAnimatedComponent","openPosition","closedPosition","enableOverScroll","length","initialSnap","initialDecelerationRate","select","android","ios","decelerationRate","handleGestureState","handleOldGestureState","drawerGestureState","drawerOldGestureState","lastSnapInRange","prevTranslateYOffset","translationY","lastSnap","onHandleGestureEvent","nativeEvent","dragY","oldState","state","velocityY","onDrawerGestureEvent","onScrollBeginDrag","contentOffset","lastStartScrollY","didHandleGestureBegin","ACTIVE","isAnimationInterrupted","BEGAN","isAndroid","animationClock","didGestureFinish","END","isLastSnapPointInRange","i","scrollY","dragWithHandle","didScrollUpAndPullDown","scrollUpAndPullDown","setTranslationY","extraOffset","endOffsetY","friction","calculateNextSnapPoint","tempDestSnapPoint","runAnimation","clock","from","to","position","finished","velocity","frameTime","time","timingConfig","easing","toValue","springConfig","value","prevSnapIndex","onSettle","destSnapPoint","translateYOffset","prevDragY","animationPosition","animationFinished","animationFrameTime","translateY","inputRange","outputRange","extrapolate","CLAMP","render","renderHandle","containerStyle","rest","AnimatedScrollableComponent","normalisedSnapPoints","Content","absoluteFillObject","transform","drawerHandleRef","masterDrawer","drawerContentRef","scrollComponentRef","styles","container","innerRef","contentContainerStyle","paddingBottom","animatedPosition","node","current","data","sections","setNativeProps","maxDeltaY","create","flex"],"sourceRoot":"../../../../src","sources":["components/BottomSheet/BottomSheetComponent.tsx"],"mappings":";;;;AAAA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,OAAOA,KAAK,IAAIC,SAAS,QAAmB,OAAO;AACnD,SACEC,UAAU,EACVC,QAAQ,EAERC,QAAQ,EACRC,UAAU,EAEVC,WAAW,EAEXC,UAAU,EACVC,IAAI,QAEC,cAAc;AACrB,OAAOC,QAAQ,IACbC,GAAG,EACHC,GAAG,EACHC,GAAG,EACHC,IAAI,EACJC,KAAK,EACLC,YAAY,EACZC,IAAI,EACJC,MAAM,IAAIC,gBAAgB;AAC1B;AACAC,UAAU,EACVC,EAAE,EACFC,KAAK,EACLC,WAAW,EACXC,WAAW,EACXC,WAAW,EACXC,QAAQ,EACRC,GAAG,EACHC,QAAQ,EACRC,EAAE,EACFC,GAAG,EACHC,UAAU,EACVC,SAAS,EACTC,GAAG,EACHC,MAAM,EACNC,MAAM,EACNC,KAAK,QACA,yBAAyB;AAChC,SACEC,wBAAwB,EACxBC,iBAAiB,EAEjBC,KAAK,IAAIC,YAAY,EACrBC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AAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["default","BottomSheet"],"sourceRoot":"../../../../src","sources":["components/BottomSheet/index.ts"],"mappings":"AAAA,SAASA,OAAO,IAAIC,WAAW,QAAQ,eAAe"}
|
|
@@ -1,157 +0,0 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
2
|
-
import * as React from "react";
|
|
3
|
-
import { Text, Pressable, Platform, StyleSheet, ActivityIndicator } from "react-native";
|
|
4
|
-
import { withTheme } from "../theming";
|
|
5
|
-
const CONSTANTS = {
|
|
6
|
-
baseHeight: 42,
|
|
7
|
-
borderRadius: 4,
|
|
8
|
-
padding: 8,
|
|
9
|
-
icon: 24
|
|
10
|
-
};
|
|
11
|
-
function Base(_ref) {
|
|
12
|
-
let {
|
|
13
|
-
Icon,
|
|
14
|
-
icon,
|
|
15
|
-
title,
|
|
16
|
-
loading,
|
|
17
|
-
disabled,
|
|
18
|
-
style,
|
|
19
|
-
activeOpacity = 0.8,
|
|
20
|
-
disabledOpacity = 0.8,
|
|
21
|
-
...props
|
|
22
|
-
} = _ref;
|
|
23
|
-
const {
|
|
24
|
-
color,
|
|
25
|
-
fontFamily,
|
|
26
|
-
fontWeight,
|
|
27
|
-
fontSize,
|
|
28
|
-
lineHeight,
|
|
29
|
-
letterSpacing,
|
|
30
|
-
textTransform,
|
|
31
|
-
textAlign,
|
|
32
|
-
textDecorationLine,
|
|
33
|
-
textDecorationColor,
|
|
34
|
-
textDecorationStyle,
|
|
35
|
-
...buttonStyles
|
|
36
|
-
} = StyleSheet.flatten(style || {});
|
|
37
|
-
const titleStyles = {
|
|
38
|
-
color,
|
|
39
|
-
fontFamily,
|
|
40
|
-
fontWeight,
|
|
41
|
-
fontSize,
|
|
42
|
-
lineHeight,
|
|
43
|
-
letterSpacing,
|
|
44
|
-
textTransform,
|
|
45
|
-
textAlign,
|
|
46
|
-
textDecorationLine,
|
|
47
|
-
textDecorationColor,
|
|
48
|
-
textDecorationStyle
|
|
49
|
-
};
|
|
50
|
-
if (textAlign === "left") {
|
|
51
|
-
buttonStyles.justifyContent = "flex-start";
|
|
52
|
-
}
|
|
53
|
-
if (textAlign === "right") {
|
|
54
|
-
buttonStyles.justifyContent = "flex-end";
|
|
55
|
-
}
|
|
56
|
-
return /*#__PURE__*/React.createElement(Pressable, _extends({
|
|
57
|
-
disabled: disabled || loading,
|
|
58
|
-
style: _ref2 => {
|
|
59
|
-
let {
|
|
60
|
-
pressed
|
|
61
|
-
} = _ref2;
|
|
62
|
-
return [styles.base, {
|
|
63
|
-
opacity: pressed ? activeOpacity : disabled ? disabledOpacity : 1
|
|
64
|
-
}, buttonStyles];
|
|
65
|
-
}
|
|
66
|
-
}, props), loading ? /*#__PURE__*/React.createElement(ActivityIndicator, {
|
|
67
|
-
size: "small",
|
|
68
|
-
color: color,
|
|
69
|
-
style: styles.loading
|
|
70
|
-
}) : null, icon && !loading ? /*#__PURE__*/React.createElement(Icon, {
|
|
71
|
-
name: icon,
|
|
72
|
-
color: color,
|
|
73
|
-
style: styles.icon,
|
|
74
|
-
size: CONSTANTS.icon
|
|
75
|
-
}) : null, /*#__PURE__*/React.createElement(Text, {
|
|
76
|
-
style: titleStyles
|
|
77
|
-
}, title));
|
|
78
|
-
}
|
|
79
|
-
const Solid = _ref3 => {
|
|
80
|
-
let {
|
|
81
|
-
style,
|
|
82
|
-
theme,
|
|
83
|
-
...props
|
|
84
|
-
} = _ref3;
|
|
85
|
-
return /*#__PURE__*/React.createElement(Base, _extends({
|
|
86
|
-
style: [{
|
|
87
|
-
color: "#FFF",
|
|
88
|
-
borderRadius: theme.roundness,
|
|
89
|
-
backgroundColor: theme.colors.primary
|
|
90
|
-
}, style]
|
|
91
|
-
}, props));
|
|
92
|
-
};
|
|
93
|
-
const ButtonSolid = withTheme(Solid);
|
|
94
|
-
export { ButtonSolid };
|
|
95
|
-
const Button = withTheme(Solid);
|
|
96
|
-
export { Button };
|
|
97
|
-
const Outline = _ref4 => {
|
|
98
|
-
let {
|
|
99
|
-
style,
|
|
100
|
-
theme,
|
|
101
|
-
...props
|
|
102
|
-
} = _ref4;
|
|
103
|
-
return /*#__PURE__*/React.createElement(Base, _extends({
|
|
104
|
-
style: [styles.outline, {
|
|
105
|
-
borderRadius: theme.roundness,
|
|
106
|
-
borderColor: theme.colors.primary,
|
|
107
|
-
color: theme.colors.primary
|
|
108
|
-
}, style]
|
|
109
|
-
}, props));
|
|
110
|
-
};
|
|
111
|
-
const ButtonOutline = withTheme(Outline);
|
|
112
|
-
export { ButtonOutline };
|
|
113
|
-
const styles = StyleSheet.create({
|
|
114
|
-
base: {
|
|
115
|
-
position: "relative",
|
|
116
|
-
flexDirection: "row",
|
|
117
|
-
alignItems: "center",
|
|
118
|
-
justifyContent: "center",
|
|
119
|
-
minHeight: CONSTANTS.baseHeight,
|
|
120
|
-
paddingHorizontal: 12,
|
|
121
|
-
fontFamily: "System",
|
|
122
|
-
fontWeight: "700",
|
|
123
|
-
...Platform.select({
|
|
124
|
-
web: {
|
|
125
|
-
cursor: "pointer",
|
|
126
|
-
userSelect: "none"
|
|
127
|
-
}
|
|
128
|
-
})
|
|
129
|
-
},
|
|
130
|
-
outline: {
|
|
131
|
-
backgroundColor: "transparent",
|
|
132
|
-
borderWidth: 1
|
|
133
|
-
},
|
|
134
|
-
bare: {
|
|
135
|
-
backgroundColor: "transparent",
|
|
136
|
-
padding: 0,
|
|
137
|
-
minHeight: undefined
|
|
138
|
-
},
|
|
139
|
-
loading: {
|
|
140
|
-
marginRight: 6
|
|
141
|
-
},
|
|
142
|
-
icon: {
|
|
143
|
-
...Platform.select({
|
|
144
|
-
web: {
|
|
145
|
-
marginTop: 1,
|
|
146
|
-
marginRight: 4,
|
|
147
|
-
alignSelf: "center"
|
|
148
|
-
},
|
|
149
|
-
default: {
|
|
150
|
-
marginBottom: 2,
|
|
151
|
-
marginRight: 4,
|
|
152
|
-
alignSelf: "center"
|
|
153
|
-
}
|
|
154
|
-
})
|
|
155
|
-
}
|
|
156
|
-
});
|
|
157
|
-
//# sourceMappingURL=Button.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["React","Text","Pressable","Platform","StyleSheet","ActivityIndicator","withTheme","CONSTANTS","baseHeight","borderRadius","padding","icon","Base","Icon","title","loading","disabled","style","activeOpacity","disabledOpacity","props","color","fontFamily","fontWeight","fontSize","lineHeight","letterSpacing","textTransform","textAlign","textDecorationLine","textDecorationColor","textDecorationStyle","buttonStyles","flatten","titleStyles","justifyContent","pressed","styles","base","opacity","Solid","theme","roundness","backgroundColor","colors","primary","ButtonSolid","Button","Outline","outline","borderColor","ButtonOutline","create","position","flexDirection","alignItems","minHeight","paddingHorizontal","select","web","cursor","userSelect","borderWidth","bare","undefined","marginRight","marginTop","alignSelf","default","marginBottom"],"sourceRoot":"../../../src","sources":["components/Button.tsx"],"mappings":";AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,SACEC,IAAI,EACJC,SAAS,EAETC,QAAQ,EACRC,UAAU,EAEVC,iBAAiB,QACZ,cAAc;AAErB,SAASC,SAAS,QAAQ,YAAY;AAKtC,MAAMC,SAAS,GAAG;EAChBC,UAAU,EAAE,EAAE;EACdC,YAAY,EAAE,CAAC;EACfC,OAAO,EAAE,CAAC;EACVC,IAAI,EAAE;AACR,CAAC;AAiCD,SAASC,IAAI,OAUc;EAAA,IAVb;IACZC,IAAI;IACJF,IAAI;IACJG,KAAK;IACLC,OAAO;IACPC,QAAQ;IACRC,KAAK;IACLC,aAAa,GAAG,GAAG;IACnBC,eAAe,GAAG,GAAG;IACrB,GAAGC;EACM,CAAC;EACV,MAAM;IACJC,KAAK;IACLC,UAAU;IACVC,UAAU;IACVC,QAAQ;IACRC,UAAU;IACVC,aAAa;IACbC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