@prosekit/web 0.5.6 → 0.5.8

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.
@@ -1,15 +1,88 @@
1
- export { BlockHandleAddElement } from './_tsup-dts-rollup.js';
2
- export { blockHandleAddEvents } from './_tsup-dts-rollup.js';
3
- export { blockHandleAddProps } from './_tsup-dts-rollup.js';
4
- export { BlockHandleAddEvents } from './_tsup-dts-rollup.js';
5
- export { BlockHandleAddProps } from './_tsup-dts-rollup.js';
6
- export { BlockHandleDraggableElement } from './_tsup-dts-rollup.js';
7
- export { blockHandleDraggableEvents } from './_tsup-dts-rollup.js';
8
- export { blockHandleDraggableProps } from './_tsup-dts-rollup.js';
9
- export { BlockHandleDraggableEvents } from './_tsup-dts-rollup.js';
10
- export { BlockHandleDraggableProps } from './_tsup-dts-rollup.js';
11
- export { BlockHandlePopoverElement } from './_tsup-dts-rollup.js';
12
- export { blockHandlePopoverEvents } from './_tsup-dts-rollup.js';
13
- export { blockHandlePopoverProps } from './_tsup-dts-rollup.js';
14
- export { BlockHandlePopoverEvents } from './_tsup-dts-rollup.js';
15
- export { BlockHandlePopoverProps } from './_tsup-dts-rollup.js';
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
+
23
+ //#endregion
24
+ //#region src/components/block-handle/block-handle-add/element.gen.d.ts
25
+ declare const BlockHandleAddElementBase: BaseElementConstructor<BlockHandleAddProps>;
26
+ declare class BlockHandleAddElement extends BlockHandleAddElementBase {}
27
+
28
+ //#endregion
29
+ //#region src/components/block-handle/block-handle-draggable/types.d.ts
30
+ interface BlockHandleDraggableProps {
31
+ /**
32
+ * The ProseKit editor instance.
33
+ *
34
+ * @default null
35
+ * @hidden
36
+ */
37
+ editor: Editor | null;
38
+ }
39
+ /** @internal */
40
+ declare const blockHandleDraggableProps: PropDeclarations<BlockHandleDraggableProps>;
41
+ /** @internal */
42
+ interface BlockHandleDraggableEvents {}
43
+ /** @internal */
44
+ declare const blockHandleDraggableEvents: EventDeclarations<BlockHandleDraggableEvents>;
45
+
46
+ //#endregion
47
+ //#region src/components/block-handle/block-handle-draggable/element.gen.d.ts
48
+ declare const BlockHandleDraggableElementBase: BaseElementConstructor<BlockHandleDraggableProps>;
49
+ declare class BlockHandleDraggableElement extends BlockHandleDraggableElementBase {}
50
+
51
+ //#endregion
52
+ //#region src/components/block-handle/block-handle-popover/types.d.ts
53
+ interface BlockHandlePopoverProps extends Omit<OverlayPositionerProps, "placement" | "hoist"> {
54
+ /**
55
+ * The ProseKit editor instance.
56
+ *
57
+ * @default null
58
+ * @hidden
59
+ */
60
+ editor: Editor | null;
61
+ /**
62
+ * The placement of the popover, relative to the hovered block.
63
+ *
64
+ * @default "left"
65
+ */
66
+ placement: Placement;
67
+ /**
68
+ * Whether to use the browser [Popover API](https://developer.mozilla.org/en-US/docs/Web/API/Popover_API)
69
+ * to place the floating element on top of other page content.
70
+ *
71
+ * @default false
72
+ */
73
+ hoist: boolean;
74
+ }
75
+ /** @internal */
76
+ declare const blockHandlePopoverProps: PropDeclarations<BlockHandlePopoverProps>;
77
+ /** @internal */
78
+ interface BlockHandlePopoverEvents {}
79
+ /** @internal */
80
+ declare const blockHandlePopoverEvents: EventDeclarations<BlockHandlePopoverEvents>;
81
+
82
+ //#endregion
83
+ //#region src/components/block-handle/block-handle-popover/element.gen.d.ts
84
+ declare const BlockHandlePopoverElementBase: BaseElementConstructor<BlockHandlePopoverProps>;
85
+ declare class BlockHandlePopoverElement extends BlockHandlePopoverElementBase {}
86
+
87
+ //#endregion
88
+ export { BlockHandleAddElement, BlockHandleAddEvents, BlockHandleAddProps, BlockHandleDraggableElement, BlockHandleDraggableEvents, BlockHandleDraggableProps, BlockHandlePopoverElement, BlockHandlePopoverEvents, BlockHandlePopoverProps, blockHandleAddEvents, blockHandleAddProps, blockHandleDraggableEvents, blockHandleDraggableProps, blockHandlePopoverEvents, blockHandlePopoverProps };