@measured/puck 0.21.0-canary.b818cb1f → 0.21.0-canary.c0db75c1

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/index.d.mts CHANGED
@@ -1,112 +1,10 @@
1
- import { H as History, P as Permissions, a as ComponentData, C as Config, U as UserGenerics, F as Fields, b as PuckAction, R as RootDataWithProps, c as ResolveDataTrigger, d as Plugin, O as Overrides, V as Viewports, I as IframeConfig, e as UiState, f as ComponentConfig, A as AppState, M as Metadata, g as FieldTransforms, h as Field, i as FieldProps, D as DropZoneProps, j as Data, k as OnAction, l as InitialHistory, n as ItemSelector } from './walk-tree-DkTSFbz_.mjs';
2
- export { a7 as Adaptor, a5 as ArrayField, B as ArrayState, al as AsFieldProps, N as BaseData, $ as BaseField, a9 as CacheOpts, Z as ComponentDataMap, X as ComponentDataOptionalId, _ as Content, ac as CustomField, ab as CustomFieldRender, ai as DefaultComponentProps, K as DefaultComponents, af as DefaultRootFieldProps, ah as DefaultRootProps, ag as DefaultRootRenderProps, o as Direction, p as DragAxis, aa as ExternalField, a8 as ExternalFieldWithAdaptor, L as ExtractConfigParams, an as ExtractField, y as FieldRenderFunctions, u as FieldTransformFn, s as FieldTransformFnParams, z as ItemWithId, Y as MappedItem, a1 as NumberField, a6 as ObjectField, x as OverrideKey, G as PuckComponent, ae as PuckContext, a4 as RadioField, J as RootConfig, T as RootData, Q as RootDataWithoutProps, a3 as SelectField, S as Slot, E as SlotComponent, ad as SlotField, a0 as TextField, a2 as TextareaField, q as Viewport, am as WithChildren, aj as WithId, ak as WithPuckProps, W as WithSlotProps, m as migrate, v as overrideKeys, r as resolveAllData, t as transformProps, w as walkTree } from './walk-tree-DkTSFbz_.mjs';
1
+ import { o as Field, p as FieldProps, q as DropZoneProps, C as Config, U as UserGenerics, D as Data, l as UiState, O as OnAction, g as Permissions, j as Plugin, k as Overrides, n as FieldTransforms, a as PuckAction, V as Viewports, I as IframeConfig, r as InitialHistory, M as Metadata, s as ItemSelector, c as ComponentData, t as PluginInternal } from './actions-CaYAKtsG.mjs';
2
+ export { ae as Adaptor, A as AppState, ac as ArrayField, K as ArrayState, ap as AsFieldProps, _ as BaseData, a6 as BaseField, ag as CacheOpts, m as ComponentConfig, Q as ComponentConfigExtensions, Z as ComponentConfigParams, a2 as ComponentDataMap, a0 as ComponentDataOptionalId, a4 as ComponentMetadata, Y as ConfigParams, b as Content, aj as CustomField, ai as CustomFieldRender, e as DefaultComponentProps, d as DefaultComponents, f as DefaultRootFieldProps, an as DefaultRootProps, am as DefaultRootRenderProps, v as Direction, w as DragAxis, ah as ExternalField, af as ExternalFieldWithAdaptor, X as ExtractConfigParams, ar as ExtractField, a5 as FieldMetadata, G as FieldRenderFunctions, z as FieldTransformFn, y as FieldTransformFnParams, F as Fields, H as History, J as ItemWithId, a1 as MappedItem, a8 as NumberField, ad as ObjectField, E as OverrideKey, N as PuckComponent, al as PuckContext, a3 as PuckMetadata, ab as RadioField, i as ResolveDataTrigger, T as RootConfig, R as RootData, h as RootDataWithProps, $ as RootDataWithoutProps, aa as SelectField, S as Slot, L as SlotComponent, ak as SlotField, a7 as TextField, a9 as TextareaField, x as Viewport, aq as WithChildren, W as WithId, ao as WithPuckProps, u as WithSlotProps, B as overrideKeys } from './actions-CaYAKtsG.mjs';
3
+ export { m as migrate, r as resolveAllData, t as transformProps, w as walkTree } from './walk-tree-B-Q2gpMX.mjs';
3
4
  import * as react_jsx_runtime from 'react/jsx-runtime';
