@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,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 { TableHandleColumnPopupElement } from '@prosekit/web/table-handle';
5
4
  import type { Component, Snippet } from 'svelte';
5
+ import type { HTMLAttributes } from 'svelte/elements';
6
6
 
7
7
  import TableHandleColumnPopupComponent from './table-handle-column-popup.gen.svelte';
8
8
 
9
- /**
10
- * Props for the {@link TableHandleColumnPopup} Svelte component.
11
- *
12
- * @public
13
- */
9
+ /** Props for the {@link TableHandleColumnPopup} Svelte component. */
14
10
  export interface TableHandleColumnPopupProps {
15
11
  children?: Snippet;
16
- [key: string]: unknown;
17
12
  }
18
13
 
19
- /**
20
- * A Svelte component that renders an `prosekit-table-handle-column-popup` custom element.
21
- *
22
- * @public
23
- */
24
- export const TableHandleColumnPopup: Component<TableHandleColumnPopupProps> = TableHandleColumnPopupComponent as unknown as Component<TableHandleColumnPopupProps>;
14
+ /** A Svelte component that renders an `prosekit-table-handle-column-popup` custom element. */
15
+ export const TableHandleColumnPopup: Component<TableHandleColumnPopupProps & HTMLAttributes<TableHandleColumnPopupElement>> = TableHandleColumnPopupComponent as Component<TableHandleColumnPopupProps & HTMLAttributes<TableHandleColumnPopupElement>>;
@@ -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 { registerTableHandleColumnPositionerElement } from '@prosekit/web/table-handle'
5
4
  import type { TableHandleColumnPositionerElement } from '@prosekit/web/table-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 { TableHandleColumnPositionerProps as TableHandleColumnPositionerElementProps } from '@prosekit/web/table-handle';
3
+ import type { TableHandleColumnPositionerElement, TableHandleColumnPositionerProps as TableHandleColumnPositionerElementProps } from '@prosekit/web/table-handle';
6
4
  import type { Component, Snippet } from 'svelte';
5
+ import type { HTMLAttributes } from 'svelte/elements';
7
6
 
8
7
  import TableHandleColumnPositionerComponent from './table-handle-column-positioner.gen.svelte';
9
8
 
10
- /**
11
- * Props for the {@link TableHandleColumnPositioner} Svelte component.
12
- *
13
- * @public
14
- */
9
+ /** Props for the {@link TableHandleColumnPositioner} Svelte component. */
15
10
  export interface TableHandleColumnPositionerProps {
16
11
  /**
17
12
  * The placement of the popover, relative to the hovered table cell.
@@ -140,12 +135,7 @@ export interface TableHandleColumnPositionerProps {
140
135
  */
141
136
  editor?: TableHandleColumnPositionerElementProps['editor'];
142
137
  children?: Snippet;
143
- [key: string]: unknown;
144
138
  }
145
139
 
146
- /**
147
- * A Svelte component that renders an `prosekit-table-handle-column-positioner` custom element.
148
- *
149
- * @public
150
- */
151
- export const TableHandleColumnPositioner: Component<TableHandleColumnPositionerProps> = TableHandleColumnPositionerComponent as unknown as Component<TableHandleColumnPositionerProps>;
140
+ /** A Svelte component that renders an `prosekit-table-handle-column-positioner` custom element. */
141
+ export const TableHandleColumnPositioner: Component<TableHandleColumnPositionerProps & HTMLAttributes<TableHandleColumnPositionerElement>> = TableHandleColumnPositionerComponent as Component<TableHandleColumnPositionerProps & HTMLAttributes<TableHandleColumnPositionerElement>>;
@@ -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 { registerTableHandleDragPreviewElement } from '@prosekit/web/table-handle'
5
4
  import type { TableHandleDragPreviewElement } from '@prosekit/web/table-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 { TableHandleDragPreviewProps as TableHandleDragPreviewElementProps } from '@prosekit/web/table-handle';
3
+ import type { TableHandleDragPreviewElement, TableHandleDragPreviewProps as TableHandleDragPreviewElementProps } from '@prosekit/web/table-handle';
6
4
  import type { Component, Snippet } from 'svelte';
5
+ import type { HTMLAttributes } from 'svelte/elements';
7
6
 
8
7
  import TableHandleDragPreviewComponent from './table-handle-drag-preview.gen.svelte';
9
8
 
