cvnert-editor 0.1.0

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 (327) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +57 -0
  3. package/dist/components/tiptap-extension/indent-extension.d.ts +90 -0
  4. package/dist/components/tiptap-extension/list-normalization-extension.d.ts +30 -0
  5. package/dist/components/tiptap-extension/node-alignment-extension.d.ts +38 -0
  6. package/dist/components/tiptap-extension/node-background-extension.d.ts +23 -0
  7. package/dist/components/tiptap-extension/triple-click-block-selection-extension.d.ts +13 -0
  8. package/dist/components/tiptap-extension/ui-state-extension.d.ts +22 -0
  9. package/dist/components/tiptap-icons/add-col-left-icon.d.ts +3 -0
  10. package/dist/components/tiptap-icons/add-col-right-icon.d.ts +3 -0
  11. package/dist/components/tiptap-icons/add-row-bottom-icon.d.ts +3 -0
  12. package/dist/components/tiptap-icons/add-row-top-icon.d.ts +3 -0
  13. package/dist/components/tiptap-icons/align-bottom-icon.d.ts +3 -0
  14. package/dist/components/tiptap-icons/align-center-icon.d.ts +3 -0
  15. package/dist/components/tiptap-icons/align-center-vertical-icon.d.ts +3 -0
  16. package/dist/components/tiptap-icons/align-end-vertical-icon.d.ts +3 -0
  17. package/dist/components/tiptap-icons/align-justify-icon.d.ts +3 -0
  18. package/dist/components/tiptap-icons/align-left-icon.d.ts +3 -0
  19. package/dist/components/tiptap-icons/align-middle-icon.d.ts +3 -0
  20. package/dist/components/tiptap-icons/align-right-icon.d.ts +3 -0
  21. package/dist/components/tiptap-icons/align-start-vertical-icon.d.ts +3 -0
  22. package/dist/components/tiptap-icons/align-top-icon.d.ts +3 -0
  23. package/dist/components/tiptap-icons/alignment-icon.d.ts +3 -0
  24. package/dist/components/tiptap-icons/arrow-down-a-z-icon.d.ts +3 -0
  25. package/dist/components/tiptap-icons/arrow-down-icon.d.ts +3 -0
  26. package/dist/components/tiptap-icons/arrow-down-to-line-icon.d.ts +3 -0
  27. package/dist/components/tiptap-icons/arrow-down-z-a-icon.d.ts +3 -0
  28. package/dist/components/tiptap-icons/arrow-left-icon.d.ts +3 -0
  29. package/dist/components/tiptap-icons/arrow-right-icon.d.ts +3 -0
  30. package/dist/components/tiptap-icons/arrow-up-icon.d.ts +3 -0
  31. package/dist/components/tiptap-icons/at-sign-icon.d.ts +3 -0
  32. package/dist/components/tiptap-icons/ban-icon.d.ts +3 -0
  33. package/dist/components/tiptap-icons/blockquote-icon.d.ts +3 -0
  34. package/dist/components/tiptap-icons/bold-icon.d.ts +3 -0
  35. package/dist/components/tiptap-icons/check-icon.d.ts +3 -0
  36. package/dist/components/tiptap-icons/chevron-down-icon.d.ts +3 -0
  37. package/dist/components/tiptap-icons/chevron-right-icon.d.ts +3 -0
  38. package/dist/components/tiptap-icons/clipboard-icon.d.ts +3 -0
  39. package/dist/components/tiptap-icons/close-icon.d.ts +3 -0
  40. package/dist/components/tiptap-icons/code-block-icon.d.ts +3 -0
  41. package/dist/components/tiptap-icons/code2-icon.d.ts +3 -0
  42. package/dist/components/tiptap-icons/copy-icon.d.ts +3 -0
  43. package/dist/components/tiptap-icons/corner-down-left-icon.d.ts +3 -0
  44. package/dist/components/tiptap-icons/external-link-icon.d.ts +3 -0
  45. package/dist/components/tiptap-icons/grip-4-icon.d.ts +3 -0
  46. package/dist/components/tiptap-icons/grip-vertical-icon.d.ts +3 -0
  47. package/dist/components/tiptap-icons/heading-five-icon.d.ts +3 -0
  48. package/dist/components/tiptap-icons/heading-four-icon.d.ts +3 -0
  49. package/dist/components/tiptap-icons/heading-one-icon.d.ts +3 -0
  50. package/dist/components/tiptap-icons/heading-six-icon.d.ts +3 -0
  51. package/dist/components/tiptap-icons/heading-three-icon.d.ts +3 -0
  52. package/dist/components/tiptap-icons/heading-two-icon.d.ts +3 -0
  53. package/dist/components/tiptap-icons/highlighter-icon.d.ts +3 -0
  54. package/dist/components/tiptap-icons/image-caption-icon.d.ts +3 -0
  55. package/dist/components/tiptap-icons/image-icon.d.ts +3 -0
  56. package/dist/components/tiptap-icons/image-plus-icon.d.ts +3 -0
  57. package/dist/components/tiptap-icons/indent-decrease-icon.d.ts +3 -0
  58. package/dist/components/tiptap-icons/indent-increase-icon.d.ts +3 -0
  59. package/dist/components/tiptap-icons/italic-icon.d.ts +3 -0
  60. package/dist/components/tiptap-icons/link-icon.d.ts +3 -0
  61. package/dist/components/tiptap-icons/list-icon.d.ts +3 -0
  62. package/dist/components/tiptap-icons/list-indented-icon.d.ts +3 -0
  63. package/dist/components/tiptap-icons/list-ordered-icon.d.ts +3 -0
  64. package/dist/components/tiptap-icons/list-todo-icon.d.ts +3 -0
  65. package/dist/components/tiptap-icons/minus-icon.d.ts +3 -0
  66. package/dist/components/tiptap-icons/moon-star-icon.d.ts +3 -0
  67. package/dist/components/tiptap-icons/more-vertical-icon.d.ts +3 -0
  68. package/dist/components/tiptap-icons/move-horizontal-icon.d.ts +3 -0
  69. package/dist/components/tiptap-icons/paint-bucket-icon.d.ts +3 -0
  70. package/dist/components/tiptap-icons/plus-icon.d.ts +3 -0
  71. package/dist/components/tiptap-icons/plus-small-icon.d.ts +3 -0
  72. package/dist/components/tiptap-icons/redo2-icon.d.ts +3 -0
  73. package/dist/components/tiptap-icons/refresh-ccw-icon.d.ts +3 -0
  74. package/dist/components/tiptap-icons/repeat-2-icon.d.ts +3 -0
  75. package/dist/components/tiptap-icons/rotate-ccw-icon.d.ts +3 -0
  76. package/dist/components/tiptap-icons/smile-plus-icon.d.ts +3 -0
  77. package/dist/components/tiptap-icons/square-x-icon.d.ts +3 -0
  78. package/dist/components/tiptap-icons/strike-icon.d.ts +3 -0
  79. package/dist/components/tiptap-icons/subscript-icon.d.ts +3 -0
  80. package/dist/components/tiptap-icons/sun-icon.d.ts +3 -0
  81. package/dist/components/tiptap-icons/superscript-icon.d.ts +3 -0
  82. package/dist/components/tiptap-icons/table-cell-merge-icon.d.ts +3 -0
  83. package/dist/components/tiptap-icons/table-cell-split-icon.d.ts +3 -0
  84. package/dist/components/tiptap-icons/table-header-column-icon.d.ts +3 -0
  85. package/dist/components/tiptap-icons/table-header-row-icon.d.ts +3 -0
  86. package/dist/components/tiptap-icons/table-icon.d.ts +3 -0
  87. package/dist/components/tiptap-icons/text-color-small-icon.d.ts +3 -0
  88. package/dist/components/tiptap-icons/trash-icon.d.ts +3 -0
  89. package/dist/components/tiptap-icons/type-icon.d.ts +3 -0
  90. package/dist/components/tiptap-icons/underline-icon.d.ts +3 -0
  91. package/dist/components/tiptap-icons/undo2-icon.d.ts +3 -0
  92. package/dist/components/tiptap-node/horizontal-rule-node/horizontal-rule-node-extension.d.ts +2 -0
  93. package/dist/components/tiptap-node/image-node/image-node-extension.d.ts +3 -0
  94. package/dist/components/tiptap-node/image-node/image-node-floating.d.ts +4 -0
  95. package/dist/components/tiptap-node/image-node/image-node-view.d.ts +24 -0
  96. package/dist/components/tiptap-node/image-upload-node/image-upload-node-extension.d.ts +57 -0
  97. package/dist/components/tiptap-node/image-upload-node/image-upload-node.d.ts +69 -0
  98. package/dist/components/tiptap-node/table-node/extensions/table-handle/helpers/create-image.d.ts +9 -0
  99. package/dist/components/tiptap-node/table-node/extensions/table-handle/index.d.ts +2 -0
  100. package/dist/components/tiptap-node/table-node/extensions/table-handle/table-handle-plugin.d.ts +43 -0
  101. package/dist/components/tiptap-node/table-node/extensions/table-handle/table-handle.d.ts +14 -0
  102. package/dist/components/tiptap-node/table-node/extensions/table-node-extension.d.ts +31 -0
  103. package/dist/components/tiptap-node/table-node/hooks/use-table-handle-state.d.ts +22 -0
  104. package/dist/components/tiptap-node/table-node/lib/tiptap-table-utils.d.ts +395 -0
  105. package/dist/components/tiptap-node/table-node/ui/table-add-row-column-button/index.d.ts +2 -0
  106. package/dist/components/tiptap-node/table-node/ui/table-add-row-column-button/table-add-row-column-button.d.ts +14 -0
  107. package/dist/components/tiptap-node/table-node/ui/table-add-row-column-button/use-table-add-row-column.d.ts +53 -0
  108. package/dist/components/tiptap-node/table-node/ui/table-align-cell-button/index.d.ts +2 -0
  109. package/dist/components/tiptap-node/table-node/ui/table-align-cell-button/table-align-cell-button.d.ts +41 -0
  110. package/dist/components/tiptap-node/table-node/ui/table-align-cell-button/use-table-align-cell.d.ts +145 -0
  111. package/dist/components/tiptap-node/table-node/ui/table-alignment-menu/index.d.ts +1 -0
  112. package/dist/components/tiptap-node/table-node/ui/table-alignment-menu/table-alignment-menu.d.ts +16 -0
  113. package/dist/components/tiptap-node/table-node/ui/table-cell-handle-menu/index.d.ts +1 -0
  114. package/dist/components/tiptap-node/table-node/ui/table-cell-handle-menu/table-cell-handle-menu.d.ts +11 -0
  115. package/dist/components/tiptap-node/table-node/ui/table-clear-row-column-content-button/index.d.ts +2 -0
  116. package/dist/components/tiptap-node/table-node/ui/table-clear-row-column-content-button/table-clear-row-column-content-button.d.ts +14 -0
  117. package/dist/components/tiptap-node/table-node/ui/table-clear-row-column-content-button/use-table-clear-row-column-content.d.ts +96 -0
  118. package/dist/components/tiptap-node/table-node/ui/table-delete-row-column-button/index.d.ts +2 -0
  119. package/dist/components/tiptap-node/table-node/ui/table-delete-row-column-button/table-delete-row-column-button.d.ts +14 -0
  120. package/dist/components/tiptap-node/table-node/ui/table-delete-row-column-button/use-table-delete-row-column.d.ts +80 -0
  121. package/dist/components/tiptap-node/table-node/ui/table-duplicate-row-column-button/index.d.ts +2 -0
  122. package/dist/components/tiptap-node/table-node/ui/table-duplicate-row-column-button/table-duplicate-row-column-button.d.ts +6 -0
  123. package/dist/components/tiptap-node/table-node/ui/table-duplicate-row-column-button/use-table-duplicate-row-column.d.ts +42 -0
  124. package/dist/components/tiptap-node/table-node/ui/table-extend-row-column-button/index.d.ts +2 -0
  125. package/dist/components/tiptap-node/table-node/ui/table-extend-row-column-button/table-extend-row-column-button.d.ts +23 -0
  126. package/dist/components/tiptap-node/table-node/ui/table-extend-row-column-button/use-table-extend-row-column.d.ts +14 -0
  127. package/dist/components/tiptap-node/table-node/ui/table-fit-to-width-button/index.d.ts +2 -0
  128. package/dist/components/tiptap-node/table-node/ui/table-fit-to-width-button/table-fit-to-width-button.d.ts +21 -0
  129. package/dist/components/tiptap-node/table-node/ui/table-fit-to-width-button/use-table-fit-to-width.d.ts +67 -0
  130. package/dist/components/tiptap-node/table-node/ui/table-handle/table-handle.d.ts +50 -0
  131. package/dist/components/tiptap-node/table-node/ui/table-handle/use-table-handle-positioning.d.ts +41 -0
  132. package/dist/components/tiptap-node/table-node/ui/table-handle-menu/index.d.ts +1 -0
  133. package/dist/components/tiptap-node/table-node/ui/table-handle-menu/table-handle-menu.d.ts +25 -0
  134. package/dist/components/tiptap-node/table-node/ui/table-header-row-column-button/index.d.ts +2 -0
  135. package/dist/components/tiptap-node/table-node/ui/table-header-row-column-button/table-header-row-column-button.d.ts +15 -0
  136. package/dist/components/tiptap-node/table-node/ui/table-header-row-column-button/use-table-header-row-column.d.ts +51 -0
  137. package/dist/components/tiptap-node/table-node/ui/table-merge-split-cell-button/index.d.ts +2 -0
  138. package/dist/components/tiptap-node/table-node/ui/table-merge-split-cell-button/table-merge-split-cell-button.d.ts +43 -0
  139. package/dist/components/tiptap-node/table-node/ui/table-merge-split-cell-button/use-table-merge-split-cell.d.ts +119 -0
  140. package/dist/components/tiptap-node/table-node/ui/table-move-row-column-button/index.d.ts +2 -0
  141. package/dist/components/tiptap-node/table-node/ui/table-move-row-column-button/table-move-row-column-button.d.ts +37 -0
  142. package/dist/components/tiptap-node/table-node/ui/table-move-row-column-button/use-table-move-row-column.d.ts +94 -0
  143. package/dist/components/tiptap-node/table-node/ui/table-selection-overlay/index.d.ts +1 -0
  144. package/dist/components/tiptap-node/table-node/ui/table-selection-overlay/table-selection-overlay.d.ts +14 -0
  145. package/dist/components/tiptap-node/table-node/ui/table-selection-overlay/use-resize-overlay.d.ts +2 -0
  146. package/dist/components/tiptap-node/table-node/ui/table-sort-row-column-button/index.d.ts +2 -0
  147. package/dist/components/tiptap-node/table-node/ui/table-sort-row-column-button/table-sort-row-column-button.d.ts +14 -0
  148. package/dist/components/tiptap-node/table-node/ui/table-sort-row-column-button/use-table-sort-row-column.d.ts +111 -0
  149. package/dist/components/tiptap-node/toc-node/context/toc-context.d.ts +44 -0
  150. package/dist/components/tiptap-node/toc-node/extensions/toc-node-extension.d.ts +45 -0
  151. package/dist/components/tiptap-node/toc-node/index.d.ts +3 -0
  152. package/dist/components/tiptap-node/toc-node/toc-node.d.ts +4 -0
  153. package/dist/components/tiptap-node/toc-node/ui/toc-show-title-button/index.d.ts +2 -0
  154. package/dist/components/tiptap-node/toc-node/ui/toc-show-title-button/toc-show-title-button.d.ts +16 -0
  155. package/dist/components/tiptap-node/toc-node/ui/toc-show-title-button/toc-show-title.d.ts +83 -0
  156. package/dist/components/tiptap-node/toc-node/ui/toc-sidebar/index.d.ts +1 -0
  157. package/dist/components/tiptap-node/toc-node/ui/toc-sidebar/toc-sidebar.d.ts +14 -0
  158. package/dist/components/tiptap-templates/omnibox/omnibox-editor-header.d.ts +1 -0
  159. package/dist/components/tiptap-templates/omnibox/omnibox-editor-mobile-toolbar.d.ts +14 -0
  160. package/dist/components/tiptap-templates/omnibox/omnibox-editor-theme-toggle.d.ts +1 -0
  161. package/dist/components/tiptap-templates/omnibox/omnibox-editor-toolbar-floating.d.ts +15 -0
  162. package/dist/components/tiptap-templates/omnibox/omnibox-editor.d.ts +28 -0
  163. package/dist/components/tiptap-ui/blockquote-button/blockquote-button.d.ts +22 -0
  164. package/dist/components/tiptap-ui/blockquote-button/index.d.ts +2 -0
  165. package/dist/components/tiptap-ui/blockquote-button/use-blockquote.d.ts +80 -0
  166. package/dist/components/tiptap-ui/code-block-button/code-block-button.d.ts +22 -0
  167. package/dist/components/tiptap-ui/code-block-button/index.d.ts +2 -0
  168. package/dist/components/tiptap-ui/code-block-button/use-code-block.d.ts +87 -0
  169. package/dist/components/tiptap-ui/color-highlight-button/color-highlight-button.d.ts +46 -0
  170. package/dist/components/tiptap-ui/color-highlight-button/index.d.ts +2 -0
  171. package/dist/components/tiptap-ui/color-highlight-button/use-color-highlight.d.ts +93 -0
  172. package/dist/components/tiptap-ui/color-highlight-popover/color-highlight-popover.d.ts +35 -0
  173. package/dist/components/tiptap-ui/color-highlight-popover/index.d.ts +1 -0
  174. package/dist/components/tiptap-ui/color-menu/color-menu.d.ts +39 -0
  175. package/dist/components/tiptap-ui/color-menu/index.d.ts +1 -0
  176. package/dist/components/tiptap-ui/color-text-button/color-text-button.d.ts +23 -0
  177. package/dist/components/tiptap-ui/color-text-button/index.d.ts +2 -0
  178. package/dist/components/tiptap-ui/color-text-button/use-color-text.d.ts +109 -0
  179. package/dist/components/tiptap-ui/color-text-popover/color-text-popover.d.ts +46 -0
  180. package/dist/components/tiptap-ui/color-text-popover/index.d.ts +2 -0
  181. package/dist/components/tiptap-ui/color-text-popover/use-color-text-popover.d.ts +132 -0
  182. package/dist/components/tiptap-ui/copy-anchor-link-button/copy-anchor-link-button.d.ts +22 -0
  183. package/dist/components/tiptap-ui/copy-anchor-link-button/index.d.ts +3 -0
  184. package/dist/components/tiptap-ui/copy-anchor-link-button/use-copy-anchor-link.d.ts +93 -0
  185. package/dist/components/tiptap-ui/copy-anchor-link-button/use-scroll-to-hash.d.ts +27 -0
  186. package/dist/components/tiptap-ui/copy-to-clipboard-button/copy-to-clipboard-button.d.ts +22 -0
  187. package/dist/components/tiptap-ui/copy-to-clipboard-button/index.d.ts +2 -0
  188. package/dist/components/tiptap-ui/copy-to-clipboard-button/use-copy-to-clipboard.d.ts +103 -0
  189. package/dist/components/tiptap-ui/delete-node-button/delete-node-button.d.ts +22 -0
  190. package/dist/components/tiptap-ui/delete-node-button/index.d.ts +2 -0
  191. package/dist/components/tiptap-ui/delete-node-button/use-delete-node.d.ts +82 -0
  192. package/dist/components/tiptap-ui/drag-context-menu/drag-context-menu-types.d.ts +30 -0
  193. package/dist/components/tiptap-ui/drag-context-menu/drag-context-menu.d.ts +3 -0
  194. package/dist/components/tiptap-ui/drag-context-menu/index.d.ts +2 -0
  195. package/dist/components/tiptap-ui/duplicate-button/duplicate-button.d.ts +22 -0
  196. package/dist/components/tiptap-ui/duplicate-button/index.d.ts +2 -0
  197. package/dist/components/tiptap-ui/duplicate-button/use-duplicate.d.ts +78 -0
  198. package/dist/components/tiptap-ui/emoji-dropdown-menu/emoji-dropdown-menu.d.ts +3 -0
  199. package/dist/components/tiptap-ui/emoji-dropdown-menu/index.d.ts +1 -0
  200. package/dist/components/tiptap-ui/emoji-menu/emoji-menu-utils.d.ts +6 -0
  201. package/dist/components/tiptap-ui/emoji-menu/emoji-menu.d.ts +18 -0
  202. package/dist/components/tiptap-ui/emoji-menu/index.d.ts +2 -0
  203. package/dist/components/tiptap-ui/emoji-trigger-button/emoji-trigger-button.d.ts +22 -0
  204. package/dist/components/tiptap-ui/emoji-trigger-button/index.d.ts +2 -0
  205. package/dist/components/tiptap-ui/emoji-trigger-button/use-emoji-trigger.d.ts +94 -0
  206. package/dist/components/tiptap-ui/heading-button/heading-button.d.ts +23 -0
  207. package/dist/components/tiptap-ui/heading-button/index.d.ts +2 -0
  208. package/dist/components/tiptap-ui/heading-button/use-heading.d.ts +108 -0
  209. package/dist/components/tiptap-ui/image-align-button/image-align-button.d.ts +23 -0
  210. package/dist/components/tiptap-ui/image-align-button/index.d.ts +2 -0
  211. package/dist/components/tiptap-ui/image-align-button/use-image-align.d.ts +110 -0
  212. package/dist/components/tiptap-ui/image-caption-button/image-caption-button.d.ts +16 -0
  213. package/dist/components/tiptap-ui/image-caption-button/index.d.ts +2 -0
  214. package/dist/components/tiptap-ui/image-caption-button/use-image-caption.d.ts +82 -0
  215. package/dist/components/tiptap-ui/image-download-button/image-download-button.d.ts +23 -0
  216. package/dist/components/tiptap-ui/image-download-button/index.d.ts +2 -0
  217. package/dist/components/tiptap-ui/image-download-button/use-image-download.d.ts +64 -0
  218. package/dist/components/tiptap-ui/image-upload-button/image-upload-button.d.ts +29 -0
  219. package/dist/components/tiptap-ui/image-upload-button/index.d.ts +2 -0
  220. package/dist/components/tiptap-ui/image-upload-button/use-image-upload.d.ts +84 -0
  221. package/dist/components/tiptap-ui/indent-button/indent-button.d.ts +30 -0
  222. package/dist/components/tiptap-ui/indent-button/index.d.ts +2 -0
  223. package/dist/components/tiptap-ui/indent-button/use-indent.d.ts +91 -0
  224. package/dist/components/tiptap-ui/link-popover/index.d.ts +2 -0
  225. package/dist/components/tiptap-ui/link-popover/link-popover.d.ts +58 -0
  226. package/dist/components/tiptap-ui/link-popover/use-link-popover.d.ts +117 -0
  227. package/dist/components/tiptap-ui/list-button/index.d.ts +2 -0
  228. package/dist/components/tiptap-ui/list-button/list-button.d.ts +23 -0
  229. package/dist/components/tiptap-ui/list-button/use-list.d.ts +97 -0
  230. package/dist/components/tiptap-ui/mark-button/index.d.ts +2 -0
  231. package/dist/components/tiptap-ui/mark-button/mark-button.d.ts +23 -0
  232. package/dist/components/tiptap-ui/mark-button/use-mark.d.ts +104 -0
  233. package/dist/components/tiptap-ui/mention-dropdown-menu/index.d.ts +1 -0
  234. package/dist/components/tiptap-ui/mention-dropdown-menu/mention-dropdown-menu.d.ts +4 -0
  235. package/dist/components/tiptap-ui/mention-trigger-button/index.d.ts +2 -0
  236. package/dist/components/tiptap-ui/mention-trigger-button/mention-trigger-button.d.ts +22 -0
  237. package/dist/components/tiptap-ui/mention-trigger-button/use-mention-trigger.d.ts +96 -0
  238. package/dist/components/tiptap-ui/move-node-button/index.d.ts +2 -0
  239. package/dist/components/tiptap-ui/move-node-button/move-node-button.d.ts +20 -0
  240. package/dist/components/tiptap-ui/move-node-button/use-move-node.d.ts +52 -0
  241. package/dist/components/tiptap-ui/reset-all-formatting-button/index.d.ts +2 -0
  242. package/dist/components/tiptap-ui/reset-all-formatting-button/reset-all-formatting-button.d.ts +24 -0
  243. package/dist/components/tiptap-ui/reset-all-formatting-button/use-reset-all-formatting.d.ts +106 -0
  244. package/dist/components/tiptap-ui/slash-command-trigger-button/index.d.ts +2 -0
  245. package/dist/components/tiptap-ui/slash-command-trigger-button/slash-command-trigger-button.d.ts +22 -0
  246. package/dist/components/tiptap-ui/slash-command-trigger-button/use-slash-command-trigger.d.ts +96 -0
  247. package/dist/components/tiptap-ui/slash-dropdown-menu/index.d.ts +2 -0
  248. package/dist/components/tiptap-ui/slash-dropdown-menu/slash-dropdown-menu.d.ts +8 -0
  249. package/dist/components/tiptap-ui/slash-dropdown-menu/use-slash-dropdown-menu.d.ts +126 -0
  250. package/dist/components/tiptap-ui/text-align-button/index.d.ts +2 -0
  251. package/dist/components/tiptap-ui/text-align-button/text-align-button.d.ts +30 -0
  252. package/dist/components/tiptap-ui/text-align-button/use-text-align.d.ts +102 -0
  253. package/dist/components/tiptap-ui/text-button/index.d.ts +2 -0
  254. package/dist/components/tiptap-ui/text-button/text-button.d.ts +22 -0
  255. package/dist/components/tiptap-ui/text-button/use-text.d.ts +86 -0
  256. package/dist/components/tiptap-ui/turn-into-dropdown/index.d.ts +2 -0
  257. package/dist/components/tiptap-ui/turn-into-dropdown/turn-into-dropdown.d.ts +16 -0
  258. package/dist/components/tiptap-ui/turn-into-dropdown/use-turn-into-dropdown.d.ts +149 -0
  259. package/dist/components/tiptap-ui/undo-redo-button/index.d.ts +2 -0
  260. package/dist/components/tiptap-ui/undo-redo-button/undo-redo-button.d.ts +23 -0
  261. package/dist/components/tiptap-ui/undo-redo-button/use-undo-redo.d.ts +90 -0
  262. package/dist/components/tiptap-ui-primitive/avatar/avatar.d.ts +23 -0
  263. package/dist/components/tiptap-ui-primitive/avatar/index.d.ts +1 -0
  264. package/dist/components/tiptap-ui-primitive/badge/badge.d.ts +11 -0
  265. package/dist/components/tiptap-ui-primitive/badge/index.d.ts +1 -0
  266. package/dist/components/tiptap-ui-primitive/button/button.d.ts +16 -0
  267. package/dist/components/tiptap-ui-primitive/button/index.d.ts +1 -0
  268. package/dist/components/tiptap-ui-primitive/button-group/button-group.d.ts +10 -0
  269. package/dist/components/tiptap-ui-primitive/button-group/index.d.ts +1 -0
  270. package/dist/components/tiptap-ui-primitive/card/card.d.ts +10 -0
  271. package/dist/components/tiptap-ui-primitive/card/index.d.ts +1 -0
  272. package/dist/components/tiptap-ui-primitive/combobox/combobox.d.ts +21 -0
  273. package/dist/components/tiptap-ui-primitive/combobox/index.d.ts +1 -0
  274. package/dist/components/tiptap-ui-primitive/dropdown-menu/dropdown-menu.d.ts +29 -0
  275. package/dist/components/tiptap-ui-primitive/dropdown-menu/index.d.ts +1 -0
  276. package/dist/components/tiptap-ui-primitive/input/index.d.ts +1 -0
  277. package/dist/components/tiptap-ui-primitive/input/input.d.ts +3 -0
  278. package/dist/components/tiptap-ui-primitive/input-group/index.d.ts +1 -0
  279. package/dist/components/tiptap-ui-primitive/input-group/input-group.d.ts +19 -0
  280. package/dist/components/tiptap-ui-primitive/menu/index.d.ts +5 -0
  281. package/dist/components/tiptap-ui-primitive/menu/menu-context.d.ts +5 -0
  282. package/dist/components/tiptap-ui-primitive/menu/menu-hooks.d.ts +10 -0
  283. package/dist/components/tiptap-ui-primitive/menu/menu-types.d.ts +44 -0
  284. package/dist/components/tiptap-ui-primitive/menu/menu-utils.d.ts +15 -0
  285. package/dist/components/tiptap-ui-primitive/menu/menu.d.ts +20 -0
  286. package/dist/components/tiptap-ui-primitive/popover/index.d.ts +1 -0
  287. package/dist/components/tiptap-ui-primitive/popover/popover.d.ts +6 -0
  288. package/dist/components/tiptap-ui-primitive/separator/index.d.ts +1 -0
  289. package/dist/components/tiptap-ui-primitive/separator/separator.d.ts +5 -0
  290. package/dist/components/tiptap-ui-primitive/spacer/index.d.ts +1 -0
  291. package/dist/components/tiptap-ui-primitive/spacer/spacer.d.ts +5 -0
  292. package/dist/components/tiptap-ui-primitive/textarea/index.d.ts +1 -0
  293. package/dist/components/tiptap-ui-primitive/textarea/textarea.d.ts +3 -0
  294. package/dist/components/tiptap-ui-primitive/toolbar/index.d.ts +1 -0
  295. package/dist/components/tiptap-ui-primitive/toolbar/toolbar.d.ts +9 -0
  296. package/dist/components/tiptap-ui-primitive/tooltip/index.d.ts +1 -0
  297. package/dist/components/tiptap-ui-primitive/tooltip/tooltip.d.ts +29 -0
  298. package/dist/components/tiptap-ui-utils/floating-element/floating-element-utils.d.ts +3 -0
  299. package/dist/components/tiptap-ui-utils/floating-element/floating-element.d.ts +53 -0
  300. package/dist/components/tiptap-ui-utils/floating-element/index.d.ts +2 -0
  301. package/dist/components/tiptap-ui-utils/suggestion-menu/index.d.ts +3 -0
  302. package/dist/components/tiptap-ui-utils/suggestion-menu/suggestion-menu-types.d.ts +86 -0
  303. package/dist/components/tiptap-ui-utils/suggestion-menu/suggestion-menu-utils.d.ts +19 -0
  304. package/dist/components/tiptap-ui-utils/suggestion-menu/suggestion-menu.d.ts +6 -0
  305. package/dist/cvnert-editor.css +1 -0
  306. package/dist/cvnert-editor.js +17069 -0
  307. package/dist/cvnert-editor.umd.cjs +5 -0
  308. package/dist/hooks/use-composed-ref.d.ts +3 -0
  309. package/dist/hooks/use-cursor-visibility.d.ts +20 -0
  310. package/dist/hooks/use-element-rect.d.ts +35 -0
  311. package/dist/hooks/use-floating-element.d.ts +36 -0
  312. package/dist/hooks/use-floating-toolbar-visibility.d.ts +29 -0
  313. package/dist/hooks/use-is-breakpoint.d.ts +9 -0
  314. package/dist/hooks/use-isomorphic-layout-effect.d.ts +7 -0
  315. package/dist/hooks/use-menu-navigation.d.ts +52 -0
  316. package/dist/hooks/use-on-click-outside.d.ts +18 -0
  317. package/dist/hooks/use-throttled-callback.d.ts +18 -0
  318. package/dist/hooks/use-tiptap-editor.d.ts +6 -0
  319. package/dist/hooks/use-ui-editor-state.d.ts +4 -0
  320. package/dist/hooks/use-unmount.d.ts +7 -0
  321. package/dist/hooks/use-window-size.d.ts +35 -0
  322. package/dist/index.d.ts +3 -0
  323. package/dist/lib/tiptap-advanced-utils.d.ts +120 -0
  324. package/dist/lib/tiptap-collab-utils.d.ts +46 -0
  325. package/dist/lib/tiptap-utils.d.ts +174 -0
  326. package/dist/types.d.ts +26 -0
  327. package/package.json +94 -0
