@prosekit/svelte 0.9.0-beta.2 → 0.9.0-beta.4

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 (333) hide show
  1. package/dist/build/components/autocomplete/autocomplete-empty.gen.d.ts +5 -15
  2. package/dist/build/components/autocomplete/autocomplete-empty.gen.d.ts.map +1 -1
  3. package/dist/build/components/autocomplete/autocomplete-empty.gen.js +2 -8
  4. package/dist/build/components/autocomplete/autocomplete-empty.gen.svelte +1 -2
  5. package/dist/build/components/autocomplete/autocomplete-empty.gen.svelte.d.ts.map +1 -1
  6. package/dist/build/components/autocomplete/autocomplete-item.gen.d.ts +5 -17
  7. package/dist/build/components/autocomplete/autocomplete-item.gen.d.ts.map +1 -1
  8. package/dist/build/components/autocomplete/autocomplete-item.gen.js +2 -8
  9. package/dist/build/components/autocomplete/autocomplete-item.gen.svelte +1 -2
  10. package/dist/build/components/autocomplete/autocomplete-item.gen.svelte.d.ts.map +1 -1
  11. package/dist/build/components/autocomplete/autocomplete-popup.gen.d.ts +5 -17
  12. package/dist/build/components/autocomplete/autocomplete-popup.gen.d.ts.map +1 -1
  13. package/dist/build/components/autocomplete/autocomplete-popup.gen.js +2 -8
  14. package/dist/build/components/autocomplete/autocomplete-popup.gen.svelte +1 -2
  15. package/dist/build/components/autocomplete/autocomplete-popup.gen.svelte.d.ts.map +1 -1
  16. package/dist/build/components/autocomplete/autocomplete-positioner.gen.d.ts +5 -16
  17. package/dist/build/components/autocomplete/autocomplete-positioner.gen.d.ts.map +1 -1
  18. package/dist/build/components/autocomplete/autocomplete-positioner.gen.js +2 -8
  19. package/dist/build/components/autocomplete/autocomplete-positioner.gen.svelte +1 -2
  20. package/dist/build/components/autocomplete/autocomplete-positioner.gen.svelte.d.ts.map +1 -1
  21. package/dist/build/components/autocomplete/autocomplete-root.gen.d.ts +5 -17
  22. package/dist/build/components/autocomplete/autocomplete-root.gen.d.ts.map +1 -1
  23. package/dist/build/components/autocomplete/autocomplete-root.gen.js +2 -8
  24. package/dist/build/components/autocomplete/autocomplete-root.gen.svelte +1 -2
  25. package/dist/build/components/autocomplete/autocomplete-root.gen.svelte.d.ts.map +1 -1
  26. package/dist/build/components/autocomplete/index.gen.d.ts +3 -7
  27. package/dist/build/components/autocomplete/index.gen.d.ts.map +1 -1
  28. package/dist/build/components/autocomplete/index.gen.js +1 -4
  29. package/dist/build/components/block-handle/block-handle-add.gen.d.ts +5 -16
  30. package/dist/build/components/block-handle/block-handle-add.gen.d.ts.map +1 -1
  31. package/dist/build/components/block-handle/block-handle-add.gen.js +2 -8
  32. package/dist/build/components/block-handle/block-handle-add.gen.svelte +1 -2
  33. package/dist/build/components/block-handle/block-handle-add.gen.svelte.d.ts.map +1 -1
  34. package/dist/build/components/block-handle/block-handle-draggable.gen.d.ts +5 -16
  35. package/dist/build/components/block-handle/block-handle-draggable.gen.d.ts.map +1 -1
  36. package/dist/build/components/block-handle/block-handle-draggable.gen.js +2 -8
  37. package/dist/build/components/block-handle/block-handle-draggable.gen.svelte +1 -2
  38. package/dist/build/components/block-handle/block-handle-draggable.gen.svelte.d.ts.map +1 -1
  39. package/dist/build/components/block-handle/block-handle-popup.gen.d.ts +5 -15
  40. package/dist/build/components/block-handle/block-handle-popup.gen.d.ts.map +1 -1
  41. package/dist/build/components/block-handle/block-handle-popup.gen.js +2 -8
  42. package/dist/build/components/block-handle/block-handle-popup.gen.svelte +1 -2
  43. package/dist/build/components/block-handle/block-handle-popup.gen.svelte.d.ts.map +1 -1
  44. package/dist/build/components/block-handle/block-handle-positioner.gen.d.ts +5 -16
  45. package/dist/build/components/block-handle/block-handle-positioner.gen.d.ts.map +1 -1
  46. package/dist/build/components/block-handle/block-handle-positioner.gen.js +2 -8
  47. package/dist/build/components/block-handle/block-handle-positioner.gen.svelte +1 -2
  48. package/dist/build/components/block-handle/block-handle-positioner.gen.svelte.d.ts.map +1 -1
  49. package/dist/build/components/block-handle/block-handle-root.gen.d.ts +5 -17
  50. package/dist/build/components/block-handle/block-handle-root.gen.d.ts.map +1 -1
  51. package/dist/build/components/block-handle/block-handle-root.gen.js +2 -8
  52. package/dist/build/components/block-handle/block-handle-root.gen.svelte +1 -2
  53. package/dist/build/components/block-handle/block-handle-root.gen.svelte.d.ts.map +1 -1
  54. package/dist/build/components/block-handle/index.gen.d.ts +1 -5
  55. package/dist/build/components/block-handle/index.gen.d.ts.map +1 -1
  56. package/dist/build/components/block-handle/index.gen.js +1 -4
  57. package/dist/build/components/drop-indicator/drop-indicator.gen.d.ts +5 -16
  58. package/dist/build/components/drop-indicator/drop-indicator.gen.d.ts.map +1 -1
  59. package/dist/build/components/drop-indicator/drop-indicator.gen.js +2 -8
  60. package/dist/build/components/drop-indicator/drop-indicator.gen.svelte +1 -2
  61. package/dist/build/components/drop-indicator/drop-indicator.gen.svelte.d.ts.map +1 -1
  62. package/dist/build/components/drop-indicator/index.gen.d.ts +0 -3
  63. package/dist/build/components/drop-indicator/index.gen.d.ts.map +1 -1
  64. package/dist/build/components/drop-indicator/index.gen.js +1 -3
  65. package/dist/build/components/inline-popover/index.gen.d.ts +1 -5
  66. package/dist/build/components/inline-popover/index.gen.d.ts.map +1 -1
  67. package/dist/build/components/inline-popover/index.gen.js +1 -4
  68. package/dist/build/components/inline-popover/inline-popover-popup.gen.d.ts +5 -15
  69. package/dist/build/components/inline-popover/inline-popover-popup.gen.d.ts.map +1 -1
  70. package/dist/build/components/inline-popover/inline-popover-popup.gen.js +2 -8
  71. package/dist/build/components/inline-popover/inline-popover-popup.gen.svelte +1 -2
  72. package/dist/build/components/inline-popover/inline-popover-popup.gen.svelte.d.ts.map +1 -1
  73. package/dist/build/components/inline-popover/inline-popover-positioner.gen.d.ts +5 -16
  74. package/dist/build/components/inline-popover/inline-popover-positioner.gen.d.ts.map +1 -1
  75. package/dist/build/components/inline-popover/inline-popover-positioner.gen.js +2 -8
  76. package/dist/build/components/inline-popover/inline-popover-positioner.gen.svelte +1 -2
  77. package/dist/build/components/inline-popover/inline-popover-positioner.gen.svelte.d.ts.map +1 -1
  78. package/dist/build/components/inline-popover/inline-popover-root.gen.d.ts +6 -18
  79. package/dist/build/components/inline-popover/inline-popover-root.gen.d.ts.map +1 -1
  80. package/dist/build/components/inline-popover/inline-popover-root.gen.js +2 -8
  81. package/dist/build/components/inline-popover/inline-popover-root.gen.svelte +1 -2
  82. package/dist/build/components/inline-popover/inline-popover-root.gen.svelte.d.ts.map +1 -1
  83. package/dist/build/components/menu/index.gen.d.ts +3 -7
  84. package/dist/build/components/menu/index.gen.d.ts.map +1 -1
  85. package/dist/build/components/menu/index.gen.js +1 -4
  86. package/dist/build/components/menu/menu-item.gen.d.ts +5 -17
  87. package/dist/build/components/menu/menu-item.gen.d.ts.map +1 -1
  88. package/dist/build/components/menu/menu-item.gen.js +2 -8
  89. package/dist/build/components/menu/menu-item.gen.svelte +1 -2
  90. package/dist/build/components/menu/menu-item.gen.svelte.d.ts.map +1 -1
  91. package/dist/build/components/menu/menu-popup.gen.d.ts +5 -16
  92. package/dist/build/components/menu/menu-popup.gen.d.ts.map +1 -1
  93. package/dist/build/components/menu/menu-popup.gen.js +2 -8
  94. package/dist/build/components/menu/menu-popup.gen.svelte +1 -2
  95. package/dist/build/components/menu/menu-popup.gen.svelte.d.ts.map +1 -1
  96. package/dist/build/components/menu/menu-positioner.gen.d.ts +5 -16
  97. package/dist/build/components/menu/menu-positioner.gen.d.ts.map +1 -1
  98. package/dist/build/components/menu/menu-positioner.gen.js +2 -8
  99. package/dist/build/components/menu/menu-positioner.gen.svelte +1 -2
  100. package/dist/build/components/menu/menu-positioner.gen.svelte.d.ts.map +1 -1
  101. package/dist/build/components/menu/menu-root.gen.d.ts +5 -17
  102. package/dist/build/components/menu/menu-root.gen.d.ts.map +1 -1
  103. package/dist/build/components/menu/menu-root.gen.js +2 -8
  104. package/dist/build/components/menu/menu-root.gen.svelte +1 -2
  105. package/dist/build/components/menu/menu-root.gen.svelte.d.ts.map +1 -1
  106. package/dist/build/components/menu/menu-submenu-root.gen.d.ts +22 -15
  107. package/dist/build/components/menu/menu-submenu-root.gen.d.ts.map +1 -1
  108. package/dist/build/components/menu/menu-submenu-root.gen.js +2 -8
  109. package/dist/build/components/menu/menu-submenu-root.gen.svelte +25 -4
  110. package/dist/build/components/menu/menu-submenu-root.gen.svelte.d.ts +4 -0
  111. package/dist/build/components/menu/menu-submenu-root.gen.svelte.d.ts.map +1 -1
  112. package/dist/build/components/menu/menu-submenu-trigger.gen.d.ts +17 -15
  113. package/dist/build/components/menu/menu-submenu-trigger.gen.d.ts.map +1 -1
  114. package/dist/build/components/menu/menu-submenu-trigger.gen.js +2 -8
  115. package/dist/build/components/menu/menu-submenu-trigger.gen.svelte +11 -4
  116. package/dist/build/components/menu/menu-submenu-trigger.gen.svelte.d.ts +2 -0
  117. package/dist/build/components/menu/menu-submenu-trigger.gen.svelte.d.ts.map +1 -1
  118. package/dist/build/components/menu/menu-trigger.gen.d.ts +5 -17
  119. package/dist/build/components/menu/menu-trigger.gen.d.ts.map +1 -1
  120. package/dist/build/components/menu/menu-trigger.gen.js +2 -8
  121. package/dist/build/components/menu/menu-trigger.gen.svelte +1 -2
  122. package/dist/build/components/menu/menu-trigger.gen.svelte.d.ts.map +1 -1
  123. package/dist/build/components/popover/index.gen.d.ts +2 -6
  124. package/dist/build/components/popover/index.gen.d.ts.map +1 -1
  125. package/dist/build/components/popover/index.gen.js +1 -4
  126. package/dist/build/components/popover/popover-popup.gen.d.ts +5 -15
  127. package/dist/build/components/popover/popover-popup.gen.d.ts.map +1 -1
  128. package/dist/build/components/popover/popover-popup.gen.js +2 -8
  129. package/dist/build/components/popover/popover-popup.gen.svelte +1 -2
  130. package/dist/build/components/popover/popover-popup.gen.svelte.d.ts.map +1 -1
  131. package/dist/build/components/popover/popover-positioner.gen.d.ts +5 -16
  132. package/dist/build/components/popover/popover-positioner.gen.d.ts.map +1 -1
  133. package/dist/build/components/popover/popover-positioner.gen.js +2 -8
  134. package/dist/build/components/popover/popover-positioner.gen.svelte +1 -2
  135. package/dist/build/components/popover/popover-positioner.gen.svelte.d.ts.map +1 -1
  136. package/dist/build/components/popover/popover-root.gen.d.ts +5 -17
  137. package/dist/build/components/popover/popover-root.gen.d.ts.map +1 -1
  138. package/dist/build/components/popover/popover-root.gen.js +2 -8
  139. package/dist/build/components/popover/popover-root.gen.svelte +1 -2
  140. package/dist/build/components/popover/popover-root.gen.svelte.d.ts.map +1 -1
  141. package/dist/build/components/popover/popover-trigger.gen.d.ts +5 -17
  142. package/dist/build/components/popover/popover-trigger.gen.d.ts.map +1 -1
  143. package/dist/build/components/popover/popover-trigger.gen.js +2 -8
  144. package/dist/build/components/popover/popover-trigger.gen.svelte +1 -2
  145. package/dist/build/components/popover/popover-trigger.gen.svelte.d.ts.map +1 -1
  146. package/dist/build/components/resizable/index.gen.d.ts +1 -5
  147. package/dist/build/components/resizable/index.gen.d.ts.map +1 -1
  148. package/dist/build/components/resizable/index.gen.js +1 -4
  149. package/dist/build/components/resizable/resizable-handle.gen.d.ts +5 -16
  150. package/dist/build/components/resizable/resizable-handle.gen.d.ts.map +1 -1
  151. package/dist/build/components/resizable/resizable-handle.gen.js +2 -8
  152. package/dist/build/components/resizable/resizable-handle.gen.svelte +1 -2
  153. package/dist/build/components/resizable/resizable-handle.gen.svelte.d.ts.map +1 -1
  154. package/dist/build/components/resizable/resizable-root.gen.d.ts +5 -17
  155. package/dist/build/components/resizable/resizable-root.gen.d.ts.map +1 -1
  156. package/dist/build/components/resizable/resizable-root.gen.js +2 -8
  157. package/dist/build/components/resizable/resizable-root.gen.svelte +1 -2
  158. package/dist/build/components/resizable/resizable-root.gen.svelte.d.ts.map +1 -1
  159. package/dist/build/components/table-handle/index.gen.d.ts +0 -3
  160. package/dist/build/components/table-handle/index.gen.d.ts.map +1 -1
  161. package/dist/build/components/table-handle/index.gen.js +1 -3
  162. package/dist/build/components/table-handle/table-handle-column-menu-root.gen.d.ts +5 -16
  163. package/dist/build/components/table-handle/table-handle-column-menu-root.gen.d.ts.map +1 -1
  164. package/dist/build/components/table-handle/table-handle-column-menu-root.gen.js +2 -8
  165. package/dist/build/components/table-handle/table-handle-column-menu-root.gen.svelte +1 -2
  166. package/dist/build/components/table-handle/table-handle-column-menu-root.gen.svelte.d.ts.map +1 -1
  167. package/dist/build/components/table-handle/table-handle-column-menu-trigger.gen.d.ts +5 -16
  168. package/dist/build/components/table-handle/table-handle-column-menu-trigger.gen.d.ts.map +1 -1
  169. package/dist/build/components/table-handle/table-handle-column-menu-trigger.gen.js +2 -8
  170. package/dist/build/components/table-handle/table-handle-column-menu-trigger.gen.svelte +1 -2
  171. package/dist/build/components/table-handle/table-handle-column-menu-trigger.gen.svelte.d.ts.map +1 -1
  172. package/dist/build/components/table-handle/table-handle-column-popup.gen.d.ts +5 -15
  173. package/dist/build/components/table-handle/table-handle-column-popup.gen.d.ts.map +1 -1
  174. package/dist/build/components/table-handle/table-handle-column-popup.gen.js +2 -8
  175. package/dist/build/components/table-handle/table-handle-column-popup.gen.svelte +1 -2
  176. package/dist/build/components/table-handle/table-handle-column-popup.gen.svelte.d.ts.map +1 -1
  177. package/dist/build/components/table-handle/table-handle-column-positioner.gen.d.ts +5 -16
  178. package/dist/build/components/table-handle/table-handle-column-positioner.gen.d.ts.map +1 -1
  179. package/dist/build/components/table-handle/table-handle-column-positioner.gen.js +2 -8
  180. package/dist/build/components/table-handle/table-handle-column-positioner.gen.svelte +1 -2
  181. package/dist/build/components/table-handle/table-handle-column-positioner.gen.svelte.d.ts.map +1 -1
  182. package/dist/build/components/table-handle/table-handle-drag-preview.gen.d.ts +5 -16
  183. package/dist/build/components/table-handle/table-handle-drag-preview.gen.d.ts.map +1 -1
  184. package/dist/build/components/table-handle/table-handle-drag-preview.gen.js +2 -8
  185. package/dist/build/components/table-handle/table-handle-drag-preview.gen.svelte +1 -2
  186. package/dist/build/components/table-handle/table-handle-drag-preview.gen.svelte.d.ts.map +1 -1
  187. package/dist/build/components/table-handle/table-handle-drop-indicator.gen.d.ts +5 -16
  188. package/dist/build/components/table-handle/table-handle-drop-indicator.gen.d.ts.map +1 -1
  189. package/dist/build/components/table-handle/table-handle-drop-indicator.gen.js +2 -8
  190. package/dist/build/components/table-handle/table-handle-drop-indicator.gen.svelte +1 -2
  191. package/dist/build/components/table-handle/table-handle-drop-indicator.gen.svelte.d.ts.map +1 -1
  192. package/dist/build/components/table-handle/table-handle-root.gen.d.ts +5 -16
  193. package/dist/build/components/table-handle/table-handle-root.gen.d.ts.map +1 -1
  194. package/dist/build/components/table-handle/table-handle-root.gen.js +2 -8
  195. package/dist/build/components/table-handle/table-handle-root.gen.svelte +1 -2
  196. package/dist/build/components/table-handle/table-handle-root.gen.svelte.d.ts.map +1 -1
  197. package/dist/build/components/table-handle/table-handle-row-menu-root.gen.d.ts +5 -16
  198. package/dist/build/components/table-handle/table-handle-row-menu-root.gen.d.ts.map +1 -1
  199. package/dist/build/components/table-handle/table-handle-row-menu-root.gen.js +2 -8
  200. package/dist/build/components/table-handle/table-handle-row-menu-root.gen.svelte +1 -2
  201. package/dist/build/components/table-handle/table-handle-row-menu-root.gen.svelte.d.ts.map +1 -1
  202. package/dist/build/components/table-handle/table-handle-row-menu-trigger.gen.d.ts +5 -16
  203. package/dist/build/components/table-handle/table-handle-row-menu-trigger.gen.d.ts.map +1 -1
  204. package/dist/build/components/table-handle/table-handle-row-menu-trigger.gen.js +2 -8
  205. package/dist/build/components/table-handle/table-handle-row-menu-trigger.gen.svelte +1 -2
  206. package/dist/build/components/table-handle/table-handle-row-menu-trigger.gen.svelte.d.ts.map +1 -1
  207. package/dist/build/components/table-handle/table-handle-row-popup.gen.d.ts +5 -15
  208. package/dist/build/components/table-handle/table-handle-row-popup.gen.d.ts.map +1 -1
  209. package/dist/build/components/table-handle/table-handle-row-popup.gen.js +2 -8
  210. package/dist/build/components/table-handle/table-handle-row-popup.gen.svelte +1 -2
  211. package/dist/build/components/table-handle/table-handle-row-popup.gen.svelte.d.ts.map +1 -1
  212. package/dist/build/components/table-handle/table-handle-row-positioner.gen.d.ts +5 -16
  213. package/dist/build/components/table-handle/table-handle-row-positioner.gen.d.ts.map +1 -1
  214. package/dist/build/components/table-handle/table-handle-row-positioner.gen.js +2 -8
  215. package/dist/build/components/table-handle/table-handle-row-positioner.gen.svelte +1 -2
  216. package/dist/build/components/table-handle/table-handle-row-positioner.gen.svelte.d.ts.map +1 -1
  217. package/dist/build/components/tooltip/index.gen.d.ts +1 -5
  218. package/dist/build/components/tooltip/index.gen.d.ts.map +1 -1
  219. package/dist/build/components/tooltip/index.gen.js +1 -4
  220. package/dist/build/components/tooltip/tooltip-popup.gen.d.ts +5 -15
  221. package/dist/build/components/tooltip/tooltip-popup.gen.d.ts.map +1 -1
  222. package/dist/build/components/tooltip/tooltip-popup.gen.js +2 -8
  223. package/dist/build/components/tooltip/tooltip-popup.gen.svelte +1 -2
  224. package/dist/build/components/tooltip/tooltip-popup.gen.svelte.d.ts.map +1 -1
  225. package/dist/build/components/tooltip/tooltip-positioner.gen.d.ts +5 -16
  226. package/dist/build/components/tooltip/tooltip-positioner.gen.d.ts.map +1 -1
  227. package/dist/build/components/tooltip/tooltip-positioner.gen.js +2 -8
  228. package/dist/build/components/tooltip/tooltip-positioner.gen.svelte +1 -2
  229. package/dist/build/components/tooltip/tooltip-positioner.gen.svelte.d.ts.map +1 -1
  230. package/dist/build/components/tooltip/tooltip-root.gen.d.ts +5 -17
  231. package/dist/build/components/tooltip/tooltip-root.gen.d.ts.map +1 -1
  232. package/dist/build/components/tooltip/tooltip-root.gen.js +2 -8
  233. package/dist/build/components/tooltip/tooltip-root.gen.svelte +1 -2
  234. package/dist/build/components/tooltip/tooltip-root.gen.svelte.d.ts.map +1 -1
  235. package/dist/build/components/tooltip/tooltip-trigger.gen.d.ts +5 -16
  236. package/dist/build/components/tooltip/tooltip-trigger.gen.d.ts.map +1 -1
  237. package/dist/build/components/tooltip/tooltip-trigger.gen.js +2 -8
  238. package/dist/build/components/tooltip/tooltip-trigger.gen.svelte +1 -2
  239. package/dist/build/components/tooltip/tooltip-trigger.gen.svelte.d.ts.map +1 -1
  240. package/package.json +5 -5
  241. package/src/components/autocomplete/autocomplete-empty.gen.svelte +1 -2
  242. package/src/components/autocomplete/autocomplete-empty.gen.ts +6 -15
  243. package/src/components/autocomplete/autocomplete-item.gen.svelte +1 -2
  244. package/src/components/autocomplete/autocomplete-item.gen.ts +6 -18
  245. package/src/components/autocomplete/autocomplete-popup.gen.svelte +1 -2
  246. package/src/components/autocomplete/autocomplete-popup.gen.ts +6 -18
  247. package/src/components/autocomplete/autocomplete-positioner.gen.svelte +1 -2
  248. package/src/components/autocomplete/autocomplete-positioner.gen.ts +6 -16
  249. package/src/components/autocomplete/autocomplete-root.gen.svelte +1 -2
  250. package/src/components/autocomplete/autocomplete-root.gen.ts +6 -18
  251. package/src/components/autocomplete/index.gen.ts +4 -8
  252. package/src/components/block-handle/block-handle-add.gen.svelte +1 -2
  253. package/src/components/block-handle/block-handle-add.gen.ts +6 -16
  254. package/src/components/block-handle/block-handle-draggable.gen.svelte +1 -2
  255. package/src/components/block-handle/block-handle-draggable.gen.ts +6 -16
  256. package/src/components/block-handle/block-handle-popup.gen.svelte +1 -2
  257. package/src/components/block-handle/block-handle-popup.gen.ts +6 -15
  258. package/src/components/block-handle/block-handle-positioner.gen.svelte +1 -2
  259. package/src/components/block-handle/block-handle-positioner.gen.ts +6 -16
  260. package/src/components/block-handle/block-handle-root.gen.svelte +1 -2
  261. package/src/components/block-handle/block-handle-root.gen.ts +6 -18
  262. package/src/components/block-handle/index.gen.ts +2 -6
  263. package/src/components/drop-indicator/drop-indicator.gen.svelte +1 -2
  264. package/src/components/drop-indicator/drop-indicator.gen.ts +6 -16
  265. package/src/components/drop-indicator/index.gen.ts +1 -3
  266. package/src/components/inline-popover/index.gen.ts +2 -6
  267. package/src/components/inline-popover/inline-popover-popup.gen.svelte +1 -2
  268. package/src/components/inline-popover/inline-popover-popup.gen.ts +6 -15
  269. package/src/components/inline-popover/inline-popover-positioner.gen.svelte +1 -2
  270. package/src/components/inline-popover/inline-popover-positioner.gen.ts +6 -16
  271. package/src/components/inline-popover/inline-popover-root.gen.svelte +1 -2
  272. package/src/components/inline-popover/inline-popover-root.gen.ts +7 -19
  273. package/src/components/menu/index.gen.ts +4 -8
  274. package/src/components/menu/menu-item.gen.svelte +1 -2
  275. package/src/components/menu/menu-item.gen.ts +6 -18
  276. package/src/components/menu/menu-popup.gen.svelte +1 -2
  277. package/src/components/menu/menu-popup.gen.ts +6 -16
  278. package/src/components/menu/menu-positioner.gen.svelte +1 -2
  279. package/src/components/menu/menu-positioner.gen.ts +6 -16
  280. package/src/components/menu/menu-root.gen.svelte +1 -2
  281. package/src/components/menu/menu-root.gen.ts +6 -18
  282. package/src/components/menu/menu-submenu-root.gen.svelte +25 -4
  283. package/src/components/menu/menu-submenu-root.gen.ts +23 -15
  284. package/src/components/menu/menu-submenu-trigger.gen.svelte +11 -4
  285. package/src/components/menu/menu-submenu-trigger.gen.ts +18 -15
  286. package/src/components/menu/menu-trigger.gen.svelte +1 -2
  287. package/src/components/menu/menu-trigger.gen.ts +6 -18
  288. package/src/components/popover/index.gen.ts +3 -7
  289. package/src/components/popover/popover-popup.gen.svelte +1 -2
  290. package/src/components/popover/popover-popup.gen.ts +6 -15
  291. package/src/components/popover/popover-positioner.gen.svelte +1 -2
  292. package/src/components/popover/popover-positioner.gen.ts +6 -16
  293. package/src/components/popover/popover-root.gen.svelte +1 -2
  294. package/src/components/popover/popover-root.gen.ts +6 -18
  295. package/src/components/popover/popover-trigger.gen.svelte +1 -2
  296. package/src/components/popover/popover-trigger.gen.ts +6 -18
  297. package/src/components/resizable/index.gen.ts +2 -6
  298. package/src/components/resizable/resizable-handle.gen.svelte +1 -2
  299. package/src/components/resizable/resizable-handle.gen.ts +6 -16
  300. package/src/components/resizable/resizable-root.gen.svelte +1 -2
  301. package/src/components/resizable/resizable-root.gen.ts +6 -18
  302. package/src/components/table-handle/index.gen.ts +1 -3
  303. package/src/components/table-handle/table-handle-column-menu-root.gen.svelte +1 -2
  304. package/src/components/table-handle/table-handle-column-menu-root.gen.ts +6 -16
  305. package/src/components/table-handle/table-handle-column-menu-trigger.gen.svelte +1 -2
  306. package/src/components/table-handle/table-handle-column-menu-trigger.gen.ts +6 -16
  307. package/src/components/table-handle/table-handle-column-popup.gen.svelte +1 -2
  308. package/src/components/table-handle/table-handle-column-popup.gen.ts +6 -15
  309. package/src/components/table-handle/table-handle-column-positioner.gen.svelte +1 -2
  310. package/src/components/table-handle/table-handle-column-positioner.gen.ts +6 -16
  311. package/src/components/table-handle/table-handle-drag-preview.gen.svelte +1 -2
  312. package/src/components/table-handle/table-handle-drag-preview.gen.ts +6 -16
  313. package/src/components/table-handle/table-handle-drop-indicator.gen.svelte +1 -2
  314. package/src/components/table-handle/table-handle-drop-indicator.gen.ts +6 -16
  315. package/src/components/table-handle/table-handle-root.gen.svelte +1 -2
  316. package/src/components/table-handle/table-handle-root.gen.ts +6 -16
  317. package/src/components/table-handle/table-handle-row-menu-root.gen.svelte +1 -2
  318. package/src/components/table-handle/table-handle-row-menu-root.gen.ts +6 -16
  319. package/src/components/table-handle/table-handle-row-menu-trigger.gen.svelte +1 -2
  320. package/src/components/table-handle/table-handle-row-menu-trigger.gen.ts +6 -16
  321. package/src/components/table-handle/table-handle-row-popup.gen.svelte +1 -2
  322. package/src/components/table-handle/table-handle-row-popup.gen.ts +6 -15
  323. package/src/components/table-handle/table-handle-row-positioner.gen.svelte +1 -2
  324. package/src/components/table-handle/table-handle-row-positioner.gen.ts +6 -16
  325. package/src/components/tooltip/index.gen.ts +2 -6
  326. package/src/components/tooltip/tooltip-popup.gen.svelte +1 -2
  327. package/src/components/tooltip/tooltip-popup.gen.ts +6 -15
  328. package/src/components/tooltip/tooltip-positioner.gen.svelte +1 -2
  329. package/src/components/tooltip/tooltip-positioner.gen.ts +6 -16
  330. package/src/components/tooltip/tooltip-root.gen.svelte +1 -2
  331. package/src/components/tooltip/tooltip-root.gen.ts +6 -18
  332. package/src/components/tooltip/tooltip-trigger.gen.svelte +1 -2
  333. package/src/components/tooltip/tooltip-trigger.gen.ts +6 -16
