@prosekit/web 0.3.19 → 0.4.0
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/_tsup-dts-rollup.d.ts +575 -530
- package/dist/chunk-ZGQ225UP.js +17 -0
- package/dist/prosekit-web-autocomplete.d.ts +12 -4
- package/dist/prosekit-web-autocomplete.js +141 -115
- package/dist/prosekit-web-block-handle.d.ts +9 -9
- package/dist/prosekit-web-block-handle.js +93 -120
- package/dist/prosekit-web-inline-popover.d.ts +3 -1
- package/dist/prosekit-web-inline-popover.js +39 -35
- package/dist/prosekit-web-popover.d.ts +9 -3
- package/dist/prosekit-web-popover.js +45 -34
- package/dist/prosekit-web-resizable.d.ts +6 -2
- package/dist/prosekit-web-resizable.js +43 -38
- package/dist/prosekit-web-table-handle.d.ts +21 -7
- package/dist/prosekit-web-table-handle.js +223 -155
- package/dist/prosekit-web-tooltip.d.ts +9 -3
- package/dist/prosekit-web-tooltip.js +52 -37
- package/package.json +12 -11
- package/dist/chunk-LCDA7GFP.js +0 -11
|
@@ -1,45 +1,71 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AutoUpdateOptions } from '@floating-ui/dom';
|
|
2
|
+
import { BaseElementConstructor } from '@aria-ui/core';
|
|
2
3
|
import { ConnectableElement } from '@aria-ui/core';
|
|
3
4
|
import { Context } from '@aria-ui/core';
|
|
4
5
|
import { config as default_alias_1 } from '@prosekit/dev/config-vitest';
|
|
5
|
-
import { defaultPopoverContentProps } from '@aria-ui/popover';
|
|
6
|
-
import { defaultPopoverRootProps } from '@aria-ui/popover';
|
|
7
|
-
import { defaultPopoverTriggerProps } from '@aria-ui/popover';
|
|
8
|
-
import { defaultTooltipRootProps } from '@aria-ui/tooltip';
|
|
9
|
-
import { defaultTooltipTriggerProps } from '@aria-ui/tooltip';
|
|
10
6
|
import type { defineTableCommands } from '@prosekit/extensions/table';
|
|
11
7
|
import { Editor } from '@prosekit/core';
|
|
12
8
|
import type { EditorView } from '@prosekit/pm/view';
|
|
13
|
-
import
|
|
9
|
+
import { ElementContext } from '@floating-ui/dom';
|
|
10
|
+
import { EventDeclarations } from '@aria-ui/core';
|
|
14
11
|
import type { Extension } from '@prosekit/core';
|
|
15
12
|
import { FocusChangeHandler } from '@prosekit/core';
|
|
16
13
|
import { ItemFilter } from '@aria-ui/collection';
|
|
17
14
|
import { Keymap } from '@prosekit/core';
|
|
15
|
+
import { ListboxEvents } from '@aria-ui/listbox';
|
|
16
|
+
import { ListboxItemEvents } from '@aria-ui/listbox';
|
|
18
17
|
import { ListboxProps } from '@aria-ui/listbox';
|
|
19
|
-
import {
|
|
18
|
+
import { MenuContentEvents } from '@aria-ui/menu/elements';
|
|
19
|
+
import { MenuContentProps } from '@aria-ui/menu/elements';
|
|
20
|
+
import { MenuItemEvents } from '@aria-ui/menu';
|
|
20
21
|
import { MenuItemProps } from '@aria-ui/menu';
|
|
21
22
|
import { Options } from 'tsup';
|
|
22
|
-
import {
|
|
23
|
-
import
|
|
23
|
+
import { OverlayPositionerEvents } from '@aria-ui/overlay/elements';
|
|
24
|
+
import { OverlayPositionerEvents as OverlayPositionerEvents_2 } from '@aria-ui/overlay';
|
|
25
|
+
import { OverlayPositionerProps } from '@aria-ui/overlay/elements';
|
|
26
|
+
import { OverlayPositionerProps as OverlayPositionerProps_2 } from '@aria-ui/overlay';
|
|
27
|
+
import { Placement } from '@floating-ui/dom';
|
|
24
28
|
import { PlainExtension } from '@prosekit/core';
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
29
|
+
import { popoverContentEvents } from '@aria-ui/popover/elements';
|
|
30
|
+
import type { PopoverContentEvents as PopoverContentEvents_2 } from '@aria-ui/popover/elements';
|
|
31
|
+
import { popoverContentProps } from '@aria-ui/popover/elements';
|
|
32
|
+
import type { PopoverContentProps as PopoverContentProps_2 } from '@aria-ui/popover/elements';
|
|
33
|
+
import { popoverRootEvents } from '@aria-ui/popover/elements';
|
|
34
|
+
import type { PopoverRootEvents as PopoverRootEvents_2 } from '@aria-ui/popover/elements';
|
|
35
|
+
import { popoverRootProps } from '@aria-ui/popover/elements';
|
|
36
|
+
import type { PopoverRootProps as PopoverRootProps_2 } from '@aria-ui/popover/elements';
|
|
37
|
+
import { popoverTriggerEvents } from '@aria-ui/popover/elements';
|
|
38
|
+
import type { PopoverTriggerEvents as PopoverTriggerEvents_2 } from '@aria-ui/popover/elements';
|
|
39
|
+
import { popoverTriggerProps } from '@aria-ui/popover/elements';
|
|
40
|
+
import type { PopoverTriggerProps as PopoverTriggerProps_2 } from '@aria-ui/popover/elements';
|
|
41
|
+
import { PropDeclaration } from '@aria-ui/core';
|
|
42
|
+
import { PropDeclarations } from '@aria-ui/core';
|
|
28
43
|
import type { ProseMirrorNode } from '@prosekit/pm/model';
|
|
29
44
|
import { ReadonlySignal } from '@aria-ui/core';
|
|
30
45
|
import type { ReferenceElement } from '@floating-ui/dom';
|
|
46
|
+
import { RootBoundary } from '@floating-ui/dom';
|
|
47
|
+
import { SetupOptions } from '@aria-ui/core';
|
|
31
48
|
import { SignalState } from '@aria-ui/core';
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
49
|
+
import { tooltipContentEvents } from '@aria-ui/tooltip';
|
|
50
|
+
import { TooltipContentEvents as TooltipContentEvents_2 } from '@aria-ui/tooltip';
|
|
51
|
+
import { TooltipContentProps as TooltipContentProps_2 } from '@aria-ui/tooltip';
|
|
52
|
+
import { tooltipRootEvents } from '@aria-ui/tooltip/elements';
|
|
53
|
+
import type { TooltipRootEvents as TooltipRootEvents_2 } from '@aria-ui/tooltip/elements';
|
|
54
|
+
import { tooltipRootProps } from '@aria-ui/tooltip/elements';
|
|
55
|
+
import type { TooltipRootProps as TooltipRootProps_2 } from '@aria-ui/tooltip/elements';
|
|
56
|
+
import { tooltipTriggerEvents } from '@aria-ui/tooltip/elements';
|
|
57
|
+
import type { TooltipTriggerEvents as TooltipTriggerEvents_2 } from '@aria-ui/tooltip/elements';
|
|
58
|
+
import { tooltipTriggerProps } from '@aria-ui/tooltip/elements';
|
|
59
|
+
import type { TooltipTriggerProps as TooltipTriggerProps_2 } from '@aria-ui/tooltip/elements';
|
|
35
60
|
import { Union } from '@prosekit/core';
|
|
36
61
|
import { UpdateHandler } from '@prosekit/core';
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
62
|
+
import { useListboxEmpty } from '@aria-ui/listbox/elements';
|
|
63
|
+
import { usePopoverContent } from '@aria-ui/popover/elements';
|
|
64
|
+
import { usePopoverRoot } from '@aria-ui/popover/elements';
|
|
65
|
+
import { usePopoverTrigger } from '@aria-ui/popover/elements';
|
|
66
|
+
import { useTooltipContent } from '@aria-ui/tooltip/elements';
|
|
67
|
+
import { useTooltipRoot } from '@aria-ui/tooltip/elements';
|
|
68
|
+
import { useTooltipTrigger } from '@aria-ui/tooltip/elements';
|
|
43
69
|
import type { VirtualElement } from '@floating-ui/dom';
|
|
44
70
|
|
|
45
71
|
declare class AutocompleteEmptyElement extends AutocompleteEmptyElement_base {
|
|
@@ -47,25 +73,46 @@ declare class AutocompleteEmptyElement extends AutocompleteEmptyElement_base {
|
|
|
47
73
|
export { AutocompleteEmptyElement }
|
|
48
74
|
export { AutocompleteEmptyElement as AutocompleteEmptyElement_alias_1 }
|
|
49
75
|
|
|
50
|
-
declare const AutocompleteEmptyElement_base:
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
76
|
+
declare const AutocompleteEmptyElement_base: BaseElementConstructor<AutocompleteEmptyProps>;
|
|
77
|
+
|
|
78
|
+
/** @internal */
|
|
79
|
+
declare interface AutocompleteEmptyEvents {
|
|
80
|
+
}
|
|
81
|
+
export { AutocompleteEmptyEvents }
|
|
82
|
+
export { AutocompleteEmptyEvents as AutocompleteEmptyEvents_alias_1 }
|
|
83
|
+
|
|
84
|
+
/** @internal */
|
|
85
|
+
declare const autocompleteEmptyEvents: EventDeclarations<AutocompleteEmptyEvents>;
|
|
86
|
+
export { autocompleteEmptyEvents }
|
|
87
|
+
export { autocompleteEmptyEvents as autocompleteEmptyEvents_alias_1 }
|
|
54
88
|
|
|
55
|
-
|
|
89
|
+
/** @internal */
|
|
90
|
+
declare interface AutocompleteEmptyProps {
|
|
56
91
|
}
|
|
57
92
|
export { AutocompleteEmptyProps }
|
|
58
93
|
export { AutocompleteEmptyProps as AutocompleteEmptyProps_alias_1 }
|
|
59
94
|
|
|
95
|
+
/** @internal */
|
|
96
|
+
declare const autocompleteEmptyProps: PropDeclarations<AutocompleteEmptyProps>;
|
|
97
|
+
export { autocompleteEmptyProps }
|
|
98
|
+
export { autocompleteEmptyProps as autocompleteEmptyProps_alias_1 }
|
|
99
|
+
|
|
60
100
|
declare class AutocompleteItemElement extends AutocompleteItemElement_base {
|
|
61
101
|
}
|
|
62
102
|
export { AutocompleteItemElement }
|
|
63
103
|
export { AutocompleteItemElement as AutocompleteItemElement_alias_1 }
|
|
64
104
|
|
|
65
|
-
declare const AutocompleteItemElement_base:
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
}
|
|
105
|
+
declare const AutocompleteItemElement_base: BaseElementConstructor<AutocompleteItemProps>;
|
|
106
|
+
|
|
107
|
+
declare interface AutocompleteItemEvents extends ListboxItemEvents {
|
|
108
|
+
}
|
|
109
|
+
export { AutocompleteItemEvents }
|
|
110
|
+
export { AutocompleteItemEvents as AutocompleteItemEvents_alias_1 }
|
|
111
|
+
|
|
112
|
+
/** @internal */
|
|
113
|
+
declare const autocompleteItemEvents: EventDeclarations<AutocompleteItemEvents>;
|
|
114
|
+
export { autocompleteItemEvents }
|
|
115
|
+
export { autocompleteItemEvents as autocompleteItemEvents_alias_1 }
|
|
69
116
|
|
|
70
117
|
declare interface AutocompleteItemProps {
|
|
71
118
|
/**
|
|
@@ -76,47 +123,75 @@ declare interface AutocompleteItemProps {
|
|
|
76
123
|
* @default ""
|
|
77
124
|
*/
|
|
78
125
|
value: string;
|
|
79
|
-
/**
|
|
80
|
-
* The function to call when the item is selected.
|
|
81
|
-
*
|
|
82
|
-
* @default null
|
|
83
|
-
*/
|
|
84
|
-
onSelect: VoidFunction | null;
|
|
85
126
|
}
|
|
86
127
|
export { AutocompleteItemProps }
|
|
87
128
|
export { AutocompleteItemProps as AutocompleteItemProps_alias_1 }
|
|
88
129
|
|
|
130
|
+
/** @internal */
|
|
131
|
+
declare const autocompleteItemProps: PropDeclarations<AutocompleteItemProps>;
|
|
132
|
+
export { autocompleteItemProps }
|
|
133
|
+
export { autocompleteItemProps as autocompleteItemProps_alias_1 }
|
|
134
|
+
|
|
89
135
|
declare class AutocompleteListElement extends AutocompleteListElement_base {
|
|
90
136
|
}
|
|
91
137
|
export { AutocompleteListElement }
|
|
92
138
|
export { AutocompleteListElement as AutocompleteListElement_alias_1 }
|
|
93
139
|
|
|
94
|
-
declare const AutocompleteListElement_base:
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
}
|
|
140
|
+
declare const AutocompleteListElement_base: BaseElementConstructor<AutocompleteListProps>;
|
|
141
|
+
|
|
142
|
+
declare interface AutocompleteListEvents extends ListboxEvents {
|
|
143
|
+
}
|
|
144
|
+
export { AutocompleteListEvents }
|
|
145
|
+
export { AutocompleteListEvents as AutocompleteListEvents_alias_1 }
|
|
146
|
+
|
|
147
|
+
declare const autocompleteListEvents: EventDeclarations<ListboxEvents>;
|
|
148
|
+
export { autocompleteListEvents }
|
|
149
|
+
export { autocompleteListEvents as autocompleteListEvents_alias_1 }
|
|
98
150
|
|
|
99
151
|
declare interface AutocompleteListProps extends Pick<ListboxProps, 'filter'> {
|
|
152
|
+
/**
|
|
153
|
+
* The ProseKit editor instance.
|
|
154
|
+
*
|
|
155
|
+
* @default null
|
|
156
|
+
* @hidden
|
|
157
|
+
*/
|
|
100
158
|
editor: Editor | null;
|
|
101
159
|
}
|
|
102
160
|
export { AutocompleteListProps }
|
|
103
161
|
export { AutocompleteListProps as AutocompleteListProps_alias_1 }
|
|
104
162
|
|
|
163
|
+
declare const autocompleteListProps: {
|
|
164
|
+
filter: PropDeclaration<ItemFilter | null>;
|
|
165
|
+
editor: {
|
|
166
|
+
default: null;
|
|
167
|
+
};
|
|
168
|
+
};
|
|
169
|
+
export { autocompleteListProps }
|
|
170
|
+
export { autocompleteListProps as autocompleteListProps_alias_1 }
|
|
171
|
+
|
|
105
172
|
declare class AutocompletePopoverElement extends AutocompletePopoverElement_base {
|
|
106
173
|
}
|
|
107
174
|
export { AutocompletePopoverElement }
|
|
108
175
|
export { AutocompletePopoverElement as AutocompletePopoverElement_alias_1 }
|
|
109
176
|
|
|
110
|
-
declare const AutocompletePopoverElement_base:
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
}
|
|
177
|
+
declare const AutocompletePopoverElement_base: BaseElementConstructor<AutocompletePopoverProps>;
|
|
178
|
+
|
|
179
|
+
declare interface AutocompletePopoverEvents extends OverlayPositionerEvents {
|
|
180
|
+
}
|
|
181
|
+
export { AutocompletePopoverEvents }
|
|
182
|
+
export { AutocompletePopoverEvents as AutocompletePopoverEvents_alias_1 }
|
|
183
|
+
|
|
184
|
+
/** @internal */
|
|
185
|
+
declare const autocompletePopoverEvents: EventDeclarations<AutocompletePopoverEvents>;
|
|
186
|
+
export { autocompletePopoverEvents }
|
|
187
|
+
export { autocompletePopoverEvents as autocompletePopoverEvents_alias_1 }
|
|
114
188
|
|
|
115
189
|
declare interface AutocompletePopoverProps extends OverlayPositionerProps {
|
|
116
190
|
/**
|
|
117
191
|
* The ProseKit editor instance.
|
|
118
192
|
*
|
|
119
193
|
* @default null
|
|
194
|
+
* @hidden
|
|
120
195
|
*/
|
|
121
196
|
editor: Editor | null;
|
|
122
197
|
/**
|
|
@@ -169,112 +244,151 @@ declare interface AutocompletePopoverProps extends OverlayPositionerProps {
|
|
|
169
244
|
export { AutocompletePopoverProps }
|
|
170
245
|
export { AutocompletePopoverProps as AutocompletePopoverProps_alias_1 }
|
|
171
246
|
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
247
|
+
/** @internal */
|
|
248
|
+
declare const autocompletePopoverProps: {
|
|
249
|
+
readonly editor: {
|
|
250
|
+
readonly default: null;
|
|
251
|
+
};
|
|
252
|
+
readonly regex: {
|
|
253
|
+
readonly default: null;
|
|
254
|
+
};
|
|
255
|
+
readonly onQueryChange: {
|
|
256
|
+
readonly default: null;
|
|
257
|
+
};
|
|
258
|
+
readonly onOpenChange: {
|
|
259
|
+
readonly default: null;
|
|
260
|
+
};
|
|
261
|
+
readonly placement: {
|
|
262
|
+
readonly default: "bottom-start";
|
|
263
|
+
};
|
|
264
|
+
readonly offset: {
|
|
265
|
+
readonly default: 4;
|
|
266
|
+
};
|
|
267
|
+
readonly inline: {
|
|
268
|
+
readonly default: true;
|
|
269
|
+
};
|
|
270
|
+
readonly hoist: {
|
|
271
|
+
readonly default: true;
|
|
272
|
+
};
|
|
273
|
+
readonly fitViewport: {
|
|
274
|
+
readonly default: true;
|
|
275
|
+
};
|
|
276
|
+
readonly boundary: {
|
|
277
|
+
readonly default: HTMLBodyElement | "clippingAncestors";
|
|
278
|
+
};
|
|
279
|
+
readonly overflowPadding: {
|
|
280
|
+
readonly default: 8;
|
|
281
|
+
};
|
|
282
|
+
readonly strategy: PropDeclaration<"fixed" | "absolute">;
|
|
283
|
+
readonly autoUpdate: PropDeclaration<boolean | AutoUpdateOptions>;
|
|
284
|
+
readonly transform: PropDeclaration<boolean>;
|
|
285
|
+
readonly flip: PropDeclaration<boolean | Placement[]>;
|
|
286
|
+
readonly shift: PropDeclaration<boolean>;
|
|
287
|
+
readonly overlap: PropDeclaration<boolean>;
|
|
288
|
+
readonly sameWidth: PropDeclaration<boolean>;
|
|
289
|
+
readonly sameHeight: PropDeclaration<boolean>;
|
|
290
|
+
readonly hide: PropDeclaration<boolean>;
|
|
291
|
+
readonly rootBoundary: PropDeclaration<RootBoundary>;
|
|
292
|
+
readonly elementContext: PropDeclaration<ElementContext>;
|
|
293
|
+
readonly altBoundary: PropDeclaration<boolean>;
|
|
180
294
|
};
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
* @deprecated Use `BlockHandleDraggableProps` instead.
|
|
184
|
-
*/
|
|
185
|
-
declare interface BlockDragHandleProps {
|
|
186
|
-
/**
|
|
187
|
-
* The ProseKit editor instance.
|
|
188
|
-
*
|
|
189
|
-
* @default null
|
|
190
|
-
*/
|
|
191
|
-
editor: Editor | null;
|
|
192
|
-
}
|
|
193
|
-
export { BlockDragHandleProps }
|
|
194
|
-
export { BlockDragHandleProps as BlockDragHandleProps_alias_1 }
|
|
295
|
+
export { autocompletePopoverProps }
|
|
296
|
+
export { autocompletePopoverProps as autocompletePopoverProps_alias_1 }
|
|
195
297
|
|
|
196
298
|
declare class BlockHandleAddElement extends BlockHandleAddElement_base {
|
|
197
299
|
}
|
|
198
300
|
export { BlockHandleAddElement }
|
|
199
301
|
export { BlockHandleAddElement as BlockHandleAddElement_alias_1 }
|
|
200
302
|
|
|
201
|
-
declare const BlockHandleAddElement_base:
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
303
|
+
declare const BlockHandleAddElement_base: BaseElementConstructor<BlockHandleAddProps>;
|
|
304
|
+
|
|
305
|
+
/** @internal */
|
|
306
|
+
declare interface BlockHandleAddEvents {
|
|
307
|
+
}
|
|
308
|
+
export { BlockHandleAddEvents }
|
|
309
|
+
export { BlockHandleAddEvents as BlockHandleAddEvents_alias_1 }
|
|
310
|
+
|
|
311
|
+
/** @internal */
|
|
312
|
+
declare const blockHandleAddEvents: EventDeclarations<BlockHandleAddEvents>;
|
|
313
|
+
export { blockHandleAddEvents }
|
|
314
|
+
export { blockHandleAddEvents as blockHandleAddEvents_alias_1 }
|
|
205
315
|
|
|
206
316
|
declare interface BlockHandleAddProps {
|
|
207
317
|
/**
|
|
208
318
|
* The ProseKit editor instance.
|
|
209
319
|
*
|
|
210
320
|
* @default null
|
|
321
|
+
* @hidden
|
|
211
322
|
*/
|
|
212
323
|
editor: Editor | null;
|
|
213
324
|
}
|
|
214
325
|
export { BlockHandleAddProps }
|
|
215
326
|
export { BlockHandleAddProps as BlockHandleAddProps_alias_1 }
|
|
216
327
|
|
|
328
|
+
/** @internal */
|
|
329
|
+
declare const blockHandleAddProps: PropDeclarations<BlockHandleAddProps>;
|
|
330
|
+
export { blockHandleAddProps }
|
|
331
|
+
export { blockHandleAddProps as blockHandleAddProps_alias_1 }
|
|
332
|
+
|
|
217
333
|
declare class BlockHandleDraggableElement extends BlockHandleDraggableElement_base {
|
|
218
334
|
}
|
|
219
335
|
export { BlockHandleDraggableElement }
|
|
220
336
|
export { BlockHandleDraggableElement as BlockHandleDraggableElement_alias_1 }
|
|
221
337
|
|
|
222
|
-
declare const BlockHandleDraggableElement_base:
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
338
|
+
declare const BlockHandleDraggableElement_base: BaseElementConstructor<BlockHandleDraggableProps>;
|
|
339
|
+
|
|
340
|
+
/** @internal */
|
|
341
|
+
declare interface BlockHandleDraggableEvents {
|
|
342
|
+
}
|
|
343
|
+
export { BlockHandleDraggableEvents }
|
|
344
|
+
export { BlockHandleDraggableEvents as BlockHandleDraggableEvents_alias_1 }
|
|
345
|
+
|
|
346
|
+
/** @internal */
|
|
347
|
+
declare const blockHandleDraggableEvents: EventDeclarations<BlockHandleDraggableEvents>;
|
|
348
|
+
export { blockHandleDraggableEvents }
|
|
349
|
+
export { blockHandleDraggableEvents as blockHandleDraggableEvents_alias_1 }
|
|
226
350
|
|
|
227
351
|
declare interface BlockHandleDraggableProps {
|
|
228
352
|
/**
|
|
229
353
|
* The ProseKit editor instance.
|
|
230
354
|
*
|
|
231
355
|
* @default null
|
|
356
|
+
* @hidden
|
|
232
357
|
*/
|
|
233
358
|
editor: Editor | null;
|
|
234
359
|
}
|
|
235
360
|
export { BlockHandleDraggableProps }
|
|
236
361
|
export { BlockHandleDraggableProps as BlockHandleDraggableProps_alias_1 }
|
|
237
362
|
|
|
363
|
+
/** @internal */
|
|
364
|
+
declare const blockHandleDraggableProps: PropDeclarations<BlockHandleDraggableProps>;
|
|
365
|
+
export { blockHandleDraggableProps }
|
|
366
|
+
export { blockHandleDraggableProps as blockHandleDraggableProps_alias_1 }
|
|
367
|
+
|
|
238
368
|
declare class BlockHandlePopoverElement extends BlockHandlePopoverElement_base {
|
|
239
369
|
}
|
|
240
370
|
export { BlockHandlePopoverElement }
|
|
241
371
|
export { BlockHandlePopoverElement as BlockHandlePopoverElement_alias_1 }
|
|
242
372
|
|
|
243
|
-
declare const BlockHandlePopoverElement_base:
|
|
244
|
-
new (): BaseElement & BlockHandlePopoverProps;
|
|
245
|
-
prototype: HTMLElement;
|
|
246
|
-
};
|
|
247
|
-
|
|
248
|
-
declare interface BlockHandlePopoverProps extends BlockPopoverProps {
|
|
249
|
-
}
|
|
250
|
-
export { BlockHandlePopoverProps }
|
|
251
|
-
export { BlockHandlePopoverProps as BlockHandlePopoverProps_alias_1 }
|
|
252
|
-
|
|
253
|
-
/**
|
|
254
|
-
* @internal
|
|
255
|
-
*/
|
|
256
|
-
export declare type BlockPopoverContext = HoverState | null;
|
|
257
|
-
|
|
258
|
-
/**
|
|
259
|
-
* @internal
|
|
260
|
-
*/
|
|
261
|
-
export declare const blockPopoverContext: Context<BlockPopoverContext>;
|
|
373
|
+
declare const BlockHandlePopoverElement_base: BaseElementConstructor<BlockHandlePopoverProps>;
|
|
262
374
|
|
|
263
|
-
|
|
375
|
+
/** @internal */
|
|
376
|
+
declare interface BlockHandlePopoverEvents {
|
|
264
377
|
}
|
|
265
|
-
export {
|
|
266
|
-
export {
|
|
378
|
+
export { BlockHandlePopoverEvents }
|
|
379
|
+
export { BlockHandlePopoverEvents as BlockHandlePopoverEvents_alias_1 }
|
|
267
380
|
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
}
|
|
381
|
+
/** @internal */
|
|
382
|
+
declare const blockHandlePopoverEvents: EventDeclarations<BlockHandlePopoverEvents>;
|
|
383
|
+
export { blockHandlePopoverEvents }
|
|
384
|
+
export { blockHandlePopoverEvents as blockHandlePopoverEvents_alias_1 }
|
|
272
385
|
|
|
273
|
-
declare interface
|
|
386
|
+
declare interface BlockHandlePopoverProps extends Omit<OverlayPositionerProps, 'placement' | 'offset'> {
|
|
274
387
|
/**
|
|
275
388
|
* The ProseKit editor instance.
|
|
276
389
|
*
|
|
277
390
|
* @default null
|
|
391
|
+
* @hidden
|
|
278
392
|
*/
|
|
279
393
|
editor: Editor | null;
|
|
280
394
|
/**
|
|
@@ -290,8 +404,23 @@ declare interface BlockPopoverProps extends Omit<OverlayPositionerProps, 'placem
|
|
|
290
404
|
*/
|
|
291
405
|
offset: number;
|
|
292
406
|
}
|
|
293
|
-
export {
|
|
294
|
-
export {
|
|
407
|
+
export { BlockHandlePopoverProps }
|
|
408
|
+
export { BlockHandlePopoverProps as BlockHandlePopoverProps_alias_1 }
|
|
409
|
+
|
|
410
|
+
/** @internal */
|
|
411
|
+
declare const blockHandlePopoverProps: PropDeclarations<BlockHandlePopoverProps>;
|
|
412
|
+
export { blockHandlePopoverProps }
|
|
413
|
+
export { blockHandlePopoverProps as blockHandlePopoverProps_alias_1 }
|
|
414
|
+
|
|
415
|
+
/**
|
|
416
|
+
* @internal
|
|
417
|
+
*/
|
|
418
|
+
export declare type BlockPopoverContext = HoverState | null;
|
|
419
|
+
|
|
420
|
+
/**
|
|
421
|
+
* @internal
|
|
422
|
+
*/
|
|
423
|
+
export declare const blockPopoverContext: Context<BlockPopoverContext>;
|
|
295
424
|
|
|
296
425
|
export declare function calcResize(position: 'top' | 'right' | 'bottom' | 'left' | 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right', w: number, h: number, dx: number, dy: number, aspectRatio: number | null | undefined): [w: number, h: number];
|
|
297
426
|
|
|
@@ -299,321 +428,8 @@ export declare const default_alias: Options | Options[] | ((overrideOptions: Opt
|
|
|
299
428
|
|
|
300
429
|
export { default_alias_1 }
|
|
301
430
|
|
|
302
|
-
declare const defaultAutocompleteEmptyProps: {};
|
|
303
|
-
export { defaultAutocompleteEmptyProps }
|
|
304
|
-
export { defaultAutocompleteEmptyProps as defaultAutocompleteEmptyProps_alias_1 }
|
|
305
|
-
|
|
306
|
-
declare const defaultAutocompleteItemProps: {
|
|
307
|
-
value: string;
|
|
308
|
-
onSelect: null;
|
|
309
|
-
};
|
|
310
|
-
export { defaultAutocompleteItemProps }
|
|
311
|
-
export { defaultAutocompleteItemProps as defaultAutocompleteItemProps_alias_1 }
|
|
312
|
-
|
|
313
|
-
declare const defaultAutocompleteListProps: {
|
|
314
|
-
filter: (options: {
|
|
315
|
-
query: string;
|
|
316
|
-
value: string;
|
|
317
|
-
}) => boolean;
|
|
318
|
-
editor: null;
|
|
319
|
-
};
|
|
320
|
-
export { defaultAutocompleteListProps }
|
|
321
|
-
export { defaultAutocompleteListProps as defaultAutocompleteListProps_alias_1 }
|
|
322
|
-
|
|
323
|
-
declare const defaultAutocompletePopoverProps: Readonly<{
|
|
324
|
-
editor: null;
|
|
325
|
-
regex: null;
|
|
326
|
-
onQueryChange: null;
|
|
327
|
-
onOpenChange: null;
|
|
328
|
-
placement: "bottom-start";
|
|
329
|
-
offset: 4;
|
|
330
|
-
inline: true;
|
|
331
|
-
hoist: true;
|
|
332
|
-
fitViewport: true;
|
|
333
|
-
boundary: HTMLBodyElement | "clippingAncestors";
|
|
334
|
-
overflowPadding: 8;
|
|
335
|
-
strategy: "absolute";
|
|
336
|
-
autoUpdate: true;
|
|
337
|
-
transform: false;
|
|
338
|
-
flip: false;
|
|
339
|
-
shift: false;
|
|
340
|
-
overlap: false;
|
|
341
|
-
sameWidth: false;
|
|
342
|
-
sameHeight: false;
|
|
343
|
-
hide: false;
|
|
344
|
-
rootBoundary: "viewport";
|
|
345
|
-
elementContext: "floating";
|
|
346
|
-
altBoundary: true;
|
|
347
|
-
}>;
|
|
348
|
-
export { defaultAutocompletePopoverProps }
|
|
349
|
-
export { defaultAutocompletePopoverProps as defaultAutocompletePopoverProps_alias_1 }
|
|
350
|
-
|
|
351
|
-
declare const defaultBlockDragHandleProps: Readonly<{
|
|
352
|
-
editor: null;
|
|
353
|
-
}>;
|
|
354
|
-
export { defaultBlockDragHandleProps }
|
|
355
|
-
export { defaultBlockDragHandleProps as defaultBlockDragHandleProps_alias_1 }
|
|
356
|
-
|
|
357
|
-
declare const defaultBlockHandleAddProps: Readonly<{
|
|
358
|
-
editor: null;
|
|
359
|
-
}>;
|
|
360
|
-
export { defaultBlockHandleAddProps }
|
|
361
|
-
export { defaultBlockHandleAddProps as defaultBlockHandleAddProps_alias_1 }
|
|
362
|
-
|
|
363
|
-
declare const defaultBlockHandleDraggableProps: Readonly<{
|
|
364
|
-
editor: null;
|
|
365
|
-
}>;
|
|
366
|
-
export { defaultBlockHandleDraggableProps }
|
|
367
|
-
export { defaultBlockHandleDraggableProps as defaultBlockHandleDraggableProps_alias_1 }
|
|
368
|
-
|
|
369
|
-
declare const defaultBlockHandlePopoverProps: Readonly<{
|
|
370
|
-
editor: null;
|
|
371
|
-
placement: "left-start";
|
|
372
|
-
offset: 4;
|
|
373
|
-
strategy: "absolute";
|
|
374
|
-
autoUpdate: true;
|
|
375
|
-
hoist: false;
|
|
376
|
-
transform: false;
|
|
377
|
-
flip: false;
|
|
378
|
-
shift: false;
|
|
379
|
-
overlap: false;
|
|
380
|
-
fitViewport: false;
|
|
381
|
-
sameWidth: false;
|
|
382
|
-
sameHeight: false;
|
|
383
|
-
inline: false;
|
|
384
|
-
hide: false;
|
|
385
|
-
boundary: "clippingAncestors";
|
|
386
|
-
rootBoundary: "viewport";
|
|
387
|
-
overflowPadding: 0;
|
|
388
|
-
elementContext: "floating";
|
|
389
|
-
altBoundary: true;
|
|
390
|
-
}>;
|
|
391
|
-
export { defaultBlockHandlePopoverProps }
|
|
392
|
-
export { defaultBlockHandlePopoverProps as defaultBlockHandlePopoverProps_alias_1 }
|
|
393
|
-
|
|
394
|
-
declare const defaultBlockPopoverProps: Readonly<{
|
|
395
|
-
editor: null;
|
|
396
|
-
placement: "left-start";
|
|
397
|
-
offset: 4;
|
|
398
|
-
strategy: "absolute";
|
|
399
|
-
autoUpdate: true;
|
|
400
|
-
hoist: false;
|
|
401
|
-
transform: false;
|
|
402
|
-
flip: false;
|
|
403
|
-
shift: false;
|
|
404
|
-
overlap: false;
|
|
405
|
-
fitViewport: false;
|
|
406
|
-
sameWidth: false;
|
|
407
|
-
sameHeight: false;
|
|
408
|
-
inline: false;
|
|
409
|
-
hide: false;
|
|
410
|
-
boundary: "clippingAncestors";
|
|
411
|
-
rootBoundary: "viewport";
|
|
412
|
-
overflowPadding: 0;
|
|
413
|
-
elementContext: "floating";
|
|
414
|
-
altBoundary: true;
|
|
415
|
-
}>;
|
|
416
|
-
export { defaultBlockPopoverProps }
|
|
417
|
-
export { defaultBlockPopoverProps as defaultBlockPopoverProps_alias_1 }
|
|
418
|
-
|
|
419
|
-
declare const defaultInlinePopoverProps: Readonly<{
|
|
420
|
-
editor: null;
|
|
421
|
-
defaultOpen: true;
|
|
422
|
-
open: false;
|
|
423
|
-
onOpenChange: null;
|
|
424
|
-
dismissOnEscape: true;
|
|
425
|
-
placement: "top";
|
|
426
|
-
offset: 12;
|
|
427
|
-
shift: true;
|
|
428
|
-
flip: true;
|
|
429
|
-
hide: true;
|
|
430
|
-
overlap: true;
|
|
431
|
-
inline: true;
|
|
432
|
-
overflowPadding: 8;
|
|
433
|
-
hoist: true;
|
|
434
|
-
boundary: never[];
|
|
435
|
-
strategy: "absolute";
|
|
436
|
-
autoUpdate: true;
|
|
437
|
-
transform: false;
|
|
438
|
-
fitViewport: false;
|
|
439
|
-
sameWidth: false;
|
|
440
|
-
sameHeight: false;
|
|
441
|
-
rootBoundary: "viewport";
|
|
442
|
-
elementContext: "floating";
|
|
443
|
-
altBoundary: true;
|
|
444
|
-
}>;
|
|
445
|
-
export { defaultInlinePopoverProps }
|
|
446
|
-
export { defaultInlinePopoverProps as defaultInlinePopoverProps_alias_1 }
|
|
447
|
-
|
|
448
|
-
export { defaultPopoverContentProps }
|
|
449
|
-
export { defaultPopoverContentProps as defaultPopoverContentProps_alias_1 }
|
|
450
|
-
|
|
451
|
-
export { defaultPopoverRootProps }
|
|
452
|
-
export { defaultPopoverRootProps as defaultPopoverRootProps_alias_1 }
|
|
453
|
-
|
|
454
|
-
export { defaultPopoverTriggerProps }
|
|
455
|
-
export { defaultPopoverTriggerProps as defaultPopoverTriggerProps_alias_1 }
|
|
456
|
-
|
|
457
431
|
export declare function defaultQueryBuilder(match: RegExpExecArray): string;
|
|
458
432
|
|
|
459
|
-
declare const defaultResizableHandleProps: {
|
|
460
|
-
position: "bottom-right";
|
|
461
|
-
};
|
|
462
|
-
export { defaultResizableHandleProps }
|
|
463
|
-
export { defaultResizableHandleProps as defaultResizableHandleProps_alias_1 }
|
|
464
|
-
|
|
465
|
-
declare const defaultResizableRootProps: {
|
|
466
|
-
width: null;
|
|
467
|
-
height: null;
|
|
468
|
-
aspectRatio: null;
|
|
469
|
-
onSizeChangeStart: null;
|
|
470
|
-
onSizeChange: null;
|
|
471
|
-
onSizeChangeEnd: null;
|
|
472
|
-
};
|
|
473
|
-
export { defaultResizableRootProps }
|
|
474
|
-
export { defaultResizableRootProps as defaultResizableRootProps_alias_1 }
|
|
475
|
-
|
|
476
|
-
declare const defaultTableHandleColumnRootProps: Readonly<{
|
|
477
|
-
editor: null;
|
|
478
|
-
placement: "top";
|
|
479
|
-
strategy: "absolute";
|
|
480
|
-
autoUpdate: true;
|
|
481
|
-
hoist: false;
|
|
482
|
-
transform: false;
|
|
483
|
-
offset: null;
|
|
484
|
-
flip: false;
|
|
485
|
-
shift: false;
|
|
486
|
-
overlap: false;
|
|
487
|
-
fitViewport: false;
|
|
488
|
-
sameWidth: false;
|
|
489
|
-
sameHeight: false;
|
|
490
|
-
inline: false;
|
|
491
|
-
hide: false;
|
|
492
|
-
boundary: "clippingAncestors";
|
|
493
|
-
rootBoundary: "viewport";
|
|
494
|
-
overflowPadding: 0;
|
|
495
|
-
elementContext: "floating";
|
|
496
|
-
altBoundary: true;
|
|
497
|
-
}>;
|
|
498
|
-
export { defaultTableHandleColumnRootProps }
|
|
499
|
-
export { defaultTableHandleColumnRootProps as defaultTableHandleColumnRootProps_alias_1 }
|
|
500
|
-
|
|
501
|
-
declare const defaultTableHandleColumnTriggerProps: Readonly<{
|
|
502
|
-
editor: null;
|
|
503
|
-
}>;
|
|
504
|
-
export { defaultTableHandleColumnTriggerProps }
|
|
505
|
-
export { defaultTableHandleColumnTriggerProps as defaultTableHandleColumnTriggerProps_alias_1 }
|
|
506
|
-
|
|
507
|
-
declare const defaultTableHandlePopoverContentProps: Readonly<{
|
|
508
|
-
placement: "right-start";
|
|
509
|
-
offset: {
|
|
510
|
-
mainAxis: number;
|
|
511
|
-
crossAxis: number;
|
|
512
|
-
};
|
|
513
|
-
editor: null;
|
|
514
|
-
onKeydownHandlerAdd: null;
|
|
515
|
-
hoist: true;
|
|
516
|
-
flip: true;
|
|
517
|
-
shift: true;
|
|
518
|
-
overflowPadding: 4;
|
|
519
|
-
onEscapeKeyDown: null;
|
|
520
|
-
onPointerDownOutside: null;
|
|
521
|
-
onFocusOutside: null;
|
|
522
|
-
onInteractOutside: null;
|
|
523
|
-
strategy: "absolute";
|
|
524
|
-
autoUpdate: true;
|
|
525
|
-
transform: false;
|
|
526
|
-
overlap: false;
|
|
527
|
-
fitViewport: false;
|
|
528
|
-
sameWidth: false;
|
|
529
|
-
sameHeight: false;
|
|
530
|
-
inline: false;
|
|
531
|
-
hide: false;
|
|
532
|
-
boundary: "clippingAncestors";
|
|
533
|
-
rootBoundary: "viewport";
|
|
534
|
-
elementContext: "floating";
|
|
535
|
-
altBoundary: true;
|
|
536
|
-
}>;
|
|
537
|
-
export { defaultTableHandlePopoverContentProps }
|
|
538
|
-
export { defaultTableHandlePopoverContentProps as defaultTableHandlePopoverContentProps_alias_1 }
|
|
539
|
-
|
|
540
|
-
declare const defaultTableHandlePopoverItemProps: Readonly<{
|
|
541
|
-
disabled: false;
|
|
542
|
-
value: "";
|
|
543
|
-
query: "";
|
|
544
|
-
filter: ItemFilter;
|
|
545
|
-
onSelect: null;
|
|
546
|
-
}>;
|
|
547
|
-
export { defaultTableHandlePopoverItemProps }
|
|
548
|
-
export { defaultTableHandlePopoverItemProps as defaultTableHandlePopoverItemProps_alias_1 }
|
|
549
|
-
|
|
550
|
-
declare const defaultTableHandleRootProps: Readonly<{
|
|
551
|
-
editor: null;
|
|
552
|
-
}>;
|
|
553
|
-
export { defaultTableHandleRootProps }
|
|
554
|
-
export { defaultTableHandleRootProps as defaultTableHandleRootProps_alias_1 }
|
|
555
|
-
|
|
556
|
-
declare const defaultTableHandleRowRootProps: Readonly<{
|
|
557
|
-
editor: null;
|
|
558
|
-
placement: "left";
|
|
559
|
-
strategy: "absolute";
|
|
560
|
-
autoUpdate: true;
|
|
561
|
-
hoist: false;
|
|
562
|
-
transform: false;
|
|
563
|
-
offset: null;
|
|
564
|
-
flip: false;
|
|
565
|
-
shift: false;
|
|
566
|
-
overlap: false;
|
|
567
|
-
fitViewport: false;
|
|
568
|
-
sameWidth: false;
|
|
569
|
-
sameHeight: false;
|
|
570
|
-
inline: false;
|
|
571
|
-
hide: false;
|
|
572
|
-
boundary: "clippingAncestors";
|
|
573
|
-
rootBoundary: "viewport";
|
|
574
|
-
overflowPadding: 0;
|
|
575
|
-
elementContext: "floating";
|
|
576
|
-
altBoundary: true;
|
|
577
|
-
}>;
|
|
578
|
-
export { defaultTableHandleRowRootProps }
|
|
579
|
-
export { defaultTableHandleRowRootProps as defaultTableHandleRowRootProps_alias_1 }
|
|
580
|
-
|
|
581
|
-
declare const defaultTableHandleRowTriggerProps: Readonly<{
|
|
582
|
-
editor: null;
|
|
583
|
-
}>;
|
|
584
|
-
export { defaultTableHandleRowTriggerProps }
|
|
585
|
-
export { defaultTableHandleRowTriggerProps as defaultTableHandleRowTriggerProps_alias_1 }
|
|
586
|
-
|
|
587
|
-
declare const defaultTooltipContentProps: {
|
|
588
|
-
shift: true;
|
|
589
|
-
flip: true;
|
|
590
|
-
offset: number;
|
|
591
|
-
overflowPadding: number;
|
|
592
|
-
hoist: true;
|
|
593
|
-
boundary: never[];
|
|
594
|
-
strategy: "absolute";
|
|
595
|
-
placement: "top";
|
|
596
|
-
autoUpdate: true;
|
|
597
|
-
transform: false;
|
|
598
|
-
overlap: false;
|
|
599
|
-
fitViewport: false;
|
|
600
|
-
sameWidth: false;
|
|
601
|
-
sameHeight: false;
|
|
602
|
-
inline: false;
|
|
603
|
-
hide: false;
|
|
604
|
-
rootBoundary: "viewport";
|
|
605
|
-
elementContext: "floating";
|
|
606
|
-
altBoundary: true;
|
|
607
|
-
};
|
|
608
|
-
export { defaultTooltipContentProps }
|
|
609
|
-
export { defaultTooltipContentProps as defaultTooltipContentProps_alias_1 }
|
|
610
|
-
|
|
611
|
-
export { defaultTooltipRootProps }
|
|
612
|
-
export { defaultTooltipRootProps as defaultTooltipRootProps_alias_1 }
|
|
613
|
-
|
|
614
|
-
export { defaultTooltipTriggerProps }
|
|
615
|
-
export { defaultTooltipTriggerProps as defaultTooltipTriggerProps_alias_1 }
|
|
616
|
-
|
|
617
433
|
export declare function defineCustomElement(name: string, constructor: CustomElementConstructor, options?: ElementDefinitionOptions): void;
|
|
618
434
|
|
|
619
435
|
export declare function defineElementHoverHandler(handler: ElementHoverHandler): Union<readonly [PlainExtension, PlainExtension, PlainExtension]>;
|
|
@@ -622,6 +438,8 @@ export declare type ElementHoverHandler = (reference: VirtualElement | null, hov
|
|
|
622
438
|
|
|
623
439
|
export declare function getHoveringCell(view: EditorView, event: MouseEvent): HoveringCellInfo | undefined;
|
|
624
440
|
|
|
441
|
+
export declare function getStateWithDefaults<Props extends Record<string, any> = Record<string, any>>(state: Partial<SignalState<Props>>, props: PropDeclarations<Props>): SignalState<Props>;
|
|
442
|
+
|
|
625
443
|
export declare function getVirtualSelectionElement(view: EditorView): ReferenceElement | undefined;
|
|
626
444
|
|
|
627
445
|
export declare interface HoveringCellInfo {
|
|
@@ -646,16 +464,25 @@ declare class InlinePopoverElement extends InlinePopoverElement_base {
|
|
|
646
464
|
export { InlinePopoverElement }
|
|
647
465
|
export { InlinePopoverElement as InlinePopoverElement_alias_1 }
|
|
648
466
|
|
|
649
|
-
declare const InlinePopoverElement_base:
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
467
|
+
declare const InlinePopoverElement_base: BaseElementConstructor<InlinePopoverProps>;
|
|
468
|
+
|
|
469
|
+
/** @internal */
|
|
470
|
+
declare interface InlinePopoverEvents extends OverlayPositionerEvents_2 {
|
|
471
|
+
}
|
|
472
|
+
export { InlinePopoverEvents }
|
|
473
|
+
export { InlinePopoverEvents as InlinePopoverEvents_alias_1 }
|
|
653
474
|
|
|
654
|
-
|
|
475
|
+
/** @internal */
|
|
476
|
+
declare const inlinePopoverEvents: EventDeclarations<InlinePopoverEvents>;
|
|
477
|
+
export { inlinePopoverEvents }
|
|
478
|
+
export { inlinePopoverEvents as inlinePopoverEvents_alias_1 }
|
|
479
|
+
|
|
480
|
+
declare interface InlinePopoverProps extends Omit<OverlayPositionerProps_2, 'placement' | 'offset'> {
|
|
655
481
|
/**
|
|
656
482
|
* The ProseKit editor instance.
|
|
657
483
|
*
|
|
658
484
|
* @default null
|
|
485
|
+
* @hidden
|
|
659
486
|
*/
|
|
660
487
|
editor: Editor | null;
|
|
661
488
|
/**
|
|
@@ -697,35 +524,40 @@ declare interface InlinePopoverProps extends Omit<OverlayPositionerProps, 'place
|
|
|
697
524
|
*
|
|
698
525
|
* @default "top"
|
|
699
526
|
*/
|
|
700
|
-
placement:
|
|
527
|
+
placement: OverlayPositionerProps_2['placement'];
|
|
701
528
|
/**
|
|
702
529
|
* @default 12
|
|
703
530
|
*/
|
|
704
|
-
offset:
|
|
531
|
+
offset: OverlayPositionerProps_2['offset'];
|
|
705
532
|
/**
|
|
706
533
|
* @default true
|
|
707
534
|
*/
|
|
708
|
-
flip:
|
|
535
|
+
flip: OverlayPositionerProps_2['flip'];
|
|
709
536
|
/**
|
|
710
537
|
* @default true
|
|
711
538
|
*/
|
|
712
|
-
hide:
|
|
539
|
+
hide: OverlayPositionerProps_2['hide'];
|
|
713
540
|
/**
|
|
714
541
|
* @default true
|
|
715
542
|
*/
|
|
716
|
-
overlap:
|
|
543
|
+
overlap: OverlayPositionerProps_2['overlap'];
|
|
717
544
|
/**
|
|
718
545
|
* @default true
|
|
719
546
|
*/
|
|
720
|
-
inline:
|
|
547
|
+
inline: OverlayPositionerProps_2['inline'];
|
|
721
548
|
/**
|
|
722
549
|
* @default true
|
|
723
550
|
*/
|
|
724
|
-
hoist:
|
|
551
|
+
hoist: OverlayPositionerProps_2['hoist'];
|
|
725
552
|
}
|
|
726
553
|
export { InlinePopoverProps }
|
|
727
554
|
export { InlinePopoverProps as InlinePopoverProps_alias_1 }
|
|
728
555
|
|
|
556
|
+
/** @internal */
|
|
557
|
+
declare const inlinePopoverProps: PropDeclarations<InlinePopoverProps>;
|
|
558
|
+
export { inlinePopoverProps }
|
|
559
|
+
export { inlinePopoverProps as inlinePopoverProps_alias_1 }
|
|
560
|
+
|
|
729
561
|
export declare function isFinitePositiveNumber(value: unknown): value is number;
|
|
730
562
|
|
|
731
563
|
export declare function isHoveringCellInfoEqual(a?: HoveringCellInfo | null, b?: HoveringCellInfo | null): boolean;
|
|
@@ -769,40 +601,70 @@ declare class PopoverContentElement extends PopoverContentElement_base {
|
|
|
769
601
|
export { PopoverContentElement }
|
|
770
602
|
export { PopoverContentElement as PopoverContentElement_alias_1 }
|
|
771
603
|
|
|
772
|
-
declare const PopoverContentElement_base:
|
|
773
|
-
new (): BaseElement & PopoverContentProps;
|
|
774
|
-
prototype: HTMLElement;
|
|
775
|
-
};
|
|
604
|
+
declare const PopoverContentElement_base: BaseElementConstructor<PopoverContentProps>;
|
|
776
605
|
|
|
606
|
+
declare interface PopoverContentEvents extends PopoverContentEvents_2 {
|
|
607
|
+
}
|
|
608
|
+
export { PopoverContentEvents }
|
|
609
|
+
export { PopoverContentEvents as PopoverContentEvents_alias_1 }
|
|
610
|
+
|
|
611
|
+
export { popoverContentEvents }
|
|
612
|
+
export { popoverContentEvents as popoverContentEvents_alias_1 }
|
|
613
|
+
|
|
614
|
+
declare interface PopoverContentProps extends PopoverContentProps_2 {
|
|
615
|
+
}
|
|
777
616
|
export { PopoverContentProps }
|
|
778
617
|
export { PopoverContentProps as PopoverContentProps_alias_1 }
|
|
779
618
|
|
|
619
|
+
export { popoverContentProps }
|
|
620
|
+
export { popoverContentProps as popoverContentProps_alias_1 }
|
|
621
|
+
|
|
780
622
|
declare class PopoverRootElement extends PopoverRootElement_base {
|
|
781
623
|
}
|
|
782
624
|
export { PopoverRootElement }
|
|
783
625
|
export { PopoverRootElement as PopoverRootElement_alias_1 }
|
|
784
626
|
|
|
785
|
-
declare const PopoverRootElement_base:
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
}
|
|
627
|
+
declare const PopoverRootElement_base: BaseElementConstructor<PopoverRootProps>;
|
|
628
|
+
|
|
629
|
+
declare interface PopoverRootEvents extends PopoverRootEvents_2 {
|
|
630
|
+
}
|
|
631
|
+
export { PopoverRootEvents }
|
|
632
|
+
export { PopoverRootEvents as PopoverRootEvents_alias_1 }
|
|
633
|
+
|
|
634
|
+
export { popoverRootEvents }
|
|
635
|
+
export { popoverRootEvents as popoverRootEvents_alias_1 }
|
|
789
636
|
|
|
637
|
+
declare interface PopoverRootProps extends PopoverRootProps_2 {
|
|
638
|
+
}
|
|
790
639
|
export { PopoverRootProps }
|
|
791
640
|
export { PopoverRootProps as PopoverRootProps_alias_1 }
|
|
792
641
|
|
|
642
|
+
export { popoverRootProps }
|
|
643
|
+
export { popoverRootProps as popoverRootProps_alias_1 }
|
|
644
|
+
|
|
793
645
|
declare class PopoverTriggerElement extends PopoverTriggerElement_base {
|
|
794
646
|
}
|
|
795
647
|
export { PopoverTriggerElement }
|
|
796
648
|
export { PopoverTriggerElement as PopoverTriggerElement_alias_1 }
|
|
797
649
|
|
|
798
|
-
declare const PopoverTriggerElement_base:
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
}
|
|
650
|
+
declare const PopoverTriggerElement_base: BaseElementConstructor<PopoverTriggerProps>;
|
|
651
|
+
|
|
652
|
+
declare interface PopoverTriggerEvents extends PopoverTriggerEvents_2 {
|
|
653
|
+
}
|
|
654
|
+
export { PopoverTriggerEvents }
|
|
655
|
+
export { PopoverTriggerEvents as PopoverTriggerEvents_alias_1 }
|
|
802
656
|
|
|
657
|
+
export { popoverTriggerEvents }
|
|
658
|
+
export { popoverTriggerEvents as popoverTriggerEvents_alias_1 }
|
|
659
|
+
|
|
660
|
+
declare interface PopoverTriggerProps extends PopoverTriggerProps_2 {
|
|
661
|
+
}
|
|
803
662
|
export { PopoverTriggerProps }
|
|
804
663
|
export { PopoverTriggerProps as PopoverTriggerProps_alias_1 }
|
|
805
664
|
|
|
665
|
+
export { popoverTriggerProps }
|
|
666
|
+
export { popoverTriggerProps as popoverTriggerProps_alias_1 }
|
|
667
|
+
|
|
806
668
|
export declare const queryContext: Context<string>;
|
|
807
669
|
|
|
808
670
|
declare class ResizableHandleElement extends ResizableHandleElement_base {
|
|
@@ -810,10 +672,18 @@ declare class ResizableHandleElement extends ResizableHandleElement_base {
|
|
|
810
672
|
export { ResizableHandleElement }
|
|
811
673
|
export { ResizableHandleElement as ResizableHandleElement_alias_1 }
|
|
812
674
|
|
|
813
|
-
declare const ResizableHandleElement_base:
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
675
|
+
declare const ResizableHandleElement_base: BaseElementConstructor<ResizableHandleProps>;
|
|
676
|
+
|
|
677
|
+
/** @internal */
|
|
678
|
+
declare interface ResizableHandleEvents {
|
|
679
|
+
}
|
|
680
|
+
export { ResizableHandleEvents }
|
|
681
|
+
export { ResizableHandleEvents as ResizableHandleEvents_alias_1 }
|
|
682
|
+
|
|
683
|
+
/** @internal */
|
|
684
|
+
declare const resizableHandleEvents: EventDeclarations<ResizableHandleEvents>;
|
|
685
|
+
export { resizableHandleEvents }
|
|
686
|
+
export { resizableHandleEvents as resizableHandleEvents_alias_1 }
|
|
817
687
|
|
|
818
688
|
declare interface ResizableHandleProps {
|
|
819
689
|
/**
|
|
@@ -826,36 +696,49 @@ declare interface ResizableHandleProps {
|
|
|
826
696
|
export { ResizableHandleProps }
|
|
827
697
|
export { ResizableHandleProps as ResizableHandleProps_alias_1 }
|
|
828
698
|
|
|
699
|
+
/** @internal */
|
|
700
|
+
declare const resizableHandleProps: PropDeclarations<ResizableHandleProps>;
|
|
701
|
+
export { resizableHandleProps }
|
|
702
|
+
export { resizableHandleProps as resizableHandleProps_alias_1 }
|
|
703
|
+
|
|
829
704
|
declare class ResizableRootElement extends ResizableRootElement_base {
|
|
830
705
|
}
|
|
831
706
|
export { ResizableRootElement }
|
|
832
707
|
export { ResizableRootElement as ResizableRootElement_alias_1 }
|
|
833
708
|
|
|
834
|
-
declare const ResizableRootElement_base:
|
|
835
|
-
new (): BaseElement & ResizableRootProps;
|
|
836
|
-
prototype: HTMLElement;
|
|
837
|
-
};
|
|
709
|
+
declare const ResizableRootElement_base: BaseElementConstructor<ResizableRootProps>;
|
|
838
710
|
|
|
839
|
-
declare interface
|
|
840
|
-
|
|
841
|
-
height: number | null;
|
|
842
|
-
aspectRatio: number | null;
|
|
843
|
-
onSizeChangeStart: ((size: {
|
|
844
|
-
width: number;
|
|
845
|
-
height: number;
|
|
846
|
-
}) => void) | null;
|
|
847
|
-
onSizeChange: ((size: {
|
|
711
|
+
declare interface ResizableRootEvents {
|
|
712
|
+
resizeStart: CustomEvent<{
|
|
848
713
|
width: number;
|
|
849
714
|
height: number;
|
|
850
|
-
}
|
|
851
|
-
|
|
715
|
+
}>;
|
|
716
|
+
resizeEnd: CustomEvent<{
|
|
852
717
|
width: number;
|
|
853
718
|
height: number;
|
|
854
|
-
}
|
|
719
|
+
}>;
|
|
720
|
+
}
|
|
721
|
+
export { ResizableRootEvents }
|
|
722
|
+
export { ResizableRootEvents as ResizableRootEvents_alias_1 }
|
|
723
|
+
|
|
724
|
+
/** @internal */
|
|
725
|
+
declare const resizableRootEvents: EventDeclarations<ResizableRootEvents>;
|
|
726
|
+
export { resizableRootEvents }
|
|
727
|
+
export { resizableRootEvents as resizableRootEvents_alias_1 }
|
|
728
|
+
|
|
729
|
+
declare interface ResizableRootProps {
|
|
730
|
+
width: number | null;
|
|
731
|
+
height: number | null;
|
|
732
|
+
aspectRatio: number | null;
|
|
855
733
|
}
|
|
856
734
|
export { ResizableRootProps }
|
|
857
735
|
export { ResizableRootProps as ResizableRootProps_alias_1 }
|
|
858
736
|
|
|
737
|
+
/** @internal */
|
|
738
|
+
declare const resizableRootProps: PropDeclarations<ResizableRootProps>;
|
|
739
|
+
export { resizableRootProps }
|
|
740
|
+
export { resizableRootProps as resizableRootProps_alias_1 }
|
|
741
|
+
|
|
859
742
|
declare type TableCommandsExtension = ReturnType<typeof defineTableCommands>;
|
|
860
743
|
|
|
861
744
|
declare type TableCommandsExtension_2 = ReturnType<typeof defineTableCommands>;
|
|
@@ -865,16 +748,25 @@ declare class TableHandleColumnRootElement extends TableHandleColumnRootElement_
|
|
|
865
748
|
export { TableHandleColumnRootElement }
|
|
866
749
|
export { TableHandleColumnRootElement as TableHandleColumnRootElement_alias_1 }
|
|
867
750
|
|
|
868
|
-
declare const TableHandleColumnRootElement_base:
|
|
869
|
-
new (): BaseElement & TableHandleColumnRootProps;
|
|
870
|
-
prototype: HTMLElement;
|
|
871
|
-
};
|
|
751
|
+
declare const TableHandleColumnRootElement_base: BaseElementConstructor<TableHandleColumnRootProps>;
|
|
872
752
|
|
|
873
|
-
|
|
753
|
+
/** @internal */
|
|
754
|
+
declare interface TableHandleColumnRootEvents extends OverlayPositionerEvents_2 {
|
|
755
|
+
}
|
|
756
|
+
export { TableHandleColumnRootEvents }
|
|
757
|
+
export { TableHandleColumnRootEvents as TableHandleColumnRootEvents_alias_1 }
|
|
758
|
+
|
|
759
|
+
/** @internal */
|
|
760
|
+
declare const tableHandleColumnRootEvents: EventDeclarations<TableHandleColumnRootEvents>;
|
|
761
|
+
export { tableHandleColumnRootEvents }
|
|
762
|
+
export { tableHandleColumnRootEvents as tableHandleColumnRootEvents_alias_1 }
|
|
763
|
+
|
|
764
|
+
declare interface TableHandleColumnRootProps extends Omit<OverlayPositionerProps_2, 'placement'> {
|
|
874
765
|
/**
|
|
875
766
|
* The ProseKit editor instance.
|
|
876
767
|
*
|
|
877
768
|
* @default null
|
|
769
|
+
* @hidden
|
|
878
770
|
*/
|
|
879
771
|
editor: Editor | null;
|
|
880
772
|
/**
|
|
@@ -887,15 +779,28 @@ declare interface TableHandleColumnRootProps extends Omit<OverlayPositionerProps
|
|
|
887
779
|
export { TableHandleColumnRootProps }
|
|
888
780
|
export { TableHandleColumnRootProps as TableHandleColumnRootProps_alias_1 }
|
|
889
781
|
|
|
782
|
+
/** @internal */
|
|
783
|
+
declare const tableHandleColumnRootProps: PropDeclarations<TableHandleColumnRootProps>;
|
|
784
|
+
export { tableHandleColumnRootProps }
|
|
785
|
+
export { tableHandleColumnRootProps as tableHandleColumnRootProps_alias_1 }
|
|
786
|
+
|
|
890
787
|
declare class TableHandleColumnTriggerElement extends TableHandleColumnTriggerElement_base {
|
|
891
788
|
}
|
|
892
789
|
export { TableHandleColumnTriggerElement }
|
|
893
790
|
export { TableHandleColumnTriggerElement as TableHandleColumnTriggerElement_alias_1 }
|
|
894
791
|
|
|
895
|
-
declare const TableHandleColumnTriggerElement_base:
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
792
|
+
declare const TableHandleColumnTriggerElement_base: BaseElementConstructor<TableHandleColumnTriggerProps>;
|
|
793
|
+
|
|
794
|
+
/** @internal */
|
|
795
|
+
declare interface TableHandleColumnTriggerEvents {
|
|
796
|
+
}
|
|
797
|
+
export { TableHandleColumnTriggerEvents }
|
|
798
|
+
export { TableHandleColumnTriggerEvents as TableHandleColumnTriggerEvents_alias_1 }
|
|
799
|
+
|
|
800
|
+
/** @internal */
|
|
801
|
+
declare const tableHandleColumnTriggerEvents: EventDeclarations<TableHandleColumnTriggerEvents>;
|
|
802
|
+
export { tableHandleColumnTriggerEvents }
|
|
803
|
+
export { tableHandleColumnTriggerEvents as tableHandleColumnTriggerEvents_alias_1 }
|
|
899
804
|
|
|
900
805
|
declare interface TableHandleColumnTriggerProps {
|
|
901
806
|
editor: Editor<TableCommandsExtension> | null;
|
|
@@ -903,15 +808,27 @@ declare interface TableHandleColumnTriggerProps {
|
|
|
903
808
|
export { TableHandleColumnTriggerProps }
|
|
904
809
|
export { TableHandleColumnTriggerProps as TableHandleColumnTriggerProps_alias_1 }
|
|
905
810
|
|
|
811
|
+
/** @internal */
|
|
812
|
+
declare const tableHandleColumnTriggerProps: PropDeclarations<TableHandleColumnTriggerProps>;
|
|
813
|
+
export { tableHandleColumnTriggerProps }
|
|
814
|
+
export { tableHandleColumnTriggerProps as tableHandleColumnTriggerProps_alias_1 }
|
|
815
|
+
|
|
906
816
|
declare class TableHandlePopoverContentElement extends TableHandlePopoverContentElement_base {
|
|
907
817
|
}
|
|
908
818
|
export { TableHandlePopoverContentElement }
|
|
909
819
|
export { TableHandlePopoverContentElement as TableHandlePopoverContentElement_alias_1 }
|
|
910
820
|
|
|
911
|
-
declare const TableHandlePopoverContentElement_base:
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
}
|
|
821
|
+
declare const TableHandlePopoverContentElement_base: BaseElementConstructor<TableHandlePopoverContentProps>;
|
|
822
|
+
|
|
823
|
+
declare interface TableHandlePopoverContentEvents extends MenuContentEvents {
|
|
824
|
+
}
|
|
825
|
+
export { TableHandlePopoverContentEvents }
|
|
826
|
+
export { TableHandlePopoverContentEvents as TableHandlePopoverContentEvents_alias_1 }
|
|
827
|
+
|
|
828
|
+
/** @internal */
|
|
829
|
+
declare const tableHandlePopoverContentEvents: EventDeclarations<TableHandlePopoverContentEvents>;
|
|
830
|
+
export { tableHandlePopoverContentEvents }
|
|
831
|
+
export { tableHandlePopoverContentEvents as tableHandlePopoverContentEvents_alias_1 }
|
|
915
832
|
|
|
916
833
|
declare interface TableHandlePopoverContentProps extends Omit<MenuContentProps, 'placement' | 'offset'> {
|
|
917
834
|
/**
|
|
@@ -927,22 +844,38 @@ declare interface TableHandlePopoverContentProps extends Omit<MenuContentProps,
|
|
|
927
844
|
export { TableHandlePopoverContentProps }
|
|
928
845
|
export { TableHandlePopoverContentProps as TableHandlePopoverContentProps_alias_1 }
|
|
929
846
|
|
|
847
|
+
/** @internal */
|
|
848
|
+
declare const tableHandlePopoverContentProps: PropDeclarations<TableHandlePopoverContentProps>;
|
|
849
|
+
export { tableHandlePopoverContentProps }
|
|
850
|
+
export { tableHandlePopoverContentProps as tableHandlePopoverContentProps_alias_1 }
|
|
851
|
+
|
|
930
852
|
declare class TableHandlePopoverItemElement extends TableHandlePopoverItemElement_base {
|
|
931
853
|
}
|
|
932
854
|
export { TableHandlePopoverItemElement }
|
|
933
855
|
export { TableHandlePopoverItemElement as TableHandlePopoverItemElement_alias_1 }
|
|
934
856
|
|
|
935
|
-
declare const TableHandlePopoverItemElement_base:
|
|
936
|
-
|
|
937
|
-
|
|
938
|
-
}
|
|
857
|
+
declare const TableHandlePopoverItemElement_base: BaseElementConstructor<TableHandlePopoverItemProps>;
|
|
858
|
+
|
|
859
|
+
declare interface TableHandlePopoverItemEvents extends MenuItemEvents {
|
|
860
|
+
}
|
|
861
|
+
export { TableHandlePopoverItemEvents }
|
|
862
|
+
export { TableHandlePopoverItemEvents as TableHandlePopoverItemEvents_alias_1 }
|
|
863
|
+
|
|
864
|
+
/** @internal */
|
|
865
|
+
declare const tableHandlePopoverItemEvents: EventDeclarations<TableHandlePopoverItemEvents>;
|
|
866
|
+
export { tableHandlePopoverItemEvents }
|
|
867
|
+
export { tableHandlePopoverItemEvents as tableHandlePopoverItemEvents_alias_1 }
|
|
939
868
|
|
|
940
869
|
declare interface TableHandlePopoverItemProps extends MenuItemProps {
|
|
941
|
-
disabled?: boolean;
|
|
942
870
|
}
|
|
943
871
|
export { TableHandlePopoverItemProps }
|
|
944
872
|
export { TableHandlePopoverItemProps as TableHandlePopoverItemProps_alias_1 }
|
|
945
873
|
|
|
874
|
+
/** @internal */
|
|
875
|
+
declare const tableHandlePopoverItemProps: PropDeclarations<TableHandlePopoverItemProps>;
|
|
876
|
+
export { tableHandlePopoverItemProps }
|
|
877
|
+
export { tableHandlePopoverItemProps as tableHandlePopoverItemProps_alias_1 }
|
|
878
|
+
|
|
946
879
|
/**
|
|
947
880
|
* @internal
|
|
948
881
|
*/
|
|
@@ -958,37 +891,60 @@ declare class TableHandleRootElement extends TableHandleRootElement_base {
|
|
|
958
891
|
export { TableHandleRootElement }
|
|
959
892
|
export { TableHandleRootElement as TableHandleRootElement_alias_1 }
|
|
960
893
|
|
|
961
|
-
declare const TableHandleRootElement_base:
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
894
|
+
declare const TableHandleRootElement_base: BaseElementConstructor<TableHandleRootProps>;
|
|
895
|
+
|
|
896
|
+
/** @internal */
|
|
897
|
+
declare interface TableHandleRootEvents {
|
|
898
|
+
}
|
|
899
|
+
export { TableHandleRootEvents }
|
|
900
|
+
export { TableHandleRootEvents as TableHandleRootEvents_alias_1 }
|
|
901
|
+
|
|
902
|
+
/** @internal */
|
|
903
|
+
declare const tableHandleRootEvents: EventDeclarations<TableHandleRootEvents>;
|
|
904
|
+
export { tableHandleRootEvents }
|
|
905
|
+
export { tableHandleRootEvents as tableHandleRootEvents_alias_1 }
|
|
965
906
|
|
|
966
907
|
declare interface TableHandleRootProps {
|
|
967
908
|
/**
|
|
968
909
|
* The ProseKit editor instance.
|
|
969
910
|
*
|
|
970
911
|
* @default null
|
|
912
|
+
* @hidden
|
|
971
913
|
*/
|
|
972
914
|
editor: Editor | null;
|
|
973
915
|
}
|
|
974
916
|
export { TableHandleRootProps }
|
|
975
917
|
export { TableHandleRootProps as TableHandleRootProps_alias_1 }
|
|
976
918
|
|
|
919
|
+
/** @internal */
|
|
920
|
+
declare const tableHandleRootProps: PropDeclarations<TableHandleRootProps>;
|
|
921
|
+
export { tableHandleRootProps }
|
|
922
|
+
export { tableHandleRootProps as tableHandleRootProps_alias_1 }
|
|
923
|
+
|
|
977
924
|
declare class TableHandleRowRootElement extends TableHandleRowRootElement_base {
|
|
978
925
|
}
|
|
979
926
|
export { TableHandleRowRootElement }
|
|
980
927
|
export { TableHandleRowRootElement as TableHandleRowRootElement_alias_1 }
|
|
981
928
|
|
|
982
|
-
declare const TableHandleRowRootElement_base:
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
929
|
+
declare const TableHandleRowRootElement_base: BaseElementConstructor<TableHandleRowRootProps>;
|
|
930
|
+
|
|
931
|
+
/** @internal */
|
|
932
|
+
declare interface TableHandleRowRootEvents extends OverlayPositionerEvents_2 {
|
|
933
|
+
}
|
|
934
|
+
export { TableHandleRowRootEvents }
|
|
935
|
+
export { TableHandleRowRootEvents as TableHandleRowRootEvents_alias_1 }
|
|
936
|
+
|
|
937
|
+
/** @internal */
|
|
938
|
+
declare const tableHandleRowRootEvents: EventDeclarations<TableHandleRowRootEvents>;
|
|
939
|
+
export { tableHandleRowRootEvents }
|
|
940
|
+
export { tableHandleRowRootEvents as tableHandleRowRootEvents_alias_1 }
|
|
986
941
|
|
|
987
|
-
declare interface TableHandleRowRootProps extends Omit<
|
|
942
|
+
declare interface TableHandleRowRootProps extends Omit<OverlayPositionerProps_2, 'placement'> {
|
|
988
943
|
/**
|
|
989
944
|
* The ProseKit editor instance.
|
|
990
945
|
*
|
|
991
946
|
* @default null
|
|
947
|
+
* @hidden
|
|
992
948
|
*/
|
|
993
949
|
editor: Editor | null;
|
|
994
950
|
/**
|
|
@@ -1001,15 +957,28 @@ declare interface TableHandleRowRootProps extends Omit<OverlayPositionerProps, '
|
|
|
1001
957
|
export { TableHandleRowRootProps }
|
|
1002
958
|
export { TableHandleRowRootProps as TableHandleRowRootProps_alias_1 }
|
|
1003
959
|
|
|
960
|
+
/** @internal */
|
|
961
|
+
declare const tableHandleRowRootProps: PropDeclarations<TableHandleRowRootProps>;
|
|
962
|
+
export { tableHandleRowRootProps }
|
|
963
|
+
export { tableHandleRowRootProps as tableHandleRowRootProps_alias_1 }
|
|
964
|
+
|
|
1004
965
|
declare class TableHandleRowTriggerElement extends TableHandleRowTriggerElement_base {
|
|
1005
966
|
}
|
|
1006
967
|
export { TableHandleRowTriggerElement }
|
|
1007
968
|
export { TableHandleRowTriggerElement as TableHandleRowTriggerElement_alias_1 }
|
|
1008
969
|
|
|
1009
|
-
declare const TableHandleRowTriggerElement_base:
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
970
|
+
declare const TableHandleRowTriggerElement_base: BaseElementConstructor<TableHandleRowTriggerProps>;
|
|
971
|
+
|
|
972
|
+
declare interface TableHandleRowTriggerEvents {
|
|
973
|
+
select: CustomEvent<void>;
|
|
974
|
+
}
|
|
975
|
+
export { TableHandleRowTriggerEvents }
|
|
976
|
+
export { TableHandleRowTriggerEvents as TableHandleRowTriggerEvents_alias_1 }
|
|
977
|
+
|
|
978
|
+
/** @internal */
|
|
979
|
+
declare const tableHandleRowTriggerEvents: EventDeclarations<TableHandleRowTriggerEvents>;
|
|
980
|
+
export { tableHandleRowTriggerEvents }
|
|
981
|
+
export { tableHandleRowTriggerEvents as tableHandleRowTriggerEvents_alias_1 }
|
|
1013
982
|
|
|
1014
983
|
declare interface TableHandleRowTriggerProps {
|
|
1015
984
|
editor: Editor<TableCommandsExtension_2> | null;
|
|
@@ -1017,6 +986,11 @@ declare interface TableHandleRowTriggerProps {
|
|
|
1017
986
|
export { TableHandleRowTriggerProps }
|
|
1018
987
|
export { TableHandleRowTriggerProps as TableHandleRowTriggerProps_alias_1 }
|
|
1019
988
|
|
|
989
|
+
/** @internal */
|
|
990
|
+
declare const tableHandleRowTriggerProps: PropDeclarations<TableHandleRowTriggerProps>;
|
|
991
|
+
export { tableHandleRowTriggerProps }
|
|
992
|
+
export { tableHandleRowTriggerProps as tableHandleRowTriggerProps_alias_1 }
|
|
993
|
+
|
|
1020
994
|
/**
|
|
1021
995
|
* @internal
|
|
1022
996
|
*/
|
|
@@ -1027,63 +1001,124 @@ declare class TooltipContentElement extends TooltipContentElement_base {
|
|
|
1027
1001
|
export { TooltipContentElement }
|
|
1028
1002
|
export { TooltipContentElement as TooltipContentElement_alias_1 }
|
|
1029
1003
|
|
|
1030
|
-
declare const TooltipContentElement_base:
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
}
|
|
1004
|
+
declare const TooltipContentElement_base: BaseElementConstructor<TooltipContentProps>;
|
|
1005
|
+
|
|
1006
|
+
declare interface TooltipContentEvents extends TooltipContentEvents_2 {
|
|
1007
|
+
}
|
|
1008
|
+
export { TooltipContentEvents }
|
|
1009
|
+
export { TooltipContentEvents as TooltipContentEvents_alias_1 }
|
|
1034
1010
|
|
|
1011
|
+
export { tooltipContentEvents }
|
|
1012
|
+
export { tooltipContentEvents as tooltipContentEvents_alias_1 }
|
|
1013
|
+
|
|
1014
|
+
declare interface TooltipContentProps extends TooltipContentProps_2 {
|
|
1015
|
+
}
|
|
1035
1016
|
export { TooltipContentProps }
|
|
1036
1017
|
export { TooltipContentProps as TooltipContentProps_alias_1 }
|
|
1037
1018
|
|
|
1019
|
+
declare const tooltipContentProps: {
|
|
1020
|
+
shift: {
|
|
1021
|
+
default: boolean;
|
|
1022
|
+
};
|
|
1023
|
+
flip: {
|
|
1024
|
+
default: boolean;
|
|
1025
|
+
};
|
|
1026
|
+
offset: {
|
|
1027
|
+
default: number;
|
|
1028
|
+
};
|
|
1029
|
+
overflowPadding: {
|
|
1030
|
+
default: number;
|
|
1031
|
+
};
|
|
1032
|
+
hoist: {
|
|
1033
|
+
default: boolean;
|
|
1034
|
+
};
|
|
1035
|
+
boundary: {
|
|
1036
|
+
default: never[];
|
|
1037
|
+
};
|
|
1038
|
+
inline: PropDeclaration<boolean>;
|
|
1039
|
+
placement: PropDeclaration<Placement>;
|
|
1040
|
+
fitViewport: PropDeclaration<boolean>;
|
|
1041
|
+
strategy: PropDeclaration<"fixed" | "absolute">;
|
|
1042
|
+
autoUpdate: PropDeclaration<boolean | AutoUpdateOptions>;
|
|
1043
|
+
transform: PropDeclaration<boolean>;
|
|
1044
|
+
overlap: PropDeclaration<boolean>;
|
|
1045
|
+
sameWidth: PropDeclaration<boolean>;
|
|
1046
|
+
sameHeight: PropDeclaration<boolean>;
|
|
1047
|
+
hide: PropDeclaration<boolean>;
|
|
1048
|
+
rootBoundary: PropDeclaration<RootBoundary>;
|
|
1049
|
+
elementContext: PropDeclaration<ElementContext>;
|
|
1050
|
+
altBoundary: PropDeclaration<boolean>;
|
|
1051
|
+
};
|
|
1052
|
+
export { tooltipContentProps }
|
|
1053
|
+
export { tooltipContentProps as tooltipContentProps_alias_1 }
|
|
1054
|
+
|
|
1038
1055
|
declare class TooltipRootElement extends TooltipRootElement_base {
|
|
1039
1056
|
}
|
|
1040
1057
|
export { TooltipRootElement }
|
|
1041
1058
|
export { TooltipRootElement as TooltipRootElement_alias_1 }
|
|
1042
1059
|
|
|
1043
|
-
declare const TooltipRootElement_base:
|
|
1044
|
-
|
|
1045
|
-
|
|
1046
|
-
}
|
|
1060
|
+
declare const TooltipRootElement_base: BaseElementConstructor<TooltipRootProps>;
|
|
1061
|
+
|
|
1062
|
+
declare interface TooltipRootEvents extends TooltipRootEvents_2 {
|
|
1063
|
+
}
|
|
1064
|
+
export { TooltipRootEvents }
|
|
1065
|
+
export { TooltipRootEvents as TooltipRootEvents_alias_1 }
|
|
1047
1066
|
|
|
1067
|
+
export { tooltipRootEvents }
|
|
1068
|
+
export { tooltipRootEvents as tooltipRootEvents_alias_1 }
|
|
1069
|
+
|
|
1070
|
+
declare interface TooltipRootProps extends TooltipRootProps_2 {
|
|
1071
|
+
}
|
|
1048
1072
|
export { TooltipRootProps }
|
|
1049
1073
|
export { TooltipRootProps as TooltipRootProps_alias_1 }
|
|
1050
1074
|
|
|
1075
|
+
export { tooltipRootProps }
|
|
1076
|
+
export { tooltipRootProps as tooltipRootProps_alias_1 }
|
|
1077
|
+
|
|
1051
1078
|
declare class TooltipTriggerElement extends TooltipTriggerElement_base {
|
|
1052
1079
|
}
|
|
1053
1080
|
export { TooltipTriggerElement }
|
|
1054
1081
|
export { TooltipTriggerElement as TooltipTriggerElement_alias_1 }
|
|
1055
1082
|
|
|
1056
|
-
declare const TooltipTriggerElement_base:
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
}
|
|
1083
|
+
declare const TooltipTriggerElement_base: BaseElementConstructor<TooltipTriggerProps>;
|
|
1084
|
+
|
|
1085
|
+
declare interface TooltipTriggerEvents extends TooltipTriggerEvents_2 {
|
|
1086
|
+
}
|
|
1087
|
+
export { TooltipTriggerEvents }
|
|
1088
|
+
export { TooltipTriggerEvents as TooltipTriggerEvents_alias_1 }
|
|
1089
|
+
|
|
1090
|
+
export { tooltipTriggerEvents }
|
|
1091
|
+
export { tooltipTriggerEvents as tooltipTriggerEvents_alias_1 }
|
|
1060
1092
|
|
|
1093
|
+
declare interface TooltipTriggerProps extends TooltipTriggerProps_2 {
|
|
1094
|
+
}
|
|
1061
1095
|
export { TooltipTriggerProps }
|
|
1062
1096
|
export { TooltipTriggerProps as TooltipTriggerProps_alias_1 }
|
|
1063
1097
|
|
|
1064
|
-
export
|
|
1065
|
-
|
|
1066
|
-
export declare function useAutocompleteItem(element: ConnectableElement, state: SignalState<AutocompleteItemProps>): void;
|
|
1098
|
+
export { tooltipTriggerProps }
|
|
1099
|
+
export { tooltipTriggerProps as tooltipTriggerProps_alias_1 }
|
|
1067
1100
|
|
|
1068
|
-
export declare
|
|
1101
|
+
export declare const useAutocompleteEmpty: typeof useListboxEmpty;
|
|
1069
1102
|
|
|
1070
|
-
export declare function
|
|
1103
|
+
export declare function useAutocompleteItem(element: ConnectableElement, { state, emit }: SetupOptions<AutocompleteItemProps, AutocompleteItemEvents>): void;
|
|
1071
1104
|
|
|
1072
|
-
|
|
1073
|
-
* @deprecated Use `useBlockHandleDraggable` instead.
|
|
1074
|
-
*/
|
|
1075
|
-
export declare function useBlockDragHandle(host: ConnectableElement, state: SignalState<BlockDragHandleProps>): void;
|
|
1105
|
+
export declare function useAutocompleteList(element: ConnectableElement, { state, emit }: SetupOptions<AutocompleteListProps, AutocompleteListEvents>): void;
|
|
1076
1106
|
|
|
1077
|
-
export declare function
|
|
1107
|
+
export declare function useAutocompletePopover(host: ConnectableElement, { state }: {
|
|
1108
|
+
state: SignalState<AutocompletePopoverProps>;
|
|
1109
|
+
}): void;
|
|
1078
1110
|
|
|
1079
|
-
export declare function
|
|
1111
|
+
export declare function useBlockHandleAdd(host: ConnectableElement, { state }: {
|
|
1112
|
+
state: SignalState<BlockHandleAddProps>;
|
|
1113
|
+
}): void;
|
|
1080
1114
|
|
|
1081
|
-
export declare function
|
|
1115
|
+
export declare function useBlockHandleDraggable(host: ConnectableElement, { state }: {
|
|
1116
|
+
state: SignalState<BlockHandleDraggableProps>;
|
|
1117
|
+
}): void;
|
|
1082
1118
|
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
export declare function useBlockPopover(host: ConnectableElement, state: SignalState<BlockPopoverProps>): void;
|
|
1119
|
+
export declare function useBlockHandlePopover(host: ConnectableElement, { state }: {
|
|
1120
|
+
state: SignalState<BlockHandlePopoverProps>;
|
|
1121
|
+
}): void;
|
|
1087
1122
|
|
|
1088
1123
|
export declare function useEditorExtension(host: ConnectableElement, editor: ReadonlySignal<Editor | null>, extension: Extension): void;
|
|
1089
1124
|
|
|
@@ -1101,7 +1136,9 @@ export declare function useEditorUpdateEvent(host: ConnectableElement, editor: R
|
|
|
1101
1136
|
|
|
1102
1137
|
export declare function useFirstRendering(host: ConnectableElement): ReadonlySignal<boolean>;
|
|
1103
1138
|
|
|
1104
|
-
export declare function useInlinePopover(host: ConnectableElement, state
|
|
1139
|
+
export declare function useInlinePopover(host: ConnectableElement, { state }: {
|
|
1140
|
+
state: SignalState<InlinePopoverProps>;
|
|
1141
|
+
}): void;
|
|
1105
1142
|
|
|
1106
1143
|
export declare function useKeymap(host: ConnectableElement, editor: ReadonlySignal<Editor | null>, keymap: Keymap): void;
|
|
1107
1144
|
|
|
@@ -1111,23 +1148,31 @@ export { usePopoverRoot }
|
|
|
1111
1148
|
|
|
1112
1149
|
export { usePopoverTrigger }
|
|
1113
1150
|
|
|
1114
|
-
export declare function useResizableHandle(host: ConnectableElement, state
|
|
1151
|
+
export declare function useResizableHandle(host: ConnectableElement, { state }: {
|
|
1152
|
+
state: SignalState<ResizableHandleProps>;
|
|
1153
|
+
}): void;
|
|
1115
1154
|
|
|
1116
|
-
export declare function useResizableRoot(host: ConnectableElement, state:
|
|
1155
|
+
export declare function useResizableRoot(host: ConnectableElement, { state, emit }: SetupOptions<ResizableRootProps, ResizableRootEvents>): void;
|
|
1117
1156
|
|
|
1118
|
-
export declare function useTableHandleColumnRoot(host: ConnectableElement, state
|
|
1157
|
+
export declare function useTableHandleColumnRoot(host: ConnectableElement, { state }: {
|
|
1158
|
+
state: SignalState<TableHandleColumnRootProps>;
|
|
1159
|
+
}): void;
|
|
1119
1160
|
|
|
1120
|
-
export declare function useTableHandleColumnTrigger(host: ConnectableElement, state
|
|
1161
|
+
export declare function useTableHandleColumnTrigger(host: ConnectableElement, { state }: {
|
|
1162
|
+
state: SignalState<TableHandleColumnTriggerProps>;
|
|
1163
|
+
}): void;
|
|
1121
1164
|
|
|
1122
|
-
export declare function useTableHandlePopoverContent(host: ConnectableElement, state:
|
|
1165
|
+
export declare function useTableHandlePopoverContent(host: ConnectableElement, { state, emit, }: SetupOptions<TableHandlePopoverContentProps, TableHandlePopoverContentEvents>): void;
|
|
1123
1166
|
|
|
1124
|
-
export declare function useTableHandlePopoverItem(element: ConnectableElement, state:
|
|
1167
|
+
export declare function useTableHandlePopoverItem(element: ConnectableElement, { state, emit, }: SetupOptions<TableHandlePopoverItemProps, TableHandlePopoverItemEvents>): void;
|
|
1125
1168
|
|
|
1126
|
-
export declare function useTableHandleRoot(host: ConnectableElement, state
|
|
1169
|
+
export declare function useTableHandleRoot(host: ConnectableElement, { state }: {
|
|
1170
|
+
state: SignalState<TableHandleRootProps>;
|
|
1171
|
+
}): void;
|
|
1127
1172
|
|
|
1128
|
-
export declare function useTableHandleRowRoot(host: ConnectableElement, state:
|
|
1173
|
+
export declare function useTableHandleRowRoot(host: ConnectableElement, { state }: SetupOptions<TableHandleRowRootProps, TableHandleRowRootEvents>): void;
|
|
1129
1174
|
|
|
1130
|
-
export declare function useTableHandleRowTrigger(host: ConnectableElement, state:
|
|
1175
|
+
export declare function useTableHandleRowTrigger(host: ConnectableElement, { state, }: SetupOptions<TableHandleRowTriggerProps, TableHandleRowTriggerEvents>): void;
|
|
1131
1176
|
|
|
1132
1177
|
export { useTooltipContent }
|
|
1133
1178
|
|