@draftbit/core 46.4.4-c18fe1.2 → 46.4.4-d55501.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/commonjs/components/CircleImage.js +1 -15
- package/lib/commonjs/components/Container.js +15 -4
- package/lib/commonjs/components/Picker/Picker.js +1 -1
- package/lib/commonjs/components/TabView/TabView.js +87 -0
- package/lib/commonjs/components/TabView/TabViewItem.js +24 -0
- package/lib/commonjs/components/TabView/index.js +20 -0
- package/lib/commonjs/constants.js +1 -1
- package/lib/commonjs/index.js +13 -7
- package/lib/commonjs/mappings/TabView.js +77 -0
- package/lib/module/components/TabView/TabView.js +79 -0
- package/lib/module/components/TabView/TabViewItem.js +17 -0
- package/lib/module/components/TabView/index.js +2 -0
- package/lib/module/index.js +1 -1
- package/lib/module/mappings/TabView.js +70 -0
- package/lib/typescript/src/components/TabView/TabView.d.ts +19 -0
- package/lib/typescript/src/components/TabView/TabViewItem.d.ts +10 -0
- package/lib/typescript/src/components/TabView/index.d.ts +2 -0
- package/lib/typescript/src/index.d.ts +1 -1
- package/lib/typescript/src/mappings/TabView.d.ts +111 -0
- package/package.json +6 -6
- package/src/components/TabView/TabView.js +34 -0
- package/src/components/TabView/TabView.tsx +97 -0
- package/src/components/TabView/TabViewItem.js +5 -0
- package/src/components/TabView/TabViewItem.tsx +21 -0
- package/src/components/TabView/index.js +2 -0
- package/src/components/TabView/index.tsx +2 -0
- package/src/index.js +1 -1
- package/src/index.tsx +1 -1
- package/src/mappings/TabView.js +73 -0
- package/src/mappings/TabView.ts +80 -0
- package/lib/commonjs/components/BottomSheet/BottomSheet.native.js +0 -58
- package/lib/commonjs/components/BottomSheet/BottomSheet.web.js +0 -83
- package/lib/commonjs/components/BottomSheet/index.js +0 -13
- package/lib/commonjs/components/BottomSheet/types.js +0 -5
- package/lib/commonjs/mappings/BottomSheet.js +0 -20
- package/lib/module/components/BottomSheet/BottomSheet.native.js +0 -49
- package/lib/module/components/BottomSheet/BottomSheet.web.js +0 -75
- package/lib/module/components/BottomSheet/index.js +0 -2
- package/lib/module/components/BottomSheet/types.js +0 -1
- package/lib/module/mappings/BottomSheet.js +0 -13
- package/lib/typescript/src/components/BottomSheet/BottomSheet.native.d.ts +0 -4
- package/lib/typescript/src/components/BottomSheet/BottomSheet.web.d.ts +0 -4
- package/lib/typescript/src/components/BottomSheet/index.d.ts +0 -1
- package/lib/typescript/src/components/BottomSheet/types.d.ts +0 -8
- package/lib/typescript/src/mappings/BottomSheet.d.ts +0 -19
- package/src/components/BottomSheet/BottomSheet.native.js +0 -37
- package/src/components/BottomSheet/BottomSheet.native.tsx +0 -60
- package/src/components/BottomSheet/BottomSheet.web.js +0 -56
- package/src/components/BottomSheet/BottomSheet.web.tsx +0 -90
- package/src/components/BottomSheet/index.js +0 -2
- package/src/components/BottomSheet/index.tsx +0 -2
- package/src/components/BottomSheet/types.js +0 -1
- package/src/components/BottomSheet/types.tsx +0 -8
- package/src/mappings/BottomSheet.js +0 -20
- package/src/mappings/BottomSheet.ts +0 -25
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { StyleSheet, View, Dimensions } from "react-native";
|
|
3
|
-
import ScrollBottomSheet from "react-native-scroll-bottom-sheet";
|
|
4
|
-
import { extractStyles } from "../../utilities";
|
|
5
|
-
const windowHeight = Dimensions.get("window").height;
|
|
6
|
-
const BottomSheetComponent = _ref => {
|
|
7
|
-
let {
|
|
8
|
-
style,
|
|
9
|
-
children,
|
|
10
|
-
step
|
|
11
|
-
} = _ref;
|
|
12
|
-
const {
|
|
13
|
-
viewStyles
|
|
14
|
-
} = extractStyles(style);
|
|
15
|
-
const bottomSheetRef = React.useRef();
|
|
16
|
-
const webStep = React.useMemo(() => step + 1, [step]);
|
|
17
|
-
const snapPoints = React.useMemo(() => ["25%", "50%", windowHeight - 200], []);
|
|
18
|
-
React.useEffect(() => {
|
|
19
|
-
var _bottomSheetRef$curre;
|
|
20
|
-
bottomSheetRef === null || bottomSheetRef === void 0 ? void 0 : (_bottomSheetRef$curre = bottomSheetRef.current) === null || _bottomSheetRef$curre === void 0 ? void 0 : _bottomSheetRef$curre.snapTo(snapPoints.length - webStep);
|
|
21
|
-
// bottomSheetRef.current.snapTo(step);
|
|
22
|
-
}, [webStep, step, snapPoints]);
|
|
23
|
-
if (step === -1) {
|
|
24
|
-
return /*#__PURE__*/React.createElement(React.Fragment, null);
|
|
25
|
-
}
|
|
26
|
-
return /*#__PURE__*/React.createElement(View, {
|
|
27
|
-
style: styles.container
|
|
28
|
-
}, /*#__PURE__*/React.createElement(ScrollBottomSheet, {
|
|
29
|
-
ref: bottomSheetRef,
|
|
30
|
-
componentType: "ScrollView",
|
|
31
|
-
snapPoints: snapPoints,
|
|
32
|
-
initialSnapIndex: 0,
|
|
33
|
-
renderHandle: () => /*#__PURE__*/React.createElement(View, {
|
|
34
|
-
style: styles.header
|
|
35
|
-
}, /*#__PURE__*/React.createElement(View, {
|
|
36
|
-
style: styles.panelHandle
|
|
37
|
-
})),
|
|
38
|
-
contentContainerStyle: styles.contentContainerStyle
|
|
39
|
-
}, /*#__PURE__*/React.createElement(View, {
|
|
40
|
-
style: {
|
|
41
|
-
...styles.container,
|
|
42
|
-
...viewStyles,
|
|
43
|
-
backgroundColor: webStep !== -1 ? "grey" : "transparent"
|
|
44
|
-
}
|
|
45
|
-
}, children)));
|
|
46
|
-
};
|
|
47
|
-
export default BottomSheetComponent;
|
|
48
|
-
const styles = StyleSheet.create({
|
|
49
|
-
container: {
|
|
50
|
-
flex: 1
|
|
51
|
-
},
|
|
52
|
-
contentContainerStyle: {
|
|
53
|
-
padding: 16
|
|
54
|
-
},
|
|
55
|
-
header: {
|
|
56
|
-
alignItems: "center",
|
|
57
|
-
backgroundColor: "white",
|
|
58
|
-
paddingVertical: 20,
|
|
59
|
-
borderTopLeftRadius: 20,
|
|
60
|
-
borderTopRightRadius: 20
|
|
61
|
-
},
|
|
62
|
-
panelHandle: {
|
|
63
|
-
width: 40,
|
|
64
|
-
height: 2,
|
|
65
|
-
backgroundColor: "rgba(0,0,0,0.3)",
|
|
66
|
-
borderRadius: 4
|
|
67
|
-
},
|
|
68
|
-
item: {
|
|
69
|
-
padding: 20,
|
|
70
|
-
justifyContent: "center",
|
|
71
|
-
backgroundColor: "white",
|
|
72
|
-
alignItems: "center",
|
|
73
|
-
marginVertical: 10
|
|
74
|
-
}
|
|
75
|
-
});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { COMPONENT_TYPES, createNumberProp, StylesPanelSections } from "@draftbit/types";
|
|
2
|
-
export const SEED_DATA = {
|
|
3
|
-
name: "Bottom Sheet",
|
|
4
|
-
tag: "BottomSheet",
|
|
5
|
-
category: COMPONENT_TYPES.container,
|
|
6
|
-
stylesPanelSections: [StylesPanelSections.Background, StylesPanelSections.Borders, StylesPanelSections.Size, StylesPanelSections.MarginsAndPaddings, StylesPanelSections.Position, StylesPanelSections.Effects],
|
|
7
|
-
props: {
|
|
8
|
-
step: createNumberProp({
|
|
9
|
-
label: "Step",
|
|
10
|
-
description: "Step can be -1, 0, 1, or 2."
|
|
11
|
-
})
|
|
12
|
-
}
|
|
13
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { default as BottomSheet } from "./BottomSheet";
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
export declare const SEED_DATA: {
|
|
2
|
-
name: string;
|
|
3
|
-
tag: string;
|
|
4
|
-
category: string;
|
|
5
|
-
stylesPanelSections: string[];
|
|
6
|
-
props: {
|
|
7
|
-
step: {
|
|
8
|
-
label: string;
|
|
9
|
-
description: string;
|
|
10
|
-
formType: string;
|
|
11
|
-
propType: string;
|
|
12
|
-
group: string;
|
|
13
|
-
defaultValue: null;
|
|
14
|
-
editable: boolean;
|
|
15
|
-
required: boolean;
|
|
16
|
-
step: number;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
};
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import React, { useCallback, useMemo, useRef } from "react";
|
|
2
|
-
import { View, StyleSheet } from "react-native";
|
|
3
|
-
import BottomSheet, { BottomSheetView } from "@gorhom/bottom-sheet";
|
|
4
|
-
import { extractStyles } from "../../utilities";
|
|
5
|
-
const BottomSheetComponent = ({ style, children, step, }) => {
|
|
6
|
-
const bottomSheetRef = useRef(null);
|
|
7
|
-
const { viewStyles } = extractStyles(style);
|
|
8
|
-
// variables
|
|
9
|
-
const snapPoints = useMemo(() => ["25%", "50%", "90%"], []);
|
|
10
|
-
// callbacks
|
|
11
|
-
const handleSheetChanges = useCallback((index) => {
|
|
12
|
-
console.log("handleSheetChanges", index);
|
|
13
|
-
}, []);
|
|
14
|
-
React.useEffect(() => {
|
|
15
|
-
var _a;
|
|
16
|
-
if (step === -1) {
|
|
17
|
-
(_a = bottomSheetRef === null || bottomSheetRef === void 0 ? void 0 : bottomSheetRef.current) === null || _a === void 0 ? void 0 : _a.close();
|
|
18
|
-
}
|
|
19
|
-
}, [step]);
|
|
20
|
-
return (React.createElement(View, { style: [
|
|
21
|
-
containerStyle.container,
|
|
22
|
-
viewStyles,
|
|
23
|
-
{ backgroundColor: step !== -1 ? "grey" : "transparent" },
|
|
24
|
-
] },
|
|
25
|
-
React.createElement(BottomSheet, { ref: bottomSheetRef, index: step, snapPoints: snapPoints, onChange: handleSheetChanges },
|
|
26
|
-
React.createElement(BottomSheetView, null, children))));
|
|
27
|
-
};
|
|
28
|
-
export default BottomSheetComponent;
|
|
29
|
-
const containerStyle = StyleSheet.create({
|
|
30
|
-
container: {
|
|
31
|
-
flex: 1,
|
|
32
|
-
},
|
|
33
|
-
contentContainer: {
|
|
34
|
-
flex: 1,
|
|
35
|
-
alignItems: "center",
|
|
36
|
-
},
|
|
37
|
-
});
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import React, { useCallback, useMemo, useRef } from "react";
|
|
2
|
-
import { View, StyleSheet } from "react-native";
|
|
3
|
-
import BottomSheet, { BottomSheetView } from "@gorhom/bottom-sheet";
|
|
4
|
-
|
|
5
|
-
import { extractStyles } from "../../utilities";
|
|
6
|
-
import { BottomSheetProps } from "./types";
|
|
7
|
-
|
|
8
|
-
const BottomSheetComponent: React.FC<BottomSheetProps> = ({
|
|
9
|
-
style,
|
|
10
|
-
children,
|
|
11
|
-
step,
|
|
12
|
-
}) => {
|
|
13
|
-
const bottomSheetRef = useRef<BottomSheet>(null);
|
|
14
|
-
const { viewStyles } = extractStyles(style);
|
|
15
|
-
|
|
16
|
-
// variables
|
|
17
|
-
const snapPoints = useMemo(() => ["25%", "50%", "90%"], []);
|
|
18
|
-
|
|
19
|
-
// callbacks
|
|
20
|
-
const handleSheetChanges = useCallback((index: number) => {
|
|
21
|
-
console.log("handleSheetChanges", index);
|
|
22
|
-
}, []);
|
|
23
|
-
|
|
24
|
-
React.useEffect(() => {
|
|
25
|
-
if (step === -1) {
|
|
26
|
-
bottomSheetRef?.current?.close();
|
|
27
|
-
}
|
|
28
|
-
}, [step]);
|
|
29
|
-
|
|
30
|
-
return (
|
|
31
|
-
<View
|
|
32
|
-
style={[
|
|
33
|
-
containerStyle.container,
|
|
34
|
-
viewStyles,
|
|
35
|
-
{ backgroundColor: step !== -1 ? "grey" : "transparent" },
|
|
36
|
-
]}
|
|
37
|
-
>
|
|
38
|
-
<BottomSheet
|
|
39
|
-
ref={bottomSheetRef}
|
|
40
|
-
index={step}
|
|
41
|
-
snapPoints={snapPoints}
|
|
42
|
-
onChange={handleSheetChanges}
|
|
43
|
-
>
|
|
44
|
-
<BottomSheetView>{children}</BottomSheetView>
|
|
45
|
-
</BottomSheet>
|
|
46
|
-
</View>
|
|
47
|
-
);
|
|
48
|
-
};
|
|
49
|
-
|
|
50
|
-
export default BottomSheetComponent;
|
|
51
|
-
|
|
52
|
-
const containerStyle = StyleSheet.create({
|
|
53
|
-
container: {
|
|
54
|
-
flex: 1,
|
|
55
|
-
},
|
|
56
|
-
contentContainer: {
|
|
57
|
-
flex: 1,
|
|
58
|
-
alignItems: "center",
|
|
59
|
-
},
|
|
60
|
-
});
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { StyleSheet, View, Dimensions } from "react-native";
|
|
3
|
-
import ScrollBottomSheet from "react-native-scroll-bottom-sheet";
|
|
4
|
-
import { extractStyles } from "../../utilities";
|
|
5
|
-
const windowHeight = Dimensions.get("window").height;
|
|
6
|
-
const BottomSheetComponent = ({ style, children, step, }) => {
|
|
7
|
-
const { viewStyles } = extractStyles(style);
|
|
8
|
-
const bottomSheetRef = React.useRef();
|
|
9
|
-
const webStep = React.useMemo(() => step + 1, [step]);
|
|
10
|
-
const snapPoints = React.useMemo(() => ["25%", "50%", windowHeight - 200], []);
|
|
11
|
-
React.useEffect(() => {
|
|
12
|
-
var _a;
|
|
13
|
-
(_a = bottomSheetRef === null || bottomSheetRef === void 0 ? void 0 : bottomSheetRef.current) === null || _a === void 0 ? void 0 : _a.snapTo(snapPoints.length - webStep);
|
|
14
|
-
// bottomSheetRef.current.snapTo(step);
|
|
15
|
-
}, [webStep, step, snapPoints]);
|
|
16
|
-
if (step === -1) {
|
|
17
|
-
return React.createElement(React.Fragment, null);
|
|
18
|
-
}
|
|
19
|
-
return (React.createElement(View, { style: styles.container },
|
|
20
|
-
React.createElement(ScrollBottomSheet, { ref: bottomSheetRef, componentType: "ScrollView", snapPoints: snapPoints, initialSnapIndex: 0, renderHandle: () => (React.createElement(View, { style: styles.header },
|
|
21
|
-
React.createElement(View, { style: styles.panelHandle }))), contentContainerStyle: styles.contentContainerStyle },
|
|
22
|
-
React.createElement(View, { style: {
|
|
23
|
-
...styles.container,
|
|
24
|
-
...viewStyles,
|
|
25
|
-
backgroundColor: webStep !== -1 ? "grey" : "transparent",
|
|
26
|
-
} }, children))));
|
|
27
|
-
};
|
|
28
|
-
export default BottomSheetComponent;
|
|
29
|
-
const styles = StyleSheet.create({
|
|
30
|
-
container: {
|
|
31
|
-
flex: 1,
|
|
32
|
-
},
|
|
33
|
-
contentContainerStyle: {
|
|
34
|
-
padding: 16,
|
|
35
|
-
},
|
|
36
|
-
header: {
|
|
37
|
-
alignItems: "center",
|
|
38
|
-
backgroundColor: "white",
|
|
39
|
-
paddingVertical: 20,
|
|
40
|
-
borderTopLeftRadius: 20,
|
|
41
|
-
borderTopRightRadius: 20,
|
|
42
|
-
},
|
|
43
|
-
panelHandle: {
|
|
44
|
-
width: 40,
|
|
45
|
-
height: 2,
|
|
46
|
-
backgroundColor: "rgba(0,0,0,0.3)",
|
|
47
|
-
borderRadius: 4,
|
|
48
|
-
},
|
|
49
|
-
item: {
|
|
50
|
-
padding: 20,
|
|
51
|
-
justifyContent: "center",
|
|
52
|
-
backgroundColor: "white",
|
|
53
|
-
alignItems: "center",
|
|
54
|
-
marginVertical: 10,
|
|
55
|
-
},
|
|
56
|
-
});
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { StyleSheet, View, Dimensions } from "react-native";
|
|
3
|
-
import ScrollBottomSheet from "react-native-scroll-bottom-sheet";
|
|
4
|
-
|
|
5
|
-
import { extractStyles } from "../../utilities";
|
|
6
|
-
import { BottomSheetProps } from "./types";
|
|
7
|
-
|
|
8
|
-
const windowHeight = Dimensions.get("window").height;
|
|
9
|
-
|
|
10
|
-
const BottomSheetComponent: React.FC<BottomSheetProps> = ({
|
|
11
|
-
style,
|
|
12
|
-
children,
|
|
13
|
-
step,
|
|
14
|
-
}) => {
|
|
15
|
-
const { viewStyles } = extractStyles(style);
|
|
16
|
-
const bottomSheetRef = React.useRef<any>();
|
|
17
|
-
|
|
18
|
-
const webStep = React.useMemo(() => step + 1, [step]);
|
|
19
|
-
const snapPoints = React.useMemo(
|
|
20
|
-
() => ["25%", "50%", windowHeight - 200],
|
|
21
|
-
[]
|
|
22
|
-
);
|
|
23
|
-
|
|
24
|
-
React.useEffect(() => {
|
|
25
|
-
bottomSheetRef?.current?.snapTo(snapPoints.length - webStep);
|
|
26
|
-
// bottomSheetRef.current.snapTo(step);
|
|
27
|
-
}, [webStep, step, snapPoints]);
|
|
28
|
-
|
|
29
|
-
if (step === -1) {
|
|
30
|
-
return <></>;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
return (
|
|
34
|
-
<View style={styles.container}>
|
|
35
|
-
<ScrollBottomSheet
|
|
36
|
-
ref={bottomSheetRef}
|
|
37
|
-
componentType="ScrollView"
|
|
38
|
-
snapPoints={snapPoints}
|
|
39
|
-
initialSnapIndex={0}
|
|
40
|
-
renderHandle={() => (
|
|
41
|
-
<View style={styles.header}>
|
|
42
|
-
<View style={styles.panelHandle} />
|
|
43
|
-
</View>
|
|
44
|
-
)}
|
|
45
|
-
contentContainerStyle={styles.contentContainerStyle}
|
|
46
|
-
>
|
|
47
|
-
<View
|
|
48
|
-
style={{
|
|
49
|
-
...styles.container,
|
|
50
|
-
...viewStyles,
|
|
51
|
-
backgroundColor: webStep !== -1 ? "grey" : "transparent",
|
|
52
|
-
}}
|
|
53
|
-
>
|
|
54
|
-
{children}
|
|
55
|
-
</View>
|
|
56
|
-
</ScrollBottomSheet>
|
|
57
|
-
</View>
|
|
58
|
-
);
|
|
59
|
-
};
|
|
60
|
-
|
|
61
|
-
export default BottomSheetComponent;
|
|
62
|
-
|
|
63
|
-
const styles = StyleSheet.create({
|
|
64
|
-
container: {
|
|
65
|
-
flex: 1,
|
|
66
|
-
},
|
|
67
|
-
contentContainerStyle: {
|
|
68
|
-
padding: 16,
|
|
69
|
-
},
|
|
70
|
-
header: {
|
|
71
|
-
alignItems: "center",
|
|
72
|
-
backgroundColor: "white",
|
|
73
|
-
paddingVertical: 20,
|
|
74
|
-
borderTopLeftRadius: 20,
|
|
75
|
-
borderTopRightRadius: 20,
|
|
76
|
-
},
|
|
77
|
-
panelHandle: {
|
|
78
|
-
width: 40,
|
|
79
|
-
height: 2,
|
|
80
|
-
backgroundColor: "rgba(0,0,0,0.3)",
|
|
81
|
-
borderRadius: 4,
|
|
82
|
-
},
|
|
83
|
-
item: {
|
|
84
|
-
padding: 20,
|
|
85
|
-
justifyContent: "center",
|
|
86
|
-
backgroundColor: "white",
|
|
87
|
-
alignItems: "center",
|
|
88
|
-
marginVertical: 10,
|
|
89
|
-
},
|
|
90
|
-
});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { COMPONENT_TYPES, createNumberProp, StylesPanelSections, } from "@draftbit/types";
|
|
2
|
-
export const SEED_DATA = {
|
|
3
|
-
name: "Bottom Sheet",
|
|
4
|
-
tag: "BottomSheet",
|
|
5
|
-
category: COMPONENT_TYPES.container,
|
|
6
|
-
stylesPanelSections: [
|
|
7
|
-
StylesPanelSections.Background,
|
|
8
|
-
StylesPanelSections.Borders,
|
|
9
|
-
StylesPanelSections.Size,
|
|
10
|
-
StylesPanelSections.MarginsAndPaddings,
|
|
11
|
-
StylesPanelSections.Position,
|
|
12
|
-
StylesPanelSections.Effects,
|
|
13
|
-
],
|
|
14
|
-
props: {
|
|
15
|
-
step: createNumberProp({
|
|
16
|
-
label: "Step",
|
|
17
|
-
description: "Step can be -1, 0, 1, or 2.",
|
|
18
|
-
}),
|
|
19
|
-
},
|
|
20
|
-
};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
COMPONENT_TYPES,
|
|
3
|
-
createNumberProp,
|
|
4
|
-
StylesPanelSections,
|
|
5
|
-
} from "@draftbit/types";
|
|
6
|
-
|
|
7
|
-
export const SEED_DATA = {
|
|
8
|
-
name: "Bottom Sheet",
|
|
9
|
-
tag: "BottomSheet",
|
|
10
|
-
category: COMPONENT_TYPES.container,
|
|
11
|
-
stylesPanelSections: [
|
|
12
|
-
StylesPanelSections.Background,
|
|
13
|
-
StylesPanelSections.Borders,
|
|
14
|
-
StylesPanelSections.Size,
|
|
15
|
-
StylesPanelSections.MarginsAndPaddings,
|
|
16
|
-
StylesPanelSections.Position,
|
|
17
|
-
StylesPanelSections.Effects,
|
|
18
|
-
],
|
|
19
|
-
props: {
|
|
20
|
-
step: createNumberProp({
|
|
21
|
-
label: "Step",
|
|
22
|
-
description: "Step can be -1, 0, 1, or 2.",
|
|
23
|
-
}),
|
|
24
|
-
},
|
|
25
|
-
};
|