@measured/puck 0.21.0-canary.c78dc826 → 0.21.0-canary.d1e8fa71
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-F2LSS6SE.css → Editor-IQP25PUX.css} +28 -27
- package/dist/{Editor-N46HUQEC.mjs → Editor-L3JAAT2X.mjs} +13 -10
- package/dist/{Render-QEMDIDQC.css → Render-3OV4N4MT.css} +28 -27
- package/dist/{Render-Y567PGZ7.mjs → Render-FXZX6NFH.mjs} +6 -4
- package/dist/{walk-tree-Ja9bNCM9.d.mts → actions-tsxxcX1z.d.mts} +24 -35
- package/dist/{walk-tree-Ja9bNCM9.d.ts → actions-tsxxcX1z.d.ts} +24 -35
- package/dist/chunk-23IZFPL7.mjs +528 -0
- package/dist/{chunk-C2TVYIYC.mjs → chunk-3SDLQIUZ.mjs} +57 -43
- package/dist/chunk-45I5SDOI.mjs +134 -0
- package/dist/{chunk-DNF2EMM4.mjs → chunk-5ZZVX2Z3.mjs} +2 -2
- package/dist/chunk-AOEDIUVK.mjs +11 -0
- package/dist/{chunk-DJSH5REF.mjs → chunk-B7REOAA7.mjs} +24 -126
- package/dist/{chunk-K3V4LVUL.mjs → chunk-BXQQARCR.mjs} +14 -10
- package/dist/{chunk-TB3SSIAY.mjs → chunk-CQUAWHOK.mjs} +5224 -4509
- package/dist/{chunk-7KY6RHEY.mjs → chunk-D2SRL6YA.mjs} +101 -524
- package/dist/{chunk-GQKMOYLG.mjs → chunk-LJEGWHDD.mjs} +2 -2
- package/dist/{chunk-DCSQEDMK.mjs → chunk-M6W7YEVX.mjs} +1 -100
- package/dist/{chunk-FNWOH4R6.mjs → chunk-PBAAIKXA.mjs} +8 -6
- package/dist/{chunk-3QHWXJEI.mjs → chunk-U4VSQKO3.mjs} +2 -2
- package/dist/{chunk-R6CVX2IY.mjs → chunk-V5I7CVLT.mjs} +1 -1
- package/dist/chunk-Y2EFNT5P.mjs +108 -0
- package/dist/{full-NLUNPJWS.mjs → full-L7DWVNTZ.mjs} +10 -7
- package/dist/index-Ca6V6NQD.d.ts +118 -0
- package/dist/index-mQvUCH3C.d.mts +118 -0
- package/dist/index.css +732 -341
- package/dist/index.d.mts +29 -120
- package/dist/index.d.ts +29 -120
- package/dist/index.js +3273 -2392
- package/dist/index.mjs +22 -16
- package/dist/internal.d.mts +27 -0
- package/dist/internal.d.ts +27 -0
- package/dist/internal.js +927 -0
- package/dist/internal.mjs +13 -0
- package/dist/{loaded-HMSPJUZM.mjs → loaded-2HLHDP2G.mjs} +7 -4
- package/dist/{loaded-EV34KGYJ.mjs → loaded-LZUXYAGW.mjs} +7 -4
- package/dist/{loaded-ZXOU6S6R.mjs → loaded-UHVTB6OD.mjs} +7 -4
- package/dist/no-external.css +870 -475
- package/dist/no-external.d.mts +4 -2
- package/dist/no-external.d.ts +4 -2
- package/dist/no-external.js +3276 -2392
- package/dist/no-external.mjs +22 -11
- package/dist/rsc.css +28 -27
- package/dist/rsc.d.mts +2 -2
- package/dist/rsc.d.ts +2 -2
- package/dist/rsc.js +56 -29
- package/dist/rsc.mjs +6 -4
- package/dist/walk-tree-Bh85NMeo.d.ts +29 -0
- package/dist/walk-tree-CDA3K5S3.d.mts +29 -0
- package/package.json +9 -4
- package/dist/chunk-WUWXFMEM.mjs +0 -11
package/dist/index.mjs
CHANGED
|
@@ -6,21 +6,25 @@ import {
|
|
|
6
6
|
FieldLabel,
|
|
7
7
|
Puck,
|
|
8
8
|
Render,
|
|
9
|
+
blocksPlugin,
|
|
9
10
|
createUsePuck,
|
|
11
|
+
fieldsPlugin,
|
|
12
|
+
legacySideBarPlugin,
|
|
13
|
+
outlinePlugin,
|
|
10
14
|
overrideKeys,
|
|
11
15
|
registerOverlayPortal,
|
|
12
16
|
renderContext,
|
|
13
17
|
setDeep,
|
|
14
18
|
useGetPuck,
|
|
15
19
|
usePuck
|
|
16
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-CQUAWHOK.mjs";
|
|
21
|
+
import "./chunk-PBAAIKXA.mjs";
|
|
17
22
|
import {
|
|
18
23
|
migrate,
|
|
19
24
|
resolveAllData,
|
|
20
25
|
transformProps
|
|
21
|
-
} from "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-WUWXFMEM.mjs";
|
|
26
|
+
} from "./chunk-3SDLQIUZ.mjs";
|
|
27
|
+
import "./chunk-AOEDIUVK.mjs";
|
|
24
28
|
import {
|
|
25
29
|
Action,
|
|
26
30
|
ActionBar,
|
|
@@ -29,20 +33,18 @@ import {
|
|
|
29
33
|
Label,
|
|
30
34
|
RichTextMenu,
|
|
31
35
|
Separator
|
|
32
|
-
} from "./chunk-
|
|
33
|
-
import "./chunk-
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
36
|
+
} from "./chunk-BXQQARCR.mjs";
|
|
37
|
+
import "./chunk-LJEGWHDD.mjs";
|
|
38
|
+
import "./chunk-5ZZVX2Z3.mjs";
|
|
39
|
+
import "./chunk-U4VSQKO3.mjs";
|
|
40
|
+
import "./chunk-D2SRL6YA.mjs";
|
|
41
|
+
import "./chunk-23IZFPL7.mjs";
|
|
42
|
+
import "./chunk-45I5SDOI.mjs";
|
|
43
|
+
import "./chunk-Y2EFNT5P.mjs";
|
|
37
44
|
import {
|
|
38
45
|
walkTree
|
|
39
|
-
} from "./chunk-
|
|
40
|
-
import
|
|
41
|
-
init_react_import
|
|
42
|
-
} from "./chunk-DCSQEDMK.mjs";
|
|
43
|
-
|
|
44
|
-
// bundle/index.ts
|
|
45
|
-
init_react_import();
|
|
46
|
+
} from "./chunk-B7REOAA7.mjs";
|
|
47
|
+
import "./chunk-M6W7YEVX.mjs";
|
|
46
48
|
export {
|
|
47
49
|
Action,
|
|
48
50
|
ActionBar,
|
|
@@ -58,8 +60,12 @@ export {
|
|
|
58
60
|
Render,
|
|
59
61
|
RichTextMenu,
|
|
60
62
|
Separator,
|
|
63
|
+
blocksPlugin,
|
|
61
64
|
createUsePuck,
|
|
65
|
+
fieldsPlugin,
|
|
66
|
+
legacySideBarPlugin,
|
|
62
67
|
migrate,
|
|
68
|
+
outlinePlugin,
|
|
63
69
|
overrideKeys,
|
|
64
70
|
registerOverlayPortal,
|
|
65
71
|
renderContext,
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { Reducer } from 'react';
|
|
2
|
+
import { D as Data, A as AppState, O as OnAction, P as PrivateAppState, a as PuckAction } from './actions-tsxxcX1z.mjs';
|
|
3
|
+
import { A as AppStore } from './index-mQvUCH3C.mjs';
|
|
4
|
+
import '@tiptap/react';
|
|
5
|
+
import '@tiptap/extension-blockquote';
|
|
6
|
+
import '@tiptap/extension-bold';
|
|
7
|
+
import '@tiptap/extension-code';
|
|
8
|
+
import '@tiptap/extension-code-block';
|
|
9
|
+
import '@tiptap/extension-hard-break';
|
|
10
|
+
import '@tiptap/extension-heading';
|
|
11
|
+
import '@tiptap/extension-horizontal-rule';
|
|
12
|
+
import '@tiptap/extension-italic';
|
|
13
|
+
import '@tiptap/extension-link';
|
|
14
|
+
import '@tiptap/extension-list';
|
|
15
|
+
import '@tiptap/extension-paragraph';
|
|
16
|
+
import '@tiptap/extension-strike';
|
|
17
|
+
import '@tiptap/extension-text-align';
|
|
18
|
+
import '@tiptap/extension-underline';
|
|
19
|
+
|
|
20
|
+
type StateReducer<UserData extends Data = Data> = Reducer<PrivateAppState<UserData>, PuckAction>;
|
|
21
|
+
declare function createReducer<UserData extends Data>({ record, onAction, appStore, }: {
|
|
22
|
+
record?: (appState: AppState<UserData>) => void;
|
|
23
|
+
onAction?: OnAction<UserData>;
|
|
24
|
+
appStore: AppStore;
|
|
25
|
+
}): StateReducer<UserData>;
|
|
26
|
+
|
|
27
|
+
export { createReducer };
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { Reducer } from 'react';
|
|
2
|
+
import { D as Data, A as AppState, O as OnAction, P as PrivateAppState, a as PuckAction } from './actions-tsxxcX1z.js';
|
|
3
|
+
import { A as AppStore } from './index-Ca6V6NQD.js';
|
|
4
|
+
import '@tiptap/react';
|
|
5
|
+
import '@tiptap/extension-blockquote';
|
|
6
|
+
import '@tiptap/extension-bold';
|
|
7
|
+
import '@tiptap/extension-code';
|
|
8
|
+
import '@tiptap/extension-code-block';
|
|
9
|
+
import '@tiptap/extension-hard-break';
|
|
10
|
+
import '@tiptap/extension-heading';
|
|
11
|
+
import '@tiptap/extension-horizontal-rule';
|
|
12
|
+
import '@tiptap/extension-italic';
|
|
13
|
+
import '@tiptap/extension-link';
|
|
14
|
+
import '@tiptap/extension-list';
|
|
15
|
+
import '@tiptap/extension-paragraph';
|
|
16
|
+
import '@tiptap/extension-strike';
|
|
17
|
+
import '@tiptap/extension-text-align';
|
|
18
|
+
import '@tiptap/extension-underline';
|
|
19
|
+
|
|
20
|
+
type StateReducer<UserData extends Data = Data> = Reducer<PrivateAppState<UserData>, PuckAction>;
|
|
21
|
+
declare function createReducer<UserData extends Data>({ record, onAction, appStore, }: {
|
|
22
|
+
record?: (appState: AppState<UserData>) => void;
|
|
23
|
+
onAction?: OnAction<UserData>;
|
|
24
|
+
appStore: AppStore;
|
|
25
|
+
}): StateReducer<UserData>;
|
|
26
|
+
|
|
27
|
+
export { createReducer };
|