@prosekit/preact 0.6.8 → 0.7.0-beta.1

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.
Files changed (117) hide show
  1. package/dist/prosekit-preact-autocomplete.d.ts +226 -18
  2. package/dist/prosekit-preact-autocomplete.d.ts.map +1 -1
  3. package/dist/prosekit-preact-autocomplete.js +218 -9
  4. package/dist/prosekit-preact-autocomplete.js.map +1 -1
  5. package/dist/prosekit-preact-block-handle.d.ts +210 -14
  6. package/dist/prosekit-preact-block-handle.d.ts.map +1 -1
  7. package/dist/prosekit-preact-block-handle.js +184 -7
  8. package/dist/prosekit-preact-block-handle.js.map +1 -1
  9. package/dist/prosekit-preact-drop-indicator.d.ts +27 -6
  10. package/dist/prosekit-preact-drop-indicator.d.ts.map +1 -1
  11. package/dist/prosekit-preact-drop-indicator.js +38 -3
  12. package/dist/prosekit-preact-drop-indicator.js.map +1 -1
  13. package/dist/prosekit-preact-inline-popover.d.ts +204 -8
  14. package/dist/prosekit-preact-inline-popover.d.ts.map +1 -1
  15. package/dist/prosekit-preact-inline-popover.js +130 -5
  16. package/dist/prosekit-preact-inline-popover.js.map +1 -1
  17. package/dist/prosekit-preact-menu.d.ts +288 -0
  18. package/dist/prosekit-preact-menu.d.ts.map +1 -0
  19. package/dist/prosekit-preact-menu.js +274 -0
  20. package/dist/prosekit-preact-menu.js.map +1 -0
  21. package/dist/prosekit-preact-popover.d.ts +227 -14
  22. package/dist/prosekit-preact-popover.d.ts.map +1 -1
  23. package/dist/prosekit-preact-popover.js +170 -7
  24. package/dist/prosekit-preact-popover.js.map +1 -1
  25. package/dist/prosekit-preact-resizable.d.ts +56 -12
  26. package/dist/prosekit-preact-resizable.d.ts.map +1 -1
  27. package/dist/prosekit-preact-resizable.js +80 -7
  28. package/dist/prosekit-preact-resizable.js.map +1 -1
  29. package/dist/prosekit-preact-table-handle.d.ts +447 -38
  30. package/dist/prosekit-preact-table-handle.d.ts.map +1 -1
  31. package/dist/prosekit-preact-table-handle.js +381 -19
  32. package/dist/prosekit-preact-table-handle.js.map +1 -1
  33. package/dist/prosekit-preact-tooltip.d.ts +211 -14
  34. package/dist/prosekit-preact-tooltip.d.ts.map +1 -1
  35. package/dist/prosekit-preact-tooltip.js +157 -7
  36. package/dist/prosekit-preact-tooltip.js.map +1 -1
  37. package/package.json +27 -16
  38. package/src/components/autocomplete/autocomplete-empty.gen.ts +41 -31
  39. package/src/components/autocomplete/autocomplete-item.gen.ts +84 -31
  40. package/src/components/autocomplete/autocomplete-popup.gen.ts +80 -0
  41. package/src/components/autocomplete/autocomplete-positioner.gen.ts +153 -0
  42. package/src/components/autocomplete/autocomplete-root.gen.ts +109 -0
  43. package/src/components/autocomplete/index.gen.ts +12 -4
  44. package/src/components/autocomplete/index.ts +27 -0
  45. package/src/components/block-handle/block-handle-add.gen.ts +59 -31
  46. package/src/components/block-handle/block-handle-draggable.gen.ts +59 -31
  47. package/src/components/block-handle/block-handle-popup.gen.ts +44 -0
  48. package/src/components/block-handle/block-handle-positioner.gen.ts +171 -0
  49. package/src/components/block-handle/block-handle-root.gen.ts +84 -0
  50. package/src/components/block-handle/index.gen.ts +13 -3
  51. package/src/components/block-handle/index.ts +27 -0
  52. package/src/components/drop-indicator/drop-indicator.gen.ts +65 -31
  53. package/src/components/drop-indicator/index.gen.ts +5 -1
  54. package/src/components/drop-indicator/index.ts +14 -0
  55. package/src/components/inline-popover/index.gen.ts +11 -1
  56. package/src/components/inline-popover/index.ts +22 -0
  57. package/src/components/inline-popover/inline-popover-popup.gen.ts +44 -0
  58. package/src/components/inline-popover/inline-popover-positioner.gen.ts +177 -0
  59. package/src/components/inline-popover/inline-popover-root.gen.ts +108 -0
  60. package/src/components/menu/index.gen.ts +19 -0
  61. package/src/components/menu/index.ts +37 -0
  62. package/src/components/menu/menu-item.gen.ts +91 -0
  63. package/src/components/menu/menu-popup.gen.ts +58 -0
  64. package/src/components/menu/menu-positioner.gen.ts +178 -0
  65. package/src/components/menu/menu-root.gen.ts +88 -0
  66. package/src/components/menu/menu-submenu-root.gen.ts +44 -0
  67. package/src/components/menu/menu-submenu-trigger.gen.ts +44 -0
  68. package/src/components/menu/menu-trigger.gen.ts +79 -0
  69. package/src/components/popover/index.gen.ts +11 -3
  70. package/src/components/popover/index.ts +24 -0
  71. package/src/components/popover/popover-popup.gen.ts +44 -0
  72. package/src/components/popover/popover-positioner.gen.ts +178 -0
  73. package/src/components/popover/popover-root.gen.ts +92 -31
  74. package/src/components/popover/popover-trigger.gen.ts +92 -31
  75. package/src/components/resizable/index.gen.ts +8 -2
  76. package/src/components/resizable/index.ts +20 -0
  77. package/src/components/resizable/resizable-handle.gen.ts +54 -31
  78. package/src/components/resizable/resizable-root.gen.ts +90 -31
  79. package/src/components/table-handle/index.gen.ts +17 -9
  80. package/src/components/table-handle/index.ts +58 -0
  81. package/src/components/table-handle/table-handle-column-menu-root.gen.ts +66 -0
  82. package/src/components/table-handle/table-handle-column-menu-trigger.gen.ts +60 -0
  83. package/src/components/table-handle/table-handle-column-popup.gen.ts +44 -0
  84. package/src/components/table-handle/table-handle-column-positioner.gen.ts +201 -0
  85. package/src/components/table-handle/table-handle-drag-preview.gen.ts +57 -31
  86. package/src/components/table-handle/table-handle-drop-indicator.gen.ts +57 -31
  87. package/src/components/table-handle/table-handle-root.gen.ts +59 -31
  88. package/src/components/table-handle/table-handle-row-menu-root.gen.ts +66 -0
  89. package/src/components/table-handle/table-handle-row-menu-trigger.gen.ts +60 -0
  90. package/src/components/table-handle/table-handle-row-popup.gen.ts +44 -0
  91. package/src/components/table-handle/table-handle-row-positioner.gen.ts +201 -0
  92. package/src/components/tooltip/index.gen.ts +11 -3
  93. package/src/components/tooltip/index.ts +24 -0
  94. package/src/components/tooltip/tooltip-popup.gen.ts +44 -0
  95. package/src/components/tooltip/tooltip-positioner.gen.ts +178 -0
  96. package/src/components/tooltip/tooltip-root.gen.ts +85 -31
  97. package/src/components/tooltip/tooltip-trigger.gen.ts +63 -31
  98. package/src/extensions/preact-node-view.spec.ts +151 -0
  99. package/dist/create-component.js +0 -95
  100. package/dist/create-component.js.map +0 -1
  101. package/dist/create-props.d.ts +0 -6
  102. package/dist/create-props.d.ts.map +0 -1
  103. package/src/components/autocomplete/autocomplete-list.gen.ts +0 -34
  104. package/src/components/autocomplete/autocomplete-popover.gen.ts +0 -34
  105. package/src/components/block-handle/block-handle-popover.gen.ts +0 -34
  106. package/src/components/create-component.ts +0 -123
  107. package/src/components/create-props.ts +0 -13
  108. package/src/components/inline-popover/inline-popover.gen.ts +0 -34
  109. package/src/components/merge-refs.ts +0 -35
  110. package/src/components/popover/popover-content.gen.ts +0 -34
  111. package/src/components/table-handle/table-handle-column-root.gen.ts +0 -34
  112. package/src/components/table-handle/table-handle-column-trigger.gen.ts +0 -34
  113. package/src/components/table-handle/table-handle-popover-content.gen.ts +0 -34
  114. package/src/components/table-handle/table-handle-popover-item.gen.ts +0 -34
  115. package/src/components/table-handle/table-handle-row-root.gen.ts +0 -34
  116. package/src/components/table-handle/table-handle-row-trigger.gen.ts +0 -34
  117. package/src/components/tooltip/tooltip-content.gen.ts +0 -34
