@prosekit/solid 0.0.6 → 0.0.8

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.
@@ -1,8 +1,8 @@
1
1
  // src/components/autocomplete-empty.gen.ts
2
2
  import "@prosekit/lit/components/autocomplete-empty";
3
- import h from "solid-js/h";
3
+ import html from "solid-js/html";
4
4
  var AutocompleteEmpty = (props) => {
5
- return h("prosekit-autocomplete-empty", props);
5
+ return html`<prosekit-autocomplete-empty ...${props} />`;
6
6
  };
7
7
  export {
8
8
  AutocompleteEmpty
@@ -1,8 +1,8 @@
1
1
  // src/components/autocomplete-item.gen.ts
2
2
  import "@prosekit/lit/components/autocomplete-item";
3
- import h from "solid-js/h";
3
+ import html from "solid-js/html";
4
4
  var AutocompleteItem = (props) => {
5
- return h("prosekit-autocomplete-item", props);
5
+ return html`<prosekit-autocomplete-item ...${props} />`;
6
6
  };
7
7
  export {
8
8
  AutocompleteItem
@@ -1,8 +1,8 @@
1
1
  // src/components/autocomplete-list.gen.ts
2
2
  import "@prosekit/lit/components/autocomplete-list";
3
- import h from "solid-js/h";
3
+ import html from "solid-js/html";
4
4
  var AutocompleteList = (props) => {
5
- return h("prosekit-autocomplete-list", props);
5
+ return html`<prosekit-autocomplete-list ...${props} />`;
6
6
  };
7
7
  export {
8
8
  AutocompleteList
@@ -1,8 +1,8 @@
1
1
  // src/components/autocomplete-popover.gen.ts
2
2
  import "@prosekit/lit/components/autocomplete-popover";
3
- import h from "solid-js/h";
3
+ import html from "solid-js/html";
4
4
  var AutocompletePopover = (props) => {
5
- return h("prosekit-autocomplete-popover", props);
5
+ return html`<prosekit-autocomplete-popover ...${props} />`;
6
6
  };
7
7
  export {
8
8
  AutocompletePopover
@@ -0,0 +1,10 @@
1
+ import { CodeBlockPopoverProps as CodeBlockPopoverProps$1 } from '@prosekit/lit/components/code-block-popover';
2
+ import { JSXElement, Component } from 'solid-js';
3
+
4
+ type CodeBlockPopoverProps = {
5
+ class?: string;
6
+ children?: JSXElement;
7
+ } & CodeBlockPopoverProps$1;
8
+ declare const CodeBlockPopover: Component<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 html from "solid-js/html";
4
+ var CodeBlockPopover = (props) => {
5
+ return html`<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 { JSXElement, Component } from 'solid-js';
3
+
4
+ type ComboBoxInputProps = {
5
+ class?: string;
6
+ children?: JSXElement;
7
+ } & ComboBoxInputProps$1;
8
+ declare const ComboBoxInput: Component<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 html from "solid-js/html";
4
+ var ComboBoxInput = (props) => {
5
+ return html`<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 { JSXElement, Component } from 'solid-js';
3
+
4
+ type ComboBoxItemProps = {
5
+ class?: string;
6
+ children?: JSXElement;
7
+ } & ComboBoxItemProps$1;
8
+ declare const ComboBoxItem: Component<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 html from "solid-js/html";
4
+ var ComboBoxItem = (props) => {
5
+ return html`<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 { JSXElement, Component } from 'solid-js';
3
+
4
+ type ComboBoxListProps = {
5
+ class?: string;
6
+ children?: JSXElement;
7
+ } & ComboBoxListProps$1;
8
+ declare const ComboBoxList: Component<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 html from "solid-js/html";
4
+ var ComboBoxList = (props) => {
5
+ return html`<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 { JSXElement, Component } from 'solid-js';
3
+
4
+ type ComboBoxProps = {
5
+ class?: string;
6
+ children?: JSXElement;
7
+ } & ComboBoxProps$1;
8
+ declare const ComboBox: Component<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 html from "solid-js/html";
4
+ var ComboBox = (props) => {
5
+ return html`<prosekit-combo-box ...${props} />`;
6
+ };
7
+ export {
8
+ ComboBox
9
+ };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@prosekit/solid",
3
3
  "type": "module",
4
- "version": "0.0.6",
4
+ "version": "0.0.8",
5
5
  "private": false,
6
6
  "author": {
7
7
  "name": "ocavue",
@@ -49,14 +49,39 @@
49
49
  "types": "./dist/prosekit-solid-components-autocomplete-popover.d.ts",
50
50
  "import": "./dist/prosekit-solid-components-autocomplete-popover.js",
51
51
  "default": "./dist/prosekit-solid-components-autocomplete-popover.js"
52
+ },
53
+ "./components/code-block-popover": {
54
+ "types": "./dist/prosekit-solid-components-code-block-popover.d.ts",
55
+ "import": "./dist/prosekit-solid-components-code-block-popover.js",
56
+ "default": "./dist/prosekit-solid-components-code-block-popover.js"
57
+ },
58
+ "./components/combo-box": {
59
+ "types": "./dist/prosekit-solid-components-combo-box.d.ts",
60
+ "import": "./dist/prosekit-solid-components-combo-box.js",
61
+ "default": "./dist/prosekit-solid-components-combo-box.js"
62
+ },
63
+ "./components/combo-box-input": {
64
+ "types": "./dist/prosekit-solid-components-combo-box-input.d.ts",
65
+ "import": "./dist/prosekit-solid-components-combo-box-input.js",
66
+ "default": "./dist/prosekit-solid-components-combo-box-input.js"
67
+ },
68
+ "./components/combo-box-item": {
69
+ "types": "./dist/prosekit-solid-components-combo-box-item.d.ts",
70
+ "import": "./dist/prosekit-solid-components-combo-box-item.js",
71
+ "default": "./dist/prosekit-solid-components-combo-box-item.js"
72
+ },
73
+ "./components/combo-box-list": {
74
+ "types": "./dist/prosekit-solid-components-combo-box-list.d.ts",
75
+ "import": "./dist/prosekit-solid-components-combo-box-list.js",
76
+ "default": "./dist/prosekit-solid-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
  "solid-js": ">= 1.7.0"
@@ -68,10 +93,10 @@
68
93
  },
69
94
  "devDependencies": {
70
95
  "@prosekit/dev": "*",
71
- "solid-js": "^1.7.8",
72
- "tsup": "^7.1.0",
96
+ "solid-js": "^1.7.11",
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-solid-components-autocomplete-popover.d.ts"
122
+ ],
123
+ "components/code-block-popover": [
124
+ "./dist/prosekit-solid-components-code-block-popover.d.ts"
125
+ ],
126
+ "components/combo-box": [
127
+ "./dist/prosekit-solid-components-combo-box.d.ts"
128
+ ],
129
+ "components/combo-box-input": [
130
+ "./dist/prosekit-solid-components-combo-box-input.d.ts"
131
+ ],
132
+ "components/combo-box-item": [
133
+ "./dist/prosekit-solid-components-combo-box-item.d.ts"
134
+ ],
135
+ "components/combo-box-list": [
136
+ "./dist/prosekit-solid-components-combo-box-list.d.ts"
97
137
  ]
98
138
  }
99
139
  }