@draftbit/core 46.4.1-23a982.2 → 46.4.1-2fa4f7.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/mappings/ActionSheet.js +1 -1
- package/lib/commonjs/mappings/ActionSheetCancel.js +1 -1
- package/lib/commonjs/mappings/ActionSheetItem.js +1 -1
- package/lib/commonjs/mappings/ActivityIndicator.js +1 -1
- package/lib/commonjs/mappings/Banner.js +1 -1
- package/lib/commonjs/mappings/BlurView.js +1 -1
- package/lib/commonjs/mappings/Checkbox.js +1 -1
- package/lib/commonjs/mappings/CheckboxRow.js +1 -1
- package/lib/commonjs/mappings/CustomCode.js +1 -1
- package/lib/commonjs/mappings/FAB.js +1 -1
- package/lib/commonjs/mappings/FieldSearchBarFull.js +1 -1
- package/lib/commonjs/mappings/KeyboardAvoidingView.js +1 -1
- package/lib/commonjs/mappings/KeyboardAwareScrollView.js +1 -1
- package/lib/commonjs/mappings/Layout.js +2 -2
- package/lib/commonjs/mappings/MapCallout.js +1 -1
- package/lib/commonjs/mappings/MapMarker.js +1 -1
- package/lib/commonjs/mappings/MapView.js +1 -1
- package/lib/commonjs/mappings/Modal.js +1 -1
- package/lib/commonjs/mappings/RadioButton.js +1 -1
- package/lib/commonjs/mappings/RadioButtonGroup.js +1 -1
- package/lib/commonjs/mappings/RadioButtonRow.js +1 -1
- package/lib/commonjs/mappings/ScrollView.js +1 -1
- package/lib/commonjs/mappings/Slider.js +1 -1
- package/lib/commonjs/mappings/StarRating.js +1 -1
- package/lib/commonjs/mappings/Stepper.js +1 -1
- package/lib/commonjs/mappings/Surface.js +1 -1
- package/lib/commonjs/mappings/Swiper.js +1 -1
- package/lib/commonjs/mappings/SwiperItem.js +1 -1
- package/lib/commonjs/mappings/Switch.js +2 -2
- package/lib/commonjs/mappings/WebView.js +1 -1
- package/lib/module/components/AvatarEdit.js +16 -5
- package/lib/module/components/Carousel.js +10 -35
- package/lib/module/components/Checkbox/Checkbox.js +4 -2
- package/lib/module/components/Checkbox/CheckboxGroup.js +3 -17
- package/lib/module/components/Checkbox/CheckboxGroupRow.js +24 -6
- package/lib/module/components/Checkbox/CheckboxRow.js +6 -24
- package/lib/module/components/IconButton.js +22 -5
- package/lib/module/components/Image.js +3 -18
- package/lib/module/components/Layout.js +43 -21
- package/lib/module/components/Portal/Portal.js +3 -6
- package/lib/module/components/RadioButton/RadioButton.js +2 -15
- package/lib/module/mappings/ActionSheet.js +1 -1
- package/lib/module/mappings/ActionSheetCancel.js +1 -1
- package/lib/module/mappings/ActionSheetItem.js +1 -1
- package/lib/module/mappings/ActivityIndicator.js +1 -1
- package/lib/module/mappings/Banner.js +1 -1
- package/lib/module/mappings/BlurView.js +1 -1
- package/lib/module/mappings/Checkbox.js +1 -1
- package/lib/module/mappings/CheckboxRow.js +1 -1
- package/lib/module/mappings/CustomCode.js +1 -1
- package/lib/module/mappings/FAB.js +1 -1
- package/lib/module/mappings/FieldSearchBarFull.js +1 -1
- package/lib/module/mappings/KeyboardAvoidingView.js +1 -1
- package/lib/module/mappings/KeyboardAwareScrollView.js +1 -1
- package/lib/module/mappings/Layout.js +2 -2
- package/lib/module/mappings/MapCallout.js +1 -1
- package/lib/module/mappings/MapMarker.js +1 -1
- package/lib/module/mappings/MapView.js +1 -1
- package/lib/module/mappings/Modal.js +1 -1
- package/lib/module/mappings/RadioButton.js +1 -1
- package/lib/module/mappings/RadioButtonGroup.js +1 -1
- package/lib/module/mappings/RadioButtonRow.js +1 -1
- package/lib/module/mappings/ScrollView.js +1 -1
- package/lib/module/mappings/Slider.js +1 -1
- package/lib/module/mappings/StarRating.js +1 -1
- package/lib/module/mappings/Stepper.js +1 -1
- package/lib/module/mappings/Surface.js +1 -1
- package/lib/module/mappings/Swiper.js +1 -1
- package/lib/module/mappings/SwiperItem.js +1 -1
- package/lib/module/mappings/Switch.js +2 -2
- package/lib/module/mappings/WebView.js +1 -1
- package/package.json +3 -3
- package/src/mappings/ActionSheet.js +1 -1
- package/src/mappings/ActionSheet.ts +1 -1
- package/src/mappings/ActionSheetCancel.js +1 -1
- package/src/mappings/ActionSheetCancel.ts +1 -1
- package/src/mappings/ActionSheetItem.js +1 -1
- package/src/mappings/ActionSheetItem.ts +1 -1
- package/src/mappings/ActivityIndicator.js +1 -1
- package/src/mappings/ActivityIndicator.ts +1 -1
- package/src/mappings/Banner.js +1 -1
- package/src/mappings/Banner.ts +1 -1
- package/src/mappings/BlurView.js +1 -1
- package/src/mappings/BlurView.ts +1 -1
- package/src/mappings/Checkbox.js +1 -1
- package/src/mappings/Checkbox.ts +1 -1
- package/src/mappings/CheckboxRow.js +1 -1
- package/src/mappings/CheckboxRow.ts +1 -1
- package/src/mappings/CustomCode.js +1 -1
- package/src/mappings/CustomCode.ts +1 -1
- package/src/mappings/FAB.js +1 -1
- package/src/mappings/FAB.ts +1 -1
- package/src/mappings/FieldSearchBarFull.js +1 -1
- package/src/mappings/FieldSearchBarFull.ts +1 -1
- package/src/mappings/KeyboardAvoidingView.js +1 -1
- package/src/mappings/KeyboardAvoidingView.ts +1 -1
- package/src/mappings/KeyboardAwareScrollView.js +1 -1
- package/src/mappings/KeyboardAwareScrollView.ts +1 -1
- package/src/mappings/Layout.js +2 -2
- package/src/mappings/Layout.ts +2 -2
- package/src/mappings/MapCallout.js +1 -1
- package/src/mappings/MapCallout.ts +1 -1
- package/src/mappings/MapMarker.js +1 -1
- package/src/mappings/MapMarker.ts +1 -1
- package/src/mappings/MapView.js +1 -1
- package/src/mappings/MapView.ts +1 -1
- package/src/mappings/Modal.js +1 -1
- package/src/mappings/Modal.ts +1 -1
- package/src/mappings/RadioButton.js +1 -1
- package/src/mappings/RadioButton.ts +1 -1
- package/src/mappings/RadioButtonGroup.js +1 -1
- package/src/mappings/RadioButtonGroup.ts +1 -1
- package/src/mappings/RadioButtonRow.js +1 -1
- package/src/mappings/RadioButtonRow.ts +1 -1
- package/src/mappings/ScrollView.js +1 -1
- package/src/mappings/ScrollView.ts +1 -1
- package/src/mappings/Slider.js +1 -1
- package/src/mappings/Slider.ts +1 -1
- package/src/mappings/StarRating.js +1 -1
- package/src/mappings/StarRating.ts +1 -1
- package/src/mappings/Stepper.js +1 -1
- package/src/mappings/Stepper.ts +1 -1
- package/src/mappings/Surface.js +1 -1
- package/src/mappings/Surface.ts +1 -1
- package/src/mappings/Swiper.js +1 -1
- package/src/mappings/Swiper.ts +1 -1
- package/src/mappings/SwiperItem.js +1 -1
- package/src/mappings/SwiperItem.ts +1 -1
- package/src/mappings/Switch.js +2 -2
- package/src/mappings/Switch.ts +2 -2
- package/src/mappings/WebView.js +1 -1
- package/src/mappings/WebView.ts +1 -1
|
@@ -11,7 +11,7 @@ export const SEED_DATA = {
|
|
|
11
11
|
name: "Action Sheet Item",
|
|
12
12
|
tag: "ActionSheetItem",
|
|
13
13
|
description: "Action Sheet item",
|
|
14
|
-
category: COMPONENT_TYPES.
|
|
14
|
+
category: COMPONENT_TYPES.actionsheet,
|
|
15
15
|
triggers: [Triggers.OnPress],
|
|
16
16
|
layout: {
|
|
17
17
|
textAlign: "center",
|
|
@@ -5,7 +5,7 @@ export const SEED_DATA = {
|
|
|
5
5
|
description: "Displays a circular loading indicator.",
|
|
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
|
-
category: COMPONENT_TYPES.
|
|
8
|
+
category: COMPONENT_TYPES.utility,
|
|
9
9
|
stylesPanelSections: [
|
|
10
10
|
StylesPanelSections.Size,
|
|
11
11
|
StylesPanelSections.Margins,
|
|
@@ -14,7 +14,7 @@ export const SEED_DATA = {
|
|
|
14
14
|
"https://docs.expo.io/versions/latest/react-native/activityindicator/",
|
|
15
15
|
code_link:
|
|
16
16
|
"https://github.com/expo/expo/blob/master/ios/versioned-react-native/ABI32_0_0/Libraries/Components/ActivityIndicator/ActivityIndicator.js",
|
|
17
|
-
category: COMPONENT_TYPES.
|
|
17
|
+
category: COMPONENT_TYPES.utility,
|
|
18
18
|
stylesPanelSections: [
|
|
19
19
|
StylesPanelSections.Size,
|
|
20
20
|
StylesPanelSections.Margins,
|
package/src/mappings/Banner.js
CHANGED
|
@@ -2,7 +2,7 @@ import { COMPONENT_TYPES, createIconProp, createBoolProp, createColorProp, creat
|
|
|
2
2
|
export const SEED_DATA = {
|
|
3
3
|
name: "Banner",
|
|
4
4
|
tag: "Banner",
|
|
5
|
-
category: COMPONENT_TYPES.
|
|
5
|
+
category: COMPONENT_TYPES.deprecated,
|
|
6
6
|
props: {
|
|
7
7
|
icon: createIconProp({
|
|
8
8
|
defaultValue: null,
|
package/src/mappings/Banner.ts
CHANGED
package/src/mappings/BlurView.js
CHANGED
|
@@ -5,7 +5,7 @@ export const SEED_DATA = {
|
|
|
5
5
|
description: "Expo Blur View",
|
|
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
|
-
category: COMPONENT_TYPES.
|
|
8
|
+
category: COMPONENT_TYPES.view,
|
|
9
9
|
stylesPanelSections: CONTAINER_COMPONENT_STYLES_SECTIONS,
|
|
10
10
|
layout: {
|
|
11
11
|
flexGrow: 1,
|
package/src/mappings/BlurView.ts
CHANGED
|
@@ -13,7 +13,7 @@ export const SEED_DATA = {
|
|
|
13
13
|
doc_link: "https://docs.expo.io/versions/latest/sdk/blur-view/",
|
|
14
14
|
code_link:
|
|
15
15
|
"https://github.com/expo/expo/blob/master/packages/expo/src/effects/BlurView.d.ts",
|
|
16
|
-
category: COMPONENT_TYPES.
|
|
16
|
+
category: COMPONENT_TYPES.view,
|
|
17
17
|
stylesPanelSections: CONTAINER_COMPONENT_STYLES_SECTIONS,
|
|
18
18
|
layout: {
|
|
19
19
|
flexGrow: 1,
|
package/src/mappings/Checkbox.js
CHANGED
|
@@ -2,7 +2,7 @@ import { COMPONENT_TYPES, createBoolProp, createIconProp, createStaticNumberProp
|
|
|
2
2
|
export const SEED_DATA = {
|
|
3
3
|
name: "Checkbox",
|
|
4
4
|
tag: "Checkbox",
|
|
5
|
-
category: COMPONENT_TYPES.
|
|
5
|
+
category: COMPONENT_TYPES.control,
|
|
6
6
|
stylesPanelSections: BLOCK_STYLES_SECTIONS,
|
|
7
7
|
triggers: [Triggers.OnPress, Triggers.OnCheck, Triggers.OnUncheck],
|
|
8
8
|
props: {
|
package/src/mappings/Checkbox.ts
CHANGED
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
export const SEED_DATA = {
|
|
14
14
|
name: "Checkbox",
|
|
15
15
|
tag: "Checkbox",
|
|
16
|
-
category: COMPONENT_TYPES.
|
|
16
|
+
category: COMPONENT_TYPES.control,
|
|
17
17
|
stylesPanelSections: BLOCK_STYLES_SECTIONS,
|
|
18
18
|
triggers: [Triggers.OnPress, Triggers.OnCheck, Triggers.OnUncheck],
|
|
19
19
|
props: {
|
|
@@ -2,7 +2,7 @@ import { createBoolProp, createTextProp, createTextStyle, createRowDirectionProp
|
|
|
2
2
|
export const SEED_DATA = {
|
|
3
3
|
name: "Checkbox Row",
|
|
4
4
|
tag: "CheckboxRow",
|
|
5
|
-
category: COMPONENT_TYPES.
|
|
5
|
+
category: COMPONENT_TYPES.control,
|
|
6
6
|
stylesPanelSections: [
|
|
7
7
|
StylesPanelSections.Typography,
|
|
8
8
|
StylesPanelSections.Margins,
|
package/src/mappings/FAB.js
CHANGED
|
@@ -2,7 +2,7 @@ import { COMPONENT_TYPES, createIconProp, createColorProp, GROUPS, createBoolPro
|
|
|
2
2
|
export const SEED_DATA = {
|
|
3
3
|
name: "FAB",
|
|
4
4
|
tag: "FAB",
|
|
5
|
-
category: COMPONENT_TYPES.
|
|
5
|
+
category: COMPONENT_TYPES.deprecated,
|
|
6
6
|
stylesPanelSections: BLOCK_STYLES_SECTIONS,
|
|
7
7
|
description: "A mini round icon FAB",
|
|
8
8
|
layout: {},
|
package/src/mappings/FAB.ts
CHANGED
|
@@ -4,7 +4,7 @@ export const SEED_DATA = [
|
|
|
4
4
|
name: "Search Bar",
|
|
5
5
|
tag: "FieldSearchBarFull",
|
|
6
6
|
description: "A search bar with accompanying search icon and clear button.",
|
|
7
|
-
category: COMPONENT_TYPES.
|
|
7
|
+
category: COMPONENT_TYPES.deprecated,
|
|
8
8
|
stylesPanelSections: BLOCK_STYLES_SECTIONS,
|
|
9
9
|
preview_image_url: "{CLOUDINARY_URL}/Field_SearchBar_Full.png",
|
|
10
10
|
supports_list_render: false,
|
|
@@ -13,7 +13,7 @@ export const SEED_DATA = [
|
|
|
13
13
|
name: "Search Bar",
|
|
14
14
|
tag: "FieldSearchBarFull",
|
|
15
15
|
description: "A search bar with accompanying search icon and clear button.",
|
|
16
|
-
category: COMPONENT_TYPES.
|
|
16
|
+
category: COMPONENT_TYPES.deprecated,
|
|
17
17
|
stylesPanelSections: BLOCK_STYLES_SECTIONS,
|
|
18
18
|
preview_image_url: "{CLOUDINARY_URL}/Field_SearchBar_Full.png",
|
|
19
19
|
supports_list_render: false,
|
|
@@ -3,7 +3,7 @@ export const SEED_DATA = {
|
|
|
3
3
|
name: "Keyboard Avoiding View",
|
|
4
4
|
tag: "KeyboardAvoidingView",
|
|
5
5
|
description: "View that moves out of the way of the virtual keyboard. ",
|
|
6
|
-
category: COMPONENT_TYPES.
|
|
6
|
+
category: COMPONENT_TYPES.view,
|
|
7
7
|
stylesPanelSections: CONTAINER_COMPONENT_STYLES_SECTIONS,
|
|
8
8
|
props: {
|
|
9
9
|
enabled: {
|
|
@@ -10,7 +10,7 @@ export const SEED_DATA = {
|
|
|
10
10
|
name: "Keyboard Avoiding View",
|
|
11
11
|
tag: "KeyboardAvoidingView",
|
|
12
12
|
description: "View that moves out of the way of the virtual keyboard. ",
|
|
13
|
-
category: COMPONENT_TYPES.
|
|
13
|
+
category: COMPONENT_TYPES.view,
|
|
14
14
|
stylesPanelSections: CONTAINER_COMPONENT_STYLES_SECTIONS,
|
|
15
15
|
props: {
|
|
16
16
|
enabled: {
|
|
@@ -3,7 +3,7 @@ export const SEED_DATA = {
|
|
|
3
3
|
name: "Keyboard Aware Scroll View",
|
|
4
4
|
tag: "KeyboardAwareScrollView",
|
|
5
5
|
description: "View that moves pushes the content when virtual keyboard is open.",
|
|
6
|
-
category: COMPONENT_TYPES.
|
|
6
|
+
category: COMPONENT_TYPES.view,
|
|
7
7
|
stylesPanelSections: CONTAINER_COMPONENT_STYLES_SECTIONS,
|
|
8
8
|
layout: {},
|
|
9
9
|
props: {
|
|
@@ -11,7 +11,7 @@ export const SEED_DATA = {
|
|
|
11
11
|
tag: "KeyboardAwareScrollView",
|
|
12
12
|
description:
|
|
13
13
|
"View that moves pushes the content when virtual keyboard is open.",
|
|
14
|
-
category: COMPONENT_TYPES.
|
|
14
|
+
category: COMPONENT_TYPES.view,
|
|
15
15
|
stylesPanelSections: CONTAINER_COMPONENT_STYLES_SECTIONS,
|
|
16
16
|
layout: {},
|
|
17
17
|
props: {
|
package/src/mappings/Layout.js
CHANGED
|
@@ -3,7 +3,7 @@ export const SEED_DATA = [
|
|
|
3
3
|
{
|
|
4
4
|
name: "Row",
|
|
5
5
|
tag: "Row",
|
|
6
|
-
category: COMPONENT_TYPES.
|
|
6
|
+
category: COMPONENT_TYPES.deprecated,
|
|
7
7
|
stylesPanelSections: [StylesPanelSections.NoStyles],
|
|
8
8
|
props: {
|
|
9
9
|
justifyContent: {
|
|
@@ -78,7 +78,7 @@ export const SEED_DATA = [
|
|
|
78
78
|
{
|
|
79
79
|
name: "Stack",
|
|
80
80
|
tag: "Stack",
|
|
81
|
-
category: COMPONENT_TYPES.
|
|
81
|
+
category: COMPONENT_TYPES.deprecated,
|
|
82
82
|
stylesPanelSections: [StylesPanelSections.NoStyles],
|
|
83
83
|
props: {
|
|
84
84
|
justifyContent: {
|
package/src/mappings/Layout.ts
CHANGED
|
@@ -10,7 +10,7 @@ export const SEED_DATA = [
|
|
|
10
10
|
{
|
|
11
11
|
name: "Row",
|
|
12
12
|
tag: "Row",
|
|
13
|
-
category: COMPONENT_TYPES.
|
|
13
|
+
category: COMPONENT_TYPES.deprecated,
|
|
14
14
|
stylesPanelSections: [StylesPanelSections.NoStyles],
|
|
15
15
|
props: {
|
|
16
16
|
justifyContent: {
|
|
@@ -85,7 +85,7 @@ export const SEED_DATA = [
|
|
|
85
85
|
{
|
|
86
86
|
name: "Stack",
|
|
87
87
|
tag: "Stack",
|
|
88
|
-
category: COMPONENT_TYPES.
|
|
88
|
+
category: COMPONENT_TYPES.deprecated,
|
|
89
89
|
stylesPanelSections: [StylesPanelSections.NoStyles],
|
|
90
90
|
props: {
|
|
91
91
|
justifyContent: {
|
|
@@ -4,7 +4,7 @@ export const SEED_DATA = {
|
|
|
4
4
|
tag: "MapCallout",
|
|
5
5
|
packageName: "@draftbit/maps",
|
|
6
6
|
description: "An info window to display on top of a marker when it is clicked",
|
|
7
|
-
category: COMPONENT_TYPES.
|
|
7
|
+
category: COMPONENT_TYPES.map,
|
|
8
8
|
triggers: [Triggers.OnPress],
|
|
9
9
|
layout: {},
|
|
10
10
|
props: {
|
|
@@ -12,7 +12,7 @@ export const SEED_DATA = {
|
|
|
12
12
|
packageName: "@draftbit/maps",
|
|
13
13
|
description:
|
|
14
14
|
"An info window to display on top of a marker when it is clicked",
|
|
15
|
-
category: COMPONENT_TYPES.
|
|
15
|
+
category: COMPONENT_TYPES.map,
|
|
16
16
|
triggers: [Triggers.OnPress],
|
|
17
17
|
layout: {},
|
|
18
18
|
props: {
|
|
@@ -12,7 +12,7 @@ export const SEED_DATA = {
|
|
|
12
12
|
tag: "MapMarker",
|
|
13
13
|
packageName: "@draftbit/maps",
|
|
14
14
|
description: "A marker to show inside map view",
|
|
15
|
-
category: COMPONENT_TYPES.
|
|
15
|
+
category: COMPONENT_TYPES.map,
|
|
16
16
|
layout: {},
|
|
17
17
|
props: {
|
|
18
18
|
latitude: createNumberProp({
|
package/src/mappings/MapView.js
CHANGED
package/src/mappings/MapView.ts
CHANGED
package/src/mappings/Modal.js
CHANGED
package/src/mappings/Modal.ts
CHANGED
|
@@ -11,7 +11,7 @@ export const SEED_DATA = {
|
|
|
11
11
|
name: "Modal",
|
|
12
12
|
tag: "Modal",
|
|
13
13
|
description: "A basic Modal Component",
|
|
14
|
-
category: COMPONENT_TYPES.
|
|
14
|
+
category: COMPONENT_TYPES.layout,
|
|
15
15
|
stylesPanelSections: [StylesPanelSections.NoStyles],
|
|
16
16
|
props: {
|
|
17
17
|
animationType: {
|
|
@@ -2,7 +2,7 @@ import { GROUPS, COMPONENT_TYPES, createBoolProp, createColorProp, createNumberP
|
|
|
2
2
|
export const SEED_DATA = {
|
|
3
3
|
name: "Radio Button",
|
|
4
4
|
tag: "RadioButton",
|
|
5
|
-
category: COMPONENT_TYPES.
|
|
5
|
+
category: COMPONENT_TYPES.control,
|
|
6
6
|
stylesPanelSections: BLOCK_STYLES_SECTIONS,
|
|
7
7
|
triggers: [Triggers.OnPress],
|
|
8
8
|
props: {
|
|
@@ -2,7 +2,7 @@ import { COMPONENT_TYPES, createFieldNameProp, createDirectionProp, Triggers, St
|
|
|
2
2
|
export const SEED_DATA = {
|
|
3
3
|
name: "Radio Button Group",
|
|
4
4
|
tag: "RadioButtonGroup",
|
|
5
|
-
category: COMPONENT_TYPES.
|
|
5
|
+
category: COMPONENT_TYPES.control,
|
|
6
6
|
stylesPanelSections: [StylesPanelSections.Margins],
|
|
7
7
|
layout: {},
|
|
8
8
|
triggers: [Triggers.OnValueChange],
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
export const SEED_DATA = {
|
|
10
10
|
name: "Radio Button Group",
|
|
11
11
|
tag: "RadioButtonGroup",
|
|
12
|
-
category: COMPONENT_TYPES.
|
|
12
|
+
category: COMPONENT_TYPES.control,
|
|
13
13
|
stylesPanelSections: [StylesPanelSections.Margins],
|
|
14
14
|
layout: {},
|
|
15
15
|
triggers: [Triggers.OnValueChange],
|
|
@@ -2,7 +2,7 @@ import { createTextProp, createTextEnumProp, COMPONENT_TYPES, createColorProp, G
|
|
|
2
2
|
export const SEED_DATA = {
|
|
3
3
|
name: "Radio Button Row",
|
|
4
4
|
tag: "RadioButtonRow",
|
|
5
|
-
category: COMPONENT_TYPES.
|
|
5
|
+
category: COMPONENT_TYPES.control,
|
|
6
6
|
stylesPanelSections: [
|
|
7
7
|
StylesPanelSections.Typography,
|
|
8
8
|
StylesPanelSections.Margins,
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
export const SEED_DATA = {
|
|
11
11
|
name: "Radio Button Row",
|
|
12
12
|
tag: "RadioButtonRow",
|
|
13
|
-
category: COMPONENT_TYPES.
|
|
13
|
+
category: COMPONENT_TYPES.control,
|
|
14
14
|
stylesPanelSections: [
|
|
15
15
|
StylesPanelSections.Typography,
|
|
16
16
|
StylesPanelSections.Margins,
|
|
@@ -3,7 +3,7 @@ export const SEED_DATA = {
|
|
|
3
3
|
name: "Scroll View",
|
|
4
4
|
tag: "ScrollView",
|
|
5
5
|
description: "A basic ScrollView component",
|
|
6
|
-
category: COMPONENT_TYPES.
|
|
6
|
+
category: COMPONENT_TYPES.view,
|
|
7
7
|
stylesPanelSections: CONTAINER_COMPONENT_STYLES_SECTIONS,
|
|
8
8
|
layout: {},
|
|
9
9
|
props: {
|
|
@@ -8,7 +8,7 @@ export const SEED_DATA = {
|
|
|
8
8
|
name: "Scroll View",
|
|
9
9
|
tag: "ScrollView",
|
|
10
10
|
description: "A basic ScrollView component",
|
|
11
|
-
category: COMPONENT_TYPES.
|
|
11
|
+
category: COMPONENT_TYPES.view,
|
|
12
12
|
stylesPanelSections: CONTAINER_COMPONENT_STYLES_SECTIONS,
|
|
13
13
|
layout: {},
|
|
14
14
|
props: {
|
package/src/mappings/Slider.js
CHANGED
|
@@ -3,7 +3,7 @@ export const SEED_DATA = {
|
|
|
3
3
|
name: "Slider",
|
|
4
4
|
tag: "Slider",
|
|
5
5
|
description: "A component used to set a value in a range",
|
|
6
|
-
category: COMPONENT_TYPES.
|
|
6
|
+
category: COMPONENT_TYPES.control,
|
|
7
7
|
stylesPanelSections: BLOCK_STYLES_SECTIONS,
|
|
8
8
|
layout: {
|
|
9
9
|
marginLeft: 12,
|
package/src/mappings/Slider.ts
CHANGED
|
@@ -13,7 +13,7 @@ export const SEED_DATA = {
|
|
|
13
13
|
name: "Slider",
|
|
14
14
|
tag: "Slider",
|
|
15
15
|
description: "A component used to set a value in a range",
|
|
16
|
-
category: COMPONENT_TYPES.
|
|
16
|
+
category: COMPONENT_TYPES.control,
|
|
17
17
|
stylesPanelSections: BLOCK_STYLES_SECTIONS,
|
|
18
18
|
layout: {
|
|
19
19
|
marginLeft: 12,
|
|
@@ -3,7 +3,7 @@ export const SEED_DATA = {
|
|
|
3
3
|
name: "Star Rating",
|
|
4
4
|
tag: "StarRating",
|
|
5
5
|
description: "A star rating component",
|
|
6
|
-
category: COMPONENT_TYPES.
|
|
6
|
+
category: COMPONENT_TYPES.control,
|
|
7
7
|
stylesPanelSections: BLOCK_STYLES_SECTIONS,
|
|
8
8
|
triggers: [Triggers.OnPress],
|
|
9
9
|
props: {
|
|
@@ -12,7 +12,7 @@ export const SEED_DATA = {
|
|
|
12
12
|
name: "Star Rating",
|
|
13
13
|
tag: "StarRating",
|
|
14
14
|
description: "A star rating component",
|
|
15
|
-
category: COMPONENT_TYPES.
|
|
15
|
+
category: COMPONENT_TYPES.control,
|
|
16
16
|
stylesPanelSections: BLOCK_STYLES_SECTIONS,
|
|
17
17
|
triggers: [Triggers.OnPress],
|
|
18
18
|
props: {
|
package/src/mappings/Stepper.js
CHANGED
|
@@ -4,7 +4,7 @@ export const SEED_DATA = [
|
|
|
4
4
|
name: "Stepper",
|
|
5
5
|
tag: "Stepper",
|
|
6
6
|
description: "A component used to control the quantity of something",
|
|
7
|
-
category: COMPONENT_TYPES.
|
|
7
|
+
category: COMPONENT_TYPES.control,
|
|
8
8
|
stylesPanelSections: BLOCK_STYLES_SECTIONS,
|
|
9
9
|
layout: {},
|
|
10
10
|
triggers: [Triggers.OnChange],
|
package/src/mappings/Stepper.ts
CHANGED
|
@@ -13,7 +13,7 @@ export const SEED_DATA = [
|
|
|
13
13
|
name: "Stepper",
|
|
14
14
|
tag: "Stepper",
|
|
15
15
|
description: "A component used to control the quantity of something",
|
|
16
|
-
category: COMPONENT_TYPES.
|
|
16
|
+
category: COMPONENT_TYPES.control,
|
|
17
17
|
stylesPanelSections: BLOCK_STYLES_SECTIONS,
|
|
18
18
|
layout: {},
|
|
19
19
|
triggers: [Triggers.OnChange],
|
package/src/mappings/Surface.js
CHANGED
package/src/mappings/Surface.ts
CHANGED
|
@@ -8,7 +8,7 @@ export const SEED_DATA = {
|
|
|
8
8
|
name: "Surface",
|
|
9
9
|
tag: "Surface",
|
|
10
10
|
description: "An elevated container",
|
|
11
|
-
category: COMPONENT_TYPES.
|
|
11
|
+
category: COMPONENT_TYPES.container,
|
|
12
12
|
stylesPanelSections: CONTAINER_COMPONENT_STYLES_SECTIONS,
|
|
13
13
|
layout: {
|
|
14
14
|
minHeight: 40,
|
package/src/mappings/Swiper.js
CHANGED
package/src/mappings/Swiper.ts
CHANGED
package/src/mappings/Switch.js
CHANGED
|
@@ -4,7 +4,7 @@ export const SEED_DATA = [
|
|
|
4
4
|
{
|
|
5
5
|
name: "Switch",
|
|
6
6
|
tag: "Switch",
|
|
7
|
-
category: COMPONENT_TYPES.
|
|
7
|
+
category: COMPONENT_TYPES.control,
|
|
8
8
|
stylesPanelSections: BLOCK_STYLES_SECTIONS,
|
|
9
9
|
layout: {},
|
|
10
10
|
triggers: SEED_DATA_TRIGGERS,
|
|
@@ -35,7 +35,7 @@ export const SEED_DATA = [
|
|
|
35
35
|
{
|
|
36
36
|
name: "Switch Row",
|
|
37
37
|
tag: "SwitchRow",
|
|
38
|
-
category: COMPONENT_TYPES.
|
|
38
|
+
category: COMPONENT_TYPES.control,
|
|
39
39
|
stylesPanelSections: [
|
|
40
40
|
StylesPanelSections.Typography,
|
|
41
41
|
StylesPanelSections.Margins,
|
package/src/mappings/Switch.ts
CHANGED
|
@@ -15,7 +15,7 @@ export const SEED_DATA = [
|
|
|
15
15
|
{
|
|
16
16
|
name: "Switch",
|
|
17
17
|
tag: "Switch",
|
|
18
|
-
category: COMPONENT_TYPES.
|
|
18
|
+
category: COMPONENT_TYPES.control,
|
|
19
19
|
stylesPanelSections: BLOCK_STYLES_SECTIONS,
|
|
20
20
|
layout: {},
|
|
21
21
|
triggers: SEED_DATA_TRIGGERS,
|
|
@@ -46,7 +46,7 @@ export const SEED_DATA = [
|
|
|
46
46
|
{
|
|
47
47
|
name: "Switch Row",
|
|
48
48
|
tag: "SwitchRow",
|
|
49
|
-
category: COMPONENT_TYPES.
|
|
49
|
+
category: COMPONENT_TYPES.control,
|
|
50
50
|
stylesPanelSections: [
|
|
51
51
|
StylesPanelSections.Typography,
|
|
52
52
|
StylesPanelSections.Margins,
|
package/src/mappings/WebView.js
CHANGED
|
@@ -3,7 +3,7 @@ export const SEED_DATA = {
|
|
|
3
3
|
name: "Web View",
|
|
4
4
|
tag: "WebView",
|
|
5
5
|
description: "Render web content inside a view",
|
|
6
|
-
category: COMPONENT_TYPES.
|
|
6
|
+
category: COMPONENT_TYPES.utility,
|
|
7
7
|
stylesPanelSections: [
|
|
8
8
|
StylesPanelSections.Size,
|
|
9
9
|
StylesPanelSections.Margins,
|
package/src/mappings/WebView.ts
CHANGED
|
@@ -11,7 +11,7 @@ export const SEED_DATA = {
|
|
|
11
11
|
name: "Web View",
|
|
12
12
|
tag: "WebView",
|
|
13
13
|
description: "Render web content inside a view",
|
|
14
|
-
category: COMPONENT_TYPES.
|
|
14
|
+
category: COMPONENT_TYPES.utility,
|
|
15
15
|
stylesPanelSections: [
|
|
16
16
|
StylesPanelSections.Size,
|
|
17
17
|
StylesPanelSections.Margins,
|