4
5
  import * as react from 'react';
5
- import react__default, { ReactNode, SyntheticEvent, ReactElement } from 'react';
6
-
7
- type HistorySlice<D = any> = {
8
- index: number;
9
- hasPast: () => boolean;
10
- hasFuture: () => boolean;
11
- histories: History<D>[];
12
- record: (data: D) => void;
13
- back: VoidFunction;
14
- forward: VoidFunction;
15
- currentHistory: () => History;
16
- nextHistory: () => History<D> | null;
17
- prevHistory: () => History<D> | null;
18
- setHistories: (histories: History[]) => void;
19
- setHistoryIndex: (index: number) => void;
20
- initialAppState: D;
21
- };
22
-
23
- type NodeMethods = {
24
- sync: () => void;
25
- hideOverlay: () => void;
26
- showOverlay: () => void;
27
- };
28
- type PuckNodeInstance = {
29
- id: string;
30
- methods: NodeMethods;
31
- element: HTMLElement | null;
32
- };
33
- type NodesSlice = {
34
- nodes: Record<string, PuckNodeInstance | undefined>;
35
- registerNode: (id: string, node: Partial<PuckNodeInstance>) => void;
36
- unregisterNode: (id: string, node?: Partial<PuckNodeInstance>) => void;
37
- };
38
-
39
- type PermissionsArgs<UserConfig extends Config = Config, G extends UserGenerics<UserConfig> = UserGenerics<UserConfig>> = {
40
- item?: G["UserComponentData"] | null;
41
- type?: keyof G["UserProps"];
42
- root?: boolean;
43
- };
44
- type GetPermissions<UserConfig extends Config = Config> = (params?: PermissionsArgs<UserConfig>) => Permissions;
45
- type ResolvePermissions<UserConfig extends Config = Config> = (params?: PermissionsArgs<UserConfig>, force?: boolean) => void;
46
- type RefreshPermissions<UserConfig extends Config = Config> = (params?: PermissionsArgs<UserConfig>, force?: boolean) => void;
47
- type Cache = Record<string, {
48
- lastPermissions: Partial<Permissions>;
49
- lastData: ComponentData | null;
50
- }>;
51
- type PermissionsSlice = {
52
- cache: Cache;
53
- globalPermissions: Permissions;
54
- resolvedPermissions: Record<string, Partial<Permissions> | undefined>;
55
- getPermissions: GetPermissions<Config>;
56
- resolvePermissions: ResolvePermissions<Config>;
57
- refreshPermissions: RefreshPermissions<Config>;
58
- };
59
-
60
- type ComponentOrRootData = Omit<ComponentData<any>, "type">;
61
- type FieldsSlice = {
62
- fields: Fields | Partial<Fields>;
63
- loading: boolean;
64
- lastResolvedData: Partial<ComponentOrRootData>;
65
- id: string | undefined;
66
- };
67
-
68
- type Status = "LOADING" | "MOUNTED" | "READY";
69
- type ZoomConfig = {
70
- autoZoom: number;
71
- rootHeight: number;
72
- zoom: number;
73
- };
74
- type ComponentState = Record<string, {
75
- loadingCount: number;
76
- }>;
77
- type AppStore<UserConfig extends Config = Config, G extends UserGenerics<UserConfig> = UserGenerics<UserConfig>> = {
78
- state: G["UserAppState"];
79
- dispatch: (action: PuckAction) => void;
80
- config: UserConfig;
81
- componentState: ComponentState;
82
- setComponentState: (componentState: ComponentState) => void;
83
- setComponentLoading: (id: string, loading?: boolean, defer?: number) => () => void;
84
- unsetComponentLoading: (id: string) => void;
85
- pendingLoadTimeouts: Record<string, NodeJS.Timeout>;
86
- resolveComponentData: <T extends ComponentData | RootDataWithProps>(componentData: T, trigger: ResolveDataTrigger) => Promise<{
87
- node: T;
88
- didChange: boolean;
89
- }>;
90
- resolveAndCommitData: () => void;
91
- plugins: Plugin[];
92
- overrides: Partial<Overrides>;
93
- viewports: Viewports;
94
- zoomConfig: ZoomConfig;
95
- setZoomConfig: (zoomConfig: ZoomConfig) => void;
96
- status: Status;
97
- setStatus: (status: Status) => void;
98
- iframe: IframeConfig;
99
- selectedItem?: G["UserData"]["content"][0] | null;
100
- setUi: (ui: Partial<UiState>, recordHistory?: boolean) => void;
101
- getComponentConfig: (type?: string) => ComponentConfig | null | undefined;
102
- onAction?: (action: PuckAction, newState: AppState, state: AppState) => void;
103
- metadata: Metadata;
104
- fields: FieldsSlice;
105
- history: HistorySlice;
106
- nodes: NodesSlice;
107
- permissions: PermissionsSlice;
108
- fieldTransforms: FieldTransforms;
109
- };
6
+ import react__default, { ReactNode, SyntheticEvent, ReactElement, CSSProperties } from 'react';
7
+ import { A as AppStore, G as GetPermissions, R as RefreshPermissions, H as HistorySlice } from './index-IMRjDHZk.mjs';
110
8
 
