@prosekit/vue 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.
- package/dist/editor-context.js +0 -2
- package/dist/editor-context.js.map +1 -1
- package/dist/prosekit-vue-autocomplete.d.ts +10 -61
- package/dist/prosekit-vue-autocomplete.d.ts.map +1 -1
- package/dist/prosekit-vue-autocomplete.js +5 -50
- package/dist/prosekit-vue-autocomplete.js.map +1 -1
- package/dist/prosekit-vue-block-handle.d.ts +10 -61
- package/dist/prosekit-vue-block-handle.d.ts.map +1 -1
- package/dist/prosekit-vue-block-handle.js +5 -50
- package/dist/prosekit-vue-block-handle.js.map +1 -1
- package/dist/prosekit-vue-drop-indicator.d.ts +2 -13
- package/dist/prosekit-vue-drop-indicator.d.ts.map +1 -1
- package/dist/prosekit-vue-drop-indicator.js +1 -10
- package/dist/prosekit-vue-drop-indicator.js.map +1 -1
- package/dist/prosekit-vue-inline-popover.d.ts +6 -37
- package/dist/prosekit-vue-inline-popover.d.ts.map +1 -1
- package/dist/prosekit-vue-inline-popover.js +3 -30
- package/dist/prosekit-vue-inline-popover.js.map +1 -1
- package/dist/prosekit-vue-menu.d.ts +48 -88
- package/dist/prosekit-vue-menu.d.ts.map +1 -1
- package/dist/prosekit-vue-menu.js +70 -74
- package/dist/prosekit-vue-menu.js.map +1 -1
- package/dist/prosekit-vue-popover.d.ts +8 -49
- package/dist/prosekit-vue-popover.d.ts.map +1 -1
- package/dist/prosekit-vue-popover.js +4 -40
- package/dist/prosekit-vue-popover.js.map +1 -1
- package/dist/prosekit-vue-resizable.d.ts +4 -25
- package/dist/prosekit-vue-resizable.d.ts.map +1 -1
- package/dist/prosekit-vue-resizable.js +2 -20
- package/dist/prosekit-vue-resizable.js.map +1 -1
- package/dist/prosekit-vue-table-handle.d.ts +22 -133
- package/dist/prosekit-vue-table-handle.d.ts.map +1 -1
- package/dist/prosekit-vue-table-handle.js +11 -110
- package/dist/prosekit-vue-table-handle.js.map +1 -1
- package/dist/prosekit-vue-tooltip.d.ts +8 -49
- package/dist/prosekit-vue-tooltip.d.ts.map +1 -1
- package/dist/prosekit-vue-tooltip.js +4 -40
- package/dist/prosekit-vue-tooltip.js.map +1 -1
- package/dist/prosekit-vue.d.ts +0 -19
- package/dist/prosekit-vue.d.ts.map +1 -1
- package/dist/prosekit-vue.js +0 -24
- package/dist/prosekit-vue.js.map +1 -1
- package/package.json +3 -3
- package/src/components/autocomplete/autocomplete-empty.gen.ts +3 -13
- package/src/components/autocomplete/autocomplete-item.gen.ts +3 -13
- package/src/components/autocomplete/autocomplete-popup.gen.ts +3 -13
- package/src/components/autocomplete/autocomplete-positioner.gen.ts +3 -13
- package/src/components/autocomplete/autocomplete-root.gen.ts +3 -13
- package/src/components/autocomplete/index.gen.ts +1 -3
- package/src/components/block-handle/block-handle-add.gen.ts +3 -13
- package/src/components/block-handle/block-handle-draggable.gen.ts +3 -13
- package/src/components/block-handle/block-handle-popup.gen.ts +3 -13
- package/src/components/block-handle/block-handle-positioner.gen.ts +3 -13
- package/src/components/block-handle/block-handle-root.gen.ts +3 -13
- package/src/components/block-handle/index.gen.ts +1 -3
- package/src/components/drop-indicator/drop-indicator.gen.ts +3 -13
- package/src/components/drop-indicator/index.gen.ts +1 -3
- package/src/components/inline-popover/index.gen.ts +1 -3
- package/src/components/inline-popover/inline-popover-popup.gen.ts +3 -13
- package/src/components/inline-popover/inline-popover-positioner.gen.ts +3 -13
- package/src/components/inline-popover/inline-popover-root.gen.ts +3 -13
- package/src/components/menu/index.gen.ts +1 -3
- package/src/components/menu/menu-item.gen.ts +3 -13
- package/src/components/menu/menu-popup.gen.ts +3 -13
- package/src/components/menu/menu-positioner.gen.ts +3 -13
- package/src/components/menu/menu-root.gen.ts +3 -13
- package/src/components/menu/menu-submenu-root.gen.ts +68 -21
- package/src/components/menu/menu-submenu-trigger.gen.ts +41 -21
- package/src/components/menu/menu-trigger.gen.ts +3 -13
- package/src/components/popover/index.gen.ts +1 -3
- package/src/components/popover/popover-popup.gen.ts +3 -13
- package/src/components/popover/popover-positioner.gen.ts +3 -13
- package/src/components/popover/popover-root.gen.ts +3 -13
- package/src/components/popover/popover-trigger.gen.ts +3 -13
- package/src/components/resizable/index.gen.ts +1 -3
- package/src/components/resizable/resizable-handle.gen.ts +3 -13
- package/src/components/resizable/resizable-root.gen.ts +3 -13
- package/src/components/table-handle/index.gen.ts +1 -3
- package/src/components/table-handle/table-handle-column-menu-root.gen.ts +3 -13
- package/src/components/table-handle/table-handle-column-menu-trigger.gen.ts +3 -13
- package/src/components/table-handle/table-handle-column-popup.gen.ts +3 -13
- package/src/components/table-handle/table-handle-column-positioner.gen.ts +3 -13
- package/src/components/table-handle/table-handle-drag-preview.gen.ts +3 -13
- package/src/components/table-handle/table-handle-drop-indicator.gen.ts +3 -13
- package/src/components/table-handle/table-handle-root.gen.ts +3 -13
- package/src/components/table-handle/table-handle-row-menu-root.gen.ts +3 -13
- package/src/components/table-handle/table-handle-row-menu-trigger.gen.ts +3 -13
- package/src/components/table-handle/table-handle-row-popup.gen.ts +3 -13
- package/src/components/table-handle/table-handle-row-positioner.gen.ts +3 -13
- package/src/components/tooltip/index.gen.ts +1 -3
- package/src/components/tooltip/tooltip-popup.gen.ts +3 -13
- package/src/components/tooltip/tooltip-positioner.gen.ts +3 -13
- package/src/components/tooltip/tooltip-root.gen.ts +3 -13
- package/src/components/tooltip/tooltip-trigger.gen.ts +3 -13
|
@@ -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,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,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();
|
|
@@ -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();
|