@prosekit/preact 0.7.0-beta.2 → 0.7.0-beta.3
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/prosekit-preact-autocomplete.d.ts +12 -12
- package/dist/prosekit-preact-autocomplete.d.ts.map +1 -1
- package/dist/prosekit-preact-autocomplete.js +2 -2
- package/dist/prosekit-preact-autocomplete.js.map +1 -1
- package/dist/prosekit-preact-block-handle.d.ts +12 -12
- package/dist/prosekit-preact-block-handle.d.ts.map +1 -1
- package/dist/prosekit-preact-block-handle.js +2 -2
- package/dist/prosekit-preact-block-handle.js.map +1 -1
- package/dist/prosekit-preact-drop-indicator.d.ts +2 -2
- package/dist/prosekit-preact-drop-indicator.d.ts.map +1 -1
- package/dist/prosekit-preact-drop-indicator.js.map +1 -1
- package/dist/prosekit-preact-inline-popover.d.ts +9 -9
- package/dist/prosekit-preact-inline-popover.d.ts.map +1 -1
- package/dist/prosekit-preact-inline-popover.js +2 -2
- package/dist/prosekit-preact-inline-popover.js.map +1 -1
- package/dist/prosekit-preact-menu.d.ts +16 -16
- package/dist/prosekit-preact-menu.d.ts.map +1 -1
- package/dist/prosekit-preact-menu.js +2 -2
- package/dist/prosekit-preact-menu.js.map +1 -1
- package/dist/prosekit-preact-popover.d.ts +10 -10
- package/dist/prosekit-preact-popover.d.ts.map +1 -1
- package/dist/prosekit-preact-popover.js +2 -2
- package/dist/prosekit-preact-popover.js.map +1 -1
- package/dist/prosekit-preact-resizable.d.ts +6 -6
- package/dist/prosekit-preact-resizable.d.ts.map +1 -1
- package/dist/prosekit-preact-resizable.js +2 -2
- package/dist/prosekit-preact-resizable.js.map +1 -1
- package/dist/prosekit-preact-table-handle.d.ts +22 -22
- package/dist/prosekit-preact-table-handle.d.ts.map +1 -1
- package/dist/prosekit-preact-table-handle.js.map +1 -1
- package/dist/prosekit-preact-tooltip.d.ts +10 -10
- package/dist/prosekit-preact-tooltip.d.ts.map +1 -1
- package/dist/prosekit-preact-tooltip.js +2 -2
- package/dist/prosekit-preact-tooltip.js.map +1 -1
- package/package.json +3 -3
- package/src/components/autocomplete/autocomplete-empty.gen.ts +2 -2
- package/src/components/autocomplete/autocomplete-item.gen.ts +2 -4
- package/src/components/autocomplete/autocomplete-popup.gen.ts +2 -4
- package/src/components/autocomplete/autocomplete-positioner.gen.ts +2 -2
- package/src/components/autocomplete/autocomplete-root.gen.ts +2 -4
- package/src/components/autocomplete/index.gen.ts +3 -5
- package/src/components/block-handle/block-handle-add.gen.ts +2 -2
- package/src/components/block-handle/block-handle-draggable.gen.ts +2 -2
- package/src/components/block-handle/block-handle-popup.gen.ts +2 -2
- package/src/components/block-handle/block-handle-positioner.gen.ts +2 -2
- package/src/components/block-handle/block-handle-root.gen.ts +2 -4
- package/src/components/block-handle/index.gen.ts +1 -3
- package/src/components/drop-indicator/drop-indicator.gen.ts +2 -2
- package/src/components/inline-popover/index.gen.ts +1 -3
- package/src/components/inline-popover/inline-popover-popup.gen.ts +2 -2
- package/src/components/inline-popover/inline-popover-positioner.gen.ts +2 -2
- package/src/components/inline-popover/inline-popover-root.gen.ts +3 -5
- package/src/components/menu/index.gen.ts +3 -5
- package/src/components/menu/menu-item.gen.ts +2 -4
- package/src/components/menu/menu-popup.gen.ts +2 -2
- package/src/components/menu/menu-positioner.gen.ts +2 -2
- package/src/components/menu/menu-root.gen.ts +2 -4
- package/src/components/menu/menu-submenu-root.gen.ts +2 -2
- package/src/components/menu/menu-submenu-trigger.gen.ts +2 -2
- package/src/components/menu/menu-trigger.gen.ts +2 -4
- package/src/components/popover/index.gen.ts +2 -4
- package/src/components/popover/popover-popup.gen.ts +2 -2
- package/src/components/popover/popover-positioner.gen.ts +2 -2
- package/src/components/popover/popover-root.gen.ts +2 -4
- package/src/components/popover/popover-trigger.gen.ts +2 -4
- package/src/components/resizable/index.gen.ts +1 -3
- package/src/components/resizable/resizable-handle.gen.ts +2 -2
- package/src/components/resizable/resizable-root.gen.ts +2 -4
- package/src/components/table-handle/table-handle-column-menu-root.gen.ts +2 -2
- package/src/components/table-handle/table-handle-column-menu-trigger.gen.ts +2 -2
- package/src/components/table-handle/table-handle-column-popup.gen.ts +2 -2
- package/src/components/table-handle/table-handle-column-positioner.gen.ts +2 -2
- package/src/components/table-handle/table-handle-drag-preview.gen.ts +2 -2
- package/src/components/table-handle/table-handle-drop-indicator.gen.ts +2 -2
- package/src/components/table-handle/table-handle-root.gen.ts +2 -2
- package/src/components/table-handle/table-handle-row-menu-root.gen.ts +2 -2
- package/src/components/table-handle/table-handle-row-menu-trigger.gen.ts +2 -2
- package/src/components/table-handle/table-handle-row-popup.gen.ts +2 -2
- package/src/components/table-handle/table-handle-row-positioner.gen.ts +2 -2
- package/src/components/tooltip/index.gen.ts +1 -3
- package/src/components/tooltip/tooltip-popup.gen.ts +2 -2
- package/src/components/tooltip/tooltip-positioner.gen.ts +2 -2
- package/src/components/tooltip/tooltip-root.gen.ts +2 -4
- package/src/components/tooltip/tooltip-trigger.gen.ts +2 -2
|
@@ -12,7 +12,7 @@ import { useCallback, useRef, useLayoutEffect } from 'preact/hooks';
|
|
|
12
12
|
*
|
|
13
13
|
* @public
|
|
14
14
|
*/
|
|
15
|
-
export interface ResizableHandleProps
|
|
15
|
+
export interface ResizableHandleProps {
|
|
16
16
|
/**
|
|
17
17
|
* The position of the handle.
|
|
18
18
|
*
|
|
@@ -54,4 +54,4 @@ function ResizableHandleComponent(props: ResizableHandleProps, forwardedRef: Ref
|
|
|
54
54
|
*
|
|
55
55
|
* @public
|
|
56
56
|
*/
|
|
57
|
-
export const ResizableHandle: ForwardRefExoticComponent<ResizableHandleProps & RefAttributes<ResizableHandleElement>> = /* @__PURE__ */ forwardRef(ResizableHandleComponent);
|
|
57
|
+
export const ResizableHandle: ForwardRefExoticComponent<ResizableHandleProps & HTMLAttributes<ResizableHandleElement> & RefAttributes<ResizableHandleElement>> = /* @__PURE__ */ forwardRef(ResizableHandleComponent);
|
|
@@ -12,7 +12,7 @@ import { useCallback, useRef, useLayoutEffect } from 'preact/hooks';
|
|
|
12
12
|
*
|
|
13
13
|
* @public
|
|
14
14
|
*/
|
|
15
|
-
export interface ResizableRootProps
|
|
15
|
+
export interface ResizableRootProps {
|
|
16
16
|
/**
|
|
17
17
|
* The width of the resizable element.
|
|
18
18
|
*
|
|
@@ -88,6 +88,4 @@ function ResizableRootComponent(props: ResizableRootProps, forwardedRef: Ref<Res
|
|
|
88
88
|
*
|
|
89
89
|
* @public
|
|
90
90
|
*/
|
|
91
|
-
export const ResizableRoot: ForwardRefExoticComponent<ResizableRootProps & RefAttributes<ResizableRootElement>> = /* @__PURE__ */ forwardRef(ResizableRootComponent);
|
|
92
|
-
|
|
93
|
-
export type { ResizableRootEvents };
|
|
91
|
+
export const ResizableRoot: ForwardRefExoticComponent<ResizableRootProps & HTMLAttributes<ResizableRootElement> & RefAttributes<ResizableRootElement>> = /* @__PURE__ */ forwardRef(ResizableRootComponent);
|
|
@@ -12,7 +12,7 @@ import { useCallback, useRef, useLayoutEffect } from 'preact/hooks';
|
|
|
12
12
|
*
|
|
13
13
|
* @public
|
|
14
14
|
*/
|
|
15
|
-
export interface TableHandleColumnMenuRootProps
|
|
15
|
+
export interface TableHandleColumnMenuRootProps {
|
|
16
16
|
/**
|
|
17
17
|
* Whether the overlay is initially open.
|
|
18
18
|
* @default false
|
|
@@ -63,4 +63,4 @@ function TableHandleColumnMenuRootComponent(props: TableHandleColumnMenuRootProp
|
|
|
63
63
|
*
|
|
64
64
|
* @public
|
|
65
65
|
*/
|
|
66
|
-
export const TableHandleColumnMenuRoot: ForwardRefExoticComponent<TableHandleColumnMenuRootProps & RefAttributes<TableHandleColumnMenuRootElement>> = /* @__PURE__ */ forwardRef(TableHandleColumnMenuRootComponent);
|
|
66
|
+
export const TableHandleColumnMenuRoot: ForwardRefExoticComponent<TableHandleColumnMenuRootProps & HTMLAttributes<TableHandleColumnMenuRootElement> & RefAttributes<TableHandleColumnMenuRootElement>> = /* @__PURE__ */ forwardRef(TableHandleColumnMenuRootComponent);
|
|
@@ -14,7 +14,7 @@ import { useEditorContext } from '../../contexts/editor-context.ts';
|
|
|
14
14
|
*
|
|
15
15
|
* @public
|
|
16
16
|
*/
|
|
17
|
-
export interface TableHandleColumnMenuTriggerProps
|
|
17
|
+
export interface TableHandleColumnMenuTriggerProps {
|
|
18
18
|
/**
|
|
19
19
|
* @default null
|
|
20
20
|
* @hidden
|
|
@@ -57,4 +57,4 @@ function TableHandleColumnMenuTriggerComponent(props: TableHandleColumnMenuTrigg
|
|
|
57
57
|
*
|
|
58
58
|
* @public
|
|
59
59
|
*/
|
|
60
|
-
export const TableHandleColumnMenuTrigger: ForwardRefExoticComponent<TableHandleColumnMenuTriggerProps & RefAttributes<TableHandleColumnMenuTriggerElement>> = /* @__PURE__ */ forwardRef(TableHandleColumnMenuTriggerComponent);
|
|
60
|
+
export const TableHandleColumnMenuTrigger: ForwardRefExoticComponent<TableHandleColumnMenuTriggerProps & HTMLAttributes<TableHandleColumnMenuTriggerElement> & RefAttributes<TableHandleColumnMenuTriggerElement>> = /* @__PURE__ */ forwardRef(TableHandleColumnMenuTriggerComponent);
|
|
@@ -12,7 +12,7 @@ import { useCallback, useRef } from 'preact/hooks';
|
|
|
12
12
|
*
|
|
13
13
|
* @public
|
|
14
14
|
*/
|
|
15
|
-
export interface TableHandleColumnPopupProps
|
|
15
|
+
export interface TableHandleColumnPopupProps {}
|
|
16
16
|
|
|
17
17
|
function TableHandleColumnPopupComponent(props: TableHandleColumnPopupProps, forwardedRef: Ref<TableHandleColumnPopupElement>) {
|
|
18
18
|
registerTableHandleColumnPopupElement();
|
|
@@ -41,4 +41,4 @@ function TableHandleColumnPopupComponent(props: TableHandleColumnPopupProps, for
|
|
|
41
41
|
*
|
|
42
42
|
* @public
|
|
43
43
|
*/
|
|
44
|
-
export const TableHandleColumnPopup: ForwardRefExoticComponent<TableHandleColumnPopupProps & RefAttributes<TableHandleColumnPopupElement>> = /* @__PURE__ */ forwardRef(TableHandleColumnPopupComponent);
|
|
44
|
+
export const TableHandleColumnPopup: ForwardRefExoticComponent<TableHandleColumnPopupProps & HTMLAttributes<TableHandleColumnPopupElement> & RefAttributes<TableHandleColumnPopupElement>> = /* @__PURE__ */ forwardRef(TableHandleColumnPopupComponent);
|
|
@@ -14,7 +14,7 @@ import { useEditorContext } from '../../contexts/editor-context.ts';
|
|
|
14
14
|
*
|
|
15
15
|
* @public
|
|
16
16
|
*/
|
|
17
|
-
export interface TableHandleColumnPositionerProps
|
|
17
|
+
export interface TableHandleColumnPositionerProps {
|
|
18
18
|
/**
|
|
19
19
|
* The placement of the popover, relative to the hovered table cell.
|
|
20
20
|
*
|
|
@@ -198,4 +198,4 @@ function TableHandleColumnPositionerComponent(props: TableHandleColumnPositioner
|
|
|
198
198
|
*
|
|
199
199
|
* @public
|
|
200
200
|
*/
|
|
201
|
-
export const TableHandleColumnPositioner: ForwardRefExoticComponent<TableHandleColumnPositionerProps & RefAttributes<TableHandleColumnPositionerElement>> = /* @__PURE__ */ forwardRef(TableHandleColumnPositionerComponent);
|
|
201
|
+
export const TableHandleColumnPositioner: ForwardRefExoticComponent<TableHandleColumnPositionerProps & HTMLAttributes<TableHandleColumnPositionerElement> & RefAttributes<TableHandleColumnPositionerElement>> = /* @__PURE__ */ forwardRef(TableHandleColumnPositionerComponent);
|
|
@@ -14,7 +14,7 @@ import { useEditorContext } from '../../contexts/editor-context.ts';
|
|
|
14
14
|
*
|
|
15
15
|
* @public
|
|
16
16
|
*/
|
|
17
|
-
export interface TableHandleDragPreviewProps
|
|
17
|
+
export interface TableHandleDragPreviewProps {
|
|
18
18
|
/**
|
|
19
19
|
* @default null
|
|
20
20
|
* @hidden
|
|
@@ -57,4 +57,4 @@ function TableHandleDragPreviewComponent(props: TableHandleDragPreviewProps, for
|
|
|
57
57
|
*
|
|
58
58
|
* @public
|
|
59
59
|
*/
|
|
60
|
-
export const TableHandleDragPreview: ForwardRefExoticComponent<TableHandleDragPreviewProps & RefAttributes<TableHandleDragPreviewElement>> = /* @__PURE__ */ forwardRef(TableHandleDragPreviewComponent);
|
|
60
|
+
export const TableHandleDragPreview: ForwardRefExoticComponent<TableHandleDragPreviewProps & HTMLAttributes<TableHandleDragPreviewElement> & RefAttributes<TableHandleDragPreviewElement>> = /* @__PURE__ */ forwardRef(TableHandleDragPreviewComponent);
|
|
@@ -14,7 +14,7 @@ import { useEditorContext } from '../../contexts/editor-context.ts';
|
|
|
14
14
|
*
|
|
15
15
|
* @public
|
|
16
16
|
*/
|
|
17
|
-
export interface TableHandleDropIndicatorProps
|
|
17
|
+
export interface TableHandleDropIndicatorProps {
|
|
18
18
|
/**
|
|
19
19
|
* @default null
|
|
20
20
|
* @hidden
|
|
@@ -57,4 +57,4 @@ function TableHandleDropIndicatorComponent(props: TableHandleDropIndicatorProps,
|
|
|
57
57
|
*
|
|
58
58
|
* @public
|
|
59
59
|
*/
|
|
60
|
-
export const TableHandleDropIndicator: ForwardRefExoticComponent<TableHandleDropIndicatorProps & RefAttributes<TableHandleDropIndicatorElement>> = /* @__PURE__ */ forwardRef(TableHandleDropIndicatorComponent);
|
|
60
|
+
export const TableHandleDropIndicator: ForwardRefExoticComponent<TableHandleDropIndicatorProps & HTMLAttributes<TableHandleDropIndicatorElement> & RefAttributes<TableHandleDropIndicatorElement>> = /* @__PURE__ */ forwardRef(TableHandleDropIndicatorComponent);
|
|
@@ -14,7 +14,7 @@ import { useEditorContext } from '../../contexts/editor-context.ts';
|
|
|
14
14
|
*
|
|
15
15
|
* @public
|
|
16
16
|
*/
|
|
17
|
-
export interface TableHandleRootProps
|
|
17
|
+
export interface TableHandleRootProps {
|
|
18
18
|
/**
|
|
19
19
|
* The ProseKit editor instance.
|
|
20
20
|
*
|
|
@@ -59,4 +59,4 @@ function TableHandleRootComponent(props: TableHandleRootProps, forwardedRef: Ref
|
|
|
59
59
|
*
|
|
60
60
|
* @public
|
|
61
61
|
*/
|
|
62
|
-
export const TableHandleRoot: ForwardRefExoticComponent<TableHandleRootProps & RefAttributes<TableHandleRootElement>> = /* @__PURE__ */ forwardRef(TableHandleRootComponent);
|
|
62
|
+
export const TableHandleRoot: ForwardRefExoticComponent<TableHandleRootProps & HTMLAttributes<TableHandleRootElement> & RefAttributes<TableHandleRootElement>> = /* @__PURE__ */ forwardRef(TableHandleRootComponent);
|
|
@@ -12,7 +12,7 @@ import { useCallback, useRef, useLayoutEffect } from 'preact/hooks';
|
|
|
12
12
|
*
|
|
13
13
|
* @public
|
|
14
14
|
*/
|
|
15
|
-
export interface TableHandleRowMenuRootProps
|
|
15
|
+
export interface TableHandleRowMenuRootProps {
|
|
16
16
|
/**
|
|
17
17
|
* Whether the overlay is initially open.
|
|
18
18
|
* @default false
|
|
@@ -63,4 +63,4 @@ function TableHandleRowMenuRootComponent(props: TableHandleRowMenuRootProps, for
|
|
|
63
63
|
*
|
|
64
64
|
* @public
|
|
65
65
|
*/
|
|
66
|
-
export const TableHandleRowMenuRoot: ForwardRefExoticComponent<TableHandleRowMenuRootProps & RefAttributes<TableHandleRowMenuRootElement>> = /* @__PURE__ */ forwardRef(TableHandleRowMenuRootComponent);
|
|
66
|
+
export const TableHandleRowMenuRoot: ForwardRefExoticComponent<TableHandleRowMenuRootProps & HTMLAttributes<TableHandleRowMenuRootElement> & RefAttributes<TableHandleRowMenuRootElement>> = /* @__PURE__ */ forwardRef(TableHandleRowMenuRootComponent);
|
|
@@ -14,7 +14,7 @@ import { useEditorContext } from '../../contexts/editor-context.ts';
|
|
|
14
14
|
*
|
|
15
15
|
* @public
|
|
16
16
|
*/
|
|
17
|
-
export interface TableHandleRowMenuTriggerProps
|
|
17
|
+
export interface TableHandleRowMenuTriggerProps {
|
|
18
18
|
/**
|
|
19
19
|
* @default null
|
|
20
20
|
* @hidden
|
|
@@ -57,4 +57,4 @@ function TableHandleRowMenuTriggerComponent(props: TableHandleRowMenuTriggerProp
|
|
|
57
57
|
*
|
|
58
58
|
* @public
|
|
59
59
|
*/
|
|
60
|
-
export const TableHandleRowMenuTrigger: ForwardRefExoticComponent<TableHandleRowMenuTriggerProps & RefAttributes<TableHandleRowMenuTriggerElement>> = /* @__PURE__ */ forwardRef(TableHandleRowMenuTriggerComponent);
|
|
60
|
+
export const TableHandleRowMenuTrigger: ForwardRefExoticComponent<TableHandleRowMenuTriggerProps & HTMLAttributes<TableHandleRowMenuTriggerElement> & RefAttributes<TableHandleRowMenuTriggerElement>> = /* @__PURE__ */ forwardRef(TableHandleRowMenuTriggerComponent);
|
|
@@ -12,7 +12,7 @@ import { useCallback, useRef } from 'preact/hooks';
|
|
|
12
12
|
*
|
|
13
13
|
* @public
|
|
14
14
|
*/
|
|
15
|
-
export interface TableHandleRowPopupProps
|
|
15
|
+
export interface TableHandleRowPopupProps {}
|
|
16
16
|
|
|
17
17
|
function TableHandleRowPopupComponent(props: TableHandleRowPopupProps, forwardedRef: Ref<TableHandleRowPopupElement>) {
|
|
18
18
|
registerTableHandleRowPopupElement();
|
|
@@ -41,4 +41,4 @@ function TableHandleRowPopupComponent(props: TableHandleRowPopupProps, forwarded
|
|
|
41
41
|
*
|
|
42
42
|
* @public
|
|
43
43
|
*/
|
|
44
|
-
export const TableHandleRowPopup: ForwardRefExoticComponent<TableHandleRowPopupProps & RefAttributes<TableHandleRowPopupElement>> = /* @__PURE__ */ forwardRef(TableHandleRowPopupComponent);
|
|
44
|
+
export const TableHandleRowPopup: ForwardRefExoticComponent<TableHandleRowPopupProps & HTMLAttributes<TableHandleRowPopupElement> & RefAttributes<TableHandleRowPopupElement>> = /* @__PURE__ */ forwardRef(TableHandleRowPopupComponent);
|
|
@@ -14,7 +14,7 @@ import { useEditorContext } from '../../contexts/editor-context.ts';
|
|
|
14
14
|
*
|
|
15
15
|
* @public
|
|
16
16
|
*/
|
|
17
|
-
export interface TableHandleRowPositionerProps
|
|
17
|
+
export interface TableHandleRowPositionerProps {
|
|
18
18
|
/**
|
|
19
19
|
* The placement of the popover, relative to the hovered table cell.
|
|
20
20
|
*
|
|
@@ -198,4 +198,4 @@ function TableHandleRowPositionerComponent(props: TableHandleRowPositionerProps,
|
|
|
198
198
|
*
|
|
199
199
|
* @public
|
|
200
200
|
*/
|
|
201
|
-
export const TableHandleRowPositioner: ForwardRefExoticComponent<TableHandleRowPositionerProps & RefAttributes<TableHandleRowPositionerElement>> = /* @__PURE__ */ forwardRef(TableHandleRowPositionerComponent);
|
|
201
|
+
export const TableHandleRowPositioner: ForwardRefExoticComponent<TableHandleRowPositionerProps & HTMLAttributes<TableHandleRowPositionerElement> & RefAttributes<TableHandleRowPositionerElement>> = /* @__PURE__ */ forwardRef(TableHandleRowPositionerComponent);
|
|
@@ -6,8 +6,6 @@ export { TooltipPopup, type TooltipPopupProps } from './tooltip-popup.gen.ts';
|
|
|
6
6
|
|
|
7
7
|
export { TooltipPositioner, type TooltipPositionerProps } from './tooltip-positioner.gen.ts';
|
|
8
8
|
|
|
9
|
-
export { TooltipRoot, type TooltipRootProps
|
|
9
|
+
export { TooltipRoot, type TooltipRootProps } from './tooltip-root.gen.ts';
|
|
10
10
|
|
|
11
11
|
export { TooltipTrigger, type TooltipTriggerProps } from './tooltip-trigger.gen.ts';
|
|
12
|
-
|
|
13
|
-
export { OpenChangeEvent } from '@prosekit/web/tooltip';
|
|
@@ -12,7 +12,7 @@ import { useCallback, useRef } from 'preact/hooks';
|
|
|
12
12
|
*
|
|
13
13
|
* @public
|
|
14
14
|
*/
|
|
15
|
-
export interface TooltipPopupProps
|
|
15
|
+
export interface TooltipPopupProps {}
|
|
16
16
|
|
|
17
17
|
function TooltipPopupComponent(props: TooltipPopupProps, forwardedRef: Ref<TooltipPopupElement>) {
|
|
18
18
|
registerTooltipPopupElement();
|
|
@@ -41,4 +41,4 @@ function TooltipPopupComponent(props: TooltipPopupProps, forwardedRef: Ref<Toolt
|
|
|
41
41
|
*
|
|
42
42
|
* @public
|
|
43
43
|
*/
|
|
44
|
-
export const TooltipPopup: ForwardRefExoticComponent<TooltipPopupProps & RefAttributes<TooltipPopupElement>> = /* @__PURE__ */ forwardRef(TooltipPopupComponent);
|
|
44
|
+
export const TooltipPopup: ForwardRefExoticComponent<TooltipPopupProps & HTMLAttributes<TooltipPopupElement> & RefAttributes<TooltipPopupElement>> = /* @__PURE__ */ forwardRef(TooltipPopupComponent);
|
|
@@ -12,7 +12,7 @@ import { useCallback, useRef, useLayoutEffect } from 'preact/hooks';
|
|
|
12
12
|
*
|
|
13
13
|
* @public
|
|
14
14
|
*/
|
|
15
|
-
export interface TooltipPositionerProps
|
|
15
|
+
export interface TooltipPositionerProps {
|
|
16
16
|
/**
|
|
17
17
|
* The strategy to use for positioning
|
|
18
18
|
*
|
|
@@ -175,4 +175,4 @@ function TooltipPositionerComponent(props: TooltipPositionerProps, forwardedRef:
|
|
|
175
175
|
*
|
|
176
176
|
* @public
|
|
177
177
|
*/
|
|
178
|
-
export const TooltipPositioner: ForwardRefExoticComponent<TooltipPositionerProps & RefAttributes<TooltipPositionerElement>> = /* @__PURE__ */ forwardRef(TooltipPositionerComponent);
|
|
178
|
+
export const TooltipPositioner: ForwardRefExoticComponent<TooltipPositionerProps & HTMLAttributes<TooltipPositionerElement> & RefAttributes<TooltipPositionerElement>> = /* @__PURE__ */ forwardRef(TooltipPositionerComponent);
|
|
@@ -12,7 +12,7 @@ import { useCallback, useRef, useLayoutEffect } from 'preact/hooks';
|
|
|
12
12
|
*
|
|
13
13
|
* @public
|
|
14
14
|
*/
|
|
15
|
-
export interface TooltipRootProps
|
|
15
|
+
export interface TooltipRootProps {
|
|
16
16
|
/**
|
|
17
17
|
* Whether the overlay is initially open.
|
|
18
18
|
* @default false
|
|
@@ -83,6 +83,4 @@ function TooltipRootComponent(props: TooltipRootProps, forwardedRef: Ref<Tooltip
|
|
|
83
83
|
*
|
|
84
84
|
* @public
|
|
85
85
|
*/
|
|
86
|
-
export const TooltipRoot: ForwardRefExoticComponent<TooltipRootProps & RefAttributes<TooltipRootElement>> = /* @__PURE__ */ forwardRef(TooltipRootComponent);
|
|
87
|
-
|
|
88
|
-
export type { TooltipRootEvents };
|
|
86
|
+
export const TooltipRoot: ForwardRefExoticComponent<TooltipRootProps & HTMLAttributes<TooltipRootElement> & RefAttributes<TooltipRootElement>> = /* @__PURE__ */ forwardRef(TooltipRootComponent);
|
|
@@ -12,7 +12,7 @@ import { useCallback, useRef, useLayoutEffect } from 'preact/hooks';
|
|
|
12
12
|
*
|
|
13
13
|
* @public
|
|
14
14
|
*/
|
|
15
|
-
export interface TooltipTriggerProps
|
|
15
|
+
export interface TooltipTriggerProps {
|
|
16
16
|
/**
|
|
17
17
|
* Whether the component should ignore user interaction.
|
|
18
18
|
* @default false
|
|
@@ -63,4 +63,4 @@ function TooltipTriggerComponent(props: TooltipTriggerProps, forwardedRef: Ref<T
|
|
|
63
63
|
*
|
|
64
64
|
* @public
|
|
65
65
|
*/
|
|
66
|
-
export const TooltipTrigger: ForwardRefExoticComponent<TooltipTriggerProps & RefAttributes<TooltipTriggerElement>> = /* @__PURE__ */ forwardRef(TooltipTriggerComponent);
|
|
66
|
+
export const TooltipTrigger: ForwardRefExoticComponent<TooltipTriggerProps & HTMLAttributes<TooltipTriggerElement> & RefAttributes<TooltipTriggerElement>> = /* @__PURE__ */ forwardRef(TooltipTriggerComponent);
|