@draftbit/core 42.3.1 → 42.3.2-c31138.5

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.
Files changed (39) hide show
  1. package/lib/commonjs/components/Divider.js +5 -18
  2. package/lib/commonjs/components/Divider.js.map +1 -1
  3. package/lib/commonjs/components/LinearGradient.js +126 -0
  4. package/lib/commonjs/components/LinearGradient.js.map +1 -0
  5. package/lib/commonjs/index.js +8 -0
  6. package/lib/commonjs/index.js.map +1 -1
  7. package/lib/commonjs/mappings/Modal.js +41 -0
  8. package/lib/commonjs/mappings/Modal.js.map +1 -0
  9. package/lib/commonjs/mappings/Switch.js +4 -1
  10. package/lib/commonjs/mappings/Switch.js.map +1 -1
  11. package/lib/commonjs/mappings/TextArea.js +2 -2
  12. package/lib/commonjs/mappings/TextArea.js.map +1 -1
  13. package/lib/commonjs/mappings/TextInput.js +70 -72
  14. package/lib/commonjs/mappings/TextInput.js.map +1 -1
  15. package/lib/module/components/ActionSheet/ActionSheetCancel.js.map +1 -1
  16. package/lib/module/components/LinearGradient.js +110 -0
  17. package/lib/module/components/LinearGradient.js.map +1 -0
  18. package/lib/module/components/RowHeadlineImageIcon.js.map +1 -1
  19. package/lib/module/index.js +1 -0
  20. package/lib/module/index.js.map +1 -1
  21. package/lib/module/mappings/Modal.js +32 -0
  22. package/lib/module/mappings/Modal.js.map +1 -0
  23. package/lib/module/mappings/Switch.js +4 -1
  24. package/lib/module/mappings/Switch.js.map +1 -1
  25. package/lib/module/mappings/TextArea.js +2 -2
  26. package/lib/module/mappings/TextArea.js.map +1 -1
  27. package/lib/module/mappings/TextInput.js +68 -70
  28. package/lib/module/mappings/TextInput.js.map +1 -1
  29. package/lib/typescript/src/components/LinearGradient.d.ts +107 -0
  30. package/lib/typescript/src/index.d.ts +1 -0
  31. package/package.json +3 -2
  32. package/src/components/LinearGradient.js +84 -0
  33. package/src/components/LinearGradient.tsx +119 -0
  34. package/src/index.js +1 -0
  35. package/src/index.tsx +1 -0
  36. package/src/mappings/Modal.js +39 -0
  37. package/src/mappings/Switch.js +4 -1
  38. package/src/mappings/TextArea.js +2 -2
  39. package/src/mappings/TextInput.js +101 -105
@@ -0,0 +1,107 @@
1
+ import { StyleProp, ViewStyle } from "react-native";
2
+ declare type Props = {
3
+ color1: string;
4
+ color2: string;
5
+ color3: string;
6
+ startX: number;
7
+ startY: number;
8
+ endX: number;
9
+ endY: number;
10
+ children?: any;
11
+ style?: StyleProp<ViewStyle>;
12
+ };
13
+ declare const LinearGradientComp: ({ children, color1, color2, color3, startX, startY, endX, endY, style, }: Props) => JSX.Element;
14
+ export default LinearGradientComp;
15
+ export declare const SEED_DATA: {
16
+ name: string;
17
+ tag: string;
18
+ description: string;
19
+ props: {
20
+ color1: {
21
+ group: string;
22
+ label: string;
23
+ description: string;
24
+ editable: boolean;
25
+ required: boolean;
26
+ defaultValue: null;
27
+ formType: string;
28
+ propType: string;
29
+ };
30
+ color2: {
31
+ group: string;
32
+ label: string;
33
+ description: string;
34
+ editable: boolean;
35
+ required: boolean;
36
+ defaultValue: null;
37
+ formType: string;
38
+ propType: string;
39
+ };
40
+ color3: {
41
+ group: string;
42
+ label: string;
43
+ description: string;
44
+ editable: boolean;
45
+ required: boolean;
46
+ defaultValue: null;
47
+ formType: string;
48
+ propType: string;
49
+ };
50
+ startX: {
51
+ group: string;
52
+ label: string;
53
+ description: string;
54
+ editable: boolean;
55
+ required: boolean;
56
+ defaultValue: number;
57
+ min: number;
58
+ max: number;
59
+ step: number;
60
+ precision: number;
61
+ formType: string;
62
+ propType: string;
63
+ };
64
+ startY: {
65
+ group: string;
66
+ label: string;
67
+ description: string;
68
+ editable: boolean;
69
+ required: boolean;
70
+ defaultValue: number;
71
+ min: number;
72
+ max: number;
73
+ step: number;
74
+ precision: number;
75
+ formType: string;
76
+ propType: string;
77
+ };
78
+ endX: {
79
+ group: string;
80
+ label: string;
81
+ description: string;
82
+ editable: boolean;
83
+ required: boolean;
84
+ defaultValue: number;
85
+ min: number;
86
+ max: number;
87
+ step: number;
88
+ precision: number;
89
+ formType: string;
90
+ propType: string;
91
+ };
92
+ endY: {
93
+ group: string;
94
+ label: string;
95
+ description: string;
96
+ editable: boolean;
97
+ required: boolean;
98
+ defaultValue: number;
99
+ min: number;
100
+ max: number;
101
+ step: number;
102
+ precision: number;
103
+ formType: string;
104
+ propType: string;
105
+ };
106
+ };
107
+ };
@@ -26,6 +26,7 @@ export { default as TextInput } from "./components/TextInput";
26
26
  export { default as ToggleButton } from "./components/ToggleButton";
