@prosekit/preact 0.7.0-beta.3 → 0.7.0-beta.4
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-preact-autocomplete.d.ts +10 -61
- package/dist/prosekit-preact-autocomplete.d.ts.map +1 -1
- package/dist/prosekit-preact-autocomplete.js +5 -50
- package/dist/prosekit-preact-autocomplete.js.map +1 -1
- package/dist/prosekit-preact-block-handle.d.ts +10 -61
- package/dist/prosekit-preact-block-handle.d.ts.map +1 -1
- package/dist/prosekit-preact-block-handle.js +5 -50
- package/dist/prosekit-preact-block-handle.js.map +1 -1
- package/dist/prosekit-preact-drop-indicator.d.ts +2 -13
- package/dist/prosekit-preact-drop-indicator.d.ts.map +1 -1
- package/dist/prosekit-preact-drop-indicator.js +1 -10
- package/dist/prosekit-preact-drop-indicator.js.map +1 -1
- package/dist/prosekit-preact-inline-popover.d.ts +6 -37
- package/dist/prosekit-preact-inline-popover.d.ts.map +1 -1
- package/dist/prosekit-preact-inline-popover.js +3 -30
- package/dist/prosekit-preact-inline-popover.js.map +1 -1
- package/dist/prosekit-preact-menu.d.ts +48 -88
- package/dist/prosekit-preact-menu.d.ts.map +1 -1
- package/dist/prosekit-preact-menu.js +37 -72
- package/dist/prosekit-preact-menu.js.map +1 -1
- package/dist/prosekit-preact-popover.d.ts +8 -49
- package/dist/prosekit-preact-popover.d.ts.map +1 -1
- package/dist/prosekit-preact-popover.js +4 -40
- package/dist/prosekit-preact-popover.js.map +1 -1
- package/dist/prosekit-preact-resizable.d.ts +4 -25
- package/dist/prosekit-preact-resizable.d.ts.map +1 -1
- package/dist/prosekit-preact-resizable.js +2 -20
- package/dist/prosekit-preact-resizable.js.map +1 -1
- package/dist/prosekit-preact-table-handle.d.ts +22 -133
- package/dist/prosekit-preact-table-handle.d.ts.map +1 -1
- package/dist/prosekit-preact-table-handle.js +11 -110
- package/dist/prosekit-preact-table-handle.js.map +1 -1
- package/dist/prosekit-preact-tooltip.d.ts +8 -49
- package/dist/prosekit-preact-tooltip.d.ts.map +1 -1
- package/dist/prosekit-preact-tooltip.js +4 -40
- package/dist/prosekit-preact-tooltip.js.map +1 -1
- package/dist/prosekit-preact.d.ts +0 -21
- package/dist/prosekit-preact.d.ts.map +1 -1
- package/dist/prosekit-preact.js +0 -26
- package/dist/prosekit-preact.js.map +1 -1
- package/package.json +5 -5
- package/src/components/autocomplete/autocomplete-empty.gen.ts +3 -13
- package/src/components/autocomplete/autocomplete-item.gen.ts +3 -13
- package/src/components/autocomplete/autocomplete-popup.gen.ts +3 -13
- package/src/components/autocomplete/autocomplete-positioner.gen.ts +3 -13
- package/src/components/autocomplete/autocomplete-root.gen.ts +3 -13
- package/src/components/autocomplete/index.gen.ts +1 -3
- package/src/components/block-handle/block-handle-add.gen.ts +3 -13
- package/src/components/block-handle/block-handle-draggable.gen.ts +3 -13
- package/src/components/block-handle/block-handle-popup.gen.ts +3 -13
- package/src/components/block-handle/block-handle-positioner.gen.ts +3 -13
- package/src/components/block-handle/block-handle-root.gen.ts +3 -13
- package/src/components/block-handle/index.gen.ts +1 -3
- package/src/components/drop-indicator/drop-indicator.gen.ts +3 -13
- package/src/components/drop-indicator/index.gen.ts +1 -3
- package/src/components/inline-popover/index.gen.ts +1 -3
- package/src/components/inline-popover/inline-popover-popup.gen.ts +3 -13
- package/src/components/inline-popover/inline-popover-positioner.gen.ts +3 -13
- package/src/components/inline-popover/inline-popover-root.gen.ts +3 -13
- package/src/components/menu/index.gen.ts +1 -3
- package/src/components/menu/menu-item.gen.ts +3 -13
- package/src/components/menu/menu-popup.gen.ts +3 -13
- package/src/components/menu/menu-positioner.gen.ts +3 -13
- package/src/components/menu/menu-root.gen.ts +3 -13
- package/src/components/menu/menu-submenu-root.gen.ts +49 -17
- package/src/components/menu/menu-submenu-trigger.gen.ts +27 -18
- package/src/components/menu/menu-trigger.gen.ts +3 -13
- package/src/components/popover/index.gen.ts +1 -3
- package/src/components/popover/popover-popup.gen.ts +3 -13
- package/src/components/popover/popover-positioner.gen.ts +3 -13
- package/src/components/popover/popover-root.gen.ts +3 -13
- package/src/components/popover/popover-trigger.gen.ts +3 -13
- package/src/components/resizable/index.gen.ts +1 -3
- package/src/components/resizable/resizable-handle.gen.ts +3 -13
- package/src/components/resizable/resizable-root.gen.ts +3 -13
- package/src/components/table-handle/index.gen.ts +1 -3
- package/src/components/table-handle/table-handle-column-menu-root.gen.ts +3 -13
- package/src/components/table-handle/table-handle-column-menu-trigger.gen.ts +3 -13
- package/src/components/table-handle/table-handle-column-popup.gen.ts +3 -13
- package/src/components/table-handle/table-handle-column-positioner.gen.ts +3 -13
- package/src/components/table-handle/table-handle-drag-preview.gen.ts +3 -13
- package/src/components/table-handle/table-handle-drop-indicator.gen.ts +3 -13
- package/src/components/table-handle/table-handle-root.gen.ts +3 -13
- package/src/components/table-handle/table-handle-row-menu-root.gen.ts +3 -13
- package/src/components/table-handle/table-handle-row-menu-trigger.gen.ts +3 -13
- package/src/components/table-handle/table-handle-row-popup.gen.ts +3 -13
- package/src/components/table-handle/table-handle-row-positioner.gen.ts +3 -13
- package/src/components/tooltip/index.gen.ts +1 -3
- package/src/components/tooltip/tooltip-popup.gen.ts +3 -13
- package/src/components/tooltip/tooltip-positioner.gen.ts +3 -13
- package/src/components/tooltip/tooltip-root.gen.ts +3 -13
- package/src/components/tooltip/tooltip-trigger.gen.ts +3 -13
|
@@ -2,10 +2,6 @@ import { createElement } from "preact";
|
|
|
2
2
|
import { useCallback, useLayoutEffect, useRef } from "preact/hooks";
|
|
3
3
|
import { forwardRef } from "preact/compat";
|
|
4
4
|
import { registerResizableHandleElement, registerResizableRootElement } from "@prosekit/web/resizable";
|
|
5
|
-
//#region src/components/resizable/resizable-root.gen.ts
|
|
6
|
-
/**
|
|
7
|
-
* This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly.
|
|
8
|
-
*/
|
|
9
5
|
function ResizableRootComponent(props, forwardedRef) {
|
|
10
6
|
registerResizableRootElement();
|
|
11
7
|
const elementRef = useRef(null);
|
|
@@ -41,17 +37,8 @@ function ResizableRootComponent(props, forwardedRef) {
|
|
|
41
37
|
suppressHydrationWarning: true
|
|
42
38
|
});
|
|
43
39
|
}
|
|
44
|
-
/**
|
|
45
|
-
* A Preact component that renders an `prosekit-resizable-root` custom element.
|
|
46
|
-
*
|
|
47
|
-
* @public
|
|
48
|
-
*/
|
|
40
|
+
/** A Preact component that renders an `prosekit-resizable-root` custom element. */
|
|
49
41
|
const ResizableRoot = /* @__PURE__ */ forwardRef(ResizableRootComponent);
|
|
50
|
-
//#endregion
|
|
51
|
-
//#region src/components/resizable/resizable-handle.gen.ts
|
|
52
|
-
/**
|
|
53
|
-
* This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly.
|
|
54
|
-
*/
|
|
55
42
|
function ResizableHandleComponent(props, forwardedRef) {
|
|
56
43
|
registerResizableHandleElement();
|
|
57
44
|
const elementRef = useRef(null);
|
|
@@ -72,13 +59,8 @@ function ResizableHandleComponent(props, forwardedRef) {
|
|
|
72
59
|
suppressHydrationWarning: true
|
|
73
60
|
});
|
|
74
61
|
}
|
|
75
|
-
/**
|
|
76
|
-
* A Preact component that renders an `prosekit-resizable-handle` custom element.
|
|
77
|
-
*
|
|
78
|
-
* @public
|
|
79
|
-
*/
|
|
62
|
+
/** A Preact component that renders an `prosekit-resizable-handle` custom element. */
|
|
80
63
|
const ResizableHandle = /* @__PURE__ */ forwardRef(ResizableHandleComponent);
|
|
81
|
-
//#endregion
|
|
82
64
|
export { ResizableHandle, ResizableRoot };
|
|
83
65
|
|
|
84
66
|
//# sourceMappingURL=prosekit-preact-resizable.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prosekit-preact-resizable.js","names":[],"sources":["../src/components/resizable/resizable-root.gen.ts","../src/components/resizable/resizable-handle.gen.ts"],"sourcesContent":["
|
|
1
|
+
{"version":3,"file":"prosekit-preact-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 ResizableRootProps as ResizableRootElementProps, type ResizableRootEvents } from '@prosekit/web/resizable';\nimport { createElement, type HTMLAttributes, type Ref } from 'preact';\nimport { forwardRef, type ForwardRefExoticComponent, type RefAttributes } from 'preact/compat';\nimport { useCallback, useRef, useLayoutEffect } from 'preact/hooks';\n\n/** Props for the {@link ResizableRoot} Preact 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\nfunction ResizableRootComponent(props: ResizableRootProps, forwardedRef: Ref<ResizableRootElement>) {\n registerResizableRootElement();\n\n const elementRef = useRef<ResizableRootElement>(null);\n const handlersRef = useRef<Array<((event: Event) => void) | undefined>>([]);\n\n const { aspectRatio: p0, height: p1, width: p2, onResizeEnd: e0, onResizeStart: e1, ...restProps } = props;\n\n useLayoutEffect(() => {\n const element = elementRef.current as Record<string, unknown> | null;\n if (!element) return;\n Object.assign(element, { aspectRatio: p0, height: p1, width: p2 });\n handlersRef.current = [e0, e1] as Array<((event: Event) => void) | undefined>;\n });\n\n useLayoutEffect(() => {\n const element = elementRef.current;\n if (!element) return;\n const ac = new AbortController();\n for (const [index, eventName] of ['resizeEnd', 'resizeStart'].entries()) {\n element.addEventListener(\n eventName,\n (event: Event) => {\n handlersRef.current[index]?.(event);\n },\n { signal: ac.signal },\n );\n }\n return () => ac.abort();\n }, []);\n\n const mergedRef = useCallback(\n (element: ResizableRootElement | null) => {\n elementRef.current = element;\n if (typeof forwardedRef === 'function') {\n forwardedRef(element);\n } else if (forwardedRef) {\n forwardedRef.current = element;\n }\n },\n [forwardedRef],\n );\n\n return createElement('prosekit-resizable-root', { ...restProps, ref: mergedRef, suppressHydrationWarning: true });\n}\n\n/** A Preact component that renders an `prosekit-resizable-root` custom element. */\nexport const ResizableRoot: ForwardRefExoticComponent<ResizableRootProps & HTMLAttributes<ResizableRootElement> & RefAttributes<ResizableRootElement>> = /* @__PURE__ */ forwardRef(ResizableRootComponent);\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 { createElement, type HTMLAttributes, type Ref } from 'preact';\nimport { forwardRef, type ForwardRefExoticComponent, type RefAttributes } from 'preact/compat';\nimport { useCallback, useRef, useLayoutEffect } from 'preact/hooks';\n\n/** Props for the {@link ResizableHandle} Preact component. */\nexport interface ResizableHandleProps {\n /**\n * The position of the handle.\n *\n * @default \"bottom-right\"\n */\n position?: ResizableHandleElementProps['position'];\n}\n\nfunction ResizableHandleComponent(props: ResizableHandleProps, forwardedRef: Ref<ResizableHandleElement>) {\n registerResizableHandleElement();\n\n const elementRef = useRef<ResizableHandleElement>(null);\n\n const { position: p0, ...restProps } = props;\n\n useLayoutEffect(() => {\n const element = elementRef.current as Record<string, unknown> | null;\n if (!element) return;\n Object.assign(element, { position: p0 });\n });\n\n const mergedRef = useCallback(\n (element: ResizableHandleElement | null) => {\n elementRef.current = element;\n if (typeof forwardedRef === 'function') {\n forwardedRef(element);\n } else if (forwardedRef) {\n forwardedRef.current = element;\n }\n },\n [forwardedRef],\n );\n\n return createElement('prosekit-resizable-handle', { ...restProps, ref: mergedRef, suppressHydrationWarning: true });\n}\n\n/** A Preact component that renders an `prosekit-resizable-handle` custom element. */\nexport const ResizableHandle: ForwardRefExoticComponent<ResizableHandleProps & HTMLAttributes<ResizableHandleElement> & RefAttributes<ResizableHandleElement>> = /* @__PURE__ */ forwardRef(ResizableHandleComponent);\n"],"mappings":";;;;AAiCA,SAAS,uBAAuB,OAA2B,cAAyC;AAClG,+BAA8B;CAE9B,MAAM,aAAa,OAA6B,KAAK;CACrD,MAAM,cAAc,OAAoD,EAAE,CAAC;CAE3E,MAAM,EAAE,aAAa,IAAI,QAAQ,IAAI,OAAO,IAAI,aAAa,IAAI,eAAe,IAAI,GAAG,cAAc;AAErG,uBAAsB;EACpB,MAAM,UAAU,WAAW;AAC3B,MAAI,CAAC,QAAS;AACd,SAAO,OAAO,SAAS;GAAE,aAAa;GAAI,QAAQ;GAAI,OAAO;GAAI,CAAC;AAClE,cAAY,UAAU,CAAC,IAAI,GAAG;GAC9B;AAEF,uBAAsB;EACpB,MAAM,UAAU,WAAW;AAC3B,MAAI,CAAC,QAAS;EACd,MAAM,KAAK,IAAI,iBAAiB;AAChC,OAAK,MAAM,CAAC,OAAO,cAAc,CAAC,aAAa,cAAc,CAAC,SAAS,CACrE,SAAQ,iBACN,YACC,UAAiB;AAChB,eAAY,QAAQ,SAAS,MAAM;KAErC,EAAE,QAAQ,GAAG,QAAQ,CACtB;AAEH,eAAa,GAAG,OAAO;IACtB,EAAE,CAAC;CAEN,MAAM,YAAY,aACf,YAAyC;AACxC,aAAW,UAAU;AACrB,MAAI,OAAO,iBAAiB,WAC1B,cAAa,QAAQ;WACZ,aACT,cAAa,UAAU;IAG3B,CAAC,aAAa,CACf;AAED,QAAO,cAAc,2BAA2B;EAAE,GAAG;EAAW,KAAK;EAAW,0BAA0B;EAAM,CAAC;;;AAInH,MAAa,gBAA4J,2BAAW,uBAAuB;AC/D3M,SAAS,yBAAyB,OAA6B,cAA2C;AACxG,iCAAgC;CAEhC,MAAM,aAAa,OAA+B,KAAK;CAEvD,MAAM,EAAE,UAAU,IAAI,GAAG,cAAc;AAEvC,uBAAsB;EACpB,MAAM,UAAU,WAAW;AAC3B,MAAI,CAAC,QAAS;AACd,SAAO,OAAO,SAAS,EAAE,UAAU,IAAI,CAAC;GACxC;CAEF,MAAM,YAAY,aACf,YAA2C;AAC1C,aAAW,UAAU;AACrB,MAAI,OAAO,iBAAiB,WAC1B,cAAa,QAAQ;WACZ,aACT,cAAa,UAAU;IAG3B,CAAC,aAAa,CACf;AAED,QAAO,cAAc,6BAA6B;EAAE,GAAG;EAAW,KAAK;EAAW,0BAA0B;EAAM,CAAC;;;AAIrH,MAAa,kBAAoK,2BAAW,yBAAyB"}
|
|
@@ -1,27 +1,11 @@
|
|
|
1
1
|
import { HTMLAttributes } from "preact";
|
|
2
2
|
import { ForwardRefExoticComponent, RefAttributes } from "preact/compat";
|
|
3
3
|
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";
|
|
4
|
-
|
|
5
|
-
//#region src/components/table-handle/table-handle-column-popup.gen.d.ts
|
|
6
|
-
/**
|
|
7
|
-
* Props for the {@link TableHandleColumnPopup} Preact component.
|
|
8
|
-
*
|
|
9
|
-
* @public
|
|
10
|
-
*/
|
|
4
|
+
/** Props for the {@link TableHandleColumnPopup} Preact component. */
|
|
11
5
|
interface TableHandleColumnPopupProps {}
|
|
12
|
-
/**
|
|
13
|
-
* A Preact component that renders an `prosekit-table-handle-column-popup` custom element.
|
|
14
|
-
*
|
|
15
|
-
* @public
|
|
16
|
-
*/
|
|
6
|
+
/** A Preact component that renders an `prosekit-table-handle-column-popup` custom element. */
|
|
17
7
|
declare const TableHandleColumnPopup: ForwardRefExoticComponent<TableHandleColumnPopupProps & HTMLAttributes<TableHandleColumnPopupElement> & RefAttributes<TableHandleColumnPopupElement>>;
|
|
18
|
-
|
|
19
|
-
//#region src/components/table-handle/table-handle-column-positioner.gen.d.ts
|
|
20
|
-
/**
|
|
21
|
-
* Props for the {@link TableHandleColumnPositioner} Preact component.
|
|
22
|
-
*
|
|
23
|
-
* @public
|
|
24
|
-
*/
|
|
8
|
+
/** Props for the {@link TableHandleColumnPositioner} Preact component. */
|
|
25
9
|
interface TableHandleColumnPositionerProps {
|
|
26
10
|
/**
|
|
27
11
|
* The placement of the popover, relative to the hovered table cell.
|
|
@@ -150,19 +134,9 @@ interface TableHandleColumnPositionerProps {
|
|
|
150
134
|
*/
|
|
151
135
|
editor?: TableHandleColumnPositionerProps$1['editor'];
|
|
152
136
|
}
|
|
153
|
-
/**
|
|
154
|
-
* A Preact component that renders an `prosekit-table-handle-column-positioner` custom element.
|
|
155
|
-
*
|
|
156
|
-
* @public
|
|
157
|
-
*/
|
|
137
|
+
/** A Preact component that renders an `prosekit-table-handle-column-positioner` custom element. */
|
|
158
138
|
declare const TableHandleColumnPositioner: ForwardRefExoticComponent<TableHandleColumnPositionerProps & HTMLAttributes<TableHandleColumnPositionerElement> & RefAttributes<TableHandleColumnPositionerElement>>;
|
|
159
|
-
|
|
160
|
-
//#region src/components/table-handle/table-handle-column-menu-root.gen.d.ts
|
|
161
|
-
/**
|
|
162
|
-
* Props for the {@link TableHandleColumnMenuRoot} Preact component.
|
|
163
|
-
*
|
|
164
|
-
* @public
|
|
165
|
-
*/
|
|
139
|
+
/** Props for the {@link TableHandleColumnMenuRoot} Preact component. */
|
|
166
140
|
interface TableHandleColumnMenuRootProps {
|
|
167
141
|
/**
|
|
168
142
|
* Whether the overlay is initially open.
|
|
@@ -180,19 +154,9 @@ interface TableHandleColumnMenuRootProps {
|
|
|
180
154
|
*/
|
|
181
155
|
disabled?: TableHandleColumnMenuRootProps$1['disabled'];
|
|
182
156
|
}
|
|
183
|
-
/**
|
|
184
|
-
* A Preact component that renders an `prosekit-table-handle-column-menu-root` custom element.
|
|
185
|
-
*
|
|
186
|
-
* @public
|
|
187
|
-
*/
|
|
157
|
+
/** A Preact component that renders an `prosekit-table-handle-column-menu-root` custom element. */
|
|
188
158
|
declare const TableHandleColumnMenuRoot: ForwardRefExoticComponent<TableHandleColumnMenuRootProps & HTMLAttributes<TableHandleColumnMenuRootElement> & RefAttributes<TableHandleColumnMenuRootElement>>;
|
|
189
|
-
|
|
190
|
-
//#region src/components/table-handle/table-handle-column-menu-trigger.gen.d.ts
|
|
191
|
-
/**
|
|
192
|
-
* Props for the {@link TableHandleColumnMenuTrigger} Preact component.
|
|
193
|
-
*
|
|
194
|
-
* @public
|
|
195
|
-
*/
|
|
159
|
+
/** Props for the {@link TableHandleColumnMenuTrigger} Preact component. */
|
|
196
160
|
interface TableHandleColumnMenuTriggerProps {
|
|
197
161
|
/**
|
|
198
162
|
* @default null
|
|
@@ -200,19 +164,9 @@ interface TableHandleColumnMenuTriggerProps {
|
|
|
200
164
|
*/
|
|
201
165
|
editor?: TableHandleColumnMenuTriggerProps$1['editor'];
|
|
202
166
|
}
|
|
203
|
-
/**
|
|
204
|
-
* A Preact component that renders an `prosekit-table-handle-column-menu-trigger` custom element.
|
|
205
|
-
*
|
|
206
|
-
* @public
|
|
207
|
-
*/
|
|
167
|
+
/** A Preact component that renders an `prosekit-table-handle-column-menu-trigger` custom element. */
|
|
208
168
|
declare const TableHandleColumnMenuTrigger: ForwardRefExoticComponent<TableHandleColumnMenuTriggerProps & HTMLAttributes<TableHandleColumnMenuTriggerElement> & RefAttributes<TableHandleColumnMenuTriggerElement>>;
|
|
209
|
-
|
|
210
|
-
//#region src/components/table-handle/table-handle-drag-preview.gen.d.ts
|
|
211
|
-
/**
|
|
212
|
-
* Props for the {@link TableHandleDragPreview} Preact component.
|
|
213
|
-
*
|
|
214
|
-
* @public
|
|
215
|
-
*/
|
|
169
|
+
/** Props for the {@link TableHandleDragPreview} Preact component. */
|
|
216
170
|
interface TableHandleDragPreviewProps {
|
|
217
171
|
/**
|
|
218
172
|
* @default null
|
|
@@ -220,19 +174,9 @@ interface TableHandleDragPreviewProps {
|
|
|
220
174
|
*/
|
|
221
175
|
editor?: TableHandleDragPreviewProps$1['editor'];
|
|
222
176
|
}
|
|
223
|
-
/**
|
|
224
|
-
* A Preact component that renders an `prosekit-table-handle-drag-preview` custom element.
|
|
225
|
-
*
|
|
226
|
-
* @public
|
|
227
|
-
*/
|
|
177
|
+
/** A Preact component that renders an `prosekit-table-handle-drag-preview` custom element. */
|
|
228
178
|
declare const TableHandleDragPreview: ForwardRefExoticComponent<TableHandleDragPreviewProps & HTMLAttributes<TableHandleDragPreviewElement> & RefAttributes<TableHandleDragPreviewElement>>;
|
|
229
|
-
|
|
230
|
-
//#region src/components/table-handle/table-handle-drop-indicator.gen.d.ts
|
|
231
|
-
/**
|
|
232
|
-
* Props for the {@link TableHandleDropIndicator} Preact component.
|
|
233
|
-
*
|
|
234
|
-
* @public
|
|
235
|
-
*/
|
|
179
|
+
/** Props for the {@link TableHandleDropIndicator} Preact component. */
|
|
236
180
|
interface TableHandleDropIndicatorProps {
|
|
237
181
|
/**
|
|
238
182
|
* @default null
|
|
@@ -240,19 +184,9 @@ interface TableHandleDropIndicatorProps {
|
|
|
240
184
|
*/
|
|
241
185
|
editor?: TableHandleDropIndicatorProps$1['editor'];
|
|
242
186
|
}
|
|
243
|
-
/**
|
|
244
|
-
* A Preact component that renders an `prosekit-table-handle-drop-indicator` custom element.
|
|
245
|
-
*
|
|
246
|
-
* @public
|
|
247
|
-
*/
|
|
187
|
+
/** A Preact component that renders an `prosekit-table-handle-drop-indicator` custom element. */
|
|
248
188
|
declare const TableHandleDropIndicator: ForwardRefExoticComponent<TableHandleDropIndicatorProps & HTMLAttributes<TableHandleDropIndicatorElement> & RefAttributes<TableHandleDropIndicatorElement>>;
|
|
249
|
-
|
|
250
|
-
//#region src/components/table-handle/table-handle-root.gen.d.ts
|
|
251
|
-
/**
|
|
252
|
-
* Props for the {@link TableHandleRoot} Preact component.
|
|
253
|
-
*
|
|
254
|
-
* @public
|
|
255
|
-
*/
|
|
189
|
+
/** Props for the {@link TableHandleRoot} Preact component. */
|
|
256
190
|
interface TableHandleRootProps {
|
|
257
191
|
/**
|
|
258
192
|
* The ProseKit editor instance.
|
|
@@ -262,33 +196,13 @@ interface TableHandleRootProps {
|
|
|
262
196
|
*/
|
|
263
197
|
editor?: TableHandleRootProps$1['editor'];
|
|
264
198
|
}
|
|
265
|
-
/**
|
|
266
|
-
* A Preact component that renders an `prosekit-table-handle-root` custom element.
|
|
267
|
-
*
|
|
268
|
-
* @public
|
|
269
|
-
*/
|
|
199
|
+
/** A Preact component that renders an `prosekit-table-handle-root` custom element. */
|
|
270
200
|
declare const TableHandleRoot: ForwardRefExoticComponent<TableHandleRootProps & HTMLAttributes<TableHandleRootElement> & RefAttributes<TableHandleRootElement>>;
|
|
271
|
-
|
|
272
|
-
//#region src/components/table-handle/table-handle-row-popup.gen.d.ts
|
|
273
|
-
/**
|
|
274
|
-
* Props for the {@link TableHandleRowPopup} Preact component.
|
|
275
|
-
*
|
|
276
|
-
* @public
|
|
277
|
-
*/
|
|
201
|
+
/** Props for the {@link TableHandleRowPopup} Preact component. */
|
|
278
202
|
interface TableHandleRowPopupProps {}
|
|
279
|
-
/**
|
|
280
|
-
* A Preact component that renders an `prosekit-table-handle-row-popup` custom element.
|
|
281
|
-
*
|
|
282
|
-
* @public
|
|
283
|
-
*/
|
|
203
|
+
/** A Preact component that renders an `prosekit-table-handle-row-popup` custom element. */
|
|
284
204
|
declare const TableHandleRowPopup: ForwardRefExoticComponent<TableHandleRowPopupProps & HTMLAttributes<TableHandleRowPopupElement> & RefAttributes<TableHandleRowPopupElement>>;
|
|
285
|
-
|
|
286
|
-
//#region src/components/table-handle/table-handle-row-positioner.gen.d.ts
|
|
287
|
-
/**
|
|
288
|
-
* Props for the {@link TableHandleRowPositioner} Preact component.
|
|
289
|
-
*
|
|
290
|
-
* @public
|
|
291
|
-
*/
|
|
205
|
+
/** Props for the {@link TableHandleRowPositioner} Preact component. */
|
|
292
206
|
interface TableHandleRowPositionerProps {
|
|
293
207
|
/**
|
|
294
208
|
* The placement of the popover, relative to the hovered table cell.
|
|
@@ -417,19 +331,9 @@ interface TableHandleRowPositionerProps {
|
|
|
417
331
|
*/
|
|
418
332
|
editor?: TableHandleRowPositionerProps$1['editor'];
|
|
419
333
|
}
|
|
420
|
-
/**
|
|
421
|
-
* A Preact component that renders an `prosekit-table-handle-row-positioner` custom element.
|
|
422
|
-
*
|
|
423
|
-
* @public
|
|
424
|
-
*/
|
|
334
|
+
/** A Preact component that renders an `prosekit-table-handle-row-positioner` custom element. */
|
|
425
335
|
declare const TableHandleRowPositioner: ForwardRefExoticComponent<TableHandleRowPositionerProps & HTMLAttributes<TableHandleRowPositionerElement> & RefAttributes<TableHandleRowPositionerElement>>;
|
|
426
|
-
|
|
427
|
-
//#region src/components/table-handle/table-handle-row-menu-root.gen.d.ts
|
|
428
|
-
/**
|
|
429
|
-
* Props for the {@link TableHandleRowMenuRoot} Preact component.
|
|
430
|
-
*
|
|
431
|
-
* @public
|
|
432
|
-
*/
|
|
336
|
+
/** Props for the {@link TableHandleRowMenuRoot} Preact component. */
|
|
433
337
|
interface TableHandleRowMenuRootProps {
|
|
434
338
|
/**
|
|
435
339
|
* Whether the overlay is initially open.
|
|
@@ -447,19 +351,9 @@ interface TableHandleRowMenuRootProps {
|
|
|
447
351
|
*/
|
|
448
352
|
disabled?: TableHandleRowMenuRootProps$1['disabled'];
|
|
449
353
|
}
|
|
450
|
-
/**
|
|
451
|
-
* A Preact component that renders an `prosekit-table-handle-row-menu-root` custom element.
|
|
452
|
-
*
|
|
453
|
-
* @public
|
|
454
|
-
*/
|
|
354
|
+
/** A Preact component that renders an `prosekit-table-handle-row-menu-root` custom element. */
|
|
455
355
|
declare const TableHandleRowMenuRoot: ForwardRefExoticComponent<TableHandleRowMenuRootProps & HTMLAttributes<TableHandleRowMenuRootElement> & RefAttributes<TableHandleRowMenuRootElement>>;
|
|
456
|
-
|
|
457
|
-
//#region src/components/table-handle/table-handle-row-menu-trigger.gen.d.ts
|
|
458
|
-
/**
|
|
459
|
-
* Props for the {@link TableHandleRowMenuTrigger} Preact component.
|
|
460
|
-
*
|
|
461
|
-
* @public
|
|
462
|
-
*/
|
|
356
|
+
/** Props for the {@link TableHandleRowMenuTrigger} Preact component. */
|
|
463
357
|
interface TableHandleRowMenuTriggerProps {
|
|
464
358
|
/**
|
|
465
359
|
* @default null
|
|
@@ -467,12 +361,7 @@ interface TableHandleRowMenuTriggerProps {
|
|
|
467
361
|
*/
|
|
468
362
|
editor?: TableHandleRowMenuTriggerProps$1['editor'];
|
|
469
363
|
}
|
|
470
|
-
/**
|
|
471
|
-
* A Preact component that renders an `prosekit-table-handle-row-menu-trigger` custom element.
|
|
472
|
-
*
|
|
473
|
-
* @public
|
|
474
|
-
*/
|
|
364
|
+
/** A Preact component that renders an `prosekit-table-handle-row-menu-trigger` custom element. */
|
|
475
365
|
declare const TableHandleRowMenuTrigger: ForwardRefExoticComponent<TableHandleRowMenuTriggerProps & HTMLAttributes<TableHandleRowMenuTriggerElement> & RefAttributes<TableHandleRowMenuTriggerElement>>;
|
|
476
|
-
//#endregion
|
|
477
366
|
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 };
|
|
478
367
|
//# sourceMappingURL=prosekit-preact-table-handle.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prosekit-preact-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-preact-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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"}
|
|
@@ -3,10 +3,6 @@ import { createElement } from "preact";
|
|
|
3
3
|
import { useCallback, useLayoutEffect, useRef } from "preact/hooks";
|
|
4
4
|
import { forwardRef } from "preact/compat";
|
|
5
5
|
import { registerTableHandleColumnMenuRootElement, registerTableHandleColumnMenuTriggerElement, registerTableHandleColumnPopupElement, registerTableHandleColumnPositionerElement, registerTableHandleDragPreviewElement, registerTableHandleDropIndicatorElement, registerTableHandleRootElement, registerTableHandleRowMenuRootElement, registerTableHandleRowMenuTriggerElement, registerTableHandleRowPopupElement, registerTableHandleRowPositionerElement } from "@prosekit/web/table-handle";
|
|
6
|
-
//#region src/components/table-handle/table-handle-column-popup.gen.ts
|
|
7
|
-
/**
|
|
8
|
-
* This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly.
|
|
9
|
-
*/
|
|
10
6
|
function TableHandleColumnPopupComponent(props, forwardedRef) {
|
|
11
7
|
registerTableHandleColumnPopupElement();
|
|
12
8
|
const elementRef = useRef(null);
|
|
@@ -22,17 +18,8 @@ function TableHandleColumnPopupComponent(props, forwardedRef) {
|
|
|
22
18
|
suppressHydrationWarning: true
|
|
23
19
|
});
|
|
24
20
|
}
|
|
25
|
-
/**
|
|
26
|
-
* A Preact component that renders an `prosekit-table-handle-column-popup` custom element.
|
|
27
|
-
*
|
|
28
|
-
* @public
|
|
29
|
-
*/
|
|
21
|
+
/** A Preact component that renders an `prosekit-table-handle-column-popup` custom element. */
|
|
30
22
|
const TableHandleColumnPopup = /* @__PURE__ */ forwardRef(TableHandleColumnPopupComponent);
|
|
31
|
-
//#endregion
|
|
32
|
-
//#region src/components/table-handle/table-handle-column-positioner.gen.ts
|
|
33
|
-
/**
|
|
34
|
-
* This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly.
|
|
35
|
-
*/
|
|
36
23
|
function TableHandleColumnPositionerComponent(props, forwardedRef) {
|
|
37
24
|
registerTableHandleColumnPositionerElement();
|
|
38
25
|
const elementRef = useRef(null);
|
|
@@ -74,17 +61,8 @@ function TableHandleColumnPositionerComponent(props, forwardedRef) {
|
|
|
74
61
|
suppressHydrationWarning: true
|
|
75
62
|
});
|
|
76
63
|
}
|
|
77
|
-
/**
|
|
78
|
-
* A Preact component that renders an `prosekit-table-handle-column-positioner` custom element.
|
|
79
|
-
*
|
|
80
|
-
* @public
|
|
81
|
-
*/
|
|
64
|
+
/** A Preact component that renders an `prosekit-table-handle-column-positioner` custom element. */
|
|
82
65
|
const TableHandleColumnPositioner = /* @__PURE__ */ forwardRef(TableHandleColumnPositionerComponent);
|
|
83
|
-
//#endregion
|
|
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
66
|
function TableHandleColumnMenuRootComponent(props, forwardedRef) {
|
|
89
67
|
registerTableHandleColumnMenuRootElement();
|
|
90
68
|
const elementRef = useRef(null);
|
|
@@ -109,17 +87,8 @@ function TableHandleColumnMenuRootComponent(props, forwardedRef) {
|
|
|
109
87
|
suppressHydrationWarning: true
|
|
110
88
|
});
|
|
111
89
|
}
|
|
112
|
-
/**
|
|
113
|
-
* A Preact component that renders an `prosekit-table-handle-column-menu-root` custom element.
|
|
114
|
-
*
|
|
115
|
-
* @public
|
|
116
|
-
*/
|
|
90
|
+
/** A Preact component that renders an `prosekit-table-handle-column-menu-root` custom element. */
|
|
117
91
|
const TableHandleColumnMenuRoot = /* @__PURE__ */ forwardRef(TableHandleColumnMenuRootComponent);
|
|
118
|
-
//#endregion
|
|
119
|
-
//#region src/components/table-handle/table-handle-column-menu-trigger.gen.ts
|
|
120
|
-
/**
|
|
121
|
-
* This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly.
|
|
122
|
-
*/
|
|
123
92
|
function TableHandleColumnMenuTriggerComponent(props, forwardedRef) {
|
|
124
93
|
registerTableHandleColumnMenuTriggerElement();
|
|
125
94
|
const elementRef = useRef(null);
|
|
@@ -141,17 +110,8 @@ function TableHandleColumnMenuTriggerComponent(props, forwardedRef) {
|
|
|
141
110
|
suppressHydrationWarning: true
|
|
142
111
|
});
|
|
143
112
|
}
|
|
144
|
-
/**
|
|
145
|
-
* A Preact component that renders an `prosekit-table-handle-column-menu-trigger` custom element.
|
|
146
|
-
*
|
|
147
|
-
* @public
|
|
148
|
-
*/
|
|
113
|
+
/** A Preact component that renders an `prosekit-table-handle-column-menu-trigger` custom element. */
|
|
149
114
|
const TableHandleColumnMenuTrigger = /* @__PURE__ */ forwardRef(TableHandleColumnMenuTriggerComponent);
|
|
150
|
-
//#endregion
|
|
151
|
-
//#region src/components/table-handle/table-handle-drag-preview.gen.ts
|
|
152
|
-
/**
|
|
153
|
-
* This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly.
|
|
154
|
-
*/
|
|
155
115
|
function TableHandleDragPreviewComponent(props, forwardedRef) {
|
|
156
116
|
registerTableHandleDragPreviewElement();
|
|
157
117
|
const elementRef = useRef(null);
|
|
@@ -173,17 +133,8 @@ function TableHandleDragPreviewComponent(props, forwardedRef) {
|
|
|
173
133
|
suppressHydrationWarning: true
|
|
174
134
|
});
|
|
175
135
|
}
|
|
176
|
-
/**
|
|
177
|
-
* A Preact component that renders an `prosekit-table-handle-drag-preview` custom element.
|
|
178
|
-
*
|
|
179
|
-
* @public
|
|
180
|
-
*/
|
|
136
|
+
/** A Preact component that renders an `prosekit-table-handle-drag-preview` custom element. */
|
|
181
137
|
const TableHandleDragPreview = /* @__PURE__ */ forwardRef(TableHandleDragPreviewComponent);
|
|
182
|
-
//#endregion
|
|
183
|
-
//#region src/components/table-handle/table-handle-drop-indicator.gen.ts
|
|
184
|
-
/**
|
|
185
|
-
* This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly.
|
|
186
|
-
*/
|
|
187
138
|
function TableHandleDropIndicatorComponent(props, forwardedRef) {
|
|
188
139
|
registerTableHandleDropIndicatorElement();
|
|
189
140
|
const elementRef = useRef(null);
|
|
@@ -205,17 +156,8 @@ function TableHandleDropIndicatorComponent(props, forwardedRef) {
|
|
|
205
156
|
suppressHydrationWarning: true
|
|
206
157
|
});
|
|
207
158
|
}
|
|
208
|
-
/**
|
|
209
|
-
* A Preact component that renders an `prosekit-table-handle-drop-indicator` custom element.
|
|
210
|
-
*
|
|
211
|
-
* @public
|
|
212
|
-
*/
|
|
159
|
+
/** A Preact component that renders an `prosekit-table-handle-drop-indicator` custom element. */
|
|
213
160
|
const TableHandleDropIndicator = /* @__PURE__ */ forwardRef(TableHandleDropIndicatorComponent);
|
|
214
|
-
//#endregion
|
|
215
|
-
//#region src/components/table-handle/table-handle-root.gen.ts
|
|
216
|
-
/**
|
|
217
|
-
* This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly.
|
|
218
|
-
*/
|
|
219
161
|
function TableHandleRootComponent(props, forwardedRef) {
|
|
220
162
|
registerTableHandleRootElement();
|
|
221
163
|
const elementRef = useRef(null);
|
|
@@ -237,17 +179,8 @@ function TableHandleRootComponent(props, forwardedRef) {
|
|
|
237
179
|
suppressHydrationWarning: true
|
|
238
180
|
});
|
|
239
181
|
}
|
|
240
|
-
/**
|
|
241
|
-
* A Preact component that renders an `prosekit-table-handle-root` custom element.
|
|
242
|
-
*
|
|
243
|
-
* @public
|
|
244
|
-
*/
|
|
182
|
+
/** A Preact component that renders an `prosekit-table-handle-root` custom element. */
|
|
245
183
|
const TableHandleRoot = /* @__PURE__ */ forwardRef(TableHandleRootComponent);
|
|
246
|
-
//#endregion
|
|
247
|
-
//#region src/components/table-handle/table-handle-row-popup.gen.ts
|
|
248
|
-
/**
|
|
249
|
-
* This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly.
|
|
250
|
-
*/
|
|
251
184
|
function TableHandleRowPopupComponent(props, forwardedRef) {
|
|
252
185
|
registerTableHandleRowPopupElement();
|
|
253
186
|
const elementRef = useRef(null);
|
|
@@ -263,17 +196,8 @@ function TableHandleRowPopupComponent(props, forwardedRef) {
|
|
|
263
196
|
suppressHydrationWarning: true
|
|
264
197
|
});
|
|
265
198
|
}
|
|
266
|
-
/**
|
|
267
|
-
* A Preact component that renders an `prosekit-table-handle-row-popup` custom element.
|
|
268
|
-
*
|
|
269
|
-
* @public
|
|
270
|
-
*/
|
|
199
|
+
/** A Preact component that renders an `prosekit-table-handle-row-popup` custom element. */
|
|
271
200
|
const TableHandleRowPopup = /* @__PURE__ */ forwardRef(TableHandleRowPopupComponent);
|
|
272
|
-
//#endregion
|
|
273
|
-
//#region src/components/table-handle/table-handle-row-positioner.gen.ts
|
|
274
|
-
/**
|
|
275
|
-
* This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly.
|
|
276
|
-
*/
|
|
277
201
|
function TableHandleRowPositionerComponent(props, forwardedRef) {
|
|
278
202
|
registerTableHandleRowPositionerElement();
|
|
279
203
|
const elementRef = useRef(null);
|
|
@@ -315,17 +239,8 @@ function TableHandleRowPositionerComponent(props, forwardedRef) {
|
|
|
315
239
|
suppressHydrationWarning: true
|
|
316
240
|
});
|
|
317
241
|
}
|
|
318
|
-
/**
|
|
319
|
-
* A Preact component that renders an `prosekit-table-handle-row-positioner` custom element.
|
|
320
|
-
*
|
|
321
|
-
* @public
|
|
322
|
-
*/
|
|
242
|
+
/** A Preact component that renders an `prosekit-table-handle-row-positioner` custom element. */
|
|
323
243
|
const TableHandleRowPositioner = /* @__PURE__ */ forwardRef(TableHandleRowPositionerComponent);
|
|
324
|
-
//#endregion
|
|
325
|
-
//#region src/components/table-handle/table-handle-row-menu-root.gen.ts
|
|
326
|
-
/**
|
|
327
|
-
* This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly.
|
|
328
|
-
*/
|
|
329
244
|
function TableHandleRowMenuRootComponent(props, forwardedRef) {
|
|
330
245
|
registerTableHandleRowMenuRootElement();
|
|
331
246
|
const elementRef = useRef(null);
|
|
@@ -350,17 +265,8 @@ function TableHandleRowMenuRootComponent(props, forwardedRef) {
|
|
|
350
265
|
suppressHydrationWarning: true
|
|
351
266
|
});
|
|
352
267
|
}
|
|
353
|
-
/**
|
|
354
|
-
* A Preact component that renders an `prosekit-table-handle-row-menu-root` custom element.
|
|
355
|
-
*
|
|
356
|
-
* @public
|
|
357
|
-
*/
|
|
268
|
+
/** A Preact component that renders an `prosekit-table-handle-row-menu-root` custom element. */
|
|
358
269
|
const TableHandleRowMenuRoot = /* @__PURE__ */ forwardRef(TableHandleRowMenuRootComponent);
|
|
359
|
-
//#endregion
|
|
360
|
-
//#region src/components/table-handle/table-handle-row-menu-trigger.gen.ts
|
|
361
|
-
/**
|
|
362
|
-
* This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly.
|
|
363
|
-
*/
|
|
364
270
|
function TableHandleRowMenuTriggerComponent(props, forwardedRef) {
|
|
365
271
|
registerTableHandleRowMenuTriggerElement();
|
|
366
272
|
const elementRef = useRef(null);
|
|
@@ -382,13 +288,8 @@ function TableHandleRowMenuTriggerComponent(props, forwardedRef) {
|
|
|
382
288
|
suppressHydrationWarning: true
|
|
383
289
|
});
|
|
384
290
|
}
|
|
385
|
-
/**
|
|
386
|
-
* A Preact component that renders an `prosekit-table-handle-row-menu-trigger` custom element.
|
|
387
|
-
*
|
|
388
|
-
* @public
|
|
389
|
-
*/
|
|
291
|
+
/** A Preact component that renders an `prosekit-table-handle-row-menu-trigger` custom element. */
|
|
390
292
|
const TableHandleRowMenuTrigger = /* @__PURE__ */ forwardRef(TableHandleRowMenuTriggerComponent);
|
|
391
|
-
//#endregion
|
|
392
293
|
export { TableHandleColumnMenuRoot, TableHandleColumnMenuTrigger, TableHandleColumnPopup, TableHandleColumnPositioner, TableHandleDragPreview, TableHandleDropIndicator, TableHandleRoot, TableHandleRowMenuRoot, TableHandleRowMenuTrigger, TableHandleRowPopup, TableHandleRowPositioner };
|
|
393
294
|
|
|
394
295
|
//# sourceMappingURL=prosekit-preact-table-handle.js.map
|