111
9
  declare const ActionBar: {
112
10
  ({ label, children, }: {
@@ -184,7 +82,7 @@ declare const Drawer: {
184
82
 
185
83
  declare const DropZone: react.ForwardRefExoticComponent<DropZoneProps & react.RefAttributes<HTMLDivElement>>;
186
84
 
187
- declare const IconButton: ({ children, href, onClick, variant, type, disabled, tabIndex, newTab, fullWidth, title, }: {
85
+ declare const IconButton: ({ children, href, onClick, variant, type, disabled, tabIndex, newTab, fullWidth, title, suppressHydrationWarning, }: {
188
86
  children: ReactNode;
189
87
  href?: string;
190
88
  onClick?: (e: SyntheticEvent) => void | Promise<void>;
@@ -195,6 +93,7 @@ declare const IconButton: ({ children, href, onClick, variant, type, disabled, t
195
93
  newTab?: boolean;
196
94
  fullWidth?: boolean;
197
95
  title: string;
96
+ suppressHydrationWarning?: boolean;
198
97
  }) => react_jsx_runtime.JSX.Element;
199
98
 
200
99
  type PuckProps<UserConfig extends Config = Config, G extends UserGenerics<UserConfig> = UserGenerics<UserConfig>> = {
@@ -227,6 +126,8 @@ type PuckProps<UserConfig extends Config = Config, G extends UserGenerics<UserCo
227
126
  };
228
127
  initialHistory?: InitialHistory;
229
128
  metadata?: Metadata;
129
+ height?: CSSProperties["height"];
130
+ _experimentalFullScreenCanvas?: boolean;
230
131
  };
231
132
  declare function Puck<UserConfig extends Config = Config, G extends UserGenerics<UserConfig> = UserGenerics<UserConfig>>(props: PuckProps<UserConfig>): react_jsx_runtime.JSX.Element;
232
133
  declare namespace Puck {
@@ -271,6 +172,7 @@ type UsePuckData<UserConfig extends Config = Config, G extends UserGenerics<User
271
172
  getItemBySelector: (selector: ItemSelector) => G["UserComponentData"] | undefined;
272
173
  getItemById: (id: string) => G["UserComponentData"] | undefined;
273
174
  getSelectorForId: (id: string) => Required<ItemSelector> | undefined;
175
+ getParentById: (id: string) => ComponentData | undefined;
274
176
  history: {
275
177
  back: HistorySlice["back"];
276
178
  forward: HistorySlice["forward"];
@@ -302,4 +204,12 @@ declare function usePuck<UserConfig extends Config = Config>(): UsePuckStore<Use
302
204
  */
303
205
  declare function useGetPuck(): () => UsePuckStore<Config>;
304
206
 
305
- export { Action, ActionBar, AppState, AutoField, Button, ComponentConfig, ComponentData, Config, Data, Drawer, DropZone, Field, FieldLabel, FieldProps, FieldTransforms, Fields, Group, History, IconButton, IframeConfig, InitialHistory, Label, Metadata, OnAction, Overrides, Permissions, Plugin, Puck, PuckAction, type PuckApi, Render, ResolveDataTrigger, RootDataWithProps, UiState, type UsePuckData, UserGenerics, Viewports, createUsePuck, registerOverlayPortal, renderContext, setDeep, useGetPuck, usePuck };
207
+ declare const blocksPlugin: () => Plugin;
208
+
209
+ declare const fieldsPlugin: (params?: {
210
+ mobileOnly?: boolean;
211
+ }) => PluginInternal;
212
+
213
+ declare const outlinePlugin: () => Plugin;
214
+
215
+ export { Action, ActionBar, AutoField, Button, ComponentData, Config, Data, Drawer, DropZone, Field, FieldLabel, FieldProps, FieldTransforms, Group, IconButton, IframeConfig, InitialHistory, Label, Metadata, OnAction, Overrides, Permissions, Plugin, Puck, PuckAction, type PuckApi, Render, UiState, type UsePuckData, UserGenerics, Viewports, blocksPlugin, createUsePuck, fieldsPlugin, outlinePlugin, registerOverlayPortal, renderContext, setDeep, useGetPuck, usePuck };
package/dist/index.d.ts CHANGED
@@ -1,112 +1,10 @@
1
- import { H as History, P as Permissions, a as ComponentData, C as Config, U as UserGenerics, F as Fields, b as PuckAction, R as RootDataWithProps, c as ResolveDataTrigger, d as Plugin, O as Overrides, V as Viewports, I as IframeConfig, e as UiState, f as ComponentConfig, A as AppState, M as Metadata, g as FieldTransforms, h as Field, i as FieldProps, D as DropZoneProps, j as Data, k as OnAction, l as InitialHistory, n as ItemSelector } from './walk-tree-DkTSFbz_.js';
2
- export { a7 as Adaptor, a5 as ArrayField, B as ArrayState, al as AsFieldProps, N as BaseData, $ as BaseField, a9 as CacheOpts, Z as ComponentDataMap, X as ComponentDataOptionalId, _ as Content, ac as CustomField, ab as CustomFieldRender, ai as DefaultComponentProps, K as DefaultComponents, af as DefaultRootFieldProps, ah as DefaultRootProps, ag as DefaultRootRenderProps, o as Direction, p as DragAxis, aa as ExternalField, a8 as ExternalFieldWithAdaptor, L as ExtractConfigParams, an as ExtractField, y as FieldRenderFunctions, u as FieldTransformFn, s as FieldTransformFnParams, z as ItemWithId, Y as MappedItem, a1 as NumberField, a6 as ObjectField, x as OverrideKey, G as PuckComponent, ae as PuckContext, a4 as RadioField, J as RootConfig, T as RootData, Q as RootDataWithoutProps, a3 as SelectField, S as Slot, E as SlotComponent, ad as SlotField, a0 as TextField, a2 as TextareaField, q as Viewport, am as WithChildren, aj as WithId, ak as WithPuckProps, W as WithSlotProps, m as migrate, v as overrideKeys, r as resolveAllData, t as transformProps, w as walkTree } from './walk-tree-DkTSFbz_.js';
1
+ import { o as Field, p as FieldProps, q as DropZoneProps, C as Config, U as UserGenerics, D as Data, l as UiState, O as OnAction, g as Permissions, j as Plugin, k as Overrides, n as FieldTransforms, a as PuckAction, V as Viewports, I as IframeConfig, r as InitialHistory, M as Metadata, s as ItemSelector, c as ComponentData, t as PluginInternal } from './actions-CaYAKtsG.js';
2
+ export { ae as Adaptor, A as AppState, ac as ArrayField, K as ArrayState, ap as AsFieldProps, _ as BaseData, a6 as BaseField, ag as CacheOpts, m as ComponentConfig, Q as ComponentConfigExtensions, Z as ComponentConfigParams, a2 as ComponentDataMap, a0 as ComponentDataOptionalId, a4 as ComponentMetadata, Y as ConfigParams, b as Content, aj as CustomField, ai as CustomFieldRender, e as DefaultComponentProps, d as DefaultComponents, f as DefaultRootFieldProps, an as DefaultRootProps, am as DefaultRootRenderProps, v as Direction, w as DragAxis, ah as ExternalField, af as ExternalFieldWithAdaptor, X as ExtractConfigParams, ar as ExtractField, a5 as FieldMetadata, G as FieldRenderFunctions, z as FieldTransformFn, y as FieldTransformFnParams, F as Fields, H as History, J as ItemWithId, a1 as MappedItem, a8 as NumberField, ad as ObjectField, E as OverrideKey, N as PuckComponent, al as PuckContext, a3 as PuckMetadata, ab as RadioField, i as ResolveDataTrigger, T as RootConfig, R as RootData, h as RootDataWithProps, $ as RootDataWithoutProps, aa as SelectField, S as Slot, L as SlotComponent, ak as SlotField, a7 as TextField, a9 as TextareaField, x as Viewport, aq as WithChildren, W as WithId, ao as WithPuckProps, u as WithSlotProps, B as overrideKeys } from './actions-CaYAKtsG.js';
3
+ export { m as migrate, r as resolveAllData, t as transformProps, w as walkTree } from './walk-tree-ksvZ7C4q.js';
3
4
  import * as react_jsx_runtime from 'react/jsx-runtime';
4
5
  import * as react from 'react';
5
- import react__default, { ReactNode, SyntheticEvent, ReactElement } from 'react';
6
-
7
- type HistorySlice<D = any> = {
8
- index: number;
9
- hasPast: () => boolean;
10
- hasFuture: () => boolean;
11
- histories: History<D>[];
12
- record: (data: D) => void;
13
- back: VoidFunction;
14
- forward: VoidFunction;
15
- currentHistory: () => History;
16
- nextHistory: () => History<D> | null;
17
- prevHistory: () => History<D> | null;
18
- setHistories: (histories: History[]) => void;
19
- setHistoryIndex: (index: number) => void;
20
- initialAppState: D;
21
- };
22
-
23
- type NodeMethods = {
24
- sync: () => void;
25
- hideOverlay: () => void;
26
- showOverlay: () => void;
27
- };
28
- type PuckNodeInstance = {
29
- id: string;
30
- methods: NodeMethods;
31
- element: HTMLElement | null;
32
- };
33
- type NodesSlice = {
34
- nodes: Record<string, PuckNodeInstance | undefined>;
35
- registerNode: (id: string, node: Partial<PuckNodeInstance>) => void;
36
- unregisterNode: (id: string, node?: Partial<PuckNodeInstance>) => void;
37
- };
38
-
39
- type PermissionsArgs<UserConfig extends Config = Config, G extends UserGenerics<UserConfig> = UserGenerics<UserConfig>> = {
40
- item?: G["UserComponentData"] | null;
41
- type?: keyof G["UserProps"];
42
- root?: boolean;
43
- };
44
- type GetPermissions<UserConfig extends Config = Config> = (params?: PermissionsArgs<UserConfig>) => Permissions;
45
- type ResolvePermissions<UserConfig extends Config = Config> = (params?: PermissionsArgs<UserConfig>, force?: boolean) => void;
46
- type RefreshPermissions<UserConfig extends Config = Config> = (params?: PermissionsArgs<UserConfig>, force?: boolean) => void;
47
- type Cache = Record<string, {
48
- lastPermissions: Partial<Permissions>;
49
- lastData: ComponentData | null;
50
- }>;
51
- type PermissionsSlice = {
52
- cache: Cache;
53
- globalPermissions: Permissions;
54
- resolvedPermissions: Record<string, Partial<Permissions> | undefined>;
55
- getPermissions: GetPermissions<Config>;
56
- resolvePermissions: ResolvePermissions<Config>;
57
- refreshPermissions: RefreshPermissions<Config>;
58
- };
59
-
60
- type ComponentOrRootData = Omit<ComponentData<any>, "type">;
61
- type FieldsSlice = {
62
- fields: Fields | Partial<Fields>;
63
- loading: boolean;
64
- lastResolvedData: Partial<ComponentOrRootData>;
65
- id: string | undefined;
66
- };
67
-
68
- type Status = "LOADING" | "MOUNTED" | "READY";
69
- type ZoomConfig = {
70
- autoZoom: number;
71
- rootHeight: number;
72
- zoom: number;
73
- };
74
- type ComponentState = Record<string, {
75
- loadingCount: number;
76
- }>;
77
- type AppStore<UserConfig extends Config = Config, G extends UserGenerics<UserConfig> = UserGenerics<UserConfig>> = {
78
- state: G["UserAppState"];
79
- dispatch: (action: PuckAction) => void;
80
- config: UserConfig;
81
- componentState: ComponentState;
82
- setComponentState: (componentState: ComponentState) => void;
83
- setComponentLoading: (id: string, loading?: boolean, defer?: number) => () => void;
84
- unsetComponentLoading: (id: string) => void;
85
- pendingLoadTimeouts: Record<string, NodeJS.Timeout>;
86
- resolveComponentData: <T extends ComponentData | RootDataWithProps>(componentData: T, trigger: ResolveDataTrigger) => Promise<{
87
- node: T;
88
- didChange: boolean;
89
- }>;
90
- resolveAndCommitData: () => void;
91
- plugins: Plugin[];
92
- overrides: Partial<Overrides>;
93
- viewports: Viewports;
94
- zoomConfig: ZoomConfig;
95
- setZoomConfig: (zoomConfig: ZoomConfig) => void;
96
- status: Status;
97
- setStatus: (status: Status) => void;
98
- iframe: IframeConfig;
99
- selectedItem?: G["UserData"]["content"][0] | null;
100
- setUi: (ui: Partial<UiState>, recordHistory?: boolean) => void;
101
- getComponentConfig: (type?: string) => ComponentConfig | null | undefined;
102
- onAction?: (action: PuckAction, newState: AppState, state: AppState) => void;
103
- metadata: Metadata;
104
- fields: FieldsSlice;
105
- history: HistorySlice;
106
- nodes: NodesSlice;
107
- permissions: PermissionsSlice;
108
- fieldTransforms: FieldTransforms;
109
- };
6
+ import react__default, { ReactNode, SyntheticEvent, ReactElement, CSSProperties } from 'react';
7
+ import { A as AppStore, G as GetPermissions, R as RefreshPermissions, H as HistorySlice } from './index-C6QwyW4B.js';
110
8
 
111
9
  declare const ActionBar: {
112
10
  ({ label, children, }: {
@@ -184,7 +82,7 @@ declare const Drawer: {
184
82
 
185
83
  declare const DropZone: react.ForwardRefExoticComponent<DropZoneProps & react.RefAttributes<HTMLDivElement>>;
186
84
 
187
- declare const IconButton: ({ children, href, onClick, variant, type, disabled, tabIndex, newTab, fullWidth, title, }: {
85
+ declare const IconButton: ({ children, href, onClick, variant, type, disabled, tabIndex, newTab, fullWidth, title, suppressHydrationWarning, }: {
188
86
  children: ReactNode;
189
87
  href?: string;
190
88
  onClick?: (e: SyntheticEvent) => void | Promise<void>;
@@ -195,6 +93,7 @@ declare const IconButton: ({ children, href, onClick, variant, type, disabled, t
195
93
  newTab?: boolean;
196
94
  fullWidth?: boolean;
197
95
  title: string;
96
+ suppressHydrationWarning?: boolean;
198
97
  }) => react_jsx_runtime.JSX.Element;
199
98
 
200
99
  type PuckProps<UserConfig extends Config = Config, G extends UserGenerics<UserConfig> = UserGenerics<UserConfig>> = {
@@ -227,6 +126,8 @@ type PuckProps<UserConfig extends Config = Config, G extends UserGenerics<UserCo
227
126
  };
228
127
  initialHistory?: InitialHistory;
229
128
  metadata?: Metadata;
129
+ height?: CSSProperties["height"];
130
+ _experimentalFullScreenCanvas?: boolean;
230
131
  };
231
132
  declare function Puck<UserConfig extends Config = Config, G extends UserGenerics<UserConfig> = UserGenerics<UserConfig>>(props: PuckProps<UserConfig>): react_jsx_runtime.JSX.Element;
232
133
  declare namespace Puck {
@@ -271,6 +172,7 @@ type UsePuckData<UserConfig extends Config = Config, G extends UserGenerics<User
271
172
  getItemBySelector: (selector: ItemSelector) => G["UserComponentData"] | undefined;
272
173
  getItemById: (id: string) => G["UserComponentData"] | undefined;
273
174
  getSelectorForId: (id: string) => Required<ItemSelector> | undefined;
175
+ getParentById: (id: string) => ComponentData | undefined;
274
176
  history: {
275
177
  back: HistorySlice["back"];
276
178
  forward: HistorySlice["forward"];
@@ -302,4 +204,12 @@ declare function usePuck<UserConfig extends Config = Config>(): UsePuckStore<Use
302
204
  */
303
205
  declare function useGetPuck(): () => UsePuckStore<Config>;
304
206
 
305
- export { Action, ActionBar, AppState, AutoField, Button, ComponentConfig, ComponentData, Config, Data, Drawer, DropZone, Field, FieldLabel, FieldProps, FieldTransforms, Fields, Group, History, IconButton, IframeConfig, InitialHistory, Label, Metadata, OnAction, Overrides, Permissions, Plugin, Puck, PuckAction, type PuckApi, Render, ResolveDataTrigger, RootDataWithProps, UiState, type UsePuckData, UserGenerics, Viewports, createUsePuck, registerOverlayPortal, renderContext, setDeep, useGetPuck, usePuck };
207
+ declare const blocksPlugin: () => Plugin;
208
+
209
+ declare const fieldsPlugin: (params?: {
210
+ mobileOnly?: boolean;
211
+ }) => PluginInternal;
212
+
213
+ declare const outlinePlugin: () => Plugin;
214
+
215
+ export { Action, ActionBar, AutoField, Button, ComponentData, Config, Data, Drawer, DropZone, Field, FieldLabel, FieldProps, FieldTransforms, Group, IconButton, IframeConfig, InitialHistory, Label, Metadata, OnAction, Overrides, Permissions, Plugin, Puck, PuckAction, type PuckApi, Render, UiState, type UsePuckData, UserGenerics, Viewports, blocksPlugin, createUsePuck, fieldsPlugin, outlinePlugin, registerOverlayPortal, renderContext, setDeep, useGetPuck, usePuck };