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

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 +5 -5
  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 { registerAutocompleteItemElement, type AutocompleteItemElement, type AutocompleteItemEvents, type AutocompleteItemProps as AutocompleteItemElementProps } from '@prosekit/web/autocomplete';
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 AutocompleteItem} Solid component.
12
- *
13
- * @public
14
- */
8
+ /** Props for the {@link AutocompleteItem} Solid component. */
15
9
  export interface AutocompleteItemProps {
16
10
  /**
17
11
  * The value of the item, which will be matched against the query.
@@ -31,11 +25,7 @@ export interface AutocompleteItemProps {
31
25
  onSelect?: (event: AutocompleteItemEvents['select']) => void;
32
26
  }
33
27
 
34
- /**
35
- * A Solid component that renders an `prosekit-autocomplete-item` custom element.
36
- *
37
- * @public
38
- */
28
+ /** A Solid component that renders an `prosekit-autocomplete-item` custom element. */
39
29
  export const AutocompleteItem: Component<AutocompleteItemProps & JSX.HTMLAttributes<AutocompleteItemElement>> = (props): any => {
40
30
  registerAutocompleteItemElement();
41
31
 
@@ -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 { registerAutocompletePopupElement, type AutocompletePopupElement, type AutocompletePopupEvents } from '@prosekit/web/autocomplete';
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 AutocompletePopup} Solid component.
12
- *
13
- * @public
14
- */
8
+ /** Props for the {@link AutocompletePopup} Solid component. */
15
9
  export interface AutocompletePopupProps {
16
10
  /**
17
11
  * Emitted when the selected value changes. Only available when multiple is
@@ -25,11 +19,7 @@ export interface AutocompletePopupProps {
25
19
  onValuesChange?: (event: AutocompletePopupEvents['valuesChange']) => void;
26
20
  }
27
21
 
28
- /**
29
- * A Solid component that renders an `prosekit-autocomplete-popup` custom element.
30
- *
31
- * @public
32
- */
22
+ /** A Solid component that renders an `prosekit-autocomplete-popup` custom element. */
33
23
  export const AutocompletePopup: Component<AutocompletePopupProps & JSX.HTMLAttributes<AutocompletePopupElement>> = (props): any => {
34
24
  registerAutocompletePopupElement();
35
25
 
@@ -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 { registerAutocompletePositionerElement, type AutocompletePositionerElement, type AutocompletePositionerProps as AutocompletePositionerElementProps } from '@prosekit/web/autocomplete';
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 AutocompletePositioner} Solid component.
12
- *
13
- * @public
14
- */
8
+ /** Props for the {@link AutocompletePositioner} Solid component. */
15
9
  export interface AutocompletePositionerProps {
16
10
  /**
17
11
  * The placement of the popover, relative to the text cursor.
@@ -117,11 +111,7 @@ export interface AutocompletePositionerProps {
117
111
  altBoundary?: AutocompletePositionerElementProps['altBoundary'];
118
112
  }
119
113
 
120
- /**
121
- * A Solid component that renders an `prosekit-autocomplete-positioner` custom element.
122
- *
123
- * @public
124
- */
114
+ /** A Solid component that renders an `prosekit-autocomplete-positioner` custom element. */
125
115
  export const AutocompletePositioner: Component<AutocompletePositionerProps & JSX.HTMLAttributes<AutocompletePositionerElement>> = (props): any => {
126
116
  registerAutocompletePositionerElement();
127
117
 
@@ -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 { registerAutocompleteRootElement, type AutocompleteRootElement, type AutocompleteRootEvents, type AutocompleteRootProps as AutocompleteRootElementProps } from '@prosekit/web/autocomplete';
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 AutocompleteRoot} Solid component.
14
- *
15
- * @public
16
- */
10
+ /** Props for the {@link AutocompleteRoot} Solid component. */
17
11
  export interface AutocompleteRootProps {
18
12
  /**
19
13
  * The ProseKit editor instance.
@@ -51,11 +45,7 @@ export interface AutocompleteRootProps {
51
45
  onValuesChange?: (event: AutocompleteRootEvents['valuesChange']) => void;
52
46
  }
53
47
 
54
- /**
55
- * A Solid component that renders an `prosekit-autocomplete-root` custom element.
56
- *
57
- * @public
58
- */
48
+ /** A Solid component that renders an `prosekit-autocomplete-root` custom element. */
59
49
  export const AutocompleteRoot: Component<AutocompleteRootProps & JSX.HTMLAttributes<AutocompleteRootElement>> = (props): any => {
60
50
  registerAutocompleteRootElement();
61
51
 
@@ -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 { AutocompleteEmpty, type AutocompleteEmptyProps } from './autocomplete-empty.gen.ts';
6
4
 
@@ -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 { registerBlockHandleAddElement, type BlockHandleAddElement, type BlockHandleAddProps as BlockHandleAddElementProps } from '@prosekit/web/block-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 BlockHandleAdd} Solid component.
14
- *
15
- * @public
16
- */
10
+ /** Props for the {@link BlockHandleAdd} Solid component. */
17
11
  export interface BlockHandleAddProps {
18
12
  /**
19
13
  * The ProseKit editor instance.
@@ -24,11 +18,7 @@ export interface BlockHandleAddProps {
24
18
  editor?: BlockHandleAddElementProps['editor'];
25
19
  }
26
20
 
27
- /**
28
- * A Solid component that renders an `prosekit-block-handle-add` custom element.
29
- *
30
- * @public
31
- */
21
+ /** A Solid component that renders an `prosekit-block-handle-add` custom element. */
32
22
  export const BlockHandleAdd: Component<BlockHandleAddProps & JSX.HTMLAttributes<BlockHandleAddElement>> = (props): any => {
33
23
  registerBlockHandleAddElement();
34
24
 
@@ -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 { registerBlockHandleDraggableElement, type BlockHandleDraggableElement, type BlockHandleDraggableProps as BlockHandleDraggableElementProps } from '@prosekit/web/block-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 BlockHandleDraggable} Solid component.
14
- *
15
- * @public
16
- */
10
+ /** Props for the {@link BlockHandleDraggable} Solid component. */
17
11
  export interface BlockHandleDraggableProps {
18
12
  /**
19
13
  * The ProseKit editor instance.
@@ -24,11 +18,7 @@ export interface BlockHandleDraggableProps {
24
18
  editor?: BlockHandleDraggableElementProps['editor'];
25
19
  }
26
20
 
27
- /**
28
- * A Solid component that renders an `prosekit-block-handle-draggable` custom element.
29
- *
30
- * @public
31
- */
21
+ /** A Solid component that renders an `prosekit-block-handle-draggable` custom element. */
32
22
  export const BlockHandleDraggable: Component<BlockHandleDraggableProps & JSX.HTMLAttributes<BlockHandleDraggableElement>> = (props): any => {
33
23
  registerBlockHandleDraggableElement();
34
24
 
@@ -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 { registerBlockHandlePopupElement, type BlockHandlePopupElement } from '@prosekit/web/block-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 BlockHandlePopup} Solid component.
11
- *
12
- * @public
13
- */
7
+ /** Props for the {@link BlockHandlePopup} Solid component. */
14
8
  export interface BlockHandlePopupProps {}
15
9
 
16
- /**
17
- * A Solid component that renders an `prosekit-block-handle-popup` custom element.
18
- *
19
- * @public
20
- */
10
+ /** A Solid component that renders an `prosekit-block-handle-popup` custom element. */
21
11
  export const BlockHandlePopup: Component<BlockHandlePopupProps & JSX.HTMLAttributes<BlockHandlePopupElement>> = (props): any => {
22
12
  registerBlockHandlePopupElement();
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 { registerBlockHandlePositionerElement, type BlockHandlePositionerElement, type BlockHandlePositionerProps as BlockHandlePositionerElementProps } from '@prosekit/web/block-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 BlockHandlePositioner} Solid component.
12
- *
13
- * @public
14
- */
8
+ /** Props for the {@link BlockHandlePositioner} Solid component. */
15
9
  export interface BlockHandlePositionerProps {
16
10
  /**
17
11
  * The placement of the popover, relative to the hovered block.
@@ -135,11 +129,7 @@ export interface BlockHandlePositionerProps {
135
129
  altBoundary?: BlockHandlePositionerElementProps['altBoundary'];
136
130
  }
137
131
 
138
- /**
139
- * A Solid component that renders an `prosekit-block-handle-positioner` custom element.
140
- *
141
- * @public
142
- */
132
+ /** A Solid component that renders an `prosekit-block-handle-positioner` custom element. */
143
133
  export const BlockHandlePositioner: Component<BlockHandlePositionerProps & JSX.HTMLAttributes<BlockHandlePositionerElement>> = (props): any => {
144
134
  registerBlockHandlePositionerElement();
145
135
 
@@ -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 { registerBlockHandleRootElement, type BlockHandleRootElement, type BlockHandleRootEvents, type BlockHandleRootProps as BlockHandleRootElementProps } from '@prosekit/web/block-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 BlockHandleRoot} Solid component.
14
- *
15
- * @public
16
- */
10
+ /** Props for the {@link BlockHandleRoot} Solid component. */
17
11
  export interface BlockHandleRootProps {
18
12
  /**
19
13
  * The ProseKit editor instance.
@@ -26,11 +20,7 @@ export interface BlockHandleRootProps {
26
20
  onStateChange?: (event: BlockHandleRootEvents['stateChange']) => void;
27
21
  }
28
22
 
29
- /**
30
- * A Solid component that renders an `prosekit-block-handle-root` custom element.
31
- *
32
- * @public
33
- */
23
+ /** A Solid component that renders an `prosekit-block-handle-root` custom element. */
34
24
  export const BlockHandleRoot: Component<BlockHandleRootProps & JSX.HTMLAttributes<BlockHandleRootElement>> = (props): any => {
35
25
  registerBlockHandleRootElement();
36
26
 
@@ -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
 
@@ -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 { registerDropIndicatorElement, type DropIndicatorElement, type DropIndicatorProps as DropIndicatorElementProps } from '@prosekit/web/drop-indicator';
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 DropIndicator} Solid component.
14
- *
15
- * @public
16
- */
10
+ /** Props for the {@link DropIndicator} Solid component. */
17
11
  export interface DropIndicatorProps {
18
12
  /**
19
13
  * The ProseKit editor instance.
@@ -30,11 +24,7 @@ export interface DropIndicatorProps {
30
24
  width?: DropIndicatorElementProps['width'];
31
25
  }
32
26
 
33
- /**
34
- * A Solid component that renders an `prosekit-drop-indicator` custom element.
35
- *
36
- * @public
37
- */
27
+ /** A Solid component that renders an `prosekit-drop-indicator` custom element. */
38
28
  export const DropIndicator: Component<DropIndicatorProps & JSX.HTMLAttributes<DropIndicatorElement>> = (props): any => {
39
29
  registerDropIndicatorElement();
40
30
 
@@ -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,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 { InlinePopoverPopup, type InlinePopoverPopupProps } from './inline-popover-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 { registerInlinePopoverPopupElement, type InlinePopoverPopupElement } from '@prosekit/web/inline-popover';
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 InlinePopoverPopup} Solid component.
11
- *
12
- * @public
13
- */
7
+ /** Props for the {@link InlinePopoverPopup} Solid component. */
14
8
  export interface InlinePopoverPopupProps {}
15
9
 
16
- /**
17
- * A Solid component that renders an `prosekit-inline-popover-popup` custom element.
18
- *
19
- * @public
20
- */
10
+ /** A Solid component that renders an `prosekit-inline-popover-popup` custom element. */
21
11
  export const InlinePopoverPopup: Component<InlinePopoverPopupProps & JSX.HTMLAttributes<InlinePopoverPopupElement>> = (props): any => {
22
12
  registerInlinePopoverPopupElement();
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 { registerInlinePopoverPositionerElement, type InlinePopoverPositionerElement, type InlinePopoverPositionerProps as InlinePopoverPositionerElementProps } from '@prosekit/web/inline-popover';
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 InlinePopoverPositioner} Solid component.
12
- *
13
- * @public
14
- */
8
+ /** Props for the {@link InlinePopoverPositioner} Solid component. */
15
9
  export interface InlinePopoverPositionerProps {
16
10
  /**
17
11
  * The initial placement of the floating element
@@ -141,11 +135,7 @@ export interface InlinePopoverPositionerProps {
141
135
  altBoundary?: InlinePopoverPositionerElementProps['altBoundary'];
142
136
  }
143
137
 
144
- /**
145
- * A Solid component that renders an `prosekit-inline-popover-positioner` custom element.
146
- *
147
- * @public
148
- */
138
+ /** A Solid component that renders an `prosekit-inline-popover-positioner` custom element. */
149
139
  export const InlinePopoverPositioner: Component<InlinePopoverPositionerProps & JSX.HTMLAttributes<InlinePopoverPositionerElement>> = (props): any => {
150
140
  registerInlinePopoverPositionerElement();
151
141
 
@@ -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 { registerInlinePopoverRootElement, type InlinePopoverRootElement, type InlinePopoverRootEvents, type InlinePopoverRootProps as InlinePopoverRootElementProps } from '@prosekit/web/inline-popover';
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 InlinePopoverRoot} Solid component.
14
- *
15
- * @public
16
- */
10
+ /** Props for the {@link InlinePopoverRoot} Solid component. */
17
11
  export interface InlinePopoverRootProps {
18
12
  /**
19
13
  * The ProseKit editor instance.
@@ -50,11 +44,7 @@ export interface InlinePopoverRootProps {
50
44
  onOpenChange?: (event: InlinePopoverRootEvents['openChange']) => void;
51
45
  }
52
46
 
53
- /**
54
- * A Solid component that renders an `prosekit-inline-popover-root` custom element.
55
- *
56
- * @public
57
- */
47
+ /** A Solid component that renders an `prosekit-inline-popover-root` custom element. */
58
48
  export const InlinePopoverRoot: Component<InlinePopoverRootProps & JSX.HTMLAttributes<InlinePopoverRootElement>> = (props): any => {
59
49
  registerInlinePopoverRootElement();
60
50
 
@@ -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 { MenuItem, type MenuItemProps } from './menu-item.gen.ts';
6
4
 
@@ -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 { registerMenuItemElement, type MenuItemElement, type MenuItemEvents, type MenuItemProps as MenuItemElementProps } from '@prosekit/web/menu';
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 MenuItem} Solid component.
12
- *
13
- * @public
14
- */
8
+ /** Props for the {@link MenuItem} Solid component. */
15
9
  export interface MenuItemProps {
16
10
  /**
17
11
  * The unique value for this menu item.
@@ -35,11 +29,7 @@ export interface MenuItemProps {
35
29
  onSelect?: (event: MenuItemEvents['select']) => void;
36
30
  }
37
31
 
38
- /**
39
- * A Solid component that renders an `prosekit-menu-item` custom element.
40
- *
41
- * @public
42
- */
32
+ /** A Solid component that renders an `prosekit-menu-item` custom element. */
43
33
  export const MenuItem: Component<MenuItemProps & JSX.HTMLAttributes<MenuItemElement>> = (props): any => {
44
34
  registerMenuItemElement();
45
35
 
@@ -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 { registerMenuPopupElement, type MenuPopupElement, type MenuPopupProps as MenuPopupElementProps } from '@prosekit/web/menu';
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 MenuPopup} Solid component.
12
- *
13
- * @public
14
- */
8
+ /** Props for the {@link MenuPopup} Solid component. */
15
9
  export interface MenuPopupProps {
16
10
  /**
17
11
  * By default, the MenuPopup element will listen for keydown events.
@@ -22,11 +16,7 @@ export interface MenuPopupProps {
22
16
  eventTarget?: MenuPopupElementProps['eventTarget'];
23
17
  }
24
18
 
25
- /**
26
- * A Solid component that renders an `prosekit-menu-popup` custom element.
27
- *
28
- * @public
29
- */
19
+ /** A Solid component that renders an `prosekit-menu-popup` custom element. */
30
20
  export const MenuPopup: Component<MenuPopupProps & JSX.HTMLAttributes<MenuPopupElement>> = (props): any => {
31
21
  registerMenuPopupElement();
32
22
 
@@ -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 { registerMenuPositionerElement, type MenuPositionerElement, type MenuPositionerProps as MenuPositionerElementProps } from '@prosekit/web/menu';
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 MenuPositioner} Solid component.
12
- *
13
- * @public
14
- */
8
+ /** Props for the {@link MenuPositioner} Solid component. */
15
9
  export interface MenuPositionerProps {
16
10
  /**
17
11
  * The initial placement of the floating element
@@ -142,11 +136,7 @@ export interface MenuPositionerProps {
142
136
  altBoundary?: MenuPositionerElementProps['altBoundary'];
143
137
  }
144
138
 
145
- /**
146
- * A Solid component that renders an `prosekit-menu-positioner` custom element.
147
- *
148
- * @public
149
- */
139
+ /** A Solid component that renders an `prosekit-menu-positioner` custom element. */
150
140
  export const MenuPositioner: Component<MenuPositionerProps & JSX.HTMLAttributes<MenuPositionerElement>> = (props): any => {
151
141
  registerMenuPositionerElement();
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 { registerMenuRootElement, type MenuRootElement, type MenuRootEvents, type MenuRootProps as MenuRootElementProps } from '@prosekit/web/menu';
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 MenuRoot} Solid component.
12
- *
13
- * @public
14
- */
8
+ /** Props for the {@link MenuRoot} Solid component. */
15
9
  export interface MenuRootProps {
16
10
  /**
17
11
  * Whether the overlay is initially open.
@@ -32,11 +26,7 @@ export interface MenuRootProps {
32
26
  onOpenChange?: (event: MenuRootEvents['openChange']) => void;
33
27
  }
34
28
 
35
- /**
36
- * A Solid component that renders an `prosekit-menu-root` custom element.
37
- *
38
- * @public
39
- */
29
+ /** A Solid component that renders an `prosekit-menu-root` custom element. */
40
30
  export const MenuRoot: Component<MenuRootProps & JSX.HTMLAttributes<MenuRootElement>> = (props): any => {
41
31
  registerMenuRootElement();
42
32