@measured/puck 0.16.0-canary.54b5a87 → 0.16.0-canary.555902
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/{Config-041c35a2.d.ts → Config-RpUGTBxI.d.mts} +63 -42
- package/dist/Config-RpUGTBxI.d.ts +283 -0
- package/dist/chunk-7CYJT5DS.mjs +117 -0
- package/dist/index.css +95 -78
- package/dist/index.d.mts +385 -0
- package/dist/index.d.ts +182 -140
- package/dist/index.js +1019 -29749
- package/dist/index.mjs +5854 -0
- package/dist/rsc.d.mts +10 -0
- package/dist/rsc.d.ts +1 -1
- package/dist/rsc.js +6 -2
- package/dist/rsc.mjs +80 -0
- package/package.json +17 -9
package/dist/index.d.ts
CHANGED
@@ -1,8 +1,8 @@
|
|
1
|
-
import { U as UiState, D as Data, A as AppState, F as Field, a as FieldProps, C as Config, b as
|
2
|
-
export {
|
3
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
1
|
+
import { U as UiState, D as Data, A as AppState, I as ItemSelector, F as Field, a as FieldProps, C as Config, b as DropZoneProps, E as ExtractPropsFromConfig, c as ExtractRootPropsFromConfig, P as Permissions, V as Viewports, d as DefaultComponentProps, e as DefaultRootFieldProps, f as ComponentData } from './Config-RpUGTBxI.js';
|
2
|
+
export { v as Adaptor, u as ArrayField, q as ArrayState, B as BaseData, r as BaseField, l as ComponentConfig, m as ComponentDataMap, i as Content, y as CustomField, h as DefaultRootProps, g as DefaultRootRenderProps, x as ExternalField, w as ExternalFieldWithAdaptor, z as Fields, p as ItemWithId, M as MappedItem, N as NumberField, O as ObjectField, j as PuckComponent, k as PuckContext, t as RadioField, o as RootData, R as RootDataWithProps, n as RootDataWithoutProps, S as SelectField, T as TextField, s as TextareaField } from './Config-RpUGTBxI.js';
|
4
3
|
import * as react from 'react';
|
5
|
-
import { ReactNode, ReactElement,
|
4
|
+
import { ReactNode, ReactElement, SyntheticEvent, CSSProperties } from 'react';
|
5
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
6
6
|
import { DragStart, DragUpdate } from '@measured/dnd';
|
7
7
|
|
8
8
|
type InsertAction = {
|
@@ -10,6 +10,7 @@ type InsertAction = {
|
|
10
10
|
componentType: string;
|
11
11
|
destinationIndex: number;
|
12
12
|
destinationZone: string;
|
13
|
+
id?: string;
|
13
14
|
};
|
14
15
|
type DuplicateAction = {
|
15
16
|
type: "duplicate";
|
@@ -48,9 +49,9 @@ type SetDataAction = {
|
|
48
49
|
type: "setData";
|
49
50
|
data: Partial<Data> | ((previous: Data) => Partial<Data>);
|
50
51
|
};
|
51
|
-
type SetAction = {
|
52
|
+
type SetAction<UserData extends Data = Data> = {
|
52
53
|
type: "set";
|
53
|
-
state: Partial<AppState
|
54
|
+
state: Partial<AppState<UserData>> | ((previous: AppState<UserData>) => Partial<AppState<UserData>>);
|
54
55
|
};
|
55
56
|
type RegisterZoneAction = {
|
56
57
|
type: "registerZone";
|
@@ -64,13 +65,97 @@ type PuckAction = {
|
|
64
65
|
recordHistory?: boolean;
|
65
66
|
} & (ReorderAction | InsertAction | MoveAction | ReplaceAction | RemoveAction | DuplicateAction | SetAction | SetDataAction | SetUiAction | RegisterZoneAction | UnregisterZoneAction);
|
66
67
|
|
68
|
+
type RenderFunc<Props extends {
|
69
|
+
[key: string]: any;
|
70
|
+
} = {
|
71
|
+
children: ReactNode;
|
72
|
+
}> = (props: Props) => ReactElement;
|
73
|
+
declare const overrideKeys: readonly ["header", "headerActions", "fields", "fieldLabel", "components", "componentItem", "outline", "puck", "preview"];
|
74
|
+
type OverrideKey = (typeof overrideKeys)[number];
|
75
|
+
type OverridesGeneric<Shape extends {
|
76
|
+
[key in OverrideKey]: any;
|
77
|
+
}> = Shape;
|
78
|
+
type Overrides = OverridesGeneric<{
|
79
|
+
fieldTypes: Partial<FieldRenderFunctions>;
|
80
|
+
header: RenderFunc<{
|
81
|
+
actions: ReactNode;
|
82
|
+
children: ReactNode;
|
83
|
+
}>;
|
84
|
+
actionBar: RenderFunc<{
|
85
|
+
label?: string;
|
86
|
+
children: ReactNode;
|
87
|
+
}>;
|
88
|
+
headerActions: RenderFunc<{
|
89
|
+
children: ReactNode;
|
90
|
+
}>;
|
91
|
+
preview: RenderFunc;
|
92
|
+
fields: RenderFunc<{
|
93
|
+
children: ReactNode;
|
94
|
+
isLoading: boolean;
|
95
|
+
itemSelector?: ItemSelector | null;
|
96
|
+
}>;
|
97
|
+
fieldLabel: RenderFunc<{
|
98
|
+
children?: ReactNode;
|
99
|
+
icon?: ReactNode;
|
100
|
+
label: string;
|
101
|
+
el?: "label" | "div";
|
102
|
+
readOnly?: boolean;
|
103
|
+
className?: string;
|
104
|
+
}>;
|
105
|
+
components: RenderFunc;
|
106
|
+
componentItem: RenderFunc<{
|
107
|
+
children: ReactNode;
|
108
|
+
name: string;
|
109
|
+
}>;
|
110
|
+
iframe: RenderFunc<{
|
111
|
+
children: ReactNode;
|
112
|
+
document?: Document;
|
113
|
+
}>;
|
114
|
+
outline: RenderFunc;
|
115
|
+
puck: RenderFunc;
|
116
|
+
}>;
|
117
|
+
type FieldRenderFunctions = Omit<{
|
118
|
+
[Type in Field["type"]]: React.FunctionComponent<FieldProps<Extract<Field, {
|
119
|
+
type: Type;
|
120
|
+
}>> & {
|
121
|
+
children: ReactNode;
|
122
|
+
name: string;
|
123
|
+
}>;
|
124
|
+
}, "custom"> & {
|
125
|
+
[key: string]: React.FunctionComponent<FieldProps<any> & {
|
126
|
+
children: ReactNode;
|
127
|
+
name: string;
|
128
|
+
}>;
|
129
|
+
};
|
130
|
+
|
131
|
+
type Plugin = {
|
132
|
+
overrides: Partial<Overrides>;
|
133
|
+
};
|
134
|
+
|
135
|
+
declare const ActionBar: {
|
136
|
+
({ label, children, }: {
|
137
|
+
label?: string;
|
138
|
+
children?: ReactNode;
|
139
|
+
}): react_jsx_runtime.JSX.Element;
|
140
|
+
Action: ({ children, label, onClick, }: {
|
141
|
+
children: ReactNode;
|
142
|
+
label?: string;
|
143
|
+
onClick: (e: SyntheticEvent) => void;
|
144
|
+
}) => react_jsx_runtime.JSX.Element;
|
145
|
+
};
|
146
|
+
declare const Action: ({ children, label, onClick, }: {
|
147
|
+
children: ReactNode;
|
148
|
+
label?: string;
|
149
|
+
onClick: (e: SyntheticEvent) => void;
|
150
|
+
}) => react_jsx_runtime.JSX.Element;
|
151
|
+
|
67
152
|
declare const FieldLabel: ({ children, icon, label, el, readOnly, className, }: {
|
68
153
|
children?: ReactNode;
|
69
154
|
icon?: ReactNode;
|
70
155
|
label: string;
|
71
|
-
el?: "label" | "div"
|
72
|
-
readOnly?: boolean
|
73
|
-
className?: string
|
156
|
+
el?: "label" | "div";
|
157
|
+
readOnly?: boolean;
|
158
|
+
className?: string;
|
74
159
|
}) => react_jsx_runtime.JSX.Element;
|
75
160
|
type FieldLabelPropsInternal = {
|
76
161
|
children?: ReactNode;
|
@@ -98,37 +183,59 @@ declare function AutoField<ValueType = any, FieldType extends Field<ValueType> =
|
|
98
183
|
|
99
184
|
declare const Button: ({ children, href, onClick, variant, type, disabled, tabIndex, newTab, fullWidth, icon, size, loading: loadingProp, }: {
|
100
185
|
children: ReactNode;
|
101
|
-
href?: string
|
102
|
-
onClick?: (
|
103
|
-
variant?: "primary" | "secondary"
|
104
|
-
type?: "button" | "submit" | "reset"
|
105
|
-
disabled?: boolean
|
106
|
-
tabIndex?: number
|
107
|
-
newTab?: boolean
|
108
|
-
fullWidth?: boolean
|
186
|
+
href?: string;
|
187
|
+
onClick?: (e: any) => void | Promise<void>;
|
188
|
+
variant?: "primary" | "secondary";
|
189
|
+
type?: "button" | "submit" | "reset";
|
190
|
+
disabled?: boolean;
|
191
|
+
tabIndex?: number;
|
192
|
+
newTab?: boolean;
|
193
|
+
fullWidth?: boolean;
|
109
194
|
icon?: ReactNode;
|
110
|
-
size?: "medium" | "large"
|
111
|
-
loading?: boolean
|
195
|
+
size?: "medium" | "large";
|
196
|
+
loading?: boolean;
|
112
197
|
}) => react_jsx_runtime.JSX.Element;
|
113
198
|
|
114
199
|
declare const Drawer: {
|
115
200
|
({ children, droppableId: _droppableId, direction, }: {
|
116
201
|
children: ReactNode;
|
117
|
-
droppableId?: string
|
118
|
-
direction?: "vertical" | "horizontal"
|
202
|
+
droppableId?: string;
|
203
|
+
direction?: "vertical" | "horizontal";
|
119
204
|
}): react_jsx_runtime.JSX.Element;
|
120
|
-
Item: ({ name, children, id, label, index, }: {
|
205
|
+
Item: ({ name, children, id, label, index, isDragDisabled, }: {
|
121
206
|
name: string;
|
122
|
-
children?: (
|
207
|
+
children?: (props: {
|
123
208
|
children: ReactNode;
|
124
209
|
name: string;
|
125
|
-
}) => ReactElement
|
126
|
-
id?: string
|
127
|
-
label?: string
|
210
|
+
}) => ReactElement;
|
211
|
+
id?: string;
|
212
|
+
label?: string;
|
128
213
|
index: number;
|
214
|
+
isDragDisabled?: boolean;
|
129
215
|
}) => react_jsx_runtime.JSX.Element;
|
130
216
|
};
|
131
217
|
|
218
|
+
type History<D = any> = {
|
219
|
+
id: string;
|
220
|
+
data: D;
|
221
|
+
};
|
222
|
+
type HistoryStore<D = any> = {
|
223
|
+
index: number;
|
224
|
+
hasPast: boolean;
|
225
|
+
hasFuture: boolean;
|
226
|
+
histories: History<D>[];
|
227
|
+
record: (data: D) => void;
|
228
|
+
back: VoidFunction;
|
229
|
+
forward: VoidFunction;
|
230
|
+
currentHistory: History;
|
231
|
+
nextHistory: History<D> | null;
|
232
|
+
prevHistory: History<D> | null;
|
233
|
+
setHistories: (histories: History[]) => void;
|
234
|
+
setHistoryIndex: (index: number) => void;
|
235
|
+
};
|
236
|
+
|
237
|
+
type OnAction<UserData extends Data = Data> = (action: PuckAction, appState: AppState<UserData>, prevAppState: AppState<UserData>) => void;
|
238
|
+
|
132
239
|
type PathData = Record<string, {
|
133
240
|
path: string[];
|
134
241
|
label: string;
|
@@ -160,7 +267,7 @@ type DropZoneContext<UserConfig extends Config = Config> = {
|
|
160
267
|
zoneWillDrag?: string;
|
161
268
|
setZoneWillDrag?: (zone: string) => void;
|
162
269
|
} | null;
|
163
|
-
declare const dropZoneContext: react.Context<DropZoneContext<Config
|
270
|
+
declare const dropZoneContext: react.Context<DropZoneContext<Config>>;
|
164
271
|
declare const DropZoneProvider: ({ children, value, }: {
|
165
272
|
children: ReactNode;
|
166
273
|
value: DropZoneContext;
|
@@ -170,113 +277,39 @@ declare function DropZone(props: DropZoneProps): react_jsx_runtime.JSX.Element;
|
|
170
277
|
|
171
278
|
declare const IconButton: ({ children, href, onClick, variant, type, disabled, tabIndex, newTab, fullWidth, title, }: {
|
172
279
|
children: ReactNode;
|
173
|
-
href?: string
|
174
|
-
onClick?: (
|
175
|
-
variant?: "primary" | "secondary"
|
176
|
-
type?: "button" | "submit" | "reset"
|
177
|
-
disabled?: boolean
|
178
|
-
tabIndex?: number
|
179
|
-
newTab?: boolean
|
180
|
-
fullWidth?: boolean
|
280
|
+
href?: string;
|
281
|
+
onClick?: (e: SyntheticEvent) => void | Promise<void>;
|
282
|
+
variant?: "primary" | "secondary";
|
283
|
+
type?: "button" | "submit" | "reset";
|
284
|
+
disabled?: boolean;
|
285
|
+
tabIndex?: number;
|
286
|
+
newTab?: boolean;
|
287
|
+
fullWidth?: boolean;
|
181
288
|
title: string;
|
182
289
|
}) => react_jsx_runtime.JSX.Element;
|
183
290
|
|
184
|
-
type RenderFunc<Props extends {
|
185
|
-
[key: string]: any;
|
186
|
-
} = {
|
187
|
-
children: ReactNode;
|
188
|
-
}> = (props: Props) => ReactElement;
|
189
|
-
declare const overrideKeys: readonly ["header", "headerActions", "fields", "fieldLabel", "components", "componentItem", "outline", "puck", "preview"];
|
190
|
-
type OverrideKey = (typeof overrideKeys)[number];
|
191
|
-
type OverridesGeneric<Shape extends {
|
192
|
-
[key in OverrideKey]: any;
|
193
|
-
}> = Shape;
|
194
|
-
type Overrides = OverridesGeneric<{
|
195
|
-
fieldTypes: Partial<FieldRenderFunctions>;
|
196
|
-
header: RenderFunc<{
|
197
|
-
actions: ReactNode;
|
198
|
-
children: ReactNode;
|
199
|
-
}>;
|
200
|
-
headerActions: RenderFunc<{
|
201
|
-
children: ReactNode;
|
202
|
-
}>;
|
203
|
-
preview: RenderFunc;
|
204
|
-
fields: RenderFunc<{
|
205
|
-
children: ReactNode;
|
206
|
-
isLoading: boolean;
|
207
|
-
itemSelector?: ItemSelector | null;
|
208
|
-
}>;
|
209
|
-
fieldLabel: RenderFunc<{
|
210
|
-
children?: ReactNode;
|
211
|
-
icon?: ReactNode;
|
212
|
-
label: string;
|
213
|
-
el?: "label" | "div";
|
214
|
-
readOnly?: boolean;
|
215
|
-
className?: string;
|
216
|
-
}>;
|
217
|
-
components: RenderFunc;
|
218
|
-
componentItem: RenderFunc<{
|
219
|
-
children: ReactNode;
|
220
|
-
name: string;
|
221
|
-
}>;
|
222
|
-
outline: RenderFunc;
|
223
|
-
puck: RenderFunc;
|
224
|
-
}>;
|
225
|
-
type FieldRenderFunctions = Omit<{
|
226
|
-
[Type in Field["type"]]: React.FunctionComponent<FieldProps<Extract<Field, {
|
227
|
-
type: Type;
|
228
|
-
}>> & {
|
229
|
-
children: ReactNode;
|
230
|
-
name: string;
|
231
|
-
}>;
|
232
|
-
}, "custom"> & {
|
233
|
-
[key: string]: React.FunctionComponent<FieldProps<any> & {
|
234
|
-
children: ReactNode;
|
235
|
-
name: string;
|
236
|
-
}>;
|
237
|
-
};
|
238
|
-
|
239
|
-
type Plugin = {
|
240
|
-
overrides: Partial<Overrides>;
|
241
|
-
};
|
242
|
-
|
243
|
-
type History<D = any> = {
|
244
|
-
id: string;
|
245
|
-
data: D;
|
246
|
-
};
|
247
|
-
type HistoryStore<D = any> = {
|
248
|
-
index: number;
|
249
|
-
currentHistory: History;
|
250
|
-
hasPast: boolean;
|
251
|
-
hasFuture: boolean;
|
252
|
-
record: (data: D) => void;
|
253
|
-
back: VoidFunction;
|
254
|
-
forward: VoidFunction;
|
255
|
-
nextHistory: History<D> | null;
|
256
|
-
prevHistory: History<D> | null;
|
257
|
-
histories: History<D>[];
|
258
|
-
};
|
259
|
-
|
260
291
|
type IframeConfig = {
|
261
292
|
enabled?: boolean;
|
262
293
|
};
|
263
294
|
|
264
|
-
declare function Puck<UserConfig extends Config = Config>({ children, config, data: initialData, ui: initialUi, onChange, onPublish, plugins, overrides, renderHeader, renderHeaderActions, headerTitle, headerPath, viewports, iframe, dnd,
|
295
|
+
declare function Puck<UserConfig extends Config = Config, UserProps extends ExtractPropsFromConfig<UserConfig> = ExtractPropsFromConfig<UserConfig>, UserRootProps extends ExtractRootPropsFromConfig<UserConfig> = ExtractRootPropsFromConfig<UserConfig>, UserData extends Data<UserProps, UserRootProps> = Data<UserProps, UserRootProps>>({ children, config, data: initialData, ui: initialUi, onChange, onPublish, onAction, permissions, plugins, overrides, renderHeader, renderHeaderActions, headerTitle, headerPath, viewports, iframe, dnd, initialHistory, }: {
|
265
296
|
children?: ReactNode;
|
266
297
|
config: UserConfig;
|
267
|
-
data: Partial<
|
298
|
+
data: Partial<UserData>;
|
268
299
|
ui?: Partial<UiState>;
|
269
|
-
onChange?: (data:
|
270
|
-
onPublish?: (data:
|
300
|
+
onChange?: (data: UserData) => void;
|
301
|
+
onPublish?: (data: UserData) => void;
|
302
|
+
onAction?: OnAction<UserData>;
|
303
|
+
permissions?: Partial<Permissions>;
|
271
304
|
plugins?: Plugin[];
|
272
305
|
overrides?: Partial<Overrides>;
|
273
306
|
renderHeader?: (props: {
|
274
307
|
children: ReactNode;
|
275
308
|
dispatch: (action: PuckAction) => void;
|
276
|
-
state: AppState
|
309
|
+
state: AppState<UserData>;
|
277
310
|
}) => ReactElement;
|
278
311
|
renderHeaderActions?: (props: {
|
279
|
-
state: AppState
|
312
|
+
state: AppState<UserData>;
|
280
313
|
dispatch: (action: PuckAction) => void;
|
281
314
|
}) => ReactElement;
|
282
315
|
headerTitle?: string;
|
@@ -286,7 +319,7 @@ declare function Puck<UserConfig extends Config = Config>({ children, config, da
|
|
286
319
|
dnd?: {
|
287
320
|
disableAutoScroll?: boolean;
|
288
321
|
};
|
289
|
-
|
322
|
+
initialHistory?: {
|
290
323
|
histories: History<any>[];
|
291
324
|
index: number;
|
292
325
|
};
|
@@ -296,18 +329,18 @@ declare namespace Puck {
|
|
296
329
|
var Fields: () => react_jsx_runtime.JSX.Element;
|
297
330
|
var Outline: () => react_jsx_runtime.JSX.Element;
|
298
331
|
var Preview: ({ id }: {
|
299
|
-
id?: string
|
332
|
+
id?: string;
|
300
333
|
}) => react_jsx_runtime.JSX.Element;
|
301
334
|
}
|
302
335
|
|
303
|
-
declare function Render<UserConfig extends Config = Config>({ config, data
|
336
|
+
declare function Render<UserConfig extends Config = Config, UserProps extends ExtractPropsFromConfig<UserConfig> = ExtractPropsFromConfig<UserConfig>, UserRootProps extends ExtractRootPropsFromConfig<UserConfig> = ExtractRootPropsFromConfig<UserConfig>, UserData extends Data<UserProps, UserRootProps> = Data<UserProps, UserRootProps>>({ config, data }: {
|
304
337
|
config: UserConfig;
|
305
|
-
data: Partial<
|
338
|
+
data: Partial<UserData>;
|
306
339
|
}): react_jsx_runtime.JSX.Element;
|
307
340
|
|
308
341
|
declare function migrate(data: Data): Data;
|
309
342
|
|
310
|
-
type PropTransform<Props extends DefaultComponentProps = DefaultComponentProps, RootProps extends
|
343
|
+
type PropTransform<Props extends DefaultComponentProps = DefaultComponentProps, RootProps extends DefaultComponentProps = DefaultRootFieldProps> = Partial<{
|
311
344
|
[ComponentName in keyof Props]: (props: Props[ComponentName] & {
|
312
345
|
[key: string]: any;
|
313
346
|
}) => Props[ComponentName];
|
@@ -316,28 +349,37 @@ type PropTransform<Props extends DefaultComponentProps = DefaultComponentProps,
|
|
316
349
|
[key: string]: any;
|
317
350
|
}) => RootProps;
|
318
351
|
}>;
|
319
|
-
declare function transformProps<Props extends DefaultComponentProps = DefaultComponentProps, RootProps extends DefaultComponentProps =
|
352
|
+
declare function transformProps<Props extends DefaultComponentProps = DefaultComponentProps, RootProps extends DefaultComponentProps = DefaultRootFieldProps>(data: Partial<Data>, propTransforms: PropTransform<Props, RootProps>): Data;
|
320
353
|
|
321
|
-
declare function resolveAllData(data: Partial<Data>, config: Config, onResolveStart?: (item:
|
322
|
-
root: RootDataWithProps<DefaultRootProps> | RootData<DefaultRootProps>;
|
323
|
-
content: any[];
|
324
|
-
zones: Record<string, MappedItem[]>;
|
325
|
-
}>;
|
326
|
-
|
327
|
-
type PuckHistory = {
|
328
|
-
back: VoidFunction;
|
329
|
-
forward: VoidFunction;
|
330
|
-
historyStore: HistoryStore;
|
331
|
-
};
|
354
|
+
declare function resolveAllData<Props extends DefaultComponentProps = DefaultComponentProps, RootProps extends Record<string, any> = DefaultRootFieldProps>(data: Partial<Data>, config: Config, onResolveStart?: (item: ComponentData) => void, onResolveEnd?: (item: ComponentData) => void): Promise<Data<Props, RootProps>>;
|
332
355
|
|
333
356
|
declare const usePuck: () => {
|
334
357
|
appState: AppState;
|
335
|
-
config: Config
|
358
|
+
config: Config;
|
336
359
|
dispatch: (action: PuckAction) => void;
|
337
|
-
|
338
|
-
|
339
|
-
|
340
|
-
}
|
360
|
+
getPermissions: ({ item, type, }?: {
|
361
|
+
item?: ComponentData;
|
362
|
+
type?: keyof DefaultComponentProps;
|
363
|
+
}) => {
|
364
|
+
[x: string]: boolean | undefined;
|
365
|
+
drag?: boolean | undefined;
|
366
|
+
duplicate?: boolean | undefined;
|
367
|
+
delete?: boolean | undefined;
|
368
|
+
edit?: boolean | undefined;
|
369
|
+
insert?: boolean | undefined;
|
370
|
+
};
|
371
|
+
history: {
|
372
|
+
back: VoidFunction;
|
373
|
+
forward: VoidFunction;
|
374
|
+
setHistories: (histories: History[]) => void;
|
375
|
+
setHistoryIndex: (index: number) => void;
|
376
|
+
hasPast: boolean;
|
377
|
+
hasFuture: boolean;
|
378
|
+
histories: History<any>[];
|
379
|
+
index: number;
|
380
|
+
historyStore: HistoryStore | undefined;
|
381
|
+
};
|
382
|
+
selectedItem: ComponentData<any, string> | null;
|
341
383
|
};
|
342
384
|
|
343
|
-
export { AppState, AutoField, AutoFieldPrivate, Button, ComponentData, Config, Data, DefaultComponentProps,
|
385
|
+
export { Action, ActionBar, AppState, AutoField, AutoFieldPrivate, Button, ComponentData, Config, Data, DefaultComponentProps, DefaultRootFieldProps, Drawer, DropZone, DropZoneProvider, ExtractPropsFromConfig, ExtractRootPropsFromConfig, Field, FieldLabel, FieldLabelInternal, FieldProps, type FieldPropsInternal, type History, IconButton, Permissions, type Plugin, Puck, type PuckAction, Render, UiState, dropZoneContext, migrate, resolveAllData, transformProps, usePuck };
|