10
- /**
11
- * Props for the {@link TableHandleDragPreview} Svelte component.
12
- *
13
- * @public
14
- */
9
+ /** Props for the {@link TableHandleDragPreview} Svelte component. */
15
10
  export interface TableHandleDragPreviewProps {
16
11
  /**
17
12
  * @default null
@@ -19,12 +14,7 @@ export interface TableHandleDragPreviewProps {
19
14
  */
20
15
  editor?: TableHandleDragPreviewElementProps['editor'];
21
16
  children?: Snippet;
22
- [key: string]: unknown;
23
17
  }
24
18
 
25
- /**
26
- * A Svelte component that renders an `prosekit-table-handle-drag-preview` custom element.
27
- *
28
- * @public
29
- */
30
- export const TableHandleDragPreview: Component<TableHandleDragPreviewProps> = TableHandleDragPreviewComponent as unknown as Component<TableHandleDragPreviewProps>;
19
+ /** A Svelte component that renders an `prosekit-table-handle-drag-preview` custom element. */
20
+ export const TableHandleDragPreview: Component<TableHandleDragPreviewProps & HTMLAttributes<TableHandleDragPreviewElement>> = TableHandleDragPreviewComponent as Component<TableHandleDragPreviewProps & HTMLAttributes<TableHandleDragPreviewElement>>;
@@ -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 { registerTableHandleDropIndicatorElement } from '@prosekit/web/table-handle'
5
4
  import type { TableHandleDropIndicatorElement } from '@prosekit/web/table-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 { TableHandleDropIndicatorProps as TableHandleDropIndicatorElementProps } from '@prosekit/web/table-handle';
3
+ import type { TableHandleDropIndicatorElement, TableHandleDropIndicatorProps as TableHandleDropIndicatorElementProps } from '@prosekit/web/table-handle';
6
4
  import type { Component, Snippet } from 'svelte';
5
+ import type { HTMLAttributes } from 'svelte/elements';
7
6
 
8
7
  import TableHandleDropIndicatorComponent from './table-handle-drop-indicator.gen.svelte';
9
8
 
10
- /**
11
- * Props for the {@link TableHandleDropIndicator} Svelte component.
12
- *
13
- * @public
14
- */
9
+ /** Props for the {@link TableHandleDropIndicator} Svelte component. */
15
10
  export interface TableHandleDropIndicatorProps {
16
11
  /**
17
12
  * @default null
@@ -19,12 +14,7 @@ export interface TableHandleDropIndicatorProps {
19
14
  */
20
15
  editor?: TableHandleDropIndicatorElementProps['editor'];
21
16
  children?: Snippet;
22
- [key: string]: unknown;
23
17
  }
24
18
 
25
- /**
26
- * A Svelte component that renders an `prosekit-table-handle-drop-indicator` custom element.
27
- *
28
- * @public
29
- */
30
- export const TableHandleDropIndicator: Component<TableHandleDropIndicatorProps> = TableHandleDropIndicatorComponent as unknown as Component<TableHandleDropIndicatorProps>;
19
+ /** A Svelte component that renders an `prosekit-table-handle-drop-indicator` custom element. */
20
+ export const TableHandleDropIndicator: Component<TableHandleDropIndicatorProps & HTMLAttributes<TableHandleDropIndicatorElement>> = TableHandleDropIndicatorComponent as Component<TableHandleDropIndicatorProps & HTMLAttributes<TableHandleDropIndicatorElement>>;
@@ -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 { registerTableHandleRootElement } from '@prosekit/web/table-handle'
5
4
  import type { TableHandleRootElement } from '@prosekit/web/table-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 { TableHandleRootProps as TableHandleRootElementProps } from '@prosekit/web/table-handle';
3
+ import type { TableHandleRootElement, TableHandleRootProps as TableHandleRootElementProps } from '@prosekit/web/table-handle';
6
4
  import type { Component, Snippet } from 'svelte';
5
+ import type { HTMLAttributes } from 'svelte/elements';
7
6
 
8
7
  import TableHandleRootComponent from './table-handle-root.gen.svelte';
9
8
 
