@prosekit/svelte 0.9.0-beta.2 → 0.9.0-beta.3
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/build/components/autocomplete/autocomplete-empty.gen.d.ts +3 -2
- package/dist/build/components/autocomplete/autocomplete-empty.gen.d.ts.map +1 -1
- package/dist/build/components/autocomplete/autocomplete-item.gen.d.ts +3 -4
- package/dist/build/components/autocomplete/autocomplete-item.gen.d.ts.map +1 -1
- package/dist/build/components/autocomplete/autocomplete-popup.gen.d.ts +3 -4
- package/dist/build/components/autocomplete/autocomplete-popup.gen.d.ts.map +1 -1
- package/dist/build/components/autocomplete/autocomplete-positioner.gen.d.ts +3 -3
- package/dist/build/components/autocomplete/autocomplete-positioner.gen.d.ts.map +1 -1
- package/dist/build/components/autocomplete/autocomplete-root.gen.d.ts +3 -4
- package/dist/build/components/autocomplete/autocomplete-root.gen.d.ts.map +1 -1
- package/dist/build/components/autocomplete/index.gen.d.ts +3 -4
- package/dist/build/components/autocomplete/index.gen.d.ts.map +1 -1
- package/dist/build/components/autocomplete/index.gen.js +0 -1
- package/dist/build/components/block-handle/block-handle-add.gen.d.ts +3 -3
- package/dist/build/components/block-handle/block-handle-add.gen.d.ts.map +1 -1
- package/dist/build/components/block-handle/block-handle-draggable.gen.d.ts +3 -3
- package/dist/build/components/block-handle/block-handle-draggable.gen.d.ts.map +1 -1
- package/dist/build/components/block-handle/block-handle-popup.gen.d.ts +3 -2
- package/dist/build/components/block-handle/block-handle-popup.gen.d.ts.map +1 -1
- package/dist/build/components/block-handle/block-handle-positioner.gen.d.ts +3 -3
- package/dist/build/components/block-handle/block-handle-positioner.gen.d.ts.map +1 -1
- package/dist/build/components/block-handle/block-handle-root.gen.d.ts +3 -4
- package/dist/build/components/block-handle/block-handle-root.gen.d.ts.map +1 -1
- package/dist/build/components/block-handle/index.gen.d.ts +1 -2
- package/dist/build/components/block-handle/index.gen.d.ts.map +1 -1
- package/dist/build/components/block-handle/index.gen.js +0 -1
- package/dist/build/components/drop-indicator/drop-indicator.gen.d.ts +3 -3
- package/dist/build/components/drop-indicator/drop-indicator.gen.d.ts.map +1 -1
- package/dist/build/components/inline-popover/index.gen.d.ts +1 -2
- package/dist/build/components/inline-popover/index.gen.d.ts.map +1 -1
- package/dist/build/components/inline-popover/index.gen.js +0 -1
- package/dist/build/components/inline-popover/inline-popover-popup.gen.d.ts +3 -2
- package/dist/build/components/inline-popover/inline-popover-popup.gen.d.ts.map +1 -1
- package/dist/build/components/inline-popover/inline-popover-positioner.gen.d.ts +3 -3
- package/dist/build/components/inline-popover/inline-popover-positioner.gen.d.ts.map +1 -1
- package/dist/build/components/inline-popover/inline-popover-root.gen.d.ts +4 -5
- package/dist/build/components/inline-popover/inline-popover-root.gen.d.ts.map +1 -1
- package/dist/build/components/menu/index.gen.d.ts +3 -4
- package/dist/build/components/menu/index.gen.d.ts.map +1 -1
- package/dist/build/components/menu/index.gen.js +0 -1
- package/dist/build/components/menu/menu-item.gen.d.ts +3 -4
- package/dist/build/components/menu/menu-item.gen.d.ts.map +1 -1
- package/dist/build/components/menu/menu-popup.gen.d.ts +3 -3
- package/dist/build/components/menu/menu-popup.gen.d.ts.map +1 -1
- package/dist/build/components/menu/menu-positioner.gen.d.ts +3 -3
- package/dist/build/components/menu/menu-positioner.gen.d.ts.map +1 -1
- package/dist/build/components/menu/menu-root.gen.d.ts +3 -4
- package/dist/build/components/menu/menu-root.gen.d.ts.map +1 -1
- package/dist/build/components/menu/menu-submenu-root.gen.d.ts +3 -2
- package/dist/build/components/menu/menu-submenu-root.gen.d.ts.map +1 -1
- package/dist/build/components/menu/menu-submenu-trigger.gen.d.ts +3 -2
- package/dist/build/components/menu/menu-submenu-trigger.gen.d.ts.map +1 -1
- package/dist/build/components/menu/menu-trigger.gen.d.ts +3 -4
- package/dist/build/components/menu/menu-trigger.gen.d.ts.map +1 -1
- package/dist/build/components/popover/index.gen.d.ts +2 -3
- package/dist/build/components/popover/index.gen.d.ts.map +1 -1
- package/dist/build/components/popover/index.gen.js +0 -1
- package/dist/build/components/popover/popover-popup.gen.d.ts +3 -2
- package/dist/build/components/popover/popover-popup.gen.d.ts.map +1 -1
- package/dist/build/components/popover/popover-positioner.gen.d.ts +3 -3
- package/dist/build/components/popover/popover-positioner.gen.d.ts.map +1 -1
- package/dist/build/components/popover/popover-root.gen.d.ts +3 -4
- package/dist/build/components/popover/popover-root.gen.d.ts.map +1 -1
- package/dist/build/components/popover/popover-trigger.gen.d.ts +3 -4
- package/dist/build/components/popover/popover-trigger.gen.d.ts.map +1 -1
- package/dist/build/components/resizable/index.gen.d.ts +1 -2
- package/dist/build/components/resizable/index.gen.d.ts.map +1 -1
- package/dist/build/components/resizable/index.gen.js +0 -1
- package/dist/build/components/resizable/resizable-handle.gen.d.ts +3 -3
- package/dist/build/components/resizable/resizable-handle.gen.d.ts.map +1 -1
- package/dist/build/components/resizable/resizable-root.gen.d.ts +3 -4
- package/dist/build/components/resizable/resizable-root.gen.d.ts.map +1 -1
- package/dist/build/components/table-handle/table-handle-column-menu-root.gen.d.ts +3 -3
- package/dist/build/components/table-handle/table-handle-column-menu-root.gen.d.ts.map +1 -1
- package/dist/build/components/table-handle/table-handle-column-menu-trigger.gen.d.ts +3 -3
- package/dist/build/components/table-handle/table-handle-column-menu-trigger.gen.d.ts.map +1 -1
- package/dist/build/components/table-handle/table-handle-column-popup.gen.d.ts +3 -2
- package/dist/build/components/table-handle/table-handle-column-popup.gen.d.ts.map +1 -1
- package/dist/build/components/table-handle/table-handle-column-positioner.gen.d.ts +3 -3
- package/dist/build/components/table-handle/table-handle-column-positioner.gen.d.ts.map +1 -1
- package/dist/build/components/table-handle/table-handle-drag-preview.gen.d.ts +3 -3
- package/dist/build/components/table-handle/table-handle-drag-preview.gen.d.ts.map +1 -1
- package/dist/build/components/table-handle/table-handle-drop-indicator.gen.d.ts +3 -3
- package/dist/build/components/table-handle/table-handle-drop-indicator.gen.d.ts.map +1 -1
- package/dist/build/components/table-handle/table-handle-root.gen.d.ts +3 -3
- package/dist/build/components/table-handle/table-handle-root.gen.d.ts.map +1 -1
- package/dist/build/components/table-handle/table-handle-row-menu-root.gen.d.ts +3 -3
- package/dist/build/components/table-handle/table-handle-row-menu-root.gen.d.ts.map +1 -1
- package/dist/build/components/table-handle/table-handle-row-menu-trigger.gen.d.ts +3 -3
- package/dist/build/components/table-handle/table-handle-row-menu-trigger.gen.d.ts.map +1 -1
- package/dist/build/components/table-handle/table-handle-row-popup.gen.d.ts +3 -2
- package/dist/build/components/table-handle/table-handle-row-popup.gen.d.ts.map +1 -1
- package/dist/build/components/table-handle/table-handle-row-positioner.gen.d.ts +3 -3
- package/dist/build/components/table-handle/table-handle-row-positioner.gen.d.ts.map +1 -1
- package/dist/build/components/tooltip/index.gen.d.ts +1 -2
- package/dist/build/components/tooltip/index.gen.d.ts.map +1 -1
- package/dist/build/components/tooltip/index.gen.js +0 -1
- package/dist/build/components/tooltip/tooltip-popup.gen.d.ts +3 -2
- package/dist/build/components/tooltip/tooltip-popup.gen.d.ts.map +1 -1
- package/dist/build/components/tooltip/tooltip-positioner.gen.d.ts +3 -3
- package/dist/build/components/tooltip/tooltip-positioner.gen.d.ts.map +1 -1
- package/dist/build/components/tooltip/tooltip-root.gen.d.ts +3 -4
- package/dist/build/components/tooltip/tooltip-root.gen.d.ts.map +1 -1
- package/dist/build/components/tooltip/tooltip-trigger.gen.d.ts +3 -3
- package/dist/build/components/tooltip/tooltip-trigger.gen.d.ts.map +1 -1
- package/package.json +5 -5
- package/src/components/autocomplete/autocomplete-empty.gen.ts +3 -2
- package/src/components/autocomplete/autocomplete-item.gen.ts +3 -5
- package/src/components/autocomplete/autocomplete-popup.gen.ts +3 -5
- package/src/components/autocomplete/autocomplete-positioner.gen.ts +3 -3
- package/src/components/autocomplete/autocomplete-root.gen.ts +3 -5
- package/src/components/autocomplete/index.gen.ts +3 -5
- package/src/components/block-handle/block-handle-add.gen.ts +3 -3
- package/src/components/block-handle/block-handle-draggable.gen.ts +3 -3
- package/src/components/block-handle/block-handle-popup.gen.ts +3 -2
- package/src/components/block-handle/block-handle-positioner.gen.ts +3 -3
- package/src/components/block-handle/block-handle-root.gen.ts +3 -5
- package/src/components/block-handle/index.gen.ts +1 -3
- package/src/components/drop-indicator/drop-indicator.gen.ts +3 -3
- package/src/components/inline-popover/index.gen.ts +1 -3
- package/src/components/inline-popover/inline-popover-popup.gen.ts +3 -2
- package/src/components/inline-popover/inline-popover-positioner.gen.ts +3 -3
- package/src/components/inline-popover/inline-popover-root.gen.ts +4 -6
- package/src/components/menu/index.gen.ts +3 -5
- package/src/components/menu/menu-item.gen.ts +3 -5
- package/src/components/menu/menu-popup.gen.ts +3 -3
- package/src/components/menu/menu-positioner.gen.ts +3 -3
- package/src/components/menu/menu-root.gen.ts +3 -5
- package/src/components/menu/menu-submenu-root.gen.ts +3 -2
- package/src/components/menu/menu-submenu-trigger.gen.ts +3 -2
- package/src/components/menu/menu-trigger.gen.ts +3 -5
- package/src/components/popover/index.gen.ts +2 -4
- package/src/components/popover/popover-popup.gen.ts +3 -2
- package/src/components/popover/popover-positioner.gen.ts +3 -3
- package/src/components/popover/popover-root.gen.ts +3 -5
- package/src/components/popover/popover-trigger.gen.ts +3 -5
- package/src/components/resizable/index.gen.ts +1 -3
- package/src/components/resizable/resizable-handle.gen.ts +3 -3
- package/src/components/resizable/resizable-root.gen.ts +3 -5
- package/src/components/table-handle/table-handle-column-menu-root.gen.ts +3 -3
- package/src/components/table-handle/table-handle-column-menu-trigger.gen.ts +3 -3
- package/src/components/table-handle/table-handle-column-popup.gen.ts +3 -2
- package/src/components/table-handle/table-handle-column-positioner.gen.ts +3 -3
- package/src/components/table-handle/table-handle-drag-preview.gen.ts +3 -3
- package/src/components/table-handle/table-handle-drop-indicator.gen.ts +3 -3
- package/src/components/table-handle/table-handle-root.gen.ts +3 -3
- package/src/components/table-handle/table-handle-row-menu-root.gen.ts +3 -3
- package/src/components/table-handle/table-handle-row-menu-trigger.gen.ts +3 -3
- package/src/components/table-handle/table-handle-row-popup.gen.ts +3 -2
- package/src/components/table-handle/table-handle-row-positioner.gen.ts +3 -3
- package/src/components/tooltip/index.gen.ts +1 -3
- package/src/components/tooltip/tooltip-popup.gen.ts +3 -2
- package/src/components/tooltip/tooltip-positioner.gen.ts +3 -3
- package/src/components/tooltip/tooltip-root.gen.ts +3 -5
- package/src/components/tooltip/tooltip-trigger.gen.ts +3 -3
|
@@ -2,7 +2,9 @@
|
|
|
2
2
|
* This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
+
import type { BlockHandlePopupElement } from '@prosekit/web/block-handle';
|
|
5
6
|
import type { Component, Snippet } from 'svelte';
|
|
7
|
+
import type { HTMLAttributes } from 'svelte/elements';
|
|
6
8
|
|
|
7
9
|
import BlockHandlePopupComponent from './block-handle-popup.gen.svelte';
|
|
8
10
|
|
|
@@ -13,7 +15,6 @@ import BlockHandlePopupComponent from './block-handle-popup.gen.svelte';
|
|
|
13
15
|
*/
|
|
14
16
|
export interface BlockHandlePopupProps {
|
|
15
17
|
children?: Snippet;
|
|
16
|
-
[key: string]: unknown;
|
|
17
18
|
}
|
|
18
19
|
|
|
19
20
|
/**
|
|
@@ -21,4 +22,4 @@ export interface BlockHandlePopupProps {
|
|
|
21
22
|
*
|
|
22
23
|
* @public
|
|
23
24
|
*/
|
|
24
|
-
export const BlockHandlePopup: Component<BlockHandlePopupProps
|
|
25
|
+
export const BlockHandlePopup: Component<BlockHandlePopupProps & HTMLAttributes<BlockHandlePopupElement>> = BlockHandlePopupComponent as Component<BlockHandlePopupProps & HTMLAttributes<BlockHandlePopupElement>>;
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
* This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import type { BlockHandlePositionerProps as BlockHandlePositionerElementProps } from '@prosekit/web/block-handle';
|
|
5
|
+
import type { BlockHandlePositionerElement, BlockHandlePositionerProps as BlockHandlePositionerElementProps } from '@prosekit/web/block-handle';
|
|
6
6
|
import type { Component, Snippet } from 'svelte';
|
|
7
|
+
import type { HTMLAttributes } from 'svelte/elements';
|
|
7
8
|
|
|
8
9
|
import BlockHandlePositionerComponent from './block-handle-positioner.gen.svelte';
|
|
9
10
|
|
|
@@ -134,7 +135,6 @@ export interface BlockHandlePositionerProps {
|
|
|
134
135
|
*/
|
|
135
136
|
altBoundary?: BlockHandlePositionerElementProps['altBoundary'];
|
|
136
137
|
children?: Snippet;
|
|
137
|
-
[key: string]: unknown;
|
|
138
138
|
}
|
|
139
139
|
|
|
140
140
|
/**
|
|
@@ -142,4 +142,4 @@ export interface BlockHandlePositionerProps {
|
|
|
142
142
|
*
|
|
143
143
|
* @public
|
|
144
144
|
*/
|
|
145
|
-
export const BlockHandlePositioner: Component<BlockHandlePositionerProps
|
|
145
|
+
export const BlockHandlePositioner: Component<BlockHandlePositionerProps & HTMLAttributes<BlockHandlePositionerElement>> = BlockHandlePositionerComponent as Component<BlockHandlePositionerProps & HTMLAttributes<BlockHandlePositionerElement>>;
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
* This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import type { BlockHandleRootEvents, BlockHandleRootProps as BlockHandleRootElementProps } from '@prosekit/web/block-handle';
|
|
5
|
+
import type { BlockHandleRootElement, BlockHandleRootEvents, BlockHandleRootProps as BlockHandleRootElementProps } from '@prosekit/web/block-handle';
|
|
6
6
|
import type { Component, Snippet } from 'svelte';
|
|
7
|
+
import type { HTMLAttributes } from 'svelte/elements';
|
|
7
8
|
|
|
8
9
|
import BlockHandleRootComponent from './block-handle-root.gen.svelte';
|
|
9
10
|
|
|
@@ -23,7 +24,6 @@ export interface BlockHandleRootProps {
|
|
|
23
24
|
/** Fired when the hovered block changes. */
|
|
24
25
|
onStateChange?: (event: BlockHandleRootEvents['stateChange']) => void;
|
|
25
26
|
children?: Snippet;
|
|
26
|
-
[key: string]: unknown;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
/**
|
|
@@ -31,6 +31,4 @@ export interface BlockHandleRootProps {
|
|
|
31
31
|
*
|
|
32
32
|
* @public
|
|
33
33
|
*/
|
|
34
|
-
export const BlockHandleRoot: Component<BlockHandleRootProps
|
|
35
|
-
|
|
36
|
-
export type { BlockHandleRootEvents };
|
|
34
|
+
export const BlockHandleRoot: Component<BlockHandleRootProps & HTMLAttributes<BlockHandleRootElement>> = BlockHandleRootComponent as Component<BlockHandleRootProps & HTMLAttributes<BlockHandleRootElement>>;
|
|
@@ -10,6 +10,4 @@ export { BlockHandlePopup, type BlockHandlePopupProps } from './block-handle-pop
|
|
|
10
10
|
|
|
11
11
|
export { BlockHandlePositioner, type BlockHandlePositionerProps } from './block-handle-positioner.gen.ts';
|
|
12
12
|
|
|
13
|
-
export { BlockHandleRoot, type BlockHandleRootProps
|
|
14
|
-
|
|
15
|
-
export { BlockHandleStateChangeEvent } from '@prosekit/web/block-handle';
|
|
13
|
+
export { BlockHandleRoot, type BlockHandleRootProps } from './block-handle-root.gen.ts';
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
* This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import type { DropIndicatorProps as DropIndicatorElementProps } from '@prosekit/web/drop-indicator';
|
|
5
|
+
import type { DropIndicatorElement, DropIndicatorProps as DropIndicatorElementProps } from '@prosekit/web/drop-indicator';
|
|
6
6
|
import type { Component, Snippet } from 'svelte';
|
|
7
|
+
import type { HTMLAttributes } from 'svelte/elements';
|
|
7
8
|
|
|
8
9
|
import DropIndicatorComponent from './drop-indicator.gen.svelte';
|
|
9
10
|
|
|
@@ -27,7 +28,6 @@ export interface DropIndicatorProps {
|
|
|
27
28
|
*/
|
|
28
29
|
width?: DropIndicatorElementProps['width'];
|
|
29
30
|
children?: Snippet;
|
|
30
|
-
[key: string]: unknown;
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
/**
|
|
@@ -35,4 +35,4 @@ export interface DropIndicatorProps {
|
|
|
35
35
|
*
|
|
36
36
|
* @public
|
|
37
37
|
*/
|
|
38
|
-
export const DropIndicator: Component<DropIndicatorProps
|
|
38
|
+
export const DropIndicator: Component<DropIndicatorProps & HTMLAttributes<DropIndicatorElement>> = DropIndicatorComponent as Component<DropIndicatorProps & HTMLAttributes<DropIndicatorElement>>;
|
|
@@ -6,6 +6,4 @@ export { InlinePopoverPopup, type InlinePopoverPopupProps } from './inline-popov
|
|
|
6
6
|
|
|
7
7
|
export { InlinePopoverPositioner, type InlinePopoverPositionerProps } from './inline-popover-positioner.gen.ts';
|
|
8
8
|
|
|
9
|
-
export { InlinePopoverRoot, type InlinePopoverRootProps
|
|
10
|
-
|
|
11
|
-
export { OpenChangeEvent } from '@prosekit/web/inline-popover';
|
|
9
|
+
export { InlinePopoverRoot, type InlinePopoverRootProps } from './inline-popover-root.gen.ts';
|
|
@@ -2,7 +2,9 @@
|
|
|
2
2
|
* This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
+
import type { InlinePopoverPopupElement } from '@prosekit/web/inline-popover';
|
|
5
6
|
import type { Component, Snippet } from 'svelte';
|
|
7
|
+
import type { HTMLAttributes } from 'svelte/elements';
|
|
6
8
|
|
|
7
9
|
import InlinePopoverPopupComponent from './inline-popover-popup.gen.svelte';
|
|
8
10
|
|
|
@@ -13,7 +15,6 @@ import InlinePopoverPopupComponent from './inline-popover-popup.gen.svelte';
|
|
|
13
15
|
*/
|
|
14
16
|
export interface InlinePopoverPopupProps {
|
|
15
17
|
children?: Snippet;
|
|
16
|
-
[key: string]: unknown;
|
|
17
18
|
}
|
|
18
19
|
|
|
19
20
|
/**
|
|
@@ -21,4 +22,4 @@ export interface InlinePopoverPopupProps {
|
|
|
21
22
|
*
|
|
22
23
|
* @public
|
|
23
24
|
*/
|
|
24
|
-
export const InlinePopoverPopup: Component<InlinePopoverPopupProps
|
|
25
|
+
export const InlinePopoverPopup: Component<InlinePopoverPopupProps & HTMLAttributes<InlinePopoverPopupElement>> = InlinePopoverPopupComponent as Component<InlinePopoverPopupProps & HTMLAttributes<InlinePopoverPopupElement>>;
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
* This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import type { InlinePopoverPositionerProps as InlinePopoverPositionerElementProps } from '@prosekit/web/inline-popover';
|
|
5
|
+
import type { InlinePopoverPositionerElement, InlinePopoverPositionerProps as InlinePopoverPositionerElementProps } from '@prosekit/web/inline-popover';
|
|
6
6
|
import type { Component, Snippet } from 'svelte';
|
|
7
|
+
import type { HTMLAttributes } from 'svelte/elements';
|
|
7
8
|
|
|
8
9
|
import InlinePopoverPositionerComponent from './inline-popover-positioner.gen.svelte';
|
|
9
10
|
|
|
@@ -140,7 +141,6 @@ export interface InlinePopoverPositionerProps {
|
|
|
140
141
|
*/
|
|
141
142
|
altBoundary?: InlinePopoverPositionerElementProps['altBoundary'];
|
|
142
143
|
children?: Snippet;
|
|
143
|
-
[key: string]: unknown;
|
|
144
144
|
}
|
|
145
145
|
|
|
146
146
|
/**
|
|
@@ -148,4 +148,4 @@ export interface InlinePopoverPositionerProps {
|
|
|
148
148
|
*
|
|
149
149
|
* @public
|
|
150
150
|
*/
|
|
151
|
-
export const InlinePopoverPositioner: Component<InlinePopoverPositionerProps
|
|
151
|
+
export const InlinePopoverPositioner: Component<InlinePopoverPositionerProps & HTMLAttributes<InlinePopoverPositionerElement>> = InlinePopoverPositionerComponent as Component<InlinePopoverPositionerProps & HTMLAttributes<InlinePopoverPositionerElement>>;
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
* This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import type { InlinePopoverRootEvents, InlinePopoverRootProps as InlinePopoverRootElementProps } from '@prosekit/web/inline-popover';
|
|
5
|
+
import type { InlinePopoverRootElement, InlinePopoverRootEvents, InlinePopoverRootProps as InlinePopoverRootElementProps } from '@prosekit/web/inline-popover';
|
|
6
6
|
import type { Component, Snippet } from 'svelte';
|
|
7
|
+
import type { HTMLAttributes } from 'svelte/elements';
|
|
7
8
|
|
|
8
9
|
import InlinePopoverRootComponent from './inline-popover-root.gen.svelte';
|
|
9
10
|
|
|
@@ -44,10 +45,9 @@ export interface InlinePopoverRootProps {
|
|
|
44
45
|
* @default false
|
|
45
46
|
*/
|
|
46
47
|
disabled?: InlinePopoverRootElementProps['disabled'];
|
|
47
|
-
/** */
|
|
48
|
+
/** Emitted when the open state of the popover changes. */
|
|
48
49
|
onOpenChange?: (event: InlinePopoverRootEvents['openChange']) => void;
|
|
49
50
|
children?: Snippet;
|
|
50
|
-
[key: string]: unknown;
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
/**
|
|
@@ -55,6 +55,4 @@ export interface InlinePopoverRootProps {
|
|
|
55
55
|
*
|
|
56
56
|
* @public
|
|
57
57
|
*/
|
|
58
|
-
export const InlinePopoverRoot: Component<InlinePopoverRootProps
|
|
59
|
-
|
|
60
|
-
export type { InlinePopoverRootEvents };
|
|
58
|
+
export const InlinePopoverRoot: Component<InlinePopoverRootProps & HTMLAttributes<InlinePopoverRootElement>> = InlinePopoverRootComponent as Component<InlinePopoverRootProps & HTMLAttributes<InlinePopoverRootElement>>;
|
|
@@ -2,18 +2,16 @@
|
|
|
2
2
|
* This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
export { MenuItem, type MenuItemProps
|
|
5
|
+
export { MenuItem, type MenuItemProps } from './menu-item.gen.ts';
|
|
6
6
|
|
|
7
7
|
export { MenuPopup, type MenuPopupProps } from './menu-popup.gen.ts';
|
|
8
8
|
|
|
9
9
|
export { MenuPositioner, type MenuPositionerProps } from './menu-positioner.gen.ts';
|
|
10
10
|
|
|
11
|
-
export { MenuRoot, type MenuRootProps
|
|
11
|
+
export { MenuRoot, type MenuRootProps } from './menu-root.gen.ts';
|
|
12
12
|
|
|
13
13
|
export { MenuSubmenuRoot, type MenuSubmenuRootProps } from './menu-submenu-root.gen.ts';
|
|
14
14
|
|
|
15
15
|
export { MenuSubmenuTrigger, type MenuSubmenuTriggerProps } from './menu-submenu-trigger.gen.ts';
|
|
16
16
|
|
|
17
|
-
export { MenuTrigger, type MenuTriggerProps
|
|
18
|
-
|
|
19
|
-
export { OpenChangeEvent, SelectEvent } from '@prosekit/web/menu';
|
|
17
|
+
export { MenuTrigger, type MenuTriggerProps } from './menu-trigger.gen.ts';
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
* This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import type { MenuItemEvents, MenuItemProps as MenuItemElementProps } from '@prosekit/web/menu';
|
|
5
|
+
import type { MenuItemElement, MenuItemEvents, MenuItemProps as MenuItemElementProps } from '@prosekit/web/menu';
|
|
6
6
|
import type { Component, Snippet } from 'svelte';
|
|
7
|
+
import type { HTMLAttributes } from 'svelte/elements';
|
|
7
8
|
|
|
8
9
|
import MenuItemComponent from './menu-item.gen.svelte';
|
|
9
10
|
|
|
@@ -34,7 +35,6 @@ export interface MenuItemProps {
|
|
|
34
35
|
/** Emitted when the the item is selected. */
|
|
35
36
|
onSelect?: (event: MenuItemEvents['select']) => void;
|
|
36
37
|
children?: Snippet;
|
|
37
|
-
[key: string]: unknown;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
/**
|
|
@@ -42,6 +42,4 @@ export interface MenuItemProps {
|
|
|
42
42
|
*
|
|
43
43
|
* @public
|
|
44
44
|
*/
|
|
45
|
-
export const MenuItem: Component<MenuItemProps
|
|
46
|
-
|
|
47
|
-
export type { MenuItemEvents };
|
|
45
|
+
export const MenuItem: Component<MenuItemProps & HTMLAttributes<MenuItemElement>> = MenuItemComponent as Component<MenuItemProps & HTMLAttributes<MenuItemElement>>;
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
* This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import type { MenuPopupProps as MenuPopupElementProps } from '@prosekit/web/menu';
|
|
5
|
+
import type { MenuPopupElement, MenuPopupProps as MenuPopupElementProps } from '@prosekit/web/menu';
|
|
6
6
|
import type { Component, Snippet } from 'svelte';
|
|
7
|
+
import type { HTMLAttributes } from 'svelte/elements';
|
|
7
8
|
|
|
8
9
|
import MenuPopupComponent from './menu-popup.gen.svelte';
|
|
9
10
|
|
|
@@ -21,7 +22,6 @@ export interface MenuPopupProps {
|
|
|
21
22
|
*/
|
|
22
23
|
eventTarget?: MenuPopupElementProps['eventTarget'];
|
|
23
24
|
children?: Snippet;
|
|
24
|
-
[key: string]: unknown;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
/**
|
|
@@ -29,4 +29,4 @@ export interface MenuPopupProps {
|
|
|
29
29
|
*
|
|
30
30
|
* @public
|
|
31
31
|
*/
|
|
32
|
-
export const MenuPopup: Component<MenuPopupProps
|
|
32
|
+
export const MenuPopup: Component<MenuPopupProps & HTMLAttributes<MenuPopupElement>> = MenuPopupComponent as Component<MenuPopupProps & HTMLAttributes<MenuPopupElement>>;
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
* This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import type { MenuPositionerProps as MenuPositionerElementProps } from '@prosekit/web/menu';
|
|
5
|
+
import type { MenuPositionerElement, MenuPositionerProps as MenuPositionerElementProps } from '@prosekit/web/menu';
|
|
6
6
|
import type { Component, Snippet } from 'svelte';
|
|
7
|
+
import type { HTMLAttributes } from 'svelte/elements';
|
|
7
8
|
|
|
8
9
|
import MenuPositionerComponent from './menu-positioner.gen.svelte';
|
|
9
10
|
|
|
@@ -141,7 +142,6 @@ export interface MenuPositionerProps {
|
|
|
141
142
|
*/
|
|
142
143
|
altBoundary?: MenuPositionerElementProps['altBoundary'];
|
|
143
144
|
children?: Snippet;
|
|
144
|
-
[key: string]: unknown;
|
|
145
145
|
}
|
|
146
146
|
|
|
147
147
|
/**
|
|
@@ -149,4 +149,4 @@ export interface MenuPositionerProps {
|
|
|
149
149
|
*
|
|
150
150
|
* @public
|
|
151
151
|
*/
|
|
152
|
-
export const MenuPositioner: Component<MenuPositionerProps
|
|
152
|
+
export const MenuPositioner: Component<MenuPositionerProps & HTMLAttributes<MenuPositionerElement>> = MenuPositionerComponent as Component<MenuPositionerProps & HTMLAttributes<MenuPositionerElement>>;
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
* This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import type { MenuRootEvents, MenuRootProps as MenuRootElementProps } from '@prosekit/web/menu';
|
|
5
|
+
import type { MenuRootElement, MenuRootEvents, MenuRootProps as MenuRootElementProps } from '@prosekit/web/menu';
|
|
6
6
|
import type { Component, Snippet } from 'svelte';
|
|
7
|
+
import type { HTMLAttributes } from 'svelte/elements';
|
|
7
8
|
|
|
8
9
|
import MenuRootComponent from './menu-root.gen.svelte';
|
|
9
10
|
|
|
@@ -31,7 +32,6 @@ export interface MenuRootProps {
|
|
|
31
32
|
/** Emitted when the menu is opened or closed. */
|
|
32
33
|
onOpenChange?: (event: MenuRootEvents['openChange']) => void;
|
|
33
34
|
children?: Snippet;
|
|
34
|
-
[key: string]: unknown;
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
/**
|
|
@@ -39,6 +39,4 @@ export interface MenuRootProps {
|
|
|
39
39
|
*
|
|
40
40
|
* @public
|
|
41
41
|
*/
|
|
42
|
-
export const MenuRoot: Component<MenuRootProps
|
|
43
|
-
|
|
44
|
-
export type { MenuRootEvents };
|
|
42
|
+
export const MenuRoot: Component<MenuRootProps & HTMLAttributes<MenuRootElement>> = MenuRootComponent as Component<MenuRootProps & HTMLAttributes<MenuRootElement>>;
|
|
@@ -2,7 +2,9 @@
|
|
|
2
2
|
* This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
+
import type { MenuSubmenuRootElement } from '@prosekit/web/menu';
|
|
5
6
|
import type { Component, Snippet } from 'svelte';
|
|
7
|
+
import type { HTMLAttributes } from 'svelte/elements';
|
|
6
8
|
|
|
7
9
|
import MenuSubmenuRootComponent from './menu-submenu-root.gen.svelte';
|
|
8
10
|
|
|
@@ -13,7 +15,6 @@ import MenuSubmenuRootComponent from './menu-submenu-root.gen.svelte';
|
|
|
13
15
|
*/
|
|
14
16
|
export interface MenuSubmenuRootProps {
|
|
15
17
|
children?: Snippet;
|
|
16
|
-
[key: string]: unknown;
|
|
17
18
|
}
|
|
18
19
|
|
|
19
20
|
/**
|
|
@@ -21,4 +22,4 @@ export interface MenuSubmenuRootProps {
|
|
|
21
22
|
*
|
|
22
23
|
* @public
|
|
23
24
|
*/
|
|
24
|
-
export const MenuSubmenuRoot: Component<MenuSubmenuRootProps
|
|
25
|
+
export const MenuSubmenuRoot: Component<MenuSubmenuRootProps & HTMLAttributes<MenuSubmenuRootElement>> = MenuSubmenuRootComponent as Component<MenuSubmenuRootProps & HTMLAttributes<MenuSubmenuRootElement>>;
|
|
@@ -2,7 +2,9 @@
|
|
|
2
2
|
* This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
+
import type { MenuSubmenuTriggerElement } from '@prosekit/web/menu';
|
|
5
6
|
import type { Component, Snippet } from 'svelte';
|
|
7
|
+
import type { HTMLAttributes } from 'svelte/elements';
|
|
6
8
|
|
|
7
9
|
import MenuSubmenuTriggerComponent from './menu-submenu-trigger.gen.svelte';
|
|
8
10
|
|
|
@@ -13,7 +15,6 @@ import MenuSubmenuTriggerComponent from './menu-submenu-trigger.gen.svelte';
|
|
|
13
15
|
*/
|
|
14
16
|
export interface MenuSubmenuTriggerProps {
|
|
15
17
|
children?: Snippet;
|
|
16
|
-
[key: string]: unknown;
|
|
17
18
|
}
|
|
18
19
|
|
|
19
20
|
/**
|
|
@@ -21,4 +22,4 @@ export interface MenuSubmenuTriggerProps {
|
|
|
21
22
|
*
|
|
22
23
|
* @public
|
|
23
24
|
*/
|
|
24
|
-
export const MenuSubmenuTrigger: Component<MenuSubmenuTriggerProps
|
|
25
|
+
export const MenuSubmenuTrigger: Component<MenuSubmenuTriggerProps & HTMLAttributes<MenuSubmenuTriggerElement>> = MenuSubmenuTriggerComponent as Component<MenuSubmenuTriggerProps & HTMLAttributes<MenuSubmenuTriggerElement>>;
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
* This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import type { MenuTriggerEvents, MenuTriggerProps as MenuTriggerElementProps } from '@prosekit/web/menu';
|
|
5
|
+
import type { MenuTriggerElement, MenuTriggerEvents, MenuTriggerProps as MenuTriggerElementProps } from '@prosekit/web/menu';
|
|
6
6
|
import type { Component, Snippet } from 'svelte';
|
|
7
|
+
import type { HTMLAttributes } from 'svelte/elements';
|
|
7
8
|
|
|
8
9
|
import MenuTriggerComponent from './menu-trigger.gen.svelte';
|
|
9
10
|
|
|
@@ -22,7 +23,6 @@ export interface MenuTriggerProps {
|
|
|
22
23
|
/** Emitted when the menu is opened or closed. */
|
|
23
24
|
onOpenChange?: (event: MenuTriggerEvents['openChange']) => void;
|
|
24
25
|
children?: Snippet;
|
|
25
|
-
[key: string]: unknown;
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
/**
|
|
@@ -30,6 +30,4 @@ export interface MenuTriggerProps {
|
|
|
30
30
|
*
|
|
31
31
|
* @public
|
|
32
32
|
*/
|
|
33
|
-
export const MenuTrigger: Component<MenuTriggerProps
|
|
34
|
-
|
|
35
|
-
export type { MenuTriggerEvents };
|
|
33
|
+
export const MenuTrigger: Component<MenuTriggerProps & HTMLAttributes<MenuTriggerElement>> = MenuTriggerComponent as Component<MenuTriggerProps & HTMLAttributes<MenuTriggerElement>>;
|
|
@@ -6,8 +6,6 @@ export { PopoverPopup, type PopoverPopupProps } from './popover-popup.gen.ts';
|
|
|
6
6
|
|
|
7
7
|
export { PopoverPositioner, type PopoverPositionerProps } from './popover-positioner.gen.ts';
|
|
8
8
|
|
|
9
|
-
export { PopoverRoot, type PopoverRootProps
|
|
9
|
+
export { PopoverRoot, type PopoverRootProps } from './popover-root.gen.ts';
|
|
10
10
|
|
|
11
|
-
export { PopoverTrigger, type PopoverTriggerProps
|
|
12
|
-
|
|
13
|
-
export { OpenChangeEvent } from '@prosekit/web/popover';
|
|
11
|
+
export { PopoverTrigger, type PopoverTriggerProps } from './popover-trigger.gen.ts';
|
|
@@ -2,7 +2,9 @@
|
|
|
2
2
|
* This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
+
import type { PopoverPopupElement } from '@prosekit/web/popover';
|
|
5
6
|
import type { Component, Snippet } from 'svelte';
|
|
7
|
+
import type { HTMLAttributes } from 'svelte/elements';
|
|
6
8
|
|
|
7
9
|
import PopoverPopupComponent from './popover-popup.gen.svelte';
|
|
8
10
|
|
|
@@ -13,7 +15,6 @@ import PopoverPopupComponent from './popover-popup.gen.svelte';
|
|
|
13
15
|
*/
|
|
14
16
|
export interface PopoverPopupProps {
|
|
15
17
|
children?: Snippet;
|
|
16
|
-
[key: string]: unknown;
|
|
17
18
|
}
|
|
18
19
|
|
|
19
20
|
/**
|
|
@@ -21,4 +22,4 @@ export interface PopoverPopupProps {
|
|
|
21
22
|
*
|
|
22
23
|
* @public
|
|
23
24
|
*/
|
|
24
|
-
export const PopoverPopup: Component<PopoverPopupProps
|
|
25
|
+
export const PopoverPopup: Component<PopoverPopupProps & HTMLAttributes<PopoverPopupElement>> = PopoverPopupComponent as Component<PopoverPopupProps & HTMLAttributes<PopoverPopupElement>>;
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
* This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import type { PopoverPositionerProps as PopoverPositionerElementProps } from '@prosekit/web/popover';
|
|
5
|
+
import type { PopoverPositionerElement, PopoverPositionerProps as PopoverPositionerElementProps } from '@prosekit/web/popover';
|
|
6
6
|
import type { Component, Snippet } from 'svelte';
|
|
7
|
+
import type { HTMLAttributes } from 'svelte/elements';
|
|
7
8
|
|
|
8
9
|
import PopoverPositionerComponent from './popover-positioner.gen.svelte';
|
|
9
10
|
|
|
@@ -141,7 +142,6 @@ export interface PopoverPositionerProps {
|
|
|
141
142
|
*/
|
|
142
143
|
altBoundary?: PopoverPositionerElementProps['altBoundary'];
|
|
143
144
|
children?: Snippet;
|
|
144
|
-
[key: string]: unknown;
|
|
145
145
|
}
|
|
146
146
|
|
|
147
147
|
/**
|
|
@@ -149,4 +149,4 @@ export interface PopoverPositionerProps {
|
|
|
149
149
|
*
|
|
150
150
|
* @public
|
|
151
151
|
*/
|
|
152
|
-
export const PopoverPositioner: Component<PopoverPositionerProps
|
|
152
|
+
export const PopoverPositioner: Component<PopoverPositionerProps & HTMLAttributes<PopoverPositionerElement>> = PopoverPositionerComponent as Component<PopoverPositionerProps & HTMLAttributes<PopoverPositionerElement>>;
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
* This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import type { PopoverRootEvents, PopoverRootProps as PopoverRootElementProps } from '@prosekit/web/popover';
|
|
5
|
+
import type { PopoverRootElement, PopoverRootEvents, PopoverRootProps as PopoverRootElementProps } from '@prosekit/web/popover';
|
|
6
6
|
import type { Component, Snippet } from 'svelte';
|
|
7
|
+
import type { HTMLAttributes } from 'svelte/elements';
|
|
7
8
|
|
|
8
9
|
import PopoverRootComponent from './popover-root.gen.svelte';
|
|
9
10
|
|
|
@@ -38,7 +39,6 @@ export interface PopoverRootProps {
|
|
|
38
39
|
/** Emitted when the popover is opened or closed. */
|
|
39
40
|
onOpenChange?: (event: PopoverRootEvents['openChange']) => void;
|
|
40
41
|
children?: Snippet;
|
|
41
|
-
[key: string]: unknown;
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
/**
|
|
@@ -46,6 +46,4 @@ export interface PopoverRootProps {
|
|
|
46
46
|
*
|
|
47
47
|
* @public
|
|
48
48
|
*/
|
|
49
|
-
export const PopoverRoot: Component<PopoverRootProps
|
|
50
|
-
|
|
51
|
-
export type { PopoverRootEvents };
|
|
49
|
+
export const PopoverRoot: Component<PopoverRootProps & HTMLAttributes<PopoverRootElement>> = PopoverRootComponent as Component<PopoverRootProps & HTMLAttributes<PopoverRootElement>>;
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
* This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import type { PopoverTriggerEvents, PopoverTriggerProps as PopoverTriggerElementProps } from '@prosekit/web/popover';
|
|
5
|
+
import type { PopoverTriggerElement, PopoverTriggerEvents, PopoverTriggerProps as PopoverTriggerElementProps } from '@prosekit/web/popover';
|
|
6
6
|
import type { Component, Snippet } from 'svelte';
|
|
7
|
+
import type { HTMLAttributes } from 'svelte/elements';
|
|
7
8
|
|
|
8
9
|
import PopoverTriggerComponent from './popover-trigger.gen.svelte';
|
|
9
10
|
|
|
@@ -38,7 +39,6 @@ export interface PopoverTriggerProps {
|
|
|
38
39
|
/** Emitted when the popover is opened or closed. */
|
|
39
40
|
onOpenChange?: (event: PopoverTriggerEvents['openChange']) => void;
|
|
40
41
|
children?: Snippet;
|
|
41
|
-
[key: string]: unknown;
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
/**
|
|
@@ -46,6 +46,4 @@ export interface PopoverTriggerProps {
|
|
|
46
46
|
*
|
|
47
47
|
* @public
|
|
48
48
|
*/
|
|
49
|
-
export const PopoverTrigger: Component<PopoverTriggerProps
|
|
50
|
-
|
|
51
|
-
export type { PopoverTriggerEvents };
|
|
49
|
+
export const PopoverTrigger: Component<PopoverTriggerProps & HTMLAttributes<PopoverTriggerElement>> = PopoverTriggerComponent as Component<PopoverTriggerProps & HTMLAttributes<PopoverTriggerElement>>;
|
|
@@ -2,8 +2,6 @@
|
|
|
2
2
|
* This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
export { ResizableRoot, type ResizableRootProps
|
|
5
|
+
export { ResizableRoot, type ResizableRootProps } from './resizable-root.gen.ts';
|
|
6
6
|
|
|
7
7
|
export { ResizableHandle, type ResizableHandleProps } from './resizable-handle.gen.ts';
|
|
8
|
-
|
|
9
|
-
export { ResizeEndEvent, ResizeStartEvent } from '@prosekit/web/resizable';
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
* This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import type { ResizableHandleProps as ResizableHandleElementProps } from '@prosekit/web/resizable';
|
|
5
|
+
import type { ResizableHandleElement, ResizableHandleProps as ResizableHandleElementProps } from '@prosekit/web/resizable';
|
|
6
6
|
import type { Component, Snippet } from 'svelte';
|
|
7
|
+
import type { HTMLAttributes } from 'svelte/elements';
|
|
7
8
|
|
|
8
9
|
import ResizableHandleComponent from './resizable-handle.gen.svelte';
|
|
9
10
|
|
|
@@ -20,7 +21,6 @@ export interface ResizableHandleProps {
|
|
|
20
21
|
*/
|
|
21
22
|
position?: ResizableHandleElementProps['position'];
|
|
22
23
|
children?: Snippet;
|
|
23
|
-
[key: string]: unknown;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
/**
|
|
@@ -28,4 +28,4 @@ export interface ResizableHandleProps {
|
|
|
28
28
|
*
|
|
29
29
|
* @public
|
|
30
30
|
*/
|
|
31
|
-
export const ResizableHandle: Component<ResizableHandleProps
|
|
31
|
+
export const ResizableHandle: Component<ResizableHandleProps & HTMLAttributes<ResizableHandleElement>> = ResizableHandleComponent as Component<ResizableHandleProps & HTMLAttributes<ResizableHandleElement>>;
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
* This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import type { ResizableRootEvents, ResizableRootProps as ResizableRootElementProps } from '@prosekit/web/resizable';
|
|
5
|
+
import type { ResizableRootElement, ResizableRootEvents, ResizableRootProps as ResizableRootElementProps } from '@prosekit/web/resizable';
|
|
6
6
|
import type { Component, Snippet } from 'svelte';
|
|
7
|
+
import type { HTMLAttributes } from 'svelte/elements';
|
|
7
8
|
|
|
8
9
|
import ResizableRootComponent from './resizable-root.gen.svelte';
|
|
9
10
|
|
|
@@ -36,7 +37,6 @@ export interface ResizableRootProps {
|
|
|
36
37
|
/** Emitted when a resize operation ends. */
|
|
37
38
|
onResizeEnd?: (event: ResizableRootEvents['resizeEnd']) => void;
|
|
38
39
|
children?: Snippet;
|
|
39
|
-
[key: string]: unknown;
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
/**
|
|
@@ -44,6 +44,4 @@ export interface ResizableRootProps {
|
|
|
44
44
|
*
|
|
45
45
|
* @public
|
|
46
46
|
*/
|
|
47
|
-
export const ResizableRoot: Component<ResizableRootProps
|
|
48
|
-
|
|
49
|
-
export type { ResizableRootEvents };
|
|
47
|
+
export const ResizableRoot: Component<ResizableRootProps & HTMLAttributes<ResizableRootElement>> = ResizableRootComponent as Component<ResizableRootProps & HTMLAttributes<ResizableRootElement>>;
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
* This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import type { TableHandleColumnMenuRootProps as TableHandleColumnMenuRootElementProps } from '@prosekit/web/table-handle';
|
|
5
|
+
import type { TableHandleColumnMenuRootElement, TableHandleColumnMenuRootProps as TableHandleColumnMenuRootElementProps } from '@prosekit/web/table-handle';
|
|
6
6
|
import type { Component, Snippet } from 'svelte';
|
|
7
|
+
import type { HTMLAttributes } from 'svelte/elements';
|
|
7
8
|
|
|
8
9
|
import TableHandleColumnMenuRootComponent from './table-handle-column-menu-root.gen.svelte';
|
|
9
10
|
|
|
@@ -29,7 +30,6 @@ export interface TableHandleColumnMenuRootProps {
|
|
|
29
30
|
*/
|
|
30
31
|
disabled?: TableHandleColumnMenuRootElementProps['disabled'];
|
|
31
32
|
children?: Snippet;
|
|
32
|
-
[key: string]: unknown;
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
/**
|
|
@@ -37,4 +37,4 @@ export interface TableHandleColumnMenuRootProps {
|
|
|
37
37
|
*
|
|
38
38
|
* @public
|
|
39
39
|
*/
|
|
40
|
-
export const TableHandleColumnMenuRoot: Component<TableHandleColumnMenuRootProps
|
|
40
|
+
export const TableHandleColumnMenuRoot: Component<TableHandleColumnMenuRootProps & HTMLAttributes<TableHandleColumnMenuRootElement>> = TableHandleColumnMenuRootComponent as Component<TableHandleColumnMenuRootProps & HTMLAttributes<TableHandleColumnMenuRootElement>>;
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
* This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly.
|
|
3
3
|
*/
|
|
4
4
|
|
|
5
|
-
import type { TableHandleColumnMenuTriggerProps as TableHandleColumnMenuTriggerElementProps } from '@prosekit/web/table-handle';
|
|
5
|
+
import type { TableHandleColumnMenuTriggerElement, TableHandleColumnMenuTriggerProps as TableHandleColumnMenuTriggerElementProps } from '@prosekit/web/table-handle';
|
|
6
6
|
import type { Component, Snippet } from 'svelte';
|
|
7
|
+
import type { HTMLAttributes } from 'svelte/elements';
|
|
7
8
|
|
|
8
9
|
import TableHandleColumnMenuTriggerComponent from './table-handle-column-menu-trigger.gen.svelte';
|
|
9
10
|
|
|
@@ -19,7 +20,6 @@ export interface TableHandleColumnMenuTriggerProps {
|
|
|
19
20
|
*/
|
|
20
21
|
editor?: TableHandleColumnMenuTriggerElementProps['editor'];
|
|
21
22
|
children?: Snippet;
|
|
22
|
-
[key: string]: unknown;
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
/**
|
|
@@ -27,4 +27,4 @@ export interface TableHandleColumnMenuTriggerProps {
|
|
|
27
27
|
*
|
|
28
28
|
* @public
|
|
29
29
|
*/
|
|
30
|
-
export const TableHandleColumnMenuTrigger: Component<TableHandleColumnMenuTriggerProps
|
|
30
|
+
export const TableHandleColumnMenuTrigger: Component<TableHandleColumnMenuTriggerProps & HTMLAttributes<TableHandleColumnMenuTriggerElement>> = TableHandleColumnMenuTriggerComponent as Component<TableHandleColumnMenuTriggerProps & HTMLAttributes<TableHandleColumnMenuTriggerElement>>;
|