27
27
  export { default as Touchable } from "./components/Touchable";
28
28
  export { AccordionGroup, AccordionItem } from "./components/Accordion";
29
+ export { default as LinearGradient } from "./components/LinearGradient";
29
30
  export { ActionSheet, ActionSheetItem, ActionSheetCancel, } from "./components/ActionSheet";
30
31
  export { Swiper, SwiperItem } from "./components/Swiper";
31
32
  export { Center, Circle, Square, Row, Stack, Spacer, } from "./components/Layout";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@draftbit/core",
3
- "version": "42.3.1",
3
+ "version": "42.3.2-c31138.5+c3113861",
4
4
  "description": "Core (non-native) Components",
5
5
  "main": "lib/commonjs/index.js",
6
6
  "module": "lib/module/index.js",
@@ -49,6 +49,7 @@
49
49
  "color": "^3.1.2",
50
50
  "date-fns": "^2.16.1",
51
51
  "dateformat": "^3.0.3",
52
+ "expo-linear-gradient": "^9.2.0",
52
53
  "lodash.isnumber": "^3.0.3",
53
54
  "lodash.omit": "^4.5.0",
54
55
  "lodash.tonumber": "^4.0.3",
@@ -95,5 +96,5 @@
95
96
  ]
96
97
  ]
97
98
  },
98
- "gitHead": "a2001975f16d375a76160a8becc45da796a4f3c1"
99
+ "gitHead": "c3113861c13beaa818666b6b69c8255911b1c040"
99
100
  }
