pagepilot-visual-editor 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/CHANGELOG.md +64 -0
- package/LICENSE +21 -0
- package/README.md +553 -0
- package/dist/PagePilotEditor.d.ts +17 -0
- package/dist/blocks-internal/block-button/src/NudegeIcons.d.ts +18 -0
- package/dist/blocks-internal/block-button/src/icons.d.ts +5 -0
- package/dist/blocks-internal/block-button/src/index.d.ts +145 -0
- package/dist/blocks-internal/block-button-group/src/index.d.ts +35 -0
- package/dist/blocks-internal/block-columns-container/src/index.d.ts +38 -0
- package/dist/blocks-internal/block-container/src/index.d.ts +72 -0
- package/dist/blocks-internal/block-divider/src/index.d.ts +23 -0
- package/dist/blocks-internal/block-grid/src/index.d.ts +32 -0
- package/dist/blocks-internal/block-heading/src/index.d.ts +99 -0
- package/dist/blocks-internal/block-html/src/index.d.ts +56 -0
- package/dist/blocks-internal/block-iframe/src/index.d.ts +26 -0
- package/dist/blocks-internal/block-image/src/index.d.ts +68 -0
- package/dist/blocks-internal/block-logo/src/index.d.ts +64 -0
- package/dist/blocks-internal/block-stepper/src/index.d.ts +52 -0
- package/dist/blocks-internal/block-text/src/EmailMarkdown.d.ts +8 -0
- package/dist/blocks-internal/block-text/src/index.d.ts +70 -0
- package/dist/blocks-internal/block-video/src/index.d.ts +46 -0
- package/dist/blocks-internal/block-youtube-url/src/index.d.ts +32 -0
- package/dist/editor/Shell.d.ts +6 -0
- package/dist/editor/StatusPill.d.ts +3 -0
- package/dist/editor/Topbar.d.ts +27 -0
- package/dist/editor/blockToggles.d.ts +12 -0
- package/dist/editor/theme.d.ts +10 -0
- package/dist/editor/types.d.ts +128 -0
- package/dist/editor-sample/App/InspectorDrawer/BehaviourPanel.d.ts +1 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/BlockStyleClipboardBar.d.ts +16 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/blockStyleClipboard.d.ts +83 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/index.d.ts +5 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/AccessibilityToolsSidebarPanel.d.ts +8 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/AccordionSidebarPanel.d.ts +8 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/AvatarSidebarPanel.d.ts +8 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/ButtonGroupSidebarPanel.d.ts +8 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/ButtonSidebarPanel.d.ts +7 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/CalendlySidebarPanel.d.ts +8 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/CarouselSidebarPanel.d.ts +8 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/ColumnsContainerSidebarPanel.d.ts +8 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/ContainerSidebarPanel.d.ts +8 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/DividerSidebarPanel.d.ts +8 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/FlexColumns/ColumnSection.d.ts +10 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/FlexColumnsSidebarPanel.d.ts +8 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/GridSidebarPanel.d.ts +8 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/HeadingSidebarPanel.d.ts +8 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/HtmlSidebarPanel.d.ts +8 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/IframeSidebarPanel.d.ts +8 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/ImageSidebarPanel.d.ts +8 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/LogoSidebarPanel.d.ts +8 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/MarqueeSidebarPanel.d.ts +8 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/PagePilotLayoutSidebarPanel.d.ts +24 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/PricingAccordionSidebarPanel.d.ts +8 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/PricingAccordionSidebarPanel.styled.d.ts +7 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/RatingSidebarPanel.d.ts +8 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/SkipLinkSidebarPanel.d.ts +8 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/SpacerSidebarPanel.d.ts +8 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/StepperSidebarPanel.d.ts +9 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/TabsBlockSidebarPanel.d.ts +8 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/TextSidebarPanel.d.ts +8 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/VideoSidebarPanel.d.ts +8 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/BaseSidebarPanel.d.ts +9 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/CollapsibleSection.d.ts +13 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/ContrastWarning.d.ts +9 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/MediaLibraryButton.d.ts +17 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/SectionWrapper.d.ts +8 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/contrast.d.ts +10 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/BooleanInput.d.ts +8 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/CodeEditor.d.ts +7 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/ColorInput/BaseColorInput.d.ts +14 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/ColorInput/Picker.d.ts +28 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/ColorInput/Swatch.d.ts +7 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/ColorInput/index.d.ts +14 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/ColumnWidthsInput.d.ts +10 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/FontFamily.d.ts +11 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/FontSizeInput.d.ts +9 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/FontStyleInput.d.ts +8 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/FontWeightInput.d.ts +9 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/NumberInput.d.ts +22 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/PaddingInput.d.ts +16 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/RadioGroupInput.d.ts +9 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/RadiusInput.d.ts +20 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/SliderInput.d.ts +14 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/SwitchInput.d.ts +9 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/TextAlignInput.d.ts +8 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/TextDecorationInput.d.ts +8 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/TextDimensionInput.d.ts +9 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/TextInput.d.ts +24 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/WidthInputWithSelect.d.ts +12 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/inputs/raw/RawSliderInput.d.ts +13 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/style-inputs/MultiStylePropertyPanel.d.ts +9 -0
- package/dist/editor-sample/App/InspectorDrawer/ConfigurationPanel/input-panels/helpers/style-inputs/SingleStylePropertyPanel.d.ts +9 -0
- package/dist/editor-sample/App/InspectorDrawer/EditorBehavior.d.ts +21 -0
- package/dist/editor-sample/App/InspectorDrawer/LayersPanel.d.ts +2 -0
- package/dist/editor-sample/App/InspectorDrawer/LayersPanelStyles.d.ts +27 -0
- package/dist/editor-sample/App/InspectorDrawer/LayoutPanel/BlocksPanel.d.ts +3 -0
- package/dist/editor-sample/App/InspectorDrawer/LayoutPanel/icons/index.d.ts +16 -0
- package/dist/editor-sample/App/InspectorDrawer/LayoutPanel/index.d.ts +6 -0
- package/dist/editor-sample/App/InspectorDrawer/LayoutPanel/templateHelpers.d.ts +1 -0
- package/dist/editor-sample/App/InspectorDrawer/StylesPanel.d.ts +6 -0
- package/dist/editor-sample/App/InspectorDrawer/hooks/useScalarFieldInput.d.ts +23 -0
- package/dist/editor-sample/App/InspectorDrawer/icons/index.d.ts +53 -0
- package/dist/editor-sample/App/InspectorDrawer/index.d.ts +16 -0
- package/dist/editor-sample/App/InspectorDrawer/layerClipboard.d.ts +7 -0
- package/dist/editor-sample/App/InspectorDrawer/useLayerNode.d.ts +35 -0
- package/dist/editor-sample/App/SelectionOverlay/index.d.ts +0 -0
- package/dist/editor-sample/App/TemplatePanel/HtmlPanel.d.ts +2 -0
- package/dist/editor-sample/App/TemplatePanel/JsonPanel.d.ts +2 -0
- package/dist/editor-sample/App/TemplatePanel/helper/HighlightedCodePanel.d.ts +7 -0
- package/dist/editor-sample/App/TemplatePanel/helper/highlighters.d.ts +2 -0
- package/dist/editor-sample/App/TemplatePanel/hooks/index.d.ts +3 -0
- package/dist/editor-sample/App/TemplatePanel/hooks/useDragSelection.d.ts +23 -0
- package/dist/editor-sample/App/TemplatePanel/hooks/useMainBoxStyles.d.ts +12 -0
- package/dist/editor-sample/App/TemplatePanel/hooks/usePanelPositioning.d.ts +25 -0
- package/dist/editor-sample/App/TemplatePanel/index.d.ts +17 -0
- package/dist/editor-sample/App/TemplatePanel/pageGuide/AhdMarkerLayer.d.ts +19 -0
- package/dist/editor-sample/App/TemplatePanel/pageGuide/elementBounds.d.ts +24 -0
- package/dist/editor-sample/App/TemplatePanel/pageGuide/iframeSrcDoc.d.ts +6 -0
- package/dist/editor-sample/App/TemplatePanel/pageGuide/useAhdMarkers.d.ts +28 -0
- package/dist/editor-sample/App/TemplatePanel/types.d.ts +36 -0
- package/dist/editor-sample/App/TemplatePanel/utils/index.d.ts +1 -0
- package/dist/editor-sample/App/TemplatePanel/utils/positioningUtils.d.ts +16 -0
- package/dist/editor-sample/App/hooks/constants.d.ts +10 -0
- package/dist/editor-sample/App/hooks/page/menuHrefBaselines.d.ts +10 -0
- package/dist/editor-sample/App/hooks/page/saveMenuHrefEdits.d.ts +1 -0
- package/dist/editor-sample/App/hooks/page/useSaveHandler.d.ts +21 -0
- package/dist/editor-sample/App/hooks/useGetPageType.d.ts +3 -0
- package/dist/editor-sample/App/hooks/usePreviewScreen.d.ts +8 -0
- package/dist/editor-sample/App/shared/AddSectionDialog.d.ts +12 -0
- package/dist/editor-sample/App/shared/PagePreviewFrame.d.ts +16 -0
- package/dist/editor-sample/App/shared/PreviewDialog.d.ts +15 -0
- package/dist/editor-sample/App/shared/SectionsDropdown.d.ts +10 -0
- package/dist/editor-sample/App/shared/editor.styles.d.ts +21 -0
- package/dist/editor-sample/App/shared/multipleSections.styled.d.ts +18 -0
- package/dist/editor-sample/App/shared/pageSections.d.ts +28 -0
- package/dist/editor-sample/documents/blocks/AccessibilityTools/AccessibilityToolsEditor.d.ts +3 -0
- package/dist/editor-sample/documents/blocks/AccessibilityTools/AccessibilityToolsPropsSchema.d.ts +1 -0
- package/dist/editor-sample/documents/blocks/Accordion/AccordionEditor.d.ts +3 -0
- package/dist/editor-sample/documents/blocks/Accordion/AccordionPropsSchema.d.ts +41 -0
- package/dist/editor-sample/documents/blocks/ButtonGroup/ButtonGroupEditor.d.ts +3 -0
- package/dist/editor-sample/documents/blocks/ButtonGroup/ButtonGroupPropsSchema.d.ts +31 -0
- package/dist/editor-sample/documents/blocks/Carousel/CarouselEditor.d.ts +3 -0
- package/dist/editor-sample/documents/blocks/Carousel/CarouselPropsSchema.d.ts +47 -0
- package/dist/editor-sample/documents/blocks/ColumnsContainer/ColumnsContainerEditor.d.ts +3 -0
- package/dist/editor-sample/documents/blocks/ColumnsContainer/ColumnsContainerPropsSchema.d.ts +49 -0
- package/dist/editor-sample/documents/blocks/Container/ContainerEditor.d.ts +3 -0
- package/dist/editor-sample/documents/blocks/Container/ContainerPropsSchema.d.ts +52 -0
- package/dist/editor-sample/documents/blocks/FlexColumns/FlexColumnsEditor.d.ts +3 -0
- package/dist/editor-sample/documents/blocks/FlexColumns/FlexColumnsPropsSchema.d.ts +1 -0
- package/dist/editor-sample/documents/blocks/Grid/GridEditor.d.ts +3 -0
- package/dist/editor-sample/documents/blocks/Grid/GridPropsSchema.d.ts +48 -0
- package/dist/editor-sample/documents/blocks/Marquee/MarqueeEditor.d.ts +3 -0
- package/dist/editor-sample/documents/blocks/Marquee/MarqueePropsSchema.d.ts +37 -0
- package/dist/editor-sample/documents/blocks/PagePilotLayout/PagePilotLayoutEditor.d.ts +2 -0
- package/dist/editor-sample/documents/blocks/PagePilotLayout/PagePilotLayoutPropsSchema.d.ts +151 -0
- package/dist/editor-sample/documents/blocks/PricingAccordion/PricingAccordionEditor.d.ts +3 -0
- package/dist/editor-sample/documents/blocks/PricingAccordion/PricingAccordionPropsSchema.d.ts +77 -0
- package/dist/editor-sample/documents/blocks/Rating/RatingEditor.d.ts +3 -0
- package/dist/editor-sample/documents/blocks/Rating/RatingPropsSchema.d.ts +31 -0
- package/dist/editor-sample/documents/blocks/SkipLink/SkipLinkEditor.d.ts +3 -0
- package/dist/editor-sample/documents/blocks/SkipLink/SkipLinkPropsSchema.d.ts +1 -0
- package/dist/editor-sample/documents/blocks/TabsBlock/TabsBlockEditor.d.ts +3 -0
- package/dist/editor-sample/documents/blocks/TabsBlock/TabsBlockPropsSchema.d.ts +53 -0
- package/dist/editor-sample/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/BlockButton.d.ts +9 -0
- package/dist/editor-sample/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/BlockInsertAboveContext.d.ts +2 -0
- package/dist/editor-sample/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/BlocksMenu.d.ts +10 -0
- package/dist/editor-sample/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/DividerButton.d.ts +7 -0
- package/dist/editor-sample/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/PlaceholderButton.d.ts +6 -0
- package/dist/editor-sample/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/ScopePickerMenu.d.ts +14 -0
- package/dist/editor-sample/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/brandButtonDefaults.d.ts +14 -0
- package/dist/editor-sample/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/buttons.d.ts +9 -0
- package/dist/editor-sample/documents/blocks/helpers/EditorChildrenIds/AddBlockMenu/index.d.ts +16 -0
- package/dist/editor-sample/documents/blocks/helpers/EditorChildrenIds/index.d.ts +16 -0
- package/dist/editor-sample/documents/blocks/helpers/InlineEditableText.d.ts +6 -0
- package/dist/editor-sample/documents/blocks/helpers/InlineTextToolbar/FullscreenOverlay.d.ts +20 -0
- package/dist/editor-sample/documents/blocks/helpers/InlineTextToolbar/constants.d.ts +22 -0
- package/dist/editor-sample/documents/blocks/helpers/InlineTextToolbar/dialogs/ImageDialog.d.ts +20 -0
- package/dist/editor-sample/documents/blocks/helpers/InlineTextToolbar/dialogs/LinkDialog.d.ts +23 -0
- package/dist/editor-sample/documents/blocks/helpers/InlineTextToolbar/dialogs/VideoDialog.d.ts +9 -0
- package/dist/editor-sample/documents/blocks/helpers/InlineTextToolbar/dom.d.ts +6 -0
- package/dist/editor-sample/documents/blocks/helpers/InlineTextToolbar/focusGuard.d.ts +7 -0
- package/dist/editor-sample/documents/blocks/helpers/InlineTextToolbar/format.d.ts +19 -0
- package/dist/editor-sample/documents/blocks/helpers/InlineTextToolbar/hooks/useCodeView.d.ts +35 -0
- package/dist/editor-sample/documents/blocks/helpers/InlineTextToolbar/hooks/useFormatPainter.d.ts +18 -0
- package/dist/editor-sample/documents/blocks/helpers/InlineTextToolbar/hooks/useFormatState.d.ts +11 -0
- package/dist/editor-sample/documents/blocks/helpers/InlineTextToolbar/hooks/useFullscreen.d.ts +24 -0
- package/dist/editor-sample/documents/blocks/helpers/InlineTextToolbar/hooks/useToolbarCommands.d.ts +66 -0
- package/dist/editor-sample/documents/blocks/helpers/InlineTextToolbar/hooks/useToolbarDrag.d.ts +21 -0
- package/dist/editor-sample/documents/blocks/helpers/InlineTextToolbar/hooks/useToolbarPosition.d.ts +7 -0
- package/dist/editor-sample/documents/blocks/helpers/InlineTextToolbar/index.d.ts +17 -0
- package/dist/editor-sample/documents/blocks/helpers/InlineTextToolbar/inlineEditChrome.d.ts +6 -0
- package/dist/editor-sample/documents/blocks/helpers/InlineTextToolbar/popovers/ColorSwatchPopover.d.ts +21 -0
- package/dist/editor-sample/documents/blocks/helpers/InlineTextToolbar/popovers/ImagePopover.d.ts +16 -0
- package/dist/editor-sample/documents/blocks/helpers/InlineTextToolbar/popovers/OverflowMenu.d.ts +13 -0
- package/dist/editor-sample/documents/blocks/helpers/InlineTextToolbar/popovers/TableGridPicker.d.ts +10 -0
- package/dist/editor-sample/documents/blocks/helpers/InlineTextToolbar/primitives/Divider.d.ts +8 -0
- package/dist/editor-sample/documents/blocks/helpers/InlineTextToolbar/primitives/Dropdown.d.ts +27 -0
- package/dist/editor-sample/documents/blocks/helpers/InlineTextToolbar/primitives/HoverButton.d.ts +27 -0
- package/dist/editor-sample/documents/blocks/helpers/InlineTextToolbar/primitives/IconBtn.d.ts +16 -0
- package/dist/editor-sample/documents/blocks/helpers/InlineTextToolbar/primitives/MenuItem.d.ts +32 -0
- package/dist/editor-sample/documents/blocks/helpers/InlineTextToolbar/primitives/MicIcon.d.ts +7 -0
- package/dist/editor-sample/documents/blocks/helpers/InlineTextToolbar/primitives/NoteIcon.d.ts +15 -0
- package/dist/editor-sample/documents/blocks/helpers/InlineTextToolbar/selection.d.ts +17 -0
- package/dist/editor-sample/documents/blocks/helpers/InlineTextToolbar/styles.d.ts +14 -0
- package/dist/editor-sample/documents/blocks/helpers/InlineTextToolbar/types.d.ts +36 -0
- package/dist/editor-sample/documents/blocks/helpers/TStyle.d.ts +17 -0
- package/dist/editor-sample/documents/blocks/helpers/TemplateTokenOverlay.d.ts +44 -0
- package/dist/editor-sample/documents/blocks/helpers/block-wrappers/EditorBlockWrapper.d.ts +6 -0
- package/dist/editor-sample/documents/blocks/helpers/block-wrappers/ReaderBlockWrapper.d.ts +8 -0
- package/dist/editor-sample/documents/blocks/helpers/block-wrappers/TuneMenu.d.ts +6 -0
- package/dist/editor-sample/documents/blocks/helpers/block-wrappers/useCanvasDrop.d.ts +18 -0
- package/dist/editor-sample/documents/blocks/helpers/blockVisibility.d.ts +27 -0
- package/dist/editor-sample/documents/blocks/helpers/documentUtils.d.ts +126 -0
- package/dist/editor-sample/documents/blocks/helpers/fontFamily.d.ts +33 -0
- package/dist/editor-sample/documents/blocks/helpers/fontWeight.d.ts +13 -0
- package/dist/editor-sample/documents/blocks/helpers/zod.d.ts +48 -0
- package/dist/editor-sample/documents/editor/EditorBlock.d.ts +13 -0
- package/dist/editor-sample/documents/editor/EditorContext.d.ts +347 -0
- package/dist/editor-sample/documents/editor/EditorVariantContext.d.ts +4 -0
- package/dist/editor-sample/documents/editor/LazyEditorBlock.d.ts +26 -0
- package/dist/editor-sample/documents/editor/core.d.ts +1212 -0
- package/dist/editor-sample/documents/editor/prefillDefaultValues.d.ts +12 -0
- package/dist/editor-sample/documents/editor/templateVariables.d.ts +50 -0
- package/dist/editor-sample/getConfiguration/index.d.ts +1 -0
- package/dist/editor-sample/getConfiguration/sample/empty-email-message.d.ts +3 -0
- package/dist/editor-sample/getConfiguration/sample/one-time-passcode.d.ts +3 -0
- package/dist/editor-sample/getConfiguration/sample/order-ecommerce.d.ts +3 -0
- package/dist/editor-sample/getConfiguration/sample/post-metrics-report.d.ts +3 -0
- package/dist/editor-sample/getConfiguration/sample/reservation-reminder.d.ts +3 -0
- package/dist/editor-sample/getConfiguration/sample/reset-password.d.ts +3 -0
- package/dist/editor-sample/getConfiguration/sample/respond-to-message.d.ts +3 -0
- package/dist/editor-sample/getConfiguration/sample/subscription-receipt.d.ts +3 -0
- package/dist/editor-sample/getConfiguration/sample/welcome.d.ts +3 -0
- package/dist/editor-sample/utils/editorKvStore.d.ts +5 -0
- package/dist/email-builder-core/Reader/ReaderBlockShim.d.ts +10 -0
- package/dist/email-builder-core/Reader/core.d.ts +35 -0
- package/dist/email-builder-core/blocks/AccessibilityTools/AccessibilityToolsPropsSchema.d.ts +79 -0
- package/dist/email-builder-core/blocks/AccessibilityTools/AccessibilityToolsReader.d.ts +3 -0
- package/dist/email-builder-core/blocks/AccessibilityTools/icons.d.ts +4 -0
- package/dist/email-builder-core/blocks/Accordion/AccordionPropsSchema.d.ts +35 -0
- package/dist/email-builder-core/blocks/Accordion/AccordionReader.d.ts +3 -0
- package/dist/email-builder-core/blocks/ButtonGroup/ButtonGroupPropsSchema.d.ts +31 -0
- package/dist/email-builder-core/blocks/ButtonGroup/ButtonGroupReader.d.ts +3 -0
- package/dist/email-builder-core/blocks/Calendly/CalendlyPropsSchema.d.ts +24 -0
- package/dist/email-builder-core/blocks/Calendly/CalendlyReader.d.ts +3 -0
- package/dist/email-builder-core/blocks/Carousel/CarouselPropsSchema.d.ts +47 -0
- package/dist/email-builder-core/blocks/Carousel/CarouselReader.d.ts +3 -0
- package/dist/email-builder-core/blocks/ColumnsContainer/ColumnsContainerPropsSchema.d.ts +53 -0
- package/dist/email-builder-core/blocks/ColumnsContainer/ColumnsContainerReader.d.ts +3 -0
- package/dist/email-builder-core/blocks/Container/ContainerPropsSchema.d.ts +52 -0
- package/dist/email-builder-core/blocks/Container/ContainerReader.d.ts +3 -0
- package/dist/email-builder-core/blocks/FlexColumns/FlexColumnsPropsSchema.d.ts +44 -0
- package/dist/email-builder-core/blocks/FlexColumns/FlexColumnsReader.d.ts +2 -0
- package/dist/email-builder-core/blocks/FlexColumns/flexColumnsHelpers.d.ts +10 -0
- package/dist/email-builder-core/blocks/Grid/GridPropsSchema.d.ts +48 -0
- package/dist/email-builder-core/blocks/Grid/GridReader.d.ts +3 -0
- package/dist/email-builder-core/blocks/Marquee/MarqueePropsSchema.d.ts +36 -0
- package/dist/email-builder-core/blocks/Marquee/MarqueeReader.d.ts +3 -0
- package/dist/email-builder-core/blocks/PagePilotLayout/PagePilotLayoutPropsSchema.d.ts +103 -0
- package/dist/email-builder-core/blocks/PagePilotLayout/PagePilotLayoutReader.d.ts +3 -0
- package/dist/email-builder-core/blocks/PricingAccordion/PricingAccordionPropsSchema.d.ts +77 -0
- package/dist/email-builder-core/blocks/PricingAccordion/PricingAccordionReader.d.ts +3 -0
- package/dist/email-builder-core/blocks/Rating/RatingPropsSchema.d.ts +30 -0
- package/dist/email-builder-core/blocks/Rating/RatingReader.d.ts +3 -0
- package/dist/email-builder-core/blocks/SkipLink/SkipLinkPropsSchema.d.ts +42 -0
- package/dist/email-builder-core/blocks/SkipLink/SkipLinkReader.d.ts +3 -0
- package/dist/email-builder-core/blocks/TabsBlock/TabsBlockPropsSchema.d.ts +53 -0
- package/dist/email-builder-core/blocks/TabsBlock/TabsBlockReader.d.ts +3 -0
- package/dist/email-builder-core/blocks/helpers/blockStyleHelpers.d.ts +15 -0
- package/dist/email-builder-core/helpers/fontFamily.d.ts +33 -0
- package/dist/email-builder-core/helpers/fontWeight.d.ts +13 -0
- package/dist/email-builder-core/helpers/screen.d.ts +13 -0
- package/dist/email-builder-core/helpers/templateVariables.d.ts +14 -0
- package/dist/email-builder-core/index.d.ts +3 -0
- package/dist/email-builder-core/renderers/accessibilityTools.d.ts +35 -0
- package/dist/email-builder-core/renderers/pageScripts.d.ts +7 -0
- package/dist/email-builder-core/renderers/renderDynamicCss.d.ts +1 -0
- package/dist/email-builder-core/renderers/renderToStaticMarkup.d.ts +41 -0
- package/dist/host-stubs/_passthrough.d.ts +2 -0
- package/dist/host-stubs/i18n.d.ts +8 -0
- package/dist/host-stubs/style/menu.styled.d.ts +15 -0
- package/dist/host-stubs/style/styled.d.ts +34 -0
- package/dist/host-stubs/theme/theme.d.ts +2 -0
- package/dist/host-stubs/view/images/Icons.d.ts +649 -0
- package/dist/host-stubs/view/media/MediaGalleryDialog.d.ts +2 -0
- package/dist/host-stubs/view/shared/message.d.ts +11 -0
- package/dist/host-stubs/view/shared/modals/PopupConfirm.d.ts +11 -0
- package/dist/index.cjs +1630 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.js +168332 -0
- package/dist/style.css +1 -0
- package/package.json +115 -0
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { z } from 'zod';
|
|
3
|
+
export declare const LogoPropsSchema: z.ZodObject<{
|
|
4
|
+
style: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
5
|
+
padding: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
6
|
+
top: z.ZodNumber;
|
|
7
|
+
bottom: z.ZodNumber;
|
|
8
|
+
right: z.ZodNumber;
|
|
9
|
+
left: z.ZodNumber;
|
|
10
|
+
}, z.core.$strip>>>;
|
|
11
|
+
backgroundColor: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString, z.ZodLiteral<"transparent">]>>>>;
|
|
12
|
+
textAlign: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
13
|
+
right: "right";
|
|
14
|
+
left: "left";
|
|
15
|
+
center: "center";
|
|
16
|
+
}>>>;
|
|
17
|
+
}, z.core.$strip>>>;
|
|
18
|
+
props: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
19
|
+
url: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
20
|
+
alt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
21
|
+
decorative: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
22
|
+
linkHref: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
23
|
+
width: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
24
|
+
widthTablet: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
25
|
+
widthMobile: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
26
|
+
borderRadius: z.ZodNullable<z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
27
|
+
topLeft: z.ZodNumber;
|
|
28
|
+
topRight: z.ZodNumber;
|
|
29
|
+
bottomRight: z.ZodNumber;
|
|
30
|
+
bottomLeft: z.ZodNumber;
|
|
31
|
+
}, z.core.$strip>]>>>;
|
|
32
|
+
borderColor: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString, z.ZodLiteral<"transparent">]>>>>;
|
|
33
|
+
borderWidth: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
34
|
+
top: z.ZodNumber;
|
|
35
|
+
bottom: z.ZodNumber;
|
|
36
|
+
right: z.ZodNumber;
|
|
37
|
+
left: z.ZodNumber;
|
|
38
|
+
}, z.core.$strip>>>;
|
|
39
|
+
}, z.core.$strip>>>;
|
|
40
|
+
}, z.core.$strip>;
|
|
41
|
+
export type LogoProps = z.infer<typeof LogoPropsSchema>;
|
|
42
|
+
export declare const LogoPropsDefaults: {
|
|
43
|
+
readonly url: "";
|
|
44
|
+
readonly alt: "Logo";
|
|
45
|
+
readonly decorative: false;
|
|
46
|
+
readonly linkHref: "https://pagepilot.fabbuilder.com/";
|
|
47
|
+
readonly width: 160;
|
|
48
|
+
readonly widthTablet: any;
|
|
49
|
+
readonly widthMobile: any;
|
|
50
|
+
readonly borderRadius: 0;
|
|
51
|
+
readonly borderColor: any;
|
|
52
|
+
readonly borderWidth: any;
|
|
53
|
+
};
|
|
54
|
+
/**
|
|
55
|
+
* The Logo block renders an image at a fixed pixel width that the author
|
|
56
|
+
* controls per breakpoint. Unlike the Image block, the page CSS does NOT
|
|
57
|
+
* force `width: 100%` on logos at any breakpoint — instead, per-breakpoint
|
|
58
|
+
* widths are set via CSS custom properties on the wrapper:
|
|
59
|
+
* --ahd-logo-w desktop width
|
|
60
|
+
* --ahd-logo-w-tablet tablet width (≤1024px)
|
|
61
|
+
* --ahd-logo-w-mobile mobile width (≤600px)
|
|
62
|
+
* The logo CSS in renderDynamicCss reads these and applies them per breakpoint.
|
|
63
|
+
*/
|
|
64
|
+
export declare function Logo({ style, props }: LogoProps): React.JSX.Element;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const StepperPropsSchema: z.ZodObject<{
|
|
3
|
+
style: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
4
|
+
backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString, z.ZodLiteral<"transparent">]>>>;
|
|
5
|
+
textAlign: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
6
|
+
right: "right";
|
|
7
|
+
left: "left";
|
|
8
|
+
center: "center";
|
|
9
|
+
}>>>;
|
|
10
|
+
padding: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
11
|
+
top: z.ZodNumber;
|
|
12
|
+
bottom: z.ZodNumber;
|
|
13
|
+
right: z.ZodNumber;
|
|
14
|
+
left: z.ZodNumber;
|
|
15
|
+
}, z.core.$strip>>>;
|
|
16
|
+
}, z.core.$strip>>>;
|
|
17
|
+
props: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
18
|
+
stepperType: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
19
|
+
both: "both";
|
|
20
|
+
numeric: "numeric";
|
|
21
|
+
dots: "dots";
|
|
22
|
+
}>>>;
|
|
23
|
+
totalDots: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
24
|
+
activeIndex: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
25
|
+
activeColor: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString, z.ZodLiteral<"transparent">]>>>;
|
|
26
|
+
inactiveColor: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString, z.ZodLiteral<"transparent">]>>>;
|
|
27
|
+
dotSize: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
28
|
+
dotSpacing: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
29
|
+
numericColor: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString, z.ZodLiteral<"transparent">]>>>;
|
|
30
|
+
numericFontSize: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
31
|
+
numericPosition: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
32
|
+
right: "right";
|
|
33
|
+
left: "left";
|
|
34
|
+
above: "above";
|
|
35
|
+
below: "below";
|
|
36
|
+
}>>>;
|
|
37
|
+
}, z.core.$strip>>>;
|
|
38
|
+
}, z.core.$strip>;
|
|
39
|
+
export type StepperProps = z.infer<typeof StepperPropsSchema>;
|
|
40
|
+
export declare const StepperPropsDefaults: {
|
|
41
|
+
readonly stepperType: "dots";
|
|
42
|
+
readonly totalDots: 5;
|
|
43
|
+
readonly activeIndex: 1;
|
|
44
|
+
readonly activeColor: "#3F73FF";
|
|
45
|
+
readonly inactiveColor: "#FFFFFF";
|
|
46
|
+
readonly dotSize: 14;
|
|
47
|
+
readonly dotSpacing: 12;
|
|
48
|
+
readonly numericColor: "#000000";
|
|
49
|
+
readonly numericFontSize: 14;
|
|
50
|
+
readonly numericPosition: "below";
|
|
51
|
+
};
|
|
52
|
+
export declare function Stepper({ style, props }: StepperProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const TextPropsSchema: z.ZodObject<{
|
|
3
|
+
style: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
4
|
+
color: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString, z.ZodLiteral<"transparent">]>>>;
|
|
5
|
+
backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString, z.ZodLiteral<"transparent">]>>>;
|
|
6
|
+
fontSize: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
7
|
+
fontFamily: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
8
|
+
MODERN_SANS: "MODERN_SANS";
|
|
9
|
+
BOOK_SANS: "BOOK_SANS";
|
|
10
|
+
ORGANIC_SANS: "ORGANIC_SANS";
|
|
11
|
+
GEOMETRIC_SANS: "GEOMETRIC_SANS";
|
|
12
|
+
HEAVY_SANS: "HEAVY_SANS";
|
|
13
|
+
ROUNDED_SANS: "ROUNDED_SANS";
|
|
14
|
+
MODERN_SERIF: "MODERN_SERIF";
|
|
15
|
+
BOOK_SERIF: "BOOK_SERIF";
|
|
16
|
+
MONOSPACE: "MONOSPACE";
|
|
17
|
+
ROBOTO: "ROBOTO";
|
|
18
|
+
OPEN_SANS: "OPEN_SANS";
|
|
19
|
+
LATO: "LATO";
|
|
20
|
+
POPPINS: "POPPINS";
|
|
21
|
+
INTER: "INTER";
|
|
22
|
+
MONTSERRAT: "MONTSERRAT";
|
|
23
|
+
RALEWAY: "RALEWAY";
|
|
24
|
+
NUNITO: "NUNITO";
|
|
25
|
+
PLAYFAIR_DISPLAY: "PLAYFAIR_DISPLAY";
|
|
26
|
+
MERRIWEATHER: "MERRIWEATHER";
|
|
27
|
+
PT_SANS: "PT_SANS";
|
|
28
|
+
OSWALD: "OSWALD";
|
|
29
|
+
SOURCE_SANS_PRO: "SOURCE_SANS_PRO";
|
|
30
|
+
RUBIK: "RUBIK";
|
|
31
|
+
WORK_SANS: "WORK_SANS";
|
|
32
|
+
NOTO_SANS: "NOTO_SANS";
|
|
33
|
+
DANCING_SCRIPT: "DANCING_SCRIPT";
|
|
34
|
+
PACIFICO: "PACIFICO";
|
|
35
|
+
LOBSTER: "LOBSTER";
|
|
36
|
+
BEBAS_NEUE: "BEBAS_NEUE";
|
|
37
|
+
}>>>;
|
|
38
|
+
fontWeight: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
39
|
+
400: "400";
|
|
40
|
+
500: "500";
|
|
41
|
+
600: "600";
|
|
42
|
+
700: "700";
|
|
43
|
+
normal: "normal";
|
|
44
|
+
bold: "bold";
|
|
45
|
+
}>>>;
|
|
46
|
+
textAlign: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
47
|
+
right: "right";
|
|
48
|
+
left: "left";
|
|
49
|
+
center: "center";
|
|
50
|
+
}>>>;
|
|
51
|
+
padding: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
52
|
+
top: z.ZodNumber;
|
|
53
|
+
bottom: z.ZodNumber;
|
|
54
|
+
right: z.ZodNumber;
|
|
55
|
+
left: z.ZodNumber;
|
|
56
|
+
}, z.core.$strip>>>;
|
|
57
|
+
}, z.core.$strip>>>;
|
|
58
|
+
props: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
59
|
+
text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
60
|
+
editorType: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
61
|
+
summernote: "summernote";
|
|
62
|
+
quill: "quill";
|
|
63
|
+
}>>>;
|
|
64
|
+
}, z.core.$strip>>>;
|
|
65
|
+
}, z.core.$strip>;
|
|
66
|
+
export type TextProps = z.infer<typeof TextPropsSchema>;
|
|
67
|
+
export declare const TextPropsDefaults: {
|
|
68
|
+
text: string;
|
|
69
|
+
};
|
|
70
|
+
export declare function Text({ style, props }: TextProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { z } from 'zod';
|
|
3
|
+
export declare const VideoPropsSchema: z.ZodObject<{
|
|
4
|
+
style: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
5
|
+
padding: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
6
|
+
top: z.ZodNumber;
|
|
7
|
+
bottom: z.ZodNumber;
|
|
8
|
+
right: z.ZodNumber;
|
|
9
|
+
left: z.ZodNumber;
|
|
10
|
+
}, z.core.$strip>>>;
|
|
11
|
+
backgroundColor: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
12
|
+
textAlign: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
13
|
+
right: "right";
|
|
14
|
+
left: "left";
|
|
15
|
+
center: "center";
|
|
16
|
+
}>>>;
|
|
17
|
+
}, z.core.$strip>>>;
|
|
18
|
+
props: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
19
|
+
width: z.ZodNullable<z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
|
|
20
|
+
height: z.ZodNullable<z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>>;
|
|
21
|
+
url: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
22
|
+
alt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
23
|
+
linkHref: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
24
|
+
contentAlignment: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
25
|
+
top: "top";
|
|
26
|
+
bottom: "bottom";
|
|
27
|
+
middle: "middle";
|
|
28
|
+
}>>>;
|
|
29
|
+
name: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
30
|
+
borderRadius: z.ZodNullable<z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
31
|
+
topLeft: z.ZodNumber;
|
|
32
|
+
topRight: z.ZodNumber;
|
|
33
|
+
bottomRight: z.ZodNumber;
|
|
34
|
+
bottomLeft: z.ZodNumber;
|
|
35
|
+
}, z.core.$strip>]>>>;
|
|
36
|
+
borderColor: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString, z.ZodLiteral<"transparent">]>>>>;
|
|
37
|
+
borderWidth: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
38
|
+
top: z.ZodNumber;
|
|
39
|
+
bottom: z.ZodNumber;
|
|
40
|
+
right: z.ZodNumber;
|
|
41
|
+
left: z.ZodNumber;
|
|
42
|
+
}, z.core.$strip>>>;
|
|
43
|
+
}, z.core.$strip>>>;
|
|
44
|
+
}, z.core.$strip>;
|
|
45
|
+
export type VideoProps = z.infer<typeof VideoPropsSchema>;
|
|
46
|
+
export declare function Video({ style, props }: VideoProps): React.JSX.Element;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { z } from 'zod';
|
|
3
|
+
export declare const YouTubeUrlPropsSchema: z.ZodObject<{
|
|
4
|
+
style: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
5
|
+
padding: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
6
|
+
top: z.ZodNumber;
|
|
7
|
+
bottom: z.ZodNumber;
|
|
8
|
+
right: z.ZodNumber;
|
|
9
|
+
left: z.ZodNumber;
|
|
10
|
+
}, z.core.$strip>>>;
|
|
11
|
+
backgroundColor: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
12
|
+
textAlign: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
13
|
+
right: "right";
|
|
14
|
+
left: "left";
|
|
15
|
+
center: "center";
|
|
16
|
+
}>>>;
|
|
17
|
+
}, z.core.$strip>>>;
|
|
18
|
+
props: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
19
|
+
width: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
20
|
+
height: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
21
|
+
url: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
22
|
+
alt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
23
|
+
linkHref: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
24
|
+
contentAlignment: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
25
|
+
top: "top";
|
|
26
|
+
bottom: "bottom";
|
|
27
|
+
middle: "middle";
|
|
28
|
+
}>>>;
|
|
29
|
+
}, z.core.$strip>>>;
|
|
30
|
+
}, z.core.$strip>;
|
|
31
|
+
export type YouTubeUrlProps = z.infer<typeof YouTubeUrlPropsSchema>;
|
|
32
|
+
export declare function YouTubeUrl({ style, props }: YouTubeUrlProps): React.JSX.Element;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { PagePilotEditorProps } from './types';
|
|
2
|
+
import * as React from "react";
|
|
3
|
+
export default function Shell({ record, contentMetadata, behaviour, steps, sections, activeStepIndex, panels, title, recordTitle, recordStatus, headerExtra, children, onUpdateRecord, onChange, onSaveChanges, onPublish, onPublishMenu, renderPublish, onBack, onTogglePreview, onBackgroundChange, onNavigateBranding, onAddSection, topbar, mode, onToggleMode, }: PagePilotEditorProps & {
|
|
4
|
+
mode?: "light" | "dark";
|
|
5
|
+
onToggleMode?: () => void;
|
|
6
|
+
}): React.JSX.Element;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { TopbarToggles } from './types';
|
|
3
|
+
import * as React from "react";
|
|
4
|
+
export interface TopbarProps {
|
|
5
|
+
toggles: Required<TopbarToggles>;
|
|
6
|
+
title?: string;
|
|
7
|
+
recordTitle?: string;
|
|
8
|
+
recordStatus?: string;
|
|
9
|
+
onBack?: () => void;
|
|
10
|
+
onSave?: () => void;
|
|
11
|
+
onPublish?: () => void;
|
|
12
|
+
onPublishMenu?: (e: React.MouseEvent<HTMLElement>) => void;
|
|
13
|
+
/** When set, replaces the default Publish ButtonGroup entirely. */
|
|
14
|
+
publishSlot?: ReactNode;
|
|
15
|
+
onPreview?: () => void;
|
|
16
|
+
onToggleFullscreen?: () => void;
|
|
17
|
+
isFullscreen?: boolean;
|
|
18
|
+
onOpenMoreMenu?: (e: React.MouseEvent<HTMLButtonElement>) => void;
|
|
19
|
+
sectionsDropdown?: ReactNode;
|
|
20
|
+
/** Current resolved palette mode — drives which sun/moon icon shows. */
|
|
21
|
+
mode?: "light" | "dark";
|
|
22
|
+
/** Flip the editor between built-in light + dark themes. */
|
|
23
|
+
onToggleMode?: () => void;
|
|
24
|
+
/** Disables Save Changes when false — the user has nothing to save. */
|
|
25
|
+
isDirty?: boolean;
|
|
26
|
+
}
|
|
27
|
+
export default function Topbar({ toggles, title, recordTitle, recordStatus, onBack, onSave, onPublish, onPublishMenu, publishSlot, onPreview, onToggleFullscreen, isFullscreen, onOpenMoreMenu, sectionsDropdown, mode, onToggleMode, isDirty, }: TopbarProps): React.JSX.Element;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/** All block tile keys exposed in the Add-Block menu. */
|
|
2
|
+
export type BlockKey = "heading" | "text" | "button" | "image" | "logo" | "video" | "avatar" | "divider" | "spacer" | "html" | "columns" | "flexColumns" | "grid" | "buttonGroup" | "container" | "stepper" | "accordion" | "pricingAccordion" | "tabs" | "carousel" | "rating" | "marquee" | "iframe" | "skipToMain" | "accessibilityTools";
|
|
3
|
+
export type BlockToggles = Partial<Record<BlockKey, boolean>>;
|
|
4
|
+
/** Maps a block's `type` string to the BlockKey that controls its tile. */
|
|
5
|
+
export declare const BLOCK_TYPE_TO_KEY: Record<string, BlockKey>;
|
|
6
|
+
/** Called by PagePilotEditor whenever the `blocks` prop changes. */
|
|
7
|
+
export declare function setBlockToggles(next: BlockToggles | undefined | null): void;
|
|
8
|
+
/** Returns the current toggles map (`true`/`undefined` means visible). */
|
|
9
|
+
export declare function getBlockToggles(): BlockToggles;
|
|
10
|
+
/** Filter helper used by buttons.tsx — returns `true` when the block's tile
|
|
11
|
+
* should appear in the menu (defaults to `true`). */
|
|
12
|
+
export declare function isBlockTypeVisible(type: string | undefined): boolean;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Theme } from '@mui/material/styles';
|
|
2
|
+
/** Default dark theme — matches the Pagepilot reference. */
|
|
3
|
+
export declare const pagePilotEditorDarkTheme: Theme;
|
|
4
|
+
/** Default light theme — same indigo brand color, light surfaces. */
|
|
5
|
+
export declare const pagePilotEditorLightTheme: Theme;
|
|
6
|
+
/** Picks a theme from the explicit `theme` override or the `mode` shortcut. */
|
|
7
|
+
export declare function resolveTheme(opts: {
|
|
8
|
+
theme?: Theme;
|
|
9
|
+
mode?: "light" | "dark";
|
|
10
|
+
}): Theme;
|
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
|
+
import { Theme } from '@mui/material';
|
|
3
|
+
import { EditorPanelToggles } from '../editor-sample/App/InspectorDrawer/EditorBehavior';
|
|
4
|
+
import { BlockToggles } from './blockToggles';
|
|
5
|
+
export interface PageRecord {
|
|
6
|
+
/** Stable record id. */
|
|
7
|
+
id?: string;
|
|
8
|
+
/** Page record kind. Keep `"page"` for the page editor. */
|
|
9
|
+
type?: string;
|
|
10
|
+
/** Displayed after the back button if `recordTitle` is not set. */
|
|
11
|
+
title?: string;
|
|
12
|
+
/** Fallback for `title`. */
|
|
13
|
+
name?: string;
|
|
14
|
+
/** Status badge displayed after the title ("draft" / "live" / …). */
|
|
15
|
+
status?: string;
|
|
16
|
+
contentMetadata?: {
|
|
17
|
+
/** Editor document tree (the source of truth the canvas edits). */
|
|
18
|
+
document?: any;
|
|
19
|
+
/** Rendered HTML — set by the editor on save/publish. */
|
|
20
|
+
html?: string;
|
|
21
|
+
[key: string]: any;
|
|
22
|
+
};
|
|
23
|
+
/** Step / interaction behaviour config. */
|
|
24
|
+
behaviour?: Record<string, any>;
|
|
25
|
+
/** Step array for tour/tooltip records. */
|
|
26
|
+
steps?: Array<{
|
|
27
|
+
contentMetadata?: {
|
|
28
|
+
document?: any;
|
|
29
|
+
[key: string]: any;
|
|
30
|
+
};
|
|
31
|
+
behaviour?: Record<string, any>;
|
|
32
|
+
[key: string]: any;
|
|
33
|
+
}>;
|
|
34
|
+
/** Section array for multi-section pages. */
|
|
35
|
+
sections?: any[];
|
|
36
|
+
/** Anything else the host wants to pass through. */
|
|
37
|
+
[key: string]: any;
|
|
38
|
+
}
|
|
39
|
+
/** Payload handed to `onSaveChanges` / `onPublish` / `onPublishMenu`. */
|
|
40
|
+
export interface SaveChangesPayload {
|
|
41
|
+
/**
|
|
42
|
+
* Updated record.
|
|
43
|
+
* - **Single-doc mode** (no `sections`): carries `contentMetadata.document` +
|
|
44
|
+
* `contentMetadata.html` — the classic shape.
|
|
45
|
+
* - **Multi-section mode** (`sections[]` present): sections are the source
|
|
46
|
+
* of truth. Each `sections[i].contentMetadata.document` holds that
|
|
47
|
+
* section's editor doc and `sections[i].content` holds its HTML fragment.
|
|
48
|
+
* The record-level `contentMetadata` and empty `behaviour` are stripped
|
|
49
|
+
* so the host isn't handed duplicate state; non-empty `behaviour`
|
|
50
|
+
* provided by the host is preserved.
|
|
51
|
+
*/
|
|
52
|
+
record: PageRecord;
|
|
53
|
+
/**
|
|
54
|
+
* The current canvas document tree.
|
|
55
|
+
* - Populated in single-doc mode.
|
|
56
|
+
* - **Omitted entirely** in multi-section mode — there's no single
|
|
57
|
+
* page-level doc, so read `record.sections[i].contentMetadata.document`
|
|
58
|
+
* per section instead.
|
|
59
|
+
*/
|
|
60
|
+
document?: any;
|
|
61
|
+
/**
|
|
62
|
+
* Rendered HTML.
|
|
63
|
+
* - Single-doc mode: the one document's fragment.
|
|
64
|
+
* - Multi-section mode: every section's fragment concatenated inside one
|
|
65
|
+
* `<!doctype html>` shell.
|
|
66
|
+
*/
|
|
67
|
+
html: string;
|
|
68
|
+
}
|
|
69
|
+
/** Per-control visibility for the topbar. Every key defaults to `true`
|
|
70
|
+
* EXCEPT `moreMenu` and `publish`, which default to `false`. */
|
|
71
|
+
export interface TopbarToggles {
|
|
72
|
+
back?: boolean;
|
|
73
|
+
title?: boolean;
|
|
74
|
+
status?: boolean;
|
|
75
|
+
sectionsDropdown?: boolean;
|
|
76
|
+
undo?: boolean;
|
|
77
|
+
redo?: boolean;
|
|
78
|
+
save?: boolean;
|
|
79
|
+
/** Sun/moon button that flips between the built-in light + dark themes
|
|
80
|
+
* at runtime. Defaults to `true`. Hidden automatically when the host
|
|
81
|
+
* passes a custom `theme` prop, since flipping `mode` won't affect it. */
|
|
82
|
+
themeToggle?: boolean;
|
|
83
|
+
fullscreen?: boolean;
|
|
84
|
+
preview?: boolean;
|
|
85
|
+
/** Defaults to `false`. */
|
|
86
|
+
moreMenu?: boolean;
|
|
87
|
+
/** Defaults to `false`. */
|
|
88
|
+
publish?: boolean;
|
|
89
|
+
}
|
|
90
|
+
export declare const DEFAULT_TOPBAR: Required<TopbarToggles>;
|
|
91
|
+
export declare function resolveTopbar(t?: TopbarToggles): Required<TopbarToggles>;
|
|
92
|
+
export interface PagePilotEditorProps {
|
|
93
|
+
record?: PageRecord;
|
|
94
|
+
contentMetadata?: PageRecord["contentMetadata"];
|
|
95
|
+
behaviour?: PageRecord["behaviour"];
|
|
96
|
+
steps?: PageRecord["steps"];
|
|
97
|
+
sections?: PageRecord["sections"];
|
|
98
|
+
activeStepIndex?: number;
|
|
99
|
+
panels?: EditorPanelToggles;
|
|
100
|
+
title?: string;
|
|
101
|
+
recordTitle?: string;
|
|
102
|
+
recordStatus?: string;
|
|
103
|
+
/** Built-in palette mode. Default: `"dark"`. Ignored when `theme` is set. */
|
|
104
|
+
mode?: "light" | "dark";
|
|
105
|
+
/** Full MUI theme override. Wins over `mode`. */
|
|
106
|
+
theme?: Theme;
|
|
107
|
+
/** Translation map keyed by i18n path. Merged on top of built-in English. */
|
|
108
|
+
translations?: Record<string, string>;
|
|
109
|
+
topbar?: TopbarToggles;
|
|
110
|
+
blocks?: BlockToggles;
|
|
111
|
+
onUpdateRecord?: (record: PageRecord) => void;
|
|
112
|
+
onChange?: (document: any) => void;
|
|
113
|
+
onSaveChanges?: (payload: SaveChangesPayload) => Promise<boolean | void> | boolean | void;
|
|
114
|
+
onPublish?: (payload: SaveChangesPayload) => void | Promise<void>;
|
|
115
|
+
onPublishMenu?: (anchorEl: HTMLElement, payload: SaveChangesPayload) => void;
|
|
116
|
+
renderPublish?: (args: {
|
|
117
|
+
payload: SaveChangesPayload;
|
|
118
|
+
onPublish: () => void;
|
|
119
|
+
}) => ReactNode;
|
|
120
|
+
onBack?: () => void;
|
|
121
|
+
onTogglePreview?: (html: string, doc: any) => void;
|
|
122
|
+
onBackgroundChange?: (image: string) => void;
|
|
123
|
+
onNavigateBranding?: () => void;
|
|
124
|
+
onAddSection?: () => void;
|
|
125
|
+
headerExtra?: ReactNode;
|
|
126
|
+
children?: ReactNode;
|
|
127
|
+
}
|
|
128
|
+
export type { EditorPanelToggles } from '../editor-sample/App/InspectorDrawer/EditorBehavior';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const StyledSwitch: import('@emotion/styled').StyledComponent<import('@mui/material').SwitchProps & import('@mui/system').MUIStyledCommonProps<import('@mui/material').Theme>, {}, {}>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
type Props = {
|
|
2
|
+
/** Currently selected block's type. */
|
|
3
|
+
blockType: string;
|
|
4
|
+
/** Currently selected block's data. */
|
|
5
|
+
data: Record<string, any> | null | undefined;
|
|
6
|
+
/** Persist the new data back to the editor store. */
|
|
7
|
+
onApply: (nextData: Record<string, any>) => void;
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* Inspector-wide "style painter" bar — appears above every block's sidebar
|
|
11
|
+
* panel. Copies the selected block's style onto a session clipboard; pasting
|
|
12
|
+
* is enabled only when the clipboard's kind (section vs block) matches the
|
|
13
|
+
* currently-selected block so we never smear incompatible shapes.
|
|
14
|
+
*/
|
|
15
|
+
export default function BlockStyleClipboardBar({ blockType, data, onApply }: Props): import("react").JSX.Element;
|
|
16
|
+
export {};
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Shared "style painter" clipboard for the inspector.
|
|
3
|
+
*
|
|
4
|
+
* Two block shapes live in the editor:
|
|
5
|
+
* - PagePilotLayout (the section root): style fields live flat on `data`
|
|
6
|
+
* (canvasColor, fontFamily, padding, borderRadius, …)
|
|
7
|
+
* - Every other block (Text, Heading, Button, Container, …): style fields
|
|
8
|
+
* live under `data.style`, content under `data.props`.
|
|
9
|
+
*
|
|
10
|
+
* We store the captured style alongside its "kind" so pasting only fires
|
|
11
|
+
* when source and target are compatible — preventing a section's style from
|
|
12
|
+
* being smeared onto a Text block (or vice versa) where the shapes diverge.
|
|
13
|
+
*
|
|
14
|
+
* Cross-type pastes (Heading → Text, etc.) only transfer the style fields
|
|
15
|
+
* the target's Zod schema actually defines — so a Heading's `textColor` /
|
|
16
|
+
* `fontStyle` / `textDecoration` don't leak into a Text block's data where
|
|
17
|
+
* those keys are meaningless. The strip happens via the editor's discriminated
|
|
18
|
+
* union schema, which is the same source of truth Zod uses on save.
|
|
19
|
+
*
|
|
20
|
+
* sessionStorage is intentional: persists across section/block selection
|
|
21
|
+
* changes within the editor session, gone after the tab closes.
|
|
22
|
+
*/
|
|
23
|
+
export type ClipboardKind = 'PagePilotLayout' | 'Block';
|
|
24
|
+
export type StyleClipboard = {
|
|
25
|
+
kind: ClipboardKind;
|
|
26
|
+
/**
|
|
27
|
+
* The concrete source block type (e.g. 'Text', 'Heading', 'Button').
|
|
28
|
+
* Block-level `style` transfers across types freely, but `textMarkup` only
|
|
29
|
+
* applies when source and target share the same type — Text stores rich
|
|
30
|
+
* HTML in its content while Heading/Button store plain text, so smearing
|
|
31
|
+
* Text's `<span style="…">` tags onto a Heading would render the tags as
|
|
32
|
+
* literal characters.
|
|
33
|
+
*/
|
|
34
|
+
sourceType: string;
|
|
35
|
+
style: Record<string, any>;
|
|
36
|
+
/**
|
|
37
|
+
* Visual style fields that live on `data.props` rather than `data.style`
|
|
38
|
+
* — Button, Divider, Image and others put colour / border / size /
|
|
39
|
+
* appearance fields under `props` next to their content (`text`, `url`,
|
|
40
|
+
* `alt`, …). Captured separately so we can apply them back onto the
|
|
41
|
+
* target's `props` without smearing the source's content over the
|
|
42
|
+
* target's. Empty/undefined for blocks that keep all styling under
|
|
43
|
+
* `data.style` (Text, Heading, …).
|
|
44
|
+
*/
|
|
45
|
+
propsStyle?: Record<string, any>;
|
|
46
|
+
/**
|
|
47
|
+
* For rich-text blocks (currently just Text), the source's `data.props.text`
|
|
48
|
+
* HTML markup. Block-level style fields (data.style) only carry block-wide
|
|
49
|
+
* properties like padding and background — colour / bold / italic /
|
|
50
|
+
* underline applied via the inline editor live as inline HTML inside
|
|
51
|
+
* data.props.text. Without capturing that markup the format painter looks
|
|
52
|
+
* like a no-op when the source's visual styling came from inline rich-text
|
|
53
|
+
* formatting rather than the sidebar style controls.
|
|
54
|
+
*/
|
|
55
|
+
textMarkup?: string;
|
|
56
|
+
};
|
|
57
|
+
/** Section root: a curated whitelist of "visual" fields. We deliberately skip
|
|
58
|
+
* content-ish fields (backgroundImage, CTA text/link, language, demo positioning). */
|
|
59
|
+
export declare const PAGE_PILOT_LAYOUT_STYLE_FIELDS: readonly ["canvasColor", "fontFamily", "textColor", "borderRadius", "borderColor", "borderWidth", "maxWidth", "maxHeight", "padding", "margin", "backdropColor", "ctaButtonBgColor", "ctaButtonTextColor", "ctaButtonPosition"];
|
|
60
|
+
export declare function pickPagePilotLayoutStyle(data: Record<string, any>): Record<string, any>;
|
|
61
|
+
export declare function readClipboard(): StyleClipboard | null;
|
|
62
|
+
export declare function writeClipboard(c: StyleClipboard): void;
|
|
63
|
+
/**
|
|
64
|
+
* Consume the clipboard after a paste. We treat the format painter as
|
|
65
|
+
* single-shot — once applied, the clipboard clears so an accidental second
|
|
66
|
+
* paste can't smear the same style onto an unrelated block. Users can always
|
|
67
|
+
* re-copy if they want another transfer.
|
|
68
|
+
*/
|
|
69
|
+
export declare function clearClipboard(): void;
|
|
70
|
+
/**
|
|
71
|
+
* Decide what to copy off a given block.
|
|
72
|
+
* - PagePilotLayout → curated flat fields
|
|
73
|
+
* - any other block → the entire `data.style` object (if any)
|
|
74
|
+
*
|
|
75
|
+
* Returns null if the block has no copyable style (e.g. a block whose data has
|
|
76
|
+
* no `style` key at all). The bar uses that to disable the Copy button.
|
|
77
|
+
*/
|
|
78
|
+
export declare function captureBlockStyle(type: string, data: Record<string, any> | null | undefined): StyleClipboard | null;
|
|
79
|
+
/**
|
|
80
|
+
* Apply the clipboard onto a target block's data. Returns a new data object,
|
|
81
|
+
* or null if the clipboard kind doesn't match this block's shape.
|
|
82
|
+
*/
|
|
83
|
+
export declare function applyClipboardToBlock(type: string, data: Record<string, any> | null | undefined, clipboard: StyleClipboard): Record<string, any> | null;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { AccessibilityToolsProps } from '../../../../../email-builder-core/blocks/AccessibilityTools/AccessibilityToolsPropsSchema';
|
|
3
|
+
type Props = {
|
|
4
|
+
data: AccessibilityToolsProps;
|
|
5
|
+
setData: (d: AccessibilityToolsProps) => void;
|
|
6
|
+
};
|
|
7
|
+
export default function AccessibilityToolsSidebarPanel({ data, setData }: Props): React.JSX.Element;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { AccordionProps } from '../../../../documents/blocks/Accordion/AccordionPropsSchema';
|
|
3
|
+
type Props = {
|
|
4
|
+
data: AccordionProps;
|
|
5
|
+
setData: (v: AccordionProps) => void;
|
|
6
|
+
};
|
|
7
|
+
export default function AccordionSidebarPanel({ data, setData }: Props): React.JSX.Element;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { AvatarProps } from '@usewaypoint/block-avatar';
|
|
3
|
+
type AvatarSidebarPanelProps = {
|
|
4
|
+
data: AvatarProps;
|
|
5
|
+
setData: (v: AvatarProps) => void;
|
|
6
|
+
};
|
|
7
|
+
export default function AvatarSidebarPanel({ data, setData }: AvatarSidebarPanelProps): React.JSX.Element;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { ButtonGroupEditorProps } from '../../../../documents/blocks/ButtonGroup/ButtonGroupPropsSchema';
|
|
3
|
+
type Props = {
|
|
4
|
+
data: ButtonGroupEditorProps;
|
|
5
|
+
setData: (v: ButtonGroupEditorProps) => void;
|
|
6
|
+
};
|
|
7
|
+
export default function ButtonGroupSidebarPanel({ data, setData }: Props): React.JSX.Element;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ButtonProps } from '../../../../../blocks-internal/block-button/src/index.tsx';
|
|
2
|
+
type ButtonSidebarPanelProps = {
|
|
3
|
+
data: ButtonProps;
|
|
4
|
+
setData: (v: ButtonProps) => void;
|
|
5
|
+
};
|
|
6
|
+
export default function ButtonSidebarPanel({ data, setData }: ButtonSidebarPanelProps): import("react").JSX.Element;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { CalendlyProps } from '../../../../../email-builder-core/blocks/Calendly/CalendlyPropsSchema';
|
|
3
|
+
type CalendlySidebarPanelProps = {
|
|
4
|
+
data: CalendlyProps;
|
|
5
|
+
setData: (v: CalendlyProps) => void;
|
|
6
|
+
};
|
|
7
|
+
export default function CalendlySidebarPanel({ data, setData }: CalendlySidebarPanelProps): React.JSX.Element;
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { CarouselProps } from '../../../../documents/blocks/Carousel/CarouselPropsSchema';
|
|
3
|
+
type Props = {
|
|
4
|
+
data: CarouselProps;
|
|
5
|
+
setData: (v: CarouselProps) => void;
|
|
6
|
+
};
|
|
7
|
+
export default function CarouselSidebarPanel({ data, setData }: Props): React.JSX.Element;
|
|
8
|
+
export {};
|