@mission-studio/puck 1.0.21 → 1.0.23

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