@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.
- package/dist/build/components/autocomplete/autocomplete-empty.gen.d.ts +5 -15
- package/dist/build/components/autocomplete/autocomplete-empty.gen.d.ts.map +1 -1
- package/dist/build/components/autocomplete/autocomplete-empty.gen.js +2 -8
- package/dist/build/components/autocomplete/autocomplete-empty.gen.svelte +1 -2
- package/dist/build/components/autocomplete/autocomplete-empty.gen.svelte.d.ts.map +1 -1
- package/dist/build/components/autocomplete/autocomplete-item.gen.d.ts +5 -17
- package/dist/build/components/autocomplete/autocomplete-item.gen.d.ts.map +1 -1
- package/dist/build/components/autocomplete/autocomplete-item.gen.js +2 -8
- package/dist/build/components/autocomplete/autocomplete-item.gen.svelte +1 -2
- package/dist/build/components/autocomplete/autocomplete-item.gen.svelte.d.ts.map +1 -1
- package/dist/build/components/autocomplete/autocomplete-popup.gen.d.ts +5 -17
- package/dist/build/components/autocomplete/autocomplete-popup.gen.d.ts.map +1 -1
- package/dist/build/components/autocomplete/autocomplete-popup.gen.js +2 -8
- package/dist/build/components/autocomplete/autocomplete-popup.gen.svelte +1 -2
- package/dist/build/components/autocomplete/autocomplete-popup.gen.svelte.d.ts.map +1 -1
- package/dist/build/components/autocomplete/autocomplete-positioner.gen.d.ts +5 -16
- package/dist/build/components/autocomplete/autocomplete-positioner.gen.d.ts.map +1 -1
- package/dist/build/components/autocomplete/autocomplete-positioner.gen.js +2 -8
- package/dist/build/components/autocomplete/autocomplete-positioner.gen.svelte +1 -2
- package/dist/build/components/autocomplete/autocomplete-positioner.gen.svelte.d.ts.map +1 -1
- package/dist/build/components/autocomplete/autocomplete-root.gen.d.ts +5 -17
- package/dist/build/components/autocomplete/autocomplete-root.gen.d.ts.map +1 -1
- package/dist/build/components/autocomplete/autocomplete-root.gen.js +2 -8
- package/dist/build/components/autocomplete/autocomplete-root.gen.svelte +1 -2
- package/dist/build/components/autocomplete/autocomplete-root.gen.svelte.d.ts.map +1 -1
- package/dist/build/components/autocomplete/index.gen.d.ts +3 -7
- package/dist/build/components/autocomplete/index.gen.d.ts.map +1 -1
- package/dist/build/components/autocomplete/index.gen.js +1 -4
- package/dist/build/components/block-handle/block-handle-add.gen.d.ts +5 -16
- package/dist/build/components/block-handle/block-handle-add.gen.d.ts.map +1 -1
- package/dist/build/components/block-handle/block-handle-add.gen.js +2 -8
- package/dist/build/components/block-handle/block-handle-add.gen.svelte +1 -2
- package/dist/build/components/block-handle/block-handle-add.gen.svelte.d.ts.map +1 -1
- package/dist/build/components/block-handle/block-handle-draggable.gen.d.ts +5 -16
- package/dist/build/components/block-handle/block-handle-draggable.gen.d.ts.map +1 -1
- package/dist/build/components/block-handle/block-handle-draggable.gen.js +2 -8
- package/dist/build/components/block-handle/block-handle-draggable.gen.svelte +1 -2
- package/dist/build/components/block-handle/block-handle-draggable.gen.svelte.d.ts.map +1 -1
- package/dist/build/components/block-handle/block-handle-popup.gen.d.ts +5 -15
- package/dist/build/components/block-handle/block-handle-popup.gen.d.ts.map +1 -1
- package/dist/build/components/block-handle/block-handle-popup.gen.js +2 -8
- package/dist/build/components/block-handle/block-handle-popup.gen.svelte +1 -2
- package/dist/build/components/block-handle/block-handle-popup.gen.svelte.d.ts.map +1 -1
- package/dist/build/components/block-handle/block-handle-positioner.gen.d.ts +5 -16
- package/dist/build/components/block-handle/block-handle-positioner.gen.d.ts.map +1 -1
- package/dist/build/components/block-handle/block-handle-positioner.gen.js +2 -8
- package/dist/build/components/block-handle/block-handle-positioner.gen.svelte +1 -2
- package/dist/build/components/block-handle/block-handle-positioner.gen.svelte.d.ts.map +1 -1
- package/dist/build/components/block-handle/block-handle-root.gen.d.ts +5 -17
- package/dist/build/components/block-handle/block-handle-root.gen.d.ts.map +1 -1
- package/dist/build/components/block-handle/block-handle-root.gen.js +2 -8
- package/dist/build/components/block-handle/block-handle-root.gen.svelte +1 -2
- package/dist/build/components/block-handle/block-handle-root.gen.svelte.d.ts.map +1 -1
- package/dist/build/components/block-handle/index.gen.d.ts +1 -5
- package/dist/build/components/block-handle/index.gen.d.ts.map +1 -1
- package/dist/build/components/block-handle/index.gen.js +1 -4
- package/dist/build/components/drop-indicator/drop-indicator.gen.d.ts +5 -16
- package/dist/build/components/drop-indicator/drop-indicator.gen.d.ts.map +1 -1
- package/dist/build/components/drop-indicator/drop-indicator.gen.js +2 -8
- package/dist/build/components/drop-indicator/drop-indicator.gen.svelte +1 -2
- package/dist/build/components/drop-indicator/drop-indicator.gen.svelte.d.ts.map +1 -1
- package/dist/build/components/drop-indicator/index.gen.d.ts +0 -3
- package/dist/build/components/drop-indicator/index.gen.d.ts.map +1 -1
- package/dist/build/components/drop-indicator/index.gen.js +1 -3
- package/dist/build/components/inline-popover/index.gen.d.ts +1 -5
- package/dist/build/components/inline-popover/index.gen.d.ts.map +1 -1
- package/dist/build/components/inline-popover/index.gen.js +1 -4
- package/dist/build/components/inline-popover/inline-popover-popup.gen.d.ts +5 -15
- package/dist/build/components/inline-popover/inline-popover-popup.gen.d.ts.map +1 -1
- package/dist/build/components/inline-popover/inline-popover-popup.gen.js +2 -8
- package/dist/build/components/inline-popover/inline-popover-popup.gen.svelte +1 -2
- package/dist/build/components/inline-popover/inline-popover-popup.gen.svelte.d.ts.map +1 -1
- package/dist/build/components/inline-popover/inline-popover-positioner.gen.d.ts +5 -16
- package/dist/build/components/inline-popover/inline-popover-positioner.gen.d.ts.map +1 -1
- package/dist/build/components/inline-popover/inline-popover-positioner.gen.js +2 -8
- package/dist/build/components/inline-popover/inline-popover-positioner.gen.svelte +1 -2
- package/dist/build/components/inline-popover/inline-popover-positioner.gen.svelte.d.ts.map +1 -1
- package/dist/build/components/inline-popover/inline-popover-root.gen.d.ts +6 -18
- package/dist/build/components/inline-popover/inline-popover-root.gen.d.ts.map +1 -1
- package/dist/build/components/inline-popover/inline-popover-root.gen.js +2 -8
- package/dist/build/components/inline-popover/inline-popover-root.gen.svelte +1 -2
- package/dist/build/components/inline-popover/inline-popover-root.gen.svelte.d.ts.map +1 -1
- package/dist/build/components/menu/index.gen.d.ts +3 -7
- package/dist/build/components/menu/index.gen.d.ts.map +1 -1
- package/dist/build/components/menu/index.gen.js +1 -4
- package/dist/build/components/menu/menu-item.gen.d.ts +5 -17
- package/dist/build/components/menu/menu-item.gen.d.ts.map +1 -1
- package/dist/build/components/menu/menu-item.gen.js +2 -8
- package/dist/build/components/menu/menu-item.gen.svelte +1 -2
- package/dist/build/components/menu/menu-item.gen.svelte.d.ts.map +1 -1
- package/dist/build/components/menu/menu-popup.gen.d.ts +5 -16
- package/dist/build/components/menu/menu-popup.gen.d.ts.map +1 -1
- package/dist/build/components/menu/menu-popup.gen.js +2 -8
- package/dist/build/components/menu/menu-popup.gen.svelte +1 -2
- package/dist/build/components/menu/menu-popup.gen.svelte.d.ts.map +1 -1
- package/dist/build/components/menu/menu-positioner.gen.d.ts +5 -16
- package/dist/build/components/menu/menu-positioner.gen.d.ts.map +1 -1
- package/dist/build/components/menu/menu-positioner.gen.js +2 -8
- package/dist/build/components/menu/menu-positioner.gen.svelte +1 -2
- package/dist/build/components/menu/menu-positioner.gen.svelte.d.ts.map +1 -1
- package/dist/build/components/menu/menu-root.gen.d.ts +5 -17
- package/dist/build/components/menu/menu-root.gen.d.ts.map +1 -1
- package/dist/build/components/menu/menu-root.gen.js +2 -8
- package/dist/build/components/menu/menu-root.gen.svelte +1 -2
- package/dist/build/components/menu/menu-root.gen.svelte.d.ts.map +1 -1
- package/dist/build/components/menu/menu-submenu-root.gen.d.ts +22 -15
- package/dist/build/components/menu/menu-submenu-root.gen.d.ts.map +1 -1
- package/dist/build/components/menu/menu-submenu-root.gen.js +2 -8
- package/dist/build/components/menu/menu-submenu-root.gen.svelte +25 -4
- package/dist/build/components/menu/menu-submenu-root.gen.svelte.d.ts +4 -0
- package/dist/build/components/menu/menu-submenu-root.gen.svelte.d.ts.map +1 -1
- package/dist/build/components/menu/menu-submenu-trigger.gen.d.ts +17 -15
- package/dist/build/components/menu/menu-submenu-trigger.gen.d.ts.map +1 -1
- package/dist/build/components/menu/menu-submenu-trigger.gen.js +2 -8
- package/dist/build/components/menu/menu-submenu-trigger.gen.svelte +11 -4
- package/dist/build/components/menu/menu-submenu-trigger.gen.svelte.d.ts +2 -0
- package/dist/build/components/menu/menu-submenu-trigger.gen.svelte.d.ts.map +1 -1
- package/dist/build/components/menu/menu-trigger.gen.d.ts +5 -17
- package/dist/build/components/menu/menu-trigger.gen.d.ts.map +1 -1
- package/dist/build/components/menu/menu-trigger.gen.js +2 -8
- package/dist/build/components/menu/menu-trigger.gen.svelte +1 -2
- package/dist/build/components/menu/menu-trigger.gen.svelte.d.ts.map +1 -1
- package/dist/build/components/popover/index.gen.d.ts +2 -6
- package/dist/build/components/popover/index.gen.d.ts.map +1 -1
- package/dist/build/components/popover/index.gen.js +1 -4
- package/dist/build/components/popover/popover-popup.gen.d.ts +5 -15
- package/dist/build/components/popover/popover-popup.gen.d.ts.map +1 -1
- package/dist/build/components/popover/popover-popup.gen.js +2 -8
- package/dist/build/components/popover/popover-popup.gen.svelte +1 -2
- package/dist/build/components/popover/popover-popup.gen.svelte.d.ts.map +1 -1
- package/dist/build/components/popover/popover-positioner.gen.d.ts +5 -16
- package/dist/build/components/popover/popover-positioner.gen.d.ts.map +1 -1
- package/dist/build/components/popover/popover-positioner.gen.js +2 -8
- package/dist/build/components/popover/popover-positioner.gen.svelte +1 -2
- package/dist/build/components/popover/popover-positioner.gen.svelte.d.ts.map +1 -1
- package/dist/build/components/popover/popover-root.gen.d.ts +5 -17
- package/dist/build/components/popover/popover-root.gen.d.ts.map +1 -1
- package/dist/build/components/popover/popover-root.gen.js +2 -8
- package/dist/build/components/popover/popover-root.gen.svelte +1 -2
- package/dist/build/components/popover/popover-root.gen.svelte.d.ts.map +1 -1
- package/dist/build/components/popover/popover-trigger.gen.d.ts +5 -17
- package/dist/build/components/popover/popover-trigger.gen.d.ts.map +1 -1
- package/dist/build/components/popover/popover-trigger.gen.js +2 -8
- package/dist/build/components/popover/popover-trigger.gen.svelte +1 -2
- package/dist/build/components/popover/popover-trigger.gen.svelte.d.ts.map +1 -1
- package/dist/build/components/resizable/index.gen.d.ts +1 -5
- package/dist/build/components/resizable/index.gen.d.ts.map +1 -1
- package/dist/build/components/resizable/index.gen.js +1 -4
- package/dist/build/components/resizable/resizable-handle.gen.d.ts +5 -16
- package/dist/build/components/resizable/resizable-handle.gen.d.ts.map +1 -1
- package/dist/build/components/resizable/resizable-handle.gen.js +2 -8
- package/dist/build/components/resizable/resizable-handle.gen.svelte +1 -2
- package/dist/build/components/resizable/resizable-handle.gen.svelte.d.ts.map +1 -1
- package/dist/build/components/resizable/resizable-root.gen.d.ts +5 -17
- package/dist/build/components/resizable/resizable-root.gen.d.ts.map +1 -1
- package/dist/build/components/resizable/resizable-root.gen.js +2 -8
- package/dist/build/components/resizable/resizable-root.gen.svelte +1 -2
- package/dist/build/components/resizable/resizable-root.gen.svelte.d.ts.map +1 -1
- package/dist/build/components/table-handle/index.gen.d.ts +0 -3
- package/dist/build/components/table-handle/index.gen.d.ts.map +1 -1
- package/dist/build/components/table-handle/index.gen.js +1 -3
- package/dist/build/components/table-handle/table-handle-column-menu-root.gen.d.ts +5 -16
- package/dist/build/components/table-handle/table-handle-column-menu-root.gen.d.ts.map +1 -1
- package/dist/build/components/table-handle/table-handle-column-menu-root.gen.js +2 -8
- package/dist/build/components/table-handle/table-handle-column-menu-root.gen.svelte +1 -2
- package/dist/build/components/table-handle/table-handle-column-menu-root.gen.svelte.d.ts.map +1 -1
- package/dist/build/components/table-handle/table-handle-column-menu-trigger.gen.d.ts +5 -16
- package/dist/build/components/table-handle/table-handle-column-menu-trigger.gen.d.ts.map +1 -1
- package/dist/build/components/table-handle/table-handle-column-menu-trigger.gen.js +2 -8
- package/dist/build/components/table-handle/table-handle-column-menu-trigger.gen.svelte +1 -2
- package/dist/build/components/table-handle/table-handle-column-menu-trigger.gen.svelte.d.ts.map +1 -1
- package/dist/build/components/table-handle/table-handle-column-popup.gen.d.ts +5 -15
- package/dist/build/components/table-handle/table-handle-column-popup.gen.d.ts.map +1 -1
- package/dist/build/components/table-handle/table-handle-column-popup.gen.js +2 -8
- package/dist/build/components/table-handle/table-handle-column-popup.gen.svelte +1 -2
- package/dist/build/components/table-handle/table-handle-column-popup.gen.svelte.d.ts.map +1 -1
- package/dist/build/components/table-handle/table-handle-column-positioner.gen.d.ts +5 -16
- package/dist/build/components/table-handle/table-handle-column-positioner.gen.d.ts.map +1 -1
- package/dist/build/components/table-handle/table-handle-column-positioner.gen.js +2 -8
- package/dist/build/components/table-handle/table-handle-column-positioner.gen.svelte +1 -2
- package/dist/build/components/table-handle/table-handle-column-positioner.gen.svelte.d.ts.map +1 -1
- package/dist/build/components/table-handle/table-handle-drag-preview.gen.d.ts +5 -16
- package/dist/build/components/table-handle/table-handle-drag-preview.gen.d.ts.map +1 -1
- package/dist/build/components/table-handle/table-handle-drag-preview.gen.js +2 -8
- package/dist/build/components/table-handle/table-handle-drag-preview.gen.svelte +1 -2
- package/dist/build/components/table-handle/table-handle-drag-preview.gen.svelte.d.ts.map +1 -1
- package/dist/build/components/table-handle/table-handle-drop-indicator.gen.d.ts +5 -16
- package/dist/build/components/table-handle/table-handle-drop-indicator.gen.d.ts.map +1 -1
- package/dist/build/components/table-handle/table-handle-drop-indicator.gen.js +2 -8
- package/dist/build/components/table-handle/table-handle-drop-indicator.gen.svelte +1 -2
- package/dist/build/components/table-handle/table-handle-drop-indicator.gen.svelte.d.ts.map +1 -1
- package/dist/build/components/table-handle/table-handle-root.gen.d.ts +5 -16
- package/dist/build/components/table-handle/table-handle-root.gen.d.ts.map +1 -1
- package/dist/build/components/table-handle/table-handle-root.gen.js +2 -8
- package/dist/build/components/table-handle/table-handle-root.gen.svelte +1 -2
- package/dist/build/components/table-handle/table-handle-root.gen.svelte.d.ts.map +1 -1
- package/dist/build/components/table-handle/table-handle-row-menu-root.gen.d.ts +5 -16
- package/dist/build/components/table-handle/table-handle-row-menu-root.gen.d.ts.map +1 -1
- package/dist/build/components/table-handle/table-handle-row-menu-root.gen.js +2 -8
- package/dist/build/components/table-handle/table-handle-row-menu-root.gen.svelte +1 -2
- package/dist/build/components/table-handle/table-handle-row-menu-root.gen.svelte.d.ts.map +1 -1
- package/dist/build/components/table-handle/table-handle-row-menu-trigger.gen.d.ts +5 -16
- package/dist/build/components/table-handle/table-handle-row-menu-trigger.gen.d.ts.map +1 -1
- package/dist/build/components/table-handle/table-handle-row-menu-trigger.gen.js +2 -8
- package/dist/build/components/table-handle/table-handle-row-menu-trigger.gen.svelte +1 -2
- package/dist/build/components/table-handle/table-handle-row-menu-trigger.gen.svelte.d.ts.map +1 -1
- package/dist/build/components/table-handle/table-handle-row-popup.gen.d.ts +5 -15
- package/dist/build/components/table-handle/table-handle-row-popup.gen.d.ts.map +1 -1
- package/dist/build/components/table-handle/table-handle-row-popup.gen.js +2 -8
- package/dist/build/components/table-handle/table-handle-row-popup.gen.svelte +1 -2
- package/dist/build/components/table-handle/table-handle-row-popup.gen.svelte.d.ts.map +1 -1
- package/dist/build/components/table-handle/table-handle-row-positioner.gen.d.ts +5 -16
- package/dist/build/components/table-handle/table-handle-row-positioner.gen.d.ts.map +1 -1
- package/dist/build/components/table-handle/table-handle-row-positioner.gen.js +2 -8
- package/dist/build/components/table-handle/table-handle-row-positioner.gen.svelte +1 -2
- package/dist/build/components/table-handle/table-handle-row-positioner.gen.svelte.d.ts.map +1 -1
- package/dist/build/components/tooltip/index.gen.d.ts +1 -5
- package/dist/build/components/tooltip/index.gen.d.ts.map +1 -1
- package/dist/build/components/tooltip/index.gen.js +1 -4
- package/dist/build/components/tooltip/tooltip-popup.gen.d.ts +5 -15
- package/dist/build/components/tooltip/tooltip-popup.gen.d.ts.map +1 -1
- package/dist/build/components/tooltip/tooltip-popup.gen.js +2 -8
- package/dist/build/components/tooltip/tooltip-popup.gen.svelte +1 -2
- package/dist/build/components/tooltip/tooltip-popup.gen.svelte.d.ts.map +1 -1
- package/dist/build/components/tooltip/tooltip-positioner.gen.d.ts +5 -16
- package/dist/build/components/tooltip/tooltip-positioner.gen.d.ts.map +1 -1
- package/dist/build/components/tooltip/tooltip-positioner.gen.js +2 -8
- package/dist/build/components/tooltip/tooltip-positioner.gen.svelte +1 -2
- package/dist/build/components/tooltip/tooltip-positioner.gen.svelte.d.ts.map +1 -1
- package/dist/build/components/tooltip/tooltip-root.gen.d.ts +5 -17
- package/dist/build/components/tooltip/tooltip-root.gen.d.ts.map +1 -1
- package/dist/build/components/tooltip/tooltip-root.gen.js +2 -8
- package/dist/build/components/tooltip/tooltip-root.gen.svelte +1 -2
- package/dist/build/components/tooltip/tooltip-root.gen.svelte.d.ts.map +1 -1
- package/dist/build/components/tooltip/tooltip-trigger.gen.d.ts +5 -16
- package/dist/build/components/tooltip/tooltip-trigger.gen.d.ts.map +1 -1
- package/dist/build/components/tooltip/tooltip-trigger.gen.js +2 -8
- package/dist/build/components/tooltip/tooltip-trigger.gen.svelte +1 -2
- package/dist/build/components/tooltip/tooltip-trigger.gen.svelte.d.ts.map +1 -1
- package/package.json +5 -5
- package/src/components/autocomplete/autocomplete-empty.gen.svelte +1 -2
- package/src/components/autocomplete/autocomplete-empty.gen.ts +6 -15
- package/src/components/autocomplete/autocomplete-item.gen.svelte +1 -2
- package/src/components/autocomplete/autocomplete-item.gen.ts +6 -18
- package/src/components/autocomplete/autocomplete-popup.gen.svelte +1 -2
- package/src/components/autocomplete/autocomplete-popup.gen.ts +6 -18
- package/src/components/autocomplete/autocomplete-positioner.gen.svelte +1 -2
- package/src/components/autocomplete/autocomplete-positioner.gen.ts +6 -16
- package/src/components/autocomplete/autocomplete-root.gen.svelte +1 -2
- package/src/components/autocomplete/autocomplete-root.gen.ts +6 -18
- package/src/components/autocomplete/index.gen.ts +4 -8
- package/src/components/block-handle/block-handle-add.gen.svelte +1 -2
- package/src/components/block-handle/block-handle-add.gen.ts +6 -16
- package/src/components/block-handle/block-handle-draggable.gen.svelte +1 -2
- package/src/components/block-handle/block-handle-draggable.gen.ts +6 -16
- package/src/components/block-handle/block-handle-popup.gen.svelte +1 -2
- package/src/components/block-handle/block-handle-popup.gen.ts +6 -15
- package/src/components/block-handle/block-handle-positioner.gen.svelte +1 -2
- package/src/components/block-handle/block-handle-positioner.gen.ts +6 -16
- package/src/components/block-handle/block-handle-root.gen.svelte +1 -2
- package/src/components/block-handle/block-handle-root.gen.ts +6 -18
- package/src/components/block-handle/index.gen.ts +2 -6
- package/src/components/drop-indicator/drop-indicator.gen.svelte +1 -2
- package/src/components/drop-indicator/drop-indicator.gen.ts +6 -16
- package/src/components/drop-indicator/index.gen.ts +1 -3
- package/src/components/inline-popover/index.gen.ts +2 -6
- package/src/components/inline-popover/inline-popover-popup.gen.svelte +1 -2
- package/src/components/inline-popover/inline-popover-popup.gen.ts +6 -15
- package/src/components/inline-popover/inline-popover-positioner.gen.svelte +1 -2
- package/src/components/inline-popover/inline-popover-positioner.gen.ts +6 -16
- package/src/components/inline-popover/inline-popover-root.gen.svelte +1 -2
- package/src/components/inline-popover/inline-popover-root.gen.ts +7 -19
- package/src/components/menu/index.gen.ts +4 -8
- package/src/components/menu/menu-item.gen.svelte +1 -2
- package/src/components/menu/menu-item.gen.ts +6 -18
- package/src/components/menu/menu-popup.gen.svelte +1 -2
- package/src/components/menu/menu-popup.gen.ts +6 -16
- package/src/components/menu/menu-positioner.gen.svelte +1 -2
- package/src/components/menu/menu-positioner.gen.ts +6 -16
- package/src/components/menu/menu-root.gen.svelte +1 -2
- package/src/components/menu/menu-root.gen.ts +6 -18
- package/src/components/menu/menu-submenu-root.gen.svelte +25 -4
- package/src/components/menu/menu-submenu-root.gen.ts +23 -15
- package/src/components/menu/menu-submenu-trigger.gen.svelte +11 -4
- package/src/components/menu/menu-submenu-trigger.gen.ts +18 -15
- package/src/components/menu/menu-trigger.gen.svelte +1 -2
- package/src/components/menu/menu-trigger.gen.ts +6 -18
- package/src/components/popover/index.gen.ts +3 -7
- package/src/components/popover/popover-popup.gen.svelte +1 -2
- package/src/components/popover/popover-popup.gen.ts +6 -15
- package/src/components/popover/popover-positioner.gen.svelte +1 -2
- package/src/components/popover/popover-positioner.gen.ts +6 -16
- package/src/components/popover/popover-root.gen.svelte +1 -2
- package/src/components/popover/popover-root.gen.ts +6 -18
- package/src/components/popover/popover-trigger.gen.svelte +1 -2
- package/src/components/popover/popover-trigger.gen.ts +6 -18
- package/src/components/resizable/index.gen.ts +2 -6
- package/src/components/resizable/resizable-handle.gen.svelte +1 -2
- package/src/components/resizable/resizable-handle.gen.ts +6 -16
- package/src/components/resizable/resizable-root.gen.svelte +1 -2
- package/src/components/resizable/resizable-root.gen.ts +6 -18
- package/src/components/table-handle/index.gen.ts +1 -3
- package/src/components/table-handle/table-handle-column-menu-root.gen.svelte +1 -2
- package/src/components/table-handle/table-handle-column-menu-root.gen.ts +6 -16
- package/src/components/table-handle/table-handle-column-menu-trigger.gen.svelte +1 -2
- package/src/components/table-handle/table-handle-column-menu-trigger.gen.ts +6 -16
- package/src/components/table-handle/table-handle-column-popup.gen.svelte +1 -2
- package/src/components/table-handle/table-handle-column-popup.gen.ts +6 -15
- package/src/components/table-handle/table-handle-column-positioner.gen.svelte +1 -2
- package/src/components/table-handle/table-handle-column-positioner.gen.ts +6 -16
- package/src/components/table-handle/table-handle-drag-preview.gen.svelte +1 -2
- package/src/components/table-handle/table-handle-drag-preview.gen.ts +6 -16
- package/src/components/table-handle/table-handle-drop-indicator.gen.svelte +1 -2
- package/src/components/table-handle/table-handle-drop-indicator.gen.ts +6 -16
- package/src/components/table-handle/table-handle-root.gen.svelte +1 -2
- package/src/components/table-handle/table-handle-root.gen.ts +6 -16
- package/src/components/table-handle/table-handle-row-menu-root.gen.svelte +1 -2
- package/src/components/table-handle/table-handle-row-menu-root.gen.ts +6 -16
- package/src/components/table-handle/table-handle-row-menu-trigger.gen.svelte +1 -2
- package/src/components/table-handle/table-handle-row-menu-trigger.gen.ts +6 -16
- package/src/components/table-handle/table-handle-row-popup.gen.svelte +1 -2
- package/src/components/table-handle/table-handle-row-popup.gen.ts +6 -15
- package/src/components/table-handle/table-handle-row-positioner.gen.svelte +1 -2
- package/src/components/table-handle/table-handle-row-positioner.gen.ts +6 -16
- package/src/components/tooltip/index.gen.ts +2 -6
- package/src/components/tooltip/tooltip-popup.gen.svelte +1 -2
- package/src/components/tooltip/tooltip-popup.gen.ts +6 -15
- package/src/components/tooltip/tooltip-positioner.gen.svelte +1 -2
- package/src/components/tooltip/tooltip-positioner.gen.ts +6 -16
- package/src/components/tooltip/tooltip-root.gen.svelte +1 -2
- package/src/components/tooltip/tooltip-root.gen.ts +6 -18
- package/src/components/tooltip/tooltip-trigger.gen.svelte +1 -2
- package/src/components/tooltip/tooltip-trigger.gen.ts +6 -16
|
@@ -1,17 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
* This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly.
|
|
3
|
-
*/
|
|
1
|
+
// This file is auto-generated by "@aria-ui/cli". Do not edit this file directly.
|
|
4
2
|
|
|
5
|
-
import type { BlockHandleDraggableProps as BlockHandleDraggableElementProps } from '@prosekit/web/block-handle';
|
|
3
|
+
import type { BlockHandleDraggableElement, BlockHandleDraggableProps as BlockHandleDraggableElementProps } from '@prosekit/web/block-handle';
|
|
6
4
|
import type { Component, Snippet } from 'svelte';
|
|
5
|
+
import type { HTMLAttributes } from 'svelte/elements';
|
|
7
6
|
|
|
8
7
|
import BlockHandleDraggableComponent from './block-handle-draggable.gen.svelte';
|
|
9
8
|
|
|
10
|
-
/**
|
|
11
|
-
* Props for the {@link BlockHandleDraggable} Svelte component.
|
|
12
|
-
*
|
|
13
|
-
* @public
|
|
14
|
-
*/
|
|
9
|
+
/** Props for the {@link BlockHandleDraggable} Svelte component. */
|
|
15
10
|
export interface BlockHandleDraggableProps {
|
|
16
11
|
/**
|
|
17
12
|
* The ProseKit editor instance.
|
|
@@ -21,12 +16,7 @@ export interface BlockHandleDraggableProps {
|
|
|
21
16
|
*/
|
|
22
17
|
editor?: BlockHandleDraggableElementProps['editor'];
|
|
23
18
|
children?: Snippet;
|
|
24
|
-
[key: string]: unknown;
|
|
25
19
|
}
|
|
26
20
|
|
|
27
|
-
/**
|
|
28
|
-
|
|
29
|
-
*
|
|
30
|
-
* @public
|
|
31
|
-
*/
|
|
32
|
-
export const BlockHandleDraggable: Component<BlockHandleDraggableProps> = BlockHandleDraggableComponent as unknown as Component<BlockHandleDraggableProps>;
|
|
21
|
+
/** A Svelte component that renders an `prosekit-block-handle-draggable` custom element. */
|
|
22
|
+
export const BlockHandleDraggable: Component<BlockHandleDraggableProps & HTMLAttributes<BlockHandleDraggableElement>> = BlockHandleDraggableComponent as Component<BlockHandleDraggableProps & HTMLAttributes<BlockHandleDraggableElement>>;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
<!-- This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly. -->
|
|
2
|
-
|
|
3
1
|
<script lang="ts">
|
|
2
|
+
// This file is auto-generated by "@aria-ui/cli". Do not edit this file directly.
|
|
4
3
|
import { registerBlockHandlePopupElement } from '@prosekit/web/block-handle'
|
|
5
4
|
registerBlockHandlePopupElement()
|
|
6
5
|
|
|
@@ -1,24 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
* This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly.
|
|
3
|
-
*/
|
|
1
|
+
// This file is auto-generated by "@aria-ui/cli". Do not edit this file directly.
|
|
4
2
|
|
|
3
|
+
import type { BlockHandlePopupElement } from '@prosekit/web/block-handle';
|
|
5
4
|
import type { Component, Snippet } from 'svelte';
|
|
5
|
+
import type { HTMLAttributes } from 'svelte/elements';
|
|
6
6
|
|
|
7
7
|
import BlockHandlePopupComponent from './block-handle-popup.gen.svelte';
|
|
8
8
|
|
|
9
|
-
/**
|
|
10
|
-
* Props for the {@link BlockHandlePopup} Svelte component.
|
|
11
|
-
*
|
|
12
|
-
* @public
|
|
13
|
-
*/
|
|
9
|
+
/** Props for the {@link BlockHandlePopup} Svelte component. */
|
|
14
10
|
export interface BlockHandlePopupProps {
|
|
15
11
|
children?: Snippet;
|
|
16
|
-
[key: string]: unknown;
|
|
17
12
|
}
|
|
18
13
|
|
|
19
|
-
/**
|
|
20
|
-
|
|
21
|
-
*
|
|
22
|
-
* @public
|
|
23
|
-
*/
|
|
24
|
-
export const BlockHandlePopup: Component<BlockHandlePopupProps> = BlockHandlePopupComponent as unknown as Component<BlockHandlePopupProps>;
|
|
14
|
+
/** A Svelte component that renders an `prosekit-block-handle-popup` custom element. */
|
|
15
|
+
export const BlockHandlePopup: Component<BlockHandlePopupProps & HTMLAttributes<BlockHandlePopupElement>> = BlockHandlePopupComponent as Component<BlockHandlePopupProps & HTMLAttributes<BlockHandlePopupElement>>;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
<!-- This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly. -->
|
|
2
|
-
|
|
3
1
|
<script lang="ts">
|
|
2
|
+
// This file is auto-generated by "@aria-ui/cli". Do not edit this file directly.
|
|
4
3
|
import { registerBlockHandlePositionerElement } from '@prosekit/web/block-handle'
|
|
5
4
|
import type { BlockHandlePositionerElement } from '@prosekit/web/block-handle'
|
|
6
5
|
registerBlockHandlePositionerElement()
|
|
@@ -1,17 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
* This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly.
|
|
3
|
-
*/
|
|
1
|
+
// This file is auto-generated by "@aria-ui/cli". Do not edit this file directly.
|
|
4
2
|
|
|
5
|
-
import type { BlockHandlePositionerProps as BlockHandlePositionerElementProps } from '@prosekit/web/block-handle';
|
|
3
|
+
import type { BlockHandlePositionerElement, BlockHandlePositionerProps as BlockHandlePositionerElementProps } from '@prosekit/web/block-handle';
|
|
6
4
|
import type { Component, Snippet } from 'svelte';
|
|
5
|
+
import type { HTMLAttributes } from 'svelte/elements';
|
|
7
6
|
|
|
8
7
|
import BlockHandlePositionerComponent from './block-handle-positioner.gen.svelte';
|
|
9
8
|
|
|
10
|
-
/**
|
|
11
|
-
* Props for the {@link BlockHandlePositioner} Svelte component.
|
|
12
|
-
*
|
|
13
|
-
* @public
|
|
14
|
-
*/
|
|
9
|
+
/** Props for the {@link BlockHandlePositioner} Svelte component. */
|
|
15
10
|
export interface BlockHandlePositionerProps {
|
|
16
11
|
/**
|
|
17
12
|
* The placement of the popover, relative to the hovered block.
|
|
@@ -134,12 +129,7 @@ export interface BlockHandlePositionerProps {
|
|
|
134
129
|
*/
|
|
135
130
|
altBoundary?: BlockHandlePositionerElementProps['altBoundary'];
|
|
136
131
|
children?: Snippet;
|
|
137
|
-
[key: string]: unknown;
|
|
138
132
|
}
|
|
139
133
|
|
|
140
|
-
/**
|
|
141
|
-
|
|
142
|
-
*
|
|
143
|
-
* @public
|
|
144
|
-
*/
|
|
145
|
-
export const BlockHandlePositioner: Component<BlockHandlePositionerProps> = BlockHandlePositionerComponent as unknown as Component<BlockHandlePositionerProps>;
|
|
134
|
+
/** A Svelte component that renders an `prosekit-block-handle-positioner` custom element. */
|
|
135
|
+
export const BlockHandlePositioner: Component<BlockHandlePositionerProps & HTMLAttributes<BlockHandlePositionerElement>> = BlockHandlePositionerComponent as Component<BlockHandlePositionerProps & HTMLAttributes<BlockHandlePositionerElement>>;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
<!-- This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly. -->
|
|
2
|
-
|
|
3
1
|
<script lang="ts">
|
|
2
|
+
// This file is auto-generated by "@aria-ui/cli". Do not edit this file directly.
|
|
4
3
|
import { registerBlockHandleRootElement } from '@prosekit/web/block-handle'
|
|
5
4
|
import type { BlockHandleRootElement } from '@prosekit/web/block-handle'
|
|
6
5
|
import { useEditorContext } from '../../contexts/editor-context.ts'
|
|
@@ -1,17 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
* This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly.
|
|
3
|
-
*/
|
|
1
|
+
// This file is auto-generated by "@aria-ui/cli". Do not edit this file directly.
|
|
4
2
|
|
|
5
|
-
import type { BlockHandleRootEvents, BlockHandleRootProps as BlockHandleRootElementProps } from '@prosekit/web/block-handle';
|
|
3
|
+
import type { BlockHandleRootElement, BlockHandleRootEvents, BlockHandleRootProps as BlockHandleRootElementProps } from '@prosekit/web/block-handle';
|
|
6
4
|
import type { Component, Snippet } from 'svelte';
|
|
5
|
+
import type { HTMLAttributes } from 'svelte/elements';
|
|
7
6
|
|
|
8
7
|
import BlockHandleRootComponent from './block-handle-root.gen.svelte';
|
|
9
8
|
|
|
10
|
-
/**
|
|
11
|
-
* Props for the {@link BlockHandleRoot} Svelte component.
|
|
12
|
-
*
|
|
13
|
-
* @public
|
|
14
|
-
*/
|
|
9
|
+
/** Props for the {@link BlockHandleRoot} Svelte component. */
|
|
15
10
|
export interface BlockHandleRootProps {
|
|
16
11
|
/**
|
|
17
12
|
* The ProseKit editor instance.
|
|
@@ -23,14 +18,7 @@ export interface BlockHandleRootProps {
|
|
|
23
18
|
/** Fired when the hovered block changes. */
|
|
24
19
|
onStateChange?: (event: BlockHandleRootEvents['stateChange']) => void;
|
|
25
20
|
children?: Snippet;
|
|
26
|
-
[key: string]: unknown;
|
|
27
21
|
}
|
|
28
22
|
|
|
29
|
-
/**
|
|
30
|
-
|
|
31
|
-
*
|
|
32
|
-
* @public
|
|
33
|
-
*/
|
|
34
|
-
export const BlockHandleRoot: Component<BlockHandleRootProps> = BlockHandleRootComponent as unknown as Component<BlockHandleRootProps>;
|
|
35
|
-
|
|
36
|
-
export type { BlockHandleRootEvents };
|
|
23
|
+
/** A Svelte component that renders an `prosekit-block-handle-root` custom element. */
|
|
24
|
+
export const BlockHandleRoot: Component<BlockHandleRootProps & HTMLAttributes<BlockHandleRootElement>> = BlockHandleRootComponent as Component<BlockHandleRootProps & HTMLAttributes<BlockHandleRootElement>>;
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
* This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly.
|
|
3
|
-
*/
|
|
1
|
+
// This file is auto-generated by "@aria-ui/cli". Do not edit this file directly.
|
|
4
2
|
|
|
5
3
|
export { BlockHandleAdd, type BlockHandleAddProps } from './block-handle-add.gen.ts';
|
|
6
4
|
|
|
@@ -10,6 +8,4 @@ export { BlockHandlePopup, type BlockHandlePopupProps } from './block-handle-pop
|
|
|
10
8
|
|
|
11
9
|
export { BlockHandlePositioner, type BlockHandlePositionerProps } from './block-handle-positioner.gen.ts';
|
|
12
10
|
|
|
13
|
-
export { BlockHandleRoot, type BlockHandleRootProps
|
|
14
|
-
|
|
15
|
-
export { BlockHandleStateChangeEvent } from '@prosekit/web/block-handle';
|
|
11
|
+
export { BlockHandleRoot, type BlockHandleRootProps } from './block-handle-root.gen.ts';
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
<!-- This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly. -->
|
|
2
|
-
|
|
3
1
|
<script lang="ts">
|
|
2
|
+
// This file is auto-generated by "@aria-ui/cli". Do not edit this file directly.
|
|
4
3
|
import { registerDropIndicatorElement } from '@prosekit/web/drop-indicator'
|
|
5
4
|
import type { DropIndicatorElement } from '@prosekit/web/drop-indicator'
|
|
6
5
|
import { useEditorContext } from '../../contexts/editor-context.ts'
|
|
@@ -1,17 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
* This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly.
|
|
3
|
-
*/
|
|
1
|
+
// This file is auto-generated by "@aria-ui/cli". Do not edit this file directly.
|
|
4
2
|
|
|
5
|
-
import type { DropIndicatorProps as DropIndicatorElementProps } from '@prosekit/web/drop-indicator';
|
|
3
|
+
import type { DropIndicatorElement, DropIndicatorProps as DropIndicatorElementProps } from '@prosekit/web/drop-indicator';
|
|
6
4
|
import type { Component, Snippet } from 'svelte';
|
|
5
|
+
import type { HTMLAttributes } from 'svelte/elements';
|
|
7
6
|
|
|
8
7
|
import DropIndicatorComponent from './drop-indicator.gen.svelte';
|
|
9
8
|
|
|
10
|
-
/**
|
|
11
|
-
* Props for the {@link DropIndicator} Svelte component.
|
|
12
|
-
*
|
|
13
|
-
* @public
|
|
14
|
-
*/
|
|
9
|
+
/** Props for the {@link DropIndicator} Svelte component. */
|
|
15
10
|
export interface DropIndicatorProps {
|
|
16
11
|
/**
|
|
17
12
|
* The ProseKit editor instance.
|
|
@@ -27,12 +22,7 @@ export interface DropIndicatorProps {
|
|
|
27
22
|
*/
|
|
28
23
|
width?: DropIndicatorElementProps['width'];
|
|
29
24
|
children?: Snippet;
|
|
30
|
-
[key: string]: unknown;
|
|
31
25
|
}
|
|
32
26
|
|
|
33
|
-
/**
|
|
34
|
-
|
|
35
|
-
*
|
|
36
|
-
* @public
|
|
37
|
-
*/
|
|
38
|
-
export const DropIndicator: Component<DropIndicatorProps> = DropIndicatorComponent as unknown as Component<DropIndicatorProps>;
|
|
27
|
+
/** A Svelte component that renders an `prosekit-drop-indicator` custom element. */
|
|
28
|
+
export const DropIndicator: Component<DropIndicatorProps & HTMLAttributes<DropIndicatorElement>> = DropIndicatorComponent as Component<DropIndicatorProps & HTMLAttributes<DropIndicatorElement>>;
|
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
* This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly.
|
|
3
|
-
*/
|
|
1
|
+
// This file is auto-generated by "@aria-ui/cli". Do not edit this file directly.
|
|
4
2
|
|
|
5
3
|
export { DropIndicator, type DropIndicatorProps } from './drop-indicator.gen.ts';
|
|
@@ -1,11 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
* This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly.
|
|
3
|
-
*/
|
|
1
|
+
// This file is auto-generated by "@aria-ui/cli". Do not edit this file directly.
|
|
4
2
|
|
|
5
3
|
export { InlinePopoverPopup, type InlinePopoverPopupProps } from './inline-popover-popup.gen.ts';
|
|
6
4
|
|
|
7
5
|
export { InlinePopoverPositioner, type InlinePopoverPositionerProps } from './inline-popover-positioner.gen.ts';
|
|
8
6
|
|
|
9
|
-
export { InlinePopoverRoot, type InlinePopoverRootProps
|
|
10
|
-
|
|
11
|
-
export { OpenChangeEvent } from '@prosekit/web/inline-popover';
|
|
7
|
+
export { InlinePopoverRoot, type InlinePopoverRootProps } from './inline-popover-root.gen.ts';
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
<!-- This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly. -->
|
|
2
|
-
|
|
3
1
|
<script lang="ts">
|
|
2
|
+
// This file is auto-generated by "@aria-ui/cli". Do not edit this file directly.
|
|
4
3
|
import { registerInlinePopoverPopupElement } from '@prosekit/web/inline-popover'
|
|
5
4
|
registerInlinePopoverPopupElement()
|
|
6
5
|
|
|
@@ -1,24 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
* This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly.
|
|
3
|
-
*/
|
|
1
|
+
// This file is auto-generated by "@aria-ui/cli". Do not edit this file directly.
|
|
4
2
|
|
|
3
|
+
import type { InlinePopoverPopupElement } from '@prosekit/web/inline-popover';
|
|
5
4
|
import type { Component, Snippet } from 'svelte';
|
|
5
|
+
import type { HTMLAttributes } from 'svelte/elements';
|
|
6
6
|
|
|
7
7
|
import InlinePopoverPopupComponent from './inline-popover-popup.gen.svelte';
|
|
8
8
|
|
|
9
|
-
/**
|
|
10
|
-
* Props for the {@link InlinePopoverPopup} Svelte component.
|
|
11
|
-
*
|
|
12
|
-
* @public
|
|
13
|
-
*/
|
|
9
|
+
/** Props for the {@link InlinePopoverPopup} Svelte component. */
|
|
14
10
|
export interface InlinePopoverPopupProps {
|
|
15
11
|
children?: Snippet;
|
|
16
|
-
[key: string]: unknown;
|
|
17
12
|
}
|
|
18
13
|
|
|
19
|
-
/**
|
|
20
|
-
|
|
21
|
-
*
|
|
22
|
-
* @public
|
|
23
|
-
*/
|
|
24
|
-
export const InlinePopoverPopup: Component<InlinePopoverPopupProps> = InlinePopoverPopupComponent as unknown as Component<InlinePopoverPopupProps>;
|
|
14
|
+
/** A Svelte component that renders an `prosekit-inline-popover-popup` custom element. */
|
|
15
|
+
export const InlinePopoverPopup: Component<InlinePopoverPopupProps & HTMLAttributes<InlinePopoverPopupElement>> = InlinePopoverPopupComponent as Component<InlinePopoverPopupProps & HTMLAttributes<InlinePopoverPopupElement>>;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
<!-- This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly. -->
|
|
2
|
-
|
|
3
1
|
<script lang="ts">
|
|
2
|
+
// This file is auto-generated by "@aria-ui/cli". Do not edit this file directly.
|
|
4
3
|
import { registerInlinePopoverPositionerElement } from '@prosekit/web/inline-popover'
|
|
5
4
|
import type { InlinePopoverPositionerElement } from '@prosekit/web/inline-popover'
|
|
6
5
|
registerInlinePopoverPositionerElement()
|
|
@@ -1,17 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
* This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly.
|
|
3
|
-
*/
|
|
1
|
+
// This file is auto-generated by "@aria-ui/cli". Do not edit this file directly.
|
|
4
2
|
|
|
5
|
-
import type { InlinePopoverPositionerProps as InlinePopoverPositionerElementProps } from '@prosekit/web/inline-popover';
|
|
3
|
+
import type { InlinePopoverPositionerElement, InlinePopoverPositionerProps as InlinePopoverPositionerElementProps } from '@prosekit/web/inline-popover';
|
|
6
4
|
import type { Component, Snippet } from 'svelte';
|
|
5
|
+
import type { HTMLAttributes } from 'svelte/elements';
|
|
7
6
|
|
|
8
7
|
import InlinePopoverPositionerComponent from './inline-popover-positioner.gen.svelte';
|
|
9
8
|
|
|
10
|
-
/**
|
|
11
|
-
* Props for the {@link InlinePopoverPositioner} Svelte component.
|
|
12
|
-
*
|
|
13
|
-
* @public
|
|
14
|
-
*/
|
|
9
|
+
/** Props for the {@link InlinePopoverPositioner} Svelte component. */
|
|
15
10
|
export interface InlinePopoverPositionerProps {
|
|
16
11
|
/**
|
|
17
12
|
* The initial placement of the floating element
|
|
@@ -140,12 +135,7 @@ export interface InlinePopoverPositionerProps {
|
|
|
140
135
|
*/
|
|
141
136
|
altBoundary?: InlinePopoverPositionerElementProps['altBoundary'];
|
|
142
137
|
children?: Snippet;
|
|
143
|
-
[key: string]: unknown;
|
|
144
138
|
}
|
|
145
139
|
|
|
146
|
-
/**
|
|
147
|
-
|
|
148
|
-
*
|
|
149
|
-
* @public
|
|
150
|
-
*/
|
|
151
|
-
export const InlinePopoverPositioner: Component<InlinePopoverPositionerProps> = InlinePopoverPositionerComponent as unknown as Component<InlinePopoverPositionerProps>;
|
|
140
|
+
/** A Svelte component that renders an `prosekit-inline-popover-positioner` custom element. */
|
|
141
|
+
export const InlinePopoverPositioner: Component<InlinePopoverPositionerProps & HTMLAttributes<InlinePopoverPositionerElement>> = InlinePopoverPositionerComponent as Component<InlinePopoverPositionerProps & HTMLAttributes<InlinePopoverPositionerElement>>;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
<!-- This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly. -->
|
|
2
|
-
|
|
3
1
|
<script lang="ts">
|
|
2
|
+
// This file is auto-generated by "@aria-ui/cli". Do not edit this file directly.
|
|
4
3
|
import { registerInlinePopoverRootElement } from '@prosekit/web/inline-popover'
|
|
5
4
|
import type { InlinePopoverRootElement } from '@prosekit/web/inline-popover'
|
|
6
5
|
import { useEditorContext } from '../../contexts/editor-context.ts'
|
|
@@ -1,17 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
* This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly.
|
|
3
|
-
*/
|
|
1
|
+
// This file is auto-generated by "@aria-ui/cli". Do not edit this file directly.
|
|
4
2
|
|
|
5
|
-
import type { InlinePopoverRootEvents, InlinePopoverRootProps as InlinePopoverRootElementProps } from '@prosekit/web/inline-popover';
|
|
3
|
+
import type { InlinePopoverRootElement, InlinePopoverRootEvents, InlinePopoverRootProps as InlinePopoverRootElementProps } from '@prosekit/web/inline-popover';
|
|
6
4
|
import type { Component, Snippet } from 'svelte';
|
|
5
|
+
import type { HTMLAttributes } from 'svelte/elements';
|
|
7
6
|
|
|
8
7
|
import InlinePopoverRootComponent from './inline-popover-root.gen.svelte';
|
|
9
8
|
|
|
10
|
-
/**
|
|
11
|
-
* Props for the {@link InlinePopoverRoot} Svelte component.
|
|
12
|
-
*
|
|
13
|
-
* @public
|
|
14
|
-
*/
|
|
9
|
+
/** Props for the {@link InlinePopoverRoot} Svelte component. */
|
|
15
10
|
export interface InlinePopoverRootProps {
|
|
16
11
|
/**
|
|
17
12
|
* The ProseKit editor instance.
|
|
@@ -44,17 +39,10 @@ export interface InlinePopoverRootProps {
|
|
|
44
39
|
* @default false
|
|
45
40
|
*/
|
|
46
41
|
disabled?: InlinePopoverRootElementProps['disabled'];
|
|
47
|
-
/** */
|
|
42
|
+
/** Emitted when the open state of the popover changes. */
|
|
48
43
|
onOpenChange?: (event: InlinePopoverRootEvents['openChange']) => void;
|
|
49
44
|
children?: Snippet;
|
|
50
|
-
[key: string]: unknown;
|
|
51
45
|
}
|
|
52
46
|
|
|
53
|
-
/**
|
|
54
|
-
|
|
55
|
-
*
|
|
56
|
-
* @public
|
|
57
|
-
*/
|
|
58
|
-
export const InlinePopoverRoot: Component<InlinePopoverRootProps> = InlinePopoverRootComponent as unknown as Component<InlinePopoverRootProps>;
|
|
59
|
-
|
|
60
|
-
export type { InlinePopoverRootEvents };
|
|
47
|
+
/** A Svelte component that renders an `prosekit-inline-popover-root` custom element. */
|
|
48
|
+
export const InlinePopoverRoot: Component<InlinePopoverRootProps & HTMLAttributes<InlinePopoverRootElement>> = InlinePopoverRootComponent as Component<InlinePopoverRootProps & HTMLAttributes<InlinePopoverRootElement>>;
|
|
@@ -1,19 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
* This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly.
|
|
3
|
-
*/
|
|
1
|
+
// This file is auto-generated by "@aria-ui/cli". Do not edit this file directly.
|
|
4
2
|
|
|
5
|
-
export { MenuItem, type MenuItemProps
|
|
3
|
+
export { MenuItem, type MenuItemProps } from './menu-item.gen.ts';
|
|
6
4
|
|
|
7
5
|
export { MenuPopup, type MenuPopupProps } from './menu-popup.gen.ts';
|
|
8
6
|
|
|
9
7
|
export { MenuPositioner, type MenuPositionerProps } from './menu-positioner.gen.ts';
|
|
10
8
|
|
|
11
|
-
export { MenuRoot, type MenuRootProps
|
|
9
|
+
export { MenuRoot, type MenuRootProps } from './menu-root.gen.ts';
|
|
12
10
|
|
|
13
11
|
export { MenuSubmenuRoot, type MenuSubmenuRootProps } from './menu-submenu-root.gen.ts';
|
|
14
12
|
|
|
15
13
|
export { MenuSubmenuTrigger, type MenuSubmenuTriggerProps } from './menu-submenu-trigger.gen.ts';
|
|
16
14
|
|
|
17
|
-
export { MenuTrigger, type MenuTriggerProps
|
|
18
|
-
|
|
19
|
-
export { OpenChangeEvent, SelectEvent } from '@prosekit/web/menu';
|
|
15
|
+
export { MenuTrigger, type MenuTriggerProps } from './menu-trigger.gen.ts';
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
<!-- This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly. -->
|
|
2
|
-
|
|
3
1
|
<script lang="ts">
|
|
2
|
+
// This file is auto-generated by "@aria-ui/cli". Do not edit this file directly.
|
|
4
3
|
import { registerMenuItemElement } from '@prosekit/web/menu'
|
|
5
4
|
import type { MenuItemElement } from '@prosekit/web/menu'
|
|
6
5
|
registerMenuItemElement()
|
|
@@ -1,17 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
* This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly.
|
|
3
|
-
*/
|
|
1
|
+
// This file is auto-generated by "@aria-ui/cli". Do not edit this file directly.
|
|
4
2
|
|
|
5
|
-
import type { MenuItemEvents, MenuItemProps as MenuItemElementProps } from '@prosekit/web/menu';
|
|
3
|
+
import type { MenuItemElement, MenuItemEvents, MenuItemProps as MenuItemElementProps } from '@prosekit/web/menu';
|
|
6
4
|
import type { Component, Snippet } from 'svelte';
|
|
5
|
+
import type { HTMLAttributes } from 'svelte/elements';
|
|
7
6
|
|
|
8
7
|
import MenuItemComponent from './menu-item.gen.svelte';
|
|
9
8
|
|
|
10
|
-
/**
|
|
11
|
-
* Props for the {@link MenuItem} Svelte component.
|
|
12
|
-
*
|
|
13
|
-
* @public
|
|
14
|
-
*/
|
|
9
|
+
/** Props for the {@link MenuItem} Svelte component. */
|
|
15
10
|
export interface MenuItemProps {
|
|
16
11
|
/**
|
|
17
12
|
* The unique value for this menu item.
|
|
@@ -34,14 +29,7 @@ export interface MenuItemProps {
|
|
|
34
29
|
/** Emitted when the the item is selected. */
|
|
35
30
|
onSelect?: (event: MenuItemEvents['select']) => void;
|
|
36
31
|
children?: Snippet;
|
|
37
|
-
[key: string]: unknown;
|
|
38
32
|
}
|
|
39
33
|
|
|
40
|
-
/**
|
|
41
|
-
|
|
42
|
-
*
|
|
43
|
-
* @public
|
|
44
|
-
*/
|
|
45
|
-
export const MenuItem: Component<MenuItemProps> = MenuItemComponent as unknown as Component<MenuItemProps>;
|
|
46
|
-
|
|
47
|
-
export type { MenuItemEvents };
|
|
34
|
+
/** A Svelte component that renders an `prosekit-menu-item` custom element. */
|
|
35
|
+
export const MenuItem: Component<MenuItemProps & HTMLAttributes<MenuItemElement>> = MenuItemComponent as Component<MenuItemProps & HTMLAttributes<MenuItemElement>>;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
<!-- This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly. -->
|
|
2
|
-
|
|
3
1
|
<script lang="ts">
|
|
2
|
+
// This file is auto-generated by "@aria-ui/cli". Do not edit this file directly.
|
|
4
3
|
import { registerMenuPopupElement } from '@prosekit/web/menu'
|
|
5
4
|
import type { MenuPopupElement } from '@prosekit/web/menu'
|
|
6
5
|
registerMenuPopupElement()
|
|
@@ -1,17 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
* This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly.
|
|
3
|
-
*/
|
|
1
|
+
// This file is auto-generated by "@aria-ui/cli". Do not edit this file directly.
|
|
4
2
|
|
|
5
|
-
import type { MenuPopupProps as MenuPopupElementProps } from '@prosekit/web/menu';
|
|
3
|
+
import type { MenuPopupElement, MenuPopupProps as MenuPopupElementProps } from '@prosekit/web/menu';
|
|
6
4
|
import type { Component, Snippet } from 'svelte';
|
|
5
|
+
import type { HTMLAttributes } from 'svelte/elements';
|
|
7
6
|
|
|
8
7
|
import MenuPopupComponent from './menu-popup.gen.svelte';
|
|
9
8
|
|
|
10
|
-
/**
|
|
11
|
-
* Props for the {@link MenuPopup} Svelte component.
|
|
12
|
-
*
|
|
13
|
-
* @public
|
|
14
|
-
*/
|
|
9
|
+
/** Props for the {@link MenuPopup} Svelte component. */
|
|
15
10
|
export interface MenuPopupProps {
|
|
16
11
|
/**
|
|
17
12
|
* By default, the MenuPopup element will listen for keydown events.
|
|
@@ -21,12 +16,7 @@ export interface MenuPopupProps {
|
|
|
21
16
|
*/
|
|
22
17
|
eventTarget?: MenuPopupElementProps['eventTarget'];
|
|
23
18
|
children?: Snippet;
|
|
24
|
-
[key: string]: unknown;
|
|
25
19
|
}
|
|
26
20
|
|
|
27
|
-
/**
|
|
28
|
-
|
|
29
|
-
*
|
|
30
|
-
* @public
|
|
31
|
-
*/
|
|
32
|
-
export const MenuPopup: Component<MenuPopupProps> = MenuPopupComponent as unknown as Component<MenuPopupProps>;
|
|
21
|
+
/** A Svelte component that renders an `prosekit-menu-popup` custom element. */
|
|
22
|
+
export const MenuPopup: Component<MenuPopupProps & HTMLAttributes<MenuPopupElement>> = MenuPopupComponent as Component<MenuPopupProps & HTMLAttributes<MenuPopupElement>>;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
<!-- This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly. -->
|
|
2
|
-
|
|
3
1
|
<script lang="ts">
|
|
2
|
+
// This file is auto-generated by "@aria-ui/cli". Do not edit this file directly.
|
|
4
3
|
import { registerMenuPositionerElement } from '@prosekit/web/menu'
|
|
5
4
|
import type { MenuPositionerElement } from '@prosekit/web/menu'
|
|
6
5
|
registerMenuPositionerElement()
|
|
@@ -1,17 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
* This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly.
|
|
3
|
-
*/
|
|
1
|
+
// This file is auto-generated by "@aria-ui/cli". Do not edit this file directly.
|
|
4
2
|
|
|
5
|
-
import type { MenuPositionerProps as MenuPositionerElementProps } from '@prosekit/web/menu';
|
|
3
|
+
import type { MenuPositionerElement, MenuPositionerProps as MenuPositionerElementProps } from '@prosekit/web/menu';
|
|
6
4
|
import type { Component, Snippet } from 'svelte';
|
|
5
|
+
import type { HTMLAttributes } from 'svelte/elements';
|
|
7
6
|
|
|
8
7
|
import MenuPositionerComponent from './menu-positioner.gen.svelte';
|
|
9
8
|
|
|
10
|
-
/**
|
|
11
|
-
* Props for the {@link MenuPositioner} Svelte component.
|
|
12
|
-
*
|
|
13
|
-
* @public
|
|
14
|
-
*/
|
|
9
|
+
/** Props for the {@link MenuPositioner} Svelte component. */
|
|
15
10
|
export interface MenuPositionerProps {
|
|
16
11
|
/**
|
|
17
12
|
* The initial placement of the floating element
|
|
@@ -141,12 +136,7 @@ export interface MenuPositionerProps {
|
|
|
141
136
|
*/
|
|
142
137
|
altBoundary?: MenuPositionerElementProps['altBoundary'];
|
|
143
138
|
children?: Snippet;
|
|
144
|
-
[key: string]: unknown;
|
|
145
139
|
}
|
|
146
140
|
|
|
147
|
-
/**
|
|
148
|
-
|
|
149
|
-
*
|
|
150
|
-
* @public
|
|
151
|
-
*/
|
|
152
|
-
export const MenuPositioner: Component<MenuPositionerProps> = MenuPositionerComponent as unknown as Component<MenuPositionerProps>;
|
|
141
|
+
/** A Svelte component that renders an `prosekit-menu-positioner` custom element. */
|
|
142
|
+
export const MenuPositioner: Component<MenuPositionerProps & HTMLAttributes<MenuPositionerElement>> = MenuPositionerComponent as Component<MenuPositionerProps & HTMLAttributes<MenuPositionerElement>>;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
<!-- This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly. -->
|
|
2
|
-
|
|
3
1
|
<script lang="ts">
|
|
2
|
+
// This file is auto-generated by "@aria-ui/cli". Do not edit this file directly.
|
|
4
3
|
import { registerMenuRootElement } from '@prosekit/web/menu'
|
|
5
4
|
import type { MenuRootElement } from '@prosekit/web/menu'
|
|
6
5
|
registerMenuRootElement()
|
|
@@ -1,17 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
* This file is auto-generated by the "@aria-ui/cli" tool. Do not edit this file directly.
|
|
3
|
-
*/
|
|
1
|
+
// This file is auto-generated by "@aria-ui/cli". Do not edit this file directly.
|
|
4
2
|
|
|
5
|
-
import type { MenuRootEvents, MenuRootProps as MenuRootElementProps } from '@prosekit/web/menu';
|
|
3
|
+
import type { MenuRootElement, MenuRootEvents, MenuRootProps as MenuRootElementProps } from '@prosekit/web/menu';
|
|
6
4
|
import type { Component, Snippet } from 'svelte';
|
|
5
|
+
import type { HTMLAttributes } from 'svelte/elements';
|
|
7
6
|
|
|
8
7
|
import MenuRootComponent from './menu-root.gen.svelte';
|
|
9
8
|
|
|
10
|
-
/**
|
|
11
|
-
* Props for the {@link MenuRoot} Svelte component.
|
|
12
|
-
*
|
|
13
|
-
* @public
|
|
14
|
-
*/
|
|
9
|
+
/** Props for the {@link MenuRoot} Svelte component. */
|
|
15
10
|
export interface MenuRootProps {
|
|
16
11
|
/**
|
|
17
12
|
* Whether the overlay is initially open.
|
|
@@ -31,14 +26,7 @@ export interface MenuRootProps {
|
|
|
31
26
|
/** Emitted when the menu is opened or closed. */
|
|
32
27
|
onOpenChange?: (event: MenuRootEvents['openChange']) => void;
|
|
33
28
|
children?: Snippet;
|
|
34
|
-
[key: string]: unknown;
|
|
35
29
|
}
|
|
36
30
|
|
|
37
|
-
/**
|
|
38
|
-
|
|
39
|
-
*
|
|
40
|
-
* @public
|
|
41
|
-
*/
|
|
42
|
-
export const MenuRoot: Component<MenuRootProps> = MenuRootComponent as unknown as Component<MenuRootProps>;
|
|
43
|
-
|
|
44
|
-
export type { MenuRootEvents };
|
|
31
|
+
/** A Svelte component that renders an `prosekit-menu-root` custom element. */
|
|
32
|
+
export const MenuRoot: Component<MenuRootProps & HTMLAttributes<MenuRootElement>> = MenuRootComponent as Component<MenuRootProps & HTMLAttributes<MenuRootElement>>;
|