@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.
Files changed (155) hide show
  1. package/dist/build/components/autocomplete/autocomplete-empty.gen.d.ts +3 -2
  2. package/dist/build/components/autocomplete/autocomplete-empty.gen.d.ts.map +1 -1
  3. package/dist/build/components/autocomplete/autocomplete-item.gen.d.ts +3 -4
  4. package/dist/build/components/autocomplete/autocomplete-item.gen.d.ts.map +1 -1
  5. package/dist/build/components/autocomplete/autocomplete-popup.gen.d.ts +3 -4
  6. package/dist/build/components/autocomplete/autocomplete-popup.gen.d.ts.map +1 -1
  7. package/dist/build/components/autocomplete/autocomplete-positioner.gen.d.ts +3 -3
  8. package/dist/build/components/autocomplete/autocomplete-positioner.gen.d.ts.map +1 -1
  9. package/dist/build/components/autocomplete/autocomplete-root.gen.d.ts +3 -4
  10. package/dist/build/components/autocomplete/autocomplete-root.gen.d.ts.map +1 -1
  11. package/dist/build/components/autocomplete/index.gen.d.ts +3 -4
  12. package/dist/build/components/autocomplete/index.gen.d.ts.map +1 -1
  13. package/dist/build/components/autocomplete/index.gen.js +0 -1
  14. package/dist/build/components/block-handle/block-handle-add.gen.d.ts +3 -3
  15. package/dist/build/components/block-handle/block-handle-add.gen.d.ts.map +1 -1
  16. package/dist/build/components/block-handle/block-handle-draggable.gen.d.ts +3 -3
  17. package/dist/build/components/block-handle/block-handle-draggable.gen.d.ts.map +1 -1
  18. package/dist/build/components/block-handle/block-handle-popup.gen.d.ts +3 -2
  19. package/dist/build/components/block-handle/block-handle-popup.gen.d.ts.map +1 -1
  20. package/dist/build/components/block-handle/block-handle-positioner.gen.d.ts +3 -3
  21. package/dist/build/components/block-handle/block-handle-positioner.gen.d.ts.map +1 -1
  22. package/dist/build/components/block-handle/block-handle-root.gen.d.ts +3 -4
  23. package/dist/build/components/block-handle/block-handle-root.gen.d.ts.map +1 -1
  24. package/dist/build/components/block-handle/index.gen.d.ts +1 -2
  25. package/dist/build/components/block-handle/index.gen.d.ts.map +1 -1
  26. package/dist/build/components/block-handle/index.gen.js +0 -1
  27. package/dist/build/components/drop-indicator/drop-indicator.gen.d.ts +3 -3
  28. package/dist/build/components/drop-indicator/drop-indicator.gen.d.ts.map +1 -1
  29. package/dist/build/components/inline-popover/index.gen.d.ts +1 -2
  30. package/dist/build/components/inline-popover/index.gen.d.ts.map +1 -1
  31. package/dist/build/components/inline-popover/index.gen.js +0 -1
  32. package/dist/build/components/inline-popover/inline-popover-popup.gen.d.ts +3 -2
  33. package/dist/build/components/inline-popover/inline-popover-popup.gen.d.ts.map +1 -1
  34. package/dist/build/components/inline-popover/inline-popover-positioner.gen.d.ts +3 -3
  35. package/dist/build/components/inline-popover/inline-popover-positioner.gen.d.ts.map +1 -1
  36. package/dist/build/components/inline-popover/inline-popover-root.gen.d.ts +4 -5
  37. package/dist/build/components/inline-popover/inline-popover-root.gen.d.ts.map +1 -1
  38. package/dist/build/components/menu/index.gen.d.ts +3 -4
  39. package/dist/build/components/menu/index.gen.d.ts.map +1 -1
  40. package/dist/build/components/menu/index.gen.js +0 -1
  41. package/dist/build/components/menu/menu-item.gen.d.ts +3 -4
  42. package/dist/build/components/menu/menu-item.gen.d.ts.map +1 -1
  43. package/dist/build/components/menu/menu-popup.gen.d.ts +3 -3
  44. package/dist/build/components/menu/menu-popup.gen.d.ts.map +1 -1
  45. package/dist/build/components/menu/menu-positioner.gen.d.ts +3 -3
  46. package/dist/build/components/menu/menu-positioner.gen.d.ts.map +1 -1
  47. package/dist/build/components/menu/menu-root.gen.d.ts +3 -4
  48. package/dist/build/components/menu/menu-root.gen.d.ts.map +1 -1
  49. package/dist/build/components/menu/menu-submenu-root.gen.d.ts +3 -2
  50. package/dist/build/components/menu/menu-submenu-root.gen.d.ts.map +1 -1
  51. package/dist/build/components/menu/menu-submenu-trigger.gen.d.ts +3 -2
  52. package/dist/build/components/menu/menu-submenu-trigger.gen.d.ts.map +1 -1
  53. package/dist/build/components/menu/menu-trigger.gen.d.ts +3 -4
  54. package/dist/build/components/menu/menu-trigger.gen.d.ts.map +1 -1
  55. package/dist/build/components/popover/index.gen.d.ts +2 -3
  56. package/dist/build/components/popover/index.gen.d.ts.map +1 -1
  57. package/dist/build/components/popover/index.gen.js +0 -1
  58. package/dist/build/components/popover/popover-popup.gen.d.ts +3 -2
  59. package/dist/build/components/popover/popover-popup.gen.d.ts.map +1 -1
  60. package/dist/build/components/popover/popover-positioner.gen.d.ts +3 -3
  61. package/dist/build/components/popover/popover-positioner.gen.d.ts.map +1 -1
  62. package/dist/build/components/popover/popover-root.gen.d.ts +3 -4
  63. package/dist/build/components/popover/popover-root.gen.d.ts.map +1 -1
  64. package/dist/build/components/popover/popover-trigger.gen.d.ts +3 -4
  65. package/dist/build/components/popover/popover-trigger.gen.d.ts.map +1 -1
  66. package/dist/build/components/resizable/index.gen.d.ts +1 -2
  67. package/dist/build/components/resizable/index.gen.d.ts.map +1 -1
  68. package/dist/build/components/resizable/index.gen.js +0 -1
  69. package/dist/build/components/resizable/resizable-handle.gen.d.ts +3 -3
  70. package/dist/build/components/resizable/resizable-handle.gen.d.ts.map +1 -1
  71. package/dist/build/components/resizable/resizable-root.gen.d.ts +3 -4
  72. package/dist/build/components/resizable/resizable-root.gen.d.ts.map +1 -1
  73. package/dist/build/components/table-handle/table-handle-column-menu-root.gen.d.ts +3 -3
  74. package/dist/build/components/table-handle/table-handle-column-menu-root.gen.d.ts.map +1 -1
  75. package/dist/build/components/table-handle/table-handle-column-menu-trigger.gen.d.ts +3 -3
  76. package/dist/build/components/table-handle/table-handle-column-menu-trigger.gen.d.ts.map +1 -1
  77. package/dist/build/components/table-handle/table-handle-column-popup.gen.d.ts +3 -2
  78. package/dist/build/components/table-handle/table-handle-column-popup.gen.d.ts.map +1 -1
  79. package/dist/build/components/table-handle/table-handle-column-positioner.gen.d.ts +3 -3
  80. package/dist/build/components/table-handle/table-handle-column-positioner.gen.d.ts.map +1 -1
  81. package/dist/build/components/table-handle/table-handle-drag-preview.gen.d.ts +3 -3
  82. package/dist/build/components/table-handle/table-handle-drag-preview.gen.d.ts.map +1 -1
  83. package/dist/build/components/table-handle/table-handle-drop-indicator.gen.d.ts +3 -3
  84. package/dist/build/components/table-handle/table-handle-drop-indicator.gen.d.ts.map +1 -1
  85. package/dist/build/components/table-handle/table-handle-root.gen.d.ts +3 -3
  86. package/dist/build/components/table-handle/table-handle-root.gen.d.ts.map +1 -1
  87. package/dist/build/components/table-handle/table-handle-row-menu-root.gen.d.ts +3 -3
  88. package/dist/build/components/table-handle/table-handle-row-menu-root.gen.d.ts.map +1 -1
  89. package/dist/build/components/table-handle/table-handle-row-menu-trigger.gen.d.ts +3 -3
  90. package/dist/build/components/table-handle/table-handle-row-menu-trigger.gen.d.ts.map +1 -1
  91. package/dist/build/components/table-handle/table-handle-row-popup.gen.d.ts +3 -2
  92. package/dist/build/components/table-handle/table-handle-row-popup.gen.d.ts.map +1 -1
  93. package/dist/build/components/table-handle/table-handle-row-positioner.gen.d.ts +3 -3
  94. package/dist/build/components/table-handle/table-handle-row-positioner.gen.d.ts.map +1 -1
  95. package/dist/build/components/tooltip/index.gen.d.ts +1 -2
  96. package/dist/build/components/tooltip/index.gen.d.ts.map +1 -1
  97. package/dist/build/components/tooltip/index.gen.js +0 -1
  98. package/dist/build/components/tooltip/tooltip-popup.gen.d.ts +3 -2
  99. package/dist/build/components/tooltip/tooltip-popup.gen.d.ts.map +1 -1
  100. package/dist/build/components/tooltip/tooltip-positioner.gen.d.ts +3 -3
  101. package/dist/build/components/tooltip/tooltip-positioner.gen.d.ts.map +1 -1
  102. package/dist/build/components/tooltip/tooltip-root.gen.d.ts +3 -4
  103. package/dist/build/components/tooltip/tooltip-root.gen.d.ts.map +1 -1
  104. package/dist/build/components/tooltip/tooltip-trigger.gen.d.ts +3 -3
  105. package/dist/build/components/tooltip/tooltip-trigger.gen.d.ts.map +1 -1
  106. package/package.json +5 -5
  107. package/src/components/autocomplete/autocomplete-empty.gen.ts +3 -2
  108. package/src/components/autocomplete/autocomplete-item.gen.ts +3 -5
  109. package/src/components/autocomplete/autocomplete-popup.gen.ts +3 -5
  110. package/src/components/autocomplete/autocomplete-positioner.gen.ts +3 -3
  111. package/src/components/autocomplete/autocomplete-root.gen.ts +3 -5
  112. package/src/components/autocomplete/index.gen.ts +3 -5
  113. package/src/components/block-handle/block-handle-add.gen.ts +3 -3
  114. package/src/components/block-handle/block-handle-draggable.gen.ts +3 -3
  115. package/src/components/block-handle/block-handle-popup.gen.ts +3 -2
  116. package/src/components/block-handle/block-handle-positioner.gen.ts +3 -3
  117. package/src/components/block-handle/block-handle-root.gen.ts +3 -5
  118. package/src/components/block-handle/index.gen.ts +1 -3
  119. package/src/components/drop-indicator/drop-indicator.gen.ts +3 -3
  120. package/src/components/inline-popover/index.gen.ts +1 -3
  121. package/src/components/inline-popover/inline-popover-popup.gen.ts +3 -2
  122. package/src/components/inline-popover/inline-popover-positioner.gen.ts +3 -3
  123. package/src/components/inline-popover/inline-popover-root.gen.ts +4 -6
  124. package/src/components/menu/index.gen.ts +3 -5
  125. package/src/components/menu/menu-item.gen.ts +3 -5
  126. package/src/components/menu/menu-popup.gen.ts +3 -3
  127. package/src/components/menu/menu-positioner.gen.ts +3 -3
  128. package/src/components/menu/menu-root.gen.ts +3 -5
  129. package/src/components/menu/menu-submenu-root.gen.ts +3 -2
  130. package/src/components/menu/menu-submenu-trigger.gen.ts +3 -2
  131. package/src/components/menu/menu-trigger.gen.ts +3 -5
  132. package/src/components/popover/index.gen.ts +2 -4
  133. package/src/components/popover/popover-popup.gen.ts +3 -2
  134. package/src/components/popover/popover-positioner.gen.ts +3 -3
  135. package/src/components/popover/popover-root.gen.ts +3 -5
  136. package/src/components/popover/popover-trigger.gen.ts +3 -5
  137. package/src/components/resizable/index.gen.ts +1 -3
  138. package/src/components/resizable/resizable-handle.gen.ts +3 -3
  139. package/src/components/resizable/resizable-root.gen.ts +3 -5
  140. package/src/components/table-handle/table-handle-column-menu-root.gen.ts +3 -3
  141. package/src/components/table-handle/table-handle-column-menu-trigger.gen.ts +3 -3
  142. package/src/components/table-handle/table-handle-column-popup.gen.ts +3 -2
  143. package/src/components/table-handle/table-handle-column-positioner.gen.ts +3 -3
  144. package/src/components/table-handle/table-handle-drag-preview.gen.ts +3 -3
  145. package/src/components/table-handle/table-handle-drop-indicator.gen.ts +3 -3
  146. package/src/components/table-handle/table-handle-root.gen.ts +3 -3
  147. package/src/components/table-handle/table-handle-row-menu-root.gen.ts +3 -3
  148. package/src/components/table-handle/table-handle-row-menu-trigger.gen.ts +3 -3
  149. package/src/components/table-handle/table-handle-row-popup.gen.ts +3 -2
  150. package/src/components/table-handle/table-handle-row-positioner.gen.ts +3 -3
  151. package/src/components/tooltip/index.gen.ts +1 -3
  152. package/src/components/tooltip/tooltip-popup.gen.ts +3 -2
  153. package/src/components/tooltip/tooltip-positioner.gen.ts +3 -3
  154. package/src/components/tooltip/tooltip-root.gen.ts +3 -5
  155. 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> = BlockHandlePopupComponent as unknown as 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> = BlockHandlePositionerComponent as unknown as 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> = BlockHandleRootComponent as unknown as 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, type BlockHandleRootEvents } from './block-handle-root.gen.ts';
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> = DropIndicatorComponent as unknown as 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, type InlinePopoverRootEvents } from './inline-popover-root.gen.ts';
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> = InlinePopoverPopupComponent as unknown as 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> = InlinePopoverPositionerComponent as unknown as 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> = InlinePopoverRootComponent as unknown as 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, type MenuItemEvents } from './menu-item.gen.ts';
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, type MenuRootEvents } from './menu-root.gen.ts';
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, type MenuTriggerEvents } from './menu-trigger.gen.ts';
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> = MenuItemComponent as unknown as 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> = MenuPopupComponent as unknown as 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> = MenuPositionerComponent as unknown as 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> = MenuRootComponent as unknown as 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> = MenuSubmenuRootComponent as unknown as 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> = MenuSubmenuTriggerComponent as unknown as 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> = MenuTriggerComponent as unknown as 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, type PopoverRootEvents } from './popover-root.gen.ts';
9
+ export { PopoverRoot, type PopoverRootProps } from './popover-root.gen.ts';
10
10
 
11
- export { PopoverTrigger, type PopoverTriggerProps, type PopoverTriggerEvents } from './popover-trigger.gen.ts';
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> = PopoverPopupComponent as unknown as 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> = PopoverPositionerComponent as unknown as 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> = PopoverRootComponent as unknown as 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> = PopoverTriggerComponent as unknown as 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, type ResizableRootEvents } from './resizable-root.gen.ts';
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> = ResizableHandleComponent as unknown as 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> = ResizableRootComponent as unknown as 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> = TableHandleColumnMenuRootComponent as unknown as 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> = TableHandleColumnMenuTriggerComponent as unknown as Component<TableHandleColumnMenuTriggerProps>;
30
+ export const TableHandleColumnMenuTrigger: Component<TableHandleColumnMenuTriggerProps & HTMLAttributes<TableHandleColumnMenuTriggerElement>> = TableHandleColumnMenuTriggerComponent as Component<TableHandleColumnMenuTriggerProps & HTMLAttributes<TableHandleColumnMenuTriggerElement>>;