@reacteditor/core 0.0.1-alpha.0
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 +85 -0
- package/dist/Editor-GBV2O5RD.css +415 -0
- package/dist/Editor-IKMJILGR.mjs +204 -0
- package/dist/Render-EFT7YD2C.css +103 -0
- package/dist/Render-VDC7AEQK.mjs +55 -0
- package/dist/actions-BCDhqbeL.d.mts +849 -0
- package/dist/actions-BCDhqbeL.d.ts +849 -0
- package/dist/chunk-2YLS65V2.mjs +103 -0
- package/dist/chunk-6B2Q5R3C.mjs +53 -0
- package/dist/chunk-DXGQXXQG.mjs +63 -0
- package/dist/chunk-F7S5S6I2.mjs +114 -0
- package/dist/chunk-GAUBBDIR.mjs +463 -0
- package/dist/chunk-GUMYXUO3.mjs +33 -0
- package/dist/chunk-M6W7YEVX.mjs +95 -0
- package/dist/chunk-MFI3RDA4.mjs +11 -0
- package/dist/chunk-QNHSXCWU.mjs +8692 -0
- package/dist/chunk-SURZYH7D.mjs +1726 -0
- package/dist/chunk-V2OPYD42.mjs +708 -0
- package/dist/chunk-VD3EVRUF.mjs +476 -0
- package/dist/chunk-VOLQMQPK.mjs +146 -0
- package/dist/chunk-VUEM62JF.mjs +523 -0
- package/dist/chunk-Y2EFNT5P.mjs +108 -0
- package/dist/full-ELX6RALJ.css +311 -0
- package/dist/full-OBTPW7TC.mjs +93 -0
- package/dist/index-ComBHfdn.d.ts +117 -0
- package/dist/index-DVwiIwYU.d.mts +117 -0
- package/dist/index.css +3033 -0
- package/dist/index.d.mts +396 -0
- package/dist/index.d.ts +396 -0
- package/dist/index.js +14688 -0
- package/dist/index.mjs +87 -0
- package/dist/internal.d.mts +27 -0
- package/dist/internal.d.ts +27 -0
- package/dist/internal.js +931 -0
- package/dist/internal.mjs +13 -0
- package/dist/loaded-35WC23HJ.mjs +60 -0
- package/dist/loaded-TBSVRJPY.css +90 -0
- package/dist/loaded-ULSROV73.mjs +57 -0
- package/dist/loaded-YYRJPIWZ.mjs +57 -0
- package/dist/no-external.css +3031 -0
- package/dist/no-external.d.mts +21 -0
- package/dist/no-external.d.ts +21 -0
- package/dist/no-external.js +14688 -0
- package/dist/no-external.mjs +87 -0
- package/dist/rsc.css +103 -0
- package/dist/rsc.d.mts +27 -0
- package/dist/rsc.d.ts +27 -0
- package/dist/rsc.js +1493 -0
- package/dist/rsc.mjs +148 -0
- package/dist/walk-tree-BPIigVTF.d.mts +29 -0
- package/dist/walk-tree-BZq1CPCH.d.ts +29 -0
- package/package.json +139 -0
package/dist/index.mjs
ADDED
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import {
|
|
2
|
+
AutoField,
|
|
3
|
+
Button,
|
|
4
|
+
ComponentList,
|
|
5
|
+
Drawer,
|
|
6
|
+
DropZone,
|
|
7
|
+
Editor,
|
|
8
|
+
FieldLabel,
|
|
9
|
+
Render,
|
|
10
|
+
blocksPlugin,
|
|
11
|
+
createUseEditor,
|
|
12
|
+
fieldsPlugin,
|
|
13
|
+
legacySideBarPlugin,
|
|
14
|
+
outlinePlugin,
|
|
15
|
+
overrideKeys,
|
|
16
|
+
pageMetadata,
|
|
17
|
+
registerOverlayPortal,
|
|
18
|
+
renderContext,
|
|
19
|
+
setDeep,
|
|
20
|
+
useEditor,
|
|
21
|
+
useGetEditor
|
|
22
|
+
} from "./chunk-QNHSXCWU.mjs";
|
|
23
|
+
import "./chunk-F7S5S6I2.mjs";
|
|
24
|
+
import {
|
|
25
|
+
migrate,
|
|
26
|
+
resolveAllData,
|
|
27
|
+
transformProps
|
|
28
|
+
} from "./chunk-VD3EVRUF.mjs";
|
|
29
|
+
import "./chunk-MFI3RDA4.mjs";
|
|
30
|
+
import {
|
|
31
|
+
Action,
|
|
32
|
+
ActionBar,
|
|
33
|
+
Group,
|
|
34
|
+
IconButton,
|
|
35
|
+
Label,
|
|
36
|
+
RichTextMenu,
|
|
37
|
+
Separator
|
|
38
|
+
} from "./chunk-V2OPYD42.mjs";
|
|
39
|
+
import "./chunk-6B2Q5R3C.mjs";
|
|
40
|
+
import "./chunk-DXGQXXQG.mjs";
|
|
41
|
+
import "./chunk-GUMYXUO3.mjs";
|
|
42
|
+
import "./chunk-SURZYH7D.mjs";
|
|
43
|
+
import "./chunk-VUEM62JF.mjs";
|
|
44
|
+
import "./chunk-VOLQMQPK.mjs";
|
|
45
|
+
import "./chunk-Y2EFNT5P.mjs";
|
|
46
|
+
import {
|
|
47
|
+
walkTree
|
|
48
|
+
} from "./chunk-GAUBBDIR.mjs";
|
|
49
|
+
import {
|
|
50
|
+
init_react_import
|
|
51
|
+
} from "./chunk-M6W7YEVX.mjs";
|
|
52
|
+
|
|
53
|
+
// bundle/index.ts
|
|
54
|
+
init_react_import();
|
|
55
|
+
export {
|
|
56
|
+
Action,
|
|
57
|
+
ActionBar,
|
|
58
|
+
AutoField,
|
|
59
|
+
Button,
|
|
60
|
+
ComponentList,
|
|
61
|
+
Drawer,
|
|
62
|
+
DropZone,
|
|
63
|
+
Editor,
|
|
64
|
+
FieldLabel,
|
|
65
|
+
Group,
|
|
66
|
+
IconButton,
|
|
67
|
+
Label,
|
|
68
|
+
Render,
|
|
69
|
+
RichTextMenu,
|
|
70
|
+
Separator,
|
|
71
|
+
blocksPlugin,
|
|
72
|
+
createUseEditor,
|
|
73
|
+
fieldsPlugin,
|
|
74
|
+
legacySideBarPlugin,
|
|
75
|
+
migrate,
|
|
76
|
+
outlinePlugin,
|
|
77
|
+
overrideKeys,
|
|
78
|
+
pageMetadata,
|
|
79
|
+
registerOverlayPortal,
|
|
80
|
+
renderContext,
|
|
81
|
+
resolveAllData,
|
|
82
|
+
setDeep,
|
|
83
|
+
transformProps,
|
|
84
|
+
useEditor,
|
|
85
|
+
useGetEditor,
|
|
86
|
+
walkTree
|
|
87
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { Reducer } from 'react';
|
|
2
|
+
import { D as Data, A as AppState, O as OnAction, P as PrivateAppState, E as EditorAction } from './actions-BCDhqbeL.mjs';
|
|
3
|
+
import { A as AppStore } from './index-DVwiIwYU.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>, EditorAction>;
|
|
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, E as EditorAction } from './actions-BCDhqbeL.js';
|
|
3
|
+
import { A as AppStore } from './index-ComBHfdn.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>, EditorAction>;
|
|
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 };
|