@developer_tribe/react-builder 1.0.2 → 1.0.4
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/AttributesEditor.d.ts +3 -1
- package/dist/RenderPage.d.ts +2 -1
- package/dist/android.svg +43 -0
- package/dist/apple.svg +16 -0
- package/dist/attributes-editor/Field.d.ts +4 -2
- package/dist/attributes-editor/SizeField.d.ts +9 -0
- package/dist/attributes-editor/SpecialCategorySection.d.ts +2 -1
- package/dist/build-components/BackgroundImage/BackgroundImage.d.ts +5 -0
- package/dist/build-components/BackgroundImage/BackgroundImageProps.generated.d.ts +45 -0
- package/dist/build-components/Button/ButtonProps.generated.d.ts +8 -0
- package/dist/build-components/Carousel/CarouselProps.generated.d.ts +8 -0
- package/dist/build-components/CarouselButtons/CarouselButtonsProps.generated.d.ts +8 -0
- package/dist/build-components/CarouselDots/CarouselDotsProps.generated.d.ts +8 -0
- package/dist/build-components/CarouselItem/CarouselItemProps.generated.d.ts +8 -0
- package/dist/build-components/CarouselProvider/CarouselProviderProps.generated.d.ts +8 -0
- package/dist/build-components/Image/ImageProps.generated.d.ts +8 -0
- package/dist/build-components/Onboard/OnboardProps.generated.d.ts +8 -0
- package/dist/build-components/OnboardButton/OnboardButtonProps.generated.d.ts +8 -1
- package/dist/build-components/OnboardButtons/OnboardButtonsProps.generated.d.ts +8 -0
- package/dist/build-components/OnboardDot/OnboardDotProps.generated.d.ts +9 -3
- package/dist/build-components/OnboardFooter/OnboardFooterProps.generated.d.ts +8 -0
- package/dist/build-components/OnboardImage/OnboardImageProps.generated.d.ts +9 -1
- package/dist/build-components/OnboardItem/OnboardItemProps.generated.d.ts +8 -0
- package/dist/build-components/OnboardProvider/OnboardProviderProps.generated.d.ts +8 -1
- package/dist/build-components/OnboardSubtitle/OnboardSubtitleProps.generated.d.ts +8 -0
- package/dist/build-components/OnboardTitle/OnboardTitleProps.generated.d.ts +8 -0
- package/dist/build-components/Text/TextProps.generated.d.ts +8 -0
- package/dist/build-components/View/ViewProps.generated.d.ts +8 -0
- package/dist/build-components/index.d.ts +2 -1
- package/dist/build-components/patterns.generated.d.ts +1612 -46
- package/dist/components/AttributesEditorPanel.d.ts +3 -4
- package/dist/components/Builder.d.ts +2 -1
- package/dist/components/BuilderButton.d.ts +9 -0
- package/dist/components/JsonTextEditor.d.ts +9 -0
- package/dist/index.cjs.js +5 -5
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.esm.js +5 -5
- package/dist/index.esm.js.map +1 -1
- package/dist/modals/ColorModal.d.ts +3 -1
- package/dist/pages/ProjectPage.d.ts +3 -3
- package/dist/pages/tabs/BuilderPanel.d.ts +8 -0
- package/dist/pages/tabs/SideTool.d.ts +8 -0
- package/dist/store.d.ts +9 -1
- package/dist/styles.css +1 -1
- package/dist/types/Project.d.ts +11 -0
- package/dist/utils/analyseNode.d.ts +1 -0
- package/dist/utils/extractImageStyle.d.ts +2 -1
- package/dist/utils/extractTextStyle.d.ts +8 -1
- package/dist/utils/extractViewStyle.d.ts +7 -1
- package/dist/utils/parseColor.d.ts +7 -0
- package/dist/utils/selection.d.ts +7 -0
- package/dist/utils/useMergedStyle.d.ts +2 -0
- package/package.json +2 -5
- package/src/.DS_Store +0 -0
- package/src/AttributesEditor.tsx +83 -16
- package/src/RenderPage.tsx +86 -4
- package/src/attributes-editor/Field.tsx +60 -165
- package/src/attributes-editor/SizeField.tsx +184 -0
- package/src/attributes-editor/SpecialCategorySection.tsx +12 -4
- package/src/build-components/BackgroundImage/BackgroundImage.tsx +77 -0
- package/src/build-components/BackgroundImage/BackgroundImageProps.generated.ts +61 -0
- package/src/build-components/BackgroundImage/pattern.json +45 -0
- package/src/build-components/Button/Button.tsx +29 -4
- package/src/build-components/Button/ButtonProps.generated.ts +8 -0
- package/src/build-components/Carousel/Carousel.tsx +25 -3
- package/src/build-components/Carousel/CarouselProps.generated.ts +8 -0
- package/src/build-components/CarouselButtons/CarouselButtons.tsx +19 -4
- package/src/build-components/CarouselButtons/CarouselButtonsProps.generated.ts +8 -0
- package/src/build-components/CarouselDots/CarouselDots.tsx +13 -4
- package/src/build-components/CarouselDots/CarouselDotsProps.generated.ts +8 -0
- package/src/build-components/CarouselItem/CarouselItem.tsx +20 -4
- package/src/build-components/CarouselItem/CarouselItemProps.generated.ts +8 -0
- package/src/build-components/CarouselProvider/CarouselProvider.tsx +14 -3
- package/src/build-components/CarouselProvider/CarouselProviderProps.generated.ts +8 -0
- package/src/build-components/Image/Image.tsx +27 -9
- package/src/build-components/Image/ImageProps.generated.ts +8 -0
- package/src/build-components/Image/pattern.json +1 -9
- package/src/build-components/Onboard/Onboard.tsx +2 -2
- package/src/build-components/Onboard/OnboardProps.generated.ts +8 -0
- package/src/build-components/OnboardButton/OnboardButton.tsx +11 -7
- package/src/build-components/OnboardButton/OnboardButtonProps.generated.ts +8 -1
- package/src/build-components/OnboardButtons/OnboardButtons.tsx +17 -5
- package/src/build-components/OnboardButtons/OnboardButtonsProps.generated.ts +8 -0
- package/src/build-components/OnboardDot/OnboardDot.tsx +68 -39
- package/src/build-components/OnboardDot/OnboardDotProps.generated.ts +9 -3
- package/src/build-components/OnboardDot/pattern.json +3 -19
- package/src/build-components/OnboardFooter/OnboardFooter.tsx +37 -14
- package/src/build-components/OnboardFooter/OnboardFooterProps.generated.ts +8 -0
- package/src/build-components/OnboardImage/OnboardImage.tsx +28 -6
- package/src/build-components/OnboardImage/OnboardImageProps.generated.ts +9 -1
- package/src/build-components/OnboardItem/OnboardItem.tsx +15 -14
- package/src/build-components/OnboardItem/OnboardItemProps.generated.ts +8 -0
- package/src/build-components/OnboardProvider/OnboardProvider.tsx +35 -20
- package/src/build-components/OnboardProvider/OnboardProviderProps.generated.ts +8 -1
- package/src/build-components/OnboardProvider/pattern.json +0 -8
- package/src/build-components/OnboardSubtitle/OnboardSubtitleProps.generated.ts +8 -0
- package/src/build-components/OnboardSubtitle/pattern.json +1 -1
- package/src/build-components/OnboardTitle/OnboardTitleProps.generated.ts +8 -0
- package/src/build-components/OnboardTitle/pattern.json +1 -1
- package/src/build-components/RenderNode.generated.tsx +3 -0
- package/src/build-components/Text/Text.tsx +28 -10
- package/src/build-components/Text/TextProps.generated.ts +8 -0
- package/src/build-components/View/View.tsx +25 -3
- package/src/build-components/View/ViewProps.generated.ts +8 -0
- package/src/build-components/View/pattern.json +67 -1
- package/src/build-components/index.ts +5 -0
- package/src/build-components/patterns.generated.ts +1620 -46
- package/src/components/AttributesEditorPanel.tsx +13 -6
- package/src/components/Builder.tsx +200 -56
- package/src/components/BuilderButton.tsx +127 -0
- package/src/components/DeviceNavigationBar.tsx +0 -1
- package/src/components/EditorHeader.tsx +11 -1
- package/src/components/JsonTextEditor.tsx +185 -0
- package/src/index.ts +2 -2
- package/src/mockOS/components/MockOSRouter.tsx +17 -3
- package/src/mockOS/context/MockOSContext.tsx +0 -5
- package/src/mockOS/managers/mockPermissionManager.ts +0 -4
- package/src/mockOS/managers/navigationManager.ts +1 -6
- package/src/modals/ColorModal.tsx +306 -71
- package/src/modals/LocalicationModal.tsx +4 -5
- package/src/modals/Modal.tsx +8 -1
- package/src/pages/ProjectPage.tsx +299 -55
- package/src/pages/tabs/{BuilderTab.tsx → BuilderPanel.tsx} +13 -9
- package/src/pages/tabs/SideTool.tsx +260 -0
- package/src/size-matters/index.ts +6 -0
- package/src/store.ts +18 -1
- package/src/styles/base/_global.scss +163 -7
- package/src/styles/components/_attributes-editor.scss +12 -0
- package/src/styles/components/_editor-shell.scss +25 -0
- package/src/styles/foundation/_sizes.scss +1 -1
- package/src/styles/layout/_builder.scss +66 -10
- package/src/styles/modals/_color-modal.scss +59 -1
- package/src/styles/utilities/_carousel.scss +9 -8
- package/src/types/Project.ts +14 -0
- package/src/utils/analyseNode.ts +98 -0
- package/src/utils/extractImageStyle.ts +3 -6
- package/src/utils/extractTextStyle.ts +19 -82
- package/src/utils/extractViewStyle.ts +41 -12
- package/src/utils/parseColor.ts +43 -0
- package/src/utils/selection.ts +24 -0
- package/src/utils/useMergedStyle.ts +16 -0
- package/dist/pages/tabs/BuilderTab.d.ts +0 -9
- package/dist/pages/tabs/DebugTab.d.ts +0 -7
- package/dist/pages/tabs/PreviewTab.d.ts +0 -3
- package/src/pages/tabs/DebugTab.tsx +0 -64
- package/src/pages/tabs/PreviewTab.tsx +0 -206
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Node } from './types/Node';
|
|
3
|
+
import type { ProjectColors } from './types/Project';
|
|
3
4
|
type AttributesEditorProps = {
|
|
4
5
|
node: Node;
|
|
5
6
|
onChange: (next: Node) => void;
|
|
7
|
+
projectColors?: ProjectColors;
|
|
6
8
|
};
|
|
7
|
-
export declare function AttributesEditor({ node, onChange }: AttributesEditorProps): import("react/jsx-runtime").JSX.Element | null;
|
|
9
|
+
export declare function AttributesEditor({ node, onChange, projectColors, }: AttributesEditorProps): import("react/jsx-runtime").JSX.Element | null;
|
|
8
10
|
declare const _default: React.MemoExoticComponent<typeof AttributesEditor>;
|
|
9
11
|
export default _default;
|
package/dist/RenderPage.d.ts
CHANGED
|
@@ -14,6 +14,7 @@ export type ScreenStyle = {
|
|
|
14
14
|
interface RenderPageProps {
|
|
15
15
|
data: Node;
|
|
16
16
|
name: string;
|
|
17
|
+
onSelectNode?: (node: Node | null) => void;
|
|
17
18
|
}
|
|
18
|
-
export declare function RenderPage({ data, name }: RenderPageProps): import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
export declare function RenderPage({ data, name, onSelectNode }: RenderPageProps): import("react/jsx-runtime").JSX.Element;
|
|
19
20
|
export {};
|
package/dist/android.svg
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
2
|
+
<!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
|
|
3
|
+
<svg height="800px" width="800px" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
4
|
+
viewBox="0 0 502.857 502.857" xml:space="preserve">
|
|
5
|
+
<g>
|
|
6
|
+
<path style="fill:#57C927;" d="M115.428,155.433v217.664c0,17,10.208,30.336,27.704,30.336h22.84c-0.784,0-2.544,5.768-2.544,8.6
|
|
7
|
+
v61.648c0,16.112,15.448,29.176,32,29.176c16.56,0,32-13.064,32-29.176v-61.648c0-2.832-3.088-8.6-3.848-8.6h55.712
|
|
8
|
+
c-0.76,0-3.864,5.768-3.864,8.6v61.648c0,16.112,15.416,29.176,31.968,29.176c16.592,0,32.032-13.064,32.032-29.176v-61.648
|
|
9
|
+
c0-2.832-1.752-8.6-2.536-8.6h22.872c17.496,0,27.664-13.336,27.664-30.336V155.433H113.596H115.428z"/>
|
|
10
|
+
<path style="fill:#57C927;" d="M59.428,158.977c-16.568,0-32,13.072-32,29.176v124.92c0,16.112,15.432,29.176,32,29.176
|
|
11
|
+
c16.56,0,32-13.064,32-29.176V188.161C91.428,172.049,75.988,158.977,59.428,158.977z"/>
|
|
12
|
+
<path style="fill:#57C927;" d="M320.3,42.057l5.584-8.192l5.592-8.096l12.456-18.2c1.56-2.256,0.912-5.264-1.384-6.744
|
|
13
|
+
c-2.272-1.512-5.416-0.88-6.904,1.36l-19.016,27.704l-5.72,8.344c-18.072-6.832-38.208-10.64-59.48-10.64
|
|
14
|
+
c-21.224,0-41.4,3.816-59.472,10.64l-5.688-8.336l-5.624-8.184l-13.36-19.512c-1.544-2.248-4.648-2.84-6.952-1.36
|
|
15
|
+
c-2.28,1.488-2.912,4.496-1.392,6.744l12.448,18.208l5.592,8.104l5.616,8.168c-42.432,19.24-71.144,57.368-71.144,97.368h279.96
|
|
16
|
+
C391.412,99.433,362.708,61.305,320.3,42.057z M191.436,100.593c-8.312,0-15.008-6.536-15.008-14.608s6.696-14.576,15.008-14.576
|
|
17
|
+
c8.288,0,15,6.504,15,14.576S199.732,100.593,191.436,100.593z M311.436,100.593c-8.304,0-15.016-6.536-15.016-14.608
|
|
18
|
+
s6.712-14.576,15.016-14.576c8.288,0,15,6.504,15,14.576S319.724,100.593,311.436,100.593z"/>
|
|
19
|
+
</g>
|
|
20
|
+
<path style="fill:#1CB71C;" d="M60.852,224.193c-12.472,0-25.424-11.768-33.424-30.432v119.32c0,16.112,15.432,29.176,32,29.176
|
|
21
|
+
c16.56,0,32-13.064,32-29.176V199.985C83.428,214.977,71.86,224.193,60.852,224.193z"/>
|
|
22
|
+
<path style="fill:#57C927;" d="M443.428,158.977c-16.568,0-32,13.072-32,29.176v124.92c0,16.112,15.432,29.176,32,29.176
|
|
23
|
+
c16.56,0,32-13.064,32-29.176V188.161C475.428,172.049,459.988,158.977,443.428,158.977z"/>
|
|
24
|
+
<g>
|
|
25
|
+
<path style="fill:#1CB71C;" d="M444.852,224.193c-12.472,0-25.424-11.768-33.424-30.432v119.32c0,16.112,15.432,29.176,32,29.176
|
|
26
|
+
c16.56,0,32-13.064,32-29.176V199.985C467.428,214.977,455.86,224.193,444.852,224.193z"/>
|
|
27
|
+
<path style="fill:#1CB71C;" d="M251.428,179.337c-63.28,0-120-7.32-136-17.712v211.472c0,17,10.208,30.336,27.704,30.336h22.84
|
|
28
|
+
c-0.784,0-2.544,5.768-2.544,8.6v61.648c0,16.112,15.448,29.176,32,29.176c16.56,0,32-13.064,32-29.176v-61.648
|
|
29
|
+
c0-2.832-3.088-8.6-3.848-8.6h55.712c-0.76,0-3.864,5.768-3.864,8.6v61.648c0,16.112,15.416,29.176,31.968,29.176
|
|
30
|
+
c16.592,0,32.032-13.064,32.032-29.176v-61.648c0-2.832-1.752-8.6-2.536-8.6h22.872c17.496,0,27.664-13.336,27.664-30.336v-211.48
|
|
31
|
+
C371.428,172.009,314.716,179.337,251.428,179.337z"/>
|
|
32
|
+
<path style="fill:#1CB71C;" d="M326.436,85.977c0,8.072-6.712,14.608-15,14.608c-8.304,0-15.016-6.536-15.016-14.608
|
|
33
|
+
c0-4.376,2.008-8.24,5.136-10.912c-15.816-2.64-32.64-4.088-50.128-4.088s-34.304,1.448-50.128,4.088
|
|
34
|
+
c3.136,2.664,5.144,6.536,5.144,10.912c0,8.072-6.712,14.608-15,14.608c-8.312,0-15.008-6.536-15.008-14.608
|
|
35
|
+
c0-2.064,0.456-4.024,1.248-5.808c-23.984,6.304-44.592,15.504-60.144,26.808c-3.92,10.296-6.088,24.456-6.088,32.456h279.96
|
|
36
|
+
c0-8-2.168-22.152-6.08-32.44c-15.544-11.32-36.16-20.536-60.128-26.84C325.988,81.937,326.436,83.921,326.436,85.977z"/>
|
|
37
|
+
</g>
|
|
38
|
+
<path style="fill:#049E42;" d="M251.428,262.817c-53.896,0-104-10.632-136-28.056v138.336c0,17,10.208,30.336,27.704,30.336h22.84
|
|
39
|
+
c-0.784,0-2.544,5.768-2.544,8.6v61.648c0,16.112,15.448,29.176,32,29.176c16.56,0,32-13.064,32-29.176v-61.648
|
|
40
|
+
c0-2.832-3.088-8.6-3.848-8.6h55.712c-0.76,0-3.864,5.768-3.864,8.6v61.648c0,16.112,15.416,29.176,31.968,29.176
|
|
41
|
+
c16.592,0,32.032-13.064,32.032-29.176v-61.648c0-2.832-1.752-8.6-2.536-8.6h22.872c17.496,0,27.664-13.336,27.664-30.336V234.761
|
|
42
|
+
C355.428,252.193,305.324,262.817,251.428,262.817z"/>
|
|
43
|
+
</svg>
|
package/dist/apple.svg
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
2
|
+
<!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools -->
|
|
3
|
+
<svg height="800px" width="800px" version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"
|
|
4
|
+
viewBox="0 0 496.412 496.412" xml:space="preserve">
|
|
5
|
+
<path d="M317.222,80.584C333.414,59.696,345.686,30.152,341.246,0c-26.472,1.84-57.384,18.768-75.432,40.832
|
|
6
|
+
c-16.456,20-29.976,49.728-24.688,78.608C270.054,120.344,299.91,103.008,317.222,80.584z"/>
|
|
7
|
+
<path style="fill:#1B546B;" d="M445.838,166.544c-25.4-31.872-61.12-50.344-94.848-50.344c-44.512,0-63.352,21.312-94.264,21.312
|
|
8
|
+
c-31.896,0-56.12-21.248-94.624-21.248c-37.832,0-78.112,23.12-103.64,62.64C22.574,234.576,28.694,339.2,86.894,428.336
|
|
9
|
+
c20.808,31.904,48.592,67.744,84.952,68.072c32.36,0.32,41.488-20.752,85.336-20.992c43.832-0.256,52.16,21.264,84.456,20.896
|
|
10
|
+
c36.384-0.288,65.712-40.016,86.512-71.92c14.912-22.848,20.48-34.376,32.056-60.184
|
|
11
|
+
C376.014,332.184,362.518,212.488,445.838,166.544z"/>
|
|
12
|
+
<path d="M394.774,228.08c-63.632,51.52-153.592,83.712-253.44,83.712c-35.776,0-70.288-4.144-102.768-11.808
|
|
13
|
+
c5.496,41.808,21.16,86.736,48.336,128.344c20.808,31.904,48.592,67.744,84.952,68.072c32.36,0.32,41.488-20.752,85.336-20.992
|
|
14
|
+
c43.832-0.256,52.16,21.264,84.456,20.896c36.384-0.288,65.712-40.016,86.512-71.92c14.912-22.848,20.48-34.376,32.056-60.184
|
|
15
|
+
C402.966,342.44,378.454,280.176,394.774,228.08z"/>
|
|
16
|
+
</svg>
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { ViewPropsGenerated } from '../build-components/View/ViewProps.generated';
|
|
3
|
+
import type { ProjectColors } from '../types/Project';
|
|
4
|
+
import { type PreferredScale } from './SizeField';
|
|
3
5
|
import { LayoutContext } from './types';
|
|
4
6
|
export type FieldProps = {
|
|
5
7
|
name: string;
|
|
@@ -7,10 +9,10 @@ export type FieldProps = {
|
|
|
7
9
|
value: any;
|
|
8
10
|
onChange: (v: any) => void;
|
|
9
11
|
componentType?: string;
|
|
10
|
-
projectColors?:
|
|
12
|
+
projectColors?: ProjectColors;
|
|
11
13
|
layoutContext?: LayoutContext;
|
|
12
14
|
viewAttributes?: Partial<ViewPropsGenerated['attributes']>;
|
|
13
15
|
label?: React.ReactNode;
|
|
14
|
-
preferredScale?:
|
|
16
|
+
preferredScale?: PreferredScale;
|
|
15
17
|
};
|
|
16
18
|
export declare function Field({ name, type, value, onChange, componentType, projectColors, layoutContext, viewAttributes, label, preferredScale, }: FieldProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export type PreferredScale = 'vs' | 's' | 'f' | '%';
|
|
2
|
+
export declare function toPreferredScale(value: unknown): PreferredScale | undefined;
|
|
3
|
+
export type SizeFieldProps = {
|
|
4
|
+
value: unknown;
|
|
5
|
+
onChange: (val: unknown) => void;
|
|
6
|
+
preferredScale?: PreferredScale;
|
|
7
|
+
fieldName: string;
|
|
8
|
+
};
|
|
9
|
+
export declare function SizeField({ value, onChange, preferredScale, fieldName, }: SizeFieldProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { NodeDefaultAttribute } from '../types/Node';
|
|
2
|
+
import type { ProjectColors } from '../types/Project';
|
|
2
3
|
import { AttributeMetaMap, LayoutContext, SchemaEntry } from './types';
|
|
3
4
|
type SpecialCategorySectionProps = {
|
|
4
5
|
category: string;
|
|
@@ -7,7 +8,7 @@ type SpecialCategorySectionProps = {
|
|
|
7
8
|
attributes: NodeDefaultAttribute;
|
|
8
9
|
onAttributeChange: (name: string, value: unknown) => void;
|
|
9
10
|
componentType?: string;
|
|
10
|
-
projectColors?:
|
|
11
|
+
projectColors?: ProjectColors;
|
|
11
12
|
layoutContext?: LayoutContext;
|
|
12
13
|
viewAttributes?: NodeDefaultAttribute;
|
|
13
14
|
meta?: {
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import type { BackgroundImageComponentProps } from './BackgroundImageProps.generated';
|
|
3
|
+
declare function BackgroundImage({ node }: BackgroundImageComponentProps): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
declare const _default: React.MemoExoticComponent<typeof BackgroundImage>;
|
|
5
|
+
export default _default;
|
|
@@ -0,0 +1,45 @@
|
|
|
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';
|
|
5
|
+
export type PositionOptionType = 'relative' | 'absolute';
|
|
6
|
+
export type ResizeModeOptionType = 'cover' | 'contain' | 'stretch' | 'center';
|
|
7
|
+
export interface BackgroundImagePropsGenerated {
|
|
8
|
+
child: string;
|
|
9
|
+
attributes: {
|
|
10
|
+
scrollable?: boolean;
|
|
11
|
+
flexDirection?: FlexDirectionOptionType;
|
|
12
|
+
alignItems?: AlignItemsOptionType;
|
|
13
|
+
justifyContent?: JustifyContentOptionType;
|
|
14
|
+
gap?: string;
|
|
15
|
+
padding?: string;
|
|
16
|
+
paddingHorizontal?: string;
|
|
17
|
+
paddingVertical?: string;
|
|
18
|
+
paddingTop?: string;
|
|
19
|
+
paddingBottom?: string;
|
|
20
|
+
paddingLeft?: string;
|
|
21
|
+
paddingRight?: string;
|
|
22
|
+
margin?: string;
|
|
23
|
+
marginVertical?: string;
|
|
24
|
+
marginTop?: string;
|
|
25
|
+
marginBottom?: string;
|
|
26
|
+
marginLeft?: string;
|
|
27
|
+
marginRight?: string;
|
|
28
|
+
backgroundColor?: string;
|
|
29
|
+
borderRadius?: string;
|
|
30
|
+
width?: string;
|
|
31
|
+
height?: string;
|
|
32
|
+
flex?: number;
|
|
33
|
+
position?: PositionOptionType;
|
|
34
|
+
top?: string;
|
|
35
|
+
bottom?: string;
|
|
36
|
+
left?: string;
|
|
37
|
+
right?: string;
|
|
38
|
+
zIndex?: number;
|
|
39
|
+
src?: string;
|
|
40
|
+
resizeMode?: ResizeModeOptionType;
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
export interface BackgroundImageComponentProps {
|
|
44
|
+
node: NodeData<BackgroundImagePropsGenerated['attributes']>;
|
|
45
|
+
}
|
|
@@ -2,6 +2,7 @@ import type { NodeData } from '../../types/Node';
|
|
|
2
2
|
export type FlexDirectionOptionType = 'row' | 'column';
|
|
3
3
|
export type AlignItemsOptionType = 'flex-start' | 'center' | 'flex-end' | 'stretch' | 'baseline';
|
|
4
4
|
export type JustifyContentOptionType = 'flex-start' | 'center' | 'flex-end' | 'space-between' | 'space-around' | 'space-evenly';
|
|
5
|
+
export type PositionOptionType = 'relative' | 'absolute';
|
|
5
6
|
export type FontWeightOptionType = 'normal' | 'bold' | '100' | '200' | '300' | '400' | '500' | '600' | '700' | '800' | '900';
|
|
6
7
|
export interface ButtonPropsGenerated {
|
|
7
8
|
child: string;
|
|
@@ -28,6 +29,13 @@ export interface ButtonPropsGenerated {
|
|
|
28
29
|
borderRadius?: string;
|
|
29
30
|
width?: string;
|
|
30
31
|
height?: string;
|
|
32
|
+
flex?: number;
|
|
33
|
+
position?: PositionOptionType;
|
|
34
|
+
top?: string;
|
|
35
|
+
bottom?: string;
|
|
36
|
+
left?: string;
|
|
37
|
+
right?: string;
|
|
38
|
+
zIndex?: number;
|
|
31
39
|
color?: string;
|
|
32
40
|
fontSize?: string;
|
|
33
41
|
fontWeight?: FontWeightOptionType;
|
|
@@ -2,6 +2,7 @@ import type { NodeData } from '../../types/Node';
|
|
|
2
2
|
export type FlexDirectionOptionType = 'row' | 'column';
|
|
3
3
|
export type AlignItemsOptionType = 'flex-start' | 'center' | 'flex-end' | 'stretch' | 'baseline';
|
|
4
4
|
export type JustifyContentOptionType = 'flex-start' | 'center' | 'flex-end' | 'space-between' | 'space-around' | 'space-evenly';
|
|
5
|
+
export type PositionOptionType = 'relative' | 'absolute';
|
|
5
6
|
export interface CarouselPropsGenerated {
|
|
6
7
|
child: string;
|
|
7
8
|
attributes: {
|
|
@@ -27,6 +28,13 @@ export interface CarouselPropsGenerated {
|
|
|
27
28
|
borderRadius?: string;
|
|
28
29
|
width?: string;
|
|
29
30
|
height?: string;
|
|
31
|
+
flex?: number;
|
|
32
|
+
position?: PositionOptionType;
|
|
33
|
+
top?: string;
|
|
34
|
+
bottom?: string;
|
|
35
|
+
left?: string;
|
|
36
|
+
right?: string;
|
|
37
|
+
zIndex?: number;
|
|
30
38
|
};
|
|
31
39
|
}
|
|
32
40
|
export interface CarouselComponentProps {
|
|
@@ -2,6 +2,7 @@ import type { NodeData } from '../../types/Node';
|
|
|
2
2
|
export type FlexDirectionOptionType = 'row' | 'column';
|
|
3
3
|
export type AlignItemsOptionType = 'flex-start' | 'center' | 'flex-end' | 'stretch' | 'baseline';
|
|
4
4
|
export type JustifyContentOptionType = 'flex-start' | 'center' | 'flex-end' | 'space-between' | 'space-around' | 'space-evenly';
|
|
5
|
+
export type PositionOptionType = 'relative' | 'absolute';
|
|
5
6
|
export type ButtonTypeOptionType = 'previous_button' | 'next_button' | 'skip_button';
|
|
6
7
|
export interface CarouselButtonsPropsGenerated {
|
|
7
8
|
child: string;
|
|
@@ -28,6 +29,13 @@ export interface CarouselButtonsPropsGenerated {
|
|
|
28
29
|
borderRadius?: string;
|
|
29
30
|
width?: string;
|
|
30
31
|
height?: string;
|
|
32
|
+
flex?: number;
|
|
33
|
+
position?: PositionOptionType;
|
|
34
|
+
top?: string;
|
|
35
|
+
bottom?: string;
|
|
36
|
+
left?: string;
|
|
37
|
+
right?: string;
|
|
38
|
+
zIndex?: number;
|
|
31
39
|
buttonType?: ButtonTypeOptionType;
|
|
32
40
|
skipNumber?: number;
|
|
33
41
|
};
|
|
@@ -2,6 +2,7 @@ import type { NodeData } from '../../types/Node';
|
|
|
2
2
|
export type FlexDirectionOptionType = 'row' | 'column';
|
|
3
3
|
export type AlignItemsOptionType = 'flex-start' | 'center' | 'flex-end' | 'stretch' | 'baseline';
|
|
4
4
|
export type JustifyContentOptionType = 'flex-start' | 'center' | 'flex-end' | 'space-between' | 'space-around' | 'space-evenly';
|
|
5
|
+
export type PositionOptionType = 'relative' | 'absolute';
|
|
5
6
|
export type DotTypeOptionType = 'expanding_dot' | 'normal_dot' | 'scaling_dot' | 'sliding_border' | 'sliding_dot' | 'liquid_like';
|
|
6
7
|
export interface CarouselDotsPropsGenerated {
|
|
7
8
|
child: string;
|
|
@@ -28,6 +29,13 @@ export interface CarouselDotsPropsGenerated {
|
|
|
28
29
|
borderRadius?: string;
|
|
29
30
|
width?: string;
|
|
30
31
|
height?: string;
|
|
32
|
+
flex?: number;
|
|
33
|
+
position?: PositionOptionType;
|
|
34
|
+
top?: string;
|
|
35
|
+
bottom?: string;
|
|
36
|
+
left?: string;
|
|
37
|
+
right?: string;
|
|
38
|
+
zIndex?: number;
|
|
31
39
|
dotType?: DotTypeOptionType;
|
|
32
40
|
};
|
|
33
41
|
}
|
|
@@ -2,6 +2,7 @@ import type { NodeData } from '../../types/Node';
|
|
|
2
2
|
export type FlexDirectionOptionType = 'row' | 'column';
|
|
3
3
|
export type AlignItemsOptionType = 'flex-start' | 'center' | 'flex-end' | 'stretch' | 'baseline';
|
|
4
4
|
export type JustifyContentOptionType = 'flex-start' | 'center' | 'flex-end' | 'space-between' | 'space-around' | 'space-evenly';
|
|
5
|
+
export type PositionOptionType = 'relative' | 'absolute';
|
|
5
6
|
export interface CarouselItemPropsGenerated {
|
|
6
7
|
child: string;
|
|
7
8
|
attributes: {
|
|
@@ -27,6 +28,13 @@ export interface CarouselItemPropsGenerated {
|
|
|
27
28
|
borderRadius?: string;
|
|
28
29
|
width?: string;
|
|
29
30
|
height?: string;
|
|
31
|
+
flex?: number;
|
|
32
|
+
position?: PositionOptionType;
|
|
33
|
+
top?: string;
|
|
34
|
+
bottom?: string;
|
|
35
|
+
left?: string;
|
|
36
|
+
right?: string;
|
|
37
|
+
zIndex?: number;
|
|
30
38
|
};
|
|
31
39
|
}
|
|
32
40
|
export interface CarouselItemComponentProps {
|
|
@@ -2,6 +2,7 @@ import type { NodeData } from '../../types/Node';
|
|
|
2
2
|
export type FlexDirectionOptionType = 'row' | 'column';
|
|
3
3
|
export type AlignItemsOptionType = 'flex-start' | 'center' | 'flex-end' | 'stretch' | 'baseline';
|
|
4
4
|
export type JustifyContentOptionType = 'flex-start' | 'center' | 'flex-end' | 'space-between' | 'space-around' | 'space-evenly';
|
|
5
|
+
export type PositionOptionType = 'relative' | 'absolute';
|
|
5
6
|
export interface CarouselProviderPropsGenerated {
|
|
6
7
|
child: string;
|
|
7
8
|
attributes: {
|
|
@@ -27,6 +28,13 @@ export interface CarouselProviderPropsGenerated {
|
|
|
27
28
|
borderRadius?: string;
|
|
28
29
|
width?: string;
|
|
29
30
|
height?: string;
|
|
31
|
+
flex?: number;
|
|
32
|
+
position?: PositionOptionType;
|
|
33
|
+
top?: string;
|
|
34
|
+
bottom?: string;
|
|
35
|
+
left?: string;
|
|
36
|
+
right?: string;
|
|
37
|
+
zIndex?: number;
|
|
30
38
|
};
|
|
31
39
|
}
|
|
32
40
|
export interface CarouselProviderComponentProps {
|
|
@@ -2,6 +2,7 @@ import type { NodeData } from '../../types/Node';
|
|
|
2
2
|
export type FlexDirectionOptionType = 'row' | 'column';
|
|
3
3
|
export type AlignItemsOptionType = 'flex-start' | 'center' | 'flex-end' | 'stretch' | 'baseline';
|
|
4
4
|
export type JustifyContentOptionType = 'flex-start' | 'center' | 'flex-end' | 'space-between' | 'space-around' | 'space-evenly';
|
|
5
|
+
export type PositionOptionType = 'relative' | 'absolute';
|
|
5
6
|
export type ResizeModeOptionType = 'cover' | 'contain' | 'stretch' | 'center';
|
|
6
7
|
export interface ImagePropsGenerated {
|
|
7
8
|
child: string;
|
|
@@ -28,6 +29,13 @@ export interface ImagePropsGenerated {
|
|
|
28
29
|
borderRadius?: string;
|
|
29
30
|
width?: string;
|
|
30
31
|
height?: string;
|
|
32
|
+
flex?: number;
|
|
33
|
+
position?: PositionOptionType;
|
|
34
|
+
top?: string;
|
|
35
|
+
bottom?: string;
|
|
36
|
+
left?: string;
|
|
37
|
+
right?: string;
|
|
38
|
+
zIndex?: number;
|
|
31
39
|
src?: string;
|
|
32
40
|
resizeMode?: ResizeModeOptionType;
|
|
33
41
|
};
|
|
@@ -2,6 +2,7 @@ import type { NodeData } from '../../types/Node';
|
|
|
2
2
|
export type FlexDirectionOptionType = 'row' | 'column';
|
|
3
3
|
export type AlignItemsOptionType = 'flex-start' | 'center' | 'flex-end' | 'stretch' | 'baseline';
|
|
4
4
|
export type JustifyContentOptionType = 'flex-start' | 'center' | 'flex-end' | 'space-between' | 'space-around' | 'space-evenly';
|
|
5
|
+
export type PositionOptionType = 'relative' | 'absolute';
|
|
5
6
|
export interface OnboardPropsGenerated {
|
|
6
7
|
child: string;
|
|
7
8
|
attributes: {
|
|
@@ -27,6 +28,13 @@ export interface OnboardPropsGenerated {
|
|
|
27
28
|
borderRadius?: string;
|
|
28
29
|
width?: string;
|
|
29
30
|
height?: string;
|
|
31
|
+
flex?: number;
|
|
32
|
+
position?: PositionOptionType;
|
|
33
|
+
top?: string;
|
|
34
|
+
bottom?: string;
|
|
35
|
+
left?: string;
|
|
36
|
+
right?: string;
|
|
37
|
+
zIndex?: number;
|
|
30
38
|
};
|
|
31
39
|
}
|
|
32
40
|
export interface OnboardComponentProps {
|
|
@@ -4,6 +4,7 @@ export type PermissionOptionType = 'att' | 'notification' | 'rating' | 'GDPR';
|
|
|
4
4
|
export type FlexDirectionOptionType = 'row' | 'column';
|
|
5
5
|
export type AlignItemsOptionType = 'flex-start' | 'center' | 'flex-end' | 'stretch' | 'baseline';
|
|
6
6
|
export type JustifyContentOptionType = 'flex-start' | 'center' | 'flex-end' | 'space-between' | 'space-around' | 'space-evenly';
|
|
7
|
+
export type PositionOptionType = 'relative' | 'absolute';
|
|
7
8
|
export type AnimationOptionType = 'simple-animation' | 'line-animation' | 'blur' | 'blur-animation' | 'blur-line-animation';
|
|
8
9
|
export interface EventObjectGenerated {
|
|
9
10
|
type?: TypeOptionType;
|
|
@@ -36,12 +37,18 @@ export interface OnboardButtonPropsGenerated {
|
|
|
36
37
|
borderRadius?: string;
|
|
37
38
|
width?: string;
|
|
38
39
|
height?: string;
|
|
40
|
+
flex?: number;
|
|
41
|
+
position?: PositionOptionType;
|
|
42
|
+
top?: string;
|
|
43
|
+
bottom?: string;
|
|
44
|
+
left?: string;
|
|
45
|
+
right?: string;
|
|
46
|
+
zIndex?: number;
|
|
39
47
|
labelKey?: string;
|
|
40
48
|
button_text_color?: string;
|
|
41
49
|
animation?: AnimationOptionType;
|
|
42
50
|
animation_color?: string;
|
|
43
51
|
button_background_color?: string;
|
|
44
|
-
flex?: number;
|
|
45
52
|
events?: EventObjectGenerated[];
|
|
46
53
|
};
|
|
47
54
|
}
|
|
@@ -2,6 +2,7 @@ import type { NodeData } from '../../types/Node';
|
|
|
2
2
|
export type FlexDirectionOptionType = 'row' | 'column';
|
|
3
3
|
export type AlignItemsOptionType = 'flex-start' | 'center' | 'flex-end' | 'stretch' | 'baseline';
|
|
4
4
|
export type JustifyContentOptionType = 'flex-start' | 'center' | 'flex-end' | 'space-between' | 'space-around' | 'space-evenly';
|
|
5
|
+
export type PositionOptionType = 'relative' | 'absolute';
|
|
5
6
|
export type ButtonTypeOptionType = 'previous_button' | 'next_button' | 'skip_button';
|
|
6
7
|
export type ButtonsDirectionOptionType = 'row' | 'column';
|
|
7
8
|
export type ConditionOptionType = 'carousel-index';
|
|
@@ -30,6 +31,13 @@ export interface OnboardButtonsPropsGenerated {
|
|
|
30
31
|
borderRadius?: string;
|
|
31
32
|
width?: string;
|
|
32
33
|
height?: string;
|
|
34
|
+
flex?: number;
|
|
35
|
+
position?: PositionOptionType;
|
|
36
|
+
top?: string;
|
|
37
|
+
bottom?: string;
|
|
38
|
+
left?: string;
|
|
39
|
+
right?: string;
|
|
40
|
+
zIndex?: number;
|
|
33
41
|
buttonType?: ButtonTypeOptionType;
|
|
34
42
|
skipNumber?: number;
|
|
35
43
|
buttons_direction?: ButtonsDirectionOptionType;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { NodeData } from '../../types/Node';
|
|
2
|
+
export type PositionOptionType = 'relative' | 'absolute';
|
|
2
3
|
export type DotTypeOptionType = 'expanding_dot' | 'normal_dot' | 'scaling_dot' | 'sliding_border' | 'sliding_dot' | 'liquid_like';
|
|
3
4
|
export interface OnboardDotPropsGenerated {
|
|
4
5
|
child: string;
|
|
@@ -25,11 +26,16 @@ export interface OnboardDotPropsGenerated {
|
|
|
25
26
|
borderRadius?: string;
|
|
26
27
|
width?: string;
|
|
27
28
|
height?: string;
|
|
29
|
+
flex?: number;
|
|
30
|
+
position?: PositionOptionType;
|
|
31
|
+
top?: string;
|
|
32
|
+
bottom?: string;
|
|
33
|
+
left?: string;
|
|
34
|
+
right?: string;
|
|
35
|
+
zIndex?: number;
|
|
28
36
|
dotType?: DotTypeOptionType;
|
|
29
37
|
inactive_dot_opacity?: number;
|
|
30
|
-
expanding_dot_width?:
|
|
31
|
-
dot_style?: string;
|
|
32
|
-
container_style?: string;
|
|
38
|
+
expanding_dot_width?: string;
|
|
33
39
|
active_dot_color?: string;
|
|
34
40
|
};
|
|
35
41
|
}
|
|
@@ -4,6 +4,7 @@ export type TextAlignOptionType = 'left' | 'center' | 'right' | 'justify';
|
|
|
4
4
|
export type FlexDirectionOptionType = 'row' | 'column';
|
|
5
5
|
export type AlignItemsOptionType = 'flex-start' | 'center' | 'flex-end' | 'stretch' | 'baseline';
|
|
6
6
|
export type JustifyContentOptionType = 'flex-start' | 'center' | 'flex-end' | 'space-between' | 'space-around' | 'space-evenly';
|
|
7
|
+
export type PositionOptionType = 'relative' | 'absolute';
|
|
7
8
|
export interface OnboardFooterPropsGenerated {
|
|
8
9
|
child: string;
|
|
9
10
|
attributes: {
|
|
@@ -33,6 +34,13 @@ export interface OnboardFooterPropsGenerated {
|
|
|
33
34
|
borderRadius?: string;
|
|
34
35
|
width?: string;
|
|
35
36
|
height?: string;
|
|
37
|
+
flex?: number;
|
|
38
|
+
position?: PositionOptionType;
|
|
39
|
+
top?: string;
|
|
40
|
+
bottom?: string;
|
|
41
|
+
left?: string;
|
|
42
|
+
right?: string;
|
|
43
|
+
zIndex?: number;
|
|
36
44
|
textLocalizationKey?: string;
|
|
37
45
|
linkedWordFirstLocalizationKey?: string;
|
|
38
46
|
linkedWordFirstColor?: string;
|
|
@@ -3,6 +3,7 @@ export type ResizeModeOptionType = 'cover' | 'contain' | 'stretch' | 'center';
|
|
|
3
3
|
export type FlexDirectionOptionType = 'row' | 'column';
|
|
4
4
|
export type AlignItemsOptionType = 'flex-start' | 'center' | 'flex-end' | 'stretch' | 'baseline';
|
|
5
5
|
export type JustifyContentOptionType = 'flex-start' | 'center' | 'flex-end' | 'space-between' | 'space-around' | 'space-evenly';
|
|
6
|
+
export type PositionOptionType = 'relative' | 'absolute';
|
|
6
7
|
export interface OnboardImagePropsGenerated {
|
|
7
8
|
child: string;
|
|
8
9
|
attributes: {
|
|
@@ -10,7 +11,6 @@ export interface OnboardImagePropsGenerated {
|
|
|
10
11
|
width?: string;
|
|
11
12
|
height?: string;
|
|
12
13
|
resizeMode?: ResizeModeOptionType;
|
|
13
|
-
borderRadius?: string;
|
|
14
14
|
scrollable?: boolean;
|
|
15
15
|
flexDirection?: FlexDirectionOptionType;
|
|
16
16
|
alignItems?: AlignItemsOptionType;
|
|
@@ -30,6 +30,14 @@ export interface OnboardImagePropsGenerated {
|
|
|
30
30
|
marginLeft?: string;
|
|
31
31
|
marginRight?: string;
|
|
32
32
|
backgroundColor?: string;
|
|
33
|
+
borderRadius?: string;
|
|
34
|
+
flex?: number;
|
|
35
|
+
position?: PositionOptionType;
|
|
36
|
+
top?: string;
|
|
37
|
+
bottom?: string;
|
|
38
|
+
left?: string;
|
|
39
|
+
right?: string;
|
|
40
|
+
zIndex?: number;
|
|
33
41
|
video_url?: string;
|
|
34
42
|
lottie?: string;
|
|
35
43
|
};
|
|
@@ -2,6 +2,7 @@ import type { NodeData } from '../../types/Node';
|
|
|
2
2
|
export type FlexDirectionOptionType = 'row' | 'column';
|
|
3
3
|
export type AlignItemsOptionType = 'flex-start' | 'center' | 'flex-end' | 'stretch' | 'baseline';
|
|
4
4
|
export type JustifyContentOptionType = 'flex-start' | 'center' | 'flex-end' | 'space-between' | 'space-around' | 'space-evenly';
|
|
5
|
+
export type PositionOptionType = 'relative' | 'absolute';
|
|
5
6
|
export type DisplayOptionType = 'flex' | 'block';
|
|
6
7
|
export interface OnboardItemPropsGenerated {
|
|
7
8
|
child: string;
|
|
@@ -28,6 +29,13 @@ export interface OnboardItemPropsGenerated {
|
|
|
28
29
|
borderRadius?: string;
|
|
29
30
|
width?: string;
|
|
30
31
|
height?: string;
|
|
32
|
+
flex?: number;
|
|
33
|
+
position?: PositionOptionType;
|
|
34
|
+
top?: string;
|
|
35
|
+
bottom?: string;
|
|
36
|
+
left?: string;
|
|
37
|
+
right?: string;
|
|
38
|
+
zIndex?: number;
|
|
31
39
|
display?: DisplayOptionType;
|
|
32
40
|
};
|
|
33
41
|
}
|
|
@@ -2,6 +2,7 @@ import type { NodeData } from '../../types/Node';
|
|
|
2
2
|
export type FlexDirectionOptionType = 'row' | 'column';
|
|
3
3
|
export type AlignItemsOptionType = 'flex-start' | 'center' | 'flex-end' | 'stretch' | 'baseline';
|
|
4
4
|
export type JustifyContentOptionType = 'flex-start' | 'center' | 'flex-end' | 'space-between' | 'space-around' | 'space-evenly';
|
|
5
|
+
export type PositionOptionType = 'relative' | 'absolute';
|
|
5
6
|
export interface OnboardProviderPropsGenerated {
|
|
6
7
|
child: string;
|
|
7
8
|
attributes: {
|
|
@@ -27,7 +28,13 @@ export interface OnboardProviderPropsGenerated {
|
|
|
27
28
|
borderRadius?: never;
|
|
28
29
|
width?: string;
|
|
29
30
|
height?: string;
|
|
30
|
-
|
|
31
|
+
flex?: number;
|
|
32
|
+
position?: PositionOptionType;
|
|
33
|
+
top?: string;
|
|
34
|
+
bottom?: string;
|
|
35
|
+
left?: string;
|
|
36
|
+
right?: string;
|
|
37
|
+
zIndex?: number;
|
|
31
38
|
use_safe_area_inset?: boolean;
|
|
32
39
|
};
|
|
33
40
|
}
|
|
@@ -4,6 +4,7 @@ export type TextAlignOptionType = 'left' | 'center' | 'right' | 'justify';
|
|
|
4
4
|
export type FlexDirectionOptionType = 'row' | 'column';
|
|
5
5
|
export type AlignItemsOptionType = 'flex-start' | 'center' | 'flex-end' | 'stretch' | 'baseline';
|
|
6
6
|
export type JustifyContentOptionType = 'flex-start' | 'center' | 'flex-end' | 'space-between' | 'space-around' | 'space-evenly';
|
|
7
|
+
export type PositionOptionType = 'relative' | 'absolute';
|
|
7
8
|
export interface OnboardSubtitlePropsGenerated {
|
|
8
9
|
child: string;
|
|
9
10
|
attributes: {
|
|
@@ -33,6 +34,13 @@ export interface OnboardSubtitlePropsGenerated {
|
|
|
33
34
|
borderRadius?: string;
|
|
34
35
|
width?: string;
|
|
35
36
|
height?: string;
|
|
37
|
+
flex?: number;
|
|
38
|
+
position?: PositionOptionType;
|
|
39
|
+
top?: string;
|
|
40
|
+
bottom?: string;
|
|
41
|
+
left?: string;
|
|
42
|
+
right?: string;
|
|
43
|
+
zIndex?: number;
|
|
36
44
|
};
|
|
37
45
|
}
|
|
38
46
|
export interface OnboardSubtitleComponentProps {
|
|
@@ -4,6 +4,7 @@ export type TextAlignOptionType = 'left' | 'center' | 'right' | 'justify';
|
|
|
4
4
|
export type FlexDirectionOptionType = 'row' | 'column';
|
|
5
5
|
export type AlignItemsOptionType = 'flex-start' | 'center' | 'flex-end' | 'stretch' | 'baseline';
|
|
6
6
|
export type JustifyContentOptionType = 'flex-start' | 'center' | 'flex-end' | 'space-between' | 'space-around' | 'space-evenly';
|
|
7
|
+
export type PositionOptionType = 'relative' | 'absolute';
|
|
7
8
|
export interface OnboardTitlePropsGenerated {
|
|
8
9
|
child: string;
|
|
9
10
|
attributes: {
|
|
@@ -33,6 +34,13 @@ export interface OnboardTitlePropsGenerated {
|
|
|
33
34
|
borderRadius?: string;
|
|
34
35
|
width?: string;
|
|
35
36
|
height?: string;
|
|
37
|
+
flex?: number;
|
|
38
|
+
position?: PositionOptionType;
|
|
39
|
+
top?: string;
|
|
40
|
+
bottom?: string;
|
|
41
|
+
left?: string;
|
|
42
|
+
right?: string;
|
|
43
|
+
zIndex?: number;
|
|
36
44
|
};
|
|
37
45
|
}
|
|
38
46
|
export interface OnboardTitleComponentProps {
|
|
@@ -2,6 +2,7 @@ import type { NodeData } from '../../types/Node';
|
|
|
2
2
|
export type FlexDirectionOptionType = 'row' | 'column';
|
|
3
3
|
export type AlignItemsOptionType = 'flex-start' | 'center' | 'flex-end' | 'stretch' | 'baseline';
|
|
4
4
|
export type JustifyContentOptionType = 'flex-start' | 'center' | 'flex-end' | 'space-between' | 'space-around' | 'space-evenly';
|
|
5
|
+
export type PositionOptionType = 'relative' | 'absolute';
|
|
5
6
|
export type FontWeightOptionType = 'normal' | 'bold' | '100' | '200' | '300' | '400' | '500' | '600' | '700' | '800' | '900';
|
|
6
7
|
export type TextAlignOptionType = 'left' | 'center' | 'right' | 'justify';
|
|
7
8
|
export interface TextPropsGenerated {
|
|
@@ -29,6 +30,13 @@ export interface TextPropsGenerated {
|
|
|
29
30
|
borderRadius?: string;
|
|
30
31
|
width?: string;
|
|
31
32
|
height?: string;
|
|
33
|
+
flex?: number;
|
|
34
|
+
position?: PositionOptionType;
|
|
35
|
+
top?: string;
|
|
36
|
+
bottom?: string;
|
|
37
|
+
left?: string;
|
|
38
|
+
right?: string;
|
|
39
|
+
zIndex?: number;
|
|
32
40
|
color?: string;
|
|
33
41
|
fontSize?: string;
|
|
34
42
|
fontWeight?: FontWeightOptionType;
|
|
@@ -2,6 +2,7 @@ import type { NodeData } from '../../types/Node';
|
|
|
2
2
|
export type FlexDirectionOptionType = 'row' | 'column';
|
|
3
3
|
export type AlignItemsOptionType = 'flex-start' | 'center' | 'flex-end' | 'stretch' | 'baseline';
|
|
4
4
|
export type JustifyContentOptionType = 'flex-start' | 'center' | 'flex-end' | 'space-between' | 'space-around' | 'space-evenly';
|
|
5
|
+
export type PositionOptionType = 'relative' | 'absolute';
|
|
5
6
|
export interface ViewPropsGenerated {
|
|
6
7
|
child: string;
|
|
7
8
|
attributes: {
|
|
@@ -27,6 +28,13 @@ export interface ViewPropsGenerated {
|
|
|
27
28
|
borderRadius?: string;
|
|
28
29
|
width?: string;
|
|
29
30
|
height?: string;
|
|
31
|
+
flex?: number;
|
|
32
|
+
position?: PositionOptionType;
|
|
33
|
+
top?: string;
|
|
34
|
+
bottom?: string;
|
|
35
|
+
left?: string;
|
|
36
|
+
right?: string;
|
|
37
|
+
zIndex?: number;
|
|
30
38
|
};
|
|
31
39
|
}
|
|
32
40
|
export interface ViewComponentProps {
|