dune-react 0.0.41 → 0.0.43
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/dist/components/puck-block/contact-sections/centered-form/centered-form.js +1 -1
- package/dist/components/puck-block/contact-sections/centered-form/index.d.ts +96 -0
- package/dist/components/puck-block/contact-sections/centered-form/index.js +6 -1
- package/dist/components/puck-block/contact-sections/contact-cards-grid/contact-cards-grid.js +3 -3
- package/dist/components/puck-block/contact-sections/contact-cards-grid/index.d.ts +159 -0
- package/dist/components/puck-block/contact-sections/contact-cards-grid/index.js +14 -1
- package/dist/components/puck-block/contact-sections/contact-modal/contact-modal.js +1 -1
- package/dist/components/puck-block/contact-sections/contact-modal/index.d.ts +99 -0
- package/dist/components/puck-block/contact-sections/contact-modal/index.js +7 -1
- package/dist/components/puck-block/contact-sections/form-with-media/form-with-media.js +1 -1
- package/dist/components/puck-block/contact-sections/form-with-media/index.d.ts +87 -0
- package/dist/components/puck-block/contact-sections/form-with-media/index.js +4 -1
- package/dist/components/puck-block/contact-sections/header-form-cards/header-form-cards.js +1 -1
- package/dist/components/puck-block/contact-sections/header-form-cards/index.d.ts +104 -0
- package/dist/components/puck-block/contact-sections/header-form-cards/index.js +13 -2
- package/dist/components/puck-block/contact-sections/header-info-fullwidth/index.d.ts +150 -0
- package/dist/components/puck-block/contact-sections/header-info-fullwidth/index.js +12 -1
- package/dist/components/puck-block/contact-sections/info-cards-media/index.d.ts +150 -0
- package/dist/components/puck-block/contact-sections/info-cards-media/index.js +12 -1
- package/dist/components/puck-block/contact-sections/location-cards-grid/index.d.ts +147 -0
- package/dist/components/puck-block/contact-sections/location-cards-grid/index.js +5 -1
- package/dist/components/puck-block/contact-sections/props.d.ts +1 -1
- package/dist/components/puck-block/contact-sections/split-info-form/index.d.ts +96 -0
- package/dist/components/puck-block/contact-sections/split-info-form/index.js +6 -1
- package/dist/components/puck-block/contact-sections/split-info-form/split-info-form.js +135 -50
- package/dist/components/puck-block/contact-sections/tab-locations/index.d.ts +147 -0
- package/dist/components/puck-block/contact-sections/tab-locations/index.js +5 -1
- package/dist/components/puck-block/cta-sections/props.d.ts +1 -1
- package/dist/components/puck-block/cta-sections/props.js +8 -0
- package/dist/components/puck-block/cta-sections/side-media-cta/index.d.ts +75 -0
- package/dist/components/puck-block/cta-sections/side-media-cta/index.js +6 -6
- package/dist/components/puck-block/cta-sections/side-media-cta/side-media-cta.js +3 -3
- package/dist/components/puck-block/cta-sections/text-block-cta/text-block-cta.js +3 -3
- package/dist/components/puck-block/faq-sections/dual-column-accordion-faq/dual-column-accordion-faq.js +2 -2
- package/dist/components/puck-block/faq-sections/props.d.ts +2 -2
- package/dist/components/puck-block/faq-sections/stacked-accordion-faq/stacked-accordion-faq.js +5 -5
- package/dist/components/puck-block/faq-sections/stacked-static-faq/stacked-static-faq.js +3 -3
- package/dist/components/puck-block/faq-sections/two-column-accordion-faq/index.d.ts +6 -0
- package/dist/components/puck-block/faq-sections/two-column-accordion-faq/index.js +2 -0
- package/dist/components/puck-block/faq-sections/two-column-accordion-faq/two-column-accordion-faq.js +2 -2
- package/dist/components/puck-block/faq-sections/two-column-static-faq/index.d.ts +6 -0
- package/dist/components/puck-block/faq-sections/two-column-static-faq/index.js +2 -0
- package/dist/components/puck-block/feature-sections/props.d.ts +3 -3
- package/dist/components/puck-block/feature-sections/text-media-split/component.js +6 -6
- package/dist/components/puck-block/feature-sections/text-only-section/component.js +8 -8
- package/dist/components/puck-block/footer-sections/centered-minimal-footer/index.d.ts +226 -2
- package/dist/components/puck-block/footer-sections/centered-minimal-footer/index.js +34 -1
- package/dist/components/puck-block/footer-sections/contact-links-footer/contact-links-footer.js +2 -2
- package/dist/components/puck-block/footer-sections/contact-links-footer/index.d.ts +159 -2
- package/dist/components/puck-block/footer-sections/contact-links-footer/index.js +32 -2
- package/dist/components/puck-block/footer-sections/cta-links-footer/cta-links-footer.js +2 -2
- package/dist/components/puck-block/footer-sections/cta-links-footer/index.d.ts +114 -2
- package/dist/components/puck-block/footer-sections/cta-links-footer/index.js +44 -2
- package/dist/components/puck-block/footer-sections/props.d.ts +2 -2
- package/dist/components/puck-block/gallery-sections/asymmetric-grid/index.d.ts +145 -0
- package/dist/components/puck-block/gallery-sections/asymmetric-grid/index.js +6 -0
- package/dist/components/puck-block/gallery-sections/fullscreen-portfolio/index.d.ts +169 -0
- package/dist/components/puck-block/gallery-sections/fullscreen-portfolio/index.js +11 -2
- package/dist/components/puck-block/gallery-sections/image-carousel/image-carousel.js +6 -6
- package/dist/components/puck-block/gallery-sections/image-carousel/index.d.ts +145 -0
- package/dist/components/puck-block/gallery-sections/image-carousel/index.js +6 -0
- package/dist/components/puck-block/gallery-sections/interactive-portfolio/index.d.ts +163 -0
- package/dist/components/puck-block/gallery-sections/interactive-portfolio/index.js +9 -1
- package/dist/components/puck-block/gallery-sections/masonry-grid/index.d.ts +145 -0
- package/dist/components/puck-block/gallery-sections/masonry-grid/index.js +6 -0
- package/dist/components/puck-block/gallery-sections/portfolio-cards/index.d.ts +104 -0
- package/dist/components/puck-block/gallery-sections/portfolio-cards/index.js +7 -3
- package/dist/components/puck-block/gallery-sections/portfolio-cards/portfolio-cards.js +3 -3
- package/dist/components/puck-block/gallery-sections/portfolio-divider/index.d.ts +104 -0
- package/dist/components/puck-block/gallery-sections/portfolio-divider/index.js +7 -3
- package/dist/components/puck-block/gallery-sections/props.d.ts +3 -3
- package/dist/components/puck-block/gallery-sections/scroll-parallax/index.d.ts +145 -0
- package/dist/components/puck-block/gallery-sections/scroll-parallax/index.js +7 -1
- package/dist/components/puck-block/gallery-sections/scroll-parallax-portfolio/index.d.ts +228 -0
- package/dist/components/puck-block/gallery-sections/scroll-parallax-portfolio/index.js +13 -1
- package/dist/components/puck-block/gallery-sections/split-carousel/index.d.ts +145 -0
- package/dist/components/puck-block/gallery-sections/split-carousel/index.js +6 -0
- package/dist/components/puck-block/gallery-sections/static-grid/index.d.ts +145 -0
- package/dist/components/puck-block/gallery-sections/static-grid/index.js +6 -0
- package/dist/components/puck-block/header-sections/centered-navbar/index.d.ts +5 -2
- package/dist/components/puck-block/header-sections/centered-navbar/index.js +8 -1
- package/dist/components/puck-block/header-sections/drawer-navbar/index.d.ts +5 -2
- package/dist/components/puck-block/header-sections/drawer-navbar/index.js +1 -1
- package/dist/components/puck-block/header-sections/floating-bordered-navbar/index.d.ts +5 -2
- package/dist/components/puck-block/header-sections/floating-bordered-navbar/index.js +1 -1
- package/dist/components/puck-block/header-sections/fullscreen-overlay-navbar/index.d.ts +5 -2
- package/dist/components/puck-block/header-sections/fullscreen-overlay-navbar/index.js +1 -1
- package/dist/components/puck-block/header-sections/mega-menu-navbar/index.d.ts +5 -2
- package/dist/components/puck-block/header-sections/mega-menu-navbar/index.js +1 -1
- package/dist/components/puck-block/header-sections/standard-navbar/index.d.ts +5 -2
- package/dist/components/puck-block/header-sections/standard-navbar/index.js +8 -1
- package/dist/components/puck-block/hero-sections/carousel-hero/component.d.ts +1 -6
- package/dist/components/puck-block/hero-sections/carousel-hero/component.js +24 -36
- package/dist/components/puck-block/hero-sections/carousel-hero/index.d.ts +0 -6
- package/dist/components/puck-block/hero-sections/carousel-hero/index.js +1 -3
- package/dist/components/puck-block/hero-sections/props.d.ts +2 -2
- package/dist/components/puck-block/hero-sections/three-image-parallax-hero/component.js +5 -5
- package/dist/components/puck-block/metrics-sections/center-media-stats/index.d.ts +79 -0
- package/dist/components/puck-block/metrics-sections/center-media-stats/index.js +2 -0
- package/dist/components/puck-block/metrics-sections/header-stats-row/header-stats-row.js +6 -1
- package/dist/components/puck-block/pricing-sections/pricing-card-grid/index.d.ts +55 -0
- package/dist/components/puck-block/pricing-sections/pricing-card-grid/index.js +3 -1
- package/dist/components/puck-block/pricing-sections/pricing-comparison-table/component.js +7 -7
- package/dist/components/puck-block/pricing-sections/pricing-comparison-table/index.d.ts +55 -0
- package/dist/components/puck-block/pricing-sections/pricing-comparison-table/index.js +3 -1
- package/dist/components/puck-block/pricing-sections/props.d.ts +2 -2
- package/dist/components/puck-block/pricing-sections/single-pricing-card/index.d.ts +64 -0
- package/dist/components/puck-block/pricing-sections/single-pricing-card/index.js +5 -1
- package/dist/components/puck-block/pricing-sections/split-pricing/index.d.ts +70 -0
- package/dist/components/puck-block/pricing-sections/split-pricing/index.js +7 -2
- package/dist/components/puck-block/pricing-sections/tab-pricing-grid/index.d.ts +78 -0
- package/dist/components/puck-block/pricing-sections/tab-pricing-grid/index.js +13 -1
- package/dist/components/puck-block/pricing-sections/tab-single-pricing/index.d.ts +23 -0
- package/dist/components/puck-block/pricing-sections/tab-single-pricing/index.js +10 -1
- package/dist/components/puck-block/registry.generated.d.ts +5732 -2061
- package/dist/components/puck-block/registry.generated.js +14 -14
- package/dist/components/puck-block/showcase-sections/compact-timeline/component.js +3 -3
- package/dist/components/puck-block/showcase-sections/horizontal-timeline/component.js +3 -3
- package/dist/components/puck-block/showcase-sections/props.d.ts +2 -2
- package/dist/components/puck-block/showcase-sections/single-column-timeline/component.js +6 -6
- package/dist/components/puck-block/showcase-sections/sticky-scroll-timeline/component.js +6 -6
- package/dist/components/puck-block/showcase-sections/zigzag-timeline/component.js +6 -6
- package/dist/components/puck-block/team-sections/props.d.ts +1 -1
- package/dist/components/puck-block/team-sections/team-carousel/index.d.ts +25 -0
- package/dist/components/puck-block/team-sections/team-carousel/index.js +22 -1
- package/dist/components/puck-block/team-sections/team-grid/component.js +3 -3
- package/dist/components/puck-block/team-sections/team-grid/index.d.ts +25 -0
- package/dist/components/puck-block/team-sections/team-grid/index.js +22 -1
- package/dist/components/puck-block/team-sections/team-inline-card/index.d.ts +25 -0
- package/dist/components/puck-block/team-sections/team-inline-card/index.js +22 -1
- package/dist/components/puck-block/team-sections/team-sticky-scatter/index.d.ts +25 -0
- package/dist/components/puck-block/team-sections/team-sticky-scatter/index.js +22 -1
- package/dist/components/puck-block/team-sections/team-two-column/index.d.ts +25 -0
- package/dist/components/puck-block/team-sections/team-two-column/index.js +22 -1
- package/dist/components/puck-block/testimonial-sections/bento-testimonial/component.js +2 -2
- package/dist/components/puck-block/testimonial-sections/halfscreen-testimonial-carousel/component.js +3 -3
- package/dist/components/puck-block/testimonial-sections/halfscreen-testimonial-carousel/index.d.ts +9 -0
- package/dist/components/puck-block/testimonial-sections/halfscreen-testimonial-carousel/index.js +3 -1
- package/dist/components/puck-block/testimonial-sections/marquee-testimonial/index.d.ts +9 -0
- package/dist/components/puck-block/testimonial-sections/marquee-testimonial/index.js +3 -1
- package/dist/components/puck-block/testimonial-sections/masonry-testimonial/index.d.ts +9 -0
- package/dist/components/puck-block/testimonial-sections/masonry-testimonial/index.js +3 -1
- package/dist/components/puck-block/testimonial-sections/props.d.ts +5 -5
- package/dist/components/puck-block/testimonial-sections/sticky-testimonial/index.d.ts +9 -0
- package/dist/components/puck-block/testimonial-sections/sticky-testimonial/index.js +3 -1
- package/dist/components/puck-block/testimonial-sections/tab-testimonial/component.js +7 -7
- package/dist/components/puck-block/testimonial-sections/tab-testimonial/index.d.ts +47 -0
- package/dist/components/puck-block/testimonial-sections/tab-testimonial/index.js +5 -1
- package/dist/components/puck-block/testimonial-sections/testimonial-card-grid/component.js +6 -6
- package/dist/components/puck-block/testimonial-sections/testimonial-card-grid/index.d.ts +30 -0
- package/dist/components/puck-block/testimonial-sections/testimonial-card-grid/index.js +6 -1
- package/dist/components/puck-block/testimonial-sections/testimonial-carousel/component.js +9 -9
- package/dist/components/puck-block/testimonial-sections/testimonial-carousel/index.d.ts +21 -0
- package/dist/components/puck-block/testimonial-sections/testimonial-carousel/index.js +5 -1
- package/dist/components/puck-block/text-sections/blog-article/component.js +3 -3
- package/dist/components/puck-block/text-sections/props.d.ts +3 -3
- package/dist/components/puck-block/text-sections/prose-content/component.js +3 -3
- package/dist/components/puck-core/core/props/index.js +0 -7
- package/package.json +20 -20
|
@@ -15,6 +15,153 @@ declare const conf: {
|
|
|
15
15
|
readonly type: "textarea";
|
|
16
16
|
readonly contentEditable: true;
|
|
17
17
|
};
|
|
18
|
+
button: {
|
|
19
|
+
readonly type: "object";
|
|
20
|
+
readonly objectFields: {
|
|
21
|
+
readonly label: {
|
|
22
|
+
readonly type: "text";
|
|
23
|
+
};
|
|
24
|
+
readonly action: {
|
|
25
|
+
type: "custom";
|
|
26
|
+
label: string;
|
|
27
|
+
render: typeof import("../../..").ActionField;
|
|
28
|
+
};
|
|
29
|
+
readonly variant: {
|
|
30
|
+
readonly type: "select";
|
|
31
|
+
readonly options: readonly [{
|
|
32
|
+
readonly label: "primary";
|
|
33
|
+
readonly value: "default";
|
|
34
|
+
}, {
|
|
35
|
+
readonly label: "secondary";
|
|
36
|
+
readonly value: "secondary";
|
|
37
|
+
}, {
|
|
38
|
+
readonly label: "outline";
|
|
39
|
+
readonly value: "outline";
|
|
40
|
+
}, {
|
|
41
|
+
readonly label: "ghost";
|
|
42
|
+
readonly value: "ghost";
|
|
43
|
+
}, {
|
|
44
|
+
readonly label: "link";
|
|
45
|
+
readonly value: "link";
|
|
46
|
+
}, {
|
|
47
|
+
readonly label: "destructive";
|
|
48
|
+
readonly value: "destructive";
|
|
49
|
+
}];
|
|
50
|
+
};
|
|
51
|
+
readonly size: {
|
|
52
|
+
readonly type: "select";
|
|
53
|
+
readonly options: readonly [{
|
|
54
|
+
readonly label: "default";
|
|
55
|
+
readonly value: "default";
|
|
56
|
+
}, {
|
|
57
|
+
readonly label: "sm";
|
|
58
|
+
readonly value: "sm";
|
|
59
|
+
}, {
|
|
60
|
+
readonly label: "lg";
|
|
61
|
+
readonly value: "lg";
|
|
62
|
+
}, {
|
|
63
|
+
readonly label: "icon";
|
|
64
|
+
readonly value: "icon";
|
|
65
|
+
}];
|
|
66
|
+
};
|
|
67
|
+
readonly icon: {
|
|
68
|
+
type: "custom";
|
|
69
|
+
render: typeof import("../../../puck-core/fields/icon-picker-field").IconPickerField;
|
|
70
|
+
};
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
buttons: {
|
|
74
|
+
readonly type: "array";
|
|
75
|
+
readonly max: 3;
|
|
76
|
+
readonly getItemSummary: (item: {
|
|
77
|
+
label?: string;
|
|
78
|
+
}, index?: number) => string;
|
|
79
|
+
readonly arrayFields: {
|
|
80
|
+
readonly label: {
|
|
81
|
+
readonly type: "text";
|
|
82
|
+
};
|
|
83
|
+
readonly action: {
|
|
84
|
+
type: "custom";
|
|
85
|
+
label: string;
|
|
86
|
+
render: typeof import("../../..").ActionField;
|
|
87
|
+
};
|
|
88
|
+
readonly variant: {
|
|
89
|
+
readonly type: "select";
|
|
90
|
+
readonly options: readonly [{
|
|
91
|
+
readonly label: "primary";
|
|
92
|
+
readonly value: "default";
|
|
93
|
+
}, {
|
|
94
|
+
readonly label: "secondary";
|
|
95
|
+
readonly value: "secondary";
|
|
96
|
+
}, {
|
|
97
|
+
readonly label: "outline";
|
|
98
|
+
readonly value: "outline";
|
|
99
|
+
}, {
|
|
100
|
+
readonly label: "ghost";
|
|
101
|
+
readonly value: "ghost";
|
|
102
|
+
}, {
|
|
103
|
+
readonly label: "link";
|
|
104
|
+
readonly value: "link";
|
|
105
|
+
}, {
|
|
106
|
+
readonly label: "destructive";
|
|
107
|
+
readonly value: "destructive";
|
|
108
|
+
}];
|
|
109
|
+
};
|
|
110
|
+
readonly size: {
|
|
111
|
+
readonly type: "select";
|
|
112
|
+
readonly options: readonly [{
|
|
113
|
+
readonly label: "default";
|
|
114
|
+
readonly value: "default";
|
|
115
|
+
}, {
|
|
116
|
+
readonly label: "sm";
|
|
117
|
+
readonly value: "sm";
|
|
118
|
+
}, {
|
|
119
|
+
readonly label: "lg";
|
|
120
|
+
readonly value: "lg";
|
|
121
|
+
}, {
|
|
122
|
+
readonly label: "icon";
|
|
123
|
+
readonly value: "icon";
|
|
124
|
+
}];
|
|
125
|
+
};
|
|
126
|
+
readonly icon: {
|
|
127
|
+
type: "custom";
|
|
128
|
+
render: typeof import("../../../puck-core/fields/icon-picker-field").IconPickerField;
|
|
129
|
+
};
|
|
130
|
+
};
|
|
131
|
+
readonly defaultItemProps: {
|
|
132
|
+
readonly label: "Button";
|
|
133
|
+
readonly action: {
|
|
134
|
+
readonly type: "page";
|
|
135
|
+
readonly pageUrl: "";
|
|
136
|
+
readonly externalUrl: "";
|
|
137
|
+
readonly openInNewTab: "false";
|
|
138
|
+
readonly email: "";
|
|
139
|
+
readonly subject: "";
|
|
140
|
+
readonly phone: "";
|
|
141
|
+
readonly sectionId: "";
|
|
142
|
+
readonly downloadUrl: "";
|
|
143
|
+
};
|
|
144
|
+
readonly variant: "default";
|
|
145
|
+
readonly size: "default";
|
|
146
|
+
readonly icon: "none";
|
|
147
|
+
};
|
|
148
|
+
readonly ai: {
|
|
149
|
+
readonly instructions: "Buttons must use the same size";
|
|
150
|
+
};
|
|
151
|
+
};
|
|
152
|
+
media: {
|
|
153
|
+
type: "object";
|
|
154
|
+
objectFields: {
|
|
155
|
+
src: import("@puckeditor/core").Field<string>;
|
|
156
|
+
alt: {
|
|
157
|
+
type: "text";
|
|
158
|
+
};
|
|
159
|
+
};
|
|
160
|
+
};
|
|
161
|
+
contacts: {
|
|
162
|
+
type: string;
|
|
163
|
+
arrayFields: {};
|
|
164
|
+
};
|
|
18
165
|
locations: {
|
|
19
166
|
type: string;
|
|
20
167
|
max: number;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { TabLocations, TabLocationsDefaults } from "./tab-locations.js";
|
|
2
2
|
import { descriptionField, headingField } from "../../../puck-core/core/props/content.js";
|
|
3
|
+
import { buttonField, buttonsField } from "../../../puck-core/core/props/interactive.js";
|
|
3
4
|
import { mediaField } from "../../../puck-core/core/props/media.js";
|
|
4
|
-
import { buttonField } from "../../../puck-core/core/props/interactive.js";
|
|
5
5
|
import { contactStyleFields } from "../props.js";
|
|
6
6
|
import { sectionWrapperFields } from "../../../puck-core/section-wrapper.js";
|
|
7
7
|
const conf = {
|
|
@@ -9,6 +9,10 @@ const conf = {
|
|
|
9
9
|
tagline: { type: "text" },
|
|
10
10
|
heading: headingField,
|
|
11
11
|
description: descriptionField,
|
|
12
|
+
button: buttonField,
|
|
13
|
+
buttons: buttonsField,
|
|
14
|
+
media: mediaField,
|
|
15
|
+
contacts: { type: "array", arrayFields: {} },
|
|
12
16
|
locations: {
|
|
13
17
|
type: "array",
|
|
14
18
|
max: 6,
|
|
@@ -16,7 +16,7 @@ export interface CtaSectionStyles {
|
|
|
16
16
|
mediaPosition?: "left" | "right";
|
|
17
17
|
bgMedia?: "none" | "fullscreenImage" | "fullscreenVideo" | "containerImage" | "containerVideo";
|
|
18
18
|
formType?: "buttons" | "email";
|
|
19
|
-
bordered?:
|
|
19
|
+
bordered?: string;
|
|
20
20
|
bottomContent?: "none" | "image" | "logos";
|
|
21
21
|
listStyle?: "center" | "numbered";
|
|
22
22
|
}
|
|
@@ -36,6 +36,14 @@ const ctaStyleFields = {
|
|
|
36
36
|
{ label: "Container Video", value: "containerVideo" }
|
|
37
37
|
]
|
|
38
38
|
},
|
|
39
|
+
formType: {
|
|
40
|
+
type: "radio",
|
|
41
|
+
label: "Form Type",
|
|
42
|
+
options: [
|
|
43
|
+
{ label: "Buttons", value: "buttons" },
|
|
44
|
+
{ label: "Email", value: "email" }
|
|
45
|
+
]
|
|
46
|
+
},
|
|
39
47
|
bordered: {
|
|
40
48
|
type: "radio",
|
|
41
49
|
label: "Bordered",
|
|
@@ -108,6 +108,70 @@ declare const conf: {
|
|
|
108
108
|
src: string;
|
|
109
109
|
};
|
|
110
110
|
};
|
|
111
|
+
video: {
|
|
112
|
+
type: string;
|
|
113
|
+
};
|
|
114
|
+
inputPlaceholder: {
|
|
115
|
+
type: string;
|
|
116
|
+
};
|
|
117
|
+
formButton: {
|
|
118
|
+
readonly type: "object";
|
|
119
|
+
readonly objectFields: {
|
|
120
|
+
readonly label: {
|
|
121
|
+
readonly type: "text";
|
|
122
|
+
};
|
|
123
|
+
readonly action: {
|
|
124
|
+
type: "custom";
|
|
125
|
+
label: string;
|
|
126
|
+
render: typeof import("../../..").ActionField;
|
|
127
|
+
};
|
|
128
|
+
readonly variant: {
|
|
129
|
+
readonly type: "select";
|
|
130
|
+
readonly options: readonly [{
|
|
131
|
+
readonly label: "primary";
|
|
132
|
+
readonly value: "default";
|
|
133
|
+
}, {
|
|
134
|
+
readonly label: "secondary";
|
|
135
|
+
readonly value: "secondary";
|
|
136
|
+
}, {
|
|
137
|
+
readonly label: "outline";
|
|
138
|
+
readonly value: "outline";
|
|
139
|
+
}, {
|
|
140
|
+
readonly label: "ghost";
|
|
141
|
+
readonly value: "ghost";
|
|
142
|
+
}, {
|
|
143
|
+
readonly label: "link";
|
|
144
|
+
readonly value: "link";
|
|
145
|
+
}, {
|
|
146
|
+
readonly label: "destructive";
|
|
147
|
+
readonly value: "destructive";
|
|
148
|
+
}];
|
|
149
|
+
};
|
|
150
|
+
readonly size: {
|
|
151
|
+
readonly type: "select";
|
|
152
|
+
readonly options: readonly [{
|
|
153
|
+
readonly label: "default";
|
|
154
|
+
readonly value: "default";
|
|
155
|
+
}, {
|
|
156
|
+
readonly label: "sm";
|
|
157
|
+
readonly value: "sm";
|
|
158
|
+
}, {
|
|
159
|
+
readonly label: "lg";
|
|
160
|
+
readonly value: "lg";
|
|
161
|
+
}, {
|
|
162
|
+
readonly label: "icon";
|
|
163
|
+
readonly value: "icon";
|
|
164
|
+
}];
|
|
165
|
+
};
|
|
166
|
+
readonly icon: {
|
|
167
|
+
type: "custom";
|
|
168
|
+
render: typeof import("../../../puck-core/fields/icon-picker-field").IconPickerField;
|
|
169
|
+
};
|
|
170
|
+
};
|
|
171
|
+
};
|
|
172
|
+
termsAndConditions: {
|
|
173
|
+
type: string;
|
|
174
|
+
};
|
|
111
175
|
styles: {
|
|
112
176
|
type: string;
|
|
113
177
|
label: string;
|
|
@@ -156,6 +220,17 @@ declare const conf: {
|
|
|
156
220
|
readonly value: "false";
|
|
157
221
|
}];
|
|
158
222
|
};
|
|
223
|
+
formType: {
|
|
224
|
+
readonly type: "radio";
|
|
225
|
+
readonly label: "Form Type";
|
|
226
|
+
readonly options: readonly [{
|
|
227
|
+
readonly label: "Buttons";
|
|
228
|
+
readonly value: "buttons";
|
|
229
|
+
}, {
|
|
230
|
+
readonly label: "Email";
|
|
231
|
+
readonly value: "email";
|
|
232
|
+
}];
|
|
233
|
+
};
|
|
159
234
|
};
|
|
160
235
|
};
|
|
161
236
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SideMediaCta, SideMediaCtaDefaults } from "./side-media-cta.js";
|
|
2
2
|
import { descriptionField, headingField } from "../../../puck-core/core/props/content.js";
|
|
3
|
-
import { buttonsField } from "../../../puck-core/core/props/interactive.js";
|
|
3
|
+
import { buttonField, buttonsField } from "../../../puck-core/core/props/interactive.js";
|
|
4
4
|
import { mediasField } from "../../../puck-core/core/props/media.js";
|
|
5
5
|
import { ctaStyleFields } from "../props.js";
|
|
6
6
|
import { sectionWrapperFields } from "../../../puck-core/section-wrapper.js";
|
|
@@ -10,17 +10,17 @@ const conf = {
|
|
|
10
10
|
description: descriptionField,
|
|
11
11
|
buttons: buttonsField,
|
|
12
12
|
medias: mediasField,
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
13
|
+
video: { type: "text" },
|
|
14
|
+
inputPlaceholder: { type: "text" },
|
|
15
|
+
formButton: buttonField,
|
|
16
|
+
termsAndConditions: { type: "textarea" },
|
|
17
17
|
styles: {
|
|
18
18
|
type: "object",
|
|
19
19
|
label: "Styles",
|
|
20
20
|
objectFields: {
|
|
21
21
|
mediaPosition: ctaStyleFields.mediaPosition,
|
|
22
22
|
bordered: ctaStyleFields.bordered,
|
|
23
|
-
|
|
23
|
+
formType: ctaStyleFields.formType,
|
|
24
24
|
...sectionWrapperFields
|
|
25
25
|
}
|
|
26
26
|
}
|
|
@@ -24,7 +24,7 @@ const SideMediaCta = (props) => {
|
|
|
24
24
|
style: sectionStyle,
|
|
25
25
|
css,
|
|
26
26
|
mediaPosition = "right",
|
|
27
|
-
bordered = false
|
|
27
|
+
bordered = "false"
|
|
28
28
|
// formType = "buttons",
|
|
29
29
|
} = styles ?? {};
|
|
30
30
|
const renderActions = () => {
|
|
@@ -37,7 +37,7 @@ const SideMediaCta = (props) => {
|
|
|
37
37
|
] });
|
|
38
38
|
const mediaContent = /* @__PURE__ */ jsx("div", { className: cn({ "flex items-center justify-center": bordered }), children: /* @__PURE__ */ jsx(CompoundMedia, { src: (_a = medias == null ? void 0 : medias[0]) == null ? void 0 : _a.src, className: "w-full object-cover", alt: (_b = medias == null ? void 0 : medias[0]) == null ? void 0 : _b.alt }) });
|
|
39
39
|
const isLeftMedia = mediaPosition === "left";
|
|
40
|
-
if (bordered) {
|
|
40
|
+
if (bordered === "true") {
|
|
41
41
|
return /* @__PURE__ */ jsx(SectionWrapper, { className: cn("px-[5%] py-6 md:py-8 lg:py-10", sectionClassName), style: sectionStyle, css, children: /* @__PURE__ */ jsx("div", { className: "container", children: /* @__PURE__ */ jsx("div", { className: "grid auto-cols-fr grid-cols-1 border border-border-primary lg:grid-cols-2", children: isLeftMedia ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
42
42
|
mediaContent,
|
|
43
43
|
textContent
|
|
@@ -74,7 +74,7 @@ const SideMediaCtaDefaults = {
|
|
|
74
74
|
`,
|
|
75
75
|
styles: {
|
|
76
76
|
mediaPosition: "right",
|
|
77
|
-
bordered: false,
|
|
77
|
+
bordered: "false",
|
|
78
78
|
formType: "buttons"
|
|
79
79
|
}
|
|
80
80
|
};
|
|
@@ -26,7 +26,7 @@ const TextBlockCta = (props) => {
|
|
|
26
26
|
css,
|
|
27
27
|
textLayout = "left",
|
|
28
28
|
bgMedia = "none",
|
|
29
|
-
bordered = false,
|
|
29
|
+
bordered = "false",
|
|
30
30
|
// formType = "buttons",
|
|
31
31
|
bottomContent = "none"
|
|
32
32
|
} = styles ?? {};
|
|
@@ -95,7 +95,7 @@ const TextBlockCta = (props) => {
|
|
|
95
95
|
}
|
|
96
96
|
if (isInlineRow) {
|
|
97
97
|
return /* @__PURE__ */ jsxs("div", { className: cn("flex flex-col items-start gap-6 md:flex-row md:items-center md:justify-between", {
|
|
98
|
-
"border border-border-primary p-8 md:p-12": bordered && !isFullscreenBg
|
|
98
|
+
"border border-border-primary p-8 md:p-12": bordered === "true" && !isFullscreenBg
|
|
99
99
|
}), children: [
|
|
100
100
|
/* @__PURE__ */ jsx("h2", { className: cn("text-5xl font-bold md:text-7xl lg:text-8xl", textColorClass), children: heading }),
|
|
101
101
|
renderActions()
|
|
@@ -154,7 +154,7 @@ const TextBlockCtaDefaults = {
|
|
|
154
154
|
styles: {
|
|
155
155
|
textLayout: "left",
|
|
156
156
|
bgMedia: "none",
|
|
157
|
-
bordered: false,
|
|
157
|
+
bordered: "false",
|
|
158
158
|
// formType: "buttons",
|
|
159
159
|
bottomContent: "none"
|
|
160
160
|
}
|
|
@@ -16,7 +16,7 @@ const DualColumnAccordionFaq = (props) => {
|
|
|
16
16
|
...DualColumnAccordionFaqDefaults,
|
|
17
17
|
...props
|
|
18
18
|
};
|
|
19
|
-
const { className: sectionClassName, style: sectionStyle, css, bordered = false } = styles ?? {};
|
|
19
|
+
const { className: sectionClassName, style: sectionStyle, css, bordered = "false" } = styles ?? {};
|
|
20
20
|
const halfLength = Math.ceil(questions.length / 2);
|
|
21
21
|
const firstColumnQuestions = questions.slice(0, halfLength);
|
|
22
22
|
const secondColumnQuestions = questions.slice(halfLength);
|
|
@@ -72,7 +72,7 @@ const DualColumnAccordionFaqDefaults = {
|
|
|
72
72
|
footerDescription: "Lorem ipsum dolor sit amet, consectetur adipiscing elit.",
|
|
73
73
|
button: { label: "Contact", variant: "secondary" },
|
|
74
74
|
styles: {
|
|
75
|
-
bordered: false
|
|
75
|
+
bordered: "false"
|
|
76
76
|
}
|
|
77
77
|
};
|
|
78
78
|
export {
|
|
@@ -13,8 +13,8 @@ export interface FaqSectionStyles {
|
|
|
13
13
|
css?: string;
|
|
14
14
|
textAlign?: "left" | "center";
|
|
15
15
|
gridColumns?: "1" | "2" | "3";
|
|
16
|
-
bordered?:
|
|
17
|
-
hasFooter?:
|
|
16
|
+
bordered?: string;
|
|
17
|
+
hasFooter?: string;
|
|
18
18
|
}
|
|
19
19
|
export interface FaqQuestion {
|
|
20
20
|
title: string;
|
package/dist/components/puck-block/faq-sections/stacked-accordion-faq/stacked-accordion-faq.js
CHANGED
|
@@ -21,8 +21,8 @@ const StackedAccordionFaq = (props) => {
|
|
|
21
21
|
style: sectionStyle,
|
|
22
22
|
css,
|
|
23
23
|
textAlign = "center",
|
|
24
|
-
hasFooter = true,
|
|
25
|
-
bordered = false
|
|
24
|
+
hasFooter = "true",
|
|
25
|
+
bordered = "false"
|
|
26
26
|
} = styles ?? {};
|
|
27
27
|
const isCenter = textAlign === "center";
|
|
28
28
|
return /* @__PURE__ */ jsx(SectionWrapper, { className: cn("px-[5%] py-8 md:py-12 lg:py-14", sectionClassName), style: sectionStyle, css, children: /* @__PURE__ */ jsxs("div", { className: "container max-w-lg", children: [
|
|
@@ -52,7 +52,7 @@ const StackedAccordionFaq = (props) => {
|
|
|
52
52
|
},
|
|
53
53
|
index
|
|
54
54
|
)) }),
|
|
55
|
-
hasFooter && /* @__PURE__ */ jsxs("div", { className: cn("mx-auto mt-12 max-w-md md:mt-18 lg:mt-20", { "text-center": isCenter }), children: [
|
|
55
|
+
hasFooter === "true" && /* @__PURE__ */ jsxs("div", { className: cn("mx-auto mt-12 max-w-md md:mt-18 lg:mt-20", { "text-center": isCenter }), children: [
|
|
56
56
|
/* @__PURE__ */ jsx("h4", { className: "mb-3 text-2xl font-bold md:mb-4 md:text-3xl md:leading-[1.3] lg:text-4xl", children: footerHeading }),
|
|
57
57
|
/* @__PURE__ */ jsx("p", { className: "md:text-md", children: footerDescription }),
|
|
58
58
|
/* @__PURE__ */ jsx("div", { className: "mt-6 md:mt-8", children: /* @__PURE__ */ jsx(CompoundButton, { label: button.label, variant: button.variant, size: button.size, action: button.action, icon: button.icon }) })
|
|
@@ -74,8 +74,8 @@ const StackedAccordionFaqDefaults = {
|
|
|
74
74
|
button: { label: "Contact", variant: "secondary" },
|
|
75
75
|
styles: {
|
|
76
76
|
textAlign: "center",
|
|
77
|
-
hasFooter: true,
|
|
78
|
-
bordered: false
|
|
77
|
+
hasFooter: "true",
|
|
78
|
+
bordered: "false"
|
|
79
79
|
}
|
|
80
80
|
};
|
|
81
81
|
export {
|
|
@@ -21,7 +21,7 @@ const StackedStaticFaq = (props) => {
|
|
|
21
21
|
css,
|
|
22
22
|
textAlign = "center",
|
|
23
23
|
gridColumns = "1",
|
|
24
|
-
hasFooter = true
|
|
24
|
+
hasFooter = "true"
|
|
25
25
|
} = styles ?? {};
|
|
26
26
|
const isCenter = textAlign === "center";
|
|
27
27
|
const isInline = gridColumns === "1" && textAlign === "left";
|
|
@@ -40,7 +40,7 @@ const StackedStaticFaq = (props) => {
|
|
|
40
40
|
/* @__PURE__ */ jsx("h2", { className: "mb-3 text-base font-bold md:mb-4 md:text-md", children: question.title }),
|
|
41
41
|
/* @__PURE__ */ jsx("p", { children: question.answer })
|
|
42
42
|
] }, index)) }),
|
|
43
|
-
hasFooter && /* @__PURE__ */ jsxs("div", { className: cn("mx-auto mt-12 max-w-md md:mt-18 lg:mt-20", { "text-center": isCenter }), children: [
|
|
43
|
+
hasFooter === "true" && /* @__PURE__ */ jsxs("div", { className: cn("mx-auto mt-12 max-w-md md:mt-18 lg:mt-20", { "text-center": isCenter }), children: [
|
|
44
44
|
/* @__PURE__ */ jsx("h4", { className: "mb-3 text-2xl font-bold md:mb-4 md:text-3xl md:leading-[1.3] lg:text-4xl", children: footerHeading }),
|
|
45
45
|
/* @__PURE__ */ jsx("p", { className: "md:text-md", children: footerDescription }),
|
|
46
46
|
/* @__PURE__ */ jsx("div", { className: "mt-6 md:mt-8", children: /* @__PURE__ */ jsx(CompoundButton, { label: button.label, variant: button.variant, size: button.size, action: button.action, icon: button.icon }) })
|
|
@@ -63,7 +63,7 @@ const StackedStaticFaqDefaults = {
|
|
|
63
63
|
styles: {
|
|
64
64
|
textAlign: "center",
|
|
65
65
|
gridColumns: "1",
|
|
66
|
-
hasFooter: true
|
|
66
|
+
hasFooter: "true"
|
|
67
67
|
}
|
|
68
68
|
};
|
|
69
69
|
export {
|
package/dist/components/puck-block/faq-sections/two-column-accordion-faq/two-column-accordion-faq.js
CHANGED
|
@@ -14,7 +14,7 @@ const TwoColumnAccordionFaq = (props) => {
|
|
|
14
14
|
...TwoColumnAccordionFaqDefaults,
|
|
15
15
|
...props
|
|
16
16
|
};
|
|
17
|
-
const { className: sectionClassName, style: sectionStyle, css, bordered = false } = styles ?? {};
|
|
17
|
+
const { className: sectionClassName, style: sectionStyle, css, bordered = "false" } = styles ?? {};
|
|
18
18
|
return /* @__PURE__ */ jsx(SectionWrapper, { className: cn("px-[5%] py-8 md:py-12 lg:py-14", sectionClassName), style: sectionStyle, css, children: /* @__PURE__ */ jsxs("div", { className: "container grid grid-cols-1 gap-y-12 md:grid-cols-2 md:gap-x-12 lg:grid-cols-[.75fr,1fr] lg:gap-x-20", children: [
|
|
19
19
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
20
20
|
/* @__PURE__ */ jsx("h2", { className: "rb-5 mb-5 text-5xl font-bold md:mb-6 md:text-7xl lg:text-8xl", children: heading }),
|
|
@@ -51,7 +51,7 @@ const TwoColumnAccordionFaqDefaults = {
|
|
|
51
51
|
footerHeading: "",
|
|
52
52
|
footerDescription: "",
|
|
53
53
|
styles: {
|
|
54
|
-
bordered: false
|
|
54
|
+
bordered: "false"
|
|
55
55
|
}
|
|
56
56
|
};
|
|
57
57
|
export {
|
|
@@ -16,9 +16,9 @@ export interface FeatureSectionStyles {
|
|
|
16
16
|
bgMedia?: "none" | "image" | "video";
|
|
17
17
|
contentSlots?: "default" | "subHeadings" | "subHeadingsInlineIcon" | "subHeadingsBlockIcon" | "logos" | "checklist" | "bulletList" | "icon" | "stats";
|
|
18
18
|
featureCardLayout?: "grid" | "list";
|
|
19
|
-
bordered?:
|
|
20
|
-
hasTagline?:
|
|
21
|
-
hasButtons?:
|
|
19
|
+
bordered?: string;
|
|
20
|
+
hasTagline?: string;
|
|
21
|
+
hasButtons?: string;
|
|
22
22
|
}
|
|
23
23
|
export interface FeatureSectionBaseProps {
|
|
24
24
|
tagline: string;
|
|
@@ -26,8 +26,8 @@ const TextMediaSplit = (props) => {
|
|
|
26
26
|
style: sectionStyle,
|
|
27
27
|
css,
|
|
28
28
|
mediaType = "image",
|
|
29
|
-
hasTagline = true,
|
|
30
|
-
hasButtons = true
|
|
29
|
+
hasTagline = "true",
|
|
30
|
+
hasButtons = "true"
|
|
31
31
|
} = styles ?? {};
|
|
32
32
|
const [isIframeLoaded, setIsIframeLoaded] = useState(false);
|
|
33
33
|
const renderMedia = () => {
|
|
@@ -63,10 +63,10 @@ const TextMediaSplit = (props) => {
|
|
|
63
63
|
};
|
|
64
64
|
return /* @__PURE__ */ jsx(SectionWrapper, { className: cn("px-[5%] py-8 md:py-12 lg:py-14", sectionClassName), style: sectionStyle, css, children: /* @__PURE__ */ jsx("div", { className: "container", children: /* @__PURE__ */ jsxs("div", { className: "grid grid-cols-1 gap-y-12 md:grid-cols-2 md:items-center md:gap-x-12 lg:gap-x-20", children: [
|
|
65
65
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
66
|
-
hasTagline && /* @__PURE__ */ jsx("p", { className: "mb-3 font-semibold md:mb-4", children: tagline }),
|
|
66
|
+
hasTagline === "true" && /* @__PURE__ */ jsx("p", { className: "mb-3 font-semibold md:mb-4", children: tagline }),
|
|
67
67
|
/* @__PURE__ */ jsx("h2", { className: "mb-5 text-5xl font-bold md:mb-6 md:text-7xl lg:text-8xl", children: heading }),
|
|
68
68
|
/* @__PURE__ */ jsx("p", { className: "md:text-md", children: description }),
|
|
69
|
-
hasButtons && /* @__PURE__ */ jsx("div", { className: "mt-6 flex flex-wrap items-center gap-4 md:mt-8", children: buttons.map((button, index) => /* @__PURE__ */ jsx(CompoundButton, { label: button.label, variant: button.variant, size: button.size, action: button.action, icon: button.icon }, index)) })
|
|
69
|
+
hasButtons === "true" && /* @__PURE__ */ jsx("div", { className: "mt-6 flex flex-wrap items-center gap-4 md:mt-8", children: buttons.map((button, index) => /* @__PURE__ */ jsx(CompoundButton, { label: button.label, variant: button.variant, size: button.size, action: button.action, icon: button.icon }, index)) })
|
|
70
70
|
] }),
|
|
71
71
|
/* @__PURE__ */ jsx("div", { children: renderMedia() })
|
|
72
72
|
] }) }) });
|
|
@@ -84,8 +84,8 @@ const TextMediaSplitDefaults = {
|
|
|
84
84
|
styles: {
|
|
85
85
|
mediaType: "image",
|
|
86
86
|
contentSlots: "default",
|
|
87
|
-
hasTagline: true,
|
|
88
|
-
hasButtons: true
|
|
87
|
+
hasTagline: "true",
|
|
88
|
+
hasButtons: "true"
|
|
89
89
|
}
|
|
90
90
|
};
|
|
91
91
|
export {
|
|
@@ -23,20 +23,20 @@ const TextOnlySection = (props) => {
|
|
|
23
23
|
css,
|
|
24
24
|
textLayout = "single",
|
|
25
25
|
bgMedia = "none",
|
|
26
|
-
hasTagline = true,
|
|
27
|
-
hasButtons = true
|
|
26
|
+
hasTagline = "true",
|
|
27
|
+
hasButtons = "true"
|
|
28
28
|
} = styles ?? {};
|
|
29
29
|
const isAlt = bgMedia !== "none";
|
|
30
30
|
const renderContent = () => {
|
|
31
31
|
if (textLayout === "twoColumn") {
|
|
32
32
|
return /* @__PURE__ */ jsxs("div", { className: "grid grid-cols-1 gap-5 md:grid-cols-2 md:gap-x-12 md:gap-y-8 lg:gap-x-20", children: [
|
|
33
33
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
34
|
-
hasTagline && /* @__PURE__ */ jsx("p", { className: `mb-3 font-semibold md:mb-4 ${isAlt ? "text-text-alternative" : ""}`, children: tagline }),
|
|
34
|
+
hasTagline === "true" && /* @__PURE__ */ jsx("p", { className: `mb-3 font-semibold md:mb-4 ${isAlt ? "text-text-alternative" : ""}`, children: tagline }),
|
|
35
35
|
/* @__PURE__ */ jsx("h2", { className: `text-5xl font-bold md:text-7xl lg:text-8xl ${isAlt ? "text-text-alternative" : ""}`, children: heading })
|
|
36
36
|
] }),
|
|
37
37
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
38
38
|
/* @__PURE__ */ jsx("p", { className: `md:text-md ${isAlt ? "text-text-alternative" : ""}`, children: description }),
|
|
39
|
-
hasButtons && /* @__PURE__ */ jsx("div", { className: "mt-6 flex flex-wrap items-center gap-4 md:mt-8", children: buttons.map((button, index) => /* @__PURE__ */ jsx(CompoundButton, { label: button.label, variant: button.variant, size: button.size, action: button.action, icon: button.icon }, index)) }),
|
|
39
|
+
hasButtons === "true" && /* @__PURE__ */ jsx("div", { className: "mt-6 flex flex-wrap items-center gap-4 md:mt-8", children: buttons.map((button, index) => /* @__PURE__ */ jsx(CompoundButton, { label: button.label, variant: button.variant, size: button.size, action: button.action, icon: button.icon }, index)) }),
|
|
40
40
|
subHeadings && subHeadings.length > 0 && /* @__PURE__ */ jsx("div", { className: "mt-8 grid grid-cols-1 gap-6 sm:grid-cols-2", children: subHeadings.map((sub, index) => /* @__PURE__ */ jsxs("div", { children: [
|
|
41
41
|
/* @__PURE__ */ jsx("h3", { className: `mb-2 text-xl font-bold md:text-2xl ${isAlt ? "text-text-alternative" : ""}`, children: sub.title }),
|
|
42
42
|
/* @__PURE__ */ jsx("p", { className: isAlt ? "text-text-alternative" : "", children: sub.description })
|
|
@@ -45,10 +45,10 @@ const TextOnlySection = (props) => {
|
|
|
45
45
|
] });
|
|
46
46
|
}
|
|
47
47
|
return /* @__PURE__ */ jsxs("div", { className: "w-full max-w-md", children: [
|
|
48
|
-
hasTagline && /* @__PURE__ */ jsx("p", { className: `mb-3 font-semibold md:mb-4 ${isAlt ? "text-text-alternative" : ""}`, children: tagline }),
|
|
48
|
+
hasTagline === "true" && /* @__PURE__ */ jsx("p", { className: `mb-3 font-semibold md:mb-4 ${isAlt ? "text-text-alternative" : ""}`, children: tagline }),
|
|
49
49
|
/* @__PURE__ */ jsx("h2", { className: `mb-5 text-5xl font-bold md:mb-6 md:text-7xl lg:text-8xl ${isAlt ? "text-text-alternative" : ""}`, children: heading }),
|
|
50
50
|
/* @__PURE__ */ jsx("p", { className: `md:text-md ${isAlt ? "text-text-alternative" : ""}`, children: description }),
|
|
51
|
-
hasButtons && /* @__PURE__ */ jsx("div", { className: "mt-6 flex flex-wrap items-center gap-4 md:mt-8", children: buttons.map((button, index) => /* @__PURE__ */ jsx(CompoundButton, { label: button.label, variant: button.variant, size: button.size, action: button.action, icon: button.icon }, index)) })
|
|
51
|
+
hasButtons === "true" && /* @__PURE__ */ jsx("div", { className: "mt-6 flex flex-wrap items-center gap-4 md:mt-8", children: buttons.map((button, index) => /* @__PURE__ */ jsx(CompoundButton, { label: button.label, variant: button.variant, size: button.size, action: button.action, icon: button.icon }, index)) })
|
|
52
52
|
] });
|
|
53
53
|
};
|
|
54
54
|
if (bgMedia === "image" && bgImage) {
|
|
@@ -85,8 +85,8 @@ const TextOnlySectionDefaults = {
|
|
|
85
85
|
styles: {
|
|
86
86
|
textLayout: "single",
|
|
87
87
|
bgMedia: "none",
|
|
88
|
-
hasTagline: true,
|
|
89
|
-
hasButtons: true
|
|
88
|
+
hasTagline: "true",
|
|
89
|
+
hasButtons: "true"
|
|
90
90
|
}
|
|
91
91
|
};
|
|
92
92
|
export {
|