@prosekit/solid 0.7.0-beta.3 → 0.7.0-beta.5
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.
- package/dist/editor-context.js +0 -2
- package/dist/editor-context.js.map +1 -1
- package/dist/prosekit-solid-autocomplete.d.ts +22 -73
- package/dist/prosekit-solid-autocomplete.d.ts.map +1 -1
- package/dist/prosekit-solid-autocomplete.js +7 -52
- package/dist/prosekit-solid-autocomplete.js.map +1 -1
- package/dist/prosekit-solid-block-handle.d.ts +22 -73
- package/dist/prosekit-solid-block-handle.d.ts.map +1 -1
- package/dist/prosekit-solid-block-handle.js +7 -52
- package/dist/prosekit-solid-block-handle.js.map +1 -1
- package/dist/prosekit-solid-drop-indicator.d.ts +4 -15
- package/dist/prosekit-solid-drop-indicator.d.ts.map +1 -1
- package/dist/prosekit-solid-drop-indicator.js +1 -10
- package/dist/prosekit-solid-drop-indicator.js.map +1 -1
- package/dist/prosekit-solid-inline-popover.d.ts +15 -46
- package/dist/prosekit-solid-inline-popover.d.ts.map +1 -1
- package/dist/prosekit-solid-inline-popover.js +5 -32
- package/dist/prosekit-solid-inline-popover.js.map +1 -1
- package/dist/prosekit-solid-menu.d.ts +61 -101
- package/dist/prosekit-solid-menu.d.ts.map +1 -1
- package/dist/prosekit-solid-menu.js +52 -76
- package/dist/prosekit-solid-menu.js.map +1 -1
- package/dist/prosekit-solid-popover.d.ts +18 -59
- package/dist/prosekit-solid-popover.d.ts.map +1 -1
- package/dist/prosekit-solid-popover.js +6 -42
- package/dist/prosekit-solid-popover.js.map +1 -1
- package/dist/prosekit-solid-resizable.d.ts +10 -31
- package/dist/prosekit-solid-resizable.d.ts.map +1 -1
- package/dist/prosekit-solid-resizable.js +4 -22
- package/dist/prosekit-solid-resizable.js.map +1 -1
- package/dist/prosekit-solid-table-handle.d.ts +44 -155
- package/dist/prosekit-solid-table-handle.d.ts.map +1 -1
- package/dist/prosekit-solid-table-handle.js +11 -110
- package/dist/prosekit-solid-table-handle.js.map +1 -1
- package/dist/prosekit-solid-tooltip.d.ts +18 -59
- package/dist/prosekit-solid-tooltip.d.ts.map +1 -1
- package/dist/prosekit-solid-tooltip.js +6 -42
- package/dist/prosekit-solid-tooltip.js.map +1 -1
- package/dist/prosekit-solid.d.ts +0 -21
- package/dist/prosekit-solid.d.ts.map +1 -1
- package/dist/prosekit-solid.js +0 -28
- package/dist/prosekit-solid.js.map +1 -1
- package/package.json +4 -4
- package/src/components/autocomplete/autocomplete-empty.gen.ts +5 -15
- package/src/components/autocomplete/autocomplete-item.gen.ts +5 -17
- package/src/components/autocomplete/autocomplete-popup.gen.ts +5 -17
- package/src/components/autocomplete/autocomplete-positioner.gen.ts +5 -15
- package/src/components/autocomplete/autocomplete-root.gen.ts +5 -17
- package/src/components/autocomplete/index.gen.ts +4 -8
- package/src/components/block-handle/block-handle-add.gen.ts +5 -15
- package/src/components/block-handle/block-handle-draggable.gen.ts +5 -15
- package/src/components/block-handle/block-handle-popup.gen.ts +5 -15
- package/src/components/block-handle/block-handle-positioner.gen.ts +5 -15
- package/src/components/block-handle/block-handle-root.gen.ts +5 -17
- package/src/components/block-handle/index.gen.ts +2 -6
- package/src/components/drop-indicator/drop-indicator.gen.ts +5 -15
- package/src/components/drop-indicator/index.gen.ts +1 -3
- package/src/components/inline-popover/index.gen.ts +2 -6
- package/src/components/inline-popover/inline-popover-popup.gen.ts +5 -15
- package/src/components/inline-popover/inline-popover-positioner.gen.ts +5 -15
- package/src/components/inline-popover/inline-popover-root.gen.ts +6 -18
- package/src/components/menu/index.gen.ts +4 -8
- package/src/components/menu/menu-item.gen.ts +5 -17
- package/src/components/menu/menu-popup.gen.ts +5 -15
- package/src/components/menu/menu-positioner.gen.ts +5 -15
- package/src/components/menu/menu-root.gen.ts +5 -17
- package/src/components/menu/menu-submenu-root.gen.ts +66 -19
- package/src/components/menu/menu-submenu-trigger.gen.ts +40 -19
- package/src/components/menu/menu-trigger.gen.ts +5 -17
- package/src/components/popover/index.gen.ts +3 -7
- package/src/components/popover/popover-popup.gen.ts +5 -15
- package/src/components/popover/popover-positioner.gen.ts +5 -15
- package/src/components/popover/popover-root.gen.ts +5 -17
- package/src/components/popover/popover-trigger.gen.ts +5 -17
- package/src/components/resizable/index.gen.ts +2 -6
- package/src/components/resizable/resizable-handle.gen.ts +5 -15
- package/src/components/resizable/resizable-root.gen.ts +5 -17
- package/src/components/table-handle/index.gen.ts +1 -3
- package/src/components/table-handle/table-handle-column-menu-root.gen.ts +5 -15
- package/src/components/table-handle/table-handle-column-menu-trigger.gen.ts +5 -15
- package/src/components/table-handle/table-handle-column-popup.gen.ts +5 -15
- package/src/components/table-handle/table-handle-column-positioner.gen.ts +5 -15
- package/src/components/table-handle/table-handle-drag-preview.gen.ts +5 -15
- package/src/components/table-handle/table-handle-drop-indicator.gen.ts +5 -15
- package/src/components/table-handle/table-handle-root.gen.ts +5 -15
- package/src/components/table-handle/table-handle-row-menu-root.gen.ts +5 -15
- package/src/components/table-handle/table-handle-row-menu-trigger.gen.ts +5 -15
- package/src/components/table-handle/table-handle-row-popup.gen.ts +5 -15
- package/src/components/table-handle/table-handle-row-positioner.gen.ts +5 -15
- package/src/components/tooltip/index.gen.ts +2 -6
- package/src/components/tooltip/tooltip-popup.gen.ts +5 -15
- package/src/components/tooltip/tooltip-positioner.gen.ts +5 -15
- package/src/components/tooltip/tooltip-root.gen.ts +5 -17
- package/src/components/tooltip/tooltip-trigger.gen.ts +5 -15
|
@@ -1,15 +1,7 @@
|
|
|
1
1
|
import { createEffect, createSignal, mergeProps, splitProps } from "solid-js";
|
|
2
2
|
import h from "solid-js/h";
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly.
|
|
7
|
-
*/
|
|
8
|
-
/**
|
|
9
|
-
* A Solid component that renders an `prosekit-resizable-root` custom element.
|
|
10
|
-
*
|
|
11
|
-
* @public
|
|
12
|
-
*/
|
|
3
|
+
import { registerResizableHandleElement, registerResizableRootElement } from "@prosekit/web/resizable";
|
|
4
|
+
/** A Solid component that renders an `prosekit-resizable-root` custom element. */
|
|
13
5
|
const ResizableRoot = (props) => {
|
|
14
6
|
registerResizableRootElement();
|
|
15
7
|
const [getElement, setElement] = createSignal(null);
|
|
@@ -44,16 +36,7 @@ const ResizableRoot = (props) => {
|
|
|
44
36
|
setElement(el);
|
|
45
37
|
} }));
|
|
46
38
|
};
|
|
47
|
-
|
|
48
|
-
//#region src/components/resizable/resizable-handle.gen.ts
|
|
49
|
-
/**
|
|
50
|
-
* This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly.
|
|
51
|
-
*/
|
|
52
|
-
/**
|
|
53
|
-
* A Solid component that renders an `prosekit-resizable-handle` custom element.
|
|
54
|
-
*
|
|
55
|
-
* @public
|
|
56
|
-
*/
|
|
39
|
+
/** A Solid component that renders an `prosekit-resizable-handle` custom element. */
|
|
57
40
|
const ResizableHandle = (props) => {
|
|
58
41
|
registerResizableHandleElement();
|
|
59
42
|
const [getElement, setElement] = createSignal(null);
|
|
@@ -67,7 +50,6 @@ const ResizableHandle = (props) => {
|
|
|
67
50
|
setElement(el);
|
|
68
51
|
} }));
|
|
69
52
|
};
|
|
70
|
-
|
|
71
|
-
export { ResizableHandle, ResizableRoot, ResizeEndEvent, ResizeStartEvent };
|
|
53
|
+
export { ResizableHandle, ResizableRoot };
|
|
72
54
|
|
|
73
55
|
//# sourceMappingURL=prosekit-solid-resizable.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prosekit-solid-resizable.js","names":[],"sources":["../src/components/resizable/resizable-root.gen.ts","../src/components/resizable/resizable-handle.gen.ts"],"sourcesContent":["
|
|
1
|
+
{"version":3,"file":"prosekit-solid-resizable.js","names":[],"sources":["../src/components/resizable/resizable-root.gen.ts","../src/components/resizable/resizable-handle.gen.ts"],"sourcesContent":["// This file is auto-generated by \"@aria-ui/cli\". Do not edit this file directly.\n\nimport { registerResizableRootElement, type ResizableRootElement, type ResizableRootEvents, type ResizableRootProps as ResizableRootElementProps } from '@prosekit/web/resizable';\nimport { createEffect, createSignal, mergeProps, splitProps } from 'solid-js';\nimport type { Component, JSX } from 'solid-js';\nimport h from 'solid-js/h';\n\n/** Props for the {@link ResizableRoot} Solid component. */\nexport interface ResizableRootProps {\n /**\n * The width of the resizable element.\n *\n * @default null\n */\n width?: ResizableRootElementProps['width'];\n /**\n * The height of the resizable element.\n *\n * @default null\n */\n height?: ResizableRootElementProps['height'];\n /**\n * The aspect ratio of the resizable element.\n *\n * @default null\n */\n aspectRatio?: ResizableRootElementProps['aspectRatio'];\n /** Emitted when a resize operation starts. */\n onResizeStart?: (event: ResizableRootEvents['resizeStart']) => void;\n /** Emitted when a resize operation ends. */\n onResizeEnd?: (event: ResizableRootEvents['resizeEnd']) => void;\n}\n\n/** A Solid component that renders an `prosekit-resizable-root` custom element. */\nexport const ResizableRoot: Component<ResizableRootProps & JSX.HTMLAttributes<ResizableRootElement>> = (props): any => {\n registerResizableRootElement();\n\n const [getElement, setElement] = createSignal<ResizableRootElement | null>(null);\n const handlers: Array<((event: any) => void) | undefined> = [];\n\n const [elementProps, eventHandlers, restProps] = splitProps(props, ['aspectRatio', 'height', 'width'], ['onResizeEnd', 'onResizeStart']);\n\n createEffect(() => {\n const element = getElement();\n if (!element) return;\n\n Object.assign(element, { aspectRatio: elementProps.aspectRatio, height: elementProps.height, width: elementProps.width });\n\n handlers.length = 0;\n handlers.push(eventHandlers.onResizeEnd);\n handlers.push(eventHandlers.onResizeStart);\n });\n\n createEffect(() => {\n const element = getElement();\n if (!element) return;\n\n const ac = new AbortController();\n for (const [index, eventName] of ['resizeEnd', 'resizeStart'].entries()) {\n element.addEventListener(\n eventName,\n (event) => {\n handlers[index]?.(event);\n },\n { signal: ac.signal },\n );\n }\n return () => ac.abort();\n });\n\n return () =>\n h(\n 'prosekit-resizable-root',\n mergeProps(restProps, {\n ref: (el: ResizableRootElement | null) => {\n setElement(el);\n },\n }),\n );\n};\n","// This file is auto-generated by \"@aria-ui/cli\". Do not edit this file directly.\n\nimport { registerResizableHandleElement, type ResizableHandleElement, type ResizableHandleProps as ResizableHandleElementProps } from '@prosekit/web/resizable';\nimport { createEffect, createSignal, mergeProps, splitProps } from 'solid-js';\nimport type { Component, JSX } from 'solid-js';\nimport h from 'solid-js/h';\n\n/** Props for the {@link ResizableHandle} Solid component. */\nexport interface ResizableHandleProps {\n /**\n * The position of the handle.\n *\n * @default \"bottom-right\"\n */\n position?: ResizableHandleElementProps['position'];\n}\n\n/** A Solid component that renders an `prosekit-resizable-handle` custom element. */\nexport const ResizableHandle: Component<ResizableHandleProps & JSX.HTMLAttributes<ResizableHandleElement>> = (props): any => {\n registerResizableHandleElement();\n\n const [getElement, setElement] = createSignal<ResizableHandleElement | null>(null);\n\n const [elementProps, restProps] = splitProps(props, ['position']);\n\n createEffect(() => {\n const element = getElement();\n if (!element) return;\n\n Object.assign(element, { position: elementProps.position });\n });\n\n return () =>\n h(\n 'prosekit-resizable-handle',\n mergeProps(restProps, {\n ref: (el: ResizableHandleElement | null) => {\n setElement(el);\n },\n }),\n );\n};\n"],"mappings":";;;;AAkCA,MAAa,iBAA2F,UAAe;AACrH,+BAA8B;CAE9B,MAAM,CAAC,YAAY,cAAc,aAA0C,KAAK;CAChF,MAAM,WAAsD,EAAE;CAE9D,MAAM,CAAC,cAAc,eAAe,aAAa,WAAW,OAAO;EAAC;EAAe;EAAU;EAAQ,EAAE,CAAC,eAAe,gBAAgB,CAAC;AAExI,oBAAmB;EACjB,MAAM,UAAU,YAAY;AAC5B,MAAI,CAAC,QAAS;AAEd,SAAO,OAAO,SAAS;GAAE,aAAa,aAAa;GAAa,QAAQ,aAAa;GAAQ,OAAO,aAAa;GAAO,CAAC;AAEzH,WAAS,SAAS;AAClB,WAAS,KAAK,cAAc,YAAY;AACxC,WAAS,KAAK,cAAc,cAAc;GAC1C;AAEF,oBAAmB;EACjB,MAAM,UAAU,YAAY;AAC5B,MAAI,CAAC,QAAS;EAEd,MAAM,KAAK,IAAI,iBAAiB;AAChC,OAAK,MAAM,CAAC,OAAO,cAAc,CAAC,aAAa,cAAc,CAAC,SAAS,CACrE,SAAQ,iBACN,YACC,UAAU;AACT,YAAS,SAAS,MAAM;KAE1B,EAAE,QAAQ,GAAG,QAAQ,CACtB;AAEH,eAAa,GAAG,OAAO;GACvB;AAEF,cACE,EACE,2BACA,WAAW,WAAW,EACpB,MAAM,OAAoC;AACxC,aAAW,GAAG;IAEjB,CAAC,CACH;;;AC5DL,MAAa,mBAAiG,UAAe;AAC3H,iCAAgC;CAEhC,MAAM,CAAC,YAAY,cAAc,aAA4C,KAAK;CAElF,MAAM,CAAC,cAAc,aAAa,WAAW,OAAO,CAAC,WAAW,CAAC;AAEjE,oBAAmB;EACjB,MAAM,UAAU,YAAY;AAC5B,MAAI,CAAC,QAAS;AAEd,SAAO,OAAO,SAAS,EAAE,UAAU,aAAa,UAAU,CAAC;GAC3D;AAEF,cACE,EACE,6BACA,WAAW,WAAW,EACpB,MAAM,OAAsC;AAC1C,aAAW,GAAG;IAEjB,CAAC,CACH"}
|
|
@@ -1,27 +1,11 @@
|
|
|
1
1
|
import { Component, JSX } from "solid-js";
|
|
2
2
|
import { TableHandleColumnMenuRootElement, TableHandleColumnMenuRootProps as TableHandleColumnMenuRootProps$1, TableHandleColumnMenuTriggerElement, TableHandleColumnMenuTriggerProps as TableHandleColumnMenuTriggerProps$1, TableHandleColumnPopupElement, TableHandleColumnPositionerElement, TableHandleColumnPositionerProps as TableHandleColumnPositionerProps$1, TableHandleDragPreviewElement, TableHandleDragPreviewProps as TableHandleDragPreviewProps$1, TableHandleDropIndicatorElement, TableHandleDropIndicatorProps as TableHandleDropIndicatorProps$1, TableHandleRootElement, TableHandleRootProps as TableHandleRootProps$1, TableHandleRowMenuRootElement, TableHandleRowMenuRootProps as TableHandleRowMenuRootProps$1, TableHandleRowMenuTriggerElement, TableHandleRowMenuTriggerProps as TableHandleRowMenuTriggerProps$1, TableHandleRowPopupElement, TableHandleRowPositionerElement, TableHandleRowPositionerProps as TableHandleRowPositionerProps$1 } from "@prosekit/web/table-handle";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
*/
|
|
10
|
-
interface TableHandleColumnPopupProps extends JSX.HTMLAttributes<TableHandleColumnPopupElement> {}
|
|
11
|
-
/**
|
|
12
|
-
* A Solid component that renders an `prosekit-table-handle-column-popup` custom element.
|
|
13
|
-
*
|
|
14
|
-
* @public
|
|
15
|
-
*/
|
|
16
|
-
declare const TableHandleColumnPopup: Component<TableHandleColumnPopupProps>;
|
|
17
|
-
//#endregion
|
|
18
|
-
//#region src/components/table-handle/table-handle-column-positioner.gen.d.ts
|
|
19
|
-
/**
|
|
20
|
-
* Props for the {@link TableHandleColumnPositioner} Solid component.
|
|
21
|
-
*
|
|
22
|
-
* @public
|
|
23
|
-
*/
|
|
24
|
-
interface TableHandleColumnPositionerProps extends JSX.HTMLAttributes<TableHandleColumnPositionerElement> {
|
|
3
|
+
/** Props for the {@link TableHandleColumnPopup} Solid component. */
|
|
4
|
+
interface TableHandleColumnPopupProps {}
|
|
5
|
+
/** A Solid component that renders an `prosekit-table-handle-column-popup` custom element. */
|
|
6
|
+
declare const TableHandleColumnPopup: Component<TableHandleColumnPopupProps & JSX.HTMLAttributes<TableHandleColumnPopupElement>>;
|
|
7
|
+
/** Props for the {@link TableHandleColumnPositioner} Solid component. */
|
|
8
|
+
interface TableHandleColumnPositionerProps {
|
|
25
9
|
/**
|
|
26
10
|
* The placement of the popover, relative to the hovered table cell.
|
|
27
11
|
*
|
|
@@ -149,20 +133,10 @@ interface TableHandleColumnPositionerProps extends JSX.HTMLAttributes<TableHandl
|
|
|
149
133
|
*/
|
|
150
134
|
editor?: TableHandleColumnPositionerProps$1['editor'];
|
|
151
135
|
}
|
|
152
|
-
/**
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
*/
|
|
157
|
-
declare const TableHandleColumnPositioner: Component<TableHandleColumnPositionerProps>;
|
|
158
|
-
//#endregion
|
|
159
|
-
//#region src/components/table-handle/table-handle-column-menu-root.gen.d.ts
|
|
160
|
-
/**
|
|
161
|
-
* Props for the {@link TableHandleColumnMenuRoot} Solid component.
|
|
162
|
-
*
|
|
163
|
-
* @public
|
|
164
|
-
*/
|
|
165
|
-
interface TableHandleColumnMenuRootProps extends JSX.HTMLAttributes<TableHandleColumnMenuRootElement> {
|
|
136
|
+
/** A Solid component that renders an `prosekit-table-handle-column-positioner` custom element. */
|
|
137
|
+
declare const TableHandleColumnPositioner: Component<TableHandleColumnPositionerProps & JSX.HTMLAttributes<TableHandleColumnPositionerElement>>;
|
|
138
|
+
/** Props for the {@link TableHandleColumnMenuRoot} Solid component. */
|
|
139
|
+
interface TableHandleColumnMenuRootProps {
|
|
166
140
|
/**
|
|
167
141
|
* Whether the overlay is initially open.
|
|
168
142
|
* @default false
|
|
@@ -179,80 +153,40 @@ interface TableHandleColumnMenuRootProps extends JSX.HTMLAttributes<TableHandleC
|
|
|
179
153
|
*/
|
|
180
154
|
disabled?: TableHandleColumnMenuRootProps$1['disabled'];
|
|
181
155
|
}
|
|
182
|
-
/**
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
*/
|
|
187
|
-
declare const TableHandleColumnMenuRoot: Component<TableHandleColumnMenuRootProps>;
|
|
188
|
-
//#endregion
|
|
189
|
-
//#region src/components/table-handle/table-handle-column-menu-trigger.gen.d.ts
|
|
190
|
-
/**
|
|
191
|
-
* Props for the {@link TableHandleColumnMenuTrigger} Solid component.
|
|
192
|
-
*
|
|
193
|
-
* @public
|
|
194
|
-
*/
|
|
195
|
-
interface TableHandleColumnMenuTriggerProps extends JSX.HTMLAttributes<TableHandleColumnMenuTriggerElement> {
|
|
156
|
+
/** A Solid component that renders an `prosekit-table-handle-column-menu-root` custom element. */
|
|
157
|
+
declare const TableHandleColumnMenuRoot: Component<TableHandleColumnMenuRootProps & JSX.HTMLAttributes<TableHandleColumnMenuRootElement>>;
|
|
158
|
+
/** Props for the {@link TableHandleColumnMenuTrigger} Solid component. */
|
|
159
|
+
interface TableHandleColumnMenuTriggerProps {
|
|
196
160
|
/**
|
|
197
161
|
* @default null
|
|
198
162
|
* @hidden
|
|
199
163
|
*/
|
|
200
164
|
editor?: TableHandleColumnMenuTriggerProps$1['editor'];
|
|
201
165
|
}
|
|
202
|
-
/**
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
*/
|
|
207
|
-
declare const TableHandleColumnMenuTrigger: Component<TableHandleColumnMenuTriggerProps>;
|
|
208
|
-
//#endregion
|
|
209
|
-
//#region src/components/table-handle/table-handle-drag-preview.gen.d.ts
|
|
210
|
-
/**
|
|
211
|
-
* Props for the {@link TableHandleDragPreview} Solid component.
|
|
212
|
-
*
|
|
213
|
-
* @public
|
|
214
|
-
*/
|
|
215
|
-
interface TableHandleDragPreviewProps extends JSX.HTMLAttributes<TableHandleDragPreviewElement> {
|
|
166
|
+
/** A Solid component that renders an `prosekit-table-handle-column-menu-trigger` custom element. */
|
|
167
|
+
declare const TableHandleColumnMenuTrigger: Component<TableHandleColumnMenuTriggerProps & JSX.HTMLAttributes<TableHandleColumnMenuTriggerElement>>;
|
|
168
|
+
/** Props for the {@link TableHandleDragPreview} Solid component. */
|
|
169
|
+
interface TableHandleDragPreviewProps {
|
|
216
170
|
/**
|
|
217
171
|
* @default null
|
|
218
172
|
* @hidden
|
|
219
173
|
*/
|
|
220
174
|
editor?: TableHandleDragPreviewProps$1['editor'];
|
|
221
175
|
}
|
|
222
|
-
/**
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
*/
|
|
227
|
-
declare const TableHandleDragPreview: Component<TableHandleDragPreviewProps>;
|
|
228
|
-
//#endregion
|
|
229
|
-
//#region src/components/table-handle/table-handle-drop-indicator.gen.d.ts
|
|
230
|
-
/**
|
|
231
|
-
* Props for the {@link TableHandleDropIndicator} Solid component.
|
|
232
|
-
*
|
|
233
|
-
* @public
|
|
234
|
-
*/
|
|
235
|
-
interface TableHandleDropIndicatorProps extends JSX.HTMLAttributes<TableHandleDropIndicatorElement> {
|
|
176
|
+
/** A Solid component that renders an `prosekit-table-handle-drag-preview` custom element. */
|
|
177
|
+
declare const TableHandleDragPreview: Component<TableHandleDragPreviewProps & JSX.HTMLAttributes<TableHandleDragPreviewElement>>;
|
|
178
|
+
/** Props for the {@link TableHandleDropIndicator} Solid component. */
|
|
179
|
+
interface TableHandleDropIndicatorProps {
|
|
236
180
|
/**
|
|
237
181
|
* @default null
|
|
238
182
|
* @hidden
|
|
239
183
|
*/
|
|
240
184
|
editor?: TableHandleDropIndicatorProps$1['editor'];
|
|
241
185
|
}
|
|
242
|
-
/**
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
*/
|
|
247
|
-
declare const TableHandleDropIndicator: Component<TableHandleDropIndicatorProps>;
|
|
248
|
-
//#endregion
|
|
249
|
-
//#region src/components/table-handle/table-handle-root.gen.d.ts
|
|
250
|
-
/**
|
|
251
|
-
* Props for the {@link TableHandleRoot} Solid component.
|
|
252
|
-
*
|
|
253
|
-
* @public
|
|
254
|
-
*/
|
|
255
|
-
interface TableHandleRootProps extends JSX.HTMLAttributes<TableHandleRootElement> {
|
|
186
|
+
/** A Solid component that renders an `prosekit-table-handle-drop-indicator` custom element. */
|
|
187
|
+
declare const TableHandleDropIndicator: Component<TableHandleDropIndicatorProps & JSX.HTMLAttributes<TableHandleDropIndicatorElement>>;
|
|
188
|
+
/** Props for the {@link TableHandleRoot} Solid component. */
|
|
189
|
+
interface TableHandleRootProps {
|
|
256
190
|
/**
|
|
257
191
|
* The ProseKit editor instance.
|
|
258
192
|
*
|
|
@@ -261,34 +195,14 @@ interface TableHandleRootProps extends JSX.HTMLAttributes<TableHandleRootElement
|
|
|
261
195
|
*/
|
|
262
196
|
editor?: TableHandleRootProps$1['editor'];
|
|
263
197
|
}
|
|
264
|
-
/**
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
*/
|
|
269
|
-
declare const
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
/**
|
|
273
|
-
* Props for the {@link TableHandleRowPopup} Solid component.
|
|
274
|
-
*
|
|
275
|
-
* @public
|
|
276
|
-
*/
|
|
277
|
-
interface TableHandleRowPopupProps extends JSX.HTMLAttributes<TableHandleRowPopupElement> {}
|
|
278
|
-
/**
|
|
279
|
-
* A Solid component that renders an `prosekit-table-handle-row-popup` custom element.
|
|
280
|
-
*
|
|
281
|
-
* @public
|
|
282
|
-
*/
|
|
283
|
-
declare const TableHandleRowPopup: Component<TableHandleRowPopupProps>;
|
|
284
|
-
//#endregion
|
|
285
|
-
//#region src/components/table-handle/table-handle-row-positioner.gen.d.ts
|
|
286
|
-
/**
|
|
287
|
-
* Props for the {@link TableHandleRowPositioner} Solid component.
|
|
288
|
-
*
|
|
289
|
-
* @public
|
|
290
|
-
*/
|
|
291
|
-
interface TableHandleRowPositionerProps extends JSX.HTMLAttributes<TableHandleRowPositionerElement> {
|
|
198
|
+
/** A Solid component that renders an `prosekit-table-handle-root` custom element. */
|
|
199
|
+
declare const TableHandleRoot: Component<TableHandleRootProps & JSX.HTMLAttributes<TableHandleRootElement>>;
|
|
200
|
+
/** Props for the {@link TableHandleRowPopup} Solid component. */
|
|
201
|
+
interface TableHandleRowPopupProps {}
|
|
202
|
+
/** A Solid component that renders an `prosekit-table-handle-row-popup` custom element. */
|
|
203
|
+
declare const TableHandleRowPopup: Component<TableHandleRowPopupProps & JSX.HTMLAttributes<TableHandleRowPopupElement>>;
|
|
204
|
+
/** Props for the {@link TableHandleRowPositioner} Solid component. */
|
|
205
|
+
interface TableHandleRowPositionerProps {
|
|
292
206
|
/**
|
|
293
207
|
* The placement of the popover, relative to the hovered table cell.
|
|
294
208
|
*
|
|
@@ -416,20 +330,10 @@ interface TableHandleRowPositionerProps extends JSX.HTMLAttributes<TableHandleRo
|
|
|
416
330
|
*/
|
|
417
331
|
editor?: TableHandleRowPositionerProps$1['editor'];
|
|
418
332
|
}
|
|
419
|
-
/**
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
*/
|
|
424
|
-
declare const TableHandleRowPositioner: Component<TableHandleRowPositionerProps>;
|
|
425
|
-
//#endregion
|
|
426
|
-
//#region src/components/table-handle/table-handle-row-menu-root.gen.d.ts
|
|
427
|
-
/**
|
|
428
|
-
* Props for the {@link TableHandleRowMenuRoot} Solid component.
|
|
429
|
-
*
|
|
430
|
-
* @public
|
|
431
|
-
*/
|
|
432
|
-
interface TableHandleRowMenuRootProps extends JSX.HTMLAttributes<TableHandleRowMenuRootElement> {
|
|
333
|
+
/** A Solid component that renders an `prosekit-table-handle-row-positioner` custom element. */
|
|
334
|
+
declare const TableHandleRowPositioner: Component<TableHandleRowPositionerProps & JSX.HTMLAttributes<TableHandleRowPositionerElement>>;
|
|
335
|
+
/** Props for the {@link TableHandleRowMenuRoot} Solid component. */
|
|
336
|
+
interface TableHandleRowMenuRootProps {
|
|
433
337
|
/**
|
|
434
338
|
* Whether the overlay is initially open.
|
|
435
339
|
* @default false
|
|
@@ -446,32 +350,17 @@ interface TableHandleRowMenuRootProps extends JSX.HTMLAttributes<TableHandleRowM
|
|
|
446
350
|
*/
|
|
447
351
|
disabled?: TableHandleRowMenuRootProps$1['disabled'];
|
|
448
352
|
}
|
|
449
|
-
/**
|
|
450
|
-
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
*/
|
|
454
|
-
declare const TableHandleRowMenuRoot: Component<TableHandleRowMenuRootProps>;
|
|
455
|
-
//#endregion
|
|
456
|
-
//#region src/components/table-handle/table-handle-row-menu-trigger.gen.d.ts
|
|
457
|
-
/**
|
|
458
|
-
* Props for the {@link TableHandleRowMenuTrigger} Solid component.
|
|
459
|
-
*
|
|
460
|
-
* @public
|
|
461
|
-
*/
|
|
462
|
-
interface TableHandleRowMenuTriggerProps extends JSX.HTMLAttributes<TableHandleRowMenuTriggerElement> {
|
|
353
|
+
/** A Solid component that renders an `prosekit-table-handle-row-menu-root` custom element. */
|
|
354
|
+
declare const TableHandleRowMenuRoot: Component<TableHandleRowMenuRootProps & JSX.HTMLAttributes<TableHandleRowMenuRootElement>>;
|
|
355
|
+
/** Props for the {@link TableHandleRowMenuTrigger} Solid component. */
|
|
356
|
+
interface TableHandleRowMenuTriggerProps {
|
|
463
357
|
/**
|
|
464
358
|
* @default null
|
|
465
359
|
* @hidden
|
|
466
360
|
*/
|
|
467
361
|
editor?: TableHandleRowMenuTriggerProps$1['editor'];
|
|
468
362
|
}
|
|
469
|
-
/**
|
|
470
|
-
|
|
471
|
-
*
|
|
472
|
-
* @public
|
|
473
|
-
*/
|
|
474
|
-
declare const TableHandleRowMenuTrigger: Component<TableHandleRowMenuTriggerProps>;
|
|
475
|
-
//#endregion
|
|
363
|
+
/** A Solid component that renders an `prosekit-table-handle-row-menu-trigger` custom element. */
|
|
364
|
+
declare const TableHandleRowMenuTrigger: Component<TableHandleRowMenuTriggerProps & JSX.HTMLAttributes<TableHandleRowMenuTriggerElement>>;
|
|
476
365
|
export { TableHandleColumnMenuRoot, type TableHandleColumnMenuRootProps, TableHandleColumnMenuTrigger, type TableHandleColumnMenuTriggerProps, TableHandleColumnPopup, type TableHandleColumnPopupProps, TableHandleColumnPositioner, type TableHandleColumnPositionerProps, TableHandleDragPreview, type TableHandleDragPreviewProps, TableHandleDropIndicator, type TableHandleDropIndicatorProps, TableHandleRoot, type TableHandleRootProps, TableHandleRowMenuRoot, type TableHandleRowMenuRootProps, TableHandleRowMenuTrigger, type TableHandleRowMenuTriggerProps, TableHandleRowPopup, type TableHandleRowPopupProps, TableHandleRowPositioner, type TableHandleRowPositionerProps };
|
|
477
366
|
//# sourceMappingURL=prosekit-solid-table-handle.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prosekit-solid-table-handle.d.ts","names":[],"sources":["../src/components/table-handle/table-handle-column-popup.gen.ts","../src/components/table-handle/table-handle-column-positioner.gen.ts","../src/components/table-handle/table-handle-column-menu-root.gen.ts","../src/components/table-handle/table-handle-column-menu-trigger.gen.ts","../src/components/table-handle/table-handle-drag-preview.gen.ts","../src/components/table-handle/table-handle-drop-indicator.gen.ts","../src/components/table-handle/table-handle-root.gen.ts","../src/components/table-handle/table-handle-row-popup.gen.ts","../src/components/table-handle/table-handle-row-positioner.gen.ts","../src/components/table-handle/table-handle-row-menu-root.gen.ts","../src/components/table-handle/table-handle-row-menu-trigger.gen.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"prosekit-solid-table-handle.d.ts","names":[],"sources":["../src/components/table-handle/table-handle-column-popup.gen.ts","../src/components/table-handle/table-handle-column-positioner.gen.ts","../src/components/table-handle/table-handle-column-menu-root.gen.ts","../src/components/table-handle/table-handle-column-menu-trigger.gen.ts","../src/components/table-handle/table-handle-drag-preview.gen.ts","../src/components/table-handle/table-handle-drop-indicator.gen.ts","../src/components/table-handle/table-handle-root.gen.ts","../src/components/table-handle/table-handle-row-popup.gen.ts","../src/components/table-handle/table-handle-row-positioner.gen.ts","../src/components/table-handle/table-handle-row-menu-root.gen.ts","../src/components/table-handle/table-handle-row-menu-trigger.gen.ts"],"mappings":"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"}
|
|
@@ -2,30 +2,13 @@ import { n as useEditorContext } from "./editor-context.js";
|
|
|
2
2
|
import { createEffect, createSignal, mergeProps, splitProps } from "solid-js";
|
|
3
3
|
import h from "solid-js/h";
|
|
4
4
|
import { registerTableHandleColumnMenuRootElement, registerTableHandleColumnMenuTriggerElement, registerTableHandleColumnPopupElement, registerTableHandleColumnPositionerElement, registerTableHandleDragPreviewElement, registerTableHandleDropIndicatorElement, registerTableHandleRootElement, registerTableHandleRowMenuRootElement, registerTableHandleRowMenuTriggerElement, registerTableHandleRowPopupElement, registerTableHandleRowPositionerElement } from "@prosekit/web/table-handle";
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly.
|
|
8
|
-
*/
|
|
9
|
-
/**
|
|
10
|
-
* A Solid component that renders an `prosekit-table-handle-column-popup` custom element.
|
|
11
|
-
*
|
|
12
|
-
* @public
|
|
13
|
-
*/
|
|
5
|
+
/** A Solid component that renders an `prosekit-table-handle-column-popup` custom element. */
|
|
14
6
|
const TableHandleColumnPopup = (props) => {
|
|
15
7
|
registerTableHandleColumnPopupElement();
|
|
16
8
|
const restProps = props;
|
|
17
9
|
return () => h("prosekit-table-handle-column-popup", restProps);
|
|
18
10
|
};
|
|
19
|
-
|
|
20
|
-
//#region src/components/table-handle/table-handle-column-positioner.gen.ts
|
|
21
|
-
/**
|
|
22
|
-
* This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly.
|
|
23
|
-
*/
|
|
24
|
-
/**
|
|
25
|
-
* A Solid component that renders an `prosekit-table-handle-column-positioner` custom element.
|
|
26
|
-
*
|
|
27
|
-
* @public
|
|
28
|
-
*/
|
|
11
|
+
/** A Solid component that renders an `prosekit-table-handle-column-positioner` custom element. */
|
|
29
12
|
const TableHandleColumnPositioner = (props) => {
|
|
30
13
|
registerTableHandleColumnPositionerElement();
|
|
31
14
|
const [getElement, setElement] = createSignal(null);
|
|
@@ -80,16 +63,7 @@ const TableHandleColumnPositioner = (props) => {
|
|
|
80
63
|
setElement(el);
|
|
81
64
|
} }));
|
|
82
65
|
};
|
|
83
|
-
|
|
84
|
-
//#region src/components/table-handle/table-handle-column-menu-root.gen.ts
|
|
85
|
-
/**
|
|
86
|
-
* This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly.
|
|
87
|
-
*/
|
|
88
|
-
/**
|
|
89
|
-
* A Solid component that renders an `prosekit-table-handle-column-menu-root` custom element.
|
|
90
|
-
*
|
|
91
|
-
* @public
|
|
92
|
-
*/
|
|
66
|
+
/** A Solid component that renders an `prosekit-table-handle-column-menu-root` custom element. */
|
|
93
67
|
const TableHandleColumnMenuRoot = (props) => {
|
|
94
68
|
registerTableHandleColumnMenuRootElement();
|
|
95
69
|
const [getElement, setElement] = createSignal(null);
|
|
@@ -111,16 +85,7 @@ const TableHandleColumnMenuRoot = (props) => {
|
|
|
111
85
|
setElement(el);
|
|
112
86
|
} }));
|
|
113
87
|
};
|
|
114
|
-
|
|
115
|
-
//#region src/components/table-handle/table-handle-column-menu-trigger.gen.ts
|
|
116
|
-
/**
|
|
117
|
-
* This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly.
|
|
118
|
-
*/
|
|
119
|
-
/**
|
|
120
|
-
* A Solid component that renders an `prosekit-table-handle-column-menu-trigger` custom element.
|
|
121
|
-
*
|
|
122
|
-
* @public
|
|
123
|
-
*/
|
|
88
|
+
/** A Solid component that renders an `prosekit-table-handle-column-menu-trigger` custom element. */
|
|
124
89
|
const TableHandleColumnMenuTrigger = (props) => {
|
|
125
90
|
registerTableHandleColumnMenuTriggerElement();
|
|
126
91
|
const [getElement, setElement] = createSignal(null);
|
|
@@ -135,16 +100,7 @@ const TableHandleColumnMenuTrigger = (props) => {
|
|
|
135
100
|
setElement(el);
|
|
136
101
|
} }));
|
|
137
102
|
};
|
|
138
|
-
|
|
139
|
-
//#region src/components/table-handle/table-handle-drag-preview.gen.ts
|
|
140
|
-
/**
|
|
141
|
-
* This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly.
|
|
142
|
-
*/
|
|
143
|
-
/**
|
|
144
|
-
* A Solid component that renders an `prosekit-table-handle-drag-preview` custom element.
|
|
145
|
-
*
|
|
146
|
-
* @public
|
|
147
|
-
*/
|
|
103
|
+
/** A Solid component that renders an `prosekit-table-handle-drag-preview` custom element. */
|
|
148
104
|
const TableHandleDragPreview = (props) => {
|
|
149
105
|
registerTableHandleDragPreviewElement();
|
|
150
106
|
const [getElement, setElement] = createSignal(null);
|
|
@@ -159,16 +115,7 @@ const TableHandleDragPreview = (props) => {
|
|
|
159
115
|
setElement(el);
|
|
160
116
|
} }));
|
|
161
117
|
};
|
|
162
|
-
|
|
163
|
-
//#region src/components/table-handle/table-handle-drop-indicator.gen.ts
|
|
164
|
-
/**
|
|
165
|
-
* This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly.
|
|
166
|
-
*/
|
|
167
|
-
/**
|
|
168
|
-
* A Solid component that renders an `prosekit-table-handle-drop-indicator` custom element.
|
|
169
|
-
*
|
|
170
|
-
* @public
|
|
171
|
-
*/
|
|
118
|
+
/** A Solid component that renders an `prosekit-table-handle-drop-indicator` custom element. */
|
|
172
119
|
const TableHandleDropIndicator = (props) => {
|
|
173
120
|
registerTableHandleDropIndicatorElement();
|
|
174
121
|
const [getElement, setElement] = createSignal(null);
|
|
@@ -183,16 +130,7 @@ const TableHandleDropIndicator = (props) => {
|
|
|
183
130
|
setElement(el);
|
|
184
131
|
} }));
|
|
185
132
|
};
|
|
186
|
-
|
|
187
|
-
//#region src/components/table-handle/table-handle-root.gen.ts
|
|
188
|
-
/**
|
|
189
|
-
* This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly.
|
|
190
|
-
*/
|
|
191
|
-
/**
|
|
192
|
-
* A Solid component that renders an `prosekit-table-handle-root` custom element.
|
|
193
|
-
*
|
|
194
|
-
* @public
|
|
195
|
-
*/
|
|
133
|
+
/** A Solid component that renders an `prosekit-table-handle-root` custom element. */
|
|
196
134
|
const TableHandleRoot = (props) => {
|
|
197
135
|
registerTableHandleRootElement();
|
|
198
136
|
const [getElement, setElement] = createSignal(null);
|
|
@@ -207,31 +145,13 @@ const TableHandleRoot = (props) => {
|
|
|
207
145
|
setElement(el);
|
|
208
146
|
} }));
|
|
209
147
|
};
|
|
210
|
-
|
|
211
|
-
//#region src/components/table-handle/table-handle-row-popup.gen.ts
|
|
212
|
-
/**
|
|
213
|
-
* This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly.
|
|
214
|
-
*/
|
|
215
|
-
/**
|
|
216
|
-
* A Solid component that renders an `prosekit-table-handle-row-popup` custom element.
|
|
217
|
-
*
|
|
218
|
-
* @public
|
|
219
|
-
*/
|
|
148
|
+
/** A Solid component that renders an `prosekit-table-handle-row-popup` custom element. */
|
|
220
149
|
const TableHandleRowPopup = (props) => {
|
|
221
150
|
registerTableHandleRowPopupElement();
|
|
222
151
|
const restProps = props;
|
|
223
152
|
return () => h("prosekit-table-handle-row-popup", restProps);
|
|
224
153
|
};
|
|
225
|
-
|
|
226
|
-
//#region src/components/table-handle/table-handle-row-positioner.gen.ts
|
|
227
|
-
/**
|
|
228
|
-
* This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly.
|
|
229
|
-
*/
|
|
230
|
-
/**
|
|
231
|
-
* A Solid component that renders an `prosekit-table-handle-row-positioner` custom element.
|
|
232
|
-
*
|
|
233
|
-
* @public
|
|
234
|
-
*/
|
|
154
|
+
/** A Solid component that renders an `prosekit-table-handle-row-positioner` custom element. */
|
|
235
155
|
const TableHandleRowPositioner = (props) => {
|
|
236
156
|
registerTableHandleRowPositionerElement();
|
|
237
157
|
const [getElement, setElement] = createSignal(null);
|
|
@@ -286,16 +206,7 @@ const TableHandleRowPositioner = (props) => {
|
|
|
286
206
|
setElement(el);
|
|
287
207
|
} }));
|
|
288
208
|
};
|
|
289
|
-
|
|
290
|
-
//#region src/components/table-handle/table-handle-row-menu-root.gen.ts
|
|
291
|
-
/**
|
|
292
|
-
* This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly.
|
|
293
|
-
*/
|
|
294
|
-
/**
|
|
295
|
-
* A Solid component that renders an `prosekit-table-handle-row-menu-root` custom element.
|
|
296
|
-
*
|
|
297
|
-
* @public
|
|
298
|
-
*/
|
|
209
|
+
/** A Solid component that renders an `prosekit-table-handle-row-menu-root` custom element. */
|
|
299
210
|
const TableHandleRowMenuRoot = (props) => {
|
|
300
211
|
registerTableHandleRowMenuRootElement();
|
|
301
212
|
const [getElement, setElement] = createSignal(null);
|
|
@@ -317,16 +228,7 @@ const TableHandleRowMenuRoot = (props) => {
|
|
|
317
228
|
setElement(el);
|
|
318
229
|
} }));
|
|
319
230
|
};
|
|
320
|
-
|
|
321
|
-
//#region src/components/table-handle/table-handle-row-menu-trigger.gen.ts
|
|
322
|
-
/**
|
|
323
|
-
* This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly.
|
|
324
|
-
*/
|
|
325
|
-
/**
|
|
326
|
-
* A Solid component that renders an `prosekit-table-handle-row-menu-trigger` custom element.
|
|
327
|
-
*
|
|
328
|
-
* @public
|
|
329
|
-
*/
|
|
231
|
+
/** A Solid component that renders an `prosekit-table-handle-row-menu-trigger` custom element. */
|
|
330
232
|
const TableHandleRowMenuTrigger = (props) => {
|
|
331
233
|
registerTableHandleRowMenuTriggerElement();
|
|
332
234
|
const [getElement, setElement] = createSignal(null);
|
|
@@ -341,7 +243,6 @@ const TableHandleRowMenuTrigger = (props) => {
|
|
|
341
243
|
setElement(el);
|
|
342
244
|
} }));
|
|
343
245
|
};
|
|
344
|
-
//#endregion
|
|
345
246
|
export { TableHandleColumnMenuRoot, TableHandleColumnMenuTrigger, TableHandleColumnPopup, TableHandleColumnPositioner, TableHandleDragPreview, TableHandleDropIndicator, TableHandleRoot, TableHandleRowMenuRoot, TableHandleRowMenuTrigger, TableHandleRowPopup, TableHandleRowPositioner };
|
|
346
247
|
|
|
347
248
|
//# sourceMappingURL=prosekit-solid-table-handle.js.map
|