@prosekit/solid 0.7.0-beta.3 → 0.7.0-beta.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (94) hide show
  1. package/dist/editor-context.js +0 -2
  2. package/dist/editor-context.js.map +1 -1
  3. package/dist/prosekit-solid-autocomplete.d.ts +22 -73
  4. package/dist/prosekit-solid-autocomplete.d.ts.map +1 -1
  5. package/dist/prosekit-solid-autocomplete.js +7 -52
  6. package/dist/prosekit-solid-autocomplete.js.map +1 -1
  7. package/dist/prosekit-solid-block-handle.d.ts +22 -73
  8. package/dist/prosekit-solid-block-handle.d.ts.map +1 -1
  9. package/dist/prosekit-solid-block-handle.js +7 -52
  10. package/dist/prosekit-solid-block-handle.js.map +1 -1
  11. package/dist/prosekit-solid-drop-indicator.d.ts +4 -15
  12. package/dist/prosekit-solid-drop-indicator.d.ts.map +1 -1
  13. package/dist/prosekit-solid-drop-indicator.js +1 -10
  14. package/dist/prosekit-solid-drop-indicator.js.map +1 -1
  15. package/dist/prosekit-solid-inline-popover.d.ts +15 -46
  16. package/dist/prosekit-solid-inline-popover.d.ts.map +1 -1
  17. package/dist/prosekit-solid-inline-popover.js +5 -32
  18. package/dist/prosekit-solid-inline-popover.js.map +1 -1
  19. package/dist/prosekit-solid-menu.d.ts +61 -101
  20. package/dist/prosekit-solid-menu.d.ts.map +1 -1
  21. package/dist/prosekit-solid-menu.js +52 -76
  22. package/dist/prosekit-solid-menu.js.map +1 -1
  23. package/dist/prosekit-solid-popover.d.ts +18 -59
  24. package/dist/prosekit-solid-popover.d.ts.map +1 -1
  25. package/dist/prosekit-solid-popover.js +6 -42
  26. package/dist/prosekit-solid-popover.js.map +1 -1
  27. package/dist/prosekit-solid-resizable.d.ts +10 -31
  28. package/dist/prosekit-solid-resizable.d.ts.map +1 -1
  29. package/dist/prosekit-solid-resizable.js +4 -22
  30. package/dist/prosekit-solid-resizable.js.map +1 -1
  31. package/dist/prosekit-solid-table-handle.d.ts +44 -155
  32. package/dist/prosekit-solid-table-handle.d.ts.map +1 -1
  33. package/dist/prosekit-solid-table-handle.js +11 -110
  34. package/dist/prosekit-solid-table-handle.js.map +1 -1
  35. package/dist/prosekit-solid-tooltip.d.ts +18 -59
  36. package/dist/prosekit-solid-tooltip.d.ts.map +1 -1
  37. package/dist/prosekit-solid-tooltip.js +6 -42
  38. package/dist/prosekit-solid-tooltip.js.map +1 -1
  39. package/dist/prosekit-solid.d.ts +0 -21
  40. package/dist/prosekit-solid.d.ts.map +1 -1
  41. package/dist/prosekit-solid.js +0 -28
  42. package/dist/prosekit-solid.js.map +1 -1
  43. package/package.json +4 -4
  44. package/src/components/autocomplete/autocomplete-empty.gen.ts +5 -15
  45. package/src/components/autocomplete/autocomplete-item.gen.ts +5 -17
  46. package/src/components/autocomplete/autocomplete-popup.gen.ts +5 -17
  47. package/src/components/autocomplete/autocomplete-positioner.gen.ts +5 -15
  48. package/src/components/autocomplete/autocomplete-root.gen.ts +5 -17
  49. package/src/components/autocomplete/index.gen.ts +4 -8
  50. package/src/components/block-handle/block-handle-add.gen.ts +5 -15
  51. package/src/components/block-handle/block-handle-draggable.gen.ts +5 -15
  52. package/src/components/block-handle/block-handle-popup.gen.ts +5 -15
  53. package/src/components/block-handle/block-handle-positioner.gen.ts +5 -15
  54. package/src/components/block-handle/block-handle-root.gen.ts +5 -17
  55. package/src/components/block-handle/index.gen.ts +2 -6
  56. package/src/components/drop-indicator/drop-indicator.gen.ts +5 -15
  57. package/src/components/drop-indicator/index.gen.ts +1 -3
  58. package/src/components/inline-popover/index.gen.ts +2 -6
  59. package/src/components/inline-popover/inline-popover-popup.gen.ts +5 -15
  60. package/src/components/inline-popover/inline-popover-positioner.gen.ts +5 -15
  61. package/src/components/inline-popover/inline-popover-root.gen.ts +6 -18
  62. package/src/components/menu/index.gen.ts +4 -8
  63. package/src/components/menu/menu-item.gen.ts +5 -17
  64. package/src/components/menu/menu-popup.gen.ts +5 -15
  65. package/src/components/menu/menu-positioner.gen.ts +5 -15
  66. package/src/components/menu/menu-root.gen.ts +5 -17
  67. package/src/components/menu/menu-submenu-root.gen.ts +66 -19
  68. package/src/components/menu/menu-submenu-trigger.gen.ts +40 -19
  69. package/src/components/menu/menu-trigger.gen.ts +5 -17
  70. package/src/components/popover/index.gen.ts +3 -7
  71. package/src/components/popover/popover-popup.gen.ts +5 -15
  72. package/src/components/popover/popover-positioner.gen.ts +5 -15
  73. package/src/components/popover/popover-root.gen.ts +5 -17
  74. package/src/components/popover/popover-trigger.gen.ts +5 -17
  75. package/src/components/resizable/index.gen.ts +2 -6
  76. package/src/components/resizable/resizable-handle.gen.ts +5 -15
  77. package/src/components/resizable/resizable-root.gen.ts +5 -17
  78. package/src/components/table-handle/index.gen.ts +1 -3
  79. package/src/components/table-handle/table-handle-column-menu-root.gen.ts +5 -15
  80. package/src/components/table-handle/table-handle-column-menu-trigger.gen.ts +5 -15
  81. package/src/components/table-handle/table-handle-column-popup.gen.ts +5 -15
  82. package/src/components/table-handle/table-handle-column-positioner.gen.ts +5 -15
  83. package/src/components/table-handle/table-handle-drag-preview.gen.ts +5 -15
  84. package/src/components/table-handle/table-handle-drop-indicator.gen.ts +5 -15
  85. package/src/components/table-handle/table-handle-root.gen.ts +5 -15
  86. package/src/components/table-handle/table-handle-row-menu-root.gen.ts +5 -15
  87. package/src/components/table-handle/table-handle-row-menu-trigger.gen.ts +5 -15
  88. package/src/components/table-handle/table-handle-row-popup.gen.ts +5 -15
  89. package/src/components/table-handle/table-handle-row-positioner.gen.ts +5 -15
  90. package/src/components/tooltip/index.gen.ts +2 -6
  91. package/src/components/tooltip/tooltip-popup.gen.ts +5 -15
  92. package/src/components/tooltip/tooltip-positioner.gen.ts +5 -15
  93. package/src/components/tooltip/tooltip-root.gen.ts +5 -17
  94. package/src/components/tooltip/tooltip-trigger.gen.ts +5 -15