@@ -0,0 +1,84 @@
1
+ import * as React from "react";
2
+ import { LinearGradient } from "expo-linear-gradient";
3
+ import { extractStyles } from "../utilities";
4
+ import { createColorProp, FORM_TYPES, GROUPS, PROP_TYPES, } from "@draftbit/types";
5
+ const LinearGradientComp = ({ children, color1, color2, color3, startX = 0, startY = 0, endX = 100, endY = 100, style, }) => {
6
+ const { viewStyles } = extractStyles(style);
7
+ const colors = [color1, color2, color3].filter((color) => !!color);
8
+ const start = { x: startX / 100, y: startY / 100 };
9
+ const end = { x: endX / 100, y: endY / 100 };
10
+ return (React.createElement(LinearGradient, { colors: colors, start: start, end: end, style: viewStyles }, children));
11
+ };
12
+ export default LinearGradientComp;
13
+ export const SEED_DATA = {
14
+ name: "LinearGradient",
15
+ tag: "LinearGradient",
16
+ description: "Linear Gradient Component",
17
+ props: {
18
+ color1: createColorProp({
19
+ label: "Color 1",
20
+ }),
21
+ color2: createColorProp({
22
+ label: "Color 2",
23
+ }),
24
+ color3: createColorProp({
25
+ label: "Color 3",
26
+ }),
27
+ startX: {
28
+ group: GROUPS.basic,
29
+ label: "Start X",
30
+ description: "Start position from Left",
31
+ editable: true,
32
+ required: false,
33
+ defaultValue: 0,
34
+ min: 0,
35
+ max: 100,
36
+ step: 1,
37
+ precision: 0,
38
+ formType: FORM_TYPES.number,
39
+ propType: PROP_TYPES.NUMBER,
40
+ },
41
+ startY: {
42
+ group: GROUPS.basic,
43
+ label: "Start Y",
44
+ description: "Start position from Top",
45
+ editable: true,
46
+ required: false,
47
+ defaultValue: 0,
48
+ min: 0,
49
+ max: 100,
50
+ step: 1,
51
+ precision: 0,
52
+ formType: FORM_TYPES.number,
53
+ propType: PROP_TYPES.NUMBER,
54
+ },
55
+ endX: {
56
+ group: GROUPS.basic,
57
+ label: "End Y",
58
+ description: "End position from Right",
59
+ editable: true,
60
+ required: false,
61
+ defaultValue: 100,
62
+ min: 0,
63
+ max: 100,
64
+ step: 1,
65
+ precision: 0,
66
+ formType: FORM_TYPES.number,
67
+ propType: PROP_TYPES.NUMBER,
68
+ },
69
+ endY: {
70
+ group: GROUPS.basic,
71
+ label: "End Y",
72
+ description: "End position from Bottom",
73
+ editable: true,
74
+ required: false,
75
+ defaultValue: 100,
76
+ min: 0,
77
+ max: 100,
78
+ step: 1,
79
+ precision: 0,
80
+ formType: FORM_TYPES.number,
81
+ propType: PROP_TYPES.NUMBER,
82
+ },
83
+ },
84
+ };
@@ -0,0 +1,119 @@
1
+ import * as React from "react";
2
+ import { StyleProp, ViewStyle } from "react-native";
3
+ import { LinearGradient } from "expo-linear-gradient";
4
+ import { extractStyles } from "../utilities";
5
+ import {
6
+ createColorProp,
7
+ FORM_TYPES,
8
+ GROUPS,
9
+ PROP_TYPES,
10
+ } from "@draftbit/types";
11
+
12
+ type Props = {
13
+ color1: string;
14
+ color2: string;
15
+ color3: string;
16
+ startX: number;
17
+ startY: number;
18
+ endX: number;
19
+ endY: number;
20
+ children?: any;
21
+ style?: StyleProp<ViewStyle>;
22
+ };
23
+
24
+ const LinearGradientComp = ({
25
+ children,
26
+ color1,
27
+ color2,
28
+ color3,
29
+ startX = 0,
30
+ startY = 0,
31
+ endX = 100,
32
+ endY = 100,
33
+ style,
34
+ }: Props) => {
35
+ const { viewStyles } = extractStyles(style);
36
+ const colors = [color1, color2, color3].filter((color: string) => !!color);
37
+ const start = { x: startX / 100, y: startY / 100 };
38
+ const end = { x: endX / 100, y: endY / 100 };
39
+ return (
40
+ <LinearGradient colors={colors} start={start} end={end} style={viewStyles}>
41
+ {children}
42
+ </LinearGradient>
43
+ );
44
+ };
45
+
46
+ export default LinearGradientComp;
47
+
48
+ export const SEED_DATA = {
49
+ name: "LinearGradient",
50
+ tag: "LinearGradient",
51
+ description: "Linear Gradient Component",
52
+ props: {
53
+ color1: createColorProp({
54
+ label: "Color 1",
55
+ }),
56
+ color2: createColorProp({
57
+ label: "Color 2",
58
+ }),
59
+ color3: createColorProp({
60
+ label: "Color 3",
61
+ }),
62
+ startX: {
63
+ group: GROUPS.basic,
64
+ label: "Start X",
65
+ description: "Start position from Left",
66
+ editable: true,
67
+ required: false,
68
+ defaultValue: 0,
69
+ min: 0,
70
+ max: 100,
71
+ step: 1,
72
+ precision: 0,
73
+ formType: FORM_TYPES.number,
74
+ propType: PROP_TYPES.NUMBER,
75
+ },
76
+ startY: {
77
+ group: GROUPS.basic,
78
+ label: "Start Y",
79
+ description: "Start position from Top",
80
+ editable: true,
81
+ required: false,
82
+ defaultValue: 0,
83
+ min: 0,
84
+ max: 100,
85
+ step: 1,
86
+ precision: 0,
87
+ formType: FORM_TYPES.number,
88
+ propType: PROP_TYPES.NUMBER,
89
+ },
90
+ endX: {
91
+ group: GROUPS.basic,
92
+ label: "End Y",
93
+ description: "End position from Right",
94
+ editable: true,
95
+ required: false,
96
+ defaultValue: 100,
97
+ min: 0,
98
+ max: 100,
99
+ step: 1,
100
+ precision: 0,
101
+ formType: FORM_TYPES.number,
102
+ propType: PROP_TYPES.NUMBER,
103
+ },
104
+ endY: {
105
+ group: GROUPS.basic,
106
+ label: "End Y",
107
+ description: "End position from Bottom",
108
+ editable: true,
109
+ required: false,
110
+ defaultValue: 100,
111
+ min: 0,
112
+ max: 100,
113
+ step: 1,
114
+ precision: 0,
115
+ formType: FORM_TYPES.number,
116
+ propType: PROP_TYPES.NUMBER,
117
+ },
118
+ },
119
+ };
package/src/index.js CHANGED
@@ -26,6 +26,7 @@ export { default as TextInput } from "./components/TextInput";
26
26
  export { default as ToggleButton } from "./components/ToggleButton";