@@ -1,17 +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
- import type { BlockHandleDraggableProps as BlockHandleDraggableElementProps } from '@prosekit/web/block-handle';
3
+ import type { BlockHandleDraggableElement, BlockHandleDraggableProps as BlockHandleDraggableElementProps } from '@prosekit/web/block-handle';
6
4
  import type { Component, Snippet } from 'svelte';
5
+ import type { HTMLAttributes } from 'svelte/elements';
7
6
 
8
7
  import BlockHandleDraggableComponent from './block-handle-draggable.gen.svelte';
9
8
 
10
- /**
11
- * Props for the {@link BlockHandleDraggable} Svelte component.
12
- *
13
- * @public
14
- */
9
+ /** Props for the {@link BlockHandleDraggable} Svelte component. */
15
10
  export interface BlockHandleDraggableProps {
16
11
  /**
17
12
  * The ProseKit editor instance.
@@ -21,12 +16,7 @@ export interface BlockHandleDraggableProps {
21
16
  */
22
17
  editor?: BlockHandleDraggableElementProps['editor'];
23
18
  children?: Snippet;
24
- [key: string]: unknown;
25
19
  }
26
20
 
27
- /**
28
- * A Svelte component that renders an `prosekit-block-handle-draggable` custom element.
29
- *
30
- * @public
31
- */
32
- export const BlockHandleDraggable: Component<BlockHandleDraggableProps> = BlockHandleDraggableComponent as unknown as Component<BlockHandleDraggableProps>;
21
+ /** A Svelte component that renders an `prosekit-block-handle-draggable` custom element. */
22
+ export const BlockHandleDraggable: Component<BlockHandleDraggableProps & HTMLAttributes<BlockHandleDraggableElement>> = BlockHandleDraggableComponent as Component<BlockHandleDraggableProps & HTMLAttributes<BlockHandleDraggableElement>>;
@@ -1,6 +1,5 @@
1
- <!-- This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly. -->
2
-
3
1
  <script lang="ts">
