@draftbit/core 46.4.4-c5d4b3.2 → 46.4.4-c73f9e.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/commonjs/Provider.js +10 -2
- package/lib/commonjs/components/Accordion/AccordionGroup.js +15 -2
- package/lib/commonjs/components/Accordion/AccordionItem.js +14 -2
- package/lib/commonjs/components/Accordion/index.js +4 -2
- package/lib/commonjs/components/ActionSheet/ActionSheet.js +10 -2
- package/lib/commonjs/components/ActionSheet/ActionSheetCancel.js +6 -2
- package/lib/commonjs/components/ActionSheet/ActionSheetItem.js +8 -2
- package/lib/commonjs/components/ActionSheet/index.js +5 -2
- package/lib/commonjs/components/AnimatedCircularProgress.js +16 -2
- package/lib/commonjs/components/AspectRatio.js +11 -2
- package/lib/commonjs/components/AvatarEdit.js +13 -2
- package/lib/commonjs/components/Banner.js +24 -11
- package/lib/commonjs/components/Button.js +20 -4
- package/lib/commonjs/components/Card.js +15 -2
- package/lib/commonjs/components/CardBlock.js +16 -2
- package/lib/commonjs/components/CardContainer.js +19 -2
- package/lib/commonjs/components/CardContainerRating.js +21 -4
- package/lib/commonjs/components/CardContainerShortImage.js +13 -2
- package/lib/commonjs/components/CardInline.js +15 -3
- package/lib/commonjs/components/Carousel.js +22 -5
- package/lib/commonjs/components/Checkbox/Checkbox.js +19 -5
- package/lib/commonjs/components/Checkbox/CheckboxGroup.js +12 -2
- package/lib/commonjs/components/Checkbox/CheckboxGroupRow.js +21 -2
- package/lib/commonjs/components/Checkbox/CheckboxRow.js +25 -5
- package/lib/commonjs/components/Checkbox/context.js +6 -2
- package/lib/commonjs/components/Checkbox/index.js +5 -2
- package/lib/commonjs/components/CircleImage.js +10 -2
- package/lib/commonjs/components/CircularProgress.js +14 -5
- package/lib/commonjs/components/Config.js +14 -7
- package/lib/commonjs/components/Container.js +12 -2
- package/lib/commonjs/components/DatePicker/DatePicker.js +49 -18
- package/lib/commonjs/components/DatePicker/DatePickerComponent.js +8 -2
- package/lib/commonjs/components/DatePicker/DatePickerComponent.web.js +11 -2
- package/lib/commonjs/components/DatePicker/DatePickerComponentType.js +1 -2
- package/lib/commonjs/components/DeprecatedButton.js +24 -2
- package/lib/commonjs/components/DeprecatedCardWrapper.js +12 -2
- package/lib/commonjs/components/DeprecatedFAB.js +27 -2
- package/lib/commonjs/components/Divider.js +10 -2
- package/lib/commonjs/components/Elevation.js +12 -2
- package/lib/commonjs/components/FAB.js +11 -2
- package/lib/commonjs/components/FieldSearchBarFull.js +19 -2
- package/lib/commonjs/components/FormRow.js +11 -2
- package/lib/commonjs/components/Header.js +14 -2
- package/lib/commonjs/components/HeaderLarge.js +10 -2
- package/lib/commonjs/components/HeaderMedium.js +10 -2
- package/lib/commonjs/components/HeaderOverline.js +10 -2
- package/lib/commonjs/components/IconButton.js +11 -2
- package/lib/commonjs/components/Image.js +18 -2
- package/lib/commonjs/components/Justification.js +3 -3
- package/lib/commonjs/components/Layout.js +13 -4
- package/lib/commonjs/components/NumberInput.js +22 -10
- package/lib/commonjs/components/Picker/Picker.js +41 -9
- package/lib/commonjs/components/Picker/PickerComponent.android.js +24 -8
- package/lib/commonjs/components/Picker/PickerComponent.ios.js +28 -10
- package/lib/commonjs/components/Picker/PickerComponent.web.js +24 -8
- package/lib/commonjs/components/Picker/PickerTypes.js +1 -2
- package/lib/commonjs/components/Portal/Portal.js +15 -6
- package/lib/commonjs/components/Portal/PortalConsumer.js +16 -7
- package/lib/commonjs/components/Portal/PortalHost.js +32 -6
- package/lib/commonjs/components/Portal/PortalManager.js +20 -9
- package/lib/commonjs/components/ProgressBar.js +26 -7
- package/lib/commonjs/components/ProgressCircle.js +11 -2
- package/lib/commonjs/components/ProgressIndicator.js +10 -2
- package/lib/commonjs/components/RadioButton/RadioButton.js +15 -3
- package/lib/commonjs/components/RadioButton/RadioButtonFieldGroup.js +11 -2
- package/lib/commonjs/components/RadioButton/RadioButtonGroup.js +15 -2
- package/lib/commonjs/components/RadioButton/RadioButtonRow.js +22 -3
- package/lib/commonjs/components/RadioButton/context.js +6 -2
- package/lib/commonjs/components/RadioButton/index.js +6 -2
- package/lib/commonjs/components/ResizeMode.js +3 -3
- package/lib/commonjs/components/Row.js +12 -2
- package/lib/commonjs/components/RowBodyIcon.js +11 -2
- package/lib/commonjs/components/RowHeadlineImageCaption.js +12 -4
- package/lib/commonjs/components/RowHeadlineImageIcon.js +11 -2
- package/lib/commonjs/components/SVG.js +10 -2
- package/lib/commonjs/components/ScreenContainer.js +15 -2
- package/lib/commonjs/components/Slider.js +22 -2
- package/lib/commonjs/components/StarRating.js +11 -2
- package/lib/commonjs/components/StepIndicator.js +40 -7
- package/lib/commonjs/components/Stepper.js +27 -9
- package/lib/commonjs/components/Surface.js +15 -2
- package/lib/commonjs/components/Swiper/Swiper.js +9 -2
- package/lib/commonjs/components/Swiper/SwiperItem.js +7 -2
- package/lib/commonjs/components/Swiper/index.js +4 -2
- package/lib/commonjs/components/Switch.js +19 -7
- package/lib/commonjs/components/Text.js +19 -5
- package/lib/commonjs/components/TextField.js +63 -14
- package/lib/commonjs/components/ToggleButton.js +15 -2
- package/lib/commonjs/components/Touchable.js +6 -2
- package/lib/commonjs/components/Touchable.web.js +3 -2
- package/lib/commonjs/components/Typography.js +6 -2
- package/lib/commonjs/components/useAuthState.js +10 -2
- package/lib/commonjs/constants.js +5 -2
- package/lib/commonjs/hooks.js +8 -6
- package/lib/commonjs/index.js +53 -2
- package/lib/commonjs/interfaces/Icon.js +6 -5
- package/lib/commonjs/mappings/Accordion.js +3 -2
- package/lib/commonjs/mappings/AccordionItem.js +3 -2
- package/lib/commonjs/mappings/ActionSheet.js +3 -2
- package/lib/commonjs/mappings/ActionSheetCancel.js +3 -2
- package/lib/commonjs/mappings/ActionSheetItem.js +3 -2
- package/lib/commonjs/mappings/ActivityIndicator.js +3 -2
- package/lib/commonjs/mappings/AudioPlayer.js +35 -4
- package/lib/commonjs/mappings/AvatarEdit.js +3 -2
- package/lib/commonjs/mappings/Banner.js +3 -2
- package/lib/commonjs/mappings/BlurView.js +3 -2
- package/lib/commonjs/mappings/Button.js +6 -8
- package/lib/commonjs/mappings/Card.js +5 -5
- package/lib/commonjs/mappings/CardBlock.js +6 -8
- package/lib/commonjs/mappings/CardContainer.js +8 -7
- package/lib/commonjs/mappings/CardContainerRating.js +5 -6
- package/lib/commonjs/mappings/CardContainerShortImage.js +3 -2
- package/lib/commonjs/mappings/CardInline.js +3 -2
- package/lib/commonjs/mappings/Carousel.js +3 -2
- package/lib/commonjs/mappings/Checkbox.js +3 -2
- package/lib/commonjs/mappings/CheckboxGroup.js +3 -2
- package/lib/commonjs/mappings/CheckboxRow.js +3 -2
- package/lib/commonjs/mappings/CircleImage.js +3 -2
- package/lib/commonjs/mappings/Container.js +3 -2
- package/lib/commonjs/mappings/CustomCode.js +3 -2
- package/lib/commonjs/mappings/DatePicker.js +5 -6
- package/lib/commonjs/mappings/Divider.js +3 -2
- package/lib/commonjs/mappings/FAB.js +3 -2
- package/lib/commonjs/mappings/Fetch.js +3 -2
- package/lib/commonjs/mappings/FieldSearchBarFull.js +4 -4
- package/lib/commonjs/mappings/FlashList.js +3 -2
- package/lib/commonjs/mappings/FlatList.js +3 -2
- package/lib/commonjs/mappings/HeaderLarge.js +3 -2
- package/lib/commonjs/mappings/HeaderMedium.js +3 -2
- package/lib/commonjs/mappings/HeaderOverline.js +3 -2
- package/lib/commonjs/mappings/HtmlElements.js +186 -0
- package/lib/commonjs/mappings/Icon.js +4 -4
- package/lib/commonjs/mappings/IconButton.js +3 -2
- package/lib/commonjs/mappings/Image.js +3 -2
- package/lib/commonjs/mappings/ImageBackground.js +3 -2
- package/lib/commonjs/mappings/KeyboardAvoidingView.js +3 -2
- package/lib/commonjs/mappings/KeyboardAwareScrollView.js +3 -2
- package/lib/commonjs/mappings/Layout.js +3 -2
- package/lib/commonjs/mappings/LinearGradient.js +3 -2
- package/lib/commonjs/mappings/MapCallout.js +3 -2
- package/lib/commonjs/mappings/MapMarker.js +3 -2
- package/lib/commonjs/mappings/MapView.js +3 -2
- package/lib/commonjs/mappings/Modal.js +3 -2
- package/lib/commonjs/mappings/NumberInput.js +5 -6
- package/lib/commonjs/mappings/Picker.js +5 -6
- package/lib/commonjs/mappings/ProgressBar.js +3 -2
- package/lib/commonjs/mappings/ProgressCircle.js +3 -2
- package/lib/commonjs/mappings/ProgressIndicator.js +3 -2
- package/lib/commonjs/mappings/RadioButton.js +3 -2
- package/lib/commonjs/mappings/RadioButtonGroup.js +3 -2
- package/lib/commonjs/mappings/RadioButtonRow.js +3 -2
- package/lib/commonjs/mappings/RowBodyIcon.js +3 -2
- package/lib/commonjs/mappings/RowHeadlineImageCaption.js +3 -2
- package/lib/commonjs/mappings/RowHeadlineImageIcon.js +9 -14
- package/lib/commonjs/mappings/SVG.js +3 -2
- package/lib/commonjs/mappings/SafeAreaView.js +3 -2
- package/lib/commonjs/mappings/ScrollView.js +3 -2
- package/lib/commonjs/mappings/Slider.js +3 -2
- package/lib/commonjs/mappings/StarRating.js +4 -3
- package/lib/commonjs/mappings/Stepper.js +4 -3
- package/lib/commonjs/mappings/Surface.js +3 -2
- package/lib/commonjs/mappings/Swiper.js +3 -2
- package/lib/commonjs/mappings/SwiperItem.js +3 -2
- package/lib/commonjs/mappings/Switch.js +3 -2
- package/lib/commonjs/mappings/Text.js +6 -7
- package/lib/commonjs/mappings/TextArea.js +18 -7
- package/lib/commonjs/mappings/TextField.js +23 -13
- package/lib/commonjs/mappings/TextInput.js +18 -7
- package/lib/commonjs/mappings/ToggleButton.js +3 -2
- package/lib/commonjs/mappings/Touchable.js +3 -2
- package/lib/commonjs/mappings/Video.js +3 -2
- package/lib/commonjs/mappings/View.js +3 -2
- package/lib/commonjs/mappings/WebView.js +3 -2
- package/lib/commonjs/styles/DarkTheme.js +7 -7
- package/lib/commonjs/styles/DefaultTheme.js +18 -28
- package/lib/commonjs/styles/fonts.js +6 -5
- package/lib/commonjs/styles/overlay.js +15 -7
- package/lib/commonjs/styles/shadow.js +10 -2
- package/lib/commonjs/theming.js +5 -2
- package/lib/commonjs/utilities.js +15 -4
- package/lib/module/Provider.js +2 -2
- package/lib/module/components/Accordion/AccordionGroup.js +5 -2
- package/lib/module/components/Accordion/AccordionItem.js +4 -2
- package/lib/module/components/Accordion/index.js +1 -2
- package/lib/module/components/ActionSheet/ActionSheet.js +3 -2
- package/lib/module/components/ActionSheet/ActionSheetCancel.js +3 -2
- package/lib/module/components/ActionSheet/ActionSheetItem.js +3 -2
- package/lib/module/components/ActionSheet/index.js +1 -2
- package/lib/module/components/AnimatedCircularProgress.js +7 -2
- package/lib/module/components/AspectRatio.js +7 -2
- package/lib/module/components/AvatarEdit.js +4 -2
- package/lib/module/components/Banner.js +11 -11
- package/lib/module/components/Button.js +11 -4
- package/lib/module/components/Card.js +3 -2
- package/lib/module/components/CardBlock.js +7 -2
- package/lib/module/components/CardContainer.js +8 -2
- package/lib/module/components/CardContainerRating.js +9 -4
- package/lib/module/components/CardContainerShortImage.js +4 -2
- package/lib/module/components/CardInline.js +3 -2
- package/lib/module/components/Carousel.js +10 -5
- package/lib/module/components/Checkbox/Checkbox.js +10 -5
- package/lib/module/components/Checkbox/CheckboxGroup.js +6 -2
- package/lib/module/components/Checkbox/CheckboxGroupRow.js +9 -2
- package/lib/module/components/Checkbox/CheckboxRow.js +12 -5
- package/lib/module/components/Checkbox/context.js +3 -2
- package/lib/module/components/Checkbox/index.js +1 -2
- package/lib/module/components/CircleImage.js +4 -2
- package/lib/module/components/CircularProgress.js +10 -5
- package/lib/module/components/Config.js +12 -7
- package/lib/module/components/Container.js +4 -2
- package/lib/module/components/DatePicker/DatePicker.js +34 -18
- package/lib/module/components/DatePicker/DatePickerComponent.js +3 -2
- package/lib/module/components/DatePicker/DatePickerComponent.web.js +3 -2
- package/lib/module/components/DatePicker/DatePickerComponentType.js +1 -2
- package/lib/module/components/DeprecatedButton.js +10 -2
- package/lib/module/components/DeprecatedCardWrapper.js +7 -2
- package/lib/module/components/DeprecatedFAB.js +14 -2
- package/lib/module/components/Divider.js +4 -2
- package/lib/module/components/Elevation.js +4 -2
- package/lib/module/components/FAB.js +4 -2
- package/lib/module/components/FieldSearchBarFull.js +10 -2
- package/lib/module/components/FormRow.js +2 -2
- package/lib/module/components/Header.js +3 -2
- package/lib/module/components/HeaderLarge.js +3 -2
- package/lib/module/components/HeaderMedium.js +3 -2
- package/lib/module/components/HeaderOverline.js +3 -2
- package/lib/module/components/IconButton.js +4 -2
- package/lib/module/components/Image.js +11 -2
- package/lib/module/components/Justification.js +1 -2
- package/lib/module/components/Layout.js +4 -6
- package/lib/module/components/NumberInput.js +17 -10
- package/lib/module/components/Picker/Picker.js +24 -8
- package/lib/module/components/Picker/PickerComponent.android.js +11 -8
- package/lib/module/components/Picker/PickerComponent.ios.js +12 -10
- package/lib/module/components/Picker/PickerComponent.web.js +11 -8
- package/lib/module/components/Picker/PickerTypes.js +1 -2
- package/lib/module/components/Portal/Portal.js +7 -6
- package/lib/module/components/Portal/PortalConsumer.js +11 -7
- package/lib/module/components/Portal/PortalHost.js +23 -6
- package/lib/module/components/Portal/PortalManager.js +15 -9
- package/lib/module/components/ProgressBar.js +18 -7
- package/lib/module/components/ProgressCircle.js +3 -2
- package/lib/module/components/ProgressIndicator.js +3 -2
- package/lib/module/components/RadioButton/RadioButton.js +7 -3
- package/lib/module/components/RadioButton/RadioButtonFieldGroup.js +4 -2
- package/lib/module/components/RadioButton/RadioButtonGroup.js +8 -2
- package/lib/module/components/RadioButton/RadioButtonRow.js +10 -3
- package/lib/module/components/RadioButton/context.js +3 -2
- package/lib/module/components/RadioButton/index.js +1 -2
- package/lib/module/components/ResizeMode.js +1 -2
- package/lib/module/components/Row.js +3 -2
- package/lib/module/components/RowBodyIcon.js +3 -2
- package/lib/module/components/RowHeadlineImageCaption.js +4 -4
- package/lib/module/components/RowHeadlineImageIcon.js +3 -2
- package/lib/module/components/SVG.js +3 -2
- package/lib/module/components/ScreenContainer.js +7 -2
- package/lib/module/components/Slider.js +11 -2
- package/lib/module/components/StarRating.js +4 -2
- package/lib/module/components/StepIndicator.js +30 -7
- package/lib/module/components/Stepper.js +17 -9
- package/lib/module/components/Surface.js +6 -2
- package/lib/module/components/Swiper/Swiper.js +5 -2
- package/lib/module/components/Swiper/SwiperItem.js +3 -2
- package/lib/module/components/Swiper/index.js +1 -2
- package/lib/module/components/Switch.js +8 -7
- package/lib/module/components/Text.js +11 -5
- package/lib/module/components/TextField.js +51 -14
- package/lib/module/components/ToggleButton.js +6 -2
- package/lib/module/components/Touchable.js +2 -2
- package/lib/module/components/Touchable.web.js +1 -2
- package/lib/module/components/Typography.js +1 -2
- package/lib/module/components/useAuthState.js +5 -2
- package/lib/module/constants.js +2 -4
- package/lib/module/hooks.js +3 -6
- package/lib/module/index.js +2 -5
- package/lib/module/interfaces/Icon.js +2 -4
- package/lib/module/mappings/Accordion.js +1 -2
- package/lib/module/mappings/AccordionItem.js +1 -2
- package/lib/module/mappings/ActionSheet.js +1 -2
- package/lib/module/mappings/ActionSheetCancel.js +1 -2
- package/lib/module/mappings/ActionSheetItem.js +1 -2
- package/lib/module/mappings/ActivityIndicator.js +1 -2
- package/lib/module/mappings/AudioPlayer.js +34 -5
- package/lib/module/mappings/AvatarEdit.js +1 -2
- package/lib/module/mappings/Banner.js +1 -2
- package/lib/module/mappings/BlurView.js +1 -2
- package/lib/module/mappings/Button.js +4 -8
- package/lib/module/mappings/Card.js +3 -5
- package/lib/module/mappings/CardBlock.js +4 -8
- package/lib/module/mappings/CardContainer.js +6 -7
- package/lib/module/mappings/CardContainerRating.js +3 -6
- package/lib/module/mappings/CardContainerShortImage.js +1 -2
- package/lib/module/mappings/CardInline.js +1 -2
- package/lib/module/mappings/Carousel.js +1 -2
- package/lib/module/mappings/Checkbox.js +1 -2
- package/lib/module/mappings/CheckboxGroup.js +1 -2
- package/lib/module/mappings/CheckboxRow.js +1 -2
- package/lib/module/mappings/CircleImage.js +1 -2
- package/lib/module/mappings/Container.js +1 -2
- package/lib/module/mappings/CustomCode.js +1 -2
- package/lib/module/mappings/DatePicker.js +3 -6
- package/lib/module/mappings/Divider.js +1 -2
- package/lib/module/mappings/FAB.js +1 -2
- package/lib/module/mappings/Fetch.js +2 -2
- package/lib/module/mappings/FieldSearchBarFull.js +2 -4
- package/lib/module/mappings/FlashList.js +1 -2
- package/lib/module/mappings/FlatList.js +1 -2
- package/lib/module/mappings/HeaderLarge.js +1 -2
- package/lib/module/mappings/HeaderMedium.js +1 -2
- package/lib/module/mappings/HeaderOverline.js +1 -2
- package/lib/module/mappings/HtmlElements.js +177 -0
- package/lib/module/mappings/Icon.js +2 -4
- package/lib/module/mappings/IconButton.js +1 -2
- package/lib/module/mappings/Image.js +1 -2
- package/lib/module/mappings/ImageBackground.js +1 -2
- package/lib/module/mappings/KeyboardAvoidingView.js +1 -2
- package/lib/module/mappings/KeyboardAwareScrollView.js +1 -2
- package/lib/module/mappings/Layout.js +1 -2
- package/lib/module/mappings/LinearGradient.js +1 -2
- package/lib/module/mappings/MapCallout.js +1 -2
- package/lib/module/mappings/MapMarker.js +1 -2
- package/lib/module/mappings/MapView.js +1 -2
- package/lib/module/mappings/Modal.js +1 -2
- package/lib/module/mappings/NumberInput.js +3 -6
- package/lib/module/mappings/Picker.js +3 -6
- package/lib/module/mappings/ProgressBar.js +1 -2
- package/lib/module/mappings/ProgressCircle.js +1 -2
- package/lib/module/mappings/ProgressIndicator.js +1 -2
- package/lib/module/mappings/RadioButton.js +1 -2
- package/lib/module/mappings/RadioButtonGroup.js +1 -2
- package/lib/module/mappings/RadioButtonRow.js +1 -2
- package/lib/module/mappings/RowBodyIcon.js +1 -2
- package/lib/module/mappings/RowHeadlineImageCaption.js +1 -2
- package/lib/module/mappings/RowHeadlineImageIcon.js +7 -14
- package/lib/module/mappings/SVG.js +1 -2
- package/lib/module/mappings/SafeAreaView.js +1 -2
- package/lib/module/mappings/ScrollView.js +1 -2
- package/lib/module/mappings/Slider.js +1 -2
- package/lib/module/mappings/StarRating.js +2 -3
- package/lib/module/mappings/Stepper.js +3 -4
- package/lib/module/mappings/Surface.js +1 -2
- package/lib/module/mappings/Swiper.js +1 -2
- package/lib/module/mappings/SwiperItem.js +1 -2
- package/lib/module/mappings/Switch.js +1 -2
- package/lib/module/mappings/Text.js +4 -7
- package/lib/module/mappings/TextArea.js +17 -8
- package/lib/module/mappings/TextField.js +21 -13
- package/lib/module/mappings/TextInput.js +17 -8
- package/lib/module/mappings/ToggleButton.js +1 -2
- package/lib/module/mappings/Touchable.js +1 -2
- package/lib/module/mappings/Video.js +1 -2
- package/lib/module/mappings/View.js +1 -2
- package/lib/module/mappings/WebView.js +1 -2
- package/lib/module/styles/DarkTheme.js +3 -6
- package/lib/module/styles/DefaultTheme.js +14 -28
- package/lib/module/styles/fonts.js +2 -4
- package/lib/module/styles/overlay.js +11 -6
- package/lib/module/styles/shadow.js +7 -2
- package/lib/module/theming.js +1 -2
- package/lib/module/utilities.js +6 -4
- package/lib/typescript/src/Provider.d.ts +1 -1
- package/lib/typescript/src/Provider.d.ts.map +1 -1
- package/lib/typescript/src/components/Accordion/AccordionGroup.d.ts +1 -1
- package/lib/typescript/src/components/Accordion/AccordionGroup.d.ts.map +1 -1
- package/lib/typescript/src/components/Accordion/AccordionItem.d.ts +1 -1
- package/lib/typescript/src/components/Accordion/AccordionItem.d.ts.map +1 -1
- package/lib/typescript/src/components/ActionSheet/ActionSheetCancel.d.ts +1 -1
- package/lib/typescript/src/components/ActionSheet/ActionSheetCancel.d.ts.map +1 -1
- package/lib/typescript/src/components/ActionSheet/ActionSheetItem.d.ts +1 -1
- package/lib/typescript/src/components/ActionSheet/ActionSheetItem.d.ts.map +1 -1
- package/lib/typescript/src/components/AnimatedCircularProgress.d.ts +1 -1
- package/lib/typescript/src/components/AnimatedCircularProgress.d.ts.map +1 -1
- package/lib/typescript/src/components/AspectRatio.d.ts +1 -1
- package/lib/typescript/src/components/AspectRatio.d.ts.map +1 -1
- package/lib/typescript/src/components/AvatarEdit.d.ts +1 -1
- package/lib/typescript/src/components/AvatarEdit.d.ts.map +1 -1
- package/lib/typescript/src/components/Banner.d.ts +1 -1
- package/lib/typescript/src/components/Banner.d.ts.map +1 -1
- package/lib/typescript/src/components/Card.d.ts +1 -1
- package/lib/typescript/src/components/Card.d.ts.map +1 -1
- package/lib/typescript/src/components/CardBlock.d.ts +1 -1
- package/lib/typescript/src/components/CardBlock.d.ts.map +1 -1
- package/lib/typescript/src/components/CardContainer.d.ts +1 -1
- package/lib/typescript/src/components/CardContainer.d.ts.map +1 -1
- package/lib/typescript/src/components/CardContainerRating.d.ts +1 -1
- package/lib/typescript/src/components/CardContainerRating.d.ts.map +1 -1
- package/lib/typescript/src/components/CardContainerShortImage.d.ts +1 -1
- package/lib/typescript/src/components/CardContainerShortImage.d.ts.map +1 -1
- package/lib/typescript/src/components/CardInline.d.ts +1 -1
- package/lib/typescript/src/components/CardInline.d.ts.map +1 -1
- package/lib/typescript/src/components/Carousel.d.ts +1 -1
- package/lib/typescript/src/components/Carousel.d.ts.map +1 -1
- package/lib/typescript/src/components/CircularProgress.d.ts +1 -1
- package/lib/typescript/src/components/CircularProgress.d.ts.map +1 -1
- package/lib/typescript/src/components/Container.d.ts +1 -1
- package/lib/typescript/src/components/Container.d.ts.map +1 -1
- package/lib/typescript/src/components/DatePicker/DatePicker.d.ts +1 -1
- package/lib/typescript/src/components/DatePicker/DatePicker.d.ts.map +1 -1
- package/lib/typescript/src/components/DeprecatedButton.d.ts +1 -1
- package/lib/typescript/src/components/DeprecatedButton.d.ts.map +1 -1
- package/lib/typescript/src/components/DeprecatedCardWrapper.d.ts +1 -1
- package/lib/typescript/src/components/DeprecatedCardWrapper.d.ts.map +1 -1
- package/lib/typescript/src/components/DeprecatedFAB.d.ts +1 -1
- package/lib/typescript/src/components/DeprecatedFAB.d.ts.map +1 -1
- package/lib/typescript/src/components/Divider.d.ts +1 -1
- package/lib/typescript/src/components/Divider.d.ts.map +1 -1
- package/lib/typescript/src/components/Elevation.d.ts +1 -1
- package/lib/typescript/src/components/Elevation.d.ts.map +1 -1
- package/lib/typescript/src/components/FAB.d.ts +1 -1
- package/lib/typescript/src/components/FAB.d.ts.map +1 -1
- package/lib/typescript/src/components/FieldSearchBarFull.d.ts +1 -1
- package/lib/typescript/src/components/FieldSearchBarFull.d.ts.map +1 -1
- package/lib/typescript/src/components/FormRow.d.ts +1 -1
- package/lib/typescript/src/components/FormRow.d.ts.map +1 -1
- package/lib/typescript/src/components/Header.d.ts +1 -1
- package/lib/typescript/src/components/Header.d.ts.map +1 -1
- package/lib/typescript/src/components/HeaderLarge.d.ts +1 -1
- package/lib/typescript/src/components/HeaderLarge.d.ts.map +1 -1
- package/lib/typescript/src/components/HeaderMedium.d.ts +1 -1
- package/lib/typescript/src/components/HeaderMedium.d.ts.map +1 -1
- package/lib/typescript/src/components/HeaderOverline.d.ts +1 -1
- package/lib/typescript/src/components/HeaderOverline.d.ts.map +1 -1
- package/lib/typescript/src/components/IconButton.d.ts +1 -1
- package/lib/typescript/src/components/IconButton.d.ts.map +1 -1
- package/lib/typescript/src/components/Justification.d.ts +1 -1
- package/lib/typescript/src/components/Justification.d.ts.map +1 -1
- package/lib/typescript/src/components/Picker/Picker.d.ts +1 -1
- package/lib/typescript/src/components/Picker/Picker.d.ts.map +1 -1
- package/lib/typescript/src/components/Portal/Portal.d.ts +1 -1
- package/lib/typescript/src/components/Portal/Portal.d.ts.map +1 -1
- package/lib/typescript/src/components/Portal/PortalConsumer.d.ts +1 -1
- package/lib/typescript/src/components/Portal/PortalConsumer.d.ts.map +1 -1
- package/lib/typescript/src/components/Portal/PortalHost.d.ts +2 -2
- package/lib/typescript/src/components/Portal/PortalHost.d.ts.map +1 -1
- package/lib/typescript/src/components/Portal/PortalManager.d.ts +1 -1
- package/lib/typescript/src/components/Portal/PortalManager.d.ts.map +1 -1
- package/lib/typescript/src/components/ProgressBar.d.ts +1 -1
- package/lib/typescript/src/components/ProgressBar.d.ts.map +1 -1
- package/lib/typescript/src/components/ProgressCircle.d.ts +1 -1
- package/lib/typescript/src/components/ProgressCircle.d.ts.map +1 -1
- package/lib/typescript/src/components/ProgressIndicator.d.ts +1 -1
- package/lib/typescript/src/components/ProgressIndicator.d.ts.map +1 -1
- package/lib/typescript/src/components/RadioButton/RadioButton.d.ts +1 -1
- package/lib/typescript/src/components/RadioButton/RadioButton.d.ts.map +1 -1
- package/lib/typescript/src/components/ResizeMode.d.ts +1 -1
- package/lib/typescript/src/components/ResizeMode.d.ts.map +1 -1
- package/lib/typescript/src/components/Row.d.ts +1 -1
- package/lib/typescript/src/components/Row.d.ts.map +1 -1
- package/lib/typescript/src/components/RowBodyIcon.d.ts +1 -1
- package/lib/typescript/src/components/RowBodyIcon.d.ts.map +1 -1
- package/lib/typescript/src/components/RowHeadlineImageCaption.d.ts +1 -1
- package/lib/typescript/src/components/RowHeadlineImageCaption.d.ts.map +1 -1
- package/lib/typescript/src/components/RowHeadlineImageIcon.d.ts +1 -1
- package/lib/typescript/src/components/RowHeadlineImageIcon.d.ts.map +1 -1
- package/lib/typescript/src/components/SVG.d.ts +1 -1
- package/lib/typescript/src/components/SVG.d.ts.map +1 -1
- package/lib/typescript/src/components/ScreenContainer.d.ts +1 -1
- package/lib/typescript/src/components/ScreenContainer.d.ts.map +1 -1
- package/lib/typescript/src/components/Slider.d.ts +1 -1
- package/lib/typescript/src/components/Slider.d.ts.map +1 -1
- package/lib/typescript/src/components/StarRating.d.ts +1 -1
- package/lib/typescript/src/components/StarRating.d.ts.map +1 -1
- package/lib/typescript/src/components/StepIndicator.d.ts +2 -2
- package/lib/typescript/src/components/StepIndicator.d.ts.map +1 -1
- package/lib/typescript/src/components/Stepper.d.ts +2 -3
- package/lib/typescript/src/components/Stepper.d.ts.map +1 -1
- package/lib/typescript/src/components/Surface.d.ts +1 -1
- package/lib/typescript/src/components/Surface.d.ts.map +1 -1
- package/lib/typescript/src/components/Switch.d.ts +2 -2
- package/lib/typescript/src/components/Switch.d.ts.map +1 -1
- package/lib/typescript/src/components/Text.d.ts +1 -1
- package/lib/typescript/src/components/Text.d.ts.map +1 -1
- package/lib/typescript/src/components/TextField.d.ts +1 -1
- package/lib/typescript/src/components/TextField.d.ts.map +1 -1
- package/lib/typescript/src/components/ToggleButton.d.ts +1 -1
- package/lib/typescript/src/components/ToggleButton.d.ts.map +1 -1
- package/lib/typescript/src/components/Touchable.d.ts +1 -1
- package/lib/typescript/src/components/Touchable.d.ts.map +1 -1
- package/lib/typescript/src/components/Typography.d.ts +1 -1
- package/lib/typescript/src/components/Typography.d.ts.map +1 -1
- package/lib/typescript/src/interfaces/Icon.d.ts +2 -2
- package/lib/typescript/src/interfaces/Icon.d.ts.map +1 -1
- package/lib/typescript/src/mappings/AudioPlayer.d.ts +62 -1
- package/lib/typescript/src/mappings/AudioPlayer.d.ts.map +1 -1
- package/lib/typescript/src/mappings/HtmlElements.d.ts +99 -0
- package/lib/typescript/src/mappings/HtmlElements.d.ts.map +1 -0
- package/lib/typescript/src/mappings/Stepper.d.ts.map +1 -1
- package/lib/typescript/src/mappings/TextArea.d.ts +21 -1
- package/lib/typescript/src/mappings/TextArea.d.ts.map +1 -1
- package/lib/typescript/src/mappings/TextField.d.ts +22 -2
- package/lib/typescript/src/mappings/TextField.d.ts.map +1 -1
- package/lib/typescript/src/mappings/TextInput.d.ts +21 -1
- package/lib/typescript/src/mappings/TextInput.d.ts.map +1 -1
- package/lib/typescript/src/styles/DefaultTheme.d.ts +1 -1
- package/lib/typescript/src/styles/DefaultTheme.d.ts.map +1 -1
- package/package.json +16 -5
- package/src/components/Picker/Picker.js +1 -1
- package/src/components/Picker/Picker.tsx +2 -2
- package/src/components/Stepper.js +5 -3
- package/src/components/Stepper.tsx +5 -5
- package/src/mappings/AudioPlayer.js +39 -2
- package/src/mappings/AudioPlayer.ts +41 -1
- package/src/mappings/HtmlElements.js +201 -0
- package/src/mappings/HtmlElements.ts +215 -0
- package/src/mappings/Stepper.js +5 -2
- package/src/mappings/Stepper.ts +5 -1
- package/src/mappings/TextArea.js +15 -4
- package/src/mappings/TextArea.ts +15 -3
- package/src/mappings/TextField.js +14 -4
- package/src/mappings/TextField.ts +14 -4
- package/src/mappings/TextInput.js +15 -4
- package/src/mappings/TextInput.ts +15 -3
- package/lib/commonjs/Provider.js.map +0 -1
- package/lib/commonjs/components/Accordion/AccordionGroup.js.map +0 -1
- package/lib/commonjs/components/Accordion/AccordionItem.js.map +0 -1
- package/lib/commonjs/components/Accordion/index.js.map +0 -1
- package/lib/commonjs/components/ActionSheet/ActionSheet.js.map +0 -1
- package/lib/commonjs/components/ActionSheet/ActionSheetCancel.js.map +0 -1
- package/lib/commonjs/components/ActionSheet/ActionSheetItem.js.map +0 -1
- package/lib/commonjs/components/ActionSheet/index.js.map +0 -1
- package/lib/commonjs/components/AnimatedCircularProgress.js.map +0 -1
- package/lib/commonjs/components/AspectRatio.js.map +0 -1
- package/lib/commonjs/components/AvatarEdit.js.map +0 -1
- package/lib/commonjs/components/Banner.js.map +0 -1
- package/lib/commonjs/components/Button.js.map +0 -1
- package/lib/commonjs/components/Card.js.map +0 -1
- package/lib/commonjs/components/CardBlock.js.map +0 -1
- package/lib/commonjs/components/CardContainer.js.map +0 -1
- package/lib/commonjs/components/CardContainerRating.js.map +0 -1
- package/lib/commonjs/components/CardContainerShortImage.js.map +0 -1
- package/lib/commonjs/components/CardInline.js.map +0 -1
- package/lib/commonjs/components/Carousel.js.map +0 -1
- package/lib/commonjs/components/Checkbox/Checkbox.js.map +0 -1
- package/lib/commonjs/components/Checkbox/CheckboxGroup.js.map +0 -1
- package/lib/commonjs/components/Checkbox/CheckboxGroupRow.js.map +0 -1
- package/lib/commonjs/components/Checkbox/CheckboxRow.js.map +0 -1
- package/lib/commonjs/components/Checkbox/context.js.map +0 -1
- package/lib/commonjs/components/Checkbox/index.js.map +0 -1
- package/lib/commonjs/components/CircleImage.js.map +0 -1
- package/lib/commonjs/components/CircularProgress.js.map +0 -1
- package/lib/commonjs/components/Config.js.map +0 -1
- package/lib/commonjs/components/Container.js.map +0 -1
- package/lib/commonjs/components/DatePicker/DatePicker.js.map +0 -1
- package/lib/commonjs/components/DatePicker/DatePickerComponent.js.map +0 -1
- package/lib/commonjs/components/DatePicker/DatePickerComponent.web.js.map +0 -1
- package/lib/commonjs/components/DatePicker/DatePickerComponentType.js.map +0 -1
- package/lib/commonjs/components/DeprecatedButton.js.map +0 -1
- package/lib/commonjs/components/DeprecatedCardWrapper.js.map +0 -1
- package/lib/commonjs/components/DeprecatedFAB.js.map +0 -1
- package/lib/commonjs/components/Divider.js.map +0 -1
- package/lib/commonjs/components/Elevation.js.map +0 -1
- package/lib/commonjs/components/FAB.js.map +0 -1
- package/lib/commonjs/components/FieldSearchBarFull.js.map +0 -1
- package/lib/commonjs/components/FormRow.js.map +0 -1
- package/lib/commonjs/components/Header.js.map +0 -1
- package/lib/commonjs/components/HeaderLarge.js.map +0 -1
- package/lib/commonjs/components/HeaderMedium.js.map +0 -1
- package/lib/commonjs/components/HeaderOverline.js.map +0 -1
- package/lib/commonjs/components/IconButton.js.map +0 -1
- package/lib/commonjs/components/Image.js.map +0 -1
- package/lib/commonjs/components/Justification.js.map +0 -1
- package/lib/commonjs/components/Layout.js.map +0 -1
- package/lib/commonjs/components/NumberInput.js.map +0 -1
- package/lib/commonjs/components/Picker/Picker.js.map +0 -1
- package/lib/commonjs/components/Picker/PickerComponent.android.js.map +0 -1
- package/lib/commonjs/components/Picker/PickerComponent.ios.js.map +0 -1
- package/lib/commonjs/components/Picker/PickerComponent.web.js.map +0 -1
- package/lib/commonjs/components/Picker/PickerTypes.js.map +0 -1
- package/lib/commonjs/components/Portal/Portal.js.map +0 -1
- package/lib/commonjs/components/Portal/PortalConsumer.js.map +0 -1
- package/lib/commonjs/components/Portal/PortalHost.js.map +0 -1
- package/lib/commonjs/components/Portal/PortalManager.js.map +0 -1
- package/lib/commonjs/components/ProgressBar.js.map +0 -1
- package/lib/commonjs/components/ProgressCircle.js.map +0 -1
- package/lib/commonjs/components/ProgressIndicator.js.map +0 -1
- package/lib/commonjs/components/RadioButton/RadioButton.js.map +0 -1
- package/lib/commonjs/components/RadioButton/RadioButtonFieldGroup.js.map +0 -1
- package/lib/commonjs/components/RadioButton/RadioButtonGroup.js.map +0 -1
- package/lib/commonjs/components/RadioButton/RadioButtonRow.js.map +0 -1
- package/lib/commonjs/components/RadioButton/context.js.map +0 -1
- package/lib/commonjs/components/RadioButton/index.js.map +0 -1
- package/lib/commonjs/components/ResizeMode.js.map +0 -1
- package/lib/commonjs/components/Row.js.map +0 -1
- package/lib/commonjs/components/RowBodyIcon.js.map +0 -1
- package/lib/commonjs/components/RowHeadlineImageCaption.js.map +0 -1
- package/lib/commonjs/components/RowHeadlineImageIcon.js.map +0 -1
- package/lib/commonjs/components/SVG.js.map +0 -1
- package/lib/commonjs/components/ScreenContainer.js.map +0 -1
- package/lib/commonjs/components/Slider.js.map +0 -1
- package/lib/commonjs/components/StarRating.js.map +0 -1
- package/lib/commonjs/components/StepIndicator.js.map +0 -1
- package/lib/commonjs/components/Stepper.js.map +0 -1
- package/lib/commonjs/components/Surface.js.map +0 -1
- package/lib/commonjs/components/Swiper/Swiper.js.map +0 -1
- package/lib/commonjs/components/Swiper/SwiperItem.js.map +0 -1
- package/lib/commonjs/components/Swiper/index.js.map +0 -1
- package/lib/commonjs/components/Switch.js.map +0 -1
- package/lib/commonjs/components/Text.js.map +0 -1
- package/lib/commonjs/components/TextField.js.map +0 -1
- package/lib/commonjs/components/ToggleButton.js.map +0 -1
- package/lib/commonjs/components/Touchable.js.map +0 -1
- package/lib/commonjs/components/Touchable.web.js.map +0 -1
- package/lib/commonjs/components/Typography.js.map +0 -1
- package/lib/commonjs/components/useAuthState.js.map +0 -1
- package/lib/commonjs/constants.js.map +0 -1
- package/lib/commonjs/hooks.js.map +0 -1
- package/lib/commonjs/index.js.map +0 -1
- package/lib/commonjs/interfaces/Icon.js.map +0 -1
- package/lib/commonjs/mappings/Accordion.js.map +0 -1
- package/lib/commonjs/mappings/AccordionItem.js.map +0 -1
- package/lib/commonjs/mappings/ActionSheet.js.map +0 -1
- package/lib/commonjs/mappings/ActionSheetCancel.js.map +0 -1
- package/lib/commonjs/mappings/ActionSheetItem.js.map +0 -1
- package/lib/commonjs/mappings/ActivityIndicator.js.map +0 -1
- package/lib/commonjs/mappings/AudioPlayer.js.map +0 -1
- package/lib/commonjs/mappings/AvatarEdit.js.map +0 -1
- package/lib/commonjs/mappings/Banner.js.map +0 -1
- package/lib/commonjs/mappings/BlurView.js.map +0 -1
- package/lib/commonjs/mappings/Button.js.map +0 -1
- package/lib/commonjs/mappings/Card.js.map +0 -1
- package/lib/commonjs/mappings/CardBlock.js.map +0 -1
- package/lib/commonjs/mappings/CardContainer.js.map +0 -1
- package/lib/commonjs/mappings/CardContainerRating.js.map +0 -1
- package/lib/commonjs/mappings/CardContainerShortImage.js.map +0 -1
- package/lib/commonjs/mappings/CardInline.js.map +0 -1
- package/lib/commonjs/mappings/Carousel.js.map +0 -1
- package/lib/commonjs/mappings/Checkbox.js.map +0 -1
- package/lib/commonjs/mappings/CheckboxGroup.js.map +0 -1
- package/lib/commonjs/mappings/CheckboxRow.js.map +0 -1
- package/lib/commonjs/mappings/CircleImage.js.map +0 -1
- package/lib/commonjs/mappings/Container.js.map +0 -1
- package/lib/commonjs/mappings/CustomCode.js.map +0 -1
- package/lib/commonjs/mappings/DatePicker.js.map +0 -1
- package/lib/commonjs/mappings/Divider.js.map +0 -1
- package/lib/commonjs/mappings/FAB.js.map +0 -1
- package/lib/commonjs/mappings/Fetch.js.map +0 -1
- package/lib/commonjs/mappings/FieldSearchBarFull.js.map +0 -1
- package/lib/commonjs/mappings/FlashList.js.map +0 -1
- package/lib/commonjs/mappings/FlatList.js.map +0 -1
- package/lib/commonjs/mappings/HeaderLarge.js.map +0 -1
- package/lib/commonjs/mappings/HeaderMedium.js.map +0 -1
- package/lib/commonjs/mappings/HeaderOverline.js.map +0 -1
- package/lib/commonjs/mappings/Icon.js.map +0 -1
- package/lib/commonjs/mappings/IconButton.js.map +0 -1
- package/lib/commonjs/mappings/Image.js.map +0 -1
- package/lib/commonjs/mappings/ImageBackground.js.map +0 -1
- package/lib/commonjs/mappings/KeyboardAvoidingView.js.map +0 -1
- package/lib/commonjs/mappings/KeyboardAwareScrollView.js.map +0 -1
- package/lib/commonjs/mappings/Layout.js.map +0 -1
- package/lib/commonjs/mappings/LinearGradient.js.map +0 -1
- package/lib/commonjs/mappings/MapCallout.js.map +0 -1
- package/lib/commonjs/mappings/MapMarker.js.map +0 -1
- package/lib/commonjs/mappings/MapView.js.map +0 -1
- package/lib/commonjs/mappings/Modal.js.map +0 -1
- package/lib/commonjs/mappings/NumberInput.js.map +0 -1
- package/lib/commonjs/mappings/Picker.js.map +0 -1
- package/lib/commonjs/mappings/ProgressBar.js.map +0 -1
- package/lib/commonjs/mappings/ProgressCircle.js.map +0 -1
- package/lib/commonjs/mappings/ProgressIndicator.js.map +0 -1
- package/lib/commonjs/mappings/RadioButton.js.map +0 -1
- package/lib/commonjs/mappings/RadioButtonGroup.js.map +0 -1
- package/lib/commonjs/mappings/RadioButtonRow.js.map +0 -1
- package/lib/commonjs/mappings/RowBodyIcon.js.map +0 -1
- package/lib/commonjs/mappings/RowHeadlineImageCaption.js.map +0 -1
- package/lib/commonjs/mappings/RowHeadlineImageIcon.js.map +0 -1
- package/lib/commonjs/mappings/SVG.js.map +0 -1
- package/lib/commonjs/mappings/SafeAreaView.js.map +0 -1
- package/lib/commonjs/mappings/ScrollView.js.map +0 -1
- package/lib/commonjs/mappings/Slider.js.map +0 -1
- package/lib/commonjs/mappings/StarRating.js.map +0 -1
- package/lib/commonjs/mappings/Stepper.js.map +0 -1
- package/lib/commonjs/mappings/Surface.js.map +0 -1
- package/lib/commonjs/mappings/Swiper.js.map +0 -1
- package/lib/commonjs/mappings/SwiperItem.js.map +0 -1
- package/lib/commonjs/mappings/Switch.js.map +0 -1
- package/lib/commonjs/mappings/Text.js.map +0 -1
- package/lib/commonjs/mappings/TextArea.js.map +0 -1
- package/lib/commonjs/mappings/TextField.js.map +0 -1
- package/lib/commonjs/mappings/TextInput.js.map +0 -1
- package/lib/commonjs/mappings/ToggleButton.js.map +0 -1
- package/lib/commonjs/mappings/Touchable.js.map +0 -1
- package/lib/commonjs/mappings/Video.js.map +0 -1
- package/lib/commonjs/mappings/View.js.map +0 -1
- package/lib/commonjs/mappings/WebView.js.map +0 -1
- package/lib/commonjs/styles/DarkTheme.js.map +0 -1
- package/lib/commonjs/styles/DefaultTheme.js.map +0 -1
- package/lib/commonjs/styles/fonts.js.map +0 -1
- package/lib/commonjs/styles/overlay.js.map +0 -1
- package/lib/commonjs/styles/shadow.js.map +0 -1
- package/lib/commonjs/theming.js.map +0 -1
- package/lib/commonjs/utilities.js.map +0 -1
- package/lib/module/Provider.js.map +0 -1
- package/lib/module/components/Accordion/AccordionGroup.js.map +0 -1
- 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.map +0 -1
- package/lib/module/components/ActionSheet/ActionSheetCancel.js.map +0 -1
- 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.map +0 -1
- package/lib/module/components/AspectRatio.js.map +0 -1
- package/lib/module/components/AvatarEdit.js.map +0 -1
- package/lib/module/components/Banner.js.map +0 -1
- package/lib/module/components/Button.js.map +0 -1
- package/lib/module/components/Card.js.map +0 -1
- package/lib/module/components/CardBlock.js.map +0 -1
- package/lib/module/components/CardContainer.js.map +0 -1
- package/lib/module/components/CardContainerRating.js.map +0 -1
- package/lib/module/components/CardContainerShortImage.js.map +0 -1
- package/lib/module/components/CardInline.js.map +0 -1
- package/lib/module/components/Carousel.js.map +0 -1
- package/lib/module/components/Checkbox/Checkbox.js.map +0 -1
- package/lib/module/components/Checkbox/CheckboxGroup.js.map +0 -1
- package/lib/module/components/Checkbox/CheckboxGroupRow.js.map +0 -1
- package/lib/module/components/Checkbox/CheckboxRow.js.map +0 -1
- 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.map +0 -1
- package/lib/module/components/CircularProgress.js.map +0 -1
- package/lib/module/components/Config.js.map +0 -1
- package/lib/module/components/Container.js.map +0 -1
- package/lib/module/components/DatePicker/DatePicker.js.map +0 -1
- package/lib/module/components/DatePicker/DatePickerComponent.js.map +0 -1
- 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/DeprecatedButton.js.map +0 -1
- package/lib/module/components/DeprecatedCardWrapper.js.map +0 -1
- package/lib/module/components/DeprecatedFAB.js.map +0 -1
- package/lib/module/components/Divider.js.map +0 -1
- package/lib/module/components/Elevation.js.map +0 -1
- package/lib/module/components/FAB.js.map +0 -1
- package/lib/module/components/FieldSearchBarFull.js.map +0 -1
- package/lib/module/components/FormRow.js.map +0 -1
- package/lib/module/components/Header.js.map +0 -1
- package/lib/module/components/HeaderLarge.js.map +0 -1
- package/lib/module/components/HeaderMedium.js.map +0 -1
- package/lib/module/components/HeaderOverline.js.map +0 -1
- package/lib/module/components/IconButton.js.map +0 -1
- package/lib/module/components/Image.js.map +0 -1
- package/lib/module/components/Justification.js.map +0 -1
- package/lib/module/components/Layout.js.map +0 -1
- package/lib/module/components/NumberInput.js.map +0 -1
- package/lib/module/components/Picker/Picker.js.map +0 -1
- package/lib/module/components/Picker/PickerComponent.android.js.map +0 -1
- package/lib/module/components/Picker/PickerComponent.ios.js.map +0 -1
- 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.map +0 -1
- package/lib/module/components/Portal/PortalConsumer.js.map +0 -1
- package/lib/module/components/Portal/PortalHost.js.map +0 -1
- package/lib/module/components/Portal/PortalManager.js.map +0 -1
- package/lib/module/components/ProgressBar.js.map +0 -1
- package/lib/module/components/ProgressCircle.js.map +0 -1
- package/lib/module/components/ProgressIndicator.js.map +0 -1
- package/lib/module/components/RadioButton/RadioButton.js.map +0 -1
- package/lib/module/components/RadioButton/RadioButtonFieldGroup.js.map +0 -1
- package/lib/module/components/RadioButton/RadioButtonGroup.js.map +0 -1
- package/lib/module/components/RadioButton/RadioButtonRow.js.map +0 -1
- 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.map +0 -1
- package/lib/module/components/Row.js.map +0 -1
- package/lib/module/components/RowBodyIcon.js.map +0 -1
- package/lib/module/components/RowHeadlineImageCaption.js.map +0 -1
- package/lib/module/components/RowHeadlineImageIcon.js.map +0 -1
- package/lib/module/components/SVG.js.map +0 -1
- package/lib/module/components/ScreenContainer.js.map +0 -1
- package/lib/module/components/Slider.js.map +0 -1
- package/lib/module/components/StarRating.js.map +0 -1
- package/lib/module/components/StepIndicator.js.map +0 -1
- package/lib/module/components/Stepper.js.map +0 -1
- package/lib/module/components/Surface.js.map +0 -1
- package/lib/module/components/Swiper/Swiper.js.map +0 -1
- 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.map +0 -1
- package/lib/module/components/Text.js.map +0 -1
- package/lib/module/components/TextField.js.map +0 -1
- package/lib/module/components/ToggleButton.js.map +0 -1
- 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.map +0 -1
- package/lib/module/components/useAuthState.js.map +0 -1
- package/lib/module/constants.js.map +0 -1
- package/lib/module/hooks.js.map +0 -1
- package/lib/module/index.js.map +0 -1
- package/lib/module/interfaces/Icon.js.map +0 -1
- package/lib/module/mappings/Accordion.js.map +0 -1
- package/lib/module/mappings/AccordionItem.js.map +0 -1
- package/lib/module/mappings/ActionSheet.js.map +0 -1
- package/lib/module/mappings/ActionSheetCancel.js.map +0 -1
- package/lib/module/mappings/ActionSheetItem.js.map +0 -1
- package/lib/module/mappings/ActivityIndicator.js.map +0 -1
- package/lib/module/mappings/AudioPlayer.js.map +0 -1
- package/lib/module/mappings/AvatarEdit.js.map +0 -1
- package/lib/module/mappings/Banner.js.map +0 -1
- package/lib/module/mappings/BlurView.js.map +0 -1
- package/lib/module/mappings/Button.js.map +0 -1
- package/lib/module/mappings/Card.js.map +0 -1
- package/lib/module/mappings/CardBlock.js.map +0 -1
- package/lib/module/mappings/CardContainer.js.map +0 -1
- package/lib/module/mappings/CardContainerRating.js.map +0 -1
- package/lib/module/mappings/CardContainerShortImage.js.map +0 -1
- package/lib/module/mappings/CardInline.js.map +0 -1
- package/lib/module/mappings/Carousel.js.map +0 -1
- package/lib/module/mappings/Checkbox.js.map +0 -1
- package/lib/module/mappings/CheckboxGroup.js.map +0 -1
- package/lib/module/mappings/CheckboxRow.js.map +0 -1
- package/lib/module/mappings/CircleImage.js.map +0 -1
- package/lib/module/mappings/Container.js.map +0 -1
- package/lib/module/mappings/CustomCode.js.map +0 -1
- package/lib/module/mappings/DatePicker.js.map +0 -1
- package/lib/module/mappings/Divider.js.map +0 -1
- package/lib/module/mappings/FAB.js.map +0 -1
- package/lib/module/mappings/Fetch.js.map +0 -1
- package/lib/module/mappings/FieldSearchBarFull.js.map +0 -1
- package/lib/module/mappings/FlashList.js.map +0 -1
- package/lib/module/mappings/FlatList.js.map +0 -1
- package/lib/module/mappings/HeaderLarge.js.map +0 -1
- package/lib/module/mappings/HeaderMedium.js.map +0 -1
- package/lib/module/mappings/HeaderOverline.js.map +0 -1
- package/lib/module/mappings/Icon.js.map +0 -1
- package/lib/module/mappings/IconButton.js.map +0 -1
- package/lib/module/mappings/Image.js.map +0 -1
- package/lib/module/mappings/ImageBackground.js.map +0 -1
- package/lib/module/mappings/KeyboardAvoidingView.js.map +0 -1
- package/lib/module/mappings/KeyboardAwareScrollView.js.map +0 -1
- package/lib/module/mappings/Layout.js.map +0 -1
- package/lib/module/mappings/LinearGradient.js.map +0 -1
- package/lib/module/mappings/MapCallout.js.map +0 -1
- package/lib/module/mappings/MapMarker.js.map +0 -1
- package/lib/module/mappings/MapView.js.map +0 -1
- package/lib/module/mappings/Modal.js.map +0 -1
- package/lib/module/mappings/NumberInput.js.map +0 -1
- package/lib/module/mappings/Picker.js.map +0 -1
- package/lib/module/mappings/ProgressBar.js.map +0 -1
- package/lib/module/mappings/ProgressCircle.js.map +0 -1
- package/lib/module/mappings/ProgressIndicator.js.map +0 -1
- package/lib/module/mappings/RadioButton.js.map +0 -1
- package/lib/module/mappings/RadioButtonGroup.js.map +0 -1
- package/lib/module/mappings/RadioButtonRow.js.map +0 -1
- package/lib/module/mappings/RowBodyIcon.js.map +0 -1
- package/lib/module/mappings/RowHeadlineImageCaption.js.map +0 -1
- package/lib/module/mappings/RowHeadlineImageIcon.js.map +0 -1
- package/lib/module/mappings/SVG.js.map +0 -1
- package/lib/module/mappings/SafeAreaView.js.map +0 -1
- package/lib/module/mappings/ScrollView.js.map +0 -1
- package/lib/module/mappings/Slider.js.map +0 -1
- package/lib/module/mappings/StarRating.js.map +0 -1
- package/lib/module/mappings/Stepper.js.map +0 -1
- package/lib/module/mappings/Surface.js.map +0 -1
- package/lib/module/mappings/Swiper.js.map +0 -1
- package/lib/module/mappings/SwiperItem.js.map +0 -1
- package/lib/module/mappings/Switch.js.map +0 -1
- package/lib/module/mappings/Text.js.map +0 -1
- package/lib/module/mappings/TextArea.js.map +0 -1
- package/lib/module/mappings/TextField.js.map +0 -1
- package/lib/module/mappings/TextInput.js.map +0 -1
- package/lib/module/mappings/ToggleButton.js.map +0 -1
- package/lib/module/mappings/Touchable.js.map +0 -1
- package/lib/module/mappings/Video.js.map +0 -1
- package/lib/module/mappings/View.js.map +0 -1
- package/lib/module/mappings/WebView.js.map +0 -1
- package/lib/module/styles/DarkTheme.js.map +0 -1
- package/lib/module/styles/DefaultTheme.js.map +0 -1
- package/lib/module/styles/fonts.js.map +0 -1
- package/lib/module/styles/overlay.js.map +0 -1
- package/lib/module/styles/shadow.js.map +0 -1
- package/lib/module/theming.js.map +0 -1
- package/lib/module/utilities.js.map +0 -1
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
function _defineProperty(obj, key, value) {
|
|
2
|
-
|
|
3
|
-
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); }
|
|
1
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
2
|
+
|
|
4
3
|
import * as React from "react";
|
|
5
4
|
import { View, StyleSheet } from "react-native";
|
|
6
5
|
import PortalManager from "./PortalManager";
|
|
7
6
|
export const PortalContext = /*#__PURE__*/React.createContext(null);
|
|
8
|
-
|
|
9
7
|
/**
|
|
10
8
|
* Portal host renders all of its children `Portal` elements.
|
|
11
9
|
* For example, you can wrap a screen in `Portal.Host` to render items above the screen.
|
|
@@ -30,14 +28,18 @@ export const PortalContext = /*#__PURE__*/React.createContext(null);
|
|
|
30
28
|
*
|
|
31
29
|
* Here any `Portal` elements under `<App />` are rendered alongside `<App />` and will appear above `<App />` like a `Modal`.
|
|
32
30
|
*/
|
|
31
|
+
|
|
33
32
|
export default class PortalHost extends React.Component {
|
|
34
33
|
constructor() {
|
|
35
34
|
super(...arguments);
|
|
35
|
+
|
|
36
36
|
_defineProperty(this, "setManager", manager => {
|
|
37
37
|
this.manager = manager;
|
|
38
38
|
});
|
|
39
|
+
|
|
39
40
|
_defineProperty(this, "mount", children => {
|
|
40
41
|
const key = this.nextKey++;
|
|
42
|
+
|
|
41
43
|
if (this.manager) {
|
|
42
44
|
this.manager.mount(key, children);
|
|
43
45
|
} else {
|
|
@@ -47,8 +49,10 @@ export default class PortalHost extends React.Component {
|
|
|
47
49
|
children
|
|
48
50
|
});
|
|
49
51
|
}
|
|
52
|
+
|
|
50
53
|
return key;
|
|
51
54
|
});
|
|
55
|
+
|
|
52
56
|
_defineProperty(this, "update", (key, children) => {
|
|
53
57
|
if (this.manager) {
|
|
54
58
|
this.manager.update(key, children);
|
|
@@ -59,6 +63,7 @@ export default class PortalHost extends React.Component {
|
|
|
59
63
|
children
|
|
60
64
|
};
|
|
61
65
|
const index = this.queue.findIndex(o => o.type === "mount" || o.type === "update" && o.key === key);
|
|
66
|
+
|
|
62
67
|
if (index > -1) {
|
|
63
68
|
// @ts-ignore
|
|
64
69
|
this.queue[index] = op;
|
|
@@ -67,6 +72,7 @@ export default class PortalHost extends React.Component {
|
|
|
67
72
|
}
|
|
68
73
|
}
|
|
69
74
|
});
|
|
75
|
+
|
|
70
76
|
_defineProperty(this, "unmount", key => {
|
|
71
77
|
if (this.manager) {
|
|
72
78
|
this.manager.unmount(key);
|
|
@@ -77,23 +83,31 @@ export default class PortalHost extends React.Component {
|
|
|
77
83
|
});
|
|
78
84
|
}
|
|
79
85
|
});
|
|
86
|
+
|
|
80
87
|
_defineProperty(this, "nextKey", 0);
|
|
88
|
+
|
|
81
89
|
_defineProperty(this, "queue", []);
|
|
90
|
+
|
|
82
91
|
_defineProperty(this, "manager", void 0);
|
|
83
92
|
}
|
|
93
|
+
|
|
84
94
|
componentDidMount() {
|
|
85
95
|
const manager = this.manager;
|
|
86
96
|
const queue = this.queue;
|
|
97
|
+
|
|
87
98
|
while (queue.length && manager) {
|
|
88
99
|
const action = queue.pop();
|
|
100
|
+
|
|
89
101
|
if (action) {
|
|
90
102
|
switch (action.type) {
|
|
91
103
|
case "mount":
|
|
92
104
|
manager.mount(action.key, action.children);
|
|
93
105
|
break;
|
|
106
|
+
|
|
94
107
|
case "update":
|
|
95
108
|
manager.update(action.key, action.children);
|
|
96
109
|
break;
|
|
110
|
+
|
|
97
111
|
case "unmount":
|
|
98
112
|
manager.unmount(action.key);
|
|
99
113
|
break;
|
|
@@ -101,6 +115,7 @@ export default class PortalHost extends React.Component {
|
|
|
101
115
|
}
|
|
102
116
|
}
|
|
103
117
|
}
|
|
118
|
+
|
|
104
119
|
render() {
|
|
105
120
|
return /*#__PURE__*/React.createElement(PortalContext.Provider, {
|
|
106
121
|
value: {
|
|
@@ -116,11 +131,13 @@ export default class PortalHost extends React.Component {
|
|
|
116
131
|
ref: this.setManager
|
|
117
132
|
}));
|
|
118
133
|
}
|
|
134
|
+
|
|
119
135
|
}
|
|
136
|
+
|
|
120
137
|
_defineProperty(PortalHost, "displayName", "Portal.Host");
|
|
138
|
+
|
|
121
139
|
const styles = StyleSheet.create({
|
|
122
140
|
container: {
|
|
123
141
|
flex: 1
|
|
124
142
|
}
|
|
125
|
-
});
|
|
126
|
-
//# sourceMappingURL=PortalHost.js.map
|
|
143
|
+
});
|
|
@@ -1,17 +1,19 @@
|
|
|
1
|
-
function _defineProperty(obj, key, value) {
|
|
2
|
-
|
|
3
|
-
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); }
|
|
1
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
2
|
+
|
|
4
3
|
import * as React from "react";
|
|
5
4
|
import { View, StyleSheet } from "react-native";
|
|
5
|
+
|
|
6
6
|
/**
|
|
7
7
|
* Portal host is the component which actually renders all Portals.
|
|
8
8
|
*/
|
|
9
9
|
export default class PortalManager extends React.PureComponent {
|
|
10
10
|
constructor() {
|
|
11
11
|
super(...arguments);
|
|
12
|
+
|
|
12
13
|
_defineProperty(this, "state", {
|
|
13
14
|
portals: []
|
|
14
15
|
});
|
|
16
|
+
|
|
15
17
|
_defineProperty(this, "mount", (key, children) => {
|
|
16
18
|
this.setState(state => ({
|
|
17
19
|
portals: [...state.portals, {
|
|
@@ -20,21 +22,24 @@ export default class PortalManager extends React.PureComponent {
|
|
|
20
22
|
}]
|
|
21
23
|
}));
|
|
22
24
|
});
|
|
25
|
+
|
|
23
26
|
_defineProperty(this, "update", (key, children) => this.setState(state => ({
|
|
24
27
|
portals: state.portals.map(item => {
|
|
25
28
|
if (item.key === key) {
|
|
26
|
-
return {
|
|
27
|
-
...item,
|
|
29
|
+
return { ...item,
|
|
28
30
|
children
|
|
29
31
|
};
|
|
30
32
|
}
|
|
33
|
+
|
|
31
34
|
return item;
|
|
32
35
|
})
|
|
33
36
|
})));
|
|
37
|
+
|
|
34
38
|
_defineProperty(this, "unmount", key => this.setState(state => ({
|
|
35
39
|
portals: state.portals.filter(item => item.key !== key)
|
|
36
40
|
})));
|
|
37
41
|
}
|
|
42
|
+
|
|
38
43
|
render() {
|
|
39
44
|
return this.state.portals.map(_ref => {
|
|
40
45
|
let {
|
|
@@ -43,12 +48,13 @@ export default class PortalManager extends React.PureComponent {
|
|
|
43
48
|
} = _ref;
|
|
44
49
|
return /*#__PURE__*/React.createElement(View, {
|
|
45
50
|
key: key,
|
|
46
|
-
collapsable: false
|
|
47
|
-
|
|
51
|
+
collapsable: false
|
|
52
|
+
/* Need collapsable=false here to clip the elevations, otherwise they appear above sibling components */
|
|
53
|
+
,
|
|
48
54
|
pointerEvents: "box-none",
|
|
49
55
|
style: StyleSheet.absoluteFill
|
|
50
56
|
}, children);
|
|
51
57
|
});
|
|
52
58
|
}
|
|
53
|
-
|
|
54
|
-
|
|
59
|
+
|
|
60
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
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
|
-
|
|
3
|
-
function
|
|
4
|
-
|
|
2
|
+
|
|
3
|
+
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
4
|
+
|
|
5
5
|
import React, { Component } from "react";
|
|
6
6
|
import { Animated, Easing, View, I18nManager } from "react-native";
|
|
7
7
|
const INDETERMINATE_WIDTH_FACTOR = 0.3;
|
|
@@ -9,20 +9,24 @@ const BAR_WIDTH_ZERO_POSITION = INDETERMINATE_WIDTH_FACTOR / (1 + INDETERMINATE_
|
|
|
9
9
|
export default class ProgressBar extends Component {
|
|
10
10
|
constructor(props) {
|
|
11
11
|
super(props);
|
|
12
|
+
|
|
12
13
|
_defineProperty(this, "handleLayout", event => {
|
|
13
14
|
const {
|
|
14
15
|
width = 150,
|
|
15
16
|
onLayout
|
|
16
17
|
} = this.props;
|
|
18
|
+
|
|
17
19
|
if (!width) {
|
|
18
20
|
this.setState({
|
|
19
21
|
width: event.nativeEvent.layout.width
|
|
20
22
|
});
|
|
21
23
|
}
|
|
24
|
+
|
|
22
25
|
if (onLayout) {
|
|
23
26
|
onLayout(event);
|
|
24
27
|
}
|
|
25
28
|
});
|
|
29
|
+
|
|
26
30
|
const {
|
|
27
31
|
progress: progressP = 0,
|
|
28
32
|
indeterminate = false
|
|
@@ -34,14 +38,17 @@ export default class ProgressBar extends Component {
|
|
|
34
38
|
animationValue: new Animated.Value(BAR_WIDTH_ZERO_POSITION)
|
|
35
39
|
};
|
|
36
40
|
}
|
|
41
|
+
|
|
37
42
|
componentDidMount() {
|
|
38
43
|
const {
|
|
39
44
|
indeterminate = false
|
|
40
45
|
} = this.props;
|
|
46
|
+
|
|
41
47
|
if (indeterminate) {
|
|
42
48
|
this.animate();
|
|
43
49
|
}
|
|
44
50
|
}
|
|
51
|
+
|
|
45
52
|
componentDidUpdate(prevProps) {
|
|
46
53
|
const {
|
|
47
54
|
indeterminate = false,
|
|
@@ -53,6 +60,7 @@ export default class ProgressBar extends Component {
|
|
|
53
60
|
},
|
|
54
61
|
animated = true
|
|
55
62
|
} = this.props;
|
|
63
|
+
|
|
56
64
|
if (prevProps.indeterminate !== indeterminate) {
|
|
57
65
|
if (indeterminate) {
|
|
58
66
|
this.animate();
|
|
@@ -63,11 +71,12 @@ export default class ProgressBar extends Component {
|
|
|
63
71
|
}).start();
|
|
64
72
|
}
|
|
65
73
|
}
|
|
74
|
+
|
|
66
75
|
if (prevProps.indeterminate !== indeterminate || prevProps.progress !== progressP) {
|
|
67
76
|
const progress = this.props.indeterminate ? INDETERMINATE_WIDTH_FACTOR : Math.min(Math.max(progressP, 0), 1);
|
|
77
|
+
|
|
68
78
|
if (animated) {
|
|
69
|
-
Animated[animationType](this.state.progress, {
|
|
70
|
-
...animationConfig,
|
|
79
|
+
Animated[animationType](this.state.progress, { ...animationConfig,
|
|
71
80
|
toValue: progress,
|
|
72
81
|
velocity: 0,
|
|
73
82
|
//adjust this value if animation fails - velocity is required
|
|
@@ -78,6 +87,7 @@ export default class ProgressBar extends Component {
|
|
|
78
87
|
}
|
|
79
88
|
}
|
|
80
89
|
}
|
|
90
|
+
|
|
81
91
|
animate() {
|
|
82
92
|
const {
|
|
83
93
|
useNativeDriver = false,
|
|
@@ -96,6 +106,7 @@ export default class ProgressBar extends Component {
|
|
|
96
106
|
}
|
|
97
107
|
});
|
|
98
108
|
}
|
|
109
|
+
|
|
99
110
|
render() {
|
|
100
111
|
const {
|
|
101
112
|
borderColor,
|
|
@@ -146,5 +157,5 @@ export default class ProgressBar extends Component {
|
|
|
146
157
|
style: progressStyle
|
|
147
158
|
}), children);
|
|
148
159
|
}
|
|
149
|
-
|
|
150
|
-
|
|
160
|
+
|
|
161
|
+
}
|
|
@@ -2,6 +2,7 @@ import * as React from "react";
|
|
|
2
2
|
import { Text } from "react-native";
|
|
3
3
|
import AnimatedCircularProgress from "./AnimatedCircularProgress";
|
|
4
4
|
import { withTheme } from "../theming";
|
|
5
|
+
|
|
5
6
|
const ProgressCircle = _ref => {
|
|
6
7
|
let {
|
|
7
8
|
progress = 0.5,
|
|
@@ -35,5 +36,5 @@ const ProgressCircle = _ref => {
|
|
|
35
36
|
}, textStyle]
|
|
36
37
|
}, Math.round(fill), "%") : null);
|
|
37
38
|
};
|
|
38
|
-
|
|
39
|
-
|
|
39
|
+
|
|
40
|
+
export default withTheme(ProgressCircle);
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import StepIndicator from "./StepIndicator";
|
|
3
3
|
import { withTheme } from "../theming";
|
|
4
|
+
|
|
4
5
|
const ProgressIndicator = _ref => {
|
|
5
6
|
let {
|
|
6
7
|
numberOfSteps,
|
|
@@ -42,5 +43,5 @@ const ProgressIndicator = _ref => {
|
|
|
42
43
|
}
|
|
43
44
|
});
|
|
44
45
|
};
|
|
45
|
-
|
|
46
|
-
|
|
46
|
+
|
|
47
|
+
export default withTheme(ProgressIndicator);
|
|
@@ -1,9 +1,11 @@
|
|
|
1
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
|
+
|
|
2
3
|
import * as React from "react";
|
|
3
4
|
import Config from "../Config";
|
|
4
5
|
import IconButton from "../IconButton";
|
|
5
6
|
import { getValueForRadioButton } from "../../utilities";
|
|
6
7
|
import { useRadioButtonGroupContext } from "./context";
|
|
8
|
+
|
|
7
9
|
const RadioButton = _ref => {
|
|
8
10
|
let {
|
|
9
11
|
Icon,
|
|
@@ -25,11 +27,13 @@ const RadioButton = _ref => {
|
|
|
25
27
|
} = useRadioButtonGroupContext();
|
|
26
28
|
const realValue = getValueForRadioButton(value);
|
|
27
29
|
const realContextValue = getValueForRadioButton(contextValue);
|
|
28
|
-
const isSelected = selected
|
|
30
|
+
const isSelected = selected !== null && selected !== void 0 ? selected : realContextValue === realValue;
|
|
31
|
+
|
|
29
32
|
const handlePress = () => {
|
|
30
33
|
onPress === null || onPress === void 0 ? void 0 : onPress(realValue);
|
|
31
34
|
onValueChange === null || onValueChange === void 0 ? void 0 : onValueChange(realValue);
|
|
32
35
|
};
|
|
36
|
+
|
|
33
37
|
return /*#__PURE__*/React.createElement(IconButton, _extends({
|
|
34
38
|
Icon: Icon,
|
|
35
39
|
icon: isSelected ? selectedIcon : unselectedIcon,
|
|
@@ -40,5 +44,5 @@ const RadioButton = _ref => {
|
|
|
40
44
|
style: style
|
|
41
45
|
}, rest));
|
|
42
46
|
};
|
|
43
|
-
|
|
44
|
-
|
|
47
|
+
|
|
48
|
+
export default RadioButton;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
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
|
+
|
|
2
3
|
import React from "react";
|
|
3
4
|
import { View } from "react-native";
|
|
4
5
|
import Text from "../Text";
|
|
5
6
|
import { withTheme } from "../../theming";
|
|
6
7
|
import RadioButtonGroup from "./RadioButtonGroup";
|
|
8
|
+
|
|
7
9
|
const RadioButtonFieldGroup = _ref => {
|
|
8
10
|
let {
|
|
9
11
|
label,
|
|
@@ -24,5 +26,5 @@ const RadioButtonFieldGroup = _ref => {
|
|
|
24
26
|
theme: theme
|
|
25
27
|
}, rest), children));
|
|
26
28
|
};
|
|
27
|
-
|
|
28
|
-
|
|
29
|
+
|
|
30
|
+
export default withTheme(RadioButtonFieldGroup);
|
|
@@ -1,4 +1,5 @@
|
|
|
1
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
|
+
|
|
2
3
|
import * as React from "react";
|
|
3
4
|
import { View } from "react-native";
|
|
4
5
|
import { getValueForRadioButton } from "../../utilities";
|
|
@@ -6,6 +7,7 @@ import { radioButtonGroupContext, Direction } from "./context";
|
|
|
6
7
|
const {
|
|
7
8
|
Provider
|
|
8
9
|
} = radioButtonGroupContext;
|
|
10
|
+
|
|
9
11
|
const RadioButtonGroup = _ref => {
|
|
10
12
|
let {
|
|
11
13
|
direction = Direction.Vertical,
|
|
@@ -29,19 +31,23 @@ const RadioButtonGroup = _ref => {
|
|
|
29
31
|
setInternalValue(realDefaultValue);
|
|
30
32
|
}
|
|
31
33
|
}, [defaultValue]);
|
|
34
|
+
|
|
32
35
|
const handleValueChange = newValue => {
|
|
33
36
|
const realNewValue = getValueForRadioButton(newValue);
|
|
34
37
|
setInternalValue(realNewValue);
|
|
35
38
|
onValueChange === null || onValueChange === void 0 ? void 0 : onValueChange(realNewValue);
|
|
36
39
|
};
|
|
40
|
+
|
|
37
41
|
const _containerStyle = [{
|
|
38
42
|
flexDirection: direction === Direction.Horizontal ? "row" : "column"
|
|
39
43
|
}];
|
|
44
|
+
|
|
40
45
|
if (direction !== Direction.Vertical) {
|
|
41
46
|
_containerStyle.push({
|
|
42
47
|
alignItems: "center"
|
|
43
48
|
});
|
|
44
49
|
}
|
|
50
|
+
|
|
45
51
|
return /*#__PURE__*/React.createElement(View, _extends({
|
|
46
52
|
style: [{
|
|
47
53
|
minHeight: 40
|
|
@@ -56,5 +62,5 @@ const RadioButtonGroup = _ref => {
|
|
|
56
62
|
style: _containerStyle
|
|
57
63
|
}, children)));
|
|
58
64
|
};
|
|
59
|
-
|
|
60
|
-
|
|
65
|
+
|
|
66
|
+
export default RadioButtonGroup;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
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
|
+
|
|
2
3
|
import * as React from "react";
|
|
3
4
|
import { StyleSheet, View, Platform } from "react-native";
|
|
4
5
|
import RadioButton from "./RadioButton";
|
|
@@ -8,10 +9,12 @@ import { Direction as GroupDirection } from "./context";
|
|
|
8
9
|
import Touchable from "../Touchable";
|
|
9
10
|
import { extractStyles, getValueForRadioButton } from "../../utilities";
|
|
10
11
|
export let Direction;
|
|
12
|
+
|
|
11
13
|
(function (Direction) {
|
|
12
14
|
Direction["Row"] = "row";
|
|
13
15
|
Direction["RowReverse"] = "row-reverse";
|
|
14
16
|
})(Direction || (Direction = {}));
|
|
17
|
+
|
|
15
18
|
const getRadioButtonAlignment = (parentDirection, direction) => {
|
|
16
19
|
if (parentDirection === GroupDirection.Horizontal) {
|
|
17
20
|
return direction === Direction.Row ? "flex-start" : "flex-end";
|
|
@@ -21,6 +24,7 @@ const getRadioButtonAlignment = (parentDirection, direction) => {
|
|
|
21
24
|
return "flex-end";
|
|
22
25
|
}
|
|
23
26
|
};
|
|
27
|
+
|
|
24
28
|
const renderLabel = (value, labelStyle, textStyle) => {
|
|
25
29
|
if (typeof value === "string") {
|
|
26
30
|
return /*#__PURE__*/React.createElement(Text, {
|
|
@@ -30,6 +34,7 @@ const renderLabel = (value, labelStyle, textStyle) => {
|
|
|
30
34
|
return /*#__PURE__*/React.createElement(React.Fragment, null, value);
|
|
31
35
|
}
|
|
32
36
|
};
|
|
37
|
+
|
|
33
38
|
const RadioButtonRow = _ref => {
|
|
34
39
|
let {
|
|
35
40
|
Icon,
|
|
@@ -54,11 +59,13 @@ const RadioButtonRow = _ref => {
|
|
|
54
59
|
} = useRadioButtonGroupContext();
|
|
55
60
|
const realValue = getValueForRadioButton(value);
|
|
56
61
|
const realContextValue = getValueForRadioButton(contextValue);
|
|
57
|
-
const isSelected = selected
|
|
62
|
+
const isSelected = selected !== null && selected !== void 0 ? selected : realContextValue === realValue;
|
|
63
|
+
|
|
58
64
|
const handlePress = () => {
|
|
59
65
|
onPress === null || onPress === void 0 ? void 0 : onPress(realValue);
|
|
60
66
|
onValueChange === null || onValueChange === void 0 ? void 0 : onValueChange(realValue);
|
|
61
67
|
};
|
|
68
|
+
|
|
62
69
|
const {
|
|
63
70
|
textStyles,
|
|
64
71
|
viewStyles
|
|
@@ -87,6 +94,7 @@ const RadioButtonRow = _ref => {
|
|
|
87
94
|
style: radioButtonStyle
|
|
88
95
|
})));
|
|
89
96
|
};
|
|
97
|
+
|
|
90
98
|
const styles = StyleSheet.create({
|
|
91
99
|
mainParent: {
|
|
92
100
|
alignItems: "center",
|
|
@@ -106,5 +114,4 @@ const styles = StyleSheet.create({
|
|
|
106
114
|
flex: 3
|
|
107
115
|
}
|
|
108
116
|
});
|
|
109
|
-
export default RadioButtonRow;
|
|
110
|
-
//# sourceMappingURL=RadioButtonRow.js.map
|
|
117
|
+
export default RadioButtonRow;
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import { createContext, useContext } from "react";
|
|
2
2
|
export let Direction;
|
|
3
|
+
|
|
3
4
|
(function (Direction) {
|
|
4
5
|
Direction["Horizontal"] = "horizontal";
|
|
5
6
|
Direction["Vertical"] = "vertical";
|
|
6
7
|
})(Direction || (Direction = {}));
|
|
8
|
+
|
|
7
9
|
export const radioButtonGroupContext = /*#__PURE__*/createContext({
|
|
8
10
|
onValueChange: () => {},
|
|
9
11
|
value: "",
|
|
@@ -11,5 +13,4 @@ export const radioButtonGroupContext = /*#__PURE__*/createContext({
|
|
|
11
13
|
});
|
|
12
14
|
export function useRadioButtonGroupContext() {
|
|
13
15
|
return useContext(radioButtonGroupContext);
|
|
14
|
-
}
|
|
15
|
-
//# sourceMappingURL=context.js.map
|
|
16
|
+
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
export { default as RadioButton } from "./RadioButton";
|
|
2
2
|
export { default as RadioButtonGroup } from "./RadioButtonGroup";
|
|
3
3
|
export { default as RadioButtonRow } from "./RadioButtonRow";
|
|
4
|
-
export { default as RadioButtonFieldGroup } from "./RadioButtonFieldGroup";
|
|
5
|
-
//# sourceMappingURL=index.js.map
|
|
4
|
+
export { default as RadioButtonFieldGroup } from "./RadioButtonFieldGroup";
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
//# sourceMappingURL=ResizeMode.js.mapode.js.map
|
|
1
|
+
export {};
|
|
@@ -2,6 +2,7 @@ import * as React from "react";
|
|
|
2
2
|
import { View, Text, Image, StyleSheet } from "react-native";
|
|
3
3
|
import { withTheme } from "../theming";
|
|
4
4
|
import Config from "./Config";
|
|
5
|
+
|
|
5
6
|
const Row = _ref => {
|
|
6
7
|
let {
|
|
7
8
|
titleTypeStyle,
|
|
@@ -45,6 +46,7 @@ const Row = _ref => {
|
|
|
45
46
|
numberOfLines: multilineSubtitle ? undefined : 1
|
|
46
47
|
}, subtitle) : null)), right && right());
|
|
47
48
|
};
|
|
49
|
+
|
|
48
50
|
const styles = StyleSheet.create({
|
|
49
51
|
leftContainer: {
|
|
50
52
|
flexDirection: "row",
|
|
@@ -60,5 +62,4 @@ const styles = StyleSheet.create({
|
|
|
60
62
|
justifyContent: "center"
|
|
61
63
|
}
|
|
62
64
|
});
|
|
63
|
-
export default withTheme(Row);
|
|
64
|
-
//# sourceMappingURL=Row.js.map
|
|
65
|
+
export default withTheme(Row);
|
|
@@ -2,6 +2,7 @@ import * as React from "react";
|
|
|
2
2
|
import { withTheme } from "../theming";
|
|
3
3
|
import Row from "./Row";
|
|
4
4
|
import Config from "./Config";
|
|
5
|
+
|
|
5
6
|
const RowBodyIcon = _ref => {
|
|
6
7
|
let {
|
|
7
8
|
Icon,
|
|
@@ -32,5 +33,5 @@ const RowBodyIcon = _ref => {
|
|
|
32
33
|
style: style
|
|
33
34
|
});
|
|
34
35
|
};
|
|
35
|
-
|
|
36
|
-
|
|
36
|
+
|
|
37
|
+
export default withTheme(RowBodyIcon);
|
|
@@ -2,6 +2,7 @@ import * as React from "react";
|
|
|
2
2
|
import { Text } from "react-native";
|
|
3
3
|
import { withTheme } from "../theming";
|
|
4
4
|
import Row from "./Row";
|
|
5
|
+
|
|
5
6
|
const RowHeadlineImageCaption = _ref => {
|
|
6
7
|
let {
|
|
7
8
|
title,
|
|
@@ -23,8 +24,7 @@ const RowHeadlineImageCaption = _ref => {
|
|
|
23
24
|
subtitle: subtitle,
|
|
24
25
|
image: image,
|
|
25
26
|
right: () => /*#__PURE__*/React.createElement(Text, {
|
|
26
|
-
style: {
|
|
27
|
-
...typography.caption,
|
|
27
|
+
style: { ...typography.caption,
|
|
28
28
|
color: colors.strong,
|
|
29
29
|
marginLeft: 16
|
|
30
30
|
}
|
|
@@ -32,5 +32,5 @@ const RowHeadlineImageCaption = _ref => {
|
|
|
32
32
|
style: style
|
|
33
33
|
});
|
|
34
34
|
};
|
|
35
|
-
|
|
36
|
-
|
|
35
|
+
|
|
36
|
+
export default withTheme(RowHeadlineImageCaption);
|
|
@@ -2,6 +2,7 @@ import * as React from "react";
|
|
|
2
2
|
import { withTheme } from "../theming";
|
|
3
3
|
import Row from "./Row";
|
|
4
4
|
import Config from "./Config";
|
|
5
|
+
|
|
5
6
|
const RowHeadlineImageIcon = _ref => {
|
|
6
7
|
let {
|
|
7
8
|
Icon,
|
|
@@ -38,5 +39,5 @@ const RowHeadlineImageIcon = _ref => {
|
|
|
38
39
|
style: style
|
|
39
40
|
});
|
|
40
41
|
};
|
|
41
|
-
|
|
42
|
-
|
|
42
|
+
|
|
43
|
+
export default withTheme(RowHeadlineImageIcon);
|
|
@@ -2,6 +2,7 @@ import * as React from "react";
|
|
|
2
2
|
import { View, Platform, Image } from "react-native";
|
|
3
3
|
import { SvgUri } from "react-native-svg";
|
|
4
4
|
import Config from "./Config";
|
|
5
|
+
|
|
5
6
|
const SVG = _ref => {
|
|
6
7
|
let {
|
|
7
8
|
source = Config.placeholderSvgURL,
|
|
@@ -26,5 +27,5 @@ const SVG = _ref => {
|
|
|
26
27
|
}
|
|
27
28
|
}));
|
|
28
29
|
};
|
|
29
|
-
|
|
30
|
-
|
|
30
|
+
|
|
31
|
+
export default SVG;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
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
|
+
|
|
2
3
|
import * as React from "react";
|
|
3
4
|
import { StyleSheet, ScrollView, View } from "react-native";
|
|
4
5
|
import { SafeAreaView } from "react-native-safe-area-context";
|
|
5
6
|
import { withTheme } from "../theming";
|
|
7
|
+
|
|
6
8
|
function ScreenContainer(_ref) {
|
|
7
9
|
let {
|
|
8
10
|
scrollable = false,
|
|
@@ -16,12 +18,15 @@ function ScreenContainer(_ref) {
|
|
|
16
18
|
} = _ref;
|
|
17
19
|
const backgroundColor = theme.colors.background;
|
|
18
20
|
const edges = ["left", "right"];
|
|
21
|
+
|
|
19
22
|
if (hasSafeArea || hasTopSafeArea) {
|
|
20
23
|
edges.push("top");
|
|
21
24
|
}
|
|
25
|
+
|
|
22
26
|
if (hasSafeArea || hasBottomSafeArea) {
|
|
23
27
|
edges.push("bottom");
|
|
24
28
|
}
|
|
29
|
+
|
|
25
30
|
return /*#__PURE__*/React.createElement(SafeAreaView, _extends({
|
|
26
31
|
edges: edges,
|
|
27
32
|
style: [styles.container, {
|
|
@@ -37,6 +42,7 @@ function ScreenContainer(_ref) {
|
|
|
37
42
|
}, style]
|
|
38
43
|
}, children));
|
|
39
44
|
}
|
|
45
|
+
|
|
40
46
|
const styles = StyleSheet.create({
|
|
41
47
|
container: {
|
|
42
48
|
flex: 1
|
|
@@ -46,5 +52,4 @@ const styles = StyleSheet.create({
|
|
|
46
52
|
flex: undefined
|
|
47
53
|
}
|
|
48
54
|
});
|
|
49
|
-
export default withTheme(ScreenContainer);
|
|
50
|
-
//# sourceMappingURL=ScreenContainer.js.map
|
|
55
|
+
export default withTheme(ScreenContainer);
|