@prosekit/vue 0.1.6 → 0.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.
@@ -27,9 +27,9 @@ import { Keymap } from '@prosekit/core';
27
27
  import type { Node as Node_2 } from '@prosekit/pm/model';
28
28
  import type { NodeViewConstructor } from '@prosekit/pm/view';
29
29
  import { Options } from 'tsup';
30
- import { PopoverOptions } from '@prosekit/lit/autocomplete-popover';
31
- import { PopoverOptions as PopoverOptions_alias_1 } from '@prosekit/lit/inline-popover';
32
30
  import { PopoverProps as PopoverProps_2 } from '@prosekit/lit/popover';
31
+ import { PositioningOptions } from '@prosekit/lit/autocomplete-popover';
32
+ import { PositioningOptions as PositioningOptions_alias_1 } from '@prosekit/lit/inline-popover';
33
33
  import { Priority } from '@prosekit/core';
34
34
  import { PublicProps } from 'vue';
35
35
  import { Ref } from 'vue';
@@ -131,7 +131,9 @@ export declare function defineVueNodeViewFactory(nodeViewFactory: NodeViewFactor
131
131
 
132
132
  export declare function injectEditor(): Editor;
133
133
 
134
- declare const InlinePopover: (props: InlinePopoverProps_2 & {
134
+ declare const InlinePopover: (props: {
135
+ editor: Editor<any>;
136
+ } & PopoverProps_2 & {
135
137
  class?: string | undefined;
136
138
  } & {}) => any;
137
139
  export { InlinePopover }
@@ -149,11 +151,11 @@ export declare const Popover: (props: PopoverProps_2 & {
149
151
  class?: string | undefined;
150
152
  } & {}) => any;
151
153
 
152
- export { PopoverOptions }
154
+ export declare type PopoverProps = PropsWithClass<PopoverProps_2>;
153
155
 
154
- export { PopoverOptions_alias_1 }
156
+ export { PositioningOptions }
155
157
 
156
- export declare type PopoverProps = PropsWithClass<PopoverProps_2>;
158
+ export { PositioningOptions_alias_1 }
157
159
 
158
160
  /**
159
161
  * @internal
@@ -1,3 +1,3 @@
1
- export { PopoverOptions } from './_tsup-dts-rollup';
1
+ export { PositioningOptions } from './_tsup-dts-rollup';
2
2
  export { AutocompletePopover_alias_1 as AutocompletePopover } from './_tsup-dts-rollup';
3
3
  export { AutocompletePopoverProps_alias_1 as AutocompletePopoverProps } from './_tsup-dts-rollup';
@@ -1,3 +1,3 @@
1
- export { PopoverOptions_alias_1 as PopoverOptions } from './_tsup-dts-rollup';
1
+ export { PositioningOptions_alias_1 as PositioningOptions } from './_tsup-dts-rollup';
2
2
  export { InlinePopover_alias_1 as InlinePopover } from './_tsup-dts-rollup';
3
3
  export { InlinePopoverProps_alias_1 as InlinePopoverProps } 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.1.6",
4
+ "version": "0.2.0",
5
5
  "private": false,
6
6
  "author": {
7
7
  "name": "ocavue",
@@ -96,7 +96,7 @@
96
96
  ],
97
97
  "dependencies": {
98
98
  "@prosekit/core": "^0.2.5",
99
- "@prosekit/lit": "^0.1.9",
99
+ "@prosekit/lit": "^0.2.0",
100
100
  "@prosekit/pm": "^0.1.1",
101
101
  "@prosemirror-adapter/core": "^0.2.6"
102
102
  },