10
- /**
11
- * Props for the {@link TableHandleRoot} Svelte component.
12
- *
13
- * @public
14
- */
9
+ /** Props for the {@link TableHandleRoot} Svelte component. */
15
10
  export interface TableHandleRootProps {
16
11
  /**
17
12
  * The ProseKit editor instance.
@@ -21,12 +16,7 @@ export interface TableHandleRootProps {
21
16
  */
22
17
  editor?: TableHandleRootElementProps['editor'];
23
18
  children?: Snippet;
24
- [key: string]: unknown;
25
19
  }
26
20
 
27
- /**
28
- * A Svelte component that renders an `prosekit-table-handle-root` custom element.
29
- *
30
- * @public
31
- */
32
- export const TableHandleRoot: Component<TableHandleRootProps> = TableHandleRootComponent as unknown as Component<TableHandleRootProps>;
21
+ /** A Svelte component that renders an `prosekit-table-handle-root` custom element. */
22
+ export const TableHandleRoot: Component<TableHandleRootProps & HTMLAttributes<TableHandleRootElement>> = TableHandleRootComponent as Component<TableHandleRootProps & HTMLAttributes<TableHandleRootElement>>;
@@ -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 { registerTableHandleRowMenuRootElement } from '@prosekit/web/table-handle'
5
4
  import type { TableHandleRowMenuRootElement } from '@prosekit/web/table-handle'
6
5
  registerTableHandleRowMenuRootElement()
@@ -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 { TableHandleRowMenuRootProps as TableHandleRowMenuRootElementProps } from '@prosekit/web/table-handle';
3
+ import type { TableHandleRowMenuRootElement, TableHandleRowMenuRootProps as TableHandleRowMenuRootElementProps } from '@prosekit/web/table-handle';
6
4
  import type { Component, Snippet } from 'svelte';
5
+ import type { HTMLAttributes } from 'svelte/elements';
7
6
 
8
7
  import TableHandleRowMenuRootComponent from './table-handle-row-menu-root.gen.svelte';
9
8
 
10
- /**
11
- * Props for the {@link TableHandleRowMenuRoot} Svelte component.
12
- *
13
- * @public
14
- */
9
+ /** Props for the {@link TableHandleRowMenuRoot} Svelte component. */
15
10
  export interface TableHandleRowMenuRootProps {
16
11
  /**
17
12
  * Whether the overlay is initially open.
@@ -29,12 +24,7 @@ export interface TableHandleRowMenuRootProps {
29
24
  */
30
25
  disabled?: TableHandleRowMenuRootElementProps['disabled'];
31
26
  children?: Snippet;
32
- [key: string]: unknown;
33
27
  }
34
28
 
35
- /**
36
- * A Svelte component that renders an `prosekit-table-handle-row-menu-root` custom element.
37
- *
38
- * @public
39
- */
40
- export const TableHandleRowMenuRoot: Component<TableHandleRowMenuRootProps> = TableHandleRowMenuRootComponent as unknown as Component<TableHandleRowMenuRootProps>;
29
+ /** A Svelte component that renders an `prosekit-table-handle-row-menu-root` custom element. */
30
+ export const TableHandleRowMenuRoot: Component<TableHandleRowMenuRootProps & HTMLAttributes<TableHandleRowMenuRootElement>> = TableHandleRowMenuRootComponent as Component<TableHandleRowMenuRootProps & HTMLAttributes<TableHandleRowMenuRootElement>>;
@@ -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 { registerTableHandleRowMenuTriggerElement } from '@prosekit/web/table-handle'
5
4
  import type { TableHandleRowMenuTriggerElement } from '@prosekit/web/table-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 { TableHandleRowMenuTriggerProps as TableHandleRowMenuTriggerElementProps } from '@prosekit/web/table-handle';
3
+ import type { TableHandleRowMenuTriggerElement, TableHandleRowMenuTriggerProps as TableHandleRowMenuTriggerElementProps } from '@prosekit/web/table-handle';
6
4
  import type { Component, Snippet } from 'svelte';
5
+ import type { HTMLAttributes } from 'svelte/elements';
7
6
 
8
7
  import TableHandleRowMenuTriggerComponent from './table-handle-row-menu-trigger.gen.svelte';
9
8
 
10
- /**
11
- * Props for the {@link TableHandleRowMenuTrigger} Svelte component.
12
- *
13
- * @public
14
- */
9
+ /** Props for the {@link TableHandleRowMenuTrigger} Svelte component. */
15
10
  export interface TableHandleRowMenuTriggerProps {
16
11
  /**
17
12
  * @default null
@@ -19,12 +14,7 @@ export interface TableHandleRowMenuTriggerProps {
19
14
  */
20
15
  editor?: TableHandleRowMenuTriggerElementProps['editor'];
21
16
  children?: Snippet;
22
- [key: string]: unknown;
23
17
  }
