@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.
@@ -1,15 +1,82 @@
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
+ //#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 };