@prosekit/solid 0.7.0-beta.4 → 0.7.0-beta.5

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 (94) hide show
  1. package/dist/editor-context.js +0 -2
  2. package/dist/editor-context.js.map +1 -1
  3. package/dist/prosekit-solid-autocomplete.d.ts +10 -61
  4. package/dist/prosekit-solid-autocomplete.d.ts.map +1 -1
  5. package/dist/prosekit-solid-autocomplete.js +5 -50
  6. package/dist/prosekit-solid-autocomplete.js.map +1 -1
  7. package/dist/prosekit-solid-block-handle.d.ts +10 -61
  8. package/dist/prosekit-solid-block-handle.d.ts.map +1 -1
  9. package/dist/prosekit-solid-block-handle.js +5 -50
  10. package/dist/prosekit-solid-block-handle.js.map +1 -1
  11. package/dist/prosekit-solid-drop-indicator.d.ts +2 -13
  12. package/dist/prosekit-solid-drop-indicator.d.ts.map +1 -1
  13. package/dist/prosekit-solid-drop-indicator.js +1 -10
  14. package/dist/prosekit-solid-drop-indicator.js.map +1 -1
  15. package/dist/prosekit-solid-inline-popover.d.ts +6 -37
  16. package/dist/prosekit-solid-inline-popover.d.ts.map +1 -1
  17. package/dist/prosekit-solid-inline-popover.js +3 -30
  18. package/dist/prosekit-solid-inline-popover.js.map +1 -1
  19. package/dist/prosekit-solid-menu.d.ts +48 -88
  20. package/dist/prosekit-solid-menu.d.ts.map +1 -1
  21. package/dist/prosekit-solid-menu.js +50 -74
  22. package/dist/prosekit-solid-menu.js.map +1 -1
  23. package/dist/prosekit-solid-popover.d.ts +8 -49
  24. package/dist/prosekit-solid-popover.d.ts.map +1 -1
  25. package/dist/prosekit-solid-popover.js +4 -40
  26. package/dist/prosekit-solid-popover.js.map +1 -1
  27. package/dist/prosekit-solid-resizable.d.ts +4 -25
  28. package/dist/prosekit-solid-resizable.d.ts.map +1 -1
  29. package/dist/prosekit-solid-resizable.js +2 -20
  30. package/dist/prosekit-solid-resizable.js.map +1 -1
  31. package/dist/prosekit-solid-table-handle.d.ts +22 -133
  32. package/dist/prosekit-solid-table-handle.d.ts.map +1 -1
  33. package/dist/prosekit-solid-table-handle.js +11 -110
  34. package/dist/prosekit-solid-table-handle.js.map +1 -1
  35. package/dist/prosekit-solid-tooltip.d.ts +8 -49
  36. package/dist/prosekit-solid-tooltip.d.ts.map +1 -1
  37. package/dist/prosekit-solid-tooltip.js +4 -40
  38. package/dist/prosekit-solid-tooltip.js.map +1 -1
  39. package/dist/prosekit-solid.d.ts +0 -21
  40. package/dist/prosekit-solid.d.ts.map +1 -1
  41. package/dist/prosekit-solid.js +0 -28
  42. package/dist/prosekit-solid.js.map +1 -1
  43. package/package.json +4 -4
  44. package/src/components/autocomplete/autocomplete-empty.gen.ts +3 -13
  45. package/src/components/autocomplete/autocomplete-item.gen.ts +3 -13
  46. package/src/components/autocomplete/autocomplete-popup.gen.ts +3 -13
  47. package/src/components/autocomplete/autocomplete-positioner.gen.ts +3 -13
  48. package/src/components/autocomplete/autocomplete-root.gen.ts +3 -13
  49. package/src/components/autocomplete/index.gen.ts +1 -3
  50. package/src/components/block-handle/block-handle-add.gen.ts +3 -13
  51. package/src/components/block-handle/block-handle-draggable.gen.ts +3 -13
  52. package/src/components/block-handle/block-handle-popup.gen.ts +3 -13
  53. package/src/components/block-handle/block-handle-positioner.gen.ts +3 -13
  54. package/src/components/block-handle/block-handle-root.gen.ts +3 -13
  55. package/src/components/block-handle/index.gen.ts +1 -3
  56. package/src/components/drop-indicator/drop-indicator.gen.ts +3 -13
  57. package/src/components/drop-indicator/index.gen.ts +1 -3
  58. package/src/components/inline-popover/index.gen.ts +1 -3
  59. package/src/components/inline-popover/inline-popover-popup.gen.ts +3 -13
  60. package/src/components/inline-popover/inline-popover-positioner.gen.ts +3 -13
  61. package/src/components/inline-popover/inline-popover-root.gen.ts +3 -13
  62. package/src/components/menu/index.gen.ts +1 -3
  63. package/src/components/menu/menu-item.gen.ts +3 -13
  64. package/src/components/menu/menu-popup.gen.ts +3 -13
  65. package/src/components/menu/menu-positioner.gen.ts +3 -13
  66. package/src/components/menu/menu-root.gen.ts +3 -13
  67. package/src/components/menu/menu-submenu-root.gen.ts +65 -18
  68. package/src/components/menu/menu-submenu-trigger.gen.ts +39 -18
  69. package/src/components/menu/menu-trigger.gen.ts +3 -13
  70. package/src/components/popover/index.gen.ts +1 -3
  71. package/src/components/popover/popover-popup.gen.ts +3 -13
  72. package/src/components/popover/popover-positioner.gen.ts +3 -13
  73. package/src/components/popover/popover-root.gen.ts +3 -13
  74. package/src/components/popover/popover-trigger.gen.ts +3 -13
  75. package/src/components/resizable/index.gen.ts +1 -3
  76. package/src/components/resizable/resizable-handle.gen.ts +3 -13
  77. package/src/components/resizable/resizable-root.gen.ts +3 -13
  78. package/src/components/table-handle/index.gen.ts +1 -3
  79. package/src/components/table-handle/table-handle-column-menu-root.gen.ts +3 -13
  80. package/src/components/table-handle/table-handle-column-menu-trigger.gen.ts +3 -13
  81. package/src/components/table-handle/table-handle-column-popup.gen.ts +3 -13
  82. package/src/components/table-handle/table-handle-column-positioner.gen.ts +3 -13
  83. package/src/components/table-handle/table-handle-drag-preview.gen.ts +3 -13
  84. package/src/components/table-handle/table-handle-drop-indicator.gen.ts +3 -13
  85. package/src/components/table-handle/table-handle-root.gen.ts +3 -13
  86. package/src/components/table-handle/table-handle-row-menu-root.gen.ts +3 -13
  87. package/src/components/table-handle/table-handle-row-menu-trigger.gen.ts +3 -13
  88. package/src/components/table-handle/table-handle-row-popup.gen.ts +3 -13
  89. package/src/components/table-handle/table-handle-row-positioner.gen.ts +3 -13
  90. package/src/components/tooltip/index.gen.ts +1 -3
  91. package/src/components/tooltip/tooltip-popup.gen.ts +3 -13
  92. package/src/components/tooltip/tooltip-positioner.gen.ts +3 -13
  93. package/src/components/tooltip/tooltip-root.gen.ts +3 -13
  94. package/src/components/tooltip/tooltip-trigger.gen.ts +3 -13
