@prosekit/preact 0.0.5 → 0.0.7

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
+ import { ComponentChildren, ComponentType } from 'preact';
3
+
4
+ type CodeBlockPopoverProps = {
5
+ class?: string;
6
+ children?: ComponentChildren;
7
+ } & CodeBlockPopoverProps$1;
8
+ declare const CodeBlockPopover: ComponentType<CodeBlockPopoverProps>;
9
+
10
+ export { CodeBlockPopover, CodeBlockPopoverProps };
@@ -0,0 +1,9 @@
1
+ // src/components/code-block-popover.gen.ts
2
+ import "@prosekit/lit/components/code-block-popover";
3
+ import { h } from "preact";
4
+ var CodeBlockPopover = (props) => {
5
+ return h("prosekit-code-block-popover", props);
6
+ };
7
+ export {
8
+ CodeBlockPopover
9
+ };
@@ -0,0 +1,10 @@
1
+ import { ComboBoxInputProps as ComboBoxInputProps$1 } from '@prosekit/lit/components/combo-box-input';
2
+ import { ComponentChildren, ComponentType } from 'preact';
3
+
4
+ type ComboBoxInputProps = {
5
+ class?: string;
6
+ children?: ComponentChildren;
7
+ } & ComboBoxInputProps$1;
8
+ declare const ComboBoxInput: ComponentType<ComboBoxInputProps>;
9
+
10
+ export { ComboBoxInput, ComboBoxInputProps };
@@ -0,0 +1,9 @@
1
+ // src/components/combo-box-input.gen.ts
2
+ import "@prosekit/lit/components/combo-box-input";
3
+ import { h } from "preact";
4
+ var ComboBoxInput = (props) => {
5
+ return h("prosekit-combo-box-input", props);
6
+ };
7
+ export {
8
+ ComboBoxInput
9
+ };
@@ -0,0 +1,10 @@
1
+ import { ComboBoxItemProps as ComboBoxItemProps$1 } from '@prosekit/lit/components/combo-box-item';
2
+ import { ComponentChildren, ComponentType } from 'preact';
3
+
4
+ type ComboBoxItemProps = {
5
+ class?: string;
6
+ children?: ComponentChildren;
7
+ } & ComboBoxItemProps$1;
8
+ declare const ComboBoxItem: ComponentType<ComboBoxItemProps>;
9
+
10
+ export { ComboBoxItem, ComboBoxItemProps };
@@ -0,0 +1,9 @@
1
+ // src/components/combo-box-item.gen.ts
2
+ import "@prosekit/lit/components/combo-box-item";
3
+ import { h } from "preact";
4
+ var ComboBoxItem = (props) => {
5
+ return h("prosekit-combo-box-item", props);
6
+ };
7
+ export {
8
+ ComboBoxItem
9
+ };
@@ -0,0 +1,10 @@
1
+ import { ComboBoxListProps as ComboBoxListProps$1 } from '@prosekit/lit/components/combo-box-list';
2
+ import { ComponentChildren, ComponentType } from 'preact';
3
+
4
+ type ComboBoxListProps = {
5
+ class?: string;
6
+ children?: ComponentChildren;
7
+ } & ComboBoxListProps$1;
8
+ declare const ComboBoxList: ComponentType<ComboBoxListProps>;
9
+
10
+ export { ComboBoxList, ComboBoxListProps };
@@ -0,0 +1,9 @@
1
+ // src/components/combo-box-list.gen.ts
2
+ import "@prosekit/lit/components/combo-box-list";
3
+ import { h } from "preact";
4
+ var ComboBoxList = (props) => {
5
+ return h("prosekit-combo-box-list", props);
6
+ };
7
+ export {
8
+ ComboBoxList
9
+ };
@@ -0,0 +1,10 @@
1
+ import { ComboBoxProps as ComboBoxProps$1 } from '@prosekit/lit/components/combo-box';
2
+ import { ComponentChildren, ComponentType } from 'preact';
3
+
4
+ type ComboBoxProps = {
5
+ class?: string;
6
+ children?: ComponentChildren;
7
+ } & ComboBoxProps$1;
8
+ declare const ComboBox: ComponentType<ComboBoxProps>;
9
+
10
+ export { ComboBox, ComboBoxProps };
@@ -0,0 +1,9 @@
1
+ // src/components/combo-box.gen.ts
2
+ import "@prosekit/lit/components/combo-box";
3
+ import { h } from "preact";
4
+ var ComboBox = (props) => {
5
+ return h("prosekit-combo-box", props);
6
+ };
7
+ export {
8
+ ComboBox
9
+ };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@prosekit/preact",
3
3
  "type": "module",
