@prosekit/vue 0.0.23 → 0.0.24

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.
@@ -9,9 +9,11 @@ import { ComboBoxListProps as ComboBoxListProps_2 } from '@prosekit/lit/combo-bo
9
9
  import { ComboBoxProps as ComboBoxProps_2 } from '@prosekit/lit/combo-box';
10
10
  import { Editor } from '@prosekit/core';
11
11
  import { Extension } from '@prosekit/core';
12
+ import { InlinePopoverProps as InlinePopoverProps_2 } from '@prosekit/lit/inline-popover';
12
13
  import { Keymap } from '@prosekit/core';
13
14
  import { Options } from 'tsup';
14
15
  import { PopoverOptions } from '@prosekit/lit/autocomplete-popover';
16
+ import { PopoverOptions as PopoverOptions_alias_1 } from '@prosekit/lit/inline-popover';
15
17
  import { PopoverProps as PopoverProps_2 } from '@prosekit/lit/popover';
16
18
  import { ShallowRef } from 'vue';
17
19
  import { UserProjectConfigExport } from 'vitest/dist/config.js';
@@ -110,12 +112,26 @@ export declare const default_alias_1: UserProjectConfigExport;
110
112
 
111
113
  export declare function injectEditor(): Editor;
112
114
 
115
+ declare const InlinePopover: (props: {
116
+ class?: string | undefined;
117
+ } & InlinePopoverProps_2 & {}) => any;
118
+ export { InlinePopover }
119
+ export { InlinePopover as InlinePopover_alias_1 }
120
+
121
+ declare type InlinePopoverProps = {
122
+ class?: string;
123
+ } & InlinePopoverProps_2;
124
+ export { InlinePopoverProps }
125
+ export { InlinePopoverProps as InlinePopoverProps_alias_1 }
126
+
113
127
  export declare const Popover: (props: {
114
128
  class?: string | undefined;
115
129
  } & PopoverProps_2 & {}) => any;
116
130
 
117
131
  export { PopoverOptions }
118
132
 
133
+ export { PopoverOptions_alias_1 }
134
+
119
135
  export declare type PopoverProps = {
120
136
  class?: string;
121
137
  } & PopoverProps_2;
@@ -0,0 +1,3 @@
1
+ export { PopoverOptions_alias_1 as PopoverOptions } from './_tsup-dts-rollup';
2
+ export { InlinePopover_alias_1 as InlinePopover } from './_tsup-dts-rollup';
3
+ export { InlinePopoverProps_alias_1 as InlinePopoverProps } from './_tsup-dts-rollup';
@@ -0,0 +1,19 @@
1
+ // src/components/inline-popover.gen.ts
2
+ import "@prosekit/lit/inline-popover";
3
+ import { propNames } from "@prosekit/lit/inline-popover";
4
+ import { defineComponent, h } from "vue";
5
+ var InlinePopover = defineComponent(
6
+ (props, { slots }) => {
7
+ return () => {
8
+ var _a;
9
+ const webComponentProps = Object.fromEntries(
10
+ Object.entries(props).filter((entry) => entry[1] !== void 0).map(([key, value]) => [(key === "class" ? "" : ".") + key, value])
11
+ );
12
+ return h("prosekit-inline-popover", webComponentProps, (_a = slots.default) == null ? void 0 : _a.call(slots));
13
+ };
14
+ },
15
+ { props: ["class", ...propNames] }
16
+ );
17
+ export {
18
+ InlinePopover
19
+ };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@prosekit/vue",
3
3
  "type": "module",
4
- "version": "0.0.23",
4
+ "version": "0.0.24",
5
5
  "private": false,
6
6
  "author": {
7
7
  "name": "ocavue",
@@ -75,6 +75,11 @@
75
75
  "import": "./dist/prosekit-vue-combo-box-list.js",
76
76
  "default": "./dist/prosekit-vue-combo-box-list.js"
77
77
  },
78
+ "./inline-popover": {
79
+ "types": "./dist/prosekit-vue-inline-popover.d.ts",
80
+ "import": "./dist/prosekit-vue-inline-popover.js",
81
+ "default": "./dist/prosekit-vue-inline-popover.js"
82
+ },
78
83
  "./popover": {
79
84
  "types": "./dist/prosekit-vue-popover.d.ts",
80
85
  "import": "./dist/prosekit-vue-popover.js",
@@ -85,8 +90,8 @@
85
90
  "dist"
86
91
  ],
87
92
  "dependencies": {
88
- "@prosekit/core": "^0.0.18",
89
- "@prosekit/lit": "^0.0.22"
93
+ "@prosekit/core": "^0.0.19",
94
+ "@prosekit/lit": "^0.0.23"
90
95
  },
91
96
  "peerDependencies": {
92
97
  "vue": ">= 3.0.0"
@@ -140,6 +145,9 @@
140
145
  "combo-box-list": [
141
146
  "./dist/prosekit-vue-combo-box-list.d.ts"
142
147
  ],
148
+ "inline-popover": [
149
+ "./dist/prosekit-vue-inline-popover.d.ts"
150
+ ],
143
151
  "popover": [
144
152
  "./dist/prosekit-vue-popover.d.ts"
145
153
  ]