@prosekit/solid 0.7.0-beta.1 → 0.7.0-beta.3
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/prosekit-solid-autocomplete.d.ts +225 -19
- package/dist/prosekit-solid-autocomplete.d.ts.map +1 -1
- package/dist/prosekit-solid-autocomplete.js +204 -9
- package/dist/prosekit-solid-autocomplete.js.map +1 -1
- package/dist/prosekit-solid-block-handle.d.ts +209 -15
- package/dist/prosekit-solid-block-handle.d.ts.map +1 -1
- package/dist/prosekit-solid-block-handle.js +160 -7
- package/dist/prosekit-solid-block-handle.js.map +1 -1
- package/dist/prosekit-solid-drop-indicator.d.ts +26 -7
- package/dist/prosekit-solid-drop-indicator.d.ts.map +1 -1
- package/dist/prosekit-solid-drop-indicator.js +29 -3
- package/dist/prosekit-solid-drop-indicator.js.map +1 -1
- package/dist/prosekit-solid-inline-popover.d.ts +203 -9
- package/dist/prosekit-solid-inline-popover.d.ts.map +1 -1
- package/dist/prosekit-solid-inline-popover.js +128 -5
- package/dist/prosekit-solid-inline-popover.js.map +1 -1
- package/dist/prosekit-solid-menu.d.ts +287 -0
- package/dist/prosekit-solid-menu.d.ts.map +1 -0
- package/dist/prosekit-solid-menu.js +241 -0
- package/dist/prosekit-solid-menu.js.map +1 -0
- package/dist/prosekit-solid-popover.d.ts +226 -15
- package/dist/prosekit-solid-popover.d.ts.map +1 -1
- package/dist/prosekit-solid-popover.js +165 -7
- package/dist/prosekit-solid-popover.js.map +1 -1
- package/dist/prosekit-solid-resizable.d.ts +55 -13
- package/dist/prosekit-solid-resizable.d.ts.map +1 -1
- package/dist/prosekit-solid-resizable.js +69 -7
- package/dist/prosekit-solid-resizable.js.map +1 -1
- package/dist/prosekit-solid-table-handle.d.ts +446 -39
- package/dist/prosekit-solid-table-handle.d.ts.map +1 -1
- package/dist/prosekit-solid-table-handle.js +334 -19
- package/dist/prosekit-solid-table-handle.js.map +1 -1
- package/dist/prosekit-solid-tooltip.d.ts +210 -15
- package/dist/prosekit-solid-tooltip.d.ts.map +1 -1
- package/dist/prosekit-solid-tooltip.js +149 -7
- package/dist/prosekit-solid-tooltip.js.map +1 -1
- package/dist/prosekit-solid.d.ts +23 -2
- package/dist/prosekit-solid.d.ts.map +1 -1
- package/package.json +23 -15
- package/src/components/autocomplete/autocomplete-empty.gen.ts +22 -24
- package/src/components/autocomplete/autocomplete-item.gen.ts +82 -26
- package/src/components/autocomplete/autocomplete-popup.gen.ts +78 -0
- package/src/components/autocomplete/autocomplete-positioner.gen.ts +167 -0
- package/src/components/autocomplete/autocomplete-root.gen.ts +110 -0
- package/src/components/autocomplete/index.gen.ts +12 -4
- package/src/components/autocomplete/index.ts +27 -0
- package/src/components/block-handle/block-handle-add.gen.ts +54 -26
- package/src/components/block-handle/block-handle-draggable.gen.ts +54 -26
- package/src/components/block-handle/block-handle-popup.gen.ts +27 -0
- package/src/components/block-handle/block-handle-positioner.gen.ts +185 -0
- package/src/components/block-handle/block-handle-root.gen.ts +82 -0
- package/src/components/block-handle/index.gen.ts +13 -3
- package/src/components/block-handle/index.ts +27 -0
- package/src/components/drop-indicator/drop-indicator.gen.ts +60 -26
- package/src/components/drop-indicator/index.gen.ts +5 -1
- package/src/components/drop-indicator/index.ts +14 -0
- package/src/components/inline-popover/index.gen.ts +11 -1
- package/src/components/inline-popover/index.ts +22 -0
- package/src/components/inline-popover/inline-popover-popup.gen.ts +27 -0
- package/src/components/inline-popover/inline-popover-positioner.gen.ts +191 -0
- package/src/components/inline-popover/inline-popover-root.gen.ts +106 -0
- package/src/components/menu/index.gen.ts +19 -0
- package/src/components/menu/index.ts +37 -0
- package/src/components/menu/menu-item.gen.ts +89 -0
- package/src/components/menu/menu-popup.gen.ts +53 -0
- package/src/components/menu/menu-positioner.gen.ts +192 -0
- package/src/components/menu/menu-root.gen.ts +86 -0
- package/src/components/menu/menu-submenu-root.gen.ts +27 -0
- package/src/components/menu/menu-submenu-trigger.gen.ts +27 -0
- package/src/components/menu/menu-trigger.gen.ts +77 -0
- package/src/components/popover/index.gen.ts +11 -3
- package/src/components/popover/index.ts +24 -0
- package/src/components/popover/popover-popup.gen.ts +27 -0
- package/src/components/popover/popover-positioner.gen.ts +192 -0
- package/src/components/popover/popover-root.gen.ts +90 -26
- package/src/components/popover/popover-trigger.gen.ts +90 -26
- package/src/components/resizable/index.gen.ts +8 -2
- package/src/components/resizable/index.ts +20 -0
- package/src/components/resizable/resizable-handle.gen.ts +49 -26
- package/src/components/resizable/resizable-root.gen.ts +89 -26
- package/src/components/table-handle/index.gen.ts +17 -9
- package/src/components/table-handle/index.ts +58 -0
- package/src/components/table-handle/table-handle-column-menu-root.gen.ts +61 -0
- package/src/components/table-handle/table-handle-column-menu-trigger.gen.ts +55 -0
- package/src/components/table-handle/table-handle-column-popup.gen.ts +27 -0
- package/src/components/table-handle/table-handle-column-positioner.gen.ts +196 -0
- package/src/components/table-handle/table-handle-drag-preview.gen.ts +52 -26
- package/src/components/table-handle/table-handle-drop-indicator.gen.ts +52 -26
- package/src/components/table-handle/table-handle-root.gen.ts +54 -26
- package/src/components/table-handle/table-handle-row-menu-root.gen.ts +61 -0
- package/src/components/table-handle/table-handle-row-menu-trigger.gen.ts +55 -0
- package/src/components/table-handle/table-handle-row-popup.gen.ts +27 -0
- package/src/components/table-handle/table-handle-row-positioner.gen.ts +196 -0
- package/src/components/tooltip/index.gen.ts +11 -3
- package/src/components/tooltip/index.ts +24 -0
- package/src/components/tooltip/tooltip-popup.gen.ts +27 -0
- package/src/components/tooltip/tooltip-positioner.gen.ts +192 -0
- package/src/components/tooltip/tooltip-root.gen.ts +83 -26
- package/src/components/tooltip/tooltip-trigger.gen.ts +58 -26
- package/dist/create-component.js +0 -41
- package/dist/create-component.js.map +0 -1
- package/dist/create-props.d.ts +0 -6
- package/dist/create-props.d.ts.map +0 -1
- package/dist/types.d.ts +0 -26
- package/dist/types.d.ts.map +0 -1
- package/src/components/autocomplete/autocomplete-list.gen.ts +0 -29
- package/src/components/autocomplete/autocomplete-popover.gen.ts +0 -29
- package/src/components/block-handle/block-handle-popover.gen.ts +0 -29
- package/src/components/create-component.ts +0 -60
- package/src/components/create-props.ts +0 -13
- package/src/components/inline-popover/inline-popover.gen.ts +0 -29
- package/src/components/popover/popover-content.gen.ts +0 -29
- package/src/components/table-handle/table-handle-column-root.gen.ts +0 -29
- package/src/components/table-handle/table-handle-column-trigger.gen.ts +0 -29
- package/src/components/table-handle/table-handle-popover-content.gen.ts +0 -29
- package/src/components/table-handle/table-handle-popover-item.gen.ts +0 -29
- package/src/components/table-handle/table-handle-row-root.gen.ts +0 -29
- package/src/components/table-handle/table-handle-row-trigger.gen.ts +0 -29
- package/src/components/tooltip/tooltip-content.gen.ts +0 -29
|
@@ -1,70 +1,477 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { Component } from "solid-js";
|
|
4
|
-
import { TableHandleColumnRootElement, TableHandleColumnRootEvents, TableHandleColumnRootProps as TableHandleColumnRootProps$1, TableHandleColumnTriggerElement, TableHandleColumnTriggerEvents, TableHandleColumnTriggerProps as TableHandleColumnTriggerProps$1, TableHandleDragPreviewElement, TableHandleDragPreviewEvents, TableHandleDragPreviewProps as TableHandleDragPreviewProps$1, TableHandleDropIndicatorElement, TableHandleDropIndicatorEvents, TableHandleDropIndicatorProps as TableHandleDropIndicatorProps$1, TableHandlePopoverContentElement, TableHandlePopoverContentEvents, TableHandlePopoverContentProps as TableHandlePopoverContentProps$1, TableHandlePopoverItemElement, TableHandlePopoverItemEvents, TableHandlePopoverItemProps as TableHandlePopoverItemProps$1, TableHandleRootElement, TableHandleRootEvents, TableHandleRootProps as TableHandleRootProps$1, TableHandleRowRootElement, TableHandleRowRootEvents, TableHandleRowRootProps as TableHandleRowRootProps$1, TableHandleRowTriggerElement, TableHandleRowTriggerEvents, TableHandleRowTriggerProps as TableHandleRowTriggerProps$1 } from "@prosekit/web/table-handle";
|
|
1
|
+
import { Component, JSX } from "solid-js";
|
|
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";
|
|
5
3
|
|
|
6
|
-
//#region src/components/table-handle/table-handle-column-
|
|
4
|
+
//#region src/components/table-handle/table-handle-column-popup.gen.d.ts
|
|
7
5
|
/**
|
|
8
|
-
* Props for the {@link
|
|
6
|
+
* Props for the {@link TableHandleColumnPopup} Solid component.
|
|
7
|
+
*
|
|
8
|
+
* @public
|
|
9
9
|
*/
|
|
10
|
-
interface
|
|
11
|
-
|
|
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>;
|
|
12
17
|
//#endregion
|
|
13
|
-
//#region src/components/table-handle/table-handle-column-
|
|
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> {
|
|
25
|
+
/**
|
|
26
|
+
* The placement of the popover, relative to the hovered table cell.
|
|
27
|
+
*
|
|
28
|
+
* @default "top"
|
|
29
|
+
*/
|
|
30
|
+
placement?: TableHandleColumnPositionerProps$1['placement'];
|
|
31
|
+
/**
|
|
32
|
+
* The strategy to use for positioning
|
|
33
|
+
*
|
|
34
|
+
* @default "absolute"
|
|
35
|
+
*/
|
|
36
|
+
strategy?: TableHandleColumnPositionerProps$1['strategy'];
|
|
37
|
+
/**
|
|
38
|
+
* Options to activate auto-update listeners
|
|
39
|
+
*
|
|
40
|
+
* @see https://floating-ui.com/docs/autoUpdate
|
|
41
|
+
*
|
|
42
|
+
* @default true
|
|
43
|
+
*/
|
|
44
|
+
autoUpdate?: TableHandleColumnPositionerProps$1['autoUpdate'];
|
|
45
|
+
/**
|
|
46
|
+
* Whether to use the browser [Popover API](https://developer.mozilla.org/en-US/docs/Web/API/Popover_API)
|
|
47
|
+
* to place the floating element on top of other page content.
|
|
48
|
+
*
|
|
49
|
+
* @default false
|
|
50
|
+
*/
|
|
51
|
+
hoist?: TableHandleColumnPositionerProps$1['hoist'];
|
|
52
|
+
/**
|
|
53
|
+
* @default 0
|
|
54
|
+
* @hidden
|
|
55
|
+
*/
|
|
56
|
+
offset?: TableHandleColumnPositionerProps$1['offset'];
|
|
57
|
+
/**
|
|
58
|
+
* @default false
|
|
59
|
+
* @hidden
|
|
60
|
+
*/
|
|
61
|
+
flip?: TableHandleColumnPositionerProps$1['flip'];
|
|
62
|
+
/**
|
|
63
|
+
* @default false
|
|
64
|
+
* @hidden
|
|
65
|
+
*/
|
|
66
|
+
shift?: TableHandleColumnPositionerProps$1['shift'];
|
|
67
|
+
/**
|
|
68
|
+
* Whether the floating element can overlap the reference element to keep it
|
|
69
|
+
* in view.
|
|
70
|
+
*
|
|
71
|
+
* @default false
|
|
72
|
+
*/
|
|
73
|
+
overlap?: TableHandleColumnPositionerProps$1['overlap'];
|
|
74
|
+
/**
|
|
75
|
+
* Whether to constrain the floating element's width and height to not exceed
|
|
76
|
+
* the viewport.
|
|
77
|
+
*
|
|
78
|
+
* @default false
|
|
79
|
+
*/
|
|
80
|
+
fitViewport?: TableHandleColumnPositionerProps$1['fitViewport'];
|
|
81
|
+
/**
|
|
82
|
+
* Whether to constrain the floating element's width so that it matches the
|
|
83
|
+
* reference element.
|
|
84
|
+
*
|
|
85
|
+
* @default false
|
|
86
|
+
*/
|
|
87
|
+
sameWidth?: TableHandleColumnPositionerProps$1['sameWidth'];
|
|
88
|
+
/**
|
|
89
|
+
* Whether to constrain the floating element's height so that it matches the
|
|
90
|
+
* reference element.
|
|
91
|
+
*
|
|
92
|
+
* @default false
|
|
93
|
+
*/
|
|
94
|
+
sameHeight?: TableHandleColumnPositionerProps$1['sameHeight'];
|
|
95
|
+
/**
|
|
96
|
+
* Whether to improve positioning for inline reference elements that span over
|
|
97
|
+
* multiple lines.
|
|
98
|
+
*
|
|
99
|
+
* @default false
|
|
100
|
+
*/
|
|
101
|
+
inline?: TableHandleColumnPositionerProps$1['inline'];
|
|
102
|
+
/**
|
|
103
|
+
* @default true
|
|
104
|
+
* @hidden
|
|
105
|
+
*/
|
|
106
|
+
hide?: TableHandleColumnPositionerProps$1['hide'];
|
|
107
|
+
/**
|
|
108
|
+
* Describes the clipping element(s) or area that overflow will be checked relative to.
|
|
109
|
+
* Please see https://floating-ui.com/docs/detectoverflow#boundary for more information.
|
|
110
|
+
*
|
|
111
|
+
* @default 'clippingAncestors'
|
|
112
|
+
*/
|
|
113
|
+
boundary?: TableHandleColumnPositionerProps$1['boundary'];
|
|
114
|
+
/**
|
|
115
|
+
* Describes the root boundary that the element will be checked for overflow relative to.
|
|
116
|
+
* Please see https://floating-ui.com/docs/detectoverflow#rootboundary for more information.
|
|
117
|
+
*
|
|
118
|
+
* @default 'viewport'
|
|
119
|
+
*/
|
|
120
|
+
rootBoundary?: TableHandleColumnPositionerProps$1['rootBoundary'];
|
|
121
|
+
/**
|
|
122
|
+
* Describes the virtual padding around the boundary to check for overflow.
|
|
123
|
+
* Please see https://floating-ui.com/docs/detectoverflow#padding for more information.
|
|
124
|
+
*
|
|
125
|
+
* @default 4
|
|
126
|
+
*/
|
|
127
|
+
overflowPadding?: TableHandleColumnPositionerProps$1['overflowPadding'];
|
|
128
|
+
/**
|
|
129
|
+
* The element that will be used to check for overflow. Please see
|
|
130
|
+
* https://floating-ui.com/docs/detectoverflow#elementcontext for more
|
|
131
|
+
* information.
|
|
132
|
+
*
|
|
133
|
+
* @default 'floating'
|
|
134
|
+
*/
|
|
135
|
+
elementContext?: TableHandleColumnPositionerProps$1['elementContext'];
|
|
136
|
+
/**
|
|
137
|
+
* Whether to check the alternate elementContext's boundary. Please see
|
|
138
|
+
* https://floating-ui.com/docs/detectoverflow#altboundary for more
|
|
139
|
+
* information.
|
|
140
|
+
*
|
|
141
|
+
* @default false
|
|
142
|
+
*/
|
|
143
|
+
altBoundary?: TableHandleColumnPositionerProps$1['altBoundary'];
|
|
144
|
+
/**
|
|
145
|
+
* The ProseKit editor instance.
|
|
146
|
+
*
|
|
147
|
+
* @default null
|
|
148
|
+
* @hidden
|
|
149
|
+
*/
|
|
150
|
+
editor?: TableHandleColumnPositionerProps$1['editor'];
|
|
151
|
+
}
|
|
14
152
|
/**
|
|
15
|
-
*
|
|
153
|
+
* A Solid component that renders an `prosekit-table-handle-column-positioner` custom element.
|
|
154
|
+
*
|
|
155
|
+
* @public
|
|
16
156
|
*/
|
|
17
|
-
|
|
18
|
-
|
|
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> {
|
|
166
|
+
/**
|
|
167
|
+
* Whether the overlay is initially open.
|
|
168
|
+
* @default false
|
|
169
|
+
*/
|
|
170
|
+
defaultOpen?: TableHandleColumnMenuRootProps$1['defaultOpen'];
|
|
171
|
+
/**
|
|
172
|
+
* Whether the overlay is currently open.
|
|
173
|
+
* @default null
|
|
174
|
+
*/
|
|
175
|
+
open?: TableHandleColumnMenuRootProps$1['open'];
|
|
176
|
+
/**
|
|
177
|
+
* Whether the component should ignore user interaction.
|
|
178
|
+
* @default false
|
|
179
|
+
*/
|
|
180
|
+
disabled?: TableHandleColumnMenuRootProps$1['disabled'];
|
|
181
|
+
}
|
|
182
|
+
/**
|
|
183
|
+
* A Solid component that renders an `prosekit-table-handle-column-menu-root` custom element.
|
|
184
|
+
*
|
|
185
|
+
* @public
|
|
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> {
|
|
196
|
+
/**
|
|
197
|
+
* @default null
|
|
198
|
+
* @hidden
|
|
199
|
+
*/
|
|
200
|
+
editor?: TableHandleColumnMenuTriggerProps$1['editor'];
|
|
201
|
+
}
|
|
202
|
+
/**
|
|
203
|
+
* A Solid component that renders an `prosekit-table-handle-column-menu-trigger` custom element.
|
|
204
|
+
*
|
|
205
|
+
* @public
|
|
206
|
+
*/
|
|
207
|
+
declare const TableHandleColumnMenuTrigger: Component<TableHandleColumnMenuTriggerProps>;
|
|
19
208
|
//#endregion
|
|
20
209
|
//#region src/components/table-handle/table-handle-drag-preview.gen.d.ts
|
|
21
210
|
/**
|
|
22
|
-
* Props for the {@link TableHandleDragPreview} component.
|
|
211
|
+
* Props for the {@link TableHandleDragPreview} Solid component.
|
|
212
|
+
*
|
|
213
|
+
* @public
|
|
214
|
+
*/
|
|
215
|
+
interface TableHandleDragPreviewProps extends JSX.HTMLAttributes<TableHandleDragPreviewElement> {
|
|
216
|
+
/**
|
|
217
|
+
* @default null
|
|
218
|
+
* @hidden
|
|
219
|
+
*/
|
|
220
|
+
editor?: TableHandleDragPreviewProps$1['editor'];
|
|
221
|
+
}
|
|
222
|
+
/**
|
|
223
|
+
* A Solid component that renders an `prosekit-table-handle-drag-preview` custom element.
|
|
224
|
+
*
|
|
225
|
+
* @public
|
|
23
226
|
*/
|
|
24
|
-
|
|
25
|
-
declare const TableHandleDragPreview: Component<PropsWithElement<TableHandleDragPreviewProps, TableHandleDragPreviewElement>>;
|
|
227
|
+
declare const TableHandleDragPreview: Component<TableHandleDragPreviewProps>;
|
|
26
228
|
//#endregion
|
|
27
229
|
//#region src/components/table-handle/table-handle-drop-indicator.gen.d.ts
|
|
28
230
|
/**
|
|
29
|
-
* Props for the {@link TableHandleDropIndicator} component.
|
|
231
|
+
* Props for the {@link TableHandleDropIndicator} Solid component.
|
|
232
|
+
*
|
|
233
|
+
* @public
|
|
234
|
+
*/
|
|
235
|
+
interface TableHandleDropIndicatorProps extends JSX.HTMLAttributes<TableHandleDropIndicatorElement> {
|
|
236
|
+
/**
|
|
237
|
+
* @default null
|
|
238
|
+
* @hidden
|
|
239
|
+
*/
|
|
240
|
+
editor?: TableHandleDropIndicatorProps$1['editor'];
|
|
241
|
+
}
|
|
242
|
+
/**
|
|
243
|
+
* A Solid component that renders an `prosekit-table-handle-drop-indicator` custom element.
|
|
244
|
+
*
|
|
245
|
+
* @public
|
|
30
246
|
*/
|
|
31
|
-
|
|
32
|
-
declare const TableHandleDropIndicator: Component<PropsWithElement<TableHandleDropIndicatorProps, TableHandleDropIndicatorElement>>;
|
|
247
|
+
declare const TableHandleDropIndicator: Component<TableHandleDropIndicatorProps>;
|
|
33
248
|
//#endregion
|
|
34
|
-
//#region src/components/table-handle/table-handle-
|
|
249
|
+
//#region src/components/table-handle/table-handle-root.gen.d.ts
|
|
35
250
|
/**
|
|
36
|
-
* Props for the {@link
|
|
251
|
+
* Props for the {@link TableHandleRoot} Solid component.
|
|
252
|
+
*
|
|
253
|
+
* @public
|
|
37
254
|
*/
|
|
38
|
-
interface
|
|
39
|
-
|
|
255
|
+
interface TableHandleRootProps extends JSX.HTMLAttributes<TableHandleRootElement> {
|
|
256
|
+
/**
|
|
257
|
+
* The ProseKit editor instance.
|
|
258
|
+
*
|
|
259
|
+
* @default null
|
|
260
|
+
* @hidden
|
|
261
|
+
*/
|
|
262
|
+
editor?: TableHandleRootProps$1['editor'];
|
|
263
|
+
}
|
|
264
|
+
/**
|
|
265
|
+
* A Solid component that renders an `prosekit-table-handle-root` custom element.
|
|
266
|
+
*
|
|
267
|
+
* @public
|
|
268
|
+
*/
|
|
269
|
+
declare const TableHandleRoot: Component<TableHandleRootProps>;
|
|
40
270
|
//#endregion
|
|
41
|
-
//#region src/components/table-handle/table-handle-
|
|
271
|
+
//#region src/components/table-handle/table-handle-row-popup.gen.d.ts
|
|
272
|
+
/**
|
|
273
|
+
* Props for the {@link TableHandleRowPopup} Solid component.
|
|
274
|
+
*
|
|
275
|
+
* @public
|
|
276
|
+
*/
|
|
277
|
+
interface TableHandleRowPopupProps extends JSX.HTMLAttributes<TableHandleRowPopupElement> {}
|
|
42
278
|
/**
|
|
43
|
-
*
|
|
279
|
+
* A Solid component that renders an `prosekit-table-handle-row-popup` custom element.
|
|
280
|
+
*
|
|
281
|
+
* @public
|
|
44
282
|
*/
|
|
45
|
-
|
|
46
|
-
declare const TableHandlePopoverItem: Component<PropsWithElement<TableHandlePopoverItemProps, TableHandlePopoverItemElement>>;
|
|
283
|
+
declare const TableHandleRowPopup: Component<TableHandleRowPopupProps>;
|
|
47
284
|
//#endregion
|
|
48
|
-
//#region src/components/table-handle/table-handle-
|
|
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> {
|
|
292
|
+
/**
|
|
293
|
+
* The placement of the popover, relative to the hovered table cell.
|
|
294
|
+
*
|
|
295
|
+
* @default "left"
|
|
296
|
+
*/
|
|
297
|
+
placement?: TableHandleRowPositionerProps$1['placement'];
|
|
298
|
+
/**
|
|
299
|
+
* The strategy to use for positioning
|
|
300
|
+
*
|
|
301
|
+
* @default "absolute"
|
|
302
|
+
*/
|
|
303
|
+
strategy?: TableHandleRowPositionerProps$1['strategy'];
|
|
304
|
+
/**
|
|
305
|
+
* Options to activate auto-update listeners
|
|
306
|
+
*
|
|
307
|
+
* @see https://floating-ui.com/docs/autoUpdate
|
|
308
|
+
*
|
|
309
|
+
* @default true
|
|
310
|
+
*/
|
|
311
|
+
autoUpdate?: TableHandleRowPositionerProps$1['autoUpdate'];
|
|
312
|
+
/**
|
|
313
|
+
* Whether to use the browser [Popover API](https://developer.mozilla.org/en-US/docs/Web/API/Popover_API)
|
|
314
|
+
* to place the floating element on top of other page content.
|
|
315
|
+
*
|
|
316
|
+
* @default false
|
|
317
|
+
*/
|
|
318
|
+
hoist?: TableHandleRowPositionerProps$1['hoist'];
|
|
319
|
+
/**
|
|
320
|
+
* @default 0
|
|
321
|
+
* @hidden
|
|
322
|
+
*/
|
|
323
|
+
offset?: TableHandleRowPositionerProps$1['offset'];
|
|
324
|
+
/**
|
|
325
|
+
* @default false
|
|
326
|
+
* @hidden
|
|
327
|
+
*/
|
|
328
|
+
flip?: TableHandleRowPositionerProps$1['flip'];
|
|
329
|
+
/**
|
|
330
|
+
* @default false
|
|
331
|
+
* @hidden
|
|
332
|
+
*/
|
|
333
|
+
shift?: TableHandleRowPositionerProps$1['shift'];
|
|
334
|
+
/**
|
|
335
|
+
* Whether the floating element can overlap the reference element to keep it
|
|
336
|
+
* in view.
|
|
337
|
+
*
|
|
338
|
+
* @default false
|
|
339
|
+
*/
|
|
340
|
+
overlap?: TableHandleRowPositionerProps$1['overlap'];
|
|
341
|
+
/**
|
|
342
|
+
* Whether to constrain the floating element's width and height to not exceed
|
|
343
|
+
* the viewport.
|
|
344
|
+
*
|
|
345
|
+
* @default false
|
|
346
|
+
*/
|
|
347
|
+
fitViewport?: TableHandleRowPositionerProps$1['fitViewport'];
|
|
348
|
+
/**
|
|
349
|
+
* Whether to constrain the floating element's width so that it matches the
|
|
350
|
+
* reference element.
|
|
351
|
+
*
|
|
352
|
+
* @default false
|
|
353
|
+
*/
|
|
354
|
+
sameWidth?: TableHandleRowPositionerProps$1['sameWidth'];
|
|
355
|
+
/**
|
|
356
|
+
* Whether to constrain the floating element's height so that it matches the
|
|
357
|
+
* reference element.
|
|
358
|
+
*
|
|
359
|
+
* @default false
|
|
360
|
+
*/
|
|
361
|
+
sameHeight?: TableHandleRowPositionerProps$1['sameHeight'];
|
|
362
|
+
/**
|
|
363
|
+
* Whether to improve positioning for inline reference elements that span over
|
|
364
|
+
* multiple lines.
|
|
365
|
+
*
|
|
366
|
+
* @default false
|
|
367
|
+
*/
|
|
368
|
+
inline?: TableHandleRowPositionerProps$1['inline'];
|
|
369
|
+
/**
|
|
370
|
+
* @default true
|
|
371
|
+
* @hidden
|
|
372
|
+
*/
|
|
373
|
+
hide?: TableHandleRowPositionerProps$1['hide'];
|
|
374
|
+
/**
|
|
375
|
+
* Describes the clipping element(s) or area that overflow will be checked relative to.
|
|
376
|
+
* Please see https://floating-ui.com/docs/detectoverflow#boundary for more information.
|
|
377
|
+
*
|
|
378
|
+
* @default 'clippingAncestors'
|
|
379
|
+
*/
|
|
380
|
+
boundary?: TableHandleRowPositionerProps$1['boundary'];
|
|
381
|
+
/**
|
|
382
|
+
* Describes the root boundary that the element will be checked for overflow relative to.
|
|
383
|
+
* Please see https://floating-ui.com/docs/detectoverflow#rootboundary for more information.
|
|
384
|
+
*
|
|
385
|
+
* @default 'viewport'
|
|
386
|
+
*/
|
|
387
|
+
rootBoundary?: TableHandleRowPositionerProps$1['rootBoundary'];
|
|
388
|
+
/**
|
|
389
|
+
* Describes the virtual padding around the boundary to check for overflow.
|
|
390
|
+
* Please see https://floating-ui.com/docs/detectoverflow#padding for more information.
|
|
391
|
+
*
|
|
392
|
+
* @default 4
|
|
393
|
+
*/
|
|
394
|
+
overflowPadding?: TableHandleRowPositionerProps$1['overflowPadding'];
|
|
395
|
+
/**
|
|
396
|
+
* The element that will be used to check for overflow. Please see
|
|
397
|
+
* https://floating-ui.com/docs/detectoverflow#elementcontext for more
|
|
398
|
+
* information.
|
|
399
|
+
*
|
|
400
|
+
* @default 'floating'
|
|
401
|
+
*/
|
|
402
|
+
elementContext?: TableHandleRowPositionerProps$1['elementContext'];
|
|
403
|
+
/**
|
|
404
|
+
* Whether to check the alternate elementContext's boundary. Please see
|
|
405
|
+
* https://floating-ui.com/docs/detectoverflow#altboundary for more
|
|
406
|
+
* information.
|
|
407
|
+
*
|
|
408
|
+
* @default false
|
|
409
|
+
*/
|
|
410
|
+
altBoundary?: TableHandleRowPositionerProps$1['altBoundary'];
|
|
411
|
+
/**
|
|
412
|
+
* The ProseKit editor instance.
|
|
413
|
+
*
|
|
414
|
+
* @default null
|
|
415
|
+
* @hidden
|
|
416
|
+
*/
|
|
417
|
+
editor?: TableHandleRowPositionerProps$1['editor'];
|
|
418
|
+
}
|
|
49
419
|
/**
|
|
50
|
-
*
|
|
420
|
+
* A Solid component that renders an `prosekit-table-handle-row-positioner` custom element.
|
|
421
|
+
*
|
|
422
|
+
* @public
|
|
51
423
|
*/
|
|
52
|
-
|
|
53
|
-
declare const TableHandleRoot: Component<PropsWithElement<TableHandleRootProps, TableHandleRootElement>>;
|
|
424
|
+
declare const TableHandleRowPositioner: Component<TableHandleRowPositionerProps>;
|
|
54
425
|
//#endregion
|
|
55
|
-
//#region src/components/table-handle/table-handle-row-root.gen.d.ts
|
|
426
|
+
//#region src/components/table-handle/table-handle-row-menu-root.gen.d.ts
|
|
56
427
|
/**
|
|
57
|
-
* Props for the {@link
|
|
428
|
+
* Props for the {@link TableHandleRowMenuRoot} Solid component.
|
|
429
|
+
*
|
|
430
|
+
* @public
|
|
58
431
|
*/
|
|
59
|
-
interface
|
|
60
|
-
|
|
432
|
+
interface TableHandleRowMenuRootProps extends JSX.HTMLAttributes<TableHandleRowMenuRootElement> {
|
|
433
|
+
/**
|
|
434
|
+
* Whether the overlay is initially open.
|
|
435
|
+
* @default false
|
|
436
|
+
*/
|
|
437
|
+
defaultOpen?: TableHandleRowMenuRootProps$1['defaultOpen'];
|
|
438
|
+
/**
|
|
439
|
+
* Whether the overlay is currently open.
|
|
440
|
+
* @default null
|
|
441
|
+
*/
|
|
442
|
+
open?: TableHandleRowMenuRootProps$1['open'];
|
|
443
|
+
/**
|
|
444
|
+
* Whether the component should ignore user interaction.
|
|
445
|
+
* @default false
|
|
446
|
+
*/
|
|
447
|
+
disabled?: TableHandleRowMenuRootProps$1['disabled'];
|
|
448
|
+
}
|
|
449
|
+
/**
|
|
450
|
+
* A Solid component that renders an `prosekit-table-handle-row-menu-root` custom element.
|
|
451
|
+
*
|
|
452
|
+
* @public
|
|
453
|
+
*/
|
|
454
|
+
declare const TableHandleRowMenuRoot: Component<TableHandleRowMenuRootProps>;
|
|
61
455
|
//#endregion
|
|
62
|
-
//#region src/components/table-handle/table-handle-row-trigger.gen.d.ts
|
|
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> {
|
|
463
|
+
/**
|
|
464
|
+
* @default null
|
|
465
|
+
* @hidden
|
|
466
|
+
*/
|
|
467
|
+
editor?: TableHandleRowMenuTriggerProps$1['editor'];
|
|
468
|
+
}
|
|
63
469
|
/**
|
|
64
|
-
*
|
|
470
|
+
* A Solid component that renders an `prosekit-table-handle-row-menu-trigger` custom element.
|
|
471
|
+
*
|
|
472
|
+
* @public
|
|
65
473
|
*/
|
|
66
|
-
|
|
67
|
-
declare const TableHandleRowTrigger: Component<PropsWithElement<TableHandleRowTriggerProps, TableHandleRowTriggerElement>>;
|
|
474
|
+
declare const TableHandleRowMenuTrigger: Component<TableHandleRowMenuTriggerProps>;
|
|
68
475
|
//#endregion
|
|
69
|
-
export {
|
|
476
|
+
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 };
|
|
70
477
|
//# 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-root.gen.ts","../src/components/table-handle/table-handle-column-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-
|
|
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":";;;;;;;;;UAaiB,2BAAA,SAAoC,GAAA,CAAI,cAAA,CAAe,6BAAA;;AAOxE;;;;cAAa,sBAAA,EAAwB,SAAA,CAAU,2BAAA;;;;;;;;UCJ9B,gCAAA,SAAyC,GAAA,CAAI,cAAA,CAAe,kCAAA;EDHwB;;AAOrG;;;ECEE,SAAA,GAAY,kCAAA;EDF4D;;;;ACJ1E;EAYE,QAAA,GAAW,kCAAA;;;;;;;;EAQX,UAAA,GAAa,kCAAA;EAsBL;;;;;;EAfR,KAAA,GAAQ,kCAAA;EA8DG;;;;EAzDX,MAAA,GAAS,kCAAA;EA8FA;;;;EAzFT,IAAA,GAAO,kCAAA;EArCqD;;;;EA0C5D,KAAA,GAAQ,kCAAA;EA9BG;;;;;;EAqCX,OAAA,GAAU,kCAAA;EAZV;;;;;;EAmBA,WAAA,GAAc,kCAAA;EAAA;;;;;;EAOd,SAAA,GAAY,kCAAA;EAmBZ;;;;;;EAZA,UAAA,GAAa,kCAAA;EAiCK;;;;;;EA1BlB,MAAA,GAAS,kCAAA;EAiDuC;;AAQlD;;EApDE,IAAA,GAAO,kCAAA;EAoDiC;;;;;ACxI1C;ED2FE,QAAA,GAAW,kCAAA;;;;;;;EAOX,YAAA,GAAe,kCAAA;EClGyD;;;;;;EDyGxE,eAAA,GAAkB,kCAAA;EC/FX;;;;;AAaT;;ED0FE,cAAA,GAAiB,kCAAA;EC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