@measured/puck 0.12.0-canary.12cea1e → 0.12.0-canary.27e3e7e
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/README.md +20 -456
- package/dist/{Config-60a50493.d.ts → Config-a03de579.d.ts} +1 -0
- package/dist/index.css +287 -150
- package/dist/index.d.ts +4 -4
- package/dist/index.js +415 -523
- package/dist/rsc.d.ts +1 -1
- package/package.json +22 -1
package/dist/index.d.ts
CHANGED
@@ -1,8 +1,8 @@
|
|
1
|
-
import { U as UiState, D as Data, A as AppState, C as Config, I as ItemSelector, M as MappedItem, R as RootDataWithProps, a as DefaultRootProps, b as RootData } from './Config-
|
2
|
-
export { d as Adaptor, c as ArrayField, p as ArrayState, l as BaseData, B as BaseField, k as ComponentConfig, m as ComponentData, i as Content, f as CustomField, g as DefaultComponentProps, q as DropZone, e as ExternalField, E as ExternalFieldWithAdaptor, F as Field, h as Fields, o as ItemWithId, P as PuckComponent, j as PuckContext, n as RootDataWithoutProps, S as SelectField, T as TextField } from './Config-
|
1
|
+
import { U as UiState, D as Data, A as AppState, C as Config, I as ItemSelector, M as MappedItem, R as RootDataWithProps, a as DefaultRootProps, b as RootData } from './Config-a03de579.js';
|
2
|
+
export { d as Adaptor, c as ArrayField, p as ArrayState, l as BaseData, B as BaseField, k as ComponentConfig, m as ComponentData, i as Content, f as CustomField, g as DefaultComponentProps, q as DropZone, e as ExternalField, E as ExternalFieldWithAdaptor, F as Field, h as Fields, o as ItemWithId, P as PuckComponent, j as PuckContext, n as RootDataWithoutProps, S as SelectField, T as TextField } from './Config-a03de579.js';
|
3
3
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
4
4
|
import * as react from 'react';
|
5
|
-
import { ReactNode, CSSProperties, ReactElement } from 'react';
|
5
|
+
import { ReactNode, CSSProperties, SyntheticEvent, ReactElement } from 'react';
|
6
6
|
import { DragStart, DragUpdate } from '@hello-pangea/dnd';
|
7
7
|
|
8
8
|
type InsertAction = {
|
@@ -116,7 +116,7 @@ declare const Button: ({ children, href, onClick, variant, type, disabled, tabIn
|
|
116
116
|
declare const IconButton: ({ children, href, onClick, variant, type, disabled, tabIndex, newTab, fullWidth, title, }: {
|
117
117
|
children: ReactNode;
|
118
118
|
href?: string | undefined;
|
119
|
-
onClick?: ((e:
|
119
|
+
onClick?: ((e: SyntheticEvent) => void | Promise<void>) | undefined;
|
120
120
|
variant?: "primary" | "secondary" | undefined;
|
121
121
|
type?: "reset" | "submit" | "button" | undefined;
|
122
122
|
disabled?: boolean | undefined;
|