@prosekit/web 0.5.7 → 0.5.9
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/get-default-state-CIEy7xrl.js +11 -0
- package/dist/prosekit-web-autocomplete.d.ts +126 -20
- package/dist/prosekit-web-autocomplete.js +243 -349
- package/dist/prosekit-web-block-handle.d.ts +82 -15
- package/dist/prosekit-web-block-handle.js +422 -394
- package/dist/prosekit-web-inline-popover.d.ts +81 -5
- package/dist/prosekit-web-inline-popover.js +114 -155
- package/dist/prosekit-web-popover.d.ts +28 -15
- package/dist/prosekit-web-popover.js +31 -70
- package/dist/prosekit-web-resizable.d.ts +48 -10
- package/dist/prosekit-web-resizable.js +210 -238
- package/dist/prosekit-web-table-handle.d.ts +151 -35
- package/dist/prosekit-web-table-handle.js +364 -491
- package/dist/prosekit-web-tooltip.d.ts +28 -15
- package/dist/prosekit-web-tooltip.js +31 -70
- package/dist/prosekit-web.d.ts +1 -1
- package/dist/use-editor-extension-Cc7ZG7uj.js +11 -0
- package/package.json +29 -14
- package/dist/_tsup-dts-rollup.d.ts +0 -1100
- package/dist/chunk-WTW6FOH3.js +0 -13
- package/dist/chunk-ZGQ225UP.js +0 -17
|
@@ -1,15 +1,82 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
import { BaseElementConstructor, EventDeclarations, PropDeclarations } from "@aria-ui/core";
|
|
2
|
+
import { Editor } from "@prosekit/core";
|
|
3
|
+
import { OverlayPositionerProps } from "@aria-ui/overlay/elements";
|
|
4
|
+
import { Placement } from "@floating-ui/dom";
|
|
5
|
+
|
|
6
|
+
//#region src/components/block-handle/block-handle-add/types.d.ts
|
|
7
|
+
interface BlockHandleAddProps {
|
|
8
|
+
/**
|
|
9
|
+
* The ProseKit editor instance.
|
|
10
|
+
*
|
|
11
|
+
* @default null
|
|
12
|
+
* @hidden
|
|
13
|
+
*/
|
|
14
|
+
editor: Editor | null;
|
|
15
|
+
}
|
|
16
|
+
/** @internal */
|
|
17
|
+
declare const blockHandleAddProps: PropDeclarations<BlockHandleAddProps>;
|
|
18
|
+
/** @internal */
|
|
19
|
+
interface BlockHandleAddEvents {}
|
|
20
|
+
/** @internal */
|
|
21
|
+
declare const blockHandleAddEvents: EventDeclarations<BlockHandleAddEvents>;
|
|
22
|
+
//#endregion
|
|
23
|
+
//#region src/components/block-handle/block-handle-add/element.gen.d.ts
|
|
24
|
+
declare const BlockHandleAddElementBase: BaseElementConstructor<BlockHandleAddProps>;
|
|
25
|
+
declare class BlockHandleAddElement extends BlockHandleAddElementBase {}
|
|
26
|
+
//#endregion
|
|
27
|
+
//#region src/components/block-handle/block-handle-draggable/types.d.ts
|
|
28
|
+
interface BlockHandleDraggableProps {
|
|
29
|
+
/**
|
|
30
|
+
* The ProseKit editor instance.
|
|
31
|
+
*
|
|
32
|
+
* @default null
|
|
33
|
+
* @hidden
|
|
34
|
+
*/
|
|
35
|
+
editor: Editor | null;
|
|
36
|
+
}
|
|
37
|
+
/** @internal */
|
|
38
|
+
declare const blockHandleDraggableProps: PropDeclarations<BlockHandleDraggableProps>;
|
|
39
|
+
/** @internal */
|
|
40
|
+
interface BlockHandleDraggableEvents {}
|
|
41
|
+
/** @internal */
|
|
42
|
+
declare const blockHandleDraggableEvents: EventDeclarations<BlockHandleDraggableEvents>;
|
|
43
|
+
//#endregion
|
|
44
|
+
//#region src/components/block-handle/block-handle-draggable/element.gen.d.ts
|
|
45
|
+
declare const BlockHandleDraggableElementBase: BaseElementConstructor<BlockHandleDraggableProps>;
|
|
46
|
+
declare class BlockHandleDraggableElement extends BlockHandleDraggableElementBase {}
|
|
47
|
+
//#endregion
|
|
48
|
+
//#region src/components/block-handle/block-handle-popover/types.d.ts
|
|
49
|
+
interface BlockHandlePopoverProps extends Omit<OverlayPositionerProps, "placement" | "hoist"> {
|
|
50
|
+
/**
|
|
51
|
+
* The ProseKit editor instance.
|
|
52
|
+
*
|
|
53
|
+
* @default null
|
|
54
|
+
* @hidden
|
|
55
|
+
*/
|
|
56
|
+
editor: Editor | null;
|
|
57
|
+
/**
|
|
58
|
+
* The placement of the popover, relative to the hovered block.
|
|
59
|
+
*
|
|
60
|
+
* @default "left"
|
|
61
|
+
*/
|
|
62
|
+
placement: Placement;
|
|
63
|
+
/**
|
|
64
|
+
* Whether to use the browser [Popover API](https://developer.mozilla.org/en-US/docs/Web/API/Popover_API)
|
|
65
|
+
* to place the floating element on top of other page content.
|
|
66
|
+
*
|
|
67
|
+
* @default false
|
|
68
|
+
*/
|
|
69
|
+
hoist: boolean;
|
|
70
|
+
}
|
|
71
|
+
/** @internal */
|
|
72
|
+
declare const blockHandlePopoverProps: PropDeclarations<BlockHandlePopoverProps>;
|
|
73
|
+
/** @internal */
|
|
74
|
+
interface BlockHandlePopoverEvents {}
|
|
75
|
+
/** @internal */
|
|
76
|
+
declare const blockHandlePopoverEvents: EventDeclarations<BlockHandlePopoverEvents>;
|
|
77
|
+
//#endregion
|
|
78
|
+
//#region src/components/block-handle/block-handle-popover/element.gen.d.ts
|
|
79
|
+
declare const BlockHandlePopoverElementBase: BaseElementConstructor<BlockHandlePopoverProps>;
|
|
80
|
+
declare class BlockHandlePopoverElement extends BlockHandlePopoverElementBase {}
|
|
81
|
+
//#endregion
|
|
82
|
+
export { BlockHandleAddElement, BlockHandleAddEvents, BlockHandleAddProps, BlockHandleDraggableElement, BlockHandleDraggableEvents, BlockHandleDraggableProps, BlockHandlePopoverElement, BlockHandlePopoverEvents, BlockHandlePopoverProps, blockHandleAddEvents, blockHandleAddProps, blockHandleDraggableEvents, blockHandleDraggableProps, blockHandlePopoverEvents, blockHandlePopoverProps };
|