@measured/puck 0.21.0-canary.d32e582b → 0.21.0-canary.e1cbf777
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-CYTATURR.mjs +204 -0
- package/dist/Editor-F2LSS6SE.css +403 -0
- package/dist/Render-OFE6QLI2.mjs +55 -0
- package/dist/Render-QEMDIDQC.css +101 -0
- package/dist/{walk-tree-DiatHoF-.d.mts → actions-tsxxcX1z.d.mts} +268 -77
- package/dist/{walk-tree-DiatHoF-.d.ts → actions-tsxxcX1z.d.ts} +268 -77
- package/dist/chunk-72SA22GI.mjs +134 -0
- package/dist/{chunk-VVS2EUKT.mjs → chunk-BFXJG3MG.mjs} +4963 -6727
- package/dist/chunk-CSSRLPHM.mjs +11 -0
- package/dist/chunk-M4QBB3JM.mjs +111 -0
- package/dist/chunk-M6W7YEVX.mjs +95 -0
- package/dist/chunk-MLTVJA2A.mjs +63 -0
- package/dist/chunk-MVJKIFF6.mjs +419 -0
- package/dist/chunk-NLUHDYVR.mjs +416 -0
- package/dist/chunk-NOJQSXRU.mjs +33 -0
- package/dist/chunk-QBGM4ELA.mjs +528 -0
- package/dist/chunk-UNQOU2OI.mjs +53 -0
- package/dist/chunk-UUOBSXZR.mjs +1807 -0
- package/dist/chunk-V5I7CVLT.mjs +103 -0
- package/dist/chunk-V7333LON.mjs +708 -0
- package/dist/chunk-Y2EFNT5P.mjs +108 -0
- package/dist/full-2GJTAAZE.css +301 -0
- package/dist/full-GZ4L3XCF.mjs +93 -0
- package/dist/index-Ca6V6NQD.d.ts +118 -0
- package/dist/index-mQvUCH3C.d.mts +118 -0
- package/dist/index.css +403 -133
- package/dist/index.d.mts +106 -115
- package/dist/index.d.ts +106 -115
- package/dist/index.js +6856 -3481
- package/dist/index.mjs +28 -12
- package/dist/internal.d.mts +27 -0
- package/dist/internal.d.ts +27 -0
- package/dist/internal.js +908 -0
- package/dist/internal.mjs +13 -0
- package/dist/loaded-2MNXXPJP.mjs +57 -0
- package/dist/loaded-6QT4HD2O.mjs +57 -0
- package/dist/loaded-RVWBFK7L.css +87 -0
- package/dist/loaded-ZVPBQVNE.mjs +60 -0
- package/dist/no-external.css +550 -276
- package/dist/no-external.d.mts +19 -2
- package/dist/no-external.d.ts +19 -2
- package/dist/no-external.js +6862 -3484
- package/dist/no-external.mjs +30 -9
- package/dist/rsc.css +101 -0
- package/dist/rsc.d.mts +17 -2
- package/dist/rsc.d.ts +17 -2
- package/dist/rsc.js +423 -36
- package/dist/rsc.mjs +18 -9
- package/dist/walk-tree-Bh85NMeo.d.ts +29 -0
- package/dist/walk-tree-CDA3K5S3.d.mts +29 -0
- package/package.json +51 -5
- package/dist/chunk-XYKLHT4R.mjs +0 -966
package/dist/index.mjs
CHANGED
|
@@ -1,19 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
|
-
Action,
|
|
3
|
-
ActionBar,
|
|
4
2
|
AutoField,
|
|
5
3
|
Button,
|
|
6
4
|
Drawer,
|
|
7
5
|
DropZone,
|
|
8
6
|
FieldLabel,
|
|
9
|
-
Group,
|
|
10
|
-
IconButton,
|
|
11
|
-
Label,
|
|
12
7
|
Puck,
|
|
13
8
|
Render,
|
|
14
9
|
blocksPlugin,
|
|
15
10
|
createUsePuck,
|
|
16
11
|
fieldsPlugin,
|
|
12
|
+
legacySideBarPlugin,
|
|
17
13
|
outlinePlugin,
|
|
18
14
|
overrideKeys,
|
|
19
15
|
registerOverlayPortal,
|
|
@@ -21,17 +17,34 @@ import {
|
|
|
21
17
|
setDeep,
|
|
22
18
|
useGetPuck,
|
|
23
19
|
usePuck
|
|
24
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-BFXJG3MG.mjs";
|
|
21
|
+
import "./chunk-M4QBB3JM.mjs";
|
|
25
22
|
import {
|
|
26
|
-
init_react_import,
|
|
27
23
|
migrate,
|
|
28
24
|
resolveAllData,
|
|
29
|
-
transformProps
|
|
25
|
+
transformProps
|
|
26
|
+
} from "./chunk-MVJKIFF6.mjs";
|
|
27
|
+
import "./chunk-CSSRLPHM.mjs";
|
|
28
|
+
import {
|
|
29
|
+
Action,
|
|
30
|
+
ActionBar,
|
|
31
|
+
Group,
|
|
32
|
+
IconButton,
|
|
33
|
+
Label,
|
|
34
|
+
RichTextMenu,
|
|
35
|
+
Separator
|
|
36
|
+
} from "./chunk-V7333LON.mjs";
|
|
37
|
+
import "./chunk-UNQOU2OI.mjs";
|
|
38
|
+
import "./chunk-MLTVJA2A.mjs";
|
|
39
|
+
import "./chunk-NOJQSXRU.mjs";
|
|
40
|
+
import "./chunk-UUOBSXZR.mjs";
|
|
41
|
+
import "./chunk-QBGM4ELA.mjs";
|
|
42
|
+
import "./chunk-72SA22GI.mjs";
|
|
43
|
+
import "./chunk-Y2EFNT5P.mjs";
|
|
44
|
+
import {
|
|
30
45
|
walkTree
|
|
31
|
-
} from "./chunk-
|
|
32
|
-
|
|
33
|
-
// bundle/index.ts
|
|
34
|
-
init_react_import();
|
|
46
|
+
} from "./chunk-NLUHDYVR.mjs";
|
|
47
|
+
import "./chunk-M6W7YEVX.mjs";
|
|
35
48
|
export {
|
|
36
49
|
Action,
|
|
37
50
|
ActionBar,
|
|
@@ -45,9 +58,12 @@ export {
|
|
|
45
58
|
Label,
|
|
46
59
|
Puck,
|
|
47
60
|
Render,
|
|
61
|
+
RichTextMenu,
|
|
62
|
+
Separator,
|
|
48
63
|
blocksPlugin,
|
|
49
64
|
createUsePuck,
|
|
50
65
|
fieldsPlugin,
|
|
66
|
+
legacySideBarPlugin,
|
|
51
67
|
migrate,
|
|
52
68
|
outlinePlugin,
|
|
53
69
|
overrideKeys,
|
|
@@ -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 };
|