@measured/puck 0.21.0-canary.79a26849 → 0.21.0-canary.7c2f9283
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-32UYWE6W.mjs +204 -0
- package/dist/Editor-IQP25PUX.css +404 -0
- package/dist/Render-3OV4N4MT.css +102 -0
- package/dist/Render-FXZX6NFH.mjs +55 -0
- package/dist/{walk-tree-CgWnYC1X.d.mts → actions-BkBoKAc5.d.mts} +226 -37
- package/dist/{walk-tree-CgWnYC1X.d.ts → actions-BkBoKAc5.d.ts} +226 -37
- package/dist/chunk-3VQHXASI.mjs +33 -0
- package/dist/chunk-6KNQXLQR.mjs +708 -0
- package/dist/chunk-AOEDIUVK.mjs +11 -0
- package/dist/{chunk-UABEUL66.mjs → chunk-FCCNEDWR.mjs} +6964 -7964
- package/dist/chunk-GVKHZNTR.mjs +53 -0
- package/dist/chunk-K562SEXI.mjs +1813 -0
- package/dist/chunk-KN3XDS7U.mjs +528 -0
- package/dist/chunk-M6W7YEVX.mjs +95 -0
- package/dist/chunk-MEL7FUSF.mjs +63 -0
- package/dist/chunk-NYGQH27S.mjs +445 -0
- package/dist/chunk-Q3TJ2VYO.mjs +436 -0
- package/dist/chunk-REWRIUGR.mjs +156 -0
- package/dist/chunk-V2IQTPPK.mjs +111 -0
- package/dist/chunk-V5I7CVLT.mjs +103 -0
- package/dist/chunk-Y2EFNT5P.mjs +108 -0
- package/dist/full-2GJTAAZE.css +301 -0
- package/dist/full-4OS3O57Y.mjs +93 -0
- package/dist/index-bqD1SEOb.d.mts +118 -0
- package/dist/index-lt1zf5WR.d.ts +118 -0
- package/dist/index.css +1032 -385
- package/dist/index.d.mts +115 -115
- package/dist/index.d.ts +115 -115
- package/dist/index.js +9636 -5416
- package/dist/index.mjs +34 -12
- 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-DCQVLO7I.mjs +57 -0
- package/dist/loaded-JGRO7BH7.mjs +57 -0
- package/dist/loaded-KKVJE5KH.mjs +60 -0
- package/dist/loaded-RVWBFK7L.css +87 -0
- package/dist/no-external.css +1121 -470
- package/dist/no-external.d.mts +19 -2
- package/dist/no-external.d.ts +19 -2
- package/dist/no-external.js +9639 -5416
- package/dist/no-external.mjs +36 -9
- package/dist/rsc.css +102 -0
- package/dist/rsc.d.mts +17 -2
- package/dist/rsc.d.ts +17 -2
- package/dist/rsc.js +547 -98
- package/dist/rsc.mjs +18 -9
- package/dist/walk-tree-CRRDqx6_.d.mts +29 -0
- package/dist/walk-tree-CS7sEpfG.d.ts +29 -0
- package/package.json +31 -4
- package/dist/chunk-JA7SEUEH.mjs +0 -966
package/dist/index.mjs
CHANGED
|
@@ -1,34 +1,50 @@
|
|
|
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,
|
|
9
|
+
blocksPlugin,
|
|
14
10
|
createUsePuck,
|
|
11
|
+
fieldsPlugin,
|
|
12
|
+
legacySideBarPlugin,
|
|
13
|
+
outlinePlugin,
|
|
15
14
|
overrideKeys,
|
|
16
15
|
registerOverlayPortal,
|
|
17
16
|
renderContext,
|
|
18
17
|
setDeep,
|
|
19
18
|
useGetPuck,
|
|
20
19
|
usePuck
|
|
21
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-FCCNEDWR.mjs";
|
|
21
|
+
import "./chunk-V2IQTPPK.mjs";
|
|
22
22
|
import {
|
|
23
|
-
init_react_import,
|
|
24
23
|
migrate,
|
|
25
24
|
resolveAllData,
|
|
26
|
-
transformProps
|
|
25
|
+
transformProps
|
|
26
|
+
} from "./chunk-NYGQH27S.mjs";
|
|
27
|
+
import "./chunk-AOEDIUVK.mjs";
|
|
28
|
+
import {
|
|
29
|
+
Action,
|
|
30
|
+
ActionBar,
|
|
31
|
+
Group,
|
|
32
|
+
IconButton,
|
|
33
|
+
Label,
|
|
34
|
+
RichTextMenu,
|
|
35
|
+
Separator
|
|
36
|
+
} from "./chunk-6KNQXLQR.mjs";
|
|
37
|
+
import "./chunk-GVKHZNTR.mjs";
|
|
38
|
+
import "./chunk-MEL7FUSF.mjs";
|
|
39
|
+
import "./chunk-3VQHXASI.mjs";
|
|
40
|
+
import "./chunk-K562SEXI.mjs";
|
|
41
|
+
import "./chunk-KN3XDS7U.mjs";
|
|
42
|
+
import "./chunk-REWRIUGR.mjs";
|
|
43
|
+
import "./chunk-Y2EFNT5P.mjs";
|
|
44
|
+
import {
|
|
27
45
|
walkTree
|
|
28
|
-
} from "./chunk-
|
|
29
|
-
|
|
30
|
-
// bundle/index.ts
|
|
31
|
-
init_react_import();
|
|
46
|
+
} from "./chunk-Q3TJ2VYO.mjs";
|
|
47
|
+
import "./chunk-M6W7YEVX.mjs";
|
|
32
48
|
export {
|
|
33
49
|
Action,
|
|
34
50
|
ActionBar,
|
|
@@ -42,8 +58,14 @@ export {
|
|
|
42
58
|
Label,
|
|
43
59
|
Puck,
|
|
44
60
|
Render,
|
|
61
|
+
RichTextMenu,
|
|
62
|
+
Separator,
|
|
63
|
+
blocksPlugin,
|
|
45
64
|
createUsePuck,
|
|
65
|
+
fieldsPlugin,
|
|
66
|
+
legacySideBarPlugin,
|
|
46
67
|
migrate,
|
|
68
|
+
outlinePlugin,
|
|
47
69
|
overrideKeys,
|
|
48
70
|
registerOverlayPortal,
|
|
49
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-BkBoKAc5.mjs';
|
|
3
|
+
import { A as AppStore } from './index-bqD1SEOb.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-BkBoKAc5.js';
|
|
3
|
+
import { A as AppStore } from './index-lt1zf5WR.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 };
|