@developer_tribe/react-builder 0.1.32 → 1.0.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/dist/DeviceMockFrame.d.ts +2 -17
- package/dist/RenderPage.d.ts +4 -11
- package/dist/attributes-editor/Field.d.ts +16 -0
- package/dist/attributes-editor/FieldInfoTooltip.d.ts +7 -0
- package/dist/attributes-editor/LayoutPreviewPicker.d.ts +12 -0
- package/dist/attributes-editor/SpecialCategorySection.d.ts +19 -0
- package/dist/attributes-editor/types.d.ts +14 -0
- package/dist/background.jpg +0 -0
- package/dist/build-components/Button/Button.d.ts +1 -1
- package/dist/build-components/Button/ButtonProps.generated.d.ts +26 -1
- package/dist/build-components/Carousel/CarouselProps.generated.d.ts +27 -1
- package/dist/build-components/CarouselButtons/CarouselButtonsProps.generated.d.ts +25 -0
- package/dist/build-components/CarouselDots/CarouselDotsProps.generated.d.ts +25 -0
- package/dist/build-components/CarouselItem/CarouselItemProps.generated.d.ts +27 -1
- package/dist/build-components/CarouselProvider/CarouselProviderProps.generated.d.ts +27 -1
- package/dist/build-components/Image/ImageProps.generated.d.ts +25 -3
- package/dist/build-components/Onboard/OnboardProps.generated.d.ts +27 -1
- package/dist/build-components/OnboardButton/OnboardButtonProps.generated.d.ts +25 -0
- package/dist/build-components/OnboardButtons/OnboardButtonsProps.generated.d.ts +25 -0
- package/dist/build-components/OnboardDot/OnboardDot.d.ts +1 -1
- package/dist/build-components/OnboardDot/OnboardDotProps.generated.d.ts +22 -0
- package/dist/build-components/OnboardFooter/OnboardFooterProps.generated.d.ts +4 -5
- package/dist/build-components/OnboardImage/OnboardImageProps.generated.d.ts +25 -3
- package/dist/build-components/OnboardItem/OnboardItemProps.generated.d.ts +24 -3
- package/dist/build-components/OnboardProvider/OnboardProviderProps.generated.d.ts +25 -4
- package/dist/build-components/OnboardSubtitle/OnboardSubtitleProps.generated.d.ts +4 -5
- package/dist/build-components/OnboardTitle/OnboardTitleProps.generated.d.ts +4 -5
- package/dist/build-components/Text/TextProps.generated.d.ts +4 -5
- package/dist/build-components/View/ViewProps.generated.d.ts +3 -4
- package/dist/build-components/index.d.ts +1 -0
- package/dist/build-components/patterns.generated.d.ts +4855 -132
- package/dist/components/AttributesEditorPanel.d.ts +9 -0
- package/dist/components/Breadcrumb.d.ts +15 -0
- package/dist/components/Builder.d.ts +9 -0
- package/dist/components/Checkbox.d.ts +17 -0
- package/dist/components/DeviceButton.d.ts +8 -0
- package/dist/components/DeviceNavigationBar.d.ts +10 -0
- package/dist/components/DeviceStatusBar.d.ts +9 -0
- package/dist/components/EditorHeader.d.ts +10 -0
- package/dist/index.cjs.js +6 -5
- package/dist/index.cjs.js.map +1 -0
- package/dist/index.d.ts +8 -4
- package/dist/index.esm.js +6 -5
- package/dist/index.esm.js.map +1 -0
- package/dist/mockOS/components/MockLaunchScreenComponent.d.ts +6 -0
- package/dist/mockOS/components/MockOSRouter.d.ts +8 -0
- package/dist/mockOS/components/PermissionModal.d.ts +9 -0
- package/dist/mockOS/context/MockOSContext.d.ts +36 -0
- package/dist/mockOS/hooks/useMockNavigation.d.ts +3 -0
- package/dist/mockOS/hooks/useMockPermission.d.ts +3 -0
- package/dist/mockOS/index.d.ts +9 -0
- package/dist/mockOS/managers/mockPermissionManager.d.ts +10 -0
- package/dist/mockOS/managers/navigationManager.d.ts +17 -0
- package/dist/modals/AddComponentModal.d.ts +8 -0
- package/dist/modals/ColorModal.d.ts +9 -0
- package/dist/modals/DeviceSelectorModal.d.ts +9 -0
- package/dist/modals/LocalicationModal.d.ts +8 -0
- package/dist/modals/Modal.d.ts +12 -0
- package/dist/modals/index.d.ts +5 -0
- package/dist/pages/ProjectPage.d.ts +11 -0
- package/dist/pages/tabs/BuilderTab.d.ts +9 -0
- package/dist/pages/tabs/DebugTab.d.ts +7 -0
- package/dist/pages/tabs/PreviewTab.d.ts +3 -0
- package/dist/store.d.ts +15 -18
- package/dist/styles.css +1 -1
- package/dist/types/PreviewConfig.d.ts +6 -3
- package/dist/types/Project.d.ts +12 -2
- package/dist/utils/copyNode.d.ts +2 -0
- package/dist/utils/logger.d.ts +11 -0
- package/dist/utils/patterns.d.ts +24 -0
- package/dist/utils/useLogRender.d.ts +1 -0
- package/package.json +17 -9
- package/scripts/prebuild/utils/createBuildComponentsIndex.js +15 -1
- package/scripts/prebuild/utils/createGeneratedProps.js +11 -3
- package/scripts/prebuild/utils/validateAllComponentsOrThrow.js +45 -6
- package/scripts/prebuild/utils/validatePatternJson.js +13 -5
- package/src/AttributesEditor.tsx +434 -311
- package/src/DeviceMockFrame.tsx +42 -67
- package/src/RenderPage.tsx +8 -44
- package/src/assets/images/android.svg +43 -0
- package/src/assets/images/apple.svg +16 -0
- package/src/assets/images/background.jpg +0 -0
- package/src/assets/samples/carousel-sample.json +2 -3
- package/src/assets/samples/getSamples.ts +49 -12
- package/src/assets/samples/simple-1.json +1 -2
- package/src/assets/samples/simple-2.json +1 -2
- package/src/assets/samples/vpn-onboard-1.json +1 -2
- package/src/assets/samples/vpn-onboard-2.json +1 -2
- package/src/assets/samples/vpn-onboard-3.json +1 -2
- package/src/assets/samples/vpn-onboard-4.json +1 -2
- package/src/assets/samples/vpn-onboard-5.json +1 -2
- package/src/assets/samples/vpn-onboard-6.json +1 -2
- package/src/attributes-editor/Field.tsx +662 -0
- package/src/attributes-editor/FieldInfoTooltip.tsx +49 -0
- package/src/attributes-editor/LayoutPreviewPicker.tsx +199 -0
- package/src/attributes-editor/SpecialCategorySection.tsx +284 -0
- package/src/attributes-editor/types.ts +30 -0
- package/src/build-components/Button/Button.tsx +12 -2
- package/src/build-components/Button/ButtonProps.generated.ts +37 -1
- package/src/build-components/Button/pattern.json +31 -2
- package/src/build-components/Carousel/Carousel.tsx +17 -2
- package/src/build-components/Carousel/CarouselProps.generated.ts +39 -1
- package/src/build-components/Carousel/pattern.json +10 -0
- package/src/build-components/CarouselButtons/CarouselButtons.tsx +8 -2
- package/src/build-components/CarouselButtons/CarouselButtonsProps.generated.ts +36 -0
- package/src/build-components/CarouselButtons/pattern.json +22 -0
- package/src/build-components/CarouselDots/CarouselDots.tsx +42 -8
- package/src/build-components/CarouselDots/CarouselDotsProps.generated.ts +36 -0
- package/src/build-components/CarouselDots/pattern.json +15 -0
- package/src/build-components/CarouselItem/CarouselItem.tsx +7 -2
- package/src/build-components/CarouselItem/CarouselItemProps.generated.ts +39 -1
- package/src/build-components/CarouselItem/pattern.json +7 -0
- package/src/build-components/CarouselProvider/CarouselProvider.tsx +10 -2
- package/src/build-components/CarouselProvider/CarouselProviderProps.generated.ts +39 -1
- package/src/build-components/CarouselProvider/pattern.json +7 -0
- package/src/build-components/Image/Image.tsx +10 -2
- package/src/build-components/Image/ImageProps.generated.ts +36 -3
- package/src/build-components/Image/pattern.json +46 -3
- package/src/build-components/Onboard/Onboard.tsx +8 -1
- package/src/build-components/Onboard/OnboardProps.generated.ts +39 -1
- package/src/build-components/Onboard/pattern.json +11 -0
- package/src/build-components/OnboardButton/OnboardButton.tsx +53 -9
- package/src/build-components/OnboardButton/OnboardButtonProps.generated.ts +36 -0
- package/src/build-components/OnboardButton/pattern.json +71 -5
- package/src/build-components/OnboardButtons/OnboardButtons.tsx +27 -17
- package/src/build-components/OnboardButtons/OnboardButtonsProps.generated.ts +36 -0
- package/src/build-components/OnboardButtons/pattern.json +70 -4
- package/src/build-components/OnboardDot/OnboardDot.tsx +106 -4
- package/src/build-components/OnboardDot/OnboardDotProps.generated.ts +22 -0
- package/src/build-components/OnboardDot/pattern.json +54 -1
- package/src/build-components/OnboardFooter/OnboardFooter.tsx +14 -6
- package/src/build-components/OnboardFooter/OnboardFooterProps.generated.ts +4 -5
- package/src/build-components/OnboardFooter/pattern.json +58 -2
- package/src/build-components/OnboardImage/OnboardImage.tsx +29 -5
- package/src/build-components/OnboardImage/OnboardImageProps.generated.ts +36 -3
- package/src/build-components/OnboardImage/pattern.json +21 -0
- package/src/build-components/OnboardItem/OnboardItem.tsx +8 -1
- package/src/build-components/OnboardItem/OnboardItemProps.generated.ts +35 -3
- package/src/build-components/OnboardItem/pattern.json +38 -2
- package/src/build-components/OnboardProvider/OnboardProvider.tsx +22 -8
- package/src/build-components/OnboardProvider/OnboardProviderProps.generated.ts +37 -4
- package/src/build-components/OnboardProvider/pattern.json +51 -4
- package/src/build-components/OnboardSubtitle/OnboardSubtitle.tsx +2 -0
- package/src/build-components/OnboardSubtitle/OnboardSubtitleProps.generated.ts +4 -5
- package/src/build-components/OnboardSubtitle/pattern.json +6 -0
- package/src/build-components/OnboardTitle/OnboardTitle.tsx +2 -0
- package/src/build-components/OnboardTitle/OnboardTitleProps.generated.ts +4 -5
- package/src/build-components/OnboardTitle/pattern.json +6 -0
- package/src/build-components/Text/Text.tsx +12 -6
- package/src/build-components/Text/TextProps.generated.ts +4 -5
- package/src/build-components/Text/pattern.json +38 -2
- package/src/build-components/View/View.tsx +11 -6
- package/src/build-components/View/ViewProps.generated.ts +3 -4
- package/src/build-components/View/pattern.json +227 -19
- package/src/build-components/index.ts +22 -0
- package/src/build-components/patterns.generated.ts +4905 -139
- package/src/components/AttributesEditorPanel.tsx +58 -0
- package/src/components/Breadcrumb.tsx +80 -0
- package/src/components/Builder.tsx +375 -0
- package/src/components/Checkbox.tsx +81 -0
- package/src/components/DeviceButton.tsx +39 -0
- package/src/components/DeviceNavigationBar.tsx +201 -0
- package/src/components/DeviceStatusBar.tsx +85 -0
- package/src/components/EditorHeader.tsx +138 -0
- package/src/index.ts +8 -4
- package/src/mockOS/components/MockLaunchScreenComponent.tsx +43 -0
- package/src/mockOS/components/MockOSRouter.tsx +115 -0
- package/src/mockOS/components/PermissionModal.tsx +270 -0
- package/src/mockOS/context/MockOSContext.tsx +179 -0
- package/src/mockOS/hooks/useMockNavigation.ts +11 -0
- package/src/mockOS/hooks/useMockPermission.ts +11 -0
- package/src/mockOS/index.ts +26 -0
- package/src/mockOS/managers/mockPermissionManager.ts +54 -0
- package/src/mockOS/managers/navigationManager.ts +91 -0
- package/src/modals/AddComponentModal.tsx +313 -0
- package/src/modals/ColorModal.tsx +268 -0
- package/src/modals/DeviceSelectorModal.tsx +57 -0
- package/src/modals/LocalicationModal.tsx +54 -0
- package/src/modals/Modal.tsx +57 -0
- package/src/modals/index.ts +5 -0
- package/src/pages/ProjectPage.tsx +150 -0
- package/src/pages/tabs/BuilderTab.tsx +33 -0
- package/src/pages/tabs/DebugTab.tsx +64 -0
- package/src/pages/tabs/PreviewTab.tsx +206 -0
- package/src/size-matters/index.ts +25 -5
- package/src/store.ts +56 -38
- package/src/styles/base/_global.scss +253 -0
- package/src/styles/components/_attributes-editor.scss +261 -0
- package/src/styles/components/_editor-shell.scss +189 -0
- package/src/styles/components/_mockos-router.scss +140 -0
- package/src/styles/components/_ui-components.scss +183 -0
- package/src/styles/foundation/_colors.scss +8 -0
- package/src/styles/foundation/_mixins.scss +22 -0
- package/src/styles/{_reset.scss → foundation/_reset.scss} +5 -2
- package/src/styles/foundation/_sizes.scss +37 -0
- package/src/styles/foundation/_typography.scss +4 -0
- package/src/styles/foundation/_variables.scss +3 -0
- package/src/styles/index.scss +22 -129
- package/src/styles/layout/_builder.scss +68 -0
- package/src/styles/layout/_pages.scss +3 -0
- package/src/styles/modals/_add-component.scss +122 -0
- package/src/styles/modals/_color-modal.scss +130 -0
- package/src/styles/modals/_device-selector.scss +18 -0
- package/src/styles/modals/_localication-modal.scss +68 -0
- package/src/styles/modals/_modal-shell.scss +46 -0
- package/src/styles/utilities/_carousel.scss +125 -0
- package/src/types/PreviewConfig.ts +14 -5
- package/src/types/Project.ts +15 -2
- package/src/types/images.d.ts +8 -0
- package/src/utils/copyNode.ts +7 -0
- package/src/utils/extractTextStyle.ts +8 -4
- package/src/utils/extractViewStyle.ts +51 -7
- package/src/utils/getDevices.ts +1 -0
- package/src/utils/logger.ts +76 -0
- package/src/utils/patterns.ts +33 -0
- package/src/utils/useLogRender.ts +13 -0
- package/dist/build-components/OnboardDot/OnboardExpandingDotProps.generated.d.ts +0 -10
- package/src/build-components/OnboardDot/OnboardExpandingDotProps.generated.ts +0 -20
|
@@ -1,22 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { Device } from './types/Device';
|
|
3
2
|
type DeviceMockFrameProps = {
|
|
4
|
-
width: number;
|
|
5
|
-
height: number;
|
|
6
|
-
isRtl: boolean;
|
|
7
|
-
screenStyle: {
|
|
8
|
-
light: {
|
|
9
|
-
backgroundColor: string;
|
|
10
|
-
color: string;
|
|
11
|
-
};
|
|
12
|
-
dark: {
|
|
13
|
-
backgroundColor: string;
|
|
14
|
-
color: string;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
theme: 'dark' | 'light';
|
|
18
3
|
children: React.ReactNode;
|
|
19
|
-
|
|
4
|
+
appName?: string;
|
|
20
5
|
};
|
|
21
|
-
export declare function DeviceMockFrame({
|
|
6
|
+
export declare function DeviceMockFrame({ children, appName }: DeviceMockFrameProps): import("react/jsx-runtime").JSX.Element;
|
|
22
7
|
export default DeviceMockFrame;
|
package/dist/RenderPage.d.ts
CHANGED
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import { Localication } from './types/PreviewConfig';
|
|
2
1
|
import { Node } from './types/Node';
|
|
3
|
-
import { Device } from './types/Device';
|
|
4
2
|
export type ScreenStyle = {
|
|
5
3
|
light: {
|
|
6
4
|
backgroundColor: string;
|
|
@@ -13,14 +11,9 @@ export type ScreenStyle = {
|
|
|
13
11
|
seperatorColor?: string;
|
|
14
12
|
};
|
|
15
13
|
};
|
|
16
|
-
|
|
14
|
+
interface RenderPageProps {
|
|
17
15
|
data: Node;
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
localication: Localication;
|
|
22
|
-
defaultLanguage?: string;
|
|
23
|
-
device: Device;
|
|
24
|
-
};
|
|
25
|
-
export declare function RenderPage({ data, theme, isRtl, screenStyle, localication, defaultLanguage, device, }: RenderPageProps): import("react/jsx-runtime").JSX.Element;
|
|
16
|
+
name: string;
|
|
17
|
+
}
|
|
18
|
+
export declare function RenderPage({ data, name }: RenderPageProps): import("react/jsx-runtime").JSX.Element;
|
|
26
19
|
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { ViewPropsGenerated } from '../build-components/View/ViewProps.generated';
|
|
3
|
+
import { LayoutContext } from './types';
|
|
4
|
+
export type FieldProps = {
|
|
5
|
+
name: string;
|
|
6
|
+
type: string | string[];
|
|
7
|
+
value: any;
|
|
8
|
+
onChange: (v: any) => void;
|
|
9
|
+
componentType?: string;
|
|
10
|
+
projectColors?: string[];
|
|
11
|
+
layoutContext?: LayoutContext;
|
|
12
|
+
viewAttributes?: Partial<ViewPropsGenerated['attributes']>;
|
|
13
|
+
label?: React.ReactNode;
|
|
14
|
+
preferredScale?: string;
|
|
15
|
+
};
|
|
16
|
+
export declare function Field({ name, type, value, onChange, componentType, projectColors, layoutContext, viewAttributes, label, preferredScale, }: FieldProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { ViewPropsGenerated } from '../build-components/View/ViewProps.generated';
|
|
2
|
+
import { LayoutContext, LayoutFieldName } from './types';
|
|
3
|
+
type LayoutPreviewPickerProps = {
|
|
4
|
+
mode: LayoutFieldName;
|
|
5
|
+
options: string[];
|
|
6
|
+
value?: string;
|
|
7
|
+
onChange: (val?: string) => void;
|
|
8
|
+
layoutContext?: LayoutContext;
|
|
9
|
+
viewAttributes?: Partial<ViewPropsGenerated['attributes']>;
|
|
10
|
+
};
|
|
11
|
+
export declare function LayoutPreviewPicker({ mode, options, value, onChange, layoutContext, viewAttributes, }: LayoutPreviewPickerProps): import("react/jsx-runtime").JSX.Element | null;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { NodeDefaultAttribute } from '../types/Node';
|
|
2
|
+
import { AttributeMetaMap, LayoutContext, SchemaEntry } from './types';
|
|
3
|
+
type SpecialCategorySectionProps = {
|
|
4
|
+
category: string;
|
|
5
|
+
entries: SchemaEntry[];
|
|
6
|
+
attributeMeta?: AttributeMetaMap;
|
|
7
|
+
attributes: NodeDefaultAttribute;
|
|
8
|
+
onAttributeChange: (name: string, value: unknown) => void;
|
|
9
|
+
componentType?: string;
|
|
10
|
+
projectColors?: string[];
|
|
11
|
+
layoutContext?: LayoutContext;
|
|
12
|
+
viewAttributes?: NodeDefaultAttribute;
|
|
13
|
+
meta?: {
|
|
14
|
+
label?: string;
|
|
15
|
+
description?: string;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
export declare function SpecialCategorySection({ category, entries, attributeMeta, attributes, onAttributeChange, componentType, projectColors, layoutContext, viewAttributes, meta, }: SpecialCategorySectionProps): import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { AlignItemsOptionType, FlexDirectionOptionType, JustifyContentOptionType } from '../build-components/View/ViewProps.generated';
|
|
2
|
+
import { getAttributeMeta } from '../utils/patterns';
|
|
3
|
+
export type SchemaEntry = {
|
|
4
|
+
name: string;
|
|
5
|
+
type: string | string[];
|
|
6
|
+
};
|
|
7
|
+
export type AttributeMetaMap = ReturnType<typeof getAttributeMeta>;
|
|
8
|
+
export type LayoutFieldName = 'flexDirection' | 'alignItems' | 'justifyContent';
|
|
9
|
+
export type LayoutContext = {
|
|
10
|
+
flexDirection?: FlexDirectionOptionType;
|
|
11
|
+
alignItems?: AlignItemsOptionType;
|
|
12
|
+
justifyContent?: JustifyContentOptionType;
|
|
13
|
+
};
|
|
14
|
+
export declare function isBooleanFieldType(type: string | string[]): boolean;
|
|
Binary file
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { ButtonComponentProps } from './ButtonProps.generated';
|
|
3
|
-
declare function Button({ node }: ButtonComponentProps):
|
|
3
|
+
declare function Button({ node }: ButtonComponentProps): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
declare const _default: React.MemoExoticComponent<typeof Button>;
|
|
5
5
|
export default _default;
|
|
@@ -1,10 +1,35 @@
|
|
|
1
1
|
import type { NodeData } from '../../types/Node';
|
|
2
|
+
export type FlexDirectionOptionType = 'row' | 'column';
|
|
3
|
+
export type AlignItemsOptionType = 'flex-start' | 'center' | 'flex-end' | 'stretch' | 'baseline';
|
|
4
|
+
export type JustifyContentOptionType = 'flex-start' | 'center' | 'flex-end' | 'space-between' | 'space-around' | 'space-evenly';
|
|
2
5
|
export type FontWeightOptionType = 'normal' | 'bold' | '100' | '200' | '300' | '400' | '500' | '600' | '700' | '800' | '900';
|
|
3
6
|
export interface ButtonPropsGenerated {
|
|
4
7
|
child: string;
|
|
5
8
|
attributes: {
|
|
9
|
+
scrollable?: boolean;
|
|
10
|
+
flexDirection?: FlexDirectionOptionType;
|
|
11
|
+
alignItems?: AlignItemsOptionType;
|
|
12
|
+
justifyContent?: JustifyContentOptionType;
|
|
13
|
+
gap?: string;
|
|
14
|
+
padding?: string;
|
|
15
|
+
paddingHorizontal?: string;
|
|
16
|
+
paddingVertical?: string;
|
|
17
|
+
paddingTop?: string;
|
|
18
|
+
paddingBottom?: string;
|
|
19
|
+
paddingLeft?: string;
|
|
20
|
+
paddingRight?: string;
|
|
21
|
+
margin?: string;
|
|
22
|
+
marginVertical?: string;
|
|
23
|
+
marginTop?: string;
|
|
24
|
+
marginBottom?: string;
|
|
25
|
+
marginLeft?: string;
|
|
26
|
+
marginRight?: string;
|
|
27
|
+
backgroundColor?: string;
|
|
28
|
+
borderRadius?: string;
|
|
29
|
+
width?: string;
|
|
30
|
+
height?: string;
|
|
6
31
|
color?: string;
|
|
7
|
-
fontSize?:
|
|
32
|
+
fontSize?: string;
|
|
8
33
|
fontWeight?: FontWeightOptionType;
|
|
9
34
|
};
|
|
10
35
|
}
|
|
@@ -1,7 +1,33 @@
|
|
|
1
1
|
import type { NodeData } from '../../types/Node';
|
|
2
|
+
export type FlexDirectionOptionType = 'row' | 'column';
|
|
3
|
+
export type AlignItemsOptionType = 'flex-start' | 'center' | 'flex-end' | 'stretch' | 'baseline';
|
|
4
|
+
export type JustifyContentOptionType = 'flex-start' | 'center' | 'flex-end' | 'space-between' | 'space-around' | 'space-evenly';
|
|
2
5
|
export interface CarouselPropsGenerated {
|
|
3
6
|
child: string;
|
|
4
|
-
attributes: {
|
|
7
|
+
attributes: {
|
|
8
|
+
scrollable?: boolean;
|
|
9
|
+
flexDirection?: FlexDirectionOptionType;
|
|
10
|
+
alignItems?: AlignItemsOptionType;
|
|
11
|
+
justifyContent?: JustifyContentOptionType;
|
|
12
|
+
gap?: string;
|
|
13
|
+
padding?: string;
|
|
14
|
+
paddingHorizontal?: string;
|
|
15
|
+
paddingVertical?: string;
|
|
16
|
+
paddingTop?: string;
|
|
17
|
+
paddingBottom?: string;
|
|
18
|
+
paddingLeft?: string;
|
|
19
|
+
paddingRight?: string;
|
|
20
|
+
margin?: string;
|
|
21
|
+
marginVertical?: string;
|
|
22
|
+
marginTop?: string;
|
|
23
|
+
marginBottom?: string;
|
|
24
|
+
marginLeft?: string;
|
|
25
|
+
marginRight?: string;
|
|
26
|
+
backgroundColor?: string;
|
|
27
|
+
borderRadius?: string;
|
|
28
|
+
width?: string;
|
|
29
|
+
height?: string;
|
|
30
|
+
};
|
|
5
31
|
}
|
|
6
32
|
export interface CarouselComponentProps {
|
|
7
33
|
node: NodeData<CarouselPropsGenerated['attributes']>;
|
|
@@ -1,8 +1,33 @@
|
|
|
1
1
|
import type { NodeData } from '../../types/Node';
|
|
2
|
+
export type FlexDirectionOptionType = 'row' | 'column';
|
|
3
|
+
export type AlignItemsOptionType = 'flex-start' | 'center' | 'flex-end' | 'stretch' | 'baseline';
|
|
4
|
+
export type JustifyContentOptionType = 'flex-start' | 'center' | 'flex-end' | 'space-between' | 'space-around' | 'space-evenly';
|
|
2
5
|
export type ButtonTypeOptionType = 'previous_button' | 'next_button' | 'skip_button';
|
|
3
6
|
export interface CarouselButtonsPropsGenerated {
|
|
4
7
|
child: string;
|
|
5
8
|
attributes: {
|
|
9
|
+
scrollable?: boolean;
|
|
10
|
+
flexDirection?: FlexDirectionOptionType;
|
|
11
|
+
alignItems?: AlignItemsOptionType;
|
|
12
|
+
justifyContent?: JustifyContentOptionType;
|
|
13
|
+
gap?: string;
|
|
14
|
+
padding?: string;
|
|
15
|
+
paddingHorizontal?: string;
|
|
16
|
+
paddingVertical?: string;
|
|
17
|
+
paddingTop?: string;
|
|
18
|
+
paddingBottom?: string;
|
|
19
|
+
paddingLeft?: string;
|
|
20
|
+
paddingRight?: string;
|
|
21
|
+
margin?: string;
|
|
22
|
+
marginVertical?: string;
|
|
23
|
+
marginTop?: string;
|
|
24
|
+
marginBottom?: string;
|
|
25
|
+
marginLeft?: string;
|
|
26
|
+
marginRight?: string;
|
|
27
|
+
backgroundColor?: string;
|
|
28
|
+
borderRadius?: string;
|
|
29
|
+
width?: string;
|
|
30
|
+
height?: string;
|
|
6
31
|
buttonType?: ButtonTypeOptionType;
|
|
7
32
|
skipNumber?: number;
|
|
8
33
|
};
|
|
@@ -1,8 +1,33 @@
|
|
|
1
1
|
import type { NodeData } from '../../types/Node';
|
|
2
|
+
export type FlexDirectionOptionType = 'row' | 'column';
|
|
3
|
+
export type AlignItemsOptionType = 'flex-start' | 'center' | 'flex-end' | 'stretch' | 'baseline';
|
|
4
|
+
export type JustifyContentOptionType = 'flex-start' | 'center' | 'flex-end' | 'space-between' | 'space-around' | 'space-evenly';
|
|
2
5
|
export type DotTypeOptionType = 'expanding_dot' | 'normal_dot' | 'scaling_dot' | 'sliding_border' | 'sliding_dot' | 'liquid_like';
|
|
3
6
|
export interface CarouselDotsPropsGenerated {
|
|
4
7
|
child: string;
|
|
5
8
|
attributes: {
|
|
9
|
+
scrollable?: boolean;
|
|
10
|
+
flexDirection?: FlexDirectionOptionType;
|
|
11
|
+
alignItems?: AlignItemsOptionType;
|
|
12
|
+
justifyContent?: JustifyContentOptionType;
|
|
13
|
+
gap?: string;
|
|
14
|
+
padding?: string;
|
|
15
|
+
paddingHorizontal?: string;
|
|
16
|
+
paddingVertical?: string;
|
|
17
|
+
paddingTop?: string;
|
|
18
|
+
paddingBottom?: string;
|
|
19
|
+
paddingLeft?: string;
|
|
20
|
+
paddingRight?: string;
|
|
21
|
+
margin?: string;
|
|
22
|
+
marginVertical?: string;
|
|
23
|
+
marginTop?: string;
|
|
24
|
+
marginBottom?: string;
|
|
25
|
+
marginLeft?: string;
|
|
26
|
+
marginRight?: string;
|
|
27
|
+
backgroundColor?: string;
|
|
28
|
+
borderRadius?: string;
|
|
29
|
+
width?: string;
|
|
30
|
+
height?: string;
|
|
6
31
|
dotType?: DotTypeOptionType;
|
|
7
32
|
};
|
|
8
33
|
}
|
|
@@ -1,7 +1,33 @@
|
|
|
1
1
|
import type { NodeData } from '../../types/Node';
|
|
2
|
+
export type FlexDirectionOptionType = 'row' | 'column';
|
|
3
|
+
export type AlignItemsOptionType = 'flex-start' | 'center' | 'flex-end' | 'stretch' | 'baseline';
|
|
4
|
+
export type JustifyContentOptionType = 'flex-start' | 'center' | 'flex-end' | 'space-between' | 'space-around' | 'space-evenly';
|
|
2
5
|
export interface CarouselItemPropsGenerated {
|
|
3
6
|
child: string;
|
|
4
|
-
attributes: {
|
|
7
|
+
attributes: {
|
|
8
|
+
scrollable?: boolean;
|
|
9
|
+
flexDirection?: FlexDirectionOptionType;
|
|
10
|
+
alignItems?: AlignItemsOptionType;
|
|
11
|
+
justifyContent?: JustifyContentOptionType;
|
|
12
|
+
gap?: string;
|
|
13
|
+
padding?: string;
|
|
14
|
+
paddingHorizontal?: string;
|
|
15
|
+
paddingVertical?: string;
|
|
16
|
+
paddingTop?: string;
|
|
17
|
+
paddingBottom?: string;
|
|
18
|
+
paddingLeft?: string;
|
|
19
|
+
paddingRight?: string;
|
|
20
|
+
margin?: string;
|
|
21
|
+
marginVertical?: string;
|
|
22
|
+
marginTop?: string;
|
|
23
|
+
marginBottom?: string;
|
|
24
|
+
marginLeft?: string;
|
|
25
|
+
marginRight?: string;
|
|
26
|
+
backgroundColor?: string;
|
|
27
|
+
borderRadius?: string;
|
|
28
|
+
width?: string;
|
|
29
|
+
height?: string;
|
|
30
|
+
};
|
|
5
31
|
}
|
|
6
32
|
export interface CarouselItemComponentProps {
|
|
7
33
|
node: NodeData<CarouselItemPropsGenerated['attributes']>;
|
|
@@ -1,7 +1,33 @@
|
|
|
1
1
|
import type { NodeData } from '../../types/Node';
|
|
2
|
+
export type FlexDirectionOptionType = 'row' | 'column';
|
|
3
|
+
export type AlignItemsOptionType = 'flex-start' | 'center' | 'flex-end' | 'stretch' | 'baseline';
|
|
4
|
+
export type JustifyContentOptionType = 'flex-start' | 'center' | 'flex-end' | 'space-between' | 'space-around' | 'space-evenly';
|
|
2
5
|
export interface CarouselProviderPropsGenerated {
|
|
3
6
|
child: string;
|
|
4
|
-
attributes: {
|
|
7
|
+
attributes: {
|
|
8
|
+
scrollable?: boolean;
|
|
9
|
+
flexDirection?: FlexDirectionOptionType;
|
|
10
|
+
alignItems?: AlignItemsOptionType;
|
|
11
|
+
justifyContent?: JustifyContentOptionType;
|
|
12
|
+
gap?: string;
|
|
13
|
+
padding?: string;
|
|
14
|
+
paddingHorizontal?: string;
|
|
15
|
+
paddingVertical?: string;
|
|
16
|
+
paddingTop?: string;
|
|
17
|
+
paddingBottom?: string;
|
|
18
|
+
paddingLeft?: string;
|
|
19
|
+
paddingRight?: string;
|
|
20
|
+
margin?: string;
|
|
21
|
+
marginVertical?: string;
|
|
22
|
+
marginTop?: string;
|
|
23
|
+
marginBottom?: string;
|
|
24
|
+
marginLeft?: string;
|
|
25
|
+
marginRight?: string;
|
|
26
|
+
backgroundColor?: string;
|
|
27
|
+
borderRadius?: string;
|
|
28
|
+
width?: string;
|
|
29
|
+
height?: string;
|
|
30
|
+
};
|
|
5
31
|
}
|
|
6
32
|
export interface CarouselProviderComponentProps {
|
|
7
33
|
node: NodeData<CarouselProviderPropsGenerated['attributes']>;
|
|
@@ -1,13 +1,35 @@
|
|
|
1
1
|
import type { NodeData } from '../../types/Node';
|
|
2
|
+
export type FlexDirectionOptionType = 'row' | 'column';
|
|
3
|
+
export type AlignItemsOptionType = 'flex-start' | 'center' | 'flex-end' | 'stretch' | 'baseline';
|
|
4
|
+
export type JustifyContentOptionType = 'flex-start' | 'center' | 'flex-end' | 'space-between' | 'space-around' | 'space-evenly';
|
|
2
5
|
export type ResizeModeOptionType = 'cover' | 'contain' | 'stretch' | 'center';
|
|
3
6
|
export interface ImagePropsGenerated {
|
|
4
7
|
child: string;
|
|
5
8
|
attributes: {
|
|
9
|
+
scrollable?: boolean;
|
|
10
|
+
flexDirection?: FlexDirectionOptionType;
|
|
11
|
+
alignItems?: AlignItemsOptionType;
|
|
12
|
+
justifyContent?: JustifyContentOptionType;
|
|
13
|
+
gap?: string;
|
|
14
|
+
padding?: string;
|
|
15
|
+
paddingHorizontal?: string;
|
|
16
|
+
paddingVertical?: string;
|
|
17
|
+
paddingTop?: string;
|
|
18
|
+
paddingBottom?: string;
|
|
19
|
+
paddingLeft?: string;
|
|
20
|
+
paddingRight?: string;
|
|
21
|
+
margin?: string;
|
|
22
|
+
marginVertical?: string;
|
|
23
|
+
marginTop?: string;
|
|
24
|
+
marginBottom?: string;
|
|
25
|
+
marginLeft?: string;
|
|
26
|
+
marginRight?: string;
|
|
27
|
+
backgroundColor?: string;
|
|
28
|
+
borderRadius?: string;
|
|
29
|
+
width?: string;
|
|
30
|
+
height?: string;
|
|
6
31
|
src?: string;
|
|
7
|
-
width?: number;
|
|
8
|
-
height?: number;
|
|
9
32
|
resizeMode?: ResizeModeOptionType;
|
|
10
|
-
borderRadius?: number;
|
|
11
33
|
};
|
|
12
34
|
}
|
|
13
35
|
export interface ImageComponentProps {
|
|
@@ -1,7 +1,33 @@
|
|
|
1
1
|
import type { NodeData } from '../../types/Node';
|
|
2
|
+
export type FlexDirectionOptionType = 'row' | 'column';
|
|
3
|
+
export type AlignItemsOptionType = 'flex-start' | 'center' | 'flex-end' | 'stretch' | 'baseline';
|
|
4
|
+
export type JustifyContentOptionType = 'flex-start' | 'center' | 'flex-end' | 'space-between' | 'space-around' | 'space-evenly';
|
|
2
5
|
export interface OnboardPropsGenerated {
|
|
3
6
|
child: string;
|
|
4
|
-
attributes: {
|
|
7
|
+
attributes: {
|
|
8
|
+
scrollable?: boolean;
|
|
9
|
+
flexDirection?: FlexDirectionOptionType;
|
|
10
|
+
alignItems?: AlignItemsOptionType;
|
|
11
|
+
justifyContent?: JustifyContentOptionType;
|
|
12
|
+
gap?: string;
|
|
13
|
+
padding?: string;
|
|
14
|
+
paddingHorizontal?: string;
|
|
15
|
+
paddingVertical?: string;
|
|
16
|
+
paddingTop?: string;
|
|
17
|
+
paddingBottom?: string;
|
|
18
|
+
paddingLeft?: string;
|
|
19
|
+
paddingRight?: string;
|
|
20
|
+
margin?: string;
|
|
21
|
+
marginVertical?: string;
|
|
22
|
+
marginTop?: string;
|
|
23
|
+
marginBottom?: string;
|
|
24
|
+
marginLeft?: string;
|
|
25
|
+
marginRight?: string;
|
|
26
|
+
backgroundColor?: string;
|
|
27
|
+
borderRadius?: string;
|
|
28
|
+
width?: string;
|
|
29
|
+
height?: string;
|
|
30
|
+
};
|
|
5
31
|
}
|
|
6
32
|
export interface OnboardComponentProps {
|
|
7
33
|
node: NodeData<OnboardPropsGenerated['attributes']>;
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import type { NodeData } from '../../types/Node';
|
|
2
2
|
export type TypeOptionType = 'Permission' | 'Navigate';
|
|
3
3
|
export type PermissionOptionType = 'att' | 'notification' | 'rating' | 'GDPR';
|
|
4
|
+
export type FlexDirectionOptionType = 'row' | 'column';
|
|
5
|
+
export type AlignItemsOptionType = 'flex-start' | 'center' | 'flex-end' | 'stretch' | 'baseline';
|
|
6
|
+
export type JustifyContentOptionType = 'flex-start' | 'center' | 'flex-end' | 'space-between' | 'space-around' | 'space-evenly';
|
|
4
7
|
export type AnimationOptionType = 'simple-animation' | 'line-animation' | 'blur' | 'blur-animation' | 'blur-line-animation';
|
|
5
8
|
export interface EventObjectGenerated {
|
|
6
9
|
type?: TypeOptionType;
|
|
@@ -11,6 +14,28 @@ export interface EventObjectGenerated {
|
|
|
11
14
|
export interface OnboardButtonPropsGenerated {
|
|
12
15
|
child: string;
|
|
13
16
|
attributes: {
|
|
17
|
+
scrollable?: boolean;
|
|
18
|
+
flexDirection?: FlexDirectionOptionType;
|
|
19
|
+
alignItems?: AlignItemsOptionType;
|
|
20
|
+
justifyContent?: JustifyContentOptionType;
|
|
21
|
+
gap?: string;
|
|
22
|
+
padding?: string;
|
|
23
|
+
paddingHorizontal?: string;
|
|
24
|
+
paddingVertical?: string;
|
|
25
|
+
paddingTop?: string;
|
|
26
|
+
paddingBottom?: string;
|
|
27
|
+
paddingLeft?: string;
|
|
28
|
+
paddingRight?: string;
|
|
29
|
+
margin?: string;
|
|
30
|
+
marginVertical?: string;
|
|
31
|
+
marginTop?: string;
|
|
32
|
+
marginBottom?: string;
|
|
33
|
+
marginLeft?: string;
|
|
34
|
+
marginRight?: string;
|
|
35
|
+
backgroundColor?: string;
|
|
36
|
+
borderRadius?: string;
|
|
37
|
+
width?: string;
|
|
38
|
+
height?: string;
|
|
14
39
|
labelKey?: string;
|
|
15
40
|
button_text_color?: string;
|
|
16
41
|
animation?: AnimationOptionType;
|
|
@@ -1,10 +1,35 @@
|
|
|
1
1
|
import type { NodeData } from '../../types/Node';
|
|
2
|
+
export type FlexDirectionOptionType = 'row' | 'column';
|
|
3
|
+
export type AlignItemsOptionType = 'flex-start' | 'center' | 'flex-end' | 'stretch' | 'baseline';
|
|
4
|
+
export type JustifyContentOptionType = 'flex-start' | 'center' | 'flex-end' | 'space-between' | 'space-around' | 'space-evenly';
|
|
2
5
|
export type ButtonTypeOptionType = 'previous_button' | 'next_button' | 'skip_button';
|
|
3
6
|
export type ButtonsDirectionOptionType = 'row' | 'column';
|
|
4
7
|
export type ConditionOptionType = 'carousel-index';
|
|
5
8
|
export interface OnboardButtonsPropsGenerated {
|
|
6
9
|
child: string;
|
|
7
10
|
attributes: {
|
|
11
|
+
scrollable?: boolean;
|
|
12
|
+
flexDirection?: FlexDirectionOptionType;
|
|
13
|
+
alignItems?: AlignItemsOptionType;
|
|
14
|
+
justifyContent?: JustifyContentOptionType;
|
|
15
|
+
gap?: string;
|
|
16
|
+
padding?: string;
|
|
17
|
+
paddingHorizontal?: string;
|
|
18
|
+
paddingVertical?: string;
|
|
19
|
+
paddingTop?: string;
|
|
20
|
+
paddingBottom?: string;
|
|
21
|
+
paddingLeft?: string;
|
|
22
|
+
paddingRight?: string;
|
|
23
|
+
margin?: string;
|
|
24
|
+
marginVertical?: string;
|
|
25
|
+
marginTop?: string;
|
|
26
|
+
marginBottom?: string;
|
|
27
|
+
marginLeft?: string;
|
|
28
|
+
marginRight?: string;
|
|
29
|
+
backgroundColor?: string;
|
|
30
|
+
borderRadius?: string;
|
|
31
|
+
width?: string;
|
|
32
|
+
height?: string;
|
|
8
33
|
buttonType?: ButtonTypeOptionType;
|
|
9
34
|
skipNumber?: number;
|
|
10
35
|
buttons_direction?: ButtonsDirectionOptionType;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import type { OnboardDotComponentProps } from './
|
|
2
|
+
import type { OnboardDotComponentProps } from './OnboardDotProps.generated';
|
|
3
3
|
declare function OnboardDot({ node }: OnboardDotComponentProps): import("react/jsx-runtime").JSX.Element;
|
|
4
4
|
declare const _default: React.MemoExoticComponent<typeof OnboardDot>;
|
|
5
5
|
export default _default;
|
|
@@ -3,6 +3,28 @@ export type DotTypeOptionType = 'expanding_dot' | 'normal_dot' | 'scaling_dot' |
|
|
|
3
3
|
export interface OnboardDotPropsGenerated {
|
|
4
4
|
child: string;
|
|
5
5
|
attributes: {
|
|
6
|
+
scrollable?: boolean;
|
|
7
|
+
flexDirection?: never;
|
|
8
|
+
alignItems?: never;
|
|
9
|
+
justifyContent?: never;
|
|
10
|
+
gap?: string;
|
|
11
|
+
padding?: string;
|
|
12
|
+
paddingHorizontal?: string;
|
|
13
|
+
paddingVertical?: string;
|
|
14
|
+
paddingTop?: string;
|
|
15
|
+
paddingBottom?: string;
|
|
16
|
+
paddingLeft?: string;
|
|
17
|
+
paddingRight?: string;
|
|
18
|
+
margin?: string;
|
|
19
|
+
marginVertical?: string;
|
|
20
|
+
marginTop?: string;
|
|
21
|
+
marginBottom?: string;
|
|
22
|
+
marginLeft?: string;
|
|
23
|
+
marginRight?: string;
|
|
24
|
+
backgroundColor?: string;
|
|
25
|
+
borderRadius?: string;
|
|
26
|
+
width?: string;
|
|
27
|
+
height?: string;
|
|
6
28
|
dotType?: DotTypeOptionType;
|
|
7
29
|
inactive_dot_opacity?: number;
|
|
8
30
|
expanding_dot_width?: number;
|
|
@@ -8,7 +8,7 @@ export interface OnboardFooterPropsGenerated {
|
|
|
8
8
|
child: string;
|
|
9
9
|
attributes: {
|
|
10
10
|
color?: string;
|
|
11
|
-
fontSize?:
|
|
11
|
+
fontSize?: string;
|
|
12
12
|
fontWeight?: FontWeightOptionType;
|
|
13
13
|
textAlign?: TextAlignOptionType;
|
|
14
14
|
scrollable?: boolean;
|
|
@@ -16,7 +16,7 @@ export interface OnboardFooterPropsGenerated {
|
|
|
16
16
|
alignItems?: AlignItemsOptionType;
|
|
17
17
|
justifyContent?: JustifyContentOptionType;
|
|
18
18
|
gap?: string;
|
|
19
|
-
padding?:
|
|
19
|
+
padding?: string;
|
|
20
20
|
paddingHorizontal?: string;
|
|
21
21
|
paddingVertical?: string;
|
|
22
22
|
paddingTop?: string;
|
|
@@ -24,7 +24,6 @@ export interface OnboardFooterPropsGenerated {
|
|
|
24
24
|
paddingLeft?: string;
|
|
25
25
|
paddingRight?: string;
|
|
26
26
|
margin?: string;
|
|
27
|
-
marginHorizontal?: string;
|
|
28
27
|
marginVertical?: string;
|
|
29
28
|
marginTop?: string;
|
|
30
29
|
marginBottom?: string;
|
|
@@ -32,8 +31,8 @@ export interface OnboardFooterPropsGenerated {
|
|
|
32
31
|
marginRight?: string;
|
|
33
32
|
backgroundColor?: string;
|
|
34
33
|
borderRadius?: string;
|
|
35
|
-
width?:
|
|
36
|
-
height?:
|
|
34
|
+
width?: string;
|
|
35
|
+
height?: string;
|
|
37
36
|
textLocalizationKey?: string;
|
|
38
37
|
linkedWordFirstLocalizationKey?: string;
|
|
39
38
|
linkedWordFirstColor?: string;
|
|
@@ -1,13 +1,35 @@
|
|
|
1
1
|
import type { NodeData } from '../../types/Node';
|
|
2
2
|
export type ResizeModeOptionType = 'cover' | 'contain' | 'stretch' | 'center';
|
|
3
|
+
export type FlexDirectionOptionType = 'row' | 'column';
|
|
4
|
+
export type AlignItemsOptionType = 'flex-start' | 'center' | 'flex-end' | 'stretch' | 'baseline';
|
|
5
|
+
export type JustifyContentOptionType = 'flex-start' | 'center' | 'flex-end' | 'space-between' | 'space-around' | 'space-evenly';
|
|
3
6
|
export interface OnboardImagePropsGenerated {
|
|
4
7
|
child: string;
|
|
5
8
|
attributes: {
|
|
6
9
|
src?: string;
|
|
7
|
-
width?:
|
|
8
|
-
height?:
|
|
10
|
+
width?: string;
|
|
11
|
+
height?: string;
|
|
9
12
|
resizeMode?: ResizeModeOptionType;
|
|
10
|
-
borderRadius?:
|
|
13
|
+
borderRadius?: string;
|
|
14
|
+
scrollable?: boolean;
|
|
15
|
+
flexDirection?: FlexDirectionOptionType;
|
|
16
|
+
alignItems?: AlignItemsOptionType;
|
|
17
|
+
justifyContent?: JustifyContentOptionType;
|
|
18
|
+
gap?: string;
|
|
19
|
+
padding?: string;
|
|
20
|
+
paddingHorizontal?: string;
|
|
21
|
+
paddingVertical?: string;
|
|
22
|
+
paddingTop?: string;
|
|
23
|
+
paddingBottom?: string;
|
|
24
|
+
paddingLeft?: string;
|
|
25
|
+
paddingRight?: string;
|
|
26
|
+
margin?: string;
|
|
27
|
+
marginVertical?: string;
|
|
28
|
+
marginTop?: string;
|
|
29
|
+
marginBottom?: string;
|
|
30
|
+
marginLeft?: string;
|
|
31
|
+
marginRight?: string;
|
|
32
|
+
backgroundColor?: string;
|
|
11
33
|
video_url?: string;
|
|
12
34
|
lottie?: string;
|
|
13
35
|
};
|
|
@@ -1,13 +1,34 @@
|
|
|
1
1
|
import type { NodeData } from '../../types/Node';
|
|
2
|
-
export type DisplayOptionType = 'flex' | 'block';
|
|
3
2
|
export type FlexDirectionOptionType = 'row' | 'column';
|
|
3
|
+
export type AlignItemsOptionType = 'flex-start' | 'center' | 'flex-end' | 'stretch' | 'baseline';
|
|
4
|
+
export type JustifyContentOptionType = 'flex-start' | 'center' | 'flex-end' | 'space-between' | 'space-around' | 'space-evenly';
|
|
5
|
+
export type DisplayOptionType = 'flex' | 'block';
|
|
4
6
|
export interface OnboardItemPropsGenerated {
|
|
5
7
|
child: string;
|
|
6
8
|
attributes: {
|
|
7
|
-
|
|
8
|
-
gap?: string;
|
|
9
|
+
scrollable?: boolean;
|
|
9
10
|
flexDirection?: FlexDirectionOptionType;
|
|
11
|
+
alignItems?: AlignItemsOptionType;
|
|
12
|
+
justifyContent?: JustifyContentOptionType;
|
|
13
|
+
gap?: string;
|
|
14
|
+
padding?: string;
|
|
10
15
|
paddingHorizontal?: string;
|
|
16
|
+
paddingVertical?: string;
|
|
17
|
+
paddingTop?: string;
|
|
18
|
+
paddingBottom?: string;
|
|
19
|
+
paddingLeft?: string;
|
|
20
|
+
paddingRight?: string;
|
|
21
|
+
margin?: string;
|
|
22
|
+
marginVertical?: string;
|
|
23
|
+
marginTop?: string;
|
|
24
|
+
marginBottom?: string;
|
|
25
|
+
marginLeft?: string;
|
|
26
|
+
marginRight?: string;
|
|
27
|
+
backgroundColor?: string;
|
|
28
|
+
borderRadius?: string;
|
|
29
|
+
width?: string;
|
|
30
|
+
height?: string;
|
|
31
|
+
display?: DisplayOptionType;
|
|
11
32
|
};
|
|
12
33
|
}
|
|
13
34
|
export interface OnboardItemComponentProps {
|