@prosekit/vue 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-vue-autocomplete.d.ts +12 -63
  4. package/dist/prosekit-vue-autocomplete.d.ts.map +1 -1
  5. package/dist/prosekit-vue-autocomplete.js +7 -52
  6. package/dist/prosekit-vue-autocomplete.js.map +1 -1
  7. package/dist/prosekit-vue-block-handle.d.ts +12 -63
  8. package/dist/prosekit-vue-block-handle.d.ts.map +1 -1
  9. package/dist/prosekit-vue-block-handle.js +7 -52
  10. package/dist/prosekit-vue-block-handle.js.map +1 -1
  11. package/dist/prosekit-vue-drop-indicator.d.ts +2 -13
  12. package/dist/prosekit-vue-drop-indicator.d.ts.map +1 -1
  13. package/dist/prosekit-vue-drop-indicator.js +1 -10
  14. package/dist/prosekit-vue-drop-indicator.js.map +1 -1
  15. package/dist/prosekit-vue-inline-popover.d.ts +9 -40
  16. package/dist/prosekit-vue-inline-popover.d.ts.map +1 -1
  17. package/dist/prosekit-vue-inline-popover.js +5 -32
  18. package/dist/prosekit-vue-inline-popover.js.map +1 -1
  19. package/dist/prosekit-vue-menu.d.ts +49 -89
  20. package/dist/prosekit-vue-menu.d.ts.map +1 -1
  21. package/dist/prosekit-vue-menu.js +72 -76
  22. package/dist/prosekit-vue-menu.js.map +1 -1
  23. package/dist/prosekit-vue-popover.d.ts +10 -51
  24. package/dist/prosekit-vue-popover.d.ts.map +1 -1
  25. package/dist/prosekit-vue-popover.js +6 -42
  26. package/dist/prosekit-vue-popover.js.map +1 -1
  27. package/dist/prosekit-vue-resizable.d.ts +6 -27
  28. package/dist/prosekit-vue-resizable.d.ts.map +1 -1
  29. package/dist/prosekit-vue-resizable.js +4 -22
  30. package/dist/prosekit-vue-resizable.js.map +1 -1
  31. package/dist/prosekit-vue-table-handle.d.ts +22 -133
  32. package/dist/prosekit-vue-table-handle.d.ts.map +1 -1
  33. package/dist/prosekit-vue-table-handle.js +11 -110
  34. package/dist/prosekit-vue-table-handle.js.map +1 -1
  35. package/dist/prosekit-vue-tooltip.d.ts +10 -51
  36. package/dist/prosekit-vue-tooltip.d.ts.map +1 -1
  37. package/dist/prosekit-vue-tooltip.js +6 -42
  38. package/dist/prosekit-vue-tooltip.js.map +1 -1
  39. package/dist/prosekit-vue.d.ts +0 -19
  40. package/dist/prosekit-vue.d.ts.map +1 -1
  41. package/dist/prosekit-vue.js +0 -24
  42. package/dist/prosekit-vue.js.map +1 -1
  43. package/package.json +3 -3
  44. package/src/components/autocomplete/autocomplete-empty.gen.ts +3 -13
  45. package/src/components/autocomplete/autocomplete-item.gen.ts +3 -15
  46. package/src/components/autocomplete/autocomplete-popup.gen.ts +3 -15
  47. package/src/components/autocomplete/autocomplete-positioner.gen.ts +3 -13
  48. package/src/components/autocomplete/autocomplete-root.gen.ts +3 -15
  49. package/src/components/autocomplete/index.gen.ts +4 -8
  50. package/src/components/block-handle/block-handle-add.gen.ts +3 -13
  51. package/src/components/block-handle/block-handle-draggable.gen.ts +3 -13
  52. package/src/components/block-handle/block-handle-popup.gen.ts +3 -13
  53. package/src/components/block-handle/block-handle-positioner.gen.ts +3 -13
  54. package/src/components/block-handle/block-handle-root.gen.ts +3 -15
  55. package/src/components/block-handle/index.gen.ts +2 -6
  56. package/src/components/drop-indicator/drop-indicator.gen.ts +3 -13
  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 +3 -13
  60. package/src/components/inline-popover/inline-popover-positioner.gen.ts +3 -13
  61. package/src/components/inline-popover/inline-popover-root.gen.ts +4 -16
  62. package/src/components/menu/index.gen.ts +4 -8
  63. package/src/components/menu/menu-item.gen.ts +3 -15
  64. package/src/components/menu/menu-popup.gen.ts +3 -13
  65. package/src/components/menu/menu-positioner.gen.ts +3 -13
  66. package/src/components/menu/menu-root.gen.ts +3 -15
  67. package/src/components/menu/menu-submenu-root.gen.ts +68 -21
  68. package/src/components/menu/menu-submenu-trigger.gen.ts +41 -21
  69. package/src/components/menu/menu-trigger.gen.ts +3 -15
  70. package/src/components/popover/index.gen.ts +3 -7
  71. package/src/components/popover/popover-popup.gen.ts +3 -13
  72. package/src/components/popover/popover-positioner.gen.ts +3 -13
  73. package/src/components/popover/popover-root.gen.ts +3 -15
  74. package/src/components/popover/popover-trigger.gen.ts +3 -15
  75. package/src/components/resizable/index.gen.ts +2 -6
  76. package/src/components/resizable/resizable-handle.gen.ts +3 -13
  77. package/src/components/resizable/resizable-root.gen.ts +3 -15
  78. package/src/components/table-handle/index.gen.ts +1 -3
  79. package/src/components/table-handle/table-handle-column-menu-root.gen.ts +3 -13
  80. package/src/components/table-handle/table-handle-column-menu-trigger.gen.ts +3 -13
  81. package/src/components/table-handle/table-handle-column-popup.gen.ts +3 -13
  82. package/src/components/table-handle/table-handle-column-positioner.gen.ts +3 -13
  83. package/src/components/table-handle/table-handle-drag-preview.gen.ts +3 -13
  84. package/src/components/table-handle/table-handle-drop-indicator.gen.ts +3 -13
  85. package/src/components/table-handle/table-handle-root.gen.ts +3 -13
  86. package/src/components/table-handle/table-handle-row-menu-root.gen.ts +3 -13
  87. package/src/components/table-handle/table-handle-row-menu-trigger.gen.ts +3 -13
  88. package/src/components/table-handle/table-handle-row-popup.gen.ts +3 -13
  89. package/src/components/table-handle/table-handle-row-positioner.gen.ts +3 -13
  90. package/src/components/tooltip/index.gen.ts +2 -6
  91. package/src/components/tooltip/tooltip-popup.gen.ts +3 -13
  92. package/src/components/tooltip/tooltip-positioner.gen.ts +3 -13
  93. package/src/components/tooltip/tooltip-root.gen.ts +3 -15
  94. package/src/components/tooltip/tooltip-trigger.gen.ts +3 -13
