moduix 0.8.0 → 0.8.1
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/README.md +3 -1
- package/dist/components/Autocomplete/Autocomplete.d.ts +3 -3
- package/dist/components/Combobox/Combobox.d.ts +3 -3
- package/dist/components/Menu/Menu.d.ts +6 -2
- package/dist/components/Menubar/Menubar.d.ts +6 -2
- package/dist/components/NavigationMenu/NavigationMenu.d.ts +6 -2
- package/dist/components/Popover/Popover.d.ts +3 -3
- package/dist/components/PreviewCard/PreviewCard.d.ts +3 -3
- package/dist/components/Select/Select.d.ts +3 -3
- package/dist/components/Tabs/Tabs.d.ts +2 -3
- package/dist/components/Tooltip/Tooltip.d.ts +3 -3
- package/dist/index.cjs +1 -1
- package/dist/index.css +1 -1
- package/dist/index.js +1723 -1718
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -165,4 +165,6 @@ exports, and documentation so the package and docs stay in sync.
|
|
|
165
165
|
|
|
166
166
|
Feel free to use agents or code generation tools, but
|
|
167
167
|
please review the result before submitting. The components are intentionally small and direct,
|
|
168
|
-
so the goal is to keep the code readable, maintainable, and free from unnecessary abstractions.
|
|
168
|
+
so the goal is to keep the code readable, maintainable, and free from unnecessary abstractions.
|
|
169
|
+
I added the `skills` folder so code written with agents stays consistent with the rest of the
|
|
170
|
+
library components.
|
|
@@ -10,8 +10,8 @@ type AutocompleteContentProps = AutocompletePrimitive.Popup.Props & Pick<Autocom
|
|
|
10
10
|
classNames?: AutocompleteContentClassNames;
|
|
11
11
|
container?: AutocompletePrimitive.Portal.Props['container'];
|
|
12
12
|
withBackdrop?: boolean;
|
|
13
|
-
|
|
14
|
-
arrow?: React.ReactNode;
|
|
13
|
+
withArrow?: boolean;
|
|
14
|
+
arrow?: boolean | React.ReactNode;
|
|
15
15
|
portalProps?: Omit<AutocompletePrimitive.Portal.Props, 'className' | 'children'>;
|
|
16
16
|
backdropProps?: Omit<AutocompletePrimitive.Backdrop.Props, 'className'>;
|
|
17
17
|
positionerProps?: Omit<AutocompletePrimitive.Positioner.Props, 'className' | 'children'>;
|
|
@@ -29,7 +29,7 @@ declare function AutocompleteTrigger({ className, children, ...props }: Autocomp
|
|
|
29
29
|
declare function AutocompleteFieldTrigger({ className, ...props }: AutocompletePrimitive.Trigger.Props): import("react/jsx-runtime").JSX.Element;
|
|
30
30
|
declare function AutocompleteIcon({ className, children, ...props }: AutocompletePrimitive.Icon.Props): import("react/jsx-runtime").JSX.Element;
|
|
31
31
|
declare function AutocompleteClear({ className, children, ...props }: AutocompletePrimitive.Clear.Props): import("react/jsx-runtime").JSX.Element;
|
|
32
|
-
declare function AutocompleteContent({ className, classNames, container, withBackdrop,
|
|
32
|
+
declare function AutocompleteContent({ className, classNames, container, withBackdrop, withArrow, arrow, portalProps, backdropProps, positionerProps, arrowProps, side, sideOffset, align, alignOffset, arrowPadding, anchor, collisionAvoidance, collisionBoundary, collisionPadding, sticky, positionMethod, ...props }: AutocompleteContentProps): import("react/jsx-runtime").JSX.Element;
|
|
33
33
|
declare function AutocompleteStatus({ className, ...props }: AutocompletePrimitive.Status.Props): import("react/jsx-runtime").JSX.Element;
|
|
34
34
|
declare function AutocompleteEmpty({ className, ...props }: AutocompletePrimitive.Empty.Props): import("react/jsx-runtime").JSX.Element;
|
|
35
35
|
declare function AutocompleteList({ className, ...props }: AutocompletePrimitive.List.Props): import("react/jsx-runtime").JSX.Element;
|
|
@@ -10,8 +10,8 @@ type ComboboxContentProps = ComboboxPrimitive.Popup.Props & Pick<ComboboxPrimiti
|
|
|
10
10
|
classNames?: ComboboxContentClassNames;
|
|
11
11
|
container?: ComboboxPrimitive.Portal.Props['container'];
|
|
12
12
|
withBackdrop?: boolean;
|
|
13
|
-
|
|
14
|
-
arrow?: React.ReactNode;
|
|
13
|
+
withArrow?: boolean;
|
|
14
|
+
arrow?: boolean | React.ReactNode;
|
|
15
15
|
portalProps?: Omit<ComboboxPrimitive.Portal.Props, 'className' | 'children'>;
|
|
16
16
|
backdropProps?: Omit<ComboboxPrimitive.Backdrop.Props, 'className'>;
|
|
17
17
|
positionerProps?: Omit<ComboboxPrimitive.Positioner.Props, 'className' | 'children'>;
|
|
@@ -33,7 +33,7 @@ declare function ComboboxTrigger({ className, children, ...props }: ComboboxPrim
|
|
|
33
33
|
declare function ComboboxIcon({ className, children, ...props }: ComboboxPrimitive.Icon.Props): import("react/jsx-runtime").JSX.Element;
|
|
34
34
|
declare function ComboboxClear({ className, children, ...props }: ComboboxPrimitive.Clear.Props): import("react/jsx-runtime").JSX.Element;
|
|
35
35
|
declare function ComboboxInlineInputContainer({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
|
|
36
|
-
declare function ComboboxContent({ className, classNames, container, withBackdrop,
|
|
36
|
+
declare function ComboboxContent({ className, classNames, container, withBackdrop, withArrow, arrow, portalProps, backdropProps, positionerProps, arrowProps, side, sideOffset, align, alignOffset, arrowPadding, anchor, collisionAvoidance, collisionBoundary, collisionPadding, sticky, positionMethod, ...props }: ComboboxContentProps): import("react/jsx-runtime").JSX.Element;
|
|
37
37
|
declare function ComboboxStatus({ className, ...props }: ComboboxPrimitive.Status.Props): import("react/jsx-runtime").JSX.Element;
|
|
38
38
|
declare function ComboboxEmpty({ className, ...props }: ComboboxPrimitive.Empty.Props): import("react/jsx-runtime").JSX.Element;
|
|
39
39
|
declare function ComboboxList({ className, ...props }: ComboboxPrimitive.List.Props): import("react/jsx-runtime").JSX.Element;
|
|
@@ -4,18 +4,22 @@ type MenuContentClassNames = {
|
|
|
4
4
|
portal?: MenuPrimitive.Portal.Props['className'];
|
|
5
5
|
backdrop?: MenuPrimitive.Backdrop.Props['className'];
|
|
6
6
|
positioner?: MenuPrimitive.Positioner.Props['className'];
|
|
7
|
+
arrow?: MenuPrimitive.Arrow.Props['className'];
|
|
7
8
|
viewport?: MenuPrimitive.Viewport.Props['className'];
|
|
8
9
|
};
|
|
9
10
|
type MenuContentSlotProps = {
|
|
10
11
|
portal?: Omit<MenuPrimitive.Portal.Props, 'className' | 'children'>;
|
|
11
12
|
backdrop?: Omit<MenuPrimitive.Backdrop.Props, 'className'>;
|
|
12
13
|
positioner?: Omit<MenuPrimitive.Positioner.Props, 'className' | 'children'>;
|
|
14
|
+
arrow?: Omit<MenuPrimitive.Arrow.Props, 'className' | 'children'>;
|
|
13
15
|
viewport?: Omit<MenuPrimitive.Viewport.Props, 'className' | 'children'>;
|
|
14
16
|
};
|
|
15
17
|
type MenuContentProps = MenuPrimitive.Popup.Props & Pick<MenuPrimitive.Positioner.Props, 'side' | 'sideOffset' | 'align' | 'alignOffset' | 'arrowPadding' | 'anchor' | 'collisionAvoidance' | 'collisionBoundary' | 'collisionPadding' | 'sticky' | 'positionMethod' | 'disableAnchorTracking'> & {
|
|
16
18
|
classNames?: MenuContentClassNames;
|
|
17
19
|
slotProps?: MenuContentSlotProps;
|
|
18
20
|
container?: MenuPrimitive.Portal.Props['container'];
|
|
21
|
+
withArrow?: boolean;
|
|
22
|
+
arrow?: boolean | React.ReactNode;
|
|
19
23
|
withBackdrop?: boolean;
|
|
20
24
|
withViewport?: boolean;
|
|
21
25
|
};
|
|
@@ -32,8 +36,8 @@ declare const createMenuHandle: typeof MenuPrimitive.createHandle;
|
|
|
32
36
|
declare function MenuTrigger({ className, render, ...props }: MenuPrimitive.Trigger.Props): import("react/jsx-runtime").JSX.Element;
|
|
33
37
|
declare function MenuTriggerIcon({ className, children, ...props }: React.ComponentProps<'span'>): import("react/jsx-runtime").JSX.Element;
|
|
34
38
|
declare function MenuArrow({ className, children, ...props }: MenuPrimitive.Arrow.Props): import("react/jsx-runtime").JSX.Element;
|
|
35
|
-
declare function MenuContent({ className, classNames, slotProps, children, container, withBackdrop, withViewport, side, sideOffset, align, alignOffset, arrowPadding, anchor, collisionAvoidance, collisionBoundary, collisionPadding, sticky, positionMethod, disableAnchorTracking, ...props }: MenuContentProps): import("react/jsx-runtime").JSX.Element;
|
|
36
|
-
declare function MenuSubmenuContent({ sideOffset, alignOffset, ...props }: MenuContentProps): import("react/jsx-runtime").JSX.Element;
|
|
39
|
+
declare function MenuContent({ className, classNames, slotProps, children, container, withArrow, arrow, withBackdrop, withViewport, side, sideOffset, align, alignOffset, arrowPadding, anchor, collisionAvoidance, collisionBoundary, collisionPadding, sticky, positionMethod, disableAnchorTracking, ...props }: MenuContentProps): import("react/jsx-runtime").JSX.Element;
|
|
40
|
+
declare function MenuSubmenuContent({ withArrow, arrow, sideOffset, alignOffset, ...props }: MenuContentProps): import("react/jsx-runtime").JSX.Element;
|
|
37
41
|
declare function MenuItem({ className, ...props }: MenuPrimitive.Item.Props): import("react/jsx-runtime").JSX.Element;
|
|
38
42
|
declare function MenuLinkItem({ className, ...props }: MenuPrimitive.LinkItem.Props): import("react/jsx-runtime").JSX.Element;
|
|
39
43
|
declare function MenuSeparator({ className, ...props }: MenuPrimitive.Separator.Props): import("react/jsx-runtime").JSX.Element;
|
|
@@ -5,18 +5,22 @@ type MenubarContentClassNames = {
|
|
|
5
5
|
portal?: MenuPrimitive.Portal.Props['className'];
|
|
6
6
|
backdrop?: MenuPrimitive.Backdrop.Props['className'];
|
|
7
7
|
positioner?: MenuPrimitive.Positioner.Props['className'];
|
|
8
|
+
arrow?: MenuPrimitive.Arrow.Props['className'];
|
|
8
9
|
viewport?: MenuPrimitive.Viewport.Props['className'];
|
|
9
10
|
};
|
|
10
11
|
type MenubarContentSlotProps = {
|
|
11
12
|
portal?: Omit<MenuPrimitive.Portal.Props, 'className' | 'children'>;
|
|
12
13
|
backdrop?: Omit<MenuPrimitive.Backdrop.Props, 'className'>;
|
|
13
14
|
positioner?: Omit<MenuPrimitive.Positioner.Props, 'className' | 'children'>;
|
|
15
|
+
arrow?: Omit<MenuPrimitive.Arrow.Props, 'className' | 'children'>;
|
|
14
16
|
viewport?: Omit<MenuPrimitive.Viewport.Props, 'className' | 'children'>;
|
|
15
17
|
};
|
|
16
18
|
type MenubarContentProps = MenuPrimitive.Popup.Props & Pick<MenuPrimitive.Positioner.Props, 'side' | 'sideOffset' | 'align' | 'alignOffset' | 'arrowPadding' | 'anchor' | 'collisionAvoidance' | 'collisionBoundary' | 'collisionPadding' | 'sticky' | 'positionMethod' | 'disableAnchorTracking'> & {
|
|
17
19
|
classNames?: MenubarContentClassNames;
|
|
18
20
|
slotProps?: MenubarContentSlotProps;
|
|
19
21
|
container?: MenuPrimitive.Portal.Props['container'];
|
|
22
|
+
withArrow?: boolean;
|
|
23
|
+
arrow?: boolean | React.ReactNode;
|
|
20
24
|
withBackdrop?: boolean;
|
|
21
25
|
};
|
|
22
26
|
type IndicatorPosition = 'start' | 'end';
|
|
@@ -32,8 +36,8 @@ declare const createMenubarMenuHandle: typeof MenuPrimitive.createHandle;
|
|
|
32
36
|
declare function Menubar({ className, ...props }: MenubarPrimitive.Props): import("react/jsx-runtime").JSX.Element;
|
|
33
37
|
declare function MenubarTrigger({ className, render, ...props }: MenuPrimitive.Trigger.Props): import("react/jsx-runtime").JSX.Element;
|
|
34
38
|
declare function MenubarArrow({ className, children, ...props }: MenuPrimitive.Arrow.Props): import("react/jsx-runtime").JSX.Element;
|
|
35
|
-
declare function MenubarContent({ className, classNames, slotProps, children, container, withBackdrop, side, sideOffset, align, alignOffset, arrowPadding, anchor, collisionAvoidance, collisionBoundary, collisionPadding, sticky, positionMethod, disableAnchorTracking, ...props }: MenubarContentProps): import("react/jsx-runtime").JSX.Element;
|
|
36
|
-
declare function MenubarSubmenuContent({ sideOffset, alignOffset, ...props }: MenubarContentProps): import("react/jsx-runtime").JSX.Element;
|
|
39
|
+
declare function MenubarContent({ className, classNames, slotProps, children, container, withArrow, arrow, withBackdrop, side, sideOffset, align, alignOffset, arrowPadding, anchor, collisionAvoidance, collisionBoundary, collisionPadding, sticky, positionMethod, disableAnchorTracking, ...props }: MenubarContentProps): import("react/jsx-runtime").JSX.Element;
|
|
40
|
+
declare function MenubarSubmenuContent({ withArrow, arrow, sideOffset, alignOffset, ...props }: MenubarContentProps): import("react/jsx-runtime").JSX.Element;
|
|
37
41
|
declare function MenubarItem({ className, ...props }: MenuPrimitive.Item.Props): import("react/jsx-runtime").JSX.Element;
|
|
38
42
|
declare function MenubarLinkItem({ className, ...props }: MenuPrimitive.LinkItem.Props): import("react/jsx-runtime").JSX.Element;
|
|
39
43
|
declare function MenubarSeparator({ className, ...props }: MenuPrimitive.Separator.Props): import("react/jsx-runtime").JSX.Element;
|
|
@@ -30,9 +30,13 @@ type NavigationMenuPopupOptions = NavigationMenuPrimitive.Popup.Props & {
|
|
|
30
30
|
classNames?: NavigationMenuPopupClassNames;
|
|
31
31
|
slotProps?: NavigationMenuPopupSlotProps;
|
|
32
32
|
container?: NavigationMenuPrimitive.Portal.Props['container'];
|
|
33
|
-
|
|
34
|
-
|
|
33
|
+
withArrow?: boolean;
|
|
34
|
+
arrow?: boolean | React.ReactNode;
|
|
35
35
|
withBackdrop?: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* Stretches the popup to viewport width while preserving trigger-driven vertical positioning.
|
|
38
|
+
*/
|
|
39
|
+
fullWidth?: boolean;
|
|
36
40
|
};
|
|
37
41
|
type NavigationMenuClassNames = {
|
|
38
42
|
viewport?: NavigationMenuPrimitive.Viewport.Props['className'];
|
|
@@ -18,8 +18,8 @@ type PopoverContentProps = PopoverPrimitive.Popup.Props & Pick<PopoverPrimitive.
|
|
|
18
18
|
classNames?: PopoverContentClassNames;
|
|
19
19
|
slotProps?: PopoverContentSlotProps;
|
|
20
20
|
container?: PopoverPrimitive.Portal.Props['container'];
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
withArrow?: boolean;
|
|
22
|
+
arrow?: boolean | React.ReactNode;
|
|
23
23
|
withBackdrop?: boolean;
|
|
24
24
|
withViewport?: boolean;
|
|
25
25
|
};
|
|
@@ -32,7 +32,7 @@ declare function PopoverHeader({ className, ...props }: React.ComponentProps<'di
|
|
|
32
32
|
declare function PopoverBody({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
|
|
33
33
|
declare function PopoverFooter({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
|
|
34
34
|
declare function PopoverClose({ className, ...props }: PopoverPrimitive.Close.Props): import("react/jsx-runtime").JSX.Element;
|
|
35
|
-
declare function PopoverContent({ className, classNames, slotProps, container,
|
|
35
|
+
declare function PopoverContent({ className, classNames, slotProps, container, withArrow, arrow, withBackdrop, withViewport, disableAnchorTracking, side, sideOffset, align, alignOffset, arrowPadding, anchor, collisionAvoidance, collisionBoundary, collisionPadding, sticky, positionMethod, children, ...props }: PopoverContentProps): import("react/jsx-runtime").JSX.Element;
|
|
36
36
|
type PopoverProps<Payload = unknown> = PopoverPrimitive.Root.Props<Payload>;
|
|
37
37
|
type PopoverHandle<Payload = unknown> = PopoverPrimitive.Handle<Payload>;
|
|
38
38
|
type PopoverTriggerProps = PopoverPrimitive.Trigger.Props;
|
|
@@ -18,14 +18,14 @@ type PreviewCardContentProps = PreviewCardPrimitive.Popup.Props & Pick<PreviewCa
|
|
|
18
18
|
classNames?: PreviewCardContentClassNames;
|
|
19
19
|
slotProps?: PreviewCardContentSlotProps;
|
|
20
20
|
container?: PreviewCardPrimitive.Portal.Props['container'];
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
withArrow?: boolean;
|
|
22
|
+
arrow?: boolean | React.ReactNode;
|
|
23
23
|
withBackdrop?: boolean;
|
|
24
24
|
};
|
|
25
25
|
declare const PreviewCard: typeof PreviewCardPrimitive.Root;
|
|
26
26
|
declare const createPreviewCardHandle: typeof PreviewCardPrimitive.createHandle;
|
|
27
27
|
declare function PreviewCardTrigger({ className, render, ...props }: PreviewCardPrimitive.Trigger.Props): import("react/jsx-runtime").JSX.Element;
|
|
28
|
-
declare function PreviewCardContent({ className, classNames, slotProps, container,
|
|
28
|
+
declare function PreviewCardContent({ className, classNames, slotProps, container, withArrow, arrow, withBackdrop, disableAnchorTracking, side, sideOffset, align, alignOffset, arrowPadding, anchor, collisionAvoidance, collisionBoundary, collisionPadding, sticky, positionMethod, children, ...props }: PreviewCardContentProps): import("react/jsx-runtime").JSX.Element;
|
|
29
29
|
type PreviewCardProps<Payload = unknown> = PreviewCardPrimitive.Root.Props<Payload>;
|
|
30
30
|
type PreviewCardHandle<Payload = unknown> = PreviewCardPrimitive.Handle<Payload>;
|
|
31
31
|
type PreviewCardTriggerProps = PreviewCardPrimitive.Trigger.Props;
|
|
@@ -21,8 +21,8 @@ type SelectContentProps = SelectPopupProps & Pick<SelectPrimitive.Positioner.Pro
|
|
|
21
21
|
slotProps?: SelectContentSlotProps;
|
|
22
22
|
container?: SelectPrimitive.Portal.Props['container'];
|
|
23
23
|
withBackdrop?: boolean;
|
|
24
|
-
|
|
25
|
-
arrow?: React.ReactNode;
|
|
24
|
+
withArrow?: boolean;
|
|
25
|
+
arrow?: boolean | React.ReactNode;
|
|
26
26
|
};
|
|
27
27
|
type IndicatorPosition = 'start' | 'end';
|
|
28
28
|
type SelectItemProps = SelectPrimitive.Item.Props & {
|
|
@@ -34,7 +34,7 @@ declare function SelectLabel({ className, ...props }: SelectPrimitive.Label.Prop
|
|
|
34
34
|
declare function SelectTrigger({ className, ...props }: SelectPrimitive.Trigger.Props): import("react/jsx-runtime").JSX.Element;
|
|
35
35
|
declare function SelectValue({ className, ...props }: SelectPrimitive.Value.Props): import("react/jsx-runtime").JSX.Element;
|
|
36
36
|
declare function SelectIcon({ className, children, ...props }: SelectPrimitive.Icon.Props): import("react/jsx-runtime").JSX.Element;
|
|
37
|
-
declare function SelectContent({ className, classNames, slotProps, container, withBackdrop,
|
|
37
|
+
declare function SelectContent({ className, classNames, slotProps, container, withBackdrop, withArrow, arrow, alignItemWithTrigger, side, sideOffset, align, alignOffset, arrowPadding, anchor, collisionAvoidance, collisionBoundary, collisionPadding, sticky, positionMethod, disableAnchorTracking, ...props }: SelectContentProps): import("react/jsx-runtime").JSX.Element;
|
|
38
38
|
declare function SelectScrollUpArrow({ className, children, ...props }: SelectPrimitive.ScrollUpArrow.Props): import("react/jsx-runtime").JSX.Element;
|
|
39
39
|
declare function SelectScrollDownArrow({ className, children, ...props }: SelectPrimitive.ScrollDownArrow.Props): import("react/jsx-runtime").JSX.Element;
|
|
40
40
|
declare function SelectList({ className, ...props }: SelectPrimitive.List.Props): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { Tabs as TabsPrimitive } from '@base-ui/react/tabs';
|
|
2
|
-
import * as React from 'react';
|
|
2
|
+
import type * as React from 'react';
|
|
3
3
|
type TabsVariant = 'default' | 'line';
|
|
4
4
|
type TabsProps = TabsPrimitive.Root.Props & {
|
|
5
5
|
variant?: TabsVariant;
|
|
6
|
-
unstyled?: boolean;
|
|
7
6
|
};
|
|
8
7
|
type TabsListClassNames = {
|
|
9
8
|
indicator?: TabsPrimitive.Indicator.Props['className'];
|
|
@@ -16,7 +15,7 @@ type TabsListProps = TabsPrimitive.List.Props & {
|
|
|
16
15
|
slotProps?: TabsListSlotProps;
|
|
17
16
|
withIndicator?: boolean;
|
|
18
17
|
};
|
|
19
|
-
declare function Tabs({ className, variant,
|
|
18
|
+
declare function Tabs({ className, variant, ...props }: TabsProps): import("react/jsx-runtime").JSX.Element;
|
|
20
19
|
declare function TabsList({ className, classNames, children, slotProps, withIndicator, ...props }: TabsListProps): import("react/jsx-runtime").JSX.Element;
|
|
21
20
|
declare function TabsTab({ className, ...props }: TabsPrimitive.Tab.Props): import("react/jsx-runtime").JSX.Element;
|
|
22
21
|
declare function TabsPanel({ className, ...props }: TabsPrimitive.Panel.Props): import("react/jsx-runtime").JSX.Element;
|
|
@@ -16,14 +16,14 @@ type TooltipContentProps = TooltipPrimitive.Popup.Props & Pick<TooltipPrimitive.
|
|
|
16
16
|
classNames?: TooltipContentClassNames;
|
|
17
17
|
slotProps?: TooltipContentSlotProps;
|
|
18
18
|
container?: TooltipPrimitive.Portal.Props['container'];
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
withArrow?: boolean;
|
|
20
|
+
arrow?: boolean | React.ReactNode;
|
|
21
21
|
};
|
|
22
22
|
declare const Tooltip: <Payload>(props: TooltipPrimitive.Root.Props<Payload>) => import("react/jsx-runtime").JSX.Element;
|
|
23
23
|
declare const TooltipProvider: React.FC<import('@base-ui/react').TooltipProviderProps>;
|
|
24
24
|
declare const createTooltipHandle: typeof TooltipPrimitive.createHandle;
|
|
25
25
|
declare function TooltipTrigger<Payload = unknown>({ className, render, ...props }: TooltipPrimitive.Trigger.Props<Payload>): import("react/jsx-runtime").JSX.Element;
|
|
26
|
-
declare function TooltipContent({ className, classNames, slotProps, container,
|
|
26
|
+
declare function TooltipContent({ className, classNames, slotProps, container, withArrow, arrow, disableAnchorTracking, side, sideOffset, align, alignOffset, arrowPadding, anchor, collisionAvoidance, collisionBoundary, collisionPadding, sticky, positionMethod, ...props }: TooltipContentProps): import("react/jsx-runtime").JSX.Element;
|
|
27
27
|
type TooltipProps<Payload = unknown> = TooltipPrimitive.Root.Props<Payload>;
|
|
28
28
|
type TooltipProviderProps = TooltipPrimitive.Provider.Props;
|
|
29
29
|
type TooltipHandle<Payload = unknown> = TooltipPrimitive.Handle<Payload>;
|