2
+ // This file is auto-generated by "@aria-ui/cli". Do not edit this file directly.
4
3
  import { registerBlockHandlePopupElement } from '@prosekit/web/block-handle'
5
4
  registerBlockHandlePopupElement()
6
5
 
@@ -1,24 +1,15 @@
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
 
3
+ import type { BlockHandlePopupElement } from '@prosekit/web/block-handle';
5
4
  import type { Component, Snippet } from 'svelte';
5
+ import type { HTMLAttributes } from 'svelte/elements';
6
6
 
7
7
  import BlockHandlePopupComponent from './block-handle-popup.gen.svelte';
8
8
 
9
- /**
10
- * Props for the {@link BlockHandlePopup} Svelte component.
11
- *
12
- * @public
13
- */
9
+ /** Props for the {@link BlockHandlePopup} Svelte component. */
14
10
  export interface BlockHandlePopupProps {
15
11
  children?: Snippet;
16
- [key: string]: unknown;
17
12
  }
18
13
 
19
- /**
20
- * A Svelte component that renders an `prosekit-block-handle-popup` custom element.
21
- *
22
- * @public
23
- */
24
- export const BlockHandlePopup: Component<BlockHandlePopupProps> = BlockHandlePopupComponent as unknown as Component<BlockHandlePopupProps>;
14
+ /** A Svelte component that renders an `prosekit-block-handle-popup` custom element. */
15
+ export const BlockHandlePopup: Component<BlockHandlePopupProps & HTMLAttributes<BlockHandlePopupElement>> = BlockHandlePopupComponent as Component<BlockHandlePopupProps & HTMLAttributes<BlockHandlePopupElement>>;
@@ -1,6 +1,5 @@
1
- <!-- This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly. -->
2
-
3
1
  <script lang="ts">
