@draftbit/core 46.10.3-47314f.2 → 46.10.3-6c7505.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/Checkbox/CheckboxGroupRow.js +5 -23
- package/lib/commonjs/components/Checkbox/CheckboxRow.js +6 -23
- package/lib/commonjs/components/IconButton.js +19 -4
- package/lib/commonjs/components/Layout.js +40 -19
- package/package.json +3 -3
- package/lib/commonjs/components/DeprecatedCardWrapper.js +0 -40
- package/lib/commonjs/components/DeprecatedFAB.js +0 -157
- package/lib/commonjs/components/ProgressIndicator.js +0 -55
- package/lib/commonjs/components/ResizeMode.js +0 -5
- package/lib/commonjs/mappings/Accordion.js +0 -49
- package/lib/commonjs/mappings/AccordionItem.js +0 -24
- package/lib/commonjs/mappings/ActionSheet.js +0 -21
- package/lib/commonjs/mappings/ActionSheetCancel.js +0 -27
- package/lib/commonjs/mappings/ActionSheetItem.js +0 -31
- package/lib/commonjs/mappings/ActivityIndicator.js +0 -64
- package/lib/commonjs/mappings/AudioPlayer.js +0 -57
- package/lib/commonjs/mappings/AvatarEdit.js +0 -45
- package/lib/commonjs/mappings/Banner.js +0 -39
- package/lib/commonjs/mappings/BlurView.js +0 -49
- package/lib/commonjs/mappings/BottomSheet.js +0 -70
- package/lib/commonjs/mappings/Button.js +0 -95
- 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/Checkbox.js +0 -53
- package/lib/commonjs/mappings/CheckboxGroup.js +0 -33
- package/lib/commonjs/mappings/CheckboxRow.js +0 -64
- package/lib/commonjs/mappings/CircleImage.js +0 -32
- package/lib/commonjs/mappings/CustomCode.js +0 -15
- package/lib/commonjs/mappings/DatePicker.js +0 -181
- package/lib/commonjs/mappings/DeckSwiper.js +0 -55
- package/lib/commonjs/mappings/DeckSwiperCard.js +0 -23
- package/lib/commonjs/mappings/Divider.js +0 -32
- package/lib/commonjs/mappings/FAB.js +0 -44
- package/lib/commonjs/mappings/Fetch.js +0 -20
- package/lib/commonjs/mappings/FieldSearchBarFull.js +0 -56
- package/lib/commonjs/mappings/FlashList.js +0 -111
- package/lib/commonjs/mappings/FlatList.js +0 -58
- 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/Icon.js +0 -33
- package/lib/commonjs/mappings/IconButton.js +0 -36
- package/lib/commonjs/mappings/Image.js +0 -36
- package/lib/commonjs/mappings/ImageBackground.js +0 -36
- package/lib/commonjs/mappings/KeyboardAvoidingView.js +0 -48
- package/lib/commonjs/mappings/KeyboardAwareScrollView.js +0 -57
- package/lib/commonjs/mappings/Layout.js +0 -200
- package/lib/commonjs/mappings/LinearGradient.js +0 -88
- package/lib/commonjs/mappings/MapCallout.js +0 -29
- package/lib/commonjs/mappings/MapMarker.js +0 -55
- package/lib/commonjs/mappings/MapView.js +0 -142
- package/lib/commonjs/mappings/Markdown.js +0 -27
- package/lib/commonjs/mappings/Modal.js +0 -49
- package/lib/commonjs/mappings/NativeBase/Layout.js +0 -108
- package/lib/commonjs/mappings/NumberInput.js +0 -238
- package/lib/commonjs/mappings/Picker.js +0 -154
- 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/RadioButton.js +0 -58
- package/lib/commonjs/mappings/RadioButtonGroup.js +0 -24
- package/lib/commonjs/mappings/RadioButtonRow.js +0 -45
- 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/SVG.js +0 -22
- package/lib/commonjs/mappings/SafeAreaView.js +0 -40
- package/lib/commonjs/mappings/ScrollView.js +0 -44
- package/lib/commonjs/mappings/Shadow.js +0 -102
- package/lib/commonjs/mappings/Slider.js +0 -67
- package/lib/commonjs/mappings/StarRating.js +0 -53
- package/lib/commonjs/mappings/Stepper.js +0 -38
- package/lib/commonjs/mappings/Surface.js +0 -21
- package/lib/commonjs/mappings/Swiper.js +0 -70
- package/lib/commonjs/mappings/SwiperItem.js +0 -16
- package/lib/commonjs/mappings/Switch.js +0 -81
- package/lib/commonjs/mappings/TabView.js +0 -74
- package/lib/commonjs/mappings/TabViewItem.js +0 -37
- package/lib/commonjs/mappings/Table.js +0 -140
- package/lib/commonjs/mappings/Text.js +0 -234
- package/lib/commonjs/mappings/TextArea.js +0 -254
- package/lib/commonjs/mappings/TextField.js +0 -360
- package/lib/commonjs/mappings/TextInput.js +0 -345
- package/lib/commonjs/mappings/ToggleButton.js +0 -53
- package/lib/commonjs/mappings/Touchable.js +0 -67
- package/lib/commonjs/mappings/Video.js +0 -82
- package/lib/commonjs/mappings/View.js +0 -186
- package/lib/commonjs/mappings/WebView.js +0 -93
- package/lib/commonjs/mappings/YoutubePlayer.js +0 -38
- package/lib/module/components/DeprecatedCardWrapper.js +0 -32
- package/lib/module/components/DeprecatedFAB.js +0 -147
- package/lib/module/components/ProgressIndicator.js +0 -45
- package/lib/module/components/ResizeMode.js +0 -1
- package/lib/module/mappings/Accordion.js +0 -42
- package/lib/module/mappings/AccordionItem.js +0 -17
- package/lib/module/mappings/ActionSheet.js +0 -14
- package/lib/module/mappings/ActionSheetCancel.js +0 -20
- package/lib/module/mappings/ActionSheetItem.js +0 -24
- package/lib/module/mappings/ActivityIndicator.js +0 -57
- package/lib/module/mappings/AudioPlayer.js +0 -50
- package/lib/module/mappings/AvatarEdit.js +0 -38
- package/lib/module/mappings/Banner.js +0 -32
- package/lib/module/mappings/BlurView.js +0 -42
- package/lib/module/mappings/BottomSheet.js +0 -63
- package/lib/module/mappings/Button.js +0 -88
- 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/Checkbox.js +0 -46
- package/lib/module/mappings/CheckboxGroup.js +0 -26
- package/lib/module/mappings/CheckboxRow.js +0 -57
- package/lib/module/mappings/CircleImage.js +0 -25
- package/lib/module/mappings/CustomCode.js +0 -8
- package/lib/module/mappings/DatePicker.js +0 -174
- package/lib/module/mappings/DeckSwiper.js +0 -48
- package/lib/module/mappings/DeckSwiperCard.js +0 -16
- package/lib/module/mappings/Divider.js +0 -25
- package/lib/module/mappings/FAB.js +0 -37
- package/lib/module/mappings/Fetch.js +0 -13
- package/lib/module/mappings/FieldSearchBarFull.js +0 -49
- package/lib/module/mappings/FlashList.js +0 -104
- package/lib/module/mappings/FlatList.js +0 -51
- 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/Icon.js +0 -26
- package/lib/module/mappings/IconButton.js +0 -29
- package/lib/module/mappings/Image.js +0 -29
- package/lib/module/mappings/ImageBackground.js +0 -29
- package/lib/module/mappings/KeyboardAvoidingView.js +0 -41
- package/lib/module/mappings/KeyboardAwareScrollView.js +0 -50
- package/lib/module/mappings/Layout.js +0 -193
- package/lib/module/mappings/LinearGradient.js +0 -81
- package/lib/module/mappings/MapCallout.js +0 -22
- package/lib/module/mappings/MapMarker.js +0 -48
- package/lib/module/mappings/MapView.js +0 -135
- package/lib/module/mappings/Markdown.js +0 -20
- package/lib/module/mappings/Modal.js +0 -42
- package/lib/module/mappings/NativeBase/Layout.js +0 -101
- package/lib/module/mappings/NumberInput.js +0 -230
- package/lib/module/mappings/Picker.js +0 -147
- 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/RadioButton.js +0 -51
- package/lib/module/mappings/RadioButtonGroup.js +0 -17
- package/lib/module/mappings/RadioButtonRow.js +0 -38
- 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/SVG.js +0 -15
- package/lib/module/mappings/SafeAreaView.js +0 -33
- package/lib/module/mappings/ScrollView.js +0 -37
- package/lib/module/mappings/Shadow.js +0 -95
- package/lib/module/mappings/Slider.js +0 -60
- package/lib/module/mappings/StarRating.js +0 -46
- package/lib/module/mappings/Stepper.js +0 -31
- package/lib/module/mappings/Surface.js +0 -14
- package/lib/module/mappings/Swiper.js +0 -63
- package/lib/module/mappings/SwiperItem.js +0 -9
- package/lib/module/mappings/Switch.js +0 -74
- package/lib/module/mappings/TabView.js +0 -67
- package/lib/module/mappings/TabViewItem.js +0 -30
- package/lib/module/mappings/Table.js +0 -133
- package/lib/module/mappings/Text.js +0 -227
- package/lib/module/mappings/TextArea.js +0 -247
- package/lib/module/mappings/TextField.js +0 -353
- package/lib/module/mappings/TextInput.js +0 -337
- package/lib/module/mappings/ToggleButton.js +0 -46
- package/lib/module/mappings/Touchable.js +0 -60
- package/lib/module/mappings/Video.js +0 -75
- package/lib/module/mappings/View.js +0 -179
- package/lib/module/mappings/WebView.js +0 -86
- package/lib/module/mappings/YoutubePlayer.js +0 -31
- package/lib/typescript/src/components/DeprecatedCardWrapper.d.ts +0 -15
- package/lib/typescript/src/components/DeprecatedCardWrapper.d.ts.map +0 -1
- package/lib/typescript/src/components/DeprecatedFAB.d.ts +0 -56
- package/lib/typescript/src/components/DeprecatedFAB.d.ts.map +0 -1
- package/lib/typescript/src/components/ProgressIndicator.d.ts +0 -24
- package/lib/typescript/src/components/ProgressIndicator.d.ts.map +0 -1
- package/lib/typescript/src/components/ResizeMode.d.ts +0 -2
- package/lib/typescript/src/components/ResizeMode.d.ts.map +0 -1
- package/lib/typescript/src/mappings/Accordion.d.ts +0 -90
- package/lib/typescript/src/mappings/Accordion.d.ts.map +0 -1
- package/lib/typescript/src/mappings/AccordionItem.d.ts +0 -31
- package/lib/typescript/src/mappings/AccordionItem.d.ts.map +0 -1
- package/lib/typescript/src/mappings/ActionSheet.d.ts +0 -20
- package/lib/typescript/src/mappings/ActionSheet.d.ts.map +0 -1
- package/lib/typescript/src/mappings/ActionSheetCancel.d.ts +0 -32
- package/lib/typescript/src/mappings/ActionSheetCancel.d.ts.map +0 -1
- package/lib/typescript/src/mappings/ActionSheetItem.d.ts +0 -35
- package/lib/typescript/src/mappings/ActionSheetItem.d.ts.map +0 -1
- package/lib/typescript/src/mappings/ActivityIndicator.d.ts +0 -57
- package/lib/typescript/src/mappings/ActivityIndicator.d.ts.map +0 -1
- package/lib/typescript/src/mappings/AudioPlayer.d.ts +0 -81
- package/lib/typescript/src/mappings/AudioPlayer.d.ts.map +0 -1
- package/lib/typescript/src/mappings/AvatarEdit.d.ts +0 -38
- package/lib/typescript/src/mappings/AvatarEdit.d.ts.map +0 -1
- package/lib/typescript/src/mappings/Banner.d.ts +0 -49
- package/lib/typescript/src/mappings/Banner.d.ts.map +0 -1
- package/lib/typescript/src/mappings/BlurView.d.ts +0 -42
- package/lib/typescript/src/mappings/BlurView.d.ts.map +0 -1
- package/lib/typescript/src/mappings/BottomSheet.d.ts +0 -115
- package/lib/typescript/src/mappings/BottomSheet.d.ts.map +0 -1
- package/lib/typescript/src/mappings/Button.d.ts +0 -222
- package/lib/typescript/src/mappings/Button.d.ts.map +0 -1
- package/lib/typescript/src/mappings/Card.d.ts +0 -114
- package/lib/typescript/src/mappings/Card.d.ts.map +0 -1
- package/lib/typescript/src/mappings/CardBlock.d.ts +0 -289
- package/lib/typescript/src/mappings/CardBlock.d.ts.map +0 -1
- package/lib/typescript/src/mappings/CardContainer.d.ts +0 -102
- package/lib/typescript/src/mappings/CardContainer.d.ts.map +0 -1
- package/lib/typescript/src/mappings/CardContainerRating.d.ts +0 -108
- package/lib/typescript/src/mappings/CardContainerRating.d.ts.map +0 -1
- package/lib/typescript/src/mappings/CardContainerShortImage.d.ts +0 -139
- package/lib/typescript/src/mappings/CardContainerShortImage.d.ts.map +0 -1
- package/lib/typescript/src/mappings/CardInline.d.ts +0 -62
- package/lib/typescript/src/mappings/CardInline.d.ts.map +0 -1
- package/lib/typescript/src/mappings/Carousel.d.ts +0 -34
- package/lib/typescript/src/mappings/Carousel.d.ts.map +0 -1
- package/lib/typescript/src/mappings/Checkbox.d.ts +0 -83
- package/lib/typescript/src/mappings/Checkbox.d.ts.map +0 -1
- package/lib/typescript/src/mappings/CheckboxGroup.d.ts +0 -35
- package/lib/typescript/src/mappings/CheckboxGroup.d.ts.map +0 -1
- package/lib/typescript/src/mappings/CheckboxRow.d.ts +0 -108
- package/lib/typescript/src/mappings/CheckboxRow.d.ts.map +0 -1
- package/lib/typescript/src/mappings/CircleImage.d.ts +0 -34
- package/lib/typescript/src/mappings/CircleImage.d.ts.map +0 -1
- package/lib/typescript/src/mappings/CustomCode.d.ts +0 -8
- package/lib/typescript/src/mappings/CustomCode.d.ts.map +0 -1
- package/lib/typescript/src/mappings/DatePicker.d.ts +0 -168
- package/lib/typescript/src/mappings/DatePicker.d.ts.map +0 -1
- package/lib/typescript/src/mappings/DeckSwiper.d.ts +0 -86
- package/lib/typescript/src/mappings/DeckSwiper.d.ts.map +0 -1
- package/lib/typescript/src/mappings/DeckSwiperCard.d.ts +0 -16
- package/lib/typescript/src/mappings/DeckSwiperCard.d.ts.map +0 -1
- package/lib/typescript/src/mappings/Divider.d.ts +0 -25
- package/lib/typescript/src/mappings/Divider.d.ts.map +0 -1
- package/lib/typescript/src/mappings/FAB.d.ts +0 -83
- package/lib/typescript/src/mappings/FAB.d.ts.map +0 -1
- package/lib/typescript/src/mappings/Fetch.d.ts +0 -12
- package/lib/typescript/src/mappings/Fetch.d.ts.map +0 -1
- package/lib/typescript/src/mappings/FieldSearchBarFull.d.ts +0 -56
- package/lib/typescript/src/mappings/FieldSearchBarFull.d.ts.map +0 -1
- package/lib/typescript/src/mappings/FlashList.d.ts +0 -230
- package/lib/typescript/src/mappings/FlashList.d.ts.map +0 -1
- package/lib/typescript/src/mappings/FlatList.d.ts +0 -116
- package/lib/typescript/src/mappings/FlatList.d.ts.map +0 -1
- package/lib/typescript/src/mappings/HeaderLarge.d.ts +0 -34
- package/lib/typescript/src/mappings/HeaderLarge.d.ts.map +0 -1
- package/lib/typescript/src/mappings/HeaderMedium.d.ts +0 -53
- package/lib/typescript/src/mappings/HeaderMedium.d.ts.map +0 -1
- package/lib/typescript/src/mappings/HeaderOverline.d.ts +0 -53
- package/lib/typescript/src/mappings/HeaderOverline.d.ts.map +0 -1
- package/lib/typescript/src/mappings/Icon.d.ts +0 -42
- package/lib/typescript/src/mappings/Icon.d.ts.map +0 -1
- package/lib/typescript/src/mappings/IconButton.d.ts +0 -72
- package/lib/typescript/src/mappings/IconButton.d.ts.map +0 -1
- package/lib/typescript/src/mappings/Image.d.ts +0 -48
- package/lib/typescript/src/mappings/Image.d.ts.map +0 -1
- package/lib/typescript/src/mappings/ImageBackground.d.ts +0 -58
- package/lib/typescript/src/mappings/ImageBackground.d.ts.map +0 -1
- package/lib/typescript/src/mappings/KeyboardAvoidingView.d.ts +0 -41
- package/lib/typescript/src/mappings/KeyboardAvoidingView.d.ts.map +0 -1
- package/lib/typescript/src/mappings/KeyboardAwareScrollView.d.ts +0 -105
- package/lib/typescript/src/mappings/KeyboardAwareScrollView.d.ts.map +0 -1
- package/lib/typescript/src/mappings/Layout.d.ts +0 -169
- package/lib/typescript/src/mappings/Layout.d.ts.map +0 -1
- package/lib/typescript/src/mappings/LinearGradient.d.ts +0 -99
- package/lib/typescript/src/mappings/LinearGradient.d.ts.map +0 -1
- package/lib/typescript/src/mappings/MapCallout.d.ts +0 -33
- package/lib/typescript/src/mappings/MapCallout.d.ts.map +0 -1
- package/lib/typescript/src/mappings/MapMarker.d.ts +0 -56
- package/lib/typescript/src/mappings/MapMarker.d.ts.map +0 -1
- package/lib/typescript/src/mappings/MapView.d.ts +0 -172
- package/lib/typescript/src/mappings/MapView.d.ts.map +0 -1
- package/lib/typescript/src/mappings/Markdown.d.ts +0 -20
- package/lib/typescript/src/mappings/Markdown.d.ts.map +0 -1
- package/lib/typescript/src/mappings/Modal.d.ts +0 -52
- package/lib/typescript/src/mappings/Modal.d.ts.map +0 -1
- package/lib/typescript/src/mappings/NativeBase/Layout.d.ts +0 -133
- package/lib/typescript/src/mappings/NativeBase/Layout.d.ts.map +0 -1
- package/lib/typescript/src/mappings/NumberInput.d.ts +0 -299
- package/lib/typescript/src/mappings/NumberInput.d.ts.map +0 -1
- package/lib/typescript/src/mappings/Picker.d.ts +0 -170
- package/lib/typescript/src/mappings/Picker.d.ts.map +0 -1
- package/lib/typescript/src/mappings/ProgressBar.d.ts +0 -99
- package/lib/typescript/src/mappings/ProgressBar.d.ts.map +0 -1
- package/lib/typescript/src/mappings/ProgressCircle.d.ts +0 -109
- package/lib/typescript/src/mappings/ProgressCircle.d.ts.map +0 -1
- package/lib/typescript/src/mappings/ProgressIndicator.d.ts +0 -181
- package/lib/typescript/src/mappings/ProgressIndicator.d.ts.map +0 -1
- package/lib/typescript/src/mappings/RadioButton.d.ts +0 -72
- package/lib/typescript/src/mappings/RadioButton.d.ts.map +0 -1
- package/lib/typescript/src/mappings/RadioButtonGroup.d.ts +0 -34
- package/lib/typescript/src/mappings/RadioButtonGroup.d.ts.map +0 -1
- package/lib/typescript/src/mappings/RadioButtonRow.d.ts +0 -43
- package/lib/typescript/src/mappings/RadioButtonRow.d.ts.map +0 -1
- package/lib/typescript/src/mappings/RowBodyIcon.d.ts +0 -73
- package/lib/typescript/src/mappings/RowBodyIcon.d.ts.map +0 -1
- package/lib/typescript/src/mappings/RowHeadlineImageCaption.d.ts +0 -166
- package/lib/typescript/src/mappings/RowHeadlineImageCaption.d.ts.map +0 -1
- package/lib/typescript/src/mappings/RowHeadlineImageIcon.d.ts +0 -170
- package/lib/typescript/src/mappings/RowHeadlineImageIcon.d.ts.map +0 -1
- package/lib/typescript/src/mappings/SVG.d.ts +0 -24
- package/lib/typescript/src/mappings/SVG.d.ts.map +0 -1
- package/lib/typescript/src/mappings/SafeAreaView.d.ts +0 -33
- package/lib/typescript/src/mappings/SafeAreaView.d.ts.map +0 -1
- package/lib/typescript/src/mappings/ScrollView.d.ts +0 -72
- package/lib/typescript/src/mappings/ScrollView.d.ts.map +0 -1
- package/lib/typescript/src/mappings/Shadow.d.ts +0 -173
- package/lib/typescript/src/mappings/Shadow.d.ts.map +0 -1
- package/lib/typescript/src/mappings/Slider.d.ts +0 -110
- package/lib/typescript/src/mappings/Slider.d.ts.map +0 -1
- package/lib/typescript/src/mappings/StarRating.d.ts +0 -75
- package/lib/typescript/src/mappings/StarRating.d.ts.map +0 -1
- package/lib/typescript/src/mappings/Stepper.d.ts +0 -67
- package/lib/typescript/src/mappings/Stepper.d.ts.map +0 -1
- package/lib/typescript/src/mappings/Surface.d.ts +0 -24
- package/lib/typescript/src/mappings/Surface.d.ts.map +0 -1
- package/lib/typescript/src/mappings/Swiper.d.ts +0 -119
- package/lib/typescript/src/mappings/Swiper.d.ts.map +0 -1
- package/lib/typescript/src/mappings/SwiperItem.d.ts +0 -9
- package/lib/typescript/src/mappings/SwiperItem.d.ts.map +0 -1
- package/lib/typescript/src/mappings/Switch.d.ts +0 -164
- package/lib/typescript/src/mappings/Switch.d.ts.map +0 -1
- package/lib/typescript/src/mappings/TabView.d.ts +0 -123
- package/lib/typescript/src/mappings/TabView.d.ts.map +0 -1
- package/lib/typescript/src/mappings/TabViewItem.d.ts +0 -25
- package/lib/typescript/src/mappings/TabViewItem.d.ts.map +0 -1
- package/lib/typescript/src/mappings/Table.d.ts +0 -337
- package/lib/typescript/src/mappings/Table.d.ts.map +0 -1
- package/lib/typescript/src/mappings/Text.d.ts +0 -411
- package/lib/typescript/src/mappings/Text.d.ts.map +0 -1
- package/lib/typescript/src/mappings/TextArea.d.ts +0 -263
- package/lib/typescript/src/mappings/TextArea.d.ts.map +0 -1
- package/lib/typescript/src/mappings/TextField.d.ts +0 -629
- package/lib/typescript/src/mappings/TextField.d.ts.map +0 -1
- package/lib/typescript/src/mappings/TextInput.d.ts +0 -415
- package/lib/typescript/src/mappings/TextInput.d.ts.map +0 -1
- package/lib/typescript/src/mappings/ToggleButton.d.ts +0 -116
- package/lib/typescript/src/mappings/ToggleButton.d.ts.map +0 -1
- package/lib/typescript/src/mappings/Touchable.d.ts +0 -96
- package/lib/typescript/src/mappings/Touchable.d.ts.map +0 -1
- package/lib/typescript/src/mappings/Video.d.ts +0 -129
- package/lib/typescript/src/mappings/Video.d.ts.map +0 -1
- package/lib/typescript/src/mappings/View.d.ts +0 -179
- package/lib/typescript/src/mappings/View.d.ts.map +0 -1
- package/lib/typescript/src/mappings/WebView.d.ts +0 -135
- package/lib/typescript/src/mappings/WebView.d.ts.map +0 -1
- package/lib/typescript/src/mappings/YoutubePlayer.d.ts +0 -27
- package/lib/typescript/src/mappings/YoutubePlayer.d.ts.map +0 -1
- package/src/components/DeprecatedCardWrapper.js +0 -18
- package/src/components/DeprecatedCardWrapper.tsx +0 -46
- package/src/components/DeprecatedFAB.js +0 -114
- package/src/components/DeprecatedFAB.tsx +0 -231
- 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/mappings/Accordion.js +0 -50
- package/src/mappings/Accordion.ts +0 -60
- package/src/mappings/AccordionItem.js +0 -17
- package/src/mappings/AccordionItem.ts +0 -24
- package/src/mappings/ActionSheet.js +0 -17
- package/src/mappings/ActionSheet.ts +0 -23
- package/src/mappings/ActionSheetCancel.js +0 -23
- package/src/mappings/ActionSheetCancel.ts +0 -32
- package/src/mappings/ActionSheetItem.js +0 -27
- package/src/mappings/ActionSheetItem.ts +0 -36
- package/src/mappings/ActivityIndicator.js +0 -58
- package/src/mappings/ActivityIndicator.ts +0 -68
- package/src/mappings/AudioPlayer.js +0 -57
- package/src/mappings/AudioPlayer.ts +0 -67
- 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/BlurView.js +0 -42
- package/src/mappings/BlurView.ts +0 -51
- package/src/mappings/BottomSheet.js +0 -63
- package/src/mappings/BottomSheet.ts +0 -77
- package/src/mappings/Button.js +0 -116
- package/src/mappings/Button.ts +0 -130
- 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/Checkbox.js +0 -46
- package/src/mappings/Checkbox.ts +0 -57
- package/src/mappings/CheckboxGroup.js +0 -26
- package/src/mappings/CheckboxGroup.ts +0 -37
- package/src/mappings/CheckboxRow.js +0 -61
- package/src/mappings/CheckboxRow.ts +0 -74
- package/src/mappings/CircleImage.js +0 -25
- package/src/mappings/CircleImage.ts +0 -33
- package/src/mappings/CustomCode.js +0 -8
- package/src/mappings/CustomCode.ts +0 -9
- package/src/mappings/DatePicker.js +0 -182
- package/src/mappings/DatePicker.ts +0 -197
- package/src/mappings/DeckSwiper.js +0 -48
- package/src/mappings/DeckSwiper.ts +0 -57
- package/src/mappings/DeckSwiperCard.js +0 -16
- package/src/mappings/DeckSwiperCard.ts +0 -20
- 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/Fetch.js +0 -13
- package/src/mappings/Fetch.ts +0 -14
- package/src/mappings/FieldSearchBarFull.js +0 -50
- package/src/mappings/FieldSearchBarFull.ts +0 -59
- package/src/mappings/FlashList.js +0 -113
- package/src/mappings/FlashList.ts +0 -131
- package/src/mappings/FlatList.js +0 -51
- package/src/mappings/FlatList.ts +0 -64
- 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/Icon.js +0 -32
- package/src/mappings/Icon.ts +0 -40
- package/src/mappings/IconButton.js +0 -33
- package/src/mappings/IconButton.ts +0 -44
- package/src/mappings/Image.js +0 -35
- package/src/mappings/Image.ts +0 -44
- package/src/mappings/ImageBackground.js +0 -29
- package/src/mappings/ImageBackground.ts +0 -41
- package/src/mappings/KeyboardAvoidingView.js +0 -41
- package/src/mappings/KeyboardAvoidingView.ts +0 -50
- package/src/mappings/KeyboardAwareScrollView.js +0 -50
- package/src/mappings/KeyboardAwareScrollView.ts +0 -63
- package/src/mappings/Layout.js +0 -200
- package/src/mappings/Layout.ts +0 -207
- package/src/mappings/LinearGradient.js +0 -82
- package/src/mappings/LinearGradient.ts +0 -89
- package/src/mappings/MapCallout.js +0 -26
- package/src/mappings/MapCallout.ts +0 -36
- package/src/mappings/MapMarker.js +0 -52
- package/src/mappings/MapMarker.ts +0 -62
- package/src/mappings/MapView.js +0 -142
- package/src/mappings/MapView.ts +0 -155
- package/src/mappings/Markdown.js +0 -25
- package/src/mappings/Markdown.ts +0 -32
- package/src/mappings/Modal.js +0 -42
- package/src/mappings/Modal.ts +0 -51
- package/src/mappings/NativeBase/Layout.js +0 -124
- package/src/mappings/NativeBase/Layout.ts +0 -145
- package/src/mappings/NumberInput.js +0 -254
- package/src/mappings/NumberInput.ts +0 -274
- package/src/mappings/Picker.js +0 -153
- package/src/mappings/Picker.ts +0 -169
- 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/RadioButton.js +0 -51
- package/src/mappings/RadioButton.ts +0 -62
- package/src/mappings/RadioButtonGroup.js +0 -17
- package/src/mappings/RadioButtonGroup.ts +0 -24
- package/src/mappings/RadioButtonRow.js +0 -42
- package/src/mappings/RadioButtonRow.ts +0 -51
- 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/SVG.js +0 -20
- package/src/mappings/SVG.ts +0 -25
- package/src/mappings/SafeAreaView.js +0 -33
- package/src/mappings/SafeAreaView.ts +0 -39
- package/src/mappings/ScrollView.js +0 -37
- package/src/mappings/ScrollView.ts +0 -48
- package/src/mappings/Shadow.js +0 -95
- package/src/mappings/Shadow.ts +0 -104
- package/src/mappings/Slider.js +0 -60
- package/src/mappings/Slider.ts +0 -70
- package/src/mappings/StarRating.js +0 -43
- package/src/mappings/StarRating.ts +0 -52
- package/src/mappings/Stepper.js +0 -32
- package/src/mappings/Stepper.ts +0 -42
- package/src/mappings/Surface.js +0 -14
- package/src/mappings/Surface.ts +0 -19
- package/src/mappings/Swiper.js +0 -71
- package/src/mappings/Swiper.ts +0 -82
- package/src/mappings/SwiperItem.js +0 -9
- package/src/mappings/SwiperItem.ts +0 -13
- package/src/mappings/Switch.js +0 -81
- package/src/mappings/Switch.ts +0 -92
- package/src/mappings/TabView.js +0 -75
- package/src/mappings/TabView.ts +0 -85
- package/src/mappings/TabViewItem.js +0 -30
- package/src/mappings/TabViewItem.ts +0 -38
- package/src/mappings/Table.js +0 -150
- package/src/mappings/Table.ts +0 -170
- package/src/mappings/Text.js +0 -251
- package/src/mappings/Text.ts +0 -276
- package/src/mappings/TextArea.js +0 -283
- package/src/mappings/TextArea.ts +0 -300
- package/src/mappings/TextField.js +0 -400
- package/src/mappings/TextField.ts +0 -423
- package/src/mappings/TextInput.js +0 -402
- package/src/mappings/TextInput.ts +0 -431
- package/src/mappings/ToggleButton.js +0 -50
- package/src/mappings/ToggleButton.ts +0 -63
- package/src/mappings/Touchable.js +0 -67
- package/src/mappings/Touchable.ts +0 -80
- package/src/mappings/Video.js +0 -81
- package/src/mappings/Video.ts +0 -95
- package/src/mappings/View.js +0 -207
- package/src/mappings/View.ts +0 -229
- package/src/mappings/WebView.js +0 -88
- package/src/mappings/WebView.ts +0 -107
- package/src/mappings/YoutubePlayer.js +0 -31
- package/src/mappings/YoutubePlayer.ts +0 -37
|
@@ -13,7 +13,8 @@ var _utilities = require("../../utilities");
|
|
|
13
13
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
14
14
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
15
15
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
16
|
-
var
|
|
16
|
+
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); }
|
|
17
|
+
let Direction;
|
|
17
18
|
exports.Direction = Direction;
|
|
18
19
|
(function (Direction) {
|
|
19
20
|
Direction["Row"] = "row";
|
|
@@ -71,14 +72,13 @@ const CheckboxGroupRow = _ref => {
|
|
|
71
72
|
textStyles,
|
|
72
73
|
viewStyles
|
|
73
74
|
} = (0, _utilities.extractStyles)(style);
|
|
74
|
-
return /*#__PURE__*/React.createElement(_reactNative.Pressable, {
|
|
75
|
+
return /*#__PURE__*/React.createElement(_reactNative.Pressable, _extends({
|
|
75
76
|
onPress: handlePress,
|
|
76
77
|
style: [styles.mainParent, {
|
|
77
78
|
flexDirection: direction
|
|
78
79
|
}, viewStyles],
|
|
79
|
-
disabled: disabled
|
|
80
|
-
|
|
81
|
-
}, /*#__PURE__*/React.createElement(_reactNative.View, {
|
|
80
|
+
disabled: disabled
|
|
81
|
+
}, rest), /*#__PURE__*/React.createElement(_reactNative.View, {
|
|
82
82
|
style: [styles.label, {
|
|
83
83
|
alignItems: direction === Direction.Row ? "flex-start" : "flex-end"
|
|
84
84
|
}, labelContainerStyle]
|
|
@@ -117,22 +117,4 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
117
117
|
}
|
|
118
118
|
});
|
|
119
119
|
var _default = CheckboxGroupRow;
|
|
120
|
-
exports.default = _default;center",
|
|
121
|
-
justifyContent: "space-around",
|
|
122
|
-
paddingStart: 20,
|
|
123
|
-
minHeight: 50,
|
|
124
|
-
paddingEnd: 20,
|
|
125
|
-
display: "flex",
|
|
126
|
-
..._reactNative.Platform.select({
|
|
127
|
-
web: {
|
|
128
|
-
cursor: "pointer",
|
|
129
|
-
userSelect: "none"
|
|
130
|
-
}
|
|
131
|
-
})
|
|
132
|
-
},
|
|
133
|
-
label: {
|
|
134
|
-
flex: 3
|
|
135
|
-
}
|
|
136
|
-
});
|
|
137
|
-
var _default = CheckboxGroupRow;
|
|
138
120
|
exports.default = _default;
|
|
@@ -14,7 +14,8 @@ var _Checkbox = _interopRequireDefault(require("./Checkbox"));
|
|
|
14
14
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
15
15
|
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); }
|
|
16
16
|
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; }
|
|
17
|
-
var
|
|
17
|
+
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); }
|
|
18
|
+
let Direction;
|
|
18
19
|
exports.Direction = Direction;
|
|
19
20
|
(function (Direction) {
|
|
20
21
|
Direction["Row"] = "row";
|
|
@@ -57,6 +58,7 @@ const CheckboxRow = _ref => {
|
|
|
57
58
|
setInternalValue(status);
|
|
58
59
|
}
|
|
59
60
|
}, [status]);
|
|
61
|
+
|
|
60
62
|
// This special logic is to handle weird APIs like Airtable that return
|
|
61
63
|
// true or undefined for a boolean
|
|
62
64
|
const previousDefaultValue = (0, _hooks.usePrevious)(defaultValue);
|
|
@@ -80,14 +82,13 @@ const CheckboxRow = _ref => {
|
|
|
80
82
|
textStyles,
|
|
81
83
|
viewStyles
|
|
82
84
|
} = (0, _utilities.extractStyles)(style);
|
|
83
|
-
return /*#__PURE__*/React.createElement(_reactNative.Pressable, {
|
|
85
|
+
return /*#__PURE__*/React.createElement(_reactNative.Pressable, _extends({
|
|
84
86
|
onPress: handlePress,
|
|
85
87
|
style: [viewStyles, styles.mainParent, {
|
|
86
88
|
flexDirection: direction
|
|
87
89
|
}],
|
|
88
|
-
disabled: disabled
|
|
89
|
-
|
|
90
|
-
}, /*#__PURE__*/React.createElement(_reactNative.View, {
|
|
90
|
+
disabled: disabled
|
|
91
|
+
}, rest), /*#__PURE__*/React.createElement(_reactNative.View, {
|
|
91
92
|
style: [styles.label, {
|
|
92
93
|
alignItems: direction === Direction.Row ? "flex-start" : "flex-end"
|
|
93
94
|
}, labelContainerStyle]
|
|
@@ -124,22 +125,4 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
124
125
|
}
|
|
125
126
|
});
|
|
126
127
|
var _default = CheckboxRow;
|
|
127
|
-
exports.default = _default;ems: "center",
|
|
128
|
-
justifyContent: "space-around",
|
|
129
|
-
paddingStart: 20,
|
|
130
|
-
minHeight: 50,
|
|
131
|
-
paddingEnd: 20,
|
|
132
|
-
display: "flex",
|
|
133
|
-
..._reactNative.Platform.select({
|
|
134
|
-
web: {
|
|
135
|
-
cursor: "pointer",
|
|
136
|
-
userSelect: "none"
|
|
137
|
-
}
|
|
138
|
-
})
|
|
139
|
-
},
|
|
140
|
-
label: {
|
|
141
|
-
flex: 3
|
|
142
|
-
}
|
|
143
|
-
});
|
|
144
|
-
var _default = CheckboxRow;
|
|
145
128
|
exports.default = _default;
|
|
@@ -9,7 +9,6 @@ var _reactNative = require("react-native");
|
|
|
9
9
|
var _theming = require("../theming");
|
|
10
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
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
12
|
const IconButton = _ref => {
|
|
14
13
|
let {
|
|
15
14
|
Icon,
|
|
@@ -26,7 +25,7 @@ const IconButton = _ref => {
|
|
|
26
25
|
...props
|
|
27
26
|
} = _ref;
|
|
28
27
|
const iconColor = customColor || theme.colors.primary;
|
|
29
|
-
return /*#__PURE__*/React.createElement(_reactNative.Pressable,
|
|
28
|
+
return /*#__PURE__*/React.createElement(_reactNative.Pressable, {
|
|
30
29
|
onPress: onPress,
|
|
31
30
|
disabled: disabled || loading,
|
|
32
31
|
style: _ref2 => {
|
|
@@ -40,8 +39,9 @@ const IconButton = _ref => {
|
|
|
40
39
|
alignItems: "center",
|
|
41
40
|
justifyContent: "center"
|
|
42
41
|
}, style];
|
|
43
|
-
}
|
|
44
|
-
|
|
42
|
+
},
|
|
43
|
+
...props
|
|
44
|
+
}, /*#__PURE__*/React.createElement(_reactNative.View, null, icon && !loading ? /*#__PURE__*/React.createElement(Icon, {
|
|
45
45
|
name: icon,
|
|
46
46
|
size: size - 2,
|
|
47
47
|
color: iconColor
|
|
@@ -63,4 +63,19 @@ const styles = _reactNative.StyleSheet.create({
|
|
|
63
63
|
}
|
|
64
64
|
});
|
|
65
65
|
var _default = (0, _theming.withTheme)(IconButton);
|
|
66
|
+
exports.default = _default; }) : null));
|
|
67
|
+
};
|
|
68
|
+
const styles = _reactNative.StyleSheet.create({
|
|
69
|
+
container: {
|
|
70
|
+
alignItems: "center",
|
|
71
|
+
justifyContent: "center",
|
|
72
|
+
..._reactNative.Platform.select({
|
|
73
|
+
web: {
|
|
74
|
+
cursor: "pointer",
|
|
75
|
+
userSelect: "none"
|
|
76
|
+
}
|
|
77
|
+
})
|
|
78
|
+
}
|
|
79
|
+
});
|
|
80
|
+
var _default = (0, _theming.withTheme)(IconButton);
|
|
66
81
|
exports.default = _default;
|
|
@@ -13,7 +13,6 @@ var React = _interopRequireWildcard(require("react"));
|
|
|
13
13
|
var _reactNative = require("react-native");
|
|
14
14
|
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
15
15
|
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
16
|
-
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); }
|
|
17
16
|
function Center(_ref) {
|
|
18
17
|
let {
|
|
19
18
|
width = 240,
|
|
@@ -23,15 +22,16 @@ function Center(_ref) {
|
|
|
23
22
|
style,
|
|
24
23
|
...rest
|
|
25
24
|
} = _ref;
|
|
26
|
-
return /*#__PURE__*/React.createElement(_reactNative.View,
|
|
25
|
+
return /*#__PURE__*/React.createElement(_reactNative.View, {
|
|
27
26
|
style: [{
|
|
28
27
|
justifyContent: "center",
|
|
29
28
|
alignItems: "center",
|
|
30
29
|
width,
|
|
31
30
|
height,
|
|
32
31
|
backgroundColor: bgColor
|
|
33
|
-
}, style]
|
|
34
|
-
|
|
32
|
+
}, style],
|
|
33
|
+
...rest
|
|
34
|
+
}, children);
|
|
35
35
|
}
|
|
36
36
|
function Circle(_ref2) {
|
|
37
37
|
let {
|
|
@@ -42,7 +42,7 @@ function Circle(_ref2) {
|
|
|
42
42
|
...rest
|
|
43
43
|
} = _ref2;
|
|
44
44
|
const borderRadius = 1000;
|
|
45
|
-
return /*#__PURE__*/React.createElement(Center,
|
|
45
|
+
return /*#__PURE__*/React.createElement(Center, {
|
|
46
46
|
width: size,
|
|
47
47
|
height: size,
|
|
48
48
|
bgColor: bgColor,
|
|
@@ -50,8 +50,9 @@ function Circle(_ref2) {
|
|
|
50
50
|
backgroundColor: bgColor,
|
|
51
51
|
borderRadius,
|
|
52
52
|
overflow: "hidden"
|
|
53
|
-
}]
|
|
54
|
-
|
|
53
|
+
}],
|
|
54
|
+
...rest
|
|
55
|
+
}, children);
|
|
55
56
|
}
|
|
56
57
|
function Square(_ref3) {
|
|
57
58
|
let {
|
|
@@ -61,12 +62,13 @@ function Square(_ref3) {
|
|
|
61
62
|
style,
|
|
62
63
|
...rest
|
|
63
64
|
} = _ref3;
|
|
64
|
-
return /*#__PURE__*/React.createElement(Center,
|
|
65
|
+
return /*#__PURE__*/React.createElement(Center, {
|
|
65
66
|
style: style,
|
|
66
67
|
width: size,
|
|
67
68
|
height: size,
|
|
68
|
-
bgColor: bgColor
|
|
69
|
-
|
|
69
|
+
bgColor: bgColor,
|
|
70
|
+
...rest
|
|
71
|
+
}, children);
|
|
70
72
|
}
|
|
71
73
|
function Row(_ref4) {
|
|
72
74
|
let {
|
|
@@ -76,15 +78,14 @@ function Row(_ref4) {
|
|
|
76
78
|
style,
|
|
77
79
|
...rest
|
|
78
80
|
} = _ref4;
|
|
79
|
-
return /*#__PURE__*/React.createElement(_reactNative.View,
|
|
80
|
-
style: [style,
|
|
81
|
-
// style goes first b/c we can't override these
|
|
82
|
-
{
|
|
81
|
+
return /*#__PURE__*/React.createElement(_reactNative.View, {
|
|
82
|
+
style: [style, {
|
|
83
83
|
alignItems,
|
|
84
84
|
flexDirection: "row",
|
|
85
85
|
justifyContent: justifyContent
|
|
86
|
-
}]
|
|
87
|
-
|
|
86
|
+
}],
|
|
87
|
+
...rest
|
|
88
|
+
}, children);
|
|
88
89
|
}
|
|
89
90
|
function Spacer(_ref5) {
|
|
90
91
|
let {
|
|
@@ -96,16 +97,36 @@ function Spacer(_ref5) {
|
|
|
96
97
|
style,
|
|
97
98
|
...rest
|
|
98
99
|
} = _ref5;
|
|
99
|
-
return /*#__PURE__*/React.createElement(_reactNative.View,
|
|
100
|
+
return /*#__PURE__*/React.createElement(_reactNative.View, {
|
|
100
101
|
style: [style, {
|
|
101
102
|
paddingRight: right,
|
|
102
103
|
paddingTop: top,
|
|
103
104
|
paddingLeft: left,
|
|
104
105
|
paddingBottom: bottom
|
|
105
|
-
}]
|
|
106
|
-
|
|
106
|
+
}],
|
|
107
|
+
...rest
|
|
108
|
+
}, children);
|
|
107
109
|
}
|
|
108
110
|
function Stack(_ref6) {
|
|
111
|
+
let {
|
|
112
|
+
children,
|
|
113
|
+
justifyContent = "flex-start",
|
|
114
|
+
alignItems = "flex-start",
|
|
115
|
+
style,
|
|
116
|
+
...rest
|
|
117
|
+
} = _ref6;
|
|
118
|
+
return (
|
|
119
|
+
/*#__PURE__*/
|
|
120
|
+
// style must go first since we don't want justifyContent, alignItems overridden
|
|
121
|
+
React.createElement(_reactNative.View, {
|
|
122
|
+
style: [style, {
|
|
123
|
+
justifyContent,
|
|
124
|
+
alignItems
|
|
125
|
+
}],
|
|
126
|
+
...rest
|
|
127
|
+
}, children)
|
|
128
|
+
);
|
|
129
|
+
}Stack(_ref6) {
|
|
109
130
|
let {
|
|
110
131
|
children,
|
|
111
132
|
justifyContent = "flex-start",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@draftbit/core",
|
|
3
|
-
"version": "46.10.3-
|
|
3
|
+
"version": "46.10.3-6c7505.2+6c75050",
|
|
4
4
|
"description": "Core (non-native) Components",
|
|
5
5
|
"main": "lib/commonjs/index.js",
|
|
6
6
|
"module": "lib/module/index.js",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"@date-io/date-fns": "^1.3.13",
|
|
43
43
|
"@draftbit/react-theme-provider": "^2.1.1",
|
|
44
|
-
"@draftbit/types": "^46.10.3-
|
|
44
|
+
"@draftbit/types": "^46.10.3-6c7505.2+6c75050",
|
|
45
45
|
"@material-ui/core": "^4.11.0",
|
|
46
46
|
"@material-ui/pickers": "^3.2.10",
|
|
47
47
|
"@react-native-community/slider": "4.2.3",
|
|
@@ -100,5 +100,5 @@
|
|
|
100
100
|
]
|
|
101
101
|
]
|
|
102
102
|
},
|
|
103
|
-
"gitHead": "
|
|
103
|
+
"gitHead": "6c75050ff8da4c84fd4bd874fb48732853e2ba6a"
|
|
104
104
|
}
|
|
@@ -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,157 +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 _Elevation = _interopRequireDefault(require("./Elevation"));
|
|
13
|
-
var _theming = require("../theming");
|
|
14
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
15
|
-
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); }
|
|
16
|
-
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; }
|
|
17
|
-
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); }
|
|
18
|
-
const FAB = _ref => {
|
|
19
|
-
let {
|
|
20
|
-
Icon,
|
|
21
|
-
icon,
|
|
22
|
-
disabled = false,
|
|
23
|
-
type = "solid",
|
|
24
|
-
loading = false,
|
|
25
|
-
color: colorOverride,
|
|
26
|
-
label,
|
|
27
|
-
onPress,
|
|
28
|
-
elevation = 0,
|
|
29
|
-
style,
|
|
30
|
-
theme: {
|
|
31
|
-
colors,
|
|
32
|
-
disabledOpacity,
|
|
33
|
-
roundness,
|
|
34
|
-
typography
|
|
35
|
-
},
|
|
36
|
-
...rest
|
|
37
|
-
} = _ref;
|
|
38
|
-
let backgroundColor, borderColor, textColor, borderWidth;
|
|
39
|
-
const buttonColor = colorOverride || colors.primary;
|
|
40
|
-
if (type === "standard" || type === "extended" || type === "fixed") {
|
|
41
|
-
backgroundColor = buttonColor;
|
|
42
|
-
if (disabled) {
|
|
43
|
-
textColor = (0, _color.default)(colors.surface).alpha(disabledOpacity).rgb().string();
|
|
44
|
-
} else {
|
|
45
|
-
textColor = colors.surface;
|
|
46
|
-
}
|
|
47
|
-
} else {
|
|
48
|
-
backgroundColor = "transparent";
|
|
49
|
-
if (disabled) {
|
|
50
|
-
textColor = (0, _color.default)(buttonColor).alpha(disabledOpacity).rgb().string();
|
|
51
|
-
} else {
|
|
52
|
-
textColor = buttonColor;
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
if (type === "outline") {
|
|
56
|
-
if (disabled) {
|
|
57
|
-
borderColor = (0, _color.default)(buttonColor).alpha(disabledOpacity).rgb().string();
|
|
58
|
-
} else {
|
|
59
|
-
borderColor = buttonColor;
|
|
60
|
-
}
|
|
61
|
-
borderWidth = _reactNative.StyleSheet.hairlineWidth;
|
|
62
|
-
} else {
|
|
63
|
-
borderColor = "transparent";
|
|
64
|
-
borderWidth = 0;
|
|
65
|
-
}
|
|
66
|
-
const buttonStyle = {
|
|
67
|
-
backgroundColor,
|
|
68
|
-
borderColor,
|
|
69
|
-
borderWidth,
|
|
70
|
-
borderRadius: roundness,
|
|
71
|
-
alignItems: "center",
|
|
72
|
-
justifyContent: "center"
|
|
73
|
-
};
|
|
74
|
-
const buttonStyles = [styles.button, buttonStyle];
|
|
75
|
-
const contentStyle = [styles.content];
|
|
76
|
-
const textStyle = {
|
|
77
|
-
textAlign: "center",
|
|
78
|
-
color: textColor
|
|
79
|
-
};
|
|
80
|
-
const iconStyle = [styles.icon, {
|
|
81
|
-
width: _Config.default.buttonIconSize
|
|
82
|
-
}];
|
|
83
|
-
if (type === "standard" || type === "outline") {
|
|
84
|
-
buttonStyle.width = _Config.default.FABSize;
|
|
85
|
-
buttonStyle.height = _Config.default.FABSize;
|
|
86
|
-
buttonStyle.borderRadius = _Config.default.FABBorderRadius;
|
|
87
|
-
contentStyle.push({
|
|
88
|
-
width: _Config.default.FABSize,
|
|
89
|
-
height: _Config.default.FABSize
|
|
90
|
-
});
|
|
91
|
-
}
|
|
92
|
-
if (type === "extended" || type === "fixed") {
|
|
93
|
-
iconStyle.push({
|
|
94
|
-
marginLeft: 16,
|
|
95
|
-
marginRight: -8
|
|
96
|
-
});
|
|
97
|
-
textStyle.margin = 16;
|
|
98
|
-
}
|
|
99
|
-
if (type === "fixed") {
|
|
100
|
-
buttonStyles.push({
|
|
101
|
-
height: _Config.default.FABFixedHeight,
|
|
102
|
-
alignSelf: "stretch"
|
|
103
|
-
});
|
|
104
|
-
}
|
|
105
|
-
return /*#__PURE__*/React.createElement(_Elevation.default, {
|
|
106
|
-
style: [{
|
|
107
|
-
elevation
|
|
108
|
-
}, style]
|
|
109
|
-
}, /*#__PURE__*/React.createElement(_reactNative.Pressable, _extends({}, rest, {
|
|
110
|
-
onPress: onPress,
|
|
111
|
-
accessibilityState: {
|
|
112
|
-
disabled
|
|
113
|
-
},
|
|
114
|
-
accessibilityRole: "button",
|
|
115
|
-
disabled: disabled || loading,
|
|
116
|
-
style: buttonStyles
|
|
117
|
-
}), /*#__PURE__*/React.createElement(_reactNative.View, {
|
|
118
|
-
style: styles.content
|
|
119
|
-
}, icon && loading !== true ? /*#__PURE__*/React.createElement(_reactNative.View, {
|
|
120
|
-
style: iconStyle
|
|
121
|
-
}, /*#__PURE__*/React.createElement(Icon, {
|
|
122
|
-
name: icon,
|
|
123
|
-
size: _Config.default.buttonIconSize,
|
|
124
|
-
color: textColor
|
|
125
|
-
})) : null, loading ? /*#__PURE__*/React.createElement(_reactNative.ActivityIndicator, {
|
|
126
|
-
size: "small",
|
|
127
|
-
color: textColor,
|
|
128
|
-
style: iconStyle
|
|
129
|
-
}) : null, label ? /*#__PURE__*/React.createElement(_Text.default, {
|
|
130
|
-
numberOfLines: 1,
|
|
131
|
-
style: [textStyle, typography.button]
|
|
132
|
-
}, label) : null)));
|
|
133
|
-
};
|
|
134
|
-
const styles = _reactNative.StyleSheet.create({
|
|
135
|
-
button: {
|
|
136
|
-
borderStyle: "solid"
|
|
137
|
-
},
|
|
138
|
-
content: {
|
|
139
|
-
flexDirection: "row",
|
|
140
|
-
alignItems: "center",
|
|
141
|
-
justifyContent: "center"
|
|
142
|
-
},
|
|
143
|
-
icon: {
|
|
144
|
-
alignItems: "center",
|
|
145
|
-
justifyContent: "center",
|
|
146
|
-
width: _Config.default.buttonIconSize
|
|
147
|
-
},
|
|
148
|
-
fixed: {
|
|
149
|
-
left: 0,
|
|
150
|
-
right: 0,
|
|
151
|
-
bottom: 0,
|
|
152
|
-
height: 64,
|
|
153
|
-
borderRadius: 0
|
|
154
|
-
}
|
|
155
|
-
});
|
|
156
|
-
var _default = (0, _theming.withTheme)(FAB);
|
|
157
|
-
exports.default = _default;
|
|
@@ -1,55 +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 _StepIndicator = _interopRequireDefault(require("./StepIndicator"));
|
|
9
|
-
var _theming = require("../theming");
|
|
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
|
-
const ProgressIndicator = _ref => {
|
|
14
|
-
let {
|
|
15
|
-
numberOfSteps,
|
|
16
|
-
currentStep,
|
|
17
|
-
currentStepStrokeWidth = 3,
|
|
18
|
-
stepStrokeCurrentColor = "primary",
|
|
19
|
-
stepIndicatorSize,
|
|
20
|
-
currentStepIndicatorSize,
|
|
21
|
-
stepIndicatorCurrentColor,
|
|
22
|
-
stepIndicatorLabelCurrentColor,
|
|
23
|
-
stepIndicatorLabelFontSize = 12,
|
|
24
|
-
stepNumberFinishedColor = "strongInverse",
|
|
25
|
-
stepNumberUnfinishedColor = "primary",
|
|
26
|
-
unfinishedColor = "light",
|
|
27
|
-
finishedColor = "primary",
|
|
28
|
-
theme
|
|
29
|
-
} = _ref;
|
|
30
|
-
const currentPosition = currentStep - 1;
|
|
31
|
-
return /*#__PURE__*/React.createElement(_StepIndicator.default, {
|
|
32
|
-
stepCount: numberOfSteps,
|
|
33
|
-
currentPosition: currentPosition,
|
|
34
|
-
customStyles: {
|
|
35
|
-
stepIndicatorSize,
|
|
36
|
-
currentStepIndicatorSize: currentStepIndicatorSize ? currentStepIndicatorSize : stepIndicatorSize,
|
|
37
|
-
stepStrokeFinishedColor: finishedColor,
|
|
38
|
-
stepStrokeUnFinishedColor: unfinishedColor,
|
|
39
|
-
separatorFinishedColor: finishedColor,
|
|
40
|
-
separatorUnFinishedColor: unfinishedColor,
|
|
41
|
-
stepIndicatorFinishedColor: finishedColor,
|
|
42
|
-
stepIndicatorUnFinishedColor: unfinishedColor,
|
|
43
|
-
currentStepStrokeWidth,
|
|
44
|
-
stepStrokeCurrentColor: stepStrokeCurrentColor || stepIndicatorCurrentColor,
|
|
45
|
-
stepIndicatorLabelUnFinishedColor: stepNumberUnfinishedColor,
|
|
46
|
-
stepIndicatorLabelFinishedColor: stepNumberFinishedColor,
|
|
47
|
-
stepIndicatorCurrentColor: stepIndicatorCurrentColor || unfinishedColor,
|
|
48
|
-
stepIndicatorLabelCurrentColor: stepIndicatorLabelCurrentColor || stepNumberUnfinishedColor,
|
|
49
|
-
stepIndicatorLabelFontSize,
|
|
50
|
-
labelFontFamily: theme.typography.body1.fontFamily
|
|
51
|
-
}
|
|
52
|
-
});
|
|
53
|
-
};
|
|
54
|
-
var _default = (0, _theming.withTheme)(ProgressIndicator);
|
|
55
|
-
exports.default = _default;
|
|
@@ -1,49 +0,0 @@
|
|
|
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: "Accordion",
|
|
10
|
-
tag: "AccordionGroup",
|
|
11
|
-
description: "An expandable container containing components",
|
|
12
|
-
category: _types.COMPONENT_TYPES.container,
|
|
13
|
-
stylesPanelSections: [_types.StylesPanelSections.LayoutSelectedItem, _types.StylesPanelSections.Background, _types.StylesPanelSections.Size, _types.StylesPanelSections.MarginsAndPaddings, _types.StylesPanelSections.Position, _types.StylesPanelSections.Borders, _types.StylesPanelSections.Effects],
|
|
14
|
-
layout: {
|
|
15
|
-
paddingTop: 8,
|
|
16
|
-
paddingRight: 8,
|
|
17
|
-
paddingBottom: 8,
|
|
18
|
-
paddingLeft: 8,
|
|
19
|
-
fontSize: 16
|
|
20
|
-
},
|
|
21
|
-
props: {
|
|
22
|
-
label: (0, _types.createTextProp)({
|
|
23
|
-
label: "Label"
|
|
24
|
-
}),
|
|
25
|
-
expanded: (0, _types.createStaticBoolProp)({
|
|
26
|
-
label: "Expanded",
|
|
27
|
-
description: "Whether the AccordionGroup should be initaially expanded or not"
|
|
28
|
-
}),
|
|
29
|
-
openColor: (0, _types.createColorProp)({
|
|
30
|
-
label: "Open text color"
|
|
31
|
-
}),
|
|
32
|
-
closedColor: (0, _types.createColorProp)({
|
|
33
|
-
label: "Closed text color"
|
|
34
|
-
}),
|
|
35
|
-
caretColor: (0, _types.createColorProp)({
|
|
36
|
-
label: "Caret color"
|
|
37
|
-
}),
|
|
38
|
-
caretSize: (0, _types.createNumberProp)({
|
|
39
|
-
label: "Caret size",
|
|
40
|
-
defaultValue: 24
|
|
41
|
-
}),
|
|
42
|
-
icon: (0, _types.createIconProp)(),
|
|
43
|
-
iconSize: (0, _types.createNumberProp)({
|
|
44
|
-
label: "Icon size",
|
|
45
|
-
defaultValue: 24
|
|
46
|
-
})
|
|
47
|
-
}
|
|
48
|
-
};
|
|
49
|
-
exports.SEED_DATA = SEED_DATA;
|
|
@@ -1,24 +0,0 @@
|
|
|
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: "Accordion Item",
|
|
10
|
-
tag: "AccordionItem",
|
|
11
|
-
description: "Item to be used in Accordion",
|
|
12
|
-
category: _types.COMPONENT_TYPES.deprecated,
|
|
13
|
-
stylesPanelSections: _types.CONTAINER_COMPONENT_STYLES_SECTIONS,
|
|
14
|
-
props: {
|
|
15
|
-
icon: (0, _types.createIconProp)(),
|
|
16
|
-
label: (0, _types.createTextProp)({
|
|
17
|
-
label: "Item label"
|
|
18
|
-
}),
|
|
19
|
-
iconColor: (0, _types.createColorProp)({
|
|
20
|
-
label: "Icon color"
|
|
21
|
-
})
|
|
22
|
-
}
|
|
23
|
-
};
|
|
24
|
-
exports.SEED_DATA = SEED_DATA;
|
|
@@ -1,21 +0,0 @@
|
|
|
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: "Action Sheet",
|
|
10
|
-
tag: "ActionSheet",
|
|
11
|
-
description: "Action Sheet container",
|
|
12
|
-
category: _types.COMPONENT_TYPES.actionsheet,
|
|
13
|
-
stylesPanelSections: [_types.StylesPanelSections.Margins, _types.StylesPanelSections.Effects],
|
|
14
|
-
props: {
|
|
15
|
-
visible: (0, _types.createStaticBoolProp)({
|
|
16
|
-
group: _types.GROUPS.data,
|
|
17
|
-
label: "Show Action Sheet"
|
|
18
|
-
})
|
|
19
|
-
}
|
|
20
|
-
};
|
|
21
|
-
exports.SEED_DATA = SEED_DATA;
|