@mission-studio/puck 1.0.21 → 1.0.24
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/Popup-Dg78fu78.d.mts +260 -0
- package/dist/Popup-L7kcJo05.d.ts +260 -0
- package/dist/ResponsiveToggleField-65CqZEK-.d.mts +10 -0
- package/dist/ResponsiveToggleField-QCve94L_.d.ts +10 -0
- package/dist/chunk-MYS3PLMF.mjs +463 -0
- package/dist/chunk-TRPKXVMO.mjs +695 -0
- package/dist/{chunk-MWW5LYLN.mjs → chunk-YIPEC4L4.mjs} +709 -1075
- package/dist/components/page/astro/index.d.mts +54 -0
- package/dist/components/page/astro/index.d.ts +54 -0
- package/dist/components/page/astro/index.js +2056 -0
- package/dist/components/page/astro/index.mjs +51 -0
- package/dist/config/server.js +630 -700
- package/dist/config/server.mjs +33 -83
- package/dist/config-entry.js +592 -478
- package/dist/config-entry.mjs +11 -11
- package/dist/{ResponsiveToggleField-CfBKL5oY.d.ts → defaults-j55hBQHu.d.mts} +2 -8
- package/dist/{ResponsiveToggleField-BihXsGIJ.d.mts → defaults-z8Ft2j5r.d.ts} +2 -8
- package/dist/editor.d.mts +5 -4
- package/dist/editor.d.ts +5 -4
- package/dist/index.d.mts +5 -3
- package/dist/index.d.ts +5 -3
- package/dist/index.js +388 -274
- package/dist/index.mjs +11 -11
- package/dist/renderer.d.mts +9 -250
- package/dist/renderer.d.ts +9 -250
- package/dist/renderer.js +388 -274
- package/dist/renderer.mjs +11 -11
- package/dist/resolve/index.d.mts +1 -1
- package/dist/resolve/index.d.ts +1 -1
- package/dist/{types-D-CIduaE.d.mts → types-HQ6hIbYr.d.mts} +1 -1
- package/dist/{types-D-CIduaE.d.ts → types-HQ6hIbYr.d.ts} +1 -1
- package/package.json +6 -1
- package/dist/chunk-WFLVAZV2.mjs +0 -142
|
@@ -0,0 +1,260 @@
|
|
|
1
|
+
import { n as EntryBoundValue, j as ThemeableColorValue, m as ColorValue } from './types-HQ6hIbYr.mjs';
|
|
2
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
|
+
import { ReactNode } from 'react';
|
|
4
|
+
import { R as ResponsiveVisibility } from './ResponsiveToggleField-65CqZEK-.mjs';
|
|
5
|
+
import { PuckContext } from '@measured/puck';
|
|
6
|
+
|
|
7
|
+
type HeadingLevel = "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
|
|
8
|
+
type HeadingSize = "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl";
|
|
9
|
+
type HeadingWeight = "normal" | "medium" | "semibold" | "bold" | "extrabold";
|
|
10
|
+
type HeadingAlign = "left" | "center" | "right";
|
|
11
|
+
type HeadingLetterSpacing = "tight" | "normal" | "wide";
|
|
12
|
+
type HeadingLineHeight = "tight" | "normal" | "relaxed";
|
|
13
|
+
|
|
14
|
+
type ParagraphSize = "sm" | "base" | "lg" | "xl";
|
|
15
|
+
type ParagraphWeight = "normal" | "medium" | "semibold";
|
|
16
|
+
type ParagraphAlign = "left" | "center" | "right" | "justify";
|
|
17
|
+
type ParagraphLineHeight = "tight" | "normal" | "relaxed" | "loose";
|
|
18
|
+
|
|
19
|
+
type ButtonProps = {
|
|
20
|
+
text?: EntryBoundValue<string> | string;
|
|
21
|
+
href?: string;
|
|
22
|
+
target?: "_self" | "_blank";
|
|
23
|
+
variant?: "solid" | "outline" | "ghost" | "link";
|
|
24
|
+
size?: "sm" | "md" | "lg" | "xl";
|
|
25
|
+
color?: ThemeableColorValue | ColorValue | string;
|
|
26
|
+
textColor?: ThemeableColorValue | ColorValue | string;
|
|
27
|
+
borderRadius?: "none" | "sm" | "md" | "lg" | "full";
|
|
28
|
+
fullWidth?: boolean;
|
|
29
|
+
align?: "left" | "center" | "right";
|
|
30
|
+
id?: string;
|
|
31
|
+
puck?: unknown;
|
|
32
|
+
editMode?: boolean;
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
type ImageProps = {
|
|
36
|
+
src?: EntryBoundValue<string> | string;
|
|
37
|
+
alt?: string;
|
|
38
|
+
width?: "auto" | "full" | "sm" | "md" | "lg" | "xl";
|
|
39
|
+
aspectRatio?: "auto" | "1:1" | "4:3" | "16:9" | "21:9";
|
|
40
|
+
objectFit?: "contain" | "cover" | "fill" | "none";
|
|
41
|
+
borderRadius?: "none" | "sm" | "md" | "lg" | "xl" | "full";
|
|
42
|
+
shadow?: "none" | "sm" | "md" | "lg" | "xl";
|
|
43
|
+
align?: "left" | "center" | "right";
|
|
44
|
+
caption?: EntryBoundValue<string> | string;
|
|
45
|
+
captionColor?: ThemeableColorValue | ColorValue | string;
|
|
46
|
+
id?: string;
|
|
47
|
+
puck?: unknown;
|
|
48
|
+
editMode?: boolean;
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
type CarouselImage = {
|
|
52
|
+
src: string;
|
|
53
|
+
alt?: string;
|
|
54
|
+
};
|
|
55
|
+
type ImageCarouselProps = {
|
|
56
|
+
images?: CarouselImage[];
|
|
57
|
+
aspectRatio?: "16:9" | "4:3" | "1:1" | "21:9";
|
|
58
|
+
borderRadius?: "none" | "sm" | "md" | "lg";
|
|
59
|
+
showDots?: boolean;
|
|
60
|
+
showArrows?: boolean;
|
|
61
|
+
arrowColor?: ThemeableColorValue | ColorValue | string;
|
|
62
|
+
dotColor?: ThemeableColorValue | ColorValue | string;
|
|
63
|
+
autoPlay?: boolean;
|
|
64
|
+
autoPlayInterval?: number;
|
|
65
|
+
id?: string;
|
|
66
|
+
puck?: unknown;
|
|
67
|
+
editMode?: boolean;
|
|
68
|
+
};
|
|
69
|
+
|
|
70
|
+
type VideoEmbedProps = {
|
|
71
|
+
url?: EntryBoundValue<string> | string;
|
|
72
|
+
aspectRatio?: "16:9" | "4:3" | "1:1" | "21:9";
|
|
73
|
+
borderRadius?: "none" | "sm" | "md" | "lg";
|
|
74
|
+
autoplay?: boolean;
|
|
75
|
+
muted?: boolean;
|
|
76
|
+
loop?: boolean;
|
|
77
|
+
align?: "left" | "center" | "right";
|
|
78
|
+
maxWidth?: "sm" | "md" | "lg" | "xl" | "full";
|
|
79
|
+
id?: string;
|
|
80
|
+
puck?: unknown;
|
|
81
|
+
editMode?: boolean;
|
|
82
|
+
};
|
|
83
|
+
declare function VideoEmbed({ url, aspectRatio, borderRadius, autoplay, muted, loop, align, maxWidth, id, }: VideoEmbedProps): react_jsx_runtime.JSX.Element;
|
|
84
|
+
|
|
85
|
+
type IconProps = {
|
|
86
|
+
name?: string;
|
|
87
|
+
size?: "sm" | "md" | "lg" | "xl" | "2xl";
|
|
88
|
+
color?: ThemeableColorValue | ColorValue | string;
|
|
89
|
+
align?: "left" | "center" | "right";
|
|
90
|
+
id?: string;
|
|
91
|
+
puck?: unknown;
|
|
92
|
+
editMode?: boolean;
|
|
93
|
+
};
|
|
94
|
+
declare const availableIcons: string[];
|
|
95
|
+
|
|
96
|
+
type PuckProps = {
|
|
97
|
+
puck?: PuckContext;
|
|
98
|
+
editMode?: boolean;
|
|
99
|
+
id?: string;
|
|
100
|
+
};
|
|
101
|
+
|
|
102
|
+
type SectionProps = {
|
|
103
|
+
children?: ReactNode;
|
|
104
|
+
verticalPadding?: number;
|
|
105
|
+
horizontalPadding?: number;
|
|
106
|
+
gap?: number;
|
|
107
|
+
backgroundColor?: ThemeableColorValue | ColorValue | string;
|
|
108
|
+
backgroundImage?: string;
|
|
109
|
+
shadow?: string;
|
|
110
|
+
borderRadius?: number;
|
|
111
|
+
contentMaxWidth?: string;
|
|
112
|
+
anchorLink?: string;
|
|
113
|
+
visibility?: ResponsiveVisibility;
|
|
114
|
+
} & PuckProps;
|
|
115
|
+
|
|
116
|
+
type ContainerProps = {
|
|
117
|
+
maxWidth?: "sm" | "md" | "lg" | "xl" | "2xl" | "full";
|
|
118
|
+
padding?: "none" | "sm" | "md" | "lg" | "xl";
|
|
119
|
+
paddingX?: "none" | "sm" | "md" | "lg" | "xl";
|
|
120
|
+
paddingY?: "none" | "sm" | "md" | "lg" | "xl";
|
|
121
|
+
backgroundColor?: ThemeableColorValue | ColorValue | string;
|
|
122
|
+
centered?: boolean;
|
|
123
|
+
} & PuckProps;
|
|
124
|
+
|
|
125
|
+
type ColumnsProps = {
|
|
126
|
+
columns?: 2 | 3 | 4;
|
|
127
|
+
gap?: "none" | "sm" | "md" | "lg" | "xl";
|
|
128
|
+
verticalAlign?: "top" | "center" | "bottom" | "stretch";
|
|
129
|
+
stackOnMobile?: boolean;
|
|
130
|
+
} & PuckProps;
|
|
131
|
+
|
|
132
|
+
type CardProps = {
|
|
133
|
+
backgroundColor?: ThemeableColorValue | ColorValue | string;
|
|
134
|
+
borderColor?: ThemeableColorValue | ColorValue | string;
|
|
135
|
+
borderWidth?: "none" | "thin" | "medium" | "thick";
|
|
136
|
+
borderRadius?: "none" | "sm" | "md" | "lg" | "xl";
|
|
137
|
+
shadow?: "none" | "sm" | "md" | "lg" | "xl";
|
|
138
|
+
padding?: "none" | "sm" | "md" | "lg" | "xl";
|
|
139
|
+
} & PuckProps;
|
|
140
|
+
|
|
141
|
+
type DividerProps = {
|
|
142
|
+
style?: "solid" | "dashed" | "dotted";
|
|
143
|
+
thickness?: "thin" | "medium" | "thick";
|
|
144
|
+
color?: ThemeableColorValue | ColorValue | string;
|
|
145
|
+
width?: "full" | "3/4" | "1/2" | "1/4";
|
|
146
|
+
align?: "left" | "center" | "right";
|
|
147
|
+
spacing?: "sm" | "md" | "lg" | "xl";
|
|
148
|
+
id?: string;
|
|
149
|
+
puck?: unknown;
|
|
150
|
+
editMode?: boolean;
|
|
151
|
+
};
|
|
152
|
+
|
|
153
|
+
type SpacerProps = {
|
|
154
|
+
size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl";
|
|
155
|
+
id?: string;
|
|
156
|
+
puck?: unknown;
|
|
157
|
+
editMode?: boolean;
|
|
158
|
+
};
|
|
159
|
+
|
|
160
|
+
type TextBlockProps = {
|
|
161
|
+
title?: EntryBoundValue<string> | string;
|
|
162
|
+
subtitle?: EntryBoundValue<string> | string;
|
|
163
|
+
body?: EntryBoundValue<string> | string;
|
|
164
|
+
alignment?: "left" | "center" | "right";
|
|
165
|
+
textSize?: "small" | "medium-small" | "medium" | "large" | "xlarge";
|
|
166
|
+
textColor?: ThemeableColorValue | ColorValue | string;
|
|
167
|
+
subtitleBodyColor?: ThemeableColorValue | ColorValue | string;
|
|
168
|
+
useGradientText?: boolean;
|
|
169
|
+
gradientColor1?: ThemeableColorValue | ColorValue | string;
|
|
170
|
+
gradientColor2?: ThemeableColorValue | ColorValue | string;
|
|
171
|
+
anchorLink?: string;
|
|
172
|
+
puck?: unknown;
|
|
173
|
+
editMode?: boolean;
|
|
174
|
+
id?: string;
|
|
175
|
+
};
|
|
176
|
+
declare function TextBlock({ title, subtitle, body, alignment, textSize, textColor, subtitleBodyColor, useGradientText, gradientColor1, gradientColor2, anchorLink, }: TextBlockProps): react_jsx_runtime.JSX.Element;
|
|
177
|
+
|
|
178
|
+
type CustomImageProps = {
|
|
179
|
+
image?: string;
|
|
180
|
+
alt?: string;
|
|
181
|
+
maxWidth?: number;
|
|
182
|
+
alignment?: "left" | "center" | "right";
|
|
183
|
+
fitContent?: boolean;
|
|
184
|
+
} & PuckProps;
|
|
185
|
+
declare function CustomImage({ image, alt, maxWidth, alignment, fitContent, }: CustomImageProps): react_jsx_runtime.JSX.Element;
|
|
186
|
+
|
|
187
|
+
type Feature$1 = {
|
|
188
|
+
icon?: string;
|
|
189
|
+
image?: string;
|
|
190
|
+
title?: string;
|
|
191
|
+
description?: string;
|
|
192
|
+
};
|
|
193
|
+
type FeaturesListProps = {
|
|
194
|
+
features?: Feature$1[];
|
|
195
|
+
align?: "left" | "center" | "right";
|
|
196
|
+
size?: "small" | "medium" | "large";
|
|
197
|
+
iconColor?: string;
|
|
198
|
+
anchorLink?: string;
|
|
199
|
+
} & Record<string, unknown>;
|
|
200
|
+
declare function FeaturesList({ features, align, size, iconColor, anchorLink, }: FeaturesListProps): react_jsx_runtime.JSX.Element;
|
|
201
|
+
|
|
202
|
+
type Feature = {
|
|
203
|
+
icon?: string;
|
|
204
|
+
image?: string;
|
|
205
|
+
title?: string;
|
|
206
|
+
description?: string;
|
|
207
|
+
};
|
|
208
|
+
type FeatureGridProps = {
|
|
209
|
+
heading?: string;
|
|
210
|
+
description?: string;
|
|
211
|
+
features?: Feature[];
|
|
212
|
+
columns?: 2 | 3 | 4;
|
|
213
|
+
align?: "left" | "center" | "right";
|
|
214
|
+
size?: "small" | "medium" | "large";
|
|
215
|
+
iconColor?: string;
|
|
216
|
+
textColor?: string;
|
|
217
|
+
anchorLink?: string;
|
|
218
|
+
} & Record<string, unknown>;
|
|
219
|
+
declare function FeatureGrid({ heading, description, features, columns, align, size, iconColor, textColor, anchorLink, }: FeatureGridProps): react_jsx_runtime.JSX.Element;
|
|
220
|
+
|
|
221
|
+
type FooterProps = {
|
|
222
|
+
logo?: string;
|
|
223
|
+
copyright?: string;
|
|
224
|
+
backgroundColor?: string;
|
|
225
|
+
textColor?: string;
|
|
226
|
+
facebookUrl?: string;
|
|
227
|
+
instagramUrl?: string;
|
|
228
|
+
twitterUrl?: string;
|
|
229
|
+
tiktokUrl?: string;
|
|
230
|
+
} & Record<string, unknown> & PuckProps;
|
|
231
|
+
declare function Footer({ logo, copyright, backgroundColor, textColor, facebookUrl, instagramUrl, twitterUrl, puck, }: FooterProps): react_jsx_runtime.JSX.Element;
|
|
232
|
+
|
|
233
|
+
type NavItem = {
|
|
234
|
+
name: string;
|
|
235
|
+
url: string;
|
|
236
|
+
linkType?: "internal" | "external" | "scrollTo";
|
|
237
|
+
};
|
|
238
|
+
type TopbarProps = {
|
|
239
|
+
logo?: string;
|
|
240
|
+
logoUrl?: string;
|
|
241
|
+
navItems?: NavItem[];
|
|
242
|
+
backgroundColor?: string;
|
|
243
|
+
textColor?: string;
|
|
244
|
+
maxWidth?: string;
|
|
245
|
+
} & Record<string, unknown> & PuckProps;
|
|
246
|
+
declare function Topbar({ logo, logoUrl, navItems, backgroundColor, textColor, maxWidth, puck, }: TopbarProps): react_jsx_runtime.JSX.Element;
|
|
247
|
+
|
|
248
|
+
type PopupProps = {
|
|
249
|
+
ctaText?: string;
|
|
250
|
+
buttonColor?: string;
|
|
251
|
+
textColor?: string;
|
|
252
|
+
icon?: string;
|
|
253
|
+
iconPosition?: "left" | "right";
|
|
254
|
+
size?: "small" | "medium" | "large";
|
|
255
|
+
width?: "small" | "medium" | "large";
|
|
256
|
+
textLink?: boolean;
|
|
257
|
+
} & Record<string, unknown> & PuckProps;
|
|
258
|
+
declare function Popup({ ctaText, buttonColor, textColor, icon, iconPosition, size, width, textLink, puck, }: PopupProps): react_jsx_runtime.JSX.Element;
|
|
259
|
+
|
|
260
|
+
export { type ParagraphAlign as A, type ButtonProps as B, type CardProps as C, type DividerProps as D, type ParagraphLineHeight as E, FeatureGrid as F, type HeadingLevel as H, type IconProps as I, Popup as P, type SectionProps as S, TextBlock as T, VideoEmbed as V, type CarouselImage as a, type ColumnsProps as b, type ContainerProps as c, CustomImage as d, type CustomImageProps as e, type FeatureGridProps as f, FeaturesList as g, type FeaturesListProps as h, Footer as i, type FooterProps as j, type ImageCarouselProps as k, type ImageProps as l, type PopupProps as m, type SpacerProps as n, type TextBlockProps as o, Topbar as p, type TopbarProps as q, type VideoEmbedProps as r, availableIcons as s, type HeadingSize as t, type HeadingWeight as u, type HeadingAlign as v, type HeadingLetterSpacing as w, type HeadingLineHeight as x, type ParagraphSize as y, type ParagraphWeight as z };
|
|
@@ -0,0 +1,260 @@
|
|
|
1
|
+
import { n as EntryBoundValue, j as ThemeableColorValue, m as ColorValue } from './types-HQ6hIbYr.js';
|
|
2
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
3
|
+
import { ReactNode } from 'react';
|
|
4
|
+
import { R as ResponsiveVisibility } from './ResponsiveToggleField-QCve94L_.js';
|
|
5
|
+
import { PuckContext } from '@measured/puck';
|
|
6
|
+
|
|
7
|
+
type HeadingLevel = "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
|
|
8
|
+
type HeadingSize = "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl" | "4xl";
|
|
9
|
+
type HeadingWeight = "normal" | "medium" | "semibold" | "bold" | "extrabold";
|
|
10
|
+
type HeadingAlign = "left" | "center" | "right";
|
|
11
|
+
type HeadingLetterSpacing = "tight" | "normal" | "wide";
|
|
12
|
+
type HeadingLineHeight = "tight" | "normal" | "relaxed";
|
|
13
|
+
|
|
14
|
+
type ParagraphSize = "sm" | "base" | "lg" | "xl";
|
|
15
|
+
type ParagraphWeight = "normal" | "medium" | "semibold";
|
|
16
|
+
type ParagraphAlign = "left" | "center" | "right" | "justify";
|
|
17
|
+
type ParagraphLineHeight = "tight" | "normal" | "relaxed" | "loose";
|
|
18
|
+
|
|
19
|
+
type ButtonProps = {
|
|
20
|
+
text?: EntryBoundValue<string> | string;
|
|
21
|
+
href?: string;
|
|
22
|
+
target?: "_self" | "_blank";
|
|
23
|
+
variant?: "solid" | "outline" | "ghost" | "link";
|
|
24
|
+
size?: "sm" | "md" | "lg" | "xl";
|
|
25
|
+
color?: ThemeableColorValue | ColorValue | string;
|
|
26
|
+
textColor?: ThemeableColorValue | ColorValue | string;
|
|
27
|
+
borderRadius?: "none" | "sm" | "md" | "lg" | "full";
|
|
28
|
+
fullWidth?: boolean;
|
|
29
|
+
align?: "left" | "center" | "right";
|
|
30
|
+
id?: string;
|
|
31
|
+
puck?: unknown;
|
|
32
|
+
editMode?: boolean;
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
type ImageProps = {
|
|
36
|
+
src?: EntryBoundValue<string> | string;
|
|
37
|
+
alt?: string;
|
|
38
|
+
width?: "auto" | "full" | "sm" | "md" | "lg" | "xl";
|
|
39
|
+
aspectRatio?: "auto" | "1:1" | "4:3" | "16:9" | "21:9";
|
|
40
|
+
objectFit?: "contain" | "cover" | "fill" | "none";
|
|
41
|
+
borderRadius?: "none" | "sm" | "md" | "lg" | "xl" | "full";
|
|
42
|
+
shadow?: "none" | "sm" | "md" | "lg" | "xl";
|
|
43
|
+
align?: "left" | "center" | "right";
|
|
44
|
+
caption?: EntryBoundValue<string> | string;
|
|
45
|
+
captionColor?: ThemeableColorValue | ColorValue | string;
|
|
46
|
+
id?: string;
|
|
47
|
+
puck?: unknown;
|
|
48
|
+
editMode?: boolean;
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
type CarouselImage = {
|
|
52
|
+
src: string;
|
|
53
|
+
alt?: string;
|
|
54
|
+
};
|
|
55
|
+
type ImageCarouselProps = {
|
|
56
|
+
images?: CarouselImage[];
|
|
57
|
+
aspectRatio?: "16:9" | "4:3" | "1:1" | "21:9";
|
|
58
|
+
borderRadius?: "none" | "sm" | "md" | "lg";
|
|
59
|
+
showDots?: boolean;
|
|
60
|
+
showArrows?: boolean;
|
|
61
|
+
arrowColor?: ThemeableColorValue | ColorValue | string;
|
|
62
|
+
dotColor?: ThemeableColorValue | ColorValue | string;
|
|
63
|
+
autoPlay?: boolean;
|
|
64
|
+
autoPlayInterval?: number;
|
|
65
|
+
id?: string;
|
|
66
|
+
puck?: unknown;
|
|
67
|
+
editMode?: boolean;
|
|
68
|
+
};
|
|
69
|
+
|
|
70
|
+
type VideoEmbedProps = {
|
|
71
|
+
url?: EntryBoundValue<string> | string;
|
|
72
|
+
aspectRatio?: "16:9" | "4:3" | "1:1" | "21:9";
|
|
73
|
+
borderRadius?: "none" | "sm" | "md" | "lg";
|
|
74
|
+
autoplay?: boolean;
|
|
75
|
+
muted?: boolean;
|
|
76
|
+
loop?: boolean;
|
|
77
|
+
align?: "left" | "center" | "right";
|
|
78
|
+
maxWidth?: "sm" | "md" | "lg" | "xl" | "full";
|
|
79
|
+
id?: string;
|
|
80
|
+
puck?: unknown;
|
|
81
|
+
editMode?: boolean;
|
|
82
|
+
};
|
|
83
|
+
declare function VideoEmbed({ url, aspectRatio, borderRadius, autoplay, muted, loop, align, maxWidth, id, }: VideoEmbedProps): react_jsx_runtime.JSX.Element;
|
|
84
|
+
|
|
85
|
+
type IconProps = {
|
|
86
|
+
name?: string;
|
|
87
|
+
size?: "sm" | "md" | "lg" | "xl" | "2xl";
|
|
88
|
+
color?: ThemeableColorValue | ColorValue | string;
|
|
89
|
+
align?: "left" | "center" | "right";
|
|
90
|
+
id?: string;
|
|
91
|
+
puck?: unknown;
|
|
92
|
+
editMode?: boolean;
|
|
93
|
+
};
|
|
94
|
+
declare const availableIcons: string[];
|
|
95
|
+
|
|
96
|
+
type PuckProps = {
|
|
97
|
+
puck?: PuckContext;
|
|
98
|
+
editMode?: boolean;
|
|
99
|
+
id?: string;
|
|
100
|
+
};
|
|
101
|
+
|
|
102
|
+
type SectionProps = {
|
|
103
|
+
children?: ReactNode;
|
|
104
|
+
verticalPadding?: number;
|
|
105
|
+
horizontalPadding?: number;
|
|
106
|
+
gap?: number;
|
|
107
|
+
backgroundColor?: ThemeableColorValue | ColorValue | string;
|
|
108
|
+
backgroundImage?: string;
|
|
109
|
+
shadow?: string;
|
|
110
|
+
borderRadius?: number;
|
|
111
|
+
contentMaxWidth?: string;
|
|
112
|
+
anchorLink?: string;
|
|
113
|
+
visibility?: ResponsiveVisibility;
|
|
114
|
+
} & PuckProps;
|
|
115
|
+
|
|
116
|
+
type ContainerProps = {
|
|
117
|
+
maxWidth?: "sm" | "md" | "lg" | "xl" | "2xl" | "full";
|
|
118
|
+
padding?: "none" | "sm" | "md" | "lg" | "xl";
|
|
119
|
+
paddingX?: "none" | "sm" | "md" | "lg" | "xl";
|
|
120
|
+
paddingY?: "none" | "sm" | "md" | "lg" | "xl";
|
|
121
|
+
backgroundColor?: ThemeableColorValue | ColorValue | string;
|
|
122
|
+
centered?: boolean;
|
|
123
|
+
} & PuckProps;
|
|
124
|
+
|
|
125
|
+
type ColumnsProps = {
|
|
126
|
+
columns?: 2 | 3 | 4;
|
|
127
|
+
gap?: "none" | "sm" | "md" | "lg" | "xl";
|
|
128
|
+
verticalAlign?: "top" | "center" | "bottom" | "stretch";
|
|
129
|
+
stackOnMobile?: boolean;
|
|
130
|
+
} & PuckProps;
|
|
131
|
+
|
|
132
|
+
type CardProps = {
|
|
133
|
+
backgroundColor?: ThemeableColorValue | ColorValue | string;
|
|
134
|
+
borderColor?: ThemeableColorValue | ColorValue | string;
|
|
135
|
+
borderWidth?: "none" | "thin" | "medium" | "thick";
|
|
136
|
+
borderRadius?: "none" | "sm" | "md" | "lg" | "xl";
|
|
137
|
+
shadow?: "none" | "sm" | "md" | "lg" | "xl";
|
|
138
|
+
padding?: "none" | "sm" | "md" | "lg" | "xl";
|
|
139
|
+
} & PuckProps;
|
|
140
|
+
|
|
141
|
+
type DividerProps = {
|
|
142
|
+
style?: "solid" | "dashed" | "dotted";
|
|
143
|
+
thickness?: "thin" | "medium" | "thick";
|
|
144
|
+
color?: ThemeableColorValue | ColorValue | string;
|
|
145
|
+
width?: "full" | "3/4" | "1/2" | "1/4";
|
|
146
|
+
align?: "left" | "center" | "right";
|
|
147
|
+
spacing?: "sm" | "md" | "lg" | "xl";
|
|
148
|
+
id?: string;
|
|
149
|
+
puck?: unknown;
|
|
150
|
+
editMode?: boolean;
|
|
151
|
+
};
|
|
152
|
+
|
|
153
|
+
type SpacerProps = {
|
|
154
|
+
size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl";
|
|
155
|
+
id?: string;
|
|
156
|
+
puck?: unknown;
|
|
157
|
+
editMode?: boolean;
|
|
158
|
+
};
|
|
159
|
+
|
|
160
|
+
type TextBlockProps = {
|
|
161
|
+
title?: EntryBoundValue<string> | string;
|
|
162
|
+
subtitle?: EntryBoundValue<string> | string;
|
|
163
|
+
body?: EntryBoundValue<string> | string;
|
|
164
|
+
alignment?: "left" | "center" | "right";
|
|
165
|
+
textSize?: "small" | "medium-small" | "medium" | "large" | "xlarge";
|
|
166
|
+
textColor?: ThemeableColorValue | ColorValue | string;
|
|
167
|
+
subtitleBodyColor?: ThemeableColorValue | ColorValue | string;
|
|
168
|
+
useGradientText?: boolean;
|
|
169
|
+
gradientColor1?: ThemeableColorValue | ColorValue | string;
|
|
170
|
+
gradientColor2?: ThemeableColorValue | ColorValue | string;
|
|
171
|
+
anchorLink?: string;
|
|
172
|
+
puck?: unknown;
|
|
173
|
+
editMode?: boolean;
|
|
174
|
+
id?: string;
|
|
175
|
+
};
|
|
176
|
+
declare function TextBlock({ title, subtitle, body, alignment, textSize, textColor, subtitleBodyColor, useGradientText, gradientColor1, gradientColor2, anchorLink, }: TextBlockProps): react_jsx_runtime.JSX.Element;
|
|
177
|
+
|
|
178
|
+
type CustomImageProps = {
|
|
179
|
+
image?: string;
|
|
180
|
+
alt?: string;
|
|
181
|
+
maxWidth?: number;
|
|
182
|
+
alignment?: "left" | "center" | "right";
|
|
183
|
+
fitContent?: boolean;
|
|
184
|
+
} & PuckProps;
|
|
185
|
+
declare function CustomImage({ image, alt, maxWidth, alignment, fitContent, }: CustomImageProps): react_jsx_runtime.JSX.Element;
|
|
186
|
+
|
|
187
|
+
type Feature$1 = {
|
|
188
|
+
icon?: string;
|
|
189
|
+
image?: string;
|
|
190
|
+
title?: string;
|
|
191
|
+
description?: string;
|
|
192
|
+
};
|
|
193
|
+
type FeaturesListProps = {
|
|
194
|
+
features?: Feature$1[];
|
|
195
|
+
align?: "left" | "center" | "right";
|
|
196
|
+
size?: "small" | "medium" | "large";
|
|
197
|
+
iconColor?: string;
|
|
198
|
+
anchorLink?: string;
|
|
199
|
+
} & Record<string, unknown>;
|
|
200
|
+
declare function FeaturesList({ features, align, size, iconColor, anchorLink, }: FeaturesListProps): react_jsx_runtime.JSX.Element;
|
|
201
|
+
|
|
202
|
+
type Feature = {
|
|
203
|
+
icon?: string;
|
|
204
|
+
image?: string;
|
|
205
|
+
title?: string;
|
|
206
|
+
description?: string;
|
|
207
|
+
};
|
|
208
|
+
type FeatureGridProps = {
|
|
209
|
+
heading?: string;
|
|
210
|
+
description?: string;
|
|
211
|
+
features?: Feature[];
|
|
212
|
+
columns?: 2 | 3 | 4;
|
|
213
|
+
align?: "left" | "center" | "right";
|
|
214
|
+
size?: "small" | "medium" | "large";
|
|
215
|
+
iconColor?: string;
|
|
216
|
+
textColor?: string;
|
|
217
|
+
anchorLink?: string;
|
|
218
|
+
} & Record<string, unknown>;
|
|
219
|
+
declare function FeatureGrid({ heading, description, features, columns, align, size, iconColor, textColor, anchorLink, }: FeatureGridProps): react_jsx_runtime.JSX.Element;
|
|
220
|
+
|
|
221
|
+
type FooterProps = {
|
|
222
|
+
logo?: string;
|
|
223
|
+
copyright?: string;
|
|
224
|
+
backgroundColor?: string;
|
|
225
|
+
textColor?: string;
|
|
226
|
+
facebookUrl?: string;
|
|
227
|
+
instagramUrl?: string;
|
|
228
|
+
twitterUrl?: string;
|
|
229
|
+
tiktokUrl?: string;
|
|
230
|
+
} & Record<string, unknown> & PuckProps;
|
|
231
|
+
declare function Footer({ logo, copyright, backgroundColor, textColor, facebookUrl, instagramUrl, twitterUrl, puck, }: FooterProps): react_jsx_runtime.JSX.Element;
|
|
232
|
+
|
|
233
|
+
type NavItem = {
|
|
234
|
+
name: string;
|
|
235
|
+
url: string;
|
|
236
|
+
linkType?: "internal" | "external" | "scrollTo";
|
|
237
|
+
};
|
|
238
|
+
type TopbarProps = {
|
|
239
|
+
logo?: string;
|
|
240
|
+
logoUrl?: string;
|
|
241
|
+
navItems?: NavItem[];
|
|
242
|
+
backgroundColor?: string;
|
|
243
|
+
textColor?: string;
|
|
244
|
+
maxWidth?: string;
|
|
245
|
+
} & Record<string, unknown> & PuckProps;
|
|
246
|
+
declare function Topbar({ logo, logoUrl, navItems, backgroundColor, textColor, maxWidth, puck, }: TopbarProps): react_jsx_runtime.JSX.Element;
|
|
247
|
+
|
|
248
|
+
type PopupProps = {
|
|
249
|
+
ctaText?: string;
|
|
250
|
+
buttonColor?: string;
|
|
251
|
+
textColor?: string;
|
|
252
|
+
icon?: string;
|
|
253
|
+
iconPosition?: "left" | "right";
|
|
254
|
+
size?: "small" | "medium" | "large";
|
|
255
|
+
width?: "small" | "medium" | "large";
|
|
256
|
+
textLink?: boolean;
|
|
257
|
+
} & Record<string, unknown> & PuckProps;
|
|
258
|
+
declare function Popup({ ctaText, buttonColor, textColor, icon, iconPosition, size, width, textLink, puck, }: PopupProps): react_jsx_runtime.JSX.Element;
|
|
259
|
+
|
|
260
|
+
export { type ParagraphAlign as A, type ButtonProps as B, type CardProps as C, type DividerProps as D, type ParagraphLineHeight as E, FeatureGrid as F, type HeadingLevel as H, type IconProps as I, Popup as P, type SectionProps as S, TextBlock as T, VideoEmbed as V, type CarouselImage as a, type ColumnsProps as b, type ContainerProps as c, CustomImage as d, type CustomImageProps as e, type FeatureGridProps as f, FeaturesList as g, type FeaturesListProps as h, Footer as i, type FooterProps as j, type ImageCarouselProps as k, type ImageProps as l, type PopupProps as m, type SpacerProps as n, type TextBlockProps as o, Topbar as p, type TopbarProps as q, type VideoEmbedProps as r, availableIcons as s, type HeadingSize as t, type HeadingWeight as u, type HeadingAlign as v, type HeadingLetterSpacing as w, type HeadingLineHeight as x, type ParagraphSize as y, type ParagraphWeight as z };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { C as CustomFieldProps } from './types-HQ6hIbYr.mjs';
|
|
3
|
+
|
|
4
|
+
type ResponsiveVisibility = {
|
|
5
|
+
mobile: boolean;
|
|
6
|
+
desktop: boolean;
|
|
7
|
+
};
|
|
8
|
+
declare function ResponsiveToggleField({ value, onChangeAction, disabled, label, }: CustomFieldProps<ResponsiveVisibility>): react_jsx_runtime.JSX.Element;
|
|
9
|
+
|
|
10
|
+
export { type ResponsiveVisibility as R, ResponsiveToggleField as a };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
import { C as CustomFieldProps } from './types-HQ6hIbYr.js';
|
|
3
|
+
|
|
4
|
+
type ResponsiveVisibility = {
|
|
5
|
+
mobile: boolean;
|
|
6
|
+
desktop: boolean;
|
|
7
|
+
};
|
|
8
|
+
declare function ResponsiveToggleField({ value, onChangeAction, disabled, label, }: CustomFieldProps<ResponsiveVisibility>): react_jsx_runtime.JSX.Element;
|
|
9
|
+
|
|
10
|
+
export { type ResponsiveVisibility as R, ResponsiveToggleField as a };
|