@prosekit/react 0.7.0-beta.4 → 0.7.0-beta.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (88) hide show
  1. package/dist/prosekit-react-autocomplete.d.ts +10 -50
  2. package/dist/prosekit-react-autocomplete.d.ts.map +1 -1
  3. package/dist/prosekit-react-autocomplete.js +5 -40
  4. package/dist/prosekit-react-autocomplete.js.map +1 -1
  5. package/dist/prosekit-react-block-handle.d.ts +10 -50
  6. package/dist/prosekit-react-block-handle.d.ts.map +1 -1
  7. package/dist/prosekit-react-block-handle.js +5 -40
  8. package/dist/prosekit-react-block-handle.js.map +1 -1
  9. package/dist/prosekit-react-drop-indicator.d.ts +2 -10
  10. package/dist/prosekit-react-drop-indicator.d.ts.map +1 -1
  11. package/dist/prosekit-react-drop-indicator.js +1 -8
  12. package/dist/prosekit-react-drop-indicator.js.map +1 -1
  13. package/dist/prosekit-react-inline-popover.d.ts +6 -30
  14. package/dist/prosekit-react-inline-popover.d.ts.map +1 -1
  15. package/dist/prosekit-react-inline-popover.js +3 -24
  16. package/dist/prosekit-react-inline-popover.js.map +1 -1
  17. package/dist/prosekit-react-menu.d.ts +48 -73
  18. package/dist/prosekit-react-menu.d.ts.map +1 -1
  19. package/dist/prosekit-react-menu.js +37 -58
  20. package/dist/prosekit-react-menu.js.map +1 -1
  21. package/dist/prosekit-react-popover.d.ts +8 -40
  22. package/dist/prosekit-react-popover.d.ts.map +1 -1
  23. package/dist/prosekit-react-popover.js +4 -32
  24. package/dist/prosekit-react-popover.js.map +1 -1
  25. package/dist/prosekit-react-resizable.d.ts +4 -20
  26. package/dist/prosekit-react-resizable.d.ts.map +1 -1
  27. package/dist/prosekit-react-resizable.js +2 -16
  28. package/dist/prosekit-react-resizable.js.map +1 -1
  29. package/dist/prosekit-react-table-handle.d.ts +22 -110
  30. package/dist/prosekit-react-table-handle.d.ts.map +1 -1
  31. package/dist/prosekit-react-table-handle.js +11 -88
  32. package/dist/prosekit-react-table-handle.js.map +1 -1
  33. package/dist/prosekit-react-tooltip.d.ts +8 -40
  34. package/dist/prosekit-react-tooltip.d.ts.map +1 -1
  35. package/dist/prosekit-react-tooltip.js +4 -32
  36. package/dist/prosekit-react-tooltip.js.map +1 -1
  37. package/package.json +4 -4
  38. package/src/components/autocomplete/autocomplete-empty.gen.ts +3 -13
  39. package/src/components/autocomplete/autocomplete-item.gen.ts +3 -13
  40. package/src/components/autocomplete/autocomplete-popup.gen.ts +3 -13
  41. package/src/components/autocomplete/autocomplete-positioner.gen.ts +3 -13
  42. package/src/components/autocomplete/autocomplete-root.gen.ts +3 -13
  43. package/src/components/autocomplete/index.gen.ts +1 -3
  44. package/src/components/block-handle/block-handle-add.gen.ts +3 -13
  45. package/src/components/block-handle/block-handle-draggable.gen.ts +3 -13
  46. package/src/components/block-handle/block-handle-popup.gen.ts +3 -13
  47. package/src/components/block-handle/block-handle-positioner.gen.ts +3 -13
  48. package/src/components/block-handle/block-handle-root.gen.ts +3 -13
  49. package/src/components/block-handle/index.gen.ts +1 -3
  50. package/src/components/drop-indicator/drop-indicator.gen.ts +3 -13
  51. package/src/components/drop-indicator/index.gen.ts +1 -3
  52. package/src/components/inline-popover/index.gen.ts +1 -3
  53. package/src/components/inline-popover/inline-popover-popup.gen.ts +3 -13
  54. package/src/components/inline-popover/inline-popover-positioner.gen.ts +3 -13
  55. package/src/components/inline-popover/inline-popover-root.gen.ts +3 -13
  56. package/src/components/menu/index.gen.ts +1 -3
  57. package/src/components/menu/menu-item.gen.ts +3 -13
  58. package/src/components/menu/menu-popup.gen.ts +3 -13
  59. package/src/components/menu/menu-positioner.gen.ts +3 -13
  60. package/src/components/menu/menu-root.gen.ts +3 -13
  61. package/src/components/menu/menu-submenu-root.gen.ts +49 -17
  62. package/src/components/menu/menu-submenu-trigger.gen.ts +28 -19
  63. package/src/components/menu/menu-trigger.gen.ts +3 -13
  64. package/src/components/popover/index.gen.ts +1 -3
  65. package/src/components/popover/popover-popup.gen.ts +3 -13
  66. package/src/components/popover/popover-positioner.gen.ts +3 -13
  67. package/src/components/popover/popover-root.gen.ts +3 -13
  68. package/src/components/popover/popover-trigger.gen.ts +3 -13
  69. package/src/components/resizable/index.gen.ts +1 -3
  70. package/src/components/resizable/resizable-handle.gen.ts +3 -13
  71. package/src/components/resizable/resizable-root.gen.ts +3 -13
  72. package/src/components/table-handle/index.gen.ts +1 -3
  73. package/src/components/table-handle/table-handle-column-menu-root.gen.ts +3 -13
  74. package/src/components/table-handle/table-handle-column-menu-trigger.gen.ts +3 -13
  75. package/src/components/table-handle/table-handle-column-popup.gen.ts +3 -13
  76. package/src/components/table-handle/table-handle-column-positioner.gen.ts +3 -13
  77. package/src/components/table-handle/table-handle-drag-preview.gen.ts +3 -13
  78. package/src/components/table-handle/table-handle-drop-indicator.gen.ts +3 -13
  79. package/src/components/table-handle/table-handle-root.gen.ts +3 -13
  80. package/src/components/table-handle/table-handle-row-menu-root.gen.ts +3 -13
  81. package/src/components/table-handle/table-handle-row-menu-trigger.gen.ts +3 -13
  82. package/src/components/table-handle/table-handle-row-popup.gen.ts +3 -13
  83. package/src/components/table-handle/table-handle-row-positioner.gen.ts +3 -13
  84. package/src/components/tooltip/index.gen.ts +1 -3
  85. package/src/components/tooltip/tooltip-popup.gen.ts +3 -13
  86. package/src/components/tooltip/tooltip-positioner.gen.ts +3 -13
  87. package/src/components/tooltip/tooltip-root.gen.ts +3 -13
  88. package/src/components/tooltip/tooltip-trigger.gen.ts +3 -13