@@ -1,17 +1,11 @@
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
  import { registerTableHandleRowMenuRootElement, type TableHandleRowMenuRootElement, type TableHandleRowMenuRootProps as TableHandleRowMenuRootElementProps } from '@prosekit/web/table-handle';
6
4
  import { createEffect, createSignal, mergeProps, splitProps } from 'solid-js';
7
5
  import type { Component, JSX } from 'solid-js';
8
6
  import h from 'solid-js/h';
9
7
 
10
- /**
11
- * Props for the {@link TableHandleRowMenuRoot} Solid component.
12
- *
13
- * @public
14
- */
8
+ /** Props for the {@link TableHandleRowMenuRoot} Solid component. */
15
9
  export interface TableHandleRowMenuRootProps {
16
10
  /**
17
11
  * Whether the overlay is initially open.
@@ -30,11 +24,7 @@ export interface TableHandleRowMenuRootProps {
30
24
  disabled?: TableHandleRowMenuRootElementProps['disabled'];
31
25
  }
32
26
 
33
- /**
34
- * A Solid component that renders an `prosekit-table-handle-row-menu-root` custom element.
35
- *
36
- * @public
37
- */
27
+ /** A Solid component that renders an `prosekit-table-handle-row-menu-root` custom element. */
38
28
  export const TableHandleRowMenuRoot: Component<TableHandleRowMenuRootProps & JSX.HTMLAttributes<TableHandleRowMenuRootElement>> = (props): any => {
39
29
  registerTableHandleRowMenuRootElement();
40
30
 
@@ -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
  import { registerTableHandleRowMenuTriggerElement, type TableHandleRowMenuTriggerElement, type TableHandleRowMenuTriggerProps as TableHandleRowMenuTriggerElementProps } from '@prosekit/web/table-handle';
6
4
  import { createEffect, createSignal, mergeProps, splitProps } from 'solid-js';
@@ -9,11 +7,7 @@ import h from 'solid-js/h';
9
7
 
10
8
  import { useEditorContext } from '../../contexts/editor-context.ts';
11
9
 
12
- /**
13
- * Props for the {@link TableHandleRowMenuTrigger} Solid component.
14
- *
15
- * @public
16
- */
10
+ /** Props for the {@link TableHandleRowMenuTrigger} Solid component. */
17
11
  export interface TableHandleRowMenuTriggerProps {
18
12
  /**
19
13
  * @default null
@@ -22,11 +16,7 @@ export interface TableHandleRowMenuTriggerProps {
22
16
  editor?: TableHandleRowMenuTriggerElementProps['editor'];
23
17
  }
24
18
 
25
- /**
26
- * A Solid component that renders an `prosekit-table-handle-row-menu-trigger` custom element.
27
- *
28
- * @public
29
- */
19
+ /** A Solid component that renders an `prosekit-table-handle-row-menu-trigger` custom element. */
30
20
  export const TableHandleRowMenuTrigger: Component<TableHandleRowMenuTriggerProps & JSX.HTMLAttributes<TableHandleRowMenuTriggerElement>> = (props): any => {
31
21
  registerTableHandleRowMenuTriggerElement();
32
22
 
@@ -1,23 +1,13 @@
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
  import { registerTableHandleRowPopupElement, type TableHandleRowPopupElement } from '@prosekit/web/table-handle';
6
4
  import type { Component, JSX } from 'solid-js';
7
5
  import h from 'solid-js/h';
8
6
 
9
- /**
10
- * Props for the {@link TableHandleRowPopup} Solid component.
11
- *
12
- * @public
13
- */
7
+ /** Props for the {@link TableHandleRowPopup} Solid component. */
14
8
  export interface TableHandleRowPopupProps {}
15
9
 
16
- /**
17
- * A Solid component that renders an `prosekit-table-handle-row-popup` custom element.
18
- *
19
- * @public
20
- */
10
+ /** A Solid component that renders an `prosekit-table-handle-row-popup` custom element. */
21
11
  export const TableHandleRowPopup: Component<TableHandleRowPopupProps & JSX.HTMLAttributes<TableHandleRowPopupElement>> = (props): any => {
22
12
  registerTableHandleRowPopupElement();
23
13
 
@@ -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
  import { registerTableHandleRowPositionerElement, type TableHandleRowPositionerElement, type TableHandleRowPositionerProps as TableHandleRowPositionerElementProps } from '@prosekit/web/table-handle';
6
4
  import { createEffect, createSignal, mergeProps, splitProps } from 'solid-js';
@@ -9,11 +7,7 @@ import h from 'solid-js/h';
9
7
 
10
8
  import { useEditorContext } from '../../contexts/editor-context.ts';
11
9
 
12
- /**
13
- * Props for the {@link TableHandleRowPositioner} Solid component.
14
- *
15
- * @public
16
- */
10
+ /** Props for the {@link TableHandleRowPositioner} Solid component. */
17
11
  export interface TableHandleRowPositionerProps {
18
12
  /**
19
13
  * The placement of the popover, relative to the hovered table cell.
@@ -143,11 +137,7 @@ export interface TableHandleRowPositionerProps {
143
137
  editor?: TableHandleRowPositionerElementProps['editor'];
144
138
  }
145
139
 
146
- /**
147
- * A Solid component that renders an `prosekit-table-handle-row-positioner` custom element.
148
- *
149
- * @public
150
- */
140
+ /** A Solid component that renders an `prosekit-table-handle-row-positioner` custom element. */
151
141
  export const TableHandleRowPositioner: Component<TableHandleRowPositionerProps & JSX.HTMLAttributes<TableHandleRowPositionerElement>> = (props): any => {
152
142
  registerTableHandleRowPositionerElement();
153
143
 
@@ -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 { TooltipPopup, type TooltipPopupProps } from './tooltip-popup.gen.ts';
6
4
 
@@ -1,23 +1,13 @@
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
  import { registerTooltipPopupElement, type TooltipPopupElement } from '@prosekit/web/tooltip';
6
4
  import type { Component, JSX } from 'solid-js';
7
5
  import h from 'solid-js/h';
8
6
 
9
- /**
10
- * Props for the {@link TooltipPopup} Solid component.
11
- *
12
- * @public
13
- */
7
+ /** Props for the {@link TooltipPopup} Solid component. */
14
8
  export interface TooltipPopupProps {}
15
9
 
16
- /**
17
- * A Solid component that renders an `prosekit-tooltip-popup` custom element.
18
- *
19
- * @public
20
- */
10
+ /** A Solid component that renders an `prosekit-tooltip-popup` custom element. */
21
11
  export const TooltipPopup: Component<TooltipPopupProps & JSX.HTMLAttributes<TooltipPopupElement>> = (props): any => {
22
12
  registerTooltipPopupElement();
23
13
 
@@ -1,17 +1,11 @@
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
  import { registerTooltipPositionerElement, type TooltipPositionerElement, type TooltipPositionerProps as TooltipPositionerElementProps } from '@prosekit/web/tooltip';
6
4
  import { createEffect, createSignal, mergeProps, splitProps } from 'solid-js';
7
5
  import type { Component, JSX } from 'solid-js';
8
6
  import h from 'solid-js/h';
9
7
 
10
- /**
11
- * Props for the {@link TooltipPositioner} Solid component.
12
- *
13
- * @public
14
- */
8
+ /** Props for the {@link TooltipPositioner} Solid component. */
15
9
  export interface TooltipPositionerProps {
16
10
  /**
17
11
  * The strategy to use for positioning
@@ -142,11 +136,7 @@ export interface TooltipPositionerProps {
142
136
  altBoundary?: TooltipPositionerElementProps['altBoundary'];
143
137
  }
144
138
 
145
- /**
146
- * A Solid component that renders an `prosekit-tooltip-positioner` custom element.
147
- *
148
- * @public
149
- */
139
+ /** A Solid component that renders an `prosekit-tooltip-positioner` custom element. */
150
140
  export const TooltipPositioner: Component<TooltipPositionerProps & JSX.HTMLAttributes<TooltipPositionerElement>> = (props): any => {
151
141
  registerTooltipPositionerElement();
152
142
 
@@ -1,17 +1,11 @@
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
  import { registerTooltipRootElement, type TooltipRootElement, type TooltipRootEvents, type TooltipRootProps as TooltipRootElementProps } from '@prosekit/web/tooltip';
6
4
  import { createEffect, createSignal, mergeProps, splitProps } from 'solid-js';
7
5
  import type { Component, JSX } from 'solid-js';
8
6
  import h from 'solid-js/h';
9
7
 
10
- /**
11
- * Props for the {@link TooltipRoot} Solid component.
12
- *
13
- * @public
14
- */
8
+ /** Props for the {@link TooltipRoot} Solid component. */
15
9
  export interface TooltipRootProps {
16
10
  /**
17
11
  * Whether the overlay is initially open.
@@ -32,11 +26,7 @@ export interface TooltipRootProps {
32
26
  onOpenChange?: (event: TooltipRootEvents['openChange']) => void;
33
27
  }
34
28
 
35
- /**
36
- * A Solid component that renders an `prosekit-tooltip-root` custom element.
37
- *
38
- * @public
39
- */
29
+ /** A Solid component that renders an `prosekit-tooltip-root` custom element. */
40
30
  export const TooltipRoot: Component<TooltipRootProps & JSX.HTMLAttributes<TooltipRootElement>> = (props): any => {
41
31
  registerTooltipRootElement();
42
32
 
@@ -1,17 +1,11 @@
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
  import { registerTooltipTriggerElement, type TooltipTriggerElement, type TooltipTriggerProps as TooltipTriggerElementProps } from '@prosekit/web/tooltip';
6
4
  import { createEffect, createSignal, mergeProps, splitProps } from 'solid-js';
7
5
  import type { Component, JSX } from 'solid-js';
8
6
  import h from 'solid-js/h';
9
7
 
10
- /**
11
- * Props for the {@link TooltipTrigger} Solid component.
12
- *
13
- * @public
14
- */
8
+ /** Props for the {@link TooltipTrigger} Solid component. */
15
9
  export interface TooltipTriggerProps {
16
10
  /**
17
11
  * Whether the component should ignore user interaction.
@@ -30,11 +24,7 @@ export interface TooltipTriggerProps {
30
24
  closeDelay?: TooltipTriggerElementProps['closeDelay'];
31
25
  }
32
26
 
33
- /**
34
- * A Solid component that renders an `prosekit-tooltip-trigger` custom element.
35
- *
36
- * @public
37
- */
27
+ /** A Solid component that renders an `prosekit-tooltip-trigger` custom element. */
38
28
  export const TooltipTrigger: Component<TooltipTriggerProps & JSX.HTMLAttributes<TooltipTriggerElement>> = (props): any => {
39
29
  registerTooltipTriggerElement();
40
30