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