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,145 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const ButtonPropsSchema: 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
|
+
fontSize: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
6
|
+
fontFamily: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
7
|
+
MODERN_SANS: "MODERN_SANS";
|
|
8
|
+
BOOK_SANS: "BOOK_SANS";
|
|
9
|
+
ORGANIC_SANS: "ORGANIC_SANS";
|
|
10
|
+
GEOMETRIC_SANS: "GEOMETRIC_SANS";
|
|
11
|
+
HEAVY_SANS: "HEAVY_SANS";
|
|
12
|
+
ROUNDED_SANS: "ROUNDED_SANS";
|
|
13
|
+
MODERN_SERIF: "MODERN_SERIF";
|
|
14
|
+
BOOK_SERIF: "BOOK_SERIF";
|
|
15
|
+
MONOSPACE: "MONOSPACE";
|
|
16
|
+
ROBOTO: "ROBOTO";
|
|
17
|
+
OPEN_SANS: "OPEN_SANS";
|
|
18
|
+
LATO: "LATO";
|
|
19
|
+
POPPINS: "POPPINS";
|
|
20
|
+
INTER: "INTER";
|
|
21
|
+
MONTSERRAT: "MONTSERRAT";
|
|
22
|
+
RALEWAY: "RALEWAY";
|
|
23
|
+
NUNITO: "NUNITO";
|
|
24
|
+
PLAYFAIR_DISPLAY: "PLAYFAIR_DISPLAY";
|
|
25
|
+
MERRIWEATHER: "MERRIWEATHER";
|
|
26
|
+
PT_SANS: "PT_SANS";
|
|
27
|
+
OSWALD: "OSWALD";
|
|
28
|
+
SOURCE_SANS_PRO: "SOURCE_SANS_PRO";
|
|
29
|
+
RUBIK: "RUBIK";
|
|
30
|
+
WORK_SANS: "WORK_SANS";
|
|
31
|
+
NOTO_SANS: "NOTO_SANS";
|
|
32
|
+
DANCING_SCRIPT: "DANCING_SCRIPT";
|
|
33
|
+
PACIFICO: "PACIFICO";
|
|
34
|
+
LOBSTER: "LOBSTER";
|
|
35
|
+
BEBAS_NEUE: "BEBAS_NEUE";
|
|
36
|
+
}>>>;
|
|
37
|
+
fontWeight: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
38
|
+
400: "400";
|
|
39
|
+
500: "500";
|
|
40
|
+
600: "600";
|
|
41
|
+
700: "700";
|
|
42
|
+
normal: "normal";
|
|
43
|
+
bold: "bold";
|
|
44
|
+
}>>>;
|
|
45
|
+
textAlign: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
46
|
+
right: "right";
|
|
47
|
+
left: "left";
|
|
48
|
+
center: "center";
|
|
49
|
+
}>>>;
|
|
50
|
+
buttonTextAlign: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
51
|
+
right: "right";
|
|
52
|
+
left: "left";
|
|
53
|
+
center: "center";
|
|
54
|
+
}>>>;
|
|
55
|
+
padding: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
56
|
+
top: z.ZodNumber;
|
|
57
|
+
bottom: z.ZodNumber;
|
|
58
|
+
right: z.ZodNumber;
|
|
59
|
+
left: z.ZodNumber;
|
|
60
|
+
}, z.core.$strip>>>;
|
|
61
|
+
}, z.core.$strip>>>;
|
|
62
|
+
props: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
63
|
+
buttonBackground: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString, z.ZodLiteral<"transparent">]>>>;
|
|
64
|
+
hoverBackground: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString, z.ZodLiteral<"transparent">]>>>;
|
|
65
|
+
hoverTextColor: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString, z.ZodLiteral<"transparent">]>>>;
|
|
66
|
+
borderRadius: z.ZodNullable<z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
67
|
+
topLeft: z.ZodNumber;
|
|
68
|
+
topRight: z.ZodNumber;
|
|
69
|
+
bottomRight: z.ZodNumber;
|
|
70
|
+
bottomLeft: z.ZodNumber;
|
|
71
|
+
}, z.core.$strip>]>>>;
|
|
72
|
+
borderWidth: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
73
|
+
top: z.ZodNumber;
|
|
74
|
+
bottom: z.ZodNumber;
|
|
75
|
+
right: z.ZodNumber;
|
|
76
|
+
left: z.ZodNumber;
|
|
77
|
+
}, z.core.$strip>>>;
|
|
78
|
+
borderColor: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString, z.ZodLiteral<"transparent">]>>>;
|
|
79
|
+
buttonTextColor: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString, z.ZodLiteral<"transparent">]>>>;
|
|
80
|
+
fullWidth: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
81
|
+
widthType: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
82
|
+
fill: "fill";
|
|
83
|
+
fixed: "fixed";
|
|
84
|
+
fit: "fit";
|
|
85
|
+
}>>>;
|
|
86
|
+
width: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
87
|
+
size: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
88
|
+
small: "small";
|
|
89
|
+
"x-small": "x-small";
|
|
90
|
+
large: "large";
|
|
91
|
+
medium: "medium";
|
|
92
|
+
}>>>;
|
|
93
|
+
text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
94
|
+
url: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
95
|
+
action: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
96
|
+
link: "link";
|
|
97
|
+
onNextStep: "onNextStep";
|
|
98
|
+
onPrevStep: "onPrevStep";
|
|
99
|
+
onCloseStep: "onCloseStep";
|
|
100
|
+
goToStep: "goToStep";
|
|
101
|
+
postMessageEvent: "postMessageEvent";
|
|
102
|
+
}>>>;
|
|
103
|
+
openInNewTab: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
104
|
+
customAction: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
105
|
+
actionPayload: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
106
|
+
iconEnabled: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
107
|
+
iconName: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
108
|
+
iconAlignment: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
109
|
+
right: "right";
|
|
110
|
+
left: "left";
|
|
111
|
+
}>>>;
|
|
112
|
+
ariaLabel: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
113
|
+
goToStep: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
114
|
+
postMessageEvent: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
115
|
+
}, z.core.$strip>>>;
|
|
116
|
+
}, z.core.$strip>;
|
|
117
|
+
export type ButtonProps = z.infer<typeof ButtonPropsSchema>;
|
|
118
|
+
export declare const ButtonPropsDefaults: {
|
|
119
|
+
readonly text: "";
|
|
120
|
+
readonly url: "";
|
|
121
|
+
readonly fullWidth: false;
|
|
122
|
+
readonly widthType: "fit";
|
|
123
|
+
readonly width: 200;
|
|
124
|
+
readonly size: "medium";
|
|
125
|
+
readonly borderRadius: 4;
|
|
126
|
+
readonly borderColor: "";
|
|
127
|
+
readonly buttonTextColor: "";
|
|
128
|
+
readonly buttonBackground: "";
|
|
129
|
+
readonly borderWidth: {
|
|
130
|
+
readonly top: 0;
|
|
131
|
+
readonly right: 0;
|
|
132
|
+
readonly bottom: 0;
|
|
133
|
+
readonly left: 0;
|
|
134
|
+
};
|
|
135
|
+
readonly action: "onNextStep";
|
|
136
|
+
readonly openInNewTab: true;
|
|
137
|
+
readonly customAction: "";
|
|
138
|
+
readonly actionPayload: any;
|
|
139
|
+
readonly iconEnabled: false;
|
|
140
|
+
readonly iconName: "";
|
|
141
|
+
readonly iconAlignment: "left";
|
|
142
|
+
readonly goToStep: "";
|
|
143
|
+
readonly postMessageEvent: "";
|
|
144
|
+
};
|
|
145
|
+
export declare function Button({ style, props }: ButtonProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { z } from 'zod';
|
|
3
|
+
export declare const ButtonGroupPropsSchema: z.ZodObject<{
|
|
4
|
+
style: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
5
|
+
backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString, z.ZodLiteral<"transparent">]>>>;
|
|
6
|
+
padding: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
7
|
+
top: z.ZodNumber;
|
|
8
|
+
bottom: z.ZodNumber;
|
|
9
|
+
right: z.ZodNumber;
|
|
10
|
+
left: z.ZodNumber;
|
|
11
|
+
}, z.core.$strip>>>;
|
|
12
|
+
}, z.core.$strip>>>;
|
|
13
|
+
props: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
14
|
+
direction: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
15
|
+
column: "column";
|
|
16
|
+
row: "row";
|
|
17
|
+
}>>>;
|
|
18
|
+
gap: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
19
|
+
alignment: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
20
|
+
center: "center";
|
|
21
|
+
end: "end";
|
|
22
|
+
start: "start";
|
|
23
|
+
"space-between": "space-between";
|
|
24
|
+
}>>>;
|
|
25
|
+
wrap: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
26
|
+
fullWidthOnMobile: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
27
|
+
ariaLabel: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
28
|
+
}, z.core.$strip>>>;
|
|
29
|
+
}, z.core.$strip>;
|
|
30
|
+
type TButton = React.JSX.Element | React.JSX.Element[] | null;
|
|
31
|
+
export type ButtonGroupProps = z.infer<typeof ButtonGroupPropsSchema> & {
|
|
32
|
+
buttons?: TButton[];
|
|
33
|
+
};
|
|
34
|
+
export declare function ButtonGroup({ style, buttons, props }: ButtonGroupProps): React.JSX.Element;
|
|
35
|
+
export {};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { z } from 'zod';
|
|
3
|
+
export declare const ColumnsContainerPropsSchema: z.ZodObject<{
|
|
4
|
+
style: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
5
|
+
backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString, z.ZodLiteral<"transparent">]>>>;
|
|
6
|
+
padding: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
7
|
+
top: z.ZodNumber;
|
|
8
|
+
bottom: z.ZodNumber;
|
|
9
|
+
right: z.ZodNumber;
|
|
10
|
+
left: z.ZodNumber;
|
|
11
|
+
}, z.core.$strip>>>;
|
|
12
|
+
}, z.core.$strip>>>;
|
|
13
|
+
props: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
14
|
+
widthType: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
15
|
+
fill: "fill";
|
|
16
|
+
fixed: "fixed";
|
|
17
|
+
fit: "fit";
|
|
18
|
+
}>>>;
|
|
19
|
+
fixedWidths: z.ZodNullable<z.ZodOptional<z.ZodTuple<[z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>, z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>, z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>, z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>, z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>], null>>>;
|
|
20
|
+
columnsCount: z.ZodNullable<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>]>>>;
|
|
21
|
+
columnsGap: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
22
|
+
columnsDirection: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
23
|
+
horizontal: "horizontal";
|
|
24
|
+
vertical: "vertical";
|
|
25
|
+
}>>>;
|
|
26
|
+
contentAlignment: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
27
|
+
top: "top";
|
|
28
|
+
bottom: "bottom";
|
|
29
|
+
middle: "middle";
|
|
30
|
+
}>>>;
|
|
31
|
+
}, z.core.$strip>>>;
|
|
32
|
+
}, z.core.$strip>;
|
|
33
|
+
type TColumn = React.JSX.Element | React.JSX.Element[] | null;
|
|
34
|
+
export type ColumnsContainerProps = z.infer<typeof ColumnsContainerPropsSchema> & {
|
|
35
|
+
columns?: TColumn[];
|
|
36
|
+
};
|
|
37
|
+
export declare function ColumnsContainer({ style, columns, props }: ColumnsContainerProps): React.JSX.Element;
|
|
38
|
+
export {};
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import * as z from 'zod';
|
|
3
|
+
export declare const ContainerPropsSchema: z.ZodObject<{
|
|
4
|
+
style: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
5
|
+
backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString, z.ZodLiteral<"transparent">]>>>;
|
|
6
|
+
backgroundImage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7
|
+
backgroundSize: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8
|
+
borderColor: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString, z.ZodLiteral<"transparent">]>>>;
|
|
9
|
+
borderRadius: z.ZodNullable<z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
10
|
+
topLeft: z.ZodNumber;
|
|
11
|
+
topRight: z.ZodNumber;
|
|
12
|
+
bottomRight: z.ZodNumber;
|
|
13
|
+
bottomLeft: z.ZodNumber;
|
|
14
|
+
}, z.core.$strip>]>>>;
|
|
15
|
+
padding: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
16
|
+
top: z.ZodNumber;
|
|
17
|
+
bottom: z.ZodNumber;
|
|
18
|
+
right: z.ZodNumber;
|
|
19
|
+
left: z.ZodNumber;
|
|
20
|
+
}, z.core.$strip>>>;
|
|
21
|
+
borderWidth: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
22
|
+
top: z.ZodNumber;
|
|
23
|
+
bottom: z.ZodNumber;
|
|
24
|
+
right: z.ZodNumber;
|
|
25
|
+
left: z.ZodNumber;
|
|
26
|
+
}, z.core.$strip>>>;
|
|
27
|
+
}, z.core.$strip>>>;
|
|
28
|
+
props: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
29
|
+
fullWidth: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
30
|
+
widthType: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
31
|
+
fill: "fill";
|
|
32
|
+
fixed: "fixed";
|
|
33
|
+
fit: "fit";
|
|
34
|
+
}>>>;
|
|
35
|
+
width: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
36
|
+
height: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
37
|
+
overflow: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
38
|
+
alignment: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
39
|
+
right: "right";
|
|
40
|
+
left: "left";
|
|
41
|
+
center: "center";
|
|
42
|
+
}>>>;
|
|
43
|
+
tag: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
44
|
+
div: "div";
|
|
45
|
+
article: "article";
|
|
46
|
+
aside: "aside";
|
|
47
|
+
footer: "footer";
|
|
48
|
+
header: "header";
|
|
49
|
+
main: "main";
|
|
50
|
+
nav: "nav";
|
|
51
|
+
section: "section";
|
|
52
|
+
}>>>;
|
|
53
|
+
ariaLabel: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
54
|
+
elementId: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
55
|
+
showLink: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
56
|
+
linkHref: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
57
|
+
linkTarget: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
58
|
+
_blank: "_blank";
|
|
59
|
+
_self: "_self";
|
|
60
|
+
}>>>;
|
|
61
|
+
}, z.core.$strip>>>;
|
|
62
|
+
}, z.core.$strip>;
|
|
63
|
+
export type ContainerProps = z.infer<typeof ContainerPropsSchema> & {
|
|
64
|
+
children?: React.JSX.Element | React.JSX.Element[] | null;
|
|
65
|
+
};
|
|
66
|
+
export declare const ContainerPropsDefaults: {
|
|
67
|
+
readonly fullWidth: false;
|
|
68
|
+
readonly widthType: "fit";
|
|
69
|
+
readonly width: 300;
|
|
70
|
+
readonly alignment: "left";
|
|
71
|
+
};
|
|
72
|
+
export declare function Container({ style, props, children }: ContainerProps): React.JSX.Element;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { z } from 'zod';
|
|
3
|
+
export declare const DividerPropsSchema: z.ZodObject<{
|
|
4
|
+
style: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
5
|
+
backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString, z.ZodLiteral<"transparent">]>>>;
|
|
6
|
+
padding: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
7
|
+
top: z.ZodNumber;
|
|
8
|
+
bottom: z.ZodNumber;
|
|
9
|
+
right: z.ZodNumber;
|
|
10
|
+
left: z.ZodNumber;
|
|
11
|
+
}, z.core.$strip>>>;
|
|
12
|
+
}, z.core.$strip>>>;
|
|
13
|
+
props: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
14
|
+
lineColor: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString, z.ZodLiteral<"transparent">]>>>;
|
|
15
|
+
lineHeight: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
16
|
+
}, z.core.$strip>>>;
|
|
17
|
+
}, z.core.$strip>;
|
|
18
|
+
export type DividerProps = z.infer<typeof DividerPropsSchema>;
|
|
19
|
+
export declare const DividerPropsDefaults: {
|
|
20
|
+
lineHeight: number;
|
|
21
|
+
lineColor: string;
|
|
22
|
+
};
|
|
23
|
+
export declare function Divider({ style, props }: DividerProps): React.JSX.Element;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { z } from 'zod';
|
|
3
|
+
export declare const GridPropsSchema: z.ZodObject<{
|
|
4
|
+
style: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
5
|
+
backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString, z.ZodLiteral<"transparent">]>>>;
|
|
6
|
+
padding: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
7
|
+
top: z.ZodNumber;
|
|
8
|
+
bottom: z.ZodNumber;
|
|
9
|
+
right: z.ZodNumber;
|
|
10
|
+
left: z.ZodNumber;
|
|
11
|
+
}, z.core.$strip>>>;
|
|
12
|
+
}, z.core.$strip>>>;
|
|
13
|
+
props: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
14
|
+
columnsCount: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
15
|
+
columnsCountTablet: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
16
|
+
columnsCountMobile: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
17
|
+
rowsCount: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
18
|
+
columnsGap: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
19
|
+
rowsGap: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
20
|
+
contentAlignment: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
21
|
+
top: "top";
|
|
22
|
+
bottom: "bottom";
|
|
23
|
+
middle: "middle";
|
|
24
|
+
}>>>;
|
|
25
|
+
}, z.core.$strip>>>;
|
|
26
|
+
}, z.core.$strip>;
|
|
27
|
+
type TCell = React.JSX.Element | React.JSX.Element[] | null;
|
|
28
|
+
export type GridProps = z.infer<typeof GridPropsSchema> & {
|
|
29
|
+
cells?: TCell[];
|
|
30
|
+
};
|
|
31
|
+
export declare function Grid({ style, cells, props }: GridProps): React.JSX.Element;
|
|
32
|
+
export {};
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { z } from 'zod';
|
|
3
|
+
export declare const HeadingPropsSchema: z.ZodObject<{
|
|
4
|
+
props: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
5
|
+
text: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
6
|
+
level: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
7
|
+
h1: "h1";
|
|
8
|
+
h2: "h2";
|
|
9
|
+
h3: "h3";
|
|
10
|
+
h4: "h4";
|
|
11
|
+
h5: "h5";
|
|
12
|
+
h6: "h6";
|
|
13
|
+
}>>>;
|
|
14
|
+
linkType: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
15
|
+
text: "text";
|
|
16
|
+
link: "link";
|
|
17
|
+
}>>>;
|
|
18
|
+
url: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
19
|
+
openInNewTab: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
20
|
+
}, z.core.$strip>>>;
|
|
21
|
+
style: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
22
|
+
color: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString, z.ZodLiteral<"transparent">]>>>;
|
|
23
|
+
textColor: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString, z.ZodLiteral<"transparent">]>>>;
|
|
24
|
+
backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString, z.ZodLiteral<"transparent">]>>>;
|
|
25
|
+
fontFamily: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
26
|
+
inherit: "inherit";
|
|
27
|
+
MODERN_SANS: "MODERN_SANS";
|
|
28
|
+
BOOK_SANS: "BOOK_SANS";
|
|
29
|
+
ORGANIC_SANS: "ORGANIC_SANS";
|
|
30
|
+
GEOMETRIC_SANS: "GEOMETRIC_SANS";
|
|
31
|
+
HEAVY_SANS: "HEAVY_SANS";
|
|
32
|
+
ROUNDED_SANS: "ROUNDED_SANS";
|
|
33
|
+
MODERN_SERIF: "MODERN_SERIF";
|
|
34
|
+
BOOK_SERIF: "BOOK_SERIF";
|
|
35
|
+
MONOSPACE: "MONOSPACE";
|
|
36
|
+
ROBOTO: "ROBOTO";
|
|
37
|
+
OPEN_SANS: "OPEN_SANS";
|
|
38
|
+
LATO: "LATO";
|
|
39
|
+
POPPINS: "POPPINS";
|
|
40
|
+
INTER: "INTER";
|
|
41
|
+
MONTSERRAT: "MONTSERRAT";
|
|
42
|
+
RALEWAY: "RALEWAY";
|
|
43
|
+
NUNITO: "NUNITO";
|
|
44
|
+
PLAYFAIR_DISPLAY: "PLAYFAIR_DISPLAY";
|
|
45
|
+
MERRIWEATHER: "MERRIWEATHER";
|
|
46
|
+
PT_SANS: "PT_SANS";
|
|
47
|
+
OSWALD: "OSWALD";
|
|
48
|
+
SOURCE_SANS_PRO: "SOURCE_SANS_PRO";
|
|
49
|
+
RUBIK: "RUBIK";
|
|
50
|
+
WORK_SANS: "WORK_SANS";
|
|
51
|
+
NOTO_SANS: "NOTO_SANS";
|
|
52
|
+
DANCING_SCRIPT: "DANCING_SCRIPT";
|
|
53
|
+
PACIFICO: "PACIFICO";
|
|
54
|
+
LOBSTER: "LOBSTER";
|
|
55
|
+
BEBAS_NEUE: "BEBAS_NEUE";
|
|
56
|
+
}>>>;
|
|
57
|
+
fontSize: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
58
|
+
fontWeight: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
59
|
+
400: "400";
|
|
60
|
+
500: "500";
|
|
61
|
+
600: "600";
|
|
62
|
+
700: "700";
|
|
63
|
+
normal: "normal";
|
|
64
|
+
bold: "bold";
|
|
65
|
+
}>>>;
|
|
66
|
+
fontStyle: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
67
|
+
normal: "normal";
|
|
68
|
+
italic: "italic";
|
|
69
|
+
}>>>;
|
|
70
|
+
textDecoration: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
71
|
+
none: "none";
|
|
72
|
+
"line-through": "line-through";
|
|
73
|
+
underline: "underline";
|
|
74
|
+
"underline line-through": "underline line-through";
|
|
75
|
+
}>>>;
|
|
76
|
+
textAlign: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
77
|
+
right: "right";
|
|
78
|
+
left: "left";
|
|
79
|
+
center: "center";
|
|
80
|
+
}>>>;
|
|
81
|
+
padding: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
82
|
+
top: z.ZodNumber;
|
|
83
|
+
bottom: z.ZodNumber;
|
|
84
|
+
right: z.ZodNumber;
|
|
85
|
+
left: z.ZodNumber;
|
|
86
|
+
}, z.core.$strip>>>;
|
|
87
|
+
}, z.core.$strip>>>;
|
|
88
|
+
}, z.core.$strip>;
|
|
89
|
+
export type HeadingProps = z.infer<typeof HeadingPropsSchema>;
|
|
90
|
+
export declare const HeadingPropsDefaults: {
|
|
91
|
+
readonly level: "h2";
|
|
92
|
+
readonly text: "";
|
|
93
|
+
readonly backgroundColor: any;
|
|
94
|
+
readonly fontFamily: "inherit";
|
|
95
|
+
readonly linkType: "text";
|
|
96
|
+
readonly url: "";
|
|
97
|
+
readonly openInNewTab: false;
|
|
98
|
+
};
|
|
99
|
+
export declare function Heading({ props, style }: HeadingProps): React.JSX.Element;
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { z } from 'zod';
|
|
3
|
+
export declare const HtmlPropsSchema: z.ZodObject<{
|
|
4
|
+
style: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
5
|
+
color: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString, z.ZodLiteral<"transparent">]>>>;
|
|
6
|
+
backgroundColor: z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString, z.ZodLiteral<"transparent">]>>>;
|
|
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
|
+
fontSize: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
39
|
+
textAlign: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
40
|
+
right: "right";
|
|
41
|
+
left: "left";
|
|
42
|
+
center: "center";
|
|
43
|
+
}>>>;
|
|
44
|
+
padding: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
45
|
+
top: z.ZodNumber;
|
|
46
|
+
bottom: z.ZodNumber;
|
|
47
|
+
right: z.ZodNumber;
|
|
48
|
+
left: z.ZodNumber;
|
|
49
|
+
}, z.core.$strip>>>;
|
|
50
|
+
}, z.core.$strip>>>;
|
|
51
|
+
props: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
52
|
+
contents: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
53
|
+
}, z.core.$strip>>>;
|
|
54
|
+
}, z.core.$strip>;
|
|
55
|
+
export type HtmlProps = z.infer<typeof HtmlPropsSchema>;
|
|
56
|
+
export declare function Html({ style, props }: HtmlProps): React.JSX.Element;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { z } from 'zod';
|
|
3
|
+
export declare const IframePropsSchema: 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
|
+
textAlign: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
12
|
+
right: "right";
|
|
13
|
+
left: "left";
|
|
14
|
+
center: "center";
|
|
15
|
+
}>>>;
|
|
16
|
+
}, z.core.$strip>>>;
|
|
17
|
+
props: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
18
|
+
src: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
19
|
+
width: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
20
|
+
height: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
21
|
+
title: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
22
|
+
allowFullscreen: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
23
|
+
}, z.core.$strip>>>;
|
|
24
|
+
}, z.core.$strip>;
|
|
25
|
+
export type IframeProps = z.infer<typeof IframePropsSchema>;
|
|
26
|
+
export declare function Iframe({ style, props }: IframeProps): React.JSX.Element;
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { z } from 'zod';
|
|
3
|
+
export declare const ImagePropsSchema: 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
|
+
width: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
20
|
+
widthTablet: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
21
|
+
widthMobile: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
22
|
+
height: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
|
|
23
|
+
widthType: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
24
|
+
fill: "fill";
|
|
25
|
+
fixed: "fixed";
|
|
26
|
+
fit: "fit";
|
|
27
|
+
}>>>;
|
|
28
|
+
url: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
29
|
+
alt: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
30
|
+
decorative: z.ZodNullable<z.ZodOptional<z.ZodBoolean>>;
|
|
31
|
+
linkHref: z.ZodNullable<z.ZodOptional<z.ZodString>>;
|
|
32
|
+
contentAlignment: z.ZodNullable<z.ZodOptional<z.ZodEnum<{
|
|
33
|
+
top: "top";
|
|
34
|
+
bottom: "bottom";
|
|
35
|
+
middle: "middle";
|
|
36
|
+
}>>>;
|
|
37
|
+
borderRadius: z.ZodNullable<z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodObject<{
|
|
38
|
+
topLeft: z.ZodNumber;
|
|
39
|
+
topRight: z.ZodNumber;
|
|
40
|
+
bottomRight: z.ZodNumber;
|
|
41
|
+
bottomLeft: z.ZodNumber;
|
|
42
|
+
}, z.core.$strip>]>>>;
|
|
43
|
+
borderColor: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodUnion<readonly [z.ZodString, z.ZodString, z.ZodString, z.ZodLiteral<"transparent">]>>>>;
|
|
44
|
+
borderWidth: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
45
|
+
top: z.ZodNumber;
|
|
46
|
+
bottom: z.ZodNumber;
|
|
47
|
+
right: z.ZodNumber;
|
|
48
|
+
left: z.ZodNumber;
|
|
49
|
+
}, z.core.$strip>>>;
|
|
50
|
+
}, z.core.$strip>>>;
|
|
51
|
+
}, z.core.$strip>;
|
|
52
|
+
export type ImageProps = z.infer<typeof ImagePropsSchema>;
|
|
53
|
+
export declare const ImagePropsDefaults: {
|
|
54
|
+
readonly widthType: "fit";
|
|
55
|
+
readonly width: 300;
|
|
56
|
+
readonly widthTablet: any;
|
|
57
|
+
readonly widthMobile: any;
|
|
58
|
+
readonly height: any;
|
|
59
|
+
readonly url: "";
|
|
60
|
+
readonly alt: "";
|
|
61
|
+
readonly decorative: false;
|
|
62
|
+
readonly linkHref: any;
|
|
63
|
+
readonly contentAlignment: "middle";
|
|
64
|
+
readonly borderRadius: 0;
|
|
65
|
+
readonly borderColor: any;
|
|
66
|
+
readonly borderWidth: any;
|
|
67
|
+
};
|
|
68
|
+
export declare function Image({ style, props }: ImageProps): React.JSX.Element;
|