2
+ // This file is auto-generated by "@aria-ui/cli". Do not edit this file directly.
4
3
  import { registerBlockHandlePositionerElement } from '@prosekit/web/block-handle'
5
4
  import type { BlockHandlePositionerElement } from '@prosekit/web/block-handle'
6
5
  registerBlockHandlePositionerElement()
@@ -1,17 +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
- import type { BlockHandlePositionerProps as BlockHandlePositionerElementProps } from '@prosekit/web/block-handle';
3
+ import type { BlockHandlePositionerElement, BlockHandlePositionerProps as BlockHandlePositionerElementProps } from '@prosekit/web/block-handle';
6
4
  import type { Component, Snippet } from 'svelte';
5
+ import type { HTMLAttributes } from 'svelte/elements';
7
6
 
8
7
  import BlockHandlePositionerComponent from './block-handle-positioner.gen.svelte';
9
8
 
10
- /**
11
- * Props for the {@link BlockHandlePositioner} Svelte component.
12
- *
13
- * @public
14
- */
9
+ /** Props for the {@link BlockHandlePositioner} Svelte component. */
15
10
  export interface BlockHandlePositionerProps {
16
11
  /**
17
12
  * The placement of the popover, relative to the hovered block.
@@ -134,12 +129,7 @@ export interface BlockHandlePositionerProps {
134
129
  */
135
130
  altBoundary?: BlockHandlePositionerElementProps['altBoundary'];
136
131
  children?: Snippet;
137
- [key: string]: unknown;
138
132
  }