@@ -1,17 +1,11 @@
1
- /**
2
- * This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly.
3
- */
1
+ // This file is auto-generated by "@aria-ui/cli". Do not edit this file directly.
4
2
 
5
3
  import { registerTableHandleColumnMenuTriggerElement, type TableHandleColumnMenuTriggerElement, type TableHandleColumnMenuTriggerProps as TableHandleColumnMenuTriggerElementProps } from '@prosekit/web/table-handle';
6
4
  import { createElement, forwardRef, useCallback, useRef, type ForwardedRef, type ForwardRefExoticComponent, type HTMLAttributes, type RefAttributes, useLayoutEffect } from 'react';
7
5
 
8
6
  import { useEditorContext } from '../../contexts/editor-context.ts';
9
7
 
10
- /**
11
- * Props for the {@link TableHandleColumnMenuTrigger} React component.
12
- *
13
- * @public
14
- */
8
+ /** Props for the {@link TableHandleColumnMenuTrigger} React component. */
15
9
  export interface TableHandleColumnMenuTriggerProps {
16
10
  /**
17
11
  * @default null
@@ -50,9 +44,5 @@ function TableHandleColumnMenuTriggerComponent(props: TableHandleColumnMenuTrigg
50
44
  return createElement('prosekit-table-handle-column-menu-trigger', { ...restProps, ref: mergedRef, suppressHydrationWarning: true });
51
45
  }
52
46
 
53
- /**
54
- * A React component that renders an `prosekit-table-handle-column-menu-trigger` custom element.
55
- *
56
- * @public
57
- */
47
+ /** A React component that renders an `prosekit-table-handle-column-menu-trigger` custom element. */
58
48
  export const TableHandleColumnMenuTrigger: ForwardRefExoticComponent<TableHandleColumnMenuTriggerProps & HTMLAttributes<TableHandleColumnMenuTriggerElement> & RefAttributes<TableHandleColumnMenuTriggerElement>> = /* @__PURE__ */ forwardRef(TableHandleColumnMenuTriggerComponent);
@@ -1,15 +1,9 @@
1
- /**
2
- * This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly.
3
- */
1
+ // This file is auto-generated by "@aria-ui/cli". Do not edit this file directly.
4
2
 
5
3
  import { registerTableHandleColumnPopupElement, type TableHandleColumnPopupElement } from '@prosekit/web/table-handle';
6
4
  import { createElement, forwardRef, useCallback, useRef, type ForwardedRef, type ForwardRefExoticComponent, type HTMLAttributes, type RefAttributes } from 'react';
7
5
 
8
- /**
9
- * Props for the {@link TableHandleColumnPopup} React component.
10
- *
11
- * @public
12
- */
6
+ /** Props for the {@link TableHandleColumnPopup} React component. */
13
7
  export interface TableHandleColumnPopupProps {}
14
8
 
15
9
  function TableHandleColumnPopupComponent(props: TableHandleColumnPopupProps, forwardedRef: ForwardedRef<TableHandleColumnPopupElement>) {
@@ -34,9 +28,5 @@ function TableHandleColumnPopupComponent(props: TableHandleColumnPopupProps, for
34
28
  return createElement('prosekit-table-handle-column-popup', { ...restProps, ref: mergedRef, suppressHydrationWarning: true });
35
29
  }
36
30
 
37
- /**
38
- * A React component that renders an `prosekit-table-handle-column-popup` custom element.
39
- *
40
- * @public
41
- */
31
+ /** A React component that renders an `prosekit-table-handle-column-popup` custom element. */
42
32
  export const TableHandleColumnPopup: ForwardRefExoticComponent<TableHandleColumnPopupProps & HTMLAttributes<TableHandleColumnPopupElement> & RefAttributes<TableHandleColumnPopupElement>> = /* @__PURE__ */ forwardRef(TableHandleColumnPopupComponent);
@@ -1,17 +1,11 @@
1
- /**
2
- * This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly.
3
- */
1
+ // This file is auto-generated by "@aria-ui/cli". Do not edit this file directly.
4
2
 
5
3
  import { registerTableHandleColumnPositionerElement, type TableHandleColumnPositionerElement, type TableHandleColumnPositionerProps as TableHandleColumnPositionerElementProps } from '@prosekit/web/table-handle';
6
4
  import { createElement, forwardRef, useCallback, useRef, type ForwardedRef, type ForwardRefExoticComponent, type HTMLAttributes, type RefAttributes, useLayoutEffect } from 'react';
7
5
 
8
6
  import { useEditorContext } from '../../contexts/editor-context.ts';
9
7
 
10
- /**
11
- * Props for the {@link TableHandleColumnPositioner} React component.
12
- *
13
- * @public
14
- */
8
+ /** Props for the {@link TableHandleColumnPositioner} React component. */
15
9
  export interface TableHandleColumnPositionerProps {
16
10
  /**
17
11
  * The placement of the popover, relative to the hovered table cell.
@@ -191,9 +185,5 @@ function TableHandleColumnPositionerComponent(props: TableHandleColumnPositioner
191
185
  return createElement('prosekit-table-handle-column-positioner', { ...restProps, ref: mergedRef, suppressHydrationWarning: true });
192
186
  }
193
187
 
194
- /**
195
- * A React component that renders an `prosekit-table-handle-column-positioner` custom element.
196
- *
197
- * @public
198
- */
188
+ /** A React component that renders an `prosekit-table-handle-column-positioner` custom element. */
199
189
  export const TableHandleColumnPositioner: ForwardRefExoticComponent<TableHandleColumnPositionerProps & HTMLAttributes<TableHandleColumnPositionerElement> & RefAttributes<TableHandleColumnPositionerElement>> = /* @__PURE__ */ forwardRef(TableHandleColumnPositionerComponent);
@@ -1,17 +1,11 @@
1
- /**
2
- * This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly.
3
- */
1
+ // This file is auto-generated by "@aria-ui/cli". Do not edit this file directly.
4
2
 
5
3
  import { registerTableHandleDragPreviewElement, type TableHandleDragPreviewElement, type TableHandleDragPreviewProps as TableHandleDragPreviewElementProps } from '@prosekit/web/table-handle';
6
4
  import { createElement, forwardRef, useCallback, useRef, type ForwardedRef, type ForwardRefExoticComponent, type HTMLAttributes, type RefAttributes, useLayoutEffect } from 'react';
7
5
 
8
6
  import { useEditorContext } from '../../contexts/editor-context.ts';
9
7
 
10
- /**
11
- * Props for the {@link TableHandleDragPreview} React component.
12
- *
13
- * @public
14
- */
8
+ /** Props for the {@link TableHandleDragPreview} React component. */
15
9
  export interface TableHandleDragPreviewProps {
16
10
  /**
17
11
  * @default null
@@ -50,9 +44,5 @@ function TableHandleDragPreviewComponent(props: TableHandleDragPreviewProps, for
50
44
  return createElement('prosekit-table-handle-drag-preview', { ...restProps, ref: mergedRef, suppressHydrationWarning: true });
51
45
  }
52
46
 
53
- /**
54
- * A React component that renders an `prosekit-table-handle-drag-preview` custom element.
55
- *
56
- * @public
57
- */
47
+ /** A React component that renders an `prosekit-table-handle-drag-preview` custom element. */
58
48
  export const TableHandleDragPreview: ForwardRefExoticComponent<TableHandleDragPreviewProps & HTMLAttributes<TableHandleDragPreviewElement> & RefAttributes<TableHandleDragPreviewElement>> = /* @__PURE__ */ forwardRef(TableHandleDragPreviewComponent);
@@ -1,17 +1,11 @@
1
- /**
2
- * This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly.
3
- */
1
+ // This file is auto-generated by "@aria-ui/cli". Do not edit this file directly.
4
2
 
5
3
  import { registerTableHandleDropIndicatorElement, type TableHandleDropIndicatorElement, type TableHandleDropIndicatorProps as TableHandleDropIndicatorElementProps } from '@prosekit/web/table-handle';
6
4
  import { createElement, forwardRef, useCallback, useRef, type ForwardedRef, type ForwardRefExoticComponent, type HTMLAttributes, type RefAttributes, useLayoutEffect } from 'react';
7
5
 
8
6
  import { useEditorContext } from '../../contexts/editor-context.ts';
9
7
 
10
- /**
11
- * Props for the {@link TableHandleDropIndicator} React component.
12
- *
13
- * @public
14
- */
8
+ /** Props for the {@link TableHandleDropIndicator} React component. */
15
9
  export interface TableHandleDropIndicatorProps {
16
10
  /**
17
11
  * @default null
@@ -50,9 +44,5 @@ function TableHandleDropIndicatorComponent(props: TableHandleDropIndicatorProps,
50
44
  return createElement('prosekit-table-handle-drop-indicator', { ...restProps, ref: mergedRef, suppressHydrationWarning: true });
51
45
  }
52
46
 
53
- /**
54
- * A React component that renders an `prosekit-table-handle-drop-indicator` custom element.
55
- *
56
- * @public
57
- */
47
+ /** A React component that renders an `prosekit-table-handle-drop-indicator` custom element. */
58
48
  export const TableHandleDropIndicator: ForwardRefExoticComponent<TableHandleDropIndicatorProps & HTMLAttributes<TableHandleDropIndicatorElement> & RefAttributes<TableHandleDropIndicatorElement>> = /* @__PURE__ */ forwardRef(TableHandleDropIndicatorComponent);
@@ -1,17 +1,11 @@
1
- /**
2
- * This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly.
3
- */
1
+ // This file is auto-generated by "@aria-ui/cli". Do not edit this file directly.
4
2
 
5
3
  import { registerTableHandleRootElement, type TableHandleRootElement, type TableHandleRootProps as TableHandleRootElementProps } from '@prosekit/web/table-handle';
6
4
  import { createElement, forwardRef, useCallback, useRef, type ForwardedRef, type ForwardRefExoticComponent, type HTMLAttributes, type RefAttributes, useLayoutEffect } from 'react';
7
5
 
8
6
  import { useEditorContext } from '../../contexts/editor-context.ts';
9
7
 
10
- /**
11
- * Props for the {@link TableHandleRoot} React component.
12
- *
13
- * @public
14
- */
8
+ /** Props for the {@link TableHandleRoot} React component. */
15
9
  export interface TableHandleRootProps {
16
10
  /**
17
11
  * The ProseKit editor instance.
@@ -52,9 +46,5 @@ function TableHandleRootComponent(props: TableHandleRootProps, forwardedRef: For
52
46
  return createElement('prosekit-table-handle-root', { ...restProps, ref: mergedRef, suppressHydrationWarning: true });
53
47
  }
54
48
 
55
- /**
56
- * A React component that renders an `prosekit-table-handle-root` custom element.
57
- *
58
- * @public
59
- */
49
+ /** A React component that renders an `prosekit-table-handle-root` custom element. */
60
50
  export const TableHandleRoot: ForwardRefExoticComponent<TableHandleRootProps & HTMLAttributes<TableHandleRootElement> & RefAttributes<TableHandleRootElement>> = /* @__PURE__ */ forwardRef(TableHandleRootComponent);
@@ -1,15 +1,9 @@
1
- /**
2
- * This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly.
3
- */
1
+ // This file is auto-generated by "@aria-ui/cli". Do not edit this file directly.
4
2
 
5
3
  import { registerTableHandleRowMenuRootElement, type TableHandleRowMenuRootElement, type TableHandleRowMenuRootProps as TableHandleRowMenuRootElementProps } from '@prosekit/web/table-handle';
6
4
  import { createElement, forwardRef, useCallback, useRef, type ForwardedRef, type ForwardRefExoticComponent, type HTMLAttributes, type RefAttributes, useLayoutEffect } from 'react';
7
5
 
8
- /**
9
- * Props for the {@link TableHandleRowMenuRoot} React component.
10
- *
11
- * @public
12
- */
6
+ /** Props for the {@link TableHandleRowMenuRoot} React component. */
13
7
  export interface TableHandleRowMenuRootProps {
14
8
  /**
15
9
  * Whether the overlay is initially open.
@@ -56,9 +50,5 @@ function TableHandleRowMenuRootComponent(props: TableHandleRowMenuRootProps, for
56
50
  return createElement('prosekit-table-handle-row-menu-root', { ...restProps, ref: mergedRef, suppressHydrationWarning: true });
57
51
  }
58
52
 
59
- /**
60
- * A React component that renders an `prosekit-table-handle-row-menu-root` custom element.
61
- *
62
- * @public
63
- */
53
+ /** A React component that renders an `prosekit-table-handle-row-menu-root` custom element. */
64
54
  export const TableHandleRowMenuRoot: ForwardRefExoticComponent<TableHandleRowMenuRootProps & HTMLAttributes<TableHandleRowMenuRootElement> & RefAttributes<TableHandleRowMenuRootElement>> = /* @__PURE__ */ forwardRef(TableHandleRowMenuRootComponent);
@@ -1,17 +1,11 @@
1
- /**
2
- * This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly.
3
- */
1
+ // This file is auto-generated by "@aria-ui/cli". Do not edit this file directly.
4
2
 
5
3
  import { registerTableHandleRowMenuTriggerElement, type TableHandleRowMenuTriggerElement, type TableHandleRowMenuTriggerProps as TableHandleRowMenuTriggerElementProps } from '@prosekit/web/table-handle';
6
4
  import { createElement, forwardRef, useCallback, useRef, type ForwardedRef, type ForwardRefExoticComponent, type HTMLAttributes, type RefAttributes, useLayoutEffect } from 'react';
7
5
 
8
6
  import { useEditorContext } from '../../contexts/editor-context.ts';
9
7
 
10
- /**
11
- * Props for the {@link TableHandleRowMenuTrigger} React component.
12
- *
13
- * @public
14
- */
8
+ /** Props for the {@link TableHandleRowMenuTrigger} React component. */
15
9
  export interface TableHandleRowMenuTriggerProps {
16
10
  /**
17
11
  * @default null
@@ -50,9 +44,5 @@ function TableHandleRowMenuTriggerComponent(props: TableHandleRowMenuTriggerProp
50
44
  return createElement('prosekit-table-handle-row-menu-trigger', { ...restProps, ref: mergedRef, suppressHydrationWarning: true });
51
45
  }
52
46
 
53
- /**
54
- * A React component that renders an `prosekit-table-handle-row-menu-trigger` custom element.
55
- *
56
- * @public
57
- */
47
+ /** A React component that renders an `prosekit-table-handle-row-menu-trigger` custom element. */
58
48
  export const TableHandleRowMenuTrigger: ForwardRefExoticComponent<TableHandleRowMenuTriggerProps & HTMLAttributes<TableHandleRowMenuTriggerElement> & RefAttributes<TableHandleRowMenuTriggerElement>> = /* @__PURE__ */ forwardRef(TableHandleRowMenuTriggerComponent);
@@ -1,15 +1,9 @@
1
- /**
2
- * This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly.
3
- */
1
+ // This file is auto-generated by "@aria-ui/cli". Do not edit this file directly.
4
2
 
5
3
  import { registerTableHandleRowPopupElement, type TableHandleRowPopupElement } from '@prosekit/web/table-handle';
6
4
  import { createElement, forwardRef, useCallback, useRef, type ForwardedRef, type ForwardRefExoticComponent, type HTMLAttributes, type RefAttributes } from 'react';
7
5
 
8
- /**
9
- * Props for the {@link TableHandleRowPopup} React component.
10
- *
11
- * @public
12
- */
6
+ /** Props for the {@link TableHandleRowPopup} React component. */
13
7
  export interface TableHandleRowPopupProps {}
14
8
 
15
9
  function TableHandleRowPopupComponent(props: TableHandleRowPopupProps, forwardedRef: ForwardedRef<TableHandleRowPopupElement>) {
@@ -34,9 +28,5 @@ function TableHandleRowPopupComponent(props: TableHandleRowPopupProps, forwarded
34
28
  return createElement('prosekit-table-handle-row-popup', { ...restProps, ref: mergedRef, suppressHydrationWarning: true });
35
29
  }
36
30
 
37
- /**
38
- * A React component that renders an `prosekit-table-handle-row-popup` custom element.
39
- *
40
- * @public
41
- */
31
+ /** A React component that renders an `prosekit-table-handle-row-popup` custom element. */
42
32
  export const TableHandleRowPopup: ForwardRefExoticComponent<TableHandleRowPopupProps & HTMLAttributes<TableHandleRowPopupElement> & RefAttributes<TableHandleRowPopupElement>> = /* @__PURE__ */ forwardRef(TableHandleRowPopupComponent);
@@ -1,17 +1,11 @@
1
- /**
2
- * This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly.
3
- */
1
+ // This file is auto-generated by "@aria-ui/cli". Do not edit this file directly.
4
2
 
5
3
  import { registerTableHandleRowPositionerElement, type TableHandleRowPositionerElement, type TableHandleRowPositionerProps as TableHandleRowPositionerElementProps } from '@prosekit/web/table-handle';
6
4
  import { createElement, forwardRef, useCallback, useRef, type ForwardedRef, type ForwardRefExoticComponent, type HTMLAttributes, type RefAttributes, useLayoutEffect } from 'react';
7
5
 
8
6
  import { useEditorContext } from '../../contexts/editor-context.ts';
9
7
 
10
- /**
11
- * Props for the {@link TableHandleRowPositioner} React component.
12
- *
13
- * @public
14
- */
8
+ /** Props for the {@link TableHandleRowPositioner} React component. */
15
9
  export interface TableHandleRowPositionerProps {
16
10
  /**
17
11
  * The placement of the popover, relative to the hovered table cell.
@@ -191,9 +185,5 @@ function TableHandleRowPositionerComponent(props: TableHandleRowPositionerProps,
191
185
  return createElement('prosekit-table-handle-row-positioner', { ...restProps, ref: mergedRef, suppressHydrationWarning: true });
192
186
  }
193
187
 
194
- /**
195
- * A React component that renders an `prosekit-table-handle-row-positioner` custom element.
196
- *
197
- * @public
198
- */
188
+ /** A React component that renders an `prosekit-table-handle-row-positioner` custom element. */
199
189
  export const TableHandleRowPositioner: ForwardRefExoticComponent<TableHandleRowPositionerProps & HTMLAttributes<TableHandleRowPositionerElement> & RefAttributes<TableHandleRowPositionerElement>> = /* @__PURE__ */ forwardRef(TableHandleRowPositionerComponent);
@@ -1,6 +1,4 @@
1
- /**
2
- * This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly.
3
- */
1
+ // This file is auto-generated by "@aria-ui/cli". Do not edit this file directly.
4
2
 
5
3
  export { TooltipPopup, type TooltipPopupProps } from './tooltip-popup.gen.ts';
6
4
 
@@ -1,15 +1,9 @@
1
- /**
2
- * This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly.
3
- */
1
+ // This file is auto-generated by "@aria-ui/cli". Do not edit this file directly.
4
2
 
5
3
  import { registerTooltipPopupElement, type TooltipPopupElement } from '@prosekit/web/tooltip';
6
4
  import { createElement, forwardRef, useCallback, useRef, type ForwardedRef, type ForwardRefExoticComponent, type HTMLAttributes, type RefAttributes } from 'react';
7
5
 
8
- /**
9
- * Props for the {@link TooltipPopup} React component.
10
- *
11
- * @public
12
- */
6
+ /** Props for the {@link TooltipPopup} React component. */
13
7
  export interface TooltipPopupProps {}
14
8
 
15
9
  function TooltipPopupComponent(props: TooltipPopupProps, forwardedRef: ForwardedRef<TooltipPopupElement>) {
@@ -34,9 +28,5 @@ function TooltipPopupComponent(props: TooltipPopupProps, forwardedRef: Forwarded
34
28
  return createElement('prosekit-tooltip-popup', { ...restProps, ref: mergedRef, suppressHydrationWarning: true });
35
29
  }
36
30
 
37
- /**
38
- * A React component that renders an `prosekit-tooltip-popup` custom element.
39
- *
40
- * @public
41
- */
31
+ /** A React component that renders an `prosekit-tooltip-popup` custom element. */
42
32
  export const TooltipPopup: ForwardRefExoticComponent<TooltipPopupProps & HTMLAttributes<TooltipPopupElement> & RefAttributes<TooltipPopupElement>> = /* @__PURE__ */ forwardRef(TooltipPopupComponent);
@@ -1,15 +1,9 @@
1
- /**
2
- * This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly.
3
- */
1
+ // This file is auto-generated by "@aria-ui/cli". Do not edit this file directly.
4
2
 
5
3
  import { registerTooltipPositionerElement, type TooltipPositionerElement, type TooltipPositionerProps as TooltipPositionerElementProps } from '@prosekit/web/tooltip';
6
4
  import { createElement, forwardRef, useCallback, useRef, type ForwardedRef, type ForwardRefExoticComponent, type HTMLAttributes, type RefAttributes, useLayoutEffect } from 'react';
7
5
 
8
- /**
9
- * Props for the {@link TooltipPositioner} React component.
10
- *
11
- * @public
12
- */
6
+ /** Props for the {@link TooltipPositioner} React component. */
13
7
  export interface TooltipPositionerProps {
14
8
  /**
15
9
  * The strategy to use for positioning
@@ -168,9 +162,5 @@ function TooltipPositionerComponent(props: TooltipPositionerProps, forwardedRef:
168
162
  return createElement('prosekit-tooltip-positioner', { ...restProps, ref: mergedRef, suppressHydrationWarning: true });
169
163
  }
170
164
 
171
- /**
172
- * A React component that renders an `prosekit-tooltip-positioner` custom element.
173
- *
174
- * @public
175
- */
165
+ /** A React component that renders an `prosekit-tooltip-positioner` custom element. */
176
166
  export const TooltipPositioner: ForwardRefExoticComponent<TooltipPositionerProps & HTMLAttributes<TooltipPositionerElement> & RefAttributes<TooltipPositionerElement>> = /* @__PURE__ */ forwardRef(TooltipPositionerComponent);
@@ -1,15 +1,9 @@
1
- /**
2
- * This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly.
3
- */
1
+ // This file is auto-generated by "@aria-ui/cli". Do not edit this file directly.
4
2
 
5
3
  import { registerTooltipRootElement, type TooltipRootElement, type TooltipRootProps as TooltipRootElementProps, type TooltipRootEvents } from '@prosekit/web/tooltip';
6
4
  import { createElement, forwardRef, useCallback, useRef, type ForwardedRef, type ForwardRefExoticComponent, type HTMLAttributes, type RefAttributes, useLayoutEffect } from 'react';
7
5
 
8
- /**
9
- * Props for the {@link TooltipRoot} React component.
10
- *
11
- * @public
12
- */
6
+ /** Props for the {@link TooltipRoot} React component. */
13
7
  export interface TooltipRootProps {
14
8
  /**
15
9
  * Whether the overlay is initially open.
@@ -76,9 +70,5 @@ function TooltipRootComponent(props: TooltipRootProps, forwardedRef: ForwardedRe
76
70
  return createElement('prosekit-tooltip-root', { ...restProps, ref: mergedRef, suppressHydrationWarning: true });
77
71
  }
78
72
 
79
- /**
80
- * A React component that renders an `prosekit-tooltip-root` custom element.
81
- *
82
- * @public
83
- */
73
+ /** A React component that renders an `prosekit-tooltip-root` custom element. */
84
74
  export const TooltipRoot: ForwardRefExoticComponent<TooltipRootProps & HTMLAttributes<TooltipRootElement> & RefAttributes<TooltipRootElement>> = /* @__PURE__ */ forwardRef(TooltipRootComponent);
@@ -1,15 +1,9 @@
1
- /**
2
- * This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly.
3
- */
1
+ // This file is auto-generated by "@aria-ui/cli". Do not edit this file directly.
4
2
 
5
3
  import { registerTooltipTriggerElement, type TooltipTriggerElement, type TooltipTriggerProps as TooltipTriggerElementProps } from '@prosekit/web/tooltip';
6
4
  import { createElement, forwardRef, useCallback, useRef, type ForwardedRef, type ForwardRefExoticComponent, type HTMLAttributes, type RefAttributes, useLayoutEffect } from 'react';
7
5
 
8
- /**
9
- * Props for the {@link TooltipTrigger} React component.
10
- *
11
- * @public
12
- */
6
+ /** Props for the {@link TooltipTrigger} React component. */
13
7
  export interface TooltipTriggerProps {
14
8
  /**
15
9
  * Whether the component should ignore user interaction.
@@ -56,9 +50,5 @@ function TooltipTriggerComponent(props: TooltipTriggerProps, forwardedRef: Forwa
56
50
  return createElement('prosekit-tooltip-trigger', { ...restProps, ref: mergedRef, suppressHydrationWarning: true });
57
51
  }
58
52
 
59
- /**
60
- * A React component that renders an `prosekit-tooltip-trigger` custom element.
61
- *
62
- * @public
63
- */
53
+ /** A React component that renders an `prosekit-tooltip-trigger` custom element. */
64
54
  export const TooltipTrigger: ForwardRefExoticComponent<TooltipTriggerProps & HTMLAttributes<TooltipTriggerElement> & RefAttributes<TooltipTriggerElement>> = /* @__PURE__ */ forwardRef(TooltipTriggerComponent);