@prosekit/vue 0.0.10 → 0.0.12
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/_tsup-dts-rollup.d.ts +141 -0
- package/dist/prosekit-vue-components-autocomplete-empty.d.ts +2 -10
- package/dist/prosekit-vue-components-autocomplete-item.d.ts +2 -10
- package/dist/prosekit-vue-components-autocomplete-list.d.ts +2 -10
- package/dist/prosekit-vue-components-autocomplete-popover.d.ts +3 -11
- package/dist/prosekit-vue-components-code-block-popover.d.ts +2 -10
- package/dist/prosekit-vue-components-combo-box-input.d.ts +2 -10
- package/dist/prosekit-vue-components-combo-box-item.d.ts +2 -10
- package/dist/prosekit-vue-components-combo-box-list.d.ts +2 -10
- package/dist/prosekit-vue-components-combo-box.d.ts +2 -10
- package/dist/prosekit-vue.d.ts +4 -14
- package/package.json +5 -5
@@ -0,0 +1,141 @@
|
|
1
|
+
import { AutocompleteEmptyProps as AutocompleteEmptyProps_2 } from '@prosekit/lit/components/autocomplete-empty';
|
2
|
+
import { AutocompleteItemProps as AutocompleteItemProps_2 } from '@prosekit/lit/components/autocomplete-item';
|
3
|
+
import { AutocompleteListProps as AutocompleteListProps_2 } from '@prosekit/lit/components/autocomplete-list';
|
4
|
+
import { AutocompletePopoverProps as AutocompletePopoverProps_2 } from '@prosekit/lit/components/autocomplete-popover';
|
5
|
+
import { CodeBlockPopoverProps as CodeBlockPopoverProps_2 } from '@prosekit/lit/components/code-block-popover';
|
6
|
+
import { ComboBoxInputProps as ComboBoxInputProps_2 } from '@prosekit/lit/components/combo-box-input';
|
7
|
+
import { ComboBoxItemProps as ComboBoxItemProps_2 } from '@prosekit/lit/components/combo-box-item';
|
8
|
+
import { ComboBoxListProps as ComboBoxListProps_2 } from '@prosekit/lit/components/combo-box-list';
|
9
|
+
import { ComboBoxProps as ComboBoxProps_2 } from '@prosekit/lit/components/combo-box';
|
10
|
+
import { Editor } from '@prosekit/core';
|
11
|
+
import { Extension } from '@prosekit/core';
|
12
|
+
import { Keymap } from '@prosekit/core';
|
13
|
+
import { Options } from 'tsup';
|
14
|
+
import { PopoverOptions } from '@prosekit/lit/components/autocomplete-popover';
|
15
|
+
import { UserProjectConfigExport } from 'vitest/dist/config.js';
|
16
|
+
|
17
|
+
declare const AutocompleteEmpty: (props: {
|
18
|
+
class?: string | undefined;
|
19
|
+
} & AutocompleteEmptyProps_2 & {}) => any;
|
20
|
+
export { AutocompleteEmpty }
|
21
|
+
export { AutocompleteEmpty as AutocompleteEmpty_alias_1 }
|
22
|
+
|
23
|
+
declare type AutocompleteEmptyProps = {
|
24
|
+
class?: string;
|
25
|
+
} & AutocompleteEmptyProps_2;
|
26
|
+
export { AutocompleteEmptyProps }
|
27
|
+
export { AutocompleteEmptyProps as AutocompleteEmptyProps_alias_1 }
|
28
|
+
|
29
|
+
declare const AutocompleteItem: (props: {
|
30
|
+
class?: string | undefined;
|
31
|
+
} & AutocompleteItemProps_2 & {}) => any;
|
32
|
+
export { AutocompleteItem }
|
33
|
+
export { AutocompleteItem as AutocompleteItem_alias_1 }
|
34
|
+
|
35
|
+
declare type AutocompleteItemProps = {
|
36
|
+
class?: string;
|
37
|
+
} & AutocompleteItemProps_2;
|
38
|
+
export { AutocompleteItemProps }
|
39
|
+
export { AutocompleteItemProps as AutocompleteItemProps_alias_1 }
|
40
|
+
|
41
|
+
declare const AutocompleteList: (props: {
|
42
|
+
class?: string | undefined;
|
43
|
+
} & AutocompleteListProps_2 & {}) => any;
|
44
|
+
export { AutocompleteList }
|
45
|
+
export { AutocompleteList as AutocompleteList_alias_1 }
|
46
|
+
|
47
|
+
declare type AutocompleteListProps = {
|
48
|
+
class?: string;
|
49
|
+
} & AutocompleteListProps_2;
|
50
|
+
export { AutocompleteListProps }
|
51
|
+
export { AutocompleteListProps as AutocompleteListProps_alias_1 }
|
52
|
+
|
53
|
+
declare const AutocompletePopover: (props: {
|
54
|
+
class?: string | undefined;
|
55
|
+
} & AutocompletePopoverProps_2 & {}) => any;
|
56
|
+
export { AutocompletePopover }
|
57
|
+
export { AutocompletePopover as AutocompletePopover_alias_1 }
|
58
|
+
|
59
|
+
declare type AutocompletePopoverProps = {
|
60
|
+
class?: string;
|
61
|
+
} & AutocompletePopoverProps_2;
|
62
|
+
export { AutocompletePopoverProps }
|
63
|
+
export { AutocompletePopoverProps as AutocompletePopoverProps_alias_1 }
|
64
|
+
|
65
|
+
export declare const CodeBlockPopover: (props: {
|
66
|
+
class?: string | undefined;
|
67
|
+
} & CodeBlockPopoverProps_2 & {}) => any;
|
68
|
+
|
69
|
+
export declare type CodeBlockPopoverProps = {
|
70
|
+
class?: string;
|
71
|
+
} & CodeBlockPopoverProps_2;
|
72
|
+
|
73
|
+
export declare const ComboBox: (props: {
|
74
|
+
class?: string | undefined;
|
75
|
+
} & ComboBoxProps_2 & {}) => any;
|
76
|
+
|
77
|
+
export declare const ComboBoxInput: (props: {
|
78
|
+
class?: string | undefined;
|
79
|
+
} & ComboBoxInputProps_2 & {}) => any;
|
80
|
+
|
81
|
+
export declare type ComboBoxInputProps = {
|
82
|
+
class?: string;
|
83
|
+
} & ComboBoxInputProps_2;
|
84
|
+
|
85
|
+
export declare const ComboBoxItem: (props: {
|
86
|
+
class?: string | undefined;
|
87
|
+
} & ComboBoxItemProps_2 & {}) => any;
|
88
|
+
|
89
|
+
export declare type ComboBoxItemProps = {
|
90
|
+
class?: string;
|
91
|
+
} & ComboBoxItemProps_2;
|
92
|
+
|
93
|
+
export declare const ComboBoxList: (props: {
|
94
|
+
class?: string | undefined;
|
95
|
+
} & ComboBoxListProps_2 & {}) => any;
|
96
|
+
|
97
|
+
export declare type ComboBoxListProps = {
|
98
|
+
class?: string;
|
99
|
+
} & ComboBoxListProps_2;
|
100
|
+
|
101
|
+
export declare type ComboBoxProps = {
|
102
|
+
class?: string;
|
103
|
+
} & ComboBoxProps_2;
|
104
|
+
|
105
|
+
export declare const default_alias: Options | Options[] | ((overrideOptions: Options) => Options | Options[] | Promise<Options | Options[]>);
|
106
|
+
|
107
|
+
export declare const default_alias_1: UserProjectConfigExport;
|
108
|
+
|
109
|
+
export declare function injectEditor(): Editor;
|
110
|
+
|
111
|
+
export { PopoverOptions }
|
112
|
+
|
113
|
+
declare const ProseKit: (props: ProseKitProps & {}) => any;
|
114
|
+
export { ProseKit }
|
115
|
+
export { ProseKit as ProseKit_alias_1 }
|
116
|
+
|
117
|
+
declare interface ProseKitProps {
|
118
|
+
editor: Editor;
|
119
|
+
}
|
120
|
+
export { ProseKitProps }
|
121
|
+
export { ProseKitProps as ProseKitProps_alias_1 }
|
122
|
+
|
123
|
+
export declare function provideEditor(editor: Editor): void;
|
124
|
+
|
125
|
+
declare function useEditor<E extends Extension = any>(): Editor<E>;
|
126
|
+
export { useEditor }
|
127
|
+
export { useEditor as useEditor_alias_1 }
|
128
|
+
|
129
|
+
export declare function useExtension({ extension }: UseExtensionProps): void;
|
130
|
+
|
131
|
+
declare interface UseExtensionProps<T extends Extension = Extension> {
|
132
|
+
extension: T;
|
133
|
+
}
|
134
|
+
|
135
|
+
declare function useKeymap({ keymap }: {
|
136
|
+
keymap: Keymap;
|
137
|
+
}): void;
|
138
|
+
export { useKeymap }
|
139
|
+
export { useKeymap as useKeymap_alias_1 }
|
140
|
+
|
141
|
+
export { }
|
@@ -1,10 +1,2 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
type AutocompleteEmptyProps = {
|
4
|
-
class?: string;
|
5
|
-
} & AutocompleteEmptyProps$1;
|
6
|
-
declare const AutocompleteEmpty: (props: {
|
7
|
-
class?: string | undefined;
|
8
|
-
} & AutocompleteEmptyProps$1 & {}) => any;
|
9
|
-
|
10
|
-
export { AutocompleteEmpty, AutocompleteEmptyProps };
|
1
|
+
export { AutocompleteEmpty_alias_1 as AutocompleteEmpty } from './_tsup-dts-rollup';
|
2
|
+
export { AutocompleteEmptyProps_alias_1 as AutocompleteEmptyProps } from './_tsup-dts-rollup';
|
@@ -1,10 +1,2 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
type AutocompleteItemProps = {
|
4
|
-
class?: string;
|
5
|
-
} & AutocompleteItemProps$1;
|
6
|
-
declare const AutocompleteItem: (props: {
|
7
|
-
class?: string | undefined;
|
8
|
-
} & AutocompleteItemProps$1 & {}) => any;
|
9
|
-
|
10
|
-
export { AutocompleteItem, AutocompleteItemProps };
|
1
|
+
export { AutocompleteItem_alias_1 as AutocompleteItem } from './_tsup-dts-rollup';
|
2
|
+
export { AutocompleteItemProps_alias_1 as AutocompleteItemProps } from './_tsup-dts-rollup';
|
@@ -1,10 +1,2 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
type AutocompleteListProps = {
|
4
|
-
class?: string;
|
5
|
-
} & AutocompleteListProps$1;
|
6
|
-
declare const AutocompleteList: (props: {
|
7
|
-
class?: string | undefined;
|
8
|
-
} & AutocompleteListProps$1 & {}) => any;
|
9
|
-
|
10
|
-
export { AutocompleteList, AutocompleteListProps };
|
1
|
+
export { AutocompleteList_alias_1 as AutocompleteList } from './_tsup-dts-rollup';
|
2
|
+
export { AutocompleteListProps_alias_1 as AutocompleteListProps } from './_tsup-dts-rollup';
|
@@ -1,11 +1,3 @@
|
|
1
|
-
|
2
|
-
export {
|
3
|
-
|
4
|
-
type AutocompletePopoverProps = {
|
5
|
-
class?: string;
|
6
|
-
} & AutocompletePopoverProps$1;
|
7
|
-
declare const AutocompletePopover: (props: {
|
8
|
-
class?: string | undefined;
|
9
|
-
} & AutocompletePopoverProps$1 & {}) => any;
|
10
|
-
|
11
|
-
export { AutocompletePopover, AutocompletePopoverProps };
|
1
|
+
export { PopoverOptions } from './_tsup-dts-rollup';
|
2
|
+
export { AutocompletePopover_alias_1 as AutocompletePopover } from './_tsup-dts-rollup';
|
3
|
+
export { AutocompletePopoverProps_alias_1 as AutocompletePopoverProps } from './_tsup-dts-rollup';
|
@@ -1,10 +1,2 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
type CodeBlockPopoverProps = {
|
4
|
-
class?: string;
|
5
|
-
} & CodeBlockPopoverProps$1;
|
6
|
-
declare const CodeBlockPopover: (props: {
|
7
|
-
class?: string | undefined;
|
8
|
-
} & CodeBlockPopoverProps$1 & {}) => any;
|
9
|
-
|
10
|
-
export { CodeBlockPopover, CodeBlockPopoverProps };
|
1
|
+
export { CodeBlockPopoverProps } from './_tsup-dts-rollup';
|
2
|
+
export { CodeBlockPopover } from './_tsup-dts-rollup';
|
@@ -1,10 +1,2 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
type ComboBoxInputProps = {
|
4
|
-
class?: string;
|
5
|
-
} & ComboBoxInputProps$1;
|
6
|
-
declare const ComboBoxInput: (props: {
|
7
|
-
class?: string | undefined;
|
8
|
-
} & ComboBoxInputProps$1 & {}) => any;
|
9
|
-
|
10
|
-
export { ComboBoxInput, ComboBoxInputProps };
|
1
|
+
export { ComboBoxInputProps } from './_tsup-dts-rollup';
|
2
|
+
export { ComboBoxInput } from './_tsup-dts-rollup';
|
@@ -1,10 +1,2 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
type ComboBoxItemProps = {
|
4
|
-
class?: string;
|
5
|
-
} & ComboBoxItemProps$1;
|
6
|
-
declare const ComboBoxItem: (props: {
|
7
|
-
class?: string | undefined;
|
8
|
-
} & ComboBoxItemProps$1 & {}) => any;
|
9
|
-
|
10
|
-
export { ComboBoxItem, ComboBoxItemProps };
|
1
|
+
export { ComboBoxItemProps } from './_tsup-dts-rollup';
|
2
|
+
export { ComboBoxItem } from './_tsup-dts-rollup';
|
@@ -1,10 +1,2 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
type ComboBoxListProps = {
|
4
|
-
class?: string;
|
5
|
-
} & ComboBoxListProps$1;
|
6
|
-
declare const ComboBoxList: (props: {
|
7
|
-
class?: string | undefined;
|
8
|
-
} & ComboBoxListProps$1 & {}) => any;
|
9
|
-
|
10
|
-
export { ComboBoxList, ComboBoxListProps };
|
1
|
+
export { ComboBoxListProps } from './_tsup-dts-rollup';
|
2
|
+
export { ComboBoxList } from './_tsup-dts-rollup';
|
@@ -1,10 +1,2 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
type ComboBoxProps = {
|
4
|
-
class?: string;
|
5
|
-
} & ComboBoxProps$1;
|
6
|
-
declare const ComboBox: (props: {
|
7
|
-
class?: string | undefined;
|
8
|
-
} & ComboBoxProps$1 & {}) => any;
|
9
|
-
|
10
|
-
export { ComboBox, ComboBoxProps };
|
1
|
+
export { ComboBoxProps } from './_tsup-dts-rollup';
|
2
|
+
export { ComboBox } from './_tsup-dts-rollup';
|
package/dist/prosekit-vue.d.ts
CHANGED
@@ -1,14 +1,4 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
}
|
6
|
-
declare const ProseKit: (props: ProseKitProps & {}) => any;
|
7
|
-
|
8
|
-
declare function useKeymap({ keymap }: {
|
9
|
-
keymap: Keymap;
|
10
|
-
}): void;
|
11
|
-
|
12
|
-
declare function useEditor<E extends Extension = any>(): Editor<E>;
|
13
|
-
|
14
|
-
export { ProseKit, ProseKitProps, useEditor, useKeymap };
|
1
|
+
export { ProseKit } from './_tsup-dts-rollup';
|
2
|
+
export { ProseKitProps } from './_tsup-dts-rollup';
|
3
|
+
export { useKeymap } from './_tsup-dts-rollup';
|
4
|
+
export { useEditor } from './_tsup-dts-rollup';
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@prosekit/vue",
|
3
3
|
"type": "module",
|
4
|
-
"version": "0.0.
|
4
|
+
"version": "0.0.12",
|
5
5
|
"private": false,
|
6
6
|
"author": {
|
7
7
|
"name": "ocavue",
|
@@ -80,8 +80,8 @@
|
|
80
80
|
"dist"
|
81
81
|
],
|
82
82
|
"dependencies": {
|
83
|
-
"@prosekit/core": "^0.0.
|
84
|
-
"@prosekit/lit": "^0.0.
|
83
|
+
"@prosekit/core": "^0.0.9",
|
84
|
+
"@prosekit/lit": "^0.0.12"
|
85
85
|
},
|
86
86
|
"peerDependencies": {
|
87
87
|
"vue": ">= 3.0.0"
|
@@ -94,8 +94,8 @@
|
|
94
94
|
"devDependencies": {
|
95
95
|
"@prosekit/dev": "*",
|
96
96
|
"tsup": "^7.2.0",
|
97
|
-
"typescript": "^5.
|
98
|
-
"vitest": "^0.34.
|
97
|
+
"typescript": "^5.2.2",
|
98
|
+
"vitest": "^0.34.3",
|
99
99
|
"vue": "^3.3.4"
|
100
100
|
},
|
101
101
|
"scripts": {
|