@react-email/editor 0.0.0-experimental.40 → 0.0.0-experimental.41
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/extensions/index.d.cts.map +1 -1
- package/dist/extensions/index.d.mts.map +1 -1
- package/dist/extensions-BvfmaKCn.mjs.map +1 -1
- package/dist/index-CxX7W63O.d.mts.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +2 -2
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{root-Gu08xybW.cjs → root-Jq1R3tkX.cjs} +6 -6
- package/dist/{root-CkYaJZpj.mjs → root-pS4l8bVZ.mjs} +7 -7
- package/dist/root-pS4l8bVZ.mjs.map +1 -0
- package/dist/ui/index.cjs +1 -1
- package/dist/ui/index.d.cts +78 -78
- package/dist/ui/index.d.cts.map +1 -1
- package/dist/ui/index.d.mts +78 -78
- package/dist/ui/index.d.mts.map +1 -1
- package/dist/ui/index.mjs +1 -1
- package/dist/ui/index.mjs.map +1 -1
- package/package.json +2 -2
- package/dist/root-CkYaJZpj.mjs.map +0 -1
package/dist/ui/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { ReactNode } from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime7 from "react/jsx-runtime";
|
|
4
4
|
import { Editor, Range } from "@tiptap/core";
|
|
5
5
|
import { EditorState, PluginKey } from "@tiptap/pm/state";
|
|
6
6
|
import { EditorView } from "@tiptap/pm/view";
|
|
@@ -16,19 +16,19 @@ interface PreWiredItemProps {
|
|
|
16
16
|
declare function BubbleMenuAlignCenter({
|
|
17
17
|
className,
|
|
18
18
|
children
|
|
19
|
-
}: PreWiredItemProps):
|
|
19
|
+
}: PreWiredItemProps): react_jsx_runtime7.JSX.Element;
|
|
20
20
|
//#endregion
|
|
21
21
|
//#region src/ui/bubble-menu/align-left.d.ts
|
|
22
22
|
declare function BubbleMenuAlignLeft({
|
|
23
23
|
className,
|
|
24
24
|
children
|
|
25
|
-
}: PreWiredItemProps):
|
|
25
|
+
}: PreWiredItemProps): react_jsx_runtime7.JSX.Element;
|
|
26
26
|
//#endregion
|
|
27
27
|
//#region src/ui/bubble-menu/align-right.d.ts
|
|
28
28
|
declare function BubbleMenuAlignRight({
|
|
29
29
|
className,
|
|
30
30
|
children
|
|
31
|
-
}: PreWiredItemProps):
|
|
31
|
+
}: PreWiredItemProps): react_jsx_runtime7.JSX.Element;
|
|
32
32
|
//#endregion
|
|
33
33
|
//#region src/ui/bubble-menu/button-default.d.ts
|
|
34
34
|
interface BubbleMenuButtonDefaultProps extends Omit<React.ComponentPropsWithoutRef<'div'>, 'children'> {
|
|
@@ -48,7 +48,7 @@ declare function BubbleMenuButtonDefault({
|
|
|
48
48
|
onLinkApply,
|
|
49
49
|
onLinkRemove,
|
|
50
50
|
...rest
|
|
51
|
-
}: BubbleMenuButtonDefaultProps):
|
|
51
|
+
}: BubbleMenuButtonDefaultProps): react_jsx_runtime7.JSX.Element;
|
|
52
52
|
//#endregion
|
|
53
53
|
//#region src/ui/bubble-menu/button-edit-link.d.ts
|
|
54
54
|
interface BubbleMenuButtonEditLinkProps extends Omit<React.ComponentProps<'button'>, 'type'> {}
|
|
@@ -58,7 +58,7 @@ declare function BubbleMenuButtonEditLink({
|
|
|
58
58
|
onClick,
|
|
59
59
|
onMouseDown,
|
|
60
60
|
...rest
|
|
61
|
-
}: BubbleMenuButtonEditLinkProps):
|
|
61
|
+
}: BubbleMenuButtonEditLinkProps): react_jsx_runtime7.JSX.Element;
|
|
62
62
|
//#endregion
|
|
63
63
|
//#region src/ui/bubble-menu/button-form.d.ts
|
|
64
64
|
interface BubbleMenuButtonFormProps {
|
|
@@ -72,14 +72,14 @@ declare function BubbleMenuButtonForm({
|
|
|
72
72
|
validateUrl,
|
|
73
73
|
onLinkApply,
|
|
74
74
|
onLinkRemove
|
|
75
|
-
}: BubbleMenuButtonFormProps):
|
|
75
|
+
}: BubbleMenuButtonFormProps): react_jsx_runtime7.JSX.Element | null;
|
|
76
76
|
//#endregion
|
|
77
77
|
//#region src/ui/bubble-menu/button-toolbar.d.ts
|
|
78
78
|
interface BubbleMenuButtonToolbarProps extends React.ComponentProps<'div'> {}
|
|
79
79
|
declare function BubbleMenuButtonToolbar({
|
|
80
80
|
children,
|
|
81
81
|
...rest
|
|
82
|
-
}: BubbleMenuButtonToolbarProps):
|
|
82
|
+
}: BubbleMenuButtonToolbarProps): react_jsx_runtime7.JSX.Element | null;
|
|
83
83
|
//#endregion
|
|
84
84
|
//#region src/ui/bubble-menu/button-unlink.d.ts
|
|
85
85
|
interface BubbleMenuButtonUnlinkProps extends Omit<React.ComponentProps<'button'>, 'type'> {
|
|
@@ -92,7 +92,7 @@ declare function BubbleMenuButtonUnlink({
|
|
|
92
92
|
onMouseDown,
|
|
93
93
|
onLinkRemove,
|
|
94
94
|
...rest
|
|
95
|
-
}: BubbleMenuButtonUnlinkProps):
|
|
95
|
+
}: BubbleMenuButtonUnlinkProps): react_jsx_runtime7.JSX.Element;
|
|
96
96
|
//#endregion
|
|
97
97
|
//#region src/ui/bubble-menu/default.d.ts
|
|
98
98
|
type ExcludableItem$2 = 'bold' | 'italic' | 'underline' | 'strike' | 'code' | 'uppercase' | 'align-left' | 'align-center' | 'align-right' | 'node-selector' | 'link-selector';
|
|
@@ -113,7 +113,7 @@ declare function BubbleMenuDefault({
|
|
|
113
113
|
onHide,
|
|
114
114
|
className,
|
|
115
115
|
...rest
|
|
116
|
-
}: BubbleMenuDefaultProps):
|
|
116
|
+
}: BubbleMenuDefaultProps): react_jsx_runtime7.JSX.Element;
|
|
117
117
|
//#endregion
|
|
118
118
|
//#region src/ui/bubble-menu/group.d.ts
|
|
119
119
|
interface BubbleMenuItemGroupProps {
|
|
@@ -123,7 +123,7 @@ interface BubbleMenuItemGroupProps {
|
|
|
123
123
|
declare function BubbleMenuItemGroup({
|
|
124
124
|
className,
|
|
125
125
|
children
|
|
126
|
-
}: BubbleMenuItemGroupProps):
|
|
126
|
+
}: BubbleMenuItemGroupProps): react_jsx_runtime7.JSX.Element;
|
|
127
127
|
//#endregion
|
|
128
128
|
//#region src/ui/bubble-menu/image-default.d.ts
|
|
129
129
|
type ExcludableItem$1 = 'edit-link';
|
|
@@ -140,7 +140,7 @@ declare function BubbleMenuImageDefault({
|
|
|
140
140
|
onHide,
|
|
141
141
|
className,
|
|
142
142
|
...rest
|
|
143
|
-
}: BubbleMenuImageDefaultProps):
|
|
143
|
+
}: BubbleMenuImageDefaultProps): react_jsx_runtime7.JSX.Element;
|
|
144
144
|
//#endregion
|
|
145
145
|
//#region src/ui/bubble-menu/image-edit-link.d.ts
|
|
146
146
|
interface BubbleMenuImageEditLinkProps extends Omit<React.ComponentProps<'button'>, 'type'> {}
|
|
@@ -150,14 +150,14 @@ declare function BubbleMenuImageEditLink({
|
|
|
150
150
|
onClick,
|
|
151
151
|
onMouseDown,
|
|
152
152
|
...rest
|
|
153
|
-
}: BubbleMenuImageEditLinkProps):
|
|
153
|
+
}: BubbleMenuImageEditLinkProps): react_jsx_runtime7.JSX.Element;
|
|
154
154
|
//#endregion
|
|
155
155
|
//#region src/ui/bubble-menu/image-toolbar.d.ts
|
|
156
156
|
interface BubbleMenuImageToolbarProps extends React.ComponentProps<'div'> {}
|
|
157
157
|
declare function BubbleMenuImageToolbar({
|
|
158
158
|
children,
|
|
159
159
|
...rest
|
|
160
|
-
}: BubbleMenuImageToolbarProps):
|
|
160
|
+
}: BubbleMenuImageToolbarProps): react_jsx_runtime7.JSX.Element | null;
|
|
161
161
|
//#endregion
|
|
162
162
|
//#region src/ui/bubble-menu/item.d.ts
|
|
163
163
|
interface BubbleMenuItemProps extends React.ComponentProps<'button'> {
|
|
@@ -175,7 +175,7 @@ declare function BubbleMenuItem({
|
|
|
175
175
|
className,
|
|
176
176
|
children,
|
|
177
177
|
...rest
|
|
178
|
-
}: BubbleMenuItemProps):
|
|
178
|
+
}: BubbleMenuItemProps): react_jsx_runtime7.JSX.Element;
|
|
179
179
|
//#endregion
|
|
180
180
|
//#region src/ui/bubble-menu/link-default.d.ts
|
|
181
181
|
type ExcludableItem = 'edit-link' | 'open-link' | 'unlink';
|
|
@@ -198,7 +198,7 @@ declare function BubbleMenuLinkDefault({
|
|
|
198
198
|
onLinkApply,
|
|
199
199
|
onLinkRemove,
|
|
200
200
|
...rest
|
|
201
|
-
}: BubbleMenuLinkDefaultProps):
|
|
201
|
+
}: BubbleMenuLinkDefaultProps): react_jsx_runtime7.JSX.Element;
|
|
202
202
|
//#endregion
|
|
203
203
|
//#region src/ui/bubble-menu/link-edit-link.d.ts
|
|
204
204
|
interface BubbleMenuLinkEditLinkProps extends Omit<React.ComponentProps<'button'>, 'type'> {}
|
|
@@ -208,7 +208,7 @@ declare function BubbleMenuLinkEditLink({
|
|
|
208
208
|
onClick,
|
|
209
209
|
onMouseDown,
|
|
210
210
|
...rest
|
|
211
|
-
}: BubbleMenuLinkEditLinkProps):
|
|
211
|
+
}: BubbleMenuLinkEditLinkProps): react_jsx_runtime7.JSX.Element;
|
|
212
212
|
//#endregion
|
|
213
213
|
//#region src/ui/bubble-menu/link-form.d.ts
|
|
214
214
|
interface BubbleMenuLinkFormProps {
|
|
@@ -224,7 +224,7 @@ declare function BubbleMenuLinkForm({
|
|
|
224
224
|
onLinkApply,
|
|
225
225
|
onLinkRemove,
|
|
226
226
|
children
|
|
227
|
-
}: BubbleMenuLinkFormProps):
|
|
227
|
+
}: BubbleMenuLinkFormProps): react_jsx_runtime7.JSX.Element | null;
|
|
228
228
|
//#endregion
|
|
229
229
|
//#region src/ui/bubble-menu/link-open-link.d.ts
|
|
230
230
|
interface BubbleMenuLinkOpenLinkProps extends Omit<React.ComponentProps<'a'>, 'href' | 'target' | 'rel'> {}
|
|
@@ -232,7 +232,7 @@ declare function BubbleMenuLinkOpenLink({
|
|
|
232
232
|
className,
|
|
233
233
|
children,
|
|
234
234
|
...rest
|
|
235
|
-
}: BubbleMenuLinkOpenLinkProps):
|
|
235
|
+
}: BubbleMenuLinkOpenLinkProps): react_jsx_runtime7.JSX.Element;
|
|
236
236
|
//#endregion
|
|
237
237
|
//#region src/ui/bubble-menu/link-selector.d.ts
|
|
238
238
|
interface BubbleMenuLinkSelectorProps {
|
|
@@ -261,14 +261,14 @@ declare function BubbleMenuLinkSelector({
|
|
|
261
261
|
children,
|
|
262
262
|
open: controlledOpen,
|
|
263
263
|
onOpenChange
|
|
264
|
-
}: BubbleMenuLinkSelectorProps):
|
|
264
|
+
}: BubbleMenuLinkSelectorProps): react_jsx_runtime7.JSX.Element | null;
|
|
265
265
|
//#endregion
|
|
266
266
|
//#region src/ui/bubble-menu/link-toolbar.d.ts
|
|
267
267
|
interface BubbleMenuLinkToolbarProps extends React.ComponentProps<'div'> {}
|
|
268
268
|
declare function BubbleMenuLinkToolbar({
|
|
269
269
|
children,
|
|
270
270
|
...rest
|
|
271
|
-
}: BubbleMenuLinkToolbarProps):
|
|
271
|
+
}: BubbleMenuLinkToolbarProps): react_jsx_runtime7.JSX.Element | null;
|
|
272
272
|
//#endregion
|
|
273
273
|
//#region src/ui/bubble-menu/link-unlink.d.ts
|
|
274
274
|
interface BubbleMenuLinkUnlinkProps extends Omit<React.ComponentProps<'button'>, 'type'> {}
|
|
@@ -278,7 +278,7 @@ declare function BubbleMenuLinkUnlink({
|
|
|
278
278
|
onClick,
|
|
279
279
|
onMouseDown,
|
|
280
280
|
...rest
|
|
281
|
-
}: BubbleMenuLinkUnlinkProps):
|
|
281
|
+
}: BubbleMenuLinkUnlinkProps): react_jsx_runtime7.JSX.Element;
|
|
282
282
|
//#endregion
|
|
283
283
|
//#region src/ui/bubble-menu/node-selector.d.ts
|
|
284
284
|
type NodeType = 'Text' | 'Title' | 'Subtitle' | 'Heading' | 'Bullet List' | 'Numbered List' | 'Quote' | 'Code';
|
|
@@ -304,7 +304,7 @@ declare function NodeSelectorRoot({
|
|
|
304
304
|
onOpenChange,
|
|
305
305
|
className,
|
|
306
306
|
children
|
|
307
|
-
}: NodeSelectorRootProps):
|
|
307
|
+
}: NodeSelectorRootProps): react_jsx_runtime7.JSX.Element | null;
|
|
308
308
|
interface NodeSelectorTriggerProps {
|
|
309
309
|
className?: string;
|
|
310
310
|
children?: React.ReactNode;
|
|
@@ -312,7 +312,7 @@ interface NodeSelectorTriggerProps {
|
|
|
312
312
|
declare function NodeSelectorTrigger({
|
|
313
313
|
className,
|
|
314
314
|
children
|
|
315
|
-
}: NodeSelectorTriggerProps):
|
|
315
|
+
}: NodeSelectorTriggerProps): react_jsx_runtime7.JSX.Element;
|
|
316
316
|
interface NodeSelectorContentProps {
|
|
317
317
|
className?: string;
|
|
318
318
|
/** Popover alignment (default: "start") */
|
|
@@ -325,7 +325,7 @@ declare function NodeSelectorContent({
|
|
|
325
325
|
className,
|
|
326
326
|
align,
|
|
327
327
|
children
|
|
328
|
-
}: NodeSelectorContentProps):
|
|
328
|
+
}: NodeSelectorContentProps): react_jsx_runtime7.JSX.Element;
|
|
329
329
|
interface BubbleMenuNodeSelectorProps {
|
|
330
330
|
/** Block types to exclude */
|
|
331
331
|
omit?: string[];
|
|
@@ -343,26 +343,26 @@ declare function BubbleMenuNodeSelector({
|
|
|
343
343
|
triggerContent,
|
|
344
344
|
open,
|
|
345
345
|
onOpenChange
|
|
346
|
-
}: BubbleMenuNodeSelectorProps):
|
|
346
|
+
}: BubbleMenuNodeSelectorProps): react_jsx_runtime7.JSX.Element;
|
|
347
347
|
//#endregion
|
|
348
348
|
//#region src/ui/bubble-menu/triggers.d.ts
|
|
349
|
-
interface
|
|
349
|
+
interface TriggerParams {
|
|
350
350
|
editor: Editor;
|
|
351
351
|
view: EditorView;
|
|
352
352
|
state: EditorState;
|
|
353
353
|
from: number;
|
|
354
354
|
to: number;
|
|
355
355
|
}
|
|
356
|
-
type
|
|
356
|
+
type TriggerFn = (params: TriggerParams) => boolean;
|
|
357
357
|
declare const bubbleMenuTriggers: {
|
|
358
|
-
textSelection(hideWhenActiveNodes?: string[], hideWhenActiveMarks?: string[]):
|
|
359
|
-
node(name: string):
|
|
360
|
-
nodeWithoutSelection(name: string):
|
|
358
|
+
textSelection(hideWhenActiveNodes?: string[], hideWhenActiveMarks?: string[]): TriggerFn;
|
|
359
|
+
node(name: string): TriggerFn;
|
|
360
|
+
nodeWithoutSelection(name: string): TriggerFn;
|
|
361
361
|
};
|
|
362
362
|
//#endregion
|
|
363
363
|
//#region src/ui/bubble-menu/root.d.ts
|
|
364
364
|
interface BubbleMenuRootProps extends Omit<React.ComponentPropsWithoutRef<'div'>, 'children'> {
|
|
365
|
-
|
|
365
|
+
trigger?: TriggerFn;
|
|
366
366
|
pluginKey?: PluginKey;
|
|
367
367
|
hideWhenActiveNodes?: string[];
|
|
368
368
|
hideWhenActiveMarks?: string[];
|
|
@@ -372,7 +372,7 @@ interface BubbleMenuRootProps extends Omit<React.ComponentPropsWithoutRef<'div'>
|
|
|
372
372
|
children: React.ReactNode;
|
|
373
373
|
}
|
|
374
374
|
declare function BubbleMenuRoot({
|
|
375
|
-
|
|
375
|
+
trigger,
|
|
376
376
|
pluginKey,
|
|
377
377
|
hideWhenActiveNodes,
|
|
378
378
|
hideWhenActiveMarks,
|
|
@@ -382,7 +382,7 @@ declare function BubbleMenuRoot({
|
|
|
382
382
|
className,
|
|
383
383
|
children,
|
|
384
384
|
...rest
|
|
385
|
-
}: BubbleMenuRootProps):
|
|
385
|
+
}: BubbleMenuRootProps): react_jsx_runtime7.JSX.Element | null;
|
|
386
386
|
//#endregion
|
|
387
387
|
//#region src/ui/bubble-menu/separator.d.ts
|
|
388
388
|
interface BubbleMenuSeparatorProps {
|
|
@@ -390,14 +390,14 @@ interface BubbleMenuSeparatorProps {
|
|
|
390
390
|
}
|
|
391
391
|
declare function BubbleMenuSeparator({
|
|
392
392
|
className
|
|
393
|
-
}: BubbleMenuSeparatorProps):
|
|
393
|
+
}: BubbleMenuSeparatorProps): react_jsx_runtime7.JSX.Element;
|
|
394
394
|
//#endregion
|
|
395
395
|
//#region src/ui/bubble-menu/bold.d.ts
|
|
396
396
|
declare const BubbleMenuBold: {
|
|
397
397
|
({
|
|
398
398
|
className,
|
|
399
399
|
children
|
|
400
|
-
}: PreWiredItemProps):
|
|
400
|
+
}: PreWiredItemProps): react_jsx_runtime7.JSX.Element;
|
|
401
401
|
displayName: string;
|
|
402
402
|
};
|
|
403
403
|
//#endregion
|
|
@@ -406,7 +406,7 @@ declare const BubbleMenuCode: {
|
|
|
406
406
|
({
|
|
407
407
|
className,
|
|
408
408
|
children
|
|
409
|
-
}: PreWiredItemProps):
|
|
409
|
+
}: PreWiredItemProps): react_jsx_runtime7.JSX.Element;
|
|
410
410
|
displayName: string;
|
|
411
411
|
};
|
|
412
412
|
//#endregion
|
|
@@ -423,7 +423,7 @@ declare const BubbleMenuItalic: {
|
|
|
423
423
|
({
|
|
424
424
|
className,
|
|
425
425
|
children
|
|
426
|
-
}: PreWiredItemProps):
|
|
426
|
+
}: PreWiredItemProps): react_jsx_runtime7.JSX.Element;
|
|
427
427
|
displayName: string;
|
|
428
428
|
};
|
|
429
429
|
//#endregion
|
|
@@ -432,7 +432,7 @@ declare const BubbleMenuStrike: {
|
|
|
432
432
|
({
|
|
433
433
|
className,
|
|
434
434
|
children
|
|
435
|
-
}: PreWiredItemProps):
|
|
435
|
+
}: PreWiredItemProps): react_jsx_runtime7.JSX.Element;
|
|
436
436
|
displayName: string;
|
|
437
437
|
};
|
|
438
438
|
//#endregion
|
|
@@ -441,7 +441,7 @@ declare const BubbleMenuUnderline: {
|
|
|
441
441
|
({
|
|
442
442
|
className,
|
|
443
443
|
children
|
|
444
|
-
}: PreWiredItemProps):
|
|
444
|
+
}: PreWiredItemProps): react_jsx_runtime7.JSX.Element;
|
|
445
445
|
displayName: string;
|
|
446
446
|
};
|
|
447
447
|
//#endregion
|
|
@@ -450,7 +450,7 @@ declare const BubbleMenuUppercase: {
|
|
|
450
450
|
({
|
|
451
451
|
className,
|
|
452
452
|
children
|
|
453
|
-
}: PreWiredItemProps):
|
|
453
|
+
}: PreWiredItemProps): react_jsx_runtime7.JSX.Element;
|
|
454
454
|
displayName: string;
|
|
455
455
|
};
|
|
456
456
|
//#endregion
|
|
@@ -464,42 +464,42 @@ declare const BubbleMenu: {
|
|
|
464
464
|
({
|
|
465
465
|
className,
|
|
466
466
|
children
|
|
467
|
-
}: PreWiredItemProps):
|
|
467
|
+
}: PreWiredItemProps): react_jsx_runtime7.JSX.Element;
|
|
468
468
|
displayName: string;
|
|
469
469
|
};
|
|
470
470
|
readonly Italic: {
|
|
471
471
|
({
|
|
472
472
|
className,
|
|
473
473
|
children
|
|
474
|
-
}: PreWiredItemProps):
|
|
474
|
+
}: PreWiredItemProps): react_jsx_runtime7.JSX.Element;
|
|
475
475
|
displayName: string;
|
|
476
476
|
};
|
|
477
477
|
readonly Underline: {
|
|
478
478
|
({
|
|
479
479
|
className,
|
|
480
480
|
children
|
|
481
|
-
}: PreWiredItemProps):
|
|
481
|
+
}: PreWiredItemProps): react_jsx_runtime7.JSX.Element;
|
|
482
482
|
displayName: string;
|
|
483
483
|
};
|
|
484
484
|
readonly Strike: {
|
|
485
485
|
({
|
|
486
486
|
className,
|
|
487
487
|
children
|
|
488
|
-
}: PreWiredItemProps):
|
|
488
|
+
}: PreWiredItemProps): react_jsx_runtime7.JSX.Element;
|
|
489
489
|
displayName: string;
|
|
490
490
|
};
|
|
491
491
|
readonly Code: {
|
|
492
492
|
({
|
|
493
493
|
className,
|
|
494
494
|
children
|
|
495
|
-
}: PreWiredItemProps):
|
|
495
|
+
}: PreWiredItemProps): react_jsx_runtime7.JSX.Element;
|
|
496
496
|
displayName: string;
|
|
497
497
|
};
|
|
498
498
|
readonly Uppercase: {
|
|
499
499
|
({
|
|
500
500
|
className,
|
|
501
501
|
children
|
|
502
|
-
}: PreWiredItemProps):
|
|
502
|
+
}: PreWiredItemProps): react_jsx_runtime7.JSX.Element;
|
|
503
503
|
displayName: string;
|
|
504
504
|
};
|
|
505
505
|
readonly AlignLeft: typeof BubbleMenuAlignLeft;
|
|
@@ -537,7 +537,7 @@ declare function AlignCenterIcon({
|
|
|
537
537
|
width,
|
|
538
538
|
height,
|
|
539
539
|
...props
|
|
540
|
-
}: IconProps$28):
|
|
540
|
+
}: IconProps$28): react_jsx_runtime7.JSX.Element;
|
|
541
541
|
//#endregion
|
|
542
542
|
//#region src/ui/icons/align-left.d.ts
|
|
543
543
|
interface IconProps$27 extends React.SVGAttributes<SVGSVGElement> {
|
|
@@ -548,7 +548,7 @@ declare function AlignLeftIcon({
|
|
|
548
548
|
width,
|
|
549
549
|
height,
|
|
550
550
|
...props
|
|
551
|
-
}: IconProps$27):
|
|
551
|
+
}: IconProps$27): react_jsx_runtime7.JSX.Element;
|
|
552
552
|
//#endregion
|
|
553
553
|
//#region src/ui/icons/align-right.d.ts
|
|
554
554
|
interface IconProps$26 extends React.SVGAttributes<SVGSVGElement> {
|
|
@@ -559,7 +559,7 @@ declare function AlignRightIcon({
|
|
|
559
559
|
width,
|
|
560
560
|
height,
|
|
561
561
|
...props
|
|
562
|
-
}: IconProps$26):
|
|
562
|
+
}: IconProps$26): react_jsx_runtime7.JSX.Element;
|
|
563
563
|
//#endregion
|
|
564
564
|
//#region src/ui/icons/bold.d.ts
|
|
565
565
|
interface IconProps$25 extends React.SVGAttributes<SVGSVGElement> {
|
|
@@ -570,7 +570,7 @@ declare function BoldIcon({
|
|
|
570
570
|
width,
|
|
571
571
|
height,
|
|
572
572
|
...props
|
|
573
|
-
}: IconProps$25):
|
|
573
|
+
}: IconProps$25): react_jsx_runtime7.JSX.Element;
|
|
574
574
|
//#endregion
|
|
575
575
|
//#region src/ui/icons/case-upper.d.ts
|
|
576
576
|
interface IconProps$24 extends React.SVGAttributes<SVGSVGElement> {
|
|
@@ -581,7 +581,7 @@ declare function CaseUpperIcon({
|
|
|
581
581
|
width,
|
|
582
582
|
height,
|
|
583
583
|
...props
|
|
584
|
-
}: IconProps$24):
|
|
584
|
+
}: IconProps$24): react_jsx_runtime7.JSX.Element;
|
|
585
585
|
//#endregion
|
|
586
586
|
//#region src/ui/icons/check.d.ts
|
|
587
587
|
interface IconProps$23 extends React.SVGAttributes<SVGSVGElement> {
|
|
@@ -592,7 +592,7 @@ declare function Check({
|
|
|
592
592
|
width,
|
|
593
593
|
height,
|
|
594
594
|
...props
|
|
595
|
-
}: IconProps$23):
|
|
595
|
+
}: IconProps$23): react_jsx_runtime7.JSX.Element;
|
|
596
596
|
//#endregion
|
|
597
597
|
//#region src/ui/icons/chevron-down.d.ts
|
|
598
598
|
interface IconProps$22 extends React.SVGAttributes<SVGSVGElement> {
|
|
@@ -603,7 +603,7 @@ declare function ChevronDown({
|
|
|
603
603
|
width,
|
|
604
604
|
height,
|
|
605
605
|
...props
|
|
606
|
-
}: IconProps$22):
|
|
606
|
+
}: IconProps$22): react_jsx_runtime7.JSX.Element;
|
|
607
607
|
//#endregion
|
|
608
608
|
//#region src/ui/icons/code.d.ts
|
|
609
609
|
interface IconProps$21 extends React.SVGAttributes<SVGSVGElement> {
|
|
@@ -614,7 +614,7 @@ declare function CodeIcon({
|
|
|
614
614
|
width,
|
|
615
615
|
height,
|
|
616
616
|
...props
|
|
617
|
-
}: IconProps$21):
|
|
617
|
+
}: IconProps$21): react_jsx_runtime7.JSX.Element;
|
|
618
618
|
declare const Code: typeof CodeIcon;
|
|
619
619
|
//#endregion
|
|
620
620
|
//#region src/ui/icons/columns-2.d.ts
|
|
@@ -626,7 +626,7 @@ declare function Columns2({
|
|
|
626
626
|
width,
|
|
627
627
|
height,
|
|
628
628
|
...props
|
|
629
|
-
}: IconProps$20):
|
|
629
|
+
}: IconProps$20): react_jsx_runtime7.JSX.Element;
|
|
630
630
|
//#endregion
|
|
631
631
|
//#region src/ui/icons/columns-3.d.ts
|
|
632
632
|
interface IconProps$19 extends React.SVGAttributes<SVGSVGElement> {
|
|
@@ -637,7 +637,7 @@ declare function Columns3({
|
|
|
637
637
|
width,
|
|
638
638
|
height,
|
|
639
639
|
...props
|
|
640
|
-
}: IconProps$19):
|
|
640
|
+
}: IconProps$19): react_jsx_runtime7.JSX.Element;
|
|
641
641
|
//#endregion
|
|
642
642
|
//#region src/ui/icons/columns-4.d.ts
|
|
643
643
|
interface IconProps$18 extends React.SVGAttributes<SVGSVGElement> {
|
|
@@ -648,7 +648,7 @@ declare function Columns4({
|
|
|
648
648
|
width,
|
|
649
649
|
height,
|
|
650
650
|
...props
|
|
651
|
-
}: IconProps$18):
|
|
651
|
+
}: IconProps$18): react_jsx_runtime7.JSX.Element;
|
|
652
652
|
//#endregion
|
|
653
653
|
//#region src/ui/icons/external-link.d.ts
|
|
654
654
|
interface IconProps$17 extends React.SVGAttributes<SVGSVGElement> {
|
|
@@ -659,7 +659,7 @@ declare function ExternalLinkIcon({
|
|
|
659
659
|
width,
|
|
660
660
|
height,
|
|
661
661
|
...props
|
|
662
|
-
}: IconProps$17):
|
|
662
|
+
}: IconProps$17): react_jsx_runtime7.JSX.Element;
|
|
663
663
|
//#endregion
|
|
664
664
|
//#region src/ui/icons/heading-1.d.ts
|
|
665
665
|
interface IconProps$16 extends React.SVGAttributes<SVGSVGElement> {
|
|
@@ -670,7 +670,7 @@ declare function Heading1({
|
|
|
670
670
|
width,
|
|
671
671
|
height,
|
|
672
672
|
...props
|
|
673
|
-
}: IconProps$16):
|
|
673
|
+
}: IconProps$16): react_jsx_runtime7.JSX.Element;
|
|
674
674
|
//#endregion
|
|
675
675
|
//#region src/ui/icons/heading-2.d.ts
|
|
676
676
|
interface IconProps$15 extends React.SVGAttributes<SVGSVGElement> {
|
|
@@ -681,7 +681,7 @@ declare function Heading2({
|
|
|
681
681
|
width,
|
|
682
682
|
height,
|
|
683
683
|
...props
|
|
684
|
-
}: IconProps$15):
|
|
684
|
+
}: IconProps$15): react_jsx_runtime7.JSX.Element;
|
|
685
685
|
//#endregion
|
|
686
686
|
//#region src/ui/icons/heading-3.d.ts
|
|
687
687
|
interface IconProps$14 extends React.SVGAttributes<SVGSVGElement> {
|
|
@@ -692,7 +692,7 @@ declare function Heading3({
|
|
|
692
692
|
width,
|
|
693
693
|
height,
|
|
694
694
|
...props
|
|
695
|
-
}: IconProps$14):
|
|
695
|
+
}: IconProps$14): react_jsx_runtime7.JSX.Element;
|
|
696
696
|
//#endregion
|
|
697
697
|
//#region src/ui/icons/italic.d.ts
|
|
698
698
|
interface IconProps$13 extends React.SVGAttributes<SVGSVGElement> {
|
|
@@ -703,7 +703,7 @@ declare function ItalicIcon({
|
|
|
703
703
|
width,
|
|
704
704
|
height,
|
|
705
705
|
...props
|
|
706
|
-
}: IconProps$13):
|
|
706
|
+
}: IconProps$13): react_jsx_runtime7.JSX.Element;
|
|
707
707
|
//#endregion
|
|
708
708
|
//#region src/ui/icons/link.d.ts
|
|
709
709
|
interface IconProps$12 extends React.SVGAttributes<SVGSVGElement> {
|
|
@@ -714,7 +714,7 @@ declare function LinkIcon({
|
|
|
714
714
|
width,
|
|
715
715
|
height,
|
|
716
716
|
...props
|
|
717
|
-
}: IconProps$12):
|
|
717
|
+
}: IconProps$12): react_jsx_runtime7.JSX.Element;
|
|
718
718
|
//#endregion
|
|
719
719
|
//#region src/ui/icons/list.d.ts
|
|
720
720
|
interface IconProps$11 extends React.SVGAttributes<SVGSVGElement> {
|
|
@@ -725,7 +725,7 @@ declare function List({
|
|
|
725
725
|
width,
|
|
726
726
|
height,
|
|
727
727
|
...props
|
|
728
|
-
}: IconProps$11):
|
|
728
|
+
}: IconProps$11): react_jsx_runtime7.JSX.Element;
|
|
729
729
|
//#endregion
|
|
730
730
|
//#region src/ui/icons/list-ordered.d.ts
|
|
731
731
|
interface IconProps$10 extends React.SVGAttributes<SVGSVGElement> {
|
|
@@ -736,7 +736,7 @@ declare function ListOrdered({
|
|
|
736
736
|
width,
|
|
737
737
|
height,
|
|
738
738
|
...props
|
|
739
|
-
}: IconProps$10):
|
|
739
|
+
}: IconProps$10): react_jsx_runtime7.JSX.Element;
|
|
740
740
|
//#endregion
|
|
741
741
|
//#region src/ui/icons/mouse-pointer.d.ts
|
|
742
742
|
interface IconProps$9 extends React.SVGAttributes<SVGSVGElement> {
|
|
@@ -747,7 +747,7 @@ declare function MousePointer({
|
|
|
747
747
|
width,
|
|
748
748
|
height,
|
|
749
749
|
...props
|
|
750
|
-
}: IconProps$9):
|
|
750
|
+
}: IconProps$9): react_jsx_runtime7.JSX.Element;
|
|
751
751
|
//#endregion
|
|
752
752
|
//#region src/ui/icons/pencil.d.ts
|
|
753
753
|
interface IconProps$8 extends React.SVGAttributes<SVGSVGElement> {
|
|
@@ -758,7 +758,7 @@ declare function PencilIcon({
|
|
|
758
758
|
width,
|
|
759
759
|
height,
|
|
760
760
|
...props
|
|
761
|
-
}: IconProps$8):
|
|
761
|
+
}: IconProps$8): react_jsx_runtime7.JSX.Element;
|
|
762
762
|
//#endregion
|
|
763
763
|
//#region src/ui/icons/rows-2.d.ts
|
|
764
764
|
interface IconProps$7 extends React.SVGAttributes<SVGSVGElement> {
|
|
@@ -769,7 +769,7 @@ declare function Rows2({
|
|
|
769
769
|
width,
|
|
770
770
|
height,
|
|
771
771
|
...props
|
|
772
|
-
}: IconProps$7):
|
|
772
|
+
}: IconProps$7): react_jsx_runtime7.JSX.Element;
|
|
773
773
|
//#endregion
|
|
774
774
|
//#region src/ui/icons/split-square-vertical.d.ts
|
|
775
775
|
interface IconProps$6 extends React.SVGAttributes<SVGSVGElement> {
|
|
@@ -780,7 +780,7 @@ declare function SplitSquareVertical({
|
|
|
780
780
|
width,
|
|
781
781
|
height,
|
|
782
782
|
...props
|
|
783
|
-
}: IconProps$6):
|
|
783
|
+
}: IconProps$6): react_jsx_runtime7.JSX.Element;
|
|
784
784
|
//#endregion
|
|
785
785
|
//#region src/ui/icons/square-code.d.ts
|
|
786
786
|
interface IconProps$5 extends React.SVGAttributes<SVGSVGElement> {
|
|
@@ -791,7 +791,7 @@ declare function SquareCode({
|
|
|
791
791
|
width,
|
|
792
792
|
height,
|
|
793
793
|
...props
|
|
794
|
-
}: IconProps$5):
|
|
794
|
+
}: IconProps$5): react_jsx_runtime7.JSX.Element;
|
|
795
795
|
//#endregion
|
|
796
796
|
//#region src/ui/icons/strikethrough.d.ts
|
|
797
797
|
interface IconProps$4 extends React.SVGAttributes<SVGSVGElement> {
|
|
@@ -802,7 +802,7 @@ declare function StrikethroughIcon({
|
|
|
802
802
|
width,
|
|
803
803
|
height,
|
|
804
804
|
...props
|
|
805
|
-
}: IconProps$4):
|
|
805
|
+
}: IconProps$4): react_jsx_runtime7.JSX.Element;
|
|
806
806
|
//#endregion
|
|
807
807
|
//#region src/ui/icons/text.d.ts
|
|
808
808
|
interface IconProps$3 extends React.SVGAttributes<SVGSVGElement> {
|
|
@@ -813,7 +813,7 @@ declare function TextIcon({
|
|
|
813
813
|
width,
|
|
814
814
|
height,
|
|
815
815
|
...props
|
|
816
|
-
}: IconProps$3):
|
|
816
|
+
}: IconProps$3): react_jsx_runtime7.JSX.Element;
|
|
817
817
|
declare const Text: typeof TextIcon;
|
|
818
818
|
//#endregion
|
|
819
819
|
//#region src/ui/icons/text-quote.d.ts
|
|
@@ -825,7 +825,7 @@ declare function TextQuote({
|
|
|
825
825
|
width,
|
|
826
826
|
height,
|
|
827
827
|
...props
|
|
828
|
-
}: IconProps$2):
|
|
828
|
+
}: IconProps$2): react_jsx_runtime7.JSX.Element;
|
|
829
829
|
//#endregion
|
|
830
830
|
//#region src/ui/icons/underline.d.ts
|
|
831
831
|
interface IconProps$1 extends React.SVGAttributes<SVGSVGElement> {
|
|
@@ -836,7 +836,7 @@ declare function UnderlineIcon({
|
|
|
836
836
|
width,
|
|
837
837
|
height,
|
|
838
838
|
...props
|
|
839
|
-
}: IconProps$1):
|
|
839
|
+
}: IconProps$1): react_jsx_runtime7.JSX.Element;
|
|
840
840
|
//#endregion
|
|
841
841
|
//#region src/ui/icons/unlink.d.ts
|
|
842
842
|
interface IconProps extends React.SVGAttributes<SVGSVGElement> {
|
|
@@ -847,7 +847,7 @@ declare function UnlinkIcon({
|
|
|
847
847
|
width,
|
|
848
848
|
height,
|
|
849
849
|
...props
|
|
850
|
-
}: IconProps):
|
|
850
|
+
}: IconProps): react_jsx_runtime7.JSX.Element;
|
|
851
851
|
//#endregion
|
|
852
852
|
//#region src/ui/slash-command/types.d.ts
|
|
853
853
|
type SlashCommandCategory = string;
|
|
@@ -893,7 +893,7 @@ declare function CommandList({
|
|
|
893
893
|
query,
|
|
894
894
|
selectedIndex,
|
|
895
895
|
onSelect
|
|
896
|
-
}: CommandListProps):
|
|
896
|
+
}: CommandListProps): react_jsx_runtime7.JSX.Element;
|
|
897
897
|
//#endregion
|
|
898
898
|
//#region src/ui/slash-command/root.d.ts
|
|
899
899
|
declare function SlashCommandRoot({
|
|
@@ -935,5 +935,5 @@ declare const SlashCommand: {
|
|
|
935
935
|
readonly CommandList: typeof CommandList;
|
|
936
936
|
};
|
|
937
937
|
//#endregion
|
|
938
|
-
export { AlignCenterIcon, AlignLeftIcon, AlignRightIcon, BULLET_LIST, BUTTON, BoldIcon, BubbleMenu, BubbleMenuAlignCenter, BubbleMenuAlignLeft, BubbleMenuAlignRight, BubbleMenuBold, BubbleMenuButtonDefault, type BubbleMenuButtonDefaultProps, BubbleMenuButtonEditLink, type BubbleMenuButtonEditLinkProps, BubbleMenuButtonForm, type BubbleMenuButtonFormProps, BubbleMenuButtonToolbar, type BubbleMenuButtonToolbarProps, BubbleMenuButtonUnlink, type BubbleMenuButtonUnlinkProps, BubbleMenuCode, type BubbleMenuContextValue, BubbleMenuDefault, type BubbleMenuDefaultProps, BubbleMenuImageDefault, type BubbleMenuImageDefaultProps, BubbleMenuImageEditLink, type BubbleMenuImageEditLinkProps, BubbleMenuImageToolbar, type BubbleMenuImageToolbarProps, BubbleMenuItalic, BubbleMenuItem, BubbleMenuItemGroup, type BubbleMenuItemGroupProps, type BubbleMenuItemProps, BubbleMenuLinkDefault, type BubbleMenuLinkDefaultProps, BubbleMenuLinkEditLink, type BubbleMenuLinkEditLinkProps, BubbleMenuLinkForm, type BubbleMenuLinkFormProps, BubbleMenuLinkOpenLink, type BubbleMenuLinkOpenLinkProps, BubbleMenuLinkSelector, type BubbleMenuLinkSelectorProps, BubbleMenuLinkToolbar, type BubbleMenuLinkToolbarProps, BubbleMenuLinkUnlink, type BubbleMenuLinkUnlinkProps, BubbleMenuNodeSelector, type BubbleMenuNodeSelectorProps, BubbleMenuRoot, type BubbleMenuRootProps, BubbleMenuSeparator, type BubbleMenuSeparatorProps, BubbleMenuStrike, BubbleMenuUnderline, BubbleMenuUppercase, CODE, CaseUpperIcon, Check, ChevronDown, Code, CodeIcon, Columns2, Columns3, Columns4, CommandList, type CommandListProps, DIVIDER, ExternalLinkIcon, FOUR_COLUMNS, H1, H2, H3, Heading1, Heading2, Heading3, ItalicIcon, LinkIcon, List, ListOrdered, MousePointer, NUMBERED_LIST, NodeSelectorContent, type NodeSelectorContentProps, type NodeSelectorItem, NodeSelectorRoot, type NodeSelectorRootProps, NodeSelectorTrigger, type NodeSelectorTriggerProps, type NodeType, PencilIcon, type PreWiredItemProps, QUOTE, Rows2, SECTION, type SearchableItem,
|
|
938
|
+
export { AlignCenterIcon, AlignLeftIcon, AlignRightIcon, BULLET_LIST, BUTTON, BoldIcon, BubbleMenu, BubbleMenuAlignCenter, BubbleMenuAlignLeft, BubbleMenuAlignRight, BubbleMenuBold, BubbleMenuButtonDefault, type BubbleMenuButtonDefaultProps, BubbleMenuButtonEditLink, type BubbleMenuButtonEditLinkProps, BubbleMenuButtonForm, type BubbleMenuButtonFormProps, BubbleMenuButtonToolbar, type BubbleMenuButtonToolbarProps, BubbleMenuButtonUnlink, type BubbleMenuButtonUnlinkProps, BubbleMenuCode, type BubbleMenuContextValue, BubbleMenuDefault, type BubbleMenuDefaultProps, BubbleMenuImageDefault, type BubbleMenuImageDefaultProps, BubbleMenuImageEditLink, type BubbleMenuImageEditLinkProps, BubbleMenuImageToolbar, type BubbleMenuImageToolbarProps, BubbleMenuItalic, BubbleMenuItem, BubbleMenuItemGroup, type BubbleMenuItemGroupProps, type BubbleMenuItemProps, BubbleMenuLinkDefault, type BubbleMenuLinkDefaultProps, BubbleMenuLinkEditLink, type BubbleMenuLinkEditLinkProps, BubbleMenuLinkForm, type BubbleMenuLinkFormProps, BubbleMenuLinkOpenLink, type BubbleMenuLinkOpenLinkProps, BubbleMenuLinkSelector, type BubbleMenuLinkSelectorProps, BubbleMenuLinkToolbar, type BubbleMenuLinkToolbarProps, BubbleMenuLinkUnlink, type BubbleMenuLinkUnlinkProps, BubbleMenuNodeSelector, type BubbleMenuNodeSelectorProps, BubbleMenuRoot, type BubbleMenuRootProps, BubbleMenuSeparator, type BubbleMenuSeparatorProps, BubbleMenuStrike, BubbleMenuUnderline, BubbleMenuUppercase, CODE, CaseUpperIcon, Check, ChevronDown, Code, CodeIcon, Columns2, Columns3, Columns4, CommandList, type CommandListProps, DIVIDER, ExternalLinkIcon, FOUR_COLUMNS, H1, H2, H3, Heading1, Heading2, Heading3, ItalicIcon, LinkIcon, List, ListOrdered, MousePointer, NUMBERED_LIST, NodeSelectorContent, type NodeSelectorContentProps, type NodeSelectorItem, NodeSelectorRoot, type NodeSelectorRootProps, NodeSelectorTrigger, type NodeSelectorTriggerProps, type NodeType, PencilIcon, type PreWiredItemProps, QUOTE, Rows2, SECTION, type SearchableItem, SlashCommand, type SlashCommandItem, type SlashCommandProps, type SlashCommandRenderProps, type SlashCommandRootProps, SplitSquareVertical, SquareCode, StrikethroughIcon, TEXT, THREE_COLUMNS, TWO_COLUMNS, Text, TextIcon, TextQuote, type TriggerFn, type TriggerParams, UnderlineIcon, UnlinkIcon, bubbleMenuTriggers, defaultSlashCommands, filterAndRankItems, isAtMaxColumnsDepth, isInsideNode, scoreItem, useBubbleMenuContext };
|
|
939
939
|
//# sourceMappingURL=index.d.mts.map
|