@mantine-vue/tiptap 3.0.0 → 3.2.0
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 +725 -588
- package/cjs/index.cjs.map +1 -1
- package/esm/index.mjs +725 -614
- package/esm/index.mjs.map +1 -1
- package/lib/RichTextEditor.d.ts +63 -2674
- package/lib/RichTextEditor.types.d.ts +83 -0
- package/lib/RichTextEditor.vue.d.ts +25 -0
- package/lib/RichTextEditorContent/RichTextEditorContent.d.ts +8 -42
- package/lib/RichTextEditorContent/RichTextEditorContent.types.d.ts +18 -0
- package/lib/RichTextEditorContent/RichTextEditorContent.vue.d.ts +4 -0
- package/lib/RichTextEditorControl/RichTextEditorColorControl.d.ts +8 -17
- package/lib/RichTextEditorControl/RichTextEditorColorControl.types.d.ts +15 -0
- package/lib/RichTextEditorControl/RichTextEditorColorControl.vue.d.ts +4 -0
- package/lib/RichTextEditorControl/RichTextEditorColorPickerControl.d.ts +8 -39
- package/lib/RichTextEditorControl/RichTextEditorColorPickerControl.types.d.ts +19 -0
- package/lib/RichTextEditorControl/RichTextEditorColorPickerControl.vue.d.ts +4 -0
- package/lib/RichTextEditorControl/RichTextEditorControl.d.ts +18 -240
- package/lib/RichTextEditorControl/RichTextEditorControl.types.d.ts +91 -0
- package/lib/RichTextEditorControl/RichTextEditorControl.vue.d.ts +11 -0
- package/lib/RichTextEditorControl/RichTextEditorControlBase.vue.d.ts +11 -0
- package/lib/RichTextEditorControl/RichTextEditorGeneratedControl.vue.d.ts +11 -0
- package/lib/RichTextEditorControl/RichTextEditorLinkControl.d.ts +9 -81
- package/lib/RichTextEditorControl/RichTextEditorLinkControl.types.d.ts +34 -0
- package/lib/RichTextEditorControl/RichTextEditorLinkControl.vue.d.ts +11 -0
- package/lib/RichTextEditorControl/RichTextEditorSourceCodeControl.d.ts +8 -6
- package/lib/RichTextEditorControl/RichTextEditorSourceCodeControl.types.d.ts +10 -0
- package/lib/RichTextEditorControl/RichTextEditorSourceCodeControl.vue.d.ts +3 -0
- package/lib/RichTextEditorControl/controls.d.ts +248 -2139
- package/lib/RichTextEditorControl/use-editor-selector.d.ts +3 -0
- package/lib/RichTextEditorControlsGroup/RichTextEditorControlsGroup.d.ts +9 -50
- package/lib/RichTextEditorControlsGroup/RichTextEditorControlsGroup.types.d.ts +24 -0
- package/lib/RichTextEditorControlsGroup/RichTextEditorControlsGroup.vue.d.ts +11 -0
- package/lib/RichTextEditorToolbar/RichTextEditorToolbar.d.ts +9 -81
- package/lib/RichTextEditorToolbar/RichTextEditorToolbar.types.d.ts +32 -0
- package/lib/RichTextEditorToolbar/RichTextEditorToolbar.vue.d.ts +11 -0
- package/lib/icons/Icons.d.ts +40 -113
- package/lib/icons/RichTextEditorIcon.d.ts +5 -0
- package/lib/icons/RichTextEditorIcon.types.d.ts +10 -0
- package/lib/icons/RichTextEditorIcon.vue.d.ts +4 -0
- package/package.json +3 -3
|
@@ -1,50 +1,9 @@
|
|
|
1
|
-
export
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}
|
|
9
|
-
export
|
|
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>;
|
|
1
|
+
export declare const RichTextEditorControlsGroup: import("@mantine-vue/core").MantineComponent<{
|
|
2
|
+
props: import("./RichTextEditorControlsGroup.types").RichTextEditorControlsGroupProps;
|
|
3
|
+
slots: import("./RichTextEditorControlsGroup.types").RichTextEditorControlsGroupSlots;
|
|
4
|
+
ref: HTMLDivElement;
|
|
5
|
+
element: "div";
|
|
6
|
+
stylesNames: import("./RichTextEditorControlsGroup.types").RichTextEditorControlsGroupStylesNames;
|
|
7
|
+
compound: true;
|
|
8
|
+
}>;
|
|
9
|
+
export type { RichTextEditorControlsGroupFactory, RichTextEditorControlsGroupOwnProps, RichTextEditorControlsGroupProps, RichTextEditorControlsGroupSlots, RichTextEditorControlsGroupStylesNames, } from './RichTextEditorControlsGroup.types';
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import type { VNodeChild } from 'vue';
|
|
2
|
+
import type { BoxProps, Factory, StylesApiProps } from '@mantine-vue/core';
|
|
3
|
+
export type RichTextEditorControlsGroupStylesNames = 'controlsGroup';
|
|
4
|
+
export interface RichTextEditorControlsGroupRuntimeProps {
|
|
5
|
+
classNames?: unknown;
|
|
6
|
+
styles?: unknown;
|
|
7
|
+
vars?: unknown;
|
|
8
|
+
unstyled?: boolean;
|
|
9
|
+
variant?: string;
|
|
10
|
+
}
|
|
11
|
+
export type RichTextEditorControlsGroupOwnProps = StylesApiProps<RichTextEditorControlsGroupFactory>;
|
|
12
|
+
export interface RichTextEditorControlsGroupProps extends Omit<BoxProps, keyof RichTextEditorControlsGroupOwnProps | 'component'>, RichTextEditorControlsGroupOwnProps {
|
|
13
|
+
}
|
|
14
|
+
export interface RichTextEditorControlsGroupSlots {
|
|
15
|
+
default?: () => VNodeChild;
|
|
16
|
+
}
|
|
17
|
+
export type RichTextEditorControlsGroupFactory = Factory<{
|
|
18
|
+
props: RichTextEditorControlsGroupProps;
|
|
19
|
+
slots: RichTextEditorControlsGroupSlots;
|
|
20
|
+
ref: HTMLDivElement;
|
|
21
|
+
element: 'div';
|
|
22
|
+
stylesNames: RichTextEditorControlsGroupStylesNames;
|
|
23
|
+
compound: true;
|
|
24
|
+
}>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { RichTextEditorControlsGroupRuntimeProps, RichTextEditorControlsGroupSlots } from './RichTextEditorControlsGroup.types';
|
|
2
|
+
type __VLS_Slots = RichTextEditorControlsGroupSlots;
|
|
3
|
+
declare const __VLS_base: import("vue").DefineComponent<RichTextEditorControlsGroupRuntimeProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<RichTextEditorControlsGroupRuntimeProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
4
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
5
|
+
declare const _default: typeof __VLS_export;
|
|
6
|
+
export default _default;
|
|
7
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
8
|
+
new (): {
|
|
9
|
+
$slots: S;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
@@ -1,81 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
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>;
|
|
1
|
+
export declare const RichTextEditorToolbar: import("@mantine-vue/core").MantineComponent<{
|
|
2
|
+
props: import("./RichTextEditorToolbar.types").RichTextEditorToolbarProps;
|
|
3
|
+
slots: import("./RichTextEditorToolbar.types").RichTextEditorToolbarSlots;
|
|
4
|
+
ref: HTMLDivElement;
|
|
5
|
+
element: "div";
|
|
6
|
+
stylesNames: import("./RichTextEditorToolbar.types").RichTextEditorToolbarStylesNames;
|
|
7
|
+
compound: true;
|
|
8
|
+
}>;
|
|
9
|
+
export type { RichTextEditorToolbarFactory, RichTextEditorToolbarOwnProps, RichTextEditorToolbarProps, RichTextEditorToolbarSlots, RichTextEditorToolbarStylesNames, } from './RichTextEditorToolbar.types';
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import type { VNodeChild } from 'vue';
|
|
2
|
+
import type { BoxMod, BoxProps, Factory, StylesApiProps } from '@mantine-vue/core';
|
|
3
|
+
export type RichTextEditorToolbarStylesNames = 'toolbar';
|
|
4
|
+
export interface RichTextEditorToolbarRuntimeProps {
|
|
5
|
+
classNames?: unknown;
|
|
6
|
+
styles?: unknown;
|
|
7
|
+
vars?: unknown;
|
|
8
|
+
unstyled?: boolean;
|
|
9
|
+
sticky?: boolean;
|
|
10
|
+
stickyOffset?: string | number;
|
|
11
|
+
mod?: BoxMod;
|
|
12
|
+
variant?: string;
|
|
13
|
+
}
|
|
14
|
+
export interface RichTextEditorToolbarOwnProps extends StylesApiProps<RichTextEditorToolbarFactory> {
|
|
15
|
+
/** Determines whether sticky positioning is enabled. @default false */
|
|
16
|
+
sticky?: boolean;
|
|
17
|
+
/** Top offset used for sticky positioning. @default 0 */
|
|
18
|
+
stickyOffset?: string | number;
|
|
19
|
+
}
|
|
20
|
+
export interface RichTextEditorToolbarProps extends Omit<BoxProps, keyof RichTextEditorToolbarOwnProps | 'component'>, RichTextEditorToolbarOwnProps {
|
|
21
|
+
}
|
|
22
|
+
export interface RichTextEditorToolbarSlots {
|
|
23
|
+
default?: () => VNodeChild;
|
|
24
|
+
}
|
|
25
|
+
export type RichTextEditorToolbarFactory = Factory<{
|
|
26
|
+
props: RichTextEditorToolbarProps;
|
|
27
|
+
slots: RichTextEditorToolbarSlots;
|
|
28
|
+
ref: HTMLDivElement;
|
|
29
|
+
element: 'div';
|
|
30
|
+
stylesNames: RichTextEditorToolbarStylesNames;
|
|
31
|
+
compound: true;
|
|
32
|
+
}>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { RichTextEditorToolbarRuntimeProps, RichTextEditorToolbarSlots } from './RichTextEditorToolbar.types';
|
|
2
|
+
type __VLS_Slots = RichTextEditorToolbarSlots;
|
|
3
|
+
declare const __VLS_base: import("vue").DefineComponent<RichTextEditorToolbarRuntimeProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<RichTextEditorToolbarRuntimeProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
4
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
5
|
+
declare const _default: typeof __VLS_export;
|
|
6
|
+
export default _default;
|
|
7
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
8
|
+
new (): {
|
|
9
|
+
$slots: S;
|
|
10
|
+
};
|
|
11
|
+
};
|
package/lib/icons/Icons.d.ts
CHANGED
|
@@ -1,115 +1,42 @@
|
|
|
1
|
+
import type { Component } from 'vue';
|
|
1
2
|
export interface IconProps {
|
|
2
|
-
style?:
|
|
3
|
-
class?:
|
|
3
|
+
style?: unknown;
|
|
4
|
+
class?: unknown;
|
|
4
5
|
}
|
|
5
|
-
export declare const IconBold:
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
export declare const
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
export declare const
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
export declare const
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
export declare const
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
export declare const
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
export declare const
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
export declare const
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
export declare const
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
export declare const
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
export declare const
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
export declare const
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
export declare const
|
|
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>;
|
|
6
|
+
export declare const IconBold: Component<IconProps>;
|
|
7
|
+
export declare const IconItalic: Component<IconProps>;
|
|
8
|
+
export declare const IconUnderline: Component<IconProps>;
|
|
9
|
+
export declare const IconStrikethrough: Component<IconProps>;
|
|
10
|
+
export declare const IconClearFormatting: Component<IconProps>;
|
|
11
|
+
export declare const IconH1: Component<IconProps>;
|
|
12
|
+
export declare const IconH2: Component<IconProps>;
|
|
13
|
+
export declare const IconH3: Component<IconProps>;
|
|
14
|
+
export declare const IconH4: Component<IconProps>;
|
|
15
|
+
export declare const IconH5: Component<IconProps>;
|
|
16
|
+
export declare const IconH6: Component<IconProps>;
|
|
17
|
+
export declare const IconList: Component<IconProps>;
|
|
18
|
+
export declare const IconListNumbers: Component<IconProps>;
|
|
19
|
+
export declare const IconUnlink: Component<IconProps>;
|
|
20
|
+
export declare const IconBlockquote: Component<IconProps>;
|
|
21
|
+
export declare const IconAlignLeft: Component<IconProps>;
|
|
22
|
+
export declare const IconAlignRight: Component<IconProps>;
|
|
23
|
+
export declare const IconAlignCenter: Component<IconProps>;
|
|
24
|
+
export declare const IconAlignJustified: Component<IconProps>;
|
|
25
|
+
export declare const IconSubscript: Component<IconProps>;
|
|
26
|
+
export declare const IconSuperscript: Component<IconProps>;
|
|
27
|
+
export declare const IconCode: Component<IconProps>;
|
|
28
|
+
export declare const IconHighlight: Component<IconProps>;
|
|
29
|
+
export declare const IconLineDashed: Component<IconProps>;
|
|
30
|
+
export declare const IconCircleOff: Component<IconProps>;
|
|
31
|
+
export declare const IconColorPicker: Component<IconProps>;
|
|
32
|
+
export declare const IconX: Component<IconProps>;
|
|
33
|
+
export declare const IconPalette: Component<IconProps>;
|
|
34
|
+
export declare const IconCheck: Component<IconProps>;
|
|
35
|
+
export declare const IconLink: Component<IconProps>;
|
|
36
|
+
export declare const IconExternalLink: Component<IconProps>;
|
|
37
|
+
export declare const IconArrowBackUp: Component<IconProps>;
|
|
38
|
+
export declare const IconArrowForwardUp: Component<IconProps>;
|
|
39
|
+
export declare const IconListCheck: Component<IconProps>;
|
|
40
|
+
export declare const IconIndentIncrease: Component<IconProps>;
|
|
41
|
+
export declare const IconIndentDecrease: Component<IconProps>;
|
|
42
|
+
export declare const IconBraces: Component<IconProps>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { Factory } from '@mantine-vue/core';
|
|
2
|
+
export interface RichTextEditorIconProps {
|
|
3
|
+
/** SVG path data rendered by the icon. */
|
|
4
|
+
paths: string[];
|
|
5
|
+
}
|
|
6
|
+
export type RichTextEditorIconFactory = Factory<{
|
|
7
|
+
props: RichTextEditorIconProps;
|
|
8
|
+
ref: SVGSVGElement;
|
|
9
|
+
element: 'svg';
|
|
10
|
+
}>;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { RichTextEditorIconProps } from './RichTextEditorIcon.types';
|
|
2
|
+
declare const __VLS_export: import("vue").DefineComponent<RichTextEditorIconProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<RichTextEditorIconProps> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
3
|
+
declare const _default: typeof __VLS_export;
|
|
4
|
+
export default _default;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mantine-vue/tiptap",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.2.0",
|
|
4
4
|
"description": "Vue rich text editor based on tiptap, equivalent to @mantine/tiptap",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"files": [
|
|
@@ -45,8 +45,8 @@
|
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
47
|
"@floating-ui/dom": "^1.0.0",
|
|
48
|
-
"@mantine-vue/core": "3.
|
|
49
|
-
"@mantine-vue/hooks": "3.
|
|
48
|
+
"@mantine-vue/core": "3.2.0",
|
|
49
|
+
"@mantine-vue/hooks": "3.2.0",
|
|
50
50
|
"@tiptap/core": ">=3.3.0",
|
|
51
51
|
"@tiptap/extension-link": ">=3.3.0",
|
|
52
52
|
"@tiptap/pm": ">=3.3.0",
|