@react-email/editor 0.0.0-experimental.22 → 0.0.0-experimental.25

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.
Files changed (44) hide show
  1. package/dist/columns-CUxUEHje.mjs +497 -0
  2. package/dist/columns-CUxUEHje.mjs.map +1 -0
  3. package/dist/columns-ZSaLdkg9.cjs +630 -0
  4. package/dist/core/index.cjs +8 -0
  5. package/dist/core/index.d.cts +2 -0
  6. package/dist/core/index.d.mts +2 -0
  7. package/dist/core/index.mjs +4 -0
  8. package/dist/core-C5_RDJBI.mjs +1982 -0
  9. package/dist/core-C5_RDJBI.mjs.map +1 -0
  10. package/dist/core-Rxnpk8B_.cjs +2239 -0
  11. package/dist/extensions/index.cjs +47 -0
  12. package/dist/extensions/index.d.cts +394 -0
  13. package/dist/extensions/index.d.cts.map +1 -0
  14. package/dist/extensions/index.d.mts +394 -0
  15. package/dist/extensions/index.d.mts.map +1 -0
  16. package/dist/extensions/index.mjs +4 -0
  17. package/dist/index-CfslA7KT.d.cts +130 -0
  18. package/dist/index-CfslA7KT.d.cts.map +1 -0
  19. package/dist/index-hbHRR7oB.d.mts +130 -0
  20. package/dist/index-hbHRR7oB.d.mts.map +1 -0
  21. package/dist/set-text-alignment-Bx3bPteH.cjs +24 -0
  22. package/dist/set-text-alignment-DZvgnbvz.mjs +19 -0
  23. package/dist/set-text-alignment-DZvgnbvz.mjs.map +1 -0
  24. package/dist/ui/index.cjs +1646 -0
  25. package/dist/ui/index.d.cts +668 -0
  26. package/dist/ui/index.d.cts.map +1 -0
  27. package/dist/ui/index.d.mts +668 -0
  28. package/dist/ui/index.d.mts.map +1 -0
  29. package/dist/ui/index.mjs +1584 -0
  30. package/dist/ui/index.mjs.map +1 -0
  31. package/dist/utils/index.cjs +3 -0
  32. package/dist/utils/index.d.cts +7 -0
  33. package/dist/utils/index.d.cts.map +1 -0
  34. package/dist/utils/index.d.mts +7 -0
  35. package/dist/utils/index.d.mts.map +1 -0
  36. package/dist/utils/index.mjs +3 -0
  37. package/package.json +39 -11
  38. package/dist/index.cjs +0 -4228
  39. package/dist/index.d.cts +0 -1175
  40. package/dist/index.d.cts.map +0 -1
  41. package/dist/index.d.mts +0 -1175
  42. package/dist/index.d.mts.map +0 -1
  43. package/dist/index.mjs +0 -4072
  44. package/dist/index.mjs.map +0 -1