@@ -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 { registerResizableHandleElement, type ResizableHandleProps as ResizableHandleElementProps } from '@prosekit/web/resizable';
6
4
  import { defineComponent, h, type DefineSetupFnComponent, type HTMLAttributes, shallowRef, computed, watchEffect } from 'vue';
7
5
 
8
- /**
9
- * Props for the {@link ResizableHandle} Vue component.
10
- *
11
- * @public
12
- */
6
+ /** Props for the {@link ResizableHandle} Vue component. */
13
7
  export interface ResizableHandleProps {
14
8
  /**
15
9
  * The position of the handle.
@@ -19,11 +13,7 @@ export interface ResizableHandleProps {
19
13
  position?: ResizableHandleElementProps['position'];
20
14
  }
21
15
 
22
- /**
23
- * A Vue component that renders an `prosekit-resizable-handle` custom element.
24
- *
25
- * @public
26
- */
16
+ /** A Vue component that renders an `prosekit-resizable-handle` custom element. */
27
17
  export const ResizableHandle: DefineSetupFnComponent<ResizableHandleProps & HTMLAttributes> = /* @__PURE__ */ defineComponent<ResizableHandleProps & HTMLAttributes>(
28
18
  (props, { slots }) => {
29
19
  registerResizableHandleElement();
@@ -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 { registerResizableRootElement, type ResizableRootEvents, type ResizableRootProps as ResizableRootElementProps } from '@prosekit/web/resizable';
6
4
  import { defineComponent, h, type DefineSetupFnComponent, type HTMLAttributes, shallowRef, computed, watchEffect } from 'vue';
7
5
 
8
- /**
9
- * Props for the {@link ResizableRoot} Vue component.
10
- *
11
- * @public
12
- */
6
+ /** Props for the {@link ResizableRoot} Vue component. */
13
7
  export interface ResizableRootProps {
14
8
  /**
15
9
  * The width of the resizable element.
@@ -35,11 +29,7 @@ export interface ResizableRootProps {
35
29
  onResizeEnd?: (event: ResizableRootEvents['resizeEnd']) => void;
36
30
  }
37
31
 
38
- /**
39
- * A Vue component that renders an `prosekit-resizable-root` custom element.
40
- *
41
- * @public
42
- */
32
+ /** A Vue component that renders an `prosekit-resizable-root` custom element. */
43
33
  export const ResizableRoot: DefineSetupFnComponent<ResizableRootProps & HTMLAttributes> = /* @__PURE__ */ defineComponent<ResizableRootProps & HTMLAttributes>(
44
34
  (props, { slots }) => {
45
35
  registerResizableRootElement();
@@ -90,5 +80,3 @@ export const ResizableRoot: DefineSetupFnComponent<ResizableRootProps & HTMLAttr
90
80
  },
91
81
  { props: ['aspectRatio', 'height', 'width', 'onResizeEnd', 'onResizeStart'] },
92
82
  );
93
-
94
- 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,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 { registerTableHandleColumnMenuRootElement, type TableHandleColumnMenuRootProps as TableHandleColumnMenuRootElementProps } from '@prosekit/web/table-handle';
6
4
  import { defineComponent, h, type DefineSetupFnComponent, type HTMLAttributes, shallowRef, computed, watchEffect } from 'vue';
7
5
 
8
- /**
9
- * Props for the {@link TableHandleColumnMenuRoot} Vue component.
10
- *
11
- * @public
12
- */
6
+ /** Props for the {@link TableHandleColumnMenuRoot} Vue component. */
13
7
  export interface TableHandleColumnMenuRootProps {
14
8
  /**
15
9
  * Whether the overlay is initially open.
@@ -28,11 +22,7 @@ export interface TableHandleColumnMenuRootProps {
28
22
  disabled?: TableHandleColumnMenuRootElementProps['disabled'];
29
23
  }
30
24
 
31
- /**
32
- * A Vue component that renders an `prosekit-table-handle-column-menu-root` custom element.
33
- *
34
- * @public
35
- */
25
+ /** A Vue component that renders an `prosekit-table-handle-column-menu-root` custom element. */
36
26
  export const TableHandleColumnMenuRoot: DefineSetupFnComponent<TableHandleColumnMenuRootProps & HTMLAttributes> = /* @__PURE__ */ defineComponent<TableHandleColumnMenuRootProps & HTMLAttributes>(
37
27
  (props, { slots }) => {
38
28
  registerTableHandleColumnMenuRootElement();
@@ -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 TableHandleColumnMenuTriggerProps as TableHandleColumnMenuTriggerElementProps } from '@prosekit/web/table-handle';
6
4
  import { defineComponent, h, type DefineSetupFnComponent, type HTMLAttributes, shallowRef, computed, watchEffect } from 'vue';
7
5
 
8
6
  import { useEditorContext } from '../../injection/editor-context.ts';
9
7
 
10
- /**
11
- * Props for the {@link TableHandleColumnMenuTrigger} Vue component.
12
- *
13
- * @public
14
- */
8
+ /** Props for the {@link TableHandleColumnMenuTrigger} Vue component. */
15
9
  export interface TableHandleColumnMenuTriggerProps {
16
10
  /**
17
11
  * @default null
@@ -20,11 +14,7 @@ export interface TableHandleColumnMenuTriggerProps {
20
14
  editor?: TableHandleColumnMenuTriggerElementProps['editor'];
21
15
  }
22
16
 
23
- /**
24
- * A Vue component that renders an `prosekit-table-handle-column-menu-trigger` custom element.
25
- *
26
- * @public
27
- */
17
+ /** A Vue component that renders an `prosekit-table-handle-column-menu-trigger` custom element. */
28
18
  export const TableHandleColumnMenuTrigger: DefineSetupFnComponent<TableHandleColumnMenuTriggerProps & HTMLAttributes> = /* @__PURE__ */ defineComponent<TableHandleColumnMenuTriggerProps & HTMLAttributes>(
29
19
  (props, { slots }) => {
30
20
  registerTableHandleColumnMenuTriggerElement();
@@ -1,22 +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 { registerTableHandleColumnPopupElement } from '@prosekit/web/table-handle';
6
4
  import { defineComponent, h, type DefineSetupFnComponent, type HTMLAttributes } from 'vue';
7
5
 
8
- /**
9
- * Props for the {@link TableHandleColumnPopup} Vue component.
10
- *
11
- * @public
12
- */
6
+ /** Props for the {@link TableHandleColumnPopup} Vue component. */
13
7
  export interface TableHandleColumnPopupProps {}
14
8
 
15
- /**
16
- * A Vue component that renders an `prosekit-table-handle-column-popup` custom element.
17
- *
18
- * @public
19
- */
9
+ /** A Vue component that renders an `prosekit-table-handle-column-popup` custom element. */
20
10
  export const TableHandleColumnPopup: DefineSetupFnComponent<TableHandleColumnPopupProps & HTMLAttributes> = /* @__PURE__ */ defineComponent<TableHandleColumnPopupProps & HTMLAttributes>(
21
11
  (props, { slots }) => {
22
12
  registerTableHandleColumnPopupElement();
@@ -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 TableHandleColumnPositionerProps as TableHandleColumnPositionerElementProps } from '@prosekit/web/table-handle';
6
4
  import { defineComponent, h, type DefineSetupFnComponent, type HTMLAttributes, shallowRef, computed, watchEffect } from 'vue';
7
5
 
8
6
  import { useEditorContext } from '../../injection/editor-context.ts';
9
7
 
10
- /**
11
- * Props for the {@link TableHandleColumnPositioner} Vue component.
12
- *
13
- * @public
14
- */
8
+ /** Props for the {@link TableHandleColumnPositioner} Vue component. */
15
9
  export interface TableHandleColumnPositionerProps {
16
10
  /**
17
11
  * The placement of the popover, relative to the hovered table cell.
@@ -141,11 +135,7 @@ export interface TableHandleColumnPositionerProps {
141
135
  editor?: TableHandleColumnPositionerElementProps['editor'];
142
136
  }
143
137
 
144
- /**
145
- * A Vue component that renders an `prosekit-table-handle-column-positioner` custom element.
146
- *
147
- * @public
148
- */
138
+ /** A Vue component that renders an `prosekit-table-handle-column-positioner` custom element. */
149
139
  export const TableHandleColumnPositioner: DefineSetupFnComponent<TableHandleColumnPositionerProps & HTMLAttributes> = /* @__PURE__ */ defineComponent<TableHandleColumnPositionerProps & HTMLAttributes>(
150
140
  (props, { slots }) => {
151
141
  registerTableHandleColumnPositionerElement();
@@ -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 TableHandleDragPreviewProps as TableHandleDragPreviewElementProps } from '@prosekit/web/table-handle';
6
4
  import { defineComponent, h, type DefineSetupFnComponent, type HTMLAttributes, shallowRef, computed, watchEffect } from 'vue';
7
5
 
8
6
  import { useEditorContext } from '../../injection/editor-context.ts';
9
7
 
10
- /**
11
- * Props for the {@link TableHandleDragPreview} Vue component.
12
- *
13
- * @public
14
- */
8
+ /** Props for the {@link TableHandleDragPreview} Vue component. */
15
9
  export interface TableHandleDragPreviewProps {
16
10
  /**
17
11
  * @default null
@@ -20,11 +14,7 @@ export interface TableHandleDragPreviewProps {
20
14
  editor?: TableHandleDragPreviewElementProps['editor'];
21
15
  }
22
16
 
23
- /**
24
- * A Vue component that renders an `prosekit-table-handle-drag-preview` custom element.
25
- *
26
- * @public
27
- */
17
+ /** A Vue component that renders an `prosekit-table-handle-drag-preview` custom element. */
28
18
  export const TableHandleDragPreview: DefineSetupFnComponent<TableHandleDragPreviewProps & HTMLAttributes> = /* @__PURE__ */ defineComponent<TableHandleDragPreviewProps & HTMLAttributes>(
29
19
  (props, { slots }) => {
30
20
  registerTableHandleDragPreviewElement();
@@ -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 TableHandleDropIndicatorProps as TableHandleDropIndicatorElementProps } from '@prosekit/web/table-handle';
6
4
  import { defineComponent, h, type DefineSetupFnComponent, type HTMLAttributes, shallowRef, computed, watchEffect } from 'vue';
7
5
 
8
6
  import { useEditorContext } from '../../injection/editor-context.ts';
9
7
 
10
- /**
11
- * Props for the {@link TableHandleDropIndicator} Vue component.
12
- *
13
- * @public
14
- */
8
+ /** Props for the {@link TableHandleDropIndicator} Vue component. */
15
9
  export interface TableHandleDropIndicatorProps {
16
10
  /**
17
11
  * @default null
@@ -20,11 +14,7 @@ export interface TableHandleDropIndicatorProps {
20
14
  editor?: TableHandleDropIndicatorElementProps['editor'];
21
15
  }
22
16
 
23
- /**
24
- * A Vue component that renders an `prosekit-table-handle-drop-indicator` custom element.
25
- *
26
- * @public
27
- */
17
+ /** A Vue component that renders an `prosekit-table-handle-drop-indicator` custom element. */
28
18
  export const TableHandleDropIndicator: DefineSetupFnComponent<TableHandleDropIndicatorProps & HTMLAttributes> = /* @__PURE__ */ defineComponent<TableHandleDropIndicatorProps & HTMLAttributes>(
29
19
  (props, { slots }) => {
30
20
  registerTableHandleDropIndicatorElement();
@@ -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 TableHandleRootProps as TableHandleRootElementProps } from '@prosekit/web/table-handle';
6
4
  import { defineComponent, h, type DefineSetupFnComponent, type HTMLAttributes, shallowRef, computed, watchEffect } from 'vue';
7
5
 
8
6
  import { useEditorContext } from '../../injection/editor-context.ts';
9
7
 
10
- /**
11
- * Props for the {@link TableHandleRoot} Vue component.
12
- *
13
- * @public
14
- */
8
+ /** Props for the {@link TableHandleRoot} Vue component. */
15
9
  export interface TableHandleRootProps {
16
10
  /**
17
11
  * The ProseKit editor instance.
@@ -22,11 +16,7 @@ export interface TableHandleRootProps {
22
16
  editor?: TableHandleRootElementProps['editor'];
23
17
  }
24
18
 
25
- /**
26
- * A Vue component that renders an `prosekit-table-handle-root` custom element.
27
- *
28
- * @public
29
- */
19
+ /** A Vue component that renders an `prosekit-table-handle-root` custom element. */
30
20
  export const TableHandleRoot: DefineSetupFnComponent<TableHandleRootProps & HTMLAttributes> = /* @__PURE__ */ defineComponent<TableHandleRootProps & HTMLAttributes>(
31
21
  (props, { slots }) => {
32
22
  registerTableHandleRootElement();
@@ -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 TableHandleRowMenuRootProps as TableHandleRowMenuRootElementProps } from '@prosekit/web/table-handle';
6
4
  import { defineComponent, h, type DefineSetupFnComponent, type HTMLAttributes, shallowRef, computed, watchEffect } from 'vue';
7
5
 
8
- /**
9
- * Props for the {@link TableHandleRowMenuRoot} Vue component.
10
- *
11
- * @public
12
- */
6
+ /** Props for the {@link TableHandleRowMenuRoot} Vue component. */
13
7
  export interface TableHandleRowMenuRootProps {
14
8
  /**
15
9
  * Whether the overlay is initially open.
@@ -28,11 +22,7 @@ export interface TableHandleRowMenuRootProps {
28
22
  disabled?: TableHandleRowMenuRootElementProps['disabled'];
29
23
  }
30
24
 
31
- /**
32
- * A Vue component that renders an `prosekit-table-handle-row-menu-root` custom element.
33
- *
34
- * @public
35
- */
25
+ /** A Vue component that renders an `prosekit-table-handle-row-menu-root` custom element. */
36
26
  export const TableHandleRowMenuRoot: DefineSetupFnComponent<TableHandleRowMenuRootProps & HTMLAttributes> = /* @__PURE__ */ defineComponent<TableHandleRowMenuRootProps & HTMLAttributes>(
37
27
  (props, { slots }) => {
38
28
  registerTableHandleRowMenuRootElement();
@@ -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 TableHandleRowMenuTriggerProps as TableHandleRowMenuTriggerElementProps } from '@prosekit/web/table-handle';
6
4
  import { defineComponent, h, type DefineSetupFnComponent, type HTMLAttributes, shallowRef, computed, watchEffect } from 'vue';
7
5
 
8
6
  import { useEditorContext } from '../../injection/editor-context.ts';
9
7
 
10
- /**
11
- * Props for the {@link TableHandleRowMenuTrigger} Vue component.
12
- *
13
- * @public
14
- */
8
+ /** Props for the {@link TableHandleRowMenuTrigger} Vue component. */
15
9
  export interface TableHandleRowMenuTriggerProps {
16
10
  /**
17
11
  * @default null
@@ -20,11 +14,7 @@ export interface TableHandleRowMenuTriggerProps {
20
14
  editor?: TableHandleRowMenuTriggerElementProps['editor'];
21
15
  }
22
16
 
23
- /**
24
- * A Vue component that renders an `prosekit-table-handle-row-menu-trigger` custom element.
25
- *
26
- * @public
27
- */
17
+ /** A Vue component that renders an `prosekit-table-handle-row-menu-trigger` custom element. */
28
18
  export const TableHandleRowMenuTrigger: DefineSetupFnComponent<TableHandleRowMenuTriggerProps & HTMLAttributes> = /* @__PURE__ */ defineComponent<TableHandleRowMenuTriggerProps & HTMLAttributes>(
29
19
  (props, { slots }) => {
30
20
  registerTableHandleRowMenuTriggerElement();
@@ -1,22 +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 { registerTableHandleRowPopupElement } from '@prosekit/web/table-handle';
6
4
  import { defineComponent, h, type DefineSetupFnComponent, type HTMLAttributes } from 'vue';
7
5
 
8
- /**
9
- * Props for the {@link TableHandleRowPopup} Vue component.
10
- *
11
- * @public
12
- */
6
+ /** Props for the {@link TableHandleRowPopup} Vue component. */
13
7
  export interface TableHandleRowPopupProps {}
14
8
 
15
- /**
16
- * A Vue component that renders an `prosekit-table-handle-row-popup` custom element.
17
- *
18
- * @public
19
- */
9
+ /** A Vue component that renders an `prosekit-table-handle-row-popup` custom element. */
20
10
  export const TableHandleRowPopup: DefineSetupFnComponent<TableHandleRowPopupProps & HTMLAttributes> = /* @__PURE__ */ defineComponent<TableHandleRowPopupProps & HTMLAttributes>(
21
11
  (props, { slots }) => {
22
12
  registerTableHandleRowPopupElement();
@@ -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 TableHandleRowPositionerProps as TableHandleRowPositionerElementProps } from '@prosekit/web/table-handle';
6
4
  import { defineComponent, h, type DefineSetupFnComponent, type HTMLAttributes, shallowRef, computed, watchEffect } from 'vue';
7
5
 
8
6
  import { useEditorContext } from '../../injection/editor-context.ts';
9
7
 
10
- /**
11
- * Props for the {@link TableHandleRowPositioner} Vue component.
12
- *
13
- * @public
14
- */
8
+ /** Props for the {@link TableHandleRowPositioner} Vue component. */
15
9
  export interface TableHandleRowPositionerProps {
16
10
  /**
17
11
  * The placement of the popover, relative to the hovered table cell.
@@ -141,11 +135,7 @@ export interface TableHandleRowPositionerProps {
141
135
  editor?: TableHandleRowPositionerElementProps['editor'];
142
136
  }
143
137
 
144
- /**
145
- * A Vue component that renders an `prosekit-table-handle-row-positioner` custom element.
146
- *
147
- * @public
148
- */
138
+ /** A Vue component that renders an `prosekit-table-handle-row-positioner` custom element. */
149
139
  export const TableHandleRowPositioner: DefineSetupFnComponent<TableHandleRowPositionerProps & HTMLAttributes> = /* @__PURE__ */ defineComponent<TableHandleRowPositionerProps & HTMLAttributes>(
150
140
  (props, { slots }) => {
151
141
  registerTableHandleRowPositionerElement();
@@ -1,13 +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
  export { TooltipPopup, type TooltipPopupProps } from './tooltip-popup.gen.ts';
6
4
 
7
5
  export { TooltipPositioner, type TooltipPositionerProps } from './tooltip-positioner.gen.ts';
8
6
 
9
- export { TooltipRoot, type TooltipRootProps, type TooltipRootEvents } from './tooltip-root.gen.ts';
7
+ export { TooltipRoot, type TooltipRootProps } from './tooltip-root.gen.ts';
10
8
 
11
9
  export { TooltipTrigger, type TooltipTriggerProps } from './tooltip-trigger.gen.ts';
12
-
13
- export { OpenChangeEvent } from '@prosekit/web/tooltip';
@@ -1,22 +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 { registerTooltipPopupElement } from '@prosekit/web/tooltip';
6
4
  import { defineComponent, h, type DefineSetupFnComponent, type HTMLAttributes } from 'vue';
7
5
 
8
- /**
9
- * Props for the {@link TooltipPopup} Vue component.
10
- *
11
- * @public
12
- */
6
+ /** Props for the {@link TooltipPopup} Vue component. */
13
7
  export interface TooltipPopupProps {}
14
8
 
15
- /**
16
- * A Vue component that renders an `prosekit-tooltip-popup` custom element.
17
- *
18
- * @public
19
- */
9
+ /** A Vue component that renders an `prosekit-tooltip-popup` custom element. */
20
10
  export const TooltipPopup: DefineSetupFnComponent<TooltipPopupProps & HTMLAttributes> = /* @__PURE__ */ defineComponent<TooltipPopupProps & HTMLAttributes>(
21
11
  (props, { slots }) => {
22
12
  registerTooltipPopupElement();
@@ -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 TooltipPositionerProps as TooltipPositionerElementProps } from '@prosekit/web/tooltip';
6
4
  import { defineComponent, h, type DefineSetupFnComponent, type HTMLAttributes, shallowRef, computed, watchEffect } from 'vue';
7
5
 
8
- /**
9
- * Props for the {@link TooltipPositioner} Vue component.
10
- *
11
- * @public
12
- */
6
+ /** Props for the {@link TooltipPositioner} Vue component. */
13
7
  export interface TooltipPositionerProps {
14
8
  /**
15
9
  * The strategy to use for positioning
@@ -140,11 +134,7 @@ export interface TooltipPositionerProps {
140
134
  altBoundary?: TooltipPositionerElementProps['altBoundary'];
141
135
  }
142
136
 
143
- /**
144
- * A Vue component that renders an `prosekit-tooltip-positioner` custom element.
145
- *
146
- * @public
147
- */
137
+ /** A Vue component that renders an `prosekit-tooltip-positioner` custom element. */
148
138
  export const TooltipPositioner: DefineSetupFnComponent<TooltipPositionerProps & HTMLAttributes> = /* @__PURE__ */ defineComponent<TooltipPositionerProps & HTMLAttributes>(
149
139
  (props, { slots }) => {
150
140
  registerTooltipPositionerElement();
@@ -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 TooltipRootEvents, type TooltipRootProps as TooltipRootElementProps } from '@prosekit/web/tooltip';
6
4
  import { defineComponent, h, type DefineSetupFnComponent, type HTMLAttributes, shallowRef, computed, watchEffect } from 'vue';
7
5
 
8
- /**
9
- * Props for the {@link TooltipRoot} Vue component.
10
- *
11
- * @public
12
- */
6
+ /** Props for the {@link TooltipRoot} Vue component. */
13
7
  export interface TooltipRootProps {
14
8
  /**
15
9
  * Whether the overlay is initially open.
@@ -30,11 +24,7 @@ export interface TooltipRootProps {
30
24
  onOpenChange?: (event: TooltipRootEvents['openChange']) => void;
31
25
  }
32
26
 
33
- /**
34
- * A Vue component that renders an `prosekit-tooltip-root` custom element.
35
- *
36
- * @public
37
- */
27
+ /** A Vue component that renders an `prosekit-tooltip-root` custom element. */
38
28
  export const TooltipRoot: DefineSetupFnComponent<TooltipRootProps & HTMLAttributes> = /* @__PURE__ */ defineComponent<TooltipRootProps & HTMLAttributes>(
39
29
  (props, { slots }) => {
40
30
  registerTooltipRootElement();
@@ -84,5 +74,3 @@ export const TooltipRoot: DefineSetupFnComponent<TooltipRootProps & HTMLAttribut
84
74
  },
85
75
  { props: ['defaultOpen', 'disabled', 'open', 'onOpenChange'] },
86
76
  );
87
-
88
- export type { TooltipRootEvents };
@@ -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 TooltipTriggerProps as TooltipTriggerElementProps } from '@prosekit/web/tooltip';
6
4
  import { defineComponent, h, type DefineSetupFnComponent, type HTMLAttributes, shallowRef, computed, watchEffect } from 'vue';
7
5
 
8
- /**
9
- * Props for the {@link TooltipTrigger} Vue component.
10
- *
11
- * @public
12
- */
6
+ /** Props for the {@link TooltipTrigger} Vue component. */
13
7
  export interface TooltipTriggerProps {
14
8
  /**
15
9
  * Whether the component should ignore user interaction.
@@ -28,11 +22,7 @@ export interface TooltipTriggerProps {
28
22
  closeDelay?: TooltipTriggerElementProps['closeDelay'];
29
23
  }
30
24
 
31
- /**
32
- * A Vue component that renders an `prosekit-tooltip-trigger` custom element.
33
- *
34
- * @public
35
- */
25
+ /** A Vue component that renders an `prosekit-tooltip-trigger` custom element. */
36
26
  export const TooltipTrigger: DefineSetupFnComponent<TooltipTriggerProps & HTMLAttributes> = /* @__PURE__ */ defineComponent<TooltipTriggerProps & HTMLAttributes>(
37
27
  (props, { slots }) => {
38
28
  registerTooltipTriggerElement();