@puckeditor/core 0.21.0-canary.08cd0aca
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/README.md +114 -0
- package/dist/Editor-IQP25PUX.css +404 -0
- package/dist/Editor-L7XD2QW3.mjs +204 -0
- package/dist/Render-3OV4N4MT.css +102 -0
- package/dist/Render-FXZX6NFH.mjs +55 -0
- package/dist/actions-BkBoKAc5.d.mts +838 -0
- package/dist/actions-BkBoKAc5.d.ts +838 -0
- package/dist/chunk-7TZD3NRP.mjs +450 -0
- package/dist/chunk-AHX7X7NZ.mjs +156 -0
- package/dist/chunk-AOEDIUVK.mjs +11 -0
- package/dist/chunk-GLWC4QRX.mjs +8074 -0
- package/dist/chunk-HLB66X4S.mjs +1813 -0
- package/dist/chunk-M6W7YEVX.mjs +95 -0
- package/dist/chunk-MNNPATDB.mjs +63 -0
- package/dist/chunk-QIJR53IK.mjs +528 -0
- package/dist/chunk-RYILZVCB.mjs +708 -0
- package/dist/chunk-UFXHMVJE.mjs +53 -0
- package/dist/chunk-V5I7CVLT.mjs +103 -0
- package/dist/chunk-WB2EIKOA.mjs +445 -0
- package/dist/chunk-Y2EFNT5P.mjs +108 -0
- package/dist/chunk-YBJ32VYI.mjs +33 -0
- package/dist/chunk-ZPR7EC3T.mjs +111 -0
- package/dist/full-2GJTAAZE.css +301 -0
- package/dist/full-4UGAOTTB.mjs +93 -0
- package/dist/index-bqD1SEOb.d.mts +118 -0
- package/dist/index-lt1zf5WR.d.ts +118 -0
- package/dist/index.css +2629 -0
- package/dist/index.d.mts +309 -0
- package/dist/index.d.ts +309 -0
- package/dist/index.js +14191 -0
- package/dist/index.mjs +78 -0
- package/dist/internal.d.mts +27 -0
- package/dist/internal.d.ts +27 -0
- package/dist/internal.js +926 -0
- package/dist/internal.mjs +13 -0
- package/dist/loaded-5AM4V5PV.mjs +57 -0
- package/dist/loaded-G2WSQZO7.mjs +57 -0
- package/dist/loaded-MYALJBRK.mjs +60 -0
- package/dist/loaded-RVWBFK7L.css +87 -0
- package/dist/no-external.css +2631 -0
- package/dist/no-external.d.mts +21 -0
- package/dist/no-external.d.ts +21 -0
- package/dist/no-external.js +14194 -0
- package/dist/no-external.mjs +83 -0
- package/dist/rsc.css +102 -0
- package/dist/rsc.d.mts +27 -0
- package/dist/rsc.d.ts +27 -0
- package/dist/rsc.js +1444 -0
- package/dist/rsc.mjs +130 -0
- package/dist/walk-tree-CRRDqx6_.d.mts +29 -0
- package/dist/walk-tree-CS7sEpfG.d.ts +29 -0
- package/package.json +137 -0
package/dist/index.mjs
ADDED
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import {
|
|
2
|
+
AutoField,
|
|
3
|
+
Button,
|
|
4
|
+
Drawer,
|
|
5
|
+
DropZone,
|
|
6
|
+
FieldLabel,
|
|
7
|
+
Puck,
|
|
8
|
+
Render,
|
|
9
|
+
blocksPlugin,
|
|
10
|
+
createUsePuck,
|
|
11
|
+
fieldsPlugin,
|
|
12
|
+
legacySideBarPlugin,
|
|
13
|
+
outlinePlugin,
|
|
14
|
+
overrideKeys,
|
|
15
|
+
registerOverlayPortal,
|
|
16
|
+
renderContext,
|
|
17
|
+
setDeep,
|
|
18
|
+
useGetPuck,
|
|
19
|
+
usePuck
|
|
20
|
+
} from "./chunk-GLWC4QRX.mjs";
|
|
21
|
+
import "./chunk-ZPR7EC3T.mjs";
|
|
22
|
+
import {
|
|
23
|
+
migrate,
|
|
24
|
+
resolveAllData,
|
|
25
|
+
transformProps
|
|
26
|
+
} from "./chunk-WB2EIKOA.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-RYILZVCB.mjs";
|
|
37
|
+
import "./chunk-UFXHMVJE.mjs";
|
|
38
|
+
import "./chunk-MNNPATDB.mjs";
|
|
39
|
+
import "./chunk-YBJ32VYI.mjs";
|
|
40
|
+
import "./chunk-HLB66X4S.mjs";
|
|
41
|
+
import "./chunk-QIJR53IK.mjs";
|
|
42
|
+
import "./chunk-AHX7X7NZ.mjs";
|
|
43
|
+
import "./chunk-Y2EFNT5P.mjs";
|
|
44
|
+
import {
|
|
45
|
+
walkTree
|
|
46
|
+
} from "./chunk-7TZD3NRP.mjs";
|
|
47
|
+
import "./chunk-M6W7YEVX.mjs";
|
|
48
|
+
export {
|
|
49
|
+
Action,
|
|
50
|
+
ActionBar,
|
|
51
|
+
AutoField,
|
|
52
|
+
Button,
|
|
53
|
+
Drawer,
|
|
54
|
+
DropZone,
|
|
55
|
+
FieldLabel,
|
|
56
|
+
Group,
|
|
57
|
+
IconButton,
|
|
58
|
+
Label,
|
|
59
|
+
Puck,
|
|
60
|
+
Render,
|
|
61
|
+
RichTextMenu,
|
|
62
|
+
Separator,
|
|
63
|
+
blocksPlugin,
|
|
64
|
+
createUsePuck,
|
|
65
|
+
fieldsPlugin,
|
|
66
|
+
legacySideBarPlugin,
|
|
67
|
+
migrate,
|
|
68
|
+
outlinePlugin,
|
|
69
|
+
overrideKeys,
|
|
70
|
+
registerOverlayPortal,
|
|
71
|
+
renderContext,
|
|
72
|
+
resolveAllData,
|
|
73
|
+
setDeep,
|
|
74
|
+
transformProps,
|
|
75
|
+
useGetPuck,
|
|
76
|
+
usePuck,
|
|
77
|
+
walkTree
|
|
78
|
+
};
|
|
@@ -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 };
|