@draftbit/core 47.1.1-8b0b37.2 → 47.1.1-b7d86a.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/DatePicker.js +1 -1
- package/lib/commonjs/mappings/FlashList.js +8 -4
- package/lib/commonjs/mappings/FlatList.js +4 -0
- package/lib/commonjs/mappings/ScrollView.js +6 -0
- package/lib/commonjs/mappings/TextField.js +2 -2
- package/lib/module/components/CardBlock.js +4 -14
- package/lib/module/components/CircularProgress.js +8 -28
- package/lib/module/components/Image.js +2 -18
- package/lib/module/components/Picker/PickerComponent.android.js +3 -21
- package/lib/module/components/RadioButton/context.js +1 -1
- package/lib/module/hooks.js +2 -1
- package/lib/module/mappings/DatePicker.js +1 -1
- package/lib/module/mappings/FlashList.js +9 -5
- package/lib/module/mappings/FlatList.js +5 -1
- package/lib/module/mappings/ScrollView.js +7 -1
- package/lib/module/mappings/TextField.js +2 -2
- package/lib/typescript/src/mappings/DatePicker.d.ts +1 -1
- package/lib/typescript/src/mappings/FlashList.d.ts +20 -11
- package/lib/typescript/src/mappings/FlashList.d.ts.map +1 -1
- package/lib/typescript/src/mappings/FlatList.d.ts +10 -0
- package/lib/typescript/src/mappings/FlatList.d.ts.map +1 -1
- package/lib/typescript/src/mappings/ScrollView.d.ts +21 -0
- package/lib/typescript/src/mappings/ScrollView.d.ts.map +1 -1
- package/package.json +3 -3
- package/src/mappings/DatePicker.js +1 -1
- package/src/mappings/DatePicker.ts +1 -1
- package/src/mappings/FlashList.js +9 -5
- package/src/mappings/FlashList.ts +9 -5
- package/src/mappings/FlatList.js +5 -1
- package/src/mappings/FlatList.ts +5 -0
- package/src/mappings/ScrollView.js +7 -1
- package/src/mappings/ScrollView.ts +9 -0
- package/src/mappings/TextField.js +2 -2
- package/src/mappings/TextField.ts +2 -2
|
@@ -156,7 +156,7 @@ const SEED_DATA = [{
|
|
|
156
156
|
category: _types.COMPONENT_TYPES.input,
|
|
157
157
|
layout: null,
|
|
158
158
|
triggers: [_types.Triggers.OnDateChange],
|
|
159
|
-
|
|
159
|
+
stylesPanelSections: [_types.StylesPanelSections.Typography, _types.StylesPanelSections.Background, _types.StylesPanelSections.Size, _types.StylesPanelSections.MarginsAndPaddings, _types.StylesPanelSections.Position],
|
|
160
160
|
props: {
|
|
161
161
|
...SEED_DATA_PROPS,
|
|
162
162
|
type: {
|
|
@@ -30,10 +30,6 @@ const SEED_DATA = [{
|
|
|
30
30
|
step: 1,
|
|
31
31
|
precision: 0
|
|
32
32
|
}),
|
|
33
|
-
optimizeItemArrangement: (0, _types.createStaticBoolProp)({
|
|
34
|
-
label: "Optimize Item Arrangement",
|
|
35
|
-
description: "If enabled, MasonryFlashList will try to reduce difference in column height by modifying item order. If true, specifying overrideItemLayout is required. Default value is false."
|
|
36
|
-
}),
|
|
37
33
|
initialNumToRender: (0, _types.createStaticNumberProp)({
|
|
38
34
|
label: "Initial Num To Render",
|
|
39
35
|
description: "How many items to render in the initial batch",
|
|
@@ -43,6 +39,10 @@ const SEED_DATA = [{
|
|
|
43
39
|
label: "End Reached Threshold",
|
|
44
40
|
description: "How far from the end (in units of visible length of the list) the bottom edge of the list must be from the end of the content to trigger the onEndReached callback. Thus a value of 0.5 will trigger onEndReached when the end of the content is within half the visible length of the list.",
|
|
45
41
|
defaultValue: 0.5
|
|
42
|
+
}),
|
|
43
|
+
refreshColor: (0, _types.createColorProp)({
|
|
44
|
+
label: "Refreshing Color",
|
|
45
|
+
description: "Color of the refresh indicator"
|
|
46
46
|
})
|
|
47
47
|
}
|
|
48
48
|
}, {
|
|
@@ -87,6 +87,10 @@ const SEED_DATA = [{
|
|
|
87
87
|
label: "End Reached Threshold",
|
|
88
88
|
description: "How far from the end (in units of visible length of the list) the bottom edge of the list must be from the end of the content to trigger the onEndReached callback. Thus a value of 0.5 will trigger onEndReached when the end of the content is within half the visible length of the list.",
|
|
89
89
|
defaultValue: 0.5
|
|
90
|
+
}),
|
|
91
|
+
refreshColor: (0, _types.createColorProp)({
|
|
92
|
+
label: "Refreshing Color",
|
|
93
|
+
description: "Color of the refresh indicator"
|
|
90
94
|
})
|
|
91
95
|
}
|
|
92
96
|
}];
|
|
@@ -38,6 +38,10 @@ const SEED_DATA = {
|
|
|
38
38
|
label: "End Reached Threshold",
|
|
39
39
|
description: "How far from the end (in units of visible length of the list) the bottom edge of the list must be from the end of the content to trigger the onEndReached callback. Thus a value of 0.5 will trigger onEndReached when the end of the content is within half the visible length of the list.",
|
|
40
40
|
defaultValue: 0.5
|
|
41
|
+
}),
|
|
42
|
+
refreshColor: (0, _types.createColorProp)({
|
|
43
|
+
label: "Refreshing Color",
|
|
44
|
+
description: "Color of the refresh indicator"
|
|
41
45
|
})
|
|
42
46
|
}
|
|
43
47
|
};
|
|
@@ -12,7 +12,9 @@ const SEED_DATA = {
|
|
|
12
12
|
category: _types.COMPONENT_TYPES.view,
|
|
13
13
|
stylesPanelSections: _types.CONTAINER_COMPONENT_STYLES_SECTIONS,
|
|
14
14
|
layout: {},
|
|
15
|
+
triggers: [_types.Triggers.OnRefresh],
|
|
15
16
|
props: {
|
|
17
|
+
onRefresh: (0, _types.createActionProp)(),
|
|
16
18
|
horizontal: (0, _types.createStaticBoolProp)({
|
|
17
19
|
label: "Horizontal",
|
|
18
20
|
description: "Render your list horizontally",
|
|
@@ -32,6 +34,10 @@ const SEED_DATA = {
|
|
|
32
34
|
label: "Bounce",
|
|
33
35
|
description: "When true, the scroll view bounces when it reaches the end of the content if the content is larger then the scroll view along the axis of the scroll direction.",
|
|
34
36
|
defaultValue: true
|
|
37
|
+
}),
|
|
38
|
+
refreshColor: (0, _types.createColorProp)({
|
|
39
|
+
label: "Refreshing Color",
|
|
40
|
+
description: "Color of the refresh indicator"
|
|
35
41
|
})
|
|
36
42
|
}
|
|
37
43
|
};
|
|
@@ -283,7 +283,7 @@ const SEED_DATA = [{
|
|
|
283
283
|
...SEED_DATA_PROPS,
|
|
284
284
|
type: {
|
|
285
285
|
label: "Appearance",
|
|
286
|
-
description: "Type of
|
|
286
|
+
description: "Type of Field",
|
|
287
287
|
formType: _types.FORM_TYPES.flatArray,
|
|
288
288
|
propType: _types.PROP_TYPES.STRING,
|
|
289
289
|
defaultValue: "solid",
|
|
@@ -325,7 +325,7 @@ const SEED_DATA = [{
|
|
|
325
325
|
...SEED_DATA_PROPS,
|
|
326
326
|
type: {
|
|
327
327
|
label: "Appearance",
|
|
328
|
-
description: "Type of
|
|
328
|
+
description: "Type of Field",
|
|
329
329
|
formType: _types.FORM_TYPES.flatArray,
|
|
330
330
|
propType: _types.PROP_TYPES.STRING,
|
|
331
331
|
defaultValue: "solid",
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
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); }
|
|
1
2
|
import React from "react";
|
|
2
3
|
import { View, Text } from "react-native";
|
|
3
4
|
import Image from "./Image";
|
|
@@ -41,12 +42,11 @@ const CardBlock = _ref => {
|
|
|
41
42
|
const rightDescriptionStyles = [typography.subtitle2, {
|
|
42
43
|
color: colors.light
|
|
43
44
|
}];
|
|
44
|
-
return /*#__PURE__*/React.createElement(Card, {
|
|
45
|
+
return /*#__PURE__*/React.createElement(Card, _extends({
|
|
45
46
|
style: style,
|
|
46
47
|
onPress: onPress,
|
|
47
|
-
numColumns: numColumns
|
|
48
|
-
|
|
49
|
-
}, /*#__PURE__*/React.createElement(View, {
|
|
48
|
+
numColumns: numColumns
|
|
49
|
+
}, rest), /*#__PURE__*/React.createElement(View, {
|
|
50
50
|
style: {
|
|
51
51
|
backgroundColor: colors.background
|
|
52
52
|
}
|
|
@@ -95,14 +95,4 @@ const CardBlock = _ref => {
|
|
|
95
95
|
style: rightDescriptionStyles
|
|
96
96
|
}, rightDescription) : null) : null));
|
|
97
97
|
};
|
|
98
|
-
export default withTheme(CardBlock);PURE__*/React.createElement(Text, {
|
|
99
|
-
numberOfLines: 1,
|
|
100
|
-
style: [typography.body2, {
|
|
101
|
-
color: colors.medium
|
|
102
|
-
}]
|
|
103
|
-
}, leftDescription), rightDescription ? /*#__PURE__*/React.createElement(Text, {
|
|
104
|
-
numberOfLines: 1,
|
|
105
|
-
style: rightDescriptionStyles
|
|
106
|
-
}, rightDescription) : null) : null));
|
|
107
|
-
};
|
|
108
98
|
export default withTheme(CardBlock);
|
|
@@ -1,24 +1,27 @@
|
|
|
1
|
+
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
2
|
+
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
3
|
+
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
1
4
|
import React from "react";
|
|
2
5
|
import { View } from "react-native";
|
|
3
6
|
import { Svg, Path, G } from "react-native-svg";
|
|
4
7
|
class CircularProgress extends React.Component {
|
|
5
8
|
constructor() {
|
|
6
9
|
super(...arguments);
|
|
7
|
-
this
|
|
10
|
+
_defineProperty(this, "polarToCartesian", (centerX, centerY, radius, angleInDegrees) => {
|
|
8
11
|
var angleInRadians = (angleInDegrees - 90) * Math.PI / 180.0;
|
|
9
12
|
return {
|
|
10
13
|
x: centerX + radius * Math.cos(angleInRadians),
|
|
11
14
|
y: centerY + radius * Math.sin(angleInRadians)
|
|
12
15
|
};
|
|
13
|
-
};
|
|
14
|
-
this
|
|
16
|
+
});
|
|
17
|
+
_defineProperty(this, "circlePath", (x, y, radius, startAngle, endAngle) => {
|
|
15
18
|
var start = this.polarToCartesian(x, y, radius, endAngle * 0.9999);
|
|
16
19
|
var end = this.polarToCartesian(x, y, radius, startAngle);
|
|
17
20
|
var largeArcFlag = endAngle - startAngle <= 180 ? "0" : "1";
|
|
18
21
|
var d = ["M", start.x, start.y, "A", radius, radius, 0, largeArcFlag, 0, end.x, end.y];
|
|
19
22
|
return d.join(" ");
|
|
20
|
-
};
|
|
21
|
-
this
|
|
23
|
+
});
|
|
24
|
+
_defineProperty(this, "clampFill", fill => Math.min(100, Math.max(0, fill)));
|
|
22
25
|
}
|
|
23
26
|
render() {
|
|
24
27
|
const {
|
|
@@ -98,27 +101,4 @@ class CircularProgress extends React.Component {
|
|
|
98
101
|
}, children(fill)));
|
|
99
102
|
}
|
|
100
103
|
}
|
|
101
|
-
export default CircularProgress;eElement(G, {
|
|
102
|
-
rotation: rotation,
|
|
103
|
-
originX: (size + padding) / 2,
|
|
104
|
-
originY: (size + padding) / 2
|
|
105
|
-
}, backgroundColor && /*#__PURE__*/React.createElement(Path, {
|
|
106
|
-
d: backgroundPath,
|
|
107
|
-
stroke: backgroundColor,
|
|
108
|
-
strokeWidth: backgroundWidth || width,
|
|
109
|
-
strokeLinecap: lineCap,
|
|
110
|
-
strokeDasharray: strokeDasharrayBackground,
|
|
111
|
-
fill: "transparent"
|
|
112
|
-
}), fill > 0 && /*#__PURE__*/React.createElement(Path, {
|
|
113
|
-
d: circlePathItem,
|
|
114
|
-
stroke: tintColor,
|
|
115
|
-
strokeWidth: width,
|
|
116
|
-
strokeLinecap: lineCap,
|
|
117
|
-
strokeDasharray: strokeDasharrayTint,
|
|
118
|
-
fill: "transparent"
|
|
119
|
-
}), cap)), children && /*#__PURE__*/React.createElement(View, {
|
|
120
|
-
style: localChildrenContainerStyle
|
|
121
|
-
}, children(fill)));
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
104
|
export default CircularProgress;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
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); }
|
|
1
2
|
/* README: Internal Image component used for stuff like Card. DO NOT EXPORT! */
|
|
2
3
|
import React from "react";
|
|
3
4
|
import { Image as NativeImage, StyleSheet } from "react-native";
|
|
@@ -55,24 +56,7 @@ const Image = _ref2 => {
|
|
|
55
56
|
height,
|
|
56
57
|
aspectRatio
|
|
57
58
|
}]
|
|
58
|
-
}, /*#__PURE__*/React.createElement(NativeImage, {
|
|
59
|
-
...props,
|
|
60
|
-
source: imageSource,
|
|
61
|
-
resizeMode: resizeMode,
|
|
62
|
-
style: [style, {
|
|
63
|
-
height: "100%",
|
|
64
|
-
width: "100%"
|
|
65
|
-
}]
|
|
66
|
-
}));
|
|
67
|
-
}
|
|
68
|
-
return /*#__PURE__*/React.createElement(NativeImage, {
|
|
69
|
-
...props,
|
|
70
|
-
source: source,
|
|
71
|
-
resizeMode: resizeMode,
|
|
72
|
-
style: style
|
|
73
|
-
});
|
|
74
|
-
};
|
|
75
|
-
export default Image;eImage, _extends({}, props, {
|
|
59
|
+
}, /*#__PURE__*/React.createElement(NativeImage, _extends({}, props, {
|
|
76
60
|
source: imageSource,
|
|
77
61
|
resizeMode: resizeMode,
|
|
78
62
|
style: [style, {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
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); }
|
|
1
2
|
import * as React from "react";
|
|
2
3
|
import { View, StyleSheet } from "react-native";
|
|
3
4
|
import omit from "lodash.omit";
|
|
@@ -7,6 +8,7 @@ import { extractStyles } from "../../utilities";
|
|
|
7
8
|
import TextField from "../TextField";
|
|
8
9
|
import Touchable from "../Touchable";
|
|
9
10
|
const Picker = _ref => {
|
|
11
|
+
var _options$find$label, _options$find;
|
|
10
12
|
let {
|
|
11
13
|
style,
|
|
12
14
|
options,
|
|
@@ -16,7 +18,6 @@ const Picker = _ref => {
|
|
|
16
18
|
onValueChange: onValueChangeOverride = () => {},
|
|
17
19
|
...props
|
|
18
20
|
} = _ref;
|
|
19
|
-
var _a, _b;
|
|
20
21
|
const {
|
|
21
22
|
viewStyles: {
|
|
22
23
|
borderRadius,
|
|
@@ -61,7 +62,7 @@ const Picker = _ref => {
|
|
|
61
62
|
};
|
|
62
63
|
|
|
63
64
|
const stylesWithoutMargin = style && omit(StyleSheet.flatten(style), ["margin", "marginTop", "marginRight", "marginBottom", "marginLeft"]);
|
|
64
|
-
const selectedLabel = selectedValue && ((
|
|
65
|
+
const selectedLabel = selectedValue && ((_options$find$label = (_options$find = options.find(o => o.value === selectedValue)) === null || _options$find === void 0 ? void 0 : _options$find.label) !== null && _options$find$label !== void 0 ? _options$find$label : selectedValue);
|
|
65
66
|
return /*#__PURE__*/React.createElement(Touchable, {
|
|
66
67
|
disabled: disabled,
|
|
67
68
|
onPress: toggleFocus,
|
|
@@ -83,25 +84,6 @@ const Picker = _ref => {
|
|
|
83
84
|
label: o.label,
|
|
84
85
|
value: o.value,
|
|
85
86
|
key: o.value
|
|
86
|
-
}))), /*#__PURE__*/React.createElement(View, {
|
|
87
|
-
pointerEvents: "none"
|
|
88
|
-
}, /*#__PURE__*/React.createElement(TextField, {
|
|
89
|
-
...props,
|
|
90
|
-
value: selectedLabel,
|
|
91
|
-
placeholder: placeholder,
|
|
92
|
-
// @ts-ignore
|
|
93
|
-
ref: textField,
|
|
94
|
-
disabled: disabled,
|
|
95
|
-
// @ts-expect-error
|
|
96
|
-
style: stylesWithoutMargin
|
|
97
|
-
}))));
|
|
98
|
-
};
|
|
99
|
-
const styles = StyleSheet.create({
|
|
100
|
-
container: {
|
|
101
|
-
alignSelf: "stretch"
|
|
102
|
-
}
|
|
103
|
-
});
|
|
104
|
-
export default withTheme(Picker);y: o.value
|
|
105
87
|
}))), /*#__PURE__*/React.createElement(View, {
|
|
106
88
|
pointerEvents: "none"
|
|
107
89
|
}, /*#__PURE__*/React.createElement(TextField, _extends({}, props, {
|
package/lib/module/hooks.js
CHANGED
|
@@ -3,11 +3,12 @@ export function usePrevious(value) {
|
|
|
3
3
|
// The ref object is a generic container whose current property is mutable
|
|
4
4
|
// and can hold any value, similar to an instance property on a class
|
|
5
5
|
const ref = React.useRef();
|
|
6
|
+
|
|
6
7
|
// Store current value in ref
|
|
7
8
|
React.useEffect(() => {
|
|
8
9
|
ref.current = value;
|
|
9
10
|
}, [value]);
|
|
11
|
+
|
|
10
12
|
// Return previous value (happens before update in useEffect above)
|
|
11
13
|
return ref.current;
|
|
12
|
-
}
|
|
13
14
|
}
|
|
@@ -150,7 +150,7 @@ export const SEED_DATA = [{
|
|
|
150
150
|
category: COMPONENT_TYPES.input,
|
|
151
151
|
layout: null,
|
|
152
152
|
triggers: [Triggers.OnDateChange],
|
|
153
|
-
|
|
153
|
+
stylesPanelSections: [StylesPanelSections.Typography, StylesPanelSections.Background, StylesPanelSections.Size, StylesPanelSections.MarginsAndPaddings, StylesPanelSections.Position],
|
|
154
154
|
props: {
|
|
155
155
|
...SEED_DATA_PROPS,
|
|
156
156
|
type: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { COMPONENT_TYPES, createNumColumnsType, createStaticBoolProp, createNumberProp, CONTAINER_COMPONENT_STYLES_SECTIONS, GROUPS, Triggers, createActionProp, createStaticNumberProp } from "@draftbit/types";
|
|
1
|
+
import { COMPONENT_TYPES, createNumColumnsType, createStaticBoolProp, createNumberProp, CONTAINER_COMPONENT_STYLES_SECTIONS, GROUPS, Triggers, createActionProp, createStaticNumberProp, createColorProp } from "@draftbit/types";
|
|
2
2
|
export const SEED_DATA = [{
|
|
3
3
|
name: "Masonry List",
|
|
4
4
|
tag: "MasonryFlashList",
|
|
@@ -24,10 +24,6 @@ export const SEED_DATA = [{
|
|
|
24
24
|
step: 1,
|
|
25
25
|
precision: 0
|
|
26
26
|
}),
|
|
27
|
-
optimizeItemArrangement: createStaticBoolProp({
|
|
28
|
-
label: "Optimize Item Arrangement",
|
|
29
|
-
description: "If enabled, MasonryFlashList will try to reduce difference in column height by modifying item order. If true, specifying overrideItemLayout is required. Default value is false."
|
|
30
|
-
}),
|
|
31
27
|
initialNumToRender: createStaticNumberProp({
|
|
32
28
|
label: "Initial Num To Render",
|
|
33
29
|
description: "How many items to render in the initial batch",
|
|
@@ -37,6 +33,10 @@ export const SEED_DATA = [{
|
|
|
37
33
|
label: "End Reached Threshold",
|
|
38
34
|
description: "How far from the end (in units of visible length of the list) the bottom edge of the list must be from the end of the content to trigger the onEndReached callback. Thus a value of 0.5 will trigger onEndReached when the end of the content is within half the visible length of the list.",
|
|
39
35
|
defaultValue: 0.5
|
|
36
|
+
}),
|
|
37
|
+
refreshColor: createColorProp({
|
|
38
|
+
label: "Refreshing Color",
|
|
39
|
+
description: "Color of the refresh indicator"
|
|
40
40
|
})
|
|
41
41
|
}
|
|
42
42
|
}, {
|
|
@@ -81,6 +81,10 @@ export const SEED_DATA = [{
|
|
|
81
81
|
label: "End Reached Threshold",
|
|
82
82
|
description: "How far from the end (in units of visible length of the list) the bottom edge of the list must be from the end of the content to trigger the onEndReached callback. Thus a value of 0.5 will trigger onEndReached when the end of the content is within half the visible length of the list.",
|
|
83
83
|
defaultValue: 0.5
|
|
84
|
+
}),
|
|
85
|
+
refreshColor: createColorProp({
|
|
86
|
+
label: "Refreshing Color",
|
|
87
|
+
description: "Color of the refresh indicator"
|
|
84
88
|
})
|
|
85
89
|
}
|
|
86
90
|
}];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { COMPONENT_TYPES, createNumColumnsType, createStaticBoolProp, CONTAINER_COMPONENT_STYLES_SECTIONS, Triggers, createActionProp, createStaticNumberProp } from "@draftbit/types";
|
|
1
|
+
import { COMPONENT_TYPES, createNumColumnsType, createStaticBoolProp, CONTAINER_COMPONENT_STYLES_SECTIONS, Triggers, createActionProp, createStaticNumberProp, createColorProp } from "@draftbit/types";
|
|
2
2
|
export const SEED_DATA = {
|
|
3
3
|
name: "List",
|
|
4
4
|
tag: "FlatList",
|
|
@@ -32,6 +32,10 @@ export const SEED_DATA = {
|
|
|
32
32
|
label: "End Reached Threshold",
|
|
33
33
|
description: "How far from the end (in units of visible length of the list) the bottom edge of the list must be from the end of the content to trigger the onEndReached callback. Thus a value of 0.5 will trigger onEndReached when the end of the content is within half the visible length of the list.",
|
|
34
34
|
defaultValue: 0.5
|
|
35
|
+
}),
|
|
36
|
+
refreshColor: createColorProp({
|
|
37
|
+
label: "Refreshing Color",
|
|
38
|
+
description: "Color of the refresh indicator"
|
|
35
39
|
})
|
|
36
40
|
}
|
|
37
41
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { COMPONENT_TYPES, createStaticBoolProp, CONTAINER_COMPONENT_STYLES_SECTIONS } from "@draftbit/types";
|
|
1
|
+
import { COMPONENT_TYPES, createStaticBoolProp, CONTAINER_COMPONENT_STYLES_SECTIONS, Triggers, createActionProp, createColorProp } from "@draftbit/types";
|
|
2
2
|
export const SEED_DATA = {
|
|
3
3
|
name: "Scroll View",
|
|
4
4
|
tag: "ScrollView",
|
|
@@ -6,7 +6,9 @@ export const SEED_DATA = {
|
|
|
6
6
|
category: COMPONENT_TYPES.view,
|
|
7
7
|
stylesPanelSections: CONTAINER_COMPONENT_STYLES_SECTIONS,
|
|
8
8
|
layout: {},
|
|
9
|
+
triggers: [Triggers.OnRefresh],
|
|
9
10
|
props: {
|
|
11
|
+
onRefresh: createActionProp(),
|
|
10
12
|
horizontal: createStaticBoolProp({
|
|
11
13
|
label: "Horizontal",
|
|
12
14
|
description: "Render your list horizontally",
|
|
@@ -26,6 +28,10 @@ export const SEED_DATA = {
|
|
|
26
28
|
label: "Bounce",
|
|
27
29
|
description: "When true, the scroll view bounces when it reaches the end of the content if the content is larger then the scroll view along the axis of the scroll direction.",
|
|
28
30
|
defaultValue: true
|
|
31
|
+
}),
|
|
32
|
+
refreshColor: createColorProp({
|
|
33
|
+
label: "Refreshing Color",
|
|
34
|
+
description: "Color of the refresh indicator"
|
|
29
35
|
})
|
|
30
36
|
}
|
|
31
37
|
};
|
|
@@ -277,7 +277,7 @@ export const SEED_DATA = [{
|
|
|
277
277
|
...SEED_DATA_PROPS,
|
|
278
278
|
type: {
|
|
279
279
|
label: "Appearance",
|
|
280
|
-
description: "Type of
|
|
280
|
+
description: "Type of Field",
|
|
281
281
|
formType: FORM_TYPES.flatArray,
|
|
282
282
|
propType: PROP_TYPES.STRING,
|
|
283
283
|
defaultValue: "solid",
|
|
@@ -319,7 +319,7 @@ export const SEED_DATA = [{
|
|
|
319
319
|
...SEED_DATA_PROPS,
|
|
320
320
|
type: {
|
|
321
321
|
label: "Appearance",
|
|
322
|
-
description: "Type of
|
|
322
|
+
description: "Type of Field",
|
|
323
323
|
formType: FORM_TYPES.flatArray,
|
|
324
324
|
propType: PROP_TYPES.STRING,
|
|
325
325
|
defaultValue: "solid",
|
|
@@ -51,16 +51,6 @@ export declare const SEED_DATA: ({
|
|
|
51
51
|
required: boolean;
|
|
52
52
|
step: number;
|
|
53
53
|
};
|
|
54
|
-
optimizeItemArrangement: {
|
|
55
|
-
label: string;
|
|
56
|
-
description: string;
|
|
57
|
-
formType: string;
|
|
58
|
-
propType: string;
|
|
59
|
-
defaultValue: boolean;
|
|
60
|
-
editable: boolean;
|
|
61
|
-
required: boolean;
|
|
62
|
-
group: string;
|
|
63
|
-
};
|
|
64
54
|
initialNumToRender: {
|
|
65
55
|
label: string;
|
|
66
56
|
description: string;
|
|
@@ -83,6 +73,16 @@ export declare const SEED_DATA: ({
|
|
|
83
73
|
required: boolean;
|
|
84
74
|
step: number;
|
|
85
75
|
};
|
|
76
|
+
refreshColor: {
|
|
77
|
+
group: string;
|
|
78
|
+
label: string;
|
|
79
|
+
description: string;
|
|
80
|
+
editable: boolean;
|
|
81
|
+
required: boolean;
|
|
82
|
+
defaultValue: null;
|
|
83
|
+
formType: string;
|
|
84
|
+
propType: string;
|
|
85
|
+
};
|
|
86
86
|
horizontal?: undefined;
|
|
87
87
|
inverted?: undefined;
|
|
88
88
|
};
|
|
@@ -181,7 +181,16 @@ export declare const SEED_DATA: ({
|
|
|
181
181
|
required: boolean;
|
|
182
182
|
step: number;
|
|
183
183
|
};
|
|
184
|
-
|
|
184
|
+
refreshColor: {
|
|
185
|
+
group: string;
|
|
186
|
+
label: string;
|
|
187
|
+
description: string;
|
|
188
|
+
editable: boolean;
|
|
189
|
+
required: boolean;
|
|
190
|
+
defaultValue: null;
|
|
191
|
+
formType: string;
|
|
192
|
+
propType: string;
|
|
193
|
+
};
|
|
185
194
|
};
|
|
186
195
|
})[];
|
|
187
196
|
//# sourceMappingURL=FlashList.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FlashList.d.ts","sourceRoot":"","sources":["../../../../src/mappings/FlashList.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FlashList.d.ts","sourceRoot":"","sources":["../../../../src/mappings/FlashList.ts"],"names":[],"mappings":"AAaA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA6FrB,CAAC"}
|
|
@@ -81,6 +81,16 @@ export declare const SEED_DATA: {
|
|
|
81
81
|
required: boolean;
|
|
82
82
|
step: number;
|
|
83
83
|
};
|
|
84
|
+
refreshColor: {
|
|
85
|
+
group: string;
|
|
86
|
+
label: string;
|
|
87
|
+
description: string;
|
|
88
|
+
editable: boolean;
|
|
89
|
+
required: boolean;
|
|
90
|
+
defaultValue: null;
|
|
91
|
+
formType: string;
|
|
92
|
+
propType: string;
|
|
93
|
+
};
|
|
84
94
|
};
|
|
85
95
|
};
|
|
86
96
|
//# sourceMappingURL=FlatList.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"FlatList.d.ts","sourceRoot":"","sources":["../../../../src/mappings/FlatList.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"FlatList.d.ts","sourceRoot":"","sources":["../../../../src/mappings/FlatList.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwCrB,CAAC"}
|
|
@@ -5,7 +5,18 @@ export declare const SEED_DATA: {
|
|
|
5
5
|
category: string;
|
|
6
6
|
stylesPanelSections: string[];
|
|
7
7
|
layout: {};
|
|
8
|
+
triggers: string[];
|
|
8
9
|
props: {
|
|
10
|
+
onRefresh: {
|
|
11
|
+
label: string;
|
|
12
|
+
description: string;
|
|
13
|
+
editable: boolean;
|
|
14
|
+
required: boolean;
|
|
15
|
+
formType: string;
|
|
16
|
+
propType: string;
|
|
17
|
+
defaultValue: null;
|
|
18
|
+
group: string;
|
|
19
|
+
};
|
|
9
20
|
horizontal: {
|
|
10
21
|
label: string;
|
|
11
22
|
description: string;
|
|
@@ -46,6 +57,16 @@ export declare const SEED_DATA: {
|
|
|
46
57
|
required: boolean;
|
|
47
58
|
group: string;
|
|
48
59
|
};
|
|
60
|
+
refreshColor: {
|
|
61
|
+
group: string;
|
|
62
|
+
label: string;
|
|
63
|
+
description: string;
|
|
64
|
+
editable: boolean;
|
|
65
|
+
required: boolean;
|
|
66
|
+
defaultValue: null;
|
|
67
|
+
formType: string;
|
|
68
|
+
propType: string;
|
|
69
|
+
};
|
|
49
70
|
};
|
|
50
71
|
};
|
|
51
72
|
//# sourceMappingURL=ScrollView.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScrollView.d.ts","sourceRoot":"","sources":["../../../../src/mappings/ScrollView.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ScrollView.d.ts","sourceRoot":"","sources":["../../../../src/mappings/ScrollView.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsCrB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@draftbit/core",
|
|
3
|
-
"version": "47.1.1-
|
|
3
|
+
"version": "47.1.1-b7d86a.2+b7d86ad",
|
|
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": "^47.1.1-
|
|
44
|
+
"@draftbit/types": "^47.1.1-b7d86a.2+b7d86ad",
|
|
45
45
|
"@material-ui/core": "^4.11.0",
|
|
46
46
|
"@material-ui/pickers": "^3.2.10",
|
|
47
47
|
"@react-native-community/slider": "4.2.4",
|
|
@@ -91,5 +91,5 @@
|
|
|
91
91
|
]
|
|
92
92
|
]
|
|
93
93
|
},
|
|
94
|
-
"gitHead": "
|
|
94
|
+
"gitHead": "b7d86ad870c1460b05459e2dc4ca2a8b92c6d012"
|
|
95
95
|
}
|
|
@@ -151,7 +151,7 @@ export const SEED_DATA = [
|
|
|
151
151
|
category: COMPONENT_TYPES.input,
|
|
152
152
|
layout: null,
|
|
153
153
|
triggers: [Triggers.OnDateChange],
|
|
154
|
-
|
|
154
|
+
stylesPanelSections: [
|
|
155
155
|
StylesPanelSections.Typography,
|
|
156
156
|
StylesPanelSections.Background,
|
|
157
157
|
StylesPanelSections.Size,
|
|
@@ -165,7 +165,7 @@ export const SEED_DATA = [
|
|
|
165
165
|
category: COMPONENT_TYPES.input,
|
|
166
166
|
layout: null,
|
|
167
167
|
triggers: [Triggers.OnDateChange],
|
|
168
|
-
|
|
168
|
+
stylesPanelSections: [
|
|
169
169
|
StylesPanelSections.Typography,
|
|
170
170
|
StylesPanelSections.Background,
|
|
171
171
|
StylesPanelSections.Size,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { COMPONENT_TYPES, createNumColumnsType, createStaticBoolProp, createNumberProp, CONTAINER_COMPONENT_STYLES_SECTIONS, GROUPS, Triggers, createActionProp, createStaticNumberProp, } from "@draftbit/types";
|
|
1
|
+
import { COMPONENT_TYPES, createNumColumnsType, createStaticBoolProp, createNumberProp, CONTAINER_COMPONENT_STYLES_SECTIONS, GROUPS, Triggers, createActionProp, createStaticNumberProp, createColorProp, } from "@draftbit/types";
|
|
2
2
|
export const SEED_DATA = [
|
|
3
3
|
{
|
|
4
4
|
name: "Masonry List",
|
|
@@ -25,10 +25,6 @@ export const SEED_DATA = [
|
|
|
25
25
|
step: 1,
|
|
26
26
|
precision: 0,
|
|
27
27
|
}),
|
|
28
|
-
optimizeItemArrangement: createStaticBoolProp({
|
|
29
|
-
label: "Optimize Item Arrangement",
|
|
30
|
-
description: "If enabled, MasonryFlashList will try to reduce difference in column height by modifying item order. If true, specifying overrideItemLayout is required. Default value is false.",
|
|
31
|
-
}),
|
|
32
28
|
initialNumToRender: createStaticNumberProp({
|
|
33
29
|
label: "Initial Num To Render",
|
|
34
30
|
description: "How many items to render in the initial batch",
|
|
@@ -39,6 +35,10 @@ export const SEED_DATA = [
|
|
|
39
35
|
description: "How far from the end (in units of visible length of the list) the bottom edge of the list must be from the end of the content to trigger the onEndReached callback. Thus a value of 0.5 will trigger onEndReached when the end of the content is within half the visible length of the list.",
|
|
40
36
|
defaultValue: 0.5,
|
|
41
37
|
}),
|
|
38
|
+
refreshColor: createColorProp({
|
|
39
|
+
label: "Refreshing Color",
|
|
40
|
+
description: "Color of the refresh indicator",
|
|
41
|
+
}),
|
|
42
42
|
},
|
|
43
43
|
},
|
|
44
44
|
{
|
|
@@ -84,6 +84,10 @@ export const SEED_DATA = [
|
|
|
84
84
|
description: "How far from the end (in units of visible length of the list) the bottom edge of the list must be from the end of the content to trigger the onEndReached callback. Thus a value of 0.5 will trigger onEndReached when the end of the content is within half the visible length of the list.",
|
|
85
85
|
defaultValue: 0.5,
|
|
86
86
|
}),
|
|
87
|
+
refreshColor: createColorProp({
|
|
88
|
+
label: "Refreshing Color",
|
|
89
|
+
description: "Color of the refresh indicator",
|
|
90
|
+
}),
|
|
87
91
|
},
|
|
88
92
|
},
|
|
89
93
|
];
|
|
@@ -8,6 +8,7 @@ import {
|
|
|
8
8
|
Triggers,
|
|
9
9
|
createActionProp,
|
|
10
10
|
createStaticNumberProp,
|
|
11
|
+
createColorProp,
|
|
11
12
|
} from "@draftbit/types";
|
|
12
13
|
|
|
13
14
|
export const SEED_DATA = [
|
|
@@ -36,11 +37,6 @@ export const SEED_DATA = [
|
|
|
36
37
|
step: 1,
|
|
37
38
|
precision: 0,
|
|
38
39
|
}),
|
|
39
|
-
optimizeItemArrangement: createStaticBoolProp({
|
|
40
|
-
label: "Optimize Item Arrangement",
|
|
41
|
-
description:
|
|
42
|
-
"If enabled, MasonryFlashList will try to reduce difference in column height by modifying item order. If true, specifying overrideItemLayout is required. Default value is false.",
|
|
43
|
-
}),
|
|
44
40
|
initialNumToRender: createStaticNumberProp({
|
|
45
41
|
label: "Initial Num To Render",
|
|
46
42
|
description: "How many items to render in the initial batch",
|
|
@@ -52,6 +48,10 @@ export const SEED_DATA = [
|
|
|
52
48
|
"How far from the end (in units of visible length of the list) the bottom edge of the list must be from the end of the content to trigger the onEndReached callback. Thus a value of 0.5 will trigger onEndReached when the end of the content is within half the visible length of the list.",
|
|
53
49
|
defaultValue: 0.5,
|
|
54
50
|
}),
|
|
51
|
+
refreshColor: createColorProp({
|
|
52
|
+
label: "Refreshing Color",
|
|
53
|
+
description: "Color of the refresh indicator",
|
|
54
|
+
}),
|
|
55
55
|
},
|
|
56
56
|
},
|
|
57
57
|
{
|
|
@@ -98,6 +98,10 @@ export const SEED_DATA = [
|
|
|
98
98
|
"How far from the end (in units of visible length of the list) the bottom edge of the list must be from the end of the content to trigger the onEndReached callback. Thus a value of 0.5 will trigger onEndReached when the end of the content is within half the visible length of the list.",
|
|
99
99
|
defaultValue: 0.5,
|
|
100
100
|
}),
|
|
101
|
+
refreshColor: createColorProp({
|
|
102
|
+
label: "Refreshing Color",
|
|
103
|
+
description: "Color of the refresh indicator",
|
|
104
|
+
}),
|
|
101
105
|
},
|
|
102
106
|
},
|
|
103
107
|
];
|
package/src/mappings/FlatList.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { COMPONENT_TYPES, createNumColumnsType, createStaticBoolProp, CONTAINER_COMPONENT_STYLES_SECTIONS, Triggers, createActionProp, createStaticNumberProp, } from "@draftbit/types";
|
|
1
|
+
import { COMPONENT_TYPES, createNumColumnsType, createStaticBoolProp, CONTAINER_COMPONENT_STYLES_SECTIONS, Triggers, createActionProp, createStaticNumberProp, createColorProp, } from "@draftbit/types";
|
|
2
2
|
export const SEED_DATA = {
|
|
3
3
|
name: "List",
|
|
4
4
|
tag: "FlatList",
|
|
@@ -33,5 +33,9 @@ export const SEED_DATA = {
|
|
|
33
33
|
description: "How far from the end (in units of visible length of the list) the bottom edge of the list must be from the end of the content to trigger the onEndReached callback. Thus a value of 0.5 will trigger onEndReached when the end of the content is within half the visible length of the list.",
|
|
34
34
|
defaultValue: 0.5,
|
|
35
35
|
}),
|
|
36
|
+
refreshColor: createColorProp({
|
|
37
|
+
label: "Refreshing Color",
|
|
38
|
+
description: "Color of the refresh indicator",
|
|
39
|
+
}),
|
|
36
40
|
},
|
|
37
41
|
};
|
package/src/mappings/FlatList.ts
CHANGED
|
@@ -6,6 +6,7 @@ import {
|
|
|
6
6
|
Triggers,
|
|
7
7
|
createActionProp,
|
|
8
8
|
createStaticNumberProp,
|
|
9
|
+
createColorProp,
|
|
9
10
|
} from "@draftbit/types";
|
|
10
11
|
|
|
11
12
|
export const SEED_DATA = {
|
|
@@ -43,5 +44,9 @@ export const SEED_DATA = {
|
|
|
43
44
|
"How far from the end (in units of visible length of the list) the bottom edge of the list must be from the end of the content to trigger the onEndReached callback. Thus a value of 0.5 will trigger onEndReached when the end of the content is within half the visible length of the list.",
|
|
44
45
|
defaultValue: 0.5,
|
|
45
46
|
}),
|
|
47
|
+
refreshColor: createColorProp({
|
|
48
|
+
label: "Refreshing Color",
|
|
49
|
+
description: "Color of the refresh indicator",
|
|
50
|
+
}),
|
|
46
51
|
},
|
|
47
52
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { COMPONENT_TYPES, createStaticBoolProp, CONTAINER_COMPONENT_STYLES_SECTIONS, } from "@draftbit/types";
|
|
1
|
+
import { COMPONENT_TYPES, createStaticBoolProp, CONTAINER_COMPONENT_STYLES_SECTIONS, Triggers, createActionProp, createColorProp, } from "@draftbit/types";
|
|
2
2
|
export const SEED_DATA = {
|
|
3
3
|
name: "Scroll View",
|
|
4
4
|
tag: "ScrollView",
|
|
@@ -6,7 +6,9 @@ export const SEED_DATA = {
|
|
|
6
6
|
category: COMPONENT_TYPES.view,
|
|
7
7
|
stylesPanelSections: CONTAINER_COMPONENT_STYLES_SECTIONS,
|
|
8
8
|
layout: {},
|
|
9
|
+
triggers: [Triggers.OnRefresh],
|
|
9
10
|
props: {
|
|
11
|
+
onRefresh: createActionProp(),
|
|
10
12
|
horizontal: createStaticBoolProp({
|
|
11
13
|
label: "Horizontal",
|
|
12
14
|
description: "Render your list horizontally",
|
|
@@ -27,5 +29,9 @@ export const SEED_DATA = {
|
|
|
27
29
|
description: "When true, the scroll view bounces when it reaches the end of the content if the content is larger then the scroll view along the axis of the scroll direction.",
|
|
28
30
|
defaultValue: true,
|
|
29
31
|
}),
|
|
32
|
+
refreshColor: createColorProp({
|
|
33
|
+
label: "Refreshing Color",
|
|
34
|
+
description: "Color of the refresh indicator",
|
|
35
|
+
}),
|
|
30
36
|
},
|
|
31
37
|
};
|
|
@@ -2,6 +2,9 @@ import {
|
|
|
2
2
|
COMPONENT_TYPES,
|
|
3
3
|
createStaticBoolProp,
|
|
4
4
|
CONTAINER_COMPONENT_STYLES_SECTIONS,
|
|
5
|
+
Triggers,
|
|
6
|
+
createActionProp,
|
|
7
|
+
createColorProp,
|
|
5
8
|
} from "@draftbit/types";
|
|
6
9
|
|
|
7
10
|
export const SEED_DATA = {
|
|
@@ -11,7 +14,9 @@ export const SEED_DATA = {
|
|
|
11
14
|
category: COMPONENT_TYPES.view,
|
|
12
15
|
stylesPanelSections: CONTAINER_COMPONENT_STYLES_SECTIONS,
|
|
13
16
|
layout: {},
|
|
17
|
+
triggers: [Triggers.OnRefresh],
|
|
14
18
|
props: {
|
|
19
|
+
onRefresh: createActionProp(),
|
|
15
20
|
horizontal: createStaticBoolProp({
|
|
16
21
|
label: "Horizontal",
|
|
17
22
|
description: "Render your list horizontally",
|
|
@@ -35,5 +40,9 @@ export const SEED_DATA = {
|
|
|
35
40
|
"When true, the scroll view bounces when it reaches the end of the content if the content is larger then the scroll view along the axis of the scroll direction.",
|
|
36
41
|
defaultValue: true,
|
|
37
42
|
}),
|
|
43
|
+
refreshColor: createColorProp({
|
|
44
|
+
label: "Refreshing Color",
|
|
45
|
+
description: "Color of the refresh indicator",
|
|
46
|
+
}),
|
|
38
47
|
},
|
|
39
48
|
};
|
|
@@ -306,7 +306,7 @@ export const SEED_DATA = [
|
|
|
306
306
|
...SEED_DATA_PROPS,
|
|
307
307
|
type: {
|
|
308
308
|
label: "Appearance",
|
|
309
|
-
description: "Type of
|
|
309
|
+
description: "Type of Field",
|
|
310
310
|
formType: FORM_TYPES.flatArray,
|
|
311
311
|
propType: PROP_TYPES.STRING,
|
|
312
312
|
defaultValue: "solid",
|
|
@@ -357,7 +357,7 @@ export const SEED_DATA = [
|
|
|
357
357
|
...SEED_DATA_PROPS,
|
|
358
358
|
type: {
|
|
359
359
|
label: "Appearance",
|
|
360
|
-
description: "Type of
|
|
360
|
+
description: "Type of Field",
|
|
361
361
|
formType: FORM_TYPES.flatArray,
|
|
362
362
|
propType: PROP_TYPES.STRING,
|
|
363
363
|
defaultValue: "solid",
|
|
@@ -328,7 +328,7 @@ export const SEED_DATA = [
|
|
|
328
328
|
...SEED_DATA_PROPS,
|
|
329
329
|
type: {
|
|
330
330
|
label: "Appearance",
|
|
331
|
-
description: "Type of
|
|
331
|
+
description: "Type of Field",
|
|
332
332
|
formType: FORM_TYPES.flatArray,
|
|
333
333
|
propType: PROP_TYPES.STRING,
|
|
334
334
|
defaultValue: "solid",
|
|
@@ -380,7 +380,7 @@ export const SEED_DATA = [
|
|
|
380
380
|
...SEED_DATA_PROPS,
|
|
381
381
|
type: {
|
|
382
382
|
label: "Appearance",
|
|
383
|
-
description: "Type of
|
|
383
|
+
description: "Type of Field",
|
|
384
384
|
formType: FORM_TYPES.flatArray,
|
|
385
385
|
propType: PROP_TYPES.STRING,
|
|
386
386
|
defaultValue: "solid",
|