4
- "version": "0.0.5",
4
+ "version": "0.0.7",
5
5
  "private": false,
6
6
  "author": {
7
7
  "name": "ocavue",
@@ -49,14 +49,39 @@
49
49
  "types": "./dist/prosekit-preact-components-autocomplete-popover.d.ts",
50
50
  "import": "./dist/prosekit-preact-components-autocomplete-popover.js",
51
51
  "default": "./dist/prosekit-preact-components-autocomplete-popover.js"
52
+ },
53
+ "./components/code-block-popover": {
54
+ "types": "./dist/prosekit-preact-components-code-block-popover.d.ts",
55
+ "import": "./dist/prosekit-preact-components-code-block-popover.js",
56
+ "default": "./dist/prosekit-preact-components-code-block-popover.js"
57
+ },
58
+ "./components/combo-box": {
59
+ "types": "./dist/prosekit-preact-components-combo-box.d.ts",
60
+ "import": "./dist/prosekit-preact-components-combo-box.js",
61
+ "default": "./dist/prosekit-preact-components-combo-box.js"
62
+ },
63
+ "./components/combo-box-input": {
64
+ "types": "./dist/prosekit-preact-components-combo-box-input.d.ts",
65
+ "import": "./dist/prosekit-preact-components-combo-box-input.js",
66
+ "default": "./dist/prosekit-preact-components-combo-box-input.js"
67
+ },
68
+ "./components/combo-box-item": {
69
+ "types": "./dist/prosekit-preact-components-combo-box-item.d.ts",
70
+ "import": "./dist/prosekit-preact-components-combo-box-item.js",
71
+ "default": "./dist/prosekit-preact-components-combo-box-item.js"
72
+ },
73
+ "./components/combo-box-list": {
74
+ "types": "./dist/prosekit-preact-components-combo-box-list.d.ts",
75
+ "import": "./dist/prosekit-preact-components-combo-box-list.js",
76
+ "default": "./dist/prosekit-preact-components-combo-box-list.js"
52
77
  }
53
78
  },
54
79
  "files": [
55
80
  "dist"
56
81
  ],
57
82
  "dependencies": {
58
- "@prosekit/core": "^0.0.6",
59
- "@prosekit/lit": "^0.0.8"
83
+ "@prosekit/core": "^0.0.7",
84
+ "@prosekit/lit": "^0.0.10"
60
85
  },
61
86
  "peerDependencies": {
62
87
  "preact": ">= 9.0.0"
@@ -69,9 +94,9 @@
69
94
  "devDependencies": {
70
95
  "@prosekit/dev": "*",
71
96
  "preact": "^10.16.0",
72
- "tsup": "^7.1.0",
97
+ "tsup": "^7.2.0",
73
98
  "typescript": "^5.1.6",
74
- "vitest": "^0.33.0"
99
+ "vitest": "^0.34.1"
75
100
  },
76
101
  "scripts": {
77
102
  "build:tsup": "tsup",
@@ -94,6 +119,21 @@
94
119
  ],
95
120
  "components/autocomplete-popover": [
96
121
  "./dist/prosekit-preact-components-autocomplete-popover.d.ts"
122
+ ],
123
+ "components/code-block-popover": [
124
+ "./dist/prosekit-preact-components-code-block-popover.d.ts"
125
+ ],
126
+ "components/combo-box": [
127
+ "./dist/prosekit-preact-components-combo-box.d.ts"
128
+ ],
129
+ "components/combo-box-input": [
130
+ "./dist/prosekit-preact-components-combo-box-input.d.ts"
131
+ ],
132
+ "components/combo-box-item": [
133
+ "./dist/prosekit-preact-components-combo-box-item.d.ts"
134
+ ],
135
+ "components/combo-box-list": [
136
+ "./dist/prosekit-preact-components-combo-box-list.d.ts"
97
137
  ]
98
138
  }
99
139
  }