@@ -1,11 +1,84 @@
1
- import { t as createComponent } from "./create-component.js";
2
- import { resizableHandleEvents, resizableHandleProps, resizableRootEvents, resizableRootProps } from "@prosekit/web/resizable";
3
- //#region src/components/resizable/resizable-handle.gen.ts
4
- const ResizableHandle = createComponent("prosekit-resizable-handle", "ResizableHandle", Object.keys(resizableHandleProps), Object.keys(resizableHandleEvents));
5
- //#endregion
1
+ import { createElement } from "preact";
2
+ import { useCallback, useLayoutEffect, useRef } from "preact/hooks";
3
+ import { forwardRef } from "preact/compat";
4
+ import { ResizeEndEvent, ResizeStartEvent, registerResizableHandleElement, registerResizableRootElement } from "@prosekit/web/resizable";
6
5
  //#region src/components/resizable/resizable-root.gen.ts
7
- const ResizableRoot = createComponent("prosekit-resizable-root", "ResizableRoot", Object.keys(resizableRootProps), Object.keys(resizableRootEvents));
6
+ /**
7
+ * This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly.
8
+ */
9
+ function ResizableRootComponent(props, forwardedRef) {
10
+ registerResizableRootElement();
11
+ const elementRef = useRef(null);
12
+ const handlersRef = useRef([]);
13
+ const { aspectRatio: p0, height: p1, width: p2, onResizeEnd: e0, onResizeStart: e1, ...restProps } = props;
14
+ useLayoutEffect(() => {
15
+ const element = elementRef.current;
16
+ if (!element) return;
17
+ Object.assign(element, {
18
+ aspectRatio: p0,
19
+ height: p1,
20
+ width: p2
21
+ });
22
+ handlersRef.current = [e0, e1];
23
+ });
24
+ useLayoutEffect(() => {
25
+ const element = elementRef.current;
26
+ if (!element) return;
27
+ const ac = new AbortController();
28
+ for (const [index, eventName] of ["resizeEnd", "resizeStart"].entries()) element.addEventListener(eventName, (event) => {
29
+ handlersRef.current[index]?.(event);
30
+ }, { signal: ac.signal });
31
+ return () => ac.abort();
32
+ }, []);
33
+ const mergedRef = useCallback((element) => {
34
+ elementRef.current = element;
35
+ if (typeof forwardedRef === "function") forwardedRef(element);
36
+ else if (forwardedRef) forwardedRef.current = element;
37
+ }, [forwardedRef]);
38
+ return createElement("prosekit-resizable-root", {
39
+ ...restProps,
40
+ ref: mergedRef,
41
+ suppressHydrationWarning: true
42
+ });
43
+ }
44
+ /**
45
+ * A Preact component that renders an `prosekit-resizable-root` custom element.
46
+ *
47
+ * @public
48
+ */
49
+ 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
+ function ResizableHandleComponent(props, forwardedRef) {
56
+ registerResizableHandleElement();
57
+ const elementRef = useRef(null);
58
+ const { position: p0, ...restProps } = props;
59
+ useLayoutEffect(() => {
60
+ const element = elementRef.current;
61
+ if (!element) return;
62
+ Object.assign(element, { position: p0 });
63
+ });
64
+ const mergedRef = useCallback((element) => {
65
+ elementRef.current = element;
66
+ if (typeof forwardedRef === "function") forwardedRef(element);
67
+ else if (forwardedRef) forwardedRef.current = element;
68
+ }, [forwardedRef]);
69
+ return createElement("prosekit-resizable-handle", {
70
+ ...restProps,
71
+ ref: mergedRef,
72
+ suppressHydrationWarning: true
73
+ });
74
+ }
75
+ /**
76
+ * A Preact component that renders an `prosekit-resizable-handle` custom element.
77
+ *
78
+ * @public
79
+ */
80
+ const ResizableHandle = /* @__PURE__ */ forwardRef(ResizableHandleComponent);
8
81
  //#endregion