27
27
  export { default as Touchable } from "./components/Touchable";
28
28
  export { AccordionGroup, AccordionItem } from "./components/Accordion";
29
+ export { default as LinearGradient } from "./components/LinearGradient";
29
30
  export { ActionSheet, ActionSheetItem, ActionSheetCancel, } from "./components/ActionSheet";
30
31
  export { Swiper, SwiperItem } from "./components/Swiper";
31
32
  export { Center, Circle, Square, Row, Stack, Spacer, } from "./components/Layout";
package/src/index.tsx CHANGED
@@ -27,6 +27,7 @@ export { default as TextInput } from "./components/TextInput";
27
27
  export { default as ToggleButton } from "./components/ToggleButton";
28
28
  export { default as Touchable } from "./components/Touchable";
29
29
  export { AccordionGroup, AccordionItem } from "./components/Accordion";
30
+ export { default as LinearGradient } from "./components/LinearGradient";
30
31
  export {
31
32
  ActionSheet,
32
33
  ActionSheetItem,
@@ -0,0 +1,39 @@
1
+ import {
2
+ GROUPS,
3
+ COMPONENT_TYPES,
4
+ FORM_TYPES,
5
+ PROP_TYPES,
6
+ createBoolProp,
7
+ } from "@draftbit/types";
8
+
9
+ export const SEED_DATA = {
10
+ name: "Modal",
11
+ tag: "Modal",
12
+ description: "A basic Modal Component",
13
+ category: COMPONENT_TYPES.container,
14
+ props: {
15
+ animationType: {
16
+ group: GROUPS.basic,
17
+ name: "animationType",
18
+ label: "animationType",
19
+ description: "Animation Type",
20
+ options: ["slide", "fade", "none"],
21
+ editable: false,
22
+ required: false,
23
+ formType: FORM_TYPES.flatArray,
24
+ propType: PROP_TYPES.STRING,
25
+ defaultValue: "none",
26
+ },
27
+ transparent: createBoolProp({
28
+ group: GROUPS.basic,
29
+ label: "Transparent",
30
+ description:
31
+ "Determines whether the modal will fill the entire view. Setting this to true will render the modal over a transparent background",
32
+ }),
33
+ visible: createBoolProp({
34
+ group: GROUPS.data,
35
+ label: "Visible",
36
+ description: "Determines whether the modal is visible",
37
+ }),
38
+ },
39
+ };
@@ -44,7 +44,10 @@ export const SEED_DATA = [
44
44
  name: "Switch Row",
45
45
  tag: "SwitchRow",
46
46
  category: COMPONENT_TYPES.input,
47
- layout: {},
47
+ layout: {
48
+ marginLeft: 0,
49
+ marginRight: 0,
50
+ },
48
51
  triggers: SEED_DATA_TRIGGERS,
49
52
  props: {
50
53
  label: createTextProp({
@@ -31,8 +31,8 @@ export const SEED_DATA = {
31
31
  label: "Number Of Lines",
32
32
  description: "Number Of Lines",
33
33
  group: GROUPS.basic,
34
- formType: FORM_TYPES.boolean,
35
- propType: PROP_TYPES.BOOLEAN,
34
+ formType: FORM_TYPES.number,
35
+ propType: PROP_TYPES.NUMBER,
36
36
  defaultValue: 4,
37
37
  editable: true,
38
38
  required: false,
@@ -9,7 +9,7 @@ import {
9
9
  Triggers,
10
10
  } from "@draftbit/types";
11
11
 
12
- export const COMMON_NATIVE_INPUT_PROPS = {
12
+ export const SEED_DATA_PROPS = {
13
13
  style: {
14
14
  group: GROUPS.basic,
15
15
  label: "Style",
@@ -72,108 +72,6 @@ export const COMMON_NATIVE_INPUT_PROPS = {
72
72
  },
73
73
  };
74
74
 
75
- const NATIVE_INPUT_PROPS = {
76
- ...COMMON_NATIVE_INPUT_PROPS,
77
- multiline: {
78
- group: GROUPS.basic,
79
- label: "Multiple Lines",
80
- description:
81
- "Allows multiple lines of input, useful for situations where the user may be typing in a lot of data.",
82
- editable: true,
83
- required: false,
84
- defaultValue: null,
85
- formType: FORM_TYPES.boolean,
86
- propType: PROP_TYPES.BOOLEAN,
87
- },
88
- numberOfLines: {
89
- group: GROUPS.basic,
90
- label: "Number of Lines",
91
- description:
92
- "Sets the number of lines for the input (Multiple Lines needs to be true)",
93
- editable: true,
94
- required: false,
95
- defaultValue: null,
96
- min: 0,
97
- step: 1,
98
- precision: 0,
99
- formType: FORM_TYPES.number,
100
- propType: PROP_TYPES.NUMBER,
101
- },
102
- scrollEnabled: {
103
- group: GROUPS.basic,
104
- label: "Scroll Enabled",
105
- description:
106
- "If false, scrolling of the input will be disabled. Only works when Multiple Lines is true",
107
- editable: true,
108
- required: false,
109
- defaultValue: null,
110
- formType: FORM_TYPES.boolean,
111
- propType: PROP_TYPES.BOOLEAN,
112
- },
113
- spellcheck: {
114
- group: GROUPS.basic,
115
- label: "Disable Spell Check",
116
- description:
117
- "If false, disables spell-check style (red underlines). Default comes from Auto Correct",
118
- editable: true,
119
- required: false,
120
- defaultValue: null,
121
- formType: FORM_TYPES.boolean,
122
- propType: PROP_TYPES.BOOLEAN,
123
- },
124
- textContentType: {
125
- group: GROUPS.advanced,
126
- label: "Text Content Type",
127
- description:
128
- "Give the keyboard and system about what it should do with the input. For example, if its an address, autofill from address book",
129
- editable: true,
130
- required: false,
131
- defaultValue: null,
132
- options: [
133
- "none",
134
- "URL",
135
- "addressCity",
136
- "addressCityAndState",
137
- "addressState",
138
- "countryName",
139
- "creditCardNumber",
140
- "emailAddress",
141
- "familyName",
142
- "fullStreetAddress",
143
- "givenName",
144
- "jobTitle",
145
- "location",
146
- "middleName",
147
- "name",
148
- "namePrefix",
149
- "nameSuffix",
150
- "nickname",
151
- "organizationName",
152
- "postalCode",
153
- "streetAddressLine1",
154
- "streetAddressLine2",
155
- "sublocality",
156
- "telephoneNumber",
157
- "username",
158
- "password",
159
- ],
160
- formType: FORM_TYPES.flatArray,
161
- propType: PROP_TYPES.STRING,
162
- },
163
- textBreakStrategy: {
164
- group: GROUPS.advanced,
165
- label: "Text Break Strategy",
166
- description:
167
- "(Android Only) Set the text break strategy. (Default: simple)",
168
- editable: true,
169
- required: false,
170
- defaultValue: null,
171
- options: ["simple", "highQuality", "balanced"],
172
- formType: FORM_TYPES.flatArray,
173
- propType: PROP_TYPES.STRING,
174
- },
175
- };
176
-
177
75
  export const SEED_DATA = [
178
76
  {
179
77
  name: "Text Input",
@@ -198,7 +96,105 @@ export const SEED_DATA = [
198
96
  triggers: [Triggers.OnChangeText],
199
97
  props: {
200
98
  ...TEXT_INPUT_PROPS,
201
- ...NATIVE_INPUT_PROPS,
99
+ ...SEED_DATA_PROPS,
100
+ multiline: {
101
+ group: GROUPS.basic,
102
+ label: "Multiple Lines",
103
+ description:
104
+ "Allows multiple lines of input, useful for situations where the user may be typing in a lot of data.",
105
+ editable: true,
106
+ required: false,
107
+ defaultValue: null,
108
+ formType: FORM_TYPES.boolean,
109
+ propType: PROP_TYPES.BOOLEAN,
110
+ },
111
+ numberOfLines: {
112
+ group: GROUPS.basic,
113
+ label: "Number of Lines",
114
+ description:
115
+ "Sets the number of lines for the input (Multiple Lines needs to be true)",
116
+ editable: true,
117
+ required: false,
118
+ defaultValue: null,
119
+ min: 0,
120
+ step: 1,
121
+ precision: 0,
122
+ formType: FORM_TYPES.number,
123
+ propType: PROP_TYPES.NUMBER,
124
+ },
125
+ scrollEnabled: {
126
+ group: GROUPS.basic,
127
+ label: "Scroll Enabled",
128
+ description:
129
+ "If false, scrolling of the input will be disabled. Only works when Multiple Lines is true",
130
+ editable: true,
131
+ required: false,
132
+ defaultValue: null,
133
+ formType: FORM_TYPES.boolean,
134
+ propType: PROP_TYPES.BOOLEAN,
135
+ },
136
+ spellcheck: {
137
+ group: GROUPS.basic,
138
+ label: "Disable Spell Check",
139
+ description:
140
+ "If false, disables spell-check style (red underlines). Default comes from Auto Correct",
141
+ editable: true,
142
+ required: false,
143
+ defaultValue: null,
144
+ formType: FORM_TYPES.boolean,
145
+ propType: PROP_TYPES.BOOLEAN,
146
+ },
147
+ textContentType: {
148
+ group: GROUPS.advanced,
149
+ label: "Text Content Type",
150
+ description:
151
+ "Give the keyboard and system about what it should do with the input. For example, if its an address, autofill from address book",
152
+ editable: true,
153
+ required: false,
154
+ defaultValue: null,
155
+ options: [
156
+ "none",
157
+ "URL",
158
+ "addressCity",
159
+ "addressCityAndState",
160
+ "addressState",
161
+ "countryName",
162
+ "creditCardNumber",
163
+ "emailAddress",
164
+ "familyName",
165
+ "fullStreetAddress",
166
+ "givenName",
167
+ "jobTitle",
168
+ "location",
169
+ "middleName",
170
+ "name",
171
+ "namePrefix",
172
+ "nameSuffix",
173
+ "nickname",
174
+ "organizationName",
175
+ "postalCode",
176
+ "streetAddressLine1",
177
+ "streetAddressLine2",
178
+ "sublocality",
179
+ "telephoneNumber",
180
+ "username",
181
+ "password",
182
+ ],
183
+ formType: FORM_TYPES.flatArray,
184
+ propType: PROP_TYPES.STRING,
185
+ },
186
+ textBreakStrategy: {
187
+ group: GROUPS.advanced,
188
+ label: "Text Break Strategy",
189
+ description:
190
+ "(Android Only) Set the text break strategy. (Default: simple)",
191
+ editable: true,
192
+ required: false,
193
+ defaultValue: null,
194
+ options: ["simple", "highQuality", "balanced"],
195
+ formType: FORM_TYPES.flatArray,
196
+ propType: PROP_TYPES.STRING,
197
+ },
202
198
  },
203
199
  },
204
200
  {
@@ -224,7 +220,7 @@ export const SEED_DATA = [
224
220
  triggers: [Triggers.OnChangeText],
225
221
  props: {
226
222
  ...NUMBER_INPUT_PROPS,
227
- ...COMMON_NATIVE_INPUT_PROPS,
223
+ ...SEED_DATA_PROPS,
228
224
  },
229
225
  },
230
226
  ];