@draftbit/core 46.10.3-6c7505.2 → 46.10.3-7476ab.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/components/AnimatedCircularProgress.js +12 -1
- package/lib/commonjs/components/AspectRatio.js +17 -1
- package/lib/commonjs/components/BottomSheet/BottomSheet.js +22 -4
- package/lib/commonjs/components/Button.js +33 -10
- package/lib/commonjs/components/Checkbox/CheckboxGroupRow.js +23 -5
- package/lib/commonjs/components/Checkbox/context.js +1 -1
- package/lib/commonjs/components/CircleImage.js +15 -1
- package/lib/commonjs/components/CircularProgress.js +26 -8
- package/lib/commonjs/components/DatePicker/DatePicker.js +26 -13
- package/lib/commonjs/components/Divider.js +14 -1
- package/lib/commonjs/components/Elevation.js +14 -2
- package/lib/commonjs/components/IconButton.js +4 -19
- package/lib/commonjs/components/Image.js +17 -2
- package/lib/commonjs/components/Layout.js +19 -40
- package/lib/commonjs/components/Picker/PickerComponent.android.js +20 -3
- package/lib/commonjs/components/Portal/PortalHost.js +44 -15
- package/lib/commonjs/components/RadioButton/RadioButton.js +13 -2
- package/lib/commonjs/components/RadioButton/RadioButtonRow.js +23 -5
- package/lib/commonjs/components/RadioButton/context.js +1 -1
- package/lib/commonjs/components/Shadow.js +15 -2
- package/lib/commonjs/components/StarRating.js +23 -4
- package/lib/commonjs/components/Switch.js +19 -10
- package/lib/commonjs/components/TabView/TabView.js +13 -7
- package/lib/commonjs/components/Table/Table.js +5 -5
- package/lib/commonjs/constants.js +1 -1
- package/lib/commonjs/mappings/Accordion.js +49 -0
- package/lib/commonjs/mappings/AccordionItem.js +24 -0
- package/lib/commonjs/mappings/ActionSheet.js +21 -0
- package/lib/commonjs/mappings/ActionSheetCancel.js +27 -0
- package/lib/commonjs/mappings/ActionSheetItem.js +31 -0
- package/lib/commonjs/mappings/ActivityIndicator.js +64 -0
- package/lib/commonjs/mappings/AudioPlayer.js +57 -0
- package/lib/commonjs/mappings/AvatarEdit.js +45 -0
- package/lib/commonjs/mappings/Banner.js +39 -0
- package/lib/commonjs/mappings/BlurView.js +49 -0
- package/lib/commonjs/mappings/BottomSheet.js +70 -0
- package/lib/commonjs/mappings/Button.js +95 -0
- package/lib/commonjs/mappings/Card.js +60 -0
- package/lib/commonjs/mappings/Carousel.js +24 -0
- package/lib/commonjs/mappings/Checkbox.js +53 -0
- package/lib/commonjs/mappings/CheckboxGroup.js +33 -0
- package/lib/commonjs/mappings/CheckboxRow.js +64 -0
- package/lib/commonjs/mappings/CircleImage.js +32 -0
- package/lib/commonjs/mappings/CustomCode.js +15 -0
- package/lib/commonjs/mappings/DatePicker.js +181 -0
- package/lib/commonjs/mappings/DeckSwiper.js +55 -0
- package/lib/commonjs/mappings/DeckSwiperCard.js +23 -0
- package/lib/commonjs/mappings/Divider.js +32 -0
- package/lib/commonjs/mappings/FAB.js +44 -0
- package/lib/commonjs/mappings/Fetch.js +20 -0
- package/lib/commonjs/mappings/FieldSearchBarFull.js +58 -0
- package/lib/commonjs/mappings/FlashList.js +111 -0
- package/lib/commonjs/mappings/FlatList.js +58 -0
- package/lib/commonjs/mappings/Icon.js +33 -0
- package/lib/commonjs/mappings/IconButton.js +36 -0
- package/lib/commonjs/mappings/Image.js +36 -0
- package/lib/commonjs/mappings/ImageBackground.js +36 -0
- package/lib/commonjs/mappings/KeyboardAvoidingView.js +48 -0
- package/lib/commonjs/mappings/KeyboardAwareScrollView.js +57 -0
- package/lib/commonjs/mappings/Layout.js +200 -0
- package/lib/commonjs/mappings/LinearGradient.js +88 -0
- package/lib/commonjs/mappings/MapCallout.js +29 -0
- package/lib/commonjs/mappings/MapMarker.js +55 -0
- package/lib/commonjs/mappings/MapView.js +142 -0
- package/lib/commonjs/mappings/Markdown.js +27 -0
- package/lib/commonjs/mappings/Modal.js +49 -0
- package/lib/commonjs/mappings/NativeBase/Layout.js +108 -0
- package/lib/commonjs/mappings/NumberInput.js +238 -0
- package/lib/commonjs/mappings/Picker.js +154 -0
- package/lib/commonjs/mappings/ProgressBar.js +106 -0
- package/lib/commonjs/mappings/ProgressCircle.js +116 -0
- package/lib/commonjs/mappings/RadioButton.js +58 -0
- package/lib/commonjs/mappings/RadioButtonGroup.js +24 -0
- package/lib/commonjs/mappings/RadioButtonRow.js +45 -0
- package/lib/commonjs/mappings/RowBodyIcon.js +79 -0
- package/lib/commonjs/mappings/RowHeadlineImageCaption.js +169 -0
- package/lib/commonjs/mappings/RowHeadlineImageIcon.js +99 -0
- package/lib/commonjs/mappings/SVG.js +22 -0
- package/lib/commonjs/mappings/SafeAreaView.js +40 -0
- package/lib/commonjs/mappings/ScrollView.js +44 -0
- package/lib/commonjs/mappings/Shadow.js +102 -0
- package/lib/commonjs/mappings/Slider.js +67 -0
- package/lib/commonjs/mappings/StarRating.js +57 -0
- package/lib/commonjs/mappings/Stepper.js +38 -0
- package/lib/commonjs/mappings/Surface.js +21 -0
- package/lib/commonjs/mappings/Swiper.js +70 -0
- package/lib/commonjs/mappings/SwiperItem.js +16 -0
- package/lib/commonjs/mappings/Switch.js +81 -0
- package/lib/commonjs/mappings/TabView.js +74 -0
- package/lib/commonjs/mappings/TabViewItem.js +37 -0
- package/lib/commonjs/mappings/Table.js +140 -0
- package/lib/commonjs/mappings/Text.js +234 -0
- package/lib/commonjs/mappings/TextArea.js +254 -0
- package/lib/commonjs/mappings/TextField.js +360 -0
- package/lib/commonjs/mappings/TextInput.js +345 -0
- package/lib/commonjs/mappings/ToggleButton.js +53 -0
- package/lib/commonjs/mappings/Touchable.js +67 -0
- package/lib/commonjs/mappings/Video.js +82 -0
- package/lib/commonjs/mappings/View.js +186 -0
- package/lib/commonjs/mappings/WebView.js +93 -0
- package/lib/commonjs/mappings/YoutubePlayer.js +38 -0
- package/lib/module/components/AspectRatio.js +18 -1
- package/lib/module/components/BottomSheet/BottomSheet.js +24 -4
- package/lib/module/components/Button.js +33 -10
- package/lib/module/components/Checkbox/Checkbox.js +3 -4
- package/lib/module/components/Checkbox/CheckboxRow.js +24 -6
- package/lib/module/components/Checkbox/context.js +1 -1
- package/lib/module/components/DatePicker/DatePicker.js +27 -13
- package/lib/module/components/DeckSwiper/DeckSwiper.js +1 -4
- package/lib/module/components/DeprecatedButton.js +21 -3
- package/lib/module/components/Divider.js +18 -1
- package/lib/module/components/FormRow.js +17 -2
- package/lib/module/components/NumberInput.js +11 -3
- package/lib/module/components/Picker/PickerComponent.android.js +21 -3
- package/lib/module/components/Portal/PortalHost.js +45 -15
- package/lib/module/components/RadioButton/RadioButtonFieldGroup.js +10 -1
- package/lib/module/components/Shadow.js +15 -2
- package/lib/module/components/StarRating.js +24 -4
- package/lib/module/components/StepIndicator.js +58 -18
- package/lib/module/components/TabView/TabView.js +17 -7
- package/lib/module/components/Table/Table.js +6 -5
- package/lib/module/components/Table/TableRow.js +1 -2
- package/lib/module/constants.js +1 -0
- package/lib/module/mappings/Accordion.js +42 -0
- package/lib/module/mappings/AccordionItem.js +17 -0
- package/lib/module/mappings/ActionSheet.js +14 -0
- package/lib/module/mappings/ActionSheetCancel.js +20 -0
- package/lib/module/mappings/ActionSheetItem.js +24 -0
- package/lib/module/mappings/ActivityIndicator.js +57 -0
- package/lib/module/mappings/AudioPlayer.js +50 -0
- package/lib/module/mappings/AvatarEdit.js +38 -0
- package/lib/module/mappings/Banner.js +32 -0
- package/lib/module/mappings/BlurView.js +42 -0
- package/lib/module/mappings/BottomSheet.js +63 -0
- package/lib/module/mappings/Button.js +88 -0
- package/lib/module/mappings/Card.js +53 -0
- package/lib/module/mappings/Carousel.js +17 -0
- package/lib/module/mappings/Checkbox.js +46 -0
- package/lib/module/mappings/CheckboxGroup.js +26 -0
- package/lib/module/mappings/CheckboxRow.js +57 -0
- package/lib/module/mappings/CircleImage.js +25 -0
- package/lib/module/mappings/CustomCode.js +8 -0
- package/lib/module/mappings/DatePicker.js +174 -0
- package/lib/module/mappings/DeckSwiper.js +48 -0
- package/lib/module/mappings/DeckSwiperCard.js +16 -0
- package/lib/module/mappings/Divider.js +25 -0
- package/lib/module/mappings/FAB.js +37 -0
- package/lib/module/mappings/Fetch.js +13 -0
- package/lib/module/mappings/FieldSearchBarFull.js +52 -0
- package/lib/module/mappings/FlashList.js +104 -0
- package/lib/module/mappings/FlatList.js +51 -0
- package/lib/module/mappings/Icon.js +26 -0
- package/lib/module/mappings/IconButton.js +29 -0
- package/lib/module/mappings/Image.js +29 -0
- package/lib/module/mappings/ImageBackground.js +29 -0
- package/lib/module/mappings/KeyboardAvoidingView.js +41 -0
- package/lib/module/mappings/KeyboardAwareScrollView.js +50 -0
- package/lib/module/mappings/Layout.js +193 -0
- package/lib/module/mappings/LinearGradient.js +81 -0
- package/lib/module/mappings/MapCallout.js +22 -0
- package/lib/module/mappings/MapMarker.js +48 -0
- package/lib/module/mappings/MapView.js +135 -0
- package/lib/module/mappings/Markdown.js +20 -0
- package/lib/module/mappings/Modal.js +42 -0
- package/lib/module/mappings/NativeBase/Layout.js +101 -0
- package/lib/module/mappings/NumberInput.js +230 -0
- package/lib/module/mappings/Picker.js +147 -0
- package/lib/module/mappings/ProgressBar.js +99 -0
- package/lib/module/mappings/ProgressCircle.js +109 -0
- package/lib/module/mappings/RadioButton.js +51 -0
- package/lib/module/mappings/RadioButtonGroup.js +17 -0
- package/lib/module/mappings/RadioButtonRow.js +38 -0
- package/lib/module/mappings/RowBodyIcon.js +72 -0
- package/lib/module/mappings/RowHeadlineImageCaption.js +162 -0
- package/lib/module/mappings/RowHeadlineImageIcon.js +92 -0
- package/lib/module/mappings/SVG.js +15 -0
- package/lib/module/mappings/SafeAreaView.js +33 -0
- package/lib/module/mappings/ScrollView.js +37 -0
- package/lib/module/mappings/Shadow.js +95 -0
- package/lib/module/mappings/Slider.js +60 -0
- package/lib/module/mappings/StarRating.js +51 -0
- package/lib/module/mappings/Stepper.js +31 -0
- package/lib/module/mappings/Surface.js +14 -0
- package/lib/module/mappings/Swiper.js +63 -0
- package/lib/module/mappings/SwiperItem.js +9 -0
- package/lib/module/mappings/Switch.js +74 -0
- package/lib/module/mappings/TabView.js +67 -0
- package/lib/module/mappings/TabViewItem.js +30 -0
- package/lib/module/mappings/Table.js +133 -0
- package/lib/module/mappings/Text.js +227 -0
- package/lib/module/mappings/TextArea.js +247 -0
- package/lib/module/mappings/TextField.js +353 -0
- package/lib/module/mappings/TextInput.js +337 -0
- package/lib/module/mappings/ToggleButton.js +46 -0
- package/lib/module/mappings/Touchable.js +60 -0
- package/lib/module/mappings/Video.js +75 -0
- package/lib/module/mappings/View.js +179 -0
- package/lib/module/mappings/WebView.js +86 -0
- package/lib/module/mappings/YoutubePlayer.js +31 -0
- package/lib/module/utilities.js +1 -2
- package/lib/typescript/src/mappings/Accordion.d.ts +90 -0
- package/lib/typescript/src/mappings/Accordion.d.ts.map +1 -0
- package/lib/typescript/src/mappings/AccordionItem.d.ts +31 -0
- package/lib/typescript/src/mappings/AccordionItem.d.ts.map +1 -0
- package/lib/typescript/src/mappings/ActionSheet.d.ts +20 -0
- package/lib/typescript/src/mappings/ActionSheet.d.ts.map +1 -0
- package/lib/typescript/src/mappings/ActionSheetCancel.d.ts +32 -0
- package/lib/typescript/src/mappings/ActionSheetCancel.d.ts.map +1 -0
- package/lib/typescript/src/mappings/ActionSheetItem.d.ts +35 -0
- package/lib/typescript/src/mappings/ActionSheetItem.d.ts.map +1 -0
- package/lib/typescript/src/mappings/ActivityIndicator.d.ts +57 -0
- package/lib/typescript/src/mappings/ActivityIndicator.d.ts.map +1 -0
- package/lib/typescript/src/mappings/AudioPlayer.d.ts +81 -0
- package/lib/typescript/src/mappings/AudioPlayer.d.ts.map +1 -0
- package/lib/typescript/src/mappings/AvatarEdit.d.ts +38 -0
- package/lib/typescript/src/mappings/AvatarEdit.d.ts.map +1 -0
- package/lib/typescript/src/mappings/Banner.d.ts +49 -0
- package/lib/typescript/src/mappings/Banner.d.ts.map +1 -0
- package/lib/typescript/src/mappings/BlurView.d.ts +42 -0
- package/lib/typescript/src/mappings/BlurView.d.ts.map +1 -0
- package/lib/typescript/src/mappings/BottomSheet.d.ts +115 -0
- package/lib/typescript/src/mappings/BottomSheet.d.ts.map +1 -0
- package/lib/typescript/src/mappings/Button.d.ts +222 -0
- package/lib/typescript/src/mappings/Button.d.ts.map +1 -0
- package/lib/typescript/src/mappings/Card.d.ts +114 -0
- package/lib/typescript/src/mappings/Card.d.ts.map +1 -0
- package/lib/typescript/src/mappings/Carousel.d.ts +34 -0
- package/lib/typescript/src/mappings/Carousel.d.ts.map +1 -0
- package/lib/typescript/src/mappings/Checkbox.d.ts +83 -0
- package/lib/typescript/src/mappings/Checkbox.d.ts.map +1 -0
- package/lib/typescript/src/mappings/CheckboxGroup.d.ts +35 -0
- package/lib/typescript/src/mappings/CheckboxGroup.d.ts.map +1 -0
- package/lib/typescript/src/mappings/CheckboxRow.d.ts +108 -0
- package/lib/typescript/src/mappings/CheckboxRow.d.ts.map +1 -0
- package/lib/typescript/src/mappings/CircleImage.d.ts +34 -0
- package/lib/typescript/src/mappings/CircleImage.d.ts.map +1 -0
- package/lib/typescript/src/mappings/CustomCode.d.ts +8 -0
- package/lib/typescript/src/mappings/CustomCode.d.ts.map +1 -0
- package/lib/typescript/src/mappings/DatePicker.d.ts +168 -0
- package/lib/typescript/src/mappings/DatePicker.d.ts.map +1 -0
- package/lib/typescript/src/mappings/DeckSwiper.d.ts +86 -0
- package/lib/typescript/src/mappings/DeckSwiper.d.ts.map +1 -0
- package/lib/typescript/src/mappings/DeckSwiperCard.d.ts +16 -0
- package/lib/typescript/src/mappings/DeckSwiperCard.d.ts.map +1 -0
- package/lib/typescript/src/mappings/Divider.d.ts +25 -0
- package/lib/typescript/src/mappings/Divider.d.ts.map +1 -0
- package/lib/typescript/src/mappings/FAB.d.ts +83 -0
- package/lib/typescript/src/mappings/FAB.d.ts.map +1 -0
- package/lib/typescript/src/mappings/Fetch.d.ts +12 -0
- package/lib/typescript/src/mappings/Fetch.d.ts.map +1 -0
- package/lib/typescript/src/mappings/FieldSearchBarFull.d.ts +56 -0
- package/lib/typescript/src/mappings/FieldSearchBarFull.d.ts.map +1 -0
- package/lib/typescript/src/mappings/FlashList.d.ts +230 -0
- package/lib/typescript/src/mappings/FlashList.d.ts.map +1 -0
- package/lib/typescript/src/mappings/FlatList.d.ts +116 -0
- package/lib/typescript/src/mappings/FlatList.d.ts.map +1 -0
- package/lib/typescript/src/mappings/Icon.d.ts +42 -0
- package/lib/typescript/src/mappings/Icon.d.ts.map +1 -0
- package/lib/typescript/src/mappings/IconButton.d.ts +72 -0
- package/lib/typescript/src/mappings/IconButton.d.ts.map +1 -0
- package/lib/typescript/src/mappings/Image.d.ts +48 -0
- package/lib/typescript/src/mappings/Image.d.ts.map +1 -0
- package/lib/typescript/src/mappings/ImageBackground.d.ts +58 -0
- package/lib/typescript/src/mappings/ImageBackground.d.ts.map +1 -0
- package/lib/typescript/src/mappings/KeyboardAvoidingView.d.ts +41 -0
- package/lib/typescript/src/mappings/KeyboardAvoidingView.d.ts.map +1 -0
- package/lib/typescript/src/mappings/KeyboardAwareScrollView.d.ts +105 -0
- package/lib/typescript/src/mappings/KeyboardAwareScrollView.d.ts.map +1 -0
- package/lib/typescript/src/mappings/Layout.d.ts +169 -0
- package/lib/typescript/src/mappings/Layout.d.ts.map +1 -0
- package/lib/typescript/src/mappings/LinearGradient.d.ts +99 -0
- package/lib/typescript/src/mappings/LinearGradient.d.ts.map +1 -0
- package/lib/typescript/src/mappings/MapCallout.d.ts +33 -0
- package/lib/typescript/src/mappings/MapCallout.d.ts.map +1 -0
- package/lib/typescript/src/mappings/MapMarker.d.ts +56 -0
- package/lib/typescript/src/mappings/MapMarker.d.ts.map +1 -0
- package/lib/typescript/src/mappings/MapView.d.ts +172 -0
- package/lib/typescript/src/mappings/MapView.d.ts.map +1 -0
- package/lib/typescript/src/mappings/Markdown.d.ts +20 -0
- package/lib/typescript/src/mappings/Markdown.d.ts.map +1 -0
- package/lib/typescript/src/mappings/Modal.d.ts +52 -0
- package/lib/typescript/src/mappings/Modal.d.ts.map +1 -0
- package/lib/typescript/src/mappings/NativeBase/Layout.d.ts +133 -0
- package/lib/typescript/src/mappings/NativeBase/Layout.d.ts.map +1 -0
- package/lib/typescript/src/mappings/NumberInput.d.ts +299 -0
- package/lib/typescript/src/mappings/NumberInput.d.ts.map +1 -0
- package/lib/typescript/src/mappings/Picker.d.ts +170 -0
- package/lib/typescript/src/mappings/Picker.d.ts.map +1 -0
- package/lib/typescript/src/mappings/ProgressBar.d.ts +99 -0
- package/lib/typescript/src/mappings/ProgressBar.d.ts.map +1 -0
- package/lib/typescript/src/mappings/ProgressCircle.d.ts +109 -0
- package/lib/typescript/src/mappings/ProgressCircle.d.ts.map +1 -0
- package/lib/typescript/src/mappings/RadioButton.d.ts +72 -0
- package/lib/typescript/src/mappings/RadioButton.d.ts.map +1 -0
- package/lib/typescript/src/mappings/RadioButtonGroup.d.ts +34 -0
- package/lib/typescript/src/mappings/RadioButtonGroup.d.ts.map +1 -0
- package/lib/typescript/src/mappings/RadioButtonRow.d.ts +43 -0
- package/lib/typescript/src/mappings/RadioButtonRow.d.ts.map +1 -0
- package/lib/typescript/src/mappings/RowBodyIcon.d.ts +73 -0
- package/lib/typescript/src/mappings/RowBodyIcon.d.ts.map +1 -0
- package/lib/typescript/src/mappings/RowHeadlineImageCaption.d.ts +166 -0
- package/lib/typescript/src/mappings/RowHeadlineImageCaption.d.ts.map +1 -0
- package/lib/typescript/src/mappings/RowHeadlineImageIcon.d.ts +170 -0
- package/lib/typescript/src/mappings/RowHeadlineImageIcon.d.ts.map +1 -0
- package/lib/typescript/src/mappings/SVG.d.ts +24 -0
- package/lib/typescript/src/mappings/SVG.d.ts.map +1 -0
- package/lib/typescript/src/mappings/SafeAreaView.d.ts +33 -0
- package/lib/typescript/src/mappings/SafeAreaView.d.ts.map +1 -0
- package/lib/typescript/src/mappings/ScrollView.d.ts +72 -0
- package/lib/typescript/src/mappings/ScrollView.d.ts.map +1 -0
- package/lib/typescript/src/mappings/Shadow.d.ts +173 -0
- package/lib/typescript/src/mappings/Shadow.d.ts.map +1 -0
- package/lib/typescript/src/mappings/Slider.d.ts +110 -0
- package/lib/typescript/src/mappings/Slider.d.ts.map +1 -0
- package/lib/typescript/src/mappings/StarRating.d.ts +75 -0
- package/lib/typescript/src/mappings/StarRating.d.ts.map +1 -0
- package/lib/typescript/src/mappings/Stepper.d.ts +67 -0
- package/lib/typescript/src/mappings/Stepper.d.ts.map +1 -0
- package/lib/typescript/src/mappings/Surface.d.ts +24 -0
- package/lib/typescript/src/mappings/Surface.d.ts.map +1 -0
- package/lib/typescript/src/mappings/Swiper.d.ts +119 -0
- package/lib/typescript/src/mappings/Swiper.d.ts.map +1 -0
- package/lib/typescript/src/mappings/SwiperItem.d.ts +9 -0
- package/lib/typescript/src/mappings/SwiperItem.d.ts.map +1 -0
- package/lib/typescript/src/mappings/Switch.d.ts +164 -0
- package/lib/typescript/src/mappings/Switch.d.ts.map +1 -0
- package/lib/typescript/src/mappings/TabView.d.ts +123 -0
- package/lib/typescript/src/mappings/TabView.d.ts.map +1 -0
- package/lib/typescript/src/mappings/TabViewItem.d.ts +25 -0
- package/lib/typescript/src/mappings/TabViewItem.d.ts.map +1 -0
- package/lib/typescript/src/mappings/Table.d.ts +337 -0
- package/lib/typescript/src/mappings/Table.d.ts.map +1 -0
- package/lib/typescript/src/mappings/Text.d.ts +411 -0
- package/lib/typescript/src/mappings/Text.d.ts.map +1 -0
- package/lib/typescript/src/mappings/TextArea.d.ts +263 -0
- package/lib/typescript/src/mappings/TextArea.d.ts.map +1 -0
- package/lib/typescript/src/mappings/TextField.d.ts +629 -0
- package/lib/typescript/src/mappings/TextField.d.ts.map +1 -0
- package/lib/typescript/src/mappings/TextInput.d.ts +415 -0
- package/lib/typescript/src/mappings/TextInput.d.ts.map +1 -0
- package/lib/typescript/src/mappings/ToggleButton.d.ts +116 -0
- package/lib/typescript/src/mappings/ToggleButton.d.ts.map +1 -0
- package/lib/typescript/src/mappings/Touchable.d.ts +96 -0
- package/lib/typescript/src/mappings/Touchable.d.ts.map +1 -0
- package/lib/typescript/src/mappings/Video.d.ts +129 -0
- package/lib/typescript/src/mappings/Video.d.ts.map +1 -0
- package/lib/typescript/src/mappings/View.d.ts +179 -0
- package/lib/typescript/src/mappings/View.d.ts.map +1 -0
- package/lib/typescript/src/mappings/WebView.d.ts +135 -0
- package/lib/typescript/src/mappings/WebView.d.ts.map +1 -0
- package/lib/typescript/src/mappings/YoutubePlayer.d.ts +27 -0
- package/lib/typescript/src/mappings/YoutubePlayer.d.ts.map +1 -0
- package/package.json +3 -3
- package/src/mappings/Accordion.js +50 -0
- package/src/mappings/Accordion.ts +60 -0
- package/src/mappings/AccordionItem.js +17 -0
- package/src/mappings/AccordionItem.ts +24 -0
- package/src/mappings/ActionSheet.js +17 -0
- package/src/mappings/ActionSheet.ts +23 -0
- package/src/mappings/ActionSheetCancel.js +23 -0
- package/src/mappings/ActionSheetCancel.ts +32 -0
- package/src/mappings/ActionSheetItem.js +27 -0
- package/src/mappings/ActionSheetItem.ts +36 -0
- package/src/mappings/ActivityIndicator.js +58 -0
- package/src/mappings/ActivityIndicator.ts +68 -0
- package/src/mappings/AudioPlayer.js +57 -0
- package/src/mappings/AudioPlayer.ts +67 -0
- package/src/mappings/AvatarEdit.js +38 -0
- package/src/mappings/AvatarEdit.ts +45 -0
- package/src/mappings/Banner.js +32 -0
- package/src/mappings/Banner.ts +40 -0
- package/src/mappings/BlurView.js +42 -0
- package/src/mappings/BlurView.ts +51 -0
- package/src/mappings/BottomSheet.js +63 -0
- package/src/mappings/BottomSheet.ts +77 -0
- package/src/mappings/Button.js +116 -0
- package/src/mappings/Button.ts +130 -0
- package/src/mappings/Card.js +52 -0
- package/src/mappings/Card.ts +64 -0
- package/src/mappings/Carousel.js +19 -0
- package/src/mappings/Carousel.ts +25 -0
- package/src/mappings/Checkbox.js +46 -0
- package/src/mappings/Checkbox.ts +57 -0
- package/src/mappings/CheckboxGroup.js +26 -0
- package/src/mappings/CheckboxGroup.ts +37 -0
- package/src/mappings/CheckboxRow.js +61 -0
- package/src/mappings/CheckboxRow.ts +74 -0
- package/src/mappings/CircleImage.js +25 -0
- package/src/mappings/CircleImage.ts +33 -0
- package/src/mappings/CustomCode.js +8 -0
- package/src/mappings/CustomCode.ts +9 -0
- package/src/mappings/DatePicker.js +182 -0
- package/src/mappings/DatePicker.ts +197 -0
- package/src/mappings/DeckSwiper.js +48 -0
- package/src/mappings/DeckSwiper.ts +57 -0
- package/src/mappings/DeckSwiperCard.js +16 -0
- package/src/mappings/DeckSwiperCard.ts +20 -0
- package/src/mappings/Divider.js +27 -0
- package/src/mappings/Divider.ts +34 -0
- package/src/mappings/FAB.js +37 -0
- package/src/mappings/FAB.ts +48 -0
- package/src/mappings/Fetch.js +13 -0
- package/src/mappings/Fetch.ts +14 -0
- package/src/mappings/FieldSearchBarFull.js +50 -0
- package/src/mappings/FieldSearchBarFull.ts +59 -0
- package/src/mappings/FlashList.js +113 -0
- package/src/mappings/FlashList.ts +131 -0
- package/src/mappings/FlatList.js +51 -0
- package/src/mappings/FlatList.ts +64 -0
- package/src/mappings/Icon.js +32 -0
- package/src/mappings/Icon.ts +40 -0
- package/src/mappings/IconButton.js +33 -0
- package/src/mappings/IconButton.ts +44 -0
- package/src/mappings/Image.js +35 -0
- package/src/mappings/Image.ts +44 -0
- package/src/mappings/ImageBackground.js +29 -0
- package/src/mappings/ImageBackground.ts +41 -0
- package/src/mappings/KeyboardAvoidingView.js +41 -0
- package/src/mappings/KeyboardAvoidingView.ts +50 -0
- package/src/mappings/KeyboardAwareScrollView.js +50 -0
- package/src/mappings/KeyboardAwareScrollView.ts +63 -0
- package/src/mappings/Layout.js +200 -0
- package/src/mappings/Layout.ts +207 -0
- package/src/mappings/LinearGradient.js +82 -0
- package/src/mappings/LinearGradient.ts +89 -0
- package/src/mappings/MapCallout.js +26 -0
- package/src/mappings/MapCallout.ts +36 -0
- package/src/mappings/MapMarker.js +52 -0
- package/src/mappings/MapMarker.ts +62 -0
- package/src/mappings/MapView.js +142 -0
- package/src/mappings/MapView.ts +155 -0
- package/src/mappings/Markdown.js +25 -0
- package/src/mappings/Markdown.ts +32 -0
- package/src/mappings/Modal.js +42 -0
- package/src/mappings/Modal.ts +51 -0
- package/src/mappings/NativeBase/Layout.js +124 -0
- package/src/mappings/NativeBase/Layout.ts +145 -0
- package/src/mappings/NumberInput.js +254 -0
- package/src/mappings/NumberInput.ts +274 -0
- package/src/mappings/Picker.js +153 -0
- package/src/mappings/Picker.ts +169 -0
- package/src/mappings/ProgressBar.js +101 -0
- package/src/mappings/ProgressBar.ts +110 -0
- package/src/mappings/ProgressCircle.js +109 -0
- package/src/mappings/ProgressCircle.ts +117 -0
- package/src/mappings/RadioButton.js +51 -0
- package/src/mappings/RadioButton.ts +62 -0
- package/src/mappings/RadioButtonGroup.js +17 -0
- package/src/mappings/RadioButtonGroup.ts +24 -0
- package/src/mappings/RadioButtonRow.js +42 -0
- package/src/mappings/RadioButtonRow.ts +51 -0
- package/src/mappings/RowBodyIcon.js +75 -0
- package/src/mappings/RowBodyIcon.ts +82 -0
- package/src/mappings/RowHeadlineImageCaption.js +167 -0
- package/src/mappings/RowHeadlineImageCaption.ts +178 -0
- package/src/mappings/RowHeadlineImageIcon.js +99 -0
- package/src/mappings/RowHeadlineImageIcon.ts +116 -0
- package/src/mappings/SVG.js +20 -0
- package/src/mappings/SVG.ts +25 -0
- package/src/mappings/SafeAreaView.js +33 -0
- package/src/mappings/SafeAreaView.ts +39 -0
- package/src/mappings/ScrollView.js +37 -0
- package/src/mappings/ScrollView.ts +48 -0
- package/src/mappings/Shadow.js +95 -0
- package/src/mappings/Shadow.ts +104 -0
- package/src/mappings/Slider.js +60 -0
- package/src/mappings/Slider.ts +70 -0
- package/src/mappings/StarRating.js +43 -0
- package/src/mappings/StarRating.ts +52 -0
- package/src/mappings/Stepper.js +32 -0
- package/src/mappings/Stepper.ts +42 -0
- package/src/mappings/Surface.js +14 -0
- package/src/mappings/Surface.ts +19 -0
- package/src/mappings/Swiper.js +71 -0
- package/src/mappings/Swiper.ts +82 -0
- package/src/mappings/SwiperItem.js +9 -0
- package/src/mappings/SwiperItem.ts +13 -0
- package/src/mappings/Switch.js +81 -0
- package/src/mappings/Switch.ts +92 -0
- package/src/mappings/TabView.js +75 -0
- package/src/mappings/TabView.ts +85 -0
- package/src/mappings/TabViewItem.js +30 -0
- package/src/mappings/TabViewItem.ts +38 -0
- package/src/mappings/Table.js +150 -0
- package/src/mappings/Table.ts +170 -0
- package/src/mappings/Text.js +251 -0
- package/src/mappings/Text.ts +276 -0
- package/src/mappings/TextArea.js +283 -0
- package/src/mappings/TextArea.ts +300 -0
- package/src/mappings/TextField.js +400 -0
- package/src/mappings/TextField.ts +423 -0
- package/src/mappings/TextInput.js +402 -0
- package/src/mappings/TextInput.ts +431 -0
- package/src/mappings/ToggleButton.js +50 -0
- package/src/mappings/ToggleButton.ts +63 -0
- package/src/mappings/Touchable.js +67 -0
- package/src/mappings/Touchable.ts +80 -0
- package/src/mappings/Video.js +81 -0
- package/src/mappings/Video.ts +95 -0
- package/src/mappings/View.js +207 -0
- package/src/mappings/View.ts +229 -0
- package/src/mappings/WebView.js +88 -0
- package/src/mappings/WebView.ts +107 -0
- package/src/mappings/YoutubePlayer.js +31 -0
- package/src/mappings/YoutubePlayer.ts +37 -0
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.SEED_DATA = void 0;
|
|
7
|
+
var _types = require("@draftbit/types");
|
|
8
|
+
const SEED_DATA = [{
|
|
9
|
+
name: "Masonry List",
|
|
10
|
+
tag: "MasonryFlashList",
|
|
11
|
+
description: "Masonry Flashlist by Shopify",
|
|
12
|
+
packageName: "@shopify/flash-list",
|
|
13
|
+
category: _types.COMPONENT_TYPES.data,
|
|
14
|
+
stylesPanelSections: [_types.StylesPanelSections.Background, _types.StylesPanelSections.MarginsAndPaddings],
|
|
15
|
+
triggers: [_types.Triggers.OnRefresh, _types.Triggers.OnEndReached],
|
|
16
|
+
props: {
|
|
17
|
+
onRefresh: (0, _types.createActionProp)(),
|
|
18
|
+
onEndReached: (0, _types.createActionProp)(),
|
|
19
|
+
numColumns: (0, _types.createNumColumnsType)({
|
|
20
|
+
editable: true
|
|
21
|
+
}),
|
|
22
|
+
estimatedItemSize: (0, _types.createNumberProp)({
|
|
23
|
+
group: _types.GROUPS.basic,
|
|
24
|
+
label: "Est. Item Size",
|
|
25
|
+
description: "Approximate size of the items before rendering.",
|
|
26
|
+
defaultValue: 50,
|
|
27
|
+
step: 1,
|
|
28
|
+
precision: 0
|
|
29
|
+
}),
|
|
30
|
+
initialNumToRender: (0, _types.createStaticNumberProp)({
|
|
31
|
+
label: "Initial Num To Render",
|
|
32
|
+
description: "How many items to render in the initial batch",
|
|
33
|
+
defaultValue: null
|
|
34
|
+
}),
|
|
35
|
+
onEndReachedThreshold: (0, _types.createStaticNumberProp)({
|
|
36
|
+
label: "End Reached Threshold",
|
|
37
|
+
description: "How far from the end (in units of visible length of the list) the bottom edge of the list must be from the end of the content to trigger the onEndReached callback. Thus a value of 0.5 will trigger onEndReached when the end of the content is within half the visible length of the list.",
|
|
38
|
+
defaultValue: 0.5
|
|
39
|
+
}),
|
|
40
|
+
refreshColor: (0, _types.createColorProp)({
|
|
41
|
+
label: "Refreshing Color",
|
|
42
|
+
description: "Color of the refresh indicator"
|
|
43
|
+
}),
|
|
44
|
+
showsHorizontalScrollIndicator: (0, _types.createStaticBoolProp)({
|
|
45
|
+
label: "Show Horizontal Scroll Indicator",
|
|
46
|
+
description: "When true, shows a horizontal scroll indicator. The default value is true.",
|
|
47
|
+
defaultValue: true
|
|
48
|
+
}),
|
|
49
|
+
showsVerticalScrollIndicator: (0, _types.createStaticBoolProp)({
|
|
50
|
+
label: "Show Vertical Scroll Indicator",
|
|
51
|
+
description: "When true, shows a vertical scroll indicator. The default value is true.",
|
|
52
|
+
defaultValue: true
|
|
53
|
+
})
|
|
54
|
+
}
|
|
55
|
+
}, {
|
|
56
|
+
name: "FlashList",
|
|
57
|
+
tag: "FlashList",
|
|
58
|
+
description: "Flashlist by Shopify",
|
|
59
|
+
packageName: "@shopify/flash-list",
|
|
60
|
+
category: _types.COMPONENT_TYPES.data,
|
|
61
|
+
stylesPanelSections: [_types.StylesPanelSections.Background, _types.StylesPanelSections.MarginsAndPaddings],
|
|
62
|
+
triggers: [_types.Triggers.OnRefresh, _types.Triggers.OnEndReached],
|
|
63
|
+
props: {
|
|
64
|
+
onRefresh: (0, _types.createActionProp)(),
|
|
65
|
+
onEndReached: (0, _types.createActionProp)(),
|
|
66
|
+
estimatedItemSize: (0, _types.createNumberProp)({
|
|
67
|
+
group: _types.GROUPS.basic,
|
|
68
|
+
label: "Est. Item Size",
|
|
69
|
+
description: "Approximate size of the items before rendering.",
|
|
70
|
+
defaultValue: 50,
|
|
71
|
+
step: 1,
|
|
72
|
+
precision: 0
|
|
73
|
+
}),
|
|
74
|
+
horizontal: (0, _types.createStaticBoolProp)({
|
|
75
|
+
label: "Horizontal",
|
|
76
|
+
description: "Render list horizontally"
|
|
77
|
+
}),
|
|
78
|
+
inverted: (0, _types.createStaticBoolProp)({
|
|
79
|
+
label: "Inverted",
|
|
80
|
+
description: "If true, reverses the direction."
|
|
81
|
+
}),
|
|
82
|
+
numColumns: (0, _types.createNumColumnsType)({
|
|
83
|
+
editable: true
|
|
84
|
+
}),
|
|
85
|
+
initialNumToRender: (0, _types.createStaticNumberProp)({
|
|
86
|
+
label: "Initial Num To Render",
|
|
87
|
+
description: "How many items to render in the initial batch",
|
|
88
|
+
defaultValue: null
|
|
89
|
+
}),
|
|
90
|
+
onEndReachedThreshold: (0, _types.createStaticNumberProp)({
|
|
91
|
+
label: "End Reached Threshold",
|
|
92
|
+
description: "How far from the end (in units of visible length of the list) the bottom edge of the list must be from the end of the content to trigger the onEndReached callback. Thus a value of 0.5 will trigger onEndReached when the end of the content is within half the visible length of the list.",
|
|
93
|
+
defaultValue: 0.5
|
|
94
|
+
}),
|
|
95
|
+
refreshColor: (0, _types.createColorProp)({
|
|
96
|
+
label: "Refreshing Color",
|
|
97
|
+
description: "Color of the refresh indicator"
|
|
98
|
+
}),
|
|
99
|
+
showsHorizontalScrollIndicator: (0, _types.createStaticBoolProp)({
|
|
100
|
+
label: "Show Horizontal Scroll Indicator",
|
|
101
|
+
description: "When true, shows a horizontal scroll indicator. The default value is true.",
|
|
102
|
+
defaultValue: true
|
|
103
|
+
}),
|
|
104
|
+
showsVerticalScrollIndicator: (0, _types.createStaticBoolProp)({
|
|
105
|
+
label: "Show Vertical Scroll Indicator",
|
|
106
|
+
description: "When true, shows a vertical scroll indicator. The default value is true.",
|
|
107
|
+
defaultValue: true
|
|
108
|
+
})
|
|
109
|
+
}
|
|
110
|
+
}];
|
|
111
|
+
exports.SEED_DATA = SEED_DATA;
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.SEED_DATA = void 0;
|
|
7
|
+
var _types = require("@draftbit/types");
|
|
8
|
+
const SEED_DATA = {
|
|
9
|
+
name: "List",
|
|
10
|
+
tag: "FlatList",
|
|
11
|
+
description: "A basic List component",
|
|
12
|
+
category: _types.COMPONENT_TYPES.data,
|
|
13
|
+
stylesPanelSections: _types.CONTAINER_COMPONENT_STYLES_SECTIONS,
|
|
14
|
+
layout: {
|
|
15
|
+
flex: 1
|
|
16
|
+
},
|
|
17
|
+
triggers: [_types.Triggers.OnRefresh, _types.Triggers.OnEndReached],
|
|
18
|
+
props: {
|
|
19
|
+
onRefresh: (0, _types.createActionProp)(),
|
|
20
|
+
onEndReached: (0, _types.createActionProp)(),
|
|
21
|
+
horizontal: (0, _types.createStaticBoolProp)({
|
|
22
|
+
label: "Horizontal",
|
|
23
|
+
description: "Render list horizontally"
|
|
24
|
+
}),
|
|
25
|
+
inverted: (0, _types.createStaticBoolProp)({
|
|
26
|
+
label: "Inverted",
|
|
27
|
+
description: "If true, reverses the direction."
|
|
28
|
+
}),
|
|
29
|
+
numColumns: (0, _types.createNumColumnsType)({
|
|
30
|
+
editable: true
|
|
31
|
+
}),
|
|
32
|
+
initialNumToRender: (0, _types.createStaticNumberProp)({
|
|
33
|
+
label: "Initial Num To Render",
|
|
34
|
+
description: "How many items to render in the initial batch",
|
|
35
|
+
defaultValue: null
|
|
36
|
+
}),
|
|
37
|
+
onEndReachedThreshold: (0, _types.createStaticNumberProp)({
|
|
38
|
+
label: "End Reached Threshold",
|
|
39
|
+
description: "How far from the end (in units of visible length of the list) the bottom edge of the list must be from the end of the content to trigger the onEndReached callback. Thus a value of 0.5 will trigger onEndReached when the end of the content is within half the visible length of the list.",
|
|
40
|
+
defaultValue: 0.5
|
|
41
|
+
}),
|
|
42
|
+
refreshColor: (0, _types.createColorProp)({
|
|
43
|
+
label: "Refreshing Color",
|
|
44
|
+
description: "Color of the refresh indicator"
|
|
45
|
+
}),
|
|
46
|
+
showsHorizontalScrollIndicator: (0, _types.createStaticBoolProp)({
|
|
47
|
+
label: "Show Horizontal Scroll Indicator",
|
|
48
|
+
description: "When true, shows a horizontal scroll indicator. The default value is true.",
|
|
49
|
+
defaultValue: true
|
|
50
|
+
}),
|
|
51
|
+
showsVerticalScrollIndicator: (0, _types.createStaticBoolProp)({
|
|
52
|
+
label: "Show Vertical Scroll Indicator",
|
|
53
|
+
description: "When true, shows a vertical scroll indicator. The default value is true.",
|
|
54
|
+
defaultValue: true
|
|
55
|
+
})
|
|
56
|
+
}
|
|
57
|
+
};
|
|
58
|
+
exports.SEED_DATA = SEED_DATA;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.SEED_DATA = void 0;
|
|
7
|
+
var _types = require("@draftbit/types");
|
|
8
|
+
const SEED_DATA = {
|
|
9
|
+
name: "Icon",
|
|
10
|
+
tag: "Icon",
|
|
11
|
+
description: "An icon",
|
|
12
|
+
category: _types.COMPONENT_TYPES.basic,
|
|
13
|
+
stylesPanelSections: [_types.StylesPanelSections.Size, _types.StylesPanelSections.Margins, _types.StylesPanelSections.Background, _types.StylesPanelSections.Position, _types.StylesPanelSections.Effects],
|
|
14
|
+
layout: {},
|
|
15
|
+
props: {
|
|
16
|
+
name: {
|
|
17
|
+
...(0, _types.createIconProp)(),
|
|
18
|
+
group: _types.GROUPS.data
|
|
19
|
+
},
|
|
20
|
+
color: (0, _types.createColorProp)(),
|
|
21
|
+
size: (0, _types.createNumberProp)({
|
|
22
|
+
group: _types.GROUPS.basic,
|
|
23
|
+
label: "Size",
|
|
24
|
+
description: "Width and height of your icon",
|
|
25
|
+
defaultValue: 24,
|
|
26
|
+
min: 1,
|
|
27
|
+
max: 128,
|
|
28
|
+
step: 1,
|
|
29
|
+
precision: 0
|
|
30
|
+
})
|
|
31
|
+
}
|
|
32
|
+
};
|
|
33
|
+
exports.SEED_DATA = SEED_DATA;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.SEED_DATA = void 0;
|
|
7
|
+
var _types = require("@draftbit/types");
|
|
8
|
+
const SEED_DATA = {
|
|
9
|
+
name: "Icon Button",
|
|
10
|
+
tag: "IconButton",
|
|
11
|
+
category: _types.COMPONENT_TYPES.button,
|
|
12
|
+
layout: {},
|
|
13
|
+
triggers: [_types.Triggers.OnPress, _types.Triggers.OnLongPress],
|
|
14
|
+
stylesPanelSections: [_types.StylesPanelSections.Margins, _types.StylesPanelSections.Effects, _types.StylesPanelSections.Position],
|
|
15
|
+
props: {
|
|
16
|
+
onPress: (0, _types.createActionProp)(),
|
|
17
|
+
onLongPress: (0, _types.createActionProp)(),
|
|
18
|
+
disabled: (0, _types.createDisabledProp)(),
|
|
19
|
+
icon: (0, _types.createIconProp)(),
|
|
20
|
+
color: (0, _types.createColorProp)({
|
|
21
|
+
label: "Color",
|
|
22
|
+
group: _types.GROUPS.basic
|
|
23
|
+
}),
|
|
24
|
+
size: (0, _types.createNumberProp)({
|
|
25
|
+
group: _types.GROUPS.basic,
|
|
26
|
+
label: "Size",
|
|
27
|
+
description: "Width and height of your icon",
|
|
28
|
+
defaultValue: 32,
|
|
29
|
+
min: 16,
|
|
30
|
+
max: 256,
|
|
31
|
+
step: 1,
|
|
32
|
+
precision: 0
|
|
33
|
+
})
|
|
34
|
+
}
|
|
35
|
+
};
|
|
36
|
+
exports.SEED_DATA = SEED_DATA;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.SEED_DATA = void 0;
|
|
7
|
+
var _types = require("@draftbit/types");
|
|
8
|
+
const SEED_DATA = {
|
|
9
|
+
name: "Image",
|
|
10
|
+
tag: "Image",
|
|
11
|
+
description: "A basic Image Component",
|
|
12
|
+
category: _types.COMPONENT_TYPES.media,
|
|
13
|
+
stylesPanelSections: [_types.StylesPanelSections.Size, _types.StylesPanelSections.Margins, _types.StylesPanelSections.Position, _types.StylesPanelSections.Effects, _types.StylesPanelSections.Borders],
|
|
14
|
+
layout: {
|
|
15
|
+
width: 100,
|
|
16
|
+
height: 100
|
|
17
|
+
},
|
|
18
|
+
props: {
|
|
19
|
+
source: (0, _types.createImageProp)(),
|
|
20
|
+
resizeMode: (0, _types.createResizeModeProp)(),
|
|
21
|
+
blurRadius: {
|
|
22
|
+
group: _types.GROUPS.basic,
|
|
23
|
+
name: "blurRadius",
|
|
24
|
+
label: "Blur Radius",
|
|
25
|
+
defaultValue: null,
|
|
26
|
+
description: "The blur radius of the blur filter added to the image.",
|
|
27
|
+
editable: true,
|
|
28
|
+
required: false,
|
|
29
|
+
formType: _types.FORM_TYPES.number,
|
|
30
|
+
propType: _types.PROP_TYPES.NUMBER,
|
|
31
|
+
step: 5,
|
|
32
|
+
precision: 1
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
};
|
|
36
|
+
exports.SEED_DATA = SEED_DATA;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.SEED_DATA = void 0;
|
|
7
|
+
var _types = require("@draftbit/types");
|
|
8
|
+
const SEED_DATA = {
|
|
9
|
+
name: "Image Background",
|
|
10
|
+
tag: "ImageBackground",
|
|
11
|
+
doc_link: "https://docs.expo.io/versions/latest/react-native/imagebackground/",
|
|
12
|
+
code_link: "https://github.com/facebook/react-native/blob/master/Libraries/Image/ImageBackground.js",
|
|
13
|
+
description: "A very simple drop-in replacement for Image that allows you to use an Image as a background.",
|
|
14
|
+
category: _types.COMPONENT_TYPES.media,
|
|
15
|
+
stylesPanelSections: _types.CONTAINER_COMPONENT_STYLES_SECTIONS,
|
|
16
|
+
layout: {
|
|
17
|
+
width: "100%",
|
|
18
|
+
height: "100%"
|
|
19
|
+
},
|
|
20
|
+
props: {
|
|
21
|
+
source: (0, _types.createImageProp)({
|
|
22
|
+
defaultValue: "https://static.draftbit.com/images/placeholder-image-background.png"
|
|
23
|
+
}),
|
|
24
|
+
resizeMode: (0, _types.createResizeModeProp)(),
|
|
25
|
+
backgroundColor: (0, _types.createColorProp)({
|
|
26
|
+
label: "Background Color",
|
|
27
|
+
description: "If no image is chosen render a colored background."
|
|
28
|
+
}),
|
|
29
|
+
backfaceVisibility: (0, _types.createTextEnumProp)({
|
|
30
|
+
label: "Backface Visibility",
|
|
31
|
+
description: "When animating a card, show the back face of it",
|
|
32
|
+
options: ["visible", "hidden"]
|
|
33
|
+
})
|
|
34
|
+
}
|
|
35
|
+
};
|
|
36
|
+
exports.SEED_DATA = SEED_DATA;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.SEED_DATA = void 0;
|
|
7
|
+
var _types = require("@draftbit/types");
|
|
8
|
+
const SEED_DATA = {
|
|
9
|
+
name: "Keyboard Avoiding View",
|
|
10
|
+
tag: "KeyboardAvoidingView",
|
|
11
|
+
description: "View that moves out of the way of the virtual keyboard. ",
|
|
12
|
+
category: _types.COMPONENT_TYPES.view,
|
|
13
|
+
stylesPanelSections: _types.CONTAINER_COMPONENT_STYLES_SECTIONS,
|
|
14
|
+
props: {
|
|
15
|
+
enabled: {
|
|
16
|
+
label: "Enabled",
|
|
17
|
+
description: "Enable the keyboard avoiding view",
|
|
18
|
+
editable: true,
|
|
19
|
+
required: true,
|
|
20
|
+
defaultValue: true,
|
|
21
|
+
formType: _types.FORM_TYPES.boolean,
|
|
22
|
+
propType: _types.PROP_TYPES.BOOLEAN,
|
|
23
|
+
group: _types.GROUPS.basic
|
|
24
|
+
},
|
|
25
|
+
behavior: {
|
|
26
|
+
label: "Resizing Behavior",
|
|
27
|
+
description: "The behavior for how the keyboard resizing interacts with the rest of the screen. (Default: padding).",
|
|
28
|
+
editable: true,
|
|
29
|
+
required: true,
|
|
30
|
+
defaultValue: "padding",
|
|
31
|
+
options: ["padding", "position", "height"],
|
|
32
|
+
formType: _types.FORM_TYPES.flatArray,
|
|
33
|
+
propType: _types.PROP_TYPES.STRING,
|
|
34
|
+
group: _types.GROUPS.basic
|
|
35
|
+
},
|
|
36
|
+
keyboardVerticalOffset: {
|
|
37
|
+
label: "Keyboard Vertical Offset",
|
|
38
|
+
description: "The distance between the bottom of the view and the keyboard",
|
|
39
|
+
editable: true,
|
|
40
|
+
required: false,
|
|
41
|
+
defaultValue: 0,
|
|
42
|
+
formType: _types.FORM_TYPES.number,
|
|
43
|
+
propType: _types.PROP_TYPES.NUMBER,
|
|
44
|
+
group: _types.GROUPS.basic
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
};
|
|
48
|
+
exports.SEED_DATA = SEED_DATA;
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.SEED_DATA = void 0;
|
|
7
|
+
var _types = require("@draftbit/types");
|
|
8
|
+
const SEED_DATA = {
|
|
9
|
+
name: "Keyboard Aware Scroll View",
|
|
10
|
+
tag: "KeyboardAwareScrollView",
|
|
11
|
+
description: "View that moves pushes the content when virtual keyboard is open.",
|
|
12
|
+
category: _types.COMPONENT_TYPES.view,
|
|
13
|
+
stylesPanelSections: _types.CONTAINER_COMPONENT_STYLES_SECTIONS,
|
|
14
|
+
layout: {},
|
|
15
|
+
props: {
|
|
16
|
+
viewIsInsideTabBar: (0, _types.createStaticBoolProp)({
|
|
17
|
+
label: "View Is Inside TabBar",
|
|
18
|
+
description: "Adds an extra offset that represents the TabBarIOS height."
|
|
19
|
+
}),
|
|
20
|
+
enableAutomaticScroll: (0, _types.createStaticBoolProp)({
|
|
21
|
+
label: "Enable Automatic Scroll",
|
|
22
|
+
description: "When focus in TextInput will scroll the position, default is enabled"
|
|
23
|
+
}),
|
|
24
|
+
extraHeight: (0, _types.createStaticNumberProp)({
|
|
25
|
+
label: "Extra Height",
|
|
26
|
+
description: "Adds an extra offset when focusing the TextInputs"
|
|
27
|
+
}),
|
|
28
|
+
extraScrollHeight: (0, _types.createStaticNumberProp)({
|
|
29
|
+
label: "Extra Scroll Height",
|
|
30
|
+
description: "Adds an extra offset to the keyboard. Useful if you want to stick elements above the keyboard"
|
|
31
|
+
}),
|
|
32
|
+
enableResetScrollToCoords: (0, _types.createStaticBoolProp)({
|
|
33
|
+
label: "Enable Reset Scroll To Coordinates",
|
|
34
|
+
description: "Lets the user enable or disable automatic resetScrollToCoords"
|
|
35
|
+
}),
|
|
36
|
+
keyboardOpeningTime: (0, _types.createStaticNumberProp)({
|
|
37
|
+
label: "Opening Time",
|
|
38
|
+
description: "Sets the delay time before scrolling to new position after keyboard opening, default is 250"
|
|
39
|
+
}),
|
|
40
|
+
enableOnAndroid: (0, _types.createStaticBoolProp)({
|
|
41
|
+
label: "Enable On Android",
|
|
42
|
+
description: "Enable Android Support"
|
|
43
|
+
}),
|
|
44
|
+
showsVerticalScrollIndicator: (0, _types.createStaticBoolProp)({
|
|
45
|
+
label: "Shows Vertical Scroll Indicator",
|
|
46
|
+
description: "Show or hide the vertical scroll indicator",
|
|
47
|
+
defaultValue: true
|
|
48
|
+
}),
|
|
49
|
+
keyboardShouldPersistTaps: (0, _types.createTextEnumProp)({
|
|
50
|
+
label: "Allow Touch Events",
|
|
51
|
+
description: "Allows touch events on visible components to be processed while the keyboard is open",
|
|
52
|
+
defaultValue: "never",
|
|
53
|
+
options: ["never", "always"]
|
|
54
|
+
})
|
|
55
|
+
}
|
|
56
|
+
};
|
|
57
|
+
exports.SEED_DATA = SEED_DATA;
|
|
@@ -0,0 +1,200 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.SEED_DATA = void 0;
|
|
7
|
+
var _types = require("@draftbit/types");
|
|
8
|
+
const SEED_DATA = [{
|
|
9
|
+
name: "Row",
|
|
10
|
+
tag: "Row",
|
|
11
|
+
category: _types.COMPONENT_TYPES.deprecated,
|
|
12
|
+
stylesPanelSections: [_types.StylesPanelSections.NoStyles],
|
|
13
|
+
props: {
|
|
14
|
+
justifyContent: {
|
|
15
|
+
label: "Align Horizontally",
|
|
16
|
+
group: _types.GROUPS.style,
|
|
17
|
+
description: "Align Items Horizontally (on the X Axis)",
|
|
18
|
+
formType: _types.FORM_TYPES.string,
|
|
19
|
+
propType: _types.PROP_TYPES.STRING,
|
|
20
|
+
defaultValue: "flex-start",
|
|
21
|
+
editable: true,
|
|
22
|
+
required: false
|
|
23
|
+
},
|
|
24
|
+
alignItems: {
|
|
25
|
+
label: "Align Vertically",
|
|
26
|
+
group: _types.GROUPS.style,
|
|
27
|
+
description: "Align Items Vertically (on the Y Axis)",
|
|
28
|
+
formType: _types.FORM_TYPES.string,
|
|
29
|
+
propType: _types.PROP_TYPES.STRING,
|
|
30
|
+
defaultValue: "flex-start",
|
|
31
|
+
editable: true,
|
|
32
|
+
required: false
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}, {
|
|
36
|
+
name: "Spacer",
|
|
37
|
+
tag: "Spacer",
|
|
38
|
+
category: _types.COMPONENT_TYPES.layout,
|
|
39
|
+
props: {
|
|
40
|
+
top: {
|
|
41
|
+
label: "Top",
|
|
42
|
+
description: "Top",
|
|
43
|
+
formType: _types.FORM_TYPES.number,
|
|
44
|
+
propType: _types.PROP_TYPES.NUMBER,
|
|
45
|
+
group: _types.GROUPS.style,
|
|
46
|
+
defaultValue: 8,
|
|
47
|
+
editable: true,
|
|
48
|
+
required: false
|
|
49
|
+
},
|
|
50
|
+
right: {
|
|
51
|
+
label: "Right",
|
|
52
|
+
description: "Right",
|
|
53
|
+
formType: _types.FORM_TYPES.number,
|
|
54
|
+
propType: _types.PROP_TYPES.NUMBER,
|
|
55
|
+
group: _types.GROUPS.style,
|
|
56
|
+
defaultValue: 8,
|
|
57
|
+
editable: true,
|
|
58
|
+
required: false
|
|
59
|
+
},
|
|
60
|
+
bottom: {
|
|
61
|
+
label: "Bottom",
|
|
62
|
+
description: "Bottom",
|
|
63
|
+
formType: _types.FORM_TYPES.number,
|
|
64
|
+
propType: _types.PROP_TYPES.NUMBER,
|
|
65
|
+
group: _types.GROUPS.style,
|
|
66
|
+
defaultValue: 8,
|
|
67
|
+
editable: true,
|
|
68
|
+
required: false
|
|
69
|
+
},
|
|
70
|
+
left: {
|
|
71
|
+
label: "Left",
|
|
72
|
+
description: "Left",
|
|
73
|
+
formType: _types.FORM_TYPES.number,
|
|
74
|
+
propType: _types.PROP_TYPES.NUMBER,
|
|
75
|
+
group: _types.GROUPS.style,
|
|
76
|
+
defaultValue: 8,
|
|
77
|
+
editable: true,
|
|
78
|
+
required: false
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}, {
|
|
82
|
+
name: "Stack",
|
|
83
|
+
tag: "Stack",
|
|
84
|
+
category: _types.COMPONENT_TYPES.deprecated,
|
|
85
|
+
stylesPanelSections: [_types.StylesPanelSections.NoStyles],
|
|
86
|
+
props: {
|
|
87
|
+
justifyContent: {
|
|
88
|
+
group: _types.GROUPS.style,
|
|
89
|
+
label: "Justify",
|
|
90
|
+
description: "Justify horizontally",
|
|
91
|
+
formType: _types.FORM_TYPES.string,
|
|
92
|
+
propType: _types.PROP_TYPES.STRING,
|
|
93
|
+
defaultValue: "flex-start",
|
|
94
|
+
editable: true,
|
|
95
|
+
required: false
|
|
96
|
+
},
|
|
97
|
+
alignItems: {
|
|
98
|
+
group: _types.GROUPS.style,
|
|
99
|
+
label: "Align",
|
|
100
|
+
description: "Vertical align",
|
|
101
|
+
formType: _types.FORM_TYPES.string,
|
|
102
|
+
propType: _types.PROP_TYPES.STRING,
|
|
103
|
+
defaultValue: "flex-start",
|
|
104
|
+
editable: true,
|
|
105
|
+
required: false
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
}, {
|
|
109
|
+
name: "Center",
|
|
110
|
+
tag: "Center",
|
|
111
|
+
category: _types.COMPONENT_TYPES.layout,
|
|
112
|
+
stylesPanelSections: [_types.StylesPanelSections.NoStyles],
|
|
113
|
+
props: {
|
|
114
|
+
width: {
|
|
115
|
+
label: "Width",
|
|
116
|
+
description: "Width",
|
|
117
|
+
formType: _types.FORM_TYPES.number,
|
|
118
|
+
propType: _types.PROP_TYPES.NUMBER,
|
|
119
|
+
group: _types.GROUPS.style,
|
|
120
|
+
defaultValue: 240,
|
|
121
|
+
editable: true,
|
|
122
|
+
required: false
|
|
123
|
+
},
|
|
124
|
+
height: {
|
|
125
|
+
label: "Height",
|
|
126
|
+
description: "Height",
|
|
127
|
+
formType: _types.FORM_TYPES.number,
|
|
128
|
+
propType: _types.PROP_TYPES.NUMBER,
|
|
129
|
+
group: _types.GROUPS.style,
|
|
130
|
+
defaultValue: 200,
|
|
131
|
+
editable: true,
|
|
132
|
+
required: false
|
|
133
|
+
},
|
|
134
|
+
bgColor: {
|
|
135
|
+
label: "Background Color",
|
|
136
|
+
description: "Background color",
|
|
137
|
+
formType: _types.FORM_TYPES.color,
|
|
138
|
+
propType: _types.PROP_TYPES.THEME,
|
|
139
|
+
editable: true,
|
|
140
|
+
required: false,
|
|
141
|
+
defaultValue: "light",
|
|
142
|
+
group: _types.GROUPS.style
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
}, {
|
|
146
|
+
name: "Circle",
|
|
147
|
+
tag: "Circle",
|
|
148
|
+
category: _types.COMPONENT_TYPES.layout,
|
|
149
|
+
stylesPanelSections: [_types.StylesPanelSections.NoStyles],
|
|
150
|
+
props: {
|
|
151
|
+
size: {
|
|
152
|
+
label: "Size",
|
|
153
|
+
description: "Size",
|
|
154
|
+
formType: _types.FORM_TYPES.number,
|
|
155
|
+
propType: _types.PROP_TYPES.NUMBER,
|
|
156
|
+
group: _types.GROUPS.style,
|
|
157
|
+
defaultValue: 50,
|
|
158
|
+
editable: true,
|
|
159
|
+
required: false
|
|
160
|
+
},
|
|
161
|
+
bgColor: {
|
|
162
|
+
label: "Background Color",
|
|
163
|
+
description: "Background color",
|
|
164
|
+
formType: _types.FORM_TYPES.color,
|
|
165
|
+
propType: _types.PROP_TYPES.THEME,
|
|
166
|
+
editable: true,
|
|
167
|
+
required: false,
|
|
168
|
+
defaultValue: "light",
|
|
169
|
+
group: _types.GROUPS.style
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
}, {
|
|
173
|
+
name: "Square",
|
|
174
|
+
tag: "Square",
|
|
175
|
+
category: _types.COMPONENT_TYPES.layout,
|
|
176
|
+
stylesPanelSections: [_types.StylesPanelSections.NoStyles],
|
|
177
|
+
props: {
|
|
178
|
+
size: {
|
|
179
|
+
label: "Size",
|
|
180
|
+
description: "Size",
|
|
181
|
+
formType: _types.FORM_TYPES.number,
|
|
182
|
+
propType: _types.PROP_TYPES.NUMBER,
|
|
183
|
+
group: _types.GROUPS.style,
|
|
184
|
+
defaultValue: 50,
|
|
185
|
+
editable: true,
|
|
186
|
+
required: false
|
|
187
|
+
},
|
|
188
|
+
bgColor: {
|
|
189
|
+
label: "Background Color",
|
|
190
|
+
description: "Background color",
|
|
191
|
+
formType: _types.FORM_TYPES.color,
|
|
192
|
+
propType: _types.PROP_TYPES.THEME,
|
|
193
|
+
editable: true,
|
|
194
|
+
required: false,
|
|
195
|
+
defaultValue: "light",
|
|
196
|
+
group: _types.GROUPS.style
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
}];
|
|
200
|
+
exports.SEED_DATA = SEED_DATA;
|