@draftbit/core 46.4.4-fe82de.2 → 47.0.0-06ea46.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 +2 -1
- package/lib/commonjs/Provider.js.map +1 -0
- package/lib/commonjs/components/Accordion/AccordionGroup.js +2 -1
- package/lib/commonjs/components/Accordion/AccordionGroup.js.map +1 -0
- package/lib/commonjs/components/Accordion/AccordionItem.js +2 -1
- package/lib/commonjs/components/Accordion/AccordionItem.js.map +1 -0
- package/lib/commonjs/components/Accordion/index.js +2 -1
- package/lib/commonjs/components/Accordion/index.js.map +1 -0
- package/lib/commonjs/components/ActionSheet/ActionSheet.js +2 -1
- package/lib/commonjs/components/ActionSheet/ActionSheet.js.map +1 -0
- package/lib/commonjs/components/ActionSheet/ActionSheetCancel.js +2 -1
- package/lib/commonjs/components/ActionSheet/ActionSheetCancel.js.map +1 -0
- package/lib/commonjs/components/ActionSheet/ActionSheetItem.js +2 -1
- package/lib/commonjs/components/ActionSheet/ActionSheetItem.js.map +1 -0
- package/lib/commonjs/components/ActionSheet/index.js +2 -1
- package/lib/commonjs/components/ActionSheet/index.js.map +1 -0
- package/lib/commonjs/components/Banner.js +2 -1
- package/lib/commonjs/components/Banner.js.map +1 -0
- package/lib/commonjs/components/Button.js +2 -1
- package/lib/commonjs/components/Button.js.map +1 -0
- package/lib/commonjs/components/Checkbox/Checkbox.js +2 -1
- package/lib/commonjs/components/Checkbox/Checkbox.js.map +1 -0
- package/lib/commonjs/components/Checkbox/CheckboxGroup.js +2 -1
- package/lib/commonjs/components/Checkbox/CheckboxGroup.js.map +1 -0
- package/lib/commonjs/components/Checkbox/CheckboxGroupRow.js +2 -1
- package/lib/commonjs/components/Checkbox/CheckboxGroupRow.js.map +1 -0
- package/lib/commonjs/components/Checkbox/CheckboxRow.js +2 -1
- package/lib/commonjs/components/Checkbox/CheckboxRow.js.map +1 -0
- package/lib/commonjs/components/Checkbox/context.js +2 -1
- package/lib/commonjs/components/Checkbox/context.js.map +1 -0
- package/lib/commonjs/components/Checkbox/index.js +2 -1
- package/lib/commonjs/components/Checkbox/index.js.map +1 -0
- package/lib/commonjs/components/Config.js +2 -1
- package/lib/commonjs/components/Config.js.map +1 -0
- package/lib/commonjs/components/DatePicker/DatePicker.js +10 -18
- package/lib/commonjs/components/DatePicker/DatePicker.js.map +1 -0
- package/lib/commonjs/components/DatePicker/DatePickerComponent.js +2 -1
- package/lib/commonjs/components/DatePicker/DatePickerComponent.js.map +1 -0
- package/lib/commonjs/components/DatePicker/DatePickerComponent.web.js +2 -1
- package/lib/commonjs/components/DatePicker/DatePickerComponent.web.js.map +1 -0
- package/lib/commonjs/components/DatePicker/DatePickerComponentType.js +2 -1
- package/lib/commonjs/components/DatePicker/DatePickerComponentType.js.map +1 -0
- package/lib/commonjs/components/DeprecatedButton.js +2 -1
- package/lib/commonjs/components/DeprecatedButton.js.map +1 -0
- package/lib/commonjs/components/Elevation.js +2 -1
- package/lib/commonjs/components/Elevation.js.map +1 -0
- package/lib/commonjs/components/FormRow.js +2 -1
- package/lib/commonjs/components/FormRow.js.map +1 -0
- package/lib/commonjs/components/IconButton.js +2 -1
- package/lib/commonjs/components/IconButton.js.map +1 -0
- package/lib/commonjs/components/Layout.js +2 -1
- package/lib/commonjs/components/Layout.js.map +1 -0
- package/lib/commonjs/components/NumberInput.js +2 -1
- package/lib/commonjs/components/NumberInput.js.map +1 -0
- package/lib/commonjs/components/Picker/Picker.js +4 -3
- package/lib/commonjs/components/Picker/Picker.js.map +1 -0
- package/lib/commonjs/components/Picker/PickerComponent.android.js +2 -1
- package/lib/commonjs/components/Picker/PickerComponent.android.js.map +1 -0
- package/lib/commonjs/components/Picker/PickerComponent.ios.js +2 -1
- package/lib/commonjs/components/Picker/PickerComponent.ios.js.map +1 -0
- package/lib/commonjs/components/Picker/PickerComponent.web.js +2 -1
- package/lib/commonjs/components/Picker/PickerComponent.web.js.map +1 -0
- package/lib/commonjs/components/Picker/PickerTypes.js +2 -1
- package/lib/commonjs/components/Picker/PickerTypes.js.map +1 -0
- package/lib/commonjs/components/Portal/Portal.js +2 -1
- package/lib/commonjs/components/Portal/Portal.js.map +1 -0
- package/lib/commonjs/components/Portal/PortalConsumer.js +2 -1
- package/lib/commonjs/components/Portal/PortalConsumer.js.map +1 -0
- package/lib/commonjs/components/Portal/PortalHost.js +2 -1
- package/lib/commonjs/components/Portal/PortalHost.js.map +1 -0
- package/lib/commonjs/components/Portal/PortalManager.js +2 -1
- package/lib/commonjs/components/Portal/PortalManager.js.map +1 -0
- package/lib/commonjs/components/RadioButton/RadioButton.js +2 -1
- package/lib/commonjs/components/RadioButton/RadioButton.js.map +1 -0
- package/lib/commonjs/components/RadioButton/RadioButtonFieldGroup.js +2 -1
- package/lib/commonjs/components/RadioButton/RadioButtonFieldGroup.js.map +1 -0
- package/lib/commonjs/components/RadioButton/RadioButtonGroup.js +2 -1
- package/lib/commonjs/components/RadioButton/RadioButtonGroup.js.map +1 -0
- package/lib/commonjs/components/RadioButton/RadioButtonRow.js +2 -1
- package/lib/commonjs/components/RadioButton/RadioButtonRow.js.map +1 -0
- package/lib/commonjs/components/RadioButton/context.js +2 -1
- package/lib/commonjs/components/RadioButton/context.js.map +1 -0
- package/lib/commonjs/components/RadioButton/index.js +2 -1
- package/lib/commonjs/components/RadioButton/index.js.map +1 -0
- package/lib/commonjs/components/SVG.js +2 -1
- package/lib/commonjs/components/SVG.js.map +1 -0
- package/lib/commonjs/components/ScreenContainer.js +2 -1
- package/lib/commonjs/components/ScreenContainer.js.map +1 -0
- package/lib/commonjs/components/Slider.js +2 -1
- package/lib/commonjs/components/Slider.js.map +1 -0
- package/lib/commonjs/components/StarRating.js +2 -1
- package/lib/commonjs/components/StarRating.js.map +1 -0
- package/lib/commonjs/components/Stepper.js +3 -2
- package/lib/commonjs/components/Stepper.js.map +1 -0
- package/lib/commonjs/components/Surface.js +2 -1
- package/lib/commonjs/components/Surface.js.map +1 -0
- package/lib/commonjs/components/Swiper/Swiper.js +2 -1
- package/lib/commonjs/components/Swiper/Swiper.js.map +1 -0
- package/lib/commonjs/components/Swiper/SwiperItem.js +2 -1
- package/lib/commonjs/components/Swiper/SwiperItem.js.map +1 -0
- package/lib/commonjs/components/Swiper/index.js +2 -1
- package/lib/commonjs/components/Swiper/index.js.map +1 -0
- package/lib/commonjs/components/Switch.js +2 -1
- package/lib/commonjs/components/Switch.js.map +1 -0
- package/lib/commonjs/components/Text.js +2 -1
- package/lib/commonjs/components/Text.js.map +1 -0
- package/lib/commonjs/components/TextField.js +2 -1
- package/lib/commonjs/components/TextField.js.map +1 -0
- package/lib/commonjs/components/Touchable.js +2 -1
- package/lib/commonjs/components/Touchable.js.map +1 -0
- package/lib/commonjs/components/Touchable.web.js +2 -1
- package/lib/commonjs/components/Touchable.web.js.map +1 -0
- package/lib/commonjs/constants.js +2 -1
- package/lib/commonjs/constants.js.map +1 -0
- package/lib/commonjs/hooks.js +2 -1
- package/lib/commonjs/hooks.js.map +1 -0
- package/lib/commonjs/index.js +16 -194
- package/lib/commonjs/index.js.map +1 -0
- package/lib/commonjs/interfaces/Icon.js +2 -1
- package/lib/commonjs/interfaces/Icon.js.map +1 -0
- package/lib/commonjs/mappings/Accordion.js +2 -1
- package/lib/commonjs/mappings/Accordion.js.map +1 -0
- package/lib/commonjs/mappings/AccordionItem.js +2 -1
- package/lib/commonjs/mappings/AccordionItem.js.map +1 -0
- package/lib/commonjs/mappings/ActionSheet.js +2 -1
- package/lib/commonjs/mappings/ActionSheet.js.map +1 -0
- package/lib/commonjs/mappings/ActionSheetCancel.js +2 -1
- package/lib/commonjs/mappings/ActionSheetCancel.js.map +1 -0
- package/lib/commonjs/mappings/ActionSheetItem.js +2 -1
- package/lib/commonjs/mappings/ActionSheetItem.js.map +1 -0
- package/lib/commonjs/mappings/ActivityIndicator.js +2 -1
- package/lib/commonjs/mappings/ActivityIndicator.js.map +1 -0
- package/lib/commonjs/mappings/AudioPlayer.js +2 -1
- package/lib/commonjs/mappings/AudioPlayer.js.map +1 -0
- package/lib/commonjs/mappings/BlurView.js +2 -1
- package/lib/commonjs/mappings/BlurView.js.map +1 -0
- package/lib/commonjs/mappings/Button.js +2 -1
- package/lib/commonjs/mappings/Button.js.map +1 -0
- package/lib/commonjs/mappings/Checkbox.js +2 -1
- package/lib/commonjs/mappings/Checkbox.js.map +1 -0
- package/lib/commonjs/mappings/CheckboxGroup.js +2 -1
- package/lib/commonjs/mappings/CheckboxGroup.js.map +1 -0
- package/lib/commonjs/mappings/CheckboxRow.js +2 -1
- package/lib/commonjs/mappings/CheckboxRow.js.map +1 -0
- package/lib/commonjs/mappings/CustomCode.js +2 -1
- package/lib/commonjs/mappings/CustomCode.js.map +1 -0
- package/lib/commonjs/mappings/DatePicker.js +2 -14
- package/lib/commonjs/mappings/DatePicker.js.map +1 -0
- package/lib/commonjs/mappings/Fetch.js +2 -1
- package/lib/commonjs/mappings/Fetch.js.map +1 -0
- package/lib/commonjs/mappings/FlashList.js +2 -1
- package/lib/commonjs/mappings/FlashList.js.map +1 -0
- package/lib/commonjs/mappings/FlatList.js +2 -1
- package/lib/commonjs/mappings/FlatList.js.map +1 -0
- package/lib/commonjs/mappings/Icon.js +2 -1
- package/lib/commonjs/mappings/Icon.js.map +1 -0
- package/lib/commonjs/mappings/IconButton.js +2 -1
- package/lib/commonjs/mappings/IconButton.js.map +1 -0
- package/lib/commonjs/mappings/Image.js +2 -1
- package/lib/commonjs/mappings/Image.js.map +1 -0
- package/lib/commonjs/mappings/ImageBackground.js +2 -1
- package/lib/commonjs/mappings/ImageBackground.js.map +1 -0
- package/lib/commonjs/mappings/KeyboardAvoidingView.js +2 -1
- package/lib/commonjs/mappings/KeyboardAvoidingView.js.map +1 -0
- package/lib/commonjs/mappings/KeyboardAwareScrollView.js +2 -1
- package/lib/commonjs/mappings/KeyboardAwareScrollView.js.map +1 -0
- package/lib/commonjs/mappings/Layout.js +2 -1
- package/lib/commonjs/mappings/Layout.js.map +1 -0
- package/lib/commonjs/mappings/LinearGradient.js +2 -1
- package/lib/commonjs/mappings/LinearGradient.js.map +1 -0
- package/lib/commonjs/mappings/MapCallout.js +2 -1
- package/lib/commonjs/mappings/MapCallout.js.map +1 -0
- package/lib/commonjs/mappings/MapMarker.js +2 -1
- package/lib/commonjs/mappings/MapMarker.js.map +1 -0
- package/lib/commonjs/mappings/MapView.js +2 -1
- package/lib/commonjs/mappings/MapView.js.map +1 -0
- package/lib/commonjs/mappings/Modal.js +2 -1
- package/lib/commonjs/mappings/Modal.js.map +1 -0
- package/lib/commonjs/mappings/NativeBase/Layout/AspectRatio.js +17 -0
- package/lib/commonjs/mappings/NativeBase/Layout/AspectRatio.js.map +1 -0
- package/lib/commonjs/mappings/NativeBase/Layout/Box.js +17 -0
- package/lib/commonjs/mappings/NativeBase/Layout/Box.js.map +1 -0
- package/lib/commonjs/mappings/NativeBase/Layout/Center.js +31 -0
- package/lib/commonjs/mappings/NativeBase/Layout/Center.js.map +1 -0
- package/lib/commonjs/mappings/NativeBase/Layout/Column.js +17 -0
- package/lib/commonjs/mappings/NativeBase/Layout/Column.js.map +1 -0
- package/lib/commonjs/mappings/NativeBase/Layout/Container.js +17 -0
- package/lib/commonjs/mappings/NativeBase/Layout/Container.js.map +1 -0
- package/lib/commonjs/mappings/NativeBase/Layout/Row.js +17 -0
- package/lib/commonjs/mappings/NativeBase/Layout/Row.js.map +1 -0
- package/lib/commonjs/mappings/NativeBase/Layout/Stack.js +17 -0
- package/lib/commonjs/mappings/NativeBase/Layout/Stack.js.map +1 -0
- package/lib/commonjs/mappings/NativeBase/Layout/ZStack.js +17 -0
- package/lib/commonjs/mappings/NativeBase/Layout/ZStack.js.map +1 -0
- package/lib/commonjs/mappings/NumberInput.js +2 -1
- package/lib/commonjs/mappings/NumberInput.js.map +1 -0
- package/lib/commonjs/mappings/Picker.js +2 -1
- package/lib/commonjs/mappings/Picker.js.map +1 -0
- package/lib/commonjs/mappings/RadioButton.js +2 -1
- package/lib/commonjs/mappings/RadioButton.js.map +1 -0
- package/lib/commonjs/mappings/RadioButtonGroup.js +2 -1
- package/lib/commonjs/mappings/RadioButtonGroup.js.map +1 -0
- package/lib/commonjs/mappings/RadioButtonRow.js +2 -1
- package/lib/commonjs/mappings/RadioButtonRow.js.map +1 -0
- package/lib/commonjs/mappings/SVG.js +2 -1
- package/lib/commonjs/mappings/SVG.js.map +1 -0
- package/lib/commonjs/mappings/SafeAreaView.js +2 -1
- package/lib/commonjs/mappings/SafeAreaView.js.map +1 -0
- package/lib/commonjs/mappings/ScrollView.js +2 -1
- package/lib/commonjs/mappings/ScrollView.js.map +1 -0
- package/lib/commonjs/mappings/Slider.js +2 -1
- package/lib/commonjs/mappings/Slider.js.map +1 -0
- package/lib/commonjs/mappings/StarRating.js +2 -1
- package/lib/commonjs/mappings/StarRating.js.map +1 -0
- package/lib/commonjs/mappings/Stepper.js +2 -1
- package/lib/commonjs/mappings/Stepper.js.map +1 -0
- package/lib/commonjs/mappings/Surface.js +2 -1
- package/lib/commonjs/mappings/Surface.js.map +1 -0
- package/lib/commonjs/mappings/Swiper.js +2 -1
- package/lib/commonjs/mappings/Swiper.js.map +1 -0
- package/lib/commonjs/mappings/SwiperItem.js +2 -1
- package/lib/commonjs/mappings/SwiperItem.js.map +1 -0
- package/lib/commonjs/mappings/Switch.js +2 -1
- package/lib/commonjs/mappings/Switch.js.map +1 -0
- package/lib/commonjs/mappings/Text.js +2 -1
- package/lib/commonjs/mappings/Text.js.map +1 -0
- package/lib/commonjs/mappings/TextArea.js +2 -1
- package/lib/commonjs/mappings/TextArea.js.map +1 -0
- package/lib/commonjs/mappings/TextField.js +2 -1
- package/lib/commonjs/mappings/TextField.js.map +1 -0
- package/lib/commonjs/mappings/TextInput.js +2 -1
- package/lib/commonjs/mappings/TextInput.js.map +1 -0
- package/lib/commonjs/mappings/Touchable.js +3 -2
- package/lib/commonjs/mappings/Touchable.js.map +1 -0
- package/lib/commonjs/mappings/Video.js +2 -1
- package/lib/commonjs/mappings/Video.js.map +1 -0
- package/lib/commonjs/mappings/View.js +2 -1
- package/lib/commonjs/mappings/View.js.map +1 -0
- package/lib/commonjs/mappings/WebView.js +2 -1
- package/lib/commonjs/mappings/WebView.js.map +1 -0
- package/lib/commonjs/styles/DarkTheme.js +2 -1
- package/lib/commonjs/styles/DarkTheme.js.map +1 -0
- package/lib/commonjs/styles/DefaultTheme.js +2 -1
- package/lib/commonjs/styles/DefaultTheme.js.map +1 -0
- package/lib/commonjs/styles/fonts.js +2 -1
- package/lib/commonjs/styles/fonts.js.map +1 -0
- package/lib/commonjs/styles/overlay.js +2 -1
- package/lib/commonjs/styles/overlay.js.map +1 -0
- package/lib/commonjs/styles/shadow.js +2 -1
- package/lib/commonjs/styles/shadow.js.map +1 -0
- package/lib/commonjs/theming.js +2 -1
- package/lib/commonjs/theming.js.map +1 -0
- package/lib/commonjs/utilities.js +2 -1
- package/lib/commonjs/utilities.js.map +1 -0
- package/lib/module/Provider.js +2 -1
- package/lib/module/Provider.js.map +1 -0
- package/lib/module/components/Accordion/AccordionGroup.js +2 -1
- package/lib/module/components/Accordion/AccordionGroup.js.map +1 -0
- package/lib/module/components/Accordion/AccordionItem.js +2 -1
- package/lib/module/components/Accordion/AccordionItem.js.map +1 -0
- package/lib/module/components/Accordion/index.js +2 -1
- package/lib/module/components/Accordion/index.js.map +1 -0
- package/lib/module/components/ActionSheet/ActionSheet.js +2 -1
- package/lib/module/components/ActionSheet/ActionSheet.js.map +1 -0
- package/lib/module/components/ActionSheet/ActionSheetCancel.js +2 -1
- package/lib/module/components/ActionSheet/ActionSheetCancel.js.map +1 -0
- package/lib/module/components/ActionSheet/ActionSheetItem.js +2 -1
- package/lib/module/components/ActionSheet/ActionSheetItem.js.map +1 -0
- package/lib/module/components/ActionSheet/index.js +2 -1
- package/lib/module/components/ActionSheet/index.js.map +1 -0
- package/lib/module/components/Banner.js +2 -1
- package/lib/module/components/Banner.js.map +1 -0
- package/lib/module/components/Button.js +2 -1
- package/lib/module/components/Button.js.map +1 -0
- package/lib/module/components/Checkbox/Checkbox.js +2 -1
- package/lib/module/components/Checkbox/Checkbox.js.map +1 -0
- package/lib/module/components/Checkbox/CheckboxGroup.js +2 -1
- package/lib/module/components/Checkbox/CheckboxGroup.js.map +1 -0
- package/lib/module/components/Checkbox/CheckboxGroupRow.js +2 -1
- package/lib/module/components/Checkbox/CheckboxGroupRow.js.map +1 -0
- package/lib/module/components/Checkbox/CheckboxRow.js +2 -1
- package/lib/module/components/Checkbox/CheckboxRow.js.map +1 -0
- package/lib/module/components/Checkbox/context.js +2 -1
- package/lib/module/components/Checkbox/context.js.map +1 -0
- package/lib/module/components/Checkbox/index.js +2 -1
- package/lib/module/components/Checkbox/index.js.map +1 -0
- package/lib/module/components/Config.js +2 -1
- package/lib/module/components/Config.js.map +1 -0
- package/lib/module/components/DatePicker/DatePicker.js +10 -18
- package/lib/module/components/DatePicker/DatePicker.js.map +1 -0
- package/lib/module/components/DatePicker/DatePickerComponent.js +2 -1
- package/lib/module/components/DatePicker/DatePickerComponent.js.map +1 -0
- package/lib/module/components/DatePicker/DatePickerComponent.web.js +2 -1
- package/lib/module/components/DatePicker/DatePickerComponent.web.js.map +1 -0
- package/lib/module/components/DatePicker/DatePickerComponentType.js +2 -1
- package/lib/module/components/DatePicker/DatePickerComponentType.js.map +1 -0
- package/lib/module/components/DeprecatedButton.js +2 -1
- package/lib/module/components/DeprecatedButton.js.map +1 -0
- package/lib/module/components/Elevation.js +2 -1
- package/lib/module/components/Elevation.js.map +1 -0
- package/lib/module/components/FormRow.js +2 -1
- package/lib/module/components/FormRow.js.map +1 -0
- package/lib/module/components/IconButton.js +2 -1
- package/lib/module/components/IconButton.js.map +1 -0
- package/lib/module/components/Layout.js +2 -1
- package/lib/module/components/Layout.js.map +1 -0
- package/lib/module/components/NumberInput.js +2 -1
- package/lib/module/components/NumberInput.js.map +1 -0
- package/lib/module/components/Picker/Picker.js +3 -2
- package/lib/module/components/Picker/Picker.js.map +1 -0
- package/lib/module/components/Picker/PickerComponent.android.js +2 -1
- package/lib/module/components/Picker/PickerComponent.android.js.map +1 -0
- package/lib/module/components/Picker/PickerComponent.ios.js +2 -1
- package/lib/module/components/Picker/PickerComponent.ios.js.map +1 -0
- package/lib/module/components/Picker/PickerComponent.web.js +2 -1
- package/lib/module/components/Picker/PickerComponent.web.js.map +1 -0
- package/lib/module/components/Picker/PickerTypes.js +2 -1
- package/lib/module/components/Picker/PickerTypes.js.map +1 -0
- package/lib/module/components/Portal/Portal.js +2 -1
- package/lib/module/components/Portal/Portal.js.map +1 -0
- package/lib/module/components/Portal/PortalConsumer.js +2 -1
- package/lib/module/components/Portal/PortalConsumer.js.map +1 -0
- package/lib/module/components/Portal/PortalHost.js +2 -1
- package/lib/module/components/Portal/PortalHost.js.map +1 -0
- package/lib/module/components/Portal/PortalManager.js +2 -1
- package/lib/module/components/Portal/PortalManager.js.map +1 -0
- package/lib/module/components/RadioButton/RadioButton.js +2 -1
- package/lib/module/components/RadioButton/RadioButton.js.map +1 -0
- package/lib/module/components/RadioButton/RadioButtonFieldGroup.js +2 -1
- package/lib/module/components/RadioButton/RadioButtonFieldGroup.js.map +1 -0
- package/lib/module/components/RadioButton/RadioButtonGroup.js +2 -1
- package/lib/module/components/RadioButton/RadioButtonGroup.js.map +1 -0
- package/lib/module/components/RadioButton/RadioButtonRow.js +2 -1
- package/lib/module/components/RadioButton/RadioButtonRow.js.map +1 -0
- package/lib/module/components/RadioButton/context.js +2 -1
- package/lib/module/components/RadioButton/context.js.map +1 -0
- package/lib/module/components/RadioButton/index.js +2 -1
- package/lib/module/components/RadioButton/index.js.map +1 -0
- package/lib/module/components/SVG.js +2 -1
- package/lib/module/components/SVG.js.map +1 -0
- package/lib/module/components/ScreenContainer.js +2 -1
- package/lib/module/components/ScreenContainer.js.map +1 -0
- package/lib/module/components/Slider.js +2 -1
- package/lib/module/components/Slider.js.map +1 -0
- package/lib/module/components/StarRating.js +2 -1
- package/lib/module/components/StarRating.js.map +1 -0
- package/lib/module/components/Stepper.js +3 -4
- package/lib/module/components/Stepper.js.map +1 -0
- package/lib/module/components/Surface.js +2 -1
- package/lib/module/components/Surface.js.map +1 -0
- package/lib/module/components/Swiper/Swiper.js +2 -1
- package/lib/module/components/Swiper/Swiper.js.map +1 -0
- package/lib/module/components/Swiper/SwiperItem.js +2 -1
- package/lib/module/components/Swiper/SwiperItem.js.map +1 -0
- package/lib/module/components/Swiper/index.js +2 -1
- package/lib/module/components/Swiper/index.js.map +1 -0
- package/lib/module/components/Switch.js +2 -1
- package/lib/module/components/Switch.js.map +1 -0
- package/lib/module/components/Text.js +2 -1
- package/lib/module/components/Text.js.map +1 -0
- package/lib/module/components/TextField.js +2 -1
- package/lib/module/components/TextField.js.map +1 -0
- package/lib/module/components/Touchable.js +2 -1
- package/lib/module/components/Touchable.js.map +1 -0
- package/lib/module/components/Touchable.web.js +2 -1
- package/lib/module/components/Touchable.web.js.map +1 -0
- package/lib/module/constants.js +2 -1
- package/lib/module/constants.js.map +1 -0
- package/lib/module/hooks.js +2 -1
- package/lib/module/hooks.js.map +1 -0
- package/lib/module/index.js +25 -43
- package/lib/module/index.js.map +1 -0
- package/lib/module/interfaces/Icon.js +2 -1
- package/lib/module/interfaces/Icon.js.map +1 -0
- package/lib/module/mappings/Accordion.js +2 -1
- package/lib/module/mappings/Accordion.js.map +1 -0
- package/lib/module/mappings/AccordionItem.js +2 -1
- package/lib/module/mappings/AccordionItem.js.map +1 -0
- package/lib/module/mappings/ActionSheet.js +2 -1
- package/lib/module/mappings/ActionSheet.js.map +1 -0
- package/lib/module/mappings/ActionSheetCancel.js +2 -1
- package/lib/module/mappings/ActionSheetCancel.js.map +1 -0
- package/lib/module/mappings/ActionSheetItem.js +2 -1
- package/lib/module/mappings/ActionSheetItem.js.map +1 -0
- package/lib/module/mappings/ActivityIndicator.js +2 -1
- package/lib/module/mappings/ActivityIndicator.js.map +1 -0
- package/lib/module/mappings/AudioPlayer.js +2 -1
- package/lib/module/mappings/AudioPlayer.js.map +1 -0
- package/lib/module/mappings/BlurView.js +2 -1
- package/lib/module/mappings/BlurView.js.map +1 -0
- package/lib/module/mappings/Button.js +2 -1
- package/lib/module/mappings/Button.js.map +1 -0
- package/lib/module/mappings/Checkbox.js +2 -1
- package/lib/module/mappings/Checkbox.js.map +1 -0
- package/lib/module/mappings/CheckboxGroup.js +2 -1
- package/lib/module/mappings/CheckboxGroup.js.map +1 -0
- package/lib/module/mappings/CheckboxRow.js +2 -1
- package/lib/module/mappings/CheckboxRow.js.map +1 -0
- package/lib/module/mappings/CustomCode.js +2 -1
- package/lib/module/mappings/CustomCode.js.map +1 -0
- package/lib/module/mappings/DatePicker.js +3 -15
- package/lib/module/mappings/DatePicker.js.map +1 -0
- package/lib/module/mappings/Fetch.js +2 -1
- package/lib/module/mappings/Fetch.js.map +1 -0
- package/lib/module/mappings/FlashList.js +2 -1
- package/lib/module/mappings/FlashList.js.map +1 -0
- package/lib/module/mappings/FlatList.js +2 -1
- package/lib/module/mappings/FlatList.js.map +1 -0
- package/lib/module/mappings/Icon.js +2 -1
- package/lib/module/mappings/Icon.js.map +1 -0
- package/lib/module/mappings/IconButton.js +2 -1
- package/lib/module/mappings/IconButton.js.map +1 -0
- package/lib/module/mappings/Image.js +2 -1
- package/lib/module/mappings/Image.js.map +1 -0
- package/lib/module/mappings/ImageBackground.js +2 -1
- package/lib/module/mappings/ImageBackground.js.map +1 -0
- package/lib/module/mappings/KeyboardAvoidingView.js +2 -1
- package/lib/module/mappings/KeyboardAvoidingView.js.map +1 -0
- package/lib/module/mappings/KeyboardAwareScrollView.js +2 -1
- package/lib/module/mappings/KeyboardAwareScrollView.js.map +1 -0
- package/lib/module/mappings/Layout.js +2 -1
- package/lib/module/mappings/Layout.js.map +1 -0
- package/lib/module/mappings/LinearGradient.js +2 -1
- package/lib/module/mappings/LinearGradient.js.map +1 -0
- package/lib/module/mappings/MapCallout.js +2 -1
- package/lib/module/mappings/MapCallout.js.map +1 -0
- package/lib/module/mappings/MapMarker.js +2 -1
- package/lib/module/mappings/MapMarker.js.map +1 -0
- package/lib/module/mappings/MapView.js +2 -1
- package/lib/module/mappings/MapView.js.map +1 -0
- package/lib/module/mappings/Modal.js +2 -1
- package/lib/module/mappings/Modal.js.map +1 -0
- package/lib/module/mappings/NativeBase/Layout/AspectRatio.js +10 -0
- package/lib/module/mappings/NativeBase/Layout/AspectRatio.js.map +1 -0
- package/lib/module/mappings/NativeBase/Layout/Box.js +10 -0
- package/lib/module/mappings/NativeBase/Layout/Box.js.map +1 -0
- package/lib/module/mappings/NativeBase/Layout/Center.js +24 -0
- package/lib/module/mappings/NativeBase/Layout/Center.js.map +1 -0
- package/lib/module/mappings/NativeBase/Layout/Column.js +10 -0
- package/lib/module/mappings/NativeBase/Layout/Column.js.map +1 -0
- package/lib/module/mappings/NativeBase/Layout/Container.js +10 -0
- package/lib/module/mappings/NativeBase/Layout/Container.js.map +1 -0
- package/lib/module/mappings/NativeBase/Layout/Row.js +10 -0
- package/lib/module/mappings/NativeBase/Layout/Row.js.map +1 -0
- package/lib/module/mappings/NativeBase/Layout/Stack.js +10 -0
- package/lib/module/mappings/NativeBase/Layout/Stack.js.map +1 -0
- package/lib/module/mappings/NativeBase/Layout/ZStack.js +10 -0
- package/lib/module/mappings/NativeBase/Layout/ZStack.js.map +1 -0
- package/lib/module/mappings/NumberInput.js +2 -1
- package/lib/module/mappings/NumberInput.js.map +1 -0
- package/lib/module/mappings/Picker.js +2 -1
- package/lib/module/mappings/Picker.js.map +1 -0
- package/lib/module/mappings/RadioButton.js +2 -1
- package/lib/module/mappings/RadioButton.js.map +1 -0
- package/lib/module/mappings/RadioButtonGroup.js +2 -1
- package/lib/module/mappings/RadioButtonGroup.js.map +1 -0
- package/lib/module/mappings/RadioButtonRow.js +2 -1
- package/lib/module/mappings/RadioButtonRow.js.map +1 -0
- package/lib/module/mappings/SVG.js +2 -1
- package/lib/module/mappings/SVG.js.map +1 -0
- package/lib/module/mappings/SafeAreaView.js +2 -1
- package/lib/module/mappings/SafeAreaView.js.map +1 -0
- package/lib/module/mappings/ScrollView.js +2 -1
- package/lib/module/mappings/ScrollView.js.map +1 -0
- package/lib/module/mappings/Slider.js +2 -1
- package/lib/module/mappings/Slider.js.map +1 -0
- package/lib/module/mappings/StarRating.js +2 -1
- package/lib/module/mappings/StarRating.js.map +1 -0
- package/lib/module/mappings/Stepper.js +2 -1
- package/lib/module/mappings/Stepper.js.map +1 -0
- package/lib/module/mappings/Surface.js +2 -1
- package/lib/module/mappings/Surface.js.map +1 -0
- package/lib/module/mappings/Swiper.js +2 -1
- package/lib/module/mappings/Swiper.js.map +1 -0
- package/lib/module/mappings/SwiperItem.js +2 -1
- package/lib/module/mappings/SwiperItem.js.map +1 -0
- package/lib/module/mappings/Switch.js +2 -1
- package/lib/module/mappings/Switch.js.map +1 -0
- package/lib/module/mappings/Text.js +2 -1
- package/lib/module/mappings/Text.js.map +1 -0
- package/lib/module/mappings/TextArea.js +2 -1
- package/lib/module/mappings/TextArea.js.map +1 -0
- package/lib/module/mappings/TextField.js +2 -1
- package/lib/module/mappings/TextField.js.map +1 -0
- package/lib/module/mappings/TextInput.js +2 -1
- package/lib/module/mappings/TextInput.js.map +1 -0
- package/lib/module/mappings/Touchable.js +3 -2
- package/lib/module/mappings/Touchable.js.map +1 -0
- package/lib/module/mappings/Video.js +2 -1
- package/lib/module/mappings/Video.js.map +1 -0
- package/lib/module/mappings/View.js +2 -1
- package/lib/module/mappings/View.js.map +1 -0
- package/lib/module/mappings/WebView.js +2 -1
- package/lib/module/mappings/WebView.js.map +1 -0
- package/lib/module/styles/DarkTheme.js +2 -1
- package/lib/module/styles/DarkTheme.js.map +1 -0
- package/lib/module/styles/DefaultTheme.js +2 -1
- package/lib/module/styles/DefaultTheme.js.map +1 -0
- package/lib/module/styles/fonts.js +2 -1
- package/lib/module/styles/fonts.js.map +1 -0
- package/lib/module/styles/overlay.js +2 -1
- package/lib/module/styles/overlay.js.map +1 -0
- package/lib/module/styles/shadow.js +2 -1
- package/lib/module/styles/shadow.js.map +1 -0
- package/lib/module/theming.js +2 -1
- package/lib/module/theming.js.map +1 -0
- package/lib/module/utilities.js +2 -1
- package/lib/module/utilities.js.map +1 -0
- package/lib/typescript/src/Provider.d.ts +2 -1
- package/lib/typescript/src/Provider.d.ts.map +1 -0
- package/lib/typescript/src/components/Accordion/AccordionGroup.d.ts +2 -1
- package/lib/typescript/src/components/Accordion/AccordionGroup.d.ts.map +1 -0
- package/lib/typescript/src/components/Accordion/AccordionItem.d.ts +2 -1
- package/lib/typescript/src/components/Accordion/AccordionItem.d.ts.map +1 -0
- package/lib/typescript/src/components/Accordion/index.d.ts +1 -0
- package/lib/typescript/src/components/Accordion/index.d.ts.map +1 -0
- package/lib/typescript/src/components/ActionSheet/ActionSheet.d.ts +1 -0
- package/lib/typescript/src/components/ActionSheet/ActionSheet.d.ts.map +1 -0
- package/lib/typescript/src/components/ActionSheet/ActionSheetCancel.d.ts +2 -1
- package/lib/typescript/src/components/ActionSheet/ActionSheetCancel.d.ts.map +1 -0
- package/lib/typescript/src/components/ActionSheet/ActionSheetItem.d.ts +2 -1
- package/lib/typescript/src/components/ActionSheet/ActionSheetItem.d.ts.map +1 -0
- package/lib/typescript/src/components/ActionSheet/index.d.ts +1 -0
- package/lib/typescript/src/components/ActionSheet/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Banner.d.ts +2 -1
- package/lib/typescript/src/components/Banner.d.ts.map +1 -0
- package/lib/typescript/src/components/Button.d.ts +1 -0
- package/lib/typescript/src/components/Button.d.ts.map +1 -0
- package/lib/typescript/src/components/Checkbox/Checkbox.d.ts +1 -0
- package/lib/typescript/src/components/Checkbox/Checkbox.d.ts.map +1 -0
- package/lib/typescript/src/components/Checkbox/CheckboxGroup.d.ts +1 -0
- package/lib/typescript/src/components/Checkbox/CheckboxGroup.d.ts.map +1 -0
- package/lib/typescript/src/components/Checkbox/CheckboxGroupRow.d.ts +1 -0
- package/lib/typescript/src/components/Checkbox/CheckboxGroupRow.d.ts.map +1 -0
- package/lib/typescript/src/components/Checkbox/CheckboxRow.d.ts +1 -0
- package/lib/typescript/src/components/Checkbox/CheckboxRow.d.ts.map +1 -0
- package/lib/typescript/src/components/Checkbox/context.d.ts +1 -0
- package/lib/typescript/src/components/Checkbox/context.d.ts.map +1 -0
- package/lib/typescript/src/components/Checkbox/index.d.ts +1 -0
- package/lib/typescript/src/components/Checkbox/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Config.d.ts +1 -0
- package/lib/typescript/src/components/Config.d.ts.map +1 -0
- package/lib/typescript/src/components/DatePicker/DatePicker.d.ts +2 -5
- package/lib/typescript/src/components/DatePicker/DatePicker.d.ts.map +1 -0
- package/lib/typescript/src/components/DatePicker/DatePickerComponent.d.ts +1 -0
- package/lib/typescript/src/components/DatePicker/DatePickerComponent.d.ts.map +1 -0
- package/lib/typescript/src/components/DatePicker/DatePickerComponent.web.d.ts +1 -0
- package/lib/typescript/src/components/DatePicker/DatePickerComponent.web.d.ts.map +1 -0
- package/lib/typescript/src/components/DatePicker/DatePickerComponentType.d.ts +1 -0
- package/lib/typescript/src/components/DatePicker/DatePickerComponentType.d.ts.map +1 -0
- package/lib/typescript/src/components/DeprecatedButton.d.ts +2 -1
- package/lib/typescript/src/components/DeprecatedButton.d.ts.map +1 -0
- package/lib/typescript/src/components/Elevation.d.ts +2 -1
- package/lib/typescript/src/components/Elevation.d.ts.map +1 -0
- package/lib/typescript/src/components/FormRow.d.ts +2 -1
- package/lib/typescript/src/components/FormRow.d.ts.map +1 -0
- package/lib/typescript/src/components/IconButton.d.ts +2 -1
- package/lib/typescript/src/components/IconButton.d.ts.map +1 -0
- package/lib/typescript/src/components/Layout.d.ts +1 -0
- package/lib/typescript/src/components/Layout.d.ts.map +1 -0
- package/lib/typescript/src/components/NumberInput.d.ts +1 -0
- package/lib/typescript/src/components/NumberInput.d.ts.map +1 -0
- package/lib/typescript/src/components/Picker/Picker.d.ts +2 -1
- package/lib/typescript/src/components/Picker/Picker.d.ts.map +1 -0
- package/lib/typescript/src/components/Picker/PickerComponent.android.d.ts +1 -0
- package/lib/typescript/src/components/Picker/PickerComponent.android.d.ts.map +1 -0
- package/lib/typescript/src/components/Picker/PickerComponent.ios.d.ts +1 -0
- package/lib/typescript/src/components/Picker/PickerComponent.ios.d.ts.map +1 -0
- package/lib/typescript/src/components/Picker/PickerComponent.web.d.ts +1 -0
- package/lib/typescript/src/components/Picker/PickerComponent.web.d.ts.map +1 -0
- package/lib/typescript/src/components/Picker/PickerTypes.d.ts +1 -0
- package/lib/typescript/src/components/Picker/PickerTypes.d.ts.map +1 -0
- package/lib/typescript/src/components/Portal/Portal.d.ts +2 -1
- package/lib/typescript/src/components/Portal/Portal.d.ts.map +1 -0
- package/lib/typescript/src/components/Portal/PortalConsumer.d.ts +2 -1
- package/lib/typescript/src/components/Portal/PortalConsumer.d.ts.map +1 -0
- package/lib/typescript/src/components/Portal/PortalHost.d.ts +3 -2
- package/lib/typescript/src/components/Portal/PortalHost.d.ts.map +1 -0
- package/lib/typescript/src/components/Portal/PortalManager.d.ts +2 -1
- package/lib/typescript/src/components/Portal/PortalManager.d.ts.map +1 -0
- package/lib/typescript/src/components/RadioButton/RadioButton.d.ts +2 -1
- package/lib/typescript/src/components/RadioButton/RadioButton.d.ts.map +1 -0
- package/lib/typescript/src/components/RadioButton/RadioButtonFieldGroup.d.ts +1 -0
- package/lib/typescript/src/components/RadioButton/RadioButtonFieldGroup.d.ts.map +1 -0
- package/lib/typescript/src/components/RadioButton/RadioButtonGroup.d.ts +1 -0
- package/lib/typescript/src/components/RadioButton/RadioButtonGroup.d.ts.map +1 -0
- package/lib/typescript/src/components/RadioButton/RadioButtonRow.d.ts +1 -0
- package/lib/typescript/src/components/RadioButton/RadioButtonRow.d.ts.map +1 -0
- package/lib/typescript/src/components/RadioButton/context.d.ts +1 -0
- package/lib/typescript/src/components/RadioButton/context.d.ts.map +1 -0
- package/lib/typescript/src/components/RadioButton/index.d.ts +1 -0
- package/lib/typescript/src/components/RadioButton/index.d.ts.map +1 -0
- package/lib/typescript/src/components/SVG.d.ts +2 -1
- package/lib/typescript/src/components/SVG.d.ts.map +1 -0
- package/lib/typescript/src/components/ScreenContainer.d.ts +2 -1
- package/lib/typescript/src/components/ScreenContainer.d.ts.map +1 -0
- package/lib/typescript/src/components/Slider.d.ts +2 -1
- package/lib/typescript/src/components/Slider.d.ts.map +1 -0
- package/lib/typescript/src/components/StarRating.d.ts +2 -1
- package/lib/typescript/src/components/StarRating.d.ts.map +1 -0
- package/lib/typescript/src/components/Stepper.d.ts +2 -1
- package/lib/typescript/src/components/Stepper.d.ts.map +1 -0
- package/lib/typescript/src/components/Surface.d.ts +2 -1
- package/lib/typescript/src/components/Surface.d.ts.map +1 -0
- package/lib/typescript/src/components/Swiper/Swiper.d.ts +1 -0
- package/lib/typescript/src/components/Swiper/Swiper.d.ts.map +1 -0
- package/lib/typescript/src/components/Swiper/SwiperItem.d.ts +1 -0
- package/lib/typescript/src/components/Swiper/SwiperItem.d.ts.map +1 -0
- package/lib/typescript/src/components/Swiper/index.d.ts +1 -0
- package/lib/typescript/src/components/Swiper/index.d.ts.map +1 -0
- package/lib/typescript/src/components/Switch.d.ts +3 -2
- package/lib/typescript/src/components/Switch.d.ts.map +1 -0
- package/lib/typescript/src/components/Text.d.ts +2 -1
- package/lib/typescript/src/components/Text.d.ts.map +1 -0
- package/lib/typescript/src/components/TextField.d.ts +2 -1
- package/lib/typescript/src/components/TextField.d.ts.map +1 -0
- package/lib/typescript/src/components/Touchable.d.ts +2 -1
- package/lib/typescript/src/components/Touchable.d.ts.map +1 -0
- package/lib/typescript/src/components/Touchable.web.d.ts +1 -0
- package/lib/typescript/src/components/Touchable.web.d.ts.map +1 -0
- package/lib/typescript/src/constants.d.ts +1 -0
- package/lib/typescript/src/constants.d.ts.map +1 -0
- package/lib/typescript/src/hooks.d.ts +1 -0
- package/lib/typescript/src/hooks.d.ts.map +1 -0
- package/lib/typescript/src/index.d.ts +16 -39
- package/lib/typescript/src/index.d.ts.map +1 -0
- package/lib/typescript/src/interfaces/Icon.d.ts +3 -2
- package/lib/typescript/src/interfaces/Icon.d.ts.map +1 -0
- package/lib/typescript/src/mappings/Accordion.d.ts +1 -0
- package/lib/typescript/src/mappings/Accordion.d.ts.map +1 -0
- package/lib/typescript/src/mappings/AccordionItem.d.ts +1 -0
- package/lib/typescript/src/mappings/AccordionItem.d.ts.map +1 -0
- package/lib/typescript/src/mappings/ActionSheet.d.ts +1 -0
- package/lib/typescript/src/mappings/ActionSheet.d.ts.map +1 -0
- package/lib/typescript/src/mappings/ActionSheetCancel.d.ts +1 -0
- package/lib/typescript/src/mappings/ActionSheetCancel.d.ts.map +1 -0
- package/lib/typescript/src/mappings/ActionSheetItem.d.ts +1 -0
- package/lib/typescript/src/mappings/ActionSheetItem.d.ts.map +1 -0
- package/lib/typescript/src/mappings/ActivityIndicator.d.ts +1 -0
- package/lib/typescript/src/mappings/ActivityIndicator.d.ts.map +1 -0
- package/lib/typescript/src/mappings/AudioPlayer.d.ts +1 -0
- package/lib/typescript/src/mappings/AudioPlayer.d.ts.map +1 -0
- package/lib/typescript/src/mappings/BlurView.d.ts +1 -0
- package/lib/typescript/src/mappings/BlurView.d.ts.map +1 -0
- package/lib/typescript/src/mappings/Button.d.ts +1 -0
- package/lib/typescript/src/mappings/Button.d.ts.map +1 -0
- package/lib/typescript/src/mappings/Checkbox.d.ts +1 -0
- package/lib/typescript/src/mappings/Checkbox.d.ts.map +1 -0
- package/lib/typescript/src/mappings/CheckboxGroup.d.ts +1 -0
- package/lib/typescript/src/mappings/CheckboxGroup.d.ts.map +1 -0
- package/lib/typescript/src/mappings/CheckboxRow.d.ts +1 -0
- package/lib/typescript/src/mappings/CheckboxRow.d.ts.map +1 -0
- package/lib/typescript/src/mappings/CustomCode.d.ts +1 -0
- package/lib/typescript/src/mappings/CustomCode.d.ts.map +1 -0
- package/lib/typescript/src/mappings/DatePicker.d.ts +1 -42
- package/lib/typescript/src/mappings/DatePicker.d.ts.map +1 -0
- package/lib/typescript/src/mappings/Fetch.d.ts +1 -0
- package/lib/typescript/src/mappings/Fetch.d.ts.map +1 -0
- package/lib/typescript/src/mappings/FlashList.d.ts +1 -0
- package/lib/typescript/src/mappings/FlashList.d.ts.map +1 -0
- package/lib/typescript/src/mappings/FlatList.d.ts +1 -0
- package/lib/typescript/src/mappings/FlatList.d.ts.map +1 -0
- package/lib/typescript/src/mappings/Icon.d.ts +1 -0
- package/lib/typescript/src/mappings/Icon.d.ts.map +1 -0
- package/lib/typescript/src/mappings/IconButton.d.ts +1 -0
- package/lib/typescript/src/mappings/IconButton.d.ts.map +1 -0
- package/lib/typescript/src/mappings/Image.d.ts +1 -0
- package/lib/typescript/src/mappings/Image.d.ts.map +1 -0
- package/lib/typescript/src/mappings/ImageBackground.d.ts +1 -0
- package/lib/typescript/src/mappings/ImageBackground.d.ts.map +1 -0
- package/lib/typescript/src/mappings/KeyboardAvoidingView.d.ts +1 -0
- package/lib/typescript/src/mappings/KeyboardAvoidingView.d.ts.map +1 -0
- package/lib/typescript/src/mappings/KeyboardAwareScrollView.d.ts +1 -0
- package/lib/typescript/src/mappings/KeyboardAwareScrollView.d.ts.map +1 -0
- package/lib/typescript/src/mappings/Layout.d.ts +1 -0
- package/lib/typescript/src/mappings/Layout.d.ts.map +1 -0
- package/lib/typescript/src/mappings/LinearGradient.d.ts +1 -0
- package/lib/typescript/src/mappings/LinearGradient.d.ts.map +1 -0
- package/lib/typescript/src/mappings/MapCallout.d.ts +1 -0
- package/lib/typescript/src/mappings/MapCallout.d.ts.map +1 -0
- package/lib/typescript/src/mappings/MapMarker.d.ts +1 -0
- package/lib/typescript/src/mappings/MapMarker.d.ts.map +1 -0
- package/lib/typescript/src/mappings/MapView.d.ts +1 -0
- package/lib/typescript/src/mappings/MapView.d.ts.map +1 -0
- package/lib/typescript/src/mappings/Modal.d.ts +1 -0
- package/lib/typescript/src/mappings/Modal.d.ts.map +1 -0
- package/lib/typescript/src/mappings/NativeBase/Layout/AspectRatio.d.ts +9 -0
- package/lib/typescript/src/mappings/NativeBase/Layout/AspectRatio.d.ts.map +1 -0
- package/lib/typescript/src/mappings/NativeBase/Layout/Box.d.ts +9 -0
- package/lib/typescript/src/mappings/NativeBase/Layout/Box.d.ts.map +1 -0
- package/lib/typescript/src/mappings/NativeBase/Layout/Center.d.ts +9 -0
- package/lib/typescript/src/mappings/NativeBase/Layout/Center.d.ts.map +1 -0
- package/lib/typescript/src/mappings/NativeBase/Layout/Column.d.ts +9 -0
- package/lib/typescript/src/mappings/NativeBase/Layout/Column.d.ts.map +1 -0
- package/lib/typescript/src/mappings/NativeBase/Layout/Container.d.ts +9 -0
- package/lib/typescript/src/mappings/NativeBase/Layout/Container.d.ts.map +1 -0
- package/lib/typescript/src/mappings/NativeBase/Layout/Row.d.ts +9 -0
- package/lib/typescript/src/mappings/NativeBase/Layout/Row.d.ts.map +1 -0
- package/lib/typescript/src/mappings/NativeBase/Layout/Stack.d.ts +9 -0
- package/lib/typescript/src/mappings/NativeBase/Layout/Stack.d.ts.map +1 -0
- package/lib/typescript/src/mappings/NativeBase/Layout/ZStack.d.ts +9 -0
- package/lib/typescript/src/mappings/NativeBase/Layout/ZStack.d.ts.map +1 -0
- package/lib/typescript/src/mappings/NumberInput.d.ts +1 -0
- package/lib/typescript/src/mappings/NumberInput.d.ts.map +1 -0
- package/lib/typescript/src/mappings/Picker.d.ts +1 -0
- package/lib/typescript/src/mappings/Picker.d.ts.map +1 -0
- package/lib/typescript/src/mappings/RadioButton.d.ts +1 -0
- package/lib/typescript/src/mappings/RadioButton.d.ts.map +1 -0
- package/lib/typescript/src/mappings/RadioButtonGroup.d.ts +1 -0
- package/lib/typescript/src/mappings/RadioButtonGroup.d.ts.map +1 -0
- package/lib/typescript/src/mappings/RadioButtonRow.d.ts +1 -0
- package/lib/typescript/src/mappings/RadioButtonRow.d.ts.map +1 -0
- package/lib/typescript/src/mappings/SVG.d.ts +1 -0
- package/lib/typescript/src/mappings/SVG.d.ts.map +1 -0
- package/lib/typescript/src/mappings/SafeAreaView.d.ts +1 -0
- package/lib/typescript/src/mappings/SafeAreaView.d.ts.map +1 -0
- package/lib/typescript/src/mappings/ScrollView.d.ts +1 -0
- package/lib/typescript/src/mappings/ScrollView.d.ts.map +1 -0
- package/lib/typescript/src/mappings/Slider.d.ts +1 -0
- package/lib/typescript/src/mappings/Slider.d.ts.map +1 -0
- package/lib/typescript/src/mappings/StarRating.d.ts +1 -0
- package/lib/typescript/src/mappings/StarRating.d.ts.map +1 -0
- package/lib/typescript/src/mappings/Stepper.d.ts +1 -0
- package/lib/typescript/src/mappings/Stepper.d.ts.map +1 -0
- package/lib/typescript/src/mappings/Surface.d.ts +1 -0
- package/lib/typescript/src/mappings/Surface.d.ts.map +1 -0
- package/lib/typescript/src/mappings/Swiper.d.ts +1 -0
- package/lib/typescript/src/mappings/Swiper.d.ts.map +1 -0
- package/lib/typescript/src/mappings/SwiperItem.d.ts +1 -0
- package/lib/typescript/src/mappings/SwiperItem.d.ts.map +1 -0
- package/lib/typescript/src/mappings/Switch.d.ts +1 -0
- package/lib/typescript/src/mappings/Switch.d.ts.map +1 -0
- package/lib/typescript/src/mappings/Text.d.ts +1 -0
- package/lib/typescript/src/mappings/Text.d.ts.map +1 -0
- package/lib/typescript/src/mappings/TextArea.d.ts +1 -0
- package/lib/typescript/src/mappings/TextArea.d.ts.map +1 -0
- package/lib/typescript/src/mappings/TextField.d.ts +1 -0
- package/lib/typescript/src/mappings/TextField.d.ts.map +1 -0
- package/lib/typescript/src/mappings/TextInput.d.ts +1 -0
- package/lib/typescript/src/mappings/TextInput.d.ts.map +1 -0
- package/lib/typescript/src/mappings/Touchable.d.ts +1 -0
- package/lib/typescript/src/mappings/Touchable.d.ts.map +1 -0
- package/lib/typescript/src/mappings/Video.d.ts +1 -0
- package/lib/typescript/src/mappings/Video.d.ts.map +1 -0
- package/lib/typescript/src/mappings/View.d.ts +1 -0
- package/lib/typescript/src/mappings/View.d.ts.map +1 -0
- package/lib/typescript/src/mappings/WebView.d.ts +1 -0
- package/lib/typescript/src/mappings/WebView.d.ts.map +1 -0
- package/lib/typescript/src/styles/DarkTheme.d.ts +1 -0
- package/lib/typescript/src/styles/DarkTheme.d.ts.map +1 -0
- package/lib/typescript/src/styles/DefaultTheme.d.ts +2 -1
- package/lib/typescript/src/styles/DefaultTheme.d.ts.map +1 -0
- package/lib/typescript/src/styles/fonts.d.ts +1 -0
- package/lib/typescript/src/styles/fonts.d.ts.map +1 -0
- package/lib/typescript/src/styles/overlay.d.ts +1 -0
- package/lib/typescript/src/styles/overlay.d.ts.map +1 -0
- package/lib/typescript/src/styles/shadow.d.ts +1 -0
- package/lib/typescript/src/styles/shadow.d.ts.map +1 -0
- package/lib/typescript/src/theming.d.ts +1 -0
- package/lib/typescript/src/theming.d.ts.map +1 -0
- package/lib/typescript/src/utilities.d.ts +1 -0
- package/lib/typescript/src/utilities.d.ts.map +1 -0
- package/package.json +3 -3
- package/src/components/DatePicker/DatePicker.js +8 -14
- package/src/components/DatePicker/DatePicker.tsx +7 -23
- package/src/components/Picker/Picker.js +1 -1
- package/src/components/Picker/Picker.tsx +2 -2
- package/src/index.js +24 -41
- package/src/index.tsx +38 -51
- package/src/mappings/DatePicker.js +1 -21
- package/src/mappings/DatePicker.ts +0 -23
- package/src/mappings/NativeBase/Layout/AspectRatio.js +9 -0
- package/src/mappings/NativeBase/Layout/AspectRatio.ts +11 -0
- package/src/mappings/NativeBase/Layout/Box.js +9 -0
- package/src/mappings/NativeBase/Layout/Box.ts +11 -0
- package/src/mappings/NativeBase/Layout/Center.js +27 -0
- package/src/mappings/NativeBase/Layout/Center.ts +28 -0
- package/src/mappings/NativeBase/Layout/Column.js +9 -0
- package/src/mappings/NativeBase/Layout/Column.ts +10 -0
- package/src/mappings/NativeBase/Layout/Container.js +9 -0
- package/src/mappings/NativeBase/Layout/Container.ts +11 -0
- package/src/mappings/NativeBase/Layout/Row.js +9 -0
- package/src/mappings/NativeBase/Layout/Row.ts +10 -0
- package/src/mappings/NativeBase/Layout/Stack.js +9 -0
- package/src/mappings/NativeBase/Layout/Stack.ts +11 -0
- package/src/mappings/NativeBase/Layout/ZStack.js +9 -0
- package/src/mappings/NativeBase/Layout/ZStack.ts +10 -0
- package/src/mappings/Touchable.js +1 -1
- package/src/mappings/Touchable.ts +1 -1
- package/lib/commonjs/components/AnimatedCircularProgress.js +0 -77
- package/lib/commonjs/components/AspectRatio.js +0 -66
- package/lib/commonjs/components/AvatarEdit.js +0 -59
- package/lib/commonjs/components/Card.js +0 -137
- package/lib/commonjs/components/CardBlock.js +0 -106
- package/lib/commonjs/components/CardContainer.js +0 -129
- package/lib/commonjs/components/CardContainerRating.js +0 -133
- package/lib/commonjs/components/CardContainerShortImage.js +0 -84
- package/lib/commonjs/components/CardInline.js +0 -91
- package/lib/commonjs/components/Carousel.js +0 -129
- package/lib/commonjs/components/CircleImage.js +0 -35
- package/lib/commonjs/components/CircularProgress.js +0 -112
- package/lib/commonjs/components/Container.js +0 -93
- package/lib/commonjs/components/DeprecatedCardWrapper.js +0 -40
- package/lib/commonjs/components/DeprecatedFAB.js +0 -158
- package/lib/commonjs/components/Divider.js +0 -30
- package/lib/commonjs/components/FAB.js +0 -82
- package/lib/commonjs/components/FieldSearchBarFull.js +0 -97
- package/lib/commonjs/components/Header.js +0 -82
- package/lib/commonjs/components/HeaderLarge.js +0 -38
- package/lib/commonjs/components/HeaderMedium.js +0 -38
- package/lib/commonjs/components/HeaderOverline.js +0 -39
- package/lib/commonjs/components/Image.js +0 -81
- package/lib/commonjs/components/Justification.js +0 -5
- package/lib/commonjs/components/ProgressBar.js +0 -158
- package/lib/commonjs/components/ProgressCircle.js +0 -48
- package/lib/commonjs/components/ProgressIndicator.js +0 -55
- package/lib/commonjs/components/ResizeMode.js +0 -5
- package/lib/commonjs/components/Row.js +0 -73
- package/lib/commonjs/components/RowBodyIcon.js +0 -45
- package/lib/commonjs/components/RowHeadlineImageCaption.js +0 -45
- package/lib/commonjs/components/RowHeadlineImageIcon.js +0 -51
- package/lib/commonjs/components/StepIndicator.js +0 -385
- package/lib/commonjs/components/ToggleButton.js +0 -71
- package/lib/commonjs/components/Typography.js +0 -58
- package/lib/commonjs/components/useAuthState.js +0 -28
- package/lib/commonjs/mappings/AvatarEdit.js +0 -45
- package/lib/commonjs/mappings/Banner.js +0 -39
- package/lib/commonjs/mappings/Card.js +0 -60
- package/lib/commonjs/mappings/CardBlock.js +0 -126
- package/lib/commonjs/mappings/CardContainer.js +0 -108
- package/lib/commonjs/mappings/CardContainerRating.js +0 -130
- package/lib/commonjs/mappings/CardContainerShortImage.js +0 -124
- package/lib/commonjs/mappings/CardInline.js +0 -59
- package/lib/commonjs/mappings/Carousel.js +0 -24
- package/lib/commonjs/mappings/CircleImage.js +0 -32
- package/lib/commonjs/mappings/Container.js +0 -37
- package/lib/commonjs/mappings/Divider.js +0 -32
- package/lib/commonjs/mappings/FAB.js +0 -44
- package/lib/commonjs/mappings/FieldSearchBarFull.js +0 -56
- package/lib/commonjs/mappings/HeaderLarge.js +0 -34
- package/lib/commonjs/mappings/HeaderMedium.js +0 -60
- package/lib/commonjs/mappings/HeaderOverline.js +0 -60
- package/lib/commonjs/mappings/ProgressBar.js +0 -106
- package/lib/commonjs/mappings/ProgressCircle.js +0 -116
- package/lib/commonjs/mappings/ProgressIndicator.js +0 -188
- package/lib/commonjs/mappings/RowBodyIcon.js +0 -79
- package/lib/commonjs/mappings/RowHeadlineImageCaption.js +0 -169
- package/lib/commonjs/mappings/RowHeadlineImageIcon.js +0 -99
- package/lib/commonjs/mappings/ToggleButton.js +0 -53
- package/lib/module/components/AnimatedCircularProgress.js +0 -56
- package/lib/module/components/AspectRatio.js +0 -42
- package/lib/module/components/AvatarEdit.js +0 -49
- package/lib/module/components/Card.js +0 -128
- package/lib/module/components/CardBlock.js +0 -98
- package/lib/module/components/CardContainer.js +0 -121
- package/lib/module/components/CardContainerRating.js +0 -125
- package/lib/module/components/CardContainerShortImage.js +0 -76
- package/lib/module/components/CardInline.js +0 -82
- package/lib/module/components/Carousel.js +0 -139
- package/lib/module/components/CircleImage.js +0 -25
- package/lib/module/components/CircularProgress.js +0 -104
- package/lib/module/components/Container.js +0 -83
- package/lib/module/components/DeprecatedCardWrapper.js +0 -32
- package/lib/module/components/DeprecatedFAB.js +0 -148
- package/lib/module/components/Divider.js +0 -21
- package/lib/module/components/FAB.js +0 -73
- package/lib/module/components/FieldSearchBarFull.js +0 -87
- package/lib/module/components/Header.js +0 -72
- package/lib/module/components/HeaderLarge.js +0 -28
- package/lib/module/components/HeaderMedium.js +0 -28
- package/lib/module/components/HeaderOverline.js +0 -29
- package/lib/module/components/Image.js +0 -74
- package/lib/module/components/Justification.js +0 -1
- package/lib/module/components/ProgressBar.js +0 -149
- package/lib/module/components/ProgressCircle.js +0 -38
- package/lib/module/components/ProgressIndicator.js +0 -45
- package/lib/module/components/ResizeMode.js +0 -1
- package/lib/module/components/Row.js +0 -63
- package/lib/module/components/RowBodyIcon.js +0 -35
- package/lib/module/components/RowHeadlineImageCaption.js +0 -35
- package/lib/module/components/RowHeadlineImageIcon.js +0 -41
- package/lib/module/components/StepIndicator.js +0 -377
- package/lib/module/components/ToggleButton.js +0 -61
- package/lib/module/components/Typography.js +0 -48
- package/lib/module/components/useAuthState.js +0 -19
- package/lib/module/mappings/AvatarEdit.js +0 -38
- package/lib/module/mappings/Banner.js +0 -32
- package/lib/module/mappings/Card.js +0 -53
- package/lib/module/mappings/CardBlock.js +0 -119
- package/lib/module/mappings/CardContainer.js +0 -101
- package/lib/module/mappings/CardContainerRating.js +0 -123
- package/lib/module/mappings/CardContainerShortImage.js +0 -117
- package/lib/module/mappings/CardInline.js +0 -52
- package/lib/module/mappings/Carousel.js +0 -17
- package/lib/module/mappings/CircleImage.js +0 -25
- package/lib/module/mappings/Container.js +0 -30
- package/lib/module/mappings/Divider.js +0 -25
- package/lib/module/mappings/FAB.js +0 -37
- package/lib/module/mappings/FieldSearchBarFull.js +0 -49
- package/lib/module/mappings/HeaderLarge.js +0 -27
- package/lib/module/mappings/HeaderMedium.js +0 -53
- package/lib/module/mappings/HeaderOverline.js +0 -53
- package/lib/module/mappings/ProgressBar.js +0 -99
- package/lib/module/mappings/ProgressCircle.js +0 -109
- package/lib/module/mappings/ProgressIndicator.js +0 -181
- package/lib/module/mappings/RowBodyIcon.js +0 -72
- package/lib/module/mappings/RowHeadlineImageCaption.js +0 -162
- package/lib/module/mappings/RowHeadlineImageIcon.js +0 -92
- package/lib/module/mappings/ToggleButton.js +0 -46
- package/lib/typescript/src/components/AnimatedCircularProgress.d.ts +0 -13
- package/lib/typescript/src/components/AspectRatio.d.ts +0 -8
- package/lib/typescript/src/components/AvatarEdit.d.ts +0 -15
- package/lib/typescript/src/components/Card.d.ts +0 -42
- package/lib/typescript/src/components/CardBlock.d.ts +0 -20
- package/lib/typescript/src/components/CardContainer.d.ts +0 -22
- package/lib/typescript/src/components/CardContainerRating.d.ts +0 -23
- package/lib/typescript/src/components/CardContainerShortImage.d.ts +0 -18
- package/lib/typescript/src/components/CardInline.d.ts +0 -19
- package/lib/typescript/src/components/Carousel.d.ts +0 -14
- package/lib/typescript/src/components/CircleImage.d.ts +0 -9
- package/lib/typescript/src/components/CircularProgress.d.ts +0 -42
- package/lib/typescript/src/components/Container.d.ts +0 -20
- package/lib/typescript/src/components/DeprecatedCardWrapper.d.ts +0 -14
- package/lib/typescript/src/components/DeprecatedFAB.d.ts +0 -55
- package/lib/typescript/src/components/Divider.d.ts +0 -12
- package/lib/typescript/src/components/FAB.d.ts +0 -19
- package/lib/typescript/src/components/FieldSearchBarFull.d.ts +0 -19
- package/lib/typescript/src/components/Header.d.ts +0 -19
- package/lib/typescript/src/components/HeaderLarge.d.ts +0 -16
- package/lib/typescript/src/components/HeaderMedium.d.ts +0 -16
- package/lib/typescript/src/components/HeaderOverline.d.ts +0 -16
- package/lib/typescript/src/components/Image.d.ts +0 -4
- package/lib/typescript/src/components/Justification.d.ts +0 -1
- package/lib/typescript/src/components/ProgressBar.d.ts +0 -34
- package/lib/typescript/src/components/ProgressCircle.d.ts +0 -20
- package/lib/typescript/src/components/ProgressIndicator.d.ts +0 -23
- package/lib/typescript/src/components/ResizeMode.d.ts +0 -1
- package/lib/typescript/src/components/Row.d.ts +0 -20
- package/lib/typescript/src/components/RowBodyIcon.d.ts +0 -15
- package/lib/typescript/src/components/RowHeadlineImageCaption.d.ts +0 -15
- package/lib/typescript/src/components/RowHeadlineImageIcon.d.ts +0 -17
- package/lib/typescript/src/components/StepIndicator.d.ts +0 -53
- package/lib/typescript/src/components/ToggleButton.d.ts +0 -24
- package/lib/typescript/src/components/Typography.d.ts +0 -21
- package/lib/typescript/src/components/useAuthState.d.ts +0 -1
- package/lib/typescript/src/mappings/AvatarEdit.d.ts +0 -37
- package/lib/typescript/src/mappings/Banner.d.ts +0 -48
- package/lib/typescript/src/mappings/Card.d.ts +0 -113
- package/lib/typescript/src/mappings/CardBlock.d.ts +0 -288
- package/lib/typescript/src/mappings/CardContainer.d.ts +0 -101
- package/lib/typescript/src/mappings/CardContainerRating.d.ts +0 -107
- package/lib/typescript/src/mappings/CardContainerShortImage.d.ts +0 -138
- package/lib/typescript/src/mappings/CardInline.d.ts +0 -61
- package/lib/typescript/src/mappings/Carousel.d.ts +0 -33
- package/lib/typescript/src/mappings/CircleImage.d.ts +0 -33
- package/lib/typescript/src/mappings/Container.d.ts +0 -54
- package/lib/typescript/src/mappings/Divider.d.ts +0 -24
- package/lib/typescript/src/mappings/FAB.d.ts +0 -82
- package/lib/typescript/src/mappings/FieldSearchBarFull.d.ts +0 -55
- package/lib/typescript/src/mappings/HeaderLarge.d.ts +0 -33
- package/lib/typescript/src/mappings/HeaderMedium.d.ts +0 -52
- package/lib/typescript/src/mappings/HeaderOverline.d.ts +0 -52
- package/lib/typescript/src/mappings/ProgressBar.d.ts +0 -98
- package/lib/typescript/src/mappings/ProgressCircle.d.ts +0 -108
- package/lib/typescript/src/mappings/ProgressIndicator.d.ts +0 -180
- package/lib/typescript/src/mappings/RowBodyIcon.d.ts +0 -72
- package/lib/typescript/src/mappings/RowHeadlineImageCaption.d.ts +0 -165
- package/lib/typescript/src/mappings/RowHeadlineImageIcon.d.ts +0 -169
- package/lib/typescript/src/mappings/ToggleButton.d.ts +0 -115
- package/src/components/AnimatedCircularProgress.js +0 -43
- package/src/components/AnimatedCircularProgress.tsx +0 -101
- package/src/components/AspectRatio.js +0 -18
- package/src/components/AspectRatio.tsx +0 -40
- package/src/components/AvatarEdit.js +0 -30
- package/src/components/AvatarEdit.tsx +0 -64
- package/src/components/Card.js +0 -57
- package/src/components/Card.tsx +0 -161
- package/src/components/CardBlock.js +0 -54
- package/src/components/CardBlock.tsx +0 -127
- package/src/components/CardContainer.js +0 -69
- package/src/components/CardContainer.tsx +0 -165
- package/src/components/CardContainerRating.js +0 -79
- package/src/components/CardContainerRating.tsx +0 -175
- package/src/components/CardContainerShortImage.js +0 -33
- package/src/components/CardContainerShortImage.tsx +0 -101
- package/src/components/CardInline.js +0 -36
- package/src/components/CardInline.tsx +0 -93
- package/src/components/Carousel.js +0 -68
- package/src/components/Carousel.tsx +0 -134
- package/src/components/CircleImage.js +0 -8
- package/src/components/CircleImage.tsx +0 -33
- package/src/components/CircularProgress.js +0 -81
- package/src/components/CircularProgress.tsx +0 -188
- package/src/components/Container.js +0 -43
- package/src/components/Container.tsx +0 -116
- package/src/components/DeprecatedCardWrapper.js +0 -18
- package/src/components/DeprecatedCardWrapper.tsx +0 -46
- package/src/components/DeprecatedFAB.js +0 -115
- package/src/components/DeprecatedFAB.tsx +0 -231
- package/src/components/Divider.js +0 -13
- package/src/components/Divider.tsx +0 -32
- package/src/components/FAB.js +0 -46
- package/src/components/FAB.tsx +0 -108
- package/src/components/FieldSearchBarFull.js +0 -53
- package/src/components/FieldSearchBarFull.tsx +0 -126
- package/src/components/Header.js +0 -44
- package/src/components/Header.tsx +0 -105
- package/src/components/HeaderLarge.js +0 -7
- package/src/components/HeaderLarge.tsx +0 -40
- package/src/components/HeaderMedium.js +0 -7
- package/src/components/HeaderMedium.tsx +0 -41
- package/src/components/HeaderOverline.js +0 -7
- package/src/components/HeaderOverline.tsx +0 -42
- package/src/components/Image.js +0 -47
- package/src/components/Image.tsx +0 -91
- package/src/components/Justification.js +0 -1
- package/src/components/Justification.ts +0 -8
- package/src/components/ProgressBar.js +0 -118
- package/src/components/ProgressBar.tsx +0 -191
- package/src/components/ProgressCircle.js +0 -13
- package/src/components/ProgressCircle.tsx +0 -64
- package/src/components/ProgressIndicator.js +0 -27
- package/src/components/ProgressIndicator.tsx +0 -71
- package/src/components/ResizeMode.js +0 -1
- package/src/components/ResizeMode.ts +0 -7
- package/src/components/Row.js +0 -48
- package/src/components/Row.tsx +0 -108
- package/src/components/RowBodyIcon.js +0 -8
- package/src/components/RowBodyIcon.tsx +0 -47
- package/src/components/RowHeadlineImageCaption.js +0 -12
- package/src/components/RowHeadlineImageCaption.tsx +0 -49
- package/src/components/RowHeadlineImageIcon.js +0 -14
- package/src/components/RowHeadlineImageIcon.tsx +0 -61
- package/src/components/StepIndicator.js +0 -346
- package/src/components/StepIndicator.tsx +0 -494
- package/src/components/ToggleButton.js +0 -39
- package/src/components/ToggleButton.tsx +0 -94
- package/src/components/Typography.js +0 -36
- package/src/components/Typography.tsx +0 -67
- package/src/components/useAuthState.js +0 -31
- package/src/components/useAuthState.tsx +0 -38
- package/src/mappings/AvatarEdit.js +0 -38
- package/src/mappings/AvatarEdit.ts +0 -45
- package/src/mappings/Banner.js +0 -32
- package/src/mappings/Banner.ts +0 -40
- package/src/mappings/Card.js +0 -52
- package/src/mappings/Card.ts +0 -64
- package/src/mappings/CardBlock.js +0 -123
- package/src/mappings/CardBlock.ts +0 -136
- package/src/mappings/CardContainer.js +0 -104
- package/src/mappings/CardContainer.ts +0 -116
- package/src/mappings/CardContainerRating.js +0 -126
- package/src/mappings/CardContainerRating.ts +0 -137
- package/src/mappings/CardContainerShortImage.js +0 -120
- package/src/mappings/CardContainerShortImage.ts +0 -130
- package/src/mappings/CardInline.js +0 -52
- package/src/mappings/CardInline.ts +0 -61
- package/src/mappings/Carousel.js +0 -19
- package/src/mappings/Carousel.ts +0 -25
- package/src/mappings/CircleImage.js +0 -25
- package/src/mappings/CircleImage.ts +0 -33
- package/src/mappings/Container.js +0 -30
- package/src/mappings/Container.ts +0 -41
- package/src/mappings/Divider.js +0 -27
- package/src/mappings/Divider.ts +0 -34
- package/src/mappings/FAB.js +0 -37
- package/src/mappings/FAB.ts +0 -48
- package/src/mappings/FieldSearchBarFull.js +0 -50
- package/src/mappings/FieldSearchBarFull.ts +0 -59
- package/src/mappings/HeaderLarge.js +0 -29
- package/src/mappings/HeaderLarge.ts +0 -38
- package/src/mappings/HeaderMedium.js +0 -55
- package/src/mappings/HeaderMedium.ts +0 -63
- package/src/mappings/HeaderOverline.js +0 -55
- package/src/mappings/HeaderOverline.ts +0 -63
- package/src/mappings/ProgressBar.js +0 -101
- package/src/mappings/ProgressBar.ts +0 -110
- package/src/mappings/ProgressCircle.js +0 -109
- package/src/mappings/ProgressCircle.ts +0 -117
- package/src/mappings/ProgressIndicator.js +0 -181
- package/src/mappings/ProgressIndicator.ts +0 -190
- package/src/mappings/RowBodyIcon.js +0 -75
- package/src/mappings/RowBodyIcon.ts +0 -82
- package/src/mappings/RowHeadlineImageCaption.js +0 -167
- package/src/mappings/RowHeadlineImageCaption.ts +0 -178
- package/src/mappings/RowHeadlineImageIcon.js +0 -99
- package/src/mappings/RowHeadlineImageIcon.ts +0 -116
- package/src/mappings/ToggleButton.js +0 -50
- package/src/mappings/ToggleButton.ts +0 -63
|
@@ -1,129 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
var React = _interopRequireWildcard(require("react"));
|
|
8
|
-
var _theming = require("../theming");
|
|
9
|
-
var _reactNative = require("react-native");
|
|
10
|
-
var _Image = _interopRequireDefault(require("./Image"));
|
|
11
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
12
|
-
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
13
|
-
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
14
|
-
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); }
|
|
15
|
-
const screenWidth = _reactNative.Dimensions.get("window").width;
|
|
16
|
-
function Pager(_ref) {
|
|
17
|
-
let {
|
|
18
|
-
color,
|
|
19
|
-
index,
|
|
20
|
-
length
|
|
21
|
-
} = _ref;
|
|
22
|
-
return /*#__PURE__*/React.createElement(_reactNative.View, {
|
|
23
|
-
style: styles.pager
|
|
24
|
-
}, Array.from({
|
|
25
|
-
length
|
|
26
|
-
}).map((_, i) => {
|
|
27
|
-
const current = index === i;
|
|
28
|
-
const opacity = current ? 1 : 0.5;
|
|
29
|
-
const size = current ? 10 : 8;
|
|
30
|
-
return /*#__PURE__*/React.createElement(_reactNative.View, {
|
|
31
|
-
key: i,
|
|
32
|
-
style: [styles.bullet, {
|
|
33
|
-
backgroundColor: color,
|
|
34
|
-
opacity,
|
|
35
|
-
width: size,
|
|
36
|
-
height: size
|
|
37
|
-
}]
|
|
38
|
-
});
|
|
39
|
-
}));
|
|
40
|
-
}
|
|
41
|
-
function Carousel(_ref2) {
|
|
42
|
-
let {
|
|
43
|
-
data,
|
|
44
|
-
children,
|
|
45
|
-
dotColor = "strong",
|
|
46
|
-
style,
|
|
47
|
-
...rest
|
|
48
|
-
} = _ref2;
|
|
49
|
-
const [index, setIndex] = React.useState(0);
|
|
50
|
-
const length = React.Children.count(children);
|
|
51
|
-
const itemsLength = ((data === null || data === void 0 ? void 0 : data.length) ?? 0) + length;
|
|
52
|
-
const slides = Array.isArray(data) ? data : [];
|
|
53
|
-
const {
|
|
54
|
-
width,
|
|
55
|
-
height
|
|
56
|
-
} = _reactNative.StyleSheet.flatten(style || {});
|
|
57
|
-
const slideWidth = width || screenWidth;
|
|
58
|
-
const slideHeight = height || 250;
|
|
59
|
-
return /*#__PURE__*/React.createElement(_reactNative.View, _extends({
|
|
60
|
-
style: [styles.container, style]
|
|
61
|
-
}, rest), /*#__PURE__*/React.createElement(_reactNative.ScrollView, {
|
|
62
|
-
pagingEnabled: true,
|
|
63
|
-
horizontal: true,
|
|
64
|
-
decelerationRate: "fast",
|
|
65
|
-
scrollEventThrottle: 200,
|
|
66
|
-
showsHorizontalScrollIndicator: false,
|
|
67
|
-
onScroll: _ref3 => {
|
|
68
|
-
let {
|
|
69
|
-
nativeEvent
|
|
70
|
-
} = _ref3;
|
|
71
|
-
const layoutWidth = nativeEvent.layoutMeasurement.width;
|
|
72
|
-
const offset = nativeEvent.contentOffset.x;
|
|
73
|
-
const currentIndex = Math.ceil(offset / layoutWidth);
|
|
74
|
-
setIndex(currentIndex);
|
|
75
|
-
}
|
|
76
|
-
}, slides.length > 0 ? slides.map((item, i) => {
|
|
77
|
-
return /*#__PURE__*/React.createElement(_Image.default, {
|
|
78
|
-
key: i,
|
|
79
|
-
resizeMode: "cover",
|
|
80
|
-
source: typeof item === "string" ? {
|
|
81
|
-
uri: item
|
|
82
|
-
} : item,
|
|
83
|
-
style: [{
|
|
84
|
-
width: slideWidth,
|
|
85
|
-
height: slideHeight
|
|
86
|
-
}]
|
|
87
|
-
});
|
|
88
|
-
}) : null, React.Children.map(children, child => {
|
|
89
|
-
var _child$props;
|
|
90
|
-
const s = (child === null || child === void 0 ? void 0 : (_child$props = child.props) === null || _child$props === void 0 ? void 0 : _child$props.style) || {};
|
|
91
|
-
return /*#__PURE__*/React.createElement(_reactNative.View, {
|
|
92
|
-
style: {
|
|
93
|
-
width: slideWidth
|
|
94
|
-
}
|
|
95
|
-
}, /*#__PURE__*/React.cloneElement(child, {
|
|
96
|
-
style: {
|
|
97
|
-
...s,
|
|
98
|
-
width: slideWidth
|
|
99
|
-
}
|
|
100
|
-
}));
|
|
101
|
-
})), /*#__PURE__*/React.createElement(Pager, {
|
|
102
|
-
color: dotColor,
|
|
103
|
-
index: index,
|
|
104
|
-
length: itemsLength
|
|
105
|
-
}));
|
|
106
|
-
}
|
|
107
|
-
const styles = _reactNative.StyleSheet.create({
|
|
108
|
-
container: {
|
|
109
|
-
backgroundColor: "#eee"
|
|
110
|
-
},
|
|
111
|
-
pager: {
|
|
112
|
-
position: "absolute",
|
|
113
|
-
bottom: 12,
|
|
114
|
-
left: 0,
|
|
115
|
-
right: 0,
|
|
116
|
-
flexDirection: "row",
|
|
117
|
-
justifyContent: "center",
|
|
118
|
-
alignItems: "center"
|
|
119
|
-
},
|
|
120
|
-
bullet: {
|
|
121
|
-
marginHorizontal: 2,
|
|
122
|
-
width: 10,
|
|
123
|
-
height: 10,
|
|
124
|
-
borderRadius: 20,
|
|
125
|
-
backgroundColor: "#000"
|
|
126
|
-
}
|
|
127
|
-
});
|
|
128
|
-
var _default = (0, _theming.withTheme)(Carousel);
|
|
129
|
-
exports.default = _default;
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
var React = _interopRequireWildcard(require("react"));
|
|
8
|
-
var _reactNative = require("react-native");
|
|
9
|
-
var _Config = _interopRequireDefault(require("./Config"));
|
|
10
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
11
|
-
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
12
|
-
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
13
|
-
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); }
|
|
14
|
-
const CircleImage = _ref => {
|
|
15
|
-
let {
|
|
16
|
-
source = _Config.default.placeholderImageURL,
|
|
17
|
-
size = 60,
|
|
18
|
-
style,
|
|
19
|
-
...props
|
|
20
|
-
} = _ref;
|
|
21
|
-
const borderRadius = size / 2;
|
|
22
|
-
return /*#__PURE__*/React.createElement(_reactNative.Image, _extends({
|
|
23
|
-
style: [{
|
|
24
|
-
width: size,
|
|
25
|
-
height: size,
|
|
26
|
-
borderRadius
|
|
27
|
-
}, style],
|
|
28
|
-
source: typeof source === "string" ? {
|
|
29
|
-
uri: source
|
|
30
|
-
} : source,
|
|
31
|
-
resizeMode: "cover"
|
|
32
|
-
}, props));
|
|
33
|
-
};
|
|
34
|
-
var _default = CircleImage;
|
|
35
|
-
exports.default = _default;
|
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
var _react = _interopRequireDefault(require("react"));
|
|
8
|
-
var _reactNative = require("react-native");
|
|
9
|
-
var _reactNativeSvg = require("react-native-svg");
|
|
10
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
11
|
-
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
12
|
-
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
13
|
-
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
14
|
-
class CircularProgress extends _react.default.Component {
|
|
15
|
-
constructor() {
|
|
16
|
-
super(...arguments);
|
|
17
|
-
_defineProperty(this, "polarToCartesian", (centerX, centerY, radius, angleInDegrees) => {
|
|
18
|
-
var angleInRadians = (angleInDegrees - 90) * Math.PI / 180.0;
|
|
19
|
-
return {
|
|
20
|
-
x: centerX + radius * Math.cos(angleInRadians),
|
|
21
|
-
y: centerY + radius * Math.sin(angleInRadians)
|
|
22
|
-
};
|
|
23
|
-
});
|
|
24
|
-
_defineProperty(this, "circlePath", (x, y, radius, startAngle, endAngle) => {
|
|
25
|
-
var start = this.polarToCartesian(x, y, radius, endAngle * 0.9999);
|
|
26
|
-
var end = this.polarToCartesian(x, y, radius, startAngle);
|
|
27
|
-
var largeArcFlag = endAngle - startAngle <= 180 ? "0" : "1";
|
|
28
|
-
var d = ["M", start.x, start.y, "A", radius, radius, 0, largeArcFlag, 0, end.x, end.y];
|
|
29
|
-
return d.join(" ");
|
|
30
|
-
});
|
|
31
|
-
_defineProperty(this, "clampFill", fill => Math.min(100, Math.max(0, fill)));
|
|
32
|
-
}
|
|
33
|
-
render() {
|
|
34
|
-
const {
|
|
35
|
-
size,
|
|
36
|
-
width,
|
|
37
|
-
backgroundWidth,
|
|
38
|
-
tintColor = "black",
|
|
39
|
-
tintTransparency = true,
|
|
40
|
-
backgroundColor,
|
|
41
|
-
style,
|
|
42
|
-
rotation = 90,
|
|
43
|
-
lineCap = "butt",
|
|
44
|
-
arcSweepAngle = 360,
|
|
45
|
-
fill,
|
|
46
|
-
children,
|
|
47
|
-
childrenContainerStyle,
|
|
48
|
-
padding = 0,
|
|
49
|
-
renderCap,
|
|
50
|
-
dashedBackground = {
|
|
51
|
-
width: 0,
|
|
52
|
-
gap: 0
|
|
53
|
-
},
|
|
54
|
-
dashedTint = {
|
|
55
|
-
width: 0,
|
|
56
|
-
gap: 0
|
|
57
|
-
}
|
|
58
|
-
} = this.props;
|
|
59
|
-
const maxWidthCircle = backgroundWidth ? Math.max(width, backgroundWidth) : width;
|
|
60
|
-
const sizeWithPadding = size / 2 + padding / 2;
|
|
61
|
-
const radius = size / 2 - maxWidthCircle / 2 - padding / 2;
|
|
62
|
-
const currentFillAngle = arcSweepAngle * this.clampFill(fill) / 100;
|
|
63
|
-
const backgroundPath = this.circlePath(sizeWithPadding, sizeWithPadding, radius, tintTransparency ? 0 : currentFillAngle, arcSweepAngle);
|
|
64
|
-
const circlePathItem = this.circlePath(sizeWithPadding, sizeWithPadding, radius, 0, currentFillAngle);
|
|
65
|
-
const coordinate = this.polarToCartesian(sizeWithPadding, sizeWithPadding, radius, currentFillAngle);
|
|
66
|
-
const cap = renderCap ? renderCap({
|
|
67
|
-
center: coordinate
|
|
68
|
-
}) : null;
|
|
69
|
-
const offset = size - maxWidthCircle * 2;
|
|
70
|
-
const localChildrenContainerStyle = [{
|
|
71
|
-
position: "absolute",
|
|
72
|
-
left: maxWidthCircle + padding / 2,
|
|
73
|
-
top: maxWidthCircle + padding / 2,
|
|
74
|
-
width: offset,
|
|
75
|
-
height: offset,
|
|
76
|
-
borderRadius: offset / 2,
|
|
77
|
-
alignItems: "center",
|
|
78
|
-
justifyContent: "center",
|
|
79
|
-
overflow: "hidden"
|
|
80
|
-
}, childrenContainerStyle];
|
|
81
|
-
const strokeDasharrayTint = dashedTint.gap > 0 ? Object.values(dashedTint).map(value => value.toString()).join(" ") : "";
|
|
82
|
-
const strokeDasharrayBackground = dashedBackground.gap > 0 ? Object.values(dashedBackground).map(value => value.toString()).join(" ") : "";
|
|
83
|
-
return /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
84
|
-
style: style
|
|
85
|
-
}, /*#__PURE__*/_react.default.createElement(_reactNativeSvg.Svg, {
|
|
86
|
-
width: size + padding,
|
|
87
|
-
height: size + padding
|
|
88
|
-
}, /*#__PURE__*/_react.default.createElement(_reactNativeSvg.G, {
|
|
89
|
-
rotation: rotation,
|
|
90
|
-
originX: (size + padding) / 2,
|
|
91
|
-
originY: (size + padding) / 2
|
|
92
|
-
}, backgroundColor && /*#__PURE__*/_react.default.createElement(_reactNativeSvg.Path, {
|
|
93
|
-
d: backgroundPath,
|
|
94
|
-
stroke: backgroundColor,
|
|
95
|
-
strokeWidth: backgroundWidth || width,
|
|
96
|
-
strokeLinecap: lineCap,
|
|
97
|
-
strokeDasharray: strokeDasharrayBackground,
|
|
98
|
-
fill: "transparent"
|
|
99
|
-
}), fill > 0 && /*#__PURE__*/_react.default.createElement(_reactNativeSvg.Path, {
|
|
100
|
-
d: circlePathItem,
|
|
101
|
-
stroke: tintColor,
|
|
102
|
-
strokeWidth: width,
|
|
103
|
-
strokeLinecap: lineCap,
|
|
104
|
-
strokeDasharray: strokeDasharrayTint,
|
|
105
|
-
fill: "transparent"
|
|
106
|
-
}), cap)), children && /*#__PURE__*/_react.default.createElement(_reactNative.View, {
|
|
107
|
-
style: localChildrenContainerStyle
|
|
108
|
-
}, children(fill)));
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
var _default = CircularProgress;
|
|
112
|
-
exports.default = _default;
|
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
var React = _interopRequireWildcard(require("react"));
|
|
8
|
-
var _reactNative = require("react-native");
|
|
9
|
-
var _theming = require("../theming");
|
|
10
|
-
var _Elevation = _interopRequireDefault(require("./Elevation"));
|
|
11
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
12
|
-
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
13
|
-
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
14
|
-
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); }
|
|
15
|
-
const Container = _ref => {
|
|
16
|
-
let {
|
|
17
|
-
useThemeGutterPadding,
|
|
18
|
-
borderColor,
|
|
19
|
-
borderWidth,
|
|
20
|
-
backgroundColor,
|
|
21
|
-
backgroundImage,
|
|
22
|
-
backgroundImageResizeMode,
|
|
23
|
-
elevation,
|
|
24
|
-
style,
|
|
25
|
-
children,
|
|
26
|
-
theme,
|
|
27
|
-
// eslint-disable-line @typescript-eslint/no-unused-vars
|
|
28
|
-
...rest
|
|
29
|
-
} = _ref;
|
|
30
|
-
const {
|
|
31
|
-
flex,
|
|
32
|
-
flexGrow,
|
|
33
|
-
flexWrap,
|
|
34
|
-
flexBasis,
|
|
35
|
-
flexShrink,
|
|
36
|
-
flexDirection,
|
|
37
|
-
alignContent,
|
|
38
|
-
justifyContent,
|
|
39
|
-
alignItems,
|
|
40
|
-
padding,
|
|
41
|
-
paddingTop,
|
|
42
|
-
paddingBottom,
|
|
43
|
-
paddingLeft,
|
|
44
|
-
paddingRight,
|
|
45
|
-
paddingVertical,
|
|
46
|
-
paddingHorizontal,
|
|
47
|
-
...styleProp
|
|
48
|
-
} = _reactNative.StyleSheet.flatten(style) || {};
|
|
49
|
-
const containerStyle = {
|
|
50
|
-
backgroundColor,
|
|
51
|
-
borderColor,
|
|
52
|
-
borderWidth,
|
|
53
|
-
width: "100%",
|
|
54
|
-
...styleProp
|
|
55
|
-
};
|
|
56
|
-
const innerStyle = {
|
|
57
|
-
flex,
|
|
58
|
-
flexGrow,
|
|
59
|
-
flexWrap,
|
|
60
|
-
flexBasis,
|
|
61
|
-
flexShrink,
|
|
62
|
-
flexDirection,
|
|
63
|
-
alignContent,
|
|
64
|
-
justifyContent,
|
|
65
|
-
alignItems,
|
|
66
|
-
padding,
|
|
67
|
-
paddingTop,
|
|
68
|
-
paddingBottom,
|
|
69
|
-
paddingLeft,
|
|
70
|
-
paddingRight,
|
|
71
|
-
paddingVertical,
|
|
72
|
-
paddingHorizontal: paddingHorizontal || useThemeGutterPadding ? 16 : 0
|
|
73
|
-
};
|
|
74
|
-
const Wrap = elevation ? _Elevation.default : _reactNative.View;
|
|
75
|
-
if (elevation) containerStyle.elevation = elevation;
|
|
76
|
-
return /*#__PURE__*/React.createElement(Wrap, _extends({
|
|
77
|
-
style: [containerStyle, style]
|
|
78
|
-
}, rest), backgroundImage ? /*#__PURE__*/React.createElement(_reactNative.ImageBackground, {
|
|
79
|
-
source: typeof backgroundImage === "string" ? {
|
|
80
|
-
uri: backgroundImage
|
|
81
|
-
} : backgroundImage,
|
|
82
|
-
resizeMode: backgroundImageResizeMode,
|
|
83
|
-
style: {
|
|
84
|
-
flex: 1
|
|
85
|
-
}
|
|
86
|
-
}, /*#__PURE__*/React.createElement(_reactNative.View, {
|
|
87
|
-
style: innerStyle
|
|
88
|
-
}, children)) : /*#__PURE__*/React.createElement(_reactNative.View, {
|
|
89
|
-
style: innerStyle
|
|
90
|
-
}, children));
|
|
91
|
-
};
|
|
92
|
-
var _default = (0, _theming.withTheme)(Container);
|
|
93
|
-
exports.default = _default;
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
var _react = _interopRequireDefault(require("react"));
|
|
8
|
-
var _theming = require("../theming");
|
|
9
|
-
var _Touchable = _interopRequireDefault(require("./Touchable"));
|
|
10
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
11
|
-
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); }
|
|
12
|
-
const getWidth = numColumns => {
|
|
13
|
-
switch (numColumns) {
|
|
14
|
-
case 1:
|
|
15
|
-
return "33%";
|
|
16
|
-
case 2:
|
|
17
|
-
return "50%";
|
|
18
|
-
default:
|
|
19
|
-
return "100%";
|
|
20
|
-
}
|
|
21
|
-
};
|
|
22
|
-
const Card = _ref => {
|
|
23
|
-
let {
|
|
24
|
-
numColumns = 3,
|
|
25
|
-
children,
|
|
26
|
-
onPress,
|
|
27
|
-
style,
|
|
28
|
-
...rest
|
|
29
|
-
} = _ref;
|
|
30
|
-
const width = getWidth(numColumns);
|
|
31
|
-
return /*#__PURE__*/_react.default.createElement(_Touchable.default, _extends({
|
|
32
|
-
disabled: !onPress,
|
|
33
|
-
onPress: onPress,
|
|
34
|
-
style: [style, {
|
|
35
|
-
width
|
|
36
|
-
}]
|
|
37
|
-
}, rest), children);
|
|
38
|
-
};
|
|
39
|
-
var _default = (0, _theming.withTheme)(Card);
|
|
40
|
-
exports.default = _default;
|
|
@@ -1,158 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
var React = _interopRequireWildcard(require("react"));
|
|
8
|
-
var _reactNative = require("react-native");
|
|
9
|
-
var _color = _interopRequireDefault(require("color"));
|
|
10
|
-
var _Config = _interopRequireDefault(require("./Config"));
|
|
11
|
-
var _Text = _interopRequireDefault(require("./Text"));
|
|
12
|
-
var _Touchable = _interopRequireDefault(require("./Touchable"));
|
|
13
|
-
var _Elevation = _interopRequireDefault(require("./Elevation"));
|
|
14
|
-
var _theming = require("../theming");
|
|
15
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
16
|
-
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
17
|
-
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
18
|
-
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); }
|
|
19
|
-
const FAB = _ref => {
|
|
20
|
-
let {
|
|
21
|
-
Icon,
|
|
22
|
-
icon,
|
|
23
|
-
disabled = false,
|
|
24
|
-
type = "solid",
|
|
25
|
-
loading = false,
|
|
26
|
-
color: colorOverride,
|
|
27
|
-
label,
|
|
28
|
-
onPress,
|
|
29
|
-
elevation = 0,
|
|
30
|
-
style,
|
|
31
|
-
theme: {
|
|
32
|
-
colors,
|
|
33
|
-
disabledOpacity,
|
|
34
|
-
roundness,
|
|
35
|
-
typography
|
|
36
|
-
},
|
|
37
|
-
...rest
|
|
38
|
-
} = _ref;
|
|
39
|
-
let backgroundColor, borderColor, textColor, borderWidth;
|
|
40
|
-
const buttonColor = colorOverride || colors.primary;
|
|
41
|
-
if (type === "standard" || type === "extended" || type === "fixed") {
|
|
42
|
-
backgroundColor = buttonColor;
|
|
43
|
-
if (disabled) {
|
|
44
|
-
textColor = (0, _color.default)(colors.surface).alpha(disabledOpacity).rgb().string();
|
|
45
|
-
} else {
|
|
46
|
-
textColor = colors.surface;
|
|
47
|
-
}
|
|
48
|
-
} else {
|
|
49
|
-
backgroundColor = "transparent";
|
|
50
|
-
if (disabled) {
|
|
51
|
-
textColor = (0, _color.default)(buttonColor).alpha(disabledOpacity).rgb().string();
|
|
52
|
-
} else {
|
|
53
|
-
textColor = buttonColor;
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
if (type === "outline") {
|
|
57
|
-
if (disabled) {
|
|
58
|
-
borderColor = (0, _color.default)(buttonColor).alpha(disabledOpacity).rgb().string();
|
|
59
|
-
} else {
|
|
60
|
-
borderColor = buttonColor;
|
|
61
|
-
}
|
|
62
|
-
borderWidth = _reactNative.StyleSheet.hairlineWidth;
|
|
63
|
-
} else {
|
|
64
|
-
borderColor = "transparent";
|
|
65
|
-
borderWidth = 0;
|
|
66
|
-
}
|
|
67
|
-
const buttonStyle = {
|
|
68
|
-
backgroundColor,
|
|
69
|
-
borderColor,
|
|
70
|
-
borderWidth,
|
|
71
|
-
borderRadius: roundness,
|
|
72
|
-
alignItems: "center",
|
|
73
|
-
justifyContent: "center"
|
|
74
|
-
};
|
|
75
|
-
const buttonStyles = [styles.button, buttonStyle];
|
|
76
|
-
const contentStyle = [styles.content];
|
|
77
|
-
const textStyle = {
|
|
78
|
-
textAlign: "center",
|
|
79
|
-
color: textColor
|
|
80
|
-
};
|
|
81
|
-
const iconStyle = [styles.icon, {
|
|
82
|
-
width: _Config.default.buttonIconSize
|
|
83
|
-
}];
|
|
84
|
-
if (type === "standard" || type === "outline") {
|
|
85
|
-
buttonStyle.width = _Config.default.FABSize;
|
|
86
|
-
buttonStyle.height = _Config.default.FABSize;
|
|
87
|
-
buttonStyle.borderRadius = _Config.default.FABBorderRadius;
|
|
88
|
-
contentStyle.push({
|
|
89
|
-
width: _Config.default.FABSize,
|
|
90
|
-
height: _Config.default.FABSize
|
|
91
|
-
});
|
|
92
|
-
}
|
|
93
|
-
if (type === "extended" || type === "fixed") {
|
|
94
|
-
iconStyle.push({
|
|
95
|
-
marginLeft: 16,
|
|
96
|
-
marginRight: -8
|
|
97
|
-
});
|
|
98
|
-
textStyle.margin = 16;
|
|
99
|
-
}
|
|
100
|
-
if (type === "fixed") {
|
|
101
|
-
buttonStyles.push({
|
|
102
|
-
height: _Config.default.FABFixedHeight,
|
|
103
|
-
alignSelf: "stretch"
|
|
104
|
-
});
|
|
105
|
-
}
|
|
106
|
-
return /*#__PURE__*/React.createElement(_Elevation.default, {
|
|
107
|
-
style: [{
|
|
108
|
-
elevation
|
|
109
|
-
}, style]
|
|
110
|
-
}, /*#__PURE__*/React.createElement(_Touchable.default, _extends({}, rest, {
|
|
111
|
-
onPress: onPress,
|
|
112
|
-
accessibilityState: {
|
|
113
|
-
disabled
|
|
114
|
-
},
|
|
115
|
-
accessibilityRole: "button",
|
|
116
|
-
disabled: disabled || loading,
|
|
117
|
-
style: buttonStyles
|
|
118
|
-
}), /*#__PURE__*/React.createElement(_reactNative.View, {
|
|
119
|
-
style: styles.content
|
|
120
|
-
}, icon && loading !== true ? /*#__PURE__*/React.createElement(_reactNative.View, {
|
|
121
|
-
style: iconStyle
|
|
122
|
-
}, /*#__PURE__*/React.createElement(Icon, {
|
|
123
|
-
name: icon,
|
|
124
|
-
size: _Config.default.buttonIconSize,
|
|
125
|
-
color: textColor
|
|
126
|
-
})) : null, loading ? /*#__PURE__*/React.createElement(_reactNative.ActivityIndicator, {
|
|
127
|
-
size: "small",
|
|
128
|
-
color: textColor,
|
|
129
|
-
style: iconStyle
|
|
130
|
-
}) : null, label ? /*#__PURE__*/React.createElement(_Text.default, {
|
|
131
|
-
numberOfLines: 1,
|
|
132
|
-
style: [textStyle, typography.button]
|
|
133
|
-
}, label) : null)));
|
|
134
|
-
};
|
|
135
|
-
const styles = _reactNative.StyleSheet.create({
|
|
136
|
-
button: {
|
|
137
|
-
borderStyle: "solid"
|
|
138
|
-
},
|
|
139
|
-
content: {
|
|
140
|
-
flexDirection: "row",
|
|
141
|
-
alignItems: "center",
|
|
142
|
-
justifyContent: "center"
|
|
143
|
-
},
|
|
144
|
-
icon: {
|
|
145
|
-
alignItems: "center",
|
|
146
|
-
justifyContent: "center",
|
|
147
|
-
width: _Config.default.buttonIconSize
|
|
148
|
-
},
|
|
149
|
-
fixed: {
|
|
150
|
-
left: 0,
|
|
151
|
-
right: 0,
|
|
152
|
-
bottom: 0,
|
|
153
|
-
height: 64,
|
|
154
|
-
borderRadius: 0
|
|
155
|
-
}
|
|
156
|
-
});
|
|
157
|
-
var _default = (0, _theming.withTheme)(FAB);
|
|
158
|
-
exports.default = _default;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
var React = _interopRequireWildcard(require("react"));
|
|
8
|
-
var _reactNative = require("react-native");
|
|
9
|
-
var _theming = require("../theming");
|
|
10
|
-
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
11
|
-
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
12
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
13
|
-
const Divider = _ref => {
|
|
14
|
-
let {
|
|
15
|
-
style,
|
|
16
|
-
color,
|
|
17
|
-
theme: {
|
|
18
|
-
colors
|
|
19
|
-
},
|
|
20
|
-
...rest
|
|
21
|
-
} = _ref;
|
|
22
|
-
return /*#__PURE__*/React.createElement(_reactNative.View, _extends({
|
|
23
|
-
style: [{
|
|
24
|
-
backgroundColor: color || colors.divider,
|
|
25
|
-
height: _reactNative.StyleSheet.hairlineWidth
|
|
26
|
-
}, style]
|
|
27
|
-
}, rest));
|
|
28
|
-
};
|
|
29
|
-
var _default = (0, _theming.withTheme)(Divider);
|
|
30
|
-
exports.default = _default;
|
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
var React = _interopRequireWildcard(require("react"));
|
|
8
|
-
var _reactNative = require("react-native");
|
|
9
|
-
var _theming = require("../theming");
|
|
10
|
-
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
11
|
-
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
12
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
13
|
-
const FAB = _ref => {
|
|
14
|
-
let {
|
|
15
|
-
onPress,
|
|
16
|
-
disabled,
|
|
17
|
-
loading,
|
|
18
|
-
iconName = "MaterialIcons/add",
|
|
19
|
-
style,
|
|
20
|
-
theme,
|
|
21
|
-
iconColor,
|
|
22
|
-
bgColor,
|
|
23
|
-
size = 50,
|
|
24
|
-
Icon,
|
|
25
|
-
...props
|
|
26
|
-
} = _ref;
|
|
27
|
-
const backgroundColor = bgColor || theme.colors.primary;
|
|
28
|
-
const color = iconColor || "#FFF";
|
|
29
|
-
return /*#__PURE__*/React.createElement(_reactNative.View, {
|
|
30
|
-
style: [{
|
|
31
|
-
width: size,
|
|
32
|
-
height: size,
|
|
33
|
-
borderRadius: size / 2,
|
|
34
|
-
overflow: "hidden"
|
|
35
|
-
}, style]
|
|
36
|
-
}, /*#__PURE__*/React.createElement(_reactNative.Pressable, _extends({
|
|
37
|
-
onPress: onPress,
|
|
38
|
-
disabled: loading || disabled,
|
|
39
|
-
android_ripple: {
|
|
40
|
-
color: "#333",
|
|
41
|
-
radius: size / 4
|
|
42
|
-
},
|
|
43
|
-
style: _ref2 => {
|
|
44
|
-
let {
|
|
45
|
-
pressed
|
|
46
|
-
} = _ref2;
|
|
47
|
-
return [styles.button, {
|
|
48
|
-
opacity: pressed || disabled ? 0.75 : 1,
|
|
49
|
-
width: size,
|
|
50
|
-
height: size,
|
|
51
|
-
borderRadius: size / 2,
|
|
52
|
-
backgroundColor
|
|
53
|
-
}];
|
|
54
|
-
}
|
|
55
|
-
}, props), /*#__PURE__*/React.createElement(_reactNative.View, null, loading ? /*#__PURE__*/React.createElement(_reactNative.ActivityIndicator, {
|
|
56
|
-
style: size > 50 ? {
|
|
57
|
-
marginTop: 2,
|
|
58
|
-
marginLeft: 2
|
|
59
|
-
} : undefined,
|
|
60
|
-
size: size <= 50 ? "small" : "large",
|
|
61
|
-
color: color
|
|
62
|
-
}) : /*#__PURE__*/React.createElement(Icon, {
|
|
63
|
-
name: iconName,
|
|
64
|
-
size: size,
|
|
65
|
-
color: color
|
|
66
|
-
}))));
|
|
67
|
-
};
|
|
68
|
-
const styles = _reactNative.StyleSheet.create({
|
|
69
|
-
button: {
|
|
70
|
-
backgroundColor: "#5a45ff",
|
|
71
|
-
justifyContent: "center",
|
|
72
|
-
alignItems: "center",
|
|
73
|
-
..._reactNative.Platform.select({
|
|
74
|
-
web: {
|
|
75
|
-
cursor: "pointer",
|
|
76
|
-
userSelect: "none"
|
|
77
|
-
}
|
|
78
|
-
})
|
|
79
|
-
}
|
|
80
|
-
});
|
|
81
|
-
var _default = (0, _theming.withTheme)(FAB);
|
|
82
|
-
exports.default = _default;
|