@prosekit/react 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.
@@ -10,6 +10,12 @@ import { AutocompletePopoverProps } from '@prosekit/web/autocomplete';
|
|
10
10
|
import { BaseNodeViewOptions } from '@prosekit/core';
|
11
11
|
import { BlockDragHandleElement } from '@prosekit/web/block-handle';
|
12
12
|
import { BlockDragHandleProps } from '@prosekit/web/block-handle';
|
13
|
+
import { BlockHandleAddElement } from '@prosekit/web/block-handle';
|
14
|
+
import { BlockHandleAddProps } from '@prosekit/web/block-handle';
|
15
|
+
import { BlockHandleDraggableElement } from '@prosekit/web/block-handle';
|
16
|
+
import { BlockHandleDraggableProps } from '@prosekit/web/block-handle';
|
17
|
+
import { BlockHandlePopoverElement } from '@prosekit/web/block-handle';
|
18
|
+
import { BlockHandlePopoverProps } from '@prosekit/web/block-handle';
|
13
19
|
import { BlockPopoverElement } from '@prosekit/web/block-handle';
|
14
20
|
import { BlockPopoverProps } from '@prosekit/web/block-handle';
|
15
21
|
import { ComponentType } from 'react';
|
@@ -42,6 +48,20 @@ import { ResizableHandleElement } from '@prosekit/web/resizable';
|
|
42
48
|
import { ResizableHandleProps } from '@prosekit/web/resizable';
|
43
49
|
import { ResizableRootElement } from '@prosekit/web/resizable';
|
44
50
|
import { ResizableRootProps } from '@prosekit/web/resizable';
|
51
|
+
import { TableHandleColumnRootElement } from '@prosekit/web/table-handle';
|
52
|
+
import { TableHandleColumnRootProps } from '@prosekit/web/table-handle';
|
53
|
+
import { TableHandleColumnTriggerElement } from '@prosekit/web/table-handle';
|
54
|
+
import { TableHandleColumnTriggerProps } from '@prosekit/web/table-handle';
|
55
|
+
import { TableHandlePopoverContentElement } from '@prosekit/web/table-handle';
|
56
|
+
import { TableHandlePopoverContentProps } from '@prosekit/web/table-handle';
|
57
|
+
import { TableHandlePopoverItemElement } from '@prosekit/web/table-handle';
|
58
|
+
import { TableHandlePopoverItemProps } from '@prosekit/web/table-handle';
|
59
|
+
import { TableHandleRootElement } from '@prosekit/web/table-handle';
|
60
|
+
import { TableHandleRootProps } from '@prosekit/web/table-handle';
|
61
|
+
import { TableHandleRowRootElement } from '@prosekit/web/table-handle';
|
62
|
+
import { TableHandleRowRootProps } from '@prosekit/web/table-handle';
|
63
|
+
import { TableHandleRowTriggerElement } from '@prosekit/web/table-handle';
|
64
|
+
import { TableHandleRowTriggerProps } from '@prosekit/web/table-handle';
|
45
65
|
import { TooltipContentElement } from '@prosekit/web/tooltip';
|
46
66
|
import { TooltipContentProps } from '@prosekit/web/tooltip';
|
47
67
|
import { TooltipRootElement } from '@prosekit/web/tooltip';
|
@@ -69,6 +89,18 @@ declare const BlockDragHandle: ForwardRefExoticComponent<Partial<BlockDragHandle
|
|
69
89
|
export { BlockDragHandle }
|
70
90
|
export { BlockDragHandle as BlockDragHandle_alias_1 }
|
71
91
|
|
92
|
+
declare const BlockHandleAdd: ForwardRefExoticComponent<Partial<BlockHandleAddProps> & RefAttributes<BlockHandleAddElement> & HTMLAttributes<BlockHandleAddElement>>;
|
93
|
+
export { BlockHandleAdd }
|
94
|
+
export { BlockHandleAdd as BlockHandleAdd_alias_1 }
|
95
|
+
|
96
|
+
declare const BlockHandleDraggable: ForwardRefExoticComponent<Partial<BlockHandleDraggableProps> & RefAttributes<BlockHandleDraggableElement> & HTMLAttributes<BlockHandleDraggableElement>>;
|
97
|
+
export { BlockHandleDraggable }
|
98
|
+
export { BlockHandleDraggable as BlockHandleDraggable_alias_1 }
|
99
|
+
|
100
|
+
declare const BlockHandlePopover: ForwardRefExoticComponent<Partial<BlockHandlePopoverProps> & RefAttributes<BlockHandlePopoverElement> & HTMLAttributes<BlockHandlePopoverElement>>;
|
101
|
+
export { BlockHandlePopover }
|
102
|
+
export { BlockHandlePopover as BlockHandlePopover_alias_1 }
|
103
|
+
|
72
104
|
declare const BlockPopover: ForwardRefExoticComponent<Partial<BlockPopoverProps> & RefAttributes<BlockPopoverElement> & HTMLAttributes<BlockPopoverElement>>;
|
73
105
|
export { BlockPopover }
|
74
106
|
export { BlockPopover as BlockPopover_alias_1 }
|
@@ -188,6 +220,34 @@ declare const ResizableRoot: ForwardRefExoticComponent<Partial<ResizableRootProp
|
|
188
220
|
export { ResizableRoot }
|
189
221
|
export { ResizableRoot as ResizableRoot_alias_1 }
|
190
222
|
|
223
|
+
declare const TableHandleColumnRoot: ForwardRefExoticComponent<Partial<TableHandleColumnRootProps> & RefAttributes<TableHandleColumnRootElement> & HTMLAttributes<TableHandleColumnRootElement>>;
|
224
|
+
export { TableHandleColumnRoot }
|
225
|
+
export { TableHandleColumnRoot as TableHandleColumnRoot_alias_1 }
|
226
|
+
|
227
|
+
declare const TableHandleColumnTrigger: ForwardRefExoticComponent<Partial<TableHandleColumnTriggerProps> & RefAttributes<TableHandleColumnTriggerElement> & HTMLAttributes<TableHandleColumnTriggerElement>>;
|
228
|
+
export { TableHandleColumnTrigger }
|
229
|
+
export { TableHandleColumnTrigger as TableHandleColumnTrigger_alias_1 }
|
230
|
+
|
231
|
+
declare const TableHandlePopoverContent: ForwardRefExoticComponent<Partial<TableHandlePopoverContentProps> & RefAttributes<TableHandlePopoverContentElement> & HTMLAttributes<TableHandlePopoverContentElement>>;
|
232
|
+
export { TableHandlePopoverContent }
|
233
|
+
export { TableHandlePopoverContent as TableHandlePopoverContent_alias_1 }
|
234
|
+
|
235
|
+
declare const TableHandlePopoverItem: ForwardRefExoticComponent<Partial<TableHandlePopoverItemProps> & RefAttributes<TableHandlePopoverItemElement> & HTMLAttributes<TableHandlePopoverItemElement>>;
|
236
|
+
export { TableHandlePopoverItem }
|
237
|
+
export { TableHandlePopoverItem as TableHandlePopoverItem_alias_1 }
|
238
|
+
|
239
|
+
declare const TableHandleRoot: ForwardRefExoticComponent<Partial<TableHandleRootProps> & RefAttributes<TableHandleRootElement> & HTMLAttributes<TableHandleRootElement>>;
|
240
|
+
export { TableHandleRoot }
|
241
|
+
export { TableHandleRoot as TableHandleRoot_alias_1 }
|
242
|
+
|
243
|
+
declare const TableHandleRowRoot: ForwardRefExoticComponent<Partial<TableHandleRowRootProps> & RefAttributes<TableHandleRowRootElement> & HTMLAttributes<TableHandleRowRootElement>>;
|
244
|
+
export { TableHandleRowRoot }
|
245
|
+
export { TableHandleRowRoot as TableHandleRowRoot_alias_1 }
|
246
|
+
|
247
|
+
declare const TableHandleRowTrigger: ForwardRefExoticComponent<Partial<TableHandleRowTriggerProps> & RefAttributes<TableHandleRowTriggerElement> & HTMLAttributes<TableHandleRowTriggerElement>>;
|
248
|
+
export { TableHandleRowTrigger }
|
249
|
+
export { TableHandleRowTrigger as TableHandleRowTrigger_alias_1 }
|
250
|
+
|
191
251
|
declare const TooltipContent: ForwardRefExoticComponent<Partial<TooltipContentProps> & RefAttributes<TooltipContentElement> & HTMLAttributes<TooltipContentElement>>;
|
192
252
|
export { TooltipContent }
|
193
253
|
export { TooltipContent as TooltipContent_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
|
};
|
@@ -0,0 +1,7 @@
|
|
1
|
+
export { TableHandleColumnRoot } from './_tsup-dts-rollup';
|
2
|
+
export { TableHandleColumnTrigger } from './_tsup-dts-rollup';
|
3
|
+
export { TableHandlePopoverContent } from './_tsup-dts-rollup';
|
4
|
+
export { TableHandlePopoverItem } from './_tsup-dts-rollup';
|
5
|
+
export { TableHandleRoot } from './_tsup-dts-rollup';
|
6
|
+
export { TableHandleRowRoot } from './_tsup-dts-rollup';
|
7
|
+
export { TableHandleRowTrigger } from './_tsup-dts-rollup';
|
@@ -0,0 +1,83 @@
|
|
1
|
+
import {
|
2
|
+
createComponent
|
3
|
+
} from "./chunk-UG3RPLME.js";
|
4
|
+
import "./chunk-BH56NR2Q.js";
|
5
|
+
|
6
|
+
// src/components/table-handle/table-handle-column-root.gen.ts
|
7
|
+
import {
|
8
|
+
defaultTableHandleColumnRootProps
|
9
|
+
} from "@prosekit/web/table-handle";
|
10
|
+
var TableHandleColumnRoot = createComponent(
|
11
|
+
"prosekit-table-handle-column-root",
|
12
|
+
"TableHandleColumnRoot",
|
13
|
+
defaultTableHandleColumnRootProps
|
14
|
+
);
|
15
|
+
|
16
|
+
// src/components/table-handle/table-handle-column-trigger.gen.ts
|
17
|
+
import {
|
18
|
+
defaultTableHandleColumnTriggerProps
|
19
|
+
} from "@prosekit/web/table-handle";
|
20
|
+
var TableHandleColumnTrigger = createComponent(
|
21
|
+
"prosekit-table-handle-column-trigger",
|
22
|
+
"TableHandleColumnTrigger",
|
23
|
+
defaultTableHandleColumnTriggerProps
|
24
|
+
);
|
25
|
+
|
26
|
+
// src/components/table-handle/table-handle-popover-content.gen.ts
|
27
|
+
import {
|
28
|
+
defaultTableHandlePopoverContentProps
|
29
|
+
} from "@prosekit/web/table-handle";
|
30
|
+
var TableHandlePopoverContent = createComponent(
|
31
|
+
"prosekit-table-handle-popover-content",
|
32
|
+
"TableHandlePopoverContent",
|
33
|
+
defaultTableHandlePopoverContentProps
|
34
|
+
);
|
35
|
+
|
36
|
+
// src/components/table-handle/table-handle-popover-item.gen.ts
|
37
|
+
import {
|
38
|
+
defaultTableHandlePopoverItemProps
|
39
|
+
} from "@prosekit/web/table-handle";
|
40
|
+
var TableHandlePopoverItem = createComponent(
|
41
|
+
"prosekit-table-handle-popover-item",
|
42
|
+
"TableHandlePopoverItem",
|
43
|
+
defaultTableHandlePopoverItemProps
|
44
|
+
);
|
45
|
+
|
46
|
+
// src/components/table-handle/table-handle-root.gen.ts
|
47
|
+
import {
|
48
|
+
defaultTableHandleRootProps
|
49
|
+
} from "@prosekit/web/table-handle";
|
50
|
+
var TableHandleRoot = createComponent(
|
51
|
+
"prosekit-table-handle-root",
|
52
|
+
"TableHandleRoot",
|
53
|
+
defaultTableHandleRootProps
|
54
|
+
);
|
55
|
+
|
56
|
+
// src/components/table-handle/table-handle-row-root.gen.ts
|
57
|
+
import {
|
58
|
+
defaultTableHandleRowRootProps
|
59
|
+
} from "@prosekit/web/table-handle";
|
60
|
+
var TableHandleRowRoot = createComponent(
|
61
|
+
"prosekit-table-handle-row-root",
|
62
|
+
"TableHandleRowRoot",
|
63
|
+
defaultTableHandleRowRootProps
|
64
|
+
);
|
65
|
+
|
66
|
+
// src/components/table-handle/table-handle-row-trigger.gen.ts
|
67
|
+
import {
|
68
|
+
defaultTableHandleRowTriggerProps
|
69
|
+
} from "@prosekit/web/table-handle";
|
70
|
+
var TableHandleRowTrigger = createComponent(
|
71
|
+
"prosekit-table-handle-row-trigger",
|
72
|
+
"TableHandleRowTrigger",
|
73
|
+
defaultTableHandleRowTriggerProps
|
74
|
+
);
|
75
|
+
export {
|
76
|
+
TableHandleColumnRoot,
|
77
|
+
TableHandleColumnTrigger,
|
78
|
+
TableHandlePopoverContent,
|
79
|
+
TableHandlePopoverItem,
|
80
|
+
TableHandleRoot,
|
81
|
+
TableHandleRowRoot,
|
82
|
+
TableHandleRowTrigger
|
83
|
+
};
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@prosekit/react",
|
3
3
|
"type": "module",
|
4
|
-
"version": "0.3.
|
4
|
+
"version": "0.3.26",
|
5
5
|
"private": false,
|
6
6
|
"author": {
|
7
7
|
"name": "ocavue",
|
@@ -55,6 +55,11 @@
|
|
55
55
|
"import": "./dist/prosekit-react-resizable.js",
|
56
56
|
"default": "./dist/prosekit-react-resizable.js"
|
57
57
|
},
|
58
|
+
"./table-handle": {
|
59
|
+
"types": "./dist/prosekit-react-table-handle.d.ts",
|
60
|
+
"import": "./dist/prosekit-react-table-handle.js",
|
61
|
+
"default": "./dist/prosekit-react-table-handle.js"
|
62
|
+
},
|
58
63
|
"./tooltip": {
|
59
64
|
"types": "./dist/prosekit-react-tooltip.d.ts",
|
60
65
|
"import": "./dist/prosekit-react-tooltip.js",
|
@@ -67,8 +72,8 @@
|
|
67
72
|
"dependencies": {
|
68
73
|
"@prosemirror-adapter/react": "^0.2.6",
|
69
74
|
"react-merge-refs": "^2.1.1",
|
70
|
-
"@prosekit/
|
71
|
-
"@prosekit/
|
75
|
+
"@prosekit/web": "^0.3.14",
|
76
|
+
"@prosekit/core": "^0.7.10",
|
72
77
|
"@prosekit/pm": "^0.1.8"
|
73
78
|
},
|
74
79
|
"peerDependencies": {
|
@@ -84,7 +89,7 @@
|
|
84
89
|
}
|
85
90
|
},
|
86
91
|
"devDependencies": {
|
87
|
-
"@types/react": "^18.3.
|
92
|
+
"@types/react": "^18.3.4",
|
88
93
|
"@types/react-dom": "^18.3.0",
|
89
94
|
"react": "^18.3.1",
|
90
95
|
"react-dom": "^18.3.1",
|
@@ -118,6 +123,9 @@
|
|
118
123
|
"resizable": [
|
119
124
|
"./dist/prosekit-react-resizable.d.ts"
|
120
125
|
],
|
126
|
+
"table-handle": [
|
127
|
+
"./dist/prosekit-react-table-handle.d.ts"
|
128
|
+
],
|
121
129
|
"tooltip": [
|
122
130
|
"./dist/prosekit-react-tooltip.d.ts"
|
123
131
|
]
|