@prosekit/solid 0.0.20 → 0.0.21
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.
@@ -11,6 +11,7 @@ import { Component } from 'solid-js';
|
|
11
11
|
import { Context } from 'solid-js';
|
12
12
|
import { Editor } from '@prosekit/core';
|
13
13
|
import { Extension } from '@prosekit/core';
|
14
|
+
import type { InlinePopoverProps as InlinePopoverProps_2 } from '@prosekit/lit/inline-popover';
|
14
15
|
import type { JSXElement } from 'solid-js';
|
15
16
|
import { Keymap } from '@prosekit/core';
|
16
17
|
import { Options } from 'tsup';
|
@@ -108,6 +109,13 @@ declare interface EditorContext {
|
|
108
109
|
|
109
110
|
export declare const editorContext: Context<EditorContext | null>;
|
110
111
|
|
112
|
+
export declare const InlinePopover: Component<InlinePopoverProps>;
|
113
|
+
|
114
|
+
export declare type InlinePopoverProps = {
|
115
|
+
class?: string;
|
116
|
+
children?: JSXElement;
|
117
|
+
} & InlinePopoverProps_2;
|
118
|
+
|
111
119
|
export declare const Popover: Component<PopoverProps>;
|
112
120
|
|
113
121
|
export { PopoverOptions }
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@prosekit/solid",
|
3
3
|
"type": "module",
|
4
|
-
"version": "0.0.
|
4
|
+
"version": "0.0.21",
|
5
5
|
"private": false,
|
6
6
|
"author": {
|
7
7
|
"name": "ocavue",
|
@@ -75,6 +75,11 @@
|
|
75
75
|
"import": "./dist/prosekit-solid-combo-box-list.js",
|
76
76
|
"default": "./dist/prosekit-solid-combo-box-list.js"
|
77
77
|
},
|
78
|
+
"./inline-popover": {
|
79
|
+
"types": "./dist/prosekit-solid-inline-popover.d.ts",
|
80
|
+
"import": "./dist/prosekit-solid-inline-popover.js",
|
81
|
+
"default": "./dist/prosekit-solid-inline-popover.js"
|
82
|
+
},
|
78
83
|
"./popover": {
|
79
84
|
"types": "./dist/prosekit-solid-popover.d.ts",
|
80
85
|
"import": "./dist/prosekit-solid-popover.js",
|
@@ -85,8 +90,8 @@
|
|
85
90
|
"dist"
|
86
91
|
],
|
87
92
|
"dependencies": {
|
88
|
-
"@prosekit/core": "^0.0.
|
89
|
-
"@prosekit/lit": "^0.0.
|
93
|
+
"@prosekit/core": "^0.0.19",
|
94
|
+
"@prosekit/lit": "^0.0.23"
|
90
95
|
},
|
91
96
|
"peerDependencies": {
|
92
97
|
"solid-js": ">= 1.7.0"
|
@@ -140,6 +145,9 @@
|
|
140
145
|
"combo-box-list": [
|
141
146
|
"./dist/prosekit-solid-combo-box-list.d.ts"
|
142
147
|
],
|
148
|
+
"inline-popover": [
|
149
|
+
"./dist/prosekit-solid-inline-popover.d.ts"
|
150
|
+
],
|
143
151
|
"popover": [
|
144
152
|
"./dist/prosekit-solid-popover.d.ts"
|
145
153
|
]
|