@react-email/editor 0.0.0-experimental.21 → 0.0.0-experimental.22
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/index.cjs +152 -129
- package/dist/index.d.cts +74 -63
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +74 -63
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +155 -130
- package/dist/index.mjs.map +1 -1
- package/dist/ui/themes/default.css +20 -1
- package/package.json +6 -5
package/dist/index.d.cts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { Node } from "@tiptap/pm/model";
|
|
2
|
-
import * as _tiptap_core0 from "@tiptap/core";
|
|
3
2
|
import { Content, Editor, Extension, Extensions, JSONContent, Mark, MarkConfig, MarkType, Node as Node$1, NodeConfig as NodeConfig$1, NodeType as NodeType$1, ParentConfig, Range } from "@tiptap/core";
|
|
4
3
|
import { UseEditorOptions } from "@tiptap/react";
|
|
5
4
|
import { EditorView } from "@tiptap/pm/view";
|
|
@@ -21,9 +20,9 @@ import { LinkOptions as LinkOptions$1 } from "@tiptap/extension-link";
|
|
|
21
20
|
import { PlaceholderOptions as PlaceholderOptions$1 } from "@tiptap/extension-placeholder";
|
|
22
21
|
import { SuperscriptExtensionOptions } from "@tiptap/extension-superscript";
|
|
23
22
|
import { UnderlineOptions as UnderlineOptions$1 } from "@tiptap/extension-underline";
|
|
24
|
-
import * as
|
|
23
|
+
import * as react_jsx_runtime10 from "react/jsx-runtime";
|
|
25
24
|
import * as React$1 from "react";
|
|
26
|
-
import {
|
|
25
|
+
import { ReactNode } from "react";
|
|
27
26
|
|
|
28
27
|
//#region src/core/event-bus.d.ts
|
|
29
28
|
/**
|
|
@@ -519,19 +518,19 @@ interface PreWiredItemProps {
|
|
|
519
518
|
declare function BubbleMenuAlignCenter({
|
|
520
519
|
className,
|
|
521
520
|
children
|
|
522
|
-
}: PreWiredItemProps):
|
|
521
|
+
}: PreWiredItemProps): react_jsx_runtime10.JSX.Element;
|
|
523
522
|
//#endregion
|
|
524
523
|
//#region src/ui/bubble-menu/align-left.d.ts
|
|
525
524
|
declare function BubbleMenuAlignLeft({
|
|
526
525
|
className,
|
|
527
526
|
children
|
|
528
|
-
}: PreWiredItemProps):
|
|
527
|
+
}: PreWiredItemProps): react_jsx_runtime10.JSX.Element;
|
|
529
528
|
//#endregion
|
|
530
529
|
//#region src/ui/bubble-menu/align-right.d.ts
|
|
531
530
|
declare function BubbleMenuAlignRight({
|
|
532
531
|
className,
|
|
533
532
|
children
|
|
534
|
-
}: PreWiredItemProps):
|
|
533
|
+
}: PreWiredItemProps): react_jsx_runtime10.JSX.Element;
|
|
535
534
|
//#endregion
|
|
536
535
|
//#region src/ui/bubble-menu/default.d.ts
|
|
537
536
|
type ExcludableItem$3 = 'bold' | 'italic' | 'underline' | 'strike' | 'code' | 'uppercase' | 'align-left' | 'align-center' | 'align-right' | 'node-selector' | 'link-selector';
|
|
@@ -556,7 +555,7 @@ declare function BubbleMenuDefault({
|
|
|
556
555
|
offset,
|
|
557
556
|
onHide,
|
|
558
557
|
className
|
|
559
|
-
}: BubbleMenuDefaultProps):
|
|
558
|
+
}: BubbleMenuDefaultProps): react_jsx_runtime10.JSX.Element;
|
|
560
559
|
//#endregion
|
|
561
560
|
//#region src/ui/bubble-menu/group.d.ts
|
|
562
561
|
interface BubbleMenuItemGroupProps {
|
|
@@ -566,7 +565,7 @@ interface BubbleMenuItemGroupProps {
|
|
|
566
565
|
declare function BubbleMenuItemGroup({
|
|
567
566
|
className,
|
|
568
567
|
children
|
|
569
|
-
}: BubbleMenuItemGroupProps):
|
|
568
|
+
}: BubbleMenuItemGroupProps): react_jsx_runtime10.JSX.Element;
|
|
570
569
|
//#endregion
|
|
571
570
|
//#region src/ui/bubble-menu/item.d.ts
|
|
572
571
|
interface BubbleMenuItemProps extends React$1.ComponentProps<'button'> {
|
|
@@ -584,7 +583,7 @@ declare function BubbleMenuItem({
|
|
|
584
583
|
className,
|
|
585
584
|
children,
|
|
586
585
|
...rest
|
|
587
|
-
}: BubbleMenuItemProps):
|
|
586
|
+
}: BubbleMenuItemProps): react_jsx_runtime10.JSX.Element;
|
|
588
587
|
//#endregion
|
|
589
588
|
//#region src/ui/bubble-menu/link-selector.d.ts
|
|
590
589
|
interface BubbleMenuLinkSelectorProps {
|
|
@@ -613,7 +612,7 @@ declare function BubbleMenuLinkSelector({
|
|
|
613
612
|
children,
|
|
614
613
|
open: controlledOpen,
|
|
615
614
|
onOpenChange
|
|
616
|
-
}: BubbleMenuLinkSelectorProps):
|
|
615
|
+
}: BubbleMenuLinkSelectorProps): react_jsx_runtime10.JSX.Element | null;
|
|
617
616
|
//#endregion
|
|
618
617
|
//#region src/ui/bubble-menu/node-selector.d.ts
|
|
619
618
|
type NodeType = 'Text' | 'Title' | 'Subtitle' | 'Heading' | 'Bullet List' | 'Numbered List' | 'Quote' | 'Code';
|
|
@@ -639,7 +638,7 @@ declare function NodeSelectorRoot({
|
|
|
639
638
|
onOpenChange,
|
|
640
639
|
className,
|
|
641
640
|
children
|
|
642
|
-
}: NodeSelectorRootProps):
|
|
641
|
+
}: NodeSelectorRootProps): react_jsx_runtime10.JSX.Element | null;
|
|
643
642
|
interface NodeSelectorTriggerProps {
|
|
644
643
|
className?: string;
|
|
645
644
|
children?: React$1.ReactNode;
|
|
@@ -647,7 +646,7 @@ interface NodeSelectorTriggerProps {
|
|
|
647
646
|
declare function NodeSelectorTrigger({
|
|
648
647
|
className,
|
|
649
648
|
children
|
|
650
|
-
}: NodeSelectorTriggerProps):
|
|
649
|
+
}: NodeSelectorTriggerProps): react_jsx_runtime10.JSX.Element;
|
|
651
650
|
interface NodeSelectorContentProps {
|
|
652
651
|
className?: string;
|
|
653
652
|
/** Popover alignment (default: "start") */
|
|
@@ -660,7 +659,7 @@ declare function NodeSelectorContent({
|
|
|
660
659
|
className,
|
|
661
660
|
align,
|
|
662
661
|
children
|
|
663
|
-
}: NodeSelectorContentProps):
|
|
662
|
+
}: NodeSelectorContentProps): react_jsx_runtime10.JSX.Element;
|
|
664
663
|
interface BubbleMenuNodeSelectorProps {
|
|
665
664
|
/** Block types to exclude */
|
|
666
665
|
omit?: string[];
|
|
@@ -678,7 +677,7 @@ declare function BubbleMenuNodeSelector({
|
|
|
678
677
|
triggerContent,
|
|
679
678
|
open,
|
|
680
679
|
onOpenChange
|
|
681
|
-
}: BubbleMenuNodeSelectorProps):
|
|
680
|
+
}: BubbleMenuNodeSelectorProps): react_jsx_runtime10.JSX.Element;
|
|
682
681
|
//#endregion
|
|
683
682
|
//#region src/ui/bubble-menu/root.d.ts
|
|
684
683
|
interface BubbleMenuRootProps {
|
|
@@ -701,7 +700,7 @@ declare function BubbleMenuRoot({
|
|
|
701
700
|
onHide,
|
|
702
701
|
className,
|
|
703
702
|
children
|
|
704
|
-
}: BubbleMenuRootProps):
|
|
703
|
+
}: BubbleMenuRootProps): react_jsx_runtime10.JSX.Element | null;
|
|
705
704
|
//#endregion
|
|
706
705
|
//#region src/ui/bubble-menu/separator.d.ts
|
|
707
706
|
interface BubbleMenuSeparatorProps {
|
|
@@ -709,14 +708,14 @@ interface BubbleMenuSeparatorProps {
|
|
|
709
708
|
}
|
|
710
709
|
declare function BubbleMenuSeparator({
|
|
711
710
|
className
|
|
712
|
-
}: BubbleMenuSeparatorProps):
|
|
711
|
+
}: BubbleMenuSeparatorProps): react_jsx_runtime10.JSX.Element;
|
|
713
712
|
//#endregion
|
|
714
713
|
//#region src/ui/bubble-menu/bold.d.ts
|
|
715
714
|
declare const BubbleMenuBold: {
|
|
716
715
|
({
|
|
717
716
|
className,
|
|
718
717
|
children
|
|
719
|
-
}: PreWiredItemProps):
|
|
718
|
+
}: PreWiredItemProps): react_jsx_runtime10.JSX.Element;
|
|
720
719
|
displayName: string;
|
|
721
720
|
};
|
|
722
721
|
//#endregion
|
|
@@ -725,7 +724,7 @@ declare const BubbleMenuCode: {
|
|
|
725
724
|
({
|
|
726
725
|
className,
|
|
727
726
|
children
|
|
728
|
-
}: PreWiredItemProps):
|
|
727
|
+
}: PreWiredItemProps): react_jsx_runtime10.JSX.Element;
|
|
729
728
|
displayName: string;
|
|
730
729
|
};
|
|
731
730
|
//#endregion
|
|
@@ -734,7 +733,7 @@ declare const BubbleMenuItalic: {
|
|
|
734
733
|
({
|
|
735
734
|
className,
|
|
736
735
|
children
|
|
737
|
-
}: PreWiredItemProps):
|
|
736
|
+
}: PreWiredItemProps): react_jsx_runtime10.JSX.Element;
|
|
738
737
|
displayName: string;
|
|
739
738
|
};
|
|
740
739
|
//#endregion
|
|
@@ -743,7 +742,7 @@ declare const BubbleMenuStrike: {
|
|
|
743
742
|
({
|
|
744
743
|
className,
|
|
745
744
|
children
|
|
746
|
-
}: PreWiredItemProps):
|
|
745
|
+
}: PreWiredItemProps): react_jsx_runtime10.JSX.Element;
|
|
747
746
|
displayName: string;
|
|
748
747
|
};
|
|
749
748
|
//#endregion
|
|
@@ -752,7 +751,7 @@ declare const BubbleMenuUnderline: {
|
|
|
752
751
|
({
|
|
753
752
|
className,
|
|
754
753
|
children
|
|
755
|
-
}: PreWiredItemProps):
|
|
754
|
+
}: PreWiredItemProps): react_jsx_runtime10.JSX.Element;
|
|
756
755
|
displayName: string;
|
|
757
756
|
};
|
|
758
757
|
//#endregion
|
|
@@ -761,7 +760,7 @@ declare const BubbleMenuUppercase: {
|
|
|
761
760
|
({
|
|
762
761
|
className,
|
|
763
762
|
children
|
|
764
|
-
}: PreWiredItemProps):
|
|
763
|
+
}: PreWiredItemProps): react_jsx_runtime10.JSX.Element;
|
|
765
764
|
displayName: string;
|
|
766
765
|
};
|
|
767
766
|
//#endregion
|
|
@@ -775,42 +774,42 @@ declare const BubbleMenu: {
|
|
|
775
774
|
({
|
|
776
775
|
className,
|
|
777
776
|
children
|
|
778
|
-
}: PreWiredItemProps):
|
|
777
|
+
}: PreWiredItemProps): react_jsx_runtime10.JSX.Element;
|
|
779
778
|
displayName: string;
|
|
780
779
|
};
|
|
781
780
|
readonly Italic: {
|
|
782
781
|
({
|
|
783
782
|
className,
|
|
784
783
|
children
|
|
785
|
-
}: PreWiredItemProps):
|
|
784
|
+
}: PreWiredItemProps): react_jsx_runtime10.JSX.Element;
|
|
786
785
|
displayName: string;
|
|
787
786
|
};
|
|
788
787
|
readonly Underline: {
|
|
789
788
|
({
|
|
790
789
|
className,
|
|
791
790
|
children
|
|
792
|
-
}: PreWiredItemProps):
|
|
791
|
+
}: PreWiredItemProps): react_jsx_runtime10.JSX.Element;
|
|
793
792
|
displayName: string;
|
|
794
793
|
};
|
|
795
794
|
readonly Strike: {
|
|
796
795
|
({
|
|
797
796
|
className,
|
|
798
797
|
children
|
|
799
|
-
}: PreWiredItemProps):
|
|
798
|
+
}: PreWiredItemProps): react_jsx_runtime10.JSX.Element;
|
|
800
799
|
displayName: string;
|
|
801
800
|
};
|
|
802
801
|
readonly Code: {
|
|
803
802
|
({
|
|
804
803
|
className,
|
|
805
804
|
children
|
|
806
|
-
}: PreWiredItemProps):
|
|
805
|
+
}: PreWiredItemProps): react_jsx_runtime10.JSX.Element;
|
|
807
806
|
displayName: string;
|
|
808
807
|
};
|
|
809
808
|
readonly Uppercase: {
|
|
810
809
|
({
|
|
811
810
|
className,
|
|
812
811
|
children
|
|
813
|
-
}: PreWiredItemProps):
|
|
812
|
+
}: PreWiredItemProps): react_jsx_runtime10.JSX.Element;
|
|
814
813
|
displayName: string;
|
|
815
814
|
};
|
|
816
815
|
readonly AlignLeft: typeof BubbleMenuAlignLeft;
|
|
@@ -840,7 +839,7 @@ declare function ButtonBubbleMenuDefault({
|
|
|
840
839
|
offset,
|
|
841
840
|
onHide,
|
|
842
841
|
className
|
|
843
|
-
}: ButtonBubbleMenuDefaultProps):
|
|
842
|
+
}: ButtonBubbleMenuDefaultProps): react_jsx_runtime10.JSX.Element;
|
|
844
843
|
//#endregion
|
|
845
844
|
//#region src/ui/button-bubble-menu/edit-link.d.ts
|
|
846
845
|
interface ButtonBubbleMenuEditLinkProps extends Omit<React$1.ComponentProps<'button'>, 'type'> {}
|
|
@@ -850,7 +849,7 @@ declare function ButtonBubbleMenuEditLink({
|
|
|
850
849
|
onClick,
|
|
851
850
|
onMouseDown,
|
|
852
851
|
...rest
|
|
853
|
-
}: ButtonBubbleMenuEditLinkProps):
|
|
852
|
+
}: ButtonBubbleMenuEditLinkProps): react_jsx_runtime10.JSX.Element;
|
|
854
853
|
//#endregion
|
|
855
854
|
//#region src/ui/button-bubble-menu/root.d.ts
|
|
856
855
|
interface ButtonBubbleMenuRootProps {
|
|
@@ -870,14 +869,14 @@ declare function ButtonBubbleMenuRoot({
|
|
|
870
869
|
offset,
|
|
871
870
|
className,
|
|
872
871
|
children
|
|
873
|
-
}: ButtonBubbleMenuRootProps):
|
|
872
|
+
}: ButtonBubbleMenuRootProps): react_jsx_runtime10.JSX.Element | null;
|
|
874
873
|
//#endregion
|
|
875
874
|
//#region src/ui/button-bubble-menu/toolbar.d.ts
|
|
876
875
|
interface ButtonBubbleMenuToolbarProps extends React$1.ComponentProps<'div'> {}
|
|
877
876
|
declare function ButtonBubbleMenuToolbar({
|
|
878
877
|
children,
|
|
879
878
|
...rest
|
|
880
|
-
}: ButtonBubbleMenuToolbarProps):
|
|
879
|
+
}: ButtonBubbleMenuToolbarProps): react_jsx_runtime10.JSX.Element | null;
|
|
881
880
|
//#endregion
|
|
882
881
|
//#region src/ui/button-bubble-menu/context.d.ts
|
|
883
882
|
interface ButtonBubbleMenuContextValue {
|
|
@@ -910,7 +909,7 @@ declare function ImageBubbleMenuDefault({
|
|
|
910
909
|
offset,
|
|
911
910
|
onHide,
|
|
912
911
|
className
|
|
913
|
-
}: ImageBubbleMenuDefaultProps):
|
|
912
|
+
}: ImageBubbleMenuDefaultProps): react_jsx_runtime10.JSX.Element;
|
|
914
913
|
//#endregion
|
|
915
914
|
//#region src/ui/image-bubble-menu/edit-link.d.ts
|
|
916
915
|
interface ImageBubbleMenuEditLinkProps extends Omit<React$1.ComponentProps<'button'>, 'type'> {}
|
|
@@ -920,7 +919,7 @@ declare function ImageBubbleMenuEditLink({
|
|
|
920
919
|
onClick,
|
|
921
920
|
onMouseDown,
|
|
922
921
|
...rest
|
|
923
|
-
}: ImageBubbleMenuEditLinkProps):
|
|
922
|
+
}: ImageBubbleMenuEditLinkProps): react_jsx_runtime10.JSX.Element;
|
|
924
923
|
//#endregion
|
|
925
924
|
//#region src/ui/image-bubble-menu/root.d.ts
|
|
926
925
|
interface ImageBubbleMenuRootProps {
|
|
@@ -940,14 +939,14 @@ declare function ImageBubbleMenuRoot({
|
|
|
940
939
|
offset,
|
|
941
940
|
className,
|
|
942
941
|
children
|
|
943
|
-
}: ImageBubbleMenuRootProps):
|
|
942
|
+
}: ImageBubbleMenuRootProps): react_jsx_runtime10.JSX.Element | null;
|
|
944
943
|
//#endregion
|
|
945
944
|
//#region src/ui/image-bubble-menu/toolbar.d.ts
|
|
946
945
|
interface ImageBubbleMenuToolbarProps extends React$1.ComponentProps<'div'> {}
|
|
947
946
|
declare function ImageBubbleMenuToolbar({
|
|
948
947
|
children,
|
|
949
948
|
...rest
|
|
950
|
-
}: ImageBubbleMenuToolbarProps):
|
|
949
|
+
}: ImageBubbleMenuToolbarProps): react_jsx_runtime10.JSX.Element | null;
|
|
951
950
|
//#endregion
|
|
952
951
|
//#region src/ui/image-bubble-menu/context.d.ts
|
|
953
952
|
interface ImageBubbleMenuContextValue {
|
|
@@ -986,7 +985,7 @@ declare function LinkBubbleMenuDefault({
|
|
|
986
985
|
validateUrl,
|
|
987
986
|
onLinkApply,
|
|
988
987
|
onLinkRemove
|
|
989
|
-
}: LinkBubbleMenuDefaultProps):
|
|
988
|
+
}: LinkBubbleMenuDefaultProps): react_jsx_runtime10.JSX.Element;
|
|
990
989
|
//#endregion
|
|
991
990
|
//#region src/ui/link-bubble-menu/edit-link.d.ts
|
|
992
991
|
interface LinkBubbleMenuEditLinkProps extends Omit<React$1.ComponentProps<'button'>, 'type'> {}
|
|
@@ -996,7 +995,7 @@ declare function LinkBubbleMenuEditLink({
|
|
|
996
995
|
onClick,
|
|
997
996
|
onMouseDown,
|
|
998
997
|
...rest
|
|
999
|
-
}: LinkBubbleMenuEditLinkProps):
|
|
998
|
+
}: LinkBubbleMenuEditLinkProps): react_jsx_runtime10.JSX.Element;
|
|
1000
999
|
//#endregion
|
|
1001
1000
|
//#region src/ui/link-bubble-menu/form.d.ts
|
|
1002
1001
|
interface LinkBubbleMenuFormProps {
|
|
@@ -1016,7 +1015,7 @@ declare function LinkBubbleMenuForm({
|
|
|
1016
1015
|
onLinkApply,
|
|
1017
1016
|
onLinkRemove,
|
|
1018
1017
|
children
|
|
1019
|
-
}: LinkBubbleMenuFormProps):
|
|
1018
|
+
}: LinkBubbleMenuFormProps): react_jsx_runtime10.JSX.Element | null;
|
|
1020
1019
|
//#endregion
|
|
1021
1020
|
//#region src/ui/link-bubble-menu/open-link.d.ts
|
|
1022
1021
|
interface LinkBubbleMenuOpenLinkProps extends Omit<React$1.ComponentProps<'a'>, 'href' | 'target' | 'rel'> {}
|
|
@@ -1024,7 +1023,7 @@ declare function LinkBubbleMenuOpenLink({
|
|
|
1024
1023
|
className,
|
|
1025
1024
|
children,
|
|
1026
1025
|
...rest
|
|
1027
|
-
}: LinkBubbleMenuOpenLinkProps):
|
|
1026
|
+
}: LinkBubbleMenuOpenLinkProps): react_jsx_runtime10.JSX.Element;
|
|
1028
1027
|
//#endregion
|
|
1029
1028
|
//#region src/ui/link-bubble-menu/root.d.ts
|
|
1030
1029
|
interface LinkBubbleMenuRootProps {
|
|
@@ -1044,14 +1043,14 @@ declare function LinkBubbleMenuRoot({
|
|
|
1044
1043
|
offset,
|
|
1045
1044
|
className,
|
|
1046
1045
|
children
|
|
1047
|
-
}: LinkBubbleMenuRootProps):
|
|
1046
|
+
}: LinkBubbleMenuRootProps): react_jsx_runtime10.JSX.Element | null;
|
|
1048
1047
|
//#endregion
|
|
1049
1048
|
//#region src/ui/link-bubble-menu/toolbar.d.ts
|
|
1050
1049
|
interface LinkBubbleMenuToolbarProps extends React$1.ComponentProps<'div'> {}
|
|
1051
1050
|
declare function LinkBubbleMenuToolbar({
|
|
1052
1051
|
children,
|
|
1053
1052
|
...rest
|
|
1054
|
-
}: LinkBubbleMenuToolbarProps):
|
|
1053
|
+
}: LinkBubbleMenuToolbarProps): react_jsx_runtime10.JSX.Element | null;
|
|
1055
1054
|
//#endregion
|
|
1056
1055
|
//#region src/ui/link-bubble-menu/unlink.d.ts
|
|
1057
1056
|
interface LinkBubbleMenuUnlinkProps extends Omit<React$1.ComponentProps<'button'>, 'type'> {}
|
|
@@ -1061,7 +1060,7 @@ declare function LinkBubbleMenuUnlink({
|
|
|
1061
1060
|
onClick,
|
|
1062
1061
|
onMouseDown,
|
|
1063
1062
|
...rest
|
|
1064
|
-
}: LinkBubbleMenuUnlinkProps):
|
|
1063
|
+
}: LinkBubbleMenuUnlinkProps): react_jsx_runtime10.JSX.Element;
|
|
1065
1064
|
//#endregion
|
|
1066
1065
|
//#region src/ui/link-bubble-menu/context.d.ts
|
|
1067
1066
|
interface LinkBubbleMenuContextValue {
|
|
@@ -1099,28 +1098,44 @@ interface SlashCommandProps {
|
|
|
1099
1098
|
editor: Editor;
|
|
1100
1099
|
range: Range;
|
|
1101
1100
|
}
|
|
1102
|
-
interface
|
|
1103
|
-
|
|
1104
|
-
|
|
1101
|
+
interface SlashCommandRenderProps {
|
|
1102
|
+
items: SlashCommandItem[];
|
|
1103
|
+
query: string;
|
|
1104
|
+
selectedIndex: number;
|
|
1105
|
+
onSelect: (index: number) => void;
|
|
1106
|
+
}
|
|
1107
|
+
interface SlashCommandRootProps {
|
|
1108
|
+
items?: SlashCommandItem[];
|
|
1109
|
+
filterItems?: (items: SlashCommandItem[], query: string, editor: Editor) => SlashCommandItem[];
|
|
1110
|
+
char?: string;
|
|
1111
|
+
allow?: (props: {
|
|
1112
|
+
editor: Editor;
|
|
1105
1113
|
}) => boolean;
|
|
1114
|
+
children?: (props: SlashCommandRenderProps) => ReactNode;
|
|
1106
1115
|
}
|
|
1107
1116
|
interface CommandListProps {
|
|
1108
1117
|
items: SlashCommandItem[];
|
|
1109
|
-
command: (item: SlashCommandItem) => void;
|
|
1110
|
-
editor: SlashCommandProps['editor'];
|
|
1111
|
-
range: SlashCommandProps['range'];
|
|
1112
1118
|
query: string;
|
|
1113
|
-
|
|
1119
|
+
selectedIndex: number;
|
|
1120
|
+
onSelect: (index: number) => void;
|
|
1114
1121
|
}
|
|
1115
|
-
type CommandListComponent = ComponentType<CommandListProps>;
|
|
1116
1122
|
//#endregion
|
|
1117
1123
|
//#region src/ui/slash-command/command-list.d.ts
|
|
1118
1124
|
declare function CommandList({
|
|
1119
1125
|
items,
|
|
1120
|
-
command,
|
|
1121
1126
|
query,
|
|
1122
|
-
|
|
1123
|
-
|
|
1127
|
+
selectedIndex,
|
|
1128
|
+
onSelect
|
|
1129
|
+
}: CommandListProps): react_jsx_runtime10.JSX.Element;
|
|
1130
|
+
//#endregion
|
|
1131
|
+
//#region src/ui/slash-command/root.d.ts
|
|
1132
|
+
declare function SlashCommandRoot({
|
|
1133
|
+
items: itemsProp,
|
|
1134
|
+
filterItems: filterItemsProp,
|
|
1135
|
+
char,
|
|
1136
|
+
allow: allowProp,
|
|
1137
|
+
children
|
|
1138
|
+
}: SlashCommandRootProps): React$1.ReactPortal | null;
|
|
1124
1139
|
//#endregion
|
|
1125
1140
|
//#region src/ui/slash-command/commands.d.ts
|
|
1126
1141
|
declare const TEXT: SlashCommandItem;
|
|
@@ -1139,13 +1154,6 @@ declare const THREE_COLUMNS: SlashCommandItem;
|
|
|
1139
1154
|
declare const FOUR_COLUMNS: SlashCommandItem;
|
|
1140
1155
|
declare const defaultSlashCommands: SlashCommandItem[];
|
|
1141
1156
|
//#endregion
|
|
1142
|
-
//#region src/ui/slash-command/create-slash-command.d.ts
|
|
1143
|
-
declare function createSlashCommand(options?: {
|
|
1144
|
-
items?: SlashCommandItem[];
|
|
1145
|
-
filterItems?: (items: SlashCommandItem[], query: string, editor: Editor) => SlashCommandItem[];
|
|
1146
|
-
component?: CommandListComponent;
|
|
1147
|
-
}): _tiptap_core0.Extension<any, any>;
|
|
1148
|
-
//#endregion
|
|
1149
1157
|
//#region src/ui/slash-command/search.d.ts
|
|
1150
1158
|
declare function scoreItem(item: SearchableItem, query: string): number;
|
|
1151
1159
|
declare function filterAndRankItems<T extends SearchableItem>(items: T[], query: string): T[];
|
|
@@ -1155,10 +1163,13 @@ declare function isInsideNode(editor: Editor, type: string): boolean;
|
|
|
1155
1163
|
declare function isAtMaxColumnsDepth(editor: Editor): boolean;
|
|
1156
1164
|
//#endregion
|
|
1157
1165
|
//#region src/ui/slash-command/index.d.ts
|
|
1158
|
-
declare const SlashCommand:
|
|
1166
|
+
declare const SlashCommand: {
|
|
1167
|
+
readonly Root: typeof SlashCommandRoot;
|
|
1168
|
+
readonly CommandList: typeof CommandList;
|
|
1169
|
+
};
|
|
1159
1170
|
//#endregion
|
|
1160
1171
|
//#region src/utils/set-text-alignment.d.ts
|
|
1161
1172
|
declare function setTextAlignment(editor: Editor, alignment: string): void;
|
|
1162
1173
|
//#endregion
|
|
1163
|
-
export { AlignmentAttribute, AlignmentOptions, BULLET_LIST, BUTTON, Blockquote, Body, BodyOptions, Bold, BoldOptions, 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, BulletList, Button, ButtonBubbleMenu, ButtonBubbleMenuDefault, type ButtonBubbleMenuDefaultProps, ButtonBubbleMenuEditLink, type ButtonBubbleMenuEditLinkProps, ButtonBubbleMenuRoot, type ButtonBubbleMenuRootProps, ButtonBubbleMenuToolbar, type ButtonBubbleMenuToolbarProps, CODE, COLUMN_PARENT_TYPES, ClassAttribute, ClassAttributeOptions, Code, CodeBlockPrism, CodeBlockPrismOptions, ColumnsColumn, CommandList, type
|
|
1174
|
+
export { AlignmentAttribute, AlignmentOptions, BULLET_LIST, BUTTON, Blockquote, Body, BodyOptions, Bold, BoldOptions, 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, BulletList, Button, ButtonBubbleMenu, ButtonBubbleMenuDefault, type ButtonBubbleMenuDefaultProps, ButtonBubbleMenuEditLink, type ButtonBubbleMenuEditLinkProps, ButtonBubbleMenuRoot, type ButtonBubbleMenuRootProps, ButtonBubbleMenuToolbar, type ButtonBubbleMenuToolbarProps, CODE, COLUMN_PARENT_TYPES, ClassAttribute, ClassAttributeOptions, Code, CodeBlockPrism, CodeBlockPrismOptions, ColumnsColumn, CommandList, type CommandListProps, DIVIDER, Div, DivOptions, Divider, DividerOptions, EditorButtonOptions, EditorEventHandler, EditorEventMap, EditorEventName, EditorEventSubscription, EmailNode, EmailNodeConfig, FOUR_COLUMNS, FourColumns, GlobalContent, GlobalContentOptions, H1, H2, H3, HardBreak, Heading, HeadingOptions, ImageBubbleMenu, ImageBubbleMenuDefault, type ImageBubbleMenuDefaultProps, ImageBubbleMenuEditLink, type ImageBubbleMenuEditLinkProps, ImageBubbleMenuRoot, type ImageBubbleMenuRootProps, ImageBubbleMenuToolbar, type ImageBubbleMenuToolbarProps, Italic, Link, LinkBubbleMenu, LinkBubbleMenuDefault, type LinkBubbleMenuDefaultProps, LinkBubbleMenuEditLink, type LinkBubbleMenuEditLinkProps, LinkBubbleMenuForm, type LinkBubbleMenuFormProps, LinkBubbleMenuOpenLink, type LinkBubbleMenuOpenLinkProps, LinkBubbleMenuRoot, type LinkBubbleMenuRootProps, LinkBubbleMenuToolbar, type LinkBubbleMenuToolbarProps, LinkBubbleMenuUnlink, type LinkBubbleMenuUnlinkProps, LinkOptions, ListItem, MAX_COLUMNS_DEPTH, MaxNesting, MaxNestingOptions, NUMBERED_LIST, NodeSelectorContent, type NodeSelectorContentProps, type NodeSelectorItem, NodeSelectorRoot, type NodeSelectorRootProps, NodeSelectorTrigger, type NodeSelectorTriggerProps, type NodeType, OrderedList, Paragraph, Placeholder, PlaceholderOptions, type PreWiredItemProps, PreservedStyle, PreviewText, PreviewTextOptions, QUOTE, RendererComponent, SECTION, type SearchableItem, Section, SectionOptions, SlashCommand, type SlashCommandItem, type SlashCommandProps, type SlashCommandRenderProps, type SlashCommandRootProps, StarterKit, StarterKitOptions, Strike, StyleAttribute, StyleAttributeOptions, Sup, SupOptions, TEXT, THREE_COLUMNS, TWO_COLUMNS, Table, TableCell, TableCellOptions, TableHeader, TableOptions, TableRow, TableRowOptions, ThreeColumns, TwoColumns, Underline, UnderlineOptions, Uppercase, UppercaseOptions, composeReactEmail, defaultSlashCommands, editorEventBus, filterAndRankItems, getColumnsDepth, getGlobalContent, isAtMaxColumnsDepth, isDocumentVisuallyEmpty, isInsideNode, processStylesForUnlink, scoreItem, setTextAlignment, useButtonBubbleMenuContext, useEditor, useImageBubbleMenuContext, useLinkBubbleMenuContext };
|
|
1164
1175
|
//# sourceMappingURL=index.d.cts.map
|
package/dist/index.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/core/event-bus.ts","../src/core/is-document-visually-empty.ts","../src/core/serializer/compose-react-email.tsx","../src/core/serializer/email-node.ts","../src/core/create-paste-handler.ts","../src/core/use-editor.ts","../src/extensions/alignment-attribute.tsx","../src/extensions/body.tsx","../src/core/serializer/email-mark.ts","../src/extensions/bold.tsx","../src/extensions/button.tsx","../src/extensions/class-attribute.tsx","../src/extensions/code-block.tsx","../src/extensions/div.tsx","../src/extensions/divider.tsx","../src/extensions/global-content.ts","../src/extensions/heading.tsx","../src/extensions/link.tsx","../src/extensions/max-nesting.ts","../src/extensions/placeholder.ts","../src/extensions/preview-text.ts","../src/extensions/section.tsx","../src/extensions/style-attribute.tsx","../src/extensions/sup.tsx","../src/extensions/table.tsx","../src/extensions/underline.tsx","../src/extensions/uppercase.tsx","../src/extensions/blockquote.tsx","../src/extensions/bullet-list.tsx","../src/extensions/code.tsx","../src/extensions/columns.tsx","../src/extensions/hard-break.tsx","../src/extensions/italic.tsx","../src/extensions/list-item.tsx","../src/extensions/ordered-list.tsx","../src/extensions/paragraph.tsx","../src/extensions/preserved-style.tsx","../src/extensions/strike.tsx","../src/extensions/index.ts","../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/commands.tsx","../src/ui/slash-command/create-slash-command.ts","../src/ui/slash-command/search.ts","../src/ui/slash-command/utils.ts","../src/ui/slash-command/index.ts","../src/utils/set-text-alignment.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAciB,cAAA;;;KAIL,eAAA,SAAwB;KAExB,6BAA6B,6BAC9B,eAAe,cACd;UAEK,uBAAA;;;cAIX,cAAA;;qBAKe,4BACN,YACF,eAAe;aACH;;eAYV,4BACA,YACF,mBAAmB,cAClB;aAAqC;MAC9C;AAtCL;AAIY,cAkEC,cAlEuB,EAkET,cAlEuB;;;iBChBlC,uBAAA,MAA6B;;;UCqCnC,uBAAA;;;;cAKG;;;;UAIH;;MAEN,QAAQ;;;KC1CA,iBAAA;QACJ;SACC,KAAA,CAAM;aACF,KAAA,CAAM;MACb,KAAA,CAAM;UAEK,0CACP,aAAW,SAAS;sBACR;;KAGjB,sCAAoC,QACvC,KAAK,gBAAgB,SAAS,mCAE9B,KAAK,gBAAgB,SAAS,kCAC9B;;WAEW;WACA;UACD;QACF;;;cAIG,oBACD,i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O;cAiBP,MAAM;cAWN,QAAQ;cAWR,SAAS;cAWT,SAAS;cAWT,aAAa;cAsBb,eAAe;cAqBf,cAAc;cAqBd,sBAAsB;;;iBC/MnB,kBAAA;UACN;wBAEC,2CAEC,WACL;cACO;IAAoB,aAAA,CACjC;;;iBC5Be,SAAA,OAAgB;iBAwBhB,6BAA6B,uBACpC,qBAEN;;;iBC1Ba,YAAA,SAAqB;iBAQrB,mBAAA,SAA4B;;;cCqB/B,cAAmC,aAAA,CAAvB;;;iBC9BT,gBAAA,SAAyB"}
|
|
1
|
+
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/core/event-bus.ts","../src/core/is-document-visually-empty.ts","../src/core/serializer/compose-react-email.tsx","../src/core/serializer/email-node.ts","../src/core/create-paste-handler.ts","../src/core/use-editor.ts","../src/extensions/alignment-attribute.tsx","../src/extensions/body.tsx","../src/core/serializer/email-mark.ts","../src/extensions/bold.tsx","../src/extensions/button.tsx","../src/extensions/class-attribute.tsx","../src/extensions/code-block.tsx","../src/extensions/div.tsx","../src/extensions/divider.tsx","../src/extensions/global-content.ts","../src/extensions/heading.tsx","../src/extensions/link.tsx","../src/extensions/max-nesting.ts","../src/extensions/placeholder.ts","../src/extensions/preview-text.ts","../src/extensions/section.tsx","../src/extensions/style-attribute.tsx","../src/extensions/sup.tsx","../src/extensions/table.tsx","../src/extensions/underline.tsx","../src/extensions/uppercase.tsx","../src/extensions/blockquote.tsx","../src/extensions/bullet-list.tsx","../src/extensions/code.tsx","../src/extensions/columns.tsx","../src/extensions/hard-break.tsx","../src/extensions/italic.tsx","../src/extensions/list-item.tsx","../src/extensions/ordered-list.tsx","../src/extensions/paragraph.tsx","../src/extensions/preserved-style.tsx","../src/extensions/strike.tsx","../src/extensions/index.ts","../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","../src/utils/set-text-alignment.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UAciB,cAAA;;;KAIL,eAAA,SAAwB;KAExB,6BAA6B,6BAC9B,eAAe,cACd;UAEK,uBAAA;;;cAIX,cAAA;;qBAKe,4BACN,YACF,eAAe;aACH;;eAYV,4BACA,YACF,mBAAm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