139
133
 
140
- /**
141
- * A Svelte component that renders an `prosekit-block-handle-positioner` custom element.
142
- *
143
- * @public
144
- */
145
- export const BlockHandlePositioner: Component<BlockHandlePositionerProps> = BlockHandlePositionerComponent as unknown as Component<BlockHandlePositionerProps>;
134
+ /** A Svelte component that renders an `prosekit-block-handle-positioner` custom element. */
135
+ export const BlockHandlePositioner: Component<BlockHandlePositionerProps & HTMLAttributes<BlockHandlePositionerElement>> = BlockHandlePositionerComponent as Component<BlockHandlePositionerProps & HTMLAttributes<BlockHandlePositionerElement>>;
@@ -1,6 +1,5 @@
1
- <!-- This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly. -->
2
-
3
1
  <script lang="ts">
2
+ // This file is auto-generated by "@aria-ui/cli". Do not edit this file directly.
4
3
  import { registerBlockHandleRootElement } from '@prosekit/web/block-handle'
5
4
  import type { BlockHandleRootElement } from '@prosekit/web/block-handle'
6
5
  import { useEditorContext } from '../../contexts/editor-context.ts'
@@ -1,17 +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
- import type { BlockHandleRootEvents, BlockHandleRootProps as BlockHandleRootElementProps } from '@prosekit/web/block-handle';
3
+ import type { BlockHandleRootElement, BlockHandleRootEvents, BlockHandleRootProps as BlockHandleRootElementProps } from '@prosekit/web/block-handle';
6
4
  import type { Component, Snippet } from 'svelte';