@@ -1,24 +1,14 @@
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 { registerPopoverPopupElement, type PopoverPopupElement } from '@prosekit/web/popover';
6
4
  import type { Component, JSX } from 'solid-js';
7
5
  import h from 'solid-js/h';
8
6
 
9
- /**
10
- * Props for the {@link PopoverPopup} Solid component.
11
- *
12
- * @public
13
- */
14
- export interface PopoverPopupProps extends JSX.HTMLAttributes<PopoverPopupElement> {}
7
+ /** Props for the {@link PopoverPopup} Solid component. */
8
+ export interface PopoverPopupProps {}
15
9
 
16
- /**
17
- * A Solid component that renders an `prosekit-popover-popup` custom element.
18
- *
19
- * @public
20
- */
21
- export const PopoverPopup: Component<PopoverPopupProps> = (props): any => {
10
+ /** A Solid component that renders an `prosekit-popover-popup` custom element. */
11
+ export const PopoverPopup: Component<PopoverPopupProps & JSX.HTMLAttributes<PopoverPopupElement>> = (props): any => {
22
12
  registerPopoverPopupElement();
23
13
 
24
14
  const restProps = props;
@@ -1,18 +1,12 @@
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 { registerPopoverPositionerElement, type PopoverPositionerElement, type PopoverPositionerProps as PopoverPositionerElementProps } from '@prosekit/web/popover';
6
4
  import { createEffect, createSignal, mergeProps, splitProps } from 'solid-js';
7
5
  import type { Component, JSX } from 'solid-js';
8
6
  import h from 'solid-js/h';
9
7
 
10
- /**
11
- * Props for the {@link PopoverPositioner} Solid component.
12
- *
13
- * @public
14
- */
15
- export interface PopoverPositionerProps extends JSX.HTMLAttributes<PopoverPositionerElement> {
8
+ /** Props for the {@link PopoverPositioner} Solid component. */
9
+ export interface PopoverPositionerProps {
16
10
  /**
17
11
  * The strategy to use for positioning
18
12
  *
@@ -142,12 +136,8 @@ export interface PopoverPositionerProps extends JSX.HTMLAttributes<PopoverPositi
142
136
  altBoundary?: PopoverPositionerElementProps['altBoundary'];
143
137
  }
144
138
 
145
- /**
146
- * A Solid component that renders an `prosekit-popover-positioner` custom element.
147
- *
148
- * @public
149
- */
150
- export const PopoverPositioner: Component<PopoverPositionerProps> = (props): any => {
139
+ /** A Solid component that renders an `prosekit-popover-positioner` custom element. */
140
+ export const PopoverPositioner: Component<PopoverPositionerProps & JSX.HTMLAttributes<PopoverPositionerElement>> = (props): any => {
151
141
  registerPopoverPositionerElement();
152
142
 
153
143
  const [getElement, setElement] = createSignal<PopoverPositionerElement | null>(null);
@@ -1,18 +1,12 @@
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 { registerPopoverRootElement, type PopoverRootElement, type PopoverRootEvents, type PopoverRootProps as PopoverRootElementProps } from '@prosekit/web/popover';
6
4
  import { createEffect, createSignal, mergeProps, splitProps } from 'solid-js';
7
5
  import type { Component, JSX } from 'solid-js';
8
6
  import h from 'solid-js/h';
9
7
 
10
- /**
11
- * Props for the {@link PopoverRoot} Solid component.
12
- *
13
- * @public
14
- */
15
- export interface PopoverRootProps extends JSX.HTMLAttributes<PopoverRootElement> {
8
+ /** Props for the {@link PopoverRoot} Solid component. */
9
+ export interface PopoverRootProps {
16
10
  /**
17
11
  * Whether the popover should be modal.
18
12
  * When true, the popover will trap focus and prevent interaction with the rest of the page.
@@ -39,12 +33,8 @@ export interface PopoverRootProps extends JSX.HTMLAttributes<PopoverRootElement>
39
33
  onOpenChange?: (event: PopoverRootEvents['openChange']) => void;
40
34
  }
41
35
 
42
- /**
43
- * A Solid component that renders an `prosekit-popover-root` custom element.
44
- *
45
- * @public
46
- */
47
- export const PopoverRoot: Component<PopoverRootProps> = (props): any => {
36
+ /** A Solid component that renders an `prosekit-popover-root` custom element. */
37
+ export const PopoverRoot: Component<PopoverRootProps & JSX.HTMLAttributes<PopoverRootElement>> = (props): any => {
48
38
  registerPopoverRootElement();
49
39
 
50
40
  const [getElement, setElement] = createSignal<PopoverRootElement | null>(null);
@@ -89,5 +79,3 @@ export const PopoverRoot: Component<PopoverRootProps> = (props): any => {
89
79
  }),
90
80
  );
91
81
  };
92
-
93
- export type { PopoverRootEvents };
@@ -1,18 +1,12 @@
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 { registerPopoverTriggerElement, type PopoverTriggerElement, type PopoverTriggerEvents, type PopoverTriggerProps as PopoverTriggerElementProps } from '@prosekit/web/popover';
6
4
  import { createEffect, createSignal, mergeProps, splitProps } from 'solid-js';
7
5
  import type { Component, JSX } from 'solid-js';
8
6
  import h from 'solid-js/h';
9
7
 
10
- /**
11
- * Props for the {@link PopoverTrigger} Solid component.
12
- *
13
- * @public
14
- */
15
- export interface PopoverTriggerProps extends JSX.HTMLAttributes<PopoverTriggerElement> {
8
+ /** Props for the {@link PopoverTrigger} Solid component. */
9
+ export interface PopoverTriggerProps {
16
10
  /**
17
11
  * Whether the component should ignore user interaction.
18
12
  * @default false
@@ -39,12 +33,8 @@ export interface PopoverTriggerProps extends JSX.HTMLAttributes<PopoverTriggerEl
39
33
  onOpenChange?: (event: PopoverTriggerEvents['openChange']) => void;
40
34
  }
41
35
 
42
- /**
43
- * A Solid component that renders an `prosekit-popover-trigger` custom element.
44
- *
45
- * @public
46
- */
47
- export const PopoverTrigger: Component<PopoverTriggerProps> = (props): any => {
36
+ /** A Solid component that renders an `prosekit-popover-trigger` custom element. */
37
+ export const PopoverTrigger: Component<PopoverTriggerProps & JSX.HTMLAttributes<PopoverTriggerElement>> = (props): any => {
48
38
  registerPopoverTriggerElement();
49
39
 
50
40
  const [getElement, setElement] = createSignal<PopoverTriggerElement | null>(null);
@@ -89,5 +79,3 @@ export const PopoverTrigger: Component<PopoverTriggerProps> = (props): any => {
89
79
  }),
90
80
  );
91
81
  };
92
-
93
- export type { PopoverTriggerEvents };
@@ -1,9 +1,5 @@
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
- export { ResizableRoot, type ResizableRootProps, type ResizableRootEvents } from './resizable-root.gen.ts';
3
+ export { ResizableRoot, type ResizableRootProps } from './resizable-root.gen.ts';
6
4
 
7
5
  export { ResizableHandle, type ResizableHandleProps } from './resizable-handle.gen.ts';
8
-
9
- export { ResizeEndEvent, ResizeStartEvent } from '@prosekit/web/resizable';
@@ -1,18 +1,12 @@
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 { registerResizableHandleElement, type ResizableHandleElement, type ResizableHandleProps as ResizableHandleElementProps } from '@prosekit/web/resizable';
6
4
  import { createEffect, createSignal, mergeProps, splitProps } from 'solid-js';
7
5
  import type { Component, JSX } from 'solid-js';
8
6
  import h from 'solid-js/h';
9
7
 
10
- /**
11
- * Props for the {@link ResizableHandle} Solid component.
12
- *
13
- * @public
14
- */
15
- export interface ResizableHandleProps extends JSX.HTMLAttributes<ResizableHandleElement> {
8
+ /** Props for the {@link ResizableHandle} Solid component. */
9
+ export interface ResizableHandleProps {
16
10
  /**
17
11
  * The position of the handle.
18
12
  *
@@ -21,12 +15,8 @@ export interface ResizableHandleProps extends JSX.HTMLAttributes<ResizableHandle
21
15
  position?: ResizableHandleElementProps['position'];
22
16
  }
23
17
 
24
- /**
25
- * A Solid component that renders an `prosekit-resizable-handle` custom element.
26
- *
27
- * @public
28
- */
29
- export const ResizableHandle: Component<ResizableHandleProps> = (props): any => {
18
+ /** A Solid component that renders an `prosekit-resizable-handle` custom element. */
19
+ export const ResizableHandle: Component<ResizableHandleProps & JSX.HTMLAttributes<ResizableHandleElement>> = (props): any => {
30
20
  registerResizableHandleElement();
31
21
 
32
22
  const [getElement, setElement] = createSignal<ResizableHandleElement | null>(null);
@@ -1,18 +1,12 @@
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 { registerResizableRootElement, type ResizableRootElement, type ResizableRootEvents, type ResizableRootProps as ResizableRootElementProps } from '@prosekit/web/resizable';
6
4
  import { createEffect, createSignal, mergeProps, splitProps } from 'solid-js';
7
5
  import type { Component, JSX } from 'solid-js';
8
6
  import h from 'solid-js/h';
9
7
 
10
- /**
11
- * Props for the {@link ResizableRoot} Solid component.
12
- *
13
- * @public
14
- */
15
- export interface ResizableRootProps extends JSX.HTMLAttributes<ResizableRootElement> {
8
+ /** Props for the {@link ResizableRoot} Solid component. */
9
+ export interface ResizableRootProps {
16
10
  /**
17
11
  * The width of the resizable element.
18
12
  *
@@ -37,12 +31,8 @@ export interface ResizableRootProps extends JSX.HTMLAttributes<ResizableRootElem
37
31
  onResizeEnd?: (event: ResizableRootEvents['resizeEnd']) => void;
38
32
  }
39
33
 
40
- /**
41
- * A Solid component that renders an `prosekit-resizable-root` custom element.
42
- *
43
- * @public
44
- */
45
- export const ResizableRoot: Component<ResizableRootProps> = (props): any => {
34
+ /** A Solid component that renders an `prosekit-resizable-root` custom element. */
35
+ export const ResizableRoot: Component<ResizableRootProps & JSX.HTMLAttributes<ResizableRootElement>> = (props): any => {
46
36
  registerResizableRootElement();
47
37
 
48
38
  const [getElement, setElement] = createSignal<ResizableRootElement | null>(null);
@@ -88,5 +78,3 @@ export const ResizableRoot: Component<ResizableRootProps> = (props): any => {
88
78
  }),
89
79
  );
90
80
  };
91
-
92
- export type { ResizableRootEvents };
@@ -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 { TableHandleColumnPopup, type TableHandleColumnPopupProps } from './table-handle-column-popup.gen.ts';
6
4
 
@@ -1,18 +1,12 @@
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 { registerTableHandleColumnMenuRootElement, type TableHandleColumnMenuRootElement, type TableHandleColumnMenuRootProps as TableHandleColumnMenuRootElementProps } from '@prosekit/web/table-handle';
6
4
  import { createEffect, createSignal, mergeProps, splitProps } from 'solid-js';
7
5
  import type { Component, JSX } from 'solid-js';
8
6
  import h from 'solid-js/h';
9
7
 
10
- /**
11
- * Props for the {@link TableHandleColumnMenuRoot} Solid component.
12
- *
13
- * @public
14
- */
15
- export interface TableHandleColumnMenuRootProps extends JSX.HTMLAttributes<TableHandleColumnMenuRootElement> {
8
+ /** Props for the {@link TableHandleColumnMenuRoot} Solid component. */
9
+ export interface TableHandleColumnMenuRootProps {
16
10
  /**
17
11
  * Whether the overlay is initially open.
18
12
  * @default false
@@ -30,12 +24,8 @@ export interface TableHandleColumnMenuRootProps extends JSX.HTMLAttributes<Table
30
24
  disabled?: TableHandleColumnMenuRootElementProps['disabled'];
31
25
  }
32
26
 
33
- /**
34
- * A Solid component that renders an `prosekit-table-handle-column-menu-root` custom element.
35
- *
36
- * @public
37
- */
38
- export const TableHandleColumnMenuRoot: Component<TableHandleColumnMenuRootProps> = (props): any => {
27
+ /** A Solid component that renders an `prosekit-table-handle-column-menu-root` custom element. */
28
+ export const TableHandleColumnMenuRoot: Component<TableHandleColumnMenuRootProps & JSX.HTMLAttributes<TableHandleColumnMenuRootElement>> = (props): any => {
39
29
  registerTableHandleColumnMenuRootElement();
40
30
 
41
31
  const [getElement, setElement] = createSignal<TableHandleColumnMenuRootElement | null>(null);
@@ -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
  import { registerTableHandleColumnMenuTriggerElement, type TableHandleColumnMenuTriggerElement, type TableHandleColumnMenuTriggerProps as TableHandleColumnMenuTriggerElementProps } from '@prosekit/web/table-handle';
6
4
  import { createEffect, createSignal, mergeProps, splitProps } from 'solid-js';
@@ -9,12 +7,8 @@ import h from 'solid-js/h';
9
7
 
10
8
  import { useEditorContext } from '../../contexts/editor-context.ts';
11
9
 
12
- /**
13
- * Props for the {@link TableHandleColumnMenuTrigger} Solid component.
14
- *
15
- * @public
16
- */
17
- export interface TableHandleColumnMenuTriggerProps extends JSX.HTMLAttributes<TableHandleColumnMenuTriggerElement> {
10
+ /** Props for the {@link TableHandleColumnMenuTrigger} Solid component. */
11
+ export interface TableHandleColumnMenuTriggerProps {
18
12
  /**
19
13
  * @default null
20
14
  * @hidden
@@ -22,12 +16,8 @@ export interface TableHandleColumnMenuTriggerProps extends JSX.HTMLAttributes<Ta
22
16
  editor?: TableHandleColumnMenuTriggerElementProps['editor'];
23
17
  }
24
18
 
25
- /**
26
- * A Solid component that renders an `prosekit-table-handle-column-menu-trigger` custom element.
27
- *
28
- * @public
29
- */
30
- export const TableHandleColumnMenuTrigger: Component<TableHandleColumnMenuTriggerProps> = (props): any => {
19
+ /** A Solid component that renders an `prosekit-table-handle-column-menu-trigger` custom element. */
20
+ export const TableHandleColumnMenuTrigger: Component<TableHandleColumnMenuTriggerProps & JSX.HTMLAttributes<TableHandleColumnMenuTriggerElement>> = (props): any => {
31
21
  registerTableHandleColumnMenuTriggerElement();
32
22
 
33
23
  const [getElement, setElement] = createSignal<TableHandleColumnMenuTriggerElement | null>(null);
@@ -1,24 +1,14 @@
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 type { Component, JSX } from 'solid-js';
7
5
  import h from 'solid-js/h';
8
6
 
9
- /**
10
- * Props for the {@link TableHandleColumnPopup} Solid component.
11
- *
12
- * @public
13
- */
14
- export interface TableHandleColumnPopupProps extends JSX.HTMLAttributes<TableHandleColumnPopupElement> {}
7
+ /** Props for the {@link TableHandleColumnPopup} Solid component. */
8
+ export interface TableHandleColumnPopupProps {}
15
9
 
16
- /**
17
- * A Solid component that renders an `prosekit-table-handle-column-popup` custom element.
18
- *
19
- * @public
20
- */
21
- export const TableHandleColumnPopup: Component<TableHandleColumnPopupProps> = (props): any => {
10
+ /** A Solid component that renders an `prosekit-table-handle-column-popup` custom element. */
11
+ export const TableHandleColumnPopup: Component<TableHandleColumnPopupProps & JSX.HTMLAttributes<TableHandleColumnPopupElement>> = (props): any => {
22
12
  registerTableHandleColumnPopupElement();
23
13
 
24
14
  const restProps = props;
@@ -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
  import { registerTableHandleColumnPositionerElement, type TableHandleColumnPositionerElement, type TableHandleColumnPositionerProps as TableHandleColumnPositionerElementProps } from '@prosekit/web/table-handle';
6
4
  import { createEffect, createSignal, mergeProps, splitProps } from 'solid-js';
@@ -9,12 +7,8 @@ import h from 'solid-js/h';
9
7
 
10
8
  import { useEditorContext } from '../../contexts/editor-context.ts';
11
9
 
12
- /**
13
- * Props for the {@link TableHandleColumnPositioner} Solid component.
14
- *
15
- * @public
16
- */
17
- export interface TableHandleColumnPositionerProps extends JSX.HTMLAttributes<TableHandleColumnPositionerElement> {
10
+ /** Props for the {@link TableHandleColumnPositioner} Solid component. */
11
+ export interface TableHandleColumnPositionerProps {
18
12
  /**
19
13
  * The placement of the popover, relative to the hovered table cell.
20
14
  *
@@ -143,12 +137,8 @@ export interface TableHandleColumnPositionerProps extends JSX.HTMLAttributes<Tab
143
137
  editor?: TableHandleColumnPositionerElementProps['editor'];
144
138
  }
145
139
 
146
- /**
147
- * A Solid component that renders an `prosekit-table-handle-column-positioner` custom element.
148
- *
149
- * @public
150
- */
151
- export const TableHandleColumnPositioner: Component<TableHandleColumnPositionerProps> = (props): any => {
140
+ /** A Solid component that renders an `prosekit-table-handle-column-positioner` custom element. */
141
+ export const TableHandleColumnPositioner: Component<TableHandleColumnPositionerProps & JSX.HTMLAttributes<TableHandleColumnPositionerElement>> = (props): any => {
152
142
  registerTableHandleColumnPositionerElement();
153
143
 
154
144
  const [getElement, setElement] = createSignal<TableHandleColumnPositionerElement | null>(null);
@@ -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
  import { registerTableHandleDragPreviewElement, type TableHandleDragPreviewElement, type TableHandleDragPreviewProps as TableHandleDragPreviewElementProps } from '@prosekit/web/table-handle';
6
4
  import { createEffect, createSignal, mergeProps, splitProps } from 'solid-js';
@@ -9,12 +7,8 @@ import h from 'solid-js/h';
9
7
 
10
8
  import { useEditorContext } from '../../contexts/editor-context.ts';
11
9
 
12
- /**
13
- * Props for the {@link TableHandleDragPreview} Solid component.
14
- *
15
- * @public
16
- */
17
- export interface TableHandleDragPreviewProps extends JSX.HTMLAttributes<TableHandleDragPreviewElement> {
10
+ /** Props for the {@link TableHandleDragPreview} Solid component. */
11
+ export interface TableHandleDragPreviewProps {
18
12
  /**
19
13
  * @default null
20
14
  * @hidden
@@ -22,12 +16,8 @@ export interface TableHandleDragPreviewProps extends JSX.HTMLAttributes<TableHan
22
16
  editor?: TableHandleDragPreviewElementProps['editor'];
23
17
  }
24
18
 
25
- /**
26
- * A Solid component that renders an `prosekit-table-handle-drag-preview` custom element.
27
- *
28
- * @public
29
- */
30
- export const TableHandleDragPreview: Component<TableHandleDragPreviewProps> = (props): any => {
19
+ /** A Solid component that renders an `prosekit-table-handle-drag-preview` custom element. */
20
+ export const TableHandleDragPreview: Component<TableHandleDragPreviewProps & JSX.HTMLAttributes<TableHandleDragPreviewElement>> = (props): any => {
31
21
  registerTableHandleDragPreviewElement();
32
22
 
33
23
  const [getElement, setElement] = createSignal<TableHandleDragPreviewElement | null>(null);
@@ -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
  import { registerTableHandleDropIndicatorElement, type TableHandleDropIndicatorElement, type TableHandleDropIndicatorProps as TableHandleDropIndicatorElementProps } from '@prosekit/web/table-handle';
6
4
  import { createEffect, createSignal, mergeProps, splitProps } from 'solid-js';
@@ -9,12 +7,8 @@ import h from 'solid-js/h';
9
7
 
10
8
  import { useEditorContext } from '../../contexts/editor-context.ts';
11
9
 
12
- /**
13
- * Props for the {@link TableHandleDropIndicator} Solid component.
14
- *
15
- * @public
16
- */
17
- export interface TableHandleDropIndicatorProps extends JSX.HTMLAttributes<TableHandleDropIndicatorElement> {
10
+ /** Props for the {@link TableHandleDropIndicator} Solid component. */
11
+ export interface TableHandleDropIndicatorProps {
18
12
  /**
19
13
  * @default null
20
14
  * @hidden
@@ -22,12 +16,8 @@ export interface TableHandleDropIndicatorProps extends JSX.HTMLAttributes<TableH
22
16
  editor?: TableHandleDropIndicatorElementProps['editor'];
23
17
  }
24
18
 
25
- /**
26
- * A Solid component that renders an `prosekit-table-handle-drop-indicator` custom element.
27
- *
28
- * @public
29
- */
30
- export const TableHandleDropIndicator: Component<TableHandleDropIndicatorProps> = (props): any => {
19
+ /** A Solid component that renders an `prosekit-table-handle-drop-indicator` custom element. */
20
+ export const TableHandleDropIndicator: Component<TableHandleDropIndicatorProps & JSX.HTMLAttributes<TableHandleDropIndicatorElement>> = (props): any => {
31
21
  registerTableHandleDropIndicatorElement();
32
22
 
33
23
  const [getElement, setElement] = createSignal<TableHandleDropIndicatorElement | null>(null);
@@ -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
  import { registerTableHandleRootElement, type TableHandleRootElement, type TableHandleRootProps as TableHandleRootElementProps } from '@prosekit/web/table-handle';
6
4
  import { createEffect, createSignal, mergeProps, splitProps } from 'solid-js';
@@ -9,12 +7,8 @@ import h from 'solid-js/h';
9
7
 
10
8
  import { useEditorContext } from '../../contexts/editor-context.ts';
11
9
 
12
- /**
13
- * Props for the {@link TableHandleRoot} Solid component.
14
- *
15
- * @public
16
- */
17
- export interface TableHandleRootProps extends JSX.HTMLAttributes<TableHandleRootElement> {
10
+ /** Props for the {@link TableHandleRoot} Solid component. */
11
+ export interface TableHandleRootProps {
18
12
  /**
19
13
  * The ProseKit editor instance.
20
14
  *
@@ -24,12 +18,8 @@ export interface TableHandleRootProps extends JSX.HTMLAttributes<TableHandleRoot
24
18
  editor?: TableHandleRootElementProps['editor'];
25
19
  }
26
20
 
27
- /**
28
- * A Solid component that renders an `prosekit-table-handle-root` custom element.
29
- *
30
- * @public
31
- */
32
- export const TableHandleRoot: Component<TableHandleRootProps> = (props): any => {
21
+ /** A Solid component that renders an `prosekit-table-handle-root` custom element. */
22
+ export const TableHandleRoot: Component<TableHandleRootProps & JSX.HTMLAttributes<TableHandleRootElement>> = (props): any => {
33
23
  registerTableHandleRootElement();
34
24
 
35
25
  const [getElement, setElement] = createSignal<TableHandleRootElement | null>(null);
@@ -1,18 +1,12 @@
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 { createEffect, createSignal, mergeProps, splitProps } from 'solid-js';
7
5
  import type { Component, JSX } from 'solid-js';
8
6
  import h from 'solid-js/h';
9
7
 
10
- /**
11
- * Props for the {@link TableHandleRowMenuRoot} Solid component.
12
- *
13
- * @public
14
- */
15
- export interface TableHandleRowMenuRootProps extends JSX.HTMLAttributes<TableHandleRowMenuRootElement> {
8
+ /** Props for the {@link TableHandleRowMenuRoot} Solid component. */
9
+ export interface TableHandleRowMenuRootProps {
16
10
  /**
17
11
  * Whether the overlay is initially open.
18
12
  * @default false
@@ -30,12 +24,8 @@ export interface TableHandleRowMenuRootProps extends JSX.HTMLAttributes<TableHan
30
24
  disabled?: TableHandleRowMenuRootElementProps['disabled'];
31
25
  }
32
26
 
33
- /**
34
- * A Solid component that renders an `prosekit-table-handle-row-menu-root` custom element.
35
- *
36
- * @public
37
- */
38
- export const TableHandleRowMenuRoot: Component<TableHandleRowMenuRootProps> = (props): any => {
27
+ /** A Solid component that renders an `prosekit-table-handle-row-menu-root` custom element. */
28
+ export const TableHandleRowMenuRoot: Component<TableHandleRowMenuRootProps & JSX.HTMLAttributes<TableHandleRowMenuRootElement>> = (props): any => {
39
29
  registerTableHandleRowMenuRootElement();
40
30
 
41
31
  const [getElement, setElement] = createSignal<TableHandleRowMenuRootElement | null>(null);
@@ -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
  import { registerTableHandleRowMenuTriggerElement, type TableHandleRowMenuTriggerElement, type TableHandleRowMenuTriggerProps as TableHandleRowMenuTriggerElementProps } from '@prosekit/web/table-handle';
6
4
  import { createEffect, createSignal, mergeProps, splitProps } from 'solid-js';
@@ -9,12 +7,8 @@ import h from 'solid-js/h';
9
7
 
10
8
  import { useEditorContext } from '../../contexts/editor-context.ts';
11
9
 
12
- /**
13
- * Props for the {@link TableHandleRowMenuTrigger} Solid component.
14
- *
15
- * @public
16
- */
17
- export interface TableHandleRowMenuTriggerProps extends JSX.HTMLAttributes<TableHandleRowMenuTriggerElement> {
10
+ /** Props for the {@link TableHandleRowMenuTrigger} Solid component. */
11
+ export interface TableHandleRowMenuTriggerProps {
18
12
  /**
19
13
  * @default null
20
14
  * @hidden
@@ -22,12 +16,8 @@ export interface TableHandleRowMenuTriggerProps extends JSX.HTMLAttributes<Table
22
16
  editor?: TableHandleRowMenuTriggerElementProps['editor'];
23
17
  }
24
18
 
25
- /**
26
- * A Solid component that renders an `prosekit-table-handle-row-menu-trigger` custom element.
27
- *
28
- * @public
29
- */
30
- export const TableHandleRowMenuTrigger: Component<TableHandleRowMenuTriggerProps> = (props): any => {
19
+ /** A Solid component that renders an `prosekit-table-handle-row-menu-trigger` custom element. */
20
+ export const TableHandleRowMenuTrigger: Component<TableHandleRowMenuTriggerProps & JSX.HTMLAttributes<TableHandleRowMenuTriggerElement>> = (props): any => {
31
21
  registerTableHandleRowMenuTriggerElement();
32
22
 
33
23
  const [getElement, setElement] = createSignal<TableHandleRowMenuTriggerElement | null>(null);
@@ -1,24 +1,14 @@
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 type { Component, JSX } from 'solid-js';
7
5
  import h from 'solid-js/h';
8
6
 
9
- /**
10
- * Props for the {@link TableHandleRowPopup} Solid component.
11
- *
12
- * @public
13
- */
14
- export interface TableHandleRowPopupProps extends JSX.HTMLAttributes<TableHandleRowPopupElement> {}
7
+ /** Props for the {@link TableHandleRowPopup} Solid component. */
8
+ export interface TableHandleRowPopupProps {}
15
9
 
16
- /**
17
- * A Solid component that renders an `prosekit-table-handle-row-popup` custom element.
18
- *
19
- * @public
20
- */
21
- export const TableHandleRowPopup: Component<TableHandleRowPopupProps> = (props): any => {
10
+ /** A Solid component that renders an `prosekit-table-handle-row-popup` custom element. */
11
+ export const TableHandleRowPopup: Component<TableHandleRowPopupProps & JSX.HTMLAttributes<TableHandleRowPopupElement>> = (props): any => {
22
12
  registerTableHandleRowPopupElement();
23
13
 
24
14
  const restProps = props;