@blinkpage/composer-tools 1.0.0 → 1.1.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/composer-base-components/Link/ComposerLinkProvider.tsx +62 -0
- package/composer-base-components/Link/link.module.scss +7 -0
- package/composer-base-components/ui/accordion/Accordion.tsx +2 -2
- package/composer-base-components/ui/dropdown/Dropdown.tsx +2 -2
- package/custom-hooks/input-templates.tsx +2 -2
- package/editor-components/EditorComponent.tsx +2 -2
- package/editor-components/Image_gallery/image_gallery_1/image-gallery1.tsx +1 -1
- package/editor-components/Image_gallery/image_gallery_10/image-gallery10.tsx +1 -1
- package/editor-components/Image_gallery/image_gallery_2/image-gallery2.tsx +1 -1
- package/editor-components/Image_gallery/image_gallery_3/image-gallery3.tsx +1 -1
- package/editor-components/Image_gallery/image_gallery_4/image-gallery4.tsx +1 -1
- package/editor-components/Image_gallery/image_gallery_5/image-gallery5.tsx +1 -1
- package/editor-components/Image_gallery/image_gallery_6/image-gallery6.tsx +2 -2
- package/editor-components/Image_gallery/image_gallery_7/image-gallery7.tsx +1 -1
- package/editor-components/Image_gallery/image_gallery_8/image-gallery8.tsx +1 -1
- package/editor-components/Image_gallery/image_gallery_9/image-gallery9.tsx +1 -1
- package/editor-components/about/about1/about1.tsx +1 -1
- package/editor-components/about/about10/about10.tsx +2 -2
- package/editor-components/about/about11/about11.tsx +1 -1
- package/editor-components/about/about12/about12.tsx +3 -3
- package/editor-components/about/about13/about13.tsx +2 -2
- package/editor-components/about/about15/about15.tsx +2 -2
- package/editor-components/about/about16/about16.tsx +2 -2
- package/editor-components/about/about2/about2.tsx +1 -1
- package/editor-components/about/about3/about3.tsx +2 -2
- package/editor-components/about/about8/about8.tsx +1 -1
- package/editor-components/about/about9/about9.tsx +1 -1
- package/editor-components/blog/blog1/blog1.tsx +1 -1
- package/editor-components/blog/blog2/blog2.tsx +2 -2
- package/editor-components/blog/blog3/blog3.tsx +1 -1
- package/editor-components/breadcrumb/breadcrumb1/breadcrumb1.tsx +1 -1
- package/editor-components/breadcrumb/breadcrumb2/breadcrumb2.tsx +1 -1
- package/editor-components/breadcrumb/breadcrumb3/breadcrumb3.tsx +1 -1
- package/editor-components/breadcrumb/breadcrumb4/breadcrumb4.tsx +1 -1
- package/editor-components/breadcrumb/breadcrumb5/breadcrumb5.tsx +1 -1
- package/editor-components/breadcrumb/breadcrumb6/breadcrumb6.tsx +1 -1
- package/editor-components/call_to_action/call_to_action1/call_to_action1.tsx +2 -2
- package/editor-components/call_to_action/call_to_action10/call_to_action10.tsx +2 -2
- package/editor-components/call_to_action/call_to_action11/call_to_action11.tsx +2 -2
- package/editor-components/call_to_action/call_to_action12/call_to_action12.tsx +2 -2
- package/editor-components/call_to_action/call_to_action13/call_to_action13.tsx +2 -2
- package/editor-components/call_to_action/call_to_action14/call_to_action14.tsx +2 -2
- package/editor-components/call_to_action/call_to_action15/call_to_action15.tsx +2 -2
- package/editor-components/call_to_action/call_to_action16/call_to_action16.tsx +2 -2
- package/editor-components/call_to_action/call_to_action17/call_to_action17.tsx +2 -2
- package/editor-components/call_to_action/call_to_action18/call_to_action18.tsx +2 -2
- package/editor-components/call_to_action/call_to_action2/call_to_action2.tsx +2 -2
- package/editor-components/call_to_action/call_to_action20/call_to_action20.tsx +2 -2
- package/editor-components/call_to_action/call_to_action21/call_to_action21.tsx +2 -2
- package/editor-components/call_to_action/call_to_action22/call_to_action22.tsx +2 -2
- package/editor-components/call_to_action/call_to_action3/call_to_action3.tsx +2 -2
- package/editor-components/call_to_action/call_to_action4/call_to_action4.tsx +2 -2
- package/editor-components/call_to_action/call_to_action5/call_to_action5.tsx +2 -2
- package/editor-components/call_to_action/call_to_action6/call_to_action6.tsx +1 -1
- package/editor-components/call_to_action/call_to_action7/call_to_action7.tsx +2 -2
- package/editor-components/call_to_action/call_to_action8/call_to_action8.tsx +2 -2
- package/editor-components/call_to_action/call_to_action9/call_to_action9.tsx +2 -2
- package/editor-components/coming-soon/coming-soon1/coming-soon1.tsx +4 -4
- package/editor-components/coming-soon/coming-soon2/coming-soon2.tsx +1 -1
- package/editor-components/coming-soon/coming-soon3/coming-soon3.tsx +2 -2
- package/editor-components/coming-soon/coming-soon4/coming-soon4.tsx +2 -2
- package/editor-components/comparison/comparison1/comparison1.tsx +2 -2
- package/editor-components/contacts/form2/form2.tsx +1 -1
- package/editor-components/contacts/form3/form3.tsx +2 -2
- package/editor-components/contacts/form4/form4.tsx +1 -1
- package/editor-components/contacts/form5/form5.tsx +1 -1
- package/editor-components/contacts/form6/form6.tsx +1 -1
- package/editor-components/contacts/form7/form7.tsx +1 -1
- package/editor-components/contacts/form8/form8.tsx +1 -1
- package/editor-components/contacts/form9/form9.tsx +2 -2
- package/editor-components/download/download1/download1.tsx +2 -2
- package/editor-components/download/download10/download10.tsx +2 -2
- package/editor-components/download/download11/download11.tsx +2 -2
- package/editor-components/download/download2/download2.tsx +2 -2
- package/editor-components/download/download3/download3.tsx +2 -2
- package/editor-components/download/download4/download4.tsx +2 -2
- package/editor-components/download/download5/download5.tsx +2 -2
- package/editor-components/download/download6/download6.tsx +2 -2
- package/editor-components/download/download7/download7.tsx +2 -2
- package/editor-components/download/download8/download8.tsx +2 -2
- package/editor-components/download/download9/download9.tsx +2 -2
- package/editor-components/e-commerce/e-commerce1/e-commerce1.tsx +6 -6
- package/editor-components/e-commerce/e-commerce2/e-commerce2.tsx +5 -5
- package/editor-components/e-commerce/e-commerce3/e-commerce3.tsx +2 -2
- package/editor-components/e-commerce/e-commerce4/e-commerce4.tsx +5 -5
- package/editor-components/e-commerce/e-commerce5/e-commerce5.tsx +3 -3
- package/editor-components/e-commerce/e-commerce6/e-commerce6.tsx +1 -1
- package/editor-components/e-commerce/e-commerce7/e-commerce7.tsx +5 -5
- package/editor-components/e-commerce/e-commerce8/e-commerce8.tsx +5 -5
- package/editor-components/faq/faq2/faq2.tsx +2 -2
- package/editor-components/faq/faq3/faq3.tsx +2 -2
- package/editor-components/faq/faq7/faq7.tsx +1 -1
- package/editor-components/feature/feature1/feature1.tsx +2 -2
- package/editor-components/feature/feature10/feature10.tsx +2 -2
- package/editor-components/feature/feature11/feature11.tsx +2 -2
- package/editor-components/feature/feature12/feature12.tsx +3 -3
- package/editor-components/feature/feature14/feature14.tsx +2 -2
- package/editor-components/feature/feature17/feature17.tsx +2 -2
- package/editor-components/feature/feature18/feature18.tsx +2 -2
- package/editor-components/feature/feature19/feature19.tsx +2 -2
- package/editor-components/feature/feature20/feature20.tsx +2 -2
- package/editor-components/feature/feature21/feature21.tsx +2 -2
- package/editor-components/feature/feature24/feature24.tsx +2 -2
- package/editor-components/feature/feature25/feature25.tsx +2 -2
- package/editor-components/feature/feature26/feature26.tsx +2 -2
- package/editor-components/feature/feature27/feature27.tsx +2 -2
- package/editor-components/feature/feature28/feature28.tsx +2 -2
- package/editor-components/feature/feature29/feature29.tsx +2 -2
- package/editor-components/feature/feature3/feature3.tsx +1 -1
- package/editor-components/feature/feature30/feature30.tsx +2 -2
- package/editor-components/feature/feature31/feature31.tsx +2 -2
- package/editor-components/feature/feature32/feature32.tsx +2 -2
- package/editor-components/feature/feature33/feature33.tsx +2 -2
- package/editor-components/feature/feature35/feature35.tsx +2 -2
- package/editor-components/feature/feature36/feature36.tsx +2 -2
- package/editor-components/feature/feature37/feature37.tsx +2 -2
- package/editor-components/feature/feature38/feature38.tsx +2 -2
- package/editor-components/feature/feature39/feature39.tsx +2 -2
- package/editor-components/feature/feature4/feature4.tsx +2 -2
- package/editor-components/feature/feature40/feature40.tsx +2 -2
- package/editor-components/feature/feature41/feature41.tsx +2 -2
- package/editor-components/feature/feature43/feature43.tsx +2 -2
- package/editor-components/feature/feature44/feature44.tsx +2 -2
- package/editor-components/feature/feature45/feature45.tsx +4 -4
- package/editor-components/feature/feature46/feature46.tsx +2 -2
- package/editor-components/feature/feature47/feature47.tsx +4 -4
- package/editor-components/feature/feature48/feature48.tsx +2 -2
- package/editor-components/feature/feature49/feature49.tsx +2 -2
- package/editor-components/feature/feature5/feature5.tsx +3 -3
- package/editor-components/feature/feature6/feature6.tsx +2 -2
- package/editor-components/feature/feature7/feature7.tsx +2 -2
- package/editor-components/feature/feature9/feature9.tsx +2 -2
- package/editor-components/feedback/feedbackmodal1/feedbackmodal1.tsx +1 -1
- package/editor-components/footer/footer1/footer1.tsx +2 -2
- package/editor-components/footer/footer10/footer10.tsx +1 -1
- package/editor-components/footer/footer11/footer11.tsx +1 -1
- package/editor-components/footer/footer12/footer12.tsx +1 -1
- package/editor-components/footer/footer2/footer2.tsx +1 -1
- package/editor-components/footer/footer3/footer3.tsx +1 -1
- package/editor-components/footer/footer4/footer4.tsx +2 -2
- package/editor-components/footer/footer5/footer5.tsx +2 -2
- package/editor-components/footer/footer6/footer6.tsx +1 -1
- package/editor-components/footer/footer7/footer7.tsx +2 -2
- package/editor-components/footer/footer8/footer8.tsx +1 -1
- package/editor-components/footer/footer9/footer9.tsx +2 -2
- package/editor-components/hero-section/hero-section10/hero-section10.tsx +2 -2
- package/editor-components/hero-section/hero-section11/hero-section11.tsx +2 -2
- package/editor-components/hero-section/hero-section12/hero-section12.tsx +2 -2
- package/editor-components/hero-section/hero-section13/hero-section13.tsx +1 -1
- package/editor-components/hero-section/hero-section14/hero-section14.tsx +2 -2
- package/editor-components/hero-section/hero-section15/hero-section15.tsx +3 -3
- package/editor-components/hero-section/hero-section16/hero-section16.tsx +3 -3
- package/editor-components/hero-section/hero-section17/hero-section17.tsx +3 -3
- package/editor-components/hero-section/hero-section18/hero-section18.tsx +1 -1
- package/editor-components/hero-section/hero-section19/hero-section19.tsx +3 -3
- package/editor-components/hero-section/hero-section2/hero-section2.tsx +2 -2
- package/editor-components/hero-section/hero-section20/hero-section20.tsx +2 -2
- package/editor-components/hero-section/hero-section21/hero-section21.tsx +2 -2
- package/editor-components/hero-section/hero-section22/hero-section22.tsx +2 -2
- package/editor-components/hero-section/hero-section23/hero-section23.tsx +1 -1
- package/editor-components/hero-section/hero-section24/hero-section24.tsx +2 -2
- package/editor-components/hero-section/hero-section25/hero-section25.tsx +3 -3
- package/editor-components/hero-section/hero-section26/hero-section26.tsx +2 -2
- package/editor-components/hero-section/hero-section27/hero-section27.tsx +2 -2
- package/editor-components/hero-section/hero-section28/hero-section28.tsx +3 -3
- package/editor-components/hero-section/hero-section29/hero-section29.tsx +2 -2
- package/editor-components/hero-section/hero-section3/hero-section3.tsx +2 -2
- package/editor-components/hero-section/hero-section30/hero-section30.tsx +2 -2
- package/editor-components/hero-section/hero-section31/hero-section31.tsx +3 -3
- package/editor-components/hero-section/hero-section32/hero-section32.tsx +2 -2
- package/editor-components/hero-section/hero-section33/hero-section33.tsx +2 -2
- package/editor-components/hero-section/hero-section34/hero-section34.tsx +2 -2
- package/editor-components/hero-section/hero-section35/hero-section35.tsx +2 -2
- package/editor-components/hero-section/hero-section38/hero-section38.tsx +1 -1
- package/editor-components/hero-section/hero-section4/hero-section4.tsx +2 -2
- package/editor-components/hero-section/hero-section5/hero-section5.tsx +2 -2
- package/editor-components/hero-section/hero-section6/hero-section6.tsx +2 -2
- package/editor-components/hero-section/hero-section7/hero-section7.tsx +1 -1
- package/editor-components/hero-section/hero-section8/hero-section8.tsx +1 -1
- package/editor-components/hero-section/hero-section9/hero-section9.tsx +2 -2
- package/editor-components/intro-section/intro-section1/intro-section1.tsx +2 -2
- package/editor-components/intro-section/intro-section10/intro-section10.tsx +1 -1
- package/editor-components/intro-section/intro-section11/intro-section11.tsx +2 -2
- package/editor-components/intro-section/intro-section2/intro-section2.tsx +3 -3
- package/editor-components/intro-section/intro-section3/intro-section3.tsx +2 -2
- package/editor-components/intro-section/intro-section4/intro-section4.tsx +2 -2
- package/editor-components/intro-section/intro-section5/intro-section5.tsx +3 -3
- package/editor-components/intro-section/intro-section6/intro-section6.tsx +2 -2
- package/editor-components/intro-section/intro-section7/intro-section7.tsx +3 -3
- package/editor-components/intro-section/intro-section8/intro-section8.tsx +2 -2
- package/editor-components/intro-section/intro-section9/intro-section9.tsx +2 -2
- package/editor-components/legal/privacy-policy.tsx +1 -1
- package/editor-components/list/list1/list1.tsx +2 -2
- package/editor-components/list/list10/list10.tsx +1 -1
- package/editor-components/list/list11/list11.tsx +1 -1
- package/editor-components/list/list2/list2.tsx +2 -2
- package/editor-components/list/list3/list3.tsx +2 -2
- package/editor-components/list/list5/list5.tsx +1 -1
- package/editor-components/list/list8/list8.tsx +2 -2
- package/editor-components/location/location1/location1.tsx +1 -1
- package/editor-components/location/location6/location6.tsx +1 -1
- package/editor-components/logo-clouds/logo-comp1/logo-comp1.tsx +2 -2
- package/editor-components/logo-clouds/logo-comp10/logo-comp10.tsx +1 -1
- package/editor-components/logo-clouds/logo-comp2/logo-comp2.tsx +2 -2
- package/editor-components/logo-clouds/logo-comp3/logo-comp3.tsx +2 -2
- package/editor-components/logo-clouds/logo-comp4/logo-comp4.tsx +2 -2
- package/editor-components/logo-clouds/logo-comp5/logo-comp5.tsx +2 -2
- package/editor-components/logo-clouds/logo-comp6/logo-comp6.tsx +1 -1
- package/editor-components/logo-clouds/logo-comp7/logo-comp7.tsx +2 -2
- package/editor-components/logo-clouds/logo-comp8/logo-comp8.tsx +1 -1
- package/editor-components/logo-clouds/logo-comp9/logo-comp9.tsx +1 -1
- package/editor-components/modal/confirmation-modal-2/confirmation-modal-2.tsx +2 -2
- package/editor-components/modal/confirmation-modal1/confirmationmodal1.tsx +2 -2
- package/editor-components/modal/formmodal1/formmodal1.tsx +1 -1
- package/editor-components/modal/notice-modal/notice.tsx +2 -2
- package/editor-components/modal/notification-modal1/notificationmodal1.tsx +2 -2
- package/editor-components/modal/notificationmodal2/notificationmodal2.tsx +1 -1
- package/editor-components/modal/subscription-modal/subscription-modal.tsx +2 -4
- package/editor-components/modal/survey-modal/survey-modal.tsx +2 -2
- package/editor-components/modal/terms-of-use/terms-of-use.tsx +2 -2
- package/editor-components/navigators/navbar1/navbar1.tsx +3 -3
- package/editor-components/navigators/navbar10/navbar10.tsx +3 -3
- package/editor-components/navigators/navbar2/navbar2.tsx +3 -3
- package/editor-components/navigators/navbar3/navbar3.tsx +3 -3
- package/editor-components/navigators/navbar4/navbar4.tsx +3 -3
- package/editor-components/navigators/navbar5/navbar5.tsx +3 -3
- package/editor-components/navigators/navbar6/navbar6.tsx +3 -3
- package/editor-components/navigators/navbar7/navbar7.tsx +3 -3
- package/editor-components/navigators/navbar8/navbar8.tsx +3 -3
- package/editor-components/navigators/navbar9/navbar9.tsx +2 -2
- package/editor-components/portfolio/portfolio1/portfolio1.tsx +2 -2
- package/editor-components/portfolio/portfolio2/portfolio2.tsx +2 -2
- package/editor-components/portfolio/portfolio3/portfolio3.tsx +2 -2
- package/editor-components/pricing-table/pricing-table1/pricing-table1.tsx +2 -2
- package/editor-components/pricing-table/pricing-table2/pricing-table2.tsx +2 -2
- package/editor-components/pricing-table/pricing-table3/pricing-table3.tsx +2 -2
- package/editor-components/pricing-table/pricing-table4/pricing-table4.tsx +2 -2
- package/editor-components/pricing-table/pricing-table5/pricing-table5.tsx +2 -2
- package/editor-components/pricing-table/pricing-table6/pricing-table6.tsx +2 -2
- package/editor-components/pricing-table/pricing-table7/pricing-table7.tsx +2 -2
- package/editor-components/pricing-table/pricing-table8/pricing-table8.tsx +2 -2
- package/editor-components/pricing-table/pricing-table9/pricing-table9.tsx +2 -2
- package/editor-components/slider/slider1/slider1.tsx +2 -2
- package/editor-components/slider/slider10/slider10.tsx +1 -1
- package/editor-components/slider/slider11/slider11.tsx +2 -2
- package/editor-components/slider/slider12/slider12.tsx +2 -2
- package/editor-components/slider/slider2/slider2.tsx +1 -1
- package/editor-components/slider/slider3/slider3.tsx +1 -1
- package/editor-components/slider/slider6/slider6.tsx +2 -2
- package/editor-components/slider/slider8/slider8.tsx +2 -2
- package/editor-components/social/social1/social1.tsx +3 -3
- package/editor-components/social/social2/social2.tsx +1 -1
- package/editor-components/social/social3/social3.tsx +2 -2
- package/editor-components/social/social4/social4.tsx +5 -5
- package/editor-components/social_widget/social_widget1/social_widget1.tsx +2 -2
- package/editor-components/social_widget/social_widget2/social_widget2.tsx +3 -3
- package/editor-components/social_widget/social_widget3/social_widget3.tsx +3 -3
- package/editor-components/social_widget/social_widget4/social_widget4.tsx +3 -3
- package/editor-components/social_widget/social_widget5/social_widget5.tsx +3 -3
- package/editor-components/stats/stats1/stats1.tsx +2 -2
- package/editor-components/stats/stats10/stats10.tsx +1 -1
- package/editor-components/stats/stats11/stats11.tsx +2 -2
- package/editor-components/stats/stats13/stats13.tsx +2 -2
- package/editor-components/stats/stats14/stats14.tsx +2 -2
- package/editor-components/stats/stats15/stats15.tsx +2 -2
- package/editor-components/stats/stats2/stats2.tsx +2 -2
- package/editor-components/stats/stats3/stats3.tsx +2 -2
- package/editor-components/stats/stats9/stats9.tsx +2 -2
- package/editor-components/team/team-1/team1.tsx +1 -1
- package/editor-components/team/team-10/team10.tsx +1 -1
- package/editor-components/team/team-11/team11.tsx +1 -1
- package/editor-components/team/team-12/team12.tsx +1 -1
- package/editor-components/team/team-13/team13.tsx +2 -2
- package/editor-components/team/team-15/team15.tsx +1 -1
- package/editor-components/team/team-16/team16.tsx +2 -2
- package/editor-components/team/team-2/team2.tsx +1 -1
- package/editor-components/team/team-3/team3.tsx +1 -1
- package/editor-components/team/team-5/team5.tsx +1 -1
- package/editor-components/team/team-7/team7.tsx +1 -1
- package/editor-components/team/team-9/team9.tsx +1 -1
- package/editor-components/testimonials/testimonials10/testimonials10.tsx +2 -2
- package/editor-components/testimonials/testimonials15/testimonials15.tsx +2 -2
- package/editor-components/testimonials/testimonials16/testimonials16.tsx +1 -1
- package/global.d.ts +14 -0
- package/index.ts +3 -0
- package/package.json +6 -3
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import styles from "./link.module.scss";
|
|
3
|
+
|
|
4
|
+
interface ComposerLinkProps {
|
|
5
|
+
children?: React.ReactNode;
|
|
6
|
+
path?: string;
|
|
7
|
+
isFullWidth?: boolean;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
type ComposerLinkComponent = React.FC<ComposerLinkProps>;
|
|
11
|
+
|
|
12
|
+
const DefaultComposerLink: ComposerLinkComponent = ({
|
|
13
|
+
children,
|
|
14
|
+
path = "",
|
|
15
|
+
isFullWidth = false,
|
|
16
|
+
}) => {
|
|
17
|
+
const wrapperStyle = { width: isFullWidth ? "100%" : ("unset" as const) };
|
|
18
|
+
|
|
19
|
+
if (!path) {
|
|
20
|
+
return (
|
|
21
|
+
<div className={styles.container} style={wrapperStyle}>
|
|
22
|
+
{children}
|
|
23
|
+
</div>
|
|
24
|
+
);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
const formatUrl = (url: string): string => {
|
|
28
|
+
if (!url) return "";
|
|
29
|
+
if (url.startsWith("#") || url.startsWith("http://") || url.startsWith("https://")) return url;
|
|
30
|
+
return `https://${url}`;
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
return (
|
|
34
|
+
<a
|
|
35
|
+
href={formatUrl(path)}
|
|
36
|
+
style={wrapperStyle}
|
|
37
|
+
target="_blank"
|
|
38
|
+
rel="noopener noreferrer"
|
|
39
|
+
className={styles.container}
|
|
40
|
+
>
|
|
41
|
+
{children}
|
|
42
|
+
</a>
|
|
43
|
+
);
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
let _ComposerLink: ComposerLinkComponent = DefaultComposerLink;
|
|
47
|
+
|
|
48
|
+
export function setComposerLink(link: ComposerLinkComponent) {
|
|
49
|
+
_ComposerLink = link;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
export function getComposerLink(): ComposerLinkComponent {
|
|
53
|
+
return _ComposerLink;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
const ComposerLink: React.FC<ComposerLinkProps> = (props) => {
|
|
57
|
+
const Link = getComposerLink();
|
|
58
|
+
return <Link {...props} />;
|
|
59
|
+
};
|
|
60
|
+
|
|
61
|
+
export default ComposerLink;
|
|
62
|
+
export type { ComposerLinkProps, ComposerLinkComponent };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
|
|
2
2
|
import React, { useState } from 'react'
|
|
3
3
|
import styles from "./Accordion.module.scss";
|
|
4
|
-
import { Base } from '
|
|
5
|
-
import { TypeMediaInputValue } from '
|
|
4
|
+
import { Base } from '../../base/base';
|
|
5
|
+
import { TypeMediaInputValue } from '../../../editor-components/EditorComponent';
|
|
6
6
|
interface AccordionProps {
|
|
7
7
|
title: string;
|
|
8
8
|
children: React.ReactNode;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { useState, useRef, useEffect } from 'react';
|
|
2
2
|
import styles from './Dropdown.module.scss';
|
|
3
|
-
import { Base } from "
|
|
4
|
-
import { TypeMediaInputValue } from '
|
|
3
|
+
import { Base } from "../../base/base";
|
|
4
|
+
import { TypeMediaInputValue } from '../../../editor-components/EditorComponent';
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
export interface DropDownItem {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { TypeButton } from "composer-
|
|
2
|
-
import { TypeUsableComponentProps } from "
|
|
1
|
+
import { TypeButton } from "../composer-base-components/base/base";
|
|
2
|
+
import { TypeUsableComponentProps } from "../editor-components/EditorComponent";
|
|
3
3
|
|
|
4
4
|
export namespace INPUTS {
|
|
5
5
|
export type CastedButton = {
|
|
@@ -6,8 +6,8 @@ import { renderToString } from "react-dom/server";
|
|
|
6
6
|
import { THEMES, TTheme } from "./location/themes";
|
|
7
7
|
import { getInlineEditor } from "../InlineEditorProvider";
|
|
8
8
|
import { v4 as uuidv4 } from 'uuid';
|
|
9
|
-
import { CurrencyCode } from "
|
|
10
|
-
import { INPUTS } from "
|
|
9
|
+
import { CurrencyCode } from "../utils/currency";
|
|
10
|
+
import { INPUTS } from "../custom-hooks/input-templates";
|
|
11
11
|
|
|
12
12
|
export const LANGUAGES = [
|
|
13
13
|
{ code: "en", name: "English", nativeName: "English" },
|
|
@@ -2,7 +2,7 @@ import * as React from "react";
|
|
|
2
2
|
import { BaseImageGallery, TypeMediaInputValue } from "../../EditorComponent";
|
|
3
3
|
import styles from "./image-gallery1.module.scss";
|
|
4
4
|
import { Base } from "../../../composer-base-components/base/base";
|
|
5
|
-
import { INPUTS } from "
|
|
5
|
+
import { INPUTS } from "../../../custom-hooks/input-templates";
|
|
6
6
|
|
|
7
7
|
interface ImageGallery {
|
|
8
8
|
sectionTitle: React.JSX.Element;
|
|
@@ -2,7 +2,7 @@ import * as React from "react";
|
|
|
2
2
|
import styles from "./image-gallery10.module.scss";
|
|
3
3
|
import { Base } from "../../../composer-base-components/base/base";
|
|
4
4
|
import { BaseImageGallery } from "../../EditorComponent";
|
|
5
|
-
import ComposerLink from "
|
|
5
|
+
import ComposerLink from "../../../composer-base-components/Link/ComposerLinkProvider";
|
|
6
6
|
|
|
7
7
|
type CardType = {
|
|
8
8
|
title: React.ReactNode;
|
|
@@ -3,7 +3,7 @@ import { BaseImageGallery, TypeMediaInputValue } from "../../EditorComponent";
|
|
|
3
3
|
import styles from "./image-gallery2.module.scss";
|
|
4
4
|
|
|
5
5
|
import { Base } from "../../../composer-base-components/base/base";
|
|
6
|
-
import { INPUTS } from "
|
|
6
|
+
import { INPUTS } from "../../../custom-hooks/input-templates";
|
|
7
7
|
|
|
8
8
|
type ImageType = {
|
|
9
9
|
image: TypeMediaInputValue;
|
|
@@ -2,7 +2,7 @@ import * as React from "react";
|
|
|
2
2
|
import styles from "./image-gallery3.module.scss";
|
|
3
3
|
import { BaseImageGallery, TypeMediaInputValue } from "../../EditorComponent";
|
|
4
4
|
import { Base } from "../../../composer-base-components/base/base";
|
|
5
|
-
import { INPUTS } from "
|
|
5
|
+
import { INPUTS } from "../../../custom-hooks/input-templates";
|
|
6
6
|
|
|
7
7
|
interface ImageItem {
|
|
8
8
|
image: TypeMediaInputValue;
|
|
@@ -3,7 +3,7 @@ import { BaseImageGallery, TypeMediaInputValue } from "../../EditorComponent";
|
|
|
3
3
|
import styles from "./image-gallery4.module.scss";
|
|
4
4
|
|
|
5
5
|
import { Base } from "../../../composer-base-components/base/base";
|
|
6
|
-
import { INPUTS } from "
|
|
6
|
+
import { INPUTS } from "../../../custom-hooks/input-templates";
|
|
7
7
|
|
|
8
8
|
type NavItem = {
|
|
9
9
|
title: React.JSX.Element;
|
|
@@ -3,7 +3,7 @@ import * as React from "react";
|
|
|
3
3
|
import { BaseImageGallery, TypeMediaInputValue } from "../../EditorComponent";
|
|
4
4
|
import styles from "./image-gallery5.module.scss";
|
|
5
5
|
import { Base } from "../../../composer-base-components/base/base";
|
|
6
|
-
import { INPUTS } from "
|
|
6
|
+
import { INPUTS } from "../../../custom-hooks/input-templates";
|
|
7
7
|
|
|
8
8
|
interface GalleryItem {
|
|
9
9
|
image: TypeMediaInputValue;
|
|
@@ -3,8 +3,8 @@ import * as React from "react";
|
|
|
3
3
|
import { BaseImageGallery, TypeMediaInputValue } from "../../EditorComponent";
|
|
4
4
|
import styles from "./image-gallery6.module.scss";
|
|
5
5
|
import { Base } from "../../../composer-base-components/base/base";
|
|
6
|
-
import ComposerLink from "
|
|
7
|
-
import { INPUTS } from "
|
|
6
|
+
import ComposerLink from "../../../composer-base-components/Link/ComposerLinkProvider";
|
|
7
|
+
import { INPUTS } from "../../../custom-hooks/input-templates";
|
|
8
8
|
interface GalleryItem {
|
|
9
9
|
sectionTitle: React.JSX.Element,
|
|
10
10
|
images: ImageItem[],
|
|
@@ -2,7 +2,7 @@ import * as React from "react";
|
|
|
2
2
|
import { BaseImageGallery, TypeMediaInputValue } from "../../EditorComponent";
|
|
3
3
|
import styles from "./image-gallery7.module.scss";
|
|
4
4
|
import { Base } from "../../../composer-base-components/base/base";
|
|
5
|
-
import { INPUTS } from "
|
|
5
|
+
import { INPUTS } from "../../../custom-hooks/input-templates";
|
|
6
6
|
|
|
7
7
|
type CardItemType = {
|
|
8
8
|
image: TypeMediaInputValue;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import styles from "./image-gallery8.module.scss";
|
|
3
3
|
import { BaseImageGallery, TypeMediaInputValue } from "../../EditorComponent";
|
|
4
|
-
import ComposerLink from "
|
|
4
|
+
import ComposerLink from "../../../composer-base-components/Link/ComposerLinkProvider";
|
|
5
5
|
import { Base } from "../../../composer-base-components/base/base";
|
|
6
6
|
|
|
7
7
|
interface Card {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import styles from "./image-gallery9.module.scss";
|
|
3
3
|
import { BaseImageGallery, TypeMediaInputValue } from "../../EditorComponent";
|
|
4
|
-
import ComposerLink from "
|
|
4
|
+
import ComposerLink from "../../../composer-base-components/Link/ComposerLinkProvider";
|
|
5
5
|
import { Base } from "../../../composer-base-components/base/base";
|
|
6
6
|
|
|
7
7
|
interface Card {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { BaseAbout } from "../../EditorComponent";
|
|
3
3
|
import styles from "./about1.module.scss";
|
|
4
|
-
import ComposerLink from "
|
|
4
|
+
import ComposerLink from "../../../composer-base-components/Link/ComposerLinkProvider";
|
|
5
5
|
|
|
6
6
|
import { Base } from "../../../composer-base-components/base/base";
|
|
7
7
|
|
|
@@ -2,8 +2,8 @@ import * as React from "react";
|
|
|
2
2
|
import { BaseAbout } from "../../EditorComponent";
|
|
3
3
|
import styles from "./about10.module.scss";
|
|
4
4
|
import { Base } from "../../../composer-base-components/base/base";
|
|
5
|
-
import ComposerLink from "
|
|
6
|
-
import { INPUTS } from "
|
|
5
|
+
import ComposerLink from "../../../composer-base-components/Link/ComposerLinkProvider";
|
|
6
|
+
import { INPUTS } from "../../../custom-hooks/input-templates";
|
|
7
7
|
|
|
8
8
|
interface FeatureItem {
|
|
9
9
|
title: React.JSX.Element;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { BaseAbout, TypeMediaInputValue } from "../../EditorComponent";
|
|
3
3
|
import styles from "./about11.module.scss";
|
|
4
|
-
import ComposerLink from "
|
|
4
|
+
import ComposerLink from "../../../composer-base-components/Link/ComposerLinkProvider";
|
|
5
5
|
import { Base } from "../../../composer-base-components/base/base";
|
|
6
6
|
|
|
7
7
|
interface Icon {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import { BaseAbout } from "
|
|
2
|
+
import { BaseAbout } from "../../EditorComponent";
|
|
3
3
|
import styles from "./about12.module.scss";
|
|
4
4
|
import { Base } from "../../../composer-base-components/base/base";
|
|
5
|
-
import { INPUTS } from "
|
|
6
|
-
import ComposerLink from "
|
|
5
|
+
import { INPUTS } from "../../../custom-hooks/input-templates";
|
|
6
|
+
import ComposerLink from "../../../composer-base-components/Link/ComposerLinkProvider";
|
|
7
7
|
|
|
8
8
|
class About12 extends BaseAbout {
|
|
9
9
|
constructor(props?: any) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { BaseAbout, TypeUsableComponentProps } from "../../EditorComponent";
|
|
3
3
|
import styles from "./about13.module.scss";
|
|
4
|
-
import ComposerLink from "
|
|
4
|
+
import ComposerLink from "../../../composer-base-components/Link/ComposerLinkProvider";
|
|
5
5
|
import { Base } from "../../../composer-base-components/base/base";
|
|
6
|
-
import { INPUTS } from "
|
|
6
|
+
import { INPUTS } from "../../../custom-hooks/input-templates";
|
|
7
7
|
|
|
8
8
|
class About13 extends BaseAbout {
|
|
9
9
|
constructor(props?: TypeUsableComponentProps) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { BaseAbout, TypeMediaInputValue } from "../../EditorComponent";
|
|
2
2
|
import styles from "./about15.module.scss";
|
|
3
3
|
import { Base } from "../../../composer-base-components/base/base";
|
|
4
|
-
import { INPUTS } from "
|
|
5
|
-
import ComposerLink from "
|
|
4
|
+
import { INPUTS } from "../../../custom-hooks/input-templates";
|
|
5
|
+
import ComposerLink from "../../../composer-base-components/Link/ComposerLinkProvider";
|
|
6
6
|
|
|
7
7
|
type ImageItemType = {
|
|
8
8
|
image: TypeMediaInputValue;
|
|
@@ -2,8 +2,8 @@ import * as React from "react";
|
|
|
2
2
|
import { BaseAbout, TypeMediaInputValue } from "../../EditorComponent";
|
|
3
3
|
import styles from "./about16.module.scss";
|
|
4
4
|
import { Base } from "../../../composer-base-components/base/base";
|
|
5
|
-
import ComposerLink from "
|
|
6
|
-
import { INPUTS } from "
|
|
5
|
+
import ComposerLink from "../../../composer-base-components/Link/ComposerLinkProvider";
|
|
6
|
+
import { INPUTS } from "../../../custom-hooks/input-templates";
|
|
7
7
|
|
|
8
8
|
type CardItemType = {
|
|
9
9
|
video: TypeMediaInputValue;
|
|
@@ -2,7 +2,7 @@ import * as React from "react";
|
|
|
2
2
|
import styles from "./about2.module.scss";
|
|
3
3
|
import { BaseAbout } from "../../EditorComponent";
|
|
4
4
|
import { Base } from "../../../composer-base-components/base/base";
|
|
5
|
-
import { INPUTS } from "
|
|
5
|
+
import { INPUTS } from "../../../custom-hooks/input-templates";
|
|
6
6
|
|
|
7
7
|
class About2 extends BaseAbout {
|
|
8
8
|
constructor(props?: any) {
|
|
@@ -3,8 +3,8 @@ import { BaseAbout } from "../../EditorComponent";
|
|
|
3
3
|
import styles from "./about3.module.scss";
|
|
4
4
|
|
|
5
5
|
import { Base } from "../../../composer-base-components/base/base";
|
|
6
|
-
import ComposerLink from "
|
|
7
|
-
import { INPUTS } from "
|
|
6
|
+
import ComposerLink from "../../../composer-base-components/Link/ComposerLinkProvider";
|
|
7
|
+
import { INPUTS } from "../../../custom-hooks/input-templates";
|
|
8
8
|
|
|
9
9
|
class About3 extends BaseAbout {
|
|
10
10
|
constructor(props?: any) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BaseAbout } from "../../EditorComponent";
|
|
2
2
|
import styles from "./about8.module.scss";
|
|
3
3
|
import { Base } from "../../../composer-base-components/base/base";
|
|
4
|
-
import { INPUTS } from "
|
|
4
|
+
import { INPUTS } from "../../../custom-hooks/input-templates";
|
|
5
5
|
|
|
6
6
|
type Text = {
|
|
7
7
|
description: React.JSX.Element;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import styles from "./about9.module.scss";
|
|
3
3
|
import { Base } from "../../../composer-base-components/base/base";
|
|
4
|
-
import { BaseAbout } from "
|
|
4
|
+
import { BaseAbout } from "../../EditorComponent";
|
|
5
5
|
|
|
6
6
|
class About9 extends BaseAbout {
|
|
7
7
|
constructor(props?: any) {
|
|
@@ -3,7 +3,7 @@ import { BaseBlog } from "../../EditorComponent";
|
|
|
3
3
|
import styles from "./blog1.module.scss";
|
|
4
4
|
import ComposerSlider from "../../../composer-base-components/slider/slider";
|
|
5
5
|
import { INPUTS } from "../../../custom-hooks/input-templates";
|
|
6
|
-
import ComposerLink from "
|
|
6
|
+
import ComposerLink from "../../../composer-base-components/Link/ComposerLinkProvider";
|
|
7
7
|
import { Base } from "../../../composer-base-components/base/base";
|
|
8
8
|
|
|
9
9
|
type CardType = {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import ComposerLink from "
|
|
2
|
+
import ComposerLink from "../../../composer-base-components/Link/ComposerLinkProvider";
|
|
3
3
|
import { BaseBlog } from "../../EditorComponent";
|
|
4
4
|
import styles from "./blog2.module.scss";
|
|
5
5
|
|
|
6
6
|
import { Base } from "../../../composer-base-components/base/base";
|
|
7
|
-
import { INPUTS } from "
|
|
7
|
+
import { INPUTS } from "../../../custom-hooks/input-templates";
|
|
8
8
|
|
|
9
9
|
class Blog2 extends BaseBlog {
|
|
10
10
|
constructor(props?: any) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { BaseBlog } from "../../EditorComponent";
|
|
3
3
|
import styles from "./blog3.module.scss";
|
|
4
|
-
import ComposerLink from "
|
|
4
|
+
import ComposerLink from "../../../composer-base-components/Link/ComposerLinkProvider";
|
|
5
5
|
import { Base } from "../../../composer-base-components/base/base";
|
|
6
6
|
import { INPUTS } from "../../../custom-hooks/input-templates";
|
|
7
7
|
|
|
@@ -2,7 +2,7 @@ import * as React from "react";
|
|
|
2
2
|
import styles from "./breadcrumb1.module.scss";
|
|
3
3
|
import { Base } from "../../../composer-base-components/base/base";
|
|
4
4
|
import { BaseBreadcrumb } from "../../EditorComponent";
|
|
5
|
-
import ComposerLink from "
|
|
5
|
+
import ComposerLink from "../../../composer-base-components/Link/ComposerLinkProvider";
|
|
6
6
|
|
|
7
7
|
type BreadcrumbItem = {
|
|
8
8
|
title: string;
|
|
@@ -2,7 +2,7 @@ import * as React from "react";
|
|
|
2
2
|
import styles from "./breadcrumb2.module.scss";
|
|
3
3
|
import { Base } from "../../../composer-base-components/base/base";
|
|
4
4
|
import { BaseBreadcrumb } from "../../EditorComponent";
|
|
5
|
-
import ComposerLink from "
|
|
5
|
+
import ComposerLink from "../../../composer-base-components/Link/ComposerLinkProvider";
|
|
6
6
|
|
|
7
7
|
type BreadcrumbItem = {
|
|
8
8
|
title: string;
|
|
@@ -2,7 +2,7 @@ import * as React from "react";
|
|
|
2
2
|
import styles from "./breadcrumb3.module.scss";
|
|
3
3
|
import { Base } from "../../../composer-base-components/base/base";
|
|
4
4
|
import { BaseBreadcrumb } from "../../EditorComponent";
|
|
5
|
-
import ComposerLink from "
|
|
5
|
+
import ComposerLink from "../../../composer-base-components/Link/ComposerLinkProvider";
|
|
6
6
|
|
|
7
7
|
type BreadcrumbItem = {
|
|
8
8
|
title: string;
|
|
@@ -2,7 +2,7 @@ import * as React from "react";
|
|
|
2
2
|
import styles from "./breadcrumb4.module.scss";
|
|
3
3
|
import { Base } from "../../../composer-base-components/base/base";
|
|
4
4
|
import { BaseBreadcrumb } from "../../EditorComponent";
|
|
5
|
-
import ComposerLink from "
|
|
5
|
+
import ComposerLink from "../../../composer-base-components/Link/ComposerLinkProvider";
|
|
6
6
|
|
|
7
7
|
type BreadcrumbItem = {
|
|
8
8
|
title: string;
|
|
@@ -2,7 +2,7 @@ import * as React from "react";
|
|
|
2
2
|
import styles from "./breadcrumb5.module.scss";
|
|
3
3
|
import { Base } from "../../../composer-base-components/base/base";
|
|
4
4
|
import { BaseBreadcrumb } from "../../EditorComponent";
|
|
5
|
-
import ComposerLink from "
|
|
5
|
+
import ComposerLink from "../../../composer-base-components/Link/ComposerLinkProvider";
|
|
6
6
|
|
|
7
7
|
type BreadcrumbItem = {
|
|
8
8
|
title: string;
|
|
@@ -2,7 +2,7 @@ import * as React from "react";
|
|
|
2
2
|
import styles from "./breadcrumb6.module.scss";
|
|
3
3
|
import { Base } from "../../../composer-base-components/base/base";
|
|
4
4
|
import { BaseBreadcrumb } from "../../EditorComponent";
|
|
5
|
-
import ComposerLink from "
|
|
5
|
+
import ComposerLink from "../../../composer-base-components/Link/ComposerLinkProvider";
|
|
6
6
|
|
|
7
7
|
type BreadcrumbItem = {
|
|
8
8
|
title: string;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import ComposerLink from "
|
|
2
|
+
import ComposerLink from "../../../composer-base-components/Link/ComposerLinkProvider";
|
|
3
3
|
import { BaseCallToAction } from "../../EditorComponent";
|
|
4
4
|
import styles from "./call_to_action1.module.scss";
|
|
5
5
|
import { Base } from "../../../composer-base-components/base/base";
|
|
6
6
|
|
|
7
|
-
import { INPUTS } from "
|
|
7
|
+
import { INPUTS } from "../../../custom-hooks/input-templates";
|
|
8
8
|
|
|
9
9
|
class CallToAction1Page extends BaseCallToAction {
|
|
10
10
|
constructor(props?: any) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import ComposerLink from "
|
|
2
|
+
import ComposerLink from "../../../composer-base-components/Link/ComposerLinkProvider";
|
|
3
3
|
import { BaseCallToAction } from "../../EditorComponent";
|
|
4
4
|
import styles from "./call_to_action10.module.scss";
|
|
5
5
|
|
|
6
6
|
import { Base } from "../../../composer-base-components/base/base";
|
|
7
|
-
import { INPUTS } from "
|
|
7
|
+
import { INPUTS } from "../../../custom-hooks/input-templates";
|
|
8
8
|
interface CardItem {
|
|
9
9
|
cardIcon: string,
|
|
10
10
|
cardTitle: React.JSX.Element,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import ComposerLink from "
|
|
2
|
+
import ComposerLink from "../../../composer-base-components/Link/ComposerLinkProvider";
|
|
3
3
|
import { BaseCallToAction } from "../../EditorComponent";
|
|
4
4
|
import styles from "./call_to_action11.module.scss";
|
|
5
5
|
import { Base } from "../../../composer-base-components/base/base";
|
|
6
|
-
import { INPUTS } from "
|
|
6
|
+
import { INPUTS } from "../../../custom-hooks/input-templates";
|
|
7
7
|
|
|
8
8
|
type Button = INPUTS.CastedButton;
|
|
9
9
|
|
|
@@ -3,8 +3,8 @@ import { BaseCallToAction } from "../../EditorComponent";
|
|
|
3
3
|
import styles from "./call_to_action12.module.scss";
|
|
4
4
|
import { Base } from "../../../composer-base-components/base/base";
|
|
5
5
|
import { Form, Formik } from "formik";
|
|
6
|
-
import ComposerLink from "
|
|
7
|
-
import { INPUTS } from "
|
|
6
|
+
import ComposerLink from "../../../composer-base-components/Link/ComposerLinkProvider";
|
|
7
|
+
import { INPUTS } from "../../../custom-hooks/input-templates";
|
|
8
8
|
import * as Yup from "yup";
|
|
9
9
|
|
|
10
10
|
class CallToAction12Page extends BaseCallToAction {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import ComposerLink from "
|
|
2
|
+
import ComposerLink from "../../../composer-base-components/Link/ComposerLinkProvider";
|
|
3
3
|
import { BaseCallToAction } from "../../EditorComponent";
|
|
4
4
|
import styles from "./call_to_action13.module.scss";
|
|
5
5
|
import { Base } from "../../../composer-base-components/base/base";
|
|
6
|
-
import { INPUTS } from "
|
|
6
|
+
import { INPUTS } from "../../../custom-hooks/input-templates";
|
|
7
7
|
|
|
8
8
|
type Button = INPUTS.CastedButton;
|
|
9
9
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { BaseCallToAction } from "../../EditorComponent";
|
|
3
3
|
import styles from "./call_to_action14.module.scss";
|
|
4
|
-
import ComposerLink from "
|
|
4
|
+
import ComposerLink from "../../../composer-base-components/Link/ComposerLinkProvider";
|
|
5
5
|
import { Base } from "../../../composer-base-components/base/base";
|
|
6
|
-
import { INPUTS } from "
|
|
6
|
+
import { INPUTS } from "../../../custom-hooks/input-templates";
|
|
7
7
|
|
|
8
8
|
class CallToAction14 extends BaseCallToAction {
|
|
9
9
|
constructor(props?: any) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { BaseCallToAction } from "../../EditorComponent";
|
|
3
3
|
import styles from "./call_to_action15.module.scss";
|
|
4
|
-
import ComposerLink from "
|
|
4
|
+
import ComposerLink from "../../../composer-base-components/Link/ComposerLinkProvider";
|
|
5
5
|
import { Base } from "../../../composer-base-components/base/base";
|
|
6
|
-
import { INPUTS } from "
|
|
6
|
+
import { INPUTS } from "../../../custom-hooks/input-templates";
|
|
7
7
|
|
|
8
8
|
class CallToAction15 extends BaseCallToAction {
|
|
9
9
|
constructor(props?: any) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { BaseCallToAction } from "../../EditorComponent";
|
|
3
3
|
import styles from "./call_to_action16.module.scss";
|
|
4
|
-
import ComposerLink from "
|
|
4
|
+
import ComposerLink from "../../../composer-base-components/Link/ComposerLinkProvider";
|
|
5
5
|
import { Base } from "../../../composer-base-components/base/base";
|
|
6
|
-
import { INPUTS } from "
|
|
6
|
+
import { INPUTS } from "../../../custom-hooks/input-templates";
|
|
7
7
|
|
|
8
8
|
class CallToAction16 extends BaseCallToAction {
|
|
9
9
|
constructor(props?: any) {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { BaseCallToAction } from "../../EditorComponent";
|
|
3
3
|
import styles from "./call_to_action17.module.scss";
|
|
4
|
-
import ComposerLink from "
|
|
4
|
+
import ComposerLink from "../../../composer-base-components/Link/ComposerLinkProvider";
|
|
5
5
|
import { Base } from "../../../composer-base-components/base/base";
|
|
6
|
-
import { INPUTS } from "
|
|
6
|
+
import { INPUTS } from "../../../custom-hooks/input-templates";
|
|
7
7
|
|
|
8
8
|
class CallToAction17 extends BaseCallToAction {
|
|
9
9
|
constructor(props?: any) {
|
|
@@ -2,8 +2,8 @@ import * as React from "react";
|
|
|
2
2
|
import { BaseCallToAction } from "../../EditorComponent";
|
|
3
3
|
import styles from "./call_to_action18.module.scss";
|
|
4
4
|
import { Base } from "../../../composer-base-components/base/base";
|
|
5
|
-
import ComposerLink from "
|
|
6
|
-
import { INPUTS } from "
|
|
5
|
+
import ComposerLink from "../../../composer-base-components/Link/ComposerLinkProvider";
|
|
6
|
+
import { INPUTS } from "../../../custom-hooks/input-templates";
|
|
7
7
|
|
|
8
8
|
type Button = INPUTS.CastedButton;
|
|
9
9
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import ComposerLink from "
|
|
2
|
+
import ComposerLink from "../../../composer-base-components/Link/ComposerLinkProvider";
|
|
3
3
|
import { BaseCallToAction } from "../../EditorComponent";
|
|
4
4
|
import styles from "./call_to_action2.module.scss";
|
|
5
5
|
|
|
6
6
|
import { Base } from "../../../composer-base-components/base/base";
|
|
7
|
-
import { INPUTS } from "
|
|
7
|
+
import { INPUTS } from "../../../custom-hooks/input-templates";
|
|
8
8
|
|
|
9
9
|
type Button = INPUTS.CastedButton;
|
|
10
10
|
|
|
@@ -2,8 +2,8 @@ import * as React from "react";
|
|
|
2
2
|
import { BaseCallToAction } from "../../EditorComponent";
|
|
3
3
|
import styles from "./call_to_action20.module.scss";
|
|
4
4
|
import { Base } from "../../../composer-base-components/base/base";
|
|
5
|
-
import ComposerLink from "
|
|
6
|
-
import { INPUTS } from "
|
|
5
|
+
import ComposerLink from "../../../composer-base-components/Link/ComposerLinkProvider";
|
|
6
|
+
import { INPUTS } from "../../../custom-hooks/input-templates";
|
|
7
7
|
|
|
8
8
|
type Button = INPUTS.CastedButton;
|
|
9
9
|
|