5
+ import type { HTMLAttributes } from 'svelte/elements';
7
6
 
8
7
  import BlockHandleRootComponent from './block-handle-root.gen.svelte';
9
8
 
10
- /**
11
- * Props for the {@link BlockHandleRoot} Svelte component.
12
- *
13
- * @public
14
- */
9
+ /** Props for the {@link BlockHandleRoot} Svelte component. */
15
10
  export interface BlockHandleRootProps {
16
11
  /**
17
12
  * The ProseKit editor instance.
@@ -23,14 +18,7 @@ export interface BlockHandleRootProps {
23
18
  /** Fired when the hovered block changes. */
24
19
  onStateChange?: (event: BlockHandleRootEvents['stateChange']) => void;
25
20
  children?: Snippet;
26
- [key: string]: unknown;
27
21
  }
28
22
 
29
- /**
30
- * A Svelte component that renders an `prosekit-block-handle-root` custom element.
31
- *
32
- * @public
33
- */
34
- export const BlockHandleRoot: Component<BlockHandleRootProps> = BlockHandleRootComponent as unknown as Component<BlockHandleRootProps>;
35
-
36
- export type { BlockHandleRootEvents };
23
+ /** A Svelte component that renders an `prosekit-block-handle-root` custom element. */
24
+ export const BlockHandleRoot: Component<BlockHandleRootProps & HTMLAttributes<BlockHandleRootElement>> = BlockHandleRootComponent as Component<BlockHandleRootProps & HTMLAttributes<BlockHandleRootElement>>;
@@ -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 { BlockHandleAdd, type BlockHandleAddProps } from './block-handle-add.gen.ts';
6
4
 
@@ -10,6 +8,4 @@ export { BlockHandlePopup, type BlockHandlePopupProps } from './block-handle-pop
10
8
 
11
9
  export { BlockHandlePositioner, type BlockHandlePositionerProps } from './block-handle-positioner.gen.ts';
12
10
 
13
- export { BlockHandleRoot, type BlockHandleRootProps, type BlockHandleRootEvents } from './block-handle-root.gen.ts';
14
-
15
- export { BlockHandleStateChangeEvent } from '@prosekit/web/block-handle';
11
+ export { BlockHandleRoot, type BlockHandleRootProps } from './block-handle-root.gen.ts';
@@ -1,6 +1,5 @@
1
- <!-- This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly. -->
2
-
3
1
  <script lang="ts">
2
+ // This file is auto-generated by "@aria-ui/cli". Do not edit this file directly.
4
3
  import { registerDropIndicatorElement } from '@prosekit/web/drop-indicator'
5
4
  import type { DropIndicatorElement } from '@prosekit/web/drop-indicator'
6
5
  import { useEditorContext } from '../../contexts/editor-context.ts'
@@ -1,17 +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
- import type { DropIndicatorProps as DropIndicatorElementProps } from '@prosekit/web/drop-indicator';
3
+ import type { DropIndicatorElement, DropIndicatorProps as DropIndicatorElementProps } from '@prosekit/web/drop-indicator';
6
4
  import type { Component, Snippet } from 'svelte';
5
+ import type { HTMLAttributes } from 'svelte/elements';
7
6
 
8
7
  import DropIndicatorComponent from './drop-indicator.gen.svelte';
9
8
 
10
- /**
11
- * Props for the {@link DropIndicator} Svelte component.
12
- *
13
- * @public
14
- */
9
+ /** Props for the {@link DropIndicator} Svelte component. */
15
10
  export interface DropIndicatorProps {
16
11
  /**
17
12
  * The ProseKit editor instance.
@@ -27,12 +22,7 @@ export interface DropIndicatorProps {
27
22
  */
28
23
  width?: DropIndicatorElementProps['width'];
29
24
  children?: Snippet;
30
- [key: string]: unknown;
31
25
  }
32
26
 
33
- /**
34
- * A Svelte component that renders an `prosekit-drop-indicator` custom element.
35
- *
36
- * @public
37
- */
38
- export const DropIndicator: Component<DropIndicatorProps> = DropIndicatorComponent as unknown as Component<DropIndicatorProps>;
27
+ /** A Svelte component that renders an `prosekit-drop-indicator` custom element. */
28
+ export const DropIndicator: Component<DropIndicatorProps & HTMLAttributes<DropIndicatorElement>> = DropIndicatorComponent as Component<DropIndicatorProps & HTMLAttributes<DropIndicatorElement>>;
@@ -1,5 +1,3 @@
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 { DropIndicator, type DropIndicatorProps } from './drop-indicator.gen.ts';
@@ -1,11 +1,7 @@
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 { InlinePopoverPopup, type InlinePopoverPopupProps } from './inline-popover-popup.gen.ts';
6
4
 
7
5
  export { InlinePopoverPositioner, type InlinePopoverPositionerProps } from './inline-popover-positioner.gen.ts';
8
6
 
9
- export { InlinePopoverRoot, type InlinePopoverRootProps, type InlinePopoverRootEvents } from './inline-popover-root.gen.ts';
10
-
11
- export { OpenChangeEvent } from '@prosekit/web/inline-popover';
7
+ export { InlinePopoverRoot, type InlinePopoverRootProps } from './inline-popover-root.gen.ts';
@@ -1,6 +1,5 @@
1
- <!-- This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly. -->
2
-
3
1
  <script lang="ts">
2
+ // This file is auto-generated by "@aria-ui/cli". Do not edit this file directly.
4
3
  import { registerInlinePopoverPopupElement } from '@prosekit/web/inline-popover'
5
4
  registerInlinePopoverPopupElement()
6
5
 
@@ -1,24 +1,15 @@
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
 
3
+ import type { InlinePopoverPopupElement } from '@prosekit/web/inline-popover';
5
4
  import type { Component, Snippet } from 'svelte';
5
+ import type { HTMLAttributes } from 'svelte/elements';
6
6
 
7
7
  import InlinePopoverPopupComponent from './inline-popover-popup.gen.svelte';
8
8
 
9
- /**
10
- * Props for the {@link InlinePopoverPopup} Svelte component.
11
- *
12
- * @public
13
- */
9
+ /** Props for the {@link InlinePopoverPopup} Svelte component. */
14
10
  export interface InlinePopoverPopupProps {
15
11
  children?: Snippet;
16
- [key: string]: unknown;
17
12
  }
18
13
 
19
- /**
20
- * A Svelte component that renders an `prosekit-inline-popover-popup` custom element.
21
- *
22
- * @public
23
- */
24
- export const InlinePopoverPopup: Component<InlinePopoverPopupProps> = InlinePopoverPopupComponent as unknown as Component<InlinePopoverPopupProps>;
14
+ /** A Svelte component that renders an `prosekit-inline-popover-popup` custom element. */
15
+ export const InlinePopoverPopup: Component<InlinePopoverPopupProps & HTMLAttributes<InlinePopoverPopupElement>> = InlinePopoverPopupComponent as Component<InlinePopoverPopupProps & HTMLAttributes<InlinePopoverPopupElement>>;
@@ -1,6 +1,5 @@
1
- <!-- This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly. -->
2
-
3
1
  <script lang="ts">
