@prosekit/preact 0.4.0 → 0.4.2
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 +476 -476
- package/dist/prosekit-preact-autocomplete.d.ts +8 -8
- package/dist/prosekit-preact-block-handle.d.ts +6 -6
- package/dist/prosekit-preact-inline-popover.d.ts +2 -2
- package/dist/prosekit-preact-popover.d.ts +6 -6
- package/dist/prosekit-preact-resizable.d.ts +4 -4
- package/dist/prosekit-preact-table-handle.d.ts +14 -14
- package/dist/prosekit-preact-tooltip.d.ts +6 -6
- package/dist/prosekit-preact.d.ts +10 -10
- package/package.json +8 -8
@@ -1,476 +1,476 @@
|
|
1
|
-
import { AutocompleteEmptyElement } from '@prosekit/web/autocomplete';
|
2
|
-
import { AutocompleteEmptyEvents } from '@prosekit/web/autocomplete';
|
3
|
-
import { AutocompleteEmptyProps as AutocompleteEmptyProps_2 } from '@prosekit/web/autocomplete';
|
4
|
-
import { AutocompleteItemElement } from '@prosekit/web/autocomplete';
|
5
|
-
import { AutocompleteItemEvents } from '@prosekit/web/autocomplete';
|
6
|
-
import { AutocompleteItemProps as AutocompleteItemProps_2 } from '@prosekit/web/autocomplete';
|
7
|
-
import { AutocompleteListElement } from '@prosekit/web/autocomplete';
|
8
|
-
import { AutocompleteListEvents } from '@prosekit/web/autocomplete';
|
9
|
-
import { AutocompleteListProps as AutocompleteListProps_2 } from '@prosekit/web/autocomplete';
|
10
|
-
import { AutocompletePopoverElement } from '@prosekit/web/autocomplete';
|
11
|
-
import { AutocompletePopoverEvents } from '@prosekit/web/autocomplete';
|
12
|
-
import { AutocompletePopoverProps as AutocompletePopoverProps_2 } from '@prosekit/web/autocomplete';
|
13
|
-
import { BlockHandleAddElement } from '@prosekit/web/block-handle';
|
14
|
-
import { BlockHandleAddEvents } from '@prosekit/web/block-handle';
|
15
|
-
import { BlockHandleAddProps as BlockHandleAddProps_2 } from '@prosekit/web/block-handle';
|
16
|
-
import { BlockHandleDraggableElement } from '@prosekit/web/block-handle';
|
17
|
-
import { BlockHandleDraggableEvents } from '@prosekit/web/block-handle';
|
18
|
-
import { BlockHandleDraggableProps as BlockHandleDraggableProps_2 } from '@prosekit/web/block-handle';
|
19
|
-
import { BlockHandlePopoverElement } from '@prosekit/web/block-handle';
|
20
|
-
import { BlockHandlePopoverEvents } from '@prosekit/web/block-handle';
|
21
|
-
import { BlockHandlePopoverProps as BlockHandlePopoverProps_2 } from '@prosekit/web/block-handle';
|
22
|
-
import { ComponentChildren } from 'preact';
|
23
|
-
import { ComponentType } from 'preact';
|
24
|
-
import { config as default_alias_1 } from '@prosekit/dev/config-vitest';
|
25
|
-
import { Editor } from '@prosekit/core';
|
26
|
-
import type { EditorState } from '@prosekit/pm/state';
|
27
|
-
import { Extension } from '@prosekit/core';
|
28
|
-
import { ForwardRefExoticComponent } from 'preact/compat';
|
29
|
-
import { HTMLAttributes } from 'preact/compat';
|
30
|
-
import { InlinePopoverElement } from '@prosekit/web/inline-popover';
|
31
|
-
import { InlinePopoverEvents } from '@prosekit/web/inline-popover';
|
32
|
-
import { InlinePopoverProps as InlinePopoverProps_2 } from '@prosekit/web/inline-popover';
|
33
|
-
import { Keymap } from '@prosekit/core';
|
34
|
-
import { Options } from 'tsup';
|
35
|
-
import { PopoverContentElement } from '@prosekit/web/popover';
|
36
|
-
import { PopoverContentEvents } from '@prosekit/web/popover';
|
37
|
-
import { PopoverContentProps as PopoverContentProps_2 } from '@prosekit/web/popover';
|
38
|
-
import { PopoverRootElement } from '@prosekit/web/popover';
|
39
|
-
import { PopoverRootEvents } from '@prosekit/web/popover';
|
40
|
-
import { PopoverRootProps as PopoverRootProps_2 } from '@prosekit/web/popover';
|
41
|
-
import { PopoverTriggerElement } from '@prosekit/web/popover';
|
42
|
-
import { PopoverTriggerEvents } from '@prosekit/web/popover';
|
43
|
-
import { PopoverTriggerProps as PopoverTriggerProps_2 } from '@prosekit/web/popover';
|
44
|
-
import { Priority } from '@prosekit/core';
|
45
|
-
import type { ProseMirrorNode } from '@prosekit/pm/model';
|
46
|
-
import { Provider } from 'preact';
|
47
|
-
import { RefAttributes } from 'preact/compat';
|
48
|
-
import { ResizableHandleElement } from '@prosekit/web/resizable';
|
49
|
-
import { ResizableHandleEvents } from '@prosekit/web/resizable';
|
50
|
-
import { ResizableHandleProps as ResizableHandleProps_2 } from '@prosekit/web/resizable';
|
51
|
-
import { ResizableRootElement } from '@prosekit/web/resizable';
|
52
|
-
import { ResizableRootEvents } from '@prosekit/web/resizable';
|
53
|
-
import { ResizableRootProps as ResizableRootProps_2 } from '@prosekit/web/resizable';
|
54
|
-
import { TableHandleColumnRootElement } from '@prosekit/web/table-handle';
|
55
|
-
import { TableHandleColumnRootEvents } from '@prosekit/web/table-handle';
|
56
|
-
import { TableHandleColumnRootProps as TableHandleColumnRootProps_2 } from '@prosekit/web/table-handle';
|
57
|
-
import { TableHandleColumnTriggerElement } from '@prosekit/web/table-handle';
|
58
|
-
import { TableHandleColumnTriggerEvents } from '@prosekit/web/table-handle';
|
59
|
-
import { TableHandleColumnTriggerProps as TableHandleColumnTriggerProps_2 } from '@prosekit/web/table-handle';
|
60
|
-
import { TableHandlePopoverContentElement } from '@prosekit/web/table-handle';
|
61
|
-
import { TableHandlePopoverContentEvents } from '@prosekit/web/table-handle';
|
62
|
-
import { TableHandlePopoverContentProps as TableHandlePopoverContentProps_2 } from '@prosekit/web/table-handle';
|
63
|
-
import { TableHandlePopoverItemElement } from '@prosekit/web/table-handle';
|
64
|
-
import { TableHandlePopoverItemEvents } from '@prosekit/web/table-handle';
|
65
|
-
import { TableHandlePopoverItemProps as TableHandlePopoverItemProps_2 } from '@prosekit/web/table-handle';
|
66
|
-
import { TableHandleRootElement } from '@prosekit/web/table-handle';
|
67
|
-
import { TableHandleRootEvents } from '@prosekit/web/table-handle';
|
68
|
-
import { TableHandleRootProps as TableHandleRootProps_2 } from '@prosekit/web/table-handle';
|
69
|
-
import { TableHandleRowRootElement } from '@prosekit/web/table-handle';
|
70
|
-
import { TableHandleRowRootEvents } from '@prosekit/web/table-handle';
|
71
|
-
import { TableHandleRowRootProps as TableHandleRowRootProps_2 } from '@prosekit/web/table-handle';
|
72
|
-
import { TableHandleRowTriggerElement } from '@prosekit/web/table-handle';
|
73
|
-
import { TableHandleRowTriggerEvents } from '@prosekit/web/table-handle';
|
74
|
-
import { TableHandleRowTriggerProps as TableHandleRowTriggerProps_2 } from '@prosekit/web/table-handle';
|
75
|
-
import { TooltipContentElement } from '@prosekit/web/tooltip';
|
76
|
-
import { TooltipContentEvents } from '@prosekit/web/tooltip';
|
77
|
-
import { TooltipContentProps as TooltipContentProps_2 } from '@prosekit/web/tooltip';
|
78
|
-
import { TooltipRootElement } from '@prosekit/web/tooltip';
|
79
|
-
import { TooltipRootEvents } from '@prosekit/web/tooltip';
|
80
|
-
import { TooltipRootProps as TooltipRootProps_2 } from '@prosekit/web/tooltip';
|
81
|
-
import { TooltipTriggerElement } from '@prosekit/web/tooltip';
|
82
|
-
import { TooltipTriggerEvents } from '@prosekit/web/tooltip';
|
83
|
-
import { TooltipTriggerProps as TooltipTriggerProps_2 } from '@prosekit/web/tooltip';
|
84
|
-
|
85
|
-
declare const AutocompleteEmpty: ForwardRefExoticComponent<Partial<AutocompleteEmptyProps> & RefAttributes<AutocompleteEmptyElement> & HTMLAttributes<AutocompleteEmptyElement>>;
|
86
|
-
export { AutocompleteEmpty }
|
87
|
-
export { AutocompleteEmpty as AutocompleteEmpty_alias_1 }
|
88
|
-
|
89
|
-
/**
|
90
|
-
* Props for the {@link AutocompleteEmpty} component.
|
91
|
-
*/
|
92
|
-
declare type AutocompleteEmptyProps = Partial<CreateProps<AutocompleteEmptyProps_2, AutocompleteEmptyEvents>>;
|
93
|
-
export { AutocompleteEmptyProps }
|
94
|
-
export { AutocompleteEmptyProps as AutocompleteEmptyProps_alias_1 }
|
95
|
-
|
96
|
-
declare const AutocompleteItem: ForwardRefExoticComponent<Partial<AutocompleteItemProps> & RefAttributes<AutocompleteItemElement> & HTMLAttributes<AutocompleteItemElement>>;
|
97
|
-
export { AutocompleteItem }
|
98
|
-
export { AutocompleteItem as AutocompleteItem_alias_1 }
|
99
|
-
|
100
|
-
/**
|
101
|
-
* Props for the {@link AutocompleteItem} component.
|
102
|
-
*/
|
103
|
-
declare type AutocompleteItemProps = Partial<CreateProps<AutocompleteItemProps_2, AutocompleteItemEvents>>;
|
104
|
-
export { AutocompleteItemProps }
|
105
|
-
export { AutocompleteItemProps as AutocompleteItemProps_alias_1 }
|
106
|
-
|
107
|
-
declare const AutocompleteList: ForwardRefExoticComponent<Partial<AutocompleteListProps> & RefAttributes<AutocompleteListElement> & HTMLAttributes<AutocompleteListElement>>;
|
108
|
-
export { AutocompleteList }
|
109
|
-
export { AutocompleteList as AutocompleteList_alias_1 }
|
110
|
-
|
111
|
-
/**
|
112
|
-
* Props for the {@link AutocompleteList} component.
|
113
|
-
*/
|
114
|
-
declare type AutocompleteListProps = Partial<CreateProps<AutocompleteListProps_2, AutocompleteListEvents>>;
|
115
|
-
export { AutocompleteListProps }
|
116
|
-
export { AutocompleteListProps as AutocompleteListProps_alias_1 }
|
117
|
-
|
118
|
-
declare const AutocompletePopover: ForwardRefExoticComponent<Partial<AutocompletePopoverProps> & RefAttributes<AutocompletePopoverElement> & HTMLAttributes<AutocompletePopoverElement>>;
|
119
|
-
export { AutocompletePopover }
|
120
|
-
export { AutocompletePopover as AutocompletePopover_alias_1 }
|
121
|
-
|
122
|
-
/**
|
123
|
-
* Props for the {@link AutocompletePopover} component.
|
124
|
-
*/
|
125
|
-
declare type AutocompletePopoverProps = Partial<CreateProps<AutocompletePopoverProps_2, AutocompletePopoverEvents>>;
|
126
|
-
export { AutocompletePopoverProps }
|
127
|
-
export { AutocompletePopoverProps as AutocompletePopoverProps_alias_1 }
|
128
|
-
|
129
|
-
declare const BlockHandleAdd: ForwardRefExoticComponent<Partial<BlockHandleAddProps> & RefAttributes<BlockHandleAddElement> & HTMLAttributes<BlockHandleAddElement>>;
|
130
|
-
export { BlockHandleAdd }
|
131
|
-
export { BlockHandleAdd as BlockHandleAdd_alias_1 }
|
132
|
-
|
133
|
-
/**
|
134
|
-
* Props for the {@link BlockHandleAdd} component.
|
135
|
-
*/
|
136
|
-
declare type BlockHandleAddProps = Partial<CreateProps<BlockHandleAddProps_2, BlockHandleAddEvents>>;
|
137
|
-
export { BlockHandleAddProps }
|
138
|
-
export { BlockHandleAddProps as BlockHandleAddProps_alias_1 }
|
139
|
-
|
140
|
-
declare const BlockHandleDraggable: ForwardRefExoticComponent<Partial<BlockHandleDraggableProps> & RefAttributes<BlockHandleDraggableElement> & HTMLAttributes<BlockHandleDraggableElement>>;
|
141
|
-
export { BlockHandleDraggable }
|
142
|
-
export { BlockHandleDraggable as BlockHandleDraggable_alias_1 }
|
143
|
-
|
144
|
-
/**
|
145
|
-
* Props for the {@link BlockHandleDraggable} component.
|
146
|
-
*/
|
147
|
-
declare type BlockHandleDraggableProps = Partial<CreateProps<BlockHandleDraggableProps_2, BlockHandleDraggableEvents>>;
|
148
|
-
export { BlockHandleDraggableProps }
|
149
|
-
export { BlockHandleDraggableProps as BlockHandleDraggableProps_alias_1 }
|
150
|
-
|
151
|
-
declare const BlockHandlePopover: ForwardRefExoticComponent<Partial<BlockHandlePopoverProps> & RefAttributes<BlockHandlePopoverElement> & HTMLAttributes<BlockHandlePopoverElement>>;
|
152
|
-
export { BlockHandlePopover }
|
153
|
-
export { BlockHandlePopover as BlockHandlePopover_alias_1 }
|
154
|
-
|
155
|
-
/**
|
156
|
-
* Props for the {@link BlockHandlePopover} component.
|
157
|
-
*/
|
158
|
-
declare type BlockHandlePopoverProps = Partial<CreateProps<BlockHandlePopoverProps_2, BlockHandlePopoverEvents>>;
|
159
|
-
export { BlockHandlePopoverProps }
|
160
|
-
export { BlockHandlePopoverProps as BlockHandlePopoverProps_alias_1 }
|
161
|
-
|
162
|
-
export declare function createComponent<Props extends object, CustomElement extends HTMLElement>(tagName: string, displayName: string, propNames: string[], eventNames: string[]): ForwardRefExoticComponent<Partial<Props> & RefAttributes<CustomElement> & HTMLAttributes<CustomElement>>;
|
163
|
-
|
164
|
-
declare type CreateEventProps<Events extends {
|
165
|
-
[EventName in keyof Events]: CustomEvent;
|
166
|
-
}> = {
|
167
|
-
[EventName in keyof Events as `on${Capitalize<string & EventName>}`]: (event: EventName extends `${string}Change` ? Events[EventName]['detail'] : Events[EventName]) => void;
|
168
|
-
};
|
169
|
-
|
170
|
-
export declare type CreateProps<Props extends {
|
171
|
-
[PropName in keyof Props]: unknown;
|
172
|
-
}, Events extends {
|
173
|
-
[EventName in keyof Events]: CustomEvent;
|
174
|
-
}> = Props & CreateEventProps<Events>;
|
175
|
-
|
176
|
-
export declare const default_alias: Options | Options[] | ((overrideOptions: Options) => Options | Options[] | Promise<Options | Options[]>);
|
177
|
-
|
178
|
-
export { default_alias_1 }
|
179
|
-
|
180
|
-
/**
|
181
|
-
* @internal
|
182
|
-
*/
|
183
|
-
export declare const EditorContextProvider: Provider<Editor<any> | null>;
|
184
|
-
|
185
|
-
declare const InlinePopover: ForwardRefExoticComponent<Partial<InlinePopoverProps> & RefAttributes<InlinePopoverElement> & HTMLAttributes<InlinePopoverElement>>;
|
186
|
-
export { InlinePopover }
|
187
|
-
export { InlinePopover as InlinePopover_alias_1 }
|
188
|
-
|
189
|
-
/**
|
190
|
-
* Props for the {@link InlinePopover} component.
|
191
|
-
*/
|
192
|
-
declare type InlinePopoverProps = Partial<CreateProps<InlinePopoverProps_2, InlinePopoverEvents>>;
|
193
|
-
export { InlinePopoverProps }
|
194
|
-
export { InlinePopoverProps as InlinePopoverProps_alias_1 }
|
195
|
-
|
196
|
-
declare const PopoverContent: ForwardRefExoticComponent<Partial<PopoverContentProps> & RefAttributes<PopoverContentElement> & HTMLAttributes<PopoverContentElement>>;
|
197
|
-
export { PopoverContent }
|
198
|
-
export { PopoverContent as PopoverContent_alias_1 }
|
199
|
-
|
200
|
-
/**
|
201
|
-
* Props for the {@link PopoverContent} component.
|
202
|
-
*/
|
203
|
-
declare type PopoverContentProps = Partial<CreateProps<PopoverContentProps_2, PopoverContentEvents>>;
|
204
|
-
export { PopoverContentProps }
|
205
|
-
export { PopoverContentProps as PopoverContentProps_alias_1 }
|
206
|
-
|
207
|
-
declare const PopoverRoot: ForwardRefExoticComponent<Partial<PopoverRootProps> & RefAttributes<PopoverRootElement> & HTMLAttributes<PopoverRootElement>>;
|
208
|
-
export { PopoverRoot }
|
209
|
-
export { PopoverRoot as PopoverRoot_alias_1 }
|
210
|
-
|
211
|
-
/**
|
212
|
-
* Props for the {@link PopoverRoot} component.
|
213
|
-
*/
|
214
|
-
declare type PopoverRootProps = Partial<CreateProps<PopoverRootProps_2, PopoverRootEvents>>;
|
215
|
-
export { PopoverRootProps }
|
216
|
-
export { PopoverRootProps as PopoverRootProps_alias_1 }
|
217
|
-
|
218
|
-
declare const PopoverTrigger: ForwardRefExoticComponent<Partial<PopoverTriggerProps> & RefAttributes<PopoverTriggerElement> & HTMLAttributes<PopoverTriggerElement>>;
|
219
|
-
export { PopoverTrigger }
|
220
|
-
export { PopoverTrigger as PopoverTrigger_alias_1 }
|
221
|
-
|
222
|
-
/**
|
223
|
-
* Props for the {@link PopoverTrigger} component.
|
224
|
-
*/
|
225
|
-
declare type PopoverTriggerProps = Partial<CreateProps<PopoverTriggerProps_2, PopoverTriggerEvents>>;
|
226
|
-
export { PopoverTriggerProps }
|
227
|
-
export { PopoverTriggerProps as PopoverTriggerProps_alias_1 }
|
228
|
-
|
229
|
-
/**
|
230
|
-
* @internal
|
231
|
-
*/
|
232
|
-
declare type PropsWithChildren<P = unknown> = P & {
|
233
|
-
children?: ComponentChildren | undefined;
|
234
|
-
};
|
235
|
-
export { PropsWithChildren }
|
236
|
-
export { PropsWithChildren as PropsWithChildren_alias_1 }
|
237
|
-
|
238
|
-
/**
|
239
|
-
* @internal
|
240
|
-
*/
|
241
|
-
declare type PropsWithClass<P = unknown> = P & {
|
242
|
-
class?: string | undefined;
|
243
|
-
className?: string | undefined;
|
244
|
-
};
|
245
|
-
export { PropsWithClass }
|
246
|
-
export { PropsWithClass as PropsWithClass_alias_1 }
|
247
|
-
|
248
|
-
/**
|
249
|
-
* The root component for a ProseKit editor.
|
250
|
-
*
|
251
|
-
* @public
|
252
|
-
*/
|
253
|
-
declare const ProseKit: ComponentType<ProseKitProps>;
|
254
|
-
export { ProseKit }
|
255
|
-
export { ProseKit as ProseKit_alias_1 }
|
256
|
-
|
257
|
-
declare interface ProseKitProps {
|
258
|
-
editor: Editor;
|
259
|
-
children?: ComponentChildren;
|
260
|
-
}
|
261
|
-
export { ProseKitProps }
|
262
|
-
export { ProseKitProps as ProseKitProps_alias_1 }
|
263
|
-
|
264
|
-
declare const ResizableHandle: ForwardRefExoticComponent<Partial<ResizableHandleProps> & RefAttributes<ResizableHandleElement> & HTMLAttributes<ResizableHandleElement>>;
|
265
|
-
export { ResizableHandle }
|
266
|
-
export { ResizableHandle as ResizableHandle_alias_1 }
|
267
|
-
|
268
|
-
/**
|
269
|
-
* Props for the {@link ResizableHandle} component.
|
270
|
-
*/
|
271
|
-
declare type ResizableHandleProps = Partial<CreateProps<ResizableHandleProps_2, ResizableHandleEvents>>;
|
272
|
-
export { ResizableHandleProps }
|
273
|
-
export { ResizableHandleProps as ResizableHandleProps_alias_1 }
|
274
|
-
|
275
|
-
declare const ResizableRoot: ForwardRefExoticComponent<Partial<ResizableRootProps> & RefAttributes<ResizableRootElement> & HTMLAttributes<ResizableRootElement>>;
|
276
|
-
export { ResizableRoot }
|
277
|
-
export { ResizableRoot as ResizableRoot_alias_1 }
|
278
|
-
|
279
|
-
/**
|
280
|
-
* Props for the {@link ResizableRoot} component.
|
281
|
-
*/
|
282
|
-
declare type ResizableRootProps = Partial<CreateProps<ResizableRootProps_2, ResizableRootEvents>>;
|
283
|
-
export { ResizableRootProps }
|
284
|
-
export { ResizableRootProps as ResizableRootProps_alias_1 }
|
285
|
-
|
286
|
-
declare const TableHandleColumnRoot: ForwardRefExoticComponent<Partial<TableHandleColumnRootProps> & RefAttributes<TableHandleColumnRootElement> & HTMLAttributes<TableHandleColumnRootElement>>;
|
287
|
-
export { TableHandleColumnRoot }
|
288
|
-
export { TableHandleColumnRoot as TableHandleColumnRoot_alias_1 }
|
289
|
-
|
290
|
-
/**
|
291
|
-
* Props for the {@link TableHandleColumnRoot} component.
|
292
|
-
*/
|
293
|
-
declare type TableHandleColumnRootProps = Partial<CreateProps<TableHandleColumnRootProps_2, TableHandleColumnRootEvents>>;
|
294
|
-
export { TableHandleColumnRootProps }
|
295
|
-
export { TableHandleColumnRootProps as TableHandleColumnRootProps_alias_1 }
|
296
|
-
|
297
|
-
declare const TableHandleColumnTrigger: ForwardRefExoticComponent<Partial<TableHandleColumnTriggerProps> & RefAttributes<TableHandleColumnTriggerElement> & HTMLAttributes<TableHandleColumnTriggerElement>>;
|
298
|
-
export { TableHandleColumnTrigger }
|
299
|
-
export { TableHandleColumnTrigger as TableHandleColumnTrigger_alias_1 }
|
300
|
-
|
301
|
-
/**
|
302
|
-
* Props for the {@link TableHandleColumnTrigger} component.
|
303
|
-
*/
|
304
|
-
declare type TableHandleColumnTriggerProps = Partial<CreateProps<TableHandleColumnTriggerProps_2, TableHandleColumnTriggerEvents>>;
|
305
|
-
export { TableHandleColumnTriggerProps }
|
306
|
-
export { TableHandleColumnTriggerProps as TableHandleColumnTriggerProps_alias_1 }
|
307
|
-
|
308
|
-
declare const TableHandlePopoverContent: ForwardRefExoticComponent<Partial<TableHandlePopoverContentProps> & RefAttributes<TableHandlePopoverContentElement> & HTMLAttributes<TableHandlePopoverContentElement>>;
|
309
|
-
export { TableHandlePopoverContent }
|
310
|
-
export { TableHandlePopoverContent as TableHandlePopoverContent_alias_1 }
|
311
|
-
|
312
|
-
/**
|
313
|
-
* Props for the {@link TableHandlePopoverContent} component.
|
314
|
-
*/
|
315
|
-
declare type TableHandlePopoverContentProps = Partial<CreateProps<TableHandlePopoverContentProps_2, TableHandlePopoverContentEvents>>;
|
316
|
-
export { TableHandlePopoverContentProps }
|
317
|
-
export { TableHandlePopoverContentProps as TableHandlePopoverContentProps_alias_1 }
|
318
|
-
|
319
|
-
declare const TableHandlePopoverItem: ForwardRefExoticComponent<Partial<TableHandlePopoverItemProps> & RefAttributes<TableHandlePopoverItemElement> & HTMLAttributes<TableHandlePopoverItemElement>>;
|
320
|
-
export { TableHandlePopoverItem }
|
321
|
-
export { TableHandlePopoverItem as TableHandlePopoverItem_alias_1 }
|
322
|
-
|
323
|
-
/**
|
324
|
-
* Props for the {@link TableHandlePopoverItem} component.
|
325
|
-
*/
|
326
|
-
declare type TableHandlePopoverItemProps = Partial<CreateProps<TableHandlePopoverItemProps_2, TableHandlePopoverItemEvents>>;
|
327
|
-
export { TableHandlePopoverItemProps }
|
328
|
-
export { TableHandlePopoverItemProps as TableHandlePopoverItemProps_alias_1 }
|
329
|
-
|
330
|
-
declare const TableHandleRoot: ForwardRefExoticComponent<Partial<TableHandleRootProps> & RefAttributes<TableHandleRootElement> & HTMLAttributes<TableHandleRootElement>>;
|
331
|
-
export { TableHandleRoot }
|
332
|
-
export { TableHandleRoot as TableHandleRoot_alias_1 }
|
333
|
-
|
334
|
-
/**
|
335
|
-
* Props for the {@link TableHandleRoot} component.
|
336
|
-
*/
|
337
|
-
declare type TableHandleRootProps = Partial<CreateProps<TableHandleRootProps_2, TableHandleRootEvents>>;
|
338
|
-
export { TableHandleRootProps }
|
339
|
-
export { TableHandleRootProps as TableHandleRootProps_alias_1 }
|
340
|
-
|
341
|
-
declare const TableHandleRowRoot: ForwardRefExoticComponent<Partial<TableHandleRowRootProps> & RefAttributes<TableHandleRowRootElement> & HTMLAttributes<TableHandleRowRootElement>>;
|
342
|
-
export { TableHandleRowRoot }
|
343
|
-
export { TableHandleRowRoot as TableHandleRowRoot_alias_1 }
|
344
|
-
|
345
|
-
/**
|
346
|
-
* Props for the {@link TableHandleRowRoot} component.
|
347
|
-
*/
|
348
|
-
declare type TableHandleRowRootProps = Partial<CreateProps<TableHandleRowRootProps_2, TableHandleRowRootEvents>>;
|
349
|
-
export { TableHandleRowRootProps }
|
350
|
-
export { TableHandleRowRootProps as TableHandleRowRootProps_alias_1 }
|
351
|
-
|
352
|
-
declare const TableHandleRowTrigger: ForwardRefExoticComponent<Partial<TableHandleRowTriggerProps> & RefAttributes<TableHandleRowTriggerElement> & HTMLAttributes<TableHandleRowTriggerElement>>;
|
353
|
-
export { TableHandleRowTrigger }
|
354
|
-
export { TableHandleRowTrigger as TableHandleRowTrigger_alias_1 }
|
355
|
-
|
356
|
-
/**
|
357
|
-
* Props for the {@link TableHandleRowTrigger} component.
|
358
|
-
*/
|
359
|
-
declare type TableHandleRowTriggerProps = Partial<CreateProps<TableHandleRowTriggerProps_2, TableHandleRowTriggerEvents>>;
|
360
|
-
export { TableHandleRowTriggerProps }
|
361
|
-
export { TableHandleRowTriggerProps as TableHandleRowTriggerProps_alias_1 }
|
362
|
-
|
363
|
-
declare const TooltipContent: ForwardRefExoticComponent<Partial<TooltipContentProps> & RefAttributes<TooltipContentElement> & HTMLAttributes<TooltipContentElement>>;
|
364
|
-
export { TooltipContent }
|
365
|
-
export { TooltipContent as TooltipContent_alias_1 }
|
366
|
-
|
367
|
-
/**
|
368
|
-
* Props for the {@link TooltipContent} component.
|
369
|
-
*/
|
370
|
-
declare type TooltipContentProps = Partial<CreateProps<TooltipContentProps_2, TooltipContentEvents>>;
|
371
|
-
export { TooltipContentProps }
|
372
|
-
export { TooltipContentProps as TooltipContentProps_alias_1 }
|
373
|
-
|
374
|
-
declare const TooltipRoot: ForwardRefExoticComponent<Partial<TooltipRootProps> & RefAttributes<TooltipRootElement> & HTMLAttributes<TooltipRootElement>>;
|
375
|
-
export { TooltipRoot }
|
376
|
-
export { TooltipRoot as TooltipRoot_alias_1 }
|
377
|
-
|
378
|
-
/**
|
379
|
-
* Props for the {@link TooltipRoot} component.
|
380
|
-
*/
|
381
|
-
declare type TooltipRootProps = Partial<CreateProps<TooltipRootProps_2, TooltipRootEvents>>;
|
382
|
-
export { TooltipRootProps }
|
383
|
-
export { TooltipRootProps as TooltipRootProps_alias_1 }
|
384
|
-
|
385
|
-
declare const TooltipTrigger: ForwardRefExoticComponent<Partial<TooltipTriggerProps> & RefAttributes<TooltipTriggerElement> & HTMLAttributes<TooltipTriggerElement>>;
|
386
|
-
export { TooltipTrigger }
|
387
|
-
export { TooltipTrigger as TooltipTrigger_alias_1 }
|
388
|
-
|
389
|
-
/**
|
390
|
-
* Props for the {@link TooltipTrigger} component.
|
391
|
-
*/
|
392
|
-
declare type TooltipTriggerProps = Partial<CreateProps<TooltipTriggerProps_2, TooltipTriggerEvents>>;
|
393
|
-
export { TooltipTriggerProps }
|
394
|
-
export { TooltipTriggerProps as TooltipTriggerProps_alias_1 }
|
395
|
-
|
396
|
-
/**
|
397
|
-
* Calls the given handler whenever the editor document changes.
|
398
|
-
*
|
399
|
-
* @public
|
400
|
-
*/
|
401
|
-
declare function useDocChange(handler: (doc: ProseMirrorNode) => void, options?: UseExtensionOptions): void;
|
402
|
-
export { useDocChange }
|
403
|
-
export { useDocChange as useDocChange_alias_1 }
|
404
|
-
|
405
|
-
/**
|
406
|
-
* Retrieves the editor instance from the nearest ProseKit component.
|
407
|
-
*
|
408
|
-
* @public
|
409
|
-
*/
|
410
|
-
declare function useEditor<E extends Extension = any>(options?: {
|
411
|
-
/**
|
412
|
-
* Whether to update the component when the editor is mounted or editor state
|
413
|
-
* is updated.
|
414
|
-
*
|
415
|
-
* @default false
|
416
|
-
*/
|
417
|
-
update?: boolean;
|
418
|
-
}): Editor<E>;
|
419
|
-
export { useEditor }
|
420
|
-
export { useEditor as useEditor_alias_1 }
|
421
|
-
|
422
|
-
/**
|
423
|
-
* @internal
|
424
|
-
*/
|
425
|
-
export declare function useEditorContext<E extends Extension>(): Editor<E> | null;
|
426
|
-
|
427
|
-
/**
|
428
|
-
* @internal
|
429
|
-
*/
|
430
|
-
export declare function useEditorExtension(editor: Editor | null | undefined, extension: Extension | null): void;
|
431
|
-
|
432
|
-
/**
|
433
|
-
* Add an extension to the editor.
|
434
|
-
*/
|
435
|
-
declare function useExtension(
|
436
|
-
/**
|
437
|
-
* The extension to add to the editor. If it changes, the previous
|
438
|
-
* extension will be removed and the new one (if not null) will be added.
|
439
|
-
*/
|
440
|
-
extension: Extension | null, options?: UseExtensionOptions): void;
|
441
|
-
export { useExtension }
|
442
|
-
export { useExtension as useExtension_alias_1 }
|
443
|
-
|
444
|
-
declare interface UseExtensionOptions {
|
445
|
-
/**
|
446
|
-
* The editor to add the extension to. If not provided, it will use the
|
447
|
-
* editor from the nearest `ProseKit` component.
|
448
|
-
*/
|
449
|
-
editor?: Editor;
|
450
|
-
/**
|
451
|
-
* Optional priority to add the extension with.
|
452
|
-
*/
|
453
|
-
priority?: Priority;
|
454
|
-
}
|
455
|
-
export { UseExtensionOptions }
|
456
|
-
export { UseExtensionOptions as UseExtensionOptions_alias_1 }
|
457
|
-
|
458
|
-
declare function useKeymap(keymap: Keymap, options?: UseExtensionOptions): void;
|
459
|
-
export { useKeymap }
|
460
|
-
export { useKeymap as useKeymap_alias_1 }
|
461
|
-
|
462
|
-
/**
|
463
|
-
* @internal
|
464
|
-
*/
|
465
|
-
export declare function usePriorityExtension<T extends Extension = Extension>(extension: T | null, priority?: Priority | null): T | null;
|
466
|
-
|
467
|
-
/**
|
468
|
-
* Calls the given handler whenever the editor state changes.
|
469
|
-
*
|
470
|
-
* @public
|
471
|
-
*/
|
472
|
-
declare function useStateUpdate(handler: (state: EditorState) => void, options?: UseExtensionOptions): void;
|
473
|
-
export { useStateUpdate }
|
474
|
-
export { useStateUpdate as useStateUpdate_alias_1 }
|
475
|
-
|
476
|
-
export { }
|
1
|
+
import { AutocompleteEmptyElement } from '@prosekit/web/autocomplete';
|
2
|
+
import { AutocompleteEmptyEvents } from '@prosekit/web/autocomplete';
|
3
|
+
import { AutocompleteEmptyProps as AutocompleteEmptyProps_2 } from '@prosekit/web/autocomplete';
|
4
|
+
import { AutocompleteItemElement } from '@prosekit/web/autocomplete';
|
5
|
+
import { AutocompleteItemEvents } from '@prosekit/web/autocomplete';
|
6
|
+
import { AutocompleteItemProps as AutocompleteItemProps_2 } from '@prosekit/web/autocomplete';
|
7
|
+
import { AutocompleteListElement } from '@prosekit/web/autocomplete';
|
8
|
+
import { AutocompleteListEvents } from '@prosekit/web/autocomplete';
|
9
|
+
import { AutocompleteListProps as AutocompleteListProps_2 } from '@prosekit/web/autocomplete';
|
10
|
+
import { AutocompletePopoverElement } from '@prosekit/web/autocomplete';
|
11
|
+
import { AutocompletePopoverEvents } from '@prosekit/web/autocomplete';
|
12
|
+
import { AutocompletePopoverProps as AutocompletePopoverProps_2 } from '@prosekit/web/autocomplete';
|
13
|
+
import { BlockHandleAddElement } from '@prosekit/web/block-handle';
|
14
|
+
import { BlockHandleAddEvents } from '@prosekit/web/block-handle';
|
15
|
+
import { BlockHandleAddProps as BlockHandleAddProps_2 } from '@prosekit/web/block-handle';
|
16
|
+
import { BlockHandleDraggableElement } from '@prosekit/web/block-handle';
|
17
|
+
import { BlockHandleDraggableEvents } from '@prosekit/web/block-handle';
|
18
|
+
import { BlockHandleDraggableProps as BlockHandleDraggableProps_2 } from '@prosekit/web/block-handle';
|
19
|
+
import { BlockHandlePopoverElement } from '@prosekit/web/block-handle';
|
20
|
+
import { BlockHandlePopoverEvents } from '@prosekit/web/block-handle';
|
21
|
+
import { BlockHandlePopoverProps as BlockHandlePopoverProps_2 } from '@prosekit/web/block-handle';
|
22
|
+
import { ComponentChildren } from 'preact';
|
23
|
+
import { ComponentType } from 'preact';
|
24
|
+
import { config as default_alias_1 } from '@prosekit/dev/config-vitest';
|
25
|
+
import { Editor } from '@prosekit/core';
|
26
|
+
import type { EditorState } from '@prosekit/pm/state';
|
27
|
+
import { Extension } from '@prosekit/core';
|
28
|
+
import { ForwardRefExoticComponent } from 'preact/compat';
|
29
|
+
import { HTMLAttributes } from 'preact/compat';
|
30
|
+
import { InlinePopoverElement } from '@prosekit/web/inline-popover';
|
31
|
+
import { InlinePopoverEvents } from '@prosekit/web/inline-popover';
|
32
|
+
import { InlinePopoverProps as InlinePopoverProps_2 } from '@prosekit/web/inline-popover';
|
33
|
+
import { Keymap } from '@prosekit/core';
|
34
|
+
import { Options } from 'tsup';
|
35
|
+
import { PopoverContentElement } from '@prosekit/web/popover';
|
36
|
+
import { PopoverContentEvents } from '@prosekit/web/popover';
|
37
|
+
import { PopoverContentProps as PopoverContentProps_2 } from '@prosekit/web/popover';
|
38
|
+
import { PopoverRootElement } from '@prosekit/web/popover';
|
39
|
+
import { PopoverRootEvents } from '@prosekit/web/popover';
|
40
|
+
import { PopoverRootProps as PopoverRootProps_2 } from '@prosekit/web/popover';
|
41
|
+
import { PopoverTriggerElement } from '@prosekit/web/popover';
|
42
|
+
import { PopoverTriggerEvents } from '@prosekit/web/popover';
|
43
|
+
import { PopoverTriggerProps as PopoverTriggerProps_2 } from '@prosekit/web/popover';
|
44
|
+
import { Priority } from '@prosekit/core';
|
45
|
+
import type { ProseMirrorNode } from '@prosekit/pm/model';
|
46
|
+
import { Provider } from 'preact';
|
47
|
+
import { RefAttributes } from 'preact/compat';
|
48
|
+
import { ResizableHandleElement } from '@prosekit/web/resizable';
|
49
|
+
import { ResizableHandleEvents } from '@prosekit/web/resizable';
|
50
|
+
import { ResizableHandleProps as ResizableHandleProps_2 } from '@prosekit/web/resizable';
|
51
|
+
import { ResizableRootElement } from '@prosekit/web/resizable';
|
52
|
+
import { ResizableRootEvents } from '@prosekit/web/resizable';
|
53
|
+
import { ResizableRootProps as ResizableRootProps_2 } from '@prosekit/web/resizable';
|
54
|
+
import { TableHandleColumnRootElement } from '@prosekit/web/table-handle';
|
55
|
+
import { TableHandleColumnRootEvents } from '@prosekit/web/table-handle';
|
56
|
+
import { TableHandleColumnRootProps as TableHandleColumnRootProps_2 } from '@prosekit/web/table-handle';
|
57
|
+
import { TableHandleColumnTriggerElement } from '@prosekit/web/table-handle';
|
58
|
+
import { TableHandleColumnTriggerEvents } from '@prosekit/web/table-handle';
|
59
|
+
import { TableHandleColumnTriggerProps as TableHandleColumnTriggerProps_2 } from '@prosekit/web/table-handle';
|
60
|
+
import { TableHandlePopoverContentElement } from '@prosekit/web/table-handle';
|
61
|
+
import { TableHandlePopoverContentEvents } from '@prosekit/web/table-handle';
|
62
|
+
import { TableHandlePopoverContentProps as TableHandlePopoverContentProps_2 } from '@prosekit/web/table-handle';
|
63
|
+
import { TableHandlePopoverItemElement } from '@prosekit/web/table-handle';
|
64
|
+
import { TableHandlePopoverItemEvents } from '@prosekit/web/table-handle';
|
65
|
+
import { TableHandlePopoverItemProps as TableHandlePopoverItemProps_2 } from '@prosekit/web/table-handle';
|
66
|
+
import { TableHandleRootElement } from '@prosekit/web/table-handle';
|
67
|
+
import { TableHandleRootEvents } from '@prosekit/web/table-handle';
|
68
|
+
import { TableHandleRootProps as TableHandleRootProps_2 } from '@prosekit/web/table-handle';
|
69
|
+
import { TableHandleRowRootElement } from '@prosekit/web/table-handle';
|
70
|
+
import { TableHandleRowRootEvents } from '@prosekit/web/table-handle';
|
71
|
+
import { TableHandleRowRootProps as TableHandleRowRootProps_2 } from '@prosekit/web/table-handle';
|
72
|
+
import { TableHandleRowTriggerElement } from '@prosekit/web/table-handle';
|
73
|
+
import { TableHandleRowTriggerEvents } from '@prosekit/web/table-handle';
|
74
|
+
import { TableHandleRowTriggerProps as TableHandleRowTriggerProps_2 } from '@prosekit/web/table-handle';
|
75
|
+
import { TooltipContentElement } from '@prosekit/web/tooltip';
|
76
|
+
import { TooltipContentEvents } from '@prosekit/web/tooltip';
|
77
|
+
import { TooltipContentProps as TooltipContentProps_2 } from '@prosekit/web/tooltip';
|
78
|
+
import { TooltipRootElement } from '@prosekit/web/tooltip';
|
79
|
+
import { TooltipRootEvents } from '@prosekit/web/tooltip';
|
80
|
+
import { TooltipRootProps as TooltipRootProps_2 } from '@prosekit/web/tooltip';
|
81
|
+
import { TooltipTriggerElement } from '@prosekit/web/tooltip';
|
82
|
+
import { TooltipTriggerEvents } from '@prosekit/web/tooltip';
|
83
|
+
import { TooltipTriggerProps as TooltipTriggerProps_2 } from '@prosekit/web/tooltip';
|
84
|
+
|
85
|
+
declare const AutocompleteEmpty: ForwardRefExoticComponent<Partial<AutocompleteEmptyProps> & RefAttributes<AutocompleteEmptyElement> & HTMLAttributes<AutocompleteEmptyElement>>;
|
86
|
+
export { AutocompleteEmpty }
|
87
|
+
export { AutocompleteEmpty as AutocompleteEmpty_alias_1 }
|
88
|
+
|
89
|
+
/**
|
90
|
+
* Props for the {@link AutocompleteEmpty} component.
|
91
|
+
*/
|
92
|
+
declare type AutocompleteEmptyProps = Partial<CreateProps<AutocompleteEmptyProps_2, AutocompleteEmptyEvents>>;
|
93
|
+
export { AutocompleteEmptyProps }
|
94
|
+
export { AutocompleteEmptyProps as AutocompleteEmptyProps_alias_1 }
|
95
|
+
|
96
|
+
declare const AutocompleteItem: ForwardRefExoticComponent<Partial<AutocompleteItemProps> & RefAttributes<AutocompleteItemElement> & HTMLAttributes<AutocompleteItemElement>>;
|
97
|
+
export { AutocompleteItem }
|
98
|
+
export { AutocompleteItem as AutocompleteItem_alias_1 }
|
99
|
+
|
100
|
+
/**
|
101
|
+
* Props for the {@link AutocompleteItem} component.
|
102
|
+
*/
|
103
|
+
declare type AutocompleteItemProps = Partial<CreateProps<AutocompleteItemProps_2, AutocompleteItemEvents>>;
|
104
|
+
export { AutocompleteItemProps }
|
105
|
+
export { AutocompleteItemProps as AutocompleteItemProps_alias_1 }
|
106
|
+
|
107
|
+
declare const AutocompleteList: ForwardRefExoticComponent<Partial<AutocompleteListProps> & RefAttributes<AutocompleteListElement> & HTMLAttributes<AutocompleteListElement>>;
|
108
|
+
export { AutocompleteList }
|
109
|
+
export { AutocompleteList as AutocompleteList_alias_1 }
|
110
|
+
|
111
|
+
/**
|
112
|
+
* Props for the {@link AutocompleteList} component.
|
113
|
+
*/
|
114
|
+
declare type AutocompleteListProps = Partial<CreateProps<AutocompleteListProps_2, AutocompleteListEvents>>;
|
115
|
+
export { AutocompleteListProps }
|
116
|
+
export { AutocompleteListProps as AutocompleteListProps_alias_1 }
|
117
|
+
|
118
|
+
declare const AutocompletePopover: ForwardRefExoticComponent<Partial<AutocompletePopoverProps> & RefAttributes<AutocompletePopoverElement> & HTMLAttributes<AutocompletePopoverElement>>;
|
119
|
+
export { AutocompletePopover }
|
120
|
+
export { AutocompletePopover as AutocompletePopover_alias_1 }
|
121
|
+
|
122
|
+
/**
|
123
|
+
* Props for the {@link AutocompletePopover} component.
|
124
|
+
*/
|
125
|
+
declare type AutocompletePopoverProps = Partial<CreateProps<AutocompletePopoverProps_2, AutocompletePopoverEvents>>;
|
126
|
+
export { AutocompletePopoverProps }
|
127
|
+
export { AutocompletePopoverProps as AutocompletePopoverProps_alias_1 }
|
128
|
+
|
129
|
+
declare const BlockHandleAdd: ForwardRefExoticComponent<Partial<BlockHandleAddProps> & RefAttributes<BlockHandleAddElement> & HTMLAttributes<BlockHandleAddElement>>;
|
130
|
+
export { BlockHandleAdd }
|
131
|
+
export { BlockHandleAdd as BlockHandleAdd_alias_1 }
|
132
|
+
|
133
|
+
/**
|
134
|
+
* Props for the {@link BlockHandleAdd} component.
|
135
|
+
*/
|
136
|
+
declare type BlockHandleAddProps = Partial<CreateProps<BlockHandleAddProps_2, BlockHandleAddEvents>>;
|
137
|
+
export { BlockHandleAddProps }
|
138
|
+
export { BlockHandleAddProps as BlockHandleAddProps_alias_1 }
|
139
|
+
|
140
|
+
declare const BlockHandleDraggable: ForwardRefExoticComponent<Partial<BlockHandleDraggableProps> & RefAttributes<BlockHandleDraggableElement> & HTMLAttributes<BlockHandleDraggableElement>>;
|
141
|
+
export { BlockHandleDraggable }
|
142
|
+
export { BlockHandleDraggable as BlockHandleDraggable_alias_1 }
|
143
|
+
|
144
|
+
/**
|
145
|
+
* Props for the {@link BlockHandleDraggable} component.
|
146
|
+
*/
|
147
|
+
declare type BlockHandleDraggableProps = Partial<CreateProps<BlockHandleDraggableProps_2, BlockHandleDraggableEvents>>;
|
148
|
+
export { BlockHandleDraggableProps }
|
149
|
+
export { BlockHandleDraggableProps as BlockHandleDraggableProps_alias_1 }
|
150
|
+
|
151
|
+
declare const BlockHandlePopover: ForwardRefExoticComponent<Partial<BlockHandlePopoverProps> & RefAttributes<BlockHandlePopoverElement> & HTMLAttributes<BlockHandlePopoverElement>>;
|
152
|
+
export { BlockHandlePopover }
|
153
|
+
export { BlockHandlePopover as BlockHandlePopover_alias_1 }
|
154
|
+
|
155
|
+
/**
|
156
|
+
* Props for the {@link BlockHandlePopover} component.
|
157
|
+
*/
|
158
|
+
declare type BlockHandlePopoverProps = Partial<CreateProps<BlockHandlePopoverProps_2, BlockHandlePopoverEvents>>;
|
159
|
+
export { BlockHandlePopoverProps }
|
160
|
+
export { BlockHandlePopoverProps as BlockHandlePopoverProps_alias_1 }
|
161
|
+
|
162
|
+
export declare function createComponent<Props extends object, CustomElement extends HTMLElement>(tagName: string, displayName: string, propNames: string[], eventNames: string[]): ForwardRefExoticComponent<Partial<Props> & RefAttributes<CustomElement> & HTMLAttributes<CustomElement>>;
|
163
|
+
|
164
|
+
declare type CreateEventProps<Events extends {
|
165
|
+
[EventName in keyof Events]: CustomEvent;
|
166
|
+
}> = {
|
167
|
+
[EventName in keyof Events as `on${Capitalize<string & EventName>}`]: (event: EventName extends `${string}Change` ? Events[EventName]['detail'] : Events[EventName]) => void;
|
168
|
+
};
|
169
|
+
|
170
|
+
export declare type CreateProps<Props extends {
|
171
|
+
[PropName in keyof Props]: unknown;
|
172
|
+
}, Events extends {
|
173
|
+
[EventName in keyof Events]: CustomEvent;
|
174
|
+
}> = Props & CreateEventProps<Events>;
|
175
|
+
|
176
|
+
export declare const default_alias: Options | Options[] | ((overrideOptions: Options) => Options | Options[] | Promise<Options | Options[]>);
|
177
|
+
|
178
|
+
export { default_alias_1 }
|
179
|
+
|
180
|
+
/**
|
181
|
+
* @internal
|
182
|
+
*/
|
183
|
+
export declare const EditorContextProvider: Provider<Editor<any> | null>;
|
184
|
+
|
185
|
+
declare const InlinePopover: ForwardRefExoticComponent<Partial<InlinePopoverProps> & RefAttributes<InlinePopoverElement> & HTMLAttributes<InlinePopoverElement>>;
|
186
|
+
export { InlinePopover }
|
187
|
+
export { InlinePopover as InlinePopover_alias_1 }
|
188
|
+
|
189
|
+
/**
|
190
|
+
* Props for the {@link InlinePopover} component.
|
191
|
+
*/
|
192
|
+
declare type InlinePopoverProps = Partial<CreateProps<InlinePopoverProps_2, InlinePopoverEvents>>;
|
193
|
+
export { InlinePopoverProps }
|
194
|
+
export { InlinePopoverProps as InlinePopoverProps_alias_1 }
|
195
|
+
|
196
|
+
declare const PopoverContent: ForwardRefExoticComponent<Partial<PopoverContentProps> & RefAttributes<PopoverContentElement> & HTMLAttributes<PopoverContentElement>>;
|
197
|
+
export { PopoverContent }
|
198
|
+
export { PopoverContent as PopoverContent_alias_1 }
|
199
|
+
|
200
|
+
/**
|
201
|
+
* Props for the {@link PopoverContent} component.
|
202
|
+
*/
|
203
|
+
declare type PopoverContentProps = Partial<CreateProps<PopoverContentProps_2, PopoverContentEvents>>;
|
204
|
+
export { PopoverContentProps }
|
205
|
+
export { PopoverContentProps as PopoverContentProps_alias_1 }
|
206
|
+
|
207
|
+
declare const PopoverRoot: ForwardRefExoticComponent<Partial<PopoverRootProps> & RefAttributes<PopoverRootElement> & HTMLAttributes<PopoverRootElement>>;
|
208
|
+
export { PopoverRoot }
|
209
|
+
export { PopoverRoot as PopoverRoot_alias_1 }
|
210
|
+
|
211
|
+
/**
|
212
|
+
* Props for the {@link PopoverRoot} component.
|
213
|
+
*/
|
214
|
+
declare type PopoverRootProps = Partial<CreateProps<PopoverRootProps_2, PopoverRootEvents>>;
|
215
|
+
export { PopoverRootProps }
|
216
|
+
export { PopoverRootProps as PopoverRootProps_alias_1 }
|
217
|
+
|
218
|
+
declare const PopoverTrigger: ForwardRefExoticComponent<Partial<PopoverTriggerProps> & RefAttributes<PopoverTriggerElement> & HTMLAttributes<PopoverTriggerElement>>;
|
219
|
+
export { PopoverTrigger }
|
220
|
+
export { PopoverTrigger as PopoverTrigger_alias_1 }
|
221
|
+
|
222
|
+
/**
|
223
|
+
* Props for the {@link PopoverTrigger} component.
|
224
|
+
*/
|
225
|
+
declare type PopoverTriggerProps = Partial<CreateProps<PopoverTriggerProps_2, PopoverTriggerEvents>>;
|
226
|
+
export { PopoverTriggerProps }
|
227
|
+
export { PopoverTriggerProps as PopoverTriggerProps_alias_1 }
|
228
|
+
|
229
|
+
/**
|
230
|
+
* @internal
|
231
|
+
*/
|
232
|
+
declare type PropsWithChildren<P = unknown> = P & {
|
233
|
+
children?: ComponentChildren | undefined;
|
234
|
+
};
|
235
|
+
export { PropsWithChildren }
|
236
|
+
export { PropsWithChildren as PropsWithChildren_alias_1 }
|
237
|
+
|
238
|
+
/**
|
239
|
+
* @internal
|
240
|
+
*/
|
241
|
+
declare type PropsWithClass<P = unknown> = P & {
|
242
|
+
class?: string | undefined;
|
243
|
+
className?: string | undefined;
|
244
|
+
};
|
245
|
+
export { PropsWithClass }
|
246
|
+
export { PropsWithClass as PropsWithClass_alias_1 }
|
247
|
+
|
248
|
+
/**
|
249
|
+
* The root component for a ProseKit editor.
|
250
|
+
*
|
251
|
+
* @public
|
252
|
+
*/
|
253
|
+
declare const ProseKit: ComponentType<ProseKitProps>;
|
254
|
+
export { ProseKit }
|
255
|
+
export { ProseKit as ProseKit_alias_1 }
|
256
|
+
|
257
|
+
declare interface ProseKitProps {
|
258
|
+
editor: Editor;
|
259
|
+
children?: ComponentChildren;
|
260
|
+
}
|
261
|
+
export { ProseKitProps }
|
262
|
+
export { ProseKitProps as ProseKitProps_alias_1 }
|
263
|
+
|
264
|
+
declare const ResizableHandle: ForwardRefExoticComponent<Partial<ResizableHandleProps> & RefAttributes<ResizableHandleElement> & HTMLAttributes<ResizableHandleElement>>;
|
265
|
+
export { ResizableHandle }
|
266
|
+
export { ResizableHandle as ResizableHandle_alias_1 }
|
267
|
+
|
268
|
+
/**
|
269
|
+
* Props for the {@link ResizableHandle} component.
|
270
|
+
*/
|
271
|
+
declare type ResizableHandleProps = Partial<CreateProps<ResizableHandleProps_2, ResizableHandleEvents>>;
|
272
|
+
export { ResizableHandleProps }
|
273
|
+
export { ResizableHandleProps as ResizableHandleProps_alias_1 }
|
274
|
+
|
275
|
+
declare const ResizableRoot: ForwardRefExoticComponent<Partial<ResizableRootProps> & RefAttributes<ResizableRootElement> & HTMLAttributes<ResizableRootElement>>;
|
276
|
+
export { ResizableRoot }
|
277
|
+
export { ResizableRoot as ResizableRoot_alias_1 }
|
278
|
+
|
279
|
+
/**
|
280
|
+
* Props for the {@link ResizableRoot} component.
|
281
|
+
*/
|
282
|
+
declare type ResizableRootProps = Partial<CreateProps<ResizableRootProps_2, ResizableRootEvents>>;
|
283
|
+
export { ResizableRootProps }
|
284
|
+
export { ResizableRootProps as ResizableRootProps_alias_1 }
|
285
|
+
|
286
|
+
declare const TableHandleColumnRoot: ForwardRefExoticComponent<Partial<TableHandleColumnRootProps> & RefAttributes<TableHandleColumnRootElement> & HTMLAttributes<TableHandleColumnRootElement>>;
|
287
|
+
export { TableHandleColumnRoot }
|
288
|
+
export { TableHandleColumnRoot as TableHandleColumnRoot_alias_1 }
|
289
|
+
|
290
|
+
/**
|
291
|
+
* Props for the {@link TableHandleColumnRoot} component.
|
292
|
+
*/
|
293
|
+
declare type TableHandleColumnRootProps = Partial<CreateProps<TableHandleColumnRootProps_2, TableHandleColumnRootEvents>>;
|
294
|
+
export { TableHandleColumnRootProps }
|
295
|
+
export { TableHandleColumnRootProps as TableHandleColumnRootProps_alias_1 }
|
296
|
+
|
297
|
+
declare const TableHandleColumnTrigger: ForwardRefExoticComponent<Partial<TableHandleColumnTriggerProps> & RefAttributes<TableHandleColumnTriggerElement> & HTMLAttributes<TableHandleColumnTriggerElement>>;
|
298
|
+
export { TableHandleColumnTrigger }
|
299
|
+
export { TableHandleColumnTrigger as TableHandleColumnTrigger_alias_1 }
|
300
|
+
|
301
|
+
/**
|
302
|
+
* Props for the {@link TableHandleColumnTrigger} component.
|
303
|
+
*/
|
304
|
+
declare type TableHandleColumnTriggerProps = Partial<CreateProps<TableHandleColumnTriggerProps_2, TableHandleColumnTriggerEvents>>;
|
305
|
+
export { TableHandleColumnTriggerProps }
|
306
|
+
export { TableHandleColumnTriggerProps as TableHandleColumnTriggerProps_alias_1 }
|
307
|
+
|
308
|
+
declare const TableHandlePopoverContent: ForwardRefExoticComponent<Partial<TableHandlePopoverContentProps> & RefAttributes<TableHandlePopoverContentElement> & HTMLAttributes<TableHandlePopoverContentElement>>;
|
309
|
+
export { TableHandlePopoverContent }
|
310
|
+
export { TableHandlePopoverContent as TableHandlePopoverContent_alias_1 }
|
311
|
+
|
312
|
+
/**
|
313
|
+
* Props for the {@link TableHandlePopoverContent} component.
|
314
|
+
*/
|
315
|
+
declare type TableHandlePopoverContentProps = Partial<CreateProps<TableHandlePopoverContentProps_2, TableHandlePopoverContentEvents>>;
|
316
|
+
export { TableHandlePopoverContentProps }
|
317
|
+
export { TableHandlePopoverContentProps as TableHandlePopoverContentProps_alias_1 }
|
318
|
+
|
319
|
+
declare const TableHandlePopoverItem: ForwardRefExoticComponent<Partial<TableHandlePopoverItemProps> & RefAttributes<TableHandlePopoverItemElement> & HTMLAttributes<TableHandlePopoverItemElement>>;
|
320
|
+
export { TableHandlePopoverItem }
|
321
|
+
export { TableHandlePopoverItem as TableHandlePopoverItem_alias_1 }
|
322
|
+
|
323
|
+
/**
|
324
|
+
* Props for the {@link TableHandlePopoverItem} component.
|
325
|
+
*/
|
326
|
+
declare type TableHandlePopoverItemProps = Partial<CreateProps<TableHandlePopoverItemProps_2, TableHandlePopoverItemEvents>>;
|
327
|
+
export { TableHandlePopoverItemProps }
|
328
|
+
export { TableHandlePopoverItemProps as TableHandlePopoverItemProps_alias_1 }
|
329
|
+
|
330
|
+
declare const TableHandleRoot: ForwardRefExoticComponent<Partial<TableHandleRootProps> & RefAttributes<TableHandleRootElement> & HTMLAttributes<TableHandleRootElement>>;
|
331
|
+
export { TableHandleRoot }
|
332
|
+
export { TableHandleRoot as TableHandleRoot_alias_1 }
|
333
|
+
|
334
|
+
/**
|
335
|
+
* Props for the {@link TableHandleRoot} component.
|
336
|
+
*/
|
337
|
+
declare type TableHandleRootProps = Partial<CreateProps<TableHandleRootProps_2, TableHandleRootEvents>>;
|
338
|
+
export { TableHandleRootProps }
|
339
|
+
export { TableHandleRootProps as TableHandleRootProps_alias_1 }
|
340
|
+
|
341
|
+
declare const TableHandleRowRoot: ForwardRefExoticComponent<Partial<TableHandleRowRootProps> & RefAttributes<TableHandleRowRootElement> & HTMLAttributes<TableHandleRowRootElement>>;
|
342
|
+
export { TableHandleRowRoot }
|
343
|
+
export { TableHandleRowRoot as TableHandleRowRoot_alias_1 }
|
344
|
+
|
345
|
+
/**
|
346
|
+
* Props for the {@link TableHandleRowRoot} component.
|
347
|
+
*/
|
348
|
+
declare type TableHandleRowRootProps = Partial<CreateProps<TableHandleRowRootProps_2, TableHandleRowRootEvents>>;
|
349
|
+
export { TableHandleRowRootProps }
|
350
|
+
export { TableHandleRowRootProps as TableHandleRowRootProps_alias_1 }
|
351
|
+
|
352
|
+
declare const TableHandleRowTrigger: ForwardRefExoticComponent<Partial<TableHandleRowTriggerProps> & RefAttributes<TableHandleRowTriggerElement> & HTMLAttributes<TableHandleRowTriggerElement>>;
|
353
|
+
export { TableHandleRowTrigger }
|
354
|
+
export { TableHandleRowTrigger as TableHandleRowTrigger_alias_1 }
|
355
|
+
|
356
|
+
/**
|
357
|
+
* Props for the {@link TableHandleRowTrigger} component.
|
358
|
+
*/
|
359
|
+
declare type TableHandleRowTriggerProps = Partial<CreateProps<TableHandleRowTriggerProps_2, TableHandleRowTriggerEvents>>;
|
360
|
+
export { TableHandleRowTriggerProps }
|
361
|
+
export { TableHandleRowTriggerProps as TableHandleRowTriggerProps_alias_1 }
|
362
|
+
|
363
|
+
declare const TooltipContent: ForwardRefExoticComponent<Partial<TooltipContentProps> & RefAttributes<TooltipContentElement> & HTMLAttributes<TooltipContentElement>>;
|
364
|
+
export { TooltipContent }
|
365
|
+
export { TooltipContent as TooltipContent_alias_1 }
|
366
|
+
|
367
|
+
/**
|
368
|
+
* Props for the {@link TooltipContent} component.
|
369
|
+
*/
|
370
|
+
declare type TooltipContentProps = Partial<CreateProps<TooltipContentProps_2, TooltipContentEvents>>;
|
371
|
+
export { TooltipContentProps }
|
372
|
+
export { TooltipContentProps as TooltipContentProps_alias_1 }
|
373
|
+
|
374
|
+
declare const TooltipRoot: ForwardRefExoticComponent<Partial<TooltipRootProps> & RefAttributes<TooltipRootElement> & HTMLAttributes<TooltipRootElement>>;
|
375
|
+
export { TooltipRoot }
|
376
|
+
export { TooltipRoot as TooltipRoot_alias_1 }
|
377
|
+
|
378
|
+
/**
|
379
|
+
* Props for the {@link TooltipRoot} component.
|
380
|
+
*/
|
381
|
+
declare type TooltipRootProps = Partial<CreateProps<TooltipRootProps_2, TooltipRootEvents>>;
|
382
|
+
export { TooltipRootProps }
|
383
|
+
export { TooltipRootProps as TooltipRootProps_alias_1 }
|
384
|
+
|
385
|
+
declare const TooltipTrigger: ForwardRefExoticComponent<Partial<TooltipTriggerProps> & RefAttributes<TooltipTriggerElement> & HTMLAttributes<TooltipTriggerElement>>;
|
386
|
+
export { TooltipTrigger }
|
387
|
+
export { TooltipTrigger as TooltipTrigger_alias_1 }
|
388
|
+
|
389
|
+
/**
|
390
|
+
* Props for the {@link TooltipTrigger} component.
|
391
|
+
*/
|
392
|
+
declare type TooltipTriggerProps = Partial<CreateProps<TooltipTriggerProps_2, TooltipTriggerEvents>>;
|
393
|
+
export { TooltipTriggerProps }
|
394
|
+
export { TooltipTriggerProps as TooltipTriggerProps_alias_1 }
|
395
|
+
|
396
|
+
/**
|
397
|
+
* Calls the given handler whenever the editor document changes.
|
398
|
+
*
|
399
|
+
* @public
|
400
|
+
*/
|
401
|
+
declare function useDocChange(handler: (doc: ProseMirrorNode) => void, options?: UseExtensionOptions): void;
|
402
|
+
export { useDocChange }
|
403
|
+
export { useDocChange as useDocChange_alias_1 }
|
404
|
+
|
405
|
+
/**
|
406
|
+
* Retrieves the editor instance from the nearest ProseKit component.
|
407
|
+
*
|
408
|
+
* @public
|
409
|
+
*/
|
410
|
+
declare function useEditor<E extends Extension = any>(options?: {
|
411
|
+
/**
|
412
|
+
* Whether to update the component when the editor is mounted or editor state
|
413
|
+
* is updated.
|
414
|
+
*
|
415
|
+
* @default false
|
416
|
+
*/
|
417
|
+
update?: boolean;
|
418
|
+
}): Editor<E>;
|
419
|
+
export { useEditor }
|
420
|
+
export { useEditor as useEditor_alias_1 }
|
421
|
+
|
422
|
+
/**
|
423
|
+
* @internal
|
424
|
+
*/
|
425
|
+
export declare function useEditorContext<E extends Extension>(): Editor<E> | null;
|
426
|
+
|
427
|
+
/**
|
428
|
+
* @internal
|
429
|
+
*/
|
430
|
+
export declare function useEditorExtension(editor: Editor | null | undefined, extension: Extension | null): void;
|
431
|
+
|
432
|
+
/**
|
433
|
+
* Add an extension to the editor.
|
434
|
+
*/
|
435
|
+
declare function useExtension(
|
436
|
+
/**
|
437
|
+
* The extension to add to the editor. If it changes, the previous
|
438
|
+
* extension will be removed and the new one (if not null) will be added.
|
439
|
+
*/
|
440
|
+
extension: Extension | null, options?: UseExtensionOptions): void;
|
441
|
+
export { useExtension }
|
442
|
+
export { useExtension as useExtension_alias_1 }
|
443
|
+
|
444
|
+
declare interface UseExtensionOptions {
|
445
|
+
/**
|
446
|
+
* The editor to add the extension to. If not provided, it will use the
|
447
|
+
* editor from the nearest `ProseKit` component.
|
448
|
+
*/
|
449
|
+
editor?: Editor;
|
450
|
+
/**
|
451
|
+
* Optional priority to add the extension with.
|
452
|
+
*/
|
453
|
+
priority?: Priority;
|
454
|
+
}
|
455
|
+
export { UseExtensionOptions }
|
456
|
+
export { UseExtensionOptions as UseExtensionOptions_alias_1 }
|
457
|
+
|
458
|
+
declare function useKeymap(keymap: Keymap, options?: UseExtensionOptions): void;
|
459
|
+
export { useKeymap }
|
460
|
+
export { useKeymap as useKeymap_alias_1 }
|
461
|
+
|
462
|
+
/**
|
463
|
+
* @internal
|
464
|
+
*/
|
465
|
+
export declare function usePriorityExtension<T extends Extension = Extension>(extension: T | null, priority?: Priority | null): T | null;
|
466
|
+
|
467
|
+
/**
|
468
|
+
* Calls the given handler whenever the editor state changes.
|
469
|
+
*
|
470
|
+
* @public
|
471
|
+
*/
|
472
|
+
declare function useStateUpdate(handler: (state: EditorState) => void, options?: UseExtensionOptions): void;
|
473
|
+
export { useStateUpdate }
|
474
|
+
export { useStateUpdate as useStateUpdate_alias_1 }
|
475
|
+
|
476
|
+
export { }
|
@@ -1,8 +1,8 @@
|
|
1
|
-
export { AutocompleteEmpty_alias_1 as AutocompleteEmpty } from './_tsup-dts-rollup';
|
2
|
-
export { AutocompleteEmptyProps_alias_1 as AutocompleteEmptyProps } from './_tsup-dts-rollup';
|
3
|
-
export { AutocompleteItem_alias_1 as AutocompleteItem } from './_tsup-dts-rollup';
|
4
|
-
export { AutocompleteItemProps_alias_1 as AutocompleteItemProps } from './_tsup-dts-rollup';
|
5
|
-
export { AutocompleteList_alias_1 as AutocompleteList } from './_tsup-dts-rollup';
|
6
|
-
export { AutocompleteListProps_alias_1 as AutocompleteListProps } from './_tsup-dts-rollup';
|
7
|
-
export { AutocompletePopover_alias_1 as AutocompletePopover } from './_tsup-dts-rollup';
|
8
|
-
export { AutocompletePopoverProps_alias_1 as AutocompletePopoverProps } from './_tsup-dts-rollup';
|
1
|
+
export { AutocompleteEmpty_alias_1 as AutocompleteEmpty } from './_tsup-dts-rollup.js';
|
2
|
+
export { AutocompleteEmptyProps_alias_1 as AutocompleteEmptyProps } from './_tsup-dts-rollup.js';
|
3
|
+
export { AutocompleteItem_alias_1 as AutocompleteItem } from './_tsup-dts-rollup.js';
|
4
|
+
export { AutocompleteItemProps_alias_1 as AutocompleteItemProps } from './_tsup-dts-rollup.js';
|
5
|
+
export { AutocompleteList_alias_1 as AutocompleteList } from './_tsup-dts-rollup.js';
|
6
|
+
export { AutocompleteListProps_alias_1 as AutocompleteListProps } from './_tsup-dts-rollup.js';
|
7
|
+
export { AutocompletePopover_alias_1 as AutocompletePopover } from './_tsup-dts-rollup.js';
|
8
|
+
export { AutocompletePopoverProps_alias_1 as AutocompletePopoverProps } from './_tsup-dts-rollup.js';
|
@@ -1,6 +1,6 @@
|
|
1
|
-
export { BlockHandleAdd_alias_1 as BlockHandleAdd } from './_tsup-dts-rollup';
|
2
|
-
export { BlockHandleAddProps_alias_1 as BlockHandleAddProps } from './_tsup-dts-rollup';
|
3
|
-
export { BlockHandleDraggable_alias_1 as BlockHandleDraggable } from './_tsup-dts-rollup';
|
4
|
-
export { BlockHandleDraggableProps_alias_1 as BlockHandleDraggableProps } from './_tsup-dts-rollup';
|
5
|
-
export { BlockHandlePopover_alias_1 as BlockHandlePopover } from './_tsup-dts-rollup';
|
6
|
-
export { BlockHandlePopoverProps_alias_1 as BlockHandlePopoverProps } from './_tsup-dts-rollup';
|
1
|
+
export { BlockHandleAdd_alias_1 as BlockHandleAdd } from './_tsup-dts-rollup.js';
|
2
|
+
export { BlockHandleAddProps_alias_1 as BlockHandleAddProps } from './_tsup-dts-rollup.js';
|
3
|
+
export { BlockHandleDraggable_alias_1 as BlockHandleDraggable } from './_tsup-dts-rollup.js';
|
4
|
+
export { BlockHandleDraggableProps_alias_1 as BlockHandleDraggableProps } from './_tsup-dts-rollup.js';
|
5
|
+
export { BlockHandlePopover_alias_1 as BlockHandlePopover } from './_tsup-dts-rollup.js';
|
6
|
+
export { BlockHandlePopoverProps_alias_1 as BlockHandlePopoverProps } from './_tsup-dts-rollup.js';
|
@@ -1,2 +1,2 @@
|
|
1
|
-
export { InlinePopover } from './_tsup-dts-rollup';
|
2
|
-
export { InlinePopoverProps } from './_tsup-dts-rollup';
|
1
|
+
export { InlinePopover } from './_tsup-dts-rollup.js';
|
2
|
+
export { InlinePopoverProps } from './_tsup-dts-rollup.js';
|
@@ -1,6 +1,6 @@
|
|
1
|
-
export { PopoverContent } from './_tsup-dts-rollup';
|
2
|
-
export { PopoverContentProps } from './_tsup-dts-rollup';
|
3
|
-
export { PopoverRoot } from './_tsup-dts-rollup';
|
4
|
-
export { PopoverRootProps } from './_tsup-dts-rollup';
|
5
|
-
export { PopoverTrigger } from './_tsup-dts-rollup';
|
6
|
-
export { PopoverTriggerProps } from './_tsup-dts-rollup';
|
1
|
+
export { PopoverContent } from './_tsup-dts-rollup.js';
|
2
|
+
export { PopoverContentProps } from './_tsup-dts-rollup.js';
|
3
|
+
export { PopoverRoot } from './_tsup-dts-rollup.js';
|
4
|
+
export { PopoverRootProps } from './_tsup-dts-rollup.js';
|
5
|
+
export { PopoverTrigger } from './_tsup-dts-rollup.js';
|
6
|
+
export { PopoverTriggerProps } from './_tsup-dts-rollup.js';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
export { ResizableHandle } from './_tsup-dts-rollup';
|
2
|
-
export { ResizableHandleProps } from './_tsup-dts-rollup';
|
3
|
-
export { ResizableRoot } from './_tsup-dts-rollup';
|
4
|
-
export { ResizableRootProps } from './_tsup-dts-rollup';
|
1
|
+
export { ResizableHandle } from './_tsup-dts-rollup.js';
|
2
|
+
export { ResizableHandleProps } from './_tsup-dts-rollup.js';
|
3
|
+
export { ResizableRoot } from './_tsup-dts-rollup.js';
|
4
|
+
export { ResizableRootProps } from './_tsup-dts-rollup.js';
|
@@ -1,14 +1,14 @@
|
|
1
|
-
export { TableHandleColumnRoot } from './_tsup-dts-rollup';
|
2
|
-
export { TableHandleColumnRootProps } from './_tsup-dts-rollup';
|
3
|
-
export { TableHandleColumnTrigger } from './_tsup-dts-rollup';
|
4
|
-
export { TableHandleColumnTriggerProps } from './_tsup-dts-rollup';
|
5
|
-
export { TableHandlePopoverContent } from './_tsup-dts-rollup';
|
6
|
-
export { TableHandlePopoverContentProps } from './_tsup-dts-rollup';
|
7
|
-
export { TableHandlePopoverItem } from './_tsup-dts-rollup';
|
8
|
-
export { TableHandlePopoverItemProps } from './_tsup-dts-rollup';
|
9
|
-
export { TableHandleRoot } from './_tsup-dts-rollup';
|
10
|
-
export { TableHandleRootProps } from './_tsup-dts-rollup';
|
11
|
-
export { TableHandleRowRoot } from './_tsup-dts-rollup';
|
12
|
-
export { TableHandleRowRootProps } from './_tsup-dts-rollup';
|
13
|
-
export { TableHandleRowTrigger } from './_tsup-dts-rollup';
|
14
|
-
export { TableHandleRowTriggerProps } from './_tsup-dts-rollup';
|
1
|
+
export { TableHandleColumnRoot } from './_tsup-dts-rollup.js';
|
2
|
+
export { TableHandleColumnRootProps } from './_tsup-dts-rollup.js';
|
3
|
+
export { TableHandleColumnTrigger } from './_tsup-dts-rollup.js';
|
4
|
+
export { TableHandleColumnTriggerProps } from './_tsup-dts-rollup.js';
|
5
|
+
export { TableHandlePopoverContent } from './_tsup-dts-rollup.js';
|
6
|
+
export { TableHandlePopoverContentProps } from './_tsup-dts-rollup.js';
|
7
|
+
export { TableHandlePopoverItem } from './_tsup-dts-rollup.js';
|
8
|
+
export { TableHandlePopoverItemProps } from './_tsup-dts-rollup.js';
|
9
|
+
export { TableHandleRoot } from './_tsup-dts-rollup.js';
|
10
|
+
export { TableHandleRootProps } from './_tsup-dts-rollup.js';
|
11
|
+
export { TableHandleRowRoot } from './_tsup-dts-rollup.js';
|
12
|
+
export { TableHandleRowRootProps } from './_tsup-dts-rollup.js';
|
13
|
+
export { TableHandleRowTrigger } from './_tsup-dts-rollup.js';
|
14
|
+
export { TableHandleRowTriggerProps } from './_tsup-dts-rollup.js';
|
@@ -1,6 +1,6 @@
|
|
1
|
-
export { TooltipContent } from './_tsup-dts-rollup';
|
2
|
-
export { TooltipContentProps } from './_tsup-dts-rollup';
|
3
|
-
export { TooltipRoot } from './_tsup-dts-rollup';
|
4
|
-
export { TooltipRootProps } from './_tsup-dts-rollup';
|
5
|
-
export { TooltipTrigger } from './_tsup-dts-rollup';
|
6
|
-
export { TooltipTriggerProps } from './_tsup-dts-rollup';
|
1
|
+
export { TooltipContent } from './_tsup-dts-rollup.js';
|
2
|
+
export { TooltipContentProps } from './_tsup-dts-rollup.js';
|
3
|
+
export { TooltipRoot } from './_tsup-dts-rollup.js';
|
4
|
+
export { TooltipRootProps } from './_tsup-dts-rollup.js';
|
5
|
+
export { TooltipTrigger } from './_tsup-dts-rollup.js';
|
6
|
+
export { TooltipTriggerProps } from './_tsup-dts-rollup.js';
|
@@ -1,10 +1,10 @@
|
|
1
|
-
export { ProseKit } from './_tsup-dts-rollup';
|
2
|
-
export { ProseKitProps } from './_tsup-dts-rollup';
|
3
|
-
export { useEditor } from './_tsup-dts-rollup';
|
4
|
-
export { useExtension } from './_tsup-dts-rollup';
|
5
|
-
export { UseExtensionOptions } from './_tsup-dts-rollup';
|
6
|
-
export { useKeymap } from './_tsup-dts-rollup';
|
7
|
-
export { useStateUpdate } from './_tsup-dts-rollup';
|
8
|
-
export { useDocChange } from './_tsup-dts-rollup';
|
9
|
-
export { PropsWithChildren } from './_tsup-dts-rollup';
|
10
|
-
export { PropsWithClass } from './_tsup-dts-rollup';
|
1
|
+
export { ProseKit } from './_tsup-dts-rollup.js';
|
2
|
+
export { ProseKitProps } from './_tsup-dts-rollup.js';
|
3
|
+
export { useEditor } from './_tsup-dts-rollup.js';
|
4
|
+
export { useExtension } from './_tsup-dts-rollup.js';
|
5
|
+
export { UseExtensionOptions } from './_tsup-dts-rollup.js';
|
6
|
+
export { useKeymap } from './_tsup-dts-rollup.js';
|
7
|
+
export { useStateUpdate } from './_tsup-dts-rollup.js';
|
8
|
+
export { useDocChange } from './_tsup-dts-rollup.js';
|
9
|
+
export { PropsWithChildren } from './_tsup-dts-rollup.js';
|
10
|
+
export { PropsWithClass } from './_tsup-dts-rollup.js';
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@prosekit/preact",
|
3
3
|
"type": "module",
|
4
|
-
"version": "0.4.
|
4
|
+
"version": "0.4.2",
|
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.
|
75
|
-
"@prosekit/
|
76
|
-
"@prosekit/
|
74
|
+
"@prosekit/core": "^0.7.12",
|
75
|
+
"@prosekit/pm": "^0.1.8",
|
76
|
+
"@prosekit/web": "^0.4.2"
|
77
77
|
},
|
78
78
|
"peerDependencies": {
|
79
79
|
"preact": ">= 10.11.0"
|
@@ -84,10 +84,10 @@
|
|
84
84
|
}
|
85
85
|
},
|
86
86
|
"devDependencies": {
|
87
|
-
"preact": "^10.24.
|
88
|
-
"tsup": "^8.3.
|
89
|
-
"typescript": "^5.6.
|
90
|
-
"vitest": "^2.1.
|
87
|
+
"preact": "^10.24.3",
|
88
|
+
"tsup": "^8.3.4",
|
89
|
+
"typescript": "^5.6.3",
|
90
|
+
"vitest": "^2.1.3",
|
91
91
|
"@prosekit/dev": "0.0.0"
|
92
92
|
},
|
93
93
|
"scripts": {
|