@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
@@ -8,31 +8,31 @@ import {
8
8
  createThemeableColorField
9
9
  } from "./chunk-VF4NOAJG.mjs";
10
10
  import "./chunk-A3QDUUOF.mjs";
11
- import {
12
- Heading,
13
- Paragraph
14
- } from "./chunk-WFLVAZV2.mjs";
15
11
  import {
16
12
  Button,
17
13
  Card,
18
14
  Columns,
19
15
  Container,
20
- CustomImage,
21
16
  Divider,
22
- FeatureGrid,
23
- FeaturesList,
24
- Footer,
17
+ Heading,
25
18
  Icon,
26
19
  Image,
27
20
  ImageCarousel,
28
- Popup,
21
+ Paragraph,
29
22
  Section,
30
- Spacer,
23
+ Spacer
24
+ } from "./chunk-TRPKXVMO.mjs";
25
+ import {
26
+ CustomImage,
27
+ FeatureGrid,
28
+ FeaturesList,
29
+ Footer,
30
+ Popup,
31
31
  TextBlock,
32
32
  Topbar,
33
33
  VideoEmbed,
34
34
  availableIcons
35
- } from "./chunk-MWW5LYLN.mjs";
35
+ } from "./chunk-YIPEC4L4.mjs";
36
36
  import "./chunk-PJXZC564.mjs";
37
37
  import "./chunk-QSWQDR6M.mjs";
38
38
  import "./chunk-C6V3YUPF.mjs";
@@ -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 { Button, Card, Columns, Container, Divider, Heading, HeadingProps, Icon, Image, ImageCarousel, Paragraph, ParagraphProps, Section, Spacer } from './renderer.mjs';
2
+ export { B as ButtonProps, C as CardProps, a as CarouselImage, b as ColumnsProps, c as ContainerProps, d as CustomImage, e as CustomImageProps, D as DividerProps, F as FeatureGrid, f as FeatureGridProps, g as FeaturesList, h as FeaturesListProps, i as Footer, j as FooterProps, I as IconProps, k as ImageCarouselProps, l as ImageProps, P as Popup, m as PopupProps, S as SectionProps, n as SpacerProps, 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';
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 { Button, Card, Columns, Container, Divider, Heading, HeadingProps, Icon, Image, ImageCarousel, Paragraph, ParagraphProps, Section, Spacer } from './renderer.js';
2
+ export { B as ButtonProps, C as CardProps, a as CarouselImage, b as ColumnsProps, c as ContainerProps, d as CustomImage, e as CustomImageProps, D as DividerProps, F as FeatureGrid, f as FeatureGridProps, g as FeaturesList, h as FeaturesListProps, i as Footer, j as FooterProps, I as IconProps, k as ImageCarouselProps, l as ImageProps, P as Popup, m as PopupProps, S as SectionProps, n as SpacerProps, 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';
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';