2
+ // This file is auto-generated by "@aria-ui/cli". Do not edit this file directly.
4
3
  import { registerInlinePopoverPositionerElement } from '@prosekit/web/inline-popover'
5
4
  import type { InlinePopoverPositionerElement } from '@prosekit/web/inline-popover'
6
5
  registerInlinePopoverPositionerElement()
@@ -1,17 +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
- import type { InlinePopoverPositionerProps as InlinePopoverPositionerElementProps } from '@prosekit/web/inline-popover';
3
+ import type { InlinePopoverPositionerElement, InlinePopoverPositionerProps as InlinePopoverPositionerElementProps } from '@prosekit/web/inline-popover';
6
4
  import type { Component, Snippet } from 'svelte';
5
+ import type { HTMLAttributes } from 'svelte/elements';
7
6
 
8
7
  import InlinePopoverPositionerComponent from './inline-popover-positioner.gen.svelte';
9
8
 
10
- /**
11
- * Props for the {@link InlinePopoverPositioner} Svelte component.
12
- *
13
- * @public
14
- */
9
+ /** Props for the {@link InlinePopoverPositioner} Svelte component. */
15
10
  export interface InlinePopoverPositionerProps {
16
11
  /**
17
12
  * The initial placement of the floating element
@@ -140,12 +135,7 @@ export interface InlinePopoverPositionerProps {
140
135
  */
141
136
  altBoundary?: InlinePopoverPositionerElementProps['altBoundary'];
142
137
  children?: Snippet;
143
- [key: string]: unknown;
144
138
  }
145
139
 
146
- /**
147
- * A Svelte component that renders an `prosekit-inline-popover-positioner` custom element.
148
- *
149
- * @public
150
- */
151
- export const InlinePopoverPositioner: Component<InlinePopoverPositionerProps> = InlinePopoverPositionerComponent as unknown as Component<InlinePopoverPositionerProps>;
140
+ /** A Svelte component that renders an `prosekit-inline-popover-positioner` custom element. */
141
+ export const InlinePopoverPositioner: Component<InlinePopoverPositionerProps & HTMLAttributes<InlinePopoverPositionerElement>> = InlinePopoverPositionerComponent as Component<InlinePopoverPositionerProps & HTMLAttributes<InlinePopoverPositionerElement>>;
@@ -1,6 +1,5 @@
1
- <!-- This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly. -->
2
-
3
1
  <script lang="ts">
2
+ // This file is auto-generated by "@aria-ui/cli". Do not edit this file directly.
4
3
  import { registerInlinePopoverRootElement } from '@prosekit/web/inline-popover'
5
4
  import type { InlinePopoverRootElement } from '@prosekit/web/inline-popover'
6
5
  import { useEditorContext } from '../../contexts/editor-context.ts'
@@ -1,17 +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
- import type { InlinePopoverRootEvents, InlinePopoverRootProps as InlinePopoverRootElementProps } from '@prosekit/web/inline-popover';
3
+ import type { InlinePopoverRootElement, InlinePopoverRootEvents, InlinePopoverRootProps as InlinePopoverRootElementProps } from '@prosekit/web/inline-popover';
6
4
  import type { Component, Snippet } from 'svelte';
5
+ import type { HTMLAttributes } from 'svelte/elements';
7
6
 
8
7
  import InlinePopoverRootComponent from './inline-popover-root.gen.svelte';
9
8
 
10
- /**
11
- * Props for the {@link InlinePopoverRoot} Svelte component.
12
- *
13
- * @public
14
- */
9
+ /** Props for the {@link InlinePopoverRoot} Svelte component. */
15
10
  export interface InlinePopoverRootProps {
16
11
  /**
17
12
  * The ProseKit editor instance.
@@ -44,17 +39,10 @@ export interface InlinePopoverRootProps {
44
39
  * @default false
45
40
  */
46
41
  disabled?: InlinePopoverRootElementProps['disabled'];
47
- /** */
42
+ /** Emitted when the open state of the popover changes. */
48
43
  onOpenChange?: (event: InlinePopoverRootEvents['openChange']) => void;
49
44
  children?: Snippet;
50
- [key: string]: unknown;
51
45
  }
52
46
 
53
- /**
54
- * A Svelte component that renders an `prosekit-inline-popover-root` custom element.
55
- *
56
- * @public
57
- */
58
- export const InlinePopoverRoot: Component<InlinePopoverRootProps> = InlinePopoverRootComponent as unknown as Component<InlinePopoverRootProps>;
59
-
60
- export type { InlinePopoverRootEvents };
47
+ /** A Svelte component that renders an `prosekit-inline-popover-root` custom element. */
48
+ export const InlinePopoverRoot: Component<InlinePopoverRootProps & HTMLAttributes<InlinePopoverRootElement>> = InlinePopoverRootComponent as Component<InlinePopoverRootProps & HTMLAttributes<InlinePopoverRootElement>>;
@@ -1,19 +1,15 @@
1
- /**
2
- * This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly.
3
- */
1
+ // This file is auto-generated by "@aria-ui/cli". Do not edit this file directly.
4
2
 
5
- export { MenuItem, type MenuItemProps, type MenuItemEvents } from './menu-item.gen.ts';
3
+ export { MenuItem, type MenuItemProps } from './menu-item.gen.ts';
6
4
 
7
5
  export { MenuPopup, type MenuPopupProps } from './menu-popup.gen.ts';
8
6
 
9
7
  export { MenuPositioner, type MenuPositionerProps } from './menu-positioner.gen.ts';
10
8
 
11
- export { MenuRoot, type MenuRootProps, type MenuRootEvents } from './menu-root.gen.ts';
9
+ export { MenuRoot, type MenuRootProps } from './menu-root.gen.ts';
12
10
 
13
11
  export { MenuSubmenuRoot, type MenuSubmenuRootProps } from './menu-submenu-root.gen.ts';
14
12
 
15
13
  export { MenuSubmenuTrigger, type MenuSubmenuTriggerProps } from './menu-submenu-trigger.gen.ts';
16
14
 
17
- export { MenuTrigger, type MenuTriggerProps, type MenuTriggerEvents } from './menu-trigger.gen.ts';
18
-
19
- export { OpenChangeEvent, SelectEvent } from '@prosekit/web/menu';
15
+ export { MenuTrigger, type MenuTriggerProps } from './menu-trigger.gen.ts';
@@ -1,6 +1,5 @@
1
- <!-- This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly. -->
2
-
3
1
  <script lang="ts">
2
+ // This file is auto-generated by "@aria-ui/cli". Do not edit this file directly.
4
3
  import { registerMenuItemElement } from '@prosekit/web/menu'
5
4
  import type { MenuItemElement } from '@prosekit/web/menu'
6
5
  registerMenuItemElement()
@@ -1,17 +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
- import type { MenuItemEvents, MenuItemProps as MenuItemElementProps } from '@prosekit/web/menu';
3
+ import type { MenuItemElement, MenuItemEvents, MenuItemProps as MenuItemElementProps } from '@prosekit/web/menu';
6
4
  import type { Component, Snippet } from 'svelte';
5
+ import type { HTMLAttributes } from 'svelte/elements';
7
6
 
8
7
  import MenuItemComponent from './menu-item.gen.svelte';
9
8
 
