@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.
- package/dist/editor-context.js +0 -2
- package/dist/editor-context.js.map +1 -1
- package/dist/prosekit-solid-autocomplete.d.ts +10 -61
- package/dist/prosekit-solid-autocomplete.d.ts.map +1 -1
- package/dist/prosekit-solid-autocomplete.js +5 -50
- package/dist/prosekit-solid-autocomplete.js.map +1 -1
- package/dist/prosekit-solid-block-handle.d.ts +10 -61
- package/dist/prosekit-solid-block-handle.d.ts.map +1 -1
- package/dist/prosekit-solid-block-handle.js +5 -50
- package/dist/prosekit-solid-block-handle.js.map +1 -1
- package/dist/prosekit-solid-drop-indicator.d.ts +2 -13
- package/dist/prosekit-solid-drop-indicator.d.ts.map +1 -1
- package/dist/prosekit-solid-drop-indicator.js +1 -10
- package/dist/prosekit-solid-drop-indicator.js.map +1 -1
- package/dist/prosekit-solid-inline-popover.d.ts +6 -37
- package/dist/prosekit-solid-inline-popover.d.ts.map +1 -1
- package/dist/prosekit-solid-inline-popover.js +3 -30
- package/dist/prosekit-solid-inline-popover.js.map +1 -1
- package/dist/prosekit-solid-menu.d.ts +48 -88
- package/dist/prosekit-solid-menu.d.ts.map +1 -1
- package/dist/prosekit-solid-menu.js +50 -74
- package/dist/prosekit-solid-menu.js.map +1 -1
- package/dist/prosekit-solid-popover.d.ts +8 -49
- package/dist/prosekit-solid-popover.d.ts.map +1 -1
- package/dist/prosekit-solid-popover.js +4 -40
- package/dist/prosekit-solid-popover.js.map +1 -1
- package/dist/prosekit-solid-resizable.d.ts +4 -25
- package/dist/prosekit-solid-resizable.d.ts.map +1 -1
- package/dist/prosekit-solid-resizable.js +2 -20
- package/dist/prosekit-solid-resizable.js.map +1 -1
- package/dist/prosekit-solid-table-handle.d.ts +22 -133
- package/dist/prosekit-solid-table-handle.d.ts.map +1 -1
- package/dist/prosekit-solid-table-handle.js +11 -110
- package/dist/prosekit-solid-table-handle.js.map +1 -1
- package/dist/prosekit-solid-tooltip.d.ts +8 -49
- package/dist/prosekit-solid-tooltip.d.ts.map +1 -1
- package/dist/prosekit-solid-tooltip.js +4 -40
- package/dist/prosekit-solid-tooltip.js.map +1 -1
- package/dist/prosekit-solid.d.ts +0 -21
- package/dist/prosekit-solid.d.ts.map +1 -1
- package/dist/prosekit-solid.js +0 -28
- package/dist/prosekit-solid.js.map +1 -1
- package/package.json +4 -4
- package/src/components/autocomplete/autocomplete-empty.gen.ts +3 -13
- package/src/components/autocomplete/autocomplete-item.gen.ts +3 -13
- package/src/components/autocomplete/autocomplete-popup.gen.ts +3 -13
- package/src/components/autocomplete/autocomplete-positioner.gen.ts +3 -13
- package/src/components/autocomplete/autocomplete-root.gen.ts +3 -13
- package/src/components/autocomplete/index.gen.ts +1 -3
- package/src/components/block-handle/block-handle-add.gen.ts +3 -13
- package/src/components/block-handle/block-handle-draggable.gen.ts +3 -13
- package/src/components/block-handle/block-handle-popup.gen.ts +3 -13
- package/src/components/block-handle/block-handle-positioner.gen.ts +3 -13
- package/src/components/block-handle/block-handle-root.gen.ts +3 -13
- package/src/components/block-handle/index.gen.ts +1 -3
- package/src/components/drop-indicator/drop-indicator.gen.ts +3 -13
- package/src/components/drop-indicator/index.gen.ts +1 -3
- package/src/components/inline-popover/index.gen.ts +1 -3
- package/src/components/inline-popover/inline-popover-popup.gen.ts +3 -13
- package/src/components/inline-popover/inline-popover-positioner.gen.ts +3 -13
- package/src/components/inline-popover/inline-popover-root.gen.ts +3 -13
- package/src/components/menu/index.gen.ts +1 -3
- package/src/components/menu/menu-item.gen.ts +3 -13
- package/src/components/menu/menu-popup.gen.ts +3 -13
- package/src/components/menu/menu-positioner.gen.ts +3 -13
- package/src/components/menu/menu-root.gen.ts +3 -13
- package/src/components/menu/menu-submenu-root.gen.ts +65 -18
- package/src/components/menu/menu-submenu-trigger.gen.ts +39 -18
- package/src/components/menu/menu-trigger.gen.ts +3 -13
- package/src/components/popover/index.gen.ts +1 -3
- package/src/components/popover/popover-popup.gen.ts +3 -13
- package/src/components/popover/popover-positioner.gen.ts +3 -13
- package/src/components/popover/popover-root.gen.ts +3 -13
- package/src/components/popover/popover-trigger.gen.ts +3 -13
- package/src/components/resizable/index.gen.ts +1 -3
- package/src/components/resizable/resizable-handle.gen.ts +3 -13
- package/src/components/resizable/resizable-root.gen.ts +3 -13
- package/src/components/table-handle/index.gen.ts +1 -3
- package/src/components/table-handle/table-handle-column-menu-root.gen.ts +3 -13
- package/src/components/table-handle/table-handle-column-menu-trigger.gen.ts +3 -13
- package/src/components/table-handle/table-handle-column-popup.gen.ts +3 -13
- package/src/components/table-handle/table-handle-column-positioner.gen.ts +3 -13
- package/src/components/table-handle/table-handle-drag-preview.gen.ts +3 -13
- package/src/components/table-handle/table-handle-drop-indicator.gen.ts +3 -13
- package/src/components/table-handle/table-handle-root.gen.ts +3 -13
- package/src/components/table-handle/table-handle-row-menu-root.gen.ts +3 -13
- package/src/components/table-handle/table-handle-row-menu-trigger.gen.ts +3 -13
- package/src/components/table-handle/table-handle-row-popup.gen.ts +3 -13
- package/src/components/table-handle/table-handle-row-positioner.gen.ts +3 -13
- package/src/components/tooltip/index.gen.ts +1 -3
- package/src/components/tooltip/tooltip-popup.gen.ts +3 -13
- package/src/components/tooltip/tooltip-positioner.gen.ts +3 -13
- package/src/components/tooltip/tooltip-root.gen.ts +3 -13
- 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
|
|