@measured/puck 0.21.0-canary.a62292fd → 0.21.0-canary.a7a65997
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-O447AVCX.mjs → Editor-HG76DBFU.mjs} +9 -9
- package/dist/{actions-ONhOkrvf.d.mts → actions-tsxxcX1z.d.mts} +24 -9
- package/dist/{actions-ONhOkrvf.d.ts → actions-tsxxcX1z.d.ts} +24 -9
- package/dist/{chunk-QBGM4ELA.mjs → chunk-23IZFPL7.mjs} +1 -1
- package/dist/{chunk-T3WX7XJ6.mjs → chunk-45I5SDOI.mjs} +5 -3
- package/dist/{chunk-62AAYNXG.mjs → chunk-5ZZVX2Z3.mjs} +1 -1
- package/dist/{chunk-NLUHDYVR.mjs → chunk-B7REOAA7.mjs} +22 -3
- package/dist/{chunk-BSDEIOEK.mjs → chunk-BXQQARCR.mjs} +10 -8
- package/dist/{chunk-DAQLMM2T.mjs → chunk-D2SRL6YA.mjs} +89 -4
- package/dist/{chunk-Y656T6AQ.mjs → chunk-IQKX6A5D.mjs} +49 -39
- package/dist/{chunk-PLXSMBAA.mjs → chunk-LJEGWHDD.mjs} +1 -1
- package/dist/{chunk-2Q4PACDA.mjs → chunk-LR6HIXPR.mjs} +3 -3
- package/dist/{chunk-7GESFTRA.mjs → chunk-Q6MNES6D.mjs} +4315 -3693
- package/dist/{chunk-QAWJTCV5.mjs → chunk-U4VSQKO3.mjs} +1 -1
- package/dist/{full-BEMDJKDS.mjs → full-L7DWVNTZ.mjs} +8 -8
- package/dist/{index-BEoNHRI1.d.ts → index-Ca6V6NQD.d.ts} +3 -1
- package/dist/{index-DfxZ7tZF.d.mts → index-mQvUCH3C.d.mts} +3 -1
- package/dist/index.css +704 -314
- package/dist/index.d.mts +28 -9
- package/dist/index.d.ts +28 -9
- package/dist/index.js +2975 -2181
- package/dist/index.mjs +20 -17
- package/dist/internal.d.mts +2 -2
- package/dist/internal.d.ts +2 -2
- package/dist/internal.js +22 -3
- package/dist/internal.mjs +2 -2
- package/dist/{loaded-N3FYGF2Y.mjs → loaded-2HLHDP2G.mjs} +5 -5
- package/dist/{loaded-OBY7OMS6.mjs → loaded-LZUXYAGW.mjs} +5 -5
- package/dist/{loaded-JU3A7Y4L.mjs → loaded-UHVTB6OD.mjs} +5 -5
- package/dist/no-external.css +842 -448
- package/dist/no-external.d.mts +4 -4
- package/dist/no-external.d.ts +4 -4
- package/dist/no-external.js +2972 -2175
- package/dist/no-external.mjs +19 -11
- package/dist/rsc.d.mts +2 -2
- package/dist/rsc.d.ts +2 -2
- package/dist/rsc.js +55 -28
- package/dist/rsc.mjs +3 -3
- package/dist/{walk-tree-DHbAZ4wF.d.ts → walk-tree-Bh85NMeo.d.ts} +1 -1
- package/dist/{walk-tree-CdriEzFJ.d.mts → walk-tree-CDA3K5S3.d.mts} +1 -1
- package/package.json +1 -1
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
LoadedRichTextMenuInner
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-BXQQARCR.mjs";
|
|
4
|
+
import "./chunk-LJEGWHDD.mjs";
|
|
5
|
+
import "./chunk-5ZZVX2Z3.mjs";
|
|
6
|
+
import "./chunk-U4VSQKO3.mjs";
|
|
7
|
+
import "./chunk-D2SRL6YA.mjs";
|
|
8
|
+
import "./chunk-23IZFPL7.mjs";
|
|
9
|
+
import "./chunk-45I5SDOI.mjs";
|
|
10
10
|
import "./chunk-Y2EFNT5P.mjs";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-B7REOAA7.mjs";
|
|
12
12
|
import {
|
|
13
13
|
__spreadValues,
|
|
14
14
|
init_react_import
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { H as History, g as Permissions, c as ComponentData, C as Config, U as UserGenerics, F as Fields, a as PuckAction, h as RootDataWithProps, i as ResolveDataTrigger, j as Plugin, k as Overrides, V as Viewports, I as IframeConfig, l as UiState, m as ComponentConfig, A as AppState, M as Metadata, n as FieldTransforms, o as RichtextField } from './actions-
|
|
1
|
+
import { H as History, g as Permissions, c as ComponentData, C as Config, U as UserGenerics, F as Fields, a as PuckAction, h as RootDataWithProps, i as ResolveDataTrigger, j as Plugin, k as Overrides, V as Viewports, I as IframeConfig, l as UiState, m as ComponentConfig, A as AppState, M as Metadata, n as FieldTransforms, o as RichtextField } from './actions-tsxxcX1z.js';
|
|
2
2
|
import { Editor } from '@tiptap/react';
|
|
3
3
|
|
|
4
4
|
type HistorySlice<D = any> = {
|
|
@@ -73,6 +73,7 @@ type ComponentState = Record<string, {
|
|
|
73
73
|
loadingCount: number;
|
|
74
74
|
}>;
|
|
75
75
|
type AppStore<UserConfig extends Config = Config, G extends UserGenerics<UserConfig> = UserGenerics<UserConfig>> = {
|
|
76
|
+
instanceId: string;
|
|
76
77
|
state: G["UserAppState"];
|
|
77
78
|
dispatch: (action: PuckAction) => void;
|
|
78
79
|
config: UserConfig;
|
|
@@ -95,6 +96,7 @@ type AppStore<UserConfig extends Config = Config, G extends UserGenerics<UserCon
|
|
|
95
96
|
setStatus: (status: Status) => void;
|
|
96
97
|
iframe: IframeConfig;
|
|
97
98
|
selectedItem?: G["UserData"]["content"][0] | null;
|
|
99
|
+
getCurrentData: () => G["UserData"]["content"][0] | G["UserData"]["root"];
|
|
98
100
|
setUi: (ui: Partial<UiState>, recordHistory?: boolean) => void;
|
|
99
101
|
getComponentConfig: (type?: string) => ComponentConfig | null | undefined;
|
|
100
102
|
onAction?: (action: PuckAction, newState: AppState, state: AppState) => void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { H as History, g as Permissions, c as ComponentData, C as Config, U as UserGenerics, F as Fields, a as PuckAction, h as RootDataWithProps, i as ResolveDataTrigger, j as Plugin, k as Overrides, V as Viewports, I as IframeConfig, l as UiState, m as ComponentConfig, A as AppState, M as Metadata, n as FieldTransforms, o as RichtextField } from './actions-
|
|
1
|
+
import { H as History, g as Permissions, c as ComponentData, C as Config, U as UserGenerics, F as Fields, a as PuckAction, h as RootDataWithProps, i as ResolveDataTrigger, j as Plugin, k as Overrides, V as Viewports, I as IframeConfig, l as UiState, m as ComponentConfig, A as AppState, M as Metadata, n as FieldTransforms, o as RichtextField } from './actions-tsxxcX1z.mjs';
|
|
2
2
|
import { Editor } from '@tiptap/react';
|
|
3
3
|
|
|
4
4
|
type HistorySlice<D = any> = {
|
|
@@ -73,6 +73,7 @@ type ComponentState = Record<string, {
|
|
|
73
73
|
loadingCount: number;
|
|
74
74
|
}>;
|
|
75
75
|
type AppStore<UserConfig extends Config = Config, G extends UserGenerics<UserConfig> = UserGenerics<UserConfig>> = {
|
|
76
|
+
instanceId: string;
|
|
76
77
|
state: G["UserAppState"];
|
|
77
78
|
dispatch: (action: PuckAction) => void;
|
|
78
79
|
config: UserConfig;
|
|
@@ -95,6 +96,7 @@ type AppStore<UserConfig extends Config = Config, G extends UserGenerics<UserCon
|
|
|
95
96
|
setStatus: (status: Status) => void;
|
|
96
97
|
iframe: IframeConfig;
|
|
97
98
|
selectedItem?: G["UserData"]["content"][0] | null;
|
|
99
|
+
getCurrentData: () => G["UserData"]["content"][0] | G["UserData"]["root"];
|
|
98
100
|
setUi: (ui: Partial<UiState>, recordHistory?: boolean) => void;
|
|
99
101
|
getComponentConfig: (type?: string) => ComponentConfig | null | undefined;
|
|
100
102
|
onAction?: (action: PuckAction, newState: AppState, state: AppState) => void;
|