@draftbit/core 46.11.3-32e91b.2 → 46.12.1-07ad46.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/ActionSheet/index.js.map +1 -1
- package/lib/commonjs/components/AspectRatio.js +16 -2
- package/lib/commonjs/components/AspectRatio.js.map +1 -1
- package/lib/commonjs/components/AvatarEdit.js +15 -4
- package/lib/commonjs/components/AvatarEdit.js.map +1 -1
- package/lib/commonjs/components/Banner.js +23 -4
- package/lib/commonjs/components/Banner.js.map +1 -1
- package/lib/commonjs/components/BottomSheet/BottomSheetComponent.js +120 -73
- package/lib/commonjs/components/BottomSheet/BottomSheetComponent.js.map +1 -1
- package/lib/commonjs/components/Button.js +32 -10
- package/lib/commonjs/components/Button.js.map +1 -1
- package/lib/commonjs/components/Card.js.map +1 -1
- package/lib/commonjs/components/Checkbox/CheckboxGroupRow.js +5 -22
- package/lib/commonjs/components/Checkbox/CheckboxGroupRow.js.map +1 -1
- package/lib/commonjs/components/Checkbox/CheckboxRow.js +23 -6
- package/lib/commonjs/components/Checkbox/CheckboxRow.js.map +1 -1
- package/lib/commonjs/components/Checkbox/index.js.map +1 -1
- package/lib/commonjs/components/Container.js +15 -4
- package/lib/commonjs/components/Container.js.map +1 -1
- package/lib/commonjs/components/DatePicker/DatePickerComponent.web.js.map +1 -1
- package/lib/commonjs/components/DatePicker/DatePickerComponentType.js.map +1 -1
- package/lib/commonjs/components/DeckSwiper/DeckSwiperCard.js.map +1 -1
- package/lib/commonjs/components/DeckSwiper/index.js.map +1 -1
- package/lib/commonjs/components/Divider.js +12 -1
- package/lib/commonjs/components/Divider.js.map +1 -1
- package/lib/commonjs/components/Elevation.js +13 -2
- package/lib/commonjs/components/Elevation.js.map +1 -1
- package/lib/commonjs/components/FAB.js +19 -4
- package/lib/commonjs/components/FAB.js.map +1 -1
- package/lib/commonjs/components/FieldSearchBarFull.js +1 -2
- package/lib/commonjs/components/FieldSearchBarFull.js.map +1 -1
- package/lib/commonjs/components/FormRow.js +17 -3
- package/lib/commonjs/components/FormRow.js.map +1 -1
- package/lib/commonjs/components/Image.js +16 -2
- package/lib/commonjs/components/Image.js.map +1 -1
- package/lib/commonjs/components/Justification.js +2 -1
- package/lib/commonjs/components/Justification.js.map +1 -1
- package/lib/commonjs/components/Layout.js +39 -19
- package/lib/commonjs/components/Layout.js.map +1 -1
- package/lib/commonjs/components/Markdown.js.map +1 -1
- package/lib/commonjs/components/NumberInput.js +11 -3
- package/lib/commonjs/components/NumberInput.js.map +1 -1
- package/lib/commonjs/components/Picker/PickerTypes.js.map +1 -1
- package/lib/commonjs/components/Portal/PortalConsumer.js +1 -2
- package/lib/commonjs/components/Portal/PortalConsumer.js.map +1 -1
- package/lib/commonjs/components/Portal/PortalHost.js +43 -14
- package/lib/commonjs/components/Portal/PortalHost.js.map +1 -1
- package/lib/commonjs/components/Portal/PortalManager.js +34 -8
- package/lib/commonjs/components/Portal/PortalManager.js.map +1 -1
- package/lib/commonjs/components/Pressable.js +15 -2
- package/lib/commonjs/components/Pressable.js.map +1 -1
- package/lib/commonjs/components/ProgressBar.js +36 -7
- package/lib/commonjs/components/ProgressBar.js.map +1 -1
- package/lib/commonjs/components/ProgressIndicator.js.map +1 -1
- package/lib/commonjs/components/RadioButton/RadioButton.js +14 -2
- package/lib/commonjs/components/RadioButton/RadioButton.js.map +1 -1
- package/lib/commonjs/components/RadioButton/RadioButtonFieldGroup.js +10 -1
- package/lib/commonjs/components/RadioButton/RadioButtonFieldGroup.js.map +1 -1
- package/lib/commonjs/components/RadioButton/RadioButtonGroup.js +16 -4
- package/lib/commonjs/components/RadioButton/RadioButtonGroup.js.map +1 -1
- package/lib/commonjs/components/RadioButton/RadioButtonRow.js +23 -5
- package/lib/commonjs/components/RadioButton/RadioButtonRow.js.map +1 -1
- package/lib/commonjs/components/ResizeMode.js +2 -1
- package/lib/commonjs/components/ResizeMode.js.map +1 -1
- package/lib/commonjs/components/Row.js.map +1 -1
- package/lib/commonjs/components/RowBodyIcon.js.map +1 -1
- package/lib/commonjs/components/RowHeadlineImageIcon.js.map +1 -1
- package/lib/commonjs/components/SVG.js.map +1 -1
- package/lib/commonjs/components/ScreenContainer.js +23 -6
- package/lib/commonjs/components/ScreenContainer.js.map +1 -1
- package/lib/commonjs/components/Slider.js +21 -4
- package/lib/commonjs/components/Slider.js.map +1 -1
- package/lib/commonjs/components/StarRating.js +22 -4
- package/lib/commonjs/components/StarRating.js.map +1 -1
- package/lib/commonjs/components/StepIndicator.js +57 -18
- package/lib/commonjs/components/StepIndicator.js.map +1 -1
- package/lib/commonjs/components/Swiper/Swiper.js.map +1 -1
- package/lib/commonjs/components/Swiper/SwiperItem.js.map +1 -1
- package/lib/commonjs/components/Switch.js +19 -10
- package/lib/commonjs/components/Switch.js.map +1 -1
- package/lib/commonjs/components/TabView/TabView.js +14 -7
- package/lib/commonjs/components/TabView/TabView.js.map +1 -1
- package/lib/commonjs/components/TabView/TabViewItem.js.map +1 -1
- package/lib/commonjs/components/Table/Table.js +6 -5
- package/lib/commonjs/components/Table/Table.js.map +1 -1
- package/lib/commonjs/components/Table/TableCommon.js.map +1 -1
- package/lib/commonjs/components/Table/TableRow.js +1 -2
- package/lib/commonjs/components/Table/TableRow.js.map +1 -1
- package/lib/commonjs/components/Text.js +50 -4
- package/lib/commonjs/components/Text.js.map +1 -1
- package/lib/commonjs/components/TextField.js +76 -28
- package/lib/commonjs/components/TextField.js.map +1 -1
- package/lib/commonjs/components/ToggleButton.js +14 -2
- package/lib/commonjs/components/ToggleButton.js.map +1 -1
- package/lib/commonjs/components/Touchable.js +15 -2
- package/lib/commonjs/components/Touchable.js.map +1 -1
- package/lib/commonjs/components/Touchable.web.js.map +1 -1
- package/lib/commonjs/components/Typography.js.map +1 -1
- package/lib/commonjs/components/YoutubePlayer/YoutubePlayer.native.js.map +1 -1
- package/lib/commonjs/components/YoutubePlayer/YoutubePlayerProps.js.map +1 -1
- package/lib/commonjs/components/useAuthState.js.map +1 -1
- package/lib/commonjs/mappings/Layout.js +4 -4
- package/lib/commonjs/mappings/Layout.js.map +1 -1
- package/lib/commonjs/mappings/Picker.js.map +1 -1
- package/lib/module/mappings/Layout.js +4 -4
- package/lib/module/mappings/Layout.js.map +1 -1
- package/lib/module/mappings/SwiperItem.js.map +1 -1
- package/package.json +3 -3
- package/src/mappings/Layout.js +4 -4
- package/src/mappings/Layout.ts +4 -4
- package/lib/commonjs/mappings/NativeBase/Layout.js +0 -97
- package/lib/commonjs/mappings/NativeBase/Layout.js.map +0 -1
- package/lib/module/mappings/NativeBase/Layout.js +0 -90
- package/lib/module/mappings/NativeBase/Layout.js.map +0 -1
- package/lib/typescript/src/mappings/NativeBase/Layout.d.ts +0 -107
- package/lib/typescript/src/mappings/NativeBase/Layout.d.ts.map +0 -1
- package/src/mappings/NativeBase/Layout.js +0 -111
- package/src/mappings/NativeBase/Layout.ts +0 -130
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
export declare const SEED_DATA: ({
|
|
2
|
-
props: {
|
|
3
|
-
ratio: {
|
|
4
|
-
label: string;
|
|
5
|
-
description: string;
|
|
6
|
-
formType: string;
|
|
7
|
-
propType: string;
|
|
8
|
-
group: string;
|
|
9
|
-
defaultValue: null;
|
|
10
|
-
editable: boolean;
|
|
11
|
-
required: boolean;
|
|
12
|
-
step: number;
|
|
13
|
-
};
|
|
14
|
-
isDisabled?: undefined;
|
|
15
|
-
isInvalid?: undefined;
|
|
16
|
-
reversed?: undefined;
|
|
17
|
-
};
|
|
18
|
-
stylesPanelSections: string[];
|
|
19
|
-
category: string;
|
|
20
|
-
packageName: string;
|
|
21
|
-
name: string;
|
|
22
|
-
tag: string;
|
|
23
|
-
description: string;
|
|
24
|
-
} | {
|
|
25
|
-
category: string;
|
|
26
|
-
packageName: string;
|
|
27
|
-
stylesPanelSections: string[];
|
|
28
|
-
name: string;
|
|
29
|
-
tag: string;
|
|
30
|
-
description: string;
|
|
31
|
-
} | {
|
|
32
|
-
category: string;
|
|
33
|
-
packageName: string;
|
|
34
|
-
stylesPanelSections: string[];
|
|
35
|
-
name: string;
|
|
36
|
-
tag: string;
|
|
37
|
-
description: string;
|
|
38
|
-
layout: {
|
|
39
|
-
flexDirection: string;
|
|
40
|
-
flex?: undefined;
|
|
41
|
-
};
|
|
42
|
-
} | {
|
|
43
|
-
stylesPanelSections: string[];
|
|
44
|
-
category: string;
|
|
45
|
-
packageName: string;
|
|
46
|
-
name: string;
|
|
47
|
-
tag: string;
|
|
48
|
-
description: string;
|
|
49
|
-
layout: {
|
|
50
|
-
flex: number;
|
|
51
|
-
flexDirection?: undefined;
|
|
52
|
-
};
|
|
53
|
-
} | {
|
|
54
|
-
props: {
|
|
55
|
-
isDisabled: {
|
|
56
|
-
label: string;
|
|
57
|
-
description: string;
|
|
58
|
-
formType: string;
|
|
59
|
-
propType: string;
|
|
60
|
-
defaultValue: boolean;
|
|
61
|
-
editable: boolean;
|
|
62
|
-
required: boolean;
|
|
63
|
-
group: string;
|
|
64
|
-
};
|
|
65
|
-
isInvalid: {
|
|
66
|
-
label: string;
|
|
67
|
-
description: string;
|
|
68
|
-
formType: string;
|
|
69
|
-
propType: string;
|
|
70
|
-
defaultValue: boolean;
|
|
71
|
-
editable: boolean;
|
|
72
|
-
required: boolean;
|
|
73
|
-
group: string;
|
|
74
|
-
};
|
|
75
|
-
ratio?: undefined;
|
|
76
|
-
reversed?: undefined;
|
|
77
|
-
};
|
|
78
|
-
category: string;
|
|
79
|
-
packageName: string;
|
|
80
|
-
stylesPanelSections: string[];
|
|
81
|
-
name: string;
|
|
82
|
-
tag: string;
|
|
83
|
-
description: string;
|
|
84
|
-
} | {
|
|
85
|
-
props: {
|
|
86
|
-
reversed: {
|
|
87
|
-
label: string;
|
|
88
|
-
description: string;
|
|
89
|
-
formType: string;
|
|
90
|
-
propType: string;
|
|
91
|
-
defaultValue: boolean;
|
|
92
|
-
editable: boolean;
|
|
93
|
-
required: boolean;
|
|
94
|
-
group: string;
|
|
95
|
-
};
|
|
96
|
-
ratio?: undefined;
|
|
97
|
-
isDisabled?: undefined;
|
|
98
|
-
isInvalid?: undefined;
|
|
99
|
-
};
|
|
100
|
-
category: string;
|
|
101
|
-
packageName: string;
|
|
102
|
-
stylesPanelSections: string[];
|
|
103
|
-
name: string;
|
|
104
|
-
tag: string;
|
|
105
|
-
description: string;
|
|
106
|
-
})[];
|
|
107
|
-
//# sourceMappingURL=Layout.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Layout.d.ts","sourceRoot":"","sources":["../../../../../src/mappings/NativeBase/Layout.ts"],"names":[],"mappings":"AAqBA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA4GrB,CAAC"}
|
|
@@ -1,111 +0,0 @@
|
|
|
1
|
-
import { COMPONENT_TYPES, createBoolProp, CONTAINER_COMPONENT_STYLES_SECTIONS, createStaticNumberProp, StylesPanelSections, } from "@draftbit/types";
|
|
2
|
-
const SHARED_SEED_DATA = {
|
|
3
|
-
category: COMPONENT_TYPES.testing /*.layout*/,
|
|
4
|
-
packageName: "native-base",
|
|
5
|
-
stylesPanelSections: CONTAINER_COMPONENT_STYLES_SECTIONS,
|
|
6
|
-
};
|
|
7
|
-
const CONTAINER_COMPONENT_STYLES_WITHOUT_FLEX = CONTAINER_COMPONENT_STYLES_SECTIONS.filter((item) => item !== StylesPanelSections.LayoutFlexItems &&
|
|
8
|
-
item !== StylesPanelSections.LayoutContent);
|
|
9
|
-
export const SEED_DATA = [
|
|
10
|
-
{
|
|
11
|
-
name: "Aspect Ratio",
|
|
12
|
-
tag: "AspectRatio",
|
|
13
|
-
description: "Controls the size of the undefined dimension of a node or child component using an aspect ratio",
|
|
14
|
-
...SHARED_SEED_DATA,
|
|
15
|
-
props: {
|
|
16
|
-
ratio: createStaticNumberProp({
|
|
17
|
-
label: "Ratio",
|
|
18
|
-
description: "The aspect ratio of the container in decimal format (ex: 3/4 -> 1.33)",
|
|
19
|
-
defaultValue: 1.33,
|
|
20
|
-
}),
|
|
21
|
-
},
|
|
22
|
-
stylesPanelSections: [
|
|
23
|
-
StylesPanelSections.Background,
|
|
24
|
-
StylesPanelSections.Size,
|
|
25
|
-
StylesPanelSections.Margins,
|
|
26
|
-
StylesPanelSections.Position,
|
|
27
|
-
StylesPanelSections.Borders,
|
|
28
|
-
StylesPanelSections.Effects,
|
|
29
|
-
],
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
name: "Box",
|
|
33
|
-
tag: "Box",
|
|
34
|
-
description: "This is a generic component for low level layout needs. It is similar to a div in HTML",
|
|
35
|
-
...SHARED_SEED_DATA,
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
name: "Center",
|
|
39
|
-
tag: "Center",
|
|
40
|
-
description: "Center aligns its contents to the center within itself",
|
|
41
|
-
...SHARED_SEED_DATA,
|
|
42
|
-
stylesPanelSections: CONTAINER_COMPONENT_STYLES_WITHOUT_FLEX,
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
name: "Circle",
|
|
46
|
-
tag: "Circle",
|
|
47
|
-
description: "Center aligns its contents to the center within itself with a round border radius",
|
|
48
|
-
...SHARED_SEED_DATA,
|
|
49
|
-
stylesPanelSections: CONTAINER_COMPONENT_STYLES_WITHOUT_FLEX,
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
name: "Column",
|
|
53
|
-
tag: "Column",
|
|
54
|
-
description: "Column aligns items vertically",
|
|
55
|
-
layout: {
|
|
56
|
-
flexDirection: "column",
|
|
57
|
-
},
|
|
58
|
-
...SHARED_SEED_DATA,
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
name: "Row",
|
|
62
|
-
tag: "Row",
|
|
63
|
-
description: "Column aligns items horizontally",
|
|
64
|
-
layout: {
|
|
65
|
-
flexDirection: "row",
|
|
66
|
-
},
|
|
67
|
-
...SHARED_SEED_DATA,
|
|
68
|
-
},
|
|
69
|
-
{
|
|
70
|
-
name: "Spacer",
|
|
71
|
-
tag: "Spacer",
|
|
72
|
-
description: "An adjustable, empty space that can be used to tune the spacing between child elements within Flex",
|
|
73
|
-
layout: {
|
|
74
|
-
flex: 1,
|
|
75
|
-
},
|
|
76
|
-
...SHARED_SEED_DATA,
|
|
77
|
-
stylesPanelSections: [
|
|
78
|
-
StylesPanelSections.LayoutSelectedItem,
|
|
79
|
-
StylesPanelSections.Background,
|
|
80
|
-
StylesPanelSections.Margins,
|
|
81
|
-
],
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
name: "Stack",
|
|
85
|
-
tag: "Stack",
|
|
86
|
-
description: "Stack aligns items vertically or horizontally based on the direction prop",
|
|
87
|
-
...SHARED_SEED_DATA,
|
|
88
|
-
props: {
|
|
89
|
-
isDisabled: createBoolProp({
|
|
90
|
-
label: "Disabled",
|
|
91
|
-
description: "If true, the Stack will be disabled",
|
|
92
|
-
}),
|
|
93
|
-
isInvalid: createBoolProp({
|
|
94
|
-
label: "Invalid",
|
|
95
|
-
description: "If true, the Stack will be invalid",
|
|
96
|
-
}),
|
|
97
|
-
},
|
|
98
|
-
},
|
|
99
|
-
{
|
|
100
|
-
name: "ZStack",
|
|
101
|
-
tag: "ZStack",
|
|
102
|
-
description: "ZStack aligns items to the z-axis",
|
|
103
|
-
...SHARED_SEED_DATA,
|
|
104
|
-
props: {
|
|
105
|
-
reversed: createBoolProp({
|
|
106
|
-
label: "Reversed",
|
|
107
|
-
description: "Determines whether to reverse the direction of items",
|
|
108
|
-
}),
|
|
109
|
-
},
|
|
110
|
-
},
|
|
111
|
-
];
|
|
@@ -1,130 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
COMPONENT_TYPES,
|
|
3
|
-
createBoolProp,
|
|
4
|
-
CONTAINER_COMPONENT_STYLES_SECTIONS,
|
|
5
|
-
createStaticNumberProp,
|
|
6
|
-
StylesPanelSections,
|
|
7
|
-
} from "@draftbit/types";
|
|
8
|
-
|
|
9
|
-
const SHARED_SEED_DATA = {
|
|
10
|
-
category: COMPONENT_TYPES.testing /*.layout*/,
|
|
11
|
-
packageName: "native-base",
|
|
12
|
-
stylesPanelSections: CONTAINER_COMPONENT_STYLES_SECTIONS,
|
|
13
|
-
};
|
|
14
|
-
|
|
15
|
-
const CONTAINER_COMPONENT_STYLES_WITHOUT_FLEX =
|
|
16
|
-
CONTAINER_COMPONENT_STYLES_SECTIONS.filter(
|
|
17
|
-
(item) =>
|
|
18
|
-
item !== StylesPanelSections.LayoutFlexItems &&
|
|
19
|
-
item !== StylesPanelSections.LayoutContent
|
|
20
|
-
);
|
|
21
|
-
|
|
22
|
-
export const SEED_DATA = [
|
|
23
|
-
{
|
|
24
|
-
name: "Aspect Ratio",
|
|
25
|
-
tag: "AspectRatio",
|
|
26
|
-
description:
|
|
27
|
-
"Controls the size of the undefined dimension of a node or child component using an aspect ratio",
|
|
28
|
-
...SHARED_SEED_DATA,
|
|
29
|
-
props: {
|
|
30
|
-
ratio: createStaticNumberProp({
|
|
31
|
-
label: "Ratio",
|
|
32
|
-
description:
|
|
33
|
-
"The aspect ratio of the container in decimal format (ex: 3/4 -> 1.33)",
|
|
34
|
-
defaultValue: 1.33,
|
|
35
|
-
}),
|
|
36
|
-
},
|
|
37
|
-
stylesPanelSections: [
|
|
38
|
-
StylesPanelSections.Background,
|
|
39
|
-
StylesPanelSections.Size,
|
|
40
|
-
StylesPanelSections.Margins,
|
|
41
|
-
StylesPanelSections.Position,
|
|
42
|
-
StylesPanelSections.Borders,
|
|
43
|
-
StylesPanelSections.Effects,
|
|
44
|
-
],
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
name: "Box",
|
|
48
|
-
tag: "Box",
|
|
49
|
-
description:
|
|
50
|
-
"This is a generic component for low level layout needs. It is similar to a div in HTML",
|
|
51
|
-
...SHARED_SEED_DATA,
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
name: "Center",
|
|
55
|
-
tag: "Center",
|
|
56
|
-
description: "Center aligns its contents to the center within itself",
|
|
57
|
-
...SHARED_SEED_DATA,
|
|
58
|
-
stylesPanelSections: CONTAINER_COMPONENT_STYLES_WITHOUT_FLEX,
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
name: "Circle",
|
|
62
|
-
tag: "Circle",
|
|
63
|
-
description:
|
|
64
|
-
"Center aligns its contents to the center within itself with a round border radius",
|
|
65
|
-
...SHARED_SEED_DATA,
|
|
66
|
-
stylesPanelSections: CONTAINER_COMPONENT_STYLES_WITHOUT_FLEX,
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
name: "Column",
|
|
70
|
-
tag: "Column",
|
|
71
|
-
description: "Column aligns items vertically",
|
|
72
|
-
layout: {
|
|
73
|
-
flexDirection: "column",
|
|
74
|
-
},
|
|
75
|
-
...SHARED_SEED_DATA,
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
name: "Row",
|
|
79
|
-
tag: "Row",
|
|
80
|
-
description: "Column aligns items horizontally",
|
|
81
|
-
layout: {
|
|
82
|
-
flexDirection: "row",
|
|
83
|
-
},
|
|
84
|
-
...SHARED_SEED_DATA,
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
name: "Spacer",
|
|
88
|
-
tag: "Spacer",
|
|
89
|
-
description:
|
|
90
|
-
"An adjustable, empty space that can be used to tune the spacing between child elements within Flex",
|
|
91
|
-
layout: {
|
|
92
|
-
flex: 1,
|
|
93
|
-
},
|
|
94
|
-
...SHARED_SEED_DATA,
|
|
95
|
-
stylesPanelSections: [
|
|
96
|
-
StylesPanelSections.LayoutSelectedItem,
|
|
97
|
-
StylesPanelSections.Background,
|
|
98
|
-
StylesPanelSections.Margins,
|
|
99
|
-
],
|
|
100
|
-
},
|
|
101
|
-
{
|
|
102
|
-
name: "Stack",
|
|
103
|
-
tag: "Stack",
|
|
104
|
-
description:
|
|
105
|
-
"Stack aligns items vertically or horizontally based on the direction prop",
|
|
106
|
-
...SHARED_SEED_DATA,
|
|
107
|
-
props: {
|
|
108
|
-
isDisabled: createBoolProp({
|
|
109
|
-
label: "Disabled",
|
|
110
|
-
description: "If true, the Stack will be disabled",
|
|
111
|
-
}),
|
|
112
|
-
isInvalid: createBoolProp({
|
|
113
|
-
label: "Invalid",
|
|
114
|
-
description: "If true, the Stack will be invalid",
|
|
115
|
-
}),
|
|
116
|
-
},
|
|
117
|
-
},
|
|
118
|
-
{
|
|
119
|
-
name: "ZStack",
|
|
120
|
-
tag: "ZStack",
|
|
121
|
-
description: "ZStack aligns items to the z-axis",
|
|
122
|
-
...SHARED_SEED_DATA,
|
|
123
|
-
props: {
|
|
124
|
-
reversed: createBoolProp({
|
|
125
|
-
label: "Reversed",
|
|
126
|
-
description: "Determines whether to reverse the direction of items",
|
|
127
|
-
}),
|
|
128
|
-
},
|
|
129
|
-
},
|
|
130
|
-
];
|