@measured/puck 0.21.0-canary.f3ce0d72 → 0.21.0-canary.fee2ba98
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-EHVB6NFF.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-CL-j099F.d.mts → actions-DwdqNb63.d.mts} +216 -52
- package/dist/{walk-tree-CL-j099F.d.ts → actions-DwdqNb63.d.ts} +216 -52
- package/dist/chunk-2334PLLL.mjs +111 -0
- package/dist/chunk-4N3WJM5Y.mjs +33 -0
- package/dist/{chunk-73365SXB.mjs → chunk-6AGLD64M.mjs} +5492 -7477
- package/dist/chunk-CSSRLPHM.mjs +11 -0
- package/dist/chunk-D6RJOV2Z.mjs +1727 -0
- package/dist/chunk-M6W7YEVX.mjs +95 -0
- package/dist/chunk-NLUHDYVR.mjs +416 -0
- package/dist/chunk-NQEE2254.mjs +706 -0
- package/dist/chunk-PXYVL42X.mjs +53 -0
- package/dist/chunk-QBGM4ELA.mjs +528 -0
- package/dist/chunk-QLQZDFXM.mjs +63 -0
- package/dist/chunk-T3WX7XJ6.mjs +132 -0
- package/dist/chunk-V5I7CVLT.mjs +103 -0
- package/dist/chunk-Y2EFNT5P.mjs +108 -0
- package/dist/chunk-Y656T6AQ.mjs +419 -0
- package/dist/full-2GJTAAZE.css +301 -0
- package/dist/full-TVZATY2K.mjs +93 -0
- package/dist/index-AfAtzigt.d.ts +117 -0
- package/dist/index-jxA1wrW4.d.mts +117 -0
- package/dist/index.css +636 -759
- package/dist/index.d.mts +100 -133
- package/dist/index.d.ts +100 -133
- package/dist/index.js +8328 -5321
- package/dist/index.mjs +26 -20
- 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-ICVILKS6.mjs +60 -0
- package/dist/loaded-IHAGHNLA.mjs +57 -0
- package/dist/loaded-ONU7LATV.mjs +57 -0
- package/dist/loaded-RVWBFK7L.css +87 -0
- package/dist/no-external.css +736 -855
- package/dist/no-external.d.mts +19 -2
- package/dist/no-external.d.ts +19 -2
- package/dist/no-external.js +8331 -5321
- package/dist/no-external.mjs +28 -17
- package/dist/rsc.css +101 -0
- package/dist/rsc.d.mts +17 -2
- package/dist/rsc.d.ts +17 -2
- package/dist/rsc.js +411 -26
- package/dist/rsc.mjs +18 -9
- package/dist/walk-tree-DRy9ca1P.d.ts +29 -0
- package/dist/walk-tree-Dppc3XGY.d.mts +29 -0
- package/package.json +31 -4
- package/dist/chunk-FY5AZKYD.mjs +0 -967
package/dist/index.mjs
CHANGED
|
@@ -1,38 +1,46 @@
|
|
|
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
|
-
blocksPlugin,
|
|
15
|
-
createReducer,
|
|
16
9
|
createUsePuck,
|
|
17
|
-
fieldsPlugin,
|
|
18
|
-
outlinePlugin,
|
|
19
10
|
overrideKeys,
|
|
20
11
|
registerOverlayPortal,
|
|
21
12
|
renderContext,
|
|
22
13
|
setDeep,
|
|
23
14
|
useGetPuck,
|
|
24
15
|
usePuck
|
|
25
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-6AGLD64M.mjs";
|
|
17
|
+
import "./chunk-2334PLLL.mjs";
|
|
26
18
|
import {
|
|
27
|
-
init_react_import,
|
|
28
19
|
migrate,
|
|
29
20
|
resolveAllData,
|
|
30
|
-
transformProps
|
|
21
|
+
transformProps
|
|
22
|
+
} from "./chunk-Y656T6AQ.mjs";
|
|
23
|
+
import "./chunk-CSSRLPHM.mjs";
|
|
24
|
+
import {
|
|
25
|
+
Action,
|
|
26
|
+
ActionBar,
|
|
27
|
+
Group,
|
|
28
|
+
IconButton,
|
|
29
|
+
Label,
|
|
30
|
+
RichTextMenu,
|
|
31
|
+
Separator
|
|
32
|
+
} from "./chunk-NQEE2254.mjs";
|
|
33
|
+
import "./chunk-PXYVL42X.mjs";
|
|
34
|
+
import "./chunk-QLQZDFXM.mjs";
|
|
35
|
+
import "./chunk-4N3WJM5Y.mjs";
|
|
36
|
+
import "./chunk-D6RJOV2Z.mjs";
|
|
37
|
+
import "./chunk-QBGM4ELA.mjs";
|
|
38
|
+
import "./chunk-T3WX7XJ6.mjs";
|
|
39
|
+
import "./chunk-Y2EFNT5P.mjs";
|
|
40
|
+
import {
|
|
31
41
|
walkTree
|
|
32
|
-
} from "./chunk-
|
|
33
|
-
|
|
34
|
-
// bundle/index.ts
|
|
35
|
-
init_react_import();
|
|
42
|
+
} from "./chunk-NLUHDYVR.mjs";
|
|
43
|
+
import "./chunk-M6W7YEVX.mjs";
|
|
36
44
|
export {
|
|
37
45
|
Action,
|
|
38
46
|
ActionBar,
|
|
@@ -46,12 +54,10 @@ export {
|
|
|
46
54
|
Label,
|
|
47
55
|
Puck,
|
|
48
56
|
Render,
|
|
49
|
-
|
|
50
|
-
|
|
57
|
+
RichTextMenu,
|
|
58
|
+
Separator,
|
|
51
59
|
createUsePuck,
|
|
52
|
-
fieldsPlugin,
|
|
53
60
|
migrate,
|
|
54
|
-
outlinePlugin,
|
|
55
61
|
overrideKeys,
|
|
56
62
|
registerOverlayPortal,
|
|
57
63
|
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-DwdqNb63.mjs';
|
|
3
|
+
import { A as AppStore } from './index-jxA1wrW4.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-DwdqNb63.js';
|
|
3
|
+
import { A as AppStore } from './index-AfAtzigt.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 };
|