easy-email-pro-core 0.2.0
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/lib/index.cjs.js +105 -0
- package/lib/index.es.js +7244 -0
- package/lib/typings/blocks/basic/Button/index.d.ts +2 -0
- package/lib/typings/blocks/basic/Column/index.d.ts +2 -0
- package/lib/typings/blocks/basic/Divider/index.d.ts +2 -0
- package/lib/typings/blocks/basic/Group/index.d.ts +2 -0
- package/lib/typings/blocks/basic/Hero/index.d.ts +2 -0
- package/lib/typings/blocks/basic/HtmlNode/index.d.ts +2 -0
- package/lib/typings/blocks/basic/Image/index.d.ts +2 -0
- package/lib/typings/blocks/basic/LineBreak/index.d.ts +2 -0
- package/lib/typings/blocks/basic/Mergetag/index.d.ts +2 -0
- package/lib/typings/blocks/basic/Navbar/index.d.ts +2 -0
- package/lib/typings/blocks/basic/NavbarLink/index.d.ts +2 -0
- package/lib/typings/blocks/basic/Page/index.d.ts +3 -0
- package/lib/typings/blocks/basic/Placeholder/index.d.ts +2 -0
- package/lib/typings/blocks/basic/Raw/index.d.ts +2 -0
- package/lib/typings/blocks/basic/Section/index.d.ts +2 -0
- package/lib/typings/blocks/basic/Social/index.d.ts +2 -0
- package/lib/typings/blocks/basic/SocialElement/index.d.ts +2 -0
- package/lib/typings/blocks/basic/Spacer/index.d.ts +2 -0
- package/lib/typings/blocks/basic/Text/index.d.ts +2 -0
- package/lib/typings/blocks/basic/Wrapper/index.d.ts +2 -0
- package/lib/typings/blocks/basic/index.d.ts +23 -0
- package/lib/typings/blocks/index.d.ts +45 -0
- package/lib/typings/blocks/logic/ForEach/index.d.ts +3 -0
- package/lib/typings/blocks/logic/Show/index.d.ts +2 -0
- package/lib/typings/blocks/logic/index.d.ts +5 -0
- package/lib/typings/blocks/standard/Button/index.d.ts +2 -0
- package/lib/typings/blocks/standard/Column/index.d.ts +2 -0
- package/lib/typings/blocks/standard/Divider/index.d.ts +2 -0
- package/lib/typings/blocks/standard/Group/index.d.ts +2 -0
- package/lib/typings/blocks/standard/Hero/index.d.ts +2 -0
- package/lib/typings/blocks/standard/Image/index.d.ts +2 -0
- package/lib/typings/blocks/standard/Navbar/index.d.ts +2 -0
- package/lib/typings/blocks/standard/NavbarLink/index.d.ts +2 -0
- package/lib/typings/blocks/standard/Section/index.d.ts +2 -0
- package/lib/typings/blocks/standard/Social/index.d.ts +2 -0
- package/lib/typings/blocks/standard/SocialElement/index.d.ts +2 -0
- package/lib/typings/blocks/standard/Spacer/index.d.ts +2 -0
- package/lib/typings/blocks/standard/Text/generateTextBlock.d.ts +4 -0
- package/lib/typings/blocks/standard/Text/index.d.ts +7 -0
- package/lib/typings/blocks/standard/TextList/TextListItem.d.ts +2 -0
- package/lib/typings/blocks/standard/TextList/index.d.ts +3 -0
- package/lib/typings/blocks/standard/Wrapper/index.d.ts +2 -0
- package/lib/typings/blocks/standard/index.d.ts +24 -0
- package/lib/typings/components/BasicBlock.d.ts +7 -0
- package/lib/typings/components/BlockRenderer.d.ts +9 -0
- package/lib/typings/components/ContentEditableBlock.d.ts +4 -0
- package/lib/typings/components/ContentLeaf.d.ts +4 -0
- package/lib/typings/components/Elements/Button.d.ts +9 -0
- package/lib/typings/components/Elements/Column.d.ts +8 -0
- package/lib/typings/components/Elements/Divider.d.ts +8 -0
- package/lib/typings/components/Elements/ForEach.d.ts +6 -0
- package/lib/typings/components/Elements/Group.d.ts +8 -0
- package/lib/typings/components/Elements/Hero.d.ts +8 -0
- package/lib/typings/components/Elements/HtmlNode.d.ts +9 -0
- package/lib/typings/components/Elements/Image.d.ts +8 -0
- package/lib/typings/components/Elements/Navbar.d.ts +8 -0
- package/lib/typings/components/Elements/NavbarLink.d.ts +8 -0
- package/lib/typings/components/Elements/Raw.d.ts +8 -0
- package/lib/typings/components/Elements/Section.d.ts +8 -0
- package/lib/typings/components/Elements/Show.d.ts +6 -0
- package/lib/typings/components/Elements/Social.d.ts +8 -0
- package/lib/typings/components/Elements/SocialElement.d.ts +8 -0
- package/lib/typings/components/Elements/Spacer.d.ts +8 -0
- package/lib/typings/components/Elements/Text.d.ts +8 -0
- package/lib/typings/components/Elements/Wrapper.d.ts +8 -0
- package/lib/typings/components/Elements/index.d.ts +19 -0
- package/lib/typings/components/index.d.ts +5 -0
- package/lib/typings/constants/blockCategory.d.ts +20 -0
- package/lib/typings/constants/blockType.d.ts +100 -0
- package/lib/typings/constants/editor.d.ts +1 -0
- package/lib/typings/constants/index.d.ts +4 -0
- package/lib/typings/constants/regexp.d.ts +2 -0
- package/lib/typings/constants/responsive.d.ts +4 -0
- package/lib/typings/index.d.ts +8 -0
- package/lib/typings/typings/custom-types.d.ts +22 -0
- package/lib/typings/typings/element-logic.d.ts +38 -0
- package/lib/typings/typings/element.d.ts +609 -0
- package/lib/typings/typings/helper.d.ts +6 -0
- package/lib/typings/typings/index.d.ts +35 -0
- package/lib/typings/typings/mergeTagGenerate.d.ts +18 -0
- package/lib/typings/utils/BeacasCore/contexts/EmailGlobalContext.d.ts +32 -0
- package/lib/typings/utils/BeacasCore/contexts/EmailRenderContext.d.ts +18 -0
- package/lib/typings/utils/BeacasCore/index.d.ts +14 -0
- package/lib/typings/utils/BeacasCore/universalElement.d.ts +11 -0
- package/lib/typings/utils/BlockManager.d.ts +7 -0
- package/lib/typings/utils/I18nManager.d.ts +9 -0
- package/lib/typings/utils/NodeUtils.d.ts +37 -0
- package/lib/typings/utils/classnames.d.ts +1 -0
- package/lib/typings/utils/createBlock.d.ts +5 -0
- package/lib/typings/utils/getAdapterAttributesString.d.ts +10 -0
- package/lib/typings/utils/index.d.ts +9 -0
- package/lib/typings/utils/isProductionMode.d.ts +15 -0
- package/lib/typings/utils/isValidReactChildren.d.ts +2 -0
- package/lib/typings/utils/mergeBlock.d.ts +2 -0
- package/lib/typings/utils/plugins/PluginManager.d.ts +43 -0
- package/lib/typings/utils/plugins/TemplateEngine.d.ts +9 -0
- package/lib/typings/utils/plugins/index.d.ts +2 -0
- package/package.json +34 -0
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
page: import("../..").ElementDefinition<import("../..").PageElement>;
|
|
3
|
+
hero: import("../..").ElementDefinition<import("../..").HeroElement>;
|
|
4
|
+
wrapper: import("../..").ElementDefinition<import("../..").WrapperElement>;
|
|
5
|
+
section: import("../..").ElementDefinition<import("../..").SectionElement>;
|
|
6
|
+
group: import("../..").ElementDefinition<import("../..").GroupElement>;
|
|
7
|
+
column: import("../..").ElementDefinition<import("../..").ColumnElement>;
|
|
8
|
+
text: import("../..").ElementDefinition<import("../..").TextElement>;
|
|
9
|
+
image: import("../..").ElementDefinition<import("../..").ImageElement>;
|
|
10
|
+
button: import("../..").ElementDefinition<import("../..").ButtonElement>;
|
|
11
|
+
spacer: import("../..").ElementDefinition<import("../..").SpacerElement>;
|
|
12
|
+
divider: import("../..").ElementDefinition<import("../..").DividerElement>;
|
|
13
|
+
social: import("../..").ElementDefinition<import("../..").SocialElement>;
|
|
14
|
+
"social-element": import("../..").ElementDefinition<import("../..").SocialItemElement>;
|
|
15
|
+
navbar: import("../..").ElementDefinition<import("../..").NavbarElement>;
|
|
16
|
+
"navbar-link": import("../..").ElementDefinition<import("../..").NavbarLinkElement>;
|
|
17
|
+
raw: import("../..").ElementDefinition<import("../..").RawElement>;
|
|
18
|
+
mergetag: import("../..").ElementDefinition<import("../..").MergetagElement>;
|
|
19
|
+
"line-break": import("../..").ElementDefinition<import("../..").LineBreakElement>;
|
|
20
|
+
placeholder: import("../..").ElementDefinition<import("../..").PlaceholderElement>;
|
|
21
|
+
"html-node": import("../..").ElementDefinition<import("../..").HtmlNodeElement>;
|
|
22
|
+
};
|
|
23
|
+
export default _default;
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
export declare const blockMap: {
|
|
2
|
+
"logic-for-each": import("..").ElementDefinition<import("..").ForEachElement>;
|
|
3
|
+
"logic-show": import("..").ElementDefinition<import("..").ShowElement>;
|
|
4
|
+
"standard-hero": import("..").ElementDefinition<import("..").StandardHeroElement>;
|
|
5
|
+
"standard-divider": import("..").ElementDefinition<import("..").StandardDividerElement>;
|
|
6
|
+
"standard-wrapper": import("..").ElementDefinition<import("..").StandardWrapperElement>;
|
|
7
|
+
"standard-section": import("..").ElementDefinition<import("..").StandardSectionElement>;
|
|
8
|
+
"standard-group": import("..").ElementDefinition<import("..").StandardGroupElement>;
|
|
9
|
+
"standard-social": import("..").ElementDefinition<import("..").StandardSocialElement>;
|
|
10
|
+
"standard-social-element": import("..").ElementDefinition<import("..").StandardSocialItemElement>;
|
|
11
|
+
"standard-column": import("..").ElementDefinition<import("..").StandardColumnElement>;
|
|
12
|
+
"standard-button": import("..").ElementDefinition<import("..").StandardButtonElement>;
|
|
13
|
+
"standard-spacer": import("..").ElementDefinition<import("..").StandardSpacerElement>;
|
|
14
|
+
"standard-image": import("..").ElementDefinition<import("..").StandardImageElement>;
|
|
15
|
+
"standard-text": import("..").ElementDefinition<import("..").StandardTextElement>;
|
|
16
|
+
"standard-navbar": import("..").ElementDefinition<import("..").StandardNavbarElement>;
|
|
17
|
+
"standard-navbar-link": import("..").ElementDefinition<import("..").StandardNavbarLinkElement>;
|
|
18
|
+
"standard-paragraph": import("..").ElementDefinition<import("..").StandardParagraphElement>;
|
|
19
|
+
"standard-h1": import("..").ElementDefinition<import("..").StandardH1Element>;
|
|
20
|
+
"standard-h2": import("..").ElementDefinition<import("..").StandardH2Element>;
|
|
21
|
+
"standard-h3": import("..").ElementDefinition<import("..").StandardH3Element>;
|
|
22
|
+
"standard-h4": import("..").ElementDefinition<import("..").StandardH4Element>;
|
|
23
|
+
"standard-text-list": import("..").ElementDefinition<import("..").StandardTextListElement>;
|
|
24
|
+
"standard-text-list-item": import("..").ElementDefinition<import("..").StandardTextListItemElement>;
|
|
25
|
+
page: import("..").ElementDefinition<import("..").PageElement>;
|
|
26
|
+
hero: import("..").ElementDefinition<import("..").HeroElement>;
|
|
27
|
+
wrapper: import("..").ElementDefinition<import("..").WrapperElement>;
|
|
28
|
+
section: import("..").ElementDefinition<import("..").SectionElement>;
|
|
29
|
+
group: import("..").ElementDefinition<import("..").GroupElement>;
|
|
30
|
+
column: import("..").ElementDefinition<import("..").ColumnElement>;
|
|
31
|
+
text: import("..").ElementDefinition<import("..").TextElement>;
|
|
32
|
+
image: import("..").ElementDefinition<import("..").ImageElement>;
|
|
33
|
+
button: import("..").ElementDefinition<import("..").ButtonElement>;
|
|
34
|
+
spacer: import("..").ElementDefinition<import("..").SpacerElement>;
|
|
35
|
+
divider: import("..").ElementDefinition<import("..").DividerElement>;
|
|
36
|
+
social: import("..").ElementDefinition<import("..").SocialElement>;
|
|
37
|
+
"social-element": import("..").ElementDefinition<import("..").SocialItemElement>;
|
|
38
|
+
navbar: import("..").ElementDefinition<import("..").NavbarElement>;
|
|
39
|
+
"navbar-link": import("..").ElementDefinition<import("..").NavbarLinkElement>;
|
|
40
|
+
raw: import("..").ElementDefinition<import("..").RawElement>;
|
|
41
|
+
mergetag: import("..").ElementDefinition<import("..").MergetagElement>;
|
|
42
|
+
"line-break": import("..").ElementDefinition<import("..").LineBreakElement>;
|
|
43
|
+
placeholder: import("..").ElementDefinition<import("..").PlaceholderElement>;
|
|
44
|
+
"html-node": import("..").ElementDefinition<import("..").HtmlNodeElement>;
|
|
45
|
+
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { StandardH1Element, StandardH2Element, StandardH3Element, StandardH4Element, StandardParagraphElement, StandardTextElement } from "../../../typings";
|
|
2
|
+
export declare const StandardText: import("../../../typings").ElementDefinition<StandardTextElement>;
|
|
3
|
+
export declare const StandardParagraph: import("../../../typings").ElementDefinition<StandardParagraphElement>;
|
|
4
|
+
export declare const StandardHeading1: import("../../../typings").ElementDefinition<StandardH1Element>;
|
|
5
|
+
export declare const StandardHeading2: import("../../../typings").ElementDefinition<StandardH2Element>;
|
|
6
|
+
export declare const StandardHeading3: import("../../../typings").ElementDefinition<StandardH3Element>;
|
|
7
|
+
export declare const StandardHeading4: import("../../../typings").ElementDefinition<StandardH4Element>;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
"standard-hero": import("../..").ElementDefinition<import("../..").StandardHeroElement>;
|
|
3
|
+
"standard-divider": import("../..").ElementDefinition<import("../..").StandardDividerElement>;
|
|
4
|
+
"standard-wrapper": import("../..").ElementDefinition<import("../..").StandardWrapperElement>;
|
|
5
|
+
"standard-section": import("../..").ElementDefinition<import("../..").StandardSectionElement>;
|
|
6
|
+
"standard-group": import("../..").ElementDefinition<import("../..").StandardGroupElement>;
|
|
7
|
+
"standard-social": import("../..").ElementDefinition<import("../..").StandardSocialElement>;
|
|
8
|
+
"standard-social-element": import("../..").ElementDefinition<import("../..").StandardSocialItemElement>;
|
|
9
|
+
"standard-column": import("../..").ElementDefinition<import("../..").StandardColumnElement>;
|
|
10
|
+
"standard-button": import("../..").ElementDefinition<import("../..").StandardButtonElement>;
|
|
11
|
+
"standard-spacer": import("../..").ElementDefinition<import("../..").StandardSpacerElement>;
|
|
12
|
+
"standard-image": import("../..").ElementDefinition<import("../..").StandardImageElement>;
|
|
13
|
+
"standard-text": import("../..").ElementDefinition<import("../..").StandardTextElement>;
|
|
14
|
+
"standard-navbar": import("../..").ElementDefinition<import("../..").StandardNavbarElement>;
|
|
15
|
+
"standard-navbar-link": import("../..").ElementDefinition<import("../..").StandardNavbarLinkElement>;
|
|
16
|
+
"standard-paragraph": import("../..").ElementDefinition<import("../..").StandardParagraphElement>;
|
|
17
|
+
"standard-h1": import("../..").ElementDefinition<import("../..").StandardH1Element>;
|
|
18
|
+
"standard-h2": import("../..").ElementDefinition<import("../..").StandardH2Element>;
|
|
19
|
+
"standard-h3": import("../..").ElementDefinition<import("../..").StandardH3Element>;
|
|
20
|
+
"standard-h4": import("../..").ElementDefinition<import("../..").StandardH4Element>;
|
|
21
|
+
"standard-text-list": import("../..").ElementDefinition<import("../..").StandardTextListElement>;
|
|
22
|
+
"standard-text-list-item": import("../..").ElementDefinition<import("../..").StandardTextListItemElement>;
|
|
23
|
+
};
|
|
24
|
+
export default _default;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { Element } from "../typings";
|
|
3
|
+
type BlockDataItem = {
|
|
4
|
+
node: Element;
|
|
5
|
+
children?: React.ReactNode;
|
|
6
|
+
idx?: string | null | undefined;
|
|
7
|
+
};
|
|
8
|
+
export declare const BlockRenderer: (props: BlockDataItem) => JSX.Element;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ElementChildren, ButtonElement } from "../../typings";
|
|
2
|
+
import { RecursivePartial } from "../../typings/helper";
|
|
3
|
+
export type ButtonProps = RecursivePartial<ButtonElement["attributes"]> & {
|
|
4
|
+
idx?: string | null;
|
|
5
|
+
children?: ElementChildren | ButtonElement["children"] | string;
|
|
6
|
+
data?: ButtonElement["data"];
|
|
7
|
+
logic?: ButtonElement["logic"];
|
|
8
|
+
};
|
|
9
|
+
export declare function Button(props: ButtonProps): JSX.Element;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ElementChildren, ColumnElement } from "../../typings";
|
|
2
|
+
import { RecursivePartial } from "../../typings/helper";
|
|
3
|
+
export type ColumnProps = RecursivePartial<ColumnElement["attributes"]> & {
|
|
4
|
+
idx?: string | null;
|
|
5
|
+
children?: ElementChildren | ColumnElement["children"];
|
|
6
|
+
data?: ColumnElement["data"];
|
|
7
|
+
};
|
|
8
|
+
export declare function Column(props: ColumnProps): JSX.Element;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ElementChildren, DividerElement } from "../../typings";
|
|
2
|
+
import { RecursivePartial } from "../../typings/helper";
|
|
3
|
+
export type DividerProps = RecursivePartial<DividerElement["attributes"]> & {
|
|
4
|
+
idx?: string | null;
|
|
5
|
+
children?: ElementChildren | DividerElement["children"];
|
|
6
|
+
data?: DividerElement["data"];
|
|
7
|
+
};
|
|
8
|
+
export declare function Divider(props: DividerProps): JSX.Element;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ElementChildren, ForEachElement } from "../../typings";
|
|
2
|
+
export type ForEachElementProps = ForEachElement["data"] & {
|
|
3
|
+
idx?: string | null;
|
|
4
|
+
children?: ElementChildren | ForEachElement["children"];
|
|
5
|
+
};
|
|
6
|
+
export declare function ForEach(props: ForEachElementProps): JSX.Element;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ElementChildren, GroupElement } from "../../typings";
|
|
2
|
+
import { RecursivePartial } from "../../typings/helper";
|
|
3
|
+
export type GroupProps = RecursivePartial<GroupElement["attributes"]> & {
|
|
4
|
+
idx?: string | null;
|
|
5
|
+
children?: ElementChildren | GroupElement["children"];
|
|
6
|
+
data?: GroupElement["data"];
|
|
7
|
+
};
|
|
8
|
+
export declare function Group(props: GroupProps): JSX.Element;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ElementChildren, HeroElement } from "../../typings";
|
|
2
|
+
import { RecursivePartial } from "../../typings/helper";
|
|
3
|
+
export type HeroProps = RecursivePartial<HeroElement["attributes"]> & {
|
|
4
|
+
idx?: string | null;
|
|
5
|
+
children?: ElementChildren | HeroElement["children"];
|
|
6
|
+
data?: HeroElement["data"];
|
|
7
|
+
};
|
|
8
|
+
export declare function Hero(props: HeroProps): JSX.Element;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { HtmlNodeElement } from "../../typings";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { RecursivePartial } from "../../typings/helper";
|
|
4
|
+
export type HtmlNodeProps = RecursivePartial<HtmlNodeElement["attributes"]> & {
|
|
5
|
+
idx?: string | null;
|
|
6
|
+
children?: React.ReactNode;
|
|
7
|
+
tagName: keyof HTMLElementTagNameMap;
|
|
8
|
+
};
|
|
9
|
+
export declare function HtmlNode(props: HtmlNodeProps): JSX.Element;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ElementChildren, ImageElement } from "../../typings";
|
|
2
|
+
import { RecursivePartial } from "../../typings/helper";
|
|
3
|
+
export type ImageProps = RecursivePartial<ImageElement["attributes"]> & {
|
|
4
|
+
idx?: string | null;
|
|
5
|
+
children?: ElementChildren | ImageElement["children"];
|
|
6
|
+
data?: ImageElement["data"];
|
|
7
|
+
};
|
|
8
|
+
export declare function Image(props: ImageProps): JSX.Element;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ElementChildren, NavbarElement } from "../../typings";
|
|
2
|
+
import { RecursivePartial } from "../../typings/helper";
|
|
3
|
+
export type NavbarProps = RecursivePartial<NavbarElement["attributes"]> & {
|
|
4
|
+
idx?: string | null;
|
|
5
|
+
children?: ElementChildren | NavbarElement["children"];
|
|
6
|
+
data?: NavbarElement["data"];
|
|
7
|
+
};
|
|
8
|
+
export declare function Navbar(props: NavbarProps): JSX.Element;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ElementChildren, NavbarLinkElement } from "../../typings";
|
|
2
|
+
import { RecursivePartial } from "../../typings/helper";
|
|
3
|
+
export type NavbarLinkProps = RecursivePartial<NavbarLinkElement["attributes"]> & {
|
|
4
|
+
idx?: string | null;
|
|
5
|
+
children?: ElementChildren | NavbarLinkElement["children"];
|
|
6
|
+
data?: NavbarLinkElement["data"];
|
|
7
|
+
};
|
|
8
|
+
export declare function NavbarLink(props: NavbarLinkProps): JSX.Element;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { RawElement } from "../../typings";
|
|
2
|
+
import { RecursivePartial } from "../../typings/helper";
|
|
3
|
+
export type RawProps = RecursivePartial<RawElement["attributes"]> & {
|
|
4
|
+
idx?: string | null;
|
|
5
|
+
children?: string;
|
|
6
|
+
data?: RawElement["data"];
|
|
7
|
+
};
|
|
8
|
+
export declare function Raw(props: RawProps): JSX.Element;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ElementChildren, SectionElement } from "../../typings";
|
|
2
|
+
import { RecursivePartial } from "../../typings/helper";
|
|
3
|
+
export type SectionProps = RecursivePartial<SectionElement["attributes"]> & {
|
|
4
|
+
idx?: string | null;
|
|
5
|
+
children?: ElementChildren | SectionElement["children"];
|
|
6
|
+
data?: SectionElement["data"];
|
|
7
|
+
};
|
|
8
|
+
export declare function Section(props: SectionProps): JSX.Element;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ElementChildren, SocialElement } from "../../typings";
|
|
2
|
+
import { RecursivePartial } from "../../typings/helper";
|
|
3
|
+
export type SocialProps = RecursivePartial<SocialElement["attributes"]> & {
|
|
4
|
+
idx?: string | null;
|
|
5
|
+
children?: ElementChildren | SocialElement["children"];
|
|
6
|
+
data?: SocialElement["data"];
|
|
7
|
+
};
|
|
8
|
+
export declare function Social(props: SocialProps): JSX.Element;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ElementChildren, SocialItemElement } from "../../typings";
|
|
2
|
+
import { RecursivePartial } from "../../typings/helper";
|
|
3
|
+
export type SocialElementProps = RecursivePartial<SocialItemElement["attributes"]> & {
|
|
4
|
+
idx?: string | null;
|
|
5
|
+
children?: ElementChildren | SocialItemElement["children"];
|
|
6
|
+
data?: SocialItemElement["data"];
|
|
7
|
+
};
|
|
8
|
+
export declare function SocialElement(props: SocialElementProps): JSX.Element;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ElementChildren, SpacerElement } from "../../typings";
|
|
2
|
+
import { RecursivePartial } from "../../typings/helper";
|
|
3
|
+
export type SpacerProps = RecursivePartial<SpacerElement["attributes"]> & {
|
|
4
|
+
idx?: string | null;
|
|
5
|
+
children?: ElementChildren | SpacerElement["children"];
|
|
6
|
+
data?: SpacerElement["data"];
|
|
7
|
+
};
|
|
8
|
+
export declare function Spacer(props: SpacerProps): JSX.Element;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ElementChildren, TextElement } from "../../typings";
|
|
2
|
+
import { RecursivePartial } from "../../typings/helper";
|
|
3
|
+
export type TextProps = RecursivePartial<Omit<TextElement["attributes"], "children">> & {
|
|
4
|
+
idx?: string | null;
|
|
5
|
+
children?: ElementChildren | TextElement["children"] | string;
|
|
6
|
+
data?: TextElement["data"];
|
|
7
|
+
};
|
|
8
|
+
export declare function Text(props: TextProps): JSX.Element;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ElementChildren, WrapperElement } from "../../typings";
|
|
2
|
+
import { RecursivePartial } from "../../typings/helper";
|
|
3
|
+
export type WrapperProps = RecursivePartial<WrapperElement["attributes"]> & {
|
|
4
|
+
idx?: string | null;
|
|
5
|
+
children?: ElementChildren | WrapperElement["children"];
|
|
6
|
+
data?: WrapperElement["data"];
|
|
7
|
+
};
|
|
8
|
+
export declare function Wrapper(props: WrapperProps): JSX.Element;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { Wrapper } from "./Wrapper";
|
|
2
|
+
import { Section } from "./Section";
|
|
3
|
+
import { Group } from "./Group";
|
|
4
|
+
import { Column } from "./Column";
|
|
5
|
+
import { Button } from "./Button";
|
|
6
|
+
import { Image } from "./Image";
|
|
7
|
+
import { Text } from "./Text";
|
|
8
|
+
import { Spacer } from "./Spacer";
|
|
9
|
+
import { Raw } from "./Raw";
|
|
10
|
+
import { Divider } from "./Divider";
|
|
11
|
+
import { Navbar } from "./Navbar";
|
|
12
|
+
import { NavbarLink } from "./NavbarLink";
|
|
13
|
+
import { Social } from "./Social";
|
|
14
|
+
import { SocialElement } from "./SocialElement";
|
|
15
|
+
import { Hero } from "./Hero";
|
|
16
|
+
import { HtmlNode } from "./HtmlNode";
|
|
17
|
+
import { ForEach } from "./ForEach";
|
|
18
|
+
import { Show } from "./Show";
|
|
19
|
+
export { Wrapper, Section, Column, Text, Button, Image, Raw, Spacer, Group, Divider, Navbar, NavbarLink, Social, SocialElement, Hero, HtmlNode, ForEach, Show, };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export declare const ElementCategory: {
|
|
2
|
+
PAGE: "page";
|
|
3
|
+
RAW: "raw";
|
|
4
|
+
HERO: "hero";
|
|
5
|
+
WRAPPER: "wrapper";
|
|
6
|
+
SECTION: "section";
|
|
7
|
+
COLUMN: "column";
|
|
8
|
+
GROUP: "group";
|
|
9
|
+
TEXT: "text";
|
|
10
|
+
BUTTON: "button";
|
|
11
|
+
IMAGE: "image";
|
|
12
|
+
DIVIDER: "divider";
|
|
13
|
+
NAVBAR: "navbar";
|
|
14
|
+
SOCIAL: "social";
|
|
15
|
+
SPACER: "spacer";
|
|
16
|
+
TEXT_LIST: "text-list";
|
|
17
|
+
TEXT_LIST_ITEM: "text-list-item";
|
|
18
|
+
INLINE_TEXT: "inline-text";
|
|
19
|
+
UNSET: "unset";
|
|
20
|
+
};
|