@measured/puck 0.21.0-canary.eb8ea5ce → 0.21.0-canary.ece26d91
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-DR57V55X.mjs → Editor-O447AVCX.mjs} +17 -7
- package/dist/{Render-6Q5WP25Y.mjs → Render-OFE6QLI2.mjs} +8 -4
- package/dist/{walk-tree-Ja9bNCM9.d.mts → actions-ONhOkrvf.d.mts} +1 -27
- package/dist/{walk-tree-Ja9bNCM9.d.ts → actions-ONhOkrvf.d.ts} +1 -27
- package/dist/chunk-2Q4PACDA.mjs +111 -0
- package/dist/chunk-62AAYNXG.mjs +63 -0
- package/dist/chunk-BSDEIOEK.mjs +706 -0
- package/dist/chunk-CSSRLPHM.mjs +11 -0
- package/dist/{chunk-OPXWLTPM.mjs → chunk-DAQLMM2T.mjs} +1377 -2795
- package/dist/chunk-M6W7YEVX.mjs +95 -0
- package/dist/{chunk-YZQENDBP.mjs → chunk-NLUHDYVR.mjs} +2 -123
- package/dist/chunk-PLXSMBAA.mjs +53 -0
- package/dist/chunk-QAWJTCV5.mjs +33 -0
- package/dist/chunk-QBGM4ELA.mjs +528 -0
- package/dist/{chunk-MSIUWPEI.mjs → chunk-QBJ2LDJB.mjs} +36 -20
- package/dist/chunk-T3WX7XJ6.mjs +132 -0
- package/dist/{chunk-CF5XA6LF.mjs → chunk-V5I7CVLT.mjs} +1 -1
- package/dist/chunk-Y2EFNT5P.mjs +108 -0
- package/dist/{chunk-A7EMVTSK.mjs → chunk-Y656T6AQ.mjs} +13 -7
- package/dist/full-2GJTAAZE.css +301 -0
- package/dist/full-BEMDJKDS.mjs +93 -0
- package/dist/index-BEoNHRI1.d.ts +116 -0
- package/dist/index-DfxZ7tZF.d.mts +116 -0
- package/dist/index.d.mts +9 -125
- package/dist/index.d.ts +9 -125
- package/dist/index.js +1002 -775
- package/dist/index.mjs +14 -5
- 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-JU3A7Y4L.mjs +57 -0
- package/dist/loaded-N3FYGF2Y.mjs +57 -0
- package/dist/loaded-OBY7OMS6.mjs +60 -0
- package/dist/loaded-RVWBFK7L.css +87 -0
- package/dist/no-external.d.mts +3 -1
- package/dist/no-external.d.ts +3 -1
- package/dist/no-external.js +1002 -775
- package/dist/no-external.mjs +14 -5
- package/dist/rsc.d.mts +2 -2
- package/dist/rsc.d.ts +2 -2
- package/dist/rsc.mjs +6 -3
- package/dist/walk-tree-CdriEzFJ.d.mts +29 -0
- package/dist/walk-tree-DHbAZ4wF.d.ts +29 -0
- package/package.json +7 -2
- package/dist/chunk-GQ457KMA.mjs +0 -199
package/dist/index.mjs
CHANGED
|
@@ -13,12 +13,14 @@ import {
|
|
|
13
13
|
setDeep,
|
|
14
14
|
useGetPuck,
|
|
15
15
|
usePuck
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-QBJ2LDJB.mjs";
|
|
17
|
+
import "./chunk-2Q4PACDA.mjs";
|
|
17
18
|
import {
|
|
18
19
|
migrate,
|
|
19
20
|
resolveAllData,
|
|
20
21
|
transformProps
|
|
21
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-Y656T6AQ.mjs";
|
|
23
|
+
import "./chunk-CSSRLPHM.mjs";
|
|
22
24
|
import {
|
|
23
25
|
Action,
|
|
24
26
|
ActionBar,
|
|
@@ -27,13 +29,20 @@ import {
|
|
|
27
29
|
Label,
|
|
28
30
|
RichTextMenu,
|
|
29
31
|
Separator
|
|
30
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-BSDEIOEK.mjs";
|
|
33
|
+
import "./chunk-PLXSMBAA.mjs";
|
|
34
|
+
import "./chunk-62AAYNXG.mjs";
|
|
35
|
+
import "./chunk-QAWJTCV5.mjs";
|
|
36
|
+
import "./chunk-DAQLMM2T.mjs";
|
|
37
|
+
import "./chunk-QBGM4ELA.mjs";
|
|
38
|
+
import "./chunk-T3WX7XJ6.mjs";
|
|
39
|
+
import "./chunk-Y2EFNT5P.mjs";
|
|
31
40
|
import {
|
|
32
41
|
walkTree
|
|
33
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-NLUHDYVR.mjs";
|
|
34
43
|
import {
|
|
35
44
|
init_react_import
|
|
36
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-M6W7YEVX.mjs";
|
|
37
46
|
|
|
38
47
|
// bundle/index.ts
|
|
39
48
|
init_react_import();
|
|
@@ -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-ONhOkrvf.mjs';
|
|
3
|
+
import { A as AppStore } from './index-DfxZ7tZF.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-ONhOkrvf.js';
|
|
3
|
+
import { A as AppStore } from './index-BEoNHRI1.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 };
|