@prosekit/preact 0.3.24 → 0.3.26

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.
@@ -8,6 +8,12 @@ import { AutocompletePopoverElement } from '@prosekit/web/autocomplete';
8
8
  import { AutocompletePopoverProps } from '@prosekit/web/autocomplete';
9
9
  import { BlockDragHandleElement } from '@prosekit/web/block-handle';
10
10
  import { BlockDragHandleProps } from '@prosekit/web/block-handle';
11
+ import { BlockHandleAddElement } from '@prosekit/web/block-handle';
12
+ import { BlockHandleAddProps } from '@prosekit/web/block-handle';
13
+ import { BlockHandleDraggableElement } from '@prosekit/web/block-handle';
14
+ import { BlockHandleDraggableProps } from '@prosekit/web/block-handle';
15
+ import { BlockHandlePopoverElement } from '@prosekit/web/block-handle';
16
+ import { BlockHandlePopoverProps } from '@prosekit/web/block-handle';
11
17
  import { BlockPopoverElement } from '@prosekit/web/block-handle';
12
18
  import { BlockPopoverProps } from '@prosekit/web/block-handle';
13
19
  import { ComponentChildren } from 'preact';
@@ -77,6 +83,18 @@ declare const BlockDragHandle: ForwardRefExoticComponent<Partial<BlockDragHandle
77
83
  export { BlockDragHandle }
78
84
  export { BlockDragHandle as BlockDragHandle_alias_1 }
79
85
 
86
+ declare const BlockHandleAdd: ForwardRefExoticComponent<Partial<BlockHandleAddProps> & RefAttributes<BlockHandleAddElement> & HTMLAttributes<BlockHandleAddElement>>;
87
+ export { BlockHandleAdd }
88
+ export { BlockHandleAdd as BlockHandleAdd_alias_1 }
89
+
90
+ declare const BlockHandleDraggable: ForwardRefExoticComponent<Partial<BlockHandleDraggableProps> & RefAttributes<BlockHandleDraggableElement> & HTMLAttributes<BlockHandleDraggableElement>>;
91
+ export { BlockHandleDraggable }
92
+ export { BlockHandleDraggable as BlockHandleDraggable_alias_1 }
93
+
94
+ declare const BlockHandlePopover: ForwardRefExoticComponent<Partial<BlockHandlePopoverProps> & RefAttributes<BlockHandlePopoverElement> & HTMLAttributes<BlockHandlePopoverElement>>;
95
+ export { BlockHandlePopover }
96
+ export { BlockHandlePopover as BlockHandlePopover_alias_1 }
97
+
80
98
  declare const BlockPopover: ForwardRefExoticComponent<Partial<BlockPopoverProps> & RefAttributes<BlockPopoverElement> & HTMLAttributes<BlockPopoverElement>>;
81
99
  export { BlockPopover }
82
100
  export { BlockPopover as BlockPopover_alias_1 }
@@ -1,2 +1,5 @@
1
1
  export { BlockDragHandle_alias_1 as BlockDragHandle } from './_tsup-dts-rollup';
2
+ export { BlockHandleAdd_alias_1 as BlockHandleAdd } from './_tsup-dts-rollup';
3
+ export { BlockHandleDraggable_alias_1 as BlockHandleDraggable } from './_tsup-dts-rollup';
4
+ export { BlockHandlePopover_alias_1 as BlockHandlePopover } from './_tsup-dts-rollup';
2
5
  export { BlockPopover_alias_1 as BlockPopover } from './_tsup-dts-rollup';
@@ -13,6 +13,36 @@ var BlockDragHandle = createComponent(
13
13
  defaultBlockDragHandleProps
14
14
  );
15
15
 
16
+ // src/components/block-handle/block-handle-add.gen.ts
17
+ import {
18
+ defaultBlockHandleAddProps
19
+ } from "@prosekit/web/block-handle";
20
+ var BlockHandleAdd = createComponent(
21
+ "prosekit-block-handle-add",
22
+ "BlockHandleAdd",
23
+ defaultBlockHandleAddProps
24
+ );
25
+
26
+ // src/components/block-handle/block-handle-draggable.gen.ts
27
+ import {
28
+ defaultBlockHandleDraggableProps
29
+ } from "@prosekit/web/block-handle";
30
+ var BlockHandleDraggable = createComponent(
31
+ "prosekit-block-handle-draggable",
32
+ "BlockHandleDraggable",
33
+ defaultBlockHandleDraggableProps
34
+ );
35
+
36
+ // src/components/block-handle/block-handle-popover.gen.ts
37
+ import {
38
+ defaultBlockHandlePopoverProps
39
+ } from "@prosekit/web/block-handle";
40
+ var BlockHandlePopover = createComponent(
41
+ "prosekit-block-handle-popover",
42
+ "BlockHandlePopover",
43
+ defaultBlockHandlePopoverProps
44
+ );
45
+
16
46
  // src/components/block-handle/block-popover.gen.ts
17
47
  import {
18
48
  defaultBlockPopoverProps
@@ -24,5 +54,8 @@ var BlockPopover = createComponent(
24
54
  );
25
55
  export {
26
56
  BlockDragHandle,
57
+ BlockHandleAdd,
58
+ BlockHandleDraggable,
59
+ BlockHandlePopover,
27
60
  BlockPopover
28
61
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@prosekit/preact",
3
3
  "type": "module",
4
- "version": "0.3.24",
4
+ "version": "0.3.26",
5
5
  "private": false,
6
6
  "author": {
7
7
  "name": "ocavue",
@@ -71,9 +71,9 @@
71
71
  ],
72
72
  "dependencies": {
73
73
  "react-merge-refs": "^2.1.1",
74
- "@prosekit/core": "^0.7.9",
75
- "@prosekit/pm": "^0.1.8",
76
- "@prosekit/web": "^0.3.13"
74
+ "@prosekit/core": "^0.7.10",
75
+ "@prosekit/web": "^0.3.15",
76
+ "@prosekit/pm": "^0.1.8"
77
77
  },
78
78
  "peerDependencies": {
79
79
  "preact": ">= 10.11.0"