pagepilot-visual-editor 1.0.6 → 1.0.8
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/README.md +214 -16
- package/dist/blocks-internal/block-button/src/index.d.ts +15 -9
- package/dist/blocks-internal/block-button-group/src/index.d.ts +6 -6
- package/dist/blocks-internal/block-columns-container/src/index.d.ts +3 -3
- package/dist/blocks-internal/block-container/src/index.d.ts +11 -11
- package/dist/blocks-internal/block-grid/src/index.d.ts +1 -1
- package/dist/blocks-internal/block-heading/src/index.d.ts +11 -5
- package/dist/blocks-internal/block-html/src/index.d.ts +2 -2
- package/dist/blocks-internal/block-iframe/src/index.d.ts +2 -2
- package/dist/blocks-internal/block-image/src/index.d.ts +5 -3
- package/dist/blocks-internal/block-list/src/index.d.ts +90 -0
- package/dist/blocks-internal/block-logo/src/index.d.ts +2 -2
- package/dist/blocks-internal/block-stepper/src/index.d.ts +10 -4
- package/dist/blocks-internal/block-text/src/index.d.ts +9 -3
- package/dist/blocks-internal/block-video/src/index.d.ts +3 -3
- package/dist/blocks-internal/block-youtube-url/src/index.d.ts +3 -3
- package/dist/editor/Shell.d.ts +1 -1
- package/dist/editor/Topbar.d.ts +5 -1
- package/dist/editor/blockToggles.d.ts +1 -1
- package/dist/editor/publish/PagePublishDialog.d.ts +7 -0
- package/dist/editor/types.d.ts +35 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/ResponsiveDeviceTabs.d.ts +8 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/ResponsiveEditingBanner.d.ts +13 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/AppBannerPickerSidebarPanel.d.ts +7 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/FaqPickerSidebarPanel.d.ts +7 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/ListSidebarPanel.d.ts +7 -0
- package/dist/editor-sample/App/InspectorDrawer/LayersPanelStyles.d.ts +2 -2
- package/dist/editor-sample/App/InspectorDrawer/LayoutPanel/TemplatesList.d.ts +19 -4
- package/dist/editor-sample/App/InspectorDrawer/VariablesPanel/UpgradeDialogView.d.ts +1 -0
- package/dist/editor-sample/App/InspectorDrawer/VariablesPanel/upgradeDialog.d.ts +15 -0
- package/dist/editor-sample/App/InspectorDrawer/useLayerNode.d.ts +1 -2
- package/dist/editor-sample/App/TemplatePanel/minimap/MiniMap.d.ts +6 -0
- package/dist/editor-sample/App/TemplatePanel/minimap/MiniMapFrame.d.ts +17 -0
- package/dist/editor-sample/App/TemplatePanel/minimap/useMiniMapSync.d.ts +24 -0
- package/dist/editor-sample/App/TemplatePanel/minimap/useMiniMapThumbnail.d.ts +8 -0
- package/dist/editor-sample/App/hooks/useAutosave.d.ts +10 -0
- package/dist/editor-sample/App/shared/editor.styles.d.ts +3 -3
- package/dist/editor-sample/documents/blocks/Accordion/AccordionPropsSchema.d.ts +6 -0
- package/dist/editor-sample/documents/blocks/AppBannerPicker/AppBannerEditor.d.ts +7 -0
- package/dist/editor-sample/documents/blocks/AppBannerPicker/AppBannerPropsSchema.d.ts +6 -0
- package/dist/editor-sample/documents/blocks/ButtonGroup/ButtonGroupPropsSchema.d.ts +6 -6
- package/dist/editor-sample/documents/blocks/ColumnsContainer/ColumnsContainerPropsSchema.d.ts +3 -3
- package/dist/editor-sample/documents/blocks/Container/ContainerPropsSchema.d.ts +11 -11
- package/dist/editor-sample/documents/blocks/DemoPicker/DemoPropsSchema.d.ts +2 -2
- package/dist/editor-sample/documents/blocks/EmailLayout/EmailLayoutPropsSchema.d.ts +3 -3
- package/dist/editor-sample/documents/blocks/FaqPicker/FaqEditor.d.ts +7 -0
- package/dist/editor-sample/documents/blocks/FaqPicker/FaqPickerPropsSchema.d.ts +6 -0
- package/dist/editor-sample/documents/blocks/FormsPicker/FormsPropsSchema.d.ts +2 -2
- package/dist/editor-sample/documents/blocks/Grid/GridPropsSchema.d.ts +3 -3
- package/dist/editor-sample/documents/blocks/Marquee/MarqueePropsSchema.d.ts +6 -1
- package/dist/editor-sample/documents/blocks/MenuPicker/MenuPropsSchema.d.ts +2 -2
- package/dist/editor-sample/documents/blocks/PricingAccordion/PricingAccordionPropsSchema.d.ts +2 -2
- package/dist/editor-sample/documents/blocks/Rating/RatingPropsSchema.d.ts +8 -2
- package/dist/editor-sample/documents/blocks/TabsBlock/TabsBlockPropsSchema.d.ts +6 -0
- package/dist/editor-sample/documents/blocks/Timer/TimerPropsSchema.d.ts +6 -0
- package/dist/editor-sample/documents/blocks/helpers/EditorChildrenIds/index.d.ts +4 -1
- package/dist/editor-sample/documents/blocks/helpers/block-wrappers/EditorBlockWrapper.d.ts +3 -2
- package/dist/editor-sample/documents/blocks/helpers/block-wrappers/useCanvasDrop.d.ts +14 -8
- package/dist/editor-sample/documents/blocks/helpers/documentUtils.d.ts +1 -0
- package/dist/editor-sample/documents/blocks/helpers/responsiveInstanceCss.d.ts +6 -0
- package/dist/editor-sample/documents/blocks/helpers/zod.d.ts +2 -2
- package/dist/editor-sample/documents/editor/EditorBlock.d.ts +6 -2
- package/dist/editor-sample/documents/editor/EditorContext.d.ts +15 -1
- package/dist/editor-sample/documents/editor/core.d.ts +248 -85
- package/dist/email-builder-core/blocks/AccessibilityTools/AccessibilityToolsPropsSchema.d.ts +21 -3
- package/dist/email-builder-core/blocks/Accordion/AccordionPropsSchema.d.ts +6 -0
- package/dist/email-builder-core/blocks/AppBannerPicker/AppBannerPropsSchema.d.ts +6 -0
- package/dist/email-builder-core/blocks/ButtonGroup/ButtonGroupPropsSchema.d.ts +6 -6
- package/dist/email-builder-core/blocks/Calendly/CalendlyPropsSchema.d.ts +8 -2
- package/dist/email-builder-core/blocks/ColumnsContainer/ColumnsContainerPropsSchema.d.ts +3 -3
- package/dist/email-builder-core/blocks/Container/ContainerPropsSchema.d.ts +11 -11
- package/dist/email-builder-core/blocks/DemoPicker/DemoPropsSchema.d.ts +2 -2
- package/dist/email-builder-core/blocks/EmailLayout/EmailLayoutPropsSchema.d.ts +5 -5
- package/dist/email-builder-core/blocks/FaqPicker/FaqPickerPropsSchema.d.ts +6 -0
- package/dist/email-builder-core/blocks/FlexColumns/FlexColumnsPropsSchema.d.ts +5 -5
- package/dist/email-builder-core/blocks/FormsPicker/FormsPropsSchema.d.ts +2 -2
- package/dist/email-builder-core/blocks/Grid/GridPropsSchema.d.ts +3 -3
- package/dist/email-builder-core/blocks/Marquee/MarqueePropsSchema.d.ts +6 -1
- package/dist/email-builder-core/blocks/Marquee/marqueeMotion.d.ts +3 -1
- package/dist/email-builder-core/blocks/MenuPicker/MenuPropsSchema.d.ts +4 -4
- package/dist/email-builder-core/blocks/Pagination/PaginationPropsSchema.d.ts +5 -5
- package/dist/email-builder-core/blocks/PricingAccordion/PricingAccordionPropsSchema.d.ts +2 -2
- package/dist/email-builder-core/blocks/Rating/RatingPropsSchema.d.ts +8 -2
- package/dist/email-builder-core/blocks/SkipLink/SkipLinkPropsSchema.d.ts +12 -2
- package/dist/email-builder-core/blocks/Table/TablePropsSchema.d.ts +8 -2
- package/dist/email-builder-core/blocks/TabsBlock/TabsBlockPropsSchema.d.ts +6 -0
- package/dist/email-builder-core/blocks/Timer/TimerPropsSchema.d.ts +6 -0
- package/dist/email-builder-core/blocks/helpers/blockStyleHelpers.d.ts +1 -0
- package/dist/email-builder-core/renderers/pageScripts.d.ts +8 -0
- package/dist/host-stubs/i18n.d.ts +1 -1
- package/dist/host-stubs/style/menu.styled.d.ts +7 -1
- package/dist/host-stubs/view/media/IconLibrary/ChooseImageDialog.d.ts +10 -0
- package/dist/host-stubs/view/media/IconLibrary/IconGrid.d.ts +8 -0
- package/dist/host-stubs/view/media/IconLibrary/IconGridCell.d.ts +8 -0
- package/dist/host-stubs/view/media/IconLibrary/IconLibraryModal.d.ts +6 -0
- package/dist/host-stubs/view/media/IconLibrary/IconProvider.d.ts +4 -0
- package/dist/host-stubs/view/media/IconLibrary/IconSearch.d.ts +6 -0
- package/dist/host-stubs/view/media/IconLibrary/iconLoaders.d.ts +6 -0
- package/dist/host-stubs/view/media/IconLibrary/iconNames.d.ts +1 -0
- package/dist/host-stubs/view/media/IconLibrary/index.d.ts +6 -0
- package/dist/host-stubs/view/shared/modals/PopupConfirm.d.ts +8 -6
- package/dist/index.cjs +289 -288
- package/dist/index.js +42064 -34311
- package/package.json +11 -10
package/dist/email-builder-core/blocks/AccessibilityTools/AccessibilityToolsPropsSchema.d.ts
CHANGED
|
@@ -7,10 +7,16 @@ export declare const AccessibilityToolsPropsSchema: z.ZodObject<{
|
|
|
7
7
|
bottom: z.ZodNumber;
|
|
8
8
|
left: z.ZodNumber;
|
|
9
9
|
}, z.core.$strip>>>;
|
|
10
|
+
margin: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
11
|
+
top: z.ZodNumber;
|
|
12
|
+
right: z.ZodNumber;
|
|
13
|
+
bottom: z.ZodNumber;
|
|
14
|
+
left: z.ZodNumber;
|
|
15
|
+
}, z.core.$strip>>>;
|
|
10
16
|
textAlign: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
11
|
-
right: "right";
|
|
12
|
-
left: "left";
|
|
13
17
|
center: "center";
|
|
18
|
+
left: "left";
|
|
19
|
+
right: "right";
|
|
14
20
|
}>>>;
|
|
15
21
|
}, z.core.$strip>>>;
|
|
16
22
|
props: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
@@ -37,12 +43,18 @@ export declare const AccessibilityToolsPropsSchema: z.ZodObject<{
|
|
|
37
43
|
bottom: z.ZodNumber;
|
|
38
44
|
left: z.ZodNumber;
|
|
39
45
|
}, z.core.$strip>>>;
|
|
46
|
+
triggerMargin: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
47
|
+
top: z.ZodNumber;
|
|
48
|
+
right: z.ZodNumber;
|
|
49
|
+
bottom: z.ZodNumber;
|
|
50
|
+
left: z.ZodNumber;
|
|
51
|
+
}, z.core.$strip>>>;
|
|
40
52
|
icon: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
53
|
+
info: "info";
|
|
41
54
|
accessibility: "accessibility";
|
|
42
55
|
"universal-access": "universal-access";
|
|
43
56
|
person: "person";
|
|
44
57
|
eye: "eye";
|
|
45
|
-
info: "info";
|
|
46
58
|
}>>>;
|
|
47
59
|
features: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
48
60
|
contrast: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
@@ -75,5 +87,11 @@ export declare const AccessibilityToolsDefaults: {
|
|
|
75
87
|
bottom: number;
|
|
76
88
|
left: number;
|
|
77
89
|
};
|
|
90
|
+
triggerMargin: {
|
|
91
|
+
top: number;
|
|
92
|
+
right: number;
|
|
93
|
+
bottom: number;
|
|
94
|
+
left: number;
|
|
95
|
+
};
|
|
78
96
|
icon: "accessibility";
|
|
79
97
|
};
|
|
@@ -26,6 +26,12 @@ export declare const AccordionPropsSchema: z.ZodObject<{
|
|
|
26
26
|
right: z.ZodNumber;
|
|
27
27
|
left: z.ZodNumber;
|
|
28
28
|
}, z.core.$strip>>>;
|
|
29
|
+
margin: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
30
|
+
top: z.ZodNumber;
|
|
31
|
+
bottom: z.ZodNumber;
|
|
32
|
+
right: z.ZodNumber;
|
|
33
|
+
left: z.ZodNumber;
|
|
34
|
+
}, z.core.$strip>>>;
|
|
29
35
|
}, z.core.$strip>>>;
|
|
30
36
|
props: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
31
37
|
items: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -11,6 +11,12 @@ export declare const AppBannerPropsSchema: z.ZodObject<{
|
|
|
11
11
|
bottom: z.ZodNumber;
|
|
12
12
|
left: z.ZodNumber;
|
|
13
13
|
}, z.core.$strip>>>;
|
|
14
|
+
margin: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
15
|
+
top: z.ZodNumber;
|
|
16
|
+
right: z.ZodNumber;
|
|
17
|
+
bottom: z.ZodNumber;
|
|
18
|
+
left: z.ZodNumber;
|
|
19
|
+
}, z.core.$strip>>>;
|
|
14
20
|
}, z.core.$strip>>>;
|
|
15
21
|
}, z.core.$strip>;
|
|
16
22
|
export type AppBannerPickerProps = z.infer<typeof AppBannerPropsSchema>;
|
|
@@ -26,21 +26,21 @@ declare const ButtonGroupPropsSchema: z.ZodObject<{
|
|
|
26
26
|
gap: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
27
27
|
alignment: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
28
28
|
center: "center";
|
|
29
|
-
"space-between": "space-between";
|
|
30
|
-
start: "start";
|
|
31
29
|
end: "end";
|
|
30
|
+
start: "start";
|
|
31
|
+
"space-between": "space-between";
|
|
32
32
|
}>>>;
|
|
33
33
|
alignmentTablet: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
34
34
|
center: "center";
|
|
35
|
-
"space-between": "space-between";
|
|
36
|
-
start: "start";
|
|
37
35
|
end: "end";
|
|
36
|
+
start: "start";
|
|
37
|
+
"space-between": "space-between";
|
|
38
38
|
}>>>;
|
|
39
39
|
alignmentMobile: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
40
40
|
center: "center";
|
|
41
|
-
"space-between": "space-between";
|
|
42
|
-
start: "start";
|
|
43
41
|
end: "end";
|
|
42
|
+
start: "start";
|
|
43
|
+
"space-between": "space-between";
|
|
44
44
|
}>>>;
|
|
45
45
|
wrap: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
46
46
|
ariaLabel: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -11,10 +11,16 @@ export declare const CalendlyPropsSchema: z.ZodObject<{
|
|
|
11
11
|
right: z.ZodNumber;
|
|
12
12
|
left: z.ZodNumber;
|
|
13
13
|
}, z.core.$strip>>>;
|
|
14
|
+
margin: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
15
|
+
top: z.ZodNumber;
|
|
16
|
+
bottom: z.ZodNumber;
|
|
17
|
+
right: z.ZodNumber;
|
|
18
|
+
left: z.ZodNumber;
|
|
19
|
+
}, z.core.$strip>>>;
|
|
14
20
|
textAlign: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
15
|
-
right: "right";
|
|
16
|
-
left: "left";
|
|
17
21
|
center: "center";
|
|
22
|
+
left: "left";
|
|
23
|
+
right: "right";
|
|
18
24
|
}>>>;
|
|
19
25
|
}, z.core.$strip>>>;
|
|
20
26
|
props: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
@@ -71,18 +71,18 @@ declare const ColumnsContainerPropsSchema: z.ZodObject<{
|
|
|
71
71
|
vertical: "vertical";
|
|
72
72
|
}>>>;
|
|
73
73
|
contentAlignment: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
74
|
-
top: "top";
|
|
75
74
|
bottom: "bottom";
|
|
75
|
+
top: "top";
|
|
76
76
|
middle: "middle";
|
|
77
77
|
}>>>;
|
|
78
78
|
contentAlignmentTablet: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
79
|
-
top: "top";
|
|
80
79
|
bottom: "bottom";
|
|
80
|
+
top: "top";
|
|
81
81
|
middle: "middle";
|
|
82
82
|
}>>>;
|
|
83
83
|
contentAlignmentMobile: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
84
|
-
top: "top";
|
|
85
84
|
bottom: "bottom";
|
|
85
|
+
top: "top";
|
|
86
86
|
middle: "middle";
|
|
87
87
|
}>>>;
|
|
88
88
|
}, z.core.$strip>>>;
|
|
@@ -68,37 +68,37 @@ export declare const ContainerPropsSchema: z.ZodObject<{
|
|
|
68
68
|
heightMobile: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
69
69
|
overflow: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
70
70
|
alignment: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
71
|
-
right: "right";
|
|
72
|
-
left: "left";
|
|
73
71
|
center: "center";
|
|
72
|
+
left: "left";
|
|
73
|
+
right: "right";
|
|
74
74
|
}>>>;
|
|
75
75
|
alignmentTablet: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
76
|
-
right: "right";
|
|
77
|
-
left: "left";
|
|
78
76
|
center: "center";
|
|
77
|
+
left: "left";
|
|
78
|
+
right: "right";
|
|
79
79
|
}>>>;
|
|
80
80
|
alignmentMobile: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
81
|
-
right: "right";
|
|
82
|
-
left: "left";
|
|
83
81
|
center: "center";
|
|
82
|
+
left: "left";
|
|
83
|
+
right: "right";
|
|
84
84
|
}>>>;
|
|
85
85
|
tag: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
86
|
-
div: "div";
|
|
87
|
-
section: "section";
|
|
88
86
|
article: "article";
|
|
89
|
-
nav: "nav";
|
|
90
87
|
aside: "aside";
|
|
91
|
-
|
|
88
|
+
div: "div";
|
|
92
89
|
footer: "footer";
|
|
90
|
+
header: "header";
|
|
93
91
|
main: "main";
|
|
92
|
+
nav: "nav";
|
|
93
|
+
section: "section";
|
|
94
94
|
}>>>;
|
|
95
95
|
ariaLabel: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
96
96
|
elementId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
97
97
|
showLink: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
98
98
|
linkHref: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
99
99
|
linkTarget: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
100
|
-
_self: "_self";
|
|
101
100
|
_blank: "_blank";
|
|
101
|
+
_self: "_self";
|
|
102
102
|
}>>>;
|
|
103
103
|
}, z.core.$strip>>>;
|
|
104
104
|
}, z.core.$strip>;
|
|
@@ -18,9 +18,9 @@ export declare const DemoPropsSchema: z.ZodObject<{
|
|
|
18
18
|
left: z.ZodNumber;
|
|
19
19
|
}, z.core.$strip>>>;
|
|
20
20
|
textAlign: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
21
|
-
right: "right";
|
|
22
|
-
left: "left";
|
|
23
21
|
center: "center";
|
|
22
|
+
left: "left";
|
|
23
|
+
right: "right";
|
|
24
24
|
}>>>;
|
|
25
25
|
}, z.core.$strip>>>;
|
|
26
26
|
props: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
@@ -103,11 +103,11 @@ export declare const EmailLayoutPropsSchema: z.ZodObject<{
|
|
|
103
103
|
}, z.core.$strip>>>;
|
|
104
104
|
behaviour: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
105
105
|
position: z.ZodDefault<z.ZodOptional<z.ZodEnum<{
|
|
106
|
-
|
|
106
|
+
center: "center";
|
|
107
107
|
bottom: "bottom";
|
|
108
|
-
right: "right";
|
|
109
108
|
left: "left";
|
|
110
|
-
|
|
109
|
+
right: "right";
|
|
110
|
+
top: "top";
|
|
111
111
|
"top-left": "top-left";
|
|
112
112
|
"top-center": "top-center";
|
|
113
113
|
"top-right": "top-right";
|
|
@@ -122,9 +122,9 @@ export declare const EmailLayoutPropsSchema: z.ZodObject<{
|
|
|
122
122
|
showCloseIcon: z.ZodOptional<z.ZodBoolean>;
|
|
123
123
|
iconCloseColor: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString, z.ZodLiteral<"transparent">]>>>;
|
|
124
124
|
closeIconPosition: z.ZodOptional<z.ZodEnum<{
|
|
125
|
-
right: "right";
|
|
126
|
-
left: "left";
|
|
127
125
|
center: "center";
|
|
126
|
+
left: "left";
|
|
127
|
+
right: "right";
|
|
128
128
|
}>>;
|
|
129
129
|
closeIconPaddingTop: z.ZodOptional<z.ZodNumber>;
|
|
130
130
|
closeIconPaddingLeft: z.ZodOptional<z.ZodNumber>;
|
|
@@ -11,6 +11,12 @@ export declare const FaqPickerPropsSchema: z.ZodObject<{
|
|
|
11
11
|
bottom: z.ZodNumber;
|
|
12
12
|
left: z.ZodNumber;
|
|
13
13
|
}, z.core.$strip>>>;
|
|
14
|
+
margin: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
15
|
+
top: z.ZodNumber;
|
|
16
|
+
right: z.ZodNumber;
|
|
17
|
+
bottom: z.ZodNumber;
|
|
18
|
+
left: z.ZodNumber;
|
|
19
|
+
}, z.core.$strip>>>;
|
|
14
20
|
}, z.core.$strip>>>;
|
|
15
21
|
}, z.core.$strip>;
|
|
16
22
|
export type FaqPickerProps = z.infer<typeof FaqPickerPropsSchema>;
|
|
@@ -33,16 +33,16 @@ declare const FlexColumnsPropsSchema: z.ZodObject<{
|
|
|
33
33
|
columnsGap: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
34
34
|
wrap: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
35
35
|
desktopLayout: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
36
|
-
wrap: "wrap";
|
|
37
36
|
row: "row";
|
|
37
|
+
wrap: "wrap";
|
|
38
38
|
}>>>;
|
|
39
39
|
mobileLayout: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
40
|
-
wrap: "wrap";
|
|
41
40
|
row: "row";
|
|
41
|
+
wrap: "wrap";
|
|
42
42
|
}>>>;
|
|
43
43
|
tabletLayout: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
44
|
-
wrap: "wrap";
|
|
45
44
|
row: "row";
|
|
45
|
+
wrap: "wrap";
|
|
46
46
|
}>>>;
|
|
47
47
|
columnShrink: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodBoolean>>>;
|
|
48
48
|
columnShrinkTablet: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodBoolean>>>;
|
|
@@ -53,9 +53,9 @@ declare const FlexColumnsPropsSchema: z.ZodObject<{
|
|
|
53
53
|
}, z.core.$strip>>>>;
|
|
54
54
|
align: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
55
55
|
center: "center";
|
|
56
|
-
"flex-start": "flex-start";
|
|
57
|
-
"flex-end": "flex-end";
|
|
58
56
|
stretch: "stretch";
|
|
57
|
+
"flex-end": "flex-end";
|
|
58
|
+
"flex-start": "flex-start";
|
|
59
59
|
}>>>;
|
|
60
60
|
reverseColumns: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
61
61
|
repeatableEnabled: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
@@ -10,9 +10,9 @@ export declare const FormsPropsSchema: z.ZodObject<{
|
|
|
10
10
|
heightTablet: z.ZodOptional<z.ZodString>;
|
|
11
11
|
heightMobile: z.ZodOptional<z.ZodString>;
|
|
12
12
|
alignment: z.ZodDefault<z.ZodEnum<{
|
|
13
|
-
right: "right";
|
|
14
|
-
left: "left";
|
|
15
13
|
center: "center";
|
|
14
|
+
left: "left";
|
|
15
|
+
right: "right";
|
|
16
16
|
}>>;
|
|
17
17
|
}, z.core.$strip>>>;
|
|
18
18
|
}, z.core.$strip>;
|
|
@@ -39,14 +39,14 @@ declare const GridPropsSchema: z.ZodObject<{
|
|
|
39
39
|
columnsCountTablet: z.ZodNullable<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>]>>>;
|
|
40
40
|
columnsCountMobile: z.ZodNullable<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>]>>>;
|
|
41
41
|
contentAlignment: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
42
|
-
top: "top";
|
|
43
42
|
bottom: "bottom";
|
|
43
|
+
top: "top";
|
|
44
44
|
middle: "middle";
|
|
45
45
|
}>>>;
|
|
46
46
|
horizontalAlignment: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
47
|
-
right: "right";
|
|
48
|
-
left: "left";
|
|
49
47
|
center: "center";
|
|
48
|
+
left: "left";
|
|
49
|
+
right: "right";
|
|
50
50
|
}>>>;
|
|
51
51
|
columnsCount: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
52
52
|
rowsCount: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -35,8 +35,8 @@ export declare const MarqueePropsSchema: z.ZodObject<{
|
|
|
35
35
|
}, z.core.$strip>>>;
|
|
36
36
|
props: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
37
37
|
direction: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
38
|
-
right: "right";
|
|
39
38
|
left: "left";
|
|
39
|
+
right: "right";
|
|
40
40
|
up: "up";
|
|
41
41
|
down: "down";
|
|
42
42
|
}>>>;
|
|
@@ -44,6 +44,11 @@ export declare const MarqueePropsSchema: z.ZodObject<{
|
|
|
44
44
|
pauseOnHover: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
45
45
|
repeat: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
46
46
|
fadeEdges: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
47
|
+
verticalAlign: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
48
|
+
bottom: "bottom";
|
|
49
|
+
top: "top";
|
|
50
|
+
middle: "middle";
|
|
51
|
+
}>>>;
|
|
47
52
|
items: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
48
53
|
contentChildrenIds: z.ZodNullable<z.ZodOptional<z.ZodArray<z.ZodString>>>;
|
|
49
54
|
}, z.core.$strip>>>>;
|
|
@@ -17,6 +17,7 @@ export type ResponsiveSlices = {
|
|
|
17
17
|
type ResponsiveDevice = 'tablet' | 'mobile';
|
|
18
18
|
export declare const clampRepeat: (v: unknown) => number;
|
|
19
19
|
export declare const isVerticalDirection: (direction: string) => direction is "up" | "down";
|
|
20
|
+
export declare const verticalAlignToCss: (v: unknown) => string;
|
|
20
21
|
/** The gradient that fades the marquee's leading/trailing edges. */
|
|
21
22
|
export declare const fadeMask: (isVertical: boolean) => "linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent)" | "linear-gradient(to right, transparent, #000 12%, #000 88%, transparent)";
|
|
22
23
|
/** The block's own (desktop) motion — the base every device inherits from. */
|
|
@@ -34,7 +35,8 @@ export type MarqueeCssArgs = {
|
|
|
34
35
|
repeat: number;
|
|
35
36
|
desktop: MarqueeMotion;
|
|
36
37
|
responsive: ResponsiveSlices;
|
|
38
|
+
verticalAlign?: string | null;
|
|
37
39
|
};
|
|
38
40
|
/** The whole scoped stylesheet for one marquee instance, breakpoints included. */
|
|
39
|
-
export declare function buildMarqueeCss({ instanceId, direction, repeat, desktop, responsive, }: MarqueeCssArgs): string;
|
|
41
|
+
export declare function buildMarqueeCss({ instanceId, direction, repeat, desktop, responsive, verticalAlign, }: MarqueeCssArgs): string;
|
|
40
42
|
export {};
|
|
@@ -4,9 +4,9 @@ declare const MenuPropsInnerSchema: z.ZodObject<{
|
|
|
4
4
|
useCustomMenu: z.ZodDefault<z.ZodBoolean>;
|
|
5
5
|
stickyNav: z.ZodDefault<z.ZodBoolean>;
|
|
6
6
|
position: z.ZodDefault<z.ZodEnum<{
|
|
7
|
-
right: "right";
|
|
8
|
-
left: "left";
|
|
9
7
|
center: "center";
|
|
8
|
+
left: "left";
|
|
9
|
+
right: "right";
|
|
10
10
|
}>>;
|
|
11
11
|
orientation: z.ZodDefault<z.ZodEnum<{
|
|
12
12
|
horizontal: "horizontal";
|
|
@@ -48,9 +48,9 @@ export declare const MenuPropsSchema: z.ZodObject<{
|
|
|
48
48
|
useCustomMenu: z.ZodDefault<z.ZodBoolean>;
|
|
49
49
|
stickyNav: z.ZodDefault<z.ZodBoolean>;
|
|
50
50
|
position: z.ZodDefault<z.ZodEnum<{
|
|
51
|
-
right: "right";
|
|
52
|
-
left: "left";
|
|
53
51
|
center: "center";
|
|
52
|
+
left: "left";
|
|
53
|
+
right: "right";
|
|
54
54
|
}>>;
|
|
55
55
|
orientation: z.ZodDefault<z.ZodEnum<{
|
|
56
56
|
horizontal: "horizontal";
|
|
@@ -32,9 +32,9 @@ export declare const PaginationPropsSchema: z.ZodObject<{
|
|
|
32
32
|
rowsGap: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
33
33
|
controlGap: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
34
34
|
controlAlign: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
35
|
-
right: "right";
|
|
36
|
-
left: "left";
|
|
37
35
|
center: "center";
|
|
36
|
+
left: "left";
|
|
37
|
+
right: "right";
|
|
38
38
|
"space-between": "space-between";
|
|
39
39
|
}>>>;
|
|
40
40
|
buttonSize: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -64,14 +64,14 @@ export declare const PaginationPropsSchema: z.ZodObject<{
|
|
|
64
64
|
rowsCountTablet: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
65
65
|
rowsCountMobile: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
66
66
|
contentAlignment: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
67
|
-
top: "top";
|
|
68
67
|
bottom: "bottom";
|
|
68
|
+
top: "top";
|
|
69
69
|
middle: "middle";
|
|
70
70
|
}>>>;
|
|
71
71
|
horizontalAlignment: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
72
|
-
right: "right";
|
|
73
|
-
left: "left";
|
|
74
72
|
center: "center";
|
|
73
|
+
left: "left";
|
|
74
|
+
right: "right";
|
|
75
75
|
}>>>;
|
|
76
76
|
cellsPerPage: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
77
77
|
repeatableEnabled: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
@@ -34,9 +34,9 @@ export declare const PricingAccordionPropsSchema: z.ZodObject<{
|
|
|
34
34
|
cardFontFamily: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
35
35
|
cardFontWeight: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
36
36
|
cardTextAlign: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
37
|
-
right: "right";
|
|
38
|
-
left: "left";
|
|
39
37
|
center: "center";
|
|
38
|
+
left: "left";
|
|
39
|
+
right: "right";
|
|
40
40
|
}>>>;
|
|
41
41
|
cardHoverBgColor: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
42
42
|
cardHoverShadow: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -10,9 +10,9 @@ export declare const RatingPropsSchema: z.ZodObject<{
|
|
|
10
10
|
fontFamily: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
11
11
|
fontWeight: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
12
12
|
textAlign: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
13
|
-
right: "right";
|
|
14
|
-
left: "left";
|
|
15
13
|
center: "center";
|
|
14
|
+
left: "left";
|
|
15
|
+
right: "right";
|
|
16
16
|
}>>>;
|
|
17
17
|
padding: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
18
18
|
top: z.ZodNumber;
|
|
@@ -20,6 +20,12 @@ export declare const RatingPropsSchema: z.ZodObject<{
|
|
|
20
20
|
right: z.ZodNumber;
|
|
21
21
|
left: z.ZodNumber;
|
|
22
22
|
}, z.core.$strip>>>;
|
|
23
|
+
margin: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
24
|
+
top: z.ZodNumber;
|
|
25
|
+
bottom: z.ZodNumber;
|
|
26
|
+
right: z.ZodNumber;
|
|
27
|
+
left: z.ZodNumber;
|
|
28
|
+
}, z.core.$strip>>>;
|
|
23
29
|
}, z.core.$strip>>>;
|
|
24
30
|
props: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
25
31
|
value: z.ZodNullable<z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
|
|
@@ -7,10 +7,16 @@ export declare const SkipLinkPropsSchema: z.ZodObject<{
|
|
|
7
7
|
bottom: z.ZodNumber;
|
|
8
8
|
left: z.ZodNumber;
|
|
9
9
|
}, z.core.$strip>>>;
|
|
10
|
+
margin: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
11
|
+
top: z.ZodNumber;
|
|
12
|
+
right: z.ZodNumber;
|
|
13
|
+
bottom: z.ZodNumber;
|
|
14
|
+
left: z.ZodNumber;
|
|
15
|
+
}, z.core.$strip>>>;
|
|
10
16
|
textAlign: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
11
|
-
right: "right";
|
|
12
|
-
left: "left";
|
|
13
17
|
center: "center";
|
|
18
|
+
left: "left";
|
|
19
|
+
right: "right";
|
|
14
20
|
}>>>;
|
|
15
21
|
}, z.core.$strip>>>;
|
|
16
22
|
props: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
@@ -22,6 +28,8 @@ export declare const SkipLinkPropsSchema: z.ZodObject<{
|
|
|
22
28
|
borderRadius: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
23
29
|
paddingX: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
24
30
|
paddingY: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
31
|
+
marginX: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
32
|
+
marginY: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
25
33
|
displayMode: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
26
34
|
"focus-only": "focus-only";
|
|
27
35
|
"always-visible": "always-visible";
|
|
@@ -38,5 +46,7 @@ export declare const SkipLinkDefaults: {
|
|
|
38
46
|
borderRadius: number;
|
|
39
47
|
paddingX: number;
|
|
40
48
|
paddingY: number;
|
|
49
|
+
marginX: number;
|
|
50
|
+
marginY: number;
|
|
41
51
|
displayMode: "always-visible";
|
|
42
52
|
};
|
|
@@ -7,10 +7,16 @@ export declare const TablePropsSchema: z.ZodObject<{
|
|
|
7
7
|
bottom: z.ZodNumber;
|
|
8
8
|
left: z.ZodNumber;
|
|
9
9
|
}, z.core.$strip>>>;
|
|
10
|
+
margin: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
11
|
+
top: z.ZodNumber;
|
|
12
|
+
right: z.ZodNumber;
|
|
13
|
+
bottom: z.ZodNumber;
|
|
14
|
+
left: z.ZodNumber;
|
|
15
|
+
}, z.core.$strip>>>;
|
|
10
16
|
textAlign: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
11
|
-
right: "right";
|
|
12
|
-
left: "left";
|
|
13
17
|
center: "center";
|
|
18
|
+
left: "left";
|
|
19
|
+
right: "right";
|
|
14
20
|
}>>>;
|
|
15
21
|
fontSize: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
16
22
|
fontFamily: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -23,6 +23,12 @@ export declare const TabsBlockPropsSchema: z.ZodObject<{
|
|
|
23
23
|
right: z.ZodNumber;
|
|
24
24
|
left: z.ZodNumber;
|
|
25
25
|
}, z.core.$strip>>>;
|
|
26
|
+
margin: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
27
|
+
top: z.ZodNumber;
|
|
28
|
+
bottom: z.ZodNumber;
|
|
29
|
+
right: z.ZodNumber;
|
|
30
|
+
left: z.ZodNumber;
|
|
31
|
+
}, z.core.$strip>>>;
|
|
26
32
|
tabActiveColor: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
27
33
|
tabTextColor: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
28
34
|
tabBgColor: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
@@ -17,6 +17,12 @@ export declare const TimerPropsSchema: z.ZodObject<{
|
|
|
17
17
|
bottom: z.ZodNumber;
|
|
18
18
|
left: z.ZodNumber;
|
|
19
19
|
}, z.core.$strip>>>;
|
|
20
|
+
margin: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
21
|
+
top: z.ZodNumber;
|
|
22
|
+
right: z.ZodNumber;
|
|
23
|
+
bottom: z.ZodNumber;
|
|
24
|
+
left: z.ZodNumber;
|
|
25
|
+
}, z.core.$strip>>>;
|
|
20
26
|
}, z.core.$strip>>>;
|
|
21
27
|
props: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
22
28
|
layout: z.ZodDefault<z.ZodEnum<{
|
|
@@ -5,6 +5,7 @@ type TPadding = {
|
|
|
5
5
|
left: number;
|
|
6
6
|
} | null | undefined;
|
|
7
7
|
export declare function formatPadding(p: TPadding): string | undefined;
|
|
8
|
+
export declare function formatMargin(m: TPadding): string | undefined;
|
|
8
9
|
/**
|
|
9
10
|
* Pick the visible text for a trigger with an optional "show text" toggle.
|
|
10
11
|
* - When `showText` is false → returns null (caller should render no text).
|
|
@@ -2,6 +2,14 @@ import { TReaderDocument } from '../Reader/core';
|
|
|
2
2
|
export declare const hasTabsBlock: (document: TReaderDocument) => boolean;
|
|
3
3
|
export declare const hasDemoBlock: (document: TReaderDocument) => boolean;
|
|
4
4
|
export declare const hasCarouselBlock: (document: TReaderDocument) => boolean;
|
|
5
|
+
export declare const hasPaginationBlock: (document: TReaderDocument) => boolean;
|
|
6
|
+
export declare const hasTimerBlock: (document: TReaderDocument) => boolean;
|
|
7
|
+
export declare const PAGE_PILOT_SCRIPTS_BASE_URL = "https://pagepilot.fabbuilder.com/scripts";
|
|
8
|
+
export declare const TABS_SCRIPT_URL = "https://pagepilot.fabbuilder.com/scripts/pagePilotTabs.js";
|
|
9
|
+
export declare const CAROUSEL_SCRIPT_URL = "https://pagepilot.fabbuilder.com/scripts/pagePilotCarousel.js";
|
|
10
|
+
export declare const PAGINATION_SCRIPT_URL = "https://pagepilot.fabbuilder.com/scripts/pagePilotPagination.js";
|
|
11
|
+
export declare const DEMO_SCALE_SCRIPT_URL = "https://pagepilot.fabbuilder.com/scripts/pagePilotDemoScale.js";
|
|
12
|
+
export declare const TIMER_SCRIPT_URL = "https://pagepilot.fabbuilder.com/scripts/pagePilotTimer.js";
|
|
5
13
|
export declare const buildDemoScaleJs: () => string;
|
|
6
14
|
export declare const buildTabsScript: () => string;
|
|
7
15
|
export declare const buildCarouselScript: () => string;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
export declare function setPagePilotEditorTranslations(overrides: Record<string, string> | null | undefined): void;
|
|
3
3
|
/** Restore the built-in English dictionary. */
|
|
4
4
|
export declare function resetPagePilotEditorTranslations(): void;
|
|
5
|
-
export declare function i18n(key: string, ...
|
|
5
|
+
export declare function i18n(key: string, ...args: unknown[]): string;
|
|
6
6
|
export declare const i18nExists: (key: string) => boolean;
|
|
7
7
|
export declare const setLanguageCode: (..._args: unknown[]) => void;
|
|
8
8
|
export default i18n;
|
|
@@ -6,7 +6,13 @@ type BlockPadding = {
|
|
|
6
6
|
bottom: number;
|
|
7
7
|
left: number;
|
|
8
8
|
} | null | undefined;
|
|
9
|
-
|
|
9
|
+
type BlockMargin = {
|
|
10
|
+
top: number;
|
|
11
|
+
right: number;
|
|
12
|
+
bottom: number;
|
|
13
|
+
left: number;
|
|
14
|
+
} | null | undefined;
|
|
15
|
+
export declare const menuNav: (backgroundColor: string, position: string, hasSlots?: boolean, blockPadding?: BlockPadding, blockMargin?: BlockMargin) => CSSProperties;
|
|
10
16
|
export declare const menuSlot: (align: "start" | "center" | "end", isCenter?: boolean) => CSSProperties;
|
|
11
17
|
export declare const menuList: (orientation: string, level: number, gap: string) => CSSProperties;
|
|
12
18
|
export declare const menuListItem: CSSProperties;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
type MediaType = 'image' | 'video' | 'audio' | 'document';
|
|
2
|
+
export interface ChooseImageDialogProps {
|
|
3
|
+
isOpen: boolean;
|
|
4
|
+
onClose: () => void;
|
|
5
|
+
onFilesSelected: (files: any[]) => void;
|
|
6
|
+
onIconSelected: (dataUri: string, iconName: string) => void;
|
|
7
|
+
mediaType?: MediaType;
|
|
8
|
+
}
|
|
9
|
+
export default function ChooseImageDialog({ isOpen, onClose, onFilesSelected, onIconSelected, mediaType, }: ChooseImageDialogProps): import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
interface IconGridProps {
|
|
2
|
+
names: string[];
|
|
3
|
+
onSelect: (name: string) => void;
|
|
4
|
+
selected?: string | null;
|
|
5
|
+
pendingName?: string | null;
|
|
6
|
+
}
|
|
7
|
+
export default function IconGrid({ names, onSelect, selected, pendingName }: IconGridProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
interface IconGridCellProps {
|
|
2
|
+
name: string;
|
|
3
|
+
selected?: boolean;
|
|
4
|
+
loading?: boolean;
|
|
5
|
+
onClick: (name: string) => void;
|
|
6
|
+
}
|
|
7
|
+
export default function IconGridCell({ name, selected, loading, onClick }: IconGridCellProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export interface IconLibraryModalProps {
|
|
2
|
+
isOpen: boolean;
|
|
3
|
+
onClose: () => void;
|
|
4
|
+
onIconSelected: (dataUri: string, iconName: string) => void;
|
|
5
|
+
}
|
|
6
|
+
export default function IconLibraryModal({ isOpen, onClose, onIconSelected }: IconLibraryModalProps): import("react/jsx-runtime").JSX.Element;
|