9
- export { ResizableHandle, ResizableRoot };
82
+ export { ResizableHandle, ResizableRoot, ResizeEndEvent, ResizeStartEvent };
10
83
 
11
84
  //# sourceMappingURL=prosekit-preact-resizable.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"prosekit-preact-resizable.js","names":[],"sources":["../src/components/resizable/resizable-handle.gen.ts","../src/components/resizable/resizable-root.gen.ts"],"sourcesContent":["import {\n type ResizableHandleElement,\n type ResizableHandleProps as Props,\n type ResizableHandleEvents as Events,\n resizableHandleProps,\n resizableHandleEvents,\n} from '@prosekit/web/resizable'\nimport type {\n ForwardRefExoticComponent,\n HTMLAttributes,\n RefAttributes,\n} from 'preact/compat'\n\nimport { createComponent } from '../create-component.ts'\nimport type { CreateProps } from '../create-props.ts'\n\n/**\n * Props for the {@link ResizableHandle} component.\n */\nexport interface ResizableHandleProps extends Partial<CreateProps<Props, Events>> {}\n\nexport const ResizableHandle: ForwardRefExoticComponent<\n Partial<ResizableHandleProps> &\n RefAttributes<ResizableHandleElement> &\n HTMLAttributes<ResizableHandleElement>\n> = createComponent<\n ResizableHandleProps,\n ResizableHandleElement\n>(\n 'prosekit-resizable-handle',\n 'ResizableHandle',\n Object.keys(resizableHandleProps),\n Object.keys(resizableHandleEvents),\n)\n","import {\n type ResizableRootElement,\n type ResizableRootProps as Props,\n type ResizableRootEvents as Events,\n resizableRootProps,\n resizableRootEvents,\n} from '@prosekit/web/resizable'\nimport type {\n ForwardRefExoticComponent,\n HTMLAttributes,\n RefAttributes,\n} from 'preact/compat'\n\nimport { createComponent } from '../create-component.ts'\nimport type { CreateProps } from '../create-props.ts'\n\n/**\n * Props for the {@link ResizableRoot} component.\n */\nexport interface ResizableRootProps extends Partial<CreateProps<Props, Events>> {}\n\nexport const ResizableRoot: ForwardRefExoticComponent<\n Partial<ResizableRootProps> &\n RefAttributes<ResizableRootElement> &\n HTMLAttributes<ResizableRootElement>\n> = createComponent<\n ResizableRootProps,\n ResizableRootElement\n>(\n 'prosekit-resizable-root',\n 'ResizableRoot',\n Object.keys(resizableRootProps),\n Object.keys(resizableRootEvents),\n)\n"],"mappings":";;;AAqBA,MAAa,kBAIT,gBAIF,6BACA,mBACA,OAAO,KAAK,qBAAqB,EACjC,OAAO,KAAK,sBAAsB,CACnC;;;ACZD,MAAa,gBAIT,gBAIF,2BACA,iBACA,OAAO,KAAK,mBAAmB,EAC/B,OAAO,KAAK,oBAAoB,CACjC"}
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":["/**\n * This file is auto-generated by the \"@aria-ui/cli\" tool. Do not edit this file directly.\n */\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/**\n * Props for the {@link ResizableRoot} Preact component.\n *\n * @public\n */\nexport interface ResizableRootProps extends HTMLAttributes<ResizableRootElement> {\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/**\n * A Preact component that renders an `prosekit-resizable-root` custom element.\n *\n * @public\n */\nexport const ResizableRoot: ForwardRefExoticComponent<ResizableRootProps & RefAttributes<ResizableRootElement>> = /* @__PURE__ */ forwardRef(ResizableRootComponent);\n\nexport type { ResizableRootEvents };\n","/**\n * This file is auto-generated by the \"@aria-ui/cli\" tool. Do not edit this file directly.\n */\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/**\n * Props for the {@link ResizableHandle} Preact component.\n *\n * @public\n */\nexport interface ResizableHandleProps extends HTMLAttributes<ResizableHandleElement> {\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/**\n * A Preact component that renders an `prosekit-resizable-handle` custom element.\n *\n * @public\n */\nexport const ResizableHandle: ForwardRefExoticComponent<ResizableHandleProps & RefAttributes<ResizableHandleElement>> = /* @__PURE__ */ forwardRef(ResizableHandleComponent);\n"],"mappings":";;;;;;;;AAuCA,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;;;;;;;AAQnH,MAAa,gBAAqH,2BAAW,uBAAuB;;;;;;ACnEpK,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;;;;;;;AAQrH,MAAa,kBAA2H,2BAAW,yBAAyB"}
@@ -1,69 +1,478 @@
1
- import { t as CreateProps } from "./create-props.js";
2
- import { ForwardRefExoticComponent, HTMLAttributes, RefAttributes } from "preact/compat";
3
- 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 { HTMLAttributes } from "preact";
2
+ import { ForwardRefExoticComponent, RefAttributes } from "preact/compat";
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
4
 
5
- //#region src/components/table-handle/table-handle-column-root.gen.d.ts
5
+ //#region src/components/table-handle/table-handle-column-popup.gen.d.ts
6
6
  /**
7
- * Props for the {@link TableHandleColumnRoot} component.
7
+ * Props for the {@link TableHandleColumnPopup} Preact component.
8
+ *
9
+ * @public
8
10
  */
9
- interface TableHandleColumnRootProps extends Partial<CreateProps<TableHandleColumnRootProps$1, TableHandleColumnRootEvents>> {}
10
- declare const TableHandleColumnRoot: ForwardRefExoticComponent<Partial<TableHandleColumnRootProps> & RefAttributes<TableHandleColumnRootElement> & HTMLAttributes<TableHandleColumnRootElement>>;
11
+ interface TableHandleColumnPopupProps extends HTMLAttributes<TableHandleColumnPopupElement> {}
12
+ /**
13
+ * A Preact component that renders an `prosekit-table-handle-column-popup` custom element.
14
+ *
15
+ * @public
16
+ */
17
+ declare const TableHandleColumnPopup: ForwardRefExoticComponent<TableHandleColumnPopupProps & RefAttributes<TableHandleColumnPopupElement>>;
11
18
  //#endregion
12
- //#region src/components/table-handle/table-handle-column-trigger.gen.d.ts
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
+ */
25
+ interface TableHandleColumnPositionerProps extends HTMLAttributes<TableHandleColumnPositionerElement> {
26
+ /**
27
+ * The placement of the popover, relative to the hovered table cell.
28
+ *
29
+ * @default "top"
30
+ */
31
+ placement?: TableHandleColumnPositionerProps$1['placement'];
32
+ /**
33
+ * The strategy to use for positioning
34
+ *
35
+ * @default "absolute"
36
+ */
37
+ strategy?: TableHandleColumnPositionerProps$1['strategy'];
38
+ /**
39
+ * Options to activate auto-update listeners
40
+ *
41
+ * @see https://floating-ui.com/docs/autoUpdate
42
+ *
43
+ * @default true
44
+ */
45
+ autoUpdate?: TableHandleColumnPositionerProps$1['autoUpdate'];
46
+ /**
47
+ * Whether to use the browser [Popover API](https://developer.mozilla.org/en-US/docs/Web/API/Popover_API)
48
+ * to place the floating element on top of other page content.
49
+ *
50
+ * @default false
51
+ */
52
+ hoist?: TableHandleColumnPositionerProps$1['hoist'];
53
+ /**
54
+ * @default 0
55
+ * @hidden
56
+ */
57
+ offset?: TableHandleColumnPositionerProps$1['offset'];
58
+ /**
59
+ * @default false
60
+ * @hidden
61
+ */
62
+ flip?: TableHandleColumnPositionerProps$1['flip'];
63
+ /**
64
+ * @default false
65
+ * @hidden
66
+ */
67
+ shift?: TableHandleColumnPositionerProps$1['shift'];
68
+ /**
69
+ * Whether the floating element can overlap the reference element to keep it
70
+ * in view.
71
+ *
72
+ * @default false
73
+ */
74
+ overlap?: TableHandleColumnPositionerProps$1['overlap'];
75
+ /**
76
+ * Whether to constrain the floating element's width and height to not exceed
77
+ * the viewport.
78
+ *
79
+ * @default false
80
+ */
81
+ fitViewport?: TableHandleColumnPositionerProps$1['fitViewport'];
82
+ /**
83
+ * Whether to constrain the floating element's width so that it matches the
84
+ * reference element.
85
+ *
86
+ * @default false
87
+ */
88
+ sameWidth?: TableHandleColumnPositionerProps$1['sameWidth'];
89
+ /**
90
+ * Whether to constrain the floating element's height so that it matches the
91
+ * reference element.
92
+ *
93
+ * @default false
94
+ */
95
+ sameHeight?: TableHandleColumnPositionerProps$1['sameHeight'];
96
+ /**
97
+ * Whether to improve positioning for inline reference elements that span over
98
+ * multiple lines.
99
+ *
100
+ * @default false
101
+ */
102
+ inline?: TableHandleColumnPositionerProps$1['inline'];
103
+ /**
104
+ * @default true
105
+ * @hidden
106
+ */
107
+ hide?: TableHandleColumnPositionerProps$1['hide'];
108
+ /**
109
+ * Describes the clipping element(s) or area that overflow will be checked relative to.
110
+ * Please see https://floating-ui.com/docs/detectoverflow#boundary for more information.
111
+ *
112
+ * @default 'clippingAncestors'
113
+ */
114
+ boundary?: TableHandleColumnPositionerProps$1['boundary'];
115
+ /**
116
+ * Describes the root boundary that the element will be checked for overflow relative to.
117
+ * Please see https://floating-ui.com/docs/detectoverflow#rootboundary for more information.
118
+ *
119
+ * @default 'viewport'
120
+ */
121
+ rootBoundary?: TableHandleColumnPositionerProps$1['rootBoundary'];
122
+ /**
123
+ * Describes the virtual padding around the boundary to check for overflow.
124
+ * Please see https://floating-ui.com/docs/detectoverflow#padding for more information.
125
+ *
126
+ * @default 4
127
+ */
128
+ overflowPadding?: TableHandleColumnPositionerProps$1['overflowPadding'];
129
+ /**
130
+ * The element that will be used to check for overflow. Please see
131
+ * https://floating-ui.com/docs/detectoverflow#elementcontext for more
132
+ * information.
133
+ *
134
+ * @default 'floating'
135
+ */
136
+ elementContext?: TableHandleColumnPositionerProps$1['elementContext'];
137
+ /**
138
+ * Whether to check the alternate elementContext's boundary. Please see
139
+ * https://floating-ui.com/docs/detectoverflow#altboundary for more
140
+ * information.
141
+ *
142
+ * @default false
143
+ */
144
+ altBoundary?: TableHandleColumnPositionerProps$1['altBoundary'];
145
+ /**
146
+ * The ProseKit editor instance.
147
+ *
148
+ * @default null
149
+ * @hidden
150
+ */
151
+ editor?: TableHandleColumnPositionerProps$1['editor'];
152
+ }
13
153
  /**
14
- * Props for the {@link TableHandleColumnTrigger} component.
154
+ * A Preact component that renders an `prosekit-table-handle-column-positioner` custom element.
155
+ *
156
+ * @public
15
157
  */
16
- interface TableHandleColumnTriggerProps extends Partial<CreateProps<TableHandleColumnTriggerProps$1, TableHandleColumnTriggerEvents>> {}
17
- declare const TableHandleColumnTrigger: ForwardRefExoticComponent<Partial<TableHandleColumnTriggerProps> & RefAttributes<TableHandleColumnTriggerElement> & HTMLAttributes<TableHandleColumnTriggerElement>>;
158
+ declare const TableHandleColumnPositioner: ForwardRefExoticComponent<TableHandleColumnPositionerProps & RefAttributes<TableHandleColumnPositionerElement>>;
159
+ //#endregion
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
+ */
166
+ interface TableHandleColumnMenuRootProps extends HTMLAttributes<TableHandleColumnMenuRootElement> {
167
+ /**
168
+ * Whether the overlay is initially open.
169
+ * @default false
170
+ */
171
+ defaultOpen?: TableHandleColumnMenuRootProps$1['defaultOpen'];
172
+ /**
173
+ * Whether the overlay is currently open.
174
+ * @default null
175
+ */
176
+ open?: TableHandleColumnMenuRootProps$1['open'];
177
+ /**
178
+ * Whether the component should ignore user interaction.
179
+ * @default false
180
+ */
181
+ disabled?: TableHandleColumnMenuRootProps$1['disabled'];
182
+ }
183
+ /**
184
+ * A Preact component that renders an `prosekit-table-handle-column-menu-root` custom element.
185
+ *
186
+ * @public
187
+ */
188
+ declare const TableHandleColumnMenuRoot: ForwardRefExoticComponent<TableHandleColumnMenuRootProps & RefAttributes<TableHandleColumnMenuRootElement>>;
189
+ //#endregion
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
+ */
196
+ interface TableHandleColumnMenuTriggerProps extends HTMLAttributes<TableHandleColumnMenuTriggerElement> {
197
+ /**
198
+ * @default null
199
+ * @hidden
200
+ */
201
+ editor?: TableHandleColumnMenuTriggerProps$1['editor'];
202
+ }
203
+ /**
204
+ * A Preact component that renders an `prosekit-table-handle-column-menu-trigger` custom element.
205
+ *
206
+ * @public
207
+ */
208
+ declare const TableHandleColumnMenuTrigger: ForwardRefExoticComponent<TableHandleColumnMenuTriggerProps & RefAttributes<TableHandleColumnMenuTriggerElement>>;
18
209
  //#endregion
19
210
  //#region src/components/table-handle/table-handle-drag-preview.gen.d.ts
20
211
  /**
21
- * Props for the {@link TableHandleDragPreview} component.
212
+ * Props for the {@link TableHandleDragPreview} Preact component.
213
+ *
214
+ * @public
215
+ */
216
+ interface TableHandleDragPreviewProps extends HTMLAttributes<TableHandleDragPreviewElement> {
217
+ /**
218
+ * @default null
219
+ * @hidden
220
+ */
221
+ editor?: TableHandleDragPreviewProps$1['editor'];
222
+ }
223
+ /**
224
+ * A Preact component that renders an `prosekit-table-handle-drag-preview` custom element.
225
+ *
226
+ * @public
22
227
  */
23
- interface TableHandleDragPreviewProps extends Partial<CreateProps<TableHandleDragPreviewProps$1, TableHandleDragPreviewEvents>> {}
24
- declare const TableHandleDragPreview: ForwardRefExoticComponent<Partial<TableHandleDragPreviewProps> & RefAttributes<TableHandleDragPreviewElement> & HTMLAttributes<TableHandleDragPreviewElement>>;
228
+ declare const TableHandleDragPreview: ForwardRefExoticComponent<TableHandleDragPreviewProps & RefAttributes<TableHandleDragPreviewElement>>;
25
229
  //#endregion
26
230
  //#region src/components/table-handle/table-handle-drop-indicator.gen.d.ts
27
231
  /**
28
- * Props for the {@link TableHandleDropIndicator} component.
232
+ * Props for the {@link TableHandleDropIndicator} Preact component.
233
+ *
234
+ * @public
235
+ */
236
+ interface TableHandleDropIndicatorProps extends HTMLAttributes<TableHandleDropIndicatorElement> {
237
+ /**
238
+ * @default null
239
+ * @hidden
240
+ */
241
+ editor?: TableHandleDropIndicatorProps$1['editor'];
242
+ }
243
+ /**
244
+ * A Preact component that renders an `prosekit-table-handle-drop-indicator` custom element.
245
+ *
246
+ * @public
29
247
  */
30
- interface TableHandleDropIndicatorProps extends Partial<CreateProps<TableHandleDropIndicatorProps$1, TableHandleDropIndicatorEvents>> {}
31
- declare const TableHandleDropIndicator: ForwardRefExoticComponent<Partial<TableHandleDropIndicatorProps> & RefAttributes<TableHandleDropIndicatorElement> & HTMLAttributes<TableHandleDropIndicatorElement>>;
248
+ declare const TableHandleDropIndicator: ForwardRefExoticComponent<TableHandleDropIndicatorProps & RefAttributes<TableHandleDropIndicatorElement>>;
32
249
  //#endregion
33
- //#region src/components/table-handle/table-handle-popover-content.gen.d.ts
250
+ //#region src/components/table-handle/table-handle-root.gen.d.ts
34
251
  /**
35
- * Props for the {@link TableHandlePopoverContent} component.
252
+ * Props for the {@link TableHandleRoot} Preact component.
253
+ *
254
+ * @public
36
255
  */
37
- interface TableHandlePopoverContentProps extends Partial<CreateProps<TableHandlePopoverContentProps$1, TableHandlePopoverContentEvents>> {}
38
- declare const TableHandlePopoverContent: ForwardRefExoticComponent<Partial<TableHandlePopoverContentProps> & RefAttributes<TableHandlePopoverContentElement> & HTMLAttributes<TableHandlePopoverContentElement>>;
256
+ interface TableHandleRootProps extends HTMLAttributes<TableHandleRootElement> {
257
+ /**
258
+ * The ProseKit editor instance.
259
+ *
260
+ * @default null
261
+ * @hidden
262
+ */
263
+ editor?: TableHandleRootProps$1['editor'];
264
+ }
265
+ /**
266
+ * A Preact component that renders an `prosekit-table-handle-root` custom element.
267
+ *
268
+ * @public
269
+ */
270
+ declare const TableHandleRoot: ForwardRefExoticComponent<TableHandleRootProps & RefAttributes<TableHandleRootElement>>;
39
271
  //#endregion
40
- //#region src/components/table-handle/table-handle-popover-item.gen.d.ts
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
+ */
278
+ interface TableHandleRowPopupProps extends HTMLAttributes<TableHandleRowPopupElement> {}
41
279
  /**
42
- * Props for the {@link TableHandlePopoverItem} component.
280
+ * A Preact component that renders an `prosekit-table-handle-row-popup` custom element.
281
+ *
282
+ * @public
43
283
  */
44
- interface TableHandlePopoverItemProps extends Partial<CreateProps<TableHandlePopoverItemProps$1, TableHandlePopoverItemEvents>> {}
45
- declare const TableHandlePopoverItem: ForwardRefExoticComponent<Partial<TableHandlePopoverItemProps> & RefAttributes<TableHandlePopoverItemElement> & HTMLAttributes<TableHandlePopoverItemElement>>;
284
+ declare const TableHandleRowPopup: ForwardRefExoticComponent<TableHandleRowPopupProps & RefAttributes<TableHandleRowPopupElement>>;
46
285
  //#endregion
47
- //#region src/components/table-handle/table-handle-root.gen.d.ts
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
+ */
292
+ interface TableHandleRowPositionerProps extends HTMLAttributes<TableHandleRowPositionerElement> {
293
+ /**
294
+ * The placement of the popover, relative to the hovered table cell.
295
+ *
296
+ * @default "left"
297
+ */
298
+ placement?: TableHandleRowPositionerProps$1['placement'];
299
+ /**
300
+ * The strategy to use for positioning
301
+ *
302
+ * @default "absolute"
303
+ */
304
+ strategy?: TableHandleRowPositionerProps$1['strategy'];
305
+ /**
306
+ * Options to activate auto-update listeners
307
+ *
308
+ * @see https://floating-ui.com/docs/autoUpdate
309
+ *
310
+ * @default true
311
+ */
312
+ autoUpdate?: TableHandleRowPositionerProps$1['autoUpdate'];
313
+ /**
314
+ * Whether to use the browser [Popover API](https://developer.mozilla.org/en-US/docs/Web/API/Popover_API)
315
+ * to place the floating element on top of other page content.
316
+ *
317
+ * @default false
318
+ */
319
+ hoist?: TableHandleRowPositionerProps$1['hoist'];
320
+ /**
321
+ * @default 0
322
+ * @hidden
323
+ */
324
+ offset?: TableHandleRowPositionerProps$1['offset'];
325
+ /**
326
+ * @default false
327
+ * @hidden
328
+ */
329
+ flip?: TableHandleRowPositionerProps$1['flip'];
330
+ /**
331
+ * @default false
332
+ * @hidden
333
+ */
334
+ shift?: TableHandleRowPositionerProps$1['shift'];
335
+ /**
336
+ * Whether the floating element can overlap the reference element to keep it
337
+ * in view.
338
+ *
339
+ * @default false
340
+ */
341
+ overlap?: TableHandleRowPositionerProps$1['overlap'];
342
+ /**
343
+ * Whether to constrain the floating element's width and height to not exceed
344
+ * the viewport.
345
+ *
346
+ * @default false
347
+ */
348
+ fitViewport?: TableHandleRowPositionerProps$1['fitViewport'];
349
+ /**
350
+ * Whether to constrain the floating element's width so that it matches the
351
+ * reference element.
352
+ *
353
+ * @default false
354
+ */
355
+ sameWidth?: TableHandleRowPositionerProps$1['sameWidth'];
356
+ /**
357
+ * Whether to constrain the floating element's height so that it matches the
358
+ * reference element.
359
+ *
360
+ * @default false
361
+ */
362
+ sameHeight?: TableHandleRowPositionerProps$1['sameHeight'];
363
+ /**
364
+ * Whether to improve positioning for inline reference elements that span over
365
+ * multiple lines.
366
+ *
367
+ * @default false
368
+ */
369
+ inline?: TableHandleRowPositionerProps$1['inline'];
370
+ /**
371
+ * @default true
372
+ * @hidden
373
+ */
374
+ hide?: TableHandleRowPositionerProps$1['hide'];
375
+ /**
376
+ * Describes the clipping element(s) or area that overflow will be checked relative to.
377
+ * Please see https://floating-ui.com/docs/detectoverflow#boundary for more information.
378
+ *
379
+ * @default 'clippingAncestors'
380
+ */
381
+ boundary?: TableHandleRowPositionerProps$1['boundary'];
382
+ /**
383
+ * Describes the root boundary that the element will be checked for overflow relative to.
384
+ * Please see https://floating-ui.com/docs/detectoverflow#rootboundary for more information.
385
+ *
386
+ * @default 'viewport'
387
+ */
388
+ rootBoundary?: TableHandleRowPositionerProps$1['rootBoundary'];
389
+ /**
390
+ * Describes the virtual padding around the boundary to check for overflow.
391
+ * Please see https://floating-ui.com/docs/detectoverflow#padding for more information.
392
+ *
393
+ * @default 4
394
+ */
395
+ overflowPadding?: TableHandleRowPositionerProps$1['overflowPadding'];
396
+ /**
397
+ * The element that will be used to check for overflow. Please see
398
+ * https://floating-ui.com/docs/detectoverflow#elementcontext for more
399
+ * information.
400
+ *
401
+ * @default 'floating'
402
+ */
403
+ elementContext?: TableHandleRowPositionerProps$1['elementContext'];
404
+ /**
405
+ * Whether to check the alternate elementContext's boundary. Please see
406
+ * https://floating-ui.com/docs/detectoverflow#altboundary for more
407
+ * information.
408
+ *
409
+ * @default false
410
+ */
411
+ altBoundary?: TableHandleRowPositionerProps$1['altBoundary'];
412
+ /**
413
+ * The ProseKit editor instance.
414
+ *
415
+ * @default null
416
+ * @hidden
417
+ */
418
+ editor?: TableHandleRowPositionerProps$1['editor'];
419
+ }
48
420
  /**
49
- * Props for the {@link TableHandleRoot} component.
421
+ * A Preact component that renders an `prosekit-table-handle-row-positioner` custom element.
422
+ *
423
+ * @public
50
424
  */
51
- interface TableHandleRootProps extends Partial<CreateProps<TableHandleRootProps$1, TableHandleRootEvents>> {}
52
- declare const TableHandleRoot: ForwardRefExoticComponent<Partial<TableHandleRootProps> & RefAttributes<TableHandleRootElement> & HTMLAttributes<TableHandleRootElement>>;
425
+ declare const TableHandleRowPositioner: ForwardRefExoticComponent<TableHandleRowPositionerProps & RefAttributes<TableHandleRowPositionerElement>>;
53
426
  //#endregion
54
- //#region src/components/table-handle/table-handle-row-root.gen.d.ts
427
+ //#region src/components/table-handle/table-handle-row-menu-root.gen.d.ts
55
428
  /**
56
- * Props for the {@link TableHandleRowRoot} component.
429
+ * Props for the {@link TableHandleRowMenuRoot} Preact component.
430
+ *
431
+ * @public
57
432
  */
58
- interface TableHandleRowRootProps extends Partial<CreateProps<TableHandleRowRootProps$1, TableHandleRowRootEvents>> {}
59
- declare const TableHandleRowRoot: ForwardRefExoticComponent<Partial<TableHandleRowRootProps> & RefAttributes<TableHandleRowRootElement> & HTMLAttributes<TableHandleRowRootElement>>;
433
+ interface TableHandleRowMenuRootProps extends HTMLAttributes<TableHandleRowMenuRootElement> {
434
+ /**
435
+ * Whether the overlay is initially open.
436
+ * @default false
437
+ */
438
+ defaultOpen?: TableHandleRowMenuRootProps$1['defaultOpen'];
439
+ /**
440
+ * Whether the overlay is currently open.
441
+ * @default null
442
+ */
443
+ open?: TableHandleRowMenuRootProps$1['open'];
444
+ /**
445
+ * Whether the component should ignore user interaction.
446
+ * @default false
447
+ */
448
+ disabled?: TableHandleRowMenuRootProps$1['disabled'];
449
+ }
450
+ /**
451
+ * A Preact component that renders an `prosekit-table-handle-row-menu-root` custom element.
452
+ *
453
+ * @public
454
+ */
455
+ declare const TableHandleRowMenuRoot: ForwardRefExoticComponent<TableHandleRowMenuRootProps & RefAttributes<TableHandleRowMenuRootElement>>;
60
456
  //#endregion
61
- //#region src/components/table-handle/table-handle-row-trigger.gen.d.ts
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
+ */
463
+ interface TableHandleRowMenuTriggerProps extends HTMLAttributes<TableHandleRowMenuTriggerElement> {
464
+ /**
465
+ * @default null
466
+ * @hidden
467
+ */
468
+ editor?: TableHandleRowMenuTriggerProps$1['editor'];
469
+ }
62
470
  /**
63
- * Props for the {@link TableHandleRowTrigger} component.
471
+ * A Preact component that renders an `prosekit-table-handle-row-menu-trigger` custom element.
472
+ *
473
+ * @public
64
474
  */
65
- interface TableHandleRowTriggerProps extends Partial<CreateProps<TableHandleRowTriggerProps$1, TableHandleRowTriggerEvents>> {}
66
- declare const TableHandleRowTrigger: ForwardRefExoticComponent<Partial<TableHandleRowTriggerProps> & RefAttributes<TableHandleRowTriggerElement> & HTMLAttributes<TableHandleRowTriggerElement>>;
475
+ declare const TableHandleRowMenuTrigger: ForwardRefExoticComponent<TableHandleRowMenuTriggerProps & RefAttributes<TableHandleRowMenuTriggerElement>>;
67
476
  //#endregion
68
- export { TableHandleColumnRoot, type TableHandleColumnRootProps, TableHandleColumnTrigger, type TableHandleColumnTriggerProps, TableHandleDragPreview, type TableHandleDragPreviewProps, TableHandleDropIndicator, type TableHandleDropIndicatorProps, TableHandlePopoverContent, type TableHandlePopoverContentProps, TableHandlePopoverItem, type TableHandlePopoverItemProps, TableHandleRoot, type TableHandleRootProps, TableHandleRowRoot, type TableHandleRowRootProps, TableHandleRowTrigger, type TableHandleRowTriggerProps };
477
+ 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 };
69
478
  //# sourceMappingURL=prosekit-preact-table-handle.d.ts.map