@mantine-vue/tiptap 1.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/index.cjs +1413 -0
- package/cjs/index.cjs.map +1 -0
- package/esm/index.mjs +1346 -0
- package/esm/index.mjs.map +1 -0
- package/lib/RichTextEditor.context.d.ts +21 -0
- package/lib/RichTextEditor.d.ts +2674 -0
- package/lib/RichTextEditorContent/RichTextEditorContent.d.ts +42 -0
- package/lib/RichTextEditorControl/RichTextEditorColorControl.d.ts +17 -0
- package/lib/RichTextEditorControl/RichTextEditorColorPickerControl.d.ts +39 -0
- package/lib/RichTextEditorControl/RichTextEditorControl.d.ts +241 -0
- package/lib/RichTextEditorControl/RichTextEditorLinkControl.d.ts +81 -0
- package/lib/RichTextEditorControl/RichTextEditorSourceCodeControl.d.ts +6 -0
- package/lib/RichTextEditorControl/controls.d.ts +2139 -0
- package/lib/RichTextEditorControl/index.d.ts +6 -0
- package/lib/RichTextEditorControlsGroup/RichTextEditorControlsGroup.d.ts +50 -0
- package/lib/RichTextEditorToolbar/RichTextEditorToolbar.d.ts +81 -0
- package/lib/extensions/Link.d.ts +1 -0
- package/lib/extensions/TaskList.d.ts +1 -0
- package/lib/extensions/index.d.ts +2 -0
- package/lib/icons/Icons.d.ts +115 -0
- package/lib/index.d.mts +8 -0
- package/lib/index.d.ts +8 -0
- package/lib/labels.d.ts +49 -0
- package/package.json +56 -0
- package/styles.css +450 -0
- package/styles.layer.css +452 -0
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export * from './RichTextEditorControl';
|
|
2
|
+
export * from './RichTextEditorColorControl';
|
|
3
|
+
export * from './RichTextEditorColorPickerControl';
|
|
4
|
+
export * from './RichTextEditorLinkControl';
|
|
5
|
+
export * from './RichTextEditorSourceCodeControl';
|
|
6
|
+
export * from './controls';
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
export type RichTextEditorControlsGroupStylesNames = 'controlsGroup';
|
|
2
|
+
export interface RichTextEditorControlsGroupProps {
|
|
3
|
+
variant?: string;
|
|
4
|
+
classNames?: any;
|
|
5
|
+
styles?: any;
|
|
6
|
+
vars?: any;
|
|
7
|
+
[key: string]: any;
|
|
8
|
+
}
|
|
9
|
+
export declare const RichTextEditorControlsGroup: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
10
|
+
variant: {
|
|
11
|
+
type: StringConstructor;
|
|
12
|
+
default: undefined;
|
|
13
|
+
};
|
|
14
|
+
classNames: {
|
|
15
|
+
type: (ObjectConstructor | FunctionConstructor)[];
|
|
16
|
+
default: undefined;
|
|
17
|
+
};
|
|
18
|
+
styles: {
|
|
19
|
+
type: (ObjectConstructor | FunctionConstructor)[];
|
|
20
|
+
default: undefined;
|
|
21
|
+
};
|
|
22
|
+
vars: {
|
|
23
|
+
type: (ObjectConstructor | FunctionConstructor)[];
|
|
24
|
+
default: undefined;
|
|
25
|
+
};
|
|
26
|
+
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
27
|
+
[key: string]: any;
|
|
28
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
29
|
+
variant: {
|
|
30
|
+
type: StringConstructor;
|
|
31
|
+
default: undefined;
|
|
32
|
+
};
|
|
33
|
+
classNames: {
|
|
34
|
+
type: (ObjectConstructor | FunctionConstructor)[];
|
|
35
|
+
default: undefined;
|
|
36
|
+
};
|
|
37
|
+
styles: {
|
|
38
|
+
type: (ObjectConstructor | FunctionConstructor)[];
|
|
39
|
+
default: undefined;
|
|
40
|
+
};
|
|
41
|
+
vars: {
|
|
42
|
+
type: (ObjectConstructor | FunctionConstructor)[];
|
|
43
|
+
default: undefined;
|
|
44
|
+
};
|
|
45
|
+
}>> & Readonly<{}>, {
|
|
46
|
+
variant: string;
|
|
47
|
+
classNames: Function | Record<string, any>;
|
|
48
|
+
styles: Function | Record<string, any>;
|
|
49
|
+
vars: Function | Record<string, any>;
|
|
50
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { type PropType } from 'vue';
|
|
2
|
+
export type RichTextEditorToolbarStylesNames = 'toolbar';
|
|
3
|
+
export interface RichTextEditorToolbarProps {
|
|
4
|
+
sticky?: boolean;
|
|
5
|
+
stickyOffset?: string | number;
|
|
6
|
+
variant?: string;
|
|
7
|
+
classNames?: any;
|
|
8
|
+
styles?: any;
|
|
9
|
+
vars?: any;
|
|
10
|
+
mod?: any;
|
|
11
|
+
[key: string]: any;
|
|
12
|
+
}
|
|
13
|
+
export declare const RichTextEditorToolbar: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
14
|
+
sticky: {
|
|
15
|
+
type: BooleanConstructor;
|
|
16
|
+
default: boolean;
|
|
17
|
+
};
|
|
18
|
+
stickyOffset: {
|
|
19
|
+
type: PropType<string | number>;
|
|
20
|
+
default: undefined;
|
|
21
|
+
};
|
|
22
|
+
variant: {
|
|
23
|
+
type: StringConstructor;
|
|
24
|
+
default: undefined;
|
|
25
|
+
};
|
|
26
|
+
classNames: {
|
|
27
|
+
type: (ObjectConstructor | FunctionConstructor)[];
|
|
28
|
+
default: undefined;
|
|
29
|
+
};
|
|
30
|
+
styles: {
|
|
31
|
+
type: (ObjectConstructor | FunctionConstructor)[];
|
|
32
|
+
default: undefined;
|
|
33
|
+
};
|
|
34
|
+
vars: {
|
|
35
|
+
type: (ObjectConstructor | FunctionConstructor)[];
|
|
36
|
+
default: undefined;
|
|
37
|
+
};
|
|
38
|
+
mod: {
|
|
39
|
+
type: PropType<any>;
|
|
40
|
+
default: undefined;
|
|
41
|
+
};
|
|
42
|
+
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
43
|
+
[key: string]: any;
|
|
44
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
45
|
+
sticky: {
|
|
46
|
+
type: BooleanConstructor;
|
|
47
|
+
default: boolean;
|
|
48
|
+
};
|
|
49
|
+
stickyOffset: {
|
|
50
|
+
type: PropType<string | number>;
|
|
51
|
+
default: undefined;
|
|
52
|
+
};
|
|
53
|
+
variant: {
|
|
54
|
+
type: StringConstructor;
|
|
55
|
+
default: undefined;
|
|
56
|
+
};
|
|
57
|
+
classNames: {
|
|
58
|
+
type: (ObjectConstructor | FunctionConstructor)[];
|
|
59
|
+
default: undefined;
|
|
60
|
+
};
|
|
61
|
+
styles: {
|
|
62
|
+
type: (ObjectConstructor | FunctionConstructor)[];
|
|
63
|
+
default: undefined;
|
|
64
|
+
};
|
|
65
|
+
vars: {
|
|
66
|
+
type: (ObjectConstructor | FunctionConstructor)[];
|
|
67
|
+
default: undefined;
|
|
68
|
+
};
|
|
69
|
+
mod: {
|
|
70
|
+
type: PropType<any>;
|
|
71
|
+
default: undefined;
|
|
72
|
+
};
|
|
73
|
+
}>> & Readonly<{}>, {
|
|
74
|
+
variant: string;
|
|
75
|
+
classNames: Function | Record<string, any>;
|
|
76
|
+
styles: Function | Record<string, any>;
|
|
77
|
+
sticky: boolean;
|
|
78
|
+
mod: any;
|
|
79
|
+
vars: Function | Record<string, any>;
|
|
80
|
+
stickyOffset: string | number;
|
|
81
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const Link: import("@tiptap/core").Mark<import("@tiptap/extension-link").LinkOptions, any>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const getTaskListExtension: <T>(TipTapTaskList: T) => T;
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
export interface IconProps {
|
|
2
|
+
style?: any;
|
|
3
|
+
class?: any;
|
|
4
|
+
}
|
|
5
|
+
export declare const IconBold: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
6
|
+
[key: string]: any;
|
|
7
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
8
|
+
export declare const IconItalic: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
9
|
+
[key: string]: any;
|
|
10
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
11
|
+
export declare const IconUnderline: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
12
|
+
[key: string]: any;
|
|
13
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
14
|
+
export declare const IconStrikethrough: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
15
|
+
[key: string]: any;
|
|
16
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
17
|
+
export declare const IconClearFormatting: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
18
|
+
[key: string]: any;
|
|
19
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
20
|
+
export declare const IconH1: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
21
|
+
[key: string]: any;
|
|
22
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
23
|
+
export declare const IconH2: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
24
|
+
[key: string]: any;
|
|
25
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
26
|
+
export declare const IconH3: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
27
|
+
[key: string]: any;
|
|
28
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
29
|
+
export declare const IconH4: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
30
|
+
[key: string]: any;
|
|
31
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
32
|
+
export declare const IconH5: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
33
|
+
[key: string]: any;
|
|
34
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
35
|
+
export declare const IconH6: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
36
|
+
[key: string]: any;
|
|
37
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
38
|
+
export declare const IconList: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
39
|
+
[key: string]: any;
|
|
40
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
41
|
+
export declare const IconListNumbers: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
42
|
+
[key: string]: any;
|
|
43
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
44
|
+
export declare const IconUnlink: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
45
|
+
[key: string]: any;
|
|
46
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
47
|
+
export declare const IconBlockquote: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
48
|
+
[key: string]: any;
|
|
49
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
50
|
+
export declare const IconAlignLeft: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
51
|
+
[key: string]: any;
|
|
52
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
53
|
+
export declare const IconAlignRight: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
54
|
+
[key: string]: any;
|
|
55
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
56
|
+
export declare const IconAlignCenter: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
57
|
+
[key: string]: any;
|
|
58
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
59
|
+
export declare const IconAlignJustified: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
60
|
+
[key: string]: any;
|
|
61
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
62
|
+
export declare const IconSubscript: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
63
|
+
[key: string]: any;
|
|
64
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
65
|
+
export declare const IconSuperscript: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
66
|
+
[key: string]: any;
|
|
67
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
68
|
+
export declare const IconCode: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
69
|
+
[key: string]: any;
|
|
70
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
71
|
+
export declare const IconHighlight: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
72
|
+
[key: string]: any;
|
|
73
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
74
|
+
export declare const IconLineDashed: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
75
|
+
[key: string]: any;
|
|
76
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
77
|
+
export declare const IconCircleOff: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
78
|
+
[key: string]: any;
|
|
79
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
80
|
+
export declare const IconColorPicker: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
81
|
+
[key: string]: any;
|
|
82
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
83
|
+
export declare const IconX: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
84
|
+
[key: string]: any;
|
|
85
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
86
|
+
export declare const IconPalette: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
87
|
+
[key: string]: any;
|
|
88
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
89
|
+
export declare const IconCheck: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
90
|
+
[key: string]: any;
|
|
91
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
92
|
+
export declare const IconLink: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
93
|
+
[key: string]: any;
|
|
94
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
95
|
+
export declare const IconExternalLink: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
96
|
+
[key: string]: any;
|
|
97
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
98
|
+
export declare const IconArrowBackUp: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
99
|
+
[key: string]: any;
|
|
100
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
101
|
+
export declare const IconArrowForwardUp: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
102
|
+
[key: string]: any;
|
|
103
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
104
|
+
export declare const IconListCheck: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
105
|
+
[key: string]: any;
|
|
106
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
107
|
+
export declare const IconIndentIncrease: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
108
|
+
[key: string]: any;
|
|
109
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
110
|
+
export declare const IconIndentDecrease: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
111
|
+
[key: string]: any;
|
|
112
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
113
|
+
export declare const IconBraces: import("vue").DefineComponent<{}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
114
|
+
[key: string]: any;
|
|
115
|
+
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
package/lib/index.d.mts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export { RichTextEditor } from './RichTextEditor';
|
|
2
|
+
export { useRichTextEditorContext } from './RichTextEditor.context';
|
|
3
|
+
export type { RichTextEditorContextValue } from './RichTextEditor.context';
|
|
4
|
+
export type { RichTextEditorFactory, RichTextEditorProps, RichTextEditorStylesNames, RichTextEditorVariant, RichTextEditorContentProps, RichTextEditorControlProps, RichTextEditorControlsGroupProps, RichTextEditorToolbarProps, } from './RichTextEditor';
|
|
5
|
+
export type { RichTextEditorLabels } from './labels';
|
|
6
|
+
export { DEFAULT_LABELS } from './labels';
|
|
7
|
+
export * from './RichTextEditorControl';
|
|
8
|
+
export * from './extensions';
|
package/lib/index.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export { RichTextEditor } from './RichTextEditor';
|
|
2
|
+
export { useRichTextEditorContext } from './RichTextEditor.context';
|
|
3
|
+
export type { RichTextEditorContextValue } from './RichTextEditor.context';
|
|
4
|
+
export type { RichTextEditorFactory, RichTextEditorProps, RichTextEditorStylesNames, RichTextEditorVariant, RichTextEditorContentProps, RichTextEditorControlProps, RichTextEditorControlsGroupProps, RichTextEditorToolbarProps, } from './RichTextEditor';
|
|
5
|
+
export type { RichTextEditorLabels } from './labels';
|
|
6
|
+
export { DEFAULT_LABELS } from './labels';
|
|
7
|
+
export * from './RichTextEditorControl';
|
|
8
|
+
export * from './extensions';
|
package/lib/labels.d.ts
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
export interface RichTextEditorLabels {
|
|
2
|
+
boldControlLabel: string;
|
|
3
|
+
hrControlLabel: string;
|
|
4
|
+
italicControlLabel: string;
|
|
5
|
+
underlineControlLabel: string;
|
|
6
|
+
strikeControlLabel: string;
|
|
7
|
+
clearFormattingControlLabel: string;
|
|
8
|
+
linkControlLabel: string;
|
|
9
|
+
unlinkControlLabel: string;
|
|
10
|
+
bulletListControlLabel: string;
|
|
11
|
+
orderedListControlLabel: string;
|
|
12
|
+
h1ControlLabel: string;
|
|
13
|
+
h2ControlLabel: string;
|
|
14
|
+
h3ControlLabel: string;
|
|
15
|
+
h4ControlLabel: string;
|
|
16
|
+
h5ControlLabel: string;
|
|
17
|
+
h6ControlLabel: string;
|
|
18
|
+
blockquoteControlLabel: string;
|
|
19
|
+
alignLeftControlLabel: string;
|
|
20
|
+
alignCenterControlLabel: string;
|
|
21
|
+
alignRightControlLabel: string;
|
|
22
|
+
alignJustifyControlLabel: string;
|
|
23
|
+
codeControlLabel: string;
|
|
24
|
+
codeBlockControlLabel: string;
|
|
25
|
+
subscriptControlLabel: string;
|
|
26
|
+
superscriptControlLabel: string;
|
|
27
|
+
colorPickerControlLabel: string;
|
|
28
|
+
unsetColorControlLabel: string;
|
|
29
|
+
highlightControlLabel: string;
|
|
30
|
+
undoControlLabel: string;
|
|
31
|
+
redoControlLabel: string;
|
|
32
|
+
colorControlLabel: (color: string) => string;
|
|
33
|
+
sourceCodeControlLabel: string;
|
|
34
|
+
linkEditorInputLabel: string;
|
|
35
|
+
linkEditorInputPlaceholder: string;
|
|
36
|
+
linkEditorExternalLink: string;
|
|
37
|
+
linkEditorInternalLink: string;
|
|
38
|
+
linkEditorSave: string;
|
|
39
|
+
colorPickerCancel: string;
|
|
40
|
+
colorPickerClear: string;
|
|
41
|
+
colorPickerColorPicker: string;
|
|
42
|
+
colorPickerPalette: string;
|
|
43
|
+
colorPickerSave: string;
|
|
44
|
+
colorPickerColorLabel: (color: string) => string;
|
|
45
|
+
tasksControlLabel: string;
|
|
46
|
+
tasksSinkLabel: string;
|
|
47
|
+
tasksLiftLabel: string;
|
|
48
|
+
}
|
|
49
|
+
export declare const DEFAULT_LABELS: RichTextEditorLabels;
|
package/package.json
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@mantine-vue/tiptap",
|
|
3
|
+
"version": "1.1.2",
|
|
4
|
+
"description": "Vue rich text editor based on tiptap, equivalent to @mantine/tiptap",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"files": [
|
|
7
|
+
"cjs",
|
|
8
|
+
"esm",
|
|
9
|
+
"lib",
|
|
10
|
+
"styles.css",
|
|
11
|
+
"styles.layer.css",
|
|
12
|
+
"styles"
|
|
13
|
+
],
|
|
14
|
+
"sideEffects": [
|
|
15
|
+
"*.css"
|
|
16
|
+
],
|
|
17
|
+
"main": "./cjs/index.cjs",
|
|
18
|
+
"module": "./esm/index.mjs",
|
|
19
|
+
"types": "./lib/index.d.ts",
|
|
20
|
+
"exports": {
|
|
21
|
+
".": {
|
|
22
|
+
"import": {
|
|
23
|
+
"types": "./lib/index.d.mts",
|
|
24
|
+
"default": "./esm/index.mjs"
|
|
25
|
+
},
|
|
26
|
+
"require": {
|
|
27
|
+
"types": "./lib/index.d.ts",
|
|
28
|
+
"default": "./cjs/index.cjs"
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"./styles.css": "./styles.css",
|
|
32
|
+
"./styles.layer.css": "./styles.layer.css"
|
|
33
|
+
},
|
|
34
|
+
"devDependencies": {
|
|
35
|
+
"@floating-ui/dom": "^1.7.4",
|
|
36
|
+
"@mantine-vue/core": "workspace:*",
|
|
37
|
+
"@mantine-vue/hooks": "workspace:*",
|
|
38
|
+
"@tiptap/core": ">=3.3.0",
|
|
39
|
+
"@tiptap/extension-link": ">=3.3.0",
|
|
40
|
+
"@tiptap/pm": ">=3.3.0",
|
|
41
|
+
"@tiptap/vue-3": ">=3.3.0",
|
|
42
|
+
"@vue/compiler-dom": "^3.5.0",
|
|
43
|
+
"@vue/test-utils": "^2.4.6",
|
|
44
|
+
"vue": "^3.5.0"
|
|
45
|
+
},
|
|
46
|
+
"peerDependencies": {
|
|
47
|
+
"@floating-ui/dom": "^1.0.0",
|
|
48
|
+
"@mantine-vue/core": "1.1.1",
|
|
49
|
+
"@mantine-vue/hooks": "1.1.2",
|
|
50
|
+
"@tiptap/core": ">=3.3.0",
|
|
51
|
+
"@tiptap/extension-link": ">=3.3.0",
|
|
52
|
+
"@tiptap/pm": ">=3.3.0",
|
|
53
|
+
"@tiptap/vue-3": ">=3.3.0",
|
|
54
|
+
"vue": "^3.5.0"
|
|
55
|
+
}
|
|
56
|
+
}
|