@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,51 @@
1
+ import {
2
+ Heading,
3
+ Paragraph
4
+ } from "../../../chunk-KER4VXRB.mjs";
5
+ import {
6
+ Button,
7
+ Card,
8
+ Columns,
9
+ Container,
10
+ CustomImage,
11
+ Divider,
12
+ FeatureGrid,
13
+ FeaturesList,
14
+ Footer,
15
+ Icon,
16
+ Image,
17
+ ImageCarousel,
18
+ Popup,
19
+ Section,
20
+ Spacer,
21
+ TextBlock,
22
+ Topbar,
23
+ VideoEmbed,
24
+ availableIcons
25
+ } from "../../../chunk-MWW5LYLN.mjs";
26
+ import "../../../chunk-PJXZC564.mjs";
27
+ import "../../../chunk-QSWQDR6M.mjs";
28
+ import "../../../chunk-C6V3YUPF.mjs";
29
+ export {
30
+ Button,
31
+ Card,
32
+ Columns,
33
+ Container,
34
+ CustomImage,
35
+ Divider,
36
+ FeatureGrid,
37
+ FeaturesList,
38
+ Footer,
39
+ Heading,
40
+ Icon,
41
+ Image,
42
+ ImageCarousel,
43
+ Paragraph,
44
+ Popup,
45
+ Section,
46
+ Spacer,
47
+ TextBlock,
48
+ Topbar,
49
+ VideoEmbed,
50
+ availableIcons
51
+ };
@@ -1,3 +1,7 @@
1
+ import {
2
+ Heading,
3
+ Paragraph
4
+ } from "../chunk-KER4VXRB.mjs";
1
5
  import {
2
6
  Button,
3
7
  Card,
@@ -16,68 +20,14 @@ import {
16
20
  Spacer,
17
21
  TextBlock,
18
22
  Topbar,
19
- VideoEmbed,
20
- getHeadingStyle,
21
- getParagraphStyle
23
+ VideoEmbed
22
24
  } from "../chunk-MWW5LYLN.mjs";
23
25
  import "../chunk-PJXZC564.mjs";
24
26
  import "../chunk-QSWQDR6M.mjs";
25
27
  import "../chunk-C6V3YUPF.mjs";
26
28
 
27
- // components/page/astro/Heading.tsx
28
- import { jsx } from "react/jsx-runtime";
29
- function Heading({
30
- text,
31
- level = "h2",
32
- size = "2xl",
33
- weight = "bold",
34
- color = "rgba(0, 0, 0, 1)",
35
- align = "left",
36
- letterSpacing = "normal",
37
- lineHeight = "tight",
38
- id
39
- }) {
40
- const resolvedText = text || "";
41
- const Tag = level;
42
- const style = getHeadingStyle({
43
- size,
44
- weight,
45
- color,
46
- align,
47
- letterSpacing,
48
- lineHeight
49
- });
50
- if (!resolvedText) return null;
51
- return /* @__PURE__ */ jsx(Tag, { id, style, children: resolvedText });
52
- }
53
-
54
- // components/page/astro/Paragraph.tsx
55
- import { jsx as jsx2 } from "react/jsx-runtime";
56
- function Paragraph({
57
- text,
58
- size = "base",
59
- weight = "normal",
60
- color = "rgba(0, 0, 0, 1)",
61
- align = "left",
62
- lineHeight = "normal",
63
- maxWidth,
64
- id
65
- }) {
66
- const resolvedText = text || "";
67
- const style = getParagraphStyle({
68
- size,
69
- weight,
70
- color,
71
- align,
72
- lineHeight,
73
- maxWidth
74
- });
75
- if (!resolvedText) return null;
76
- return /* @__PURE__ */ jsx2("p", { id, style, children: resolvedText });
77
- }
78
-
79
29
  // config/server.tsx
80
- import { jsx as jsx3 } from "react/jsx-runtime";
30
+ import { jsx } from "react/jsx-runtime";
81
31
  var config = {
82
32
  categories: {
83
33
  typography: {
@@ -119,64 +69,64 @@ var config = {
119
69
  },
120
70
  components: {
121
71
  Heading: {
122
- render: (props) => /* @__PURE__ */ jsx3(Heading, { ...props })
72
+ render: (props) => /* @__PURE__ */ jsx(Heading, { ...props })
123
73
  },
124
74
  Paragraph: {
125
- render: (props) => /* @__PURE__ */ jsx3(Paragraph, { ...props })
75
+ render: (props) => /* @__PURE__ */ jsx(Paragraph, { ...props })
126
76
  },
127
77
  Button: {
128
- render: (props) => /* @__PURE__ */ jsx3(Button, { ...props })
78
+ render: (props) => /* @__PURE__ */ jsx(Button, { ...props })
129
79
  },
130
80
  Image: {
131
- render: (props) => /* @__PURE__ */ jsx3(Image, { ...props })
81
+ render: (props) => /* @__PURE__ */ jsx(Image, { ...props })
132
82
  },
133
83
  ImageCarousel: {
134
- render: (props) => /* @__PURE__ */ jsx3(ImageCarousel, { ...props })
84
+ render: (props) => /* @__PURE__ */ jsx(ImageCarousel, { ...props })
135
85
  },
136
86
  VideoEmbed: {
137
- render: (props) => /* @__PURE__ */ jsx3(VideoEmbed, { ...props })
87
+ render: (props) => /* @__PURE__ */ jsx(VideoEmbed, { ...props })
138
88
  },
139
89
  Icon: {
140
- render: (props) => /* @__PURE__ */ jsx3(Icon, { ...props })
90
+ render: (props) => /* @__PURE__ */ jsx(Icon, { ...props })
141
91
  },
142
92
  Section: {
143
- render: (props) => /* @__PURE__ */ jsx3(Section, { ...props })
93
+ render: (props) => /* @__PURE__ */ jsx(Section, { ...props })
144
94
  },
145
95
  Container: {
146
- render: (props) => /* @__PURE__ */ jsx3(Container, { ...props })
96
+ render: (props) => /* @__PURE__ */ jsx(Container, { ...props })
147
97
  },
148
98
  Columns: {
149
- render: (props) => /* @__PURE__ */ jsx3(Columns, { ...props })
99
+ render: (props) => /* @__PURE__ */ jsx(Columns, { ...props })
150
100
  },
151
101
  Card: {
152
- render: (props) => /* @__PURE__ */ jsx3(Card, { ...props })
102
+ render: (props) => /* @__PURE__ */ jsx(Card, { ...props })
153
103
  },
154
104
  Divider: {
155
- render: (props) => /* @__PURE__ */ jsx3(Divider, { ...props })
105
+ render: (props) => /* @__PURE__ */ jsx(Divider, { ...props })
156
106
  },
157
107
  Spacer: {
158
- render: (props) => /* @__PURE__ */ jsx3(Spacer, { ...props })
108
+ render: (props) => /* @__PURE__ */ jsx(Spacer, { ...props })
159
109
  },
160
110
  TextBlock: {
161
- render: (props) => /* @__PURE__ */ jsx3(TextBlock, { ...props })
111
+ render: (props) => /* @__PURE__ */ jsx(TextBlock, { ...props })
162
112
  },
163
113
  CustomImage: {
164
- render: (props) => /* @__PURE__ */ jsx3(CustomImage, { ...props })
114
+ render: (props) => /* @__PURE__ */ jsx(CustomImage, { ...props })
165
115
  },
166
116
  FeaturesList: {
167
- render: (props) => /* @__PURE__ */ jsx3(FeaturesList, { ...props })
117
+ render: (props) => /* @__PURE__ */ jsx(FeaturesList, { ...props })
168
118
  },
169
119
  FeatureGrid: {
170
- render: (props) => /* @__PURE__ */ jsx3(FeatureGrid, { ...props })
120
+ render: (props) => /* @__PURE__ */ jsx(FeatureGrid, { ...props })
171
121
  },
172
122
  Footer: {
173
- render: (props) => /* @__PURE__ */ jsx3(Footer, { ...props })
123
+ render: (props) => /* @__PURE__ */ jsx(Footer, { ...props })
174
124
  },
175
125
  Topbar: {
176
- render: (props) => /* @__PURE__ */ jsx3(Topbar, { ...props })
126
+ render: (props) => /* @__PURE__ */ jsx(Topbar, { ...props })
177
127
  },
178
128
  Popup: {
179
- render: (props) => /* @__PURE__ */ jsx3(Popup, { ...props })
129
+ render: (props) => /* @__PURE__ */ jsx(Popup, { ...props })
180
130
  }
181
131
  }
182
132
  };
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import { ReactNode } from 'react';
3
- import { P as PageTheme, b as ThemeColorKey, C as ColorValue, g as ThemeSpacingKey, T as ThemeBorderKey, d as ThemeShadowKey, m as CustomFieldProps } from './types-D-CIduaE.js';
3
+ import { P as PageTheme, b as ThemeColorKey, m as ColorValue, g as ThemeSpacingKey, T as ThemeBorderKey, d as ThemeShadowKey } from './types-HQ6hIbYr.mjs';
4
4
 
5
5
  type ThemeContextValue = {
6
6
  theme: PageTheme;
@@ -17,10 +17,4 @@ declare function useTheme(): ThemeContextValue;
17
17
 
18
18
  declare const DEFAULT_THEME: PageTheme;
19
19
 
20
- type ResponsiveVisibility = {
21
- mobile: boolean;
22
- desktop: boolean;
23
- };
24
- declare function ResponsiveToggleField({ value, onChangeAction, disabled, label, }: CustomFieldProps<ResponsiveVisibility>): react_jsx_runtime.JSX.Element;
25
-
26
- export { DEFAULT_THEME as D, type ResponsiveVisibility as R, ThemeProvider as T, ResponsiveToggleField as a, useTheme as u };
20
+ export { DEFAULT_THEME as D, ThemeProvider as T, useTheme as u };
@@ -1,6 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import { ReactNode } from 'react';
3
- import { P as PageTheme, b as ThemeColorKey, C as ColorValue, g as ThemeSpacingKey, T as ThemeBorderKey, d as ThemeShadowKey, m as CustomFieldProps } from './types-D-CIduaE.mjs';
3
+ import { P as PageTheme, b as ThemeColorKey, m as ColorValue, g as ThemeSpacingKey, T as ThemeBorderKey, d as ThemeShadowKey } from './types-HQ6hIbYr.js';
4
4
 
5
5
  type ThemeContextValue = {
6
6
  theme: PageTheme;
@@ -17,10 +17,4 @@ declare function useTheme(): ThemeContextValue;
17
17
 
18
18
  declare const DEFAULT_THEME: PageTheme;
19
19
 
20
- type ResponsiveVisibility = {
21
- mobile: boolean;
22
- desktop: boolean;
23
- };
24
- declare function ResponsiveToggleField({ value, onChangeAction, disabled, label, }: CustomFieldProps<ResponsiveVisibility>): react_jsx_runtime.JSX.Element;
25
-
26
- export { DEFAULT_THEME as D, type ResponsiveVisibility as R, ThemeProvider as T, ResponsiveToggleField as a, useTheme as u };
20
+ export { DEFAULT_THEME as D, ThemeProvider as T, useTheme as u };
package/dist/editor.d.mts CHANGED
@@ -1,9 +1,10 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { R as ResponsiveVisibility } from './ResponsiveToggleField-BihXsGIJ.mjs';
3
- export { D as DEFAULT_THEME, a as ResponsiveToggleField, T as ThemeProvider, u as useTheme } from './ResponsiveToggleField-BihXsGIJ.mjs';
4
- import { E as Entry, n as EntryBoundValue, j as ThemeableColorValue, C as ColorValue, b as ThemeColorKey, m as CustomFieldProps } from './types-D-CIduaE.mjs';
5
- export { o as EntryContent, P as PageTheme, T as ThemeBorderKey, a as ThemeBorders, 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';
2
+ export { D as DEFAULT_THEME, T as ThemeProvider, u as useTheme } from './defaults-j55hBQHu.mjs';
3
+ import { E as Entry, n as EntryBoundValue, j as ThemeableColorValue, m as ColorValue, b as ThemeColorKey, C as CustomFieldProps } from './types-HQ6hIbYr.mjs';
4
+ export { o as EntryContent, P as PageTheme, T as ThemeBorderKey, a as ThemeBorders, 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';
6
5
  export { B as BorderRadiusPreset, C as ColorPreset, F as FontFamilyPreset, a as FontSizePreset, b as FontWeightPreset, S as ShadowPreset, c as SpacingPreset, d as allColorPresets, e as borderRadiusScale, f as fontFamilies, g as fontSizes, h as fontWeights, i as getBorderRadiusCSS, j as getClosestBorderRadiusValue, k as getClosestSpacingValue, l as getFontSizeCSS, m as getShadowCSS, n as neutralColors, s as shadowPresets, o as spacingScale } from './typography-DwjKOx3F.mjs';
6
+ import { R as ResponsiveVisibility } from './ResponsiveToggleField-65CqZEK-.mjs';
7
+ export { a as ResponsiveToggleField } from './ResponsiveToggleField-65CqZEK-.mjs';
7
8
  import { ReactNode } from 'react';
8
9
  import { Data } from '@measured/puck';
9
10
 
package/dist/editor.d.ts CHANGED
@@ -1,9 +1,10 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { R as ResponsiveVisibility } from './ResponsiveToggleField-CfBKL5oY.js';
3
- export { D as DEFAULT_THEME, a as ResponsiveToggleField, T as ThemeProvider, u as useTheme } from './ResponsiveToggleField-CfBKL5oY.js';
4
- import { E as Entry, n as EntryBoundValue, j as ThemeableColorValue, C as ColorValue, b as ThemeColorKey, m as CustomFieldProps } from './types-D-CIduaE.js';
5
- export { o as EntryContent, P as PageTheme, T as ThemeBorderKey, a as ThemeBorders, 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';
2
+ export { D as DEFAULT_THEME, T as ThemeProvider, u as useTheme } from './defaults-z8Ft2j5r.js';
3
+ import { E as Entry, n as EntryBoundValue, j as ThemeableColorValue, m as ColorValue, b as ThemeColorKey, C as CustomFieldProps } from './types-HQ6hIbYr.js';
4
+ export { o as EntryContent, P as PageTheme, T as ThemeBorderKey, a as ThemeBorders, 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';
6
5
  export { B as BorderRadiusPreset, C as ColorPreset, F as FontFamilyPreset, a as FontSizePreset, b as FontWeightPreset, S as ShadowPreset, c as SpacingPreset, d as allColorPresets, e as borderRadiusScale, f as fontFamilies, g as fontSizes, h as fontWeights, i as getBorderRadiusCSS, j as getClosestBorderRadiusValue, k as getClosestSpacingValue, l as getFontSizeCSS, m as getShadowCSS, n as neutralColors, s as shadowPresets, o as spacingScale } from './typography-DwjKOx3F.js';
6
+ import { R as ResponsiveVisibility } from './ResponsiveToggleField-QCve94L_.js';
7
+ export { a as ResponsiveToggleField } from './ResponsiveToggleField-QCve94L_.js';
7
8
  import { ReactNode } from 'react';
8
9
  import { Data } from '@measured/puck';
9
10
 
package/dist/index.d.mts CHANGED
@@ -1,7 +1,9 @@
1
- export { Button, ButtonProps, Card, CardProps, CarouselImage, Columns, ColumnsProps, Container, ContainerProps, CustomImage, CustomImageProps, Divider, DividerProps, FeatureGrid, FeatureGridProps, FeaturesList, FeaturesListProps, Footer, FooterProps, Heading, HeadingProps, Icon, IconProps, Image, ImageCarousel, ImageCarouselProps, ImageProps, Paragraph, ParagraphProps, Popup, PopupProps, Section, SectionProps, Spacer, SpacerProps, TextBlock, TextBlockProps, Topbar, TopbarProps, VideoEmbed, VideoEmbedProps, availableIcons } from './renderer.mjs';
2
- export { D as DEFAULT_THEME, T as ThemeProvider, u as useTheme } from './ResponsiveToggleField-BihXsGIJ.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, j as ThemeableColorValue, k as ThemeableShadowValue, l as ThemeableSpacingValue } from './types-D-CIduaE.mjs';
1
+ export { Heading, HeadingProps, Paragraph, ParagraphProps } from './renderer.mjs';
2
+ 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';
3
+ export { D as DEFAULT_THEME, T as ThemeProvider, u as useTheme } from './defaults-j55hBQHu.mjs';
4
+ 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, j as ThemeableColorValue, k as ThemeableShadowValue, l as ThemeableSpacingValue } from './types-HQ6hIbYr.mjs';
4
5
  export { B as BorderRadiusPreset, C as ColorPreset, F as FontFamilyPreset, a as FontSizePreset, b as FontWeightPreset, S as ShadowPreset, c as SpacingPreset, d as allColorPresets, e as borderRadiusScale, f as fontFamilies, g as fontSizes, h as fontWeights, i as getBorderRadiusCSS, j as getClosestBorderRadiusValue, k as getClosestSpacingValue, l as getFontSizeCSS, m as getShadowCSS, n as neutralColors, s as shadowPresets, o as spacingScale } from './typography-DwjKOx3F.mjs';
5
6
  import 'react/jsx-runtime';
6
7
  import 'react';
8
+ import './ResponsiveToggleField-65CqZEK-.mjs';
7
9
  import '@measured/puck';
package/dist/index.d.ts CHANGED
@@ -1,7 +1,9 @@
1
- export { Button, ButtonProps, Card, CardProps, CarouselImage, Columns, ColumnsProps, Container, ContainerProps, CustomImage, CustomImageProps, Divider, DividerProps, FeatureGrid, FeatureGridProps, FeaturesList, FeaturesListProps, Footer, FooterProps, Heading, HeadingProps, Icon, IconProps, Image, ImageCarousel, ImageCarouselProps, ImageProps, Paragraph, ParagraphProps, Popup, PopupProps, Section, SectionProps, Spacer, SpacerProps, TextBlock, TextBlockProps, Topbar, TopbarProps, VideoEmbed, VideoEmbedProps, availableIcons } from './renderer.js';
2
- export { D as DEFAULT_THEME, T as ThemeProvider, u as useTheme } from './ResponsiveToggleField-CfBKL5oY.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, j as ThemeableColorValue, k as ThemeableShadowValue, l as ThemeableSpacingValue } from './types-D-CIduaE.js';
1
+ export { Heading, HeadingProps, Paragraph, ParagraphProps } from './renderer.js';
2
+ 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-BlNJZyB6.js';
3
+ export { D as DEFAULT_THEME, T as ThemeProvider, u as useTheme } from './defaults-z8Ft2j5r.js';
4
+ 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, j as ThemeableColorValue, k as ThemeableShadowValue, l as ThemeableSpacingValue } from './types-HQ6hIbYr.js';
4
5
  export { B as BorderRadiusPreset, C as ColorPreset, F as FontFamilyPreset, a as FontSizePreset, b as FontWeightPreset, S as ShadowPreset, c as SpacingPreset, d as allColorPresets, e as borderRadiusScale, f as fontFamilies, g as fontSizes, h as fontWeights, i as getBorderRadiusCSS, j as getClosestBorderRadiusValue, k as getClosestSpacingValue, l as getFontSizeCSS, m as getShadowCSS, n as neutralColors, s as shadowPresets, o as spacingScale } from './typography-DwjKOx3F.js';
5
6
  import 'react/jsx-runtime';
6
7
  import 'react';
8
+ import './ResponsiveToggleField-QCve94L_.js';
7
9
  import '@measured/puck';
@@ -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, 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';
5
+ 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';
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,4 @@ 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
- declare function Button({ text, href, target, variant, size, color, textColor, borderRadius, fullWidth, align, id, }: ButtonProps): react_jsx_runtime.JSX.Element;
66
-
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
- declare function Image({ src, alt, width, aspectRatio, objectFit, borderRadius, shadow, align, caption, captionColor, id, }: ImageProps): react_jsx_runtime.JSX.Element;
83
-
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
- declare function ImageCarousel({ images, aspectRatio, borderRadius, showDots, showArrows, arrowColor, dotColor, id, }: ImageCarouselProps): react_jsx_runtime.JSX.Element;
103
-
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
- declare function Icon({ name, size, color, align, id, }: IconProps): react_jsx_runtime.JSX.Element;
129
- declare const availableIcons: string[];
130
-
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
- declare function Section({ children: _children, verticalPadding, horizontalPadding, gap, backgroundColor, backgroundImage, shadow, borderRadius, contentMaxWidth, anchorLink, visibility, puck, }: SectionProps): react_jsx_runtime.JSX.Element;
151
-
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
- declare function Container({ maxWidth, padding, paddingX, paddingY, backgroundColor, centered, id, puck, }: ContainerProps): react_jsx_runtime.JSX.Element;
161
-
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
- declare function Columns({ columns, gap, verticalAlign, stackOnMobile, id, puck, }: ColumnsProps): react_jsx_runtime.JSX.Element;
169
-
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
- declare function Card({ backgroundColor, borderColor, borderWidth, borderRadius, shadow, padding, id, puck, }: CardProps): react_jsx_runtime.JSX.Element;
179
-
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
- declare function Divider({ style: lineStyle, thickness, color, width, align, spacing, id, }: DividerProps): react_jsx_runtime.JSX.Element;
192
-
193
- type SpacerProps = {
194
- size?: "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "3xl";
195
- id?: string;
196
- puck?: unknown;
197
- editMode?: boolean;
198
- };
199
- declare function Spacer({ size, id }: SpacerProps): react_jsx_runtime.JSX.Element;
200
-
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 };
40
+ export { Heading, type HeadingProps, Paragraph, type ParagraphProps, ThemeableColorValue };