@@ -0,0 +1,668 @@
1
+ import * as react_jsx_runtime5 from "react/jsx-runtime";
2
+ import { Editor, Range } from "@tiptap/core";
3
+ import * as React from "react";
4
+ import { ReactNode } from "react";
5
+
6
+ //#region src/ui/bubble-menu/create-mark-bubble-item.d.ts
7
+ interface PreWiredItemProps {
8
+ className?: string;
9
+ /** Override the default icon */
10
+ children?: React.ReactNode;
11
+ }
12
+ //#endregion
13
+ //#region src/ui/bubble-menu/align-center.d.ts
14
+ declare function BubbleMenuAlignCenter({
15
+ className,
16
+ children
17
+ }: PreWiredItemProps): react_jsx_runtime5.JSX.Element;
18
+ //#endregion
19
+ //#region src/ui/bubble-menu/align-left.d.ts
20
+ declare function BubbleMenuAlignLeft({
21
+ className,
22
+ children
23
+ }: PreWiredItemProps): react_jsx_runtime5.JSX.Element;
24
+ //#endregion
25
+ //#region src/ui/bubble-menu/align-right.d.ts
26
+ declare function BubbleMenuAlignRight({
27
+ className,
28
+ children
29
+ }: PreWiredItemProps): react_jsx_runtime5.JSX.Element;
30
+ //#endregion
31
+ //#region src/ui/bubble-menu/default.d.ts
32
+ type ExcludableItem$3 = 'bold' | 'italic' | 'underline' | 'strike' | 'code' | 'uppercase' | 'align-left' | 'align-center' | 'align-right' | 'node-selector' | 'link-selector';
33
+ interface BubbleMenuDefaultProps {
34
+ /** Items to exclude from the default layout */
35
+ excludeItems?: ExcludableItem$3[];
36
+ /** Node types that should NOT trigger the bubble menu (forwarded to Root) */
37
+ excludeNodes?: string[];
38
+ /** Placement relative to selection (forwarded to Root, default: 'bottom') */
39
+ placement?: 'top' | 'bottom';
40
+ /** Offset from selection in px (forwarded to Root, default: 8) */
41
+ offset?: number;
42
+ /** Called when the bubble menu hides (forwarded to Root) */
43
+ onHide?: () => void;
44
+ /** className applied to the Root wrapper */
45
+ className?: string;
46
+ }
47
+ declare function BubbleMenuDefault({
48
+ excludeItems,
49
+ excludeNodes,
50
+ placement,
51
+ offset,
52
+ onHide,
53
+ className
54
+ }: BubbleMenuDefaultProps): react_jsx_runtime5.JSX.Element;
55
+ //#endregion
56
+ //#region src/ui/bubble-menu/group.d.ts
57
+ interface BubbleMenuItemGroupProps {
58
+ className?: string;
59
+ children: React.ReactNode;
60
+ }
61
+ declare function BubbleMenuItemGroup({
62
+ className,
63
+ children
64
+ }: BubbleMenuItemGroupProps): react_jsx_runtime5.JSX.Element;
65
+ //#endregion
66
+ //#region src/ui/bubble-menu/item.d.ts
67
+ interface BubbleMenuItemProps extends React.ComponentProps<'button'> {
68
+ /** Used for aria-label and data-item attribute */
69
+ name: string;
70
+ /** Whether this item is currently active */
71
+ isActive: boolean;
72
+ /** Called when clicked */
73
+ onCommand: () => void;
74
+ }
75
+ declare function BubbleMenuItem({
76
+ name,
77
+ isActive,
78
+ onCommand,
79
+ className,
80
+ children,
81
+ ...rest
82
+ }: BubbleMenuItemProps): react_jsx_runtime5.JSX.Element;
83
+ //#endregion
84
+ //#region src/ui/bubble-menu/link-selector.d.ts
85
+ interface BubbleMenuLinkSelectorProps {
86
+ className?: string;
87
+ /** Whether to show the link icon toggle button (default: true) */
88
+ showToggle?: boolean;
89
+ /** Custom URL validator. Return the valid URL string or null. */
90
+ validateUrl?: (value: string) => string | null;
91
+ /** Called after link is applied */
92
+ onLinkApply?: (href: string) => void;
93
+ /** Called after link is removed */
94
+ onLinkRemove?: () => void;
95
+ /** Plugin slot: extra actions rendered inside the link input form */
96
+ children?: React.ReactNode;
97
+ /** Controlled open state */
98
+ open?: boolean;
99
+ /** Called when open state changes */
100
+ onOpenChange?: (open: boolean) => void;
101
+ }
102
+ declare function BubbleMenuLinkSelector({
103
+ className,
104
+ showToggle,
105
+ validateUrl,
106
+ onLinkApply,
107
+ onLinkRemove,
108
+ children,
109
+ open: controlledOpen,
110
+ onOpenChange
111
+ }: BubbleMenuLinkSelectorProps): react_jsx_runtime5.JSX.Element | null;
112
+ //#endregion
113
+ //#region src/ui/bubble-menu/node-selector.d.ts
114
+ type NodeType = 'Text' | 'Title' | 'Subtitle' | 'Heading' | 'Bullet List' | 'Numbered List' | 'Quote' | 'Code';
115
+ interface NodeSelectorItem {
116
+ name: NodeType;
117
+ icon: React.ComponentType<React.SVGAttributes<SVGSVGElement>>;
118
+ command: () => void;
119
+ isActive: boolean;
120
+ }
121
+ interface NodeSelectorRootProps {
122
+ /** Block types to exclude */
123
+ omit?: string[];
124
+ /** Controlled open state */
125
+ open?: boolean;
126
+ /** Called when open state changes */
127
+ onOpenChange?: (open: boolean) => void;
128
+ className?: string;
129
+ children: React.ReactNode;
130
+ }
131
+ declare function NodeSelectorRoot({
132
+ omit,
133
+ open: controlledOpen,
134
+ onOpenChange,
135
+ className,
136
+ children
137
+ }: NodeSelectorRootProps): react_jsx_runtime5.JSX.Element | null;
138
+ interface NodeSelectorTriggerProps {
139
+ className?: string;
140
+ children?: React.ReactNode;
141
+ }
142
+ declare function NodeSelectorTrigger({
143
+ className,
144
+ children
145
+ }: NodeSelectorTriggerProps): react_jsx_runtime5.JSX.Element;
146
+ interface NodeSelectorContentProps {
147
+ className?: string;
148
+ /** Popover alignment (default: "start") */
149
+ align?: 'start' | 'center' | 'end';
150
+ /** Render-prop for full control over item rendering.
151
+ * Receives the filtered items and a `close` function to dismiss the popover. */
152
+ children?: (items: NodeSelectorItem[], close: () => void) => React.ReactNode;
153
+ }
154
+ declare function NodeSelectorContent({
155
+ className,
156
+ align,
157
+ children
158
+ }: NodeSelectorContentProps): react_jsx_runtime5.JSX.Element;
159
+ interface BubbleMenuNodeSelectorProps {
160
+ /** Block types to exclude */
161
+ omit?: string[];
162
+ className?: string;
163
+ /** Override the trigger content (default: active item name + chevron icon) */
164
+ triggerContent?: React.ReactNode;
165
+ /** Controlled open state */
166
+ open?: boolean;
167
+ /** Called when open state changes */
168
+ onOpenChange?: (open: boolean) => void;
169
+ }
170
+ declare function BubbleMenuNodeSelector({
171
+ omit,
172
+ className,
173
+ triggerContent,
174
+ open,
175
+ onOpenChange
176
+ }: BubbleMenuNodeSelectorProps): react_jsx_runtime5.JSX.Element;
177
+ //#endregion
178
+ //#region src/ui/bubble-menu/root.d.ts
179
+ interface BubbleMenuRootProps {
180
+ /** Node types that should NOT trigger the bubble menu */
181
+ excludeNodes?: string[];
182
+ /** Placement relative to selection */
183
+ placement?: 'top' | 'bottom';
184
+ /** Offset from selection in px */
185
+ offset?: number;
186
+ /** Called when the bubble menu is hidden (e.g., click outside, selection cleared) */
187
+ onHide?: () => void;
188
+ /** Additional className on the outer wrapper */
189
+ className?: string;
190
+ children: React.ReactNode;
191
+ }
192
+ declare function BubbleMenuRoot({
193
+ excludeNodes,
194
+ placement,
195
+ offset,
196
+ onHide,
197
+ className,
198
+ children
199
+ }: BubbleMenuRootProps): react_jsx_runtime5.JSX.Element | null;
200
+ //#endregion
201
+ //#region src/ui/bubble-menu/separator.d.ts
202
+ interface BubbleMenuSeparatorProps {
203
+ className?: string;
204
+ }
205
+ declare function BubbleMenuSeparator({
206
+ className
207
+ }: BubbleMenuSeparatorProps): react_jsx_runtime5.JSX.Element;
208
+ //#endregion
209
+ //#region src/ui/bubble-menu/bold.d.ts
210
+ declare const BubbleMenuBold: {
211
+ ({
212
+ className,
213
+ children
214
+ }: PreWiredItemProps): react_jsx_runtime5.JSX.Element;
215
+ displayName: string;
216
+ };
217
+ //#endregion
218
+ //#region src/ui/bubble-menu/code.d.ts
219
+ declare const BubbleMenuCode: {
220
+ ({
221
+ className,
222
+ children
223
+ }: PreWiredItemProps): react_jsx_runtime5.JSX.Element;
224
+ displayName: string;
225
+ };
226
+ //#endregion
227
+ //#region src/ui/bubble-menu/italic.d.ts
228
+ declare const BubbleMenuItalic: {
229
+ ({
230
+ className,
231
+ children
232
+ }: PreWiredItemProps): react_jsx_runtime5.JSX.Element;
233
+ displayName: string;
234
+ };
235
+ //#endregion
236
+ //#region src/ui/bubble-menu/strike.d.ts
237
+ declare const BubbleMenuStrike: {
238
+ ({
239
+ className,
240
+ children
241
+ }: PreWiredItemProps): react_jsx_runtime5.JSX.Element;
242
+ displayName: string;
243
+ };
244
+ //#endregion
245
+ //#region src/ui/bubble-menu/underline.d.ts
246
+ declare const BubbleMenuUnderline: {
247
+ ({
248
+ className,
249
+ children
250
+ }: PreWiredItemProps): react_jsx_runtime5.JSX.Element;
251
+ displayName: string;
252
+ };
253
+ //#endregion
254
+ //#region src/ui/bubble-menu/uppercase.d.ts
255
+ declare const BubbleMenuUppercase: {
256
+ ({
257
+ className,
258
+ children
259
+ }: PreWiredItemProps): react_jsx_runtime5.JSX.Element;
260
+ displayName: string;
261
+ };
262
+ //#endregion
263
+ //#region src/ui/bubble-menu/index.d.ts
264
+ declare const BubbleMenu: {
265
+ readonly Root: typeof BubbleMenuRoot;
266
+ readonly ItemGroup: typeof BubbleMenuItemGroup;
267
+ readonly Separator: typeof BubbleMenuSeparator;
268
+ readonly Item: typeof BubbleMenuItem;
269
+ readonly Bold: {
270
+ ({
271
+ className,
272
+ children
273
+ }: PreWiredItemProps): react_jsx_runtime5.JSX.Element;
274
+ displayName: string;
275
+ };
276
+ readonly Italic: {
277
+ ({
278
+ className,
279
+ children
280
+ }: PreWiredItemProps): react_jsx_runtime5.JSX.Element;
281
+ displayName: string;
282
+ };
283
+ readonly Underline: {
284
+ ({
285
+ className,
286
+ children
287
+ }: PreWiredItemProps): react_jsx_runtime5.JSX.Element;
288
+ displayName: string;
289
+ };
290
+ readonly Strike: {
291
+ ({
292
+ className,
293
+ children
294
+ }: PreWiredItemProps): react_jsx_runtime5.JSX.Element;
295
+ displayName: string;
296
+ };
297
+ readonly Code: {
298
+ ({
299
+ className,
300
+ children
301
+ }: PreWiredItemProps): react_jsx_runtime5.JSX.Element;
302
+ displayName: string;
303
+ };
304
+ readonly Uppercase: {
305
+ ({
306
+ className,
307
+ children
308
+ }: PreWiredItemProps): react_jsx_runtime5.JSX.Element;
309
+ displayName: string;
310
+ };
311
+ readonly AlignLeft: typeof BubbleMenuAlignLeft;
312
+ readonly AlignCenter: typeof BubbleMenuAlignCenter;
313
+ readonly AlignRight: typeof BubbleMenuAlignRight;
314
+ readonly NodeSelector: typeof BubbleMenuNodeSelector & {
315
+ Root: typeof NodeSelectorRoot;
316
+ Trigger: typeof NodeSelectorTrigger;
317
+ Content: typeof NodeSelectorContent;
318
+ };
319
+ readonly LinkSelector: typeof BubbleMenuLinkSelector;
320
+ readonly Default: typeof BubbleMenuDefault;
321
+ };
322
+ //#endregion
323
+ //#region src/ui/button-bubble-menu/default.d.ts
324
+ type ExcludableItem$2 = 'edit-link';
325
+ interface ButtonBubbleMenuDefaultProps {
326
+ excludeItems?: ExcludableItem$2[];
327
+ placement?: 'top' | 'bottom';
328
+ offset?: number;
329
+ onHide?: () => void;
330
+ className?: string;
331
+ }
332
+ declare function ButtonBubbleMenuDefault({
333
+ excludeItems,
334
+ placement,
335
+ offset,
336
+ onHide,
337
+ className
338
+ }: ButtonBubbleMenuDefaultProps): react_jsx_runtime5.JSX.Element;
339
+ //#endregion
340
+ //#region src/ui/button-bubble-menu/edit-link.d.ts
341
+ interface ButtonBubbleMenuEditLinkProps extends Omit<React.ComponentProps<'button'>, 'type'> {}
342
+ declare function ButtonBubbleMenuEditLink({
343
+ className,
344
+ children,
345
+ onClick,
346
+ onMouseDown,
347
+ ...rest
348
+ }: ButtonBubbleMenuEditLinkProps): react_jsx_runtime5.JSX.Element;
349
+ //#endregion
350
+ //#region src/ui/button-bubble-menu/root.d.ts
351
+ interface ButtonBubbleMenuRootProps {
352
+ /** Called when the bubble menu hides */
353
+ onHide?: () => void;
354
+ /** Placement relative to cursor (default: 'top') */
355
+ placement?: 'top' | 'bottom';
356
+ /** Offset from cursor in px (default: 8) */
357
+ offset?: number;
358
+ /** className on the outer wrapper */
359
+ className?: string;
360
+ children: React.ReactNode;
361
+ }
362
+ declare function ButtonBubbleMenuRoot({
363
+ onHide,
364
+ placement,
365
+ offset,
366
+ className,
367
+ children
368
+ }: ButtonBubbleMenuRootProps): react_jsx_runtime5.JSX.Element | null;
369
+ //#endregion
370
+ //#region src/ui/button-bubble-menu/toolbar.d.ts
371
+ interface ButtonBubbleMenuToolbarProps extends React.ComponentProps<'div'> {}
372
+ declare function ButtonBubbleMenuToolbar({
373
+ children,
374
+ ...rest
375
+ }: ButtonBubbleMenuToolbarProps): react_jsx_runtime5.JSX.Element | null;
376
+ //#endregion
377
+ //#region src/ui/button-bubble-menu/context.d.ts
378
+ interface ButtonBubbleMenuContextValue {
379
+ editor: Editor;
380
+ isEditing: boolean;
381
+ setIsEditing: (value: boolean) => void;
382
+ }
383
+ declare function useButtonBubbleMenuContext(): ButtonBubbleMenuContextValue;
384
+ //#endregion
385
+ //#region src/ui/button-bubble-menu/index.d.ts
386
+ declare const ButtonBubbleMenu: {
387
+ readonly Root: typeof ButtonBubbleMenuRoot;
388
+ readonly Toolbar: typeof ButtonBubbleMenuToolbar;
389
+ readonly EditLink: typeof ButtonBubbleMenuEditLink;
390
+ readonly Default: typeof ButtonBubbleMenuDefault;
391
+ };
392
+ //#endregion
393
+ //#region src/ui/image-bubble-menu/default.d.ts
394
+ type ExcludableItem$1 = 'edit-link';
395
+ interface ImageBubbleMenuDefaultProps {
396
+ excludeItems?: ExcludableItem$1[];
397
+ placement?: 'top' | 'bottom';
398
+ offset?: number;
399
+ onHide?: () => void;
400
+ className?: string;
401
+ }
402
+ declare function ImageBubbleMenuDefault({
403
+ excludeItems,
404
+ placement,
405
+ offset,
406
+ onHide,
407
+ className
408
+ }: ImageBubbleMenuDefaultProps): react_jsx_runtime5.JSX.Element;
409
+ //#endregion
410
+ //#region src/ui/image-bubble-menu/edit-link.d.ts
411
+ interface ImageBubbleMenuEditLinkProps extends Omit<React.ComponentProps<'button'>, 'type'> {}
412
+ declare function ImageBubbleMenuEditLink({
413
+ className,
414
+ children,
415
+ onClick,
416
+ onMouseDown,
417
+ ...rest
418
+ }: ImageBubbleMenuEditLinkProps): react_jsx_runtime5.JSX.Element;
419
+ //#endregion
420
+ //#region src/ui/image-bubble-menu/root.d.ts
421
+ interface ImageBubbleMenuRootProps {
422
+ /** Called when the bubble menu hides */
423
+ onHide?: () => void;
424
+ /** Placement relative to cursor (default: 'top') */
425
+ placement?: 'top' | 'bottom';
426
+ /** Offset from cursor in px (default: 8) */
427
+ offset?: number;
428
+ /** className on the outer wrapper */
429
+ className?: string;
430
+ children: React.ReactNode;
431
+ }
432
+ declare function ImageBubbleMenuRoot({
433
+ onHide,
434
+ placement,
435
+ offset,
436
+ className,
437
+ children
438
+ }: ImageBubbleMenuRootProps): react_jsx_runtime5.JSX.Element | null;
439
+ //#endregion
440
+ //#region src/ui/image-bubble-menu/toolbar.d.ts
441
+ interface ImageBubbleMenuToolbarProps extends React.ComponentProps<'div'> {}
442
+ declare function ImageBubbleMenuToolbar({
443
+ children,
444
+ ...rest
445
+ }: ImageBubbleMenuToolbarProps): react_jsx_runtime5.JSX.Element | null;
446
+ //#endregion
447
+ //#region src/ui/image-bubble-menu/context.d.ts
448
+ interface ImageBubbleMenuContextValue {
449
+ editor: Editor;
450
+ isEditing: boolean;
451
+ setIsEditing: (value: boolean) => void;
452
+ }
453
+ declare function useImageBubbleMenuContext(): ImageBubbleMenuContextValue;
454
+ //#endregion
455
+ //#region src/ui/image-bubble-menu/index.d.ts
456
+ declare const ImageBubbleMenu: {
457
+ readonly Root: typeof ImageBubbleMenuRoot;
458
+ readonly Toolbar: typeof ImageBubbleMenuToolbar;
459
+ readonly EditLink: typeof ImageBubbleMenuEditLink;
460
+ readonly Default: typeof ImageBubbleMenuDefault;
461
+ };
462
+ //#endregion
463
+ //#region src/ui/link-bubble-menu/default.d.ts
464
+ type ExcludableItem = 'edit-link' | 'open-link' | 'unlink';
465
+ interface LinkBubbleMenuDefaultProps {
466
+ excludeItems?: ExcludableItem[];
467
+ placement?: 'top' | 'bottom';
468
+ offset?: number;
469
+ onHide?: () => void;
470
+ className?: string;
471
+ validateUrl?: (value: string) => string | null;
472
+ onLinkApply?: (href: string) => void;
473
+ onLinkRemove?: () => void;
474
+ }
475
+ declare function LinkBubbleMenuDefault({
476
+ excludeItems,
477
+ placement,
478
+ offset,
479
+ onHide,
480
+ className,
481
+ validateUrl,
482
+ onLinkApply,
483
+ onLinkRemove
484
+ }: LinkBubbleMenuDefaultProps): react_jsx_runtime5.JSX.Element;
485
+ //#endregion
486
+ //#region src/ui/link-bubble-menu/edit-link.d.ts
487
+ interface LinkBubbleMenuEditLinkProps extends Omit<React.ComponentProps<'button'>, 'type'> {}
488
+ declare function LinkBubbleMenuEditLink({
489
+ className,
490
+ children,
491
+ onClick,
492
+ onMouseDown,
493
+ ...rest
494
+ }: LinkBubbleMenuEditLinkProps): react_jsx_runtime5.JSX.Element;
495
+ //#endregion
496
+ //#region src/ui/link-bubble-menu/form.d.ts
497
+ interface LinkBubbleMenuFormProps {
498
+ className?: string;
499
+ /** Custom URL validator (default: getUrlFromString) */
500
+ validateUrl?: (value: string) => string | null;
501
+ /** Called after link is applied */
502
+ onLinkApply?: (href: string) => void;
503
+ /** Called after link is removed */
504
+ onLinkRemove?: () => void;
505
+ /** Extra content inside the form (e.g. a variables dropdown slot) */
506
+ children?: React.ReactNode;
507
+ }
508
+ declare function LinkBubbleMenuForm({
509
+ className,
510
+ validateUrl,
511
+ onLinkApply,
512
+ onLinkRemove,
513
+ children
514
+ }: LinkBubbleMenuFormProps): react_jsx_runtime5.JSX.Element | null;
515
+ //#endregion
516
+ //#region src/ui/link-bubble-menu/open-link.d.ts
517
+ interface LinkBubbleMenuOpenLinkProps extends Omit<React.ComponentProps<'a'>, 'href' | 'target' | 'rel'> {}
518
+ declare function LinkBubbleMenuOpenLink({
519
+ className,
520
+ children,
521
+ ...rest
522
+ }: LinkBubbleMenuOpenLinkProps): react_jsx_runtime5.JSX.Element;
523
+ //#endregion
524
+ //#region src/ui/link-bubble-menu/root.d.ts
525
+ interface LinkBubbleMenuRootProps {
526
+ /** Called when the bubble menu hides */
527
+ onHide?: () => void;
528
+ /** Placement relative to cursor (default: 'top') */
529
+ placement?: 'top' | 'bottom';
530
+ /** Offset from cursor in px (default: 8) */
531
+ offset?: number;
532
+ /** className on the outer wrapper */
533
+ className?: string;
534
+ children: React.ReactNode;
535
+ }
536
+ declare function LinkBubbleMenuRoot({
537
+ onHide,
538
+ placement,
539
+ offset,
540
+ className,
541
+ children
542
+ }: LinkBubbleMenuRootProps): react_jsx_runtime5.JSX.Element | null;
543
+ //#endregion
544
+ //#region src/ui/link-bubble-menu/toolbar.d.ts
545
+ interface LinkBubbleMenuToolbarProps extends React.ComponentProps<'div'> {}
546
+ declare function LinkBubbleMenuToolbar({
547
+ children,
548
+ ...rest
549
+ }: LinkBubbleMenuToolbarProps): react_jsx_runtime5.JSX.Element | null;
550
+ //#endregion
551
+ //#region src/ui/link-bubble-menu/unlink.d.ts
552
+ interface LinkBubbleMenuUnlinkProps extends Omit<React.ComponentProps<'button'>, 'type'> {}
553
+ declare function LinkBubbleMenuUnlink({
554
+ className,
555
+ children,
556
+ onClick,
557
+ onMouseDown,
558
+ ...rest
559
+ }: LinkBubbleMenuUnlinkProps): react_jsx_runtime5.JSX.Element;
560
+ //#endregion
561
+ //#region src/ui/link-bubble-menu/context.d.ts
562
+ interface LinkBubbleMenuContextValue {
563
+ editor: Editor;
564
+ linkHref: string;
565
+ isEditing: boolean;
566
+ setIsEditing: (value: boolean) => void;
567
+ }
568
+ declare function useLinkBubbleMenuContext(): LinkBubbleMenuContextValue;
569
+ //#endregion
570
+ //#region src/ui/link-bubble-menu/index.d.ts
571
+ declare const LinkBubbleMenu: {
572
+ readonly Root: typeof LinkBubbleMenuRoot;
573
+ readonly Toolbar: typeof LinkBubbleMenuToolbar;
574
+ readonly Form: typeof LinkBubbleMenuForm;
575
+ readonly EditLink: typeof LinkBubbleMenuEditLink;
576
+ readonly Unlink: typeof LinkBubbleMenuUnlink;
577
+ readonly OpenLink: typeof LinkBubbleMenuOpenLink;
578
+ readonly Default: typeof LinkBubbleMenuDefault;
579
+ };
580
+ //#endregion
581
+ //#region src/ui/slash-command/types.d.ts
582
+ type SlashCommandCategory = string;
583
+ interface SearchableItem {
584
+ title: string;
585
+ description: string;
586
+ searchTerms?: string[];
587
+ }
588
+ interface SlashCommandItem extends SearchableItem {
589
+ icon: ReactNode;
590
+ category: SlashCommandCategory;
591
+ command: (props: SlashCommandProps) => void;
592
+ }
593
+ interface SlashCommandProps {
594
+ editor: Editor;
595
+ range: Range;
596
+ }
597
+ interface SlashCommandRenderProps {
598
+ items: SlashCommandItem[];
599
+ query: string;
600
+ selectedIndex: number;
601
+ onSelect: (index: number) => void;
602
+ }
603
+ interface SlashCommandRootProps {
604
+ items?: SlashCommandItem[];
605
+ filterItems?: (items: SlashCommandItem[], query: string, editor: Editor) => SlashCommandItem[];
606
+ char?: string;
607
+ allow?: (props: {
608
+ editor: Editor;
609
+ }) => boolean;
610
+ children?: (props: SlashCommandRenderProps) => ReactNode;
611
+ }
612
+ interface CommandListProps {
613
+ items: SlashCommandItem[];
614
+ query: string;
615
+ selectedIndex: number;
616
+ onSelect: (index: number) => void;
617
+ }
618
+ //#endregion
619
+ //#region src/ui/slash-command/command-list.d.ts
620
+ declare function CommandList({
621
+ items,
622
+ query,
623
+ selectedIndex,
624
+ onSelect
625
+ }: CommandListProps): react_jsx_runtime5.JSX.Element;
626
+ //#endregion
627
+ //#region src/ui/slash-command/root.d.ts
628
+ declare function SlashCommandRoot({
629
+ items: itemsProp,
630
+ filterItems: filterItemsProp,
631
+ char,
632
+ allow: allowProp,
633
+ children
634
+ }: SlashCommandRootProps): React.ReactPortal | null;
635
+ //#endregion
636
+ //#region src/ui/slash-command/commands.d.ts
637
+ declare const TEXT: SlashCommandItem;
638
+ declare const H1: SlashCommandItem;
639
+ declare const H2: SlashCommandItem;
640
+ declare const H3: SlashCommandItem;
641
+ declare const BULLET_LIST: SlashCommandItem;
642
+ declare const NUMBERED_LIST: SlashCommandItem;
643
+ declare const QUOTE: SlashCommandItem;
644
+ declare const CODE: SlashCommandItem;
645
+ declare const BUTTON: SlashCommandItem;
646
+ declare const DIVIDER: SlashCommandItem;
647
+ declare const SECTION: SlashCommandItem;
648
+ declare const TWO_COLUMNS: SlashCommandItem;
649
+ declare const THREE_COLUMNS: SlashCommandItem;
650
+ declare const FOUR_COLUMNS: SlashCommandItem;
651
+ declare const defaultSlashCommands: SlashCommandItem[];
652
+ //#endregion
653
+ //#region src/ui/slash-command/search.d.ts
654
+ declare function scoreItem(item: SearchableItem, query: string): number;
655
+ declare function filterAndRankItems<T extends SearchableItem>(items: T[], query: string): T[];
656
+ //#endregion
657
+ //#region src/ui/slash-command/utils.d.ts
658
+ declare function isInsideNode(editor: Editor, type: string): boolean;
659
+ declare function isAtMaxColumnsDepth(editor: Editor): boolean;
660
+ //#endregion
661
+ //#region src/ui/slash-command/index.d.ts
662
+ declare const SlashCommand: {
663
+ readonly Root: typeof SlashCommandRoot;
664
+ readonly CommandList: typeof CommandList;
665
+ };
666
+ //#endregion
667
+ export { BULLET_LIST, BUTTON, BubbleMenu, BubbleMenuAlignCenter, BubbleMenuAlignLeft, BubbleMenuAlignRight, BubbleMenuBold, BubbleMenuCode, BubbleMenuDefault, type BubbleMenuDefaultProps, BubbleMenuItalic, BubbleMenuItem, BubbleMenuItemGroup, type BubbleMenuItemGroupProps, type BubbleMenuItemProps, BubbleMenuLinkSelector, type BubbleMenuLinkSelectorProps, BubbleMenuNodeSelector, type BubbleMenuNodeSelectorProps, BubbleMenuRoot, type BubbleMenuRootProps, BubbleMenuSeparator, type BubbleMenuSeparatorProps, BubbleMenuStrike, BubbleMenuUnderline, BubbleMenuUppercase, ButtonBubbleMenu, ButtonBubbleMenuDefault, type ButtonBubbleMenuDefaultProps, ButtonBubbleMenuEditLink, type ButtonBubbleMenuEditLinkProps, ButtonBubbleMenuRoot, type ButtonBubbleMenuRootProps, ButtonBubbleMenuToolbar, type ButtonBubbleMenuToolbarProps, CODE, CommandList, type CommandListProps, DIVIDER, FOUR_COLUMNS, H1, H2, H3, ImageBubbleMenu, ImageBubbleMenuDefault, type ImageBubbleMenuDefaultProps, ImageBubbleMenuEditLink, type ImageBubbleMenuEditLinkProps, ImageBubbleMenuRoot, type ImageBubbleMenuRootProps, ImageBubbleMenuToolbar, type ImageBubbleMenuToolbarProps, LinkBubbleMenu, LinkBubbleMenuDefault, type LinkBubbleMenuDefaultProps, LinkBubbleMenuEditLink, type LinkBubbleMenuEditLinkProps, LinkBubbleMenuForm, type LinkBubbleMenuFormProps, LinkBubbleMenuOpenLink, type LinkBubbleMenuOpenLinkProps, LinkBubbleMenuRoot, type LinkBubbleMenuRootProps, LinkBubbleMenuToolbar, type LinkBubbleMenuToolbarProps, LinkBubbleMenuUnlink, type LinkBubbleMenuUnlinkProps, NUMBERED_LIST, NodeSelectorContent, type NodeSelectorContentProps, type NodeSelectorItem, NodeSelectorRoot, type NodeSelectorRootProps, NodeSelectorTrigger, type NodeSelectorTriggerProps, type NodeType, type PreWiredItemProps, QUOTE, SECTION, type SearchableItem, SlashCommand, type SlashCommandItem, type SlashCommandProps, type SlashCommandRenderProps, type SlashCommandRootProps, TEXT, THREE_COLUMNS, TWO_COLUMNS, defaultSlashCommands, filterAndRankItems, isAtMaxColumnsDepth, isInsideNode, scoreItem, useButtonBubbleMenuContext, useImageBubbleMenuContext, useLinkBubbleMenuContext };
668
+ //# sourceMappingURL=index.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.mts","names":[],"sources":["../../src/ui/bubble-menu/create-mark-bubble-item.tsx","../../src/ui/bubble-menu/align-center.tsx","../../src/ui/bubble-menu/align-left.tsx","../../src/ui/bubble-menu/align-right.tsx","../../src/ui/bubble-menu/default.tsx","../../src/ui/bubble-menu/group.tsx","../../src/ui/bubble-menu/item.tsx","../../src/ui/bubble-menu/link-selector.tsx","../../src/ui/bubble-menu/node-selector.tsx","../../src/ui/bubble-menu/root.tsx","../../src/ui/bubble-menu/separator.tsx","../../src/ui/bubble-menu/bold.tsx","../../src/ui/bubble-menu/code.tsx","../../src/ui/bubble-menu/italic.tsx","../../src/ui/bubble-menu/strike.tsx","../../src/ui/bubble-menu/underline.tsx","../../src/ui/bubble-menu/uppercase.tsx","../../src/ui/bubble-menu/index.ts","../../src/ui/button-bubble-menu/default.tsx","../../src/ui/button-bubble-menu/edit-link.tsx","../../src/ui/button-bubble-menu/root.tsx","../../src/ui/button-bubble-menu/toolbar.tsx","../../src/ui/button-bubble-menu/context.tsx","../../src/ui/button-bubble-menu/index.ts","../../src/ui/image-bubble-menu/default.tsx","../../src/ui/image-bubble-menu/edit-link.tsx","../../src/ui/image-bubble-menu/root.tsx","../../src/ui/image-bubble-menu/toolbar.tsx","../../src/ui/image-bubble-menu/context.tsx","../../src/ui/image-bubble-menu/index.ts","../../src/ui/link-bubble-menu/default.tsx","../../src/ui/link-bubble-menu/edit-link.tsx","../../src/ui/link-bubble-menu/form.tsx","../../src/ui/link-bubble-menu/open-link.tsx","../../src/ui/link-bubble-menu/root.tsx","../../src/ui/link-bubble-menu/toolbar.tsx","../../src/ui/link-bubble-menu/unlink.tsx","../../src/ui/link-bubble-menu/context.tsx","../../src/ui/link-bubble-menu/index.ts","../../src/ui/slash-command/types.ts","../../src/ui/slash-command/command-list.tsx","../../src/ui/slash-command/root.tsx","../../src/ui/slash-command/commands.tsx","../../src/ui/slash-command/search.ts","../../src/ui/slash-command/utils.ts","../../src/ui/slash-command/index.ts"],"sourcesContent":[],"mappings":";;;;;;UAKiB,iBAAA;;;aAGJ,KAAA,CAAM;;;;iBCDH,qBAAA;;;GAGb,oBAAiB,kBAAA,CAAA,GAAA,CAAA;;;iBCHJ,mBAAA;;;GAGb,oBAAiB,kBAAA,CAAA,GAAA,CAAA;;;iBCHJ,oBAAA;;;GAGb,oBAAiB,kBAAA,CAAA,GAAA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