@mission-studio/puck 1.0.21 → 1.0.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Popup-Dg78fu78.d.mts +260 -0
- package/dist/Popup-L7kcJo05.d.ts +260 -0
- package/dist/ResponsiveToggleField-65CqZEK-.d.mts +10 -0
- package/dist/ResponsiveToggleField-QCve94L_.d.ts +10 -0
- package/dist/chunk-MYS3PLMF.mjs +463 -0
- package/dist/chunk-TRPKXVMO.mjs +695 -0
- package/dist/{chunk-MWW5LYLN.mjs → chunk-YIPEC4L4.mjs} +709 -1075
- package/dist/components/page/astro/index.d.mts +54 -0
- package/dist/components/page/astro/index.d.ts +54 -0
- package/dist/components/page/astro/index.js +2056 -0
- package/dist/components/page/astro/index.mjs +51 -0
- package/dist/config/server.js +630 -700
- package/dist/config/server.mjs +33 -83
- package/dist/config-entry.js +592 -478
- package/dist/config-entry.mjs +11 -11
- package/dist/{ResponsiveToggleField-CfBKL5oY.d.ts → defaults-j55hBQHu.d.mts} +2 -8
- package/dist/{ResponsiveToggleField-BihXsGIJ.d.mts → defaults-z8Ft2j5r.d.ts} +2 -8
- package/dist/editor.d.mts +5 -4
- package/dist/editor.d.ts +5 -4
- package/dist/index.d.mts +5 -3
- package/dist/index.d.ts +5 -3
- package/dist/index.js +388 -274
- package/dist/index.mjs +11 -11
- package/dist/renderer.d.mts +9 -250
- package/dist/renderer.d.ts +9 -250
- package/dist/renderer.js +388 -274
- package/dist/renderer.mjs +11 -11
- package/dist/resolve/index.d.mts +1 -1
- package/dist/resolve/index.d.ts +1 -1
- package/dist/{types-D-CIduaE.d.mts → types-HQ6hIbYr.d.mts} +1 -1
- package/dist/{types-D-CIduaE.d.ts → types-HQ6hIbYr.d.ts} +1 -1
- package/package.json +6 -1
- package/dist/chunk-WFLVAZV2.mjs +0 -142
package/dist/config-entry.mjs
CHANGED
|
@@ -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
|
-
|
|
23
|
-
FeaturesList,
|
|
24
|
-
Footer,
|
|
17
|
+
Heading,
|
|
25
18
|
Icon,
|
|
26
19
|
Image,
|
|
27
20
|
ImageCarousel,
|
|
28
|
-
|
|
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-
|
|
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,
|
|
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
|
-
|
|
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,
|
|
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
|
-
|
|
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
|
-
|
|
3
|
-
|
|
4
|
-
|
|
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
|
-
|
|
3
|
-
|
|
4
|
-
|
|
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,
|
|
2
|
-
export { D as
|
|
3
|
-
export {
|
|
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,
|
|
2
|
-
export { D as
|
|
3
|
-
export {
|
|
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';
|