@@ -0,0 +1,3 @@
1
+ type SvgProps = React.ComponentPropsWithoutRef<"svg">;
2
+ export declare const PaintBucketIcon: import("react").MemoExoticComponent<({ className, ...props }: SvgProps) => import("react").JSX.Element>;
3
+ export {};
@@ -0,0 +1,3 @@
1
+ type SvgProps = React.ComponentPropsWithoutRef<"svg">;
2
+ export declare const PlusIcon: import("react").MemoExoticComponent<({ className, ...props }: SvgProps) => import("react").JSX.Element>;
3
+ export {};
@@ -0,0 +1,3 @@
1
+ type SvgProps = React.ComponentPropsWithoutRef<"svg">;
2
+ export declare const PlusSmallIcon: import("react").MemoExoticComponent<({ className, ...props }: SvgProps) => import("react").JSX.Element>;
3
+ export {};
@@ -0,0 +1,3 @@
1
+ type SvgProps = React.ComponentPropsWithoutRef<"svg">;
2
+ export declare const Redo2Icon: import("react").MemoExoticComponent<({ className, ...props }: SvgProps) => import("react").JSX.Element>;
3
+ export {};
@@ -0,0 +1,3 @@
1
+ type SvgProps = React.ComponentPropsWithoutRef<"svg">;
2
+ export declare const RefreshCcwIcon: import("react").MemoExoticComponent<({ className, ...props }: SvgProps) => import("react").JSX.Element>;
3
+ export {};
@@ -0,0 +1,3 @@
1
+ type SvgProps = React.ComponentPropsWithoutRef<"svg">;
2
+ export declare const Repeat2Icon: import("react").MemoExoticComponent<({ className, ...props }: SvgProps) => import("react").JSX.Element>;
3
+ export {};
@@ -0,0 +1,3 @@
1
+ type SvgProps = React.ComponentPropsWithoutRef<"svg">;
2
+ export declare const RotateCcwIcon: import("react").MemoExoticComponent<({ className, ...props }: SvgProps) => import("react").JSX.Element>;
3
+ export {};
@@ -0,0 +1,3 @@
1
+ type SvgProps = React.ComponentPropsWithoutRef<"svg">;
2
+ export declare const SmilePlusIcon: import("react").MemoExoticComponent<({ className, ...props }: SvgProps) => import("react").JSX.Element>;
3
+ export {};
@@ -0,0 +1,3 @@
1
+ type SvgProps = React.ComponentPropsWithoutRef<"svg">;
2
+ export declare const SquareXIcon: import("react").MemoExoticComponent<({ className, ...props }: SvgProps) => import("react").JSX.Element>;
3
+ export {};
@@ -0,0 +1,3 @@
1
+ type SvgProps = React.ComponentPropsWithoutRef<"svg">;
2
+ export declare const StrikeIcon: import("react").MemoExoticComponent<({ className, ...props }: SvgProps) => import("react").JSX.Element>;
3
+ export {};
@@ -0,0 +1,3 @@
1
+ type SvgProps = React.ComponentPropsWithoutRef<"svg">;
2
+ export declare const SubscriptIcon: import("react").MemoExoticComponent<({ className, ...props }: SvgProps) => import("react").JSX.Element>;
3
+ export {};
@@ -0,0 +1,3 @@
1
+ type SvgProps = React.ComponentPropsWithoutRef<"svg">;
2
+ export declare const SunIcon: import("react").MemoExoticComponent<({ className, ...props }: SvgProps) => import("react").JSX.Element>;
3
+ export {};
@@ -0,0 +1,3 @@
1
+ type SvgProps = React.ComponentPropsWithoutRef<"svg">;
2
+ export declare const SuperscriptIcon: import("react").MemoExoticComponent<({ className, ...props }: SvgProps) => import("react").JSX.Element>;
3
+ export {};
@@ -0,0 +1,3 @@
1
+ type SvgProps = React.ComponentPropsWithoutRef<"svg">;
2
+ export declare const TableCellMergeIcon: import("react").MemoExoticComponent<({ className, ...props }: SvgProps) => import("react").JSX.Element>;
3
+ export {};
@@ -0,0 +1,3 @@
1
+ type SvgProps = React.ComponentPropsWithoutRef<"svg">;
2
+ export declare const TableCellSplitIcon: import("react").MemoExoticComponent<({ className, ...props }: SvgProps) => import("react").JSX.Element>;
3
+ export {};
@@ -0,0 +1,3 @@
1
+ type SvgProps = React.ComponentPropsWithoutRef<"svg">;
2
+ export declare const TableHeaderColumnIcon: import("react").MemoExoticComponent<({ className, ...props }: SvgProps) => import("react").JSX.Element>;
3
+ export {};
@@ -0,0 +1,3 @@
1
+ type SvgProps = React.ComponentPropsWithoutRef<"svg">;
2
+ export declare const TableHeaderRowIcon: import("react").MemoExoticComponent<({ className, ...props }: SvgProps) => import("react").JSX.Element>;
3
+ export {};
@@ -0,0 +1,3 @@
1
+ type SvgProps = React.ComponentPropsWithoutRef<"svg">;
2
+ export declare const TableIcon: import("react").MemoExoticComponent<({ className, ...props }: SvgProps) => import("react").JSX.Element>;
3
+ export {};
@@ -0,0 +1,3 @@
1
+ type SvgProps = React.ComponentPropsWithoutRef<"svg">;
2
+ export declare const TextColorSmallIcon: import("react").MemoExoticComponent<({ className, ...props }: SvgProps) => import("react").JSX.Element>;
3
+ export {};
@@ -0,0 +1,3 @@
1
+ type SvgProps = React.ComponentPropsWithoutRef<"svg">;
2
+ export declare const TrashIcon: import("react").MemoExoticComponent<({ className, ...props }: SvgProps) => import("react").JSX.Element>;
3
+ export {};
@@ -0,0 +1,3 @@
1
+ type SvgProps = React.ComponentPropsWithoutRef<"svg">;
2
+ export declare const TypeIcon: import("react").MemoExoticComponent<({ className, ...props }: SvgProps) => import("react").JSX.Element>;
3
+ export {};
@@ -0,0 +1,3 @@
1
+ type SvgProps = React.ComponentPropsWithoutRef<"svg">;
2
+ export declare const UnderlineIcon: import("react").MemoExoticComponent<({ className, ...props }: SvgProps) => import("react").JSX.Element>;
3
+ export {};
@@ -0,0 +1,3 @@
1
+ type SvgProps = React.ComponentPropsWithoutRef<"svg">;
2
+ export declare const Undo2Icon: import("react").MemoExoticComponent<({ className, ...props }: SvgProps) => import("react").JSX.Element>;
3
+ export {};
@@ -0,0 +1,2 @@
1
+ export declare const HorizontalRule: import("@tiptap/core").Node<import("@tiptap/extension-horizontal-rule").HorizontalRuleOptions, any>;
2
+ export default HorizontalRule;
@@ -0,0 +1,3 @@
1
+ import type { ImageOptions } from "@tiptap/extension-image";
2
+ export declare const Image: import("@tiptap/core").Node<ImageOptions, any>;
3
+ export default Image;
@@ -0,0 +1,4 @@
1
+ import type { Editor } from "@tiptap/react";
2
+ export declare function ImageNodeFloating({ editor: providedEditor, }: {
3
+ editor?: Editor | null;
4
+ }): import("react").JSX.Element | null;
@@ -0,0 +1,24 @@
1
+ import type { Editor, NodeViewProps } from "@tiptap/react";
2
+ import "./image-node-view.css";
3
+ export interface ResizeParams {
4
+ handleUsed: "left" | "right";
5
+ initialWidth: number;
6
+ initialClientX: number;
7
+ }
8
+ export interface ResizableImageProps extends React.HTMLAttributes<HTMLDivElement> {
9
+ src: string;
10
+ alt?: string;
11
+ editor?: Editor;
12
+ minWidth?: number;
13
+ maxWidth?: number;
14
+ align?: "left" | "center" | "right";
15
+ initialWidth?: number;
16
+ showCaption?: boolean;
17
+ hasContent?: boolean;
18
+ onImageResize?: (width?: number) => void;
19
+ onUpdateAttributes?: (attrs: Record<string, unknown>) => void;
20
+ getPos: () => number | undefined;
21
+ nodeSize?: number;
22
+ }
23
+ export declare function ImageNodeView(props: NodeViewProps): import("react").JSX.Element;
24
+ export declare const ResizableImage: React.FC<ResizableImageProps>;
@@ -0,0 +1,57 @@
1
+ import { Node } from "@tiptap/react";
2
+ import type { NodeType } from "@tiptap/pm/model";
3
+ import type { UploadFunction } from "@/types";
4
+ export type { UploadFunction } from "@/types";
5
+ export interface ImageUploadNodeOptions {
6
+ /**
7
+ * The type of the node.
8
+ * @default 'image'
9
+ */
10
+ type?: string | NodeType | undefined;
11
+ /**
12
+ * Acceptable file types for upload.
13
+ * @default 'image/*'
14
+ */
15
+ accept?: string;
16
+ /**
17
+ * Maximum number of files that can be uploaded.
18
+ * @default 1
19
+ */
20
+ limit?: number;
21
+ /**
22
+ * Maximum file size in bytes (0 for unlimited).
23
+ * @default 0
24
+ */
25
+ maxSize?: number;
26
+ /**
27
+ * Function to handle the upload process.
28
+ */
29
+ upload?: UploadFunction;
30
+ /**
31
+ * Callback for upload errors.
32
+ */
33
+ onError?: (error: Error) => void;
34
+ /**
35
+ * Callback for successful uploads.
36
+ */
37
+ onSuccess?: (url: string) => void;
38
+ /**
39
+ * HTML attributes to add to the image element.
40
+ * @default {}
41
+ * @example { class: 'foo' }
42
+ */
43
+ HTMLAttributes: Record<string, unknown>;
44
+ }
45
+ declare module "@tiptap/react" {
46
+ interface Commands<ReturnType> {
47
+ imageUpload: {
48
+ setImageUploadNode: (options?: ImageUploadNodeOptions) => ReturnType;
49
+ };
50
+ }
51
+ }
52
+ /**
53
+ * A Tiptap node extension that creates an image upload component.
54
+ * @see registry/tiptap-node/image-upload-node/image-upload-node
55
+ */
56
+ export declare const ImageUploadNode: Node<ImageUploadNodeOptions, any>;
57
+ export default ImageUploadNode;
@@ -0,0 +1,69 @@
1
+ import type { NodeViewProps } from "@tiptap/react";
2
+ import "@/components/tiptap-node/image-upload-node/image-upload-node.css";
3
+ export interface FileItem {
4
+ /**
5
+ * Unique identifier for the file item
6
+ */
7
+ id: string;
8
+ /**
9
+ * The actual File object being uploaded
10
+ */
11
+ file: File;
12
+ /**
13
+ * Current upload progress as a percentage (0-100)
14
+ */
15
+ progress: number;
16
+ /**
17
+ * Current status of the file upload process
18
+ * @default "uploading"
19
+ */
20
+ status: "uploading" | "success" | "error";
21
+ /**
22
+ * URL to the uploaded file, available after successful upload
23
+ * @optional
24
+ */
25
+ url?: string;
26
+ /**
27
+ * Controller that can be used to abort the upload process
28
+ * @optional
29
+ */
30
+ abortController?: AbortController;
31
+ }
32
+ export interface UploadOptions {
33
+ /**
34
+ * Maximum allowed file size in bytes
35
+ */
36
+ maxSize: number;
37
+ /**
38
+ * Maximum number of files that can be uploaded
39
+ */
40
+ limit: number;
41
+ /**
42
+ * String specifying acceptable file types (MIME types or extensions)
43
+ * @example ".jpg,.png,image/jpeg" or "image/*"
44
+ */
45
+ accept: string;
46
+ /**
47
+ * Function that handles the actual file upload process
48
+ * @param {File} file - The file to be uploaded
49
+ * @param {Function} onProgress - Callback function to report upload progress
50
+ * @param {AbortSignal} signal - Signal that can be used to abort the upload
51
+ * @returns {Promise<string>} Promise resolving to the URL of the uploaded file
52
+ */
53
+ upload: (file: File, onProgress: (event: {
54
+ progress: number;
55
+ }) => void, signal: AbortSignal) => Promise<string>;
56
+ /**
57
+ * Callback triggered when a file is uploaded successfully
58
+ * @param {string} url - URL of the successfully uploaded file
59
+ * @optional
60
+ */
61
+ onSuccess?: (url: string) => void;
62
+ /**
63
+ * Callback triggered when an error occurs during upload
64
+ * @param {Error} error - The error that occurred
65
+ * @optional
66
+ */
67
+ onError?: (error: Error) => void;
68
+ }
69
+ export declare const ImageUploadNode: React.FC<NodeViewProps>;
@@ -0,0 +1,9 @@
1
+ import type { Editor } from "@tiptap/core";
2
+ /**
3
+ * Public API
4
+ * Creates a polished drag image for a row/column from a TipTap/ProseMirror table.
5
+ * - Subtle rounded corners & shadow
6
+ * - Scales down if it exceeds editor width
7
+ * - Preserves computed styles to look 1:1 with the table
8
+ */
9
+ export declare function createTableDragImage(editor: Editor, orientation: "row" | "col", index: number, tablePos: number): HTMLElement;
@@ -0,0 +1,2 @@
1
+ export * from "./table-handle";
2
+ export * from "./table-handle-plugin";
@@ -0,0 +1,43 @@
1
+ import type { Editor } from "@tiptap/core";
2
+ import type { Node as TiptapNode } from "@tiptap/pm/model";
3
+ import { Plugin, PluginKey } from "@tiptap/pm/state";
4
+ export type TableHandlesState = {
5
+ show: boolean;
6
+ showAddOrRemoveRowsButton: boolean;
7
+ showAddOrRemoveColumnsButton: boolean;
8
+ referencePosCell?: DOMRect;
9
+ referencePosTable: DOMRect;
10
+ block: TiptapNode;
11
+ blockPos: number;
12
+ colIndex: number | undefined;
13
+ rowIndex: number | undefined;
14
+ draggingState?: {
15
+ draggedCellOrientation: "row" | "col";
16
+ originalIndex: number;
17
+ mousePos: number;
18
+ initialOffset: number;
19
+ } | undefined;
20
+ widgetContainer: HTMLElement | undefined;
21
+ };
22
+ export declare const tableHandlePluginKey: PluginKey<any>;
23
+ export declare function TableHandlePlugin(editor: Editor, emitUpdate: (state: TableHandlesState) => void): Plugin;
24
+ /**
25
+ * Callback for column drag handle
26
+ */
27
+ export declare const colDragStart: (event: {
28
+ dataTransfer: DataTransfer | null;
29
+ currentTarget: EventTarget & Element;
30
+ clientX: number;
31
+ }) => void;
32
+ /**
33
+ * Callback for row drag handle
34
+ */
35
+ export declare const rowDragStart: (event: {
36
+ dataTransfer: DataTransfer | null;
37
+ currentTarget: EventTarget & Element;
38
+ clientY: number;
39
+ }) => void;
40
+ /**
41
+ * Drag end cleanup
42
+ */
43
+ export declare const dragEnd: () => void;
@@ -0,0 +1,14 @@
1
+ import { Extension } from "@tiptap/core";
2
+ import type { TableHandlesState } from "@/components/tiptap-node/table-node/extensions/table-handle";
3
+ declare module "@tiptap/core" {
4
+ interface Commands<ReturnType> {
5
+ tableHandle: {
6
+ freezeHandles: () => ReturnType;
7
+ unfreezeHandles: () => ReturnType;
8
+ };
9
+ }
10
+ interface EditorEvents {
11
+ tableHandleState: TableHandlesState;
12
+ }
13
+ }
14
+ export declare const TableHandleExtension: Extension<any, any>;
@@ -0,0 +1,31 @@
1
+ import type { TableCellOptions, TableHeaderOptions, TableOptions, TableRowOptions } from "@tiptap/extension-table";
2
+ import { Extension } from "@tiptap/core";
3
+ export declare const TableNode: import("@tiptap/core").Node<TableOptions, any>;
4
+ export interface TableNodeOptions {
5
+ /**
6
+ * If set to false, the table extension will not be registered
7
+ * @example table: false
8
+ */
9
+ table: Partial<TableOptions> | false;
10
+ /**
11
+ * If set to false, the table extension will not be registered
12
+ * @example tableCell: false
13
+ */
14
+ tableCell: Partial<TableCellOptions> | false;
15
+ /**
16
+ * If set to false, the table extension will not be registered
17
+ * @example tableHeader: false
18
+ */
19
+ tableHeader: Partial<TableHeaderOptions> | false;
20
+ /**
21
+ * If set to false, the table extension will not be registered
22
+ * @example tableRow: false
23
+ */
24
+ tableRow: Partial<TableRowOptions> | false;
25
+ }
26
+ /**
27
+ * The table kit is a collection of table editor extensions.
28
+ *
29
+ * It’s a good starting point for building your own table in Tiptap.
30
+ */
31
+ export declare const TableKit: Extension<TableNodeOptions, any>;
@@ -0,0 +1,22 @@
1
+ import type { Editor } from "@tiptap/react";
2
+ import type { TableHandlesState } from "@/components/tiptap-node/table-node/extensions/table-handle";
3
+ export interface UseTableHandleStateConfig {
4
+ /**
5
+ * The Tiptap editor instance. If omitted, the hook will use
6
+ * the context/editor from `useTiptapEditor`.
7
+ */
8
+ editor?: Editor | null;
9
+ /**
10
+ * Initial state of the table handles
11
+ */
12
+ initialState?: TableHandlesState | null;
13
+ /**
14
+ * Only update state when specific fields change
15
+ */
16
+ watchFields?: (keyof TableHandlesState)[];
17
+ /**
18
+ * Callback when state changes
19
+ */
20
+ onStateChange?: (state: TableHandlesState | null) => void;
21
+ }
22
+ export declare function useTableHandleState(config?: UseTableHandleStateConfig): TableHandlesState | null;