24
18
 
25
- /**
26
- * A Svelte component that renders an `prosekit-table-handle-row-menu-trigger` custom element.
27
- *
28
- * @public
29
- */
30
- export const TableHandleRowMenuTrigger: Component<TableHandleRowMenuTriggerProps> = TableHandleRowMenuTriggerComponent as unknown as Component<TableHandleRowMenuTriggerProps>;
19
+ /** A Svelte component that renders an `prosekit-table-handle-row-menu-trigger` custom element. */
20
+ export const TableHandleRowMenuTrigger: Component<TableHandleRowMenuTriggerProps & HTMLAttributes<TableHandleRowMenuTriggerElement>> = TableHandleRowMenuTriggerComponent as Component<TableHandleRowMenuTriggerProps & HTMLAttributes<TableHandleRowMenuTriggerElement>>;
@@ -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 { registerTableHandleRowPopupElement } from '@prosekit/web/table-handle'
5
4
  registerTableHandleRowPopupElement()
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 { TableHandleRowPopupElement } from '@prosekit/web/table-handle';
5
4
  import type { Component, Snippet } from 'svelte';
5
+ import type { HTMLAttributes } from 'svelte/elements';
6
6
 
7
7
  import TableHandleRowPopupComponent from './table-handle-row-popup.gen.svelte';
8
8
 
9
- /**
10
- * Props for the {@link TableHandleRowPopup} Svelte component.
11
- *
12
- * @public
13
- */
9
+ /** Props for the {@link TableHandleRowPopup} Svelte component. */
14
10
  export interface TableHandleRowPopupProps {
15
11
  children?: Snippet;
16
- [key: string]: unknown;
17
12
  }
18
13
 
19
- /**
20
- * A Svelte component that renders an `prosekit-table-handle-row-popup` custom element.
21
- *
22
- * @public
23
- */
24
- export const TableHandleRowPopup: Component<TableHandleRowPopupProps> = TableHandleRowPopupComponent as unknown as Component<TableHandleRowPopupProps>;
14
+ /** A Svelte component that renders an `prosekit-table-handle-row-popup` custom element. */
15
+ export const TableHandleRowPopup: Component<TableHandleRowPopupProps & HTMLAttributes<TableHandleRowPopupElement>> = TableHandleRowPopupComponent as Component<TableHandleRowPopupProps & HTMLAttributes<TableHandleRowPopupElement>>;
@@ -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 { registerTableHandleRowPositionerElement } from '@prosekit/web/table-handle'
5
4
  import type { TableHandleRowPositionerElement } from '@prosekit/web/table-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 { TableHandleRowPositionerProps as TableHandleRowPositionerElementProps } from '@prosekit/web/table-handle';
3
+ import type { TableHandleRowPositionerElement, TableHandleRowPositionerProps as TableHandleRowPositionerElementProps } from '@prosekit/web/table-handle';
6
4
  import type { Component, Snippet } from 'svelte';
5
+ import type { HTMLAttributes } from 'svelte/elements';
7
6
 
8
7
  import TableHandleRowPositionerComponent from './table-handle-row-positioner.gen.svelte';
9
8
 
10
- /**
11
- * Props for the {@link TableHandleRowPositioner} Svelte component.
12
- *
13
- * @public
14
- */
9
+ /** Props for the {@link TableHandleRowPositioner} Svelte component. */
15
10
  export interface TableHandleRowPositionerProps {
16
11
  /**
17
12
  * The placement of the popover, relative to the hovered table cell.
@@ -140,12 +135,7 @@ export interface TableHandleRowPositionerProps {
140
135
  */
141
136
  editor?: TableHandleRowPositionerElementProps['editor'];
142
137
  children?: Snippet;
143
- [key: string]: unknown;
144
138
  }
145
139
 
