@puckeditor/core 0.23.0-canary.9bf3e00a → 0.23.0-canary.db035ce5
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/{Editor-ZZW3KF2T.css → Editor-T7TKW6NT.css} +7 -7
- package/dist/{Editor-BJP5AFD5.mjs → Editor-Z6P5UAVB.mjs} +8 -8
- package/dist/{actions-Csn3gOP8.d.mts → actions-3w-1VzY_.d.mts} +7 -1
- package/dist/{actions-Csn3gOP8.d.ts → actions-3w-1VzY_.d.ts} +7 -1
- package/dist/{chunk-WQV7W7OC.mjs → chunk-3OLRWMRO.mjs} +7 -7
- package/dist/{chunk-JNJJ2M57.mjs → chunk-3TERNOIP.mjs} +1 -1
- package/dist/{chunk-JHNG6XYK.mjs → chunk-DIYX54ZO.mjs} +19 -5
- package/dist/{chunk-HB4CVO3I.mjs → chunk-L73ATZ55.mjs} +1 -1
- package/dist/{chunk-WUO7D6OQ.mjs → chunk-NPAYGEG5.mjs} +1 -0
- package/dist/{chunk-MU6IPW26.mjs → chunk-OCFR2FFG.mjs} +1 -1
- package/dist/{chunk-Q6WCB6GM.mjs → chunk-OQD6Q7CY.mjs} +1835 -706
- package/dist/{chunk-EYJW64M2.mjs → chunk-OSPG5CWL.mjs} +1 -1
- package/dist/{chunk-BMRBP3ET.mjs → chunk-PJYHZPJK.mjs} +3 -3
- package/dist/{chunk-25QAPMLH.mjs → chunk-UAWUZ45G.mjs} +41 -18
- package/dist/{full-7ONH7UPJ.mjs → full-67VCA5MX.mjs} +7 -7
- package/dist/{full-S3QQ2IBQ.css → full-AAZK6KLI.css} +7 -7
- package/dist/{index-De5Tn61v.d.mts → index-KWLAZybR.d.ts} +8 -3
- package/dist/{index-t7c1w81O.d.ts → index-l1l-a8tj.d.mts} +8 -3
- package/dist/index.css +308 -111
- package/dist/index.d.mts +6 -8
- package/dist/index.d.ts +6 -8
- package/dist/index.js +1940 -725
- package/dist/index.mjs +10 -10
- package/dist/internal.d.mts +2 -2
- package/dist/internal.d.ts +2 -2
- package/dist/internal.js +40 -18
- package/dist/internal.mjs +1 -1
- package/dist/{loaded-PF5Y4VWH.mjs → loaded-4XVG2RKQ.mjs} +4 -4
- package/dist/{loaded-FVWRAJR3.css → loaded-CA3Q7UHH.css} +7 -7
- package/dist/{loaded-35D7XAOE.mjs → loaded-LM723CWI.mjs} +4 -4
- package/dist/{loaded-6YDNF4HS.mjs → loaded-VBJBTUSI.mjs} +4 -4
- package/dist/no-external.css +308 -111
- package/dist/no-external.d.mts +3 -3
- package/dist/no-external.d.ts +3 -3
- package/dist/no-external.js +1940 -725
- package/dist/no-external.mjs +10 -10
- package/dist/rsc.d.mts +2 -2
- package/dist/rsc.d.ts +2 -2
- package/dist/rsc.js +1 -0
- package/dist/rsc.mjs +2 -2
- package/dist/{walk-tree-CWrsBHHe.d.ts → walk-tree-ConR82Y6.d.ts} +1 -1
- package/dist/{walk-tree-BrW9VQ_t.d.mts → walk-tree-DJMo6GTF.d.mts} +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { A as Adaptor, a as AppState, b as ArrayField, c as ArrayState, d as AsFieldProps, B as BaseData, e as BaseField, C as CacheOpts, f as ComponentConfig, g as ComponentConfigExtensions, h as ComponentConfigParams, j as ComponentDataMap, k as ComponentDataOptionalId, l as ComponentMetadata, n as ConfigParams, o as Content, p as CustomField, q as CustomFieldRender, r as DefaultComponentProps, s as DefaultComponents, t as DefaultRootFieldProps, u as DefaultRootProps, v as DefaultRootRenderProps, w as Direction,
|
|
3
|
-
import { D as Dictionary, A as AppStore, G as GetPermissions, R as RefreshPermissions, H as HistorySlice } from './index-
|
|
4
|
-
export { m as migrate, r as resolveAllData, t as transformProps, w as walkTree } from './walk-tree-
|
|
1
|
+
import { I as Field, K as FieldProps, z as DropZoneProps, m as Config, an as UserGenerics, D as Data, am as UiState, Z as OnAction, a0 as Permissions, a1 as Plugin, $ as Overrides, O as FieldTransforms, a4 as PuckAction, ap as Viewports, R as IframeConfig, x as DndConfig, S as InitialHistory, W as Metadata, a9 as ResolveDataTrigger, T as ItemSelector, i as ComponentData, a2 as PluginInternal } from './actions-3w-1VzY_.mjs';
|
|
2
|
+
export { A as Adaptor, a as AppState, b as ArrayField, c as ArrayState, d as AsFieldProps, B as BaseData, e as BaseField, C as CacheOpts, f as ComponentConfig, g as ComponentConfigExtensions, h as ComponentConfigParams, j as ComponentDataMap, k as ComponentDataOptionalId, l as ComponentMetadata, n as ConfigParams, o as Content, p as CustomField, q as CustomFieldRender, r as DefaultComponentProps, s as DefaultComponents, t as DefaultRootFieldProps, u as DefaultRootProps, v as DefaultRootRenderProps, w as Direction, y as DragAxis, E as ExternalField, F as ExternalFieldWithAdaptor, G as ExtractConfigParams, H as ExtractField, J as FieldMetadata, L as FieldRenderFunctions, M as FieldTransformFn, N as FieldTransformFnParams, P as Fields, Q as History, U as ItemWithId, V as MappedItem, X as NumberField, Y as ObjectField, _ as OverrideKey, a5 as PuckComponent, a6 as PuckContext, a7 as PuckMetadata, a8 as RadioField, aa as RichText, ab as RichtextField, ac as RootConfig, ad as RootData, ae as RootDataWithProps, af as RootDataWithoutProps, ag as SelectField, ah as Slot, ai as SlotComponent, aj as SlotField, ak as TextField, al as TextareaField, ao as Viewport, aq as WithChildren, ar as WithId, as as WithPuckProps, at as WithSlotProps, au as overrideKeys } from './actions-3w-1VzY_.mjs';
|
|
3
|
+
import { D as Dictionary, A as AppStore, G as GetPermissions, R as RefreshPermissions, H as HistorySlice } from './index-l1l-a8tj.mjs';
|
|
4
|
+
export { m as migrate, r as resolveAllData, t as transformProps, w as walkTree } from './walk-tree-DJMo6GTF.mjs';
|
|
5
5
|
import * as react from 'react';
|
|
6
6
|
import react__default, { ReactNode, SyntheticEvent, ReactElement, CSSProperties } from 'react';
|
|
7
7
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
@@ -145,9 +145,7 @@ type PuckProps<UserConfig extends Config = Config, G extends UserGenerics<UserCo
|
|
|
145
145
|
headerPath?: string;
|
|
146
146
|
viewports?: Viewports;
|
|
147
147
|
iframe?: IframeConfig;
|
|
148
|
-
dnd?:
|
|
149
|
-
disableAutoScroll?: boolean;
|
|
150
|
-
};
|
|
148
|
+
dnd?: DndConfig;
|
|
151
149
|
initialHistory?: InitialHistory;
|
|
152
150
|
metadata?: Metadata;
|
|
153
151
|
dictionary?: Dictionary;
|
|
@@ -322,4 +320,4 @@ declare const legacySideBarPlugin: (props?: {
|
|
|
322
320
|
componentsLabel?: string;
|
|
323
321
|
}) => Plugin;
|
|
324
322
|
|
|
325
|
-
export { Action, ActionBar, AutoField, type BlocksPluginProps, Button, ComponentData, Config, Data, Dictionary, Drawer, DropZone, Field, FieldLabel, FieldProps, FieldTransforms, Group, IconButton, IframeConfig, InitialHistory, Label, Metadata, OnAction, type OutlinePluginProps, Overrides, Permissions, Plugin, Puck, PuckAction, type PuckApi, Render, ResolveDataTrigger, RichTextMenu, Separator, UiState, type UsePuckData, UserGenerics, Viewports, blocksPlugin, createUsePuck, fieldsPlugin, legacySideBarPlugin, outlinePlugin, registerOverlayPortal, renderContext, setDeep, useGetPuck, usePuck };
|
|
323
|
+
export { Action, ActionBar, AutoField, type BlocksPluginProps, Button, ComponentData, Config, Data, Dictionary, DndConfig, Drawer, DropZone, Field, FieldLabel, FieldProps, FieldTransforms, Group, IconButton, IframeConfig, InitialHistory, Label, Metadata, OnAction, type OutlinePluginProps, Overrides, Permissions, Plugin, Puck, PuckAction, type PuckApi, Render, ResolveDataTrigger, RichTextMenu, Separator, UiState, type UsePuckData, UserGenerics, Viewports, blocksPlugin, createUsePuck, fieldsPlugin, legacySideBarPlugin, outlinePlugin, registerOverlayPortal, renderContext, setDeep, useGetPuck, usePuck };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export { A as Adaptor, a as AppState, b as ArrayField, c as ArrayState, d as AsFieldProps, B as BaseData, e as BaseField, C as CacheOpts, f as ComponentConfig, g as ComponentConfigExtensions, h as ComponentConfigParams, j as ComponentDataMap, k as ComponentDataOptionalId, l as ComponentMetadata, n as ConfigParams, o as Content, p as CustomField, q as CustomFieldRender, r as DefaultComponentProps, s as DefaultComponents, t as DefaultRootFieldProps, u as DefaultRootProps, v as DefaultRootRenderProps, w as Direction,
|
|
3
|
-
import { D as Dictionary, A as AppStore, G as GetPermissions, R as RefreshPermissions, H as HistorySlice } from './index-
|
|
4
|
-
export { m as migrate, r as resolveAllData, t as transformProps, w as walkTree } from './walk-tree-
|
|
1
|
+
import { I as Field, K as FieldProps, z as DropZoneProps, m as Config, an as UserGenerics, D as Data, am as UiState, Z as OnAction, a0 as Permissions, a1 as Plugin, $ as Overrides, O as FieldTransforms, a4 as PuckAction, ap as Viewports, R as IframeConfig, x as DndConfig, S as InitialHistory, W as Metadata, a9 as ResolveDataTrigger, T as ItemSelector, i as ComponentData, a2 as PluginInternal } from './actions-3w-1VzY_.js';
|
|
2
|
+
export { A as Adaptor, a as AppState, b as ArrayField, c as ArrayState, d as AsFieldProps, B as BaseData, e as BaseField, C as CacheOpts, f as ComponentConfig, g as ComponentConfigExtensions, h as ComponentConfigParams, j as ComponentDataMap, k as ComponentDataOptionalId, l as ComponentMetadata, n as ConfigParams, o as Content, p as CustomField, q as CustomFieldRender, r as DefaultComponentProps, s as DefaultComponents, t as DefaultRootFieldProps, u as DefaultRootProps, v as DefaultRootRenderProps, w as Direction, y as DragAxis, E as ExternalField, F as ExternalFieldWithAdaptor, G as ExtractConfigParams, H as ExtractField, J as FieldMetadata, L as FieldRenderFunctions, M as FieldTransformFn, N as FieldTransformFnParams, P as Fields, Q as History, U as ItemWithId, V as MappedItem, X as NumberField, Y as ObjectField, _ as OverrideKey, a5 as PuckComponent, a6 as PuckContext, a7 as PuckMetadata, a8 as RadioField, aa as RichText, ab as RichtextField, ac as RootConfig, ad as RootData, ae as RootDataWithProps, af as RootDataWithoutProps, ag as SelectField, ah as Slot, ai as SlotComponent, aj as SlotField, ak as TextField, al as TextareaField, ao as Viewport, aq as WithChildren, ar as WithId, as as WithPuckProps, at as WithSlotProps, au as overrideKeys } from './actions-3w-1VzY_.js';
|
|
3
|
+
import { D as Dictionary, A as AppStore, G as GetPermissions, R as RefreshPermissions, H as HistorySlice } from './index-KWLAZybR.js';
|
|
4
|
+
export { m as migrate, r as resolveAllData, t as transformProps, w as walkTree } from './walk-tree-ConR82Y6.js';
|
|
5
5
|
import * as react from 'react';
|
|
6
6
|
import react__default, { ReactNode, SyntheticEvent, ReactElement, CSSProperties } from 'react';
|
|
7
7
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
@@ -145,9 +145,7 @@ type PuckProps<UserConfig extends Config = Config, G extends UserGenerics<UserCo
|
|
|
145
145
|
headerPath?: string;
|
|
146
146
|
viewports?: Viewports;
|
|
147
147
|
iframe?: IframeConfig;
|
|
148
|
-
dnd?:
|
|
149
|
-
disableAutoScroll?: boolean;
|
|
150
|
-
};
|
|
148
|
+
dnd?: DndConfig;
|
|
151
149
|
initialHistory?: InitialHistory;
|
|
152
150
|
metadata?: Metadata;
|
|
153
151
|
dictionary?: Dictionary;
|
|
@@ -322,4 +320,4 @@ declare const legacySideBarPlugin: (props?: {
|
|
|
322
320
|
componentsLabel?: string;
|
|
323
321
|
}) => Plugin;
|
|
324
322
|
|
|
325
|
-
export { Action, ActionBar, AutoField, type BlocksPluginProps, Button, ComponentData, Config, Data, Dictionary, Drawer, DropZone, Field, FieldLabel, FieldProps, FieldTransforms, Group, IconButton, IframeConfig, InitialHistory, Label, Metadata, OnAction, type OutlinePluginProps, Overrides, Permissions, Plugin, Puck, PuckAction, type PuckApi, Render, ResolveDataTrigger, RichTextMenu, Separator, UiState, type UsePuckData, UserGenerics, Viewports, blocksPlugin, createUsePuck, fieldsPlugin, legacySideBarPlugin, outlinePlugin, registerOverlayPortal, renderContext, setDeep, useGetPuck, usePuck };
|
|
323
|
+
export { Action, ActionBar, AutoField, type BlocksPluginProps, Button, ComponentData, Config, Data, Dictionary, DndConfig, Drawer, DropZone, Field, FieldLabel, FieldProps, FieldTransforms, Group, IconButton, IframeConfig, InitialHistory, Label, Metadata, OnAction, type OutlinePluginProps, Overrides, Permissions, Plugin, Puck, PuckAction, type PuckApi, Render, ResolveDataTrigger, RichTextMenu, Separator, UiState, type UsePuckData, UserGenerics, Viewports, blocksPlugin, createUsePuck, fieldsPlugin, legacySideBarPlugin, outlinePlugin, registerOverlayPortal, renderContext, setDeep, useGetPuck, usePuck };
|