@prosekit/vue 0.0.9 → 0.0.10

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.
@@ -0,0 +1,10 @@
1
+ import { CodeBlockPopoverProps as CodeBlockPopoverProps$1 } from '@prosekit/lit/components/code-block-popover';
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 };
@@ -0,0 +1,19 @@
1
+ // src/components/code-block-popover.gen.ts
2
+ import "@prosekit/lit/components/code-block-popover";
3
+ import { propNames } from "@prosekit/lit/components/code-block-popover";
4
+ import { defineComponent, h } from "vue";
5
+ var CodeBlockPopover = 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-code-block-popover", webComponentProps, (_a = slots.default) == null ? void 0 : _a.call(slots));
13
+ };
14
+ },
15
+ { props: ["class", ...propNames] }
16
+ );
17
+ export {
18
+ CodeBlockPopover
19
+ };
@@ -0,0 +1,10 @@
1
+ import { ComboBoxInputProps as ComboBoxInputProps$1 } from '@prosekit/lit/components/combo-box-input';
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 };
@@ -0,0 +1,19 @@
1
+ // src/components/combo-box-input.gen.ts
2
+ import "@prosekit/lit/components/combo-box-input";
3
+ import { propNames } from "@prosekit/lit/components/combo-box-input";
4
+ import { defineComponent, h } from "vue";
5
+ var ComboBoxInput = 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-combo-box-input", webComponentProps, (_a = slots.default) == null ? void 0 : _a.call(slots));
13
+ };
14
+ },
15
+ { props: ["class", ...propNames] }
16
+ );
17
+ export {
18
+ ComboBoxInput
19
+ };
@@ -0,0 +1,10 @@
1
+ import { ComboBoxItemProps as ComboBoxItemProps$1 } from '@prosekit/lit/components/combo-box-item';
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 };
@@ -0,0 +1,19 @@
1
+ // src/components/combo-box-item.gen.ts
2
+ import "@prosekit/lit/components/combo-box-item";
3
+ import { propNames } from "@prosekit/lit/components/combo-box-item";
4
+ import { defineComponent, h } from "vue";
5
+ var ComboBoxItem = 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-combo-box-item", webComponentProps, (_a = slots.default) == null ? void 0 : _a.call(slots));
13
+ };
14
+ },
15
+ { props: ["class", ...propNames] }
16
+ );
17
+ export {
18
+ ComboBoxItem
19
+ };
@@ -0,0 +1,10 @@
1
+ import { ComboBoxListProps as ComboBoxListProps$1 } from '@prosekit/lit/components/combo-box-list';
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 };
@@ -0,0 +1,19 @@
1
+ // src/components/combo-box-list.gen.ts
2
+ import "@prosekit/lit/components/combo-box-list";
3
+ import { propNames } from "@prosekit/lit/components/combo-box-list";
4
+ import { defineComponent, h } from "vue";
5
+ var ComboBoxList = 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-combo-box-list", webComponentProps, (_a = slots.default) == null ? void 0 : _a.call(slots));
13
+ };
14
+ },
15
+ { props: ["class", ...propNames] }
16
+ );
17
+ export {
18
+ ComboBoxList
19
+ };
@@ -0,0 +1,10 @@
1
+ import { ComboBoxProps as ComboBoxProps$1 } from '@prosekit/lit/components/combo-box';
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 };
@@ -0,0 +1,19 @@
1
+ // src/components/combo-box.gen.ts
2
+ import "@prosekit/lit/components/combo-box";
3
+ import { propNames } from "@prosekit/lit/components/combo-box";
4
+ import { defineComponent, h } from "vue";
5
+ var ComboBox = 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-combo-box", webComponentProps, (_a = slots.default) == null ? void 0 : _a.call(slots));
13
+ };
14
+ },
15
+ { props: ["class", ...propNames] }
16
+ );
17
+ export {
18
+ ComboBox
19
+ };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@prosekit/vue",
3
3
  "type": "module",
4
- "version": "0.0.9",
4
+ "version": "0.0.10",
5
5
  "private": false,
6
6
  "author": {
7
7
  "name": "ocavue",
@@ -49,6 +49,31 @@
49
49
  "types": "./dist/prosekit-vue-components-autocomplete-popover.d.ts",
50
50
  "import": "./dist/prosekit-vue-components-autocomplete-popover.js",
51
51
  "default": "./dist/prosekit-vue-components-autocomplete-popover.js"
52
+ },
53
+ "./components/code-block-popover": {
54
+ "types": "./dist/prosekit-vue-components-code-block-popover.d.ts",
55
+ "import": "./dist/prosekit-vue-components-code-block-popover.js",
56
+ "default": "./dist/prosekit-vue-components-code-block-popover.js"
57
+ },
58
+ "./components/combo-box": {
59
+ "types": "./dist/prosekit-vue-components-combo-box.d.ts",
60
+ "import": "./dist/prosekit-vue-components-combo-box.js",
61
+ "default": "./dist/prosekit-vue-components-combo-box.js"
62
+ },
63
+ "./components/combo-box-input": {
64
+ "types": "./dist/prosekit-vue-components-combo-box-input.d.ts",
65
+ "import": "./dist/prosekit-vue-components-combo-box-input.js",
66
+ "default": "./dist/prosekit-vue-components-combo-box-input.js"
67
+ },
68
+ "./components/combo-box-item": {
69
+ "types": "./dist/prosekit-vue-components-combo-box-item.d.ts",
70
+ "import": "./dist/prosekit-vue-components-combo-box-item.js",
71
+ "default": "./dist/prosekit-vue-components-combo-box-item.js"
72
+ },
73
+ "./components/combo-box-list": {
74
+ "types": "./dist/prosekit-vue-components-combo-box-list.d.ts",
75
+ "import": "./dist/prosekit-vue-components-combo-box-list.js",
76
+ "default": "./dist/prosekit-vue-components-combo-box-list.js"
52
77
  }
53
78
  },
54
79
  "files": [
@@ -56,7 +81,7 @@
56
81
  ],
57
82
  "dependencies": {
58
83
  "@prosekit/core": "^0.0.7",
59
- "@prosekit/lit": "^0.0.9"
84
+ "@prosekit/lit": "^0.0.10"
60
85
  },
61
86
  "peerDependencies": {
62
87
  "vue": ">= 3.0.0"
@@ -94,6 +119,21 @@
94
119
  ],
95
120
  "components/autocomplete-popover": [
96
121
  "./dist/prosekit-vue-components-autocomplete-popover.d.ts"
122
+ ],
123
+ "components/code-block-popover": [
124
+ "./dist/prosekit-vue-components-code-block-popover.d.ts"
125
+ ],
126
+ "components/combo-box": [
127
+ "./dist/prosekit-vue-components-combo-box.d.ts"
128
+ ],
129
+ "components/combo-box-input": [
130
+ "./dist/prosekit-vue-components-combo-box-input.d.ts"
131
+ ],
132
+ "components/combo-box-item": [
133
+ "./dist/prosekit-vue-components-combo-box-item.d.ts"
134
+ ],
135
+ "components/combo-box-list": [
136
+ "./dist/prosekit-vue-components-combo-box-list.d.ts"
97
137
  ]
98
138
  }
99
139
  }