10
- /**
11
- * Props for the {@link MenuItem} Svelte component.
12
- *
13
- * @public
14
- */
9
+ /** Props for the {@link MenuItem} Svelte component. */
15
10
  export interface MenuItemProps {
16
11
  /**
17
12
  * The unique value for this menu item.
@@ -34,14 +29,7 @@ export interface MenuItemProps {
34
29
  /** Emitted when the the item is selected. */
35
30
  onSelect?: (event: MenuItemEvents['select']) => void;
36
31
  children?: Snippet;
37
- [key: string]: unknown;
38
32
  }
39
33
 
40
- /**
41
- * A Svelte component that renders an `prosekit-menu-item` custom element.
42
- *
43
- * @public
44
- */
45
- export const MenuItem: Component<MenuItemProps> = MenuItemComponent as unknown as Component<MenuItemProps>;
46
-
47
- export type { MenuItemEvents };
34
+ /** A Svelte component that renders an `prosekit-menu-item` custom element. */
35
+ export const MenuItem: Component<MenuItemProps & HTMLAttributes<MenuItemElement>> = MenuItemComponent as Component<MenuItemProps & HTMLAttributes<MenuItemElement>>;
@@ -1,6 +1,5 @@
1
- <!-- This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly. -->
2
-
3
1
  <script lang="ts">
2
+ // This file is auto-generated by "@aria-ui/cli". Do not edit this file directly.
4
3
  import { registerMenuPopupElement } from '@prosekit/web/menu'
5
4
  import type { MenuPopupElement } from '@prosekit/web/menu'
6
5
  registerMenuPopupElement()
@@ -1,17 +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
- import type { MenuPopupProps as MenuPopupElementProps } from '@prosekit/web/menu';
3
+ import type { MenuPopupElement, MenuPopupProps as MenuPopupElementProps } from '@prosekit/web/menu';
6
4
  import type { Component, Snippet } from 'svelte';
5
+ import type { HTMLAttributes } from 'svelte/elements';
7
6
 
8
7
  import MenuPopupComponent from './menu-popup.gen.svelte';
9
8
 
10
- /**
11
- * Props for the {@link MenuPopup} Svelte component.
12
- *
13
- * @public
14
- */
9
+ /** Props for the {@link MenuPopup} Svelte component. */
15
10
  export interface MenuPopupProps {
16
11
  /**
17
12
  * By default, the MenuPopup element will listen for keydown events.
@@ -21,12 +16,7 @@ export interface MenuPopupProps {
21
16
  */
22
17
  eventTarget?: MenuPopupElementProps['eventTarget'];
23
18
  children?: Snippet;
24
- [key: string]: unknown;
25
19
  }
26
20
 
27
- /**
28
- * A Svelte component that renders an `prosekit-menu-popup` custom element.
29
- *
30
- * @public
31
- */
32
- export const MenuPopup: Component<MenuPopupProps> = MenuPopupComponent as unknown as Component<MenuPopupProps>;
21
+ /** A Svelte component that renders an `prosekit-menu-popup` custom element. */
22
+ export const MenuPopup: Component<MenuPopupProps & HTMLAttributes<MenuPopupElement>> = MenuPopupComponent as Component<MenuPopupProps & HTMLAttributes<MenuPopupElement>>;
@@ -1,6 +1,5 @@
1
- <!-- This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly. -->
2
-
3
1
  <script lang="ts">
2
+ // This file is auto-generated by "@aria-ui/cli". Do not edit this file directly.
4
3
  import { registerMenuPositionerElement } from '@prosekit/web/menu'
5
4
  import type { MenuPositionerElement } from '@prosekit/web/menu'
6
5
  registerMenuPositionerElement()
@@ -1,17 +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
- import type { MenuPositionerProps as MenuPositionerElementProps } from '@prosekit/web/menu';
3
+ import type { MenuPositionerElement, MenuPositionerProps as MenuPositionerElementProps } from '@prosekit/web/menu';
6
4
  import type { Component, Snippet } from 'svelte';
5
+ import type { HTMLAttributes } from 'svelte/elements';
7
6
 
8
7
  import MenuPositionerComponent from './menu-positioner.gen.svelte';
9
8
 
10
- /**
11
- * Props for the {@link MenuPositioner} Svelte component.
12
- *
13
- * @public
14
- */
9
+ /** Props for the {@link MenuPositioner} Svelte component. */
15
10
  export interface MenuPositionerProps {
16
11
  /**
17
12
  * The initial placement of the floating element
@@ -141,12 +136,7 @@ export interface MenuPositionerProps {
141
136
  */
142
137
  altBoundary?: MenuPositionerElementProps['altBoundary'];
143
138
  children?: Snippet;
144
- [key: string]: unknown;
145
139
  }
146
140
 
147
- /**
148
- * A Svelte component that renders an `prosekit-menu-positioner` custom element.
149
- *
150
- * @public
151
- */
152
- export const MenuPositioner: Component<MenuPositionerProps> = MenuPositionerComponent as unknown as Component<MenuPositionerProps>;
141
+ /** A Svelte component that renders an `prosekit-menu-positioner` custom element. */
142
+ export const MenuPositioner: Component<MenuPositionerProps & HTMLAttributes<MenuPositionerElement>> = MenuPositionerComponent as Component<MenuPositionerProps & HTMLAttributes<MenuPositionerElement>>;
@@ -1,6 +1,5 @@
1
- <!-- This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly. -->
2
-
3
1
  <script lang="ts">
2
+ // This file is auto-generated by "@aria-ui/cli". Do not edit this file directly.
4
3
  import { registerMenuRootElement } from '@prosekit/web/menu'
5
4
  import type { MenuRootElement } from '@prosekit/web/menu'
6
5
  registerMenuRootElement()
@@ -1,17 +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
- import type { MenuRootEvents, MenuRootProps as MenuRootElementProps } from '@prosekit/web/menu';
3
+ import type { MenuRootElement, MenuRootEvents, MenuRootProps as MenuRootElementProps } from '@prosekit/web/menu';
6
4
  import type { Component, Snippet } from 'svelte';
5
+ import type { HTMLAttributes } from 'svelte/elements';
7
6
 
8
7
  import MenuRootComponent from './menu-root.gen.svelte';
9
8
 
10
- /**
11
- * Props for the {@link MenuRoot} Svelte component.
12
- *
13
- * @public
14
- */
9
+ /** Props for the {@link MenuRoot} Svelte component. */
15
10
  export interface MenuRootProps {
16
11
  /**
17
12
  * Whether the overlay is initially open.
@@ -31,14 +26,7 @@ export interface MenuRootProps {
31
26
  /** Emitted when the menu is opened or closed. */
32
27
  onOpenChange?: (event: MenuRootEvents['openChange']) => void;
33
28
  children?: Snippet;
34
- [key: string]: unknown;
35
29
  }
36
30
 
37
- /**
38
- * A Svelte component that renders an `prosekit-menu-root` custom element.
39
- *
40
- * @public
41
- */
42
- export const MenuRoot: Component<MenuRootProps> = MenuRootComponent as unknown as Component<MenuRootProps>;
43
-
44
- export type { MenuRootEvents };
31
+ /** A Svelte component that renders an `prosekit-menu-root` custom element. */
32
+ export const MenuRoot: Component<MenuRootProps & HTMLAttributes<MenuRootElement>> = MenuRootComponent as Component<MenuRootProps & HTMLAttributes<MenuRootElement>>;