146
- /**
147
- * A Svelte component that renders an `prosekit-table-handle-row-positioner` custom element.
148
- *
149
- * @public
150
- */
151
- export const TableHandleRowPositioner: Component<TableHandleRowPositionerProps> = TableHandleRowPositionerComponent as unknown as Component<TableHandleRowPositionerProps>;
140
+ /** A Svelte component that renders an `prosekit-table-handle-row-positioner` custom element. */
141
+ export const TableHandleRowPositioner: Component<TableHandleRowPositionerProps & HTMLAttributes<TableHandleRowPositionerElement>> = TableHandleRowPositionerComponent as Component<TableHandleRowPositionerProps & HTMLAttributes<TableHandleRowPositionerElement>>;
@@ -1,13 +1,9 @@
1
- /**
2
- * This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly.
3
- */
1
+ // This file is auto-generated by "@aria-ui/cli". Do not edit this file directly.
4
2
 
5
3
  export { TooltipPopup, type TooltipPopupProps } from './tooltip-popup.gen.ts';
6
4
 
7
5
  export { TooltipPositioner, type TooltipPositionerProps } from './tooltip-positioner.gen.ts';
8
6
 
9
- export { TooltipRoot, type TooltipRootProps, type TooltipRootEvents } from './tooltip-root.gen.ts';
7
+ export { TooltipRoot, type TooltipRootProps } from './tooltip-root.gen.ts';
10
8
 
11
9
  export { TooltipTrigger, type TooltipTriggerProps } from './tooltip-trigger.gen.ts';
12
-
13
- export { OpenChangeEvent } from '@prosekit/web/tooltip';
@@ -1,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 { registerTooltipPopupElement } from '@prosekit/web/tooltip'
5
4
  registerTooltipPopupElement()
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 { TooltipPopupElement } from '@prosekit/web/tooltip';
5
4
  import type { Component, Snippet } from 'svelte';
5
+ import type { HTMLAttributes } from 'svelte/elements';
6
6
 
7
7
  import TooltipPopupComponent from './tooltip-popup.gen.svelte';
8
8
 
9
- /**
10
- * Props for the {@link TooltipPopup} Svelte component.
11
- *
12
- * @public
13
- */
9
+ /** Props for the {@link TooltipPopup} Svelte component. */
14
10
  export interface TooltipPopupProps {
15
11
  children?: Snippet;
16
- [key: string]: unknown;
17
12
  }
18
13
 
19
- /**
20
- * A Svelte component that renders an `prosekit-tooltip-popup` custom element.
21
- *
22
- * @public
23
- */
24
- export const TooltipPopup: Component<TooltipPopupProps> = TooltipPopupComponent as unknown as Component<TooltipPopupProps>;
14
+ /** A Svelte component that renders an `prosekit-tooltip-popup` custom element. */
15
+ export const TooltipPopup: Component<TooltipPopupProps & HTMLAttributes<TooltipPopupElement>> = TooltipPopupComponent as Component<TooltipPopupProps & HTMLAttributes<TooltipPopupElement>>;
@@ -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 { registerTooltipPositionerElement } from '@prosekit/web/tooltip'
5
4
  import type { TooltipPositionerElement } from '@prosekit/web/tooltip'
6
5
  registerTooltipPositionerElement()
@@ -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 { TooltipPositionerProps as TooltipPositionerElementProps } from '@prosekit/web/tooltip';
3
+ import type { TooltipPositionerElement, TooltipPositionerProps as TooltipPositionerElementProps } from '@prosekit/web/tooltip';
6
4
  import type { Component, Snippet } from 'svelte';
5
+ import type { HTMLAttributes } from 'svelte/elements';
7
6
 
8
7
  import TooltipPositionerComponent from './tooltip-positioner.gen.svelte';
9
8
 
10
- /**
11
- * Props for the {@link TooltipPositioner} Svelte component.
12
- *
13
- * @public
14
- */
9
+ /** Props for the {@link TooltipPositioner} Svelte component. */
15
10
  export interface TooltipPositionerProps {
16
11
  /**
17
12
  * The strategy to use for positioning
@@ -141,12 +136,7 @@ export interface TooltipPositionerProps {
141
136
  */
142
137
  altBoundary?: TooltipPositionerElementProps['altBoundary'];
143
138
  children?: Snippet;
144
- [key: string]: unknown;
145
139
  }
146
140
 
147
- /**
148
- * A Svelte component that renders an `prosekit-tooltip-positioner` custom element.
149
- *
150
- * @public
151
- */
152
- export const TooltipPositioner: Component<TooltipPositionerProps> = TooltipPositionerComponent as unknown as Component<TooltipPositionerProps>;
141
+ /** A Svelte component that renders an `prosekit-tooltip-positioner` custom element. */
142
+ export const TooltipPositioner: Component<TooltipPositionerProps & HTMLAttributes<TooltipPositionerElement>> = TooltipPositionerComponent as Component<TooltipPositionerProps & HTMLAttributes<TooltipPositionerElement>>;
@@ -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 { registerTooltipRootElement } from '@prosekit/web/tooltip'
5
4
  import type { TooltipRootElement } from '@prosekit/web/tooltip'
6
5
  registerTooltipRootElement()
@@ -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 { TooltipRootEvents, TooltipRootProps as TooltipRootElementProps } from '@prosekit/web/tooltip';
3
+ import type { TooltipRootElement, TooltipRootEvents, TooltipRootProps as TooltipRootElementProps } from '@prosekit/web/tooltip';
6
4
  import type { Component, Snippet } from 'svelte';
5
+ import type { HTMLAttributes } from 'svelte/elements';
7
6
 
8
7
  import TooltipRootComponent from './tooltip-root.gen.svelte';
9
8
 
10
- /**
11
- * Props for the {@link TooltipRoot} Svelte component.
12
- *
13
- * @public
14
- */
9
+ /** Props for the {@link TooltipRoot} Svelte component. */
15
10
  export interface TooltipRootProps {
16
11
  /**
17
12
  * Whether the overlay is initially open.
@@ -31,14 +26,7 @@ export interface TooltipRootProps {
31
26
  /** Emitted when the tooltip is opened or closed. */
32
27
  onOpenChange?: (event: TooltipRootEvents['openChange']) => void;
33
28
  children?: Snippet;
34
- [key: string]: unknown;
35
29
  }
36
30
 
37
- /**
38
- * A Svelte component that renders an `prosekit-tooltip-root` custom element.
39
- *
40
- * @public
41
- */
42
- export const TooltipRoot: Component<TooltipRootProps> = TooltipRootComponent as unknown as Component<TooltipRootProps>;
43
-
44
- export type { TooltipRootEvents };
31
+ /** A Svelte component that renders an `prosekit-tooltip-root` custom element. */
32
+ export const TooltipRoot: Component<TooltipRootProps & HTMLAttributes<TooltipRootElement>> = TooltipRootComponent as Component<TooltipRootProps & HTMLAttributes<TooltipRootElement>>;
@@ -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 { registerTooltipTriggerElement } from '@prosekit/web/tooltip'
5
4
  import type { TooltipTriggerElement } from '@prosekit/web/tooltip'
6
5
  registerTooltipTriggerElement()
@@ -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 { TooltipTriggerProps as TooltipTriggerElementProps } from '@prosekit/web/tooltip';
3
+ import type { TooltipTriggerElement, TooltipTriggerProps as TooltipTriggerElementProps } from '@prosekit/web/tooltip';
6
4
  import type { Component, Snippet } from 'svelte';
5
+ import type { HTMLAttributes } from 'svelte/elements';
7
6
 
8
7
  import TooltipTriggerComponent from './tooltip-trigger.gen.svelte';
9
8
 
10
- /**
11
- * Props for the {@link TooltipTrigger} Svelte component.
12
- *
13
- * @public
14
- */
9
+ /** Props for the {@link TooltipTrigger} Svelte component. */
15
10
  export interface TooltipTriggerProps {
16
11
  /**
17
12
  * Whether the component should ignore user interaction.
@@ -29,12 +24,7 @@ export interface TooltipTriggerProps {
29
24
  */
30
25
  closeDelay?: TooltipTriggerElementProps['closeDelay'];
31
26
  children?: Snippet;
32
- [key: string]: unknown;
33
27
  }
34
28
 
35
- /**
36
- * A Svelte component that renders an `prosekit-tooltip-trigger` custom element.
37
- *
38
- * @public
39
- */
40
- export const TooltipTrigger: Component<TooltipTriggerProps> = TooltipTriggerComponent as unknown as Component<TooltipTriggerProps>;
29
+ /** A Svelte component that renders an `prosekit-tooltip-trigger` custom element. */
30
+ export const TooltipTrigger: Component<TooltipTriggerProps & HTMLAttributes<TooltipTriggerElement>> = TooltipTriggerComponent as Component<TooltipTriggerProps & HTMLAttributes<TooltipTriggerElement>>;