@draftbit/core 46.2.1-de631b.0 → 46.2.2-088abf.0
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/mappings/ActivityIndicator.js +1 -0
- package/lib/commonjs/mappings/ActivityIndicator.js.map +1 -1
- package/lib/commonjs/mappings/AvatarEdit.js +1 -0
- package/lib/commonjs/mappings/AvatarEdit.js.map +1 -1
- package/lib/commonjs/mappings/BlurView.js +1 -0
- package/lib/commonjs/mappings/BlurView.js.map +1 -1
- package/lib/commonjs/mappings/Button.js +2 -0
- package/lib/commonjs/mappings/Button.js.map +1 -1
- package/lib/commonjs/mappings/CardBlock.js +1 -0
- package/lib/commonjs/mappings/CardBlock.js.map +1 -1
- package/lib/commonjs/mappings/CardContainer.js +2 -0
- package/lib/commonjs/mappings/CardContainer.js.map +1 -1
- package/lib/commonjs/mappings/CardContainerRating.js +2 -0
- package/lib/commonjs/mappings/CardContainerRating.js.map +1 -1
- package/lib/commonjs/mappings/CardContainerShortImage.js +2 -0
- package/lib/commonjs/mappings/CardContainerShortImage.js.map +1 -1
- package/lib/commonjs/mappings/CardInline.js +1 -0
- package/lib/commonjs/mappings/CardInline.js.map +1 -1
- package/lib/commonjs/mappings/Carousel.js +1 -0
- package/lib/commonjs/mappings/Carousel.js.map +1 -1
- package/lib/commonjs/mappings/Checkbox.js +1 -0
- package/lib/commonjs/mappings/Checkbox.js.map +1 -1
- package/lib/commonjs/mappings/CheckboxGroup.js +1 -0
- package/lib/commonjs/mappings/CheckboxGroup.js.map +1 -1
- package/lib/commonjs/mappings/CheckboxRow.js +1 -0
- package/lib/commonjs/mappings/CheckboxRow.js.map +1 -1
- package/lib/commonjs/mappings/CircleImage.js +1 -0
- package/lib/commonjs/mappings/CircleImage.js.map +1 -1
- package/lib/commonjs/mappings/Container.js +1 -0
- package/lib/commonjs/mappings/Container.js.map +1 -1
- package/lib/commonjs/mappings/DatePicker.js +10 -0
- package/lib/commonjs/mappings/DatePicker.js.map +1 -1
- package/lib/commonjs/mappings/Divider.js +1 -0
- package/lib/commonjs/mappings/Divider.js.map +1 -1
- package/lib/commonjs/mappings/FAB.js +1 -0
- package/lib/commonjs/mappings/FAB.js.map +1 -1
- package/lib/commonjs/mappings/Fetch.js +1 -0
- package/lib/commonjs/mappings/Fetch.js.map +1 -1
- package/lib/commonjs/mappings/FieldSearchBarFull.js +1 -0
- package/lib/commonjs/mappings/FieldSearchBarFull.js.map +1 -1
- package/lib/commonjs/mappings/FlatList.js +5 -0
- package/lib/commonjs/mappings/FlatList.js.map +1 -1
- package/lib/commonjs/mappings/HeaderLarge.js +1 -0
- package/lib/commonjs/mappings/HeaderLarge.js.map +1 -1
- package/lib/commonjs/mappings/HeaderMedium.js +1 -0
- package/lib/commonjs/mappings/HeaderMedium.js.map +1 -1
- package/lib/commonjs/mappings/HeaderOverline.js +1 -0
- package/lib/commonjs/mappings/HeaderOverline.js.map +1 -1
- package/lib/commonjs/mappings/Icon.js +1 -0
- package/lib/commonjs/mappings/Icon.js.map +1 -1
- package/lib/commonjs/mappings/IconButton.js +1 -0
- package/lib/commonjs/mappings/IconButton.js.map +1 -1
- package/lib/commonjs/mappings/Image.js +1 -0
- package/lib/commonjs/mappings/Image.js.map +1 -1
- package/lib/commonjs/mappings/ImageBackground.js +1 -0
- package/lib/commonjs/mappings/ImageBackground.js.map +1 -1
- package/lib/commonjs/mappings/KeyboardAvoidingView.js +1 -0
- package/lib/commonjs/mappings/KeyboardAvoidingView.js.map +1 -1
- package/lib/commonjs/mappings/KeyboardAwareScrollView.js +1 -0
- package/lib/commonjs/mappings/KeyboardAwareScrollView.js.map +1 -1
- package/lib/commonjs/mappings/Layout.js +5 -0
- package/lib/commonjs/mappings/Layout.js.map +1 -1
- package/lib/commonjs/mappings/Modal.js +1 -0
- package/lib/commonjs/mappings/Modal.js.map +1 -1
- package/lib/commonjs/mappings/NumberInput.js +1 -0
- package/lib/commonjs/mappings/NumberInput.js.map +1 -1
- package/lib/commonjs/mappings/Picker.js +1 -0
- package/lib/commonjs/mappings/Picker.js.map +1 -1
- package/lib/commonjs/mappings/ProgressBar.js +1 -0
- package/lib/commonjs/mappings/ProgressBar.js.map +1 -1
- package/lib/commonjs/mappings/ProgressCircle.js +1 -0
- package/lib/commonjs/mappings/ProgressCircle.js.map +1 -1
- package/lib/commonjs/mappings/ProgressIndicator.js +1 -0
- package/lib/commonjs/mappings/ProgressIndicator.js.map +1 -1
- package/lib/commonjs/mappings/RadioButton.js +1 -0
- package/lib/commonjs/mappings/RadioButton.js.map +1 -1
- package/lib/commonjs/mappings/RadioButtonGroup.js +1 -0
- package/lib/commonjs/mappings/RadioButtonGroup.js.map +1 -1
- package/lib/commonjs/mappings/RadioButtonRow.js +1 -0
- package/lib/commonjs/mappings/RadioButtonRow.js.map +1 -1
- package/lib/commonjs/mappings/ScrollView.js +1 -0
- package/lib/commonjs/mappings/ScrollView.js.map +1 -1
- package/lib/commonjs/mappings/Slider.js +1 -0
- package/lib/commonjs/mappings/Slider.js.map +1 -1
- package/lib/commonjs/mappings/StarRating.js +1 -0
- package/lib/commonjs/mappings/StarRating.js.map +1 -1
- package/lib/commonjs/mappings/Stepper.js +1 -0
- package/lib/commonjs/mappings/Stepper.js.map +1 -1
- package/lib/commonjs/mappings/Surface.js +1 -0
- package/lib/commonjs/mappings/Surface.js.map +1 -1
- package/lib/commonjs/mappings/Switch.js +2 -0
- package/lib/commonjs/mappings/Switch.js.map +1 -1
- package/lib/commonjs/mappings/Text.js +35 -26
- package/lib/commonjs/mappings/Text.js.map +1 -1
- package/lib/commonjs/mappings/TextArea.js +11 -0
- package/lib/commonjs/mappings/TextArea.js.map +1 -1
- package/lib/commonjs/mappings/TextField.js +1 -0
- package/lib/commonjs/mappings/TextField.js.map +1 -1
- package/lib/commonjs/mappings/TextInput.js +1 -0
- package/lib/commonjs/mappings/TextInput.js.map +1 -1
- package/lib/commonjs/mappings/ToggleButton.js +1 -0
- package/lib/commonjs/mappings/ToggleButton.js.map +1 -1
- package/lib/commonjs/mappings/Touchable.js +1 -0
- package/lib/commonjs/mappings/Touchable.js.map +1 -1
- package/lib/commonjs/mappings/Video.js +1 -0
- package/lib/commonjs/mappings/Video.js.map +1 -1
- package/lib/commonjs/mappings/View.js +1 -0
- package/lib/commonjs/mappings/View.js.map +1 -1
- package/lib/commonjs/mappings/WebView.js +66 -0
- package/lib/commonjs/mappings/WebView.js.map +1 -1
- package/lib/module/mappings/ActivityIndicator.js +2 -1
- package/lib/module/mappings/ActivityIndicator.js.map +1 -1
- package/lib/module/mappings/AvatarEdit.js +2 -1
- package/lib/module/mappings/AvatarEdit.js.map +1 -1
- package/lib/module/mappings/BlurView.js +2 -1
- package/lib/module/mappings/BlurView.js.map +1 -1
- package/lib/module/mappings/Button.js +3 -1
- package/lib/module/mappings/Button.js.map +1 -1
- package/lib/module/mappings/CardBlock.js +2 -1
- package/lib/module/mappings/CardBlock.js.map +1 -1
- package/lib/module/mappings/CardContainer.js +3 -1
- package/lib/module/mappings/CardContainer.js.map +1 -1
- package/lib/module/mappings/CardContainerRating.js +3 -1
- package/lib/module/mappings/CardContainerRating.js.map +1 -1
- package/lib/module/mappings/CardContainerShortImage.js +3 -1
- package/lib/module/mappings/CardContainerShortImage.js.map +1 -1
- package/lib/module/mappings/CardInline.js +2 -1
- package/lib/module/mappings/CardInline.js.map +1 -1
- package/lib/module/mappings/Carousel.js +2 -1
- package/lib/module/mappings/Carousel.js.map +1 -1
- package/lib/module/mappings/Checkbox.js +2 -1
- package/lib/module/mappings/Checkbox.js.map +1 -1
- package/lib/module/mappings/CheckboxGroup.js +2 -1
- package/lib/module/mappings/CheckboxGroup.js.map +1 -1
- package/lib/module/mappings/CheckboxRow.js +2 -1
- package/lib/module/mappings/CheckboxRow.js.map +1 -1
- package/lib/module/mappings/CircleImage.js +2 -1
- package/lib/module/mappings/CircleImage.js.map +1 -1
- package/lib/module/mappings/Container.js +2 -1
- package/lib/module/mappings/Container.js.map +1 -1
- package/lib/module/mappings/DatePicker.js +10 -0
- package/lib/module/mappings/DatePicker.js.map +1 -1
- package/lib/module/mappings/Divider.js +2 -1
- package/lib/module/mappings/Divider.js.map +1 -1
- package/lib/module/mappings/FAB.js +2 -1
- package/lib/module/mappings/FAB.js.map +1 -1
- package/lib/module/mappings/Fetch.js +2 -1
- package/lib/module/mappings/Fetch.js.map +1 -1
- package/lib/module/mappings/FieldSearchBarFull.js +2 -1
- package/lib/module/mappings/FieldSearchBarFull.js.map +1 -1
- package/lib/module/mappings/FlatList.js +6 -1
- package/lib/module/mappings/FlatList.js.map +1 -1
- package/lib/module/mappings/HeaderLarge.js +2 -1
- package/lib/module/mappings/HeaderLarge.js.map +1 -1
- package/lib/module/mappings/HeaderMedium.js +2 -1
- package/lib/module/mappings/HeaderMedium.js.map +1 -1
- package/lib/module/mappings/HeaderOverline.js +2 -1
- package/lib/module/mappings/HeaderOverline.js.map +1 -1
- package/lib/module/mappings/Icon.js +2 -1
- package/lib/module/mappings/Icon.js.map +1 -1
- package/lib/module/mappings/IconButton.js +2 -1
- package/lib/module/mappings/IconButton.js.map +1 -1
- package/lib/module/mappings/Image.js +2 -1
- package/lib/module/mappings/Image.js.map +1 -1
- package/lib/module/mappings/ImageBackground.js +2 -1
- package/lib/module/mappings/ImageBackground.js.map +1 -1
- package/lib/module/mappings/KeyboardAvoidingView.js +2 -1
- package/lib/module/mappings/KeyboardAvoidingView.js.map +1 -1
- package/lib/module/mappings/KeyboardAwareScrollView.js +2 -1
- package/lib/module/mappings/KeyboardAwareScrollView.js.map +1 -1
- package/lib/module/mappings/Layout.js +6 -1
- package/lib/module/mappings/Layout.js.map +1 -1
- package/lib/module/mappings/Modal.js +2 -1
- package/lib/module/mappings/Modal.js.map +1 -1
- package/lib/module/mappings/NumberInput.js +2 -1
- package/lib/module/mappings/NumberInput.js.map +1 -1
- package/lib/module/mappings/Picker.js +2 -1
- package/lib/module/mappings/Picker.js.map +1 -1
- package/lib/module/mappings/ProgressBar.js +2 -1
- package/lib/module/mappings/ProgressBar.js.map +1 -1
- package/lib/module/mappings/ProgressCircle.js +2 -1
- package/lib/module/mappings/ProgressCircle.js.map +1 -1
- package/lib/module/mappings/ProgressIndicator.js +2 -1
- package/lib/module/mappings/ProgressIndicator.js.map +1 -1
- package/lib/module/mappings/RadioButton.js +2 -1
- package/lib/module/mappings/RadioButton.js.map +1 -1
- package/lib/module/mappings/RadioButtonGroup.js +2 -1
- package/lib/module/mappings/RadioButtonGroup.js.map +1 -1
- package/lib/module/mappings/RadioButtonRow.js +2 -1
- package/lib/module/mappings/RadioButtonRow.js.map +1 -1
- package/lib/module/mappings/ScrollView.js +2 -1
- package/lib/module/mappings/ScrollView.js.map +1 -1
- package/lib/module/mappings/Slider.js +2 -1
- package/lib/module/mappings/Slider.js.map +1 -1
- package/lib/module/mappings/StarRating.js +2 -1
- package/lib/module/mappings/StarRating.js.map +1 -1
- package/lib/module/mappings/Stepper.js +2 -1
- package/lib/module/mappings/Stepper.js.map +1 -1
- package/lib/module/mappings/Surface.js +2 -1
- package/lib/module/mappings/Surface.js.map +1 -1
- package/lib/module/mappings/Switch.js +3 -1
- package/lib/module/mappings/Switch.js.map +1 -1
- package/lib/module/mappings/Text.js +36 -27
- package/lib/module/mappings/Text.js.map +1 -1
- package/lib/module/mappings/TextArea.js +11 -0
- package/lib/module/mappings/TextArea.js.map +1 -1
- package/lib/module/mappings/TextField.js +2 -1
- package/lib/module/mappings/TextField.js.map +1 -1
- package/lib/module/mappings/TextInput.js +2 -1
- package/lib/module/mappings/TextInput.js.map +1 -1
- package/lib/module/mappings/ToggleButton.js +2 -1
- package/lib/module/mappings/ToggleButton.js.map +1 -1
- package/lib/module/mappings/Touchable.js +2 -1
- package/lib/module/mappings/Touchable.js.map +1 -1
- package/lib/module/mappings/Video.js +2 -1
- package/lib/module/mappings/Video.js.map +1 -1
- package/lib/module/mappings/View.js +2 -1
- package/lib/module/mappings/View.js.map +1 -1
- package/lib/module/mappings/WebView.js +67 -1
- package/lib/module/mappings/WebView.js.map +1 -1
- package/lib/typescript/src/mappings/ActivityIndicator.d.ts +1 -0
- package/lib/typescript/src/mappings/AvatarEdit.d.ts +1 -0
- package/lib/typescript/src/mappings/BlurView.d.ts +1 -0
- package/lib/typescript/src/mappings/Button.d.ts +2 -0
- package/lib/typescript/src/mappings/CardBlock.d.ts +101 -0
- package/lib/typescript/src/mappings/CardContainer.d.ts +1 -0
- package/lib/typescript/src/mappings/CardContainerRating.d.ts +1 -0
- package/lib/typescript/src/mappings/CardContainerShortImage.d.ts +2 -0
- package/lib/typescript/src/mappings/CardInline.d.ts +1 -0
- package/lib/typescript/src/mappings/Carousel.d.ts +1 -0
- package/lib/typescript/src/mappings/Checkbox.d.ts +1 -0
- package/lib/typescript/src/mappings/CheckboxGroup.d.ts +1 -0
- package/lib/typescript/src/mappings/CheckboxRow.d.ts +1 -0
- package/lib/typescript/src/mappings/CircleImage.d.ts +1 -0
- package/lib/typescript/src/mappings/Container.d.ts +1 -0
- package/lib/typescript/src/mappings/DatePicker.d.ts +10 -0
- package/lib/typescript/src/mappings/Divider.d.ts +1 -0
- package/lib/typescript/src/mappings/FAB.d.ts +1 -0
- package/lib/typescript/src/mappings/Fetch.d.ts +1 -0
- package/lib/typescript/src/mappings/FieldSearchBarFull.d.ts +1 -0
- package/lib/typescript/src/mappings/FlatList.d.ts +11 -0
- package/lib/typescript/src/mappings/HeaderLarge.d.ts +1 -0
- package/lib/typescript/src/mappings/HeaderMedium.d.ts +1 -0
- package/lib/typescript/src/mappings/HeaderOverline.d.ts +1 -0
- package/lib/typescript/src/mappings/Icon.d.ts +1 -0
- package/lib/typescript/src/mappings/IconButton.d.ts +1 -0
- package/lib/typescript/src/mappings/Image.d.ts +1 -0
- package/lib/typescript/src/mappings/ImageBackground.d.ts +1 -0
- package/lib/typescript/src/mappings/KeyboardAvoidingView.d.ts +1 -0
- package/lib/typescript/src/mappings/KeyboardAwareScrollView.d.ts +1 -0
- package/lib/typescript/src/mappings/Layout.d.ts +4 -0
- package/lib/typescript/src/mappings/Modal.d.ts +1 -0
- package/lib/typescript/src/mappings/NumberInput.d.ts +1 -0
- package/lib/typescript/src/mappings/Picker.d.ts +1 -0
- package/lib/typescript/src/mappings/ProgressBar.d.ts +1 -0
- package/lib/typescript/src/mappings/ProgressCircle.d.ts +1 -0
- package/lib/typescript/src/mappings/ProgressIndicator.d.ts +1 -0
- package/lib/typescript/src/mappings/RadioButton.d.ts +1 -0
- package/lib/typescript/src/mappings/RadioButtonGroup.d.ts +1 -0
- package/lib/typescript/src/mappings/RadioButtonRow.d.ts +1 -0
- package/lib/typescript/src/mappings/ScrollView.d.ts +1 -0
- package/lib/typescript/src/mappings/Slider.d.ts +1 -0
- package/lib/typescript/src/mappings/StarRating.d.ts +1 -0
- package/lib/typescript/src/mappings/Stepper.d.ts +1 -0
- package/lib/typescript/src/mappings/Surface.d.ts +1 -0
- package/lib/typescript/src/mappings/Switch.d.ts +2 -0
- package/lib/typescript/src/mappings/Text.d.ts +26 -10
- package/lib/typescript/src/mappings/TextArea.d.ts +11 -0
- package/lib/typescript/src/mappings/TextField.d.ts +2 -0
- package/lib/typescript/src/mappings/TextInput.d.ts +1 -0
- package/lib/typescript/src/mappings/ToggleButton.d.ts +1 -0
- package/lib/typescript/src/mappings/Touchable.d.ts +1 -0
- package/lib/typescript/src/mappings/Video.d.ts +1 -0
- package/lib/typescript/src/mappings/View.d.ts +1 -0
- package/lib/typescript/src/mappings/WebView.d.ts +103 -0
- package/package.json +3 -3
- package/src/mappings/ActivityIndicator.js +6 -1
- package/src/mappings/ActivityIndicator.ts +6 -0
- package/src/mappings/AvatarEdit.js +2 -1
- package/src/mappings/AvatarEdit.ts +2 -0
- package/src/mappings/BlurView.js +2 -1
- package/src/mappings/BlurView.ts +2 -0
- package/src/mappings/Button.js +19 -1
- package/src/mappings/Button.ts +19 -0
- package/src/mappings/CardBlock.js +2 -1
- package/src/mappings/CardBlock.ts +2 -0
- package/src/mappings/CardContainer.js +3 -1
- package/src/mappings/CardContainer.ts +3 -0
- package/src/mappings/CardContainerRating.js +3 -1
- package/src/mappings/CardContainerRating.ts +3 -0
- package/src/mappings/CardContainerShortImage.js +3 -1
- package/src/mappings/CardContainerShortImage.ts +3 -0
- package/src/mappings/CardInline.js +2 -1
- package/src/mappings/CardInline.ts +2 -0
- package/src/mappings/Carousel.js +2 -1
- package/src/mappings/Carousel.ts +2 -0
- package/src/mappings/Checkbox.js +2 -1
- package/src/mappings/Checkbox.ts +2 -0
- package/src/mappings/CheckboxGroup.js +2 -1
- package/src/mappings/CheckboxGroup.ts +2 -0
- package/src/mappings/CheckboxRow.js +6 -1
- package/src/mappings/CheckboxRow.ts +6 -0
- package/src/mappings/CircleImage.js +2 -1
- package/src/mappings/CircleImage.ts +2 -0
- package/src/mappings/Container.js +2 -1
- package/src/mappings/Container.ts +2 -0
- package/src/mappings/DatePicker.js +10 -0
- package/src/mappings/DatePicker.ts +10 -0
- package/src/mappings/Divider.js +2 -1
- package/src/mappings/Divider.ts +2 -0
- package/src/mappings/FAB.js +2 -1
- package/src/mappings/FAB.ts +2 -0
- package/src/mappings/Fetch.js +2 -1
- package/src/mappings/Fetch.ts +2 -1
- package/src/mappings/FieldSearchBarFull.js +2 -1
- package/src/mappings/FieldSearchBarFull.ts +2 -0
- package/src/mappings/FlatList.js +6 -1
- package/src/mappings/FlatList.ts +6 -0
- package/src/mappings/HeaderLarge.js +2 -1
- package/src/mappings/HeaderLarge.ts +2 -0
- package/src/mappings/HeaderMedium.js +2 -1
- package/src/mappings/HeaderMedium.ts +2 -0
- package/src/mappings/HeaderOverline.js +2 -1
- package/src/mappings/HeaderOverline.ts +2 -0
- package/src/mappings/Icon.js +8 -1
- package/src/mappings/Icon.ts +8 -0
- package/src/mappings/IconButton.js +6 -1
- package/src/mappings/IconButton.ts +6 -0
- package/src/mappings/Image.js +7 -1
- package/src/mappings/Image.ts +7 -0
- package/src/mappings/ImageBackground.js +2 -1
- package/src/mappings/ImageBackground.ts +2 -0
- package/src/mappings/KeyboardAvoidingView.js +2 -1
- package/src/mappings/KeyboardAvoidingView.ts +2 -0
- package/src/mappings/KeyboardAwareScrollView.js +2 -1
- package/src/mappings/KeyboardAwareScrollView.ts +2 -0
- package/src/mappings/Layout.js +6 -1
- package/src/mappings/Layout.ts +6 -0
- package/src/mappings/Modal.js +2 -1
- package/src/mappings/Modal.ts +2 -0
- package/src/mappings/NumberInput.js +10 -1
- package/src/mappings/NumberInput.ts +10 -0
- package/src/mappings/Picker.js +10 -1
- package/src/mappings/Picker.ts +10 -0
- package/src/mappings/ProgressBar.js +2 -1
- package/src/mappings/ProgressBar.ts +2 -0
- package/src/mappings/ProgressCircle.js +2 -1
- package/src/mappings/ProgressCircle.ts +2 -0
- package/src/mappings/ProgressIndicator.js +2 -1
- package/src/mappings/ProgressIndicator.ts +2 -0
- package/src/mappings/RadioButton.js +2 -1
- package/src/mappings/RadioButton.ts +2 -0
- package/src/mappings/RadioButtonGroup.js +2 -1
- package/src/mappings/RadioButtonGroup.ts +2 -0
- package/src/mappings/RadioButtonRow.js +6 -1
- package/src/mappings/RadioButtonRow.ts +6 -0
- package/src/mappings/ScrollView.js +2 -1
- package/src/mappings/ScrollView.ts +6 -1
- package/src/mappings/Slider.js +2 -1
- package/src/mappings/Slider.ts +2 -0
- package/src/mappings/StarRating.js +2 -1
- package/src/mappings/StarRating.ts +2 -0
- package/src/mappings/Stepper.js +2 -1
- package/src/mappings/Stepper.ts +2 -0
- package/src/mappings/Surface.js +2 -1
- package/src/mappings/Surface.ts +6 -1
- package/src/mappings/Switch.js +7 -1
- package/src/mappings/Switch.ts +8 -0
- package/src/mappings/Text.js +46 -27
- package/src/mappings/Text.ts +47 -27
- package/src/mappings/TextArea.js +11 -0
- package/src/mappings/TextArea.ts +11 -0
- package/src/mappings/TextField.js +10 -1
- package/src/mappings/TextField.ts +10 -0
- package/src/mappings/TextInput.js +10 -1
- package/src/mappings/TextInput.ts +10 -0
- package/src/mappings/ToggleButton.js +6 -1
- package/src/mappings/ToggleButton.ts +6 -0
- package/src/mappings/Touchable.js +6 -1
- package/src/mappings/Touchable.ts +11 -1
- package/src/mappings/Video.js +8 -1
- package/src/mappings/Video.ts +8 -0
- package/src/mappings/View.js +2 -1
- package/src/mappings/View.ts +2 -0
- package/src/mappings/WebView.js +71 -1
- package/src/mappings/WebView.ts +83 -0
|
@@ -2,6 +2,7 @@ export declare const SEED_DATA: ({
|
|
|
2
2
|
name: string;
|
|
3
3
|
tag: string;
|
|
4
4
|
category: string;
|
|
5
|
+
stylesPanelSections: string[];
|
|
5
6
|
props: {
|
|
6
7
|
justifyContent: {
|
|
7
8
|
label: string;
|
|
@@ -84,10 +85,12 @@ export declare const SEED_DATA: ({
|
|
|
84
85
|
bgColor?: undefined;
|
|
85
86
|
size?: undefined;
|
|
86
87
|
};
|
|
88
|
+
stylesPanelSections?: undefined;
|
|
87
89
|
} | {
|
|
88
90
|
name: string;
|
|
89
91
|
tag: string;
|
|
90
92
|
category: string;
|
|
93
|
+
stylesPanelSections: string[];
|
|
91
94
|
props: {
|
|
92
95
|
width: {
|
|
93
96
|
label: string;
|
|
@@ -131,6 +134,7 @@ export declare const SEED_DATA: ({
|
|
|
131
134
|
name: string;
|
|
132
135
|
tag: string;
|
|
133
136
|
category: string;
|
|
137
|
+
stylesPanelSections: string[];
|
|
134
138
|
props: {
|
|
135
139
|
size: {
|
|
136
140
|
label: string;
|
|
@@ -2,6 +2,7 @@ export declare const SEED_DATA: ({
|
|
|
2
2
|
name: string;
|
|
3
3
|
tag: string;
|
|
4
4
|
category: string;
|
|
5
|
+
stylesPanelSections: string[];
|
|
5
6
|
layout: {
|
|
6
7
|
marginLeft?: undefined;
|
|
7
8
|
marginRight?: undefined;
|
|
@@ -77,6 +78,7 @@ export declare const SEED_DATA: ({
|
|
|
77
78
|
name: string;
|
|
78
79
|
tag: string;
|
|
79
80
|
category: string;
|
|
81
|
+
stylesPanelSections: string[];
|
|
80
82
|
layout: {
|
|
81
83
|
marginLeft: number;
|
|
82
84
|
marginRight: number;
|
|
@@ -3,6 +3,7 @@ export declare const SEED_DATA: ({
|
|
|
3
3
|
tag: string;
|
|
4
4
|
description: string;
|
|
5
5
|
category: string;
|
|
6
|
+
stylesPanelSections: string[];
|
|
6
7
|
layout: {
|
|
7
8
|
color: string;
|
|
8
9
|
};
|
|
@@ -28,6 +29,17 @@ export declare const SEED_DATA: ({
|
|
|
28
29
|
propType: string;
|
|
29
30
|
defaultValue: null;
|
|
30
31
|
};
|
|
32
|
+
accessibilityHint: {
|
|
33
|
+
group: string;
|
|
34
|
+
name: string;
|
|
35
|
+
label: string;
|
|
36
|
+
description: string;
|
|
37
|
+
editable: boolean;
|
|
38
|
+
required: boolean;
|
|
39
|
+
formType: string;
|
|
40
|
+
propType: string;
|
|
41
|
+
defaultValue: null;
|
|
42
|
+
};
|
|
31
43
|
accessibilityRole: {
|
|
32
44
|
group: string;
|
|
33
45
|
name: string;
|
|
@@ -119,7 +131,7 @@ export declare const SEED_DATA: ({
|
|
|
119
131
|
propType: string;
|
|
120
132
|
defaultValue: null;
|
|
121
133
|
};
|
|
122
|
-
|
|
134
|
+
nativeID: {
|
|
123
135
|
group: string;
|
|
124
136
|
name: string;
|
|
125
137
|
label: string;
|
|
@@ -128,10 +140,6 @@ export declare const SEED_DATA: ({
|
|
|
128
140
|
required: boolean;
|
|
129
141
|
formType: string;
|
|
130
142
|
propType: string;
|
|
131
|
-
min: number;
|
|
132
|
-
step: number;
|
|
133
|
-
precision: number;
|
|
134
|
-
max: number;
|
|
135
143
|
defaultValue: null;
|
|
136
144
|
};
|
|
137
145
|
numberOfLines: {
|
|
@@ -198,6 +206,7 @@ export declare const SEED_DATA: ({
|
|
|
198
206
|
name: string;
|
|
199
207
|
tag: string;
|
|
200
208
|
category: string;
|
|
209
|
+
stylesPanelSections: string[];
|
|
201
210
|
layout: {
|
|
202
211
|
color: string;
|
|
203
212
|
};
|
|
@@ -225,6 +234,17 @@ export declare const SEED_DATA: ({
|
|
|
225
234
|
propType: string;
|
|
226
235
|
defaultValue: null;
|
|
227
236
|
};
|
|
237
|
+
accessibilityHint: {
|
|
238
|
+
group: string;
|
|
239
|
+
name: string;
|
|
240
|
+
label: string;
|
|
241
|
+
description: string;
|
|
242
|
+
editable: boolean;
|
|
243
|
+
required: boolean;
|
|
244
|
+
formType: string;
|
|
245
|
+
propType: string;
|
|
246
|
+
defaultValue: null;
|
|
247
|
+
};
|
|
228
248
|
accessibilityRole: {
|
|
229
249
|
group: string;
|
|
230
250
|
name: string;
|
|
@@ -316,7 +336,7 @@ export declare const SEED_DATA: ({
|
|
|
316
336
|
propType: string;
|
|
317
337
|
defaultValue: null;
|
|
318
338
|
};
|
|
319
|
-
|
|
339
|
+
nativeID: {
|
|
320
340
|
group: string;
|
|
321
341
|
name: string;
|
|
322
342
|
label: string;
|
|
@@ -325,10 +345,6 @@ export declare const SEED_DATA: ({
|
|
|
325
345
|
required: boolean;
|
|
326
346
|
formType: string;
|
|
327
347
|
propType: string;
|
|
328
|
-
min: number;
|
|
329
|
-
step: number;
|
|
330
|
-
precision: number;
|
|
331
|
-
max: number;
|
|
332
348
|
defaultValue: null;
|
|
333
349
|
};
|
|
334
350
|
numberOfLines: {
|
|
@@ -226,5 +226,16 @@ export declare const SEED_DATA: {
|
|
|
226
226
|
formType: string;
|
|
227
227
|
propType: string;
|
|
228
228
|
};
|
|
229
|
+
textAlignVertical: {
|
|
230
|
+
group: string;
|
|
231
|
+
label: string;
|
|
232
|
+
description: string;
|
|
233
|
+
options: string[];
|
|
234
|
+
editable: boolean;
|
|
235
|
+
required: boolean;
|
|
236
|
+
defaultValue: string;
|
|
237
|
+
formType: string;
|
|
238
|
+
propType: string;
|
|
239
|
+
};
|
|
229
240
|
};
|
|
230
241
|
};
|
|
@@ -290,11 +290,13 @@ export declare const SEED_DATA: ({
|
|
|
290
290
|
};
|
|
291
291
|
};
|
|
292
292
|
layout: {};
|
|
293
|
+
stylesPanelSections?: undefined;
|
|
293
294
|
} | {
|
|
294
295
|
name: string;
|
|
295
296
|
tag: string;
|
|
296
297
|
description: string;
|
|
297
298
|
category: string;
|
|
299
|
+
stylesPanelSections: string[];
|
|
298
300
|
preview_image_url: string;
|
|
299
301
|
supports_list_render: boolean;
|
|
300
302
|
triggers: string[];
|
|
@@ -3,6 +3,7 @@ export declare const SEED_DATA: {
|
|
|
3
3
|
tag: string;
|
|
4
4
|
description: string;
|
|
5
5
|
category: string;
|
|
6
|
+
stylesPanelSections: string[];
|
|
6
7
|
layout: {
|
|
7
8
|
flex: number;
|
|
8
9
|
};
|
|
@@ -27,5 +28,107 @@ export declare const SEED_DATA: {
|
|
|
27
28
|
required: boolean;
|
|
28
29
|
group: string;
|
|
29
30
|
};
|
|
31
|
+
javaScriptEnabled: {
|
|
32
|
+
label: string;
|
|
33
|
+
description: string;
|
|
34
|
+
formType: string;
|
|
35
|
+
propType: string;
|
|
36
|
+
defaultValue: boolean;
|
|
37
|
+
editable: boolean;
|
|
38
|
+
required: boolean;
|
|
39
|
+
group: string;
|
|
40
|
+
};
|
|
41
|
+
javaScriptCanOpenWindowsAutomatically: {
|
|
42
|
+
label: string;
|
|
43
|
+
description: string;
|
|
44
|
+
formType: string;
|
|
45
|
+
propType: string;
|
|
46
|
+
defaultValue: boolean;
|
|
47
|
+
editable: boolean;
|
|
48
|
+
required: boolean;
|
|
49
|
+
group: string;
|
|
50
|
+
};
|
|
51
|
+
showsHorizontalScrollIndicator: {
|
|
52
|
+
label: string;
|
|
53
|
+
description: string;
|
|
54
|
+
formType: string;
|
|
55
|
+
propType: string;
|
|
56
|
+
defaultValue: boolean;
|
|
57
|
+
editable: boolean;
|
|
58
|
+
required: boolean;
|
|
59
|
+
group: string;
|
|
60
|
+
};
|
|
61
|
+
showsVerticalScrollIndicator: {
|
|
62
|
+
label: string;
|
|
63
|
+
description: string;
|
|
64
|
+
formType: string;
|
|
65
|
+
propType: string;
|
|
66
|
+
defaultValue: boolean;
|
|
67
|
+
editable: boolean;
|
|
68
|
+
required: boolean;
|
|
69
|
+
group: string;
|
|
70
|
+
};
|
|
71
|
+
mediaPlaybackRequiresUserAction: {
|
|
72
|
+
label: string;
|
|
73
|
+
description: string;
|
|
74
|
+
formType: string;
|
|
75
|
+
propType: string;
|
|
76
|
+
defaultValue: boolean;
|
|
77
|
+
editable: boolean;
|
|
78
|
+
required: boolean;
|
|
79
|
+
group: string;
|
|
80
|
+
};
|
|
81
|
+
startInLoadingState: {
|
|
82
|
+
label: string;
|
|
83
|
+
description: string;
|
|
84
|
+
formType: string;
|
|
85
|
+
propType: string;
|
|
86
|
+
defaultValue: boolean;
|
|
87
|
+
editable: boolean;
|
|
88
|
+
required: boolean;
|
|
89
|
+
group: string;
|
|
90
|
+
};
|
|
91
|
+
allowFileAccessFromFileURLs: {
|
|
92
|
+
label: string;
|
|
93
|
+
description: string;
|
|
94
|
+
formType: string;
|
|
95
|
+
propType: string;
|
|
96
|
+
defaultValue: boolean;
|
|
97
|
+
editable: boolean;
|
|
98
|
+
required: boolean;
|
|
99
|
+
group: string;
|
|
100
|
+
};
|
|
101
|
+
allowUniversalAccessFromFileURLs: {
|
|
102
|
+
label: string;
|
|
103
|
+
description: string;
|
|
104
|
+
formType: string;
|
|
105
|
+
propType: string;
|
|
106
|
+
defaultValue: boolean;
|
|
107
|
+
editable: boolean;
|
|
108
|
+
required: boolean;
|
|
109
|
+
group: string;
|
|
110
|
+
};
|
|
111
|
+
cacheEnabled: {
|
|
112
|
+
label: string;
|
|
113
|
+
description: string;
|
|
114
|
+
formType: string;
|
|
115
|
+
propType: string;
|
|
116
|
+
defaultValue: boolean;
|
|
117
|
+
editable: boolean;
|
|
118
|
+
required: boolean;
|
|
119
|
+
group: string;
|
|
120
|
+
};
|
|
121
|
+
incognito: {
|
|
122
|
+
label: string;
|
|
123
|
+
description: string;
|
|
124
|
+
formType: string;
|
|
125
|
+
propType: string;
|
|
126
|
+
defaultValue: boolean;
|
|
127
|
+
editable: boolean;
|
|
128
|
+
required: boolean;
|
|
129
|
+
group: string;
|
|
130
|
+
};
|
|
131
|
+
userAgent: any;
|
|
132
|
+
applicationNameForUserAgent: any;
|
|
30
133
|
};
|
|
31
134
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@draftbit/core",
|
|
3
|
-
"version": "46.2.
|
|
3
|
+
"version": "46.2.2-088abf.0+088abf3c",
|
|
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.2.1
|
|
44
|
+
"@draftbit/types": "^46.2.1",
|
|
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",
|
|
@@ -79,5 +79,5 @@
|
|
|
79
79
|
]
|
|
80
80
|
]
|
|
81
81
|
},
|
|
82
|
-
"gitHead": "
|
|
82
|
+
"gitHead": "088abf3c9fa7d9414006bd83e0180857f56825b3"
|
|
83
83
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { COMPONENT_TYPES, FORM_TYPES, PROP_TYPES, GROUPS, } from "@draftbit/types";
|
|
1
|
+
import { COMPONENT_TYPES, FORM_TYPES, PROP_TYPES, GROUPS, StylesPanelSections, } from "@draftbit/types";
|
|
2
2
|
export const SEED_DATA = {
|
|
3
3
|
name: "Activity Indicator",
|
|
4
4
|
tag: "ActivityIndicator",
|
|
@@ -6,6 +6,11 @@ export const SEED_DATA = {
|
|
|
6
6
|
doc_link: "https://docs.expo.io/versions/latest/react-native/activityindicator/",
|
|
7
7
|
code_link: "https://github.com/expo/expo/blob/master/ios/versioned-react-native/ABI32_0_0/Libraries/Components/ActivityIndicator/ActivityIndicator.js",
|
|
8
8
|
category: COMPONENT_TYPES.input,
|
|
9
|
+
stylesPanelSections: [
|
|
10
|
+
StylesPanelSections.Size,
|
|
11
|
+
StylesPanelSections.Margins,
|
|
12
|
+
StylesPanelSections.Borders,
|
|
13
|
+
],
|
|
9
14
|
layout: { width: 36, height: 36 },
|
|
10
15
|
props: {
|
|
11
16
|
size: {
|
|
@@ -3,6 +3,7 @@ import {
|
|
|
3
3
|
FORM_TYPES,
|
|
4
4
|
PROP_TYPES,
|
|
5
5
|
GROUPS,
|
|
6
|
+
StylesPanelSections,
|
|
6
7
|
} from "@draftbit/types";
|
|
7
8
|
|
|
8
9
|
export const SEED_DATA = {
|
|
@@ -14,6 +15,11 @@ export const SEED_DATA = {
|
|
|
14
15
|
code_link:
|
|
15
16
|
"https://github.com/expo/expo/blob/master/ios/versioned-react-native/ABI32_0_0/Libraries/Components/ActivityIndicator/ActivityIndicator.js",
|
|
16
17
|
category: COMPONENT_TYPES.input,
|
|
18
|
+
stylesPanelSections: [
|
|
19
|
+
StylesPanelSections.Size,
|
|
20
|
+
StylesPanelSections.Margins,
|
|
21
|
+
StylesPanelSections.Borders,
|
|
22
|
+
],
|
|
17
23
|
layout: { width: 36, height: 36 },
|
|
18
24
|
props: {
|
|
19
25
|
size: {
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { GROUPS, COMPONENT_TYPES, FORM_TYPES, PROP_TYPES, } from "@draftbit/types";
|
|
1
|
+
import { GROUPS, COMPONENT_TYPES, FORM_TYPES, PROP_TYPES, BLOCK_STYLES_SECTIONS, } from "@draftbit/types";
|
|
2
2
|
export const SEED_DATA = {
|
|
3
3
|
name: "Avatar Edit",
|
|
4
4
|
tag: "AvatarEdit",
|
|
5
5
|
description: "An avatar with an edit icon in the top right",
|
|
6
6
|
category: COMPONENT_TYPES.deprecated,
|
|
7
|
+
stylesPanelSections: BLOCK_STYLES_SECTIONS,
|
|
7
8
|
layout: {
|
|
8
9
|
width: 64,
|
|
9
10
|
height: 64,
|
|
@@ -3,6 +3,7 @@ import {
|
|
|
3
3
|
COMPONENT_TYPES,
|
|
4
4
|
FORM_TYPES,
|
|
5
5
|
PROP_TYPES,
|
|
6
|
+
BLOCK_STYLES_SECTIONS,
|
|
6
7
|
} from "@draftbit/types";
|
|
7
8
|
|
|
8
9
|
export const SEED_DATA = {
|
|
@@ -10,6 +11,7 @@ export const SEED_DATA = {
|
|
|
10
11
|
tag: "AvatarEdit",
|
|
11
12
|
description: "An avatar with an edit icon in the top right",
|
|
12
13
|
category: COMPONENT_TYPES.deprecated,
|
|
14
|
+
stylesPanelSections: BLOCK_STYLES_SECTIONS,
|
|
13
15
|
layout: {
|
|
14
16
|
width: 64,
|
|
15
17
|
height: 64,
|
package/src/mappings/BlurView.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { COMPONENT_TYPES, FORM_TYPES, PROP_TYPES, GROUPS, } from "@draftbit/types";
|
|
1
|
+
import { COMPONENT_TYPES, FORM_TYPES, PROP_TYPES, GROUPS, CONTAINER_COMPONENT_STYLES_SECTIONS, } from "@draftbit/types";
|
|
2
2
|
export const SEED_DATA = {
|
|
3
3
|
name: "Blur View",
|
|
4
4
|
tag: "BlurView",
|
|
@@ -6,6 +6,7 @@ export const SEED_DATA = {
|
|
|
6
6
|
doc_link: "https://docs.expo.io/versions/latest/sdk/blur-view/",
|
|
7
7
|
code_link: "https://github.com/expo/expo/blob/master/packages/expo/src/effects/BlurView.d.ts",
|
|
8
8
|
category: COMPONENT_TYPES.layout,
|
|
9
|
+
stylesPanelSections: CONTAINER_COMPONENT_STYLES_SECTIONS,
|
|
9
10
|
layout: {
|
|
10
11
|
flexGrow: 1,
|
|
11
12
|
flexShrink: 1,
|
package/src/mappings/BlurView.ts
CHANGED
|
@@ -3,6 +3,7 @@ import {
|
|
|
3
3
|
FORM_TYPES,
|
|
4
4
|
PROP_TYPES,
|
|
5
5
|
GROUPS,
|
|
6
|
+
CONTAINER_COMPONENT_STYLES_SECTIONS,
|
|
6
7
|
} from "@draftbit/types";
|
|
7
8
|
|
|
8
9
|
export const SEED_DATA = {
|
|
@@ -13,6 +14,7 @@ export const SEED_DATA = {
|
|
|
13
14
|
code_link:
|
|
14
15
|
"https://github.com/expo/expo/blob/master/packages/expo/src/effects/BlurView.d.ts",
|
|
15
16
|
category: COMPONENT_TYPES.layout,
|
|
17
|
+
stylesPanelSections: CONTAINER_COMPONENT_STYLES_SECTIONS,
|
|
16
18
|
layout: {
|
|
17
19
|
flexGrow: 1,
|
|
18
20
|
flexShrink: 1,
|
package/src/mappings/Button.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { COMPONENT_TYPES, createIconProp, createBoolProp, createTextProp, GROUPS, createActionProp, Triggers, } from "@draftbit/types";
|
|
1
|
+
import { COMPONENT_TYPES, createIconProp, createBoolProp, createTextProp, GROUPS, createActionProp, Triggers, StylesPanelSections, } from "@draftbit/types";
|
|
2
2
|
const SEED_DATA_TRIGGERS = [Triggers.OnPress];
|
|
3
3
|
const SEED_DATA_PROPS = {
|
|
4
4
|
onPress: createActionProp(),
|
|
@@ -32,6 +32,15 @@ export const SEED_DATA = [
|
|
|
32
32
|
name: "Button Outline",
|
|
33
33
|
tag: "ButtonOutline",
|
|
34
34
|
category: COMPONENT_TYPES.button,
|
|
35
|
+
stylesPanelSections: [
|
|
36
|
+
StylesPanelSections.Typography,
|
|
37
|
+
StylesPanelSections.Background,
|
|
38
|
+
StylesPanelSections.Borders,
|
|
39
|
+
StylesPanelSections.Size,
|
|
40
|
+
StylesPanelSections.MarginsAndPaddings,
|
|
41
|
+
StylesPanelSections.Position,
|
|
42
|
+
StylesPanelSections.Effects,
|
|
43
|
+
],
|
|
35
44
|
layout: {
|
|
36
45
|
...LAYOUT,
|
|
37
46
|
backgroundColor: "transparent",
|
|
@@ -45,6 +54,15 @@ export const SEED_DATA = [
|
|
|
45
54
|
name: "Button Solid",
|
|
46
55
|
tag: "ButtonSolid",
|
|
47
56
|
category: COMPONENT_TYPES.button,
|
|
57
|
+
stylesPanelSections: [
|
|
58
|
+
StylesPanelSections.Typography,
|
|
59
|
+
StylesPanelSections.Background,
|
|
60
|
+
StylesPanelSections.Borders,
|
|
61
|
+
StylesPanelSections.Size,
|
|
62
|
+
StylesPanelSections.MarginsAndPaddings,
|
|
63
|
+
StylesPanelSections.Position,
|
|
64
|
+
StylesPanelSections.Effects,
|
|
65
|
+
],
|
|
48
66
|
layout: {
|
|
49
67
|
...LAYOUT,
|
|
50
68
|
backgroundColor: "primary",
|
package/src/mappings/Button.ts
CHANGED
|
@@ -6,6 +6,7 @@ import {
|
|
|
6
6
|
GROUPS,
|
|
7
7
|
createActionProp,
|
|
8
8
|
Triggers,
|
|
9
|
+
StylesPanelSections,
|
|
9
10
|
} from "@draftbit/types";
|
|
10
11
|
|
|
11
12
|
const SEED_DATA_TRIGGERS = [Triggers.OnPress];
|
|
@@ -43,6 +44,15 @@ export const SEED_DATA = [
|
|
|
43
44
|
name: "Button Outline",
|
|
44
45
|
tag: "ButtonOutline",
|
|
45
46
|
category: COMPONENT_TYPES.button,
|
|
47
|
+
stylesPanelSections: [
|
|
48
|
+
StylesPanelSections.Typography,
|
|
49
|
+
StylesPanelSections.Background,
|
|
50
|
+
StylesPanelSections.Borders,
|
|
51
|
+
StylesPanelSections.Size,
|
|
52
|
+
StylesPanelSections.MarginsAndPaddings,
|
|
53
|
+
StylesPanelSections.Position,
|
|
54
|
+
StylesPanelSections.Effects,
|
|
55
|
+
],
|
|
46
56
|
layout: {
|
|
47
57
|
...LAYOUT,
|
|
48
58
|
backgroundColor: "transparent",
|
|
@@ -56,6 +66,15 @@ export const SEED_DATA = [
|
|
|
56
66
|
name: "Button Solid",
|
|
57
67
|
tag: "ButtonSolid",
|
|
58
68
|
category: COMPONENT_TYPES.button,
|
|
69
|
+
stylesPanelSections: [
|
|
70
|
+
StylesPanelSections.Typography,
|
|
71
|
+
StylesPanelSections.Background,
|
|
72
|
+
StylesPanelSections.Borders,
|
|
73
|
+
StylesPanelSections.Size,
|
|
74
|
+
StylesPanelSections.MarginsAndPaddings,
|
|
75
|
+
StylesPanelSections.Position,
|
|
76
|
+
StylesPanelSections.Effects,
|
|
77
|
+
],
|
|
59
78
|
layout: {
|
|
60
79
|
...LAYOUT,
|
|
61
80
|
backgroundColor: "primary",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GROUPS, COMPONENT_TYPES, FORM_TYPES, PROP_TYPES, createElevationType, createNumColumnsType, } from "@draftbit/types";
|
|
1
|
+
import { GROUPS, COMPONENT_TYPES, FORM_TYPES, PROP_TYPES, createElevationType, createNumColumnsType, BLOCK_STYLES_SECTIONS, } from "@draftbit/types";
|
|
2
2
|
const SEED_DATA_PROPS = {
|
|
3
3
|
image: {
|
|
4
4
|
group: GROUPS.data,
|
|
@@ -102,6 +102,7 @@ export const SEED_DATA = [
|
|
|
102
102
|
tag: "CardBlock",
|
|
103
103
|
description: "An elevated card with a title and description, that takes up the full width its container.",
|
|
104
104
|
category: COMPONENT_TYPES.card,
|
|
105
|
+
stylesPanelSections: BLOCK_STYLES_SECTIONS,
|
|
105
106
|
props: {
|
|
106
107
|
...SEED_DATA_PROPS